Testers needed for ISO C Binding patch
Brooks Moses
brooks.moses@codesourcery.com
Thu Jun 7 19:54:00 GMT 2007
Tobias Schlüter wrote:
> Unfortunately, I'm seeing testsuite failures in the C interop testcases.
> The following error is given in all the cases I looked at:
> In file included from /usr/include/math.h:28,
> from
> /Users/tobi/src/pristine/gcc/testsuite/gfortran.dg/bind_c_dts_driver.c:1:
> /usr/include/architecture/i386/math.h: In function '__inline_signbitf':
> /usr/include/architecture/i386/math.h:192: error: initializer element is
> not computable at load time
> /usr/include/architecture/i386/math.h: In function '__inline_signbitd':
> /usr/include/architecture/i386/math.h:193: error: initializer element is
> not computable at load time
> /usr/include/architecture/i386/math.h: In function '__inline_signbit':
> /usr/include/architecture/i386/math.h:194: error: initializer element is
> not computable at load time
Yeah, that's what I'm seeing on powerpc-darwin, except with different
line numbers in math.h. Oddly enough, for me only three of the four
test cases that include math.h fail; bind_c_coms_driver.c works fine.
> I'll try fixing this later tonight by following the testsuite manual's
> recommendation of not including system headers, but instead writing the
> required prototypes explicitly.
Thanks! I'll let you work on that, then, rather than duplicating the
effort. :)
- Brooks
More information about the Fortran
mailing list