------- Comment #9 from dave at hiauly1 dot hia dot nrc dot ca  2009-07-26 
21:37 -------
Subject: Re:  [4.5 Regression] Build failure in libgfortran

> (In reply to comment #7)
> > (In reply to comment #6)
> > > Can you try whether the following works (place somewhere in
> > > intrinsics/c99_functions.c):
> > 
> > Enhanced version with yet another version for I:
> > 
> > #ifndef I
> > # if defined(_Imaginary_I)
> > #   define I _Imaginary_I
> > # elif defined(_Complex_I)
> > #   define I _Complex_I
> > # else
> > #   define I (1.0fi)
> > # endif
> > #endif
> 
> This compiles on Cygwin, when applied on top of your other patch.

Same on hppa2.0w-hp-hpux11.11.  There are no warnings.

Thanks,
Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40863

Reply via email to