Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.9349
diff -Idpatel.pbxuser -c -3 -p -r2.9349 ChangeLog
*** ChangeLog	6 Jul 2005 01:56:06 -0000	2.9349
--- ChangeLog	6 Jul 2005 02:12:41 -0000
***************
*** 1,3 ****
--- 1,33 ----
+ 2005-07-05  Devang Patel  <dpatel@apple.com>
+ 
+ 	* tree-vectorizer.h (struct _loop_vec_info): Remove loop_line_number.
+ 	(LOOP_VINFO_LOC, LOOP_LOC): Remove.
+ 	* tree-vectorizer.c (vect_loop_location): New.
+ 	(vect_print_dump_info): Use vect_loop_location.
+ 	(new_loop_vec_info): Do not set LOOP_VINFO_LOC.
+ 	(vectorize_loops): Set vect_loop_location.
+ 	* tree-vect-analyze.c (vect_analyze_offset_expr, 
+ 	vect_determin_vectorization_factor, vect_analyze_operations,
+ 	vect_analyze_scalar_cycles, vect_analyze_data_ref_dependence,
+ 	vect_analyze_data_ref_dependences, vect_compute_data_ref_alignment,
+ 	vect_analyze_data_refs_alignment, vect_analyze_data_ref_access,
+ 	vect_analyze_data_ref_accesses, vect_analyze_pointer_ref_access,
+ 	vect_object_analysis, vect_analyze_data_refs, vect_mark_relevant,
+ 	vect_stmt_relevant_p, vect_mark_stmts_to_be_vectorized,
+ 	vect_can_advance_ivs_p, vect_get_loop_niters, vect_analyze_loop_form,
+ 	vect_analyze_loop): Adjust vect_print_dump_info API.
+ 	* tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
+ 	vect_create_data_ref_ptr, vect_init_vector, vect_get_vec_def_for_operand,
+ 	vect_finish_stmt_generation, vectorizable_assignment, 
+ 	vectorizable_operation, vectorizable_store, vectorizable_load, 
+ 	vectorizable_live_operation, vectorizable_condition, vect_transform_stmt,
+ 	vect_update_ivs_after_vectorizer, vect_do_peeling_for_loop_bound,
+ 	vect_gen_ninters_for_prolog_loop, vect_do_peeling_for_alignment,
+ 	vect_transform_loop): Same.
+ 	* tree-vectorizer.c (get_vectype_for_scalar_type, vect_is_simple_use,
+ 	vect_is_simple_reduction, vect_is_simple_iv_evolution, vectorize_loops):
+ 	Same.
+ 
  2005-07-06  Kelley Cook  <kcook@gcc.gnu.org>
  
  	* aclocal.m4: Update macros for autoconf 2.59 style.
