]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/28045 (Bitfield, &&, and optimization => bad code generation)
authorRichard Guenther <rguenther@suse.de>
Fri, 23 Jun 2006 09:57:37 +0000 (09:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 23 Jun 2006 09:57:37 +0000 (09:57 +0000)
commit64f97f4a6b0def369885265acbc89a0398679f0b
treebde064738652f38d81162f369ee604aae69c9870
parent97ec62cd8553cc05499572f99e05288a8e824a19
re PR middle-end/28045 (Bitfield, &&, and optimization => bad code generation)

2006-06-23  Richard Guenther  <rguenther@suse.de>

PR middle-end/28045
* fold-const.c (operand_equal_p): Check if the argument types
have the same precision before stripping NOPs.

* gcc.dg/torture/pr28045.c: New testcase.

From-SVN: r114930
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr28045.c [new file with mode: 0644]