Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fortran/gfortran] Disable tests on AIX #202

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions Fortran/gfortran/regression/analyzer/override.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# Overrides for DejaGNU annotations for tests in the directory in which this
# file is present. To override tests in subdirectories, create/edit an
# override.yaml file in that subdirectory.
#
# Please see gfortran/README.md for instructions on editing this file.
#
# This file is broadly divided into two. The first section contains tests that
# are "temporarily" overridden. These are usually tests that fail on certain
# platforms, but pass on others, but are intended to pass everywhere. When the
# underlying issue is addressed, the tests should be removed. Eventually, there
# should be no tests at all in this section. The second section contains tests
# that are "permanently" overridden - usually because flang's behavior deviates
# from gfortran, but we want the tests to run anyway.
#
# When adding a test to this file, please leave a comment describing why the
# behavior of the test is being overridden.


# ------------------------ TEMPORARILY OVERRIDDEN TESTS ------------------------

# unimplemented feature on AIX: Nested arguments are unimplemented
"pr96949.f90":
disabled_on: ["powerpc-*-aix"]

# ------------------------ PERMANENTLY OVERRIDDEN TESTS ------------------------

2 changes: 1 addition & 1 deletion Fortran/gfortran/regression/analyzer/tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ compile;pr93405.f90;;;;
compile;pr93777.f90;;-O0 -Wno-analyzer-possible-null-dereference -Wno-analyzer-null-dereference -Wno-analyzer-malloc-leak;;
compile;pr93778.f90;;;;
compile;pr93993.f90;;;;
compile;pr96949.f90;;-Wno-analyzer-too-complex --param analyzer-max-svalue-depth=0;;
compile;pr96949.f90;;-Wno-analyzer-too-complex --param analyzer-max-svalue-depth=0;;powerpc-.+-aix
compile;pr97668.f;;-std=legacy -Wno-analyzer-use-of-uninitialized-value -Wno-analyzer-too-complex;;
compile;uninit-pr63311.f90;;-O0;;
27 changes: 27 additions & 0 deletions Fortran/gfortran/regression/gomp/override.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# Overrides for DejaGNU annotations for tests in the directory in which this
# file is present. To override tests in subdirectories, create/edit an
# override.yaml file in that subdirectory.
#
# Please see gfortran/README.md for instructions on editing this file.
#
# This file is broadly divided into two. The first section contains tests that
# are "temporarily" overridden. These are usually tests that fail on certain
# platforms, but pass on others, but are intended to pass everywhere. When the
# underlying issue is addressed, the tests should be removed. Eventually, there
# should be no tests at all in this section. The second section contains tests
# that are "permanently" overridden - usually because flang's behavior deviates
# from gfortran, but we want the tests to run anyway.
#
# When adding a test to this file, please leave a comment describing why the
# behavior of the test is being overridden.


# ------------------------ TEMPORARILY OVERRIDDEN TESTS ------------------------

# unimplemented feature on AIX: Nested arguments are unimplemented
"pr35786-2.f90":
disabled_on: ["powerpc-*-aix"]

# ------------------------ PERMANENTLY OVERRIDDEN TESTS ------------------------

