Module Name: src Committed By: rin Date: Mon Feb 13 22:31:09 UTC 2017
Modified Files: src/doc: HACKS src/external/gpl3/gcc/usr.bin/backend: Makefile Log Message: PR port-vax/51967 GCC 5.4 aborts on vax due to SIGILL for cc1 As a workaround, compile dse.c with -O0. To generate a diff of this commit: cvs rdiff -u -r1.177 -r1.178 src/doc/HACKS cvs rdiff -u -r1.34 -r1.35 src/external/gpl3/gcc/usr.bin/backend/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/doc/HACKS diff -u src/doc/HACKS:1.177 src/doc/HACKS:1.178 --- src/doc/HACKS:1.177 Sat Feb 11 04:59:01 2017 +++ src/doc/HACKS Mon Feb 13 22:31:09 2017 @@ -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 @@ port vax 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 Index: src/external/gpl3/gcc/usr.bin/backend/Makefile diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.34 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.35 --- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.34 Thu Sep 29 20:08:25 2016 +++ src/external/gpl3/gcc/usr.bin/backend/Makefile Mon Feb 13 22:31:09 2017 @@ -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 @@ CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/ 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