On Thu, 28 Aug 2014, Kito Cheng wrote: > Hi all: > > -fno-builtin is seem not only for the c family front-end, but also > used in LTO now, so move it to common.opt and change it to `Common`.
Please leave it in c-family and just add LTO to the set of supported languages. -fno-builtin isn't meaningful for other frontends and we just happen to use the flag. If then it makes more sense to move -fhosted and -ffreestanding though I don't know how meaningful those are for other frontends. Or create a "proper" flag to communicate that the middle-end should avoid creating new calls to builtins at all cost (well, that's really what -ffreestanding is about). Richard.