diff mbox

Fix PR69568

Message ID alpine.LSU.2.11.1602171548530.1392@t29.fhfr.qr
State New
Headers show

Commit Message

Richard Biener Feb. 17, 2016, 2:49 p.m. UTC
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.
diff mbox

Patch

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,