public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/59019] New: [4.9 regression] ICE in advance_target_bb, at sched-rgn.c:3561
@ 2013-11-06 10:48 schwab@linux-m68k.org
  2013-11-06 11:39 ` [Bug rtl-optimization/59019] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2013-11-06 10:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59019

            Bug ID: 59019
           Summary: [4.9 regression] ICE in advance_target_bb, at
                    sched-rgn.c:3561
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org
                CC: law at gcc dot gnu.org
            Target: ia64-*-*

Broken by r204414.

$ gcc/xgcc -B gcc/ ../gcc/testsuite/gcc.dg/20050629-1.c -O2 -S -w
../gcc/testsuite/gcc.dg/20050629-1.c: In function ‘finalize_ssa_v_may_def_ops’:
../gcc/testsuite/gcc.dg/20050629-1.c:238:2: internal compiler error: in
advance_target_bb, at sched-rgn.c:3561
  }
  ^
0x400000000095d1cf advance_target_bb
        ../../gcc/sched-rgn.c:3560
0x40000000010da62f commit_schedule
        ../../gcc/haifa-sched.c:5628
0x40000000010f348f schedule_block(basic_block_def**, void*)
        ../../gcc/haifa-sched.c:6424
0x400000000096c60f schedule_region
        ../../gcc/sched-rgn.c:3057
0x400000000096c60f schedule_insns
        ../../gcc/sched-rgn.c:3393
0x400000000096cf1f schedule_insns
        ../../gcc/sched-rgn.c:3378
0x400000000096cf1f rest_of_handle_sched
        ../../gcc/sched-rgn.c:3586
0x400000000096cf1f execute
        ../../gcc/sched-rgn.c:3650
>From gcc-bugs-return-433705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 06 10:48:59 2013
Return-Path: <gcc-bugs-return-433705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23236 invoked by alias); 6 Nov 2013 10:48:59 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20322 invoked by uid 48); 6 Nov 2013 10:46:57 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59014] [4.9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Wed, 06 Nov 2013 10:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek 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: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-59014-4-X9u9f38gdc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59014-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59014-4@http.gcc.gnu.org/bugzilla/>
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: 2013-11/txt/msg00482.txt.bz2
Content-length: 348

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY014

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I'd say this is .vrp1.  In .mergephi2, we have

  <bb 4>:
  a.1_11 = a.1_5;
  d = a.1_11;
  return 0;

but in .vrp1:

  <bb 4>:
  a.1_13 = 0;
  a.1_11 = 0;
  d = 0;
  return 0;

And yeah, the bug goes away with -fno-tree-vrp.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-18 18:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-06 10:48 [Bug rtl-optimization/59019] New: [4.9 regression] ICE in advance_target_bb, at sched-rgn.c:3561 schwab@linux-m68k.org
2013-11-06 11:39 ` [Bug rtl-optimization/59019] " rguenth at gcc dot gnu.org
2013-11-07  6:46 ` law at redhat dot com
2013-11-07  7:20 ` ebotcazou at gcc dot gnu.org
2013-11-07 17:22 ` ebotcazou at gcc dot gnu.org
2013-11-08 11:02 ` ebotcazou at gcc dot gnu.org
2013-11-08 23:15 ` steven at gcc dot gnu.org
2013-11-15 22:19 ` law at redhat dot com
2013-11-18 18:07 ` law at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).