Skip to content

Commit ce7b42e

Browse files
authored
[Fortran/gfortran] Enable tests that now pass (#245)
A number of tests now pass since several bugs in flang have been fixed and othe features have been implemented.
1 parent a296975 commit ce7b42e

File tree

10 files changed

+3
-248
lines changed

10 files changed

+3
-248
lines changed

Fortran/gfortran/regression/DisabledFiles.cmake

Lines changed: 1 addition & 151 deletions
Large diffs are not rendered by default.

Fortran/gfortran/regression/analyzer/DisabledFiles.cmake

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,4 @@
99
set(UNSUPPORTED_FILES "")
1010
set(UNIMPLEMENTED_FILES "")
1111
set(SKIPPED_FILES "")
12-
13-
# There tests fail when they are expected to pass.
14-
file(GLOB FAILING_FILES CONFIGURE_DEPENDS
15-
# These files fail to compile when compilation is expected to succeed.
16-
malloc-example.f90)
12+
set(FAILING_FILES "")

Fortran/gfortran/regression/c-interop/DisabledFiles.cmake

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,15 @@ set(UNSUPPORTED_FILES "")
1212
# These tests trigger "not yet implemented" assertions in flang.
1313
file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
1414
# unimplemented: assumed rank in procedure interface
15-
argument-association-assumed-rank-1.f90
16-
argument-association-assumed-rank-2.f90
17-
argument-association-assumed-rank-3.f90
18-
argument-association-assumed-rank-4.f90
19-
argument-association-assumed-rank-5.f90
20-
argument-association-assumed-rank-6.f90
21-
argument-association-assumed-rank-7.f90
22-
argument-association-assumed-rank-8.f90
23-
c535a-1.f90
2415
cf-out-descriptor-6.f90
2516
contiguous-1.f90
2617
contiguous-2.f90
2718
contiguous-3.f90
2819
fc-descriptor-6.f90
2920
fc-out-descriptor-6.f90
30-
note-5-3.f90
31-
note-5-4.f90
32-
rank.f90
33-
shape-bindc.f90
34-
shape.f90
35-
size-bindc.f90
36-
size.f90
37-
ubound-bindc.f90
38-
ubound.f90
3921

4022
# unimplemented: BIND(C) internal procedures
4123
fc-out-descriptor-5.f90
42-
ff-descriptor-6.f90
43-
44-
# unimplemented: support for polymorphic types
45-
c407a-1.f90
4624
)
4725

4826
# These tests are skipped because they trigger internal compiler errors.
@@ -78,9 +56,7 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
7856
fc-out-descriptor-3.f90
7957
fc-out-descriptor-4.f90
8058
fc-out-descriptor-7.f90
81-
ff-descriptor-2.f90
8259
optional.f90
83-
rank-class.f90
8460
section-2.f90
8561
section-2p.f90
8662
section-3.f90
@@ -91,8 +67,6 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
9167
select.f90
9268
setpointer-errors.f90
9369
setpointer.f90
94-
shape-poly.f90
95-
size-poly.f90
9670
typecodes-array-basic.f90
9771
typecodes-array-float128.f90
9872
typecodes-array-int128.f90
@@ -102,7 +76,6 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
10276
typecodes-scalar-float128.f90
10377
typecodes-scalar-int128.f90
10478
typecodes-scalar-longdouble.f90
105-
ubound-poly.f90
10679

10780
# error: '[SYM]' is an external procedure without the EXTERNAL attribute in a
10881
# scope with IMPLICIT NONE(EXTERNAL)
@@ -118,15 +91,8 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
11891

11992
# These tests fail when they are expected to pass.
12093
file(GLOB FAILING_FILES CONFIGURE_DEPENDS
121-
# These files are expected to compile, but fail to do so.
122-
c535b-1.f90
123-
12494
# These files are expected to fail to compile, but succeed instead.
12595
c516.f90
12696
c524a.f90
12797
c535b-3.f90
128-
c535c-1.f90
129-
c535c-2.f90
130-
c535c-3.f90
131-
c535c-4.f90
13298
)

Fortran/gfortran/regression/g77/DisabledFiles.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,4 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
3131
# These tests are expected to fail to compile, but compilation succeeds.
3232
19990218-0.f
3333
970625-2.f
34-
980615-0.f
3534
)

Fortran/gfortran/regression/gomp/DisabledFiles.cmake

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@
1010
set(UNSUPPORTED_FILES "")
1111

1212
file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
13-
# unimplemented: procedure pointers
14-
atomic-10.f90
15-
1613
# unimplemented: procedure pointer arguments
1714
pr44036-1.f90
18-
pr44036-2.f90
1915

2016
# unimplemented: coarray in procedure interface
2117
declare-simd-coarray-lib.f90
@@ -40,16 +36,10 @@ file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
4036
pr79154-2.f90
4137
pr82568.f90
4238
schedule-modifiers-1.f90
43-
target3.f90
44-
teams1.f90
4539

4640
# unimplemented: array sections not supported for task depend
4741
depend-4.f90
4842

