re PR c/79936 (ICE with -Walloc-size-larger-than=32767)
authorMartin Sebor <msebor@redhat.com>
Tue, 14 Mar 2017 22:09:40 +0000 (22:09 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 14 Mar 2017 22:09:40 +0000 (16:09 -0600)
PR c/79936
* Makefile.in (GTFILES): Add calls.c.
* calls.c: Include "gt-calls.h".

From-SVN: r246144

gcc/ChangeLog
gcc/Makefile.in
gcc/calls.c

index c6f0dd524da471db44210e9aac6462f5c7a7b366..61277c36287e301bb37fced95a1fc442c36d0656 100644 (file)
@@ -1,3 +1,9 @@
+2017-03-14  Martin Sebor  <msebor@redhat.com>
+
+       PR c/79936
+       * Makefile.in (GTFILES): Add calls.c.
+       * calls.c: Include "gt-calls.h".
+
 2017-03-14  Bernd Schmidt  <bschmidt@redhat.com>
 
        PR rtl-optimization/79728
index 1ba0475c89367ff05e0b011384502240d001f27f..e54fac4ec1c82c0efac19d390fd7c92e72b6d88a 100644 (file)
@@ -2518,6 +2518,7 @@ GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \
   $(srcdir)/ipa-devirt.c \
   $(srcdir)/internal-fn.h \
   $(srcdir)/hsa-common.c \
+  $(srcdir)/calls.c \
   @all_gtfiles@
 
 # Compute the list of GT header files from the corresponding C sources,
index 6d5ef4e02a01cf37b41b6d78b66950127f5f0faf..61caf4ca752ccabdd4c6b6733cbe925b34cbdc7d 100644 (file)
@@ -5649,3 +5649,6 @@ must_pass_in_stack_var_size_or_pad (machine_mode mode, const_tree type)
 
   return false;
 }
+
+/* Tell the garbage collector about GTY markers in this source file.  */
+#include "gt-calls.h"