------- 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

Reply via email to