[PATCH][4.3] Deprecate -ftrapv

Robert Dewar dewar@adacore.com
Sat Mar 1 21:45:00 GMT 2008


Florian Weimer wrote:
> * Robert Dewar:
> 
>>> Standard ML.  I don't think there is a GCC front end (and it's not
>>> likely that one will be feasible, at least until GCC supports a fitting
>>> garbage collector).
>> Why is it a GCC issue to support a GC for ML, I don't get it ...
> 
> ML programs are mostly functional and allocate lots of small objects
> with very short lifespans.  Without GC support in GCC, you're basically
> stuck with some sort of conservative collector.  And that is unlikely to
> result in acceptable throughput.

Not clear what "in GCC" means here, seems to me you could perfectly
well handle this with a combination of front end stuff and run time
routines.



More information about the Gcc mailing list