Index: tree-vect-analyze.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-vect-analyze.c,v
retrieving revision 2.31
diff -Idpatel.pbxuser -c -3 -p -r2.31 tree-vect-analyze.c
*** tree-vect-analyze.c	26 Jun 2005 21:21:33 -0000	2.31
--- tree-vect-analyze.c	6 Jul 2005 02:12:41 -0000
*************** vect_analyze_offset_expr (tree expr, 
*** 200,206 ****
    if (!BINARY_CLASS_P (expr))
      {
        /* We expect to get binary expressions (PLUS/MINUS and MULT).  */
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
  	  fprintf (vect_dump, "Not binary expression ");
            print_generic_expr (vect_dump, expr, TDF_SLIM);
--- 200,206 ----
    if (!BINARY_CLASS_P (expr))
      {
        /* We expect to get binary expressions (PLUS/MINUS and MULT).  */
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
  	  fprintf (vect_dump, "Not binary expression ");
            print_generic_expr (vect_dump, expr, TDF_SLIM);
*************** vect_determine_vectorization_factor (loo
*** 322,328 ****
    int i;
    tree scalar_type;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_determine_vectorization_factor ===");
  
    for (i = 0; i < nbbs; i++)
--- 322,328 ----
    int i;
    tree scalar_type;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_determine_vectorization_factor ===");
  
    for (i = 0; i < nbbs; i++)
*************** vect_determine_vectorization_factor (loo
*** 336,342 ****
            stmt_vec_info stmt_info = vinfo_for_stmt (stmt);
            tree vectype;
  
!           if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
              {
                fprintf (vect_dump, "==> examining statement: ");
                print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 336,342 ----
            stmt_vec_info stmt_info = vinfo_for_stmt (stmt);
            tree vectype;
  
!           if (vect_print_dump_info (REPORT_DETAILS))
              {
                fprintf (vect_dump, "==> examining statement: ");
                print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_determine_vectorization_factor (loo
*** 347,361 ****
            if (!STMT_VINFO_RELEVANT_P (stmt_info)
  	      && !STMT_VINFO_LIVE_P (stmt_info))
              {
!               if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
                  fprintf (vect_dump, "skip.");
                continue;
              }
  
            if (VECTOR_MODE_P (TYPE_MODE (TREE_TYPE (stmt))))
              {
!               if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                         LOOP_LOC (loop_vinfo)))
                  {
                    fprintf (vect_dump, "not vectorized: vector stmt in loop:");
                    print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 347,360 ----
            if (!STMT_VINFO_RELEVANT_P (stmt_info)
  	      && !STMT_VINFO_LIVE_P (stmt_info))
              {
!               if (vect_print_dump_info (REPORT_DETAILS))
                  fprintf (vect_dump, "skip.");
                continue;
              }
  
            if (VECTOR_MODE_P (TYPE_MODE (TREE_TYPE (stmt))))
              {
!               if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
                  {
                    fprintf (vect_dump, "not vectorized: vector stmt in loop:");
                    print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_determine_vectorization_factor (loo
*** 370,376 ****
            else
              scalar_type = TREE_TYPE (stmt);
  
!           if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
              {
                fprintf (vect_dump, "get vectype for scalar type:  ");
                print_generic_expr (vect_dump, scalar_type, TDF_SLIM);
--- 369,375 ----
            else
              scalar_type = TREE_TYPE (stmt);
  
!           if (vect_print_dump_info (REPORT_DETAILS))
              {
                fprintf (vect_dump, "get vectype for scalar type:  ");
                print_generic_expr (vect_dump, scalar_type, TDF_SLIM);
*************** vect_determine_vectorization_factor (loo
*** 379,393 ****
            vectype = get_vectype_for_scalar_type (scalar_type);
            if (!vectype)
              {
!               if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                         LOOP_LOC (loop_vinfo)))
                  {
                    fprintf (vect_dump, "not vectorized: unsupported data-type ");
                    print_generic_expr (vect_dump, scalar_type, TDF_SLIM);
                  }
                return false;
              }
!           if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
              {
                fprintf (vect_dump, "vectype: ");
                print_generic_expr (vect_dump, vectype, TDF_SLIM);
--- 378,391 ----
            vectype = get_vectype_for_scalar_type (scalar_type);
            if (!vectype)
              {
!               if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
                  {
                    fprintf (vect_dump, "not vectorized: unsupported data-type ");
                    print_generic_expr (vect_dump, scalar_type, TDF_SLIM);
                  }
                return false;
              }
!           if (vect_print_dump_info (REPORT_DETAILS))
              {
                fprintf (vect_dump, "vectype: ");
                print_generic_expr (vect_dump, vectype, TDF_SLIM);
*************** vect_determine_vectorization_factor (loo
*** 395,401 ****
            STMT_VINFO_VECTYPE (stmt_info) = vectype;
  
            nunits = TYPE_VECTOR_SUBPARTS (vectype);
!           if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
              fprintf (vect_dump, "nunits = %d", nunits);
  
            if (vectorization_factor)
--- 393,399 ----
            STMT_VINFO_VECTYPE (stmt_info) = vectype;
  
            nunits = TYPE_VECTOR_SUBPARTS (vectype);
!           if (vect_print_dump_info (REPORT_DETAILS))
              fprintf (vect_dump, "nunits = %d", nunits);
  
            if (vectorization_factor)
*************** vect_determine_vectorization_factor (loo
*** 404,411 ****
                   This restriction will be relaxed in the future.  */
                if (nunits != vectorization_factor) 
                  {
!                   if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                             LOOP_LOC (loop_vinfo)))
                      fprintf (vect_dump, "not vectorized: mixed data-types");
                    return false;
                  }
--- 402,408 ----
                   This restriction will be relaxed in the future.  */
                if (nunits != vectorization_factor) 
                  {
!                   if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
                      fprintf (vect_dump, "not vectorized: mixed data-types");
                    return false;
                  }
*************** vect_determine_vectorization_factor (loo
*** 422,429 ****
  
    if (vectorization_factor <= 1)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                 LOOP_LOC (loop_vinfo)))
          fprintf (vect_dump, "not vectorized: unsupported data-type");
        return false;
      }
--- 419,425 ----
  
    if (vectorization_factor <= 1)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
          fprintf (vect_dump, "not vectorized: unsupported data-type");
        return false;
      }
*************** vect_analyze_operations (loop_vec_info l
*** 451,457 ****
    stmt_vec_info stmt_info;
    bool need_to_vectorize = false;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_analyze_operations ===");
  
    gcc_assert (LOOP_VINFO_VECT_FACTOR (loop_vinfo));
--- 447,453 ----
    stmt_vec_info stmt_info;
    bool need_to_vectorize = false;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_analyze_operations ===");
  
    gcc_assert (LOOP_VINFO_VECT_FACTOR (loop_vinfo));
*************** vect_analyze_operations (loop_vec_info l
*** 464,470 ****
        for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
          {
  	  stmt_info = vinfo_for_stmt (phi);
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    {
  	      fprintf (vect_dump, "examining phi: ");
  	      print_generic_expr (vect_dump, phi, TDF_SLIM);
--- 460,466 ----
        for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
          {
  	  stmt_info = vinfo_for_stmt (phi);
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    {
  	      fprintf (vect_dump, "examining phi: ");
  	      print_generic_expr (vect_dump, phi, TDF_SLIM);
*************** vect_analyze_operations (loop_vec_info l
*** 475,482 ****
  	  if (STMT_VINFO_LIVE_P (stmt_info))
  	    {
  	      /* FORNOW: not yet supported.  */
! 	      if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 					LOOP_LOC (loop_vinfo)))
  		fprintf (vect_dump, "not vectorized: value used after loop.");
  	    return false;
  	  }
--- 471,477 ----
  	  if (STMT_VINFO_LIVE_P (stmt_info))
  	    {
  	      /* FORNOW: not yet supported.  */
! 	      if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  		fprintf (vect_dump, "not vectorized: value used after loop.");
  	    return false;
  	  }
*************** vect_analyze_operations (loop_vec_info l
*** 485,492 ****
  	    {
  	      /* Most likely a reduction-like computation that is used
  	         in the loop.  */
! 	      if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 	                                LOOP_LOC (loop_vinfo)))
  	        fprintf (vect_dump, "not vectorized: unsupported pattern.");
   	     return false;
  	    }
--- 480,486 ----
  	    {
  	      /* Most likely a reduction-like computation that is used
  	         in the loop.  */
! 	      if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	        fprintf (vect_dump, "not vectorized: unsupported pattern.");
   	     return false;
  	    }
*************** vect_analyze_operations (loop_vec_info l
*** 497,503 ****
  	  tree stmt = bsi_stmt (si);
  	  stmt_vec_info stmt_info = vinfo_for_stmt (stmt);
  
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    {
  	      fprintf (vect_dump, "==> examining statement: ");
  	      print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 491,497 ----
  	  tree stmt = bsi_stmt (si);
  	  stmt_vec_info stmt_info = vinfo_for_stmt (stmt);
  
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    {
  	      fprintf (vect_dump, "==> examining statement: ");
  	      print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_analyze_operations (loop_vec_info l
*** 515,521 ****
  	  if (!STMT_VINFO_RELEVANT_P (stmt_info)
  	      && !STMT_VINFO_LIVE_P (stmt_info))
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	        fprintf (vect_dump, "irrelevant.");
  	      continue;
  	    }
--- 509,515 ----
  	  if (!STMT_VINFO_RELEVANT_P (stmt_info)
  	      && !STMT_VINFO_LIVE_P (stmt_info))
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS))
  	        fprintf (vect_dump, "irrelevant.");
  	      continue;
  	    }
*************** vect_analyze_operations (loop_vec_info l
*** 533,540 ****
  
  	      if (!ok)
  		{
! 		  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 					    LOOP_LOC (loop_vinfo)))
  		    {
  		      fprintf (vect_dump, 
  			       "not vectorized: relevant stmt not supported: ");
--- 527,533 ----
  
  	      if (!ok)
  		{
! 		  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  		    {
  		      fprintf (vect_dump, 
  			       "not vectorized: relevant stmt not supported: ");
*************** vect_analyze_operations (loop_vec_info l
*** 556,563 ****
  
  	      if (!ok)
  		{
! 		  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 					    LOOP_LOC (loop_vinfo)))
  		    {
  		      fprintf (vect_dump, 
  			       "not vectorized: live stmt not supported: ");
--- 549,555 ----
  
  	      if (!ok)
  		{
! 		  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  		    {
  		      fprintf (vect_dump, 
  			       "not vectorized: live stmt not supported: ");
*************** vect_analyze_operations (loop_vec_info l
*** 578,595 ****
       touching this loop.  */
    if (!need_to_vectorize)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, 
  		 "All the computation can be taken out of the loop.");
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                 LOOP_LOC (loop_vinfo)))
          fprintf (vect_dump, 
  		 "not vectorized: redundant loop. no profit to vectorize.");
        return false;
      }
  
    if (LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
!       && vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump,
          "vectorization_factor = %d, niters = " HOST_WIDE_INT_PRINT_DEC,
          vectorization_factor, LOOP_VINFO_INT_NITERS (loop_vinfo));
--- 570,586 ----
       touching this loop.  */
    if (!need_to_vectorize)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, 
  		 "All the computation can be taken out of the loop.");
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
          fprintf (vect_dump, 
  		 "not vectorized: redundant loop. no profit to vectorize.");
        return false;
      }
  
    if (LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
!       && vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump,
          "vectorization_factor = %d, niters = " HOST_WIDE_INT_PRINT_DEC,
          vectorization_factor, LOOP_VINFO_INT_NITERS (loop_vinfo));
*************** vect_analyze_operations (loop_vec_info l
*** 597,604 ****
    if (LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
        && LOOP_VINFO_INT_NITERS (loop_vinfo) < vectorization_factor)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                  LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "not vectorized: iteration count too small.");
        return false;
      }
--- 588,594 ----
    if (LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
        && LOOP_VINFO_INT_NITERS (loop_vinfo) < vectorization_factor)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	fprintf (vect_dump, "not vectorized: iteration count too small.");
        return false;
      }
*************** vect_analyze_operations (loop_vec_info l
*** 606,625 ****
    if (!LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
        || LOOP_VINFO_INT_NITERS (loop_vinfo) % vectorization_factor != 0)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
          fprintf (vect_dump, "epilog loop required.");
        if (!vect_can_advance_ivs_p (loop_vinfo))
          {
!           if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                      LOOP_LOC (loop_vinfo)))
              fprintf (vect_dump,
                       "not vectorized: can't create epilog loop 1.");
            return false;
          }
        if (!slpeel_can_duplicate_loop_p (loop, loop->single_exit))
          {
!           if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                      LOOP_LOC (loop_vinfo)))
              fprintf (vect_dump,
                       "not vectorized: can't create epilog loop 2.");
            return false;
--- 596,613 ----
    if (!LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
        || LOOP_VINFO_INT_NITERS (loop_vinfo) % vectorization_factor != 0)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "epilog loop required.");
        if (!vect_can_advance_ivs_p (loop_vinfo))
          {
!           if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
              fprintf (vect_dump,
                       "not vectorized: can't create epilog loop 1.");
            return false;
          }
        if (!slpeel_can_duplicate_loop_p (loop, loop->single_exit))
          {
!           if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
              fprintf (vect_dump,
                       "not vectorized: can't create epilog loop 2.");
            return false;
*************** vect_analyze_scalar_cycles (loop_vec_inf
*** 722,728 ****
    basic_block bb = loop->header;
    tree dummy;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_analyze_scalar_cycles ===");
  
    for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
--- 710,716 ----
    basic_block bb = loop->header;
    tree dummy;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_analyze_scalar_cycles ===");
  
    for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
*************** vect_analyze_scalar_cycles (loop_vec_inf
*** 732,738 ****
        stmt_vec_info stmt_vinfo = vinfo_for_stmt (phi);
        tree reduc_stmt;
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	{
            fprintf (vect_dump, "Analyze phi: ");
            print_generic_expr (vect_dump, phi, TDF_SLIM);
--- 720,726 ----
        stmt_vec_info stmt_vinfo = vinfo_for_stmt (phi);
        tree reduc_stmt;
  
!       if (vect_print_dump_info (REPORT_DETAILS))
  	{
            fprintf (vect_dump, "Analyze phi: ");
            print_generic_expr (vect_dump, phi, TDF_SLIM);
*************** vect_analyze_scalar_cycles (loop_vec_inf
*** 743,749 ****
  
        if (!is_gimple_reg (SSA_NAME_VAR (def)))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "virtual phi. skip.");
  	  continue;
  	}
--- 731,737 ----
  
        if (!is_gimple_reg (SSA_NAME_VAR (def)))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "virtual phi. skip.");
  	  continue;
  	}
*************** vect_analyze_scalar_cycles (loop_vec_inf
*** 757,764 ****
        if (!access_fn)
  	continue;
  
!       if (vect_print_dump_info (REPORT_DETAILS,
! 				LOOP_LOC (loop_vinfo)))
          {
             fprintf (vect_dump, "Access function of PHI: ");
             print_generic_expr (vect_dump, access_fn, TDF_SLIM);
--- 745,751 ----
        if (!access_fn)
  	continue;
  
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
             fprintf (vect_dump, "Access function of PHI: ");
             print_generic_expr (vect_dump, access_fn, TDF_SLIM);
*************** vect_analyze_scalar_cycles (loop_vec_inf
*** 766,772 ****
  
        if (vect_is_simple_iv_evolution (loop->num, access_fn, &dummy, &dummy))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS,LOOP_LOC (loop_vinfo)))
  	    fprintf (vect_dump, "Detected induction.");
  	  STMT_VINFO_DEF_TYPE (stmt_vinfo) = vect_induction_def;
            continue;
--- 753,759 ----
  
        if (vect_is_simple_iv_evolution (loop->num, access_fn, &dummy, &dummy))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "Detected induction.");
  	  STMT_VINFO_DEF_TYPE (stmt_vinfo) = vect_induction_def;
            continue;
*************** vect_analyze_scalar_cycles (loop_vec_inf
*** 777,790 ****
        reduc_stmt = vect_is_simple_reduction (loop, phi);
        if (reduc_stmt)
          {
!           if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
              fprintf (vect_dump, "Detected reduction.");
            STMT_VINFO_DEF_TYPE (stmt_vinfo) = vect_reduction_def;
            STMT_VINFO_DEF_TYPE (vinfo_for_stmt (reduc_stmt)) =
                                                          vect_reduction_def;
          }
        else
!         if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
            fprintf (vect_dump, "Unknown def-use cycle pattern.");
  
      }
--- 764,777 ----
        reduc_stmt = vect_is_simple_reduction (loop, phi);
        if (reduc_stmt)
          {
!           if (vect_print_dump_info (REPORT_DETAILS))
              fprintf (vect_dump, "Detected reduction.");
            STMT_VINFO_DEF_TYPE (stmt_vinfo) = vect_reduction_def;
            STMT_VINFO_DEF_TYPE (vinfo_for_stmt (reduc_stmt)) =
                                                          vect_reduction_def;
          }
        else
!         if (vect_print_dump_info (REPORT_DETAILS))
            fprintf (vect_dump, "Unknown def-use cycle pattern.");
  
      }
*************** vect_analyze_data_ref_dependence (struct
*** 869,876 ****
    
    if (!vect_base_addr_differ_p (dra, drb, &differ_p))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				LOOP_LOC (loop_vinfo)))
          {
            fprintf (vect_dump,
                  "not vectorized: can't determine dependence between: ");
--- 856,862 ----
    
    if (!vect_base_addr_differ_p (dra, drb, &differ_p))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
          {
            fprintf (vect_dump,
                  "not vectorized: can't determine dependence between: ");
*************** vect_analyze_data_ref_dependence (struct
*** 892,899 ****
  
    if (DDR_ARE_DEPENDENT (ddr) == chrec_dont_know)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                 LOOP_LOC (loop_vinfo)))
          {
            fprintf (vect_dump, 
                     "not vectorized: can't determine dependence between "); 
--- 878,884 ----
  
    if (DDR_ARE_DEPENDENT (ddr) == chrec_dont_know)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
          {
            fprintf (vect_dump, 
                     "not vectorized: can't determine dependence between "); 
*************** vect_analyze_data_ref_dependence (struct
*** 922,929 ****
  
    if (!DDR_DIST_VECT (ddr))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				LOOP_LOC (loop_vinfo)))
  	{
  	  fprintf (vect_dump, "not vectorized: bad dist vector for ");
  	  print_generic_expr (vect_dump, DR_REF (dra), TDF_SLIM);
--- 907,913 ----
  
    if (!DDR_DIST_VECT (ddr))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	{
  	  fprintf (vect_dump, "not vectorized: bad dist vector for ");
  	  print_generic_expr (vect_dump, DR_REF (dra), TDF_SLIM);
*************** vect_analyze_data_ref_dependence (struct
*** 941,947 ****
        /* Two references with distance zero have the same alignment.  */
        VEC_safe_push (dr_p, heap, STMT_VINFO_SAME_ALIGN_REFS (stmtinfo_a), drb);
        VEC_safe_push (dr_p, heap, STMT_VINFO_SAME_ALIGN_REFS (stmtinfo_b), dra);
!       if (vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "accesses have the same alignment.");
        return false;
      }
--- 925,931 ----
        /* Two references with distance zero have the same alignment.  */
        VEC_safe_push (dr_p, heap, STMT_VINFO_SAME_ALIGN_REFS (stmtinfo_a), drb);
        VEC_safe_push (dr_p, heap, STMT_VINFO_SAME_ALIGN_REFS (stmtinfo_b), dra);
!       if (vect_print_dump_info (REPORT_ALIGNMENT))
  	fprintf (vect_dump, "accesses have the same alignment.");
        return false;
      }
*************** vect_analyze_data_ref_dependence (struct
*** 951,958 ****
         is concerned, in this case.  */
      return false;
      
!   if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 			    LOOP_LOC (loop_vinfo)))
      {
        fprintf (vect_dump,
  	"not vectorized: possible dependence between data-refs ");
--- 935,941 ----
         is concerned, in this case.  */
      return false;
      
!   if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
      {
        fprintf (vect_dump,
  	"not vectorized: possible dependence between data-refs ");
*************** vect_analyze_data_ref_dependences (loop_
*** 979,988 ****
  
    /* Examine store-store (output) dependences.  */
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_analyze_dependences ===");
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "compare all store-store pairs.");
  
    for (i = 0; i < VARRAY_ACTIVE_SIZE (loop_write_refs); i++)
--- 962,971 ----
  
    /* Examine store-store (output) dependences.  */
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_analyze_dependences ===");
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "compare all store-store pairs.");
  
    for (i = 0; i < VARRAY_ACTIVE_SIZE (loop_write_refs); i++)
*************** vect_analyze_data_ref_dependences (loop_
*** 1000,1006 ****
  
    /* Examine load-store (true/anti) dependences.  */
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "compare all load-store pairs.");
  
    for (i = 0; i < VARRAY_ACTIVE_SIZE (loop_read_refs); i++)
--- 983,989 ----
  
    /* Examine load-store (true/anti) dependences.  */
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "compare all load-store pairs.");
  
    for (i = 0; i < VARRAY_ACTIVE_SIZE (loop_read_refs); i++)
*************** vect_compute_data_ref_alignment (struct 
*** 1042,1048 ****
    bool base_aligned_p;
    tree misalign;
     
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "vect_compute_data_ref_alignment:");
  
    /* Initialize misalignment to unknown.  */
--- 1025,1031 ----
    bool base_aligned_p;
    tree misalign;
     
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "vect_compute_data_ref_alignment:");
  
    /* Initialize misalignment to unknown.  */
*************** vect_compute_data_ref_alignment (struct 
*** 1055,1061 ****
  
    if (!misalign)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC)) 
  	{
  	  fprintf (vect_dump, "Unknown alignment for access: ");
  	  print_generic_expr (vect_dump, base, TDF_SLIM);
--- 1038,1044 ----
  
    if (!misalign)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	{
  	  fprintf (vect_dump, "Unknown alignment for access: ");
  	  print_generic_expr (vect_dump, base, TDF_SLIM);
*************** vect_compute_data_ref_alignment (struct 
*** 1067,1073 ****
      {
        if (!vect_can_force_dr_alignment_p (base, TYPE_ALIGN (vectype)))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    {
  	      fprintf (vect_dump, "can't force alignment of ref: ");
  	      print_generic_expr (vect_dump, ref, TDF_SLIM);
--- 1050,1056 ----
      {
        if (!vect_can_force_dr_alignment_p (base, TYPE_ALIGN (vectype)))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    {
  	      fprintf (vect_dump, "can't force alignment of ref: ");
  	      print_generic_expr (vect_dump, ref, TDF_SLIM);
*************** vect_compute_data_ref_alignment (struct 
*** 1078,1084 ****
        /* Force the alignment of the decl.
  	 NOTE: This is the only change to the code we make during
  	 the analysis phase, before deciding to vectorize the loop.  */
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "force alignment");
        DECL_ALIGN (base) = TYPE_ALIGN (vectype);
        DECL_USER_ALIGN (base) = 1;
--- 1061,1067 ----
        /* Force the alignment of the decl.
  	 NOTE: This is the only change to the code we make during
  	 the analysis phase, before deciding to vectorize the loop.  */
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "force alignment");
        DECL_ALIGN (base) = TYPE_ALIGN (vectype);
        DECL_USER_ALIGN (base) = 1;
*************** vect_compute_data_ref_alignment (struct 
*** 1097,1110 ****
    if (tree_int_cst_sgn (misalign) < 0)
      {
        /* Negative misalignment value.  */
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "unexpected misalign value");
        return false;
      }
  
    DR_MISALIGNMENT (dr) = tree_low_cst (misalign, 1);
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "misalign = %d bytes", DR_MISALIGNMENT (dr));
  
    return true;
--- 1080,1093 ----
    if (tree_int_cst_sgn (misalign) < 0)
      {
        /* Negative misalignment value.  */
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "unexpected misalign value");
        return false;
      }
  
    DR_MISALIGNMENT (dr) = tree_low_cst (misalign, 1);
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "misalign = %d bytes", DR_MISALIGNMENT (dr));
  
    return true;
*************** vect_analyze_data_refs_alignment (loop_v
*** 1356,1362 ****
    enum dr_alignment_support supportable_dr_alignment;
    unsigned int i;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_analyze_data_refs_alignment ===");
  
  
--- 1339,1345 ----
    enum dr_alignment_support supportable_dr_alignment;
    unsigned int i;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_analyze_data_refs_alignment ===");
  
  
*************** vect_analyze_data_refs_alignment (loop_v
*** 1365,1372 ****
  
    if (!vect_compute_data_refs_alignment (loop_vinfo))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, 
  		 "not vectorized: can't calculate alignment for data ref.");
        return false;
--- 1348,1354 ----
  
    if (!vect_compute_data_refs_alignment (loop_vinfo))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	fprintf (vect_dump, 
  		 "not vectorized: can't calculate alignment for data ref.");
        return false;
*************** vect_analyze_data_refs_alignment (loop_v
*** 1388,1400 ****
        supportable_dr_alignment = vect_supportable_dr_alignment (dr);
        if (!supportable_dr_alignment)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				    LOOP_LOC (loop_vinfo)))
  	    fprintf (vect_dump, "not vectorized: unsupported unaligned load.");
  	  return false;
  	}
        if (supportable_dr_alignment != dr_aligned 
! 	  && (vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo))))
  	fprintf (vect_dump, "Vectorizing an unaligned access.");
      }
    for (i = 0; i < VARRAY_ACTIVE_SIZE (loop_write_datarefs); i++)
--- 1370,1381 ----
        supportable_dr_alignment = vect_supportable_dr_alignment (dr);
        if (!supportable_dr_alignment)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	    fprintf (vect_dump, "not vectorized: unsupported unaligned load.");
  	  return false;
  	}
        if (supportable_dr_alignment != dr_aligned 
! 	  && (vect_print_dump_info (REPORT_ALIGNMENT)))
  	fprintf (vect_dump, "Vectorizing an unaligned access.");
      }
    for (i = 0; i < VARRAY_ACTIVE_SIZE (loop_write_datarefs); i++)
*************** vect_analyze_data_refs_alignment (loop_v
*** 1403,1419 ****
        supportable_dr_alignment = vect_supportable_dr_alignment (dr);
        if (!supportable_dr_alignment)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				    LOOP_LOC (loop_vinfo)))
  	    fprintf (vect_dump, "not vectorized: unsupported unaligned store.");
  	  return false;
  	}
        if (supportable_dr_alignment != dr_aligned 
! 	  && (vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo))))
  	fprintf (vect_dump, "Vectorizing an unaligned access.");
      }
    if (LOOP_VINFO_UNALIGNED_DR (loop_vinfo)
!       && vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo)))
      fprintf (vect_dump, "Alignment of access forced using peeling.");
  
    return true;
--- 1384,1399 ----
        supportable_dr_alignment = vect_supportable_dr_alignment (dr);
        if (!supportable_dr_alignment)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	    fprintf (vect_dump, "not vectorized: unsupported unaligned store.");
  	  return false;
  	}
        if (supportable_dr_alignment != dr_aligned 
! 	  && (vect_print_dump_info (REPORT_ALIGNMENT)))
  	fprintf (vect_dump, "Vectorizing an unaligned access.");
      }
    if (LOOP_VINFO_UNALIGNED_DR (loop_vinfo)
!       && vect_print_dump_info (REPORT_ALIGNMENT))
      fprintf (vect_dump, "Alignment of access forced using peeling.");
  
    return true;
