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 debug/23806] New: [4.0 Regression] -gstabs doesn't work


I think may new stabs failures like

FAIL: gcc.dg/debug/20020104-2.c -gstabs1 -O (test for excess errors)
FAIL: gcc.dg/debug/20020104-2.c -gstabs1 -O3 (test for excess errors)
FAIL: gcc.dg/debug/20020104-2.c -gstabs -O (test for excess errors)
FAIL: gcc.dg/debug/20020104-2.c -gstabs -O3 (test for excess errors)
...

in

http://gcc.gnu.org/ml/gcc-testresults/2005-09/msg00463.html

are caused by

http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00615.html

I got

(gdb) r  -fpreprocessed /tmp/20020104-2.i -quiet -dumpbase 20020104-2.i
-mtune=pentiumpro -auxbase 20020104-2 -gstabs -O -version -o 20020104-2.s
Starting program:
/export/build/gnu/gcc-4.0-local/build-i686-linux/gcc/stage1/cc1 -fpreprocessed
/tmp/20020104-2.i -quiet -dumpbase 20020104-2.i -mtune=pentiumpro -auxbase
20020104-2 -gstabs -O -version -o 20020104-2.s
GNU C version 4.0.2 20050910 (prerelease) (i686-pc-linux-gnu)
        compiled by GNU C version 3.2.3 20030502 (Red Hat Linux 3.2.3-53).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

Breakpoint 1, fancy_abort (
    file=0x84ea340 "/export/gnu/src/gcc-4.0/gcc/gcc/varasm.c", line=871,
    function=0x84ea56a "make_decl_rtl")
    at /export/gnu/src/gcc-4.0/gcc/gcc/diagnostic.c:556
556       internal_error ("in %s, at %s:%d", function, trim_filename (file), line);
(gdb) bt
#0  fancy_abort (file=0x84ea340 "/export/gnu/src/gcc-4.0/gcc/gcc/varasm.c",
    line=871, function=0x84ea56a "make_decl_rtl")
    at /export/gnu/src/gcc-4.0/gcc/gcc/diagnostic.c:556
#1  0x08376b01 in make_decl_rtl (decl=0xb755e06c)
    at /export/gnu/src/gcc-4.0/gcc/gcc/varasm.c:871
#2  0x081bca09 in expand_expr_real_1 (exp=0xb755e06c, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_SUM, alt_rtl=0x0)
    at /export/gnu/src/gcc-4.0/gcc/gcc/expr.c:6531
#3  0x081bc522 in expand_expr_real (exp=0xb755e06c, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_SUM, alt_rtl=0x0)
    at /export/gnu/src/gcc-4.0/gcc/gcc/expr.c:6365
#4  0x081c1bde in expand_expr (exp=0xb755e06c, target=0x0, mode=VOIDmode,
    modifier=EXPAND_SUM) at /export/gnu/src/gcc-4.0/gcc/gcc/expr.h:484
#5  0x081bd55a in expand_expr_real_1 (exp=0xb74ef4c0, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_INITIALIZER, alt_rtl=0x0)
    at /export/gnu/src/gcc-4.0/gcc/gcc/expr.c:6810
#6  0x081bc522 in expand_expr_real (exp=0xb74ef4c0, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_INITIALIZER, alt_rtl=0x0)
    at /export/gnu/src/gcc-4.0/gcc/gcc/expr.c:6365
#7  0x08174683 in expand_expr (exp=0xb74ef4c0, target=0x0, mode=VOIDmode,
    modifier=EXPAND_INITIALIZER) at /export/gnu/src/gcc-4.0/gcc/gcc/expr.h:484
#8  0x08172d3f in dbxout_symbol (decl=0xb7559c3c, local=1)
    at /export/gnu/src/gcc-4.0/gcc/gcc/dbxout.c:2629
---Type <return> to continue, or q <return> to quit---
#9  0x0817369a in dbxout_syms (syms=0xb7559c3c)
    at /export/gnu/src/gcc-4.0/gcc/gcc/dbxout.c:2976
#10 0x081741c3 in dbxout_block (block=0xb75568f0, depth=0, args=0xb7559948)
    at /export/gnu/src/gcc-4.0/gcc/gcc/dbxout.c:3305
#11 0x0816ef77 in dbxout_function_decl (decl=0xb7559a20)
    at /export/gnu/src/gcc-4.0/gcc/gcc/dbxout.c:1302
#12 0x083852ad in rest_of_handle_final ()
    at /export/gnu/src/gcc-4.0/gcc/gcc/passes.c:340
#13 0x08387983 in rest_of_compilation ()
    at /export/gnu/src/gcc-4.0/gcc/gcc/passes.c:1759
#14 0x080b591e in execute_one_pass (pass=0x8507560)
    at /export/gnu/src/gcc-4.0/gcc/gcc/tree-optimize.c:526
#15 0x080b5a13 in execute_pass_list (pass=0x8507560)
    at /export/gnu/src/gcc-4.0/gcc/gcc/tree-optimize.c:563
#16 0x080b5c9e in tree_rest_of_compilation (fndecl=0xb7559a20)
    at /export/gnu/src/gcc-4.0/gcc/gcc/tree-optimize.c:661
#17 0x0805dddb in c_expand_body (fndecl=0xb7559a20)
    at /export/gnu/src/gcc-4.0/gcc/gcc/c-decl.c:6611
#18 0x083af3e1 in cgraph_expand_function (node=0xb7559ca8)
    at /export/gnu/src/gcc-4.0/gcc/gcc/cgraphunit.c:835
#19 0x083ae558 in cgraph_assemble_pending_functions ()
    at /export/gnu/src/gcc-4.0/gcc/gcc/cgraphunit.c:307
#20 0x083ae73d in cgraph_finalize_function (decl=0xb7559a20, nested=0 '\0')
---Type <return> to continue, or q <return> to quit---
    at /export/gnu/src/gcc-4.0/gcc/gcc/cgraphunit.c:399
#21 0x0805dd66 in finish_function ()
    at /export/gnu/src/gcc-4.0/gcc/gcc/c-decl.c:6580
#22 0x0804a7d4 in yyparse () at c-parse.y:401
#23 0x080504c4 in c_parse_file () at c-parse.y:2936
#24 0x0809095b in c_common_parse_file (set_yydebug=0)
    at /export/gnu/src/gcc-4.0/gcc/gcc/c-opts.c:1102
#25 0x08367961 in compile_file ()
    at /export/gnu/src/gcc-4.0/gcc/gcc/toplev.c:1010
#26 0x083693f1 in do_compile ()
    at /export/gnu/src/gcc-4.0/gcc/gcc/toplev.c:2122
#27 0x08369458 in toplev_main (argc=14, argv=0xbfffdec4)
    at /export/gnu/src/gcc-4.0/gcc/gcc/toplev.c:2154
#28 0x0809fe9e in main (argc=14, argv=0xbfffdec4)
    at /export/gnu/src/gcc-4.0/gcc/gcc/main.c:35

-- 
           Summary: [4.0 Regression] -gstabs doesn't work
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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