summaryrefslogtreecommitdiff
path: root/gcc/tree-mudflap.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-27 08:28:16 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-27 08:28:16 +0000
commit60dbe80112ea8b85a12e2421c5136ea72ca08eaf (patch)
treea7224a84cd5daa5e01f28c6e5c5435899fbb3c75 /gcc/tree-mudflap.c
parent3808552b5423a24be9fd0a179b1f9d65a021d773 (diff)
downloadgcc-60dbe80112ea8b85a12e2421c5136ea72ca08eaf.tar.gz
PR debug/34535
* tree-mudflap.c (mf_make_builtin): Make decl artificial and don't emit debug info for it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131195 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-mudflap.c')
-rw-r--r--gcc/tree-mudflap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c
index 7022f28d84d..950ad8c2fd5 100644
--- a/gcc/tree-mudflap.c
+++ b/gcc/tree-mudflap.c
@@ -301,6 +301,10 @@ mf_make_builtin (enum tree_code category, const char *name, tree type)
TREE_PUBLIC (decl) = 1;
DECL_EXTERNAL (decl) = 1;
lang_hooks.decls.pushdecl (decl);
+ /* The decl was declared by the compiler. */
+ DECL_ARTIFICIAL (decl) = 1;
+ /* And we don't want debug info for it. */
+ DECL_IGNORED_P (decl) = 1;
return decl;
}