Duncan Sands wrong:
Ping?
Pong. It helps to send Fortran patches also to fortran@ ...
On 30/03/11 16:43, Duncan Sands wrote:
While working on the dragonegg plugin I noticed that the Fortran
front-end
declares frexp with the parameters the wrong way round. Instead of
double frexp(double x, int *exp);
it is declared as
double frexp(int *exp, double x);
OK to apply on mainline and the 4.5 and 4.6 branches?
OK and thanks for the patch. Do you have an GCC SVN account?
Tobias
2011-03-30 Duncan Sands <baldr...@free.fr>
* f95-lang.c (build_builtin_fntypes): Swap frexp parameter types.
- /* type (*) (&int, type) */
- fntype[4] = build_function_type_list (type,
+ /* type (*) (type, &int) */
+ fntype[4] = build_function_type_list (type, type,
build_pointer_type (integer_type_node),
- type,
NULL_TREE);