From: Mark Mitchell Date: Mon, 31 Jan 2005 16:16:16 +0000 (+0000) Subject: * decl.c (start_decl): Add missing parentheses. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e8f0a2e12493d52dd8009a8921496fce9a5ae63;p=gcc.git * decl.c (start_decl): Add missing parentheses. From-SVN: r94483 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e205886c863..d0ccb13a2d2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2005-01-31 Mark Mitchell + + * decl.c (start_decl): Add missing parentheses. + 2005-01-30 Mark Mitchell PR c++/19555 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index e72b183c6b6..964feaa08fe 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -3702,7 +3702,7 @@ start_decl (const cp_declarator *declarator, /* cp_finish_decl sets DECL_EXTERNAL if DECL_IN_AGGR_P is set. */ DECL_IN_AGGR_P (decl) = 0; - if (DECL_LANG_SPECIFIC (decl) && DECL_USE_TEMPLATE (decl) + if ((DECL_LANG_SPECIFIC (decl) && DECL_USE_TEMPLATE (decl)) || CLASSTYPE_TEMPLATE_INSTANTIATION (context)) { /* Do not mark DECL as an explicit specialization if it was