public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/25663] [4.0/4.1/4.2 Regression] Parses operator() call as declarator
Date: Wed, 04 Jan 2006 12:07:00 -0000	[thread overview]
Message-ID: <20060104120730.15671.qmail@sourceware.org> (raw)
In-Reply-To: <bug-25663-10053@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from reichelt at gcc dot gnu dot org  2006-01-04 12:07 -------
Confirmed.
The call to operator() is not the problem, though, as the following shorter
testcase shows:

==========================
template<int> struct A
{
  A(int);
};

void foo()
{
  A<0>(A<0>(0));
}
==========================

This also affects the 4.0 branch. This is a regression from 4.0.2!


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-04 12:07:30
               date|                            |
            Summary|[4.1/4.2 Regression] Parses |[4.0/4.1/4.2 Regression]
                   |operator() call as          |Parses operator() call as
                   |declarator                  |declarator
   Target Milestone|---                         |4.0.3


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



  reply	other threads:[~2006-01-04 12:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04  9:14 [Bug c++/25663] New: [4.1/4.2 " rguenth at gcc dot gnu dot org
2006-01-04 12:07 ` reichelt at gcc dot gnu dot org [this message]
2006-01-04 12:10 ` [Bug c++/25663] [4.0/4.1/4.2 Regression] Trouble parsing nested templated constructor calls rguenth at gcc dot gnu dot org
2006-01-04 12:11 ` rguenth at gcc dot gnu dot org
2006-01-04 12:21 ` reichelt at gcc dot gnu dot org
2006-01-13 21:43 ` rguenth at gcc dot gnu dot org
2006-01-14  4:56 ` mark at codesourcery dot com
2006-01-14  5:58 ` pinskia at gcc dot gnu dot org
2006-01-14 10:55 ` rguenth at gcc dot gnu dot org
2006-01-14 12:22 ` steven at gcc dot gnu dot org
2006-01-14 18:44 ` mark at codesourcery dot com
2006-01-14 18:49 ` mark at codesourcery dot com
2006-01-15  0:56 ` mmitchel at gcc dot gnu dot org
2006-01-15  0:57 ` mmitchel at gcc dot gnu dot org
2006-01-15  0:57 ` mmitchel at gcc dot gnu dot org
2006-01-15  0:59 ` mmitchel 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=20060104120730.15671.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).