This is the mail archive of the gcc-patches@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: [PATCH] Move -fbuiltin from c.opt to common.opt and change it to common group


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.


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