https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122686
Bug ID: 122686
Summary: [16 Regression] 521.wrf_r build hang on GNR with
-Ofast -march=native -flto
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: haochen.jiang at intel dot com
Target Milestone: ---
I met a build hang currently on trunk on Granite Rapids for 521.wrf_r under
option '-Ofast -mfpmath=sse -march=native -flto -fno-stack-arrays'.
It stuck at here:
lto1 -quiet -dumpbase ./wrf_r.ltrans93.ltrans (with all the options)
w/o -fno-stack-arrays will also hang at lto stage. (w/o -fno-stack-arrays, it
will hang at ltrans89)
I have tried with r16-5247, it will not hang. r16-5259 will hang, the patches
between are all the 'Move mergephi functionality to cfgcleanup' patch series.
I will also try on Ice Lake with the same options to see if it will also hang
(I guess so).