[Bug target/65979] Multiple issues in conftest.c prevent build on sh4-linux-gnu

kkojima at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat May 2 13:00:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979

Kazumoto Kojima <kkojima at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kkojima at gcc dot gnu.org

--- Comment #3 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
(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.



More information about the Gcc-bugs mailing list