ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/04/16/00:06:28

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <01e501c0c62a$878facc0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "DJ Delorie" <dj AT delorie DOT com>
Cc: <cygwin-apps AT sources DOT redhat DOT com>
References: <01b301c0c621$063e4ae0$0200a8c0 AT lifelesswks> <200104160327 DOT XAA06356 AT envy DOT delorie DOT com> <01dc01c0c628$23c1f880$0200a8c0 AT lifelesswks> <200104160400 DOT AAA06732 AT envy DOT delorie DOT com>
Subject: Re: next porting question for gcj
Date: Mon, 16 Apr 2001 14:05:51 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 16 Apr 2001 03:58:34.0087 (UTC) FILETIME=[81D9D770:01C0C629]

----- Original Message -----
From: "DJ Delorie" <dj AT delorie DOT com>
To: <robert DOT collins AT itdomain DOT com DOT au>
Cc: <cygwin-apps AT sources DOT redhat DOT com>
Sent: Monday, April 16, 2001 2:00 PM
Subject: Re: next porting question for gcj


>
> A simple test will show you:
>
> main()
> {
>   char *b = alloca(500);
>   return b[3];
> }
>
> Compile with gcc, and you'll see that alloca is implemented directly,
> without function calls.
>
> __builtin_alloca is the internal way gcc implements it; either works
> just fine but __builtin_alloca is more immune to being #define'd to
> something else.  It's not specific to Cygwin.
>

All the same, the bootstrapped stage 3 g++ failed to find alloca.
__builtin_alloca was found easily enough.

Rob

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019