]> code.ossystems Code Review - openembedded-core.git/blob
9f0f1785ea0f03f5514fd0b52ae6faee89ff7f78
[openembedded-core.git] /
1 Upstream-Status: Inappropriate [Backport]
2 From 7a43b3a2e2c0d9cf557ac45577cc42c6d72e0065 Mon Sep 17 00:00:00 2001
3 From: baldrick <baldrick@138bc75d-0d04-0410-961f-82ee72b054a4>
4 Date: Tue, 5 Apr 2011 08:13:16 +0000
5 Subject: [PATCH 067/200] The parameters for functions from the frexp family were the wrong way
6  round.  Swap them.
7
8 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171972 138bc75d-0d04-0410-961f-82ee72b054a4
9
10 index 3340dc4..728b631 100644
11 --- a/gcc/fortran/f95-lang.c
12 +++ b/gcc/fortran/f95-lang.c
13 @@ -695,10 +695,9 @@ build_builtin_fntypes (tree *fntype, tree type)
14                                          type, integer_type_node, NULL_TREE);
15    /* type (*) (void) */
16    fntype[3] = build_function_type_list (type, NULL_TREE);
17 -  /* type (*) (&int, type) */
18 -  fntype[4] = build_function_type_list (type,
19 +  /* type (*) (type, &int) */
20 +  fntype[4] = build_function_type_list (type, type,
21                                          build_pointer_type (integer_type_node),
22 -                                        type,
23                                          NULL_TREE);
24    /* type (*) (int, type) */
25    fntype[5] = build_function_type_list (type,
26 -- 
27 1.7.0.4
28