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] quick patch for PR31937


Andrew Haley writes:
 > Patrick Olinet writes:
 >  > On 5/16/07, Andrew Haley <aph-gcc@littlepinkcloud.com> wrote:
 >  > > Patrick Olinet writes:
 >  > >  > yes it does.
 >  > >  >
 >  > >  > Actually I've also tried with a cross toolchain that doesn't have it
 >  > >  > and the bug showed up as well
 >  > >
 >  > > OK, so rather than commenting out the fp store instructions, please
 >  > > try and surround them with
 >  > >
 >  > > #ifdef SOFT_FLOAT
 >  > You mean "#ifndef SOFT_FLOAT", don't you ??
 > 
 > Yes.
 > 
 >  > "if there is no soft float support, then try the fp store instructions
 >  > and hope for the best" is the correct meaning. no ?
 > 
 > If there is no soft-float support and the FP registers don't work,
 > then the toolchain is FUBAR.
 > 
 > I'm sure Joseph is right about "#ifndef __NO_FPRS__" being the best
 > choice.

Or, I guess, "#ifdef __NO_FPRS__"

Andrew.


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