Commit 6b6a9ddf by Steve Ellcey Committed by Steve Ellcey

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
parent 6107a6ae
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" }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment