Skip to content

Commit 81b948c

Browse files
authored
[Fortran/gfortran] Disable tests on AIX (#202)
1 parent d694427 commit 81b948c

File tree

10 files changed

+272
-48
lines changed

10 files changed

+272
-48
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
# Overrides for DejaGNU annotations for tests in the directory in which this
3+
# file is present. To override tests in subdirectories, create/edit an
4+
# override.yaml file in that subdirectory.
5+
#
6+
# Please see gfortran/README.md for instructions on editing this file.
7+
#
8+
# This file is broadly divided into two. The first section contains tests that
9+
# are "temporarily" overridden. These are usually tests that fail on certain
10+
# platforms, but pass on others, but are intended to pass everywhere. When the
11+
# underlying issue is addressed, the tests should be removed. Eventually, there
12+
# should be no tests at all in this section. The second section contains tests
13+
# that are "permanently" overridden - usually because flang's behavior deviates
14+
# from gfortran, but we want the tests to run anyway.
15+
#
16+
# When adding a test to this file, please leave a comment describing why the
17+
# behavior of the test is being overridden.
18+
19+
20+
# ------------------------ TEMPORARILY OVERRIDDEN TESTS ------------------------
21+
22+
# unimplemented feature on AIX: Nested arguments are unimplemented
23+
"pr96949.f90":
24+
disabled_on: ["powerpc-*-aix"]
25+
26+
# ------------------------ PERMANENTLY OVERRIDDEN TESTS ------------------------
27+

Fortran/gfortran/regression/analyzer/tests.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ compile;pr93405.f90;;;;
4343
compile;pr93777.f90;;-O0 -Wno-analyzer-possible-null-dereference -Wno-analyzer-null-dereference -Wno-analyzer-malloc-leak;;
4444
compile;pr93778.f90;;;;
4545
compile;pr93993.f90;;;;
46-
compile;pr96949.f90;;-Wno-analyzer-too-complex --param analyzer-max-svalue-depth=0;;
46+
compile;pr96949.f90;;-Wno-analyzer-too-complex --param analyzer-max-svalue-depth=0;;powerpc-.+-aix
4747
compile;pr97668.f;;-std=legacy -Wno-analyzer-use-of-uninitialized-value -Wno-analyzer-too-complex;;
4848
compile;uninit-pr63311.f90;;-O0;;
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
# Overrides for DejaGNU annotations for tests in the directory in which this
3+
# file is present. To override tests in subdirectories, create/edit an
4+
# override.yaml file in that subdirectory.
5+
#
6+
# Please see gfortran/README.md for instructions on editing this file.
7+
#
8+
# This file is broadly divided into two. The first section contains tests that
9+
# are "temporarily" overridden. These are usually tests that fail on certain
10+
# platforms, but pass on others, but are intended to pass everywhere. When the
11+
# underlying issue is addressed, the tests should be removed. Eventually, there
12+
# should be no tests at all in this section. The second section contains tests
13+
# that are "permanently" overridden - usually because flang's behavior deviates
14+
# from gfortran, but we want the tests to run anyway.
15+
#
16+
# When adding a test to this file, please leave a comment describing why the
17+
# behavior of the test is being overridden.
18+
19+
20+
# ------------------------ TEMPORARILY OVERRIDDEN TESTS ------------------------
21+
22+
# unimplemented feature on AIX: Nested arguments are unimplemented
23+
"pr35786-2.f90":
24+
disabled_on: ["powerpc-*-aix"]
25+
26+
# ------------------------ PERMANENTLY OVERRIDDEN TESTS ------------------------
27+

Fortran/gfortran/regression/gomp/tests.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ compile;pr27573.f90;;-O2 -fopenmp -fprofile-generate;;
313313
compile;pr29759.f90;xfail;;;
314314
compile;pr33439.f90;xfail;-fopenmp;;
315315
compile;pr35786-1.f90;xfail;-fopenmp;;
316-
compile;pr35786-2.f90;;-fopenmp;;
316+
compile;pr35786-2.f90;;-fopenmp;;powerpc-.+-aix
317317
compile;pr36726.f90;;-fopenmp;;
318318
compile;pr39152.f90;;-march=i486 -fopenmp -mavx -O3 -funroll-all-loops;;
319319
compile;pr39354.f90;;-fopenmp;;

Fortran/gfortran/regression/override.yaml

Lines changed: 110 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Assertion `Elt->getBitWidth() == EltVT.getSizeInBits() && "APInt size does not match type size!"' failed.
2626
#
2727
"findloc_8.f90":
28-
disabled_on: ["aarch64-*-*", "loongarch64-*-*", "ppc64le-*-*"]
28+
disabled_on: ["aarch64-*-*", "loongarch64-*-*", "ppc64le-*-*", "powerpc-*-*"]
2929

3030
# entry_23.f raises a segmentation fault at runtime, on some platforms.
3131
"entry_23.f":
@@ -35,7 +35,7 @@
3535
# error: 'kind=' argument must be a constant scalar integer whose value is a
3636
# supported kind for the intrinsic result type.
3737
"pr91497.f90":
38-
disabled_on: ["aarch64-*-*", "loongarch64-*-*", "ppc64le-*-*"]
38+
disabled_on: ["aarch64-*-*", "loongarch64-*-*", "ppc64le-*-*", "powerpc-*-*"]
3939

4040
# maxlocval_1.f90 fails at runtime with "STOP: code 1" on AArch64. This is not
4141
# expected and does not occur on other targets.
@@ -88,6 +88,98 @@
8888
"default_format_denormal_2.f90":
8989
disabled_on: ["ppc64le-*-*", "powerpc-*-*"]
9090

91+
# unimplemented feature on AIX: Nested arguments are unimplemented
92+
"assumed_type_1.f90":
93+
disabled_on: ["powerpc-*-aix"]
94+
95+
"do_check_14.f90":
96+
disabled_on: ["powerpc-*-aix"]
97+
98+
"do_check_15.f90":
99+
disabled_on: ["powerpc-*-aix"]
100+
101+
"do_subscript_3.f90":
102+
disabled_on: ["powerpc-*-aix"]
103+
104+
"intrinsic_actual_2.f90":
105+
disabled_on: ["powerpc-*-aix"]
106+
107+
"pr47054_1.f90":
108+
disabled_on: ["powerpc-*-aix"]
109+
110+
"pr98016.f90":
111+
disabled_on: ["powerpc-*-aix"]
112+
113+
"round_4.f90":
114+
disabled_on: ["powerpc-*-aix"]
115+
116+
"transpose_1.f90":
117+
disabled_on: ["powerpc-*-aix"]
118+
119+
"typebound_call_11.f03":
120+
disabled_on: ["powerpc-*-aix"]
121+
122+
"use_25.f90":
123+
disabled_on: ["powerpc-*-aix"]
124+
125+
"used_dummy_types_5.f90":
126+
disabled_on: ["powerpc-*-aix"]
127+
128+
"used_types_10.f90":
129+
disabled_on: ["powerpc-*-aix"]
130+
131+
"warn_target_lifetime_1.f90":
132+
disabled_on: ["powerpc-*-aix"]
133+
134+
"warn_unused_dummy_argument_5.f90":
135+
disabled_on: ["powerpc-*-aix"]
136+
137+
"zero_sized_14.f90":
138+
disabled_on: ["powerpc-*-aix"]
139+
140+
# incorrect inlining for minloc/maxloc on AIX
141+
"maxloc_2.f90":
142+
disabled_on: ["powerpc-*-aix"]
143+
144+
"maxloc_3.f90":
145+
disabled_on: ["powerpc-*-aix"]
146+
147+
"maxlocval_3.f90":
148+
disabled_on: ["powerpc-*-aix"]
149+
150+
"minloc_1.f90":
151+
disabled_on: ["powerpc-*-aix"]
152+
153+
"minloc_2.f90":
154+
disabled_on: ["powerpc-*-aix"]
155+
156+
"minlocval_1.f90":
157+
disabled_on: ["powerpc-*-aix"]
158+
159+
"minlocval_2.f90":
160+
disabled_on: ["powerpc-*-aix"]
161+
162+
"minlocval_4.f90":
163+
disabled_on: ["powerpc-*-aix"]
164+
165+
"minmaxloc_10.f90":
166+
disabled_on: ["powerpc-*-aix"]
167+
168+
"minmaxloc_17.f90":
169+
disabled_on: ["powerpc-*-aix"]
170+
171+
"minmaxloc_1.f90":
172+
disabled_on: ["powerpc-*-aix"]
173+
174+
"minmaxloc_3.f90":
175+
disabled_on: ["powerpc-*-aix"]
176+
177+
"scalar_mask_1.f90":
178+
disabled_on: ["powerpc-*-aix"]
179+
180+
"scalar_mask_2.f90":
181+
disabled_on: ["powerpc-*-aix"]
182+
91183
# ------------------------ PERMANENTLY OVERRIDDEN TESTS ------------------------
92184

93185
# namelist_print_2.f and print_fmt_2.f90 use ```print <namelist name>```. This
@@ -102,7 +194,21 @@
102194

103195
# float bessel functions are not supported on AIX
104196
"bessel_1.f90":
105-
disabled_on: ["powerpc-*-*"]
197+
disabled_on: ["powerpc-*-aix"]
106198

107199
"bessel_5.f90":
108-
disabled_on: ["powerpc-*-*"]
200+
disabled_on: ["powerpc-*-aix"]
201+
202+
# The test case passes the non-bind(c) derived type to the C routine
203+
# and expects the same alignment of the components. However, on AIX,
204+
# non-bind(c) derived type has the natural alignment and bind(c) derived
205+
# type the special alignment rule applies.
206+
"c_f_pointer_tests.f90":
207+
disabled_on: ["powerpc-*-aix"]
208+
209+
# The test cases expect seg fault but not occur on AIX.
210+
"PR100136.f90":
211+
disabled_on: ["powerpc-*-aix"]
212+
213+
"bounds_check_fail_5.f90":
214+
disabled_on: ["powerpc-*-aix"]

0 commit comments

Comments
 (0)