From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28740 invoked by alias); 28 Oct 2002 17:16:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 28689 invoked by uid 71); 28 Oct 2002 17:16:01 -0000 Resent-Date: 28 Oct 2002 17:16:01 -0000 Resent-Message-ID: <20021028171601.28687.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, wb@fnal.gov Received: (qmail 25265 invoked by uid 61); 28 Oct 2002 17:14:35 -0000 Message-Id: <20021028171435.25260.qmail@sources.redhat.com> Date: Mon, 28 Oct 2002 09:16:00 -0000 From: wb@fnal.gov Reply-To: wb@fnal.gov To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/8384: g++ -g gives ICE, but compiles ok without -g X-SW-Source: 2002-10/txt/msg01164.txt.bz2 List-Id: >Number: 8384 >Category: c++ >Synopsis: g++ -g gives ICE, but compiles ok without -g >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Oct 28 09:16:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Walter E. Brown >Release: gcc v3.2 >Organization: >Environment: Cygwin >Description: The following short program gives an internal compiler error with v3.2 when compiled with -g, but compiles correctly when -g flag is not used. // ---------- template< class T > T fakemake(); template< class T > struct Identity { typedef T type; }; template< class T, class U> struct Result : public Identity< typeof( true ? fakemake() : fakemake() )> {}; int main () { Result::type i = 0; return i; } >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: