This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r277786 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: msebor at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 04 Nov 2019 18:15:44 -0000
- Subject: r277786 - in /trunk/gcc: ChangeLog testsuite/Ch...
Author: msebor
Date: Mon Nov 4 18:15:43 2019
New Revision: 277786
URL: https://gcc.gnu.org/viewcvs?rev=277786&root=gcc&view=rev
Log:
PR tree-optimization/92349 - ICE in -Warray-bounds of a VLA member
gcc/testsuite/ChangeLog:
PR tree-optimization/92349
* gcc.dg/Warray-bounds-50.c: New test.
gcc/ChangeLog:
PR tree-optimization/92349
* tree-vrp.c (vrp_prop::check_array_ref): Avoid assuming struct
memebers have constant sizes.
Added:
trunk/gcc/testsuite/gcc.dg/Warray-bounds-50.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vrp.c