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: CFT: [build] Move fp-bit support to toplevel libgcc


On 08/03/2011 03:46 PM, Rainer Orth wrote:

Ok for mainline if they pass?

I think the avr-lib.h and h8300-lib.h files should be modified to only define the constants when compiling fp-bit, because they pollute the namespace.


Both avr and h8300 only use floats, so you can wrap them in #ifdef FLOAT. Another possibility is to add another -D option, like IN_FPBIT, to the Makefile and wrap the headers with that one.

Otherwise ok.

Paolo


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