Getting rid of -fno-unit-at-a-time [Was Re: RFC: Preserving order of functions and top-level asms via cgraph]

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Apr 11 11:35:00 GMT 2005


Nathan Sidwell <nathan@codesourcery.com> writes:

| Andrew Haley wrote:
| 
| > Might it still be possible for a front end to force all pending code
| > to be generated, even with -fno-unit-at-a-time gone?
| 
| I think this is a bad idea.  You're essentially asking for the backend
| to retain all the functionality of -fno-unit-at-a-time.
| 
| Might I refer you to Mike Stump's answer regarding swap :)

That might sound funny the first time.  But when it becomes a recurring
answer, it reaaly IS UNPLEASANT.

Yes, I noticed the smiley but, this is at least the second the time,
in a relatively short timeframe, you're making similar answers to
reasonable concerns and I would hate it becomes a canonical answer to
whatever concerns. 

Apart from that, I believe different front-ends may have different
constraints as is the case for the Java vs. C++ front-ends, having to
do with language semantics.

-- Gaby



More information about the Gcc mailing list