public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zackw at panix dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/32659] New: abort during reload on (subreg:PSI (reg:DI ...) 4) Date: Fri, 06 Jul 2007 22:11:00 -0000 [thread overview] Message-ID: <bug-32659-37@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2007-07-06 22:11 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-07-06 22:11 zackw at panix dot com [this message] 2007-07-06 22:12 ` [Bug target/32659] " zackw at panix dot com 2007-07-07 0:05 ` zackw at panix dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-32659-37@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).