This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/34634] Labels are not handled correctly



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]