r268048 - in /trunk/gcc: ChangeLog gimple-ssa-w...

msebor@gcc.gnu.org msebor@gcc.gnu.org
Thu Jan 17 22:52:00 GMT 2019


Author: msebor
Date: Thu Jan 17 22:52:47 2019
New Revision: 268048

URL: https://gcc.gnu.org/viewcvs?rev=268048&root=gcc&view=rev
Log:
PR middle-end/88273 - [8/9 Regression] warning: 'memcpy' offset [-527, -529]
is out of the bounds [0, 16]

gcc/ChangeLog:

	PR middle-end/88273
	* gimple-ssa-warn-restrict.c (builtin_memref::extend_offset_range):
	Handle anti-ranges the same as no range at all.

gcc/testsuite/ChangeLog:

	PR middle-end/88273
	* gcc.dg/Warray-bounds-38.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/Warray-bounds-38.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-warn-restrict.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list