This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51840] asm goto enhancement request
- From: "rth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Jul 2014 18:15:48 +0000
- Subject: [Bug c/51840] asm goto enhancement request
- Auto-submitted: auto-generated
- References: <bug-51840-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51840
--- Comment #9 from Richard Henderson <rth at gcc dot gnu.org> ---
Created attachment 33105
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33105&action=edit
corrected test case
I believe that the original test case is in fact invalid.
Every asm goto has N labels attached, and the optimizers are properly
adjusting them when we make changes to the CFG. The fact that the
test doesn't make use of the changed labels is what makes it invalid.
If we fix the test case like so, it does work properly.