[Bug debug/94280] error: gcc/testsuite/gfortran.dg/iso_c_binding_compiler_1.f90: ‘-fcompare-debug’ failure
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 25 09:49:35 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94280
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:c8504ebef1d6a799600b8e5d255c704b7b3aa19c
commit r10-7370-gc8504ebef1d6a799600b8e5d255c704b7b3aa19c
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Mar 25 10:48:27 2020 +0100
testsuite: Fix up FAILs in gfortran testsuite with -fcompare-debug
[PR94280]
These 3 tests use compiler_options() function,
which is inherently incompatible with -fcompare-debug compilation, as it
emits into a string literal in the assembly the exact f951 command line
options, which differs between the two compilations with -fcompare-debug,
where one has -gtoggle and -fcompare-debug-second options added and
different -fdump-final-insns= option argument.
The following patch adds dg-skip-if directives, so that these tests are
ignored during
make check-gfortran RUNTESTFLAGS='--target_board=unix/-fcompare-debug'
2020-03-25 Jakub Jelinek <jakub@redhat.com>
PR debug/94280
* gfortran.dg/iso_c_binding_compiler_1.f90: Add dg-skip-if for
-fcompare-debug.
* gfortran.dg/iso_c_binding_compiler_3.f90: Likewise.
* gfortran.dg/unlimited_polymorphic_31.f03: Likewise.
More information about the Gcc-bugs
mailing list