https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104603
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|wrong detection of g++ |[10/11/12 Regression] wrong |-Warray-bounds about |detection of |downcast |-Warray-bounds for | |interesting tail resusive | |case Component|c++ |tree-optimization Target Milestone|--- |10.4 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Someone else needs to look into this further than me because the warning only happens because there are cases where the access can happen but the accesses are not really used. Also if this is from some larger code, it might be useful to have the non-reduced testcase since the reduced testcase might being showing something different.