This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26534] [4.1/4.2 Regression] bitfield wrong optimize
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2006 21:35:03 -0000
- Subject: [Bug tree-optimization/26534] [4.1/4.2 Regression] bitfield wrong optimize
- References: <bug-26534-10812@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-02 21:35 -------
Confirmed, I don't know if this really a front-end issue or a tree opt issue as
we get in cpp:
x.a = 63;
D.2483_3 = x.a;
And then in FRE:
x.a = 63;
D.2483_3 = 63;
But x.a is not a full integer (there should be an and somewhere).
Note this does not have a problem in 4.0.x because FRE did not exist (well it
did) and PRE did not do stuff based on loads.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|c++ |tree-optimization
Ever Confirmed|0 |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2006-03-02 21:35:03
date| |
Summary|bitfield wrong optimize |[4.1/4.2 Regression]
| |bitfield wrong optimize
Target Milestone|--- |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26534