This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] add calls.c to GTFILES in Makefile.in
- From: Jeff Law <law at redhat dot com>
- To: Martin Sebor <msebor at gmail dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 14 Mar 2017 16:17:09 -0600
- Subject: Re: [PATCH] add calls.c to GTFILES in Makefile.in
- Authentication-results: sourceware.org; auth=none
- References: <26c31f25-7cdb-5912-6954-83dcd8683ce6@gmail.com>
On 03/07/2017 06:03 PM, Martin Sebor wrote:
In bug 79936 - ICE with -Walloc-size-larger-than=32767 the reporter
encountered an ICE on x86_64-apple-darwin10.8.0 caused by GCC source
file that implements the warning accessing a global tree without
having included the file in GTFILES make variable. (Thanks again
to David Malcolm who helped me root cause this bug.)
The attached patch fixes this by adding calls.c to the variable and
by including the requisite generated header, gt-calls.h, at the end
of the source.
Martin
gcc-79936.diff
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".
I fixed the ChangeLog entry for calls.c and installed this.
Thanks,
jeff