Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-10]: src Pull up following revision(s) (requested by rin in ticke...
details: https://anonhg.NetBSD.org/src/rev/011660ed5f39
branches: netbsd-10
changeset: 378086:011660ed5f39
user: martin <martin%NetBSD.org@localhost>
date: Wed Jul 19 14:15:28 2023 +0000
description:
Pull up following revision(s) (requested by rin in ticket #237):
usr.bin/xlint/lint1/decl.c: revision 1.361
doc/HACKS: revision 1.239
lint1:initdecl(): Remove hack for now-fixed PR port-sh3/56311
doc/HACKS: PR port-sh3/56311 has been fixed.
diffstat:
doc/HACKS | 15 +--------------
usr.bin/xlint/lint1/decl.c | 8 ++------
2 files changed, 3 insertions(+), 20 deletions(-)
diffs (58 lines):
diff -r e9eb95a4bbf4 -r 011660ed5f39 doc/HACKS
--- a/doc/HACKS Wed Jul 19 14:11:14 2023 +0000
+++ b/doc/HACKS Wed Jul 19 14:15:28 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.232 2022/12/04 22:35:15 jakllsch Exp $
+# $NetBSD: HACKS,v 1.232.2.1 2023/07/19 14:15:28 martin Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -1016,19 +1016,6 @@ port sh3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101177
kcah
-port sh3
-hack compile lint1/initdecl() with -O0 for sh3 (port-sh3/56311)
-cdate Thu Jul 15 07:58:05 UTC 2021
-mdate Fri Jul 16 10:00:00 UTC 2021
-who rin
-file src/usr.bin/xlint/lint1/decl.c: 1.200
-descr GCC 9 and 10 miscompile initdecl() due to mischoice of register,
- as described in the PR. Compiling this function with -O0 works
- around the problem.
- The problem has been reported to upstream as GCC Bug 101469:
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
-kcah
-
port vax
hack compile blake2b.c with -O0 for vax
cdate Wed Oct 13 14:28:32 UTC 2021
diff -r e9eb95a4bbf4 -r 011660ed5f39 usr.bin/xlint/lint1/decl.c
--- a/usr.bin/xlint/lint1/decl.c Wed Jul 19 14:11:14 2023 +0000
+++ b/usr.bin/xlint/lint1/decl.c Wed Jul 19 14:15:28 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.302 2022/10/01 10:04:06 rillig Exp $ */
+/* $NetBSD: decl.c,v 1.302.2.1 2023/07/19 14:15:28 martin Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID)
-__RCSID("$NetBSD: decl.c,v 1.302 2022/10/01 10:04:06 rillig Exp $");
+__RCSID("$NetBSD: decl.c,v 1.302.2.1 2023/07/19 14:15:28 martin Exp $");
#endif
#include <sys/param.h>
@@ -85,10 +85,6 @@ static void check_global_variable_size(c
* initializes all global vars used in declarations
*/
void
-#ifdef __sh3__
-/* XXX port-sh3/56311 */
-__attribute__((optimize("O0")))
-#endif
initdecl(void)
{
Home |
Main Index |
Thread Index |
Old Index