[Bug c++/28677] New: Function prototype in function body crashes compilation

werner dot van dot belle at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 10 12:19:00 GMT 2006


werner@dig:~$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060729 (prerelease) (Debian 4.1.1-10)

I currently use the latest Debian unstable system.

werner@dig~$ g++ -O3 -g crasher.cpp
crasher.cpp: In function 'float betai(float, float, float)':
crasher.cpp:43: internal compiler error: in add_AT_specification, at
dwarf2out.c:5048
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccH8vLQj.out file, please attach this to
your bugreport.

the preprocessed source will be attached.


-- 
           Summary: Function prototype in function body crashes compilation
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: werner dot van dot belle at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28677



More information about the Gcc-bugs mailing list