diff mbox

[gimple-classes,committed,09/17] tree-switch-conversion.c: Use gassign

Message ID 1415321971-19808-10-git-send-email-dmalcolm@redhat.com
State New
Headers show

Commit Message

David Malcolm Nov. 7, 2014, 12:59 a.m. UTC
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 mbox

Patch

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  <dmalcolm@redhat.com>
 
+	* 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  <dmalcolm@redhat.com>
+
 	* 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.  */