[Bug target/46915] Wrong code is generated for conditional branch followed by zero length asm

amylaar at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 13 09:35:00 GMT 2010


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

Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amylaar at gcc dot gnu.org

--- Comment #7 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-12-13 09:34:49 UTC ---
(In reply to comment #6)
> Created attachment 22734 [details]
> pa.c.d

This will break if you have an asm that gcc thinks is non-zero in length,
but which is, in fact, zero length.  E.g you might have a comment explaining
why no code is needed, and gcc sees a line, which it equates to an insn.



More information about the Gcc-bugs mailing list