public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix PR69568
@ 2016-02-17 14:49 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2016-02-17 14:49 UTC (permalink / raw)
  To: gcc-patches


So after pondering a while the only thing we can do now is force
-fno-short-enums.

Installed.

Richard.

2016-02-17  Richard Biener  <rguenther@suse.de>

	PR testsuite/69586
	* gcc.dg/uninit-21.c: Add -fno-short-enums.

Index: gcc/testsuite/gcc.dg/uninit-21.c
===================================================================
--- gcc/testsuite/gcc.dg/uninit-21.c	(revision 233447)
+++ gcc/testsuite/gcc.dg/uninit-21.c	(working copy)
@@ -1,6 +1,6 @@
 /* PR69537, spurious warning because of a missed optimization. */
 /* { dg-do compile } */
-/* { dg-options "-O2 -Wuninitialized" } */
+/* { dg-options "-O2 -fno-short-enums -Wuninitialized" } */
 
 enum clnt_stat {
  RPC_SUCCESS=0,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-17 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-17 14:49 [PATCH] Fix PR69568 Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).