From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2257 invoked by alias); 8 Feb 2008 23:06:01 -0000 Received: (qmail 1323 invoked by uid 48); 8 Feb 2008 23:05:15 -0000 Date: Fri, 08 Feb 2008 23:06:00 -0000 Subject: [Bug tree-optimization/35144] New: [4.3 regression] ICE in generate_element_copy 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: 2008-02/txt/msg01001.txt.bz2 struct A { int baz (); }; typedef int (A::*P) (); struct B { B (); int foo (P x, int y = 0); }; struct C { typedef int (B::*Q) (P, int); void bar (Q x) { c = x; } Q c; }; extern C c; B::B () { c.bar ((C::Q) &B::foo); } ICEs with: internal compiler error: in generate_element_copy, at tree-sra.c:2603 at -O and above on x86_64-linux (-m64 as well as -m32). Revision 126202 still works, 126654 already ICEs. -- Summary: [4.3 regression] ICE in generate_element_copy Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization 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=35144