From: Jakub Jelinek Date: Thu, 27 Dec 2007 08:28:16 +0000 (+0100) Subject: re PR debug/34535 (FAIL: libmudflap.c++/fail24-frag.cxx ICE) X-Git-Tag: releases/gcc-4.3.0~809 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2925ff2109fb38c43030bc610f47e6ab7115486;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cbba254700c..c3dc9526ed39 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-12-27 Jakub Jelinek + + 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 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Move AT90USB82 diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c index 7022f28d84da..950ad8c2fd59 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; }