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 | |
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')
-rw-r--r-- | libmudflap/ChangeLog | 5 | ||||
-rw-r--r-- | libmudflap/testsuite/libmudflap.c/pass62-frag.c | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog index 1c7313a38e4..57f20a2344b 100644 --- a/libmudflap/ChangeLog +++ b/libmudflap/ChangeLog @@ -1,3 +1,8 @@ +2008-01-05 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/34618 + * testsuite/libmudflap.c/pass62-frag.c: New test. + 2008-01-03 Jakub Jelinek <jakub@redhat.com> PR c++/34619 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; +} |