This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: nogc.cc & darwin




Tom Tromey wrote:
> 
> >>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> 
> Bryce> Sorry, I mislead you with my previous comment. GCJ is generating a call
> Bryce> to sqrtf() from the Math.sqrt() calls in these files. I am not sure why
> Bryce> it is calling sqrtf(), however, instead of sqrt() - this seems wrong
> Bryce> because the arguments are double!
> 
> I bet my recent builtin function call patch is broken :-(

builtin.c
static tree
sqrt_builtin (method_return_type, method_arguments)
     tree method_return_type, method_arguments; 
{
  /* FIXME: this assumes that jdouble and double are the same.  */
  tree fn = built_in_decls[BUILT_IN_SQRTF];

Should it be here BUILT_IN_SQRT?

Andreas


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