[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-09-01 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-01 06:05 --- Subject: Bug 23478 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-09-01 06:05:00 Modified files: gcc:

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-09-01 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-01 20:51 --- Subject: Bug 23478 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2005-09-01 20:51:09 Modified files: gcc:

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-09-01 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2005-09-01 20:52 --- Should be fixed on 3.4/4.0/HEAD. -- What|Removed |Added Status|NEW

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-31 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-01 05:29 --- Subject: Bug 23478 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-09-01 05:29:04 Modified files: gcc: ChangeLog global.c local-alloc.c

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-29 Thread sje at cup dot hp dot com
--- Additional Comments From sje at cup dot hp dot com 2005-08-29 22:51 --- The patch for this bug appears to be triggering PR 23548. -- What|Removed |Added

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-26 Thread schwab at suse dot de
-- What|Removed |Added BugsThisDependsOn||23579 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23478

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-22 16:59 --- Subject: Bug 23478 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-22 16:58:50 Modified files: gcc: ChangeLog flow.c global.c regs.h

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-08-19 11:35 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-08-19 13:36 --- caller-save.c inserts the restore insns after the can_throw_internal () CALL_INSN and as the rest of reload excepts fixup_abnormal_edges to fix the mess up. But, fixup_abnormal_edges only inserts the instructions

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-19 18:32 --- I think it's caller-save's bug. The use of fixup_abnormal_edges in reload and reg-stack is to move output reloads to the fallthru edge. Well, the output reloads are not used on the eh edge, because by

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-19 18:34 --- More, since you cannot insert insns on the abnormal EH edge, the fix to caller-save needs to be of the form don't caller-save this variable. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23478

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-08-19 18:51 --- It can't be inserted just on abnormal critical edges: gcc_assert (!((e-flags EDGE_ABNORMAL) EDGE_CRITICAL_P (e))); So I guess we could insert it on the EH edges if !EDGE_CRITICAL_P and only only avoid

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-19 19:14 --- Maybe. I think you'll find that most of the time these edges *are* critical. I don't think it's worth bothering to make the distinction. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23478