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: [trunk<-vta] Re: [vta, trunk?] declare frame decls for nested functions in the binding blocks


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


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