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/16821] New: [3.5 regression] failure of gcc.c-torture/compile/20020210-1.c at -O1 and above


Executing on host: /test/gnu/gcc-3.3/objdir/gcc/xgcc -B/test/gnu/gcc-3.3/objdir/
gcc/   -O1  -w -c  -o 20020210-1.o /test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-tor
ture/compile/20020210-1.c    (timeout = 300)
/test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/compile/20020210-1.c: In funct
ion `f':
/test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/compile/20020210-1.c:2: intern
al compiler error: in make_decl_rtl, at varasm.c:758
Please submit a full bug report,
with preprocessed source if appropriate.

(gdb) bt
#0  make_decl_rtl (decl=0x7ae672d0, asmspec=0x0) at ../../gcc/gcc/varasm.c:758
#1  0x00228ae0 in expand_expr_real_1 (exp=0x7ae672d0, target=0x0, 
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:6350
#2  0x00229fac in expand_expr_real_1 (exp=0x7aed6200, target=0x0, 
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:6517
#3  0x0022703c in expand_expr_real (exp=0x7aed6200, target=0x0, 
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:6177
#4  0x0020f5f0 in expand_expr (exp=0x7aed6200, target=0x0, mode=VOIDmode, 
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.h:497
#5  0x0022fac0 in expand_expr_real_1 (exp=0x7aed6240, target=0x0, 
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:7178
#6  0x00227080 in expand_expr_real (exp=0x7aed6240, target=0x0, 
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:6183
#7  0x0020f5f0 in expand_expr (exp=0x7aed6240, target=0x0, mode=VOIDmode, 
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.h:497
#8  0x00226db0 in expand_operands (exp0=0x7aed6240, exp1=0x7aeda3a8, 
    target=0x0, op0=0x7eff3c88, op1=0x7eff3c8c, modifier=EXPAND_NORMAL)
    at ../../gcc/gcc/expr.c:6080
...

(gdb) p debug_tree (decl)
 <var_decl 7ae672d0 T___0
    type <integer_type 7aedb3c0 int SI
        size <integer_cst 7aeda300 constant invariant 32>
        unit size <integer_cst 7aeda3a8 constant invariant 4>
        align 32 symtab 0 alias set -1 precision 32 min <integer_cst 7aeda378
-2147483648> max <integer_cst 7aeda390 2147483647>
        pointer_to_this <pointer_type 7aedfa50>>
    used ignored SI file
/test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/compile/20020210-1.c line 2
size <integer_cst 7aeda300 32> unit size <integer_cst 7aeda3a8 4>
    align 32 context <function_decl 7ae670f0 f>>
$1 = void
(gdb) p decl->decl.regdecl_flag
$2 = 0
(gdb) p decl->decl.external_flag
$3 = 0
(gdb) p decl->common.public_flag
$4 = 0
(gdb) p decl->common.static_flag
$5 = 0

This regression was introduced between
Mon Jun 21 23:24:47 UTC 2004 and Tue Jun 22 12:06:07 UTC 2004.

-- 
           Summary: [3.5 regression] failure of gcc.c-
                    torture/compile/20020210-1.c at -O1 and above
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa*-*-*
  GCC host triplet: hppa*-*-*
GCC target triplet: hppa*-*-*


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


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