49-
# unimplemented: OMPD_target_data for Array Expressions or Structure
50-
# Components.
51-
map-5.f90
52-
5343
# unimplemented: OpenMP Block construct clause
5444
pr71758.f90
5545
pr81887.f90
@@ -60,9 +50,7 @@ file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
6050

6151
# unimplemented: Unhandled block directive
6252
pr39152.f90
63-
pr69281.f90
6453
pr95869.f90
65-
teams-4.f90
6654

6755
# unimplemented: OpenMPDeclarativeAllocate
6856
allocate-pinned-1.f90
@@ -222,7 +210,6 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
222210
num-teams-1.f90
223211
num-teams-2.f90
224212
openmp-simd-7.f90
225-
parallel-master-1.f90
226213
pr103695.f90
227214
pr99928-11.f90
228215
reduction-task-3.f90
@@ -268,7 +255,6 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
268255
loop-5.f90
269256

270257
# expected 'TARGET UPDATE'
271-
map-6.f90
272258
map-7.f90
273259
target-has-device-addr-2.f90
274260

@@ -302,14 +288,6 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
302288

303289
# COPYPRIVATE variable is not PRIVATE or THREADPRIVATE in outer context
304290
copyprivate-1.f90
305-
pr26224.f
306-
307-
# The DEFAULT(NONE) clause requires that 'a' must be listed in a data-sharing
308-
# attribute clause
309-
crayptr4.f90
310-
311-
# Implied-shape array must be a named constant or a dummy argument
312-
crayptr5.f90
313291

314292
# Internal: no symbol found for
315293
declare-simd-2.f90
@@ -429,11 +407,9 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
429407
#
430408
canonical-loop-2.f90
431409
crayptr2.f90
432-
map-alloc-comp-1.f90
433410
polymorphic-mapping-4.f90
434411
polymorphic-mapping-5.f90
435412
pr33439.f90
436-
pr44036-3.f90
437413
pr78866-2.f90
438414
reduction3.f90
439415
sharing-3.f90
@@ -451,10 +427,8 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
451427
depobj-3.f90
452428
inner-loops-1.f90
453429
map-10.f90
454-
map-11.f90
455430
map-12.f90
456431
requires-10.f90
457-
target-update-1.f90
458432
tile-10.f90
459433
tile-1.f90
460434
tile-2.f90

Fortran/gfortran/regression/gomp/appendix-a/DisabledFiles.cmake

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@ set(UNSUPPORTED_FILES "")
1313
set(UNIMPLEMENTED_FILES "")
1414

1515
file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
16-
#
17-
# These tests fail when they should pass.
18-
#
19-
20-
# error: COPYPRIVATE variable is not PRIVATE or THREADPRIVATE in outer
21-
# context
22-
a.33.1.f90
23-
a.33.2.f90
24-
a.33.4.f90
25-
2616
#
2717
# These tests pass when they should fail.
2818
#

Fortran/gfortran/regression/ieee/DisabledFiles.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
5050
ieee_5.f90
5151
intrinsics_1.f90
5252
intrinsics_2.F90
53-
large_4.f90
5453
underflow_1.f90
5554

5655
# error: Actual argument for 'mold=' has bad type 'UNSIGNED'

Fortran/gfortran/regression/ubsan/DisabledFiles.cmake

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,7 @@
66
#
77
#===------------------------------------------------------------------------===#
88

9-
# There are currently no unsupported files.
109
set(UNSUPPORTED_FILES "")
11-
12-
# These tests are disabled because they trigger "not yet implemented"
13-
# assertions in flang.
14-
file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
15-
# not yet implemented: assumed-rank variable in procedure
16-
missing_optional_dummy_8.f90
17-
)
18-
19-
# There are currently no skipped files.
10+
set(UNIMPLEMENTED_FILES "")
2011
set(SKIPPED_FILES "")
21-
22-
# There are currently no failing files.
2312
set(FAILING_FILES "")

Fortran/gfortran/regression/vect/DisabledFiles.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ set(SKIPPED_FILES "")
1919
# These tests fail when they are expected to pass.
2020
file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2121
# These tests fail to compile when compilation is expected to succeed.
22-
pr90681.f
23-
pr97761.f90
24-
pr99746.f90
2522
vect-8-epilogue.F90
2623

2724
# The cause of failure of this test needs to be investigated

Fortran/gfortran/torture/execute/DisabledFiles.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ set(UNIMPLEMENTED_FILES "")
1515
# These tests are disabled because they cause internal compiler errors.
1616
file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
1717
# error: unexpected typeless constant value
18-
forall_5.f90
19-
forall_6.f90
2018
st_function.f90
2119

2220
# --------------------------------------------------------------------------
@@ -31,9 +29,6 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
3129

3230
# error: '[SYM]' is not a known intrinsic procedure
3331
specifics.f90
34-
35-
# conflicting debug info for argument
36-
entry_5.f90
3732
)
3833

3934
# These tests are disabled because they fail at runtime when they should pass.

0 commit comments

Comments
 (0)