[Bug c/34634] Labels are not handled correctly

davh at davh dot dk gcc-bugzilla@gcc.gnu.org
Tue Jan 1 08:34:00 GMT 2008



------- Comment #1 from davh at davh dot dk  2008-01-01 08:33 -------
Even worse is this:

__asm__(
     "someasm" :
     : 
       "i" (&&a),
       "i" (&&b));
a:
b:

.L2:
.LBB2:
        .loc 1 25 0
#APP
/* My asm statements, which includes this instruction: */
        jmp .L2

.L3:

This is a nice infinite loop :(


-- 

davh at davh dot dk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davh at davh dot dk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34634



More information about the Gcc-bugs mailing list