[Bug debug/95695] -gcolumn-info is unstable with LTO and --save-temps

2020-06-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95695 --- Comment #3 from Martin Liška --- And it's not related to LTO, it comes from a pre-processor. So we somehow screw locations with -E and w/o -E option: $ g++ -g -O2 demo.C && readelf --wide --debug-dump=info a.out > 1 $ g++ -g -O2 demo.C --sav

[Bug debug/95695] -gcolumn-info is unstable with LTO and --save-temps

2020-06-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95695 --- Comment #2 from Jakub Jelinek --- I don't see how is that related to LTO. -save-temps does change the column of many tokens, and I'm afraid there is no way around that, except to use -fdirectives-only preprocessing instead.

[Bug debug/95695] -gcolumn-info is unstable with LTO and --save-temps

2020-06-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95695 Martin Liška changed: What|Removed |Added CC||vries at gcc dot gnu.org Stat