@@ -1226,6 +1226,8 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
1226
1226
realloc_on_assign_2.f03
1227
1227
where_2.f90
1228
1228
c_char_tests.f03
1229
+ goto_2.f90 # goto 10 when 10 END IF fails
1230
+ masklr_2.F90
1229
1231
1230
1232
# Categorize and debug further
1231
1233
bounds_check_17.f90 # needs -fcheck=bounds
@@ -1243,9 +1245,7 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
1243
1245
coarray_poly_9.f90 # NYI: allocation of coarray
1244
1246
c_ptr_tests_10.f03 # valid compilation error on print of c_null_ptr (?)
1245
1247
c_ptr_tests_9.f03 # valid compilation error on print of c_null_ptr (?)
1246
- dec_init_2.f90 # needs -finit-derived -finit-integer=42 &c.
1247
1248
finalize_38a.f90 # test reports errors, but I think gfortran is wrong
1248
- init_flag_15.f03 # needs -finit-derived -finit-integer
1249
1249
ISO_Fortran_binding_10.f90 # test reports failure at runtime
1250
1250
ISO_Fortran_binding_11.f90 # test reports failure at runtime
1251
1251
ISO_Fortran_binding_18.f90 # runtime abort
@@ -1851,90 +1851,30 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
1851
1851
# will never pass with flang (if they use unsupported extensions for instance),
1852
1852
# they should be added to the Unsupported list.
1853
1853
1854
- # Tests that fail because they should fail
1854
+ # Tests that " fail" because they should fail
1855
1855
abort_shouldfail.f90 # works, calls abort(), crashes
1856
1856
assign_2.f90 # j=5; goto j
1857
+ endfile_3.f90 # WRITE after ENDFILE
1858
+ eoshift_bounds_1.f90 # SHIFT of 1 on dimension with extent 0
1859
+ error_format.f90 # READ from empty file hits EOF
1860
+ error_stop_1.f08 # ERROR STOP stops program
1861
+ stop_shouldfail.f90 # STOP stops program
1862
+ fmt_error_4.f90 # bad 'Q' edit descriptor in FORMAT
1863
+ fmt_error_5.f90 # bad 'Q' edit descriptor in FORMAT
1864
+ inline_matmul_15.f90 # incompatible MATMUL argument shapes
1865
+ internal_write_1.f90 # internal WRITE array overrun
1866
+ large_unit_1.f90 # UNIT number 68719476746 is out of range
1857
1867
1858
1868
# require further analysis
1859
1869
Wall.f90 # no warning for missing & on continuation line in char constant
1860
1870
Wno-all.f90 # no warning for missing & on continuation line in char constant
1861
- auto_save_2.f90 # requires -fno-automatic -finit-local-zero
1862
1871
bessel_7.f90 # unclear
1863
1872
check_bits_1.f90 # requires -fcheck=bits to catch ISHFTC runtime error
1864
1873
check_bits_2.f90 # requires -fcheck=bits to catch ISHFTC runtime error
1865
- cr_lf.f90
1866
- cshift_bounds_3.f90
1867
- cshift_bounds_4.f90
1868
- cshift_large_1.f90
1869
- data_char_1.f90
1870
- data_char_3.f90
1871
- deallocate_alloc_opt_3.f90
1872
- deallocate_stat_2.f90
1873
- deallocate_stat.f90
1874
- dependency_45.f90
1875
- dim_sum_1.f90
1876
- dim_sum_2.f90
1877
- dim_sum_3.f90
1878
- direct_io_7.f90
1879
- do_check_1.f90
1880
- dollar_edit_descriptor_4.f
1881
- elemental_dependency_1.f90
1882
- endfile_3.f90
1883
- eoshift_bounds_1.f90
1884
- eoshift_large_1.f90
1885
- error_format.f90
1886
- error_stop_1.f08
1887
- f2003_io_5.f03
1888
- findloc_6.f90
1889
- fmt_error_4.f90
1890
- fmt_error_5.f90
1891
- fmt_f_default_field_width_1.f90
1892
- fmt_f_default_field_width_2.f90
1893
- fmt_g0_1.f08
1894
- fmt_g_default_field_width_1.f90
1895
- fmt_g_default_field_width_2.f90
1896
- fmt_g.f
1897
- fmt_i_default_field_width_1.f90
1898
- fmt_i_default_field_width_2.f90
1899
- fmt_l.f90
1900
- fmt_zero_width.f90
1901
- fold_nearest.f90
1902
- forall_12.f90
1903
- goto_2.f90
1904
- hollerith8.f90
1905
- init_flag_1.f90
1906
- init_flag_2.f90
1907
- init_flag_3.f90
1908
- init_flag_4.f90
1909
- init_flag_5.f90
1910
- init_flag_6.f90
1911
- init_flag_7.f90
1912
- init_flag_9.f90
1913
- inline_matmul_15.f90
1914
- inquire_13.f90
1915
- inquire_15.f90
1916
- inquire_5.f90
1917
- inquire_9.f90
1918
- inquire_internal.f90
1919
- inquire_recl_f2018.f90
1920
- inquire_size.f90
1921
- integer_exponentiation_2.f90
1922
- internal_dummy_2.f08
1923
- internal_pack_3.f90
1924
- internal_write_1.f90
1925
- intrinsic_std_4.f90
1926
- io_err_1.f90
1927
- io_real_boz_3.f90
1928
- io_real_boz.f90
1929
- iostat_4.f90
1930
- iostat_5.f90
1931
- large_real_kind_1.f90
1932
- large_unit_1.f90
1933
- list_directed_large.f90
1934
- list_read_11.f90
1935
- list_read_4.f90
1936
- literal_character_constant_1_z.F
1937
- masklr_2.F90
1874
+ cr_lf.f90 # shenanigans with CR characters
1875
+ do_check_1.f90 # zero-valued DO loop step; needs -fcheck=do
1876
+ dollar_edit_descriptor_4.f # TODO: (i3,$) format shouldn't advance record when looping
1877
+ list_read_11.f90 # more CR character shenanigans
1938
1878
matmul_5.f90
1939
1879
matmul_bounds_11.f90
1940
1880
matmul_bounds_13.f90
@@ -1965,54 +1905,23 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
1965
1905
multiple_allocation_1.f90
1966
1906
multiple_allocation_3.f90
1967
1907
mvbits_4.f90
1968
- namelist_18.f90
1969
- namelist_19.f90
1970
- namelist_21.f90
1971
- namelist_22.f90
1972
- namelist_24.f90
1973
- namelist_37.f90
1974
- namelist_38.f90
1975
- namelist_41.f90
1976
- namelist_51.f90
1977
- namelist_56.f90
1978
- namelist_57.f90
1979
- namelist_61.f90
1980
- namelist_65.f90
1981
- namelist_72.f
1982
- namelist_73.f90
1983
- namelist_80.f90
1984
- namelist_81.f90
1985
- namelist_84.f90
1986
1908
namelist_87.f90
1987
- namelist_89.f90
1988
- namelist_97.f90
1989
- namelist_char_only.f90
1990
- nan_2.f90
1991
- nearest_1.f90
1992
- nearest_3.f90
1993
- negative_unit.f
1994
- negative_unit_int8.f
1909
+ nan_2.f90 # depend on MIN/MAX(1.,NaN) folding to 1.; f18 & Intel return NaN.
1910
+ negative_unit_int8.f # depends on 64-bit unit numbers or something?
1995
1911
no_range_check_1.f90
1996
- norm2_1.f90
1997
- nosigned_zero_2.f90
1998
- open_access_append_2.f90
1999
- open_errors_2.f90
2000
- open_errors_3.f90
2001
- open_negative_unit_1.f90
2002
- open_new_segv.f90
2003
- open_status_2.f90
2004
- pad_source_3.f
2005
- pad_source_4.f
2006
- pad_source_5.f
2007
- pointer_check_6.f90
1912
+ nosigned_zero_2.f90 # only works with a -fno-sign-zero option
1913
+ open_access_append_2.f90 # expects warning for OPEN(ACCESS='APPEND'), gets one
1914
+ open_errors_2.f90 # expects runtime error, gets one
1915
+ open_errors_3.f90 # same file open on multiple units - valid in F'2018?
1916
+ open_new_segv.f90 # should fail at runtime, and does
1917
+ open_status_2.f90 # TODO: support OPEN(STATUS='UNKNOWN')? research
1918
+ pad_source_3.f # depends on -fno-pad-source option
1919
+ pad_source_4.f # depends on -ffixed-line-length-none option
1920
+ pad_source_5.f # depends on -ffixed-line-length-0 option
1921
+ pointer_check_6.f90 # depends on -fcheck=pointer
2008
1922
pr12884.f
2009
- pr17285.f90
2010
1923
pr17286.f90
2011
- pr17706.f90
2012
- pr18210.f90
2013
- pr19657.f
2014
- pr47757-3.f90
2015
- pr47878.f90
1924
+ pr17706.f90 # depends on -fno-sign-zero option
2016
1925
pr50069_1.f90
2017
1926
pr59700.f90
2018
1927
pr71523_2.f90
@@ -2059,7 +1968,6 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2059
1968
round_3.f08
2060
1969
selected_kind_1.f90
2061
1970
short_circuiting_3.f90
2062
- stop_shouldfail.f90
2063
1971
streamio_11.f90
2064
1972
streamio_13.f90
2065
1973
streamio_17.f90
@@ -2137,6 +2045,7 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2137
2045
interface_abstract_2.f90
2138
2046
intrinsic_param_1.f90
2139
2047
intrinsic_std_1.f90
2048
+ intrinsic_std_4.f90
2140
2049
io_constraints_10.f90
2141
2050
io_constraints_11.f90
2142
2051
iostat_3.f90
@@ -2284,6 +2193,7 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2284
2193
associated_3.f90
2285
2194
bessel_5_redux.f90
2286
2195
bounds_temporaries_1.f90
2196
+ data_char_1.f90
2287
2197
dec_loc_rval_3.f03
2288
2198
do_4.f
2289
2199
do_check_5.f90
@@ -2682,6 +2592,7 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2682
2592
# could be that the flag is not being passed correctly to flang in the test
2683
2593
# suite's build system, or that flang does not support the flag.
2684
2594
line_length_1.f
2595
+ literal_character_constant_1_z.F
2685
2596
2686
2597
# In these tests, the -fopenmp and -fopenacc flags are either not being passed
2687
2598
# correctly to flang while building the tests, or flag does not define the
@@ -2690,7 +2601,7 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2690
2601
openmp-define-3.f90
2691
2602
2692
2603
# Tests looking for runtime errors (e.g., bound checks). Correctly
2693
- # caught by flang runtime when it is used for array assignments .
2604
+ # caught by flang runtime.
2694
2605
allocate_error_6.f90
2695
2606
allocate_with_source_22.f03
2696
2607
allocate_with_source_23.f03
@@ -2699,6 +2610,11 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2699
2610
bounds_check_12.f90
2700
2611
bounds_check_array_ctor_4.f90
2701
2612
bounds_check_fail_3.f90
2613
+ cshift_bounds_3.f90
2614
+ cshift_bounds_4.f90
2615
+ dim_sum_1.f90
2616
+ dim_sum_2.f90
2617
+ dim_sum_3.f90
2702
2618
inline_matmul_1.f90
2703
2619
maxloc_bounds_1.f90
2704
2620
maxloc_bounds_2.f90
@@ -2714,6 +2630,9 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2714
2630
# Bad test, assigning an 11 elements array to a 12 elements array.
2715
2631
transfer_array_intrinsic_4.f90
2716
2632
2633
+ # Bad test; reads 0.D99999 from a file; every other Fortran works
2634
+ io_err_1.f90
2635
+
2717
2636
# Fails at -O3 with HLFIR. Gfortran emits warnings when compiling,
2718
2637
# needs investigation.
2719
2638
maxlocval_1.f90
@@ -2722,15 +2641,34 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2722
2641
# being used on a derived type with defined unformatted output.
2723
2642
dtio_16.f90
2724
2643
2725
- # Fail at runtime due to dependence on gfortran's specific IOSTAT
2726
- # error code numbers or IOMSG error message texts.
2644
+ # Fail at runtime due to dependence on gfortran's specific IOSTAT=
2645
+ # error code numbers or IOMSG= error message texts.
2646
+ direct_io_7.f90
2727
2647
dtio_10.f90
2728
2648
dtio_15.f90
2729
2649
dtio_24.f90
2730
2650
dtio_26.f03
2651
+ iostat_4.f90
2652
+ namelist_89.f90
2653
+ namelist_97.f90
2731
2654
2732
- # Depends on gfortran's exact NAMELIST output spacing.
2655
+ # Depends on gfortran's exact NAMELIST output spacing and record advances
2733
2656
dtio_25.f90
2657
+ namelist_18.f90
2658
+ namelist_19.f90
2659
+ namelist_38.f90
2660
+ namelist_57.f90
2661
+ namelist_65.f90
2662
+ namelist_84.f90
2663
+ pr18210.f90
2664
+
2665
+ # Bad test that expects partial NAMELIST input into a character array to
2666
+ # blank-fill the remaining elements.
2667
+ namelist_56.f90
2668
+
2669
+ # Bad test that expects truncated NAMELIST input groups to be treated as
2670
+ # END= conditions rather than ERR= conditions (like every other Fortran).
2671
+ namelist_81.f90
2734
2672
2735
2673
# Bad test that expects the result of TRIM() to have a leading space
2736
2674
dtio_14.f90
@@ -2761,9 +2699,14 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2761
2699
# Unimplemented extension: \b backslash escapes in FORMAT statements
2762
2700
backslash_3.f
2763
2701
2764
- # Depends on gfortran's exact ALLOCATE(ERRMSG=) wording
2702
+ # Depends on gfortran's exact (DE) ALLOCATE(ERRMSG=) wording
2765
2703
allocate_alloc_opt_15.f90
2766
2704
allocate_alloc_opt_3.f90
2705
+ deallocate_alloc_opt_3.f90
2706
+ deallocate_stat_2.f90
2707
+
2708
+ # Depends on gfortran's exact non-zero (DE)ALLOCATE(STAT=) codes
2709
+ deallocate_stat.f90
2767
2710
2768
2711
# Depends on gfortran's incorrect return of EOR (-2) on internal
2769
2712
# WRITE record overflow
@@ -2773,7 +2716,60 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2773
2716
# WRITE array overflow
2774
2717
arrayio_5.f90
2775
2718
2776
- # Depends on gfortran's spacing of list-directed output
2719
+ # Depends on gfortran's implementation of list-directed & G0 output
2777
2720
char4_iunit_1.f03
2778
2721
char4_iunit_2.f03
2722
+ f2003_io_5.f03
2723
+ fmt_f_default_field_width_1.f90
2724
+ fmt_f_default_field_width_2.f90
2725
+ fmt_g0_1.f08
2726
+ fmt_g_default_field_width_1.f90
2727
+ fmt_g_default_field_width_2.f90
2728
+ fmt_i_default_field_width_1.f90
2729
+ fmt_i_default_field_width_2.f90
2730
+ fmt_l.f90
2731
+ fmt_zero_width.f90
2732
+ list_directed_large.f90
2733
+
2734
+ # Depends on gfortran padding Hollerith with blanks up to even 32-bit words.
2735
+ # gfortran & nvfortran do so; ifort/ifx, NAG, and f18 pad with zeroes; XLF
2736
+ # doesn't pad at all.
2737
+ hollerith8.f90
2738
+
2739
+ # Depends on gfortran returning a nonstandard "UNSPECIFIED" result for
2740
+ # INQUIRE(..., POSITION=).
2741
+ inquire_5.f90
2742
+
2743
+ # Depends on gfortran's specific maximum sequential unformatted record size.
2744
+ inquire_recl_f2018.f90
2745
+
2746
+ # gfortran interprets INQUIRE(-1, ..., IOSTAT=) as a failed attempt to
2747
+ # inquire a child unit created for defined I/O to an internal unit, even
2748
+ # when it is not; f18 treats it as a nonexistent external unit.
2749
+ # Other compilers vary.
2750
+ inquire_internal.f90
2751
+
2752
+ # gfortran expects FLUSH(unconnected unit) to be a runtime error;
2753
+ # all other Fortran compilers, and (debatably) the standard, allow it.
2754
+ iostat_5.f90
2755
+
2756
+ # Depends on gfortran emitting "Infinity" for formatted output;
2757
+ # some compilers, including f18, emit "Inf".
2758
+ large_real_kind_1.f90
2759
+
2760
+ # Require -finit-local-zero or similar.
2761
+ dec_init_2.f90 # needs -finit-derived -finit-integer=42 &c.
2762
+ init_flag_15.f03 # needs -finit-derived -finit-integer
2763
+ auto_save_2.f90 # requires -fno-automatic -finit-local-zero
2764
+ init_flag_1.f90 # needs -finit-local-zero
2765
+ init_flag_2.f90
2766
+ init_flag_3.f90
2767
+ init_flag_4.f90
2768
+ init_flag_5.f90
2769
+ init_flag_6.f90
2770
+ init_flag_7.f90
2771
+ init_flag_9.f90
2772
+
2773
+ # Requires -ffloat-store
2774
+ nearest_1.f90
2779
2775
)
0 commit comments