Executing on host: /home/dave/gnu/gcc-4.2/objdir/gcc/xgcc
-B/home/dave/gnu/gcc-4
.2/objdir/gcc/
/home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.c-torture/execute/va
-arg-25.c  -w  -O0  -fno-show-column  -lm   -o
/home/dave/gnu/gcc-4.2/objdir/gcc
/testsuite/gcc/va-arg-25.x0    (timeout = 300)
/home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c: In
f
unction 'main':
/home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c:32:
i
nternal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
/home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c: In
f
unction 'main':
/home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c:32:
i
nternal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

FAIL: gcc.c-torture/execute/va-arg-25.c compilation,  -O0  (internal compiler
er
ror)

[EMAIL PROTECTED]:~/gnu/gcc-4.2/objdir/gcc/testsuite/gcc$ gdb ../../cc1
GNU gdb 6.4.50.20060108-cvs
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa-unknown-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) r `cat xx.sh`
Starting program: /home/dave/gnu/gcc-4.2/objdir/gcc/cc1 `cat xx.sh`
GNU C version 4.2.0 20060621 (experimental) (hppa-linux)
        compiled by GNU C version 4.2.0 20060621 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
options passed:  -iprefix -isystem -auxbase -O0 -w -fno-show-column
options enabled:  -falign-loops -fargument-alias -fbranch-count-reg
 -fcommon -fearly-inlining -feliminate-unused-debug-types
 -femit-class-debug-always -ffunction-cse -fgcse-lm -fident
 -finline-functions-called-once -fivopts -fkeep-static-consts
 -fleading-underscore -fmath-errno -fmove-loop-invariants -fpeephole
 -freg-struct-return -fsched-interblock -fsched-spec
 -fsched-stalled-insns-dep -fsplit-ivs-in-unroller -ftoplevel-reorder
 -ftrapping-math -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize
 -ftree-vect-loop-version -fvar-tracking -fzero-initialized-in-bss
 -mbig-switch -mgas -mglibc -mno-space-regs
Compiler executable checksum: ff4b7e6ad8f21e617ff69ddcef8286d0
 foo main
Program received signal SIGSEGV, Segmentation fault.
native_interpret_expr (type=0x0, ptr=0xc01d9520 "", len=16)
    at ../../gcc/gcc/fold-const.c:7158
7158      switch (TREE_CODE (type))
(gdb) bt
#0  native_interpret_expr (type=0x0, ptr=0xc01d9520 "", len=16)
    at ../../gcc/gcc/fold-const.c:7158
#1  0x0025bffc in fold_unary (code=VIEW_CONVERT_EXPR, type=0x0, op0=0x400a1e40)
    at ../../gcc/gcc/fold-const.c:7199
#2  0x0021e29c in expand_expr_real_1 (exp=<value optimized out>,
    target=<value optimized out>, tmode=<value optimized out>,
    modifier=EXPAND_NORMAL, alt_rtl=0xc01d92c8) at ../../gcc/gcc/expr.c:6948
#3  0x00223610 in expand_expr_real (exp=0x400a1e40, target=0x400a8c00,
    tmode=TImode, modifier=EXPAND_NORMAL, alt_rtl=0xc01d92c8)
    at ../../gcc/gcc/expr.c:6690
#4  0x00229354 in store_expr (exp=0x400a1e40, target=0x400a8c00,
    call_param_p=0) at ../../gcc/gcc/expr.c:4370
#5  0x00216a80 in expand_assignment (to=0x40013b00, from=<value optimized out>)
    at ../../gcc/gcc/expr.c:4249
#6  0x0021abec in expand_expr_real_1 (exp=<value optimized out>,
    target=0x4000c210, tmode=<value optimized out>,
    modifier=<value optimized out>, alt_rtl=0x0) at ../../gcc/gcc/expr.c:8585
#7  0x00223528 in expand_expr_real (exp=0x400a7758, target=0x400a8c00,
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:6684
#8  0x00330344 in expand_expr_stmt (exp=0x0) at expr.h:493
#9  0x00375be4 in expand_gimple_basic_block (bb=0x400a4480)
    at ../../gcc/gcc/cfgexpand.c:1368
---Type <return> to continue, or q <return> to quit---
#10 0x00376d34 in tree_expand_cfg () at ../../gcc/gcc/cfgexpand.c:1627
#11 0x00371cf0 in execute_one_pass (pass=0x569918)
    at ../../gcc/gcc/passes.c:864
#12 0x00371e90 in execute_pass_list (pass=0x569918)
    at ../../gcc/gcc/passes.c:911
#13 0x000b68a0 in tree_rest_of_compilation (fndecl=0x400a5080)
    at ../../gcc/gcc/tree-optimize.c:418
#14 0x0002867c in c_expand_body (fndecl=0x0) at ../../gcc/gcc/c-decl.c:6745
#15 0x003b9680 in cgraph_expand_function (node=0x4001df70)
    at ../../gcc/gcc/cgraphunit.c:1112
#16 0x003baec8 in cgraph_assemble_pending_functions ()
    at ../../gcc/gcc/cgraphunit.c:364
#17 0x003ba488 in cgraph_finalize_function (decl=0x400a5080, nested=0 '\0')
    at ../../gcc/gcc/cgraphunit.c:490
#18 0x00028d38 in finish_function () at ../../gcc/gcc/c-decl.c:6714
#19 0x0007dbc8 in c_parser_declaration_or_fndef (parser=0x40092028,
    fndef_ok=1 '\001', empty_ok=<value optimized out>, nested=0 '\0',
    start_attr_ok=0 '\0') at ../../gcc/gcc/c-parser.c:1432
#20 0x000888f4 in c_parser_external_declaration (parser=0x40092028)
    at ../../gcc/gcc/c-parser.c:1189
#21 0x000893f4 in c_parse_file () at ../../gcc/gcc/c-parser.c:1092
#22 0x0006dd80 in c_common_parse_file (set_yydebug=<value optimized out>)
    at ../../gcc/gcc/c-opts.c:1164
---Type <return> to continue, or q <return> to quit---
#23 0x0033ab98 in toplev_main (argc=<value optimized out>,
    argv=<value optimized out>) at ../../gcc/gcc/toplev.c:999
#24 0x407336d8 in __libc_start_main () from /lib/libc.so.6
#25 0x0001bdd8 in _start () at ../sysdeps/hppa/elf/start.S:84


-- 
           Summary: [4.2 Regression] FAIL: gcc.c-torture/execute/va-arg-25.c
                    compilation (ICE)
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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

Reply via email to