re PR c/88701 (Internal compiler error for valid program using compound literal with...
[gcc.git] / gcc / c / ChangeLog
index 5ee4b66c51363bc969d06b1b3435df85322a27be..7cffd900c274ecedf103a7f4132ad8752ad6bbe2 100644 (file)
@@ -1,3 +1,9 @@
+2019-01-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/88701
+       * c-decl.c (build_compound_literal): If not TREE_STATIC, only pushdecl
+       if current_function_decl is non-NULL.
+
 2019-01-07  Joseph Myers  <joseph@codesourcery.com>
 
        PR c/88720