Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2015-03-04 21:01:00 +0300
committerDJ Delorie <dj@redhat.com>2015-03-04 21:01:00 +0300
commita8c0685bb2f1688f6eddfbff08820ae404ca46fd (patch)
tree6cea5c2ec3bf959026a57466b0325c54ef3a8106 /include
parente8ef9994cf785b86b9db1a6efbb730b96e1e5ae8 (diff)
merge from gcc
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog14
-rw-r--r--include/ansidecl.h9
-rw-r--r--include/dwarf2.h2
-rw-r--r--include/floatformat.h8
4 files changed, 33 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 4dd875ee6..c22539a1c 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,17 @@
+2015-03-02 Markus Trippelsdorf <markus@trippelsdorf.de>
+
+ PR target/65261
+ * ansidecl.h (ATTRIBUTE_NO_SANITIZE_UNDEFINED): New macro.
+
+2015-02-19 Pedro Alves <palves@redhat.com>
+
+ * floatformat.h [__cplusplus]: Wrap in extern "C".
+
+2015-02-04 Jakub Jelinek <jakub@redhat.com>
+
+ * dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran03
+ and DW_LANG_Fortran08.
+
2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
Julian Brown <julian@codesourcery.com>
James Norris <jnorris@codesourcery.com>
diff --git a/include/ansidecl.h b/include/ansidecl.h
index 0fb23bba7..04d75c33f 100644
--- a/include/ansidecl.h
+++ b/include/ansidecl.h
@@ -276,6 +276,15 @@ So instead we use the macro below and test it against specific values. */
# endif /* GNUC >= 4.3 */
#endif /* ATTRIBUTE_HOT */
+/* Attribute 'no_sanitize_undefined' was valid as of gcc 4.9. */
+#ifndef ATTRIBUTE_NO_SANITIZE_UNDEFINED
+# if (GCC_VERSION >= 4009)
+# define ATTRIBUTE_NO_SANITIZE_UNDEFINED __attribute__ ((no_sanitize_undefined))
+# else
+# define ATTRIBUTE_NO_SANITIZE_UNDEFINED
+# endif /* GNUC >= 4.9 */
+#endif /* ATTRIBUTE_NO_SANITIZE_UNDEFINED */
+
/* We use __extension__ in some places to suppress -pedantic warnings
about GCC extensions. This feature didn't work properly before
gcc 2.8. */
diff --git a/include/dwarf2.h b/include/dwarf2.h
index ca440dd42..e05955cad 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -312,6 +312,8 @@ enum dwarf_source_language
DW_LANG_C_plus_plus_11 = 0x001a, /* dwarf5.20141029.pdf DRAFT */
DW_LANG_C11 = 0x001d,
DW_LANG_C_plus_plus_14 = 0x0021,
+ DW_LANG_Fortran03 = 0x0022,
+ DW_LANG_Fortran08 = 0x0023,
DW_LANG_lo_user = 0x8000, /* Implementation-defined range start. */
DW_LANG_hi_user = 0xffff, /* Implementation-defined range start. */
diff --git a/include/floatformat.h b/include/floatformat.h
index 04db61a26..e15e07c22 100644
--- a/include/floatformat.h
+++ b/include/floatformat.h
@@ -23,6 +23,10 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
#include "ansidecl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* A floatformat consists of a sign bit, an exponent and a mantissa. Once the
bytes are concatenated according to the byteorder flag, then each of those
fields is contiguous. We number the bits with 0 being the most significant
@@ -149,4 +153,8 @@ floatformat_from_double (const struct floatformat *, const double *, void *);
extern int
floatformat_is_valid (const struct floatformat *fmt, const void *from);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* defined (FLOATFORMAT_H) */