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: RFA: Add a builtin define for when the floating point registers are not available



On 23/05/2005, at 1:38 AM, Nick Clifton wrote:


Hi Aldy,


You are right of course. Further testing of the patch showed me that I needed this anyway, so imagine if you will that I had submitted the patch with an identical change to gcc/config/rs6000/ linux.h. :-)



How about you put it in rs6000_override_options, and only do it once?


Good idea, although I think that maybe rs6000_cpu_cpp_builtins() might be a better place, so what do you think of this alternative patch ?


Cheers
  Nick

gcc/ChangeLog
2005-05-23  Nick Clifton  <nickc@redhat.com>

    * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
    __NO_FPRS__ when 'f' class registers will not be available.

This looks good to me.



Attachment: smime.p7s
Description: S/MIME cryptographic signature


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