This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/38405] [4.4 Regression] (silent failure) handling bitfield in ternary
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2008 18:53:00 -0000
- Subject: [Bug tree-optimization/38405] [4.4 Regression] (silent failure) handling bitfield in ternary
- References: <bug-38405-17043@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from rguenth at gcc dot gnu dot org 2008-12-07 18:52 -------
We now get
D.1254 = BIT_FIELD_REF <*rfp, 8, 0>;
D.1255 = D.1254 & 1;
D.1253 = D.1255 != 0;
which causes missed optimizations. Jakub - can you disable the bit-field-ref
folding for single tests like this?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38405