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 PING: add gcc/config/t-dfprules


Hi Mark

> >>Ping?
> >>  http://gcc.gnu.org/ml/gcc-patches/2006-02/msg00425.html

> Why does it make sense to generate these source files, rather than
> just compiling the dfp-bit.c file multiple times with -DWIDTH=...?
> Also, why not use #include to avoid actually copying the file into
> the generate source file?  (That would reduce the risk of someone
> accidentally modifying the generated file, when they meant to modify
> the original.)

It was only done this way as that's the way that the existing fp-bit.c
implementation (and associated mklibgcc machinery) does it.  I could
change it, but then it would be inconsistent with fp-bit.c.  Or, I
could change both--but then that's opening up a much larger can of
worms.

Cheers, Ben


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