[Bug c/51840] asm goto enhancement request
rth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 10 16:41:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51840
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu.org
--- Comment #7 from Richard Henderson <rth at gcc dot gnu.org> ---
(In reply to Kai Tietz from comment #6)
> + lbl = gimple_label_label (stmt);
> + if (DECL_NONLOCAL (lbl))
> return false;
> + /* If PHI_WANTED is true, we can't operate on user-labels.
> + See PR 51840. */
> + if (phi_wanted
> + && !DECL_ARTIFICIAL (lbl) && FORCED_LABEL (lbl))
> + return false;
Why the check for PHI_WANTED? I must say the comment is less than
enlightening. Is there any drawback to just
if (DECL_NONLOCAL (lbl) || FORCED_LABEL (lbl))
?
More information about the Gcc-bugs
mailing list