https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123054
Bug ID: 123054
Summary: 23% slowdown of 538.imagick_r on Zen5 since
r16-5887-g27d9cefeebc255
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: jmelcr at gcc dot gnu.org
CC: jamborm at gcc dot gnu.org
Blocks: 26163
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
As seen here
https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=1286.507.0
there was a 23% exec time slowdown of the 538.imagick_r SPEC 2017
benchmark when compiled with -O2 -march=x86-64-v3 -g -flto=32 -fprofile-use on
an Zen 5 machine. I bisected it to r16-5887-g27d9cefeebc255.
commit 27d9cefeebc2551b6756ef372b80bf03243ad5f5
Author: Martin Jambor <[email protected]>
Date: Thu Dec 4 14:18:05 2025 +0100
vrp: Infer ranges from constant aggregates with initializers (v4)
This is not a regression against GCC 15. See the comparison
here:
https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=1267.507.0&plot.1=1333.507.0&plot.2=1296.507.0&plot.3=1353.507.0&plot.4=1286.507.0&
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163
[Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)