OSDN Git Service

2010-03-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Mar 2010 13:51:00 +0000 (13:51 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Mar 2010 13:51:00 +0000 (13:51 +0000)
commitf9a210c9ae78ea07e0cb23c2b6b1ca256143e641
treec84727d77a7e581856cf026478be48395776d00b
parent794d250ad1e080863b3969a77b44fce04f8ba31e
2010-03-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR tree-optimization/43280
* tree-ssa-math-opts.c (find_bswap_1): Modify symbolic number generation.
Move calculation of size out of the if branch.
(find_bswap): Modify compare number generation.

2010-03-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/optimize-bswapdi-1.c: Add OpenSSL bswap variant.
* gcc.dg/pr43280.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157386 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/optimize-bswapdi-1.c
gcc/testsuite/gcc.dg/pr43280.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c