diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-12-27 09:28:16 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-12-27 09:28:16 +0100 |
commit | e2925ff2109fb38c43030bc610f47e6ab7115486 (patch) | |
tree | a7224a84cd5daa5e01f28c6e5c5435899fbb3c75 /gcc/tree-mudflap.c | |
parent | 82c45e81799f95399ac6c0927c072fc848fc7055 (diff) | |
download | gcc-e2925ff2109fb38c43030bc610f47e6ab7115486.zip gcc-e2925ff2109fb38c43030bc610f47e6ab7115486.tar.gz gcc-e2925ff2109fb38c43030bc610f47e6ab7115486.tar.bz2 |
re PR debug/34535 (FAIL: libmudflap.c++/fail24-frag.cxx ICE)
PR debug/34535
* tree-mudflap.c (mf_make_builtin): Make decl artificial
and don't emit debug info for it.
From-SVN: r131195
Diffstat (limited to 'gcc/tree-mudflap.c')
-rw-r--r-- | gcc/tree-mudflap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c index 7022f28..950ad8c 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; } |