------- Comment #5 from rguenth at gcc dot gnu dot org  2009-07-10 16:02 -------
Subject: Bug 40291

Author: rguenth
Date: Fri Jul 10 16:01:34 2009
New Revision: 149487

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149487
Log:
2009-07-10  Richard Guenther  <rguent...@suse.de>

        Backport from mainline
        2009-05-29  Jakub Jelinek  <ja...@redhat.com>

        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_3-branch/gcc/testsuite/gcc.c-torture/compile/pr40291.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/builtins.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to