*************** vect_analyze_data_ref_access (struct dat
*** 1435,1441 ****
  
    if (!step || tree_int_cst_compare (step, TYPE_SIZE_UNIT (scalar_type)))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "not consecutive access");
        return false;
      }
--- 1415,1421 ----
  
    if (!step || tree_int_cst_compare (step, TYPE_SIZE_UNIT (scalar_type)))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "not consecutive access");
        return false;
      }
*************** vect_analyze_data_ref_accesses (loop_vec
*** 1459,1465 ****
    varray_type loop_write_datarefs = LOOP_VINFO_DATAREF_WRITES (loop_vinfo);
    varray_type loop_read_datarefs = LOOP_VINFO_DATAREF_READS (loop_vinfo);
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_analyze_data_ref_accesses ===");
  
    for (i = 0; i < VARRAY_ACTIVE_SIZE (loop_write_datarefs); i++)
--- 1439,1445 ----
    varray_type loop_write_datarefs = LOOP_VINFO_DATAREF_WRITES (loop_vinfo);
    varray_type loop_read_datarefs = LOOP_VINFO_DATAREF_READS (loop_vinfo);
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_analyze_data_ref_accesses ===");
  
    for (i = 0; i < VARRAY_ACTIVE_SIZE (loop_write_datarefs); i++)
*************** vect_analyze_data_ref_accesses (loop_vec
*** 1468,1475 ****
        bool ok = vect_analyze_data_ref_access (dr);
        if (!ok)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                                       LOOP_LOC (loop_vinfo)))
  	    fprintf (vect_dump, "not vectorized: complicated access pattern.");
  	  return false;
  	}
--- 1448,1454 ----
        bool ok = vect_analyze_data_ref_access (dr);
        if (!ok)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	    fprintf (vect_dump, "not vectorized: complicated access pattern.");
  	  return false;
  	}
*************** vect_analyze_data_ref_accesses (loop_vec
*** 1481,1488 ****
        bool ok = vect_analyze_data_ref_access (dr);
        if (!ok)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				    LOOP_LOC (loop_vinfo)))
  	    fprintf (vect_dump, "not vectorized: complicated access pattern.");
  	  return false;
  	}
--- 1460,1466 ----
        bool ok = vect_analyze_data_ref_access (dr);
        if (!ok)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	    fprintf (vect_dump, "not vectorized: complicated access pattern.");
  	  return false;
  	}
*************** vect_analyze_pointer_ref_access (tree me
*** 1521,1528 ****
  
    if (!vect_is_simple_iv_evolution (loopnum, access_fn, &init, &step))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS, 
! 				LOOP_LOC (loop_vinfo))) 
  	fprintf (vect_dump, "not vectorized: pointer access is not simple.");	
        return NULL;
      }
--- 1499,1505 ----
  
    if (!vect_is_simple_iv_evolution (loopnum, access_fn, &init, &step))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	fprintf (vect_dump, "not vectorized: pointer access is not simple.");	
        return NULL;
      }
*************** vect_analyze_pointer_ref_access (tree me
*** 1531,1538 ****
  
    if (!expr_invariant_in_loop_p (loop, init))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				LOOP_LOC (loop_vinfo))) 
  	fprintf (vect_dump, 
  		 "not vectorized: initial condition is not loop invariant.");	
        return NULL;
--- 1508,1514 ----
  
    if (!expr_invariant_in_loop_p (loop, init))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	fprintf (vect_dump, 
  		 "not vectorized: initial condition is not loop invariant.");	
        return NULL;
*************** vect_analyze_pointer_ref_access (tree me
*** 1540,1547 ****
  
    if (TREE_CODE (step) != INTEGER_CST)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				LOOP_LOC (loop_vinfo))) 
  	fprintf (vect_dump, 
  		"not vectorized: non constant step for pointer access.");	
        return NULL;
--- 1516,1522 ----
  
    if (TREE_CODE (step) != INTEGER_CST)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	fprintf (vect_dump, 
  		"not vectorized: non constant step for pointer access.");	
        return NULL;
*************** vect_analyze_pointer_ref_access (tree me
*** 1550,1565 ****
    reftype = TREE_TYPE (TREE_OPERAND (memref, 0));
    if (!POINTER_TYPE_P (reftype)) 
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "not vectorized: unexpected pointer access form.");	
        return NULL;
      }
  
    if (!POINTER_TYPE_P (TREE_TYPE (init))) 
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				LOOP_LOC (loop_vinfo))) 
  	fprintf (vect_dump, "not vectorized: unexpected pointer access form.");
        return NULL;
      }
--- 1525,1538 ----
    reftype = TREE_TYPE (TREE_OPERAND (memref, 0));
    if (!POINTER_TYPE_P (reftype)) 
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	fprintf (vect_dump, "not vectorized: unexpected pointer access form.");	
        return NULL;
      }
  
    if (!POINTER_TYPE_P (TREE_TYPE (init))) 
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	fprintf (vect_dump, "not vectorized: unexpected pointer access form.");
        return NULL;
      }
*************** vect_analyze_pointer_ref_access (tree me
*** 1568,1576 ****
    innertype = TREE_TYPE (reftype);
    if (!COMPLETE_TYPE_P (innertype))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
!                               LOOP_LOC (loop_vinfo)))
!       fprintf (vect_dump, "not vectorized: pointer to incomplete type.");
        return NULL;
      }
     
--- 1541,1548 ----
    innertype = TREE_TYPE (reftype);
    if (!COMPLETE_TYPE_P (innertype))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
! 	fprintf (vect_dump, "not vectorized: pointer to incomplete type.");
        return NULL;
      }
     
*************** vect_analyze_pointer_ref_access (tree me
*** 1578,1592 ****
    if (!integer_zerop (size_binop (TRUNC_MOD_EXPR, *ptr_step, 
   		        fold_convert (ssizetype, TYPE_SIZE_UNIT (innertype)))))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				LOOP_LOC (loop_vinfo))) 
  	fprintf (vect_dump, "not vectorized: non consecutive access.");	
        return NULL;
      }
     
    indx_access_fn = 
  	build_polynomial_chrec (loopnum, integer_zero_node, integer_one_node);
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "Access function of ptr indx: ");
        print_generic_expr (vect_dump, indx_access_fn, TDF_SLIM);
--- 1550,1563 ----
    if (!integer_zerop (size_binop (TRUNC_MOD_EXPR, *ptr_step, 
   		        fold_convert (ssizetype, TYPE_SIZE_UNIT (innertype)))))
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	fprintf (vect_dump, "not vectorized: non consecutive access.");	
        return NULL;
      }
     
    indx_access_fn = 
  	build_polynomial_chrec (loopnum, integer_zero_node, integer_one_node);
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "Access function of ptr indx: ");
        print_generic_expr (vect_dump, indx_access_fn, TDF_SLIM);
*************** vect_object_analysis (tree memref, tree 
*** 1810,1816 ****
  	  && !vect_analyze_offset_expr (poffset, loop, TYPE_SIZE_UNIT (vectype), 
  				&object_offset, &object_misalign, &object_step))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    {
  	      fprintf (vect_dump, "failed to compute offset or step for ");
  	      print_generic_expr (vect_dump, memref, TDF_SLIM);
--- 1781,1787 ----
  	  && !vect_analyze_offset_expr (poffset, loop, TYPE_SIZE_UNIT (vectype), 
  				&object_offset, &object_misalign, &object_step))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    {
  	      fprintf (vect_dump, "failed to compute offset or step for ");
  	      print_generic_expr (vect_dump, memref, TDF_SLIM);
*************** vect_object_analysis (tree memref, tree 
*** 1824,1830 ****
        /* Check that there is no remainder in bits.  */
        if (pbitpos%BITS_PER_UNIT)
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "bit offset alignment.");
  	  return NULL_TREE;
  	}
--- 1795,1801 ----
        /* Check that there is no remainder in bits.  */
        if (pbitpos%BITS_PER_UNIT)
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "bit offset alignment.");
  	  return NULL_TREE;
  	}
