From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10462 invoked by alias); 6 Jun 2007 10:33:34 -0000 Received: (qmail 10365 invoked by uid 48); 6 Jun 2007 10:33:18 -0000 Date: Wed, 06 Jun 2007 10:33:00 -0000 Subject: [Bug c++/32232] New: [4.1/4.2/4.3 Regression] ICE in resolve_overloaded_unification 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: 2007-06/txt/msg00378.txt.bz2 // { dg-do compile } template struct A; template struct B {}; template A& operator<<(A&, const B&); template struct A { A& operator<<(A& (*)(A&)); }; template A& foo(A&); extern A c; int main() { c << (1, foo); } ICEs in resolve_overloaded_unification with 3.4, 4.1.2 and the trunk, compiles fine with 3.2.3. -- Summary: [4.1/4.2/4.3 Regression] ICE in resolve_overloaded_unification Product: gcc Version: 4.1.2 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=32232