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
* [Bug rtl-optimization/23601] reload may drop non-call exception information
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 ` pinskia at gcc dot gnu dot org
2005-08-30 6:01 ` phython at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-28 11:44 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |EH
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23601
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/23601] reload may drop non-call exception information
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
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: phython at gcc dot gnu dot org @ 2005-08-30 6:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From phython at gcc dot gnu dot org 2005-08-30 05:59 -------
This is happening for me as well.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-08-30 05:59:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23601
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/23601] [4.1 Regression] reload may drop non-call exception information
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 ` 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
4 siblings, 0 replies; 6+ messages in thread
From: phython at gcc dot gnu dot org @ 2005-08-30 6:05 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |phython at gcc dot gnu dot
| |org
Summary|reload may drop non-call |[4.1 Regression] reload may
|exception information |drop non-call exception
| |information
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23601
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/23601] [4.1 Regression] reload may drop non-call exception information
2005-08-28 11:02 [Bug rtl-optimization/23601] New: reload may drop non-call exception information rth at gcc dot gnu dot org
` (2 preceding siblings ...)
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
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-31 16:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-31 16:27 -------
Subject: Bug 23601
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-08-31 16:26:54
Modified files:
gcc : ChangeLog function.c reload1.c
Log message:
PR rtl-opt/23601
* reload1.c (reload): Set MEM_NOTRAP_P in spill slots.
(fixup_eh_region_note): New.
(reload_as_needed): Call it.
(fixup_abnormal_edges): Allow all throwing insns to be deleted;
don't call find_many_sub_basic_blocks; call verify_flow_info.
* function.c (assign_stack_local_1): Set MEM_NOTRAP_P.
(keep_stack_depressed): Likewise.
(assign_stack_temp_for_type): Likewise; use adjust_address_nv.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9859&r2=2.9860
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&r1=1.642&r2=1.643
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reload1.c.diff?cvsroot=gcc&r1=1.479&r2=1.480
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23601
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/23601] [4.1 Regression] reload may drop non-call exception information
2005-08-28 11:02 [Bug rtl-optimization/23601] New: reload may drop non-call exception information rth at gcc dot gnu dot org
` (3 preceding siblings ...)
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
4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-08-31 16:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-08-31 16:43 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
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).