This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38428] [4.4 Regression] ice for Linux kernel code with -O2
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Dec 2008 13:06:27 -0000
- Subject: [Bug middle-end/38428] [4.4 Regression] ice for Linux kernel code with -O2
- References: <bug-38428-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2008-12-06 13:06 -------
Apparently caused by my PR37248 patch. We have a volatile bitfield, and the
patch (similarly to 4.3) creates a TREE_THIS_VOLATILE TREE_SIDE_EFFECTS
BIT_FIELD_REF, but apparently the trunk is upset about it.
Either we just don't try to optimize volatile bitfields at all (don't create
BIT_FIELD_REFs for them), or some changes are needed to handle volatile
BIT_FIELD_REFs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38428