From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32614 invoked by alias); 26 Mar 2003 10:06: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 32592 invoked by uid 71); 26 Mar 2003 10:06:01 -0000 Resent-Date: 26 Mar 2003 10:06:01 -0000 Resent-Message-ID: <20030326100601.32590.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, snyder@fnal.gov Received: (qmail 32475 invoked from network); 26 Mar 2003 10:05:32 -0000 Received: from unknown (HELO localhost.localdomain) (131.225.227.8) by sources.redhat.com with SMTP; 26 Mar 2003 10:05:32 -0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h2QA5FlV005548 for ; Wed, 26 Mar 2003 05:05:15 -0500 Received: (from sss@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id h2QA5Duc005481; Wed, 26 Mar 2003 05:05:14 -0500 Message-Id: <200303261005.h2QA5Duc005481@localhost.localdomain> Date: Wed, 26 Mar 2003 10:16:00 -0000 From: snyder@fnal.gov Reply-To: snyder@fnal.gov To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: c++/10219: g++ 3.4: ICE in maybe_adjust_types_for_deduction on invalid code X-SW-Source: 2003-03/txt/msg01783.txt.bz2 List-Id: >Number: 10219 >Category: c++ >Synopsis: g++ 3.4: ICE in maybe_adjust_types_for_deduction on invalid code >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Wed Mar 26 10:06:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: scott snyder >Release: 3.4 20030325 (experimental) >Organization: >Environment: System: Linux karma 2.4.19-emp_2419p5a829i #1 Tue Sep 3 17:42:17 EST 2002 i686 i686 i386 GNU/Linux Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc/configure --prefix=/usr/local/gcc --enable-threads=posix --enable-long-long --enable-languages=c,c++,f77 : (reconfigured) >Description: g++ dies compiling the (invalid) code below. $ g++ -c y.cc y.cc: In function `void foo()': y.cc:4: error: aggregate `fps_chan_ID fps' has incomplete type and cannot be defined y.cc:5: internal compiler error: tree check: expected class 't', have 'x' ( error_mark) in maybe_adjust_types_for_deduction, at cp/pt.c:8754 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $ >How-To-Repeat: --------------------------- template void make_pair(T x); void foo(){ struct fps_chan_ID fps; make_pair(fps); } --------------------------- >Fix: >Release-Note: >Audit-Trail: >Unformatted: