Commit c08de514 by Alan Lawrence Committed by Alan Lawrence

Fix whitespace+typo from "Share code from fold_array_ctor_reference with fold."

	* fold-const.c (get_array_ctor_element_at_index): Fix whitespace, typo.

From-SVN: r230159
parent 03f39145
2015-11-11 Alan Lawrence <alan.lawrence@arm.com>
* fold-const.c (get_array_ctor_element_at_index): Fix whitespace, typo.
2015-11-11 Jiong Wang <jiong.wang@arm.com> 2015-11-11 Jiong Wang <jiong.wang@arm.com>
Jim Wilson <wilson@gcc.gnu.org> Jim Wilson <wilson@gcc.gnu.org>
...@@ -11913,9 +11913,9 @@ get_array_ctor_element_at_index (tree ctor, offset_int access_index) ...@@ -11913,9 +11913,9 @@ get_array_ctor_element_at_index (tree ctor, offset_int access_index)
FOR_EACH_CONSTRUCTOR_ELT (CONSTRUCTOR_ELTS (ctor), cnt, cfield, cval) FOR_EACH_CONSTRUCTOR_ELT (CONSTRUCTOR_ELTS (ctor), cnt, cfield, cval)
{ {
/* Array constructor might explicitely set index, or specify range /* Array constructor might explicitly set index, or specify a range,
* or leave index NULL meaning that it is next index after previous or leave index NULL meaning that it is next index after previous
* one. */ one. */
if (cfield) if (cfield)
{ {
if (TREE_CODE (cfield) == INTEGER_CST) if (TREE_CODE (cfield) == INTEGER_CST)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment