[Bug target/20927] ICE in smallest_mode_for_size, at stor-layout.c:221 (s390x)
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 10 23:32:00 GMT 2005
------- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 23:32 -------
Yup:
Breakpoint 1, fancy_abort (file=0x82a7f8 "../../gcc-4.0/gcc/stor-layout.c",
line=221,
function=0x82a87c "smallest_mode_for_size") at diagnostic.c:556
556 internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) up
#1 0x000000000069c413 in smallest_mode_for_size (size=128, class=MODE_FLOAT)
at stor-layout.c:221
221 gcc_unreachable ();
(gdb) up
#2 0x0000000000677cb3 in choose_reload_regs (chain=0xa0edc8) at
reload1.c:5413
5413 need_mode
(gdb) l
5408 last_class = REGNO_REG_CLASS (i);
5409
5410 if (byte == 0)
5411 need_mode = mode;
5412 else
5413 need_mode
5414 = smallest_mode_for_size (GET_MODE_BITSIZE
(mode)
5415 + byte *
BITS_PER_UNIT,
5416 GET_MODE_CLASS
(mode));
5417
FWIW this code was recently changed by this patch:
2005-03-07 Richard Sandiford <rsandifo@redhat.com>
PR rtl-optimization/19683
* reload1.c (choose_reload_regs): Pass the number of bits, not the
number of bytes, to smallest_int_for_mode. Fix arguments to
REG_CANNOT_CHANGE_MODE_P.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-04-10 23:32:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20927
More information about the Gcc-bugs
mailing list