https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115533

--- Comment #21 from Sam James <sjames at gcc dot gnu.org> ---
It fell out when building media-libs/flac's tests after I threw in -fipa-pta in
a test container for a single run where I check trunk for regressions.

Building flac itself, I can reproduce it with:
```
export CFLAGS="-O3 -ggdb3 -march=znver2 -fipa-pta -fno-vect-cost-model"
export CXXFLAGS="-O3 -ggdb3 -march=znver2 -fipa-pta -fno-vect-cost-model"
export LDFLAGS="-Wl,-O1"
cmake -B build-bad -DINSTALL_MANPAGES=OFF -DCMAKE_BUILD_TYPE=Debug
-DBUILD_SHARED_LIBS=ON
make -C build-bad
ctest --test-dir build-bad -R generate_streams
ctest --test-dir build-bad --tests-information -o -R replaygain
--output-on-failure
```

(*BUILD_TYPE and *SHARED_LIBS can be emitted if desired - was just there for
debugging while I went as wanted assertions, and you can just run make -C
build-bad and then make -C build-bad check).

It fails like:
```
[...]
replaygain.flac: 64.820000 1.000000 64.820000 1.000000
CPU info (x86-64):
  CMOV ....... Y
  MMX ........ Y
  SSE ........ Y
  SSE2 ....... Y
  SSE3 ....... Y
  SSSE3 ...... Y
  SSE41 ...... Y
  SSE42 ...... Y
  AVX ........ Y
  FMA ........ Y
  AVX2 ....... Y
  BMI2 ....... Y
  AVX OS sup . Y
CPU info (x86-64):
  CMOV ....... Y
  MMX ........ Y
  SSE ........ Y
  SSE2 ....... Y
  SSE3 ....... Y
  SSSE3 ...... Y
  SSE41 ...... Y
  SSE42 ...... Y
  AVX ........ Y
  FMA ........ Y
  AVX2 ....... Y
  BMI2 ....... Y
  AVX OS sup . Y
ERROR, Expected -12.73 db instead of comment[1]: REPLAYGAIN_TRACK_GAIN=+64.82
dB


0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.09 sec

The following tests FAILED:
          7 - replaygain (Failed)
Errors while running CTest
```

(Will check out your link now, thanks!)

Reply via email to