From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 368 invoked by alias); 17 Aug 2004 09:52:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 32675 invoked by uid 48); 17 Aug 2004 09:52:14 -0000 Date: Tue, 17 Aug 2004 09:52:00 -0000 Message-ID: <20040817095214.32674.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040817094023.17061.andrei.mischenko@mail.ru> References: <20040817094023.17061.andrei.mischenko@mail.ru> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17061] c++ syntax analyser bug. "A a(int(x));" declares an object and calls a constructor, but is parsed as if it were "A a(int x);" which declares a function pointer. X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01643.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-17 09:52 ------- Dup of bug 11796 which is already fixed for 3.4.0 by the new C++ parser. *** This bug has been marked as a duplicate of 11796 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Keywords| |rejects-valid Resolution| |DUPLICATE Summary|c++ syntax analyser bug. "A |c++ syntax analyser bug. "A |a(int(x));" declares an |a(int(x));" declares an |object and calls a |object and calls a |constructor, but is parsed |constructor, but is parsed |as if it were "A a(int x);" |as if it were "A a(int x);" |which declares a function |which declares a function |pointer. |pointer. Target Milestone|--- |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17061