This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/65979] [4.9/5/6 Regression] [SH] Wrong code is generated with stage1 compiler
- From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 May 2015 11:20:27 +0000
- Subject: [Bug target/65979] [4.9/5/6 Regression] [SH] Wrong code is generated with stage1 compiler
- Auto-submitted: auto-generated
- References: <bug-65979-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979
--- Comment #27 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
(In reply to Oleg Endo from comment #25)
> So, if I understand correctly ...
> - 4.9.something doesn't bootstrap because of something unknown
It doesn't bootstrap because the D compiler fails the compare test. This
happens both on gcc-4.8 and gcc-4.9, here's the excerpt from 4.8 [1]:
Comparing stages 2 and 3
warning: gcc/cc1objplus-checksum.o differs
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cc1obj-checksum.o differs
Bootstrap comparison failure!
gcc/d/ctfeexpr.dmd.o differs
> - 5.something doesn't bootstrap because of c#19
>
> ... right?
Yeah, that seems to be unrelated. Sorry for the confusion. I assumed those were
the same.
> Adrian, which compiler do you use to build the SH native compiler(s)?
> Last time I've tried to do a native GCC 5 build on the SH4 debian box,
> vanilla GCC would not build and I gave up. Sorry for my impatience.
gcc-4.9.2_10 which is SVN_r218987 (20141220).
> > But in any case, I am super happy you guys are fixing this. I will be back
> > in Japan in October, so if I have a chance to meet either of you, I owe you
> > some beer/sake/wine etc :).
>
> Will trade beer for Mohnkuchen.
> Will trade many other things for an SH4A-X4 8-core board with 2+ GB RAM.
Heh. I could try to talk to Nobuhiro again. Maybe he has some ideas where to
get hold of faster SH4 hardware.
Adrian
> [1] http://buildd.debian-ports.org/status/fetch.php?pkg=gcc-4.8&arch=sh4&ver=4.8.4-2&stamp=1432515052