*************** vect_object_analysis (tree memref, tree 
*** 1852,1858 ****
        /* We expect to get a decl only if we already have a DR.  */
        if (!(*dr))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    {
  	      fprintf (vect_dump, "unhandled decl ");
  	      print_generic_expr (vect_dump, memref, TDF_SLIM);
--- 1823,1829 ----
        /* We expect to get a decl only if we already have a DR.  */
        if (!(*dr))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    {
  	      fprintf (vect_dump, "unhandled decl ");
  	      print_generic_expr (vect_dump, memref, TDF_SLIM);
*************** vect_object_analysis (tree memref, tree 
*** 1889,1900 ****
        access_fn = analyze_scalar_evolution (loop, ptr_ref);
        if (!access_fn)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				    LOOP_LOC (loop_vinfo)))
  	    fprintf (vect_dump, "not vectorized: complicated pointer access.");	
  	  return NULL_TREE;
  	}
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	{
  	  fprintf (vect_dump, "Access function of ptr: ");
  	  print_generic_expr (vect_dump, access_fn, TDF_SLIM);
--- 1860,1870 ----
        access_fn = analyze_scalar_evolution (loop, ptr_ref);
        if (!access_fn)
  	{
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	    fprintf (vect_dump, "not vectorized: complicated pointer access.");	
  	  return NULL_TREE;
  	}
!       if (vect_print_dump_info (REPORT_DETAILS))
  	{
  	  fprintf (vect_dump, "Access function of ptr: ");
  	  print_generic_expr (vect_dump, access_fn, TDF_SLIM);
*************** vect_object_analysis (tree memref, tree 
*** 1916,1923 ****
  	{
  	  if (!(*dr))
  	    {
! 	      if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 					LOOP_LOC (loop_vinfo))) 
  		fprintf (vect_dump, "not vectorized: ptr is loop invariant.");	
  	      return NULL_TREE;
  	    }
--- 1886,1892 ----
  	{
  	  if (!(*dr))
  	    {
! 	      if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  		fprintf (vect_dump, "not vectorized: ptr is loop invariant.");	
  	      return NULL_TREE;
  	    }
*************** vect_object_analysis (tree memref, tree 
*** 1951,1958 ****
  	  *memtag = TREE_OPERAND (base_address, 0);
  	  break;
  	default:
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 				    LOOP_LOC (loop_vinfo)))
  	    {
  	      fprintf (vect_dump, "not vectorized: no memtag ref: "); 
  	      print_generic_expr (vect_dump, memref, TDF_SLIM);
--- 1920,1926 ----
  	  *memtag = TREE_OPERAND (base_address, 0);
  	  break;
  	default:
! 	  if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  	    {
  	      fprintf (vect_dump, "not vectorized: no memtag ref: "); 
  	      print_generic_expr (vect_dump, memref, TDF_SLIM);
*************** vect_object_analysis (tree memref, tree 
*** 1978,1984 ****
    *step = size_binop (PLUS_EXPR, object_step, address_step); 
    *base_aligned = object_base_aligned && address_base_aligned;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "Results of object analysis for: ");
        print_generic_expr (vect_dump, memref, TDF_SLIM);
--- 1946,1952 ----
    *step = size_binop (PLUS_EXPR, object_step, address_step); 
    *base_aligned = object_base_aligned && address_base_aligned;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "Results of object analysis for: ");
        print_generic_expr (vect_dump, memref, TDF_SLIM);
*************** vect_analyze_data_refs (loop_vec_info lo
*** 2030,2036 ****
    int j;
    struct data_reference *dr;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_analyze_data_refs ===");
  
    for (j = 0; j < nbbs; j++)
--- 1998,2004 ----
    int j;
    struct data_reference *dr;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_analyze_data_refs ===");
  
    for (j = 0; j < nbbs; j++)
*************** vect_analyze_data_refs (loop_vec_info lo
*** 2061,2067 ****
  
  	  if (!no_vuse && !no_vmaymust)
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  		{
  		  fprintf (vect_dump, "unexpected vdefs and vuses in stmt: ");
  		  print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 2029,2035 ----
  
  	  if (!no_vuse && !no_vmaymust)
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS))
  		{
  		  fprintf (vect_dump, "unexpected vdefs and vuses in stmt: ");
  		  print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_analyze_data_refs (loop_vec_info lo
*** 2071,2077 ****
  
  	  if (TREE_CODE (stmt) != MODIFY_EXPR)
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  		{
  		  fprintf (vect_dump, "unexpected vops in stmt: ");
  		  print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 2039,2045 ----
  
  	  if (TREE_CODE (stmt) != MODIFY_EXPR)
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS))
  		{
  		  fprintf (vect_dump, "unexpected vops in stmt: ");
  		  print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_analyze_data_refs (loop_vec_info lo
*** 2096,2102 ****
  	  vectype = get_vectype_for_scalar_type (scalar_type);
  	  if (!vectype)
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  		{
  		  fprintf (vect_dump, "no vectype for stmt: ");
  		  print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 2064,2070 ----
  	  vectype = get_vectype_for_scalar_type (scalar_type);
  	  if (!vectype)
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS))
  		{
  		  fprintf (vect_dump, "no vectype for stmt: ");
  		  print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_analyze_data_refs (loop_vec_info lo
*** 2115,2122 ****
  				       &subvars);
  	  if (!base)
  	    {
! 	      if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 					LOOP_LOC (loop_vinfo)))
  		{
  		  fprintf (vect_dump, "not vectorized: unhandled data ref: "); 
  		  print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 2083,2089 ----
  				       &subvars);
  	  if (!base)
  	    {
! 	      if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
  		{
  		  fprintf (vect_dump, "not vectorized: unhandled data ref: "); 
  		  print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_mark_relevant (VEC(tree,heap) **wor
*** 2155,2161 ****
    bool save_relevant_p = STMT_VINFO_RELEVANT_P (stmt_info);
    bool save_live_p = STMT_VINFO_LIVE_P (stmt_info);
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "mark relevant %d, live %d.",relevant_p, live_p);
  
    STMT_VINFO_LIVE_P (stmt_info) |= live_p;
--- 2122,2128 ----
    bool save_relevant_p = STMT_VINFO_RELEVANT_P (stmt_info);
    bool save_live_p = STMT_VINFO_LIVE_P (stmt_info);
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "mark relevant %d, live %d.",relevant_p, live_p);
  
    STMT_VINFO_LIVE_P (stmt_info) |= live_p;
*************** vect_mark_relevant (VEC(tree,heap) **wor
*** 2169,2175 ****
    if (STMT_VINFO_RELEVANT_P (stmt_info) == save_relevant_p
        && STMT_VINFO_LIVE_P (stmt_info) == save_live_p)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "already marked relevant/live.");
        return;
      }
--- 2136,2142 ----
    if (STMT_VINFO_RELEVANT_P (stmt_info) == save_relevant_p
        && STMT_VINFO_LIVE_P (stmt_info) == save_live_p)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "already marked relevant/live.");
        return;
      }
*************** vect_stmt_relevant_p (tree stmt, loop_ve
*** 2211,2217 ****
    if (TREE_CODE (stmt) != PHI_NODE)
      if (!ZERO_SSA_OPERANDS (stmt, SSA_OP_VIRTUAL_DEFS))
        {
! 	if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	  fprintf (vect_dump, "vec_stmt_relevant_p: stmt has vdefs.");
  	*relevant_p = true;
        }
--- 2178,2184 ----
    if (TREE_CODE (stmt) != PHI_NODE)
      if (!ZERO_SSA_OPERANDS (stmt, SSA_OP_VIRTUAL_DEFS))
        {
! 	if (vect_print_dump_info (REPORT_DETAILS))
  	  fprintf (vect_dump, "vec_stmt_relevant_p: stmt has vdefs.");
  	*relevant_p = true;
        }
*************** vect_stmt_relevant_p (tree stmt, loop_ve
*** 2224,2230 ****
  	  basic_block bb = bb_for_stmt (USE_STMT (use_p));
  	  if (!flow_bb_inside_loop_p (loop, bb))
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  		fprintf (vect_dump, "vec_stmt_relevant_p: used out of loop.");
  
  	      /* We expect all such uses to be in the loop exit phis
--- 2191,2197 ----
  	  basic_block bb = bb_for_stmt (USE_STMT (use_p));
  	  if (!flow_bb_inside_loop_p (loop, bb))
  	    {
! 	      if (vect_print_dump_info (REPORT_DETAILS))
  		fprintf (vect_dump, "vec_stmt_relevant_p: used out of loop.");
  
  	      /* We expect all such uses to be in the loop exit phis
*************** vect_mark_stmts_to_be_vectorized (loop_v
*** 2276,2282 ****
    tree def, def_stmt;
    enum vect_def_type dt;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_mark_stmts_to_be_vectorized ===");
  
    worklist = VEC_alloc (tree, heap, 64);
--- 2243,2249 ----
    tree def, def_stmt;
    enum vect_def_type dt;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_mark_stmts_to_be_vectorized ===");
  
    worklist = VEC_alloc (tree, heap, 64);
*************** vect_mark_stmts_to_be_vectorized (loop_v
*** 2286,2292 ****
    bb = loop->header;
    for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "init: phi relevant? ");
            print_generic_expr (vect_dump, phi, TDF_SLIM);
--- 2253,2259 ----
    bb = loop->header;
    for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "init: phi relevant? ");
            print_generic_expr (vect_dump, phi, TDF_SLIM);
*************** vect_mark_stmts_to_be_vectorized (loop_v
*** 2303,2309 ****
  	{
  	  stmt = bsi_stmt (si);
  
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    {
  	      fprintf (vect_dump, "init: stmt relevant? ");
  	      print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 2270,2276 ----
  	{
  	  stmt = bsi_stmt (si);
  
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    {
  	      fprintf (vect_dump, "init: stmt relevant? ");
  	      print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_mark_stmts_to_be_vectorized (loop_v
*** 2321,2327 ****
      {
        stmt = VEC_pop (tree, worklist);
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	{
            fprintf (vect_dump, "worklist: examine stmt: ");
            print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 2288,2294 ----
      {
        stmt = VEC_pop (tree, worklist);
  
!       if (vect_print_dump_info (REPORT_DETAILS))
  	{
            fprintf (vect_dump, "worklist: examine stmt: ");
            print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_mark_stmts_to_be_vectorized (loop_v
*** 2393,2400 ****
  
  	  if (!vect_is_simple_use (use, loop_vinfo, &def_stmt, &def, &dt))
              {
!               if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS,
! 			    		LOOP_LOC (loop_vinfo)))
                  fprintf (vect_dump, "not vectorized: unsupported use in stmt.");
  	      VEC_free (tree, heap, worklist);
                return false;
--- 2360,2366 ----
  
  	  if (!vect_is_simple_use (use, loop_vinfo, &def_stmt, &def, &dt))
              {
!               if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
                  fprintf (vect_dump, "not vectorized: unsupported use in stmt.");
  	      VEC_free (tree, heap, worklist);
                return false;
*************** vect_mark_stmts_to_be_vectorized (loop_v
*** 2403,2409 ****
  	  if (!def_stmt || IS_EMPTY_STMT (def_stmt))
  	    continue;
  
!           if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
              {
                fprintf (vect_dump, "worklist: examine use %d: ", i);
                print_generic_expr (vect_dump, use, TDF_SLIM);
--- 2369,2375 ----
  	  if (!def_stmt || IS_EMPTY_STMT (def_stmt))
  	    continue;
  
!           if (vect_print_dump_info (REPORT_DETAILS))
              {
                fprintf (vect_dump, "worklist: examine use %d: ", i);
                print_generic_expr (vect_dump, use, TDF_SLIM);
*************** vect_can_advance_ivs_p (loop_vec_info lo
*** 2446,2452 ****
  
    /* Analyze phi functions of the loop header.  */
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_can_advance_ivs_p ===");
  
    for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
--- 2412,2418 ----
  
    /* Analyze phi functions of the loop header.  */
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_can_advance_ivs_p ===");
  
    for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
*************** vect_can_advance_ivs_p (loop_vec_info lo
*** 2454,2460 ****
        tree access_fn = NULL;
        tree evolution_part;
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	{
            fprintf (vect_dump, "Analyze phi: ");
            print_generic_expr (vect_dump, phi, TDF_SLIM);
--- 2420,2426 ----
        tree access_fn = NULL;
        tree evolution_part;
  
!       if (vect_print_dump_info (REPORT_DETAILS))
  	{
            fprintf (vect_dump, "Analyze phi: ");
            print_generic_expr (vect_dump, phi, TDF_SLIM);
*************** vect_can_advance_ivs_p (loop_vec_info lo
*** 2465,2471 ****
  
        if (!is_gimple_reg (SSA_NAME_VAR (PHI_RESULT (phi))))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "virtual phi. skip.");
  	  continue;
  	}
--- 2431,2437 ----
  
        if (!is_gimple_reg (SSA_NAME_VAR (PHI_RESULT (phi))))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "virtual phi. skip.");
  	  continue;
  	}
*************** vect_can_advance_ivs_p (loop_vec_info lo
*** 2474,2480 ****
  
        if (STMT_VINFO_DEF_TYPE (vinfo_for_stmt (phi)) == vect_reduction_def)
          {
!           if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
              fprintf (vect_dump, "reduc phi. skip.");
            continue;
          }
--- 2440,2446 ----
  
        if (STMT_VINFO_DEF_TYPE (vinfo_for_stmt (phi)) == vect_reduction_def)
          {
!           if (vect_print_dump_info (REPORT_DETAILS))
              fprintf (vect_dump, "reduc phi. skip.");
            continue;
          }
*************** vect_can_advance_ivs_p (loop_vec_info lo
*** 2486,2497 ****
  
        if (!access_fn)
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "No Access function.");
  	  return false;
  	}
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
  	  fprintf (vect_dump, "Access function of PHI: ");
  	  print_generic_expr (vect_dump, access_fn, TDF_SLIM);
--- 2452,2463 ----
  
        if (!access_fn)
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "No Access function.");
  	  return false;
  	}
  
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
  	  fprintf (vect_dump, "Access function of PHI: ");
  	  print_generic_expr (vect_dump, access_fn, TDF_SLIM);
*************** vect_can_advance_ivs_p (loop_vec_info lo
*** 2501,2507 ****
        
        if (evolution_part == NULL_TREE)
          {
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "No evolution.");
  	  return false;
          }
--- 2467,2473 ----
        
        if (evolution_part == NULL_TREE)
          {
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "No evolution.");
  	  return false;
          }
*************** vect_get_loop_niters (struct loop *loop,
*** 2529,2535 ****
  {
    tree niters;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== get_loop_niters ===");
  
    niters = number_of_iterations_in_loop (loop);
--- 2495,2501 ----
  {
    tree niters;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== get_loop_niters ===");
  
    niters = number_of_iterations_in_loop (loop);
*************** vect_get_loop_niters (struct loop *loop,
*** 2539,2545 ****
      {
        *number_of_iterations = niters;
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	{
  	  fprintf (vect_dump, "==> get_loop_niters:" );
  	  print_generic_expr (vect_dump, *number_of_iterations, TDF_SLIM);
--- 2505,2511 ----
      {
        *number_of_iterations = niters;
  
!       if (vect_print_dump_info (REPORT_DETAILS))
  	{
  	  fprintf (vect_dump, "==> get_loop_niters:" );
  	  print_generic_expr (vect_dump, *number_of_iterations, TDF_SLIM);
*************** vect_analyze_loop_form (struct loop *loo
*** 2566,2581 ****
    loop_vec_info loop_vinfo;
    tree loop_cond;
    tree number_of_iterations = NULL;
-   LOC loop_loc;
  
!   loop_loc = find_loop_location (loop);
! 
!   if (vect_print_dump_info (REPORT_DETAILS, loop_loc))
      fprintf (vect_dump, "=== vect_analyze_loop_form ===");
  
    if (loop->inner)
      {
!       if (vect_print_dump_info (REPORT_OUTER_LOOPS, loop_loc))
          fprintf (vect_dump, "not vectorized: nested loop.");
        return NULL;
      }
--- 2532,2544 ----
    loop_vec_info loop_vinfo;
    tree loop_cond;
    tree number_of_iterations = NULL;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_analyze_loop_form ===");
  
    if (loop->inner)
      {
!       if (vect_print_dump_info (REPORT_OUTER_LOOPS))
          fprintf (vect_dump, "not vectorized: nested loop.");
        return NULL;
      }
*************** vect_analyze_loop_form (struct loop *loo
*** 2584,2590 ****
        || loop->num_nodes != 2
        || EDGE_COUNT (loop->header->preds) != 2)
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS, loop_loc))
          {
            if (!loop->single_exit)
              fprintf (vect_dump, "not vectorized: multiple exits.");
--- 2547,2553 ----
        || loop->num_nodes != 2
        || EDGE_COUNT (loop->header->preds) != 2)
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS))
          {
            if (!loop->single_exit)
              fprintf (vect_dump, "not vectorized: multiple exits.");
*************** vect_analyze_loop_form (struct loop *loo
*** 2603,2609 ****
       executable statements, and the latch is empty.  */
    if (!empty_block_p (loop->latch))
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS, loop_loc))
          fprintf (vect_dump, "not vectorized: unexpected loop form.");
        return NULL;
      }
--- 2566,2572 ----
       executable statements, and the latch is empty.  */
    if (!empty_block_p (loop->latch))
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS))
          fprintf (vect_dump, "not vectorized: unexpected loop form.");
        return NULL;
      }
*************** vect_analyze_loop_form (struct loop *loo
*** 2615,2626 ****
        if (!(e->flags & EDGE_ABNORMAL))
  	{
  	  split_loop_exit_edge (e);
! 	  if (vect_print_dump_info (REPORT_DETAILS, loop_loc))
  	    fprintf (vect_dump, "split exit edge.");
  	}
        else
  	{
! 	  if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS, loop_loc))
  	    fprintf (vect_dump, "not vectorized: abnormal loop exit edge.");
  	  return NULL;
  	}
--- 2578,2589 ----
        if (!(e->flags & EDGE_ABNORMAL))
  	{
  	  split_loop_exit_edge (e);
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "split exit edge.");
  	}
        else
  	{
! 	  if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS))
  	    fprintf (vect_dump, "not vectorized: abnormal loop exit edge.");
  	  return NULL;
  	}
*************** vect_analyze_loop_form (struct loop *loo
*** 2628,2634 ****
  
    if (empty_block_p (loop->header))
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS, loop_loc))
          fprintf (vect_dump, "not vectorized: empty loop.");
        return NULL;
      }
