This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.3 regression?] flag_hosted and back-ends


> 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]