Commit 29d7f409 by Jan Hubicka Committed by Jan Hubicka

re PR middle-end/37500 (libstdc++ failed to compile at -O0)

	PR middle-end/37500
	* pt.c (tsubst_decl): Do not copy DECL_STRUCT_FUNCTION pointer.

From-SVN: r140334
parent e99a2dce
2008-09-09 Jan Hubicka <jh@suse.cz>
PR middle-end/37500
* pt.c (tsubst_decl): Do not copy DECL_STRUCT_FUNCTION pointer.
2008-09-09 Jakub Jelinek <jakub@redhat.com>
PR c++/37417
......
......@@ -8179,6 +8179,7 @@ tsubst_decl (tree t, tree args, tsubst_flags_t complain)
DECL_PENDING_INLINE_INFO (r) = 0;
DECL_PENDING_INLINE_P (r) = 0;
DECL_SAVED_TREE (r) = NULL_TREE;
DECL_STRUCT_FUNCTION (r) = NULL;
TREE_USED (r) = 0;
if (DECL_CLONED_FUNCTION (r))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment