Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/lint1 lint1:initdecl(): Remove hack for now-fi...



details:   https://anonhg.NetBSD.org/src/rev/d19039c471a5
branches:  trunk
changeset: 377576:d19039c471a5
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Jul 18 03:00:42 2023 +0000

description:
lint1:initdecl(): Remove hack for now-fixed PR port-sh3/56311

diffstat:

 usr.bin/xlint/lint1/decl.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 7321c5d16ff8 -r d19039c471a5 usr.bin/xlint/lint1/decl.c
--- a/usr.bin/xlint/lint1/decl.c        Tue Jul 18 02:58:38 2023 +0000
+++ b/usr.bin/xlint/lint1/decl.c        Tue Jul 18 03:00:42 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.360 2023/07/15 16:17:37 rillig Exp $ */
+/* $NetBSD: decl.c,v 1.361 2023/07/18 03:00:42 rin 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.360 2023/07/15 16:17:37 rillig Exp $");
+__RCSID("$NetBSD: decl.c,v 1.361 2023/07/18 03:00:42 rin Exp $");
 #endif
 
 #include <sys/param.h>
@@ -86,10 +86,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