https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92879
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Target| |x86_64-linux-gnu | |aarch64-linux-gnu (LP64 | |targets) Component|c++ |tree-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is seeming related to ILP32 vs LP64. That is the warning does not show up in ILP32 ABI targets.