> You're right. So how about this patch (untested so far) instead? > In the combiner it still needs to handle the case where REG_NORETURN note > hasn't been placed yet, because then fixup_args_size_notes doesn't consider > it being a noret call.
Still too much work for the combiner in my opinion. :-) Can't we arrange for the REG_NORETURN and REG_ARGS_SIZE notes to be originally placed so that the combiner first puts back the former and second the latter? And why can't the latter note be put back by fixup_args_size_notes directly? -- Eric Botcazou