diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-18 22:13:16 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-18 22:13:16 +0000 |
commit | ae371dcf05157f821e4542336745f64a7c638cf1 (patch) | |
tree | ea472acd230ed3d77e57a252a153cbcf33a127aa /gcc/testsuite/gcc.c-torture | |
parent | 9bcf38cd9f382486b3823eb923b50e2e9a89cef7 (diff) | |
download | gcc-ae371dcf05157f821e4542336745f64a7c638cf1.tar.gz |
PR tree-optimization/61042
* gcc.c-torture/compile/pr61042.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217740 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr61042.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr61042.c b/gcc/testsuite/gcc.c-torture/compile/pr61042.c new file mode 100644 index 00000000000..43a4319096a --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr61042.c @@ -0,0 +1,10 @@ +/* PR tree-optimization/61042 */ + +int a, b, c[1], d, f; + +void +foo () +{ + for (; b; b++) + c[0] = c[f] && (d = a); +} |