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:
parent
6107a6aef1
commit
6b6a9ddfa7
@ -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>
|
||||
|
||||
|
@ -10,7 +10,7 @@ struct polynomial {
|
||||
|
||||
void spline_rep1 ()
|
||||
{
|
||||
new polynomial[0];
|
||||
new polynomial[0]; // { dg-warning "allocating zero-element array" }
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user