re PR tree-optimization/37879 (ICE with "wrong" use of noreturn attribute and optimiz...
[gcc.git] / gcc / ChangeLog
index a683eca7e00aeace0d034ec247605c35bd49fbc0..a92a67a1438eaf5ea6501bdaf107bc769304dc4b 100644 (file)
@@ -1,3 +1,9 @@
+2008-10-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/37879
+       * predict.c (tree_estimate_probability): Check if last_stmt is
+       non-NULL before dereferencing it.
+
 2008-10-27  Vladimir Makarov  <vmakarov@redhat.com>
 
        * ira-int.h (ira_allocno): Add member updated_cover_class_cost.