r267667 - in /trunk/gcc: c/ChangeLog c/c-decl.c...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Mon Jan 7 22:55:00 GMT 2019
Author: jakub
Date: Mon Jan 7 22:55:48 2019
New Revision: 267667
URL: https://gcc.gnu.org/viewcvs?rev=267667&root=gcc&view=rev
Log:
PR c/88701
* c-decl.c (build_compound_literal): If not TREE_STATIC, only pushdecl
if current_function_decl is non-NULL.
* gcc.dg/pr88701.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr88701.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list