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 target/52086] [4.7 Regression] ICE caused by wrong peephole2 for QImode mem += reg followed by test


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-02 09:05:03 UTC ---
Author: jakub
Date: Thu Feb  2 09:04:57 2012
New Revision: 183830

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183830
Log:
    PR target/52086
    * config/i386/i386.md (*addqi_2 peephole with SImode addition): Check
    that operands[2] is either immediate, or q_regs_operand.

    * gcc.dg/pr52086.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr52086.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog


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