mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-24 11:35:31 +08:00
enum6.C: Use arm_eabi for dg-options.
2014-11-26 Andreas Tobler <andreast@gcc.gnu.org> * 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
This commit is contained in:
parent
61001a3585
commit
b1edcad11f
@ -1,3 +1,10 @@
|
||||
2014-11-26 Andreas Tobler <andreast@gcc.gnu.org>
|
||||
|
||||
* 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 <hongjiu.lu@intel.com>
|
||||
|
||||
PR target/63534
|
||||
|
@ -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 <limits.h>
|
||||
|
||||
|
@ -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 *, ...);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user