mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-22 18:19:54 +08:00
re PR c++/28217 (ICE in tree_int_cst_sgn)
PR c++/28217 * semantics.c (note_decl_for_pch): Don't premangle templates. From-SVN: r115399
This commit is contained in:
parent
f67a67d831
commit
ec0897dedd
@ -1,3 +1,8 @@
|
|||||||
|
2006-07-12 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
|
PR c++/28217
|
||||||
|
* semantics.c (note_decl_for_pch): Don't premangle templates.
|
||||||
|
|
||||||
2006-07-12 Martin Michlmayr <tbm@cyrius.com>
|
2006-07-12 Martin Michlmayr <tbm@cyrius.com>
|
||||||
|
|
||||||
* typeck.c (string_conv_p): Remove spurious quotation mark in
|
* typeck.c (string_conv_p): Remove spurious quotation mark in
|
||||||
|
@ -2339,8 +2339,9 @@ note_decl_for_pch (tree decl)
|
|||||||
|
|
||||||
/* There's a good chance that we'll have to mangle names at some
|
/* There's a good chance that we'll have to mangle names at some
|
||||||
point, even if only for emission in debugging information. */
|
point, even if only for emission in debugging information. */
|
||||||
if (TREE_CODE (decl) == VAR_DECL
|
if ((TREE_CODE (decl) == VAR_DECL
|
||||||
|| TREE_CODE (decl) == FUNCTION_DECL)
|
|| TREE_CODE (decl) == FUNCTION_DECL)
|
||||||
|
&& !processing_template_decl)
|
||||||
mangle_decl (decl);
|
mangle_decl (decl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user