Skip to content

Commit e32ac99

Browse files
authored
[Fortran/gfortran] Enable passing tests (#102)
* [Fortran/gfortran] Enable passing tests These tests now pass. Some tests that only pass on certain platforms, so they are left disabled.
1 parent a773a82 commit e32ac99

File tree

13 files changed

+97
-1312
lines changed

13 files changed

+97
-1312
lines changed

Fortran/gfortran/regression/DisabledFiles.cmake

Lines changed: 82 additions & 1032 deletions
Large diffs are not rendered by default.

Fortran/gfortran/regression/analyzer/DisabledFiles.cmake

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,11 @@
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.
14-
file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
15-
# unimplemented: allocatable components in derived type assignment
16-
pr93777.f90
17-
18-
# unimplemented: gather rhs LEN parameters in assignment to allocatable
19-
deferred_character_25.f90
20-
)
21-
22-
# There are currently no skipped files.
10+
set(UNIMPLEMENTED_FILES "")
2311
set(SKIPPED_FILES "")
2412

2513
# There tests fail when they are expected to pass.
2614
file(GLOB FAILING_FILES CONFIGURE_DEPENDS
2715
# These files fail to compile when compilation is expected to succeed.
28-
malloc.f90
2916
malloc-example.f90)

Fortran/gfortran/regression/asan/DisabledFiles.cmake

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +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 a "not yet implemented"
13-
# assertion.
14-
file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
15-
# unimplemented: character array expression temp with dynamic length
16-
associate_58.f90
17-
associate_59.f90
18-
)
19-
20-
# These tests trigger internal compiler errors.
21-
file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
22-
# error: unexpected typeless constant value
23-
pointer_assign_16.f90
24-
)
25-
26-
# There are currently no failing files.
10+
set(UNIMPLEMENTED_FILES "")
11+
set(SKIPPED_FILES "")
2712
set(FAILING_FILES "")

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,10 @@ file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
4343
ff-descriptor-5.f90
4444
ff-descriptor-6.f90
4545
ff-descriptor-7.f90
46-
pr103390-1.f90
47-
pr103390-2.f90
48-
pr103390-3.f90
49-
pr103390-4.f90
50-
pr103390-5.f90
51-
pr103390-6.f90
52-
pr103390-7.f90
53-
pr103390-8.f90
54-
pr103390-9.f90
5546

5647
# unimplemented: support for polymorphic types
5748
c407a-1.f90
5849
c407b-1.f90
59-
60-
# unimplemented: procedure pointer arguments
61-
removed-restrictions-2.f90
62-
removed-restrictions-4.f90
6350
)
6451

6552
# These tests are skipped because they trigger internal compiler errors.
@@ -95,10 +82,7 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
9582
fc-out-descriptor-3.f90
9683
fc-out-descriptor-4.f90
9784
fc-out-descriptor-7.f90
98-
ff-descriptor-1.f90
9985
ff-descriptor-2.f90
100-
ff-descriptor-3.f90
101-
ff-descriptor-4.f90
10286
optional.f90
10387
rank-class.f90
10488
section-2.f90
@@ -144,8 +128,4 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
144128
# These files are expected to fail to compile, but succeed instead.
145129
c516.f90
146130
c524a.f90
147-
148-
# Tests that used to be hard errors, are now warnings, need -pedantic to
149-
# observe them
150-
tkr.f90
151131
)

Fortran/gfortran/regression/coarray/DisabledFiles.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ set(UNSUPPORTED_FILES "")
1212
# These tests trigger "not yet implemented" assertions in flang.
1313
file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
1414
# unimplemented: support for polymorphic types
15-
alloc_comp_2.f90
1615
poly_run_3.f90
1716

1817
# unimplemented: coarray allocation
@@ -79,7 +78,6 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
7978
collectives_3.f90
8079
get_to_indexed_array_1.f90
8180
lib_realloc_1.f90
82-
pr93671.f90
8381
ptr_comp_3.f08
8482
scalar_alloc_2.f90
8583

Fortran/gfortran/regression/g77/DisabledFiles.cmake

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -28,36 +28,8 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
2828

2929
# These tests fail when they are expected to pass.
3030
file(GLOB FAILING_FILES CONFIGURE_DEPENDS
31-
# These tests fail at runtime.
32-
complex_1.f
33-
3431
# These tests are expected to fail to compile, but compilation succeeds.
3532
19990218-0.f
3633
970625-2.f
3734
980615-0.f
38-
39-
# These tests are expected to compile, but compilation fails instead.
40-
20010519-1.f
41-
42-
# This seems to be compiled in fixed-form even though -ffree-form is specified
43-
# as a DejaGNU directive. This indicates a bug in the processing of the
44-
# directives by the build system in llvm-test-suite, or a problem with flang
45-
# where it does not respect the -ffree-form directive.
46-
ffree-form-3.f
47-
48-
# This has something to do with the -ffixed-line-length-none option. Once
49-
# again, it is possible that is just not being parsed correctly from the file.
50-
ffixed-line-length-none.f
51-
52-
# This has something to do with the -ffixed-line-length-0 option. Once
53-
# again, it is possible that the directive is not being passed to flang
54-
# because of a bug in the directive parsing, or that flang does not respect
55-
# the flag.
56-
ffixed-line-length-0.f
57-
58-
# This has something to do with the -ffixed-line-length-0 option. Once
59-
# again, it is possible that the directive is not being passed to flang
60-
# because of a bug in the directive parsing, or that flang does not respect
61-
# the flag.
62-
ffixed-line-length-132.f
6335
)

