This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13843] New: [REGRESSION gcc-3.4-20040121]: ICE with __PRETTY_FUNCTION__
- From: "rmerkert at alphatech dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2004 03:16:02 -0000
- Subject: [Bug c++/13843] New: [REGRESSION gcc-3.4-20040121]: ICE with __PRETTY_FUNCTION__
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code no longer compiles with snapshot gcc-3.4-20040121, but worked
with gcc-3.4-20040107, so it's a rather recent regression.
cat > test.cpp <<EOF
void foo() throw ()
{
__PRETTY_FUNCTION__;
}
EOF
g++ -c test.cpp
If you remove the throw() declaration then it works.
/local/gcc-3.4-20040121//bin/g++ -c test.cpp
test.cpp: In function `void foo()':
test.cpp:4: 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.
--
Summary: [REGRESSION gcc-3.4-20040121]: ICE with
__PRETTY_FUNCTION__
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rmerkert at alphatech dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13843