>> This patch would like to avoid the ICE when template lambdas call with
>> default parameters in unevaluated context. The bug is the same as
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119385. For example as blow:
>>
>> 1 | template
>> 2 | void foo(T x) {
>> 3 | sizeo
>> This patch would like to avoid the ICE when template lambdas call with
>> default parameters in unevaluated context. For example as blow:
>>
>> 1 │ template
>> 2 │ void foo(T x) {
>> 3 │ sizeof [](T=x) { return 0; }();
>> 4 │ }
>> 5 │
>> 6 │ void test
This patch would like to avoid the ICE when template lambdas call with
default parameters in unevaluated context. For example as blow:
1 │ template
2 │ void foo(T x) {
3 │ sizeof [](T=x) { return 0; }();
4 │ }
5 │
6 │ void test {
7 │ foo(0);
8 │
>On 1/15/25 7:36 PM, yxj-github-437 wrote:
>>> On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote:
>>>> From: yxj-github-437 <2457369...@qq.com>
>>>>
>>>> This patch attempts to fix an error when build module std. The reason for
>>>
I notice std::timespec and std::timespec_get are used in preprocessor
condition _GLIBCXX_HAVE_TIMESPEC_GET. So in module std, it should be
the same.
libstdc++-v3:
* src/c++23/std-clib.cc.in: move std::timespec in preprocessor
condition _GLIBCXX_HAVE_TIMESPEC_GET
---
libstdc++-v3/s
> On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote:
>> From: yxj-github-437 <2457369...@qq.com>
>>
>> This patch attempts to fix an error when build module std. The reason for the
>> error is __builrin_va_list (aka struct __va_list) is an internal linkage. so
>On Fri, Jan 03, 2025 at 05:18:55PM +, xxx wrote:
>> From: yxj-github-437 <2457369...@qq.com>
>>
>> This patch attempts to fix an error when build module std. The reason for the
>> error is __builrin_va_list (aka struct __va_list) is an internal linkage. so
gcc/
* config.gcc: fix target aarch64-linux-android, arm-linux-androideabi,
i686-linux-android, x86_64-linux-android
* config/linux-android.h: fix SPEC based on aarch64-linux-android-clang
* config/aarch64/aarch64-elf.h: Add Macro DEFAULT_ASM_SPEC
* config/aa
This is a patch to fix target android
0001-Android-Fix-build-for-Android.patch
Description: Binary data