Commit db7f455b by Duncan Sands Committed by Duncan Sands

The parameters for functions from the frexp family were the wrong way round.

The parameters for functions from the frexp family were the wrong way
round.  Swap them.

From-SVN: r171971
parent d56e6679
2011-04-05 Duncan Sands <baldrick@free.fr>
* f95-lang.c (build_builtin_fntypes): Swap frexp parameter types.
2010-04-04 Thomas Koenig <tkoenig@gcc.gnu.org>
* frontend-passes: (optimize_lexical_comparison): New function.
......
......@@ -695,10 +695,9 @@ build_builtin_fntypes (tree *fntype, tree type)
type, integer_type_node, NULL_TREE);
/* type (*) (void) */
fntype[3] = build_function_type_list (type, NULL_TREE);
/* 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);
/* type (*) (int, type) */
fntype[5] = build_function_type_list (type,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment