projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a01b9df
)
Fix bootstrap with g++
author
Arnaud Charlet
<charlet@gcc.gnu.org>
Tue, 2 Aug 2011 13:24:06 +0000
(15:24 +0200)
committer
Arnaud Charlet
<charlet@gcc.gnu.org>
Tue, 2 Aug 2011 13:24:06 +0000
(15:24 +0200)
From-SVN: r177148
gcc/ada/gcc-interface/misc.c
patch
|
blob
|
history
diff --git
a/gcc/ada/gcc-interface/misc.c
b/gcc/ada/gcc-interface/misc.c
index a03bb0fbf35d691ce3a648ad6cd3dfe5b2fc7cec..85317256c2c20866b9d1845f9d90cd94262fe245 100644
(file)
--- a/
gcc/ada/gcc-interface/misc.c
+++ b/
gcc/ada/gcc-interface/misc.c
@@
-637,6
+637,10
@@
must_pass_by_ref (tree gnu_type)
&& TREE_CODE (TYPE_SIZE (gnu_type)) != INTEGER_CST));
}
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* This function is called by the front-end to enumerate all the supported
modes for the machine, as well as some predefined C types. F is a function
which is called back with the parameters as listed below, first a string,
@@
-755,6
+759,11
@@
enumerate_modes (void (*f) (const char *, int, int, int, int, int, int))
}
}
+#ifdef __cplusplus
+}
+#endif
+
+
/* Return the size of the FP mode with precision PREC. */
int