This is the mail archive of the gcc-cvs@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]

r220550 - in /trunk/gcc: c/ChangeLog c/c-typeck...


Author: mpolacek
Date: Mon Feb  9 21:19:02 2015
New Revision: 220550

URL: https://gcc.gnu.org/viewcvs?rev=220550&root=gcc&view=rev
Log:
	PR c/64856
	* c-typeck.c (process_init_element): Don't always wrap
	COMPOUND_LITERAL_EXPR in a SAVE_EXPR in C99 mode when
	initializing a range of elements.

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

Added:
    trunk/gcc/testsuite/gcc.dg/pr64856.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


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