[Bug lto/85248] [6/7/8 Regression] Miscompilation when using error function that returns
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 9 12:08:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85248
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think we want to merge the cgraph nodes but _not_ merge decls (thus not
call lto_symtab_prevail_decl). Iff that is supported somehow...? Probably
we expect the decl <-> cgraph node be a 1:1 relation, not a n:1 one.
I think the issue you run into can happen generally, no? Or we indeed do
not reclaim the mpx stuff properly.
Anyhow, I guess you need to debug the specific ICE further or reduce the scope
of "flags" you bail out for now to that of the error() case (noreturn).
More information about the Gcc-bugs
mailing list