public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/23601] New: reload may drop non-call exception information
@ 2005-08-28 11:02 rth at gcc dot gnu dot org
  2005-08-28 11:44 ` [Bug rtl-optimization/23601] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-08-28 11:02 UTC (permalink / raw)
  To: gcc-bugs

Seen as an ia64 bootstrap failure as of 20050828 in
libjava/java/lang/reflect/natMethod.cc, though the problem could affect
any target.

The observed problem is that reload chooses a reg/reg alternative for
reloading a memory (for unknown reasons).  This causes the insn stream
to be changed from

  (set (reg 1) (mem)) // REG_EH_REGION 1

to

  (set (reg 2) (addr))
  (set (reg 1) (mem))
  (set (reg 1) (reg 1))  // REG_EH_REGION 1

so that the insn that actually traps no longer contains the REG_EH_REGION note.

I figure the note ought to get distributed during emit_reload_insns.

-- 
           Summary: reload may drop non-call exception information
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: wrong-code, ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: rth at gcc dot gnu dot org
        ReportedBy: rth at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23601


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-31 16:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-28 11:02 [Bug rtl-optimization/23601] New: reload may drop non-call exception information rth at gcc dot gnu dot org
2005-08-28 11:44 ` [Bug rtl-optimization/23601] " pinskia at gcc dot gnu dot org
2005-08-30  6:01 ` phython at gcc dot gnu dot org
2005-08-30  6:05 ` [Bug rtl-optimization/23601] [4.1 Regression] " phython at gcc dot gnu dot org
2005-08-31 16:30 ` cvs-commit at gcc dot gnu dot org
2005-08-31 16:58 ` rth at gcc dot gnu dot org

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).