From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67251 invoked by alias); 2 May 2015 13:00:30 -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 67182 invoked by uid 48); 2 May 2015 13:00: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: Sat, 02 May 2015 13:00: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: 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-05/txt/msg00088.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 Kazumoto Kojima changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkojima at gcc dot gnu.org --- Comment #3 from Kazumoto Kojima --- (In reply to John Paul Adrian Glaubitz from comment #1) > Created attachment 35441 [details] > Preprocessed source files for gcc-5 ccLfmF03.out ccrZ8ce7.out internal compiler error: in make_edges, at tree-cfg.c:923 Looks your build compiler has some wrong code problem. Perhaps reducing optimization level for the build compiler or changing the build compiler may help. cc13zIkw.out ccY9XfBa.out ccQG4ZY9.out ccln30GZ.out error: unable to find a register to spill in class 'R0_REGS' against some atomic constructs. Looks a known issue which unfortunately we have no solution with the current register allocator. You can try new register allocator with new -mlra option. AFAIK, new register allocator (LRA) doesn't cause this error. I can't see these failures on my cross builds of gcc-5, though. It could be a problem of the build compiler too.