]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/60601 (profiledbootstrap fails with Ada)
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 23 Mar 2014 11:29:42 +0000 (11:29 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 23 Mar 2014 11:29:42 +0000 (11:29 +0000)
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.

From-SVN: r208770

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

index e085b2ac681193fab0a482c5ad6e9f76c972a303..d629fa3eb8e347c892bd9b9a8753e549f5b906d4 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 3364d93fea2fcd82ecd4bbc847b2f3248bc928f2..fa6f62fbe6867cedefcf930cedea49d22e032465 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 691623ae081f3e7a891ee97a2f645e4615fdf7fd..84ca317403cc907bc4ea753453a2568014468f1f 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)