summaryrefslogtreecommitdiff
path: root/gcc/java/builtins.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 13:09:38 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 13:09:38 +0000
commit22642efda7e6534076c91bd0d9ee4a244ea44c4a (patch)
treef379042d103278bfa7fe040ddace8f7ca34aa4cd /gcc/java/builtins.c
parent5be59a5529f8877a7933cf0131353a0d54383b96 (diff)
downloadgcc-22642efda7e6534076c91bd0d9ee4a244ea44c4a.tar.gz
2009-06-16 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r148523 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148527 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/builtins.c')
-rw-r--r--gcc/java/builtins.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/java/builtins.c b/gcc/java/builtins.c
index 39c73a5e7fa..0f7b197f78c 100644
--- a/gcc/java/builtins.c
+++ b/gcc/java/builtins.c
@@ -411,7 +411,7 @@ getVolatile_builtin (tree method_return_type ATTRIBUTE_UNUSED,
stmt = build_call_expr (built_in_decls[BUILT_IN_SYNCHRONIZE], 0);
- tmp = build_decl (VAR_DECL, NULL, method_return_type);
+ tmp = build_decl (BUILTINS_LOCATION, VAR_DECL, NULL, method_return_type);
DECL_IGNORED_P (tmp) = 1;
DECL_ARTIFICIAL (tmp) = 1;
pushdecl (tmp);
@@ -453,7 +453,8 @@ define_builtin (enum built_in_function val,
{
tree decl;
- decl = build_decl (FUNCTION_DECL, get_identifier (name), type);
+ decl = build_decl (BUILTINS_LOCATION,
+ FUNCTION_DECL, get_identifier (name), type);
DECL_EXTERNAL (decl) = 1;
TREE_PUBLIC (decl) = 1;
SET_DECL_ASSEMBLER_NAME (decl, get_identifier (libname));