From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14566 invoked by alias); 16 Aug 2011 13:01:07 -0000 Received: (qmail 14550 invoked by uid 22791); 16 Aug 2011 13:01:06 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Aug 2011 13:00:51 +0000 From: "kkojima at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/50068] Invalid memory access in incr_ticks_for_insn Date: Tue, 16 Aug 2011 13:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kkojima 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-Changed-Fields: Target Status Last reconfirmed CC Ever Confirmed Known to fail 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: 2011-08/txt/msg01425.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50068 Kazumoto Kojima changed: What |Removed |Added ---------------------------------------------------------------------------- Target|shle--netbsdelf |sh*-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2011-08-16 CC| |kkojima at gcc dot gnu.org Ever Confirmed|0 |1 Known to fail| |4.4.6, 4.5.3, 4.6.1, 4.7.0 --- Comment #5 from Kazumoto Kojima 2011-08-16 13:00:12 UTC --- I've added gcc_assert (last_basic_block >= NUM_FIXED_BLOCKS) line to init_resource_info and confirmed that trunk and all released branches fail with the testcase given in #1 for sh4-unknown-linux-gnu. Perhaps if (optimize > 0 && flag_delayed_branch) dbr_schedule (insns); in sh.c:sh_output_mi_thunk might not be a big deal. I'm testing a patch which simply removes these lines.