diff options
author | Joel Brobecker <brobecker@adacore.com> | 2021-01-01 01:54:58 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2021-01-01 01:54:58 -0300 |
commit | 06450993d44409ba7dd10ab67a24dd85b3d1b965 (patch) | |
tree | 27a72dca033885913583182d088a89a01062e4ac | |
parent | 6990be171feaf379659f866c0ef165b78da849f3 (diff) | |
download | gcc-06450993d44409ba7dd10ab67a24dd85b3d1b965.zip gcc-06450993d44409ba7dd10ab67a24dd85b3d1b965.tar.gz gcc-06450993d44409ba7dd10ab67a24dd85b3d1b965.tar.bz2 |
gcc.dg/intmax_t-1.c compiles without error on VxWorks 7 SR06x0
This test currently fails on VxWorks 7 SR06x0 targets when in kernel
mode, because it expects a discrepancy between built-in and system
intmax_t for all VxWorks targets when in kernel mode. Fortunately,
this has now been fixed when targetting VxWorks 7 SR06x0, so this
commit adjusts the "dg-error" condition to exclude newer versions of
VxWorks 7.
for gcc/testsuite/ChangeLog
* gcc.dg/intmax_t-1.c: Do not expect an error on *-*-vxworks7r*
targets.
-rw-r--r-- | gcc/testsuite/gcc.dg/intmax_t-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/intmax_t-1.c b/gcc/testsuite/gcc.dg/intmax_t-1.c index 00b503c..03d4266 100644 --- a/gcc/testsuite/gcc.dg/intmax_t-1.c +++ b/gcc/testsuite/gcc.dg/intmax_t-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-Wall" } */ -/* { dg-error "" "" { target { { *arm*-*-*elf* xtensa*-*-elf* } || vxworks_kernel } } 0 } */ +/* { dg-error "" "" { target { { *arm*-*-*elf* xtensa*-*-elf* } || { vxworks_kernel && { ! *-*-vxworks7r* } } } } 0 } */ /* Compile with -Wall to get a warning if built-in and system intmax_t don't match. */ |