From: Wilco Dijkstra Date: Mon, 18 Feb 2019 14:06:49 +0000 (+0000) Subject: Fix test pr88680.C X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e99589e204cb6790a5cbf50c4205ad1c4239ae24;p=gcc.git Fix test pr88680.C Fix pr88680.C failures due to short enums on arm-none-eabi. Committed as obvious. gcc/testsuite/ * g++.dg/wrappers/pr88680.C: Add -fno-short-enums. From-SVN: r268988 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b1a0c368f71..38de7998e3c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-02-18 Wilco Dijkstra + + * g++.dg/wrappers/pr88680.C: Add -fno-short-enums. + 2019-02-18 Rainer Orth * gdc.dg/dg.exp: Tabify. diff --git a/gcc/testsuite/g++.dg/wrappers/pr88680.C b/gcc/testsuite/g++.dg/wrappers/pr88680.C index 5497cda5c9c..1bd6292857d 100644 --- a/gcc/testsuite/g++.dg/wrappers/pr88680.C +++ b/gcc/testsuite/g++.dg/wrappers/pr88680.C @@ -1,5 +1,5 @@ // { dg-do compile { target c++11 } } -// { dg-options "-Wtype-limits" } +// { dg-options "-Wtype-limits -fno-short-enums" } const unsigned N = 8; const unsigned P = 0;