(declare_function_name): __FUNC__ variables
are compiler-created, so set DECL_SOURCE_LINE to zero. From-SVN: r2300
This commit is contained in:
parent
a50cc0dd8e
commit
b9a24ad42e
@ -55,6 +55,7 @@ declare_function_name ()
|
||||
char_array_type_node);
|
||||
TREE_STATIC (decl) = 1;
|
||||
TREE_READONLY (decl) = 1;
|
||||
DECL_SOURCE_LINE (decl) = 0;
|
||||
DECL_IN_SYSTEM_HEADER (decl) = 1;
|
||||
DECL_IGNORED_P (decl) = 1;
|
||||
init = build_string (strlen (name) + 1, name);
|
||||
@ -67,6 +68,7 @@ declare_function_name ()
|
||||
char_array_type_node);
|
||||
TREE_STATIC (decl) = 1;
|
||||
TREE_READONLY (decl) = 1;
|
||||
DECL_SOURCE_LINE (decl) = 0;
|
||||
DECL_IN_SYSTEM_HEADER (decl) = 1;
|
||||
DECL_IGNORED_P (decl) = 1;
|
||||
init = build_string (strlen (printable_name) + 1, printable_name);
|
||||
|
Loading…
Reference in New Issue
Block a user