[Bug tree-optimization/78969] bogus snprintf truncation warning due to missing range info

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 3 06:48:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78969

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think there might be a dup of this bug already.
basically VRP does a copy prop of where the assert was.
get_range_info is not position sensitive so the range is gone after VRP.


More information about the Gcc-bugs mailing list