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 inline-asm/85034] [6/7/8 Regression] -O1 internal compiler error: in elimination_costs_in_insn, at reload1.c:3633


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar 23 09:10:02 2018
New Revision: 258796

URL: https://gcc.gnu.org/viewcvs?rev=258796&root=gcc&view=rev
Log:
        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:
    trunk/gcc/testsuite/gcc.target/i386/pr85034.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/function.c
    trunk/gcc/testsuite/ChangeLog

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