Blame SOURCES/gcc44-rh820281.patch

f28b6a
2012-05-09  Jakub Jelinek  <jakub@redhat.com>
f28b6a
f28b6a
	* tree-data-ref.c (stmt_simple_memref_p): Return false
f28b6a
	if get_base_address (op) is NULL.
f28b6a
f28b6a
--- gcc/tree-data-ref.c.jj	2009-03-19 17:17:05.000000000 +0100
f28b6a
+++ gcc/tree-data-ref.c	2012-05-09 17:49:01.351102695 +0200
f28b6a
@@ -3326,6 +3326,9 @@ stmt_simple_memref_p (struct loop *loop,
f28b6a
   data_reference_p dr;
f28b6a
   bool res = true;
f28b6a
 
f28b6a
+  if (get_base_address (op) == NULL_TREE)
f28b6a
+    return false;
f28b6a
+
f28b6a
   dr = create_data_ref (loop, op, stmt, true);
f28b6a
   if (!access_functions_are_affine_or_constant_p (dr, loop))
f28b6a
     res = false;