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 rtl-optimization/39779] ICE shifting byte to the right with constant > 7FFFFFFF



------- Comment #13 from uros at gcc dot gnu dot org  2009-09-23 09:37 -------
Subject: Bug 39779

Author: uros
Date: Wed Sep 23 09:37:25 2009
New Revision: 152064

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152064
Log:
        PR c/39779
        * c-typeck.c (build_binary_op) <short_shift>: Check that integer
        constant is more than zero.

testsuite/ChangeLog:

        PR c/39779
        * gcc.c-torture/compile/pr39779.c: New test.


Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr39779.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/c-typeck.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


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