* fold-const.c (c_getstr): Clamp STRING_LENGTH to STRING_SIZE.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 13 Sep 2018 22:00:56 +0000 (22:00 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 13 Sep 2018 22:00:56 +0000 (16:00 -0600)
commit84b5706abb8f5dff634e588071ab4fef080cd05e
treefbbd399a14105566dbb3baa5ec09d61c6383055e
parent5ec9f8cff333bbe9ef6b3767bfcc334961927a03
* fold-const.c (c_getstr): Clamp STRING_LENGTH to STRING_SIZE.

From-SVN: r264293
gcc/ChangeLog
gcc/fold-const.c