https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120729
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-bisection
Component|tree-optimization |c++
Known to fail| |14.3.1
Blocks|24639 |
Known to work| |15.1.1, 16.0
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Interestingly compiling the preprocessed source with a arm cross from x86-64
does not show the problem with GCC trunk (where I happen to have a built cross
lying around). -ftime-report there shows
uninit var analysis : 0.01 ( 0%) 1400 ( 0%)
TOTAL : 18.00 277M
The uninit code didn't see any changes since GCC 14 (surrounding optimization
of course could).
I can confirm this on the GCC 14 branch with a cross. We're doing analysis
in typeFromString. GCC 15 isn't affected either. It would be nice to know
what fixed this.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
[Bug 24639] [meta-bug] bug to track all Wuninitialized issues