From e99589e204cb6790a5cbf50c4205ad1c4239ae24 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Mon, 18 Feb 2019 14:06:49 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/wrappers/pr88680.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2