public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jason at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/37875] [c++0x] misinterpreted closing angle bracket in decltype operand
Date: Sun, 18 Oct 2009 05:13:00 -0000	[thread overview]
Message-ID: <20091018051330.26274.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37875-5473@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from jason at gcc dot gnu dot org  2009-10-18 05:13 -------
Subject: Bug 37875

Author: jason
Date: Sun Oct 18 05:13:05 2009
New Revision: 152966

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152966
Log:
        PR c++/38798
        * parser.c (CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS): New.
        (cp_parser_type_specifier): Don't try to parse a class-specifier
        or enum-specifier in that case.
        (cp_parser_trailing_type_id): New.
        (cp_parser_late_return_type_opt): Call it.
        (cp_parser_type_id_1): Add is_trailing_return parm.
        (cp_parser_type_specifier_seq): Likewise.

        PR c++/40092
        * tree.c (cp_tree_equal): Add test for TEMPLATE_PARM_PARAMETER_PACK
        equality.

        PR c++/37875
        * parser.c (cp_parser_decltype): Set greater_than_is_operator_p.

        PR c++/37766
        * pt.c (type_unification_real): Call convert_template_argument
        for function default template arguments.
        (check_default_tmpl_args): Suggest -std=c++0x when function default
        template args seen in C++98 mode.

        PR c++/37204
        * typeck.c (build_reinterpret_cast_1): Handle rvalue refs
        properly.


Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/decltype18.C
      - copied unchanged from r152686,
trunk/gcc/testsuite/g++.dg/cpp0x/decltype18.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg1.C
      - copied unchanged from r152686,
trunk/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg1.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/rv-reinterpret.C
      - copied unchanged from r152661,
trunk/gcc/testsuite/g++.dg/cpp0x/rv-reinterpret.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/trailing1.C
      - copied unchanged from r152924,
trunk/gcc/testsuite/g++.dg/cpp0x/trailing1.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/trailing2.C
      - copied unchanged from r152924,
trunk/gcc/testsuite/g++.dg/cpp0x/trailing2.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/trailing3.C
      - copied unchanged from r152924,
trunk/gcc/testsuite/g++.dg/cpp0x/trailing3.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/trailing4.C
      - copied unchanged from r152924,
trunk/gcc/testsuite/g++.dg/cpp0x/trailing4.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/trailing5.C
      - copied unchanged from r152924,
trunk/gcc/testsuite/g++.dg/cpp0x/trailing5.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/vt-40092.C
      - copied unchanged from r152751,
trunk/gcc/testsuite/g++.dg/cpp0x/vt-40092.C
Removed:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/auto12.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/auto13.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/auto6.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/auto8.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/parser.c
    branches/gcc-4_4-branch/gcc/cp/pt.c
    branches/gcc-4_4-branch/gcc/cp/tree.c
    branches/gcc-4_4-branch/gcc/cp/typeck.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37875


  parent reply	other threads:[~2009-10-18  5:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20 11:13 [Bug c++/37875] New: " gcc-bugzilla at contacts dot eelis dot net
2008-12-28 23:11 ` [Bug c++/37875] " reichelt at gcc dot gnu dot org
2009-10-12  5:51 ` jason at gcc dot gnu dot org
2009-10-12 21:05 ` jason at gcc dot gnu dot org
2009-10-12 21:49 ` jason at gcc dot gnu dot org
2009-10-18  5:13 ` jason at gcc dot gnu dot org [this message]
2009-10-18  5:17 ` jason at gcc dot gnu dot org
2009-10-18  5:18 ` jason at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091018051330.26274.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).