This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR69568
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Feb 2016 15:49:34 +0100 (CET)
- Subject: [PATCH] Fix PR69568
- Authentication-results: sourceware.org; auth=none
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,