From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25332 invoked by alias); 22 Feb 2007 06:53:01 -0000 Received: (qmail 25295 invoked by uid 48); 22 Feb 2007 06:52:52 -0000 Date: Thu, 22 Feb 2007 06:53:00 -0000 Message-ID: <20070222065252.25294.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/30917] [4.3 Regression] ICE with friend in local class (to a function) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg02537.txt.bz2 ------- Comment #2 from pinskia at gcc dot gnu dot org 2007-02-22 06:52 ------- I take back this being valid code, to make it valid add "class QGList;" before the function. You still end up with an ICE so this is still a bug. This worked with "4.1.0 20051026" so it is at least a 4.3.0 regression. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE with friend in local |[4.3 Regression] ICE with |class (to a function) |friend in local class (to a | |function) Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30917