re PR tree-optimization/57385 ([tree-ssa] Possible segfault in fully_constant_vn_reference_p)

PR tree-ssa/57385
	* gcc.dg/tree-ssa/pr57385.c: New test.

From-SVN: r199283
This commit is contained in:
Kirill Yukhin 2013-05-24 09:11:56 +00:00
parent 634e03d3b8
commit 905b92cb01

View file

@ -0,0 +1,10 @@
/* { dg-do compile } */
/* { dg-options "-O1" } */
int c;
void foo(int f)
{
int wbi=-100000000;
c = (f ? "012346000000000000":"01345:000000006008")[wbi];
}