Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
45bbb86d
Commit
45bbb86d
authored
Jan 22, 2010
by
Joern Rennecke
Committed by
Joern Rennecke
Jan 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc-plugin.h (plugin_init): Use "C" likage for c++.
From-SVN: r156179
parent
0d9709e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/ChangeLog
+2
-0
gcc/gcc-plugin.h
+6
-0
No files found.
gcc/ChangeLog
View file @
45bbb86d
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
* doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.
* doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.
* gcc-plugin.h (plugin_init): Use "C" likage for c++.
2010-01-21 Martin Jambor <mjambor@suse.cz>
2010-01-21 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/42585
PR tree-optimization/42585
...
...
gcc/gcc-plugin.h
View file @
45bbb86d
...
@@ -96,10 +96,16 @@ extern bool plugin_default_version_check (struct plugin_gcc_version *,
...
@@ -96,10 +96,16 @@ extern bool plugin_default_version_check (struct plugin_gcc_version *,
typedef
int
(
*
plugin_init_func
)
(
struct
plugin_name_args
*
plugin_info
,
typedef
int
(
*
plugin_init_func
)
(
struct
plugin_name_args
*
plugin_info
,
struct
plugin_gcc_version
*
version
);
struct
plugin_gcc_version
*
version
);
#ifdef __cplusplus
extern
"C"
{
#endif
/* Declaration for "plugin_init" function so that it doesn't need to be
/* Declaration for "plugin_init" function so that it doesn't need to be
duplicated in every plugin. */
duplicated in every plugin. */
extern
int
plugin_init
(
struct
plugin_name_args
*
plugin_info
,
extern
int
plugin_init
(
struct
plugin_name_args
*
plugin_info
,
struct
plugin_gcc_version
*
version
);
struct
plugin_gcc_version
*
version
);
#ifdef __cplusplus
}
#endif
/* Function type for a plugin callback routine.
/* Function type for a plugin callback routine.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment