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 rtl-optimization/49799] gcc arm generates illegal sbfx instruction


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

--- Comment #7 from Richard Earnshaw <rearnsha at gcc dot gnu.org> 2011-07-25 09:45:51 UTC ---
No, you miss the point.

Internally we must not generate (ashift (reg) (const_int)) where the const is
negative.

Note that your testcasegenerates a reg shift.


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