This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/77673] [5/6/7 Regression] 4-byte load generated instead of 1-byte load, possibly reading past the end of object


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77673

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-09-21
          Component|middle-end                  |tree-optimization
   Target Milestone|---                         |5.5
            Summary|4-byte load generated       |[5/6/7 Regression] 4-byte
                   |instead of 1-byte load,     |load generated instead of
                   |possibly reading past the   |1-byte load, possibly
                   |end of object               |reading past the end of
                   |                            |object
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
The bswap pass is putting the word load and __builtin_bswap after the first
load instead right after the last load.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]