r277854 - in /trunk/gcc: ChangeLog testsuite/Ch...

msebor@gcc.gnu.org msebor@gcc.gnu.org
Tue Nov 5 17:05:00 GMT 2019


Author: msebor
Date: Tue Nov  5 17:05:33 2019
New Revision: 277854

URL: https://gcc.gnu.org/viewcvs?rev=277854&root=gcc&view=rev
Log:
PR middle-end/92333 - missing variable name referencing VLA in warnings
PR middle-end/82608 - missing -Warray-bounds on an out-of-bounds VLA index

gcc/testsuite/ChangeLog:

	PR middle-end/92333
	PR middle-end/82608
	* gcc.dg/Warray-bounds-51.c: New test.

gcc/ChangeLog:

	PR middle-end/92333
	PR middle-end/82608
	* tree-vrp.c (vrp_prop::check_array_ref): Handle VLAs with constant
	size.
	* tree-ssa-ccp.c (fold_builtin_alloca_with_align): Use a meaninful
	name and location for a temporary variable.


Added:
    trunk/gcc/testsuite/gcc.dg/Warray-bounds-51.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-ccp.c
    trunk/gcc/tree-vrp.c



More information about the Gcc-cvs mailing list