diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-04 05:48:40 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-04 05:48:40 +0000 |
commit | f981034647ef3d37462f217c9aec241a1ab4c799 (patch) | |
tree | 333c0a894c5337c5cbbeccc4e38db11b9ee43553 /gcc/testsuite/gcc.dg/tree-ssa/bitwise-sink.c | |
parent | 373743d1695da5688d26874f4a74257f6d1ddb77 (diff) | |
download | gcc-f981034647ef3d37462f217c9aec241a1ab4c799.tar.gz |
2011-07-04 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 175793 using svnmerge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@175795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/bitwise-sink.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/bitwise-sink.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/bitwise-sink.c b/gcc/testsuite/gcc.dg/tree-ssa/bitwise-sink.c new file mode 100644 index 00000000000..f44529995b7 --- /dev/null +++ b/gcc/testsuite/gcc.dg/tree-ssa/bitwise-sink.c @@ -0,0 +1,11 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -fdump-tree-optimized" } */ + +int +foo (_Bool x) +{ + return (x ^ 1); +} + +/* { dg-final { scan-tree-dump-times "x\[^ \]* \\^ 1" 1 "optimized" } } */ +/* { dg-final { cleanup-tree-dump "optimized" } } */ |