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 target/56470] [4.8 Regression] ICE output_operand: invalid shift operand


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-04 08:17:56 UTC ---
In any case, this looks like a clear backend bug, as it allows const_int 32 in
the operand (through the use of M constraint), but then doesn't handle it at
all in arm_output_shift (it forces use of %S3 on it and that requires 0 .. 31
constant, not 0 .. 32).  And while the code has undefined behavior, if you
never invoke it, you should still be able to have it in a valid program.


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