This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libmudflap/22155] New: ICE with: "-fmudflap -D_GLIBCXX_DEBUG"
- From: "ctsa at u dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2005 04:38:40 -0000
- Subject: [Bug libmudflap/22155] New: ICE with: "-fmudflap -D_GLIBCXX_DEBUG"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I get an ICE for gcc 4.0.0 when trying to use mudflap and libstdc++ debug mode
together; This is the smallest testcase I could make:
test.cc:
"""
#include <vector>
struct S { unsigned i; };
void g(const unsigned u, std::vector<unsigned>& s);
void f(const S& s) {
std::vector<std::vector<unsigned> > t(1);
g(s.i,t[0]);
}
"""
$ g++ -D_GLIBCXX_DEBUG -fmudflap -c test.cc
test.cc: In function 'void f(const S&)':
test.cc:7: 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.
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0.0/configure --enable-languages=c,c++
--prefix=/home/ctsa/opt/i686-linux/gcc-4.0.0 --enable-concept-checks
--enable-__cxa_atexit
Thread model: posix
gcc version 4.0.0
--
Summary: ICE with: "-fmudflap -D_GLIBCXX_DEBUG"
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libmudflap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ctsa at u dot washington dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22155