[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-24 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-02-24 11:13 --- Closing as fixed, the 1) and 2) issues mentioned here are now tracked in PR43160 resp. PR43161. -- jakub at gcc dot gnu dot org changed: What|Removed |Added -

[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-24 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-24 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-02-24 10:50 --- Subject: Bug 43150 Author: jakub Date: Wed Feb 24 10:50:13 2010 New Revision: 157032 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157032 Log: PR debug/43150 * gimplify.c (gimplify_type_sizes)

[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-02-23 17:36 --- Regarding 2), the regcprop pass doesn't call df_analyze at all, so it can't rely on REG_DEAD notes nor use df_* APIs to check for life info. I'm not 100% sure why we are propagating into debug insns at all, guess to h

[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-02-23 14:46 --- Actually, 2) is present also on the trunk, again in f2 -O2 -g -m64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43150

[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-02-23 14:08 --- I see some VTA bugs and missed debug optimizations though: 1) in f1 say -O2 -m64 -g we have in *.alignments: (debug_insn 7 14 8 2 vla-1.c:15 (var_location:DI D#2 (sign_extend:DI (plus:SI (reg/v:SI 5 di [orig:62 i ] [62

[Bug debug/43150] Proper debug info for debugging VLAs

2010-02-23 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-02-23 13:49 --- Created an attachment (id=19940) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19940&action=view) gcc45-pr43150.patch Patch with a testcase. Before the patch the testcase fails: unix/-m32 FAIL: gcc.dg/guality/v