decl2.c (mark_used): Don't instantiate anything if skip_evaluation.
* decl2.c (mark_used): Don't instantiate anything if skip_evaluation. From-SVN: r65644
This commit is contained in:
parent
28e8cf6d61
commit
7aa2166c59
|
@ -1,3 +1,8 @@
|
|||
2003-04-15 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* decl2.c (mark_used): Don't instantiate anything if
|
||||
skip_evaluation.
|
||||
|
||||
2003-03-24 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* Backport from mainline:
|
||||
|
|
|
@ -5195,10 +5195,10 @@ mark_used (decl)
|
|||
tree decl;
|
||||
{
|
||||
TREE_USED (decl) = 1;
|
||||
if (processing_template_decl)
|
||||
if (processing_template_decl || skip_evaluation)
|
||||
return;
|
||||
if (!skip_evaluation)
|
||||
assemble_external (decl);
|
||||
|
||||
assemble_external (decl);
|
||||
|
||||
/* Is it a synthesized method that needs to be synthesized? */
|
||||
if (TREE_CODE (decl) == FUNCTION_DECL
|
||||
|
|
Loading…
Reference in New Issue