>Submitter-Id:  net
>Originator:    Denis Oliver Kropp
>Organization:  DirectFB
>Confidential:  no
>Synopsis:      internal compiler error
>Severity:      serious
>Priority:      medium
>Category:      c
>Class:         ice-on-legal-code
>Release:       3.4.1 (Debian 3.4.1-3) (Debian testing/unstable)
>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
>Description:
        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

>How-To-Repeat:
        Compile ;)
>Fix:
        Even without "-fnew-ra -ftracer" the error occurs ;(
        Choosing "-O2" instead of "-O3" fixes it, but I want "-O3".


Reply via email to