From b1edcad11f8688df33e136de11c63e61aea7a182 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Tue, 25 Nov 2014 23:30:58 +0100 Subject: [PATCH] enum6.C: Use arm_eabi for dg-options. 2014-11-26 Andreas Tobler * g++.old-deja/g++.jason/enum6.C: Use arm_eabi for dg-options. Update comment. * g++.old-deja/g++.law/enum9.C: Likewise. * g++.old-deja/g++.other/enum4.C: Likewise. From-SVN: r218065 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/g++.old-deja/g++.jason/enum6.C | 6 ++---- gcc/testsuite/g++.old-deja/g++.law/enum9.C | 6 ++---- gcc/testsuite/g++.old-deja/g++.other/enum4.C | 6 ++---- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e0f44411345..11c7de2ecf6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2014-11-26 Andreas Tobler + + * g++.old-deja/g++.jason/enum6.C: Use arm_eabi for dg-options. + Update comment. + * g++.old-deja/g++.law/enum9.C: Likewise. + * g++.old-deja/g++.other/enum4.C: Likewise. + 2014-11-25 H.J. Lu PR target/63534 diff --git a/gcc/testsuite/g++.old-deja/g++.jason/enum6.C b/gcc/testsuite/g++.old-deja/g++.jason/enum6.C index 97bc2bafebb..c5bcec9ad7a 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/enum6.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/enum6.C @@ -7,10 +7,8 @@ // enum-size attributes should only be emitted if there are values of // enum type that can escape the compilation unit, gcc cannot currently // detect this; if this facility is added then this linker option should -// not be needed. arm-*-linux* should be a good approximation to -// those platforms where the EABI supplement defines enum values to be -// 32 bits wide. -// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux* } } +// not be needed. +// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm_eabi } } #include diff --git a/gcc/testsuite/g++.old-deja/g++.law/enum9.C b/gcc/testsuite/g++.old-deja/g++.law/enum9.C index e4045b50b59..a1a551d6e55 100644 --- a/gcc/testsuite/g++.old-deja/g++.law/enum9.C +++ b/gcc/testsuite/g++.old-deja/g++.law/enum9.C @@ -7,10 +7,8 @@ // enum-size attributes should only be emitted if there are values of // enum type that can escape the compilation unit, gcc cannot currently // detect this; if this facility is added then this linker option should -// not be needed. arm-*-linux* should be a good approximation to -// those platforms where the EABI supplement defines enum values to be -// 32 bits wide. -// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux* } } +// not be needed. +// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm_eabi } } // GROUPS passed enums extern "C" int printf (const char *, ...); diff --git a/gcc/testsuite/g++.old-deja/g++.other/enum4.C b/gcc/testsuite/g++.old-deja/g++.other/enum4.C index 3c8bb0c08e6..3cda57ca2f3 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/enum4.C +++ b/gcc/testsuite/g++.old-deja/g++.other/enum4.C @@ -9,10 +9,8 @@ // enum-size attributes should only be emitted if there are values of // enum type that can escape the compilation unit, gcc cannot currently // detect this; if this facility is added then this linker option should -// not be needed. arm-*-linux* should be a good approximation to -// those platforms where the EABI supplement defines enum values to be -// 32 bits wide. -// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux* } } +// not be needed. +// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm_eabi } } enum E { a = -312 -- 2.30.2