--- 2591,2597 ----
  
    if (empty_block_p (loop->header))
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS))
          fprintf (vect_dump, "not vectorized: empty loop.");
        return NULL;
      }
*************** vect_analyze_loop_form (struct loop *loo
*** 2636,2649 ****
    loop_cond = vect_get_loop_niters (loop, &number_of_iterations);
    if (!loop_cond)
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS, loop_loc))
  	fprintf (vect_dump, "not vectorized: complicated exit condition.");
        return NULL;
      }
    
    if (!number_of_iterations) 
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS, loop_loc))
  	fprintf (vect_dump, 
  		 "not vectorized: number of iterations cannot be computed.");
        return NULL;
--- 2599,2612 ----
    loop_cond = vect_get_loop_niters (loop, &number_of_iterations);
    if (!loop_cond)
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS))
  	fprintf (vect_dump, "not vectorized: complicated exit condition.");
        return NULL;
      }
    
    if (!number_of_iterations) 
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS))
  	fprintf (vect_dump, 
  		 "not vectorized: number of iterations cannot be computed.");
        return NULL;
*************** vect_analyze_loop_form (struct loop *loo
*** 2651,2657 ****
  
    if (chrec_contains_undetermined (number_of_iterations))
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS, loop_loc))
          fprintf (vect_dump, "Infinite number of iterations.");
        return false;
      }
--- 2614,2620 ----
  
    if (chrec_contains_undetermined (number_of_iterations))
      {
!       if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS))
          fprintf (vect_dump, "Infinite number of iterations.");
        return false;
      }
*************** vect_analyze_loop_form (struct loop *loo
*** 2661,2667 ****
  
    if (!LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, loop_loc))
          {
            fprintf (vect_dump, "Symbolic number of iterations is ");
            print_generic_expr (vect_dump, number_of_iterations, TDF_DETAILS);
--- 2624,2630 ----
  
    if (!LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "Symbolic number of iterations is ");
            print_generic_expr (vect_dump, number_of_iterations, TDF_DETAILS);
*************** vect_analyze_loop_form (struct loop *loo
*** 2670,2682 ****
    else
    if (LOOP_VINFO_INT_NITERS (loop_vinfo) == 0)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS, loop_loc))
          fprintf (vect_dump, "not vectorized: number of iterations = 0.");
        return NULL;
      }
  
    LOOP_VINFO_EXIT_COND (loop_vinfo) = loop_cond;
-   LOOP_VINFO_LOC (loop_vinfo) = loop_loc;
  
    return loop_vinfo;
  }
--- 2633,2644 ----
    else
    if (LOOP_VINFO_INT_NITERS (loop_vinfo) == 0)
      {
!       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
          fprintf (vect_dump, "not vectorized: number of iterations = 0.");
        return NULL;
      }
  
    LOOP_VINFO_EXIT_COND (loop_vinfo) = loop_cond;
  
    return loop_vinfo;
  }
*************** vect_analyze_loop (struct loop *loop)
*** 2693,2699 ****
    bool ok;
    loop_vec_info loop_vinfo;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "===== analyze_loop_nest =====");
  
    /* Check the CFG characteristics of the loop (nesting, entry/exit, etc.  */
--- 2655,2661 ----
    bool ok;
    loop_vec_info loop_vinfo;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "===== analyze_loop_nest =====");
  
    /* Check the CFG characteristics of the loop (nesting, entry/exit, etc.  */
*************** vect_analyze_loop (struct loop *loop)
*** 2701,2707 ****
    loop_vinfo = vect_analyze_loop_form (loop);
    if (!loop_vinfo)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "bad loop form.");
        return NULL;
      }
--- 2663,2669 ----
    loop_vinfo = vect_analyze_loop_form (loop);
    if (!loop_vinfo)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "bad loop form.");
        return NULL;
      }
