This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13843] New: [REGRESSION gcc-3.4-20040121]: ICE with __PRETTY_FUNCTION__


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]