Commit fe7c4fa9 by Christophe Lyon Committed by Christophe Lyon

[testsuite] PR71598: Fix testcases again

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

	PR c/71598
	* gcc.dg/torture/pr71598-1.c: dg-prune arm linker messages about
	size of enums.
	* gcc.dg/torture/pr71598-2.c: Likewise.

From-SVN: r270168
parent e3671020
2019-04-05 Christophe Lyon <christophe.lyon@linaro.org>
PR c/71598
* gcc.dg/torture/pr71598-1.c: dg-prune arm linker messages about
size of enums.
* gcc.dg/torture/pr71598-2.c: Likewise.
2019-04-05 Marek Polacek <polacek@redhat.com>
PR c++/89973 - -Waddress-of-packed-member ICE with invalid conversion.
......
/* { dg-do run } */
/* { dg-skip-if "" { short_enums } } */
/* { dg-prune-output "use of enum values across objects may fail" } */
/* { dg-additional-options "-fno-short-enums" } */
enum e1 { c1 };
......
/* { dg-do run } */
/* { dg-skip-if "" { ! short_enums } } */
/* { dg-prune-output "use of enum values across objects may fail" } */
/* { dg-additional-options "-fshort-enums" } */
enum e1 { c1 = -__INT_MAX__ };
......
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