This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2] Fix minor glitches with basic asm
- From: Richard Biener <rguenther at suse dot de>
- To: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 7 Dec 2015 09:32:04 +0100 (CET)
- Subject: Re: [PATCH 2/2] Fix minor glitches with basic asm
- Authentication-results: sourceware.org; auth=none
- References: <HE1PR07MB090535F0B4BB8DB820122680E40A0 at HE1PR07MB0905 dot eurprd07 dot prod dot outlook dot com>
On Sun, 6 Dec 2015, Bernd Edlinger wrote:
>
> 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?
Ok.
Richard.