Bug 21652 - [4.1 Regression] g++.dg/other/static11.C fails
Summary: [4.1 Regression] g++.dg/other/static11.C fails
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-18 20:43 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:43:39 UTC
FAIL: g++.dg/other/static11.C (test for excess errors)

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/other/static11.C:
In function '(static destructors for
/home/gcc/nightlies/src-mainline-2005-05-18/gcc-mainline-2005-05-18/gcc/testsuite/g++.dg/other/static11.C)':
/home/gcc/nightlies/src-mainline-2005-05-18/gcc-mainline-2005-05-18/gcc/testsuite/g++.dg/other/static11.C:34:
internal compiler error: Segmentation fault
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:57:26 UTC
Fixed by:
2005-05-18  Geoffrey Keating  <geoffk@apple.com>

        * tree-cfg.c (pass_remove_useless): This pass works on trees.