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] m68k.c: Fix build.


Hi Roman,

Your patch seems to work fine with one tweak.

 /* 1 if X is an fp register.  */
 #define FP_REG_P(X)	(REG_P (X) && FP_REGNO_P (REGNO (X)))

FP_REG_P in mainline is defined as:


#define FP_REG_P(X) (REG_P (X) && REGNO_OK_FOR_FP_P (REGNO (X)))

So you need to update the FP_REG definition. I suppose your patch is not generated against the current mainline!?

Would you care to submit your patch with a ChangeLog entry?

Kazu Hirata


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