[Bug lto/117388] Mangled name in 'In function' note before warning with LTO

2024-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117388 --- Comment #2 from Richard Biener --- We'll use DECL_NAME, I guess for clones we don't set that - but I'm not sure why. Note the language used is available on the TRANSLATION_UNIT_DECL which eventually is reached following DECL_CONTEXT. But I

[Bug lto/117388] Mangled name in 'In function' note before warning with LTO

2024-11-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117388 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1