]> 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:30:57 +0000 (11:30 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 23 Mar 2014 11:30:57 +0000 (11:30 +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: r208771

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

index 5026d0c16f0920e5e170a371aa76c8adeda79148..defef3b4edb42622220d637e53599523d758305d 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-20  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/60568
index 20c25bd59e5b1d3b0de5124278bffe246587bf31..a38d1153acbece8dc17e2e79cac51ac3e913e389 100644 (file)
@@ -1685,9 +1685,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 fea73945a523a27050074d665dc5994c6544c645..5e6e637b752dbb7e3b011b1c840407ee0dc54c84 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5441,7 +5441,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)