gcc/ChangeLog.gimple-classes:
* tree-switch-conversion.c (struct switch_conv_info): Strengthen
fields "arr_ref_first" and "arr_ref_last" from gimple to
gassign *.
---
gcc/ChangeLog.gimple-classes | 6 ++++++
gcc/tree-switch-conversion.c | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/gcc/ChangeLog.gimple-classes b/gcc/ChangeLog.gimple-classes
index 4e563ee..71eefde 100644
--- a/gcc/ChangeLog.gimple-classes
+++ b/gcc/ChangeLog.gimple-classes
@@ -1,5 +1,11 @@
2014-11-06 David Malcolm <[email protected]>
+ * tree-switch-conversion.c (struct switch_conv_info): Strengthen
+ fields "arr_ref_first" and "arr_ref_last" from gimple to
+ gassign *.
+
+2014-11-06 David Malcolm <[email protected]>
+
* tree-sra.c (build_accesses_from_assign): Strengthen param "stmt"
from gimple to gassign *.
(scan_function): Add checked cast within case GIMPLE_ASSIGN.
diff --git a/gcc/tree-switch-conversion.c b/gcc/tree-switch-conversion.c
index 074b5a4..f5172e9 100644
--- a/gcc/tree-switch-conversion.c
+++ b/gcc/tree-switch-conversion.c
@@ -599,10 +599,10 @@ struct switch_conv_info
/* The first load statement that loads a temporary from a new static array.
*/
- gimple arr_ref_first;
+ gassign *arr_ref_first;
/* The last load statement that loads a temporary from a new static array.
*/
- gimple arr_ref_last;
+ gassign *arr_ref_last;
/* String reason why the case wasn't a good candidate that is written to the
dump file, if there is one. */
--
1.7.11.7