diff options
author | kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-24 09:11:56 +0000 |
---|---|---|
committer | kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-24 09:11:56 +0000 |
commit | 9776e8bf8bb7bb22c0622ee83b8d556dbe68ac0b (patch) | |
tree | dea3668e56d46e05c09202b799a8594ecac4db6a /gcc/testsuite/gcc.dg | |
parent | f982ec99481f34905deb32c8c5fb70a67a241f8a (diff) | |
download | gcc-9776e8bf8bb7bb22c0622ee83b8d556dbe68ac0b.tar.gz |
PR tree-ssa/57385
* gcc.dg/tree-ssa/pr57385.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199283 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/pr57385.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr57385.c b/gcc/testsuite/gcc.dg/tree-ssa/pr57385.c new file mode 100644 index 00000000000..fc2146126c6 --- /dev/null +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr57385.c @@ -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]; +} |