Alloca problem in libiberty/regex.c

John David Anglin
Thu Nov 15 18:22:00 GMT 2001

Forwarded message:
>From Mon Nov 26 15:53:16 EST 2001
Date: Mon, 26 Nov 2001 13:55:37 -0800
From: Bruce Korb <>
Subject: Re: Alloca problem in libiberty/regex.c
Sender: bkorb@nodots-daemon
Message-id: <>
Organization: Home
MIME-version: 1.0
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.7 i586)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-Accept-Language: en

regex.c needs to be fixed wrt C_alloca, then I could remove it from
the fixincludes tree.  It needs to wrap its procedures in another
layer of procedure indirection and have the extra layer call
``alloca( 0 );'' to clean out stale allocations.

P.S., apparently, ORBZ has decided that has been bad again,
so please forward to gcc-patches. and...

I make another pointless appeal to *please* stop using ORBZ.
It's a crummy service.  Too many false positives.

J. David Anglin                        
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

More information about the Gcc-patches mailing list