Commit fa45f8d7 by Richard Guenther Committed by Richard Biener

re PR tree-optimization/45732 (ICE: in bit_value_unop, at tree-ssa-ccp.c:1861 at -O1)

2010-10-07  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/45732
	* gcc.dg/torture/pr45732.c: New testcase.

From-SVN: r165120
parent 3edeb30d
2010-10-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/45732
* gcc.dg/torture/pr45732.c: New testcase.
2010-10-07 Iain Sandoe <iains@gcc.gnu.org> 2010-10-07 Iain Sandoe <iains@gcc.gnu.org>
* objc.dg/foreach-1.m: Adjust for -fnext-runtime compatibility. * objc.dg/foreach-1.m: Adjust for -fnext-runtime compatibility.
......
/* { dg-do compile } */
typedef char chars[5];
const chars bad_chars[] = { "" };
int foo ()
{
const chars *c = bad_chars;
return c[0][0];
}
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