*************** vect_analyze_loop (struct loop *loop)
*** 2715,2721 ****
    ok = vect_analyze_data_refs (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "bad data references.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
--- 2677,2683 ----
    ok = vect_analyze_data_refs (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "bad data references.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
*************** vect_analyze_loop (struct loop *loop)
*** 2731,2737 ****
    ok = vect_mark_stmts_to_be_vectorized (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "unexpected pattern.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
--- 2693,2699 ----
    ok = vect_mark_stmts_to_be_vectorized (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "unexpected pattern.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
*************** vect_analyze_loop (struct loop *loop)
*** 2740,2746 ****
    ok = vect_determine_vectorization_factor (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
          fprintf (vect_dump, "can't determine vectorization factor.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
--- 2702,2708 ----
    ok = vect_determine_vectorization_factor (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "can't determine vectorization factor.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
*************** vect_analyze_loop (struct loop *loop)
*** 2752,2758 ****
    ok = vect_analyze_data_ref_dependences (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "bad data dependence.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
--- 2714,2720 ----
    ok = vect_analyze_data_ref_dependences (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "bad data dependence.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
*************** vect_analyze_loop (struct loop *loop)
*** 2764,2770 ****
    ok = vect_analyze_data_ref_accesses (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "bad data access.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
--- 2726,2732 ----
    ok = vect_analyze_data_ref_accesses (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "bad data access.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
*************** vect_analyze_loop (struct loop *loop)
*** 2776,2782 ****
    ok = vect_analyze_data_refs_alignment (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "bad data alignment.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
--- 2738,2744 ----
    ok = vect_analyze_data_refs_alignment (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "bad data alignment.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
*************** vect_analyze_loop (struct loop *loop)
*** 2788,2794 ****
    ok = vect_analyze_operations (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "bad operation or unsupported loop bound.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
--- 2750,2756 ----
    ok = vect_analyze_operations (loop_vinfo);
    if (!ok)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "bad operation or unsupported loop bound.");
        destroy_loop_vec_info (loop_vinfo);
        return NULL;
Index: tree-vect-transform.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-vect-transform.c,v
retrieving revision 2.35
diff -Idpatel.pbxuser -c -3 -p -r2.35 tree-vect-transform.c
*** tree-vect-transform.c	29 Jun 2005 18:13:27 -0000	2.35
--- tree-vect-transform.c	6 Jul 2005 02:12:41 -0000
*************** vect_create_addr_base_for_vector_ref (tr
*** 232,238 ****
    TREE_OPERAND (vec_stmt, 0) = new_temp;
    append_to_statement_list_force (vec_stmt, new_stmt_list);
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "created ");
        print_generic_expr (vect_dump, vec_stmt, TDF_SLIM);
--- 232,238 ----
    TREE_OPERAND (vec_stmt, 0) = new_temp;
    append_to_statement_list_force (vec_stmt, new_stmt_list);
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "created ");
        print_generic_expr (vect_dump, vec_stmt, TDF_SLIM);
*************** vect_create_data_ref_ptr (tree stmt, blo
*** 332,338 ****
    base_name =  build_fold_indirect_ref (unshare_expr (
  		      STMT_VINFO_VECT_DR_BASE_ADDRESS (stmt_info)));
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        tree data_ref_base = base_name;
        fprintf (vect_dump, "create array_ref of type: ");
--- 332,338 ----
    base_name =  build_fold_indirect_ref (unshare_expr (
  		      STMT_VINFO_VECT_DR_BASE_ADDRESS (stmt_info)));
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        tree data_ref_base = base_name;
        fprintf (vect_dump, "create array_ref of type: ");
*************** vect_init_vector (tree stmt, tree vector
*** 497,503 ****
    new_bb = bsi_insert_on_edge_immediate (pe, init_stmt);
    gcc_assert (!new_bb);
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "created new init_stmt: ");
        print_generic_expr (vect_dump, init_stmt, TDF_SLIM);
--- 497,503 ----
    new_bb = bsi_insert_on_edge_immediate (pe, init_stmt);
    gcc_assert (!new_bb);
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "created new init_stmt: ");
        print_generic_expr (vect_dump, init_stmt, TDF_SLIM);
*************** vect_get_vec_def_for_operand (tree op, t
*** 539,545 ****
    enum vect_def_type dt;
    bool is_simple_use;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "vect_get_vec_def_for_operand: ");
        print_generic_expr (vect_dump, op, TDF_SLIM);
--- 539,545 ----
    enum vect_def_type dt;
    bool is_simple_use;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "vect_get_vec_def_for_operand: ");
        print_generic_expr (vect_dump, op, TDF_SLIM);
*************** vect_get_vec_def_for_operand (tree op, t
*** 547,553 ****
  
    is_simple_use = vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt);
    gcc_assert (is_simple_use);
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        if (def)
          {
--- 547,553 ----
  
    is_simple_use = vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt);
    gcc_assert (is_simple_use);
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        if (def)
          {
*************** vect_get_vec_def_for_operand (tree op, t
*** 570,576 ****
  	  *scalar_def = op;
  
          /* Create 'vect_cst_ = {cst,cst,...,cst}'  */
!         if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
            fprintf (vect_dump, "Create vector_cst. nunits = %d", nunits);
  
          for (i = nunits - 1; i >= 0; --i)
--- 570,576 ----
  	  *scalar_def = op;
  
          /* Create 'vect_cst_ = {cst,cst,...,cst}'  */
!         if (vect_print_dump_info (REPORT_DETAILS))
            fprintf (vect_dump, "Create vector_cst. nunits = %d", nunits);
  
          for (i = nunits - 1; i >= 0; --i)
*************** vect_get_vec_def_for_operand (tree op, t
*** 588,594 ****
  	  *scalar_def = def;
  
          /* Create 'vec_inv = {inv,inv,..,inv}'  */
!         if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
            fprintf (vect_dump, "Create vector_inv.");
  
          for (i = nunits - 1; i >= 0; --i)
--- 588,594 ----
  	  *scalar_def = def;
  
          /* Create 'vec_inv = {inv,inv,..,inv}'  */
!         if (vect_print_dump_info (REPORT_DETAILS))
            fprintf (vect_dump, "Create vector_inv.");
  
          for (i = nunits - 1; i >= 0; --i)
*************** vect_get_vec_def_for_operand (tree op, t
*** 627,633 ****
      /* Case 5: operand is defined by loop-header phi - induction.  */
      case vect_induction_def:
        {
!         if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
            fprintf (vect_dump, "induction - unsupported.");
          internal_error ("no support for induction"); /* FORNOW */
        }
--- 627,633 ----
      /* Case 5: operand is defined by loop-header phi - induction.  */
      case vect_induction_def:
        {
!         if (vect_print_dump_info (REPORT_DETAILS))
            fprintf (vect_dump, "induction - unsupported.");
          internal_error ("no support for induction"); /* FORNOW */
        }
*************** vect_finish_stmt_generation (tree stmt, 
*** 647,653 ****
  {
    bsi_insert_before (bsi, vec_stmt, BSI_SAME_STMT);
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "add new stmt: ");
        print_generic_expr (vect_dump, vec_stmt, TDF_SLIM);
--- 647,653 ----
  {
    bsi_insert_before (bsi, vec_stmt, BSI_SAME_STMT);
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "add new stmt: ");
        print_generic_expr (vect_dump, vec_stmt, TDF_SLIM);
*************** vect_create_epilog_for_reduction (tree v
*** 877,883 ****
    /* 1.2 set the loop-latch arg for the reduction-phi:  */
    add_phi_arg (reduction_phi, vect_def, loop_latch_edge (loop));
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "transform reduction: created def-use cycle:");
        print_generic_expr (vect_dump, reduction_phi, TDF_SLIM);
--- 877,883 ----
    /* 1.2 set the loop-latch arg for the reduction-phi:  */
    add_phi_arg (reduction_phi, vect_def, loop_latch_edge (loop));
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "transform reduction: created def-use cycle:");
        print_generic_expr (vect_dump, reduction_phi, TDF_SLIM);
*************** vect_create_epilog_for_reduction (tree v
*** 909,915 ****
        /*** Case 1:  Create:
  	   v_out2 = reduc_expr <v_out1>  */
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "Reduce using direct vector reduction.");
  
        vec_dest = vect_create_destination_var (scalar_dest, vectype);
--- 909,915 ----
        /*** Case 1:  Create:
  	   v_out2 = reduc_expr <v_out1>  */
  
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "Reduce using direct vector reduction.");
  
        vec_dest = vect_create_destination_var (scalar_dest, vectype);
*************** vect_create_epilog_for_reduction (tree v
*** 965,971 ****
  	          Create:  va = vop <va, va'>
  	        }  */
  
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "Reduce using vector shifts");
  
  	  vec_dest = vect_create_destination_var (scalar_dest, vectype);
--- 965,971 ----
  	          Create:  va = vop <va, va'>
  	        }  */
  
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "Reduce using vector shifts");
  
  	  vec_dest = vect_create_destination_var (scalar_dest, vectype);
*************** vect_create_epilog_for_reduction (tree v
*** 982,988 ****
  	      new_name = make_ssa_name (vec_dest, epilog_stmt);
  	      TREE_OPERAND (epilog_stmt, 0) = new_name;
  	      bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
! 	      if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  		print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  
  
--- 982,988 ----
  	      new_name = make_ssa_name (vec_dest, epilog_stmt);
  	      TREE_OPERAND (epilog_stmt, 0) = new_name;
  	      bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
! 	      if (vect_print_dump_info (REPORT_DETAILS))
  		print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  
  
*************** vect_create_epilog_for_reduction (tree v
*** 991,997 ****
  	      new_temp = make_ssa_name (vec_dest, epilog_stmt);
  	      TREE_OPERAND (epilog_stmt, 0) = new_temp;
  	      bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
! 	      if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  		print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  	    }
  
--- 991,997 ----
  	      new_temp = make_ssa_name (vec_dest, epilog_stmt);
  	      TREE_OPERAND (epilog_stmt, 0) = new_temp;
  	      bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
! 	      if (vect_print_dump_info (REPORT_DETAILS))
  		print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  	    }
  
*************** vect_create_epilog_for_reduction (tree v
*** 1008,1014 ****
  	         Create:  s = op <s, s'>
  	       }  */
  
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "Reduce using scalar code. ");
  
  	  vec_temp = PHI_RESULT (new_phi);
--- 1008,1014 ----
  	         Create:  s = op <s, s'>
  	       }  */
  
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "Reduce using scalar code. ");
  
  	  vec_temp = PHI_RESULT (new_phi);
*************** vect_create_epilog_for_reduction (tree v
*** 1026,1032 ****
                new_temp = make_ssa_name (new_scalar_dest, epilog_stmt);
                TREE_OPERAND (epilog_stmt, 0) = new_temp;
                bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
!               if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
                  print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  	      
  	      bit_offset = element_bitsize;
--- 1026,1032 ----
                new_temp = make_ssa_name (new_scalar_dest, epilog_stmt);
                TREE_OPERAND (epilog_stmt, 0) = new_temp;
                bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
!               if (vect_print_dump_info (REPORT_DETAILS))
                  print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  	      
  	      bit_offset = element_bitsize;
*************** vect_create_epilog_for_reduction (tree v
*** 1049,1055 ****
  	      new_name = make_ssa_name (new_scalar_dest, epilog_stmt);
  	      TREE_OPERAND (epilog_stmt, 0) = new_name;
  	      bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
! 	      if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  		print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  
  
--- 1049,1055 ----
  	      new_name = make_ssa_name (new_scalar_dest, epilog_stmt);
  	      TREE_OPERAND (epilog_stmt, 0) = new_name;
  	      bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
! 	      if (vect_print_dump_info (REPORT_DETAILS))
  		print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  
  
*************** vect_create_epilog_for_reduction (tree v
*** 1058,1064 ****
  	      new_temp = make_ssa_name (new_scalar_dest, epilog_stmt);
  	      TREE_OPERAND (epilog_stmt, 0) = new_temp;
  	      bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
! 	      if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  		print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  	    }
  
--- 1058,1064 ----
  	      new_temp = make_ssa_name (new_scalar_dest, epilog_stmt);
  	      TREE_OPERAND (epilog_stmt, 0) = new_temp;
  	      bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
! 	      if (vect_print_dump_info (REPORT_DETAILS))
  		print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
  	    }
  
*************** vect_create_epilog_for_reduction (tree v
*** 1073,1079 ****
    
    if (extract_scalar_result)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "extract scalar result");
  
        /* The result is in the low order bits.  */
--- 1073,1079 ----
    
    if (extract_scalar_result)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "extract scalar result");
  
        /* The result is in the low order bits.  */
*************** vect_create_epilog_for_reduction (tree v
*** 1090,1096 ****
        new_temp = make_ssa_name (new_scalar_dest, epilog_stmt);
        TREE_OPERAND (epilog_stmt, 0) = new_temp; 
        bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
      }
  
--- 1090,1096 ----
        new_temp = make_ssa_name (new_scalar_dest, epilog_stmt);
        TREE_OPERAND (epilog_stmt, 0) = new_temp; 
        bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
!       if (vect_print_dump_info (REPORT_DETAILS))
  	print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
      }
  
*************** vect_create_epilog_for_reduction (tree v
*** 1110,1116 ****
        TREE_OPERAND (epilog_stmt, 0) = new_temp;
        bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
      }
  
--- 1110,1116 ----
        TREE_OPERAND (epilog_stmt, 0) = new_temp;
        bsi_insert_after (&exit_bsi, epilog_stmt, BSI_NEW_STMT);
  
!       if (vect_print_dump_info (REPORT_DETAILS))
          print_generic_expr (vect_dump, epilog_stmt, TDF_SLIM);
      }
  
*************** vectorizable_reduction (tree stmt, block
*** 1218,1237 ****
    optab = optab_for_tree_code (code, vectype);
    if (!optab)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "no optab.");
        return false;
      }
    vec_mode = TYPE_MODE (vectype);
    if (optab->handlers[(int) vec_mode].insn_code == CODE_FOR_nothing)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "op not supported by target.");
        if (GET_MODE_SIZE (vec_mode) != UNITS_PER_WORD
            || LOOP_VINFO_VECT_FACTOR (loop_vinfo)
  	     < vect_min_worthwhile_factor (code))
          return false;
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "proceeding using word mode.");
      }
  
--- 1218,1237 ----
    optab = optab_for_tree_code (code, vectype);
    if (!optab)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "no optab.");
        return false;
      }
    vec_mode = TYPE_MODE (vectype);
    if (optab->handlers[(int) vec_mode].insn_code == CODE_FOR_nothing)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "op not supported by target.");
        if (GET_MODE_SIZE (vec_mode) != UNITS_PER_WORD
            || LOOP_VINFO_VECT_FACTOR (loop_vinfo)
  	     < vect_min_worthwhile_factor (code))
          return false;
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "proceeding using word mode.");
      }
  
*************** vectorizable_reduction (tree stmt, block
*** 1240,1246 ****
        && LOOP_VINFO_VECT_FACTOR (loop_vinfo)
  	 < vect_min_worthwhile_factor (code))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "not worthwhile without SIMD support.");
        return false;
      }
--- 1240,1246 ----
        && LOOP_VINFO_VECT_FACTOR (loop_vinfo)
  	 < vect_min_worthwhile_factor (code))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "not worthwhile without SIMD support.");
        return false;
      }
*************** vectorizable_reduction (tree stmt, block
*** 1251,1263 ****
    reduc_optab = optab_for_tree_code (reduc_code, vectype);
    if (!reduc_optab)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "no optab for reduction.");
        reduc_code = NUM_TREE_CODES;
      }
    if (reduc_optab->handlers[(int) vec_mode].insn_code == CODE_FOR_nothing)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "reduc op not supported by target.");
        reduc_code = NUM_TREE_CODES;
      }
--- 1251,1263 ----
    reduc_optab = optab_for_tree_code (reduc_code, vectype);
    if (!reduc_optab)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "no optab for reduction.");
        reduc_code = NUM_TREE_CODES;
      }
    if (reduc_optab->handlers[(int) vec_mode].insn_code == CODE_FOR_nothing)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "reduc op not supported by target.");
        reduc_code = NUM_TREE_CODES;
      }
*************** vectorizable_reduction (tree stmt, block
*** 1270,1276 ****
  
    /** Transform.  **/
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "transform reduction.");
  
    /* Create the destination vector  */
--- 1270,1276 ----
  
    /** Transform.  **/
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "transform reduction.");
  
    /* Create the destination vector  */
*************** vectorizable_assignment (tree stmt, bloc
*** 1338,1344 ****
    op = TREE_OPERAND (stmt, 1);
    if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "use not simple.");
        return false;
      }
--- 1338,1344 ----
    op = TREE_OPERAND (stmt, 1);
    if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "use not simple.");
        return false;
      }
*************** vectorizable_assignment (tree stmt, bloc
*** 1350,1356 ****
      }
  
    /** Transform.  **/
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "transform assignment.");
  
    /* Handle def.  */
--- 1350,1356 ----
      }
  
    /** Transform.  **/
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "transform assignment.");
  
    /* Handle def.  */
*************** vectorizable_operation (tree stmt, block
*** 1434,1440 ****
    if (STMT_VINFO_LIVE_P (stmt_info))
      {
        /* FORNOW: not yet supported.  */
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
          fprintf (vect_dump, "value used after loop.");
        return false;
      }
--- 1434,1440 ----
    if (STMT_VINFO_LIVE_P (stmt_info))
      {
        /* FORNOW: not yet supported.  */
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "value used after loop.");
        return false;
      }
*************** vectorizable_operation (tree stmt, block
*** 1453,1459 ****
    op_type = TREE_CODE_LENGTH (code);
    if (op_type != unary_op && op_type != binary_op)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "num. args = %d (not unary/binary op).", op_type);
        return false;
      }
--- 1453,1459 ----
    op_type = TREE_CODE_LENGTH (code);
    if (op_type != unary_op && op_type != binary_op)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "num. args = %d (not unary/binary op).", op_type);
        return false;
      }
*************** vectorizable_operation (tree stmt, block
*** 1463,1469 ****
        op = TREE_OPERAND (operation, i);
        if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "use not simple.");
  	  return false;
  	}	
--- 1463,1469 ----
        op = TREE_OPERAND (operation, i);
        if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "use not simple.");
  	  return false;
  	}	
*************** vectorizable_operation (tree stmt, block
*** 1472,1491 ****
    /* Supportable by target?  */
    if (!optab)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "no optab.");
        return false;
      }
    vec_mode = TYPE_MODE (vectype);
    if (optab->handlers[(int) vec_mode].insn_code == CODE_FOR_nothing)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "op not supported by target.");
        if (GET_MODE_SIZE (vec_mode) != UNITS_PER_WORD
            || LOOP_VINFO_VECT_FACTOR (loop_vinfo)
  	     < vect_min_worthwhile_factor (code))
          return false;
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "proceeding using word mode.");
      }
  
--- 1472,1491 ----
    /* Supportable by target?  */
    if (!optab)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "no optab.");
        return false;
      }
    vec_mode = TYPE_MODE (vectype);
    if (optab->handlers[(int) vec_mode].insn_code == CODE_FOR_nothing)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "op not supported by target.");
        if (GET_MODE_SIZE (vec_mode) != UNITS_PER_WORD
            || LOOP_VINFO_VECT_FACTOR (loop_vinfo)
  	     < vect_min_worthwhile_factor (code))
          return false;
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "proceeding using word mode.");
      }
  
*************** vectorizable_operation (tree stmt, block
*** 1494,1500 ****
        && LOOP_VINFO_VECT_FACTOR (loop_vinfo)
  	 < vect_min_worthwhile_factor (code))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	fprintf (vect_dump, "not worthwhile without SIMD support.");
        return false;
      }
--- 1494,1500 ----
        && LOOP_VINFO_VECT_FACTOR (loop_vinfo)
  	 < vect_min_worthwhile_factor (code))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "not worthwhile without SIMD support.");
        return false;
      }
