public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work
@ 2005-09-10 4:40 hjl at lucon dot org
2005-09-10 4:58 ` [Bug debug/23806] " pinskia at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2005-09-10 4:40 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0 Regression] -gstabs doesn't work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
@ 2005-09-10 4:58 ` pinskia at gcc dot gnu dot org
2005-09-10 5:02 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10 4:58 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet| |x86_64-*-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0 Regression] -gstabs doesn't work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
2005-09-10 4:58 ` [Bug debug/23806] " pinskia at gcc dot gnu dot org
@ 2005-09-10 5:02 ` pinskia at gcc dot gnu dot org
2005-09-10 5:03 ` hjl at lucon dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10 5:02 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
Keywords| |ice-on-valid-code
Known to work| |4.1.0
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0 Regression] -gstabs doesn't work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
2005-09-10 4:58 ` [Bug debug/23806] " pinskia at gcc dot gnu dot org
2005-09-10 5:02 ` pinskia at gcc dot gnu dot org
@ 2005-09-10 5:03 ` hjl at lucon dot org
2005-09-10 5:04 ` [Bug debug/23806] [4.0 Regression] -gstabs with VLAs does not work pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2005-09-10 5:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2005-09-10 05:03 -------
I also saw it on Linux/ia32. See my gdb output.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|x86_64-*-linux-gnu |
Target Milestone|4.0.2 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0 Regression] -gstabs with VLAs does not work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
` (2 preceding siblings ...)
2005-09-10 5:03 ` hjl at lucon dot org
@ 2005-09-10 5:04 ` pinskia at gcc dot gnu dot org
2005-09-10 5:37 ` [Bug debug/23806] [4.0/4.1 " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10 5:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10 05:03 -------
All of these testcase are include VLAs.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet| |x86_64-*-linux-gnu
Summary|[4.0 Regression] -gstabs |[4.0 Regression] -gstabs
|doesn't work |with VLAs does not work
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0/4.1 Regression] -gstabs with VLAs does not work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
` (3 preceding siblings ...)
2005-09-10 5:04 ` [Bug debug/23806] [4.0 Regression] -gstabs with VLAs does not work pinskia at gcc dot gnu dot org
@ 2005-09-10 5:37 ` pinskia at gcc dot gnu dot org
2005-09-10 7:21 ` rth at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10 5:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10 05:37 -------
looks like it also effects 4.1.0:
http://gcc.gnu.org/ml/gcc-testresults/2005-09/msg00465.html
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work|4.1.0 |
Summary|[4.0 Regression] -gstabs |[4.0/4.1 Regression] -gstabs
|with VLAs does not work |with VLAs does not work
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0/4.1 Regression] -gstabs with VLAs does not work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
` (4 preceding siblings ...)
2005-09-10 5:37 ` [Bug debug/23806] [4.0/4.1 " pinskia at gcc dot gnu dot org
@ 2005-09-10 7:21 ` rth at gcc dot gnu dot org
2005-09-10 15:28 ` dje at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-09-10 7:21 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-09-10 07:21:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0/4.1 Regression] -gstabs with VLAs does not work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
` (5 preceding siblings ...)
2005-09-10 7:21 ` rth at gcc dot gnu dot org
@ 2005-09-10 15:28 ` dje at gcc dot gnu dot org
2005-09-10 15:29 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-09-10 15:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dje at gcc dot gnu dot org 2005-09-10 15:28 -------
The same ICE causes a bootstrap failure on AIX when compiling
libiberty/cp-demangle.c
cp-demangle.c: In function 'is_ctor_or_dtor':
cp-demangle.c:4127: internal compiler error: in make_decl_rtl, at varasm.c:890
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dje at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0/4.1 Regression] -gstabs with VLAs does not work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
` (6 preceding siblings ...)
2005-09-10 15:28 ` dje at gcc dot gnu dot org
@ 2005-09-10 15:29 ` pinskia at gcc dot gnu dot org
2005-09-10 21:10 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10 15:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10 15:29 -------
Note this causes a build failure while building libiberty/cp-demangle.c on targets that default to stabs.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|x86_64-*-linux-gnu |
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0/4.1 Regression] -gstabs with VLAs does not work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
` (7 preceding siblings ...)
2005-09-10 15:29 ` pinskia at gcc dot gnu dot org
@ 2005-09-10 21:10 ` cvs-commit at gcc dot gnu dot org
2005-09-10 21:11 ` cvs-commit at gcc dot gnu dot org
2005-09-10 21:13 ` rth at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-10 21:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-10 21:10 -------
Subject: Bug 23806
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-09-10 21:10:43
Modified files:
gcc : ChangeLog dbxout.c
Log message:
PR debug/23806
* dbxout.c (dbxout_expand_expr): New.
(dbxout_symbol): Use it.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9930&r2=2.9931
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dbxout.c.diff?cvsroot=gcc&r1=1.238&r2=1.239
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0/4.1 Regression] -gstabs with VLAs does not work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
` (8 preceding siblings ...)
2005-09-10 21:10 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-10 21:11 ` cvs-commit at gcc dot gnu dot org
2005-09-10 21:13 ` rth at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-10 21:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-10 21:11 -------
Subject: Bug 23806
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rth@gcc.gnu.org 2005-09-10 21:11:30
Modified files:
gcc : ChangeLog dbxout.c
Log message:
PR debug/23806
* dbxout.c (dbxout_expand_expr): New.
(dbxout_symbol): Use it.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.424&r2=2.7592.2.425
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dbxout.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.221.2.3&r2=1.221.2.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/23806] [4.0/4.1 Regression] -gstabs with VLAs does not work
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
` (9 preceding siblings ...)
2005-09-10 21:11 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-10 21:13 ` rth at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-09-10 21:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-09-10 21:13 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23806
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-09-10 21:13 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-10 4:40 [Bug debug/23806] New: [4.0 Regression] -gstabs doesn't work hjl at lucon dot org
2005-09-10 4:58 ` [Bug debug/23806] " pinskia at gcc dot gnu dot org
2005-09-10 5:02 ` pinskia at gcc dot gnu dot org
2005-09-10 5:03 ` hjl at lucon dot org
2005-09-10 5:04 ` [Bug debug/23806] [4.0 Regression] -gstabs with VLAs does not work pinskia at gcc dot gnu dot org
2005-09-10 5:37 ` [Bug debug/23806] [4.0/4.1 " pinskia at gcc dot gnu dot org
2005-09-10 7:21 ` rth at gcc dot gnu dot org
2005-09-10 15:28 ` dje at gcc dot gnu dot org
2005-09-10 15:29 ` pinskia at gcc dot gnu dot org
2005-09-10 21:10 ` cvs-commit at gcc dot gnu dot org
2005-09-10 21:11 ` cvs-commit at gcc dot gnu dot org
2005-09-10 21:13 ` rth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).