projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ROCm for multi-target support
[deliverable/binutils-gdb.git]
/
include
/
ansidecl.h
diff --git
a/include/ansidecl.h
b/include/ansidecl.h
index c11daffedb980fa7fa9f3f8297d7d237d9761fae..e3f8ba72671ee4f580abb328f4f18d6e78d46322 100644
(file)
--- a/
include/ansidecl.h
+++ b/
include/ansidecl.h
@@
-1,5
+1,5
@@
/* ANSI and traditional C compatability macros
/* ANSI and traditional C compatability macros
- Copyright (C) 1991-20
18
Free Software Foundation, Inc.
+ Copyright (C) 1991-20
20
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
@@
-283,6
+283,15
@@
So instead we use the macro below and test it against specific values. */
# endif /* GNUC >= 4.9 */
#endif /* ATTRIBUTE_NO_SANITIZE_UNDEFINED */
# endif /* GNUC >= 4.9 */
#endif /* ATTRIBUTE_NO_SANITIZE_UNDEFINED */
+/* Attribute 'nonstring' was valid as of gcc 8. */
+#ifndef ATTRIBUTE_NONSTRING
+# if GCC_VERSION >= 8000
+# define ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
+# else
+# define ATTRIBUTE_NONSTRING
+# endif
+#endif
+
/* We use __extension__ in some places to suppress -pedantic warnings
about GCC extensions. This feature didn't work properly before
gcc 2.8. */
/* We use __extension__ in some places to suppress -pedantic warnings
about GCC extensions. This feature didn't work properly before
gcc 2.8. */
This page took
0.025385 seconds
and
4
git commands to generate.