Skip to content
Snippets Groups Projects
Commit 7c94ce7f authored by Jakub Jelinek's avatar Jakub Jelinek Committed by Jakub Jelinek
Browse files

c-typeck.c (process_init_element): Don't save_expr COMPOUND_LITERAL_EXPR if...

c-typeck.c (process_init_element): Don't save_expr COMPOUND_LITERAL_EXPR if just its initializer will be used.

	* c-typeck.c (process_init_element): Don't save_expr
	COMPOUND_LITERAL_EXPR if just its initializer will be used.

	* gcc.dg/gnu89-init-1.c: Add new tests.

From-SVN: r48868
parent 9631a0e1
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