From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19739 invoked by alias); 19 Oct 2012 00:09:18 -0000 Received: (qmail 19633 invoked by uid 48); 19 Oct 2012 00:08:55 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/54980] [4.8 regression] gimple check: expected gimple_cond(error_mark), have gimple_call() in gimple_cond_set_lhs, at gimple.h:2578 Date: Fri, 19 Oct 2012 00:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-10/txt/msg01719.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54980 --- Comment #3 from Dmitry G. Dyachenko 2012-10-19 00:08:54 UTC --- and more $ cat 1.ii class A { }; template < int (*t_parser) () > class B { virtual int parse () { A a; t_parser (); } }; extern "C" int f (); class C:B < f > { }; void g () { new C; } $ cat 2.ii extern "C" int f (); char *a[] = { 0, 0 }; void bar (char *); int f () { int i; while (1) bar (a[i++]); }