This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] add calls.c to GTFILES in Makefile.in (PR 79936)


On Tue, Mar 14, 2017 at 1:37 AM, Martin Sebor <msebor@gmail.com> wrote:
> Ping: this a P3 regression targeted at 7.0.1.  It was found
> on x86_64-apple-darwin10.8.0 but affects all targets (even
> if it doesn't happen to manifest on them):
>
>   https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00342.html

I think you need to include gt-calls.h at the bottom of the file.  See other
GTFILES

> 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
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]