Skip to content

Commit

Permalink
merge from gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
djdelorierh committed Mar 4, 2015
1 parent e8ef999 commit a8c0685
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
2015-03-02 Markus Trippelsdorf <[email protected]>

PR target/65261
* ansidecl.h (ATTRIBUTE_NO_SANITIZE_UNDEFINED): New macro.

2015-02-19 Pedro Alves <[email protected]>

* floatformat.h [__cplusplus]: Wrap in extern "C".

2015-02-04 Jakub Jelinek <[email protected]>

* dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran03
and DW_LANG_Fortran08.

2015-01-15 Thomas Schwinge <[email protected]>
Julian Brown <[email protected]>
James Norris <[email protected]>
Expand Down
9 changes: 9 additions & 0 deletions include/ansidecl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
2 changes: 2 additions & 0 deletions include/dwarf2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
8 changes: 8 additions & 0 deletions include/floatformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) */

0 comments on commit a8c0685

Please sign in to comment.