https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105108
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Yeah, there is nothing we can do in the debug info about this. We really can't inline just for the purposes of debug stmts or something similar. Another similar case would be if l_144 is assigned b() but isn't actually used at all, if b() is pure (explicitly or implicitly detected), the call will be DCEd and there is no way how to express it in the debug info.