From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30070 invoked by alias); 17 Oct 2004 02:24:38 -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 30062 invoked by uid 48); 17 Oct 2004 02:24:37 -0000 Date: Sun, 17 Oct 2004 02:24:00 -0000 Message-ID: <20041017022437.30061.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041017014011.18037.mfowles@bluefinrobotics.com> References: <20041017014011.18037.mfowles@bluefinrobotics.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/18037] g++ segfaults on templated code (simple test file included) X-Bugzilla-Reason: CC X-SW-Source: 2004-10/txt/msg02285.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-17 02:24 ------- Fixed in 3.4.0 and above, the code is invalid: template PatternMap::iterator& PatternMap::iterator::iterator& operator++( "iterator& operator" should be "iterator::operator" and there needs to be a typename infront of the first "PatternMap::iterator&". -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Keywords| |ice-on-invalid-code Resolution| |FIXED Target Milestone|--- |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18037