diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-05 12:06:54 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-05 12:06:54 +0000 |
commit | 640fba6f23ad984d9dfd9ceb135c7a419d477b94 (patch) | |
tree | e05e27e3ffb7ec0c24fa67011460b29b81c777ab /libmudflap/testsuite | |
parent | 1a086819730325a69fddedef6b98c608be5194cb (diff) | |
download | gcc-640fba6f23ad984d9dfd9ceb135c7a419d477b94.tar.gz |
PR tree-optimization/34618
* tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P
flag from T.
* testsuite/libmudflap.c/pass62-frag.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131336 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/testsuite')
-rw-r--r-- | libmudflap/testsuite/libmudflap.c/pass62-frag.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libmudflap/testsuite/libmudflap.c/pass62-frag.c b/libmudflap/testsuite/libmudflap.c/pass62-frag.c new file mode 100644 index 00000000000..8e64b2b0e43 --- /dev/null +++ b/libmudflap/testsuite/libmudflap.c/pass62-frag.c @@ -0,0 +1,13 @@ +/* PR tree-optimization/34618 */ +/* { dg-do compile } */ +/* { dg-options "-O3 -fmudflap" } */ + +int a[16]; + +void +foo () +{ + int i; + for (i = 0; i < 16; i++) + a[i] = i; +} |