https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119274
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
__result_30 = _29 + 24;
vec.D.54336._M_impl.D.53591._M_finish = __result_30;
vec.D.54336._M_impl.D.53591._M_start = _29;
__guard._M_storage = 0B;
vec.D.54336._M_impl.D.53591._M_end_of_storage = __result_30;
__guard ={v} {CLOBBER(eob)};
__guard ={v} {CLOBBER(eos)};
__l ={v} {CLOBBER(eos)};
_12 = __result_30 - _29;
```
_12 should be just 24 but it is not optimized as such by the time bounds
warning happens.