This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [vta, trunk?] avoid uninitialized variable warnings building with -O3
- From: "Manuel López-Ibáñez" <lopezibanez at gmail dot com>
- To: "Bradley Lucier" <lucier at math dot purdue dot edu>
- Cc: "Alexandre Oliva" <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Oct 2008 00:55:47 +0100
- Subject: Re: [vta, trunk?] avoid uninitialized variable warnings building with -O3
- References: <643271E4-351D-4023-86B0-31239FC48151@math.purdue.edu>
2008/10/30 Bradley Lucier <lucier@math.purdue.edu>:
> Re:
>
>> Initialization for binary_loc shouldn't be necessary, this appears to
>> be a defficiency of the optimizer, that doesn't realize that the POPs
>> at the end will never be executed unless we ever PUSH something, at
>> which point binary_loc will have been initialized. Can't quite blame
>> the optimizer for not figuring that out :-)
>
>
> The same issue in a different context was reported as PR37369 on the trunk.
GCC Bugzilla Bug 37369 ice for legal C code
???