[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 sandra at codesourcery dot com --- 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-10-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62225 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added CC||ebotcazou at

[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 sandra at codesourcery dot com changed: What|Removed |Added CC||sandra

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

2014-08-29 Thread qiyao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62225 --- Comment #3 from Yao Qi qiyao at gcc dot gnu.org --- (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

[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 pinskia at gcc dot gnu.org --- I bet if you remove register, it will work. Or compile with variable tracking turned on.

[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 qiyao at gcc dot gnu.org --- 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. 171: Abbrev Number: 6 (DW_TAG_subprogram) 72 DW_AT_external