From 6bf29a7e402c9650a0feeb00038f873adc7cd309 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Tue, 14 Mar 2017 22:09:40 +0000 Subject: [PATCH] re PR c/79936 (ICE with -Walloc-size-larger-than=32767) PR c/79936 * Makefile.in (GTFILES): Add calls.c. * calls.c: Include "gt-calls.h". From-SVN: r246144 --- gcc/ChangeLog | 6 ++++++ gcc/Makefile.in | 1 + gcc/calls.c | 3 +++ 3 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6f0dd524da..61277c36287 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-03-14 Martin Sebor + + PR c/79936 + * Makefile.in (GTFILES): Add calls.c. + * calls.c: Include "gt-calls.h". + 2017-03-14 Bernd Schmidt PR rtl-optimization/79728 diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 1ba0475c893..e54fac4ec1c 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -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, diff --git a/gcc/calls.c b/gcc/calls.c index 6d5ef4e02a0..61caf4ca752 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -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" -- 2.30.2