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

SourceForge.net noreply@sourceforge.net
Sun, 27 Apr 2003 00:02:18 -0700


Patches item #726869, was opened at 2003-04-24 13:09
Message generated for change (Comment added) made by niemeyer
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: Closed
>Resolution: Accepted
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.

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

>Comment By: Gustavo Niemeyer (niemeyer)
Date: 2003-04-27 07:02

Message:
Logged In: YES 
user_id=7887

Thanks for the patch Andrew.

Applied as:

Modules/_sre.c:2.93

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

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