[Patches] [ python-Patches-726869 ] special-case recursion limit for gcc 3.x on FreeBSD & OS/2

SourceForge.net noreply@sourceforge.net
Thu, 24 Apr 2003 06:09:01 -0700


Patches item #726869, was opened at 2003-04-24 23:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=726869&group_id=5470

Category: Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew I MacIntyre (aimacintyre)
Assigned to: Gustavo Niemeyer (niemeyer)
Summary: special-case recursion limit for gcc 3.x on FreeBSD & OS/2

Initial Comment:
gcc 3.2.2 on FreeBSD (autoconf default -O3) and gcc
3.2.1(EMX port default -O2) generates code for _sre.c
that fails catastrophically for the normal recursion
limit (10000).

Some 64 bit systems are already special-cased to a
recursion limit of 7500, for apparently similar reasons.

I elected to use a separate #if branch to keep the
64bit systems separate from the gcc issues, which are
specific to certain systems for unknown reasons.

At one point, gcc 2.95.3 on FreeBSD was also having the
same effect, however recent fixes appear to have
alleviated that.

Assigned to Gustavo, as he's been working on _sre.

Supercedes #725024, which I'll close.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=726869&group_id=5470