From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30130 invoked by alias); 8 Jul 2009 15:44:35 -0000 Received: (qmail 30079 invoked by uid 48); 8 Jul 2009 15:44:21 -0000 Date: Wed, 08 Jul 2009 15:44:00 -0000 Subject: [Bug c++/40684] New: ICE in tsubst X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub 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: 2009-07/txt/msg00655.txt.bz2 // { dg-options "-std=c++0x" } struct A { }; template typename S::A foo (S c, T t, U u) { } struct B { struct C { template C (U t) { A a; A b = foo (this, a, t); } } c; B () : c (A ()) { } }; int main () { B f; } ICEs in tsubst (seeing ADDR_EXPR there). This is likely invalid testcase, though the ICE is the only diagnostics issued, whether the original testcase from http://bugzilla.redhat.com/509596 is valid or not is unclear. -- Summary: ICE in tsubst Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40684