Commit c58bbf00 by Jakub Jelinek Committed by Jakub Jelinek

re PR tree-optimization/41643 (ICE (segmentation fault) for SPEC CPU2000's…

re PR tree-optimization/41643 (ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce)

	PR tree-optimization/41643
	* gcc.dg/pr41643.c: New test.

From-SVN: r153997
parent 1a62cb3b
2009-11-07 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/41643
* gcc.dg/pr41643.c: New test.
2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/41909 PR fortran/41909
......
/* PR tree-optimization/41643 */
/* { dg-do compile } */
/* { dg-options "-O2 -fno-tree-dce" } */
struct S { int a; };
int
f (struct S *x)
{
int a = x->a;
if (a)
return f (x) + a;
else
return f (x);
}
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