Billy O'Connor wrote:
> Bruce Dubbs <bruce.du...@gmail.com> writes:
>
>> I've finally figured out what is making the mangle33.C program fail.  It
>> is an arbitrary limitation in tcl.   This particular gcc test creates a
>> c++ namespace *name* of 4044 characters in length.   It turns out that
>> there is a value buried deep in tcl code (generic/regc_nfa.c):
>>
>> /*
>>    * Arbitrary depth limit. Needs tuning, but this value is sufficient to
>>    * make all normal tests (not reg-33.14) pass.
>>    */
>> #define DUPTRAVERSE_MAX_DEPTH 500
>>
>> Changing this to 5000 makes the gcc test pass.  Is it worthwhile to make
>> this change in the Chapter 5 build of tcl?  How about BLFS?
>
> Nice catch!  Upstream should have heard about this by now, the gcc team
> must have seen the same error(I hope).  They'll want to fix it
> themselves, so I'd patch tcl now and just change the instructions after
> they apply the patch.

I think the test passes with older versions of tcl, so maybe the gcc 
devs don't know.

I did send a message to the tcl mailing list to let them know of the issue.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to