[all-commits] [llvm/llvm-project] 9ec229: [SystemZ][z/OS] fix ppc-xmmintrin.c on z/OS (#109676)
Zibi Sarbinowski via All-commits
all-commits at lists.llvm.org
Tue Oct 1 12:24:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ec229dd3ede6368ee5fecf9b9731d8d21d8b1d2
https://github.com/llvm/llvm-project/commit/9ec229dd3ede6368ee5fecf9b9731d8d21d8b1d2
Author: Zibi Sarbinowski <zibi at ca.ibm.com>
Date: 2024-10-01 (Tue, 01 Oct 2024)
Changed paths:
M clang/test/CodeGen/PowerPC/ppc-xmmintrin.c
Log Message:
-----------
[SystemZ][z/OS] fix ppc-xmmintrin.c on z/OS (#109676)
This will fix the following failure seeing on z/OS:
```
In file included from clang/test/CodeGen/PowerPC/ppc-xmmintrin.c:31:
In file included from build/lib/clang/20/include/ppc_wrappers/xmmintrin.h:44:
In file included from build/lib/clang/20/include/altivec.h:48:
In file included from build/bin/../include/c++/v1/stddef.h:27:
In file included from build/bin/../include/c++/v1/__config:14:
In file included from build/bin/../include/c++/v1/__configuration/abi.h:15:
In file included from build/bin/../include/c++/v1/__configuration/platform.h:35:
/usr/include/features.h:1:20: error: expected unqualified-id
1 | ??=if ??/
| ^
/usr/include/features.h:2140:20: error: expected unqualified-id
2140 | ??=endif /* __features_h */
| ^
```
Adding `-nostdlibinc` will not use standard system include path and it
will prevent above errors.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list