------- Comment #3 from aldot at gcc dot gnu dot org  2007-11-30 16:53 -------
Target independent. Reduced from toplev.c and i386.c:

$ cat one.i 
getline ()
{
}
$ cat two.i 
extern __inline
getline ()
{
}

$ /scratch/obj.i686/gcc-4.3/./prev-gcc/xgcc -v
-B/scratch/obj.i686/gcc-4.3/./prev-gcc/
-B/opt/i686/gcc-4.3//i686-linux-gnu/bin/ -c one.i two.i -o pr.o -combine
Reading specs from /scratch/obj.i686/gcc-4.3/./prev-gcc/specs
Target: i686-linux-gnu
Configured with: ../../src/gcc-4.3/configure -v
--enable-languages=c,c++,fortran,treelang --prefix=/opt/i686/gcc-4.3/
--enable-shared --with-system-zlib --libexecdir=/opt/i686/gcc-4.3/lib
--enable-nls --without-included-gettext --enable-threads=posix
--program-suffix=-4.3-HEAD --enable-__cxa_atexit
--enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --disable-werror --enable-checking=yes --enable-debug
--with-gmp=/opt/i686/gmp-4.2.2/ --with-mpfr=/opt/i686/mpfr-2.3.0
--disable-multilib --enable-intermodule i686-linux-gnu
Thread model: posix
gcc version 4.3.0 20071128 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-B/scratch/obj.i686/gcc-4.3/./prev-gcc/'
'-B/opt/i686/gcc-4.3//i686-linux-gnu/bin/' '-c' '-o' 'pr.o' '-combine'
'-mtune=generic'
 /scratch/obj.i686/gcc-4.3/./prev-gcc/cc1 -fpreprocessed one.i two.i -quiet
-dumpbase one.i -mtune=generic -auxbase-strip pr.o -version -o /tmp/ccCpNIlO.s
GNU C (GCC) version 4.3.0 20071128 (experimental) (i686-linux-gnu)
        compiled by GNU C version 4.1.2 20061115 (prerelease) (Debian
4.1.1-21), GMP version 4.2.1, MPFR version 2.3.0-p4.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 67dafa8bc8cc74b9ccacf5609573a661
two.i:4: internal compiler error: in cgraph_expand_function, at
cgraphunit.c:1146


-- 


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

Reply via email to