Bug 21651 - [4.1 Regression] g++.dg/opt/reg-stack2.C fails
Summary: [4.1 Regression] g++.dg/opt/reg-stack2.C fails
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2005-05-18 20:40 UTC by Joseph S. Myers
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph S. Myers 2005-05-18 20:40:20 UTC
FAIL: g++.dg/opt/reg-stack2.C (test for excess errors)

has appeared on mainline, multiple platforms, between 20050517 and 20050518.

Logs on i686-pc-linux-gnu:

/home/gcc/nightlies/src-mainline-2005-05-18/gcc-mainline-2005-05-18/gcc/testsuite/g++.dg/opt/reg-stack2.C:
In constructor 'B::B(const D2&)':
/home/gcc/nightlies/src-mainline-2005-05-18/gcc-mainline-2005-05-18/gcc/testsuite/g++.dg/opt/reg-stack2.C:34:
error: Statement marked for throw, but doesn't.
#   SFT.11D.1958_30(ab) = V_MUST_DEF <SFT.11D.1958_47(ab)>;
#   VUSE <SFT.10D.1957_27(ab)>;
D.1944 = D.1935;

/home/gcc/nightlies/src-mainline-2005-05-18/gcc-mainline-2005-05-18/gcc/testsuite/g++.dg/opt/reg-stack2.C:34:
internal compiler error: verify_stmts failed.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 Andrew Pinski 2005-05-18 20:50:54 UTC
This should been fixed by:
2005-05-18  Jeff Law  <law@redhat.com>

        * tree-ssa-forwprop.c (forward_propagate_addr_expr): Do not
        propagate an ADDR_EXPR if the definition and use sites are
        in different EH regions.
Comment 2 Andrew Pinski 2005-05-18 21:12:30 UTC
Yes it was fixed by that patch.