re PR tree-optimization/86988 (ICE: tree check: expected integer_cst, have var_decl...
authorRichard Biener <rguenther@suse.de>
Wed, 22 Aug 2018 11:01:58 +0000 (11:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 22 Aug 2018 11:01:58 +0000 (11:01 +0000)
commitacc2580750f930440cabe85650df8a2f20ff520d
tree87fb853e26710c2432d55e0a90685db4cd815017
parent66c4f4d8c4399c499f1af5f550bf28878a8d69db
re PR tree-optimization/86988 (ICE: tree check: expected integer_cst, have var_decl in get_len, at tree.h:5563)

2018-08-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/86988
* tree-vrp.c (vrp_prop::check_mem_ref): Bail out on VLAs.

* g++.dg/pr86988.C: New testcase.

From-SVN: r263762
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr86988.C [new file with mode: 0644]
gcc/tree-vrp.c