[PATCH] D133405: [Linux] Hack around Linux/sparc <bits/stdio-ldbl.h>

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 8 20:56:00 PDT 2022


MaskRay accepted this revision.
MaskRay added a subscriber: zatrazz.
MaskRay added a comment.
This revision is now accepted and ready to land.

So, sparc64 gcc does seem to define the macro by default. ¯\_(ツ)_/¯

  % sparc64-linux-gnu-gcc -E -dM -xc /dev/null -nostdinc | grep NO_INLINE
  #define __NO_INLINE__ 1

This needs a test in `clang/test/Preprocessor/init.c` (find `SPARC`) with a link to the canonical place to discuss the glibc problem (@zatrazz).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133405/new/

https://reviews.llvm.org/D133405



More information about the cfe-commits mailing list