Skip to content
Snippets Groups Projects
Commit c3e38a03 authored by Marek Polacek's avatar Marek Polacek
Browse files

re PR c/64856 (Initializing struct not accepted in gnu99)

	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.

From-SVN: r220550
parent 62484417
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment