* 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
+2007-12-27 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/34535
+ * tree-mudflap.c (mf_make_builtin): Make decl artificial
+ and don't emit debug info for it.
+
2007-12-26 Anatoly Sokolov <aesok@post.ru>
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Move AT90USB82
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;
}