This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [3.3 regression?] flag_hosted and back-ends
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Richard dot Earnshaw at arm dot com
- Cc: thorpej at wasabisystems dot com, gcc at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Date: Sat, 15 Mar 2003 15:04:24 -0800
- Subject: Re: [3.3 regression?] flag_hosted and back-ends
- References: <200303151327.h2FDRHE29633@pc960.cambridge.arm.com>
> Date: Sat, 15 Mar 2003 13:27:17 +0000
> From: Richard Earnshaw <rearnsha at arm dot com>
> My inclination would be to say that taking the address of a nested
> function should only be supported in a hosted environment, since it
> requires OS support.
I think you're redefining the word 'hosted' here in a confusing way.
I would prefer to rephrase this as "nested functions should only be
supported in environments that can support nested functions"... which
is obviously correct.
Of course, you don't need GCC changes to achieve this. In these
environments, users will get a link error.
--
- Geoffrey Keating <geoffk at geoffk dot org>