]> gcc.gnu.org Git - gcc.git/commit
re PR middle-end/28045 (Bitfield, &&, and optimization => bad code generation)
authorRichard Guenther <rguenther@suse.de>
Mon, 19 Jun 2006 14:48:47 +0000 (14:48 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 19 Jun 2006 14:48:47 +0000 (14:48 +0000)
commit096dce1b1bf69529a83de92dc17018c82b7b22ec
tree94e0d422465e6c5021873e4eb47e883ac058f5fd
parent46b86adcdc8bdf4f49df1b52de41eefd9a1afd60
re PR middle-end/28045 (Bitfield, &&, and optimization => bad code generation)

2006-06-19  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: r114772
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr28045.c [new file with mode: 0644]
This page took 0.062203 seconds and 5 git commands to generate.