https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91457
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #20 from Martin Sebor <msebor at gcc dot gnu.org> --- g++.dg/warn/Warray-bounds-4.C passes with no FAILs for me with an hppa2.0w-hp-hpux11.11 cross. The test case in comment #2 also triggers the same warning with the cross as with a native x86_64-linux GCC, it looks to me like things are working correctly. If not, please open a new bug.