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 to reduce stack sizes


On Mon, May 24, 2010 at 11:18, Jeff Law <law@redhat.com> wrote:
> Or is there another execution path that's causing the problem?

I think that at -O3 the function try_fit_stack_local gets inlined, and
that initializes poffset only at the very bottom, and other cases that
return false do not initialize it.  I think that explains why at -O2 it
does not triggers the uninitialized variable warning.

Sebastian


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