This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trunk<-vta] Re: [vta, trunk?] declare frame decls for nested functions in the binding blocks
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 02 Jun 2009 05:39:58 -0300
- Subject: Re: [trunk<-vta] Re: [vta, trunk?] declare frame decls for nested functions in the binding blocks
- References: <orbq83jr8l.fsf@oliva.athome.lsd.ic.unicamp.br> <orbpp8z8zd.fsf@free.oliva.athome.lsd.ic.unicamp.br> <m3oct87wyi.fsf@google.com>
On Jun 1, 2009, Ian Lance Taylor <iant@google.com> wrote:
> Alexandre Oliva <aoliva@redhat.com> writes:
>> * tree-nested.c (finalize_nesting_tree_1): Declare the
>> frame_decl in the binding tree.
> Is there any way to write a test case for this?
Hmm... I don't quite see how. According to my notes and recollections
from late 2007, the failure mode I seem to have observed was a rare
scheduling difference caused by memory alias sets differences, caused in
turn by differences in virtual register instantiation.
Since -fcompare-debug wasn't implemented back then, and given the
context provided by notes from back then, this error was detected by a
âmake bootstrap-debugâ (now BUILD_CONFIG=bootstrap-debug) compare
failure, most likely on ppc64 or ia64.
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer