From 6659fe59f3c39e991149fe60f17d0628d771a454 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Wed, 8 Mar 2017 12:58:01 +0000 Subject: [PATCH] * g++.dg/Walloca1.C: Adjust dg-warning. From-SVN: r245975 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/Walloca1.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7a539e6e5ca..5824caf414b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-03-08 Marek Polacek + + * g++.dg/Walloca1.C: Adjust dg-warning. + 2017-03-08 Andrew Haley PR tree-optimization/79943 diff --git a/gcc/testsuite/g++.dg/Walloca1.C b/gcc/testsuite/g++.dg/Walloca1.C index 23b97e83c91..818c6f0697e 100644 --- a/gcc/testsuite/g++.dg/Walloca1.C +++ b/gcc/testsuite/g++.dg/Walloca1.C @@ -3,4 +3,4 @@ /* { dg-options "-Walloca-larger-than=4207115063 -Wvla-larger-than=1233877270 -O2" } */ int a; -char *b = static_cast(__builtin_alloca (a)); // { dg-warning "argument to .alloca. may be too large" } +char *b = static_cast(__builtin_alloca (a)); // { dg-warning "argument to .alloca. may be too large|unbounded use of" } -- 2.30.2