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]

Re: Patch for ARM java: gcjh


>>>>> "Scott" == Scott Bambrough <scottb@netwinder.org> writes:

Scott> * gcc/java/gjavah.c (D_NAN_MASK): Alternate definition required when  
Scott> 	  FLOAT_WORDS_BIG_ENDIAN is defined to be 1

This part is not quite correct.

gcjh runs on the host, not the target.
So we should be looking at HOST_FLOAT_WORDS_BIG_ENDIAN.
Also I think we should use "#if" and not "#ifdef" (like real.h).
Finally your patch uses "else" and not "#else".

It would be cool if gjavah.c used union DWord instead of its own
union.  It would also be nice to change the code part instead of
changing the infinity define.

Alex will have to look at the other part.  I imagine the same
considerations apply.

Tom

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