Commit b1edcad1 by Andreas Tobler

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
parent 61001a35
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment