This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Preserve return statements at -O0
> Isn't one of the effects of this patch to generate debug info for the
> artificial label decl?
No, DECL_IGNORED_P is preserved on the label decl.
> When I first saw your patch, I thought "FORCED_LABEL()", perhaps I'm
> not sure that it's any better than your solution... Have you tried
> that?
No, that isn't necessary at -O0 IMO, user labels are explicitly preserved.
--
Eric Botcazou