This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/56470] [4.8 Regression] ICE output_operand: invalid shift operand
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 04 Mar 2013 08:17:56 +0000
- Subject: [Bug target/56470] [4.8 Regression] ICE output_operand: invalid shift operand
- Auto-submitted: auto-generated
- References: <bug-56470-4@http.gcc.gnu.org/bugzilla/>
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.