builtins.c (unterminated_array): Rename "data" to "lendata".
authorMartin Sebor <msebor@redhat.com>
Sun, 23 Dec 2018 15:49:43 +0000 (15:49 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 23 Dec 2018 15:49:43 +0000 (08:49 -0700)
commite09aa5bd6df9ec0003f230ba29b8b5545c1b533e
tree19ebc8a5196574fe141f83eee366f522faec0a65
parent3f46ef1ff6b040f8b61ef6311cbb025694db3594
builtins.c (unterminated_array): Rename "data" to "lendata".

* builtins.c (unterminated_array): Rename "data" to "lendata".  Fix
a few comments.
(expand_builtin_strnlen, expand_builtin_stpcpy_1): Likewise.
(fold_builtin_strlen): Likewise.
* gimple-fold.c (get_range_strlen): Likewise.  Also rename a couple
instances of "type" to "optype" and "arg" to "fld".

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r267377
gcc/ChangeLog
gcc/builtins.c
gcc/gimple-fold.c