From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8035 invoked by alias); 10 May 2015 00:19:29 -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 7970 invoked by uid 48); 10 May 2015 00:19:23 -0000 From: "kkojima at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65979] Multiple issues in conftest.c prevent build on sh4-linux-gnu Date: Sun, 10 May 2015 00:19: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-Version: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kkojima at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: 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-05/txt/msg00770.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #8 from Kazumoto Kojima --- (In reply to John Paul Adrian Glaubitz from comment #7) > Just built with gcc-4.9_4.9.2-7 which previously successfully built > gcc-4.9_4.9.2-10 [1] but fails to build gcc-4.9_4.9.2-16 [2]. It seems that latest 4.9 and 5.0 have some wrong code problem on this target. We should pin point it. My sh4 board has only 64MB RAM and it takes a week to get stage2 compiler for gcc-5. A reduced testcase for the cross compiler is deadly needed. It looks there are not so many target changes between http://http.debian.net/debian/pool/main/g/gcc-4.9/gcc-4.9_4.9.2-10.diff.gz and http://http.debian.net/debian/pool/main/g/gcc-4.9/gcc-4.9_4.9.2-16.diff.gz 2015-03-26 Oleg Endo Backport from mainline 2015-03-26 Oleg Endo * config/sh/t-sh (MULTILIB_EXCEPTIONS): Handle default endian. 2015-03-10 Oleg Endo PR target/53988 * config/sh/sh.md (*tst_t_zero): Remove insns. 2015-03-03 Kaz Kojima PR target/65249 * config/sh/sh.md (symGOT_load): Use R0 reg for operands[2] when called for __stack_chk_guard symbol. 2015-02-25 Kaz Kojima Backport from mainline 2015-02-23 Kaz Kojima PR target/65153 * config/sh/sh.md (movsicc_true+3): Remove peephole. * config/sh/sh-protos.h (replace_n_hard_rtx): Don't declare. * config/sh/sh.c (replace_n_hard_rtx): Remove. 2015-02-23 Oleg Endo Backport from mainline 2015-02-23 Oleg Endo PR target/65163 * config/sh/sh.md (swapbsi2, related peephole2): Use const_int -65536 instead of const_int 4294901760. 2015-01-08 Christian Bruel PR target/64507 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length. of which revision number in FSF gcc svn are r221686, r221305, r221166, r220957, r220917, r219258 respectively. You can revert the above changes to see what happens. Looks safe changes to me, but some changes could reveal hidden problems. If the issue remains even if all those changes are reverted, there will be no easy way to narrow down.