[Bug debug/62225] DW_AT_location for local variable is missing

2014-10-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62225 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comment

[Bug debug/62225] DW_AT_location for local variable is missing

2014-10-01 Thread sandra at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62225 --- Comment #5 from Sandra Loosemore --- Thinking about this some more Why doesn't -g always enable -fvar-tracking by default? It's currently only enabled if you specify both -g and -O.

[Bug debug/62225] DW_AT_location for local variable is missing

2014-09-30 Thread sandra at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62225 Sandra Loosemore changed: What|Removed |Added CC||sandra at codesourcery dot com --- Co

[Bug debug/62225] DW_AT_location for local variable is missing

2014-08-28 Thread qiyao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62225 --- Comment #3 from Yao Qi --- (In reply to Andrew Pinski from comment #1) > I bet if you remove register, it will work. Or compile with variable > tracking turned on. I compiled the code again with -fvar-tracking, and looks DW_AT_location for l

[Bug debug/62225] DW_AT_location for local variable is missing

2014-08-22 Thread qiyao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62225 --- Comment #2 from Yao Qi --- arm-none-eabi gcc mainline (4.10.0 20140818) and 4.9.2 has this problem too. The test case is compiled with -mthumb flag. <1><71>: Abbrev Number: 6 (DW_TAG_subprogram) <72> DW_AT_external: 1 <72> D

[Bug debug/62225] DW_AT_location for local variable is missing

2014-08-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62225 --- Comment #1 from Andrew Pinski --- I bet if you remove register, it will work. Or compile with variable tracking turned on.