[Bug debug/112372] GCC omits function location in DWARF at higher optimisation levels

2023-11-03 Thread gprocida at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112372 --- Comment #4 from Giuliano Procida --- The provided example was exactly my original test case. It's part of our test suite for https://android.googlesource.com/platform/external/stg/. I'm currently running multiple versions of GCC and Clang

[Bug debug/112372] GCC omits function location in DWARF at higher optimisation levels

2023-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112372 --- Comment #3 from Andrew Pinski --- (In reply to Giuliano Procida from comment #2) > The symbols are not aliased (which is what I thought might have happened > with very aggressive optimisations). If they had been aliased, it would be > much h

[Bug debug/112372] GCC omits function location in DWARF at higher optimisation levels

2023-11-03 Thread gprocida at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112372 --- Comment #2 from Giuliano Procida --- The symbols are not aliased (which is what I thought might have happened with very aggressive optimisations). If they had been aliased, it would be much harder to give the symbols types.

[Bug debug/112372] GCC omits function location in DWARF at higher optimisation levels

2023-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112372 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill