Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/dist/libiberty fix lint



details:   https://anonhg.NetBSD.org/src/rev/ceff28837679
branches:  trunk
changeset: 1027689:ceff28837679
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 15 13:29:14 2021 +0000

description:
fix lint

diffstat:

 external/gpl3/gcc/dist/libiberty/cp-demangle.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 287562b0ae71 -r ceff28837679 external/gpl3/gcc/dist/libiberty/cp-demangle.c
--- a/external/gpl3/gcc/dist/libiberty/cp-demangle.c    Wed Dec 15 13:28:29 2021 +0000
+++ b/external/gpl3/gcc/dist/libiberty/cp-demangle.c    Wed Dec 15 13:29:14 2021 +0000
@@ -119,7 +119,7 @@
 # include <alloca.h>
 #else
 # ifndef alloca
-#  ifdef __GNUC__
+#  if defined(__GNUC__) || defined(__lint__)
 #   define alloca __builtin_alloca
 #  else
 extern char *alloca ();



Home | Main Index | Thread Index | Old Index