This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52488] avr-*: internal compiler error: in extract_insn, at recog.c:2123
- 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, 12 Mar 2012 12:55:14 +0000
- Subject: [Bug target/52488] avr-*: internal compiler error: in extract_insn, at recog.c:2123
- Auto-submitted: auto-generated
- References: <bug-52488-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52488
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-12 12:55:14 UTC ---
+ size_max = (1 << GET_MODE_BITSIZE (GET_MODE (my_fp))) - 1;
+ if (size >= size_max)
Do you have a guarantee that GET_MODE_BITSIZE here is never 32 or more?
(1 << GET_MODE_BITSIZE (GET_MODE (my_fp))) - 1 is GET_MODE_MASK (GET_MODE
(my_fp)). And, why >= ? Subtracting 255 for 8-bit fp or 65535 for 16-bit fp
should still work.