From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45520 invoked by alias); 7 Mar 2015 05:54:07 -0000 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 Received: (qmail 45458 invoked by uid 48); 7 Mar 2015 05:54:03 -0000 From: "kugan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61207] [4.9 Regression] Win64 gcc 4.9.0: ICE in in expand_expr_addr_expr_1 at -Os compiling some C++ code Date: Sat, 07 Mar 2015 05:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kugan at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg00773.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61207 kugan at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kugan at gcc dot gnu.org --- Comment #7 from kugan at gcc dot gnu.org --- For the testcase in comment #6, it works if i use -fno-tree-sra. diff -u6 nok/pr1314.c.022t.forwprop1 nok/pr1314.c.024t.esra --- nok/pr1314.c.022t.forwprop1 2015-03-07 16:16:43.839799627 +1100 +++ nok/pr1314.c.024t.esra 2015-03-07 16:16:43.839799627 +1100 @@ -25,24 +25,38 @@ } ;; Function virtual A C::_ZTv0_n12_NK1CIiE5m_fn1Ev() const (_ZTv0_n12_NK1CIiE5m_fn1Ev, funcdef_no=3, decl_uid=4649, symbol_order=12) +Created a replacement for D.4707 offset: 0, size: 32: SR.6 +Created a replacement for D.4707 offset: 32, size: 32: SR.7 +Removing load: = D.4707; + +Symbols to be put in SSA form +{ D.4697 D.4708 D.4709 } +Incremental SSA update started at block: 0 +Number of blocks in CFG: 3 +Number of blocks to update: 2 ( 67%) + + virtual A C::_ZTv0_n12_NK1CIiE5m_fn1Ev() const (const struct C * const this) { + float SR.7; + float SR.6; struct A D.4707; const struct C * adjusted_this.3; int (*) () vcalloffset.2; int (*) () * vtableaddr.1; int (*) () * * vptr.0; struct A ; : - D.4707.xp = 0.0; - D.4707.yp = 0.0; - = D.4707; + SR.6_12 = 0.0; + SR.7_11 = 0.0; + MEM[(struct A *)&] = SR.6_12; + MEM[(struct A *)& + 4B] = SR.7_11; return ; }