Fortran/gfortran/regression/goacc/DisabledFiles.cmake

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -11,60 +11,32 @@ set(UNSUPPORTED_FILES "")
1111

1212
# There are currently no unimplemented files.
1313
file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS
14-
# unimplemented: CriticalConstruct implementation
15-
critical.f95
16-
1714
# unimplemented: OpenACC Atomic construct not lowered yet
1815
atomic-1.f90
1916
privatization-1-compute.f90
2017
privatization-1-compute-loop.f90
2118

2219
# unimplemented: OpenACC Cache construct not lowered yet
2320
cache-1.f95
24-
cache-2.f95
2521

2622
# unimplemented: OpenACC Routine construct not lowered yet
2723
classify-routine.f95
2824
classify-routine-nohost.f95
2925
kernels-decompose-2.f95
30-
orphan-reductions-1.f90
31-
orphan-reductions-2.f90
3226
pr89773.f90
3327
private-explicit-routine-1.f95
3428
private-predetermined-routine-1.f95
3529
privatization-1-routine_gang.f90
3630
privatization-1-routine_gang-loop.f90
37-
routine-4.f90
38-
routine-5.f90
39-
routine-8.f90
4031
routine-external-level-of-parallelism-1.f
41-
routine-external-level-of-parallelism-2.f
4232
routine-level-of-parallelism-1.f90
4333
routine-module-mod-1.f90
4434
routine-multiple-directives-1.f90
45-
routine-multiple-directives-2.f90
4635

4736
# unimplemented: OpenACC Standalone Declarative construct not lowered yet
48-
declare-1.f95
4937
declare-3.f95
50-
derived-types.f90
5138
pr78260-2.f90
52-
pr85701.f90
5339
pr94120-1.f90
54-
pr94120-2.f90
55-
pr94120-3.f90
56-
57-
# unimplemented: co-array address
58-
coindexed-1.f90
59-
60-
# unimplemented: coarray in procedure interface
61-
coarray_2.f90
62-
63-
# unimplemented: intrinsic: kind requested type: (i32) -> i32
64-
ref_inquiry.f90
65-
66-
# unimplemented: reduction with unsupported type
67-
pr77371-2.f90
6840

6941
# unimplemented: support for polymorphic types
7042
derived-chartypes-1.f90
@@ -83,18 +55,10 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
8355
array-with-dt-2.f90
8456
array-with-dt-3.f90
8557
array-with-dt-4.f90
86-
array-with-dt-6.f90
8758
attach-descriptor.f90
88-
derived-types-3.f90
8959
kernels-alias-4.f95
9060
kernels-alias.f95
9161

92-
# error: unsupported OpenACC operation: acc.deviceptr
93-
data-clauses.f95
94-
95-
# error: unsupported OpenACC operation: acc.firstprivate
96-
firstprivate-1.f95
97-
9862
# error: unsupported OpenACC operation: acc.firstprivate.recipe
9963
default_none.f95
10064

@@ -114,13 +78,9 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
11478
fixed-3.f
11579
fixed-4.f
11680
pr85879.f90
117-
tile-4.f90
11881
uninit-dim-clause.f95
11982
uninit-firstprivate-clause.f95
12083

121-
# error: unsupported OpenACC operation: acc.present
122-
warn_truncated.f90
123-
12484
# error: unsupported OpenACC operation: acc.private.recipe
12585
private-explicit-kernels-1.f95
12686
private-explicit-parallel-1.f95
@@ -129,19 +89,16 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
12989
parallel-tree.f95
13090

13191
# error: unsupported OpenACC operation: acc.reduction.recipe
132-
array-reduction.f90
13392
combined-directives.f90
13493
combined_loop.f90
13594
loop-tree-1.f90
13695
modules.f95
137-
multi-clause.f90
13896
orphan-reductions-3.f90
13997
pr85703.f90
14098
private-3.f95
14199
reduction-2.f95
142100

143101
# error: unsupported OpenACC operation: acc.reduction
144-
reduction-3.f95
145102
reduction-promotions.f90
146103

147104
# error: unsupported OpenACC operation: acc.use_device
@@ -158,7 +115,6 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
158115
classify-kernels-unparallelized-parloops.f95
159116
classify-parallel.f95
160117
classify-serial.f95
161-
deep-copy-2.f90
162118
gang-static.f95
163119
kernels-decompose-1.f95
164120
kernels-loop-2.f95
@@ -173,21 +129,15 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
173129
kernels-loops-adjacent.f95
174130
kernels-parallel-loop-data-enter-exit.f95
175131
loop-2-kernels-nested.f95
176-
loop-2-parallel-3.f95
177132
loop-2-parallel-nested.f95
178-
loop-4.f95
179-
nested-parallelism.f90
180133
note-parallelism.f90
181134
pr104717.f90
182-
pr72715.f90
183135
pr78027.f90
184136
pr84217.f90
185-
pr93329.f90
186137
pr93464-2.f90
187138
pr93464.f90
188139
private-predetermined-kernels-1.f95
189140
private-predetermined-parallel-1.f95
190-
routine-3.f90
191141
tile-3.f90
192142
tile-lowering.f95
193143
vector_length.f90
@@ -198,10 +148,7 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
198148
# error: null operand found
199149
array-with-dt-5.f90
200150
finalize-1.f
201-
mapping-tests-1.f90
202-
mapping-tests-2.f90
203151
mapping-tests-3.f90
204-
mapping-tests-4.f90
205152
update-if_present-1.f90
206153

207154
# error: operation with block successors must terminate its parent block

0 commit comments

Comments
 (0)