Commit 3dbcee5b by Ian Bolton Committed by Ian Bolton

pr44832.c: Use -fno-short-enums option for "target short_enums".

2010-11-22  Ian Bolton  <ian.bolton@arm.com>

	* testsuite/c-c++-common/pr44832.c: Use -fno-short-enums
	option for "target short_enums".
	* testsuite/gcc.c-torture/compile/pr39845.c: Likewise.

From-SVN: r167036
parent a1e78aee
2010-11-22 Ian Bolton <ian.bolton@arm.com>
* testsuite/c-c++-common/pr44832.c: Use -fno-short-enums option for
"target short_enums".
* testsuite/gcc.c-torture/compile/pr39845.c: Likewise.
2010-11-22 Eric Botcazou <ebotcazou@adacore.com> 2010-11-22 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/46603 PR rtl-optimization/46603
......
/* PR debug/44832 */ /* PR debug/44832 */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2 -fcompare-debug" } */ /* { dg-options "-O2 -fcompare-debug" } */
/* { dg-options "-O2 -fcompare-debug -fno-short-enums" {target short_enums} } */
struct rtx_def; struct rtx_def;
typedef struct rtx_def *rtx; typedef struct rtx_def *rtx;
......
/* { dg-options "-fno-short-enums" {target short_enums} } */
typedef union tree_node *tree; typedef union tree_node *tree;
enum tree_code { EXCESS_PRECISION_EXPR }; enum tree_code { EXCESS_PRECISION_EXPR };
enum built_in_function { BUILT_IN_ACOS, BUILT_IN_FPCLASSIFY, BUILT_IN_ISFINITE }; enum built_in_function { BUILT_IN_ACOS, BUILT_IN_FPCLASSIFY, BUILT_IN_ISFINITE };
......
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