[PATCH 2/2] Fix minor glitches with basic asm

Bernd Edlinger bernd.edlinger@hotmail.de
Sun Dec 6 08:59:00 GMT 2015


Hi,

while looking at the handling of basic asm statements
I noticed two minor glitches, which I want to fix now.

Secondly there is a wrong check in shorten_branches in final.c

Here we check if GET_CODE (body) == ASM_INPUT, that is
never true, because GET_CODE (body) == SEQUENCE here.
The right object to check is PATTERN (inner_insn).


Boot-strapped and reg-tested on x86_64-pc-linux-gnu,
OK for trunk?


Thanks
Bernd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-final.diff
Type: text/x-patch
Size: 646 bytes
Desc: patch-final.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151206/d2d269f4/attachment.bin>


More information about the Gcc-patches mailing list