[v2,0/4] Initial fixes for clang build support

Message ID 20221102145559.1962008-1-adhemerval.zanella@linaro.org
Headers
Series Initial fixes for clang build support |

Message

Adhemerval Zanella Nov. 2, 2022, 2:55 p.m. UTC
  The patchset is the updated version based on review comments.  I removed
the longlong.h cast patch in and rewrote using a script to remove the
casts.

Adhemerval Zanella (3):
  Rewrite find_cxx_header config configure.ac
  stdlib: Remove if inline asm context casts if compiler does not
    support it
  Apply asm redirection in gmp.h before first use

Fangrui Song (1):
  Disable __USE_EXTERN_INLINES for clang

 Makerules                            |  13 ++++
 configure                            |  33 ++++++++-
 configure.ac                         |  26 ++++++-
 include/features.h                   |   2 +-
 include/gmp.h                        |  12 ----
 scripts/filter-asm-inline-cast.py    | 102 +++++++++++++++++++++++++++
 stdlib/gmp.h                         |  72 ++++++++++---------
 stdlib/{longlong.h => longlong.h.in} |   0
 stdlib/strtod_l.c                    |   2 +-
 9 files changed, 211 insertions(+), 51 deletions(-)
 create mode 100755 scripts/filter-asm-inline-cast.py
 rename stdlib/{longlong.h => longlong.h.in} (100%)