This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8
- From: "aoliva at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 24 Jan 2018 09:31:57 +0000
- Subject: [Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8
- Auto-submitted: auto-generated
- References: <bug-83758-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758
--- Comment #19 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
I was copied, presumably because the problem occurred in var-tracking.
I've tried to duplicate the problem on gcc112. I bootstrapped the trunk
(without any --with-cpu flag), and then build attachment 43208 with stage3:
$ ./gccgo -B./ -I../../libgo/go -I../powerpc64le-unknown-linux-gnu/libgo
-I../powerpc64le-unknown-linux-gnu/libgo/go -O2 -g t.go -mcpu=power8 -c
[success]
Given this, I conclude that the problem only occurs if the compiler is
bootstrapped --with-cpu=power[89]. This suggests to me that, although the ICE
is triggered in var-tracking, the problem is unlikely to be there: the compiler
is getting miscompiled. I suppose that, by now, you already knew that ;-)