[testsuite] PR71598: Fix testcases

2019-04-13  Christophe Lyon  <christophe.lyon@linaro.org>

	PR c/71598
	* gcc.dg/torture/pr71598-1.c: Skip if short_enums target.
	* gcc.dg/torture/pr71598-2.c: Skip if not short_enums target.

From-SVN: r270126
This commit is contained in:
Christophe Lyon 2019-04-03 13:17:04 +00:00 committed by Christophe Lyon
parent c51b04ec33
commit c13e978820
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2019-04-13 Christophe Lyon <christophe.lyon@linaro.org>
PR c/71598
* gcc.dg/torture/pr71598-1.c: Skip if short_enums target.
* gcc.dg/torture/pr71598-2.c: Skip if not short_enums target.
2019-04-03 Richard Biener <rguenther@suse.de>
PR tree-optimization/84101

View File

@ -1,4 +1,5 @@
/* { dg-do run } */
/* { dg-skip-if "" { short_enums } } */
/* { dg-additional-options "-fno-short-enums" } */
enum e1 { c1 };

View File

@ -1,4 +1,5 @@
/* { dg-do run } */
/* { dg-skip-if "" { ! short_enums } } */
/* { dg-additional-options "-fshort-enums" } */
enum e1 { c1 = -__INT_MAX__ };