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
This commit is contained in:
Steve Ellcey 2007-04-26 21:02:05 +00:00 committed by Steve Ellcey
parent 6107a6aef1
commit 6b6a9ddfa7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-04-26 Steve Ellcey <sje@cup.hp.com>
PR middle-end/31617
* g++.dg/other/str_empty.C: Add expected warning.
2007-04-26 Richard Guenther <rguenther@suse.de>
Daniel Berlin <dberlin@dberlin.org>

View File

@ -10,7 +10,7 @@ struct polynomial {
void spline_rep1 ()
{
new polynomial[0];
new polynomial[0]; // { dg-warning "allocating zero-element array" }
}