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]

debug/5163: Internal compiler error in add_abstract_origin_attribute, at dwarf2out.c:9296



>Number:         5163
>Category:       debug
>Synopsis:       Internal compiler error in add_abstract_origin_attribute, at dwarf2out.c:9296
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 20 06:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Jaeger
>Release:        3.1 20011219 (experimental)
>Organization:
>Environment:
System: Linux gromit 2.4.16 #3 Tue Dec 18 20:48:07 CET 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared --enable-threads=posix --enable-clocale=gnu --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
>Description:

This small piece of code (extracted from glibc):

extern int vinit(int);

int
init (void)
{
  extern int vinit(int);

  return vinit (5);
}

gives an internal compiler error on i686-linux-gnu with -g -O3:
gromit:/tmp:[1]$ /opt/gcc-3.1-devel/bin/gcc -c t.c  -g -O3 -v -save-temps
Reading specs from /opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: /cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared --enable-threads=posix --enable-clocale=gnu --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
Thread model: posix
gcc version 3.1 20011219 (experimental)
 /opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/cpp0 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ t.c t.i
GNU CPP version 3.1 20011219 (experimental) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/opt/gcc-3.1-devel/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /opt/gcc-3.1-devel/include
 /opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include
 /usr/include
End of search list.
 /opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/cc1 -fpreprocessed t.i -quiet -dumpbase t.c -g -O3 -version -o t.s
GNU CPP version 3.1 20011219 (experimental) (cpplib) (i386 Linux/ELF)
GNU C version 3.1 20011219 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.1 20011219 (experimental).
t.c: In function `init':
t.c:9: Internal compiler error in add_abstract_origin_attribute, at dwarf2out.c:9296
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


>How-To-Repeat:
	Just recompile the above program.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


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