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]

c/4388: Failure of gcc.c-torture/execute/20010924-1.c on irix6.5



>Number:         4388
>Category:       c
>Synopsis:       Failure of gcc.c-torture/execute/20010924-1.c on irix6.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 24 21:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        GNU C version 3.1 20010924 (experimental) (mips-sgi-irix6.5)
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
New test gcc.c-torture/execute/20010924-1.c fails on irix6.5.

The error is:

/exd4/billingd/src/gcc-mainline/gcc/testsuite/gcc.c-torture/execute/20010924-1.c:28: Internal error: Segmentation fault

Running under gdb I see:

Starting program: /exd4/billingd/obj/gcc-mainline/gcc/cc1 -fpreprocessed 20010924-1.i -quiet -dumpbase 20010924-1.c -O0 -w -version -o 20010924-1.s
GNU CPP version 3.1 20010924 (experimental) (cpplib) [AL 1.1, MM 40] SGI running IRIX 6.x
GNU C version 3.1 20010924 (experimental) (mips-sgi-irix6.5)
        compiled by GNU C version 3.1 20010924 (experimental).

Program received signal SIGSEGV, Segmentation fault.
0x100619c4 in digest_init (type=0x10450f00, init=0x74, require_constant=1, 
    constructor_constant=1)
    at /exd4/billingd/src/gcc-mainline/gcc/c-typeck.c:4693
4693                  && TREE_CODE (TYPE_SIZE (type)) == INTEGER_CST
(gdb) where
#0  0x100619c4 in digest_init (type=0x10450f00, init=0x74, require_constant=1, 
    constructor_constant=1)
    at /exd4/billingd/src/gcc-mainline/gcc/c-typeck.c:4693
#1  0x10065100 in output_init_element (value=0x10440240, type=0x10450f00, 
    field=0x10450f78, pending=1)
    at /exd4/billingd/src/gcc-mainline/gcc/c-typeck.c:6255
#2  0x10065ce0 in process_init_element (value=0x10440240)
    at /exd4/billingd/src/gcc-mainline/gcc/c-typeck.c:6533
#3  0x1002c6e4 in yyparse_1 () at bison.simple:1437
#4  0x10034904 in yyparse () at /exd4/billingd/src/gcc-mainline/gcc/c-lex.c:166
#5  0x100c3e54 in compile_file (name=0x10420f30 "20010924-1.i")
    at /exd4/billingd/src/gcc-mainline/gcc/toplev.c:2328
#6  0x100c9b7c in toplev_main (argc=11, argv=0x7ffedf04)
    at /exd4/billingd/src/gcc-mainline/gcc/toplev.c:4973
#7  0x10099f9c in main (argc=11, argv=0x1043c1e0)
    at /exd4/billingd/src/gcc-mainline/gcc/main.c:34

>How-To-Repeat:

>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]