This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libmudflap/22155] ICE with: "-fmudflap -D_GLIBCXX_DEBUG"
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2005 11:35:45 -0000
- Subject: [Bug libmudflap/22155] ICE with: "-fmudflap -D_GLIBCXX_DEBUG"
- References: <20050623043835.22155.ctsa@u.washington.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-23 11:35 -------
Confirmed.
Reduced testcase (compile with g++ -fmudflap):
======================================
struct A
{
~A() { }
};
struct B
{
B(const A&);
};
struct C
{
C(const B&, const A&);
B& foo();
};
void bar(int, B&);
void baz(int& i)
{
C c=C(B(A()),A());
bar(i,c.foo());
}
======================================
PR22155.cc: In function 'void baz(int&)':
PR22155.cc:19: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
The problem was fixed on mainline by the patch in PR 19266.
Marking as duplicate then.
Frank, the testcase here is much shorter than the committed one
and does not depend on optimization.
Should we add this one, too?
*** This bug has been marked as a duplicate of 19266 ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com,
| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |RESOLVED
Keywords| |ice-on-valid-code
Resolution| |DUPLICATE
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22155