Michael J Gruber <[email protected]> writes:

> Am Sa., 2. Mai 2026 um 10:54 Uhr schrieb David Bremner <[email protected]>:
>>
>>
>> I'm not sure if this is a problem with notmuch and gcc becoming stricter
>> / more ambitious, or a compiler bug, but today I learned that gcc-15
>> 15.2.0-7 (an upstream snapshot) and gcc-16 both miscompile notmuch at
>> optimization level O2. A workaround seems to be to run configure as
>>
>> CFLAGS="-g -O1" ./configure
>>
>> I filed a Debian bug report at
>>
>>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135526
>
> FYI:
> I don't see this on Fedora with notmuch 0.40 and gcc-16.0.1-0.11.fc44
> resp. gcc-15.2.1-7.fc43.

This seems to be fixed in Debian now too. Upstream gcc fixed the
optimization bug in gcc 15.3 and 16.2
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to