https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85034

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:38:29 2018
New Revision: 262084

URL: https://gcc.gnu.org/viewcvs?rev=262084&root=gcc&view=rev
Log:
        Backported from mainline
        2018-03-23  Jakub Jelinek  <ja...@redhat.com>

        PR inline-asm/85034
        * function.c (match_asm_constraints_1): Don't optimize if input
        doesn't satisfy general_operand predicate for output's mode.

        * gcc.target/i386/pr85034.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr85034.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/function.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to