https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- For the error attribute I think the fix is easier, at least if the functions with error attribute wouldn't be conditional in the to be created fnsplit - just punt on fnsplit in that case. Because if it isn't inlined back, it would be an error and in a successful compilation it should be optimized away and so doesn't need fnsplit. But I think we can't do that for warning attribute, that is just a warning and even when we warn, we'll successfully compile it...