[Bug target/56470] [4.8 Regression] ICE output_operand: invalid shift operand
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 4 08:18:00 GMT 2013
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.
More information about the Gcc-bugs
mailing list