Commit 7607bdda by Andreas Tobler Committed by Andreas Tobler

loop-doloop.c (doloop_optimize): Change type of max_cost to int.

2006-09-16  Andreas Tobler  <a.tobler@schweiz.org>

	* loop-doloop.c (doloop_optimize): Change type of max_cost to int.
	Add forgotten parameter to the fprintf call.

From-SVN: r116982
parent 41d9adc7
2006-09-16 Andreas Tobler <a.tobler@schweiz.org>
* loop-doloop.c (doloop_optimize): Change type of max_cost to int.
Add forgotten parameter to the fprintf call.
2006-09-15 Steve Ellcey <sje@cup.hp.com>
* config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Add define.
......
/* Perform doloop optimizations
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
Based on code by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz)
This file is part of GCC.
......@@ -484,7 +484,8 @@ doloop_optimize (struct loop *loop)
rtx iterations_max;
rtx start_label;
rtx condition;
unsigned level, est_niter, max_cost;
unsigned level, est_niter;
int max_cost;
struct niter_desc *desc;
unsigned word_mode_size;
unsigned HOST_WIDE_INT word_mode_max;
......@@ -531,7 +532,7 @@ doloop_optimize (struct loop *loop)
{
if (dump_file)
fprintf (dump_file,
"Doloop: number of iterations too costly to compute.\n",
"Doloop: number of iterations (%u) too costly to compute.\n",
est_niter);
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment