PR rtl-optimization/60601
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Mar 2014 11:29:42 +0000 (11:29 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Mar 2014 11:29:42 +0000 (11:29 +0000)
* bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.

* gcc.c (eval_spec_function): Initialize save_growing_value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208770 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/bb-reorder.c
gcc/gcc.c

index e085b2a..d629fa3 100644 (file)
@@ -1,3 +1,10 @@
+2014-03-23  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR rtl-optimization/60601
+       * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
+
+       * gcc.c (eval_spec_function): Initialize save_growing_value.
+
 2014-03-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR sanitizer/60613
index 3364d93..fa6f62f 100644 (file)
@@ -1826,9 +1826,8 @@ fix_up_fall_thru_edges (void)
          edge e;
          edge_iterator ei;
 
-         /* Find EDGE_CAN_FALLTHRU edge.  */
          FOR_EACH_EDGE (e, ei, cur_bb->succs)
-           if (e->flags & EDGE_CAN_FALLTHRU)
+           if (e->flags & EDGE_FALLTHRU)
              {
                fall_thru = e;
                break;
index 691623a..84ca317 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5481,7 +5481,7 @@ eval_spec_function (const char *func, const char *args)
   const char *save_suffix_subst;
 
   int save_growing_size;
-  void *save_growing_value;
+  void *save_growing_value = NULL;
 
   sf = lookup_spec_function (func);
   if (sf == NULL)