*************** vectorizable_operation (tree stmt, block
*** 1507,1513 ****
  
    /** Transform.  **/
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "transform binary/unary operation.");
  
    /* Handle def.  */
--- 1507,1513 ----
  
    /** Transform.  **/
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "transform binary/unary operation.");
  
    /* Handle def.  */
*************** vectorizable_store (tree stmt, block_stm
*** 1579,1585 ****
    op = TREE_OPERAND (stmt, 1);
    if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "use not simple.");
        return false;
      }
--- 1579,1585 ----
    op = TREE_OPERAND (stmt, 1);
    if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "use not simple.");
        return false;
      }
*************** vectorizable_store (tree stmt, block_stm
*** 1602,1608 ****
  
    /** Transform.  **/
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "transform store");
  
    alignment_support_cheme = vect_supportable_dr_alignment (dr);
--- 1602,1608 ----
  
    /** Transform.  **/
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "transform store");
  
    alignment_support_cheme = vect_supportable_dr_alignment (dr);
*************** vectorizable_load (tree stmt, block_stmt
*** 1680,1686 ****
    if (STMT_VINFO_LIVE_P (stmt_info))
      {
        /* FORNOW: not yet supported.  */
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
          fprintf (vect_dump, "value used after loop.");
        return false;
      }
--- 1680,1686 ----
    if (STMT_VINFO_LIVE_P (stmt_info))
      {
        /* FORNOW: not yet supported.  */
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "value used after loop.");
        return false;
      }
*************** vectorizable_load (tree stmt, block_stmt
*** 1705,1711 ****
      (e.g. - data copies).  */
    if (mov_optab->handlers[mode].insn_code == CODE_FOR_nothing)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
  	fprintf (vect_dump, "Aligned load, but unsupported type.");
        return false;
      }
--- 1705,1711 ----
      (e.g. - data copies).  */
    if (mov_optab->handlers[mode].insn_code == CODE_FOR_nothing)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
  	fprintf (vect_dump, "Aligned load, but unsupported type.");
        return false;
      }
*************** vectorizable_load (tree stmt, block_stmt
*** 1718,1724 ****
  
    /** Transform.  **/
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "transform load.");
  
    alignment_support_cheme = vect_supportable_dr_alignment (dr);
--- 1718,1724 ----
  
    /** Transform.  **/
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "transform load.");
  
    alignment_support_cheme = vect_supportable_dr_alignment (dr);
*************** vectorizable_live_operation (tree stmt,
*** 1907,1913 ****
        op = TREE_OPERAND (operation, i);
        if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt))
          {
!           if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
              fprintf (vect_dump, "use not simple.");
            return false;
          }
--- 1907,1913 ----
        op = TREE_OPERAND (operation, i);
        if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt))
          {
!           if (vect_print_dump_info (REPORT_DETAILS))
              fprintf (vect_dump, "use not simple.");
            return false;
          }
*************** vectorizable_condition (tree stmt, block
*** 1998,2004 ****
    if (STMT_VINFO_LIVE_P (stmt_info))
      {
        /* FORNOW: not yet supported.  */
!       if (vect_print_dump_info (REPORT_DETAILS, LOOP_LOC (loop_vinfo)))
          fprintf (vect_dump, "value used after loop.");
        return false;
      }
--- 1998,2004 ----
    if (STMT_VINFO_LIVE_P (stmt_info))
      {
        /* FORNOW: not yet supported.  */
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "value used after loop.");
        return false;
      }
*************** vect_transform_stmt (tree stmt, block_st
*** 2120,2126 ****
  	break;
  
        default:
! 	if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	  fprintf (vect_dump, "stmt not supported.");
  	gcc_unreachable ();
        }
--- 2120,2126 ----
  	break;
  
        default:
! 	if (vect_print_dump_info (REPORT_DETAILS))
  	  fprintf (vect_dump, "stmt not supported.");
  	gcc_unreachable ();
        }
*************** vect_update_ivs_after_vectorizer (loop_v
*** 2388,2394 ****
        tree var, stmt, ni, ni_name;
        block_stmt_iterator last_bsi;
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "vect_update_ivs_after_vectorizer: phi: ");
            print_generic_expr (vect_dump, phi, TDF_SLIM);
--- 2388,2394 ----
        tree var, stmt, ni, ni_name;
        block_stmt_iterator last_bsi;
  
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "vect_update_ivs_after_vectorizer: phi: ");
            print_generic_expr (vect_dump, phi, TDF_SLIM);
*************** vect_update_ivs_after_vectorizer (loop_v
*** 2397,2403 ****
        /* Skip virtual phi's.  */
        if (!is_gimple_reg (SSA_NAME_VAR (PHI_RESULT (phi))))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "virtual phi. skip.");
  	  continue;
  	}
--- 2397,2403 ----
        /* Skip virtual phi's.  */
        if (!is_gimple_reg (SSA_NAME_VAR (PHI_RESULT (phi))))
  	{
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "virtual phi. skip.");
  	  continue;
  	}
*************** vect_update_ivs_after_vectorizer (loop_v
*** 2405,2411 ****
        /* Skip reduction phis.  */
        if (STMT_VINFO_DEF_TYPE (vinfo_for_stmt (phi)) == vect_reduction_def)
          { 
!           if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
              fprintf (vect_dump, "reduc phi. skip.");
            continue;
          } 
--- 2405,2411 ----
        /* Skip reduction phis.  */
        if (STMT_VINFO_DEF_TYPE (vinfo_for_stmt (phi)) == vect_reduction_def)
          { 
!           if (vect_print_dump_info (REPORT_DETAILS))
              fprintf (vect_dump, "reduc phi. skip.");
            continue;
          } 
*************** vect_do_peeling_for_loop_bound (loop_vec
*** 2465,2471 ****
    basic_block preheader;
    int loop_num;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_do_peeling_for_loop_bound ===");
  
    initialize_original_copy_tables ();
--- 2465,2471 ----
    basic_block preheader;
    int loop_num;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_do_peeling_for_loop_bound ===");
  
    initialize_original_copy_tables ();
*************** vect_gen_niters_for_prolog_loop (loop_ve
*** 2555,2561 ****
        int element_size = vectype_align/vf;
        int elem_misalign = byte_misalign / element_size;
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "known alignment = %d.", byte_misalign);
        iters = build_int_cst (niters_type, (vf - elem_misalign)&(vf-1));
      }
--- 2555,2561 ----
        int element_size = vectype_align/vf;
        int elem_misalign = byte_misalign / element_size;
  
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "known alignment = %d.", byte_misalign);
        iters = build_int_cst (niters_type, (vf - elem_misalign)&(vf-1));
      }
*************** vect_gen_niters_for_prolog_loop (loop_ve
*** 2598,2604 ****
    if (TREE_CODE (loop_niters) != INTEGER_CST)
      iters = build2 (MIN_EXPR, niters_type, iters, loop_niters);
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "niters for prolog loop: ");
        print_generic_expr (vect_dump, iters, TDF_SLIM);
--- 2598,2604 ----
    if (TREE_CODE (loop_niters) != INTEGER_CST)
      iters = build2 (MIN_EXPR, niters_type, iters, loop_niters);
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "niters for prolog loop: ");
        print_generic_expr (vect_dump, iters, TDF_SLIM);
*************** vect_do_peeling_for_alignment (loop_vec_
*** 2687,2693 ****
    tree n_iters;
    struct loop *new_loop;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vect_do_peeling_for_alignment ===");
  
    initialize_original_copy_tables ();
--- 2687,2693 ----
    tree n_iters;
    struct loop *new_loop;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vect_do_peeling_for_alignment ===");
  
    initialize_original_copy_tables ();
*************** vect_transform_loop (loop_vec_info loop_
*** 2737,2743 ****
    tree ratio = NULL;
    int vectorization_factor = LOOP_VINFO_VECT_FACTOR (loop_vinfo);
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "=== vec_transform_loop ===");
  
    /* Peel the loop if there are data refs with unknown alignment.
--- 2737,2743 ----
    tree ratio = NULL;
    int vectorization_factor = LOOP_VINFO_VECT_FACTOR (loop_vinfo);
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "=== vec_transform_loop ===");
  
    /* Peel the loop if there are data refs with unknown alignment.
*************** vect_transform_loop (loop_vec_info loop_
*** 2785,2791 ****
  	  stmt_vec_info stmt_info;
  	  bool is_store;
  
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    {
  	      fprintf (vect_dump, "------>vectorizing statement: ");
  	      print_generic_expr (vect_dump, stmt, TDF_SLIM);
--- 2785,2791 ----
  	  stmt_vec_info stmt_info;
  	  bool is_store;
  
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    {
  	      fprintf (vect_dump, "------>vectorizing statement: ");
  	      print_generic_expr (vect_dump, stmt, TDF_SLIM);
*************** vect_transform_loop (loop_vec_info loop_
*** 2805,2811 ****
  		 == (unsigned HOST_WIDE_INT) vectorization_factor);
  
  	  /* -------- vectorize statement ------------ */
! 	  if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
  	    fprintf (vect_dump, "transform statement.");
  
  	  is_store = vect_transform_stmt (stmt, &si);
--- 2805,2811 ----
  		 == (unsigned HOST_WIDE_INT) vectorization_factor);
  
  	  /* -------- vectorize statement ------------ */
! 	  if (vect_print_dump_info (REPORT_DETAILS))
  	    fprintf (vect_dump, "transform statement.");
  
  	  is_store = vect_transform_stmt (stmt, &si);
*************** vect_transform_loop (loop_vec_info loop_
*** 2830,2835 ****
       until all the loops have been transformed?  */
    update_ssa (TODO_update_ssa);
  
!   if (vect_print_dump_info (REPORT_VECTORIZED_LOOPS, LOOP_LOC (loop_vinfo)))
      fprintf (vect_dump, "LOOP VECTORIZED.");
  }
--- 2830,2835 ----
       until all the loops have been transformed?  */
    update_ssa (TODO_update_ssa);
  
!   if (vect_print_dump_info (REPORT_VECTORIZED_LOOPS))
      fprintf (vect_dump, "LOOP VECTORIZED.");
  }
Index: tree-vectorizer.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-vectorizer.c,v
retrieving revision 2.101
diff -Idpatel.pbxuser -c -3 -p -r2.101 tree-vectorizer.c
*** tree-vectorizer.c	3 Jul 2005 16:11:38 -0000	2.101
--- tree-vectorizer.c	6 Jul 2005 02:12:41 -0000
*************** enum verbosity_levels vect_verbosity_lev
*** 176,181 ****
--- 176,184 ----
  
  /* Number of loops, at the beginning of vectorization.  */
  unsigned int vect_loops_num;
+ 
+ /* Loop location.  */
+ static LOC vect_loop_location;
  
  /*************************************************************************
    Simple Loop Peeling Utilities
*************** vect_set_dump_settings (void)
*** 1299,1315 ****
     For vectorization debug dumps.  */
  
  bool
! vect_print_dump_info (enum verbosity_levels vl, LOC loc)
  {
    if (vl > vect_verbosity_level)
      return false;
  
!   if (loc == UNKNOWN_LOC)
      fprintf (vect_dump, "\n%s:%d: note: ",
  		 DECL_SOURCE_FILE (current_function_decl),
  		 DECL_SOURCE_LINE (current_function_decl));
    else
!     fprintf (vect_dump, "\n%s:%d: note: ", LOC_FILE (loc), LOC_LINE (loc));
  
  
    return true;
--- 1302,1319 ----
     For vectorization debug dumps.  */
  
  bool
! vect_print_dump_info (enum verbosity_levels vl)
  {
    if (vl > vect_verbosity_level)
      return false;
  
!   if (vect_loop_location == UNKNOWN_LOC)
      fprintf (vect_dump, "\n%s:%d: note: ",
  		 DECL_SOURCE_FILE (current_function_decl),
  		 DECL_SOURCE_LINE (current_function_decl));
    else
!     fprintf (vect_dump, "\n%s:%d: note: ", 
! 	     LOC_FILE (vect_loop_location), LOC_LINE (vect_loop_location));
  
  
    return true;
*************** new_loop_vec_info (struct loop *loop)
*** 1407,1413 ****
    VARRAY_GENERIC_PTR_INIT (LOOP_VINFO_DATAREF_READS (res), 20,
  			   "loop_read_datarefs");
    LOOP_VINFO_UNALIGNED_DR (res) = NULL;
-   LOOP_VINFO_LOC (res) = UNKNOWN_LOC;
  
    return res;
  }
--- 1411,1416 ----
*************** get_vectype_for_scalar_type (tree scalar
*** 1549,1555 ****
    nunits = UNITS_PER_SIMD_WORD / nbytes;
  
    vectype = build_vector_type (scalar_type, nunits);
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "get vectype with %d units of type ", nunits);
        print_generic_expr (vect_dump, scalar_type, TDF_SLIM);
--- 1552,1558 ----
    nunits = UNITS_PER_SIMD_WORD / nbytes;
  
    vectype = build_vector_type (scalar_type, nunits);
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "get vectype with %d units of type ", nunits);
        print_generic_expr (vect_dump, scalar_type, TDF_SLIM);
*************** get_vectype_for_scalar_type (tree scalar
*** 1558,1564 ****
    if (!vectype)
      return NULL_TREE;
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "vectype: ");
        print_generic_expr (vect_dump, vectype, TDF_SLIM);
--- 1561,1567 ----
    if (!vectype)
      return NULL_TREE;
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "vectype: ");
        print_generic_expr (vect_dump, vectype, TDF_SLIM);
