------- Comment #8 from rguenth at gcc dot gnu dot org  2010-04-20 14:10 -------
Subject: Bug 38957

Author: rguenth
Date: Tue Apr 20 14:09:52 2010
New Revision: 158559

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158559
Log:
2010-04-20  Richard Guenther  <rguent...@suse.de>

        Backport from mainline
        2009-01-24  Jakub Jelinek  <ja...@redhat.com>

        PR c/38957
        * c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
        as PLUS_EXPR.

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

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr38957.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/c-typeck.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to