[Bug tree-optimization/51759] [4.5 Regression] miscompile writes past end of bitfield

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 5 13:39:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51759

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jamborm at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-01-05 13:39:22 UTC ---
(In reply to comment #3)
> Where 4.6 says:
> 
> Candidate (2069): this
> ! Disqualifying this - Encountered a bit-field access.
> 
> which hints at what needs backporting.
> 
> Martin?

Right, this seems to be PR 45644, for some reason I did not backport
the fix to 4.5.  It should be fixed by committing 
http://gcc.gnu.org/viewcvs?view=revision&revision=164313
I'll do the backport and test it today.



More information about the Gcc-bugs mailing list