I'm experimentally rebuilding rawhide with the not-yet-released GCC 15 to see if anything breaks, and to help write the porting guide. See https://fedoraproject.org/wiki/User:Dmalcolm/gcc-15 My test build with GCC 15 failed, but just on aarch64: https://copr.fedorainfracloud.org/coprs/dmalcolm/gcc-15-smoketest-3.failed/build/8476332/ whereas my test build with GCC 14 succeeded: https://copr.fedorainfracloud.org/coprs/dmalcolm/gcc-15-smoketest-3.failed.checker/build/8478555/ Looking at the failure logs: https://download.copr.fedorainfracloud.org/results/dmalcolm/gcc-15-smoketest-3.failed/fedora-rawhide-aarch64/08476332-flac/builder-live.log.gz I see: testing FLAC__crc16 ... FAILED, FLAC__crc16 result did not match reference CRC for 1 bytes of test data I believe GCC 15 gained an optimization pass for CRC logic, so I'm worried this might be a GCC wrong-code issue. Reproducible: Didn't try
Possibly a dup of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117997
Might be fixed by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117997#c14 (I'm not sure)
Yeah, this should be fixed in the upcoming gcc-15.0.1-0.1.fc42 (plan to start building in the evening).
Confirmed with another scratch rebuild that this is fixed with gcc-15.0.1-0.3.fc42.