Print statements with %d in trans-common.c
Steve Ellcey
sje@cup.hp.com
Tue Jan 11 23:26:00 GMT 2005
> HOST_WIDE_INT hello;
> printf ("hello=" HOST_WIDE_INT_PRINT_DEC ";\n", hello);
>
> -- Pinski
Thats what I was looking for. Unfortunately, what is being called is
actually gfc_warning, which in turn calls error_print, which actually
tries to parse the format string instead of just passing it to printf
and error_print doesn't understand '%lld' and I get 'ld' printed instead
of a number.
Guess I'll submit a PR against fortran.
Steve Ellcey
sje@cup.hp.com
More information about the Fortran
mailing list