This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH: PR 19555


Hi,

This patch silences a warning caused by the parent patch, which breaks bootstrap.
Could someone please commit this as obvious?

Cheers,
  Martin


Index: gcc/cp/decl.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/cp/decl.c,v retrieving revision 1.1357 diff -c -3 -p -r1.1357 decl.c *** gcc/cp/decl.c 31 Jan 2005 06:16:54 -0000 1.1357 --- gcc/cp/decl.c 31 Jan 2005 10:26:55 -0000 *************** start_decl (const cp_declarator *declara *** 3702,3708 ****

        /* 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)
          || CLASSTYPE_TEMPLATE_INSTANTIATION (context))
        {
          /* Do not mark DECL as an explicit specialization if it was
--- 3702,3708 ----

        /* 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))
          || CLASSTYPE_TEMPLATE_INSTANTIATION (context))
        {
          /* Do not mark DECL as an explicit specialization if it was


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]