From: Wilco Dijkstra Date: Mon, 9 Oct 2017 11:00:17 +0000 (+0000) Subject: Fix ssa-dse-26.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d9c7f8a863274343064cbec59585c1ac7f4d2b9;p=gcc.git Fix ssa-dse-26.c Add missing -fno-short-enums to ensure this test passes on arm-none-eabi which uses short enums. gcc/testsuite/ * gcc.dg/tree-ssa/ssa-dse-26.c (dg-options): Add -fno-short-enums. From-SVN: r253540 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 37b33efe016..2876285d2dd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-10-09 Wilco Dijkstra + + * gcc.dg/tree-ssa/ssa-dse-26.c (dg-options): Add -fno-short-enums. + 2017-10-09 Tom de Vries * gcc.dg/cold-1.c (foo1): Fix warning line number. Make warning line diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c index 6605dfe0aae..a5638b58247 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-dse1-details" } */ +/* { dg-options "-O2 -fdump-tree-dse1-details -fno-short-enums" } */ enum constraint_expr_type { @@ -30,4 +30,3 @@ constraint_equal (struct constraint a, struct constraint b) } /* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1" } } */ -