PR c/79936 - [7 Regression] ICE with -Walloc-size-larger-than=32767 gcc/ChangeLog: PR c/79936 * Makefile.in (GTFILES): Add calls.c. * calls.c (must_pass_in_stack_var_size_or_pad): Include "gt-calls.h". diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 8648d68..481515a 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2517,6 +2517,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 6d5ef4e..61caf4c 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"