Blame SOURCES/gcc44-rh820281.patch

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