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]

egcs 980315 bug on powerpc-unknown-linux-gnulibc1


This is for glob.c in the glibc currently in CVS. If I leave out -O2, it
compiles fine. Line 813 is the end of the glob() function.

gcc glob.c -c -O2 -Wall -Winline -Wno-parentheses -Wstrict-prototypes
-Wwrite-strings -g -fpic -I.  -I.. -I../include -I../libio
-I../sysdeps/powerpc/elf -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sy sdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc
-I../linuxthreads/sysdeps/pthread/cmpxchg -I../crypt/sysdeps/unix
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/powerpc -I../sysdeps/wordsize-32
-I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic
-D_LIBC_REENTRANT -include ../incl ude/libc-symbols.h -DPIC -o glob.os

glob.c: In function `glob':
glob.c:795: warning: `new' might be used uninitialized in this function
glob.c:801: warning: `__dest' might be used uninitialized in this function
glob.c:813: internal error--unrecognizable insn:
(insn 2795 2798 2789 (set (reg:SI 748)
        (unspec[ 
                (minus:SI (label_ref:SI 2124)
                    (label_ref:SI 2429))
                (reg:SI 780)
            ]  8)) -1 (nil)
    (expr_list:REG_EQUAL (const:SI (minus:SI (label_ref:SI 2124)
                (label_ref:SI 2429)))
        (expr_list:REG_LABEL (code_label 2124 2123 2129 325 "")
            (nil))))
gcc: Internal compiler error: program cc1 got fatal signal 6
make: *** [glob.os] Error 1

Hope this helps,
-- Elliot



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