This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r220327 - in /branches/gcc-4_9-branch/gcc: c/Ch...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 01 Feb 2015 17:36:26 -0000
- Subject: r220327 - in /branches/gcc-4_9-branch/gcc: c/Ch...
Author: jakub
Date: Sun Feb 1 17:36:26 2015
New Revision: 220327
URL: https://gcc.gnu.org/viewcvs?rev=220327&root=gcc&view=rev
Log:
Backported from mainline
2015-01-27 Jakub Jelinek <jakub@redhat.com>
PR c/64766
* c-typeck.c (store_init_value): Don't overwrite DECL_INITIAL
of FUNCTION_DECLs with error_mark_node.
* gcc.dg/pr64766.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr64766.c
Modified:
branches/gcc-4_9-branch/gcc/c/ChangeLog
branches/gcc-4_9-branch/gcc/c/c-typeck.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog