r253357 - in /trunk/gcc: ChangeLog testsuite/Ch...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Mon Oct 2 15:48:00 GMT 2017
Author: jakub
Date: Mon Oct 2 15:48:55 2017
New Revision: 253357
URL: https://gcc.gnu.org/viewcvs?rev=253357&root=gcc&view=rev
Log:
* tree-dfa.c (get_ref_base_and_extent): Set *pmax_size to -1
if *poffset + *pmax_size overflows in HOST_WIDE_INT.
Set *poffset to 0 and *psize and *pmax_size to -1 if
*poffset + *psize overflows in HOST_WIDE_INT.
* gcc.dg/pr82389.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr82389.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-dfa.c
More information about the Gcc-cvs
mailing list