Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src PR port-vax/51967 GCC 5.4 aborts on vax due to SIGILL for cc1



details:   https://anonhg.NetBSD.org/src/rev/da7292ba03b1
branches:  trunk
changeset: 821704:da7292ba03b1
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Feb 13 22:31:09 2017 +0000

description:
PR port-vax/51967 GCC 5.4 aborts on vax due to SIGILL for cc1
As a workaround, compile dse.c with -O0.

diffstat:

 doc/HACKS                                  |  12 +++++++++++-
 external/gpl3/gcc/usr.bin/backend/Makefile |   3 ++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 2bbd2ad14c7f -r da7292ba03b1 doc/HACKS
--- a/doc/HACKS Mon Feb 13 21:51:30 2017 +0000
+++ b/doc/HACKS Mon Feb 13 22:31:09 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.177 2017/02/11 04:59:01 christos Exp $
+# $NetBSD: HACKS,v 1.178 2017/02/13 22:31:09 rin Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -538,6 +538,16 @@
                internal compiler error: in change_address_1, at emit-rtl.c:2019
        kcah
 
+       hack    gcc 5.4 cc1 miscompile
+       date    Tue Feb 14 07:19:57 JST 2017
+       who     rin
+       pr      port-vax/51967
+       file    external/gpl3/gcc/usr.bin/backend/Makefile : 1.35
+       descr
+               cc1 aborts due to SIGILL when compiling the sample code attached
+               to the PR. As a workaround, compile dse.c with -O0.
+       kcah
+
 port   arm
 
        hack    gcc-unsigned-compare
diff -r 2bbd2ad14c7f -r da7292ba03b1 external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile        Mon Feb 13 21:51:30 2017 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile        Mon Feb 13 22:31:09 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.34 2016/09/29 20:08:25 uwe Exp $
+#      $NetBSD: Makefile,v 1.35 2017/02/13 22:31:09 rin Exp $
 
 LIBISPRIVATE=  yes
 
@@ -461,6 +461,7 @@
 COPTS.builtins.c+=-O0
 COPTS.convert.c+=-O0
 COPTS.dwarf2out.c+=-O0
+COPTS.dse.c+=-O0                                       /* port-vax/51967 */
 COPTS.expmed.c+=-O0
 COPTS.expr.c+=-O0
 COPTS.fixed-value.c+=-O0



Home | Main Index | Thread Index | Old Index