*************** get_vectype_for_scalar_type (tree scalar
*** 1567,1573 ****
    if (!VECTOR_MODE_P (TYPE_MODE (vectype))
        && !INTEGRAL_MODE_P (TYPE_MODE (vectype)))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "mode not supported by target.");
        return NULL_TREE;
      }
--- 1570,1576 ----
    if (!VECTOR_MODE_P (TYPE_MODE (vectype))
        && !INTEGRAL_MODE_P (TYPE_MODE (vectype)))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "mode not supported by target.");
        return NULL_TREE;
      }
*************** vect_is_simple_use (tree operand, loop_v
*** 1633,1639 ****
    *def_stmt = NULL_TREE;
    *def = NULL_TREE;
    
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "vect_is_simple_use: operand ");
        print_generic_expr (vect_dump, operand, TDF_SLIM);
--- 1636,1642 ----
    *def_stmt = NULL_TREE;
    *def = NULL_TREE;
    
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "vect_is_simple_use: operand ");
        print_generic_expr (vect_dump, operand, TDF_SLIM);
*************** vect_is_simple_use (tree operand, loop_v
*** 1647,1653 ****
      
    if (TREE_CODE (operand) != SSA_NAME)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "not ssa-name.");
        return false;
      }
--- 1650,1656 ----
      
    if (TREE_CODE (operand) != SSA_NAME)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "not ssa-name.");
        return false;
      }
*************** vect_is_simple_use (tree operand, loop_v
*** 1655,1666 ****
    *def_stmt = SSA_NAME_DEF_STMT (operand);
    if (*def_stmt == NULL_TREE )
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "no def_stmt.");
        return false;
      }
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "def_stmt: ");
        print_generic_expr (vect_dump, *def_stmt, TDF_SLIM);
--- 1658,1669 ----
    *def_stmt = SSA_NAME_DEF_STMT (operand);
    if (*def_stmt == NULL_TREE )
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "no def_stmt.");
        return false;
      }
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "def_stmt: ");
        print_generic_expr (vect_dump, *def_stmt, TDF_SLIM);
*************** vect_is_simple_use (tree operand, loop_v
*** 1678,1684 ****
            return true;
          }
  
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "Unexpected empty stmt.");
        return false;
      }
--- 1681,1687 ----
            return true;
          }
  
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "Unexpected empty stmt.");
        return false;
      }
*************** vect_is_simple_use (tree operand, loop_v
*** 1694,1700 ****
  
    if (*dt == vect_unknown_def_type)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "Unsupported pattern.");
        return false;
      }
--- 1697,1703 ----
  
    if (*dt == vect_unknown_def_type)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "Unsupported pattern.");
        return false;
      }
*************** vect_is_simple_use (tree operand, loop_v
*** 1703,1714 ****
       a reduction operation cannot have uses in the loop.  */
    if (*dt == vect_reduction_def && TREE_CODE (*def_stmt) != PHI_NODE)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "reduction used in loop.");
        return false;
      }
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      fprintf (vect_dump, "type of def: %d.",*dt);
  
    switch (TREE_CODE (*def_stmt))
--- 1706,1717 ----
       a reduction operation cannot have uses in the loop.  */
    if (*dt == vect_reduction_def && TREE_CODE (*def_stmt) != PHI_NODE)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "reduction used in loop.");
        return false;
      }
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      fprintf (vect_dump, "type of def: %d.",*dt);
  
    switch (TREE_CODE (*def_stmt))
*************** vect_is_simple_use (tree operand, loop_v
*** 1725,1738 ****
        break;
  
      default:
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "unsupported defining stmt: ");
        return false;
      }
  
    if (*dt == vect_induction_def)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "induction not supported.");
        return false;
      }
--- 1728,1741 ----
        break;
  
      default:
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "unsupported defining stmt: ");
        return false;
      }
  
    if (*dt == vect_induction_def)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "induction not supported.");
        return false;
      }
*************** vect_is_simple_reduction (struct loop *l
*** 1810,1816 ****
  
    if (TREE_CODE (loop_arg) != SSA_NAME)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "reduction: not ssa_name: ");
            print_generic_expr (vect_dump, loop_arg, TDF_SLIM);
--- 1813,1819 ----
  
    if (TREE_CODE (loop_arg) != SSA_NAME)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "reduction: not ssa_name: ");
            print_generic_expr (vect_dump, loop_arg, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1821,1834 ****
    def_stmt = SSA_NAME_DEF_STMT (loop_arg);
    if (!def_stmt)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "reduction: no def_stmt.");
        return NULL_TREE;
      }
  
    if (TREE_CODE (def_stmt) != MODIFY_EXPR)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            print_generic_expr (vect_dump, def_stmt, TDF_SLIM);
          }
--- 1824,1837 ----
    def_stmt = SSA_NAME_DEF_STMT (loop_arg);
    if (!def_stmt)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "reduction: no def_stmt.");
        return NULL_TREE;
      }
  
    if (TREE_CODE (def_stmt) != MODIFY_EXPR)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            print_generic_expr (vect_dump, def_stmt, TDF_SLIM);
          }
*************** vect_is_simple_reduction (struct loop *l
*** 1839,1845 ****
    code = TREE_CODE (operation);
    if (!commutative_tree_code (code) || !associative_tree_code (code))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "reduction: not commutative/associative: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
--- 1842,1848 ----
    code = TREE_CODE (operation);
    if (!commutative_tree_code (code) || !associative_tree_code (code))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "reduction: not commutative/associative: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1850,1856 ****
    op_type = TREE_CODE_LENGTH (code);
    if (op_type != binary_op)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "reduction: not binary operation: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
--- 1853,1859 ----
    op_type = TREE_CODE_LENGTH (code);
    if (op_type != binary_op)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "reduction: not binary operation: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1862,1868 ****
    op2 = TREE_OPERAND (operation, 1);
    if (TREE_CODE (op1) != SSA_NAME || TREE_CODE (op2) != SSA_NAME)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "reduction: uses not ssa_names: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
--- 1865,1871 ----
    op2 = TREE_OPERAND (operation, 1);
    if (TREE_CODE (op1) != SSA_NAME || TREE_CODE (op2) != SSA_NAME)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "reduction: uses not ssa_names: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1875,1881 ****
    if (TYPE_MAIN_VARIANT (type) != TYPE_MAIN_VARIANT (TREE_TYPE (op1))
        || TYPE_MAIN_VARIANT (type) != TYPE_MAIN_VARIANT (TREE_TYPE (op2)))
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "reduction: multiple types: operation type: ");
            print_generic_expr (vect_dump, type, TDF_SLIM);
--- 1878,1884 ----
    if (TYPE_MAIN_VARIANT (type) != TYPE_MAIN_VARIANT (TREE_TYPE (op1))
        || TYPE_MAIN_VARIANT (type) != TYPE_MAIN_VARIANT (TREE_TYPE (op2)))
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "reduction: multiple types: operation type: ");
            print_generic_expr (vect_dump, type, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1891,1897 ****
    if (SCALAR_FLOAT_TYPE_P (type) && !flag_unsafe_math_optimizations)
      {
        /* Changing the order of operations changes the sematics.  */
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "reduction: unsafe fp math optimization: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
--- 1894,1900 ----
    if (SCALAR_FLOAT_TYPE_P (type) && !flag_unsafe_math_optimizations)
      {
        /* Changing the order of operations changes the sematics.  */
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "reduction: unsafe fp math optimization: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1901,1907 ****
    else if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type) && flag_trapv)
      {
        /* Changing the order of operations changes the sematics.  */
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "reduction: unsafe int math optimization: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
--- 1904,1910 ----
    else if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type) && flag_trapv)
      {
        /* Changing the order of operations changes the sematics.  */
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "reduction: unsafe int math optimization: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1917,1923 ****
    def2 = SSA_NAME_DEF_STMT (op2);
    if (!def1 || !def2)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "reduction: no defs for operands: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
--- 1920,1926 ----
    def2 = SSA_NAME_DEF_STMT (op2);
    if (!def1 || !def2)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "reduction: no defs for operands: ");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1929,1935 ****
        && flow_bb_inside_loop_p (loop, bb_for_stmt (def1))
        && def2 == phi)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "detected reduction:");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
--- 1932,1938 ----
        && flow_bb_inside_loop_p (loop, bb_for_stmt (def1))
        && def2 == phi)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "detected reduction:");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1946,1952 ****
        /* Swap operands (just for simplicity - so that the rest of the code
  	 can assume that the reduction variable is always the last (second)
  	 argument).  */
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "detected reduction: need to swap operands:");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
--- 1949,1955 ----
        /* Swap operands (just for simplicity - so that the rest of the code
  	 can assume that the reduction variable is always the last (second)
  	 argument).  */
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "detected reduction: need to swap operands:");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
*************** vect_is_simple_reduction (struct loop *l
*** 1965,1971 ****
      }
    else
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          {
            fprintf (vect_dump, "reduction: unknown pattern.");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
--- 1968,1974 ----
      }
    else
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          {
            fprintf (vect_dump, "reduction: unknown pattern.");
            print_generic_expr (vect_dump, operation, TDF_SLIM);
*************** vect_is_simple_iv_evolution (unsigned lo
*** 2003,2009 ****
    init_expr = unshare_expr (initial_condition_in_loop_num (access_fn,
                                                             loop_nb));
  
!   if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
      {
        fprintf (vect_dump, "step: ");
        print_generic_expr (vect_dump, step_expr, TDF_SLIM);
--- 2006,2012 ----
    init_expr = unshare_expr (initial_condition_in_loop_num (access_fn,
                                                             loop_nb));
  
!   if (vect_print_dump_info (REPORT_DETAILS))
      {
        fprintf (vect_dump, "step: ");
        print_generic_expr (vect_dump, step_expr, TDF_SLIM);
*************** vect_is_simple_iv_evolution (unsigned lo
*** 2016,2022 ****
  
    if (TREE_CODE (step_expr) != INTEGER_CST)
      {
!       if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
          fprintf (vect_dump, "step unknown.");
        return false;
      }
--- 2019,2025 ----
  
    if (TREE_CODE (step_expr) != INTEGER_CST)
      {
!       if (vect_print_dump_info (REPORT_DETAILS))
          fprintf (vect_dump, "step unknown.");
        return false;
      }
*************** vectorize_loops (struct loops *loops)
*** 2052,2057 ****
--- 2055,2061 ----
        if (!loop)
          continue;
  
+       vect_loop_location = find_loop_location (loop);
        loop_vinfo = vect_analyze_loop (loop);
        loop->aux = loop_vinfo;
  
*************** vectorize_loops (struct loops *loops)
*** 2062,2068 ****
        num_vectorized_loops++;
      }
  
!   if (vect_print_dump_info (REPORT_VECTORIZED_LOOPS, UNKNOWN_LOC))
      fprintf (vect_dump, "vectorized %u loops in function.\n",
  	     num_vectorized_loops);
  
--- 2066,2072 ----
        num_vectorized_loops++;
      }
  
!   if (vect_print_dump_info (REPORT_VECTORIZED_LOOPS))
      fprintf (vect_dump, "vectorized %u loops in function.\n",
  	     num_vectorized_loops);
  
Index: tree-vectorizer.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-vectorizer.h,v
retrieving revision 2.25
diff -Idpatel.pbxuser -c -3 -p -r2.25 tree-vectorizer.h
*** tree-vectorizer.h	25 Jun 2005 02:01:52 -0000	2.25
--- tree-vectorizer.h	6 Jul 2005 02:12:41 -0000
*************** typedef struct _loop_vec_info {
*** 122,129 ****
    /* All data references in the loop that are being read from.  */
    varray_type data_ref_reads;
  
-   /* The loop location in the source.  */
-   LOC loop_line_number;
  } *loop_vec_info;
  
  /* Access Functions.  */
--- 122,127 ----
*************** typedef struct _loop_vec_info {
*** 138,146 ****
  #define LOOP_VINFO_INT_NITERS(L) (TREE_INT_CST_LOW ((L)->num_iters))
  #define LOOP_PEELING_FOR_ALIGNMENT(L) (L)->peeling_for_alignment
  #define LOOP_VINFO_UNALIGNED_DR(L) (L)->unaligned_dr
- #define LOOP_VINFO_LOC(L)          (L)->loop_line_number
- 
- #define LOOP_LOC(L)    LOOP_VINFO_LOC(L)
  
  
  #define LOOP_VINFO_NITERS_KNOWN_P(L)                     \
--- 136,141 ----
*************** extern enum verbosity_levels vect_verbos
*** 311,316 ****
--- 306,312 ----
  
  /* Number of loops, at the beginning of vectorization.  */
  extern unsigned int vect_loops_num;
+ 
  /*-----------------------------------------------------------------*/
  /* Function prototypes.                                            */
  /*-----------------------------------------------------------------*/
*************** extern void vect_transform_loop (loop_ve
*** 374,380 ****
  /*************************************************************************
    Vectorization Debug Information - in tree-vectorizer.c
   *************************************************************************/
! extern bool vect_print_dump_info (enum verbosity_levels, LOC);
  extern void vect_set_verbosity_level (const char *);
  extern LOC find_loop_location (struct loop *);
  
--- 370,376 ----
  /*************************************************************************
    Vectorization Debug Information - in tree-vectorizer.c
   *************************************************************************/
! extern bool vect_print_dump_info (enum verbosity_levels);
  extern void vect_set_verbosity_level (const char *);
  extern LOC find_loop_location (struct loop *);
  
