Commit eb149440 by Richard Guenther Committed by Richard Biener

re PR rtl-optimization/41928 (segfault at gcc/bitmap.c:297)

2009-11-08  Richard Guenther  <rguenther@suse.de>

	PR rtl-optimization/41928
	* loop-invariant.c (free_loop_data): If we didn't allocate
	loop data do not try to free it.

	* gfortran.dg/pr41928.f90: New testcase.

From-SVN: r154008
parent b5fcfe89
2009-11-08 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/41928
* loop-invariant.c (free_loop_data): If we didn't allocate
loop data do not try to free it.
2009-11-07 Jason Merrill <jason@redhat.com>
* tree.c (reconstruct_complex_type): Preserve attributes.
......@@ -1564,6 +1564,8 @@ static void
free_loop_data (struct loop *loop)
{
struct loop_data *data = LOOP_DATA (loop);
if (!data)
return;
bitmap_clear (&LOOP_DATA (loop)->regs_ref);
bitmap_clear (&LOOP_DATA (loop)->regs_live);
......
2009-11-08 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/41928
* gfortran.dg/pr41928.f90: New testcase.
2009-11-07 Jason Merrill <jason@redhat.com>
PR c++/18451
......
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