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/49281] lea_general_4 is wrong


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-04 15:38:39 UTC ---
Author: jakub
Date: Sat Jun  4 15:38:36 2011
New Revision: 174641

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174641
Log:
    PR target/49281
    * config/i386/i386.md (*lea_general_4): Require INTVAL (operands[3])
    to be strictly smaller than 1 << shiftcount.

    * gcc.c-torture/execute/pr49281.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr49281.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]