[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-29 Thread ppluzhnikov at google dot com
--- Comment #14 from ppluzhnikov at google dot com 2009-06-29 20:11 --- I verified that @146817 is not causing the current 32-bit breakage; I'll open a separate PR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40012

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #13 from ebotcazou at gcc dot gnu dot org 2009-06-27 20:18 --- This appears to still be broken in 32-bit mode. Yes, I've seen similar problems with 4.4.0 and 4.5.0 on x86. Probably the stack realignment stuff. I'd suggest opening a new PR. --

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-26 Thread ppluzhnikov at google dot com
--- Comment #12 from ppluzhnikov at google dot com 2009-06-27 00:49 --- This appears to still be broken in 32-bit mode. I just built GCC @148996 on x86_64, and compiled the attached test case with '-m32': (gdb) start Breakpoint 1 at 0x80483d9: file gcc-pr40012-test.c, line 24. main ()

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-08 Thread matz at gcc dot gnu dot org
--- Comment #10 from matz at gcc dot gnu dot org 2009-06-08 11:37 --- Subject: Bug 40012 Author: matz Date: Mon Jun 8 11:37:12 2009 New Revision: 148273 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148273 Log: PR debug/40012 * cfgexpand.c (set_rtl): Store

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-08 Thread matz at gcc dot gnu dot org
--- Comment #11 from matz at gcc dot gnu dot org 2009-06-08 11:38 --- Fixed. -- matz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-03 Thread matz at gcc dot gnu dot org
--- Comment #7 from matz at gcc dot gnu dot org 2009-06-03 09:51 --- I'm looking at this now. -- matz at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-03 Thread ramana at gcc dot gnu dot org
--- Comment #8 from ramana at gcc dot gnu dot org 2009-06-03 13:17 --- Also broken on arm-eabi cross. Using gdb and the exact steps as in Comment #0 shows me problem as 0x100. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40012

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-03 Thread matz at gcc dot gnu dot org
--- Comment #9 from matz at gcc dot gnu dot org 2009-06-03 15:57 --- Bah, simply not expanding those variables (whose SSA partitions were already) by clearing TREE_USED on them fixes the problem, but makes those variables have no debug info at all, as the DECLs then have no DECL_RTL_SET

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-02 Thread dje at gcc dot gnu dot org
--- Comment #5 from dje at gcc dot gnu dot org 2009-06-02 12:51 --- cfgexpand.c:expand_used_vars() expands and instantiates virtual-stack-vars for INSNs when it walks the partion map: for (i = 0; i SA.map-num_partitions; i++) { tree var = partition_to_var (SA.map, i);

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-02 Thread ppluzhnikov at google dot com
--- Comment #6 from ppluzhnikov at google dot com 2009-06-02 23:02 --- Also a problem on x86_64-linux: http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00190.html -- ppluzhnikov at google dot com changed: What|Removed |Added

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-01 Thread dje at gcc dot gnu dot org
--- Comment #4 from dje at gcc dot gnu dot org 2009-06-01 21:49 --- Local variable debugging is broken for AIX stabs as well. On AIX, the DECL and the insn contain different offsets from virtual-stack-vars for the same variable: (mem/c/i:SI (plus:SI (reg/f:SI 115 virtual-stack-vars)

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-05-28 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-05-29 03:22 --- Revision 146817: http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg01459.html is the cause. -- hjl dot tools at gmail dot com changed: What|Removed |Added