From: Steve Ellcey Date: Thu, 26 Apr 2007 21:02:05 +0000 (+0000) Subject: re PR middle-end/31617 (Segfault in integer_zerop, called via ipa-type-escape.c) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b6a9ddfa7bc6949dfacdfeff2a01d3cac610e04;p=gcc.git re PR middle-end/31617 (Segfault in integer_zerop, called via ipa-type-escape.c) PR middle-end/31617 * g++.dg/other/str_empty.C: Add expected warning. From-SVN: r124197 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bcdbbddd3c7..a7d85fa1bfb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-04-26 Steve Ellcey + + PR middle-end/31617 + * g++.dg/other/str_empty.C: Add expected warning. + 2007-04-26 Richard Guenther Daniel Berlin diff --git a/gcc/testsuite/g++.dg/other/str_empty.C b/gcc/testsuite/g++.dg/other/str_empty.C index c615a2b522a..fc2cb1d75f2 100644 --- a/gcc/testsuite/g++.dg/other/str_empty.C +++ b/gcc/testsuite/g++.dg/other/str_empty.C @@ -10,7 +10,7 @@ struct polynomial { void spline_rep1 () { - new polynomial[0]; + new polynomial[0]; // { dg-warning "allocating zero-element array" } }