2 changes: 1 addition & 1 deletion Fortran/gfortran/regression/gomp/tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ compile;pr27573.f90;;-O2 -fopenmp -fprofile-generate;;
compile;pr29759.f90;xfail;;;
compile;pr33439.f90;xfail;-fopenmp;;
compile;pr35786-1.f90;xfail;-fopenmp;;
compile;pr35786-2.f90;;-fopenmp;;
compile;pr35786-2.f90;;-fopenmp;;powerpc-.+-aix
compile;pr36726.f90;;-fopenmp;;
compile;pr39152.f90;;-march=i486 -fopenmp -mavx -O3 -funroll-all-loops;;
compile;pr39354.f90;;-fopenmp;;
Expand Down
114 changes: 110 additions & 4 deletions Fortran/gfortran/regression/override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Assertion `Elt->getBitWidth() == EltVT.getSizeInBits() && "APInt size does not match type size!"' failed.
#
"findloc_8.f90":
disabled_on: ["aarch64-*-*", "loongarch64-*-*", "ppc64le-*-*"]
disabled_on: ["aarch64-*-*", "loongarch64-*-*", "ppc64le-*-*", "powerpc-*-*"]

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

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

# unimplemented feature on AIX: Nested arguments are unimplemented
"assumed_type_1.f90":
disabled_on: ["powerpc-*-aix"]

"do_check_14.f90":
disabled_on: ["powerpc-*-aix"]

"do_check_15.f90":
disabled_on: ["powerpc-*-aix"]

"do_subscript_3.f90":
disabled_on: ["powerpc-*-aix"]

"intrinsic_actual_2.f90":
disabled_on: ["powerpc-*-aix"]

"pr47054_1.f90":
disabled_on: ["powerpc-*-aix"]

"pr98016.f90":
disabled_on: ["powerpc-*-aix"]

"round_4.f90":
disabled_on: ["powerpc-*-aix"]

"transpose_1.f90":
disabled_on: ["powerpc-*-aix"]

"typebound_call_11.f03":
disabled_on: ["powerpc-*-aix"]

"use_25.f90":
disabled_on: ["powerpc-*-aix"]

"used_dummy_types_5.f90":
disabled_on: ["powerpc-*-aix"]

"used_types_10.f90":
disabled_on: ["powerpc-*-aix"]

"warn_target_lifetime_1.f90":
disabled_on: ["powerpc-*-aix"]

"warn_unused_dummy_argument_5.f90":
disabled_on: ["powerpc-*-aix"]

"zero_sized_14.f90":
disabled_on: ["powerpc-*-aix"]

# incorrect inlining for minloc/maxloc on AIX
"maxloc_2.f90":
disabled_on: ["powerpc-*-aix"]

"maxloc_3.f90":
disabled_on: ["powerpc-*-aix"]

"maxlocval_3.f90":
disabled_on: ["powerpc-*-aix"]

"minloc_1.f90":
disabled_on: ["powerpc-*-aix"]

"minloc_2.f90":
disabled_on: ["powerpc-*-aix"]

"minlocval_1.f90":
disabled_on: ["powerpc-*-aix"]

"minlocval_2.f90":
disabled_on: ["powerpc-*-aix"]

"minlocval_4.f90":
disabled_on: ["powerpc-*-aix"]

"minmaxloc_10.f90":
disabled_on: ["powerpc-*-aix"]

"minmaxloc_17.f90":
disabled_on: ["powerpc-*-aix"]

"minmaxloc_1.f90":
disabled_on: ["powerpc-*-aix"]

"minmaxloc_3.f90":
disabled_on: ["powerpc-*-aix"]

"scalar_mask_1.f90":
disabled_on: ["powerpc-*-aix"]

"scalar_mask_2.f90":
disabled_on: ["powerpc-*-aix"]

# ------------------------ PERMANENTLY OVERRIDDEN TESTS ------------------------

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

# float bessel functions are not supported on AIX
"bessel_1.f90":
disabled_on: ["powerpc-*-*"]
disabled_on: ["powerpc-*-aix"]

"bessel_5.f90":
disabled_on: ["powerpc-*-*"]
disabled_on: ["powerpc-*-aix"]

# The test case passes the non-bind(c) derived type to the C routine
# and expects the same alignment of the components. However, on AIX,
# non-bind(c) derived type has the natural alignment and bind(c) derived
# type the special alignment rule applies.
"c_f_pointer_tests.f90":
disabled_on: ["powerpc-*-aix"]

# The test cases expect seg fault but not occur on AIX.
"PR100136.f90":
disabled_on: ["powerpc-*-aix"]

"bounds_check_fail_5.f90":
disabled_on: ["powerpc-*-aix"]
Loading