projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e99a2dc
)
re PR middle-end/37500 (libstdc++ failed to compile at -O0)
author
Jan Hubicka
<jh@suse.cz>
Sat, 13 Sep 2008 07:30:15 +0000
(09:30 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Sat, 13 Sep 2008 07:30:15 +0000
(07:30 +0000)
PR middle-end/37500
* pt.c (tsubst_decl): Do not copy DECL_STRUCT_FUNCTION pointer.
From-SVN: r140334
gcc/cp/ChangeLog
patch
|
blob
|
history
gcc/cp/pt.c
patch
|
blob
|
history
diff --git
a/gcc/cp/ChangeLog
b/gcc/cp/ChangeLog
index
cc70e9e
..
f455a32
100644
(file)
--- a/
gcc/cp/ChangeLog
+++ b/
gcc/cp/ChangeLog
@@
-1,3
+1,8
@@
+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
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index
cdaae59
..
67b6dc6
100644
(file)
--- a/
gcc/cp/pt.c
+++ b/
gcc/cp/pt.c
@@
-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))
{