From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28157 invoked by alias); 8 Mar 2014 02:59:28 -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 28129 invoked by uid 48); 8 Mar 2014 02:59:23 -0000 From: "manjian2006 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/60438] [4.9 Regression] dwarf2cfi :2239 still assert,not the same cause as PR 59575 Date: Sat, 08 Mar 2014 02:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manjian2006 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2014-03/txt/msg00636.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #12 from linzj --- I have never known that regression is such a useful resort. (In reply to Jakub Jelinek from comment #11) > Reduced testcase for -Os -m32 -fomit-frame-pointer: > > struct A { int a; }; > struct B { A foo (); }; > struct C { B *foo (); }; > int foo (struct C *, float); > void bar (struct C *); > void baz (struct A *); > int a, b, c; > > int > foo (struct C *y, float x) > { > struct A d; > if (c) > bar (y); > else > { > C g; > g.foo ()->foo (); > a = b; > d.a = (int) (b * x); > } > baz (&d); > } > > Started with r205498.