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/16780] New: internal compiler error


	Internal Compiler Error due to "__attribute__((no_instrument_function))".

	Reading specs from /usr/lib/gcc/i486-linux/3.4.1/specs
	Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --enable-threads=posix --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --disable-werror i486-linux
	Thread model: posix
	gcc version 3.4.1 (Debian 3.4.1-3)

	gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../lib -I../../lib -DDATADIR=\"/usr/local/share/directfb-0.9.21\" -DMODULEDIR=\"/usr/local/lib/directfb-0.9.21-debug\" -D_REENTRANT -Wall -O3 -ffast-math -pipe -Wall -Werror -march=pentium3 -msse -mfpmath=sse -maccumulate-outgoing-args -momit-leaf-frame-pointer -Wno-strict-aliasing -fnew-ra -ftracer -g3 -fno-inline -D_GNU_SOURCE -finstrument-functions -Werror-implicit-function-declaration -Wp,-MD,.deps/debug.pp -c debug.c  -fPIC -DPIC -o .libs/debug.o

	debug.c: In function `direct_list_check_link':
	debug.c:60: internal compiler error: in cgraph_expand_function, at cgraphunit.c:540

	I'm not sure how to include the code here, so I just add this link for now:

	http://www.directfb.org/debug.i

Environment:
System: Linux skunk 2.4.24 #3 Mon Mar 22 10:24:10 CET 2004 i686 GNU/Linux
Architecture: i686
host: i486-pc-linux-gnu
build: i486-pc-linux-gnu
target: i486-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --enable-threads=posix --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --disable-werror i486-linux

How-To-Repeat:
	Compile ;)
------- Additional Comments From dok at directfb dot org  2004-07-27 09:10 -------
Fix:
	Even without "-fnew-ra -ftracer" the error occurs ;(
	Choosing "-O2" instead of "-O3" fixes it, but I want "-O3".

-- 
           Summary: internal compiler error
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dok at directfb dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i486-pc-linux-gnu
  GCC host triplet: i486-pc-linux-gnu
GCC target triplet: i486-pc-linux-gnu


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


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