public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/32659] New: abort during reload on (subreg:PSI (reg:DI ...) 4)
@ 2007-07-06 22:11 zackw at panix dot com
2007-07-06 22:12 ` [Bug target/32659] " zackw at panix dot com
2007-07-07 0:05 ` zackw at panix dot com
0 siblings, 2 replies; 3+ messages in thread
From: zackw at panix dot com @ 2007-07-06 22:11 UTC (permalink / raw)
To: gcc-bugs
The attached test case produces this RTL sequence after lreg, when compiled at
-O2 -mcpu=m32cm:
(insn 12 11 13 2 ba-bug.ii:24 (set (reg:DI 26 [ p.2 ])
(mem/s:DI (reg/f:PSI 31) [3 S8 A8])) 176 {movdi_splittable}
(expr_list:R
EG_DEAD (reg/f:PSI 31)
(nil)))
(insn 13 12 14 2 ba-bug.ii:24 (set (reg:PSI 25 [ p$second ])
(subreg:PSI (reg:DI 26 [ p.2 ]) 4)) 172 {movpsi_op} (nil))
[For reference, in -mcpu=m32cm mode, this target uses PSImode for 24-bit
pointers, which appear to be being padded to 32 bits in memory.]
During processing of insn 13, reload demands a MODE_PARTIAL_INT mode with at
least 64 bits. There is no such mode, and the compiler aborts in
smallest_mode_for_size.
The test case is simplified from libstdc++ bitmap_alloc.cc. It is extremely
fragile; any further simplification and the problem RTL sequence will be
eliminated by earlier optimizers.
--
Summary: abort during reload on (subreg:PSI (reg:DI ...) 4)
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zackw at panix dot com
GCC target triplet: m32c-unknown-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32659
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-07 0:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-06 22:11 [Bug target/32659] New: abort during reload on (subreg:PSI (reg:DI ...) 4) zackw at panix dot com
2007-07-06 22:12 ` [Bug target/32659] " zackw at panix dot com
2007-07-07 0:05 ` zackw at panix dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).