]> git.ipfire.org Git - thirdparty/gcc.git/commit
fixinc: don't "fix" machine names in __has_include(...) [PR91085]
authorXi Ruoyao <xry111@mengyan1223.wang>
Mon, 28 Jun 2021 05:54:58 +0000 (13:54 +0800)
committerXi Ruoyao <xry111@mengyan1223.wang>
Wed, 30 Jun 2021 02:43:20 +0000 (10:43 +0800)
commit6bf383c37e6131a8e247e8a0997d55d65c830b6d
tree490acc40b9a3bddc68906ea347bff939b3798e3c
parented392e9db434898eccec81edd85323d21d555fe9
fixinc: don't "fix" machine names in __has_include(...) [PR91085]

fixincludes/

PR other/91085
* fixfixes.c (check_has_inc): New static function.
  (machine_name_fix): Don't replace header names in
  __has_include(...).
* inclhack.def (machine_name): Adjust test.
* tests/base/testing.h: Update.
fixincludes/fixfixes.c
fixincludes/inclhack.def
fixincludes/tests/base/testing.h