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 middle-end/40291] [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument



------- Comment #3 from jakub at gcc dot gnu dot org  2009-05-29 15:47 -------
Subject: Bug 40291

Author: jakub
Date: Fri May 29 15:47:31 2009
New Revision: 147979

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147979
Log:
        PR middle-end/40291
        * builtins.c (expand_builtin_memcmp): Convert len to sizetype
        before expansion.

        * gcc.c-torture/compile/pr40291.c: New test.

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


-- 


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


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