Commit 6a4d6760 by Kazu Hirata Committed by Kazu Hirata

params.c: Fix formatting.

	* params.c: Fix formatting.
	* params.h: Likewise.
	* predict.c: Likewise.
	* prefix.c: Likewise.
	* print-rtl.c: Likewise.
	* print-tree.c: Likewise.
	* profile.c: Likewise.

From-SVN: r53670
parent fe1cc883
2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
* params.c: Fix formatting.
* params.h: Likewise.
* predict.c: Likewise.
* prefix.c: Likewise.
* print-rtl.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.
2002-05-20 H.J. Lu (hjl@gnu.org) 2002-05-20 H.J. Lu (hjl@gnu.org)
* gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine. * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
......
...@@ -37,14 +37,14 @@ static size_t num_compiler_params; ...@@ -37,14 +37,14 @@ static size_t num_compiler_params;
/* Add the N PARAMS to the current list of compiler parameters. */ /* Add the N PARAMS to the current list of compiler parameters. */
void void
add_params (params, n) add_params (params, n)
const param_info params[]; const param_info params[];
size_t n; size_t n;
{ {
/* Allocate enough space for the new parameters. */ /* Allocate enough space for the new parameters. */
compiler_params = compiler_params =
((param_info *) ((param_info *)
xrealloc (compiler_params, xrealloc (compiler_params,
(num_compiler_params + n) * sizeof (param_info))); (num_compiler_params + n) * sizeof (param_info)));
/* Copy them into the table. */ /* Copy them into the table. */
...@@ -79,6 +79,3 @@ set_param_value (name, value) ...@@ -79,6 +79,3 @@ set_param_value (name, value)
/* If we didn't find this parameter, issue an error message. */ /* If we didn't find this parameter, issue an error message. */
error ("invalid parameter `%s'", name); error ("invalid parameter `%s'", name);
} }
...@@ -59,7 +59,7 @@ extern param_info *compiler_params; ...@@ -59,7 +59,7 @@ extern param_info *compiler_params;
/* Add the N PARAMS to the current list of compiler parameters. */ /* Add the N PARAMS to the current list of compiler parameters. */
extern void add_params extern void add_params
PARAMS ((const param_info params[], size_t n)); PARAMS ((const param_info params[], size_t n));
/* Set the VALUE associated with the parameter given by NAME. */ /* Set the VALUE associated with the parameter given by NAME. */
...@@ -75,14 +75,14 @@ typedef enum compiler_param ...@@ -75,14 +75,14 @@ typedef enum compiler_param
#define DEFPARAM(enumerator, option, msgid, default) \ #define DEFPARAM(enumerator, option, msgid, default) \
enumerator, enumerator,
#include "params.def" #include "params.def"
#undef DEFPARAM #undef DEFPARAM
LAST_PARAM LAST_PARAM
} compiler_param; } compiler_param;
/* The value of the parameter given by ENUM. */ /* The value of the parameter given by ENUM. */
#define PARAM_VALUE(ENUM) \ #define PARAM_VALUE(ENUM) \
(compiler_params[(int) ENUM].value) (compiler_params[(int) ENUM].value)
/* Macros for the various parameters. */ /* Macros for the various parameters. */
#define MAX_INLINE_INSNS_SINGLE \ #define MAX_INLINE_INSNS_SINGLE \
PARAM_VALUE (PARAM_MAX_INLINE_INSNS_SINGLE) PARAM_VALUE (PARAM_MAX_INLINE_INSNS_SINGLE)
......
...@@ -74,9 +74,9 @@ static void propagate_freq PARAMS ((basic_block)); ...@@ -74,9 +74,9 @@ static void propagate_freq PARAMS ((basic_block));
static void estimate_bb_frequencies PARAMS ((struct loops *)); static void estimate_bb_frequencies PARAMS ((struct loops *));
static void counts_to_freqs PARAMS ((void)); static void counts_to_freqs PARAMS ((void));
static void process_note_predictions PARAMS ((basic_block, int *, int *, static void process_note_predictions PARAMS ((basic_block, int *, int *,
sbitmap *)); sbitmap *));
static void process_note_prediction PARAMS ((basic_block, int *, int *, static void process_note_prediction PARAMS ((basic_block, int *, int *,
sbitmap *, int, int)); sbitmap *, int, int));
static bool last_basic_block_p PARAMS ((basic_block)); static bool last_basic_block_p PARAMS ((basic_block));
static void compute_function_frequency PARAMS ((void)); static void compute_function_frequency PARAMS ((void));
static void choose_function_section PARAMS ((void)); static void choose_function_section PARAMS ((void));
...@@ -375,10 +375,10 @@ combine_predictions_for_insn (insn, bb) ...@@ -375,10 +375,10 @@ combine_predictions_for_insn (insn, bb)
dump_prediction (predictor, probability, bb, dump_prediction (predictor, probability, bb,
!first_match || best_predictor == predictor); !first_match || best_predictor == predictor);
*pnote = XEXP (*pnote, 1); *pnote = XEXP (*pnote, 1);
} }
else else
pnote = &XEXP (*pnote, 1); pnote = &XEXP (*pnote, 1);
} }
if (!prob_note) if (!prob_note)
...@@ -705,7 +705,7 @@ last_basic_block_p (bb) ...@@ -705,7 +705,7 @@ last_basic_block_p (bb)
should be index of basic block in that we need to alter branch predictions should be index of basic block in that we need to alter branch predictions
(i.e. the first of our dominators such that we do not post-dominate it) (i.e. the first of our dominators such that we do not post-dominate it)
(but we fill this information on demand, so -1 may be there in case this (but we fill this information on demand, so -1 may be there in case this
was not needed yet). */ was not needed yet). */
static void static void
process_note_prediction (bb, heads, dominators, post_dominators, pred, flags) process_note_prediction (bb, heads, dominators, post_dominators, pred, flags)
...@@ -1117,7 +1117,7 @@ expensive_function_p (threshold) ...@@ -1117,7 +1117,7 @@ expensive_function_p (threshold)
is available and function has not been executed at all. */ is available and function has not been executed at all. */
if (ENTRY_BLOCK_PTR->frequency == 0) if (ENTRY_BLOCK_PTR->frequency == 0)
return true; return true;
/* Maximally BB_FREQ_MAX^2 so overflow won't happen. */ /* Maximally BB_FREQ_MAX^2 so overflow won't happen. */
limit = ENTRY_BLOCK_PTR->frequency * threshold; limit = ENTRY_BLOCK_PTR->frequency * threshold;
for (i = 0; i < n_basic_blocks; i++) for (i = 0; i < n_basic_blocks; i++)
......
...@@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */
be considered a "key" and looked up as follows: be considered a "key" and looked up as follows:
-- If this is a Win32 OS, then the Registry will be examined for -- If this is a Win32 OS, then the Registry will be examined for
an entry of "key" in an entry of "key" in
HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\<KEY> HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\<KEY>
...@@ -58,7 +58,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -58,7 +58,7 @@ Boston, MA 02111-1307, USA. */
as an environment variable, whose value will be returned. as an environment variable, whose value will be returned.
Once all this is done, any '/' will be converted to DIR_SEPARATOR, Once all this is done, any '/' will be converted to DIR_SEPARATOR,
if they are different. if they are different.
NOTE: using resolve_keyed_path under Win32 requires linking with NOTE: using resolve_keyed_path under Win32 requires linking with
advapi32.dll. */ advapi32.dll. */
...@@ -149,10 +149,10 @@ lookup_key (key) ...@@ -149,10 +149,10 @@ lookup_key (key)
KEY_READ, &reg_key); KEY_READ, &reg_key);
if (res != ERROR_SUCCESS) if (res != ERROR_SUCCESS)
{ {
reg_key = (HKEY) INVALID_HANDLE_VALUE; reg_key = (HKEY) INVALID_HANDLE_VALUE;
return 0; return 0;
} }
} }
size = 32; size = 32;
......
...@@ -85,7 +85,7 @@ print_mem_expr (outfile, expr) ...@@ -85,7 +85,7 @@ print_mem_expr (outfile, expr)
if (TREE_CODE (expr) == COMPONENT_REF) if (TREE_CODE (expr) == COMPONENT_REF)
{ {
if (TREE_OPERAND (expr, 0)) if (TREE_OPERAND (expr, 0))
print_mem_expr (outfile, TREE_OPERAND (expr, 0)); print_mem_expr (outfile, TREE_OPERAND (expr, 0));
else else
fputs (" <variable>", outfile); fputs (" <variable>", outfile);
fprintf (outfile, ".%s", fprintf (outfile, ".%s",
...@@ -151,7 +151,7 @@ print_rtx (in_rtx) ...@@ -151,7 +151,7 @@ print_rtx (in_rtx)
fputc ('(', outfile); fputc ('(', outfile);
else else
fprintf (outfile, "(%s", GET_RTX_NAME (GET_CODE (in_rtx))); fprintf (outfile, "(%s", GET_RTX_NAME (GET_CODE (in_rtx)));
if (! flag_simple) if (! flag_simple)
{ {
if (RTX_FLAG (in_rtx, in_struct)) if (RTX_FLAG (in_rtx, in_struct))
...@@ -159,26 +159,26 @@ print_rtx (in_rtx) ...@@ -159,26 +159,26 @@ print_rtx (in_rtx)
if (RTX_FLAG (in_rtx, volatil)) if (RTX_FLAG (in_rtx, volatil))
fputs ("/v", outfile); fputs ("/v", outfile);
if (RTX_FLAG (in_rtx, unchanging)) if (RTX_FLAG (in_rtx, unchanging))
fputs ("/u", outfile); fputs ("/u", outfile);
if (RTX_FLAG (in_rtx, integrated)) if (RTX_FLAG (in_rtx, integrated))
fputs ("/i", outfile); fputs ("/i", outfile);
if (RTX_FLAG (in_rtx, frame_related)) if (RTX_FLAG (in_rtx, frame_related))
fputs ("/f", outfile); fputs ("/f", outfile);
if (RTX_FLAG (in_rtx, jump)) if (RTX_FLAG (in_rtx, jump))
fputs ("/j", outfile); fputs ("/j", outfile);
if (RTX_FLAG (in_rtx, call)) if (RTX_FLAG (in_rtx, call))
fputs ("/c", outfile); fputs ("/c", outfile);
if (GET_MODE (in_rtx) != VOIDmode) if (GET_MODE (in_rtx) != VOIDmode)
{ {
/* Print REG_NOTE names for EXPR_LIST and INSN_LIST. */ /* Print REG_NOTE names for EXPR_LIST and INSN_LIST. */
if (GET_CODE (in_rtx) == EXPR_LIST if (GET_CODE (in_rtx) == EXPR_LIST
|| GET_CODE (in_rtx) == INSN_LIST) || GET_CODE (in_rtx) == INSN_LIST)
fprintf (outfile, ":%s", fprintf (outfile, ":%s",
GET_REG_NOTE_NAME (GET_MODE (in_rtx))); GET_REG_NOTE_NAME (GET_MODE (in_rtx)));
...@@ -246,7 +246,7 @@ print_rtx (in_rtx) ...@@ -246,7 +246,7 @@ print_rtx (in_rtx)
if (flag_dump_unnumbered) if (flag_dump_unnumbered)
fprintf (outfile, "#"); fprintf (outfile, "#");
else else
fprintf (outfile, HOST_PTR_PRINTF, fprintf (outfile, HOST_PTR_PRINTF,
(char *) NOTE_BLOCK (in_rtx)); (char *) NOTE_BLOCK (in_rtx));
sawclose = 1; sawclose = 1;
break; break;
...@@ -284,15 +284,15 @@ print_rtx (in_rtx) ...@@ -284,15 +284,15 @@ print_rtx (in_rtx)
fprintf (outfile, " \"\""); fprintf (outfile, " \"\"");
break; break;
case NOTE_INSN_PREDICTION: case NOTE_INSN_PREDICTION:
if (NOTE_PREDICTION (in_rtx)) if (NOTE_PREDICTION (in_rtx))
fprintf (outfile, " [ %d %d ] ", fprintf (outfile, " [ %d %d ] ",
(int)NOTE_PREDICTION_ALG (in_rtx), (int)NOTE_PREDICTION_ALG (in_rtx),
(int) NOTE_PREDICTION_FLAGS (in_rtx)); (int) NOTE_PREDICTION_FLAGS (in_rtx));
else else
fprintf (outfile, " [ ERROR ]"); fprintf (outfile, " [ ERROR ]");
break; break;
default: default:
{ {
const char * const str = X0STR (in_rtx, i); const char * const str = X0STR (in_rtx, i);
...@@ -329,7 +329,7 @@ print_rtx (in_rtx) ...@@ -329,7 +329,7 @@ print_rtx (in_rtx)
if (sawclose) if (sawclose)
{ {
fprintf (outfile, "\n%s%*s", fprintf (outfile, "\n%s%*s",
print_rtx_head, indent * 2, ""); print_rtx_head, indent * 2, "");
sawclose = 0; sawclose = 0;
} }
fputs ("[ ", outfile); fputs ("[ ", outfile);
...@@ -531,7 +531,7 @@ print_rtx (in_rtx) ...@@ -531,7 +531,7 @@ print_rtx (in_rtx)
case CODE_LABEL: case CODE_LABEL:
fprintf (outfile, " [%d uses]", LABEL_NUSES (in_rtx)); fprintf (outfile, " [%d uses]", LABEL_NUSES (in_rtx));
if (LABEL_ALTERNATE_NAME (in_rtx)) if (LABEL_ALTERNATE_NAME (in_rtx))
fprintf (outfile, " [alternate name: %s]", fprintf (outfile, " [alternate name: %s]",
LABEL_ALTERNATE_NAME (in_rtx)); LABEL_ALTERNATE_NAME (in_rtx));
break; break;
...@@ -731,14 +731,14 @@ print_rtl (outf, rtx_first) ...@@ -731,14 +731,14 @@ print_rtl (outf, rtx_first)
if (! flag_dump_unnumbered if (! flag_dump_unnumbered
|| GET_CODE (tmp_rtx) != NOTE || NOTE_LINE_NUMBER (tmp_rtx) < 0) || GET_CODE (tmp_rtx) != NOTE || NOTE_LINE_NUMBER (tmp_rtx) < 0)
{ {
fputs (print_rtx_head, outfile); fputs (print_rtx_head, outfile);
print_rtx (tmp_rtx); print_rtx (tmp_rtx);
fprintf (outfile, "\n"); fprintf (outfile, "\n");
} }
break; break;
default: default:
fputs (print_rtx_head, outfile); fputs (print_rtx_head, outfile);
print_rtx (rtx_first); print_rtx (rtx_first);
} }
} }
......
...@@ -384,7 +384,7 @@ print_node (file, prefix, node, indent) ...@@ -384,7 +384,7 @@ print_node (file, prefix, node, indent)
print_node (file, "size", DECL_SIZE (node), indent + 4); print_node (file, "size", DECL_SIZE (node), indent + 4);
print_node (file, "unit size", DECL_SIZE_UNIT (node), indent + 4); print_node (file, "unit size", DECL_SIZE_UNIT (node), indent + 4);
if (TREE_CODE (node) != FUNCTION_DECL if (TREE_CODE (node) != FUNCTION_DECL
|| DECL_INLINE (node) || DECL_BUILT_IN (node)) || DECL_INLINE (node) || DECL_BUILT_IN (node))
indent_to (file, indent + 3); indent_to (file, indent + 3);
...@@ -415,7 +415,7 @@ print_node (file, prefix, node, indent) ...@@ -415,7 +415,7 @@ print_node (file, prefix, node, indent)
if (DECL_POINTER_ALIAS_SET_KNOWN_P (node)) if (DECL_POINTER_ALIAS_SET_KNOWN_P (node))
{ {
fprintf (file, " alias set "); fprintf (file, " alias set ");
fprintf (file, HOST_WIDE_INT_PRINT_DEC, fprintf (file, HOST_WIDE_INT_PRINT_DEC,
DECL_POINTER_ALIAS_SET (node)); DECL_POINTER_ALIAS_SET (node));
} }
...@@ -633,7 +633,7 @@ print_node (file, prefix, node, indent) ...@@ -633,7 +633,7 @@ print_node (file, prefix, node, indent)
if (TREE_CODE (node) == EXPR_WITH_FILE_LOCATION) if (TREE_CODE (node) == EXPR_WITH_FILE_LOCATION)
{ {
indent_to (file, indent+4); indent_to (file, indent+4);
fprintf (file, "%s:%d:%d", fprintf (file, "%s:%d:%d",
(EXPR_WFL_FILENAME_NODE (node ) ? (EXPR_WFL_FILENAME_NODE (node ) ?
EXPR_WFL_FILENAME (node) : "(no file info)"), EXPR_WFL_FILENAME (node) : "(no file info)"),
EXPR_WFL_LINENO (node), EXPR_WFL_COLNO (node)); EXPR_WFL_LINENO (node), EXPR_WFL_COLNO (node));
......
...@@ -209,7 +209,7 @@ output_gcov_string (string, delimiter) ...@@ -209,7 +209,7 @@ output_gcov_string (string, delimiter)
} }
/* Computes hybrid profile for all matching entries in da_file. /* Computes hybrid profile for all matching entries in da_file.
Sets max_counter_in_program as a side effect. */ Sets max_counter_in_program as a side effect. */
static gcov_type * static gcov_type *
...@@ -244,7 +244,7 @@ get_exec_counts () ...@@ -244,7 +244,7 @@ get_exec_counts ()
} }
} }
/* now read and combine all matching profiles. */ /* now read and combine all matching profiles. */
profile = xmalloc (sizeof (gcov_type) * num_edges); profile = xmalloc (sizeof (gcov_type) * num_edges);
rewind (da_file); rewind (da_file);
...@@ -698,7 +698,7 @@ compute_checksum () ...@@ -698,7 +698,7 @@ compute_checksum ()
long chsum = 0; long chsum = 0;
int i; int i;
for (i = 0; i < n_basic_blocks ; i++) for (i = 0; i < n_basic_blocks ; i++)
{ {
basic_block bb = BASIC_BLOCK (i); basic_block bb = BASIC_BLOCK (i);
...@@ -741,9 +741,9 @@ branch_prob () ...@@ -741,9 +741,9 @@ branch_prob ()
profile_info.current_function_cfg_checksum = compute_checksum (); profile_info.current_function_cfg_checksum = compute_checksum ();
if (rtl_dump_file) if (rtl_dump_file)
fprintf (rtl_dump_file, "CFG checksum is %ld\n", fprintf (rtl_dump_file, "CFG checksum is %ld\n",
profile_info.current_function_cfg_checksum); profile_info.current_function_cfg_checksum);
/* Start of a function. */ /* Start of a function. */
if (flag_test_coverage) if (flag_test_coverage)
output_gcov_string (current_function_name, (long) -2); output_gcov_string (current_function_name, (long) -2);
...@@ -820,14 +820,14 @@ branch_prob () ...@@ -820,14 +820,14 @@ branch_prob ()
if (rtl_dump_file) if (rtl_dump_file)
fprintf (rtl_dump_file, "Adding fake exit edge to bb %i\n", fprintf (rtl_dump_file, "Adding fake exit edge to bb %i\n",
bb->index); bb->index);
make_edge (bb, EXIT_BLOCK_PTR, EDGE_FAKE); make_edge (bb, EXIT_BLOCK_PTR, EDGE_FAKE);
} }
if (need_entry_edge && !have_entry_edge) if (need_entry_edge && !have_entry_edge)
{ {
if (rtl_dump_file) if (rtl_dump_file)
fprintf (rtl_dump_file, "Adding fake entry edge to bb %i\n", fprintf (rtl_dump_file, "Adding fake entry edge to bb %i\n",
bb->index); bb->index);
make_edge (ENTRY_BLOCK_PTR, bb, EDGE_FAKE); make_edge (ENTRY_BLOCK_PTR, bb, EDGE_FAKE);
} }
} }
...@@ -844,10 +844,10 @@ branch_prob () ...@@ -844,10 +844,10 @@ branch_prob ()
/* Mark edges we've replaced by fake edges above as ignored. */ /* Mark edges we've replaced by fake edges above as ignored. */
if ((e->flags & (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL)) if ((e->flags & (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL))
&& e->src != ENTRY_BLOCK_PTR && e->dest != EXIT_BLOCK_PTR) && e->src != ENTRY_BLOCK_PTR && e->dest != EXIT_BLOCK_PTR)
{ {
EDGE_INFO (e)->ignore = 1; EDGE_INFO (e)->ignore = 1;
ignored_edges++; ignored_edges++;
} }
} }
#ifdef ENABLE_CHECKING #ifdef ENABLE_CHECKING
...@@ -860,10 +860,10 @@ branch_prob () ...@@ -860,10 +860,10 @@ branch_prob ()
{ {
int i = 0; int i = 0;
for (i = 0 ; i < n_basic_blocks; i++) for (i = 0 ; i < n_basic_blocks; i++)
{ {
basic_block bb = BASIC_BLOCK (i); basic_block bb = BASIC_BLOCK (i);
rtx insn = bb->head; rtx insn = bb->head;
static int ignore_next_note = 0; static int ignore_next_note = 0;
/* We are looking for line number notes. Search backward before /* We are looking for line number notes. Search backward before
basic block to find correct ones. */ basic block to find correct ones. */
...@@ -916,7 +916,7 @@ branch_prob () ...@@ -916,7 +916,7 @@ branch_prob ()
} }
insn = NEXT_INSN (insn); insn = NEXT_INSN (insn);
} }
} }
__write_long (0, bb_file, 4); __write_long (0, bb_file, 4);
} }
...@@ -933,10 +933,10 @@ branch_prob () ...@@ -933,10 +933,10 @@ branch_prob ()
edge e = INDEX_EDGE (el, i); edge e = INDEX_EDGE (el, i);
struct edge_info *inf = EDGE_INFO (e); struct edge_info *inf = EDGE_INFO (e);
if ((e->flags & EDGE_FAKE) && !inf->ignore && !inf->on_tree) if ((e->flags & EDGE_FAKE) && !inf->ignore && !inf->on_tree)
{ {
inf->ignore = 1; inf->ignore = 1;
ignored_edges++; ignored_edges++;
} }
} }
total_num_blocks += n_basic_blocks + 2; total_num_blocks += n_basic_blocks + 2;
...@@ -965,7 +965,7 @@ branch_prob () ...@@ -965,7 +965,7 @@ branch_prob ()
/* write checksum. */ /* write checksum. */
__write_long (profile_info.current_function_cfg_checksum, bbg_file, 4); __write_long (profile_info.current_function_cfg_checksum, bbg_file, 4);
/* The plus 2 stands for entry and exit block. */ /* The plus 2 stands for entry and exit block. */
__write_long (n_basic_blocks + 2, bbg_file, 4); __write_long (n_basic_blocks + 2, bbg_file, 4);
__write_long (num_edges - ignored_edges + 1, bbg_file, 4); __write_long (num_edges - ignored_edges + 1, bbg_file, 4);
...@@ -1099,14 +1099,14 @@ find_spanning_tree (el) ...@@ -1099,14 +1099,14 @@ find_spanning_tree (el)
{ {
edge e = INDEX_EDGE (el, i); edge e = INDEX_EDGE (el, i);
if (((e->flags & (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL | EDGE_FAKE)) if (((e->flags & (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL | EDGE_FAKE))
|| e->dest == EXIT_BLOCK_PTR || e->dest == EXIT_BLOCK_PTR
) )
&& !EDGE_INFO (e)->ignore && !EDGE_INFO (e)->ignore
&& (find_group (e->src) != find_group (e->dest))) && (find_group (e->src) != find_group (e->dest)))
{ {
if (rtl_dump_file) if (rtl_dump_file)
fprintf (rtl_dump_file, "Abnormal edge %d to %d put to tree\n", fprintf (rtl_dump_file, "Abnormal edge %d to %d put to tree\n",
e->src->index, e->dest->index); e->src->index, e->dest->index);
EDGE_INFO (e)->on_tree = 1; EDGE_INFO (e)->on_tree = 1;
union_groups (e->src, e->dest); union_groups (e->src, e->dest);
} }
...@@ -1122,7 +1122,7 @@ find_spanning_tree (el) ...@@ -1122,7 +1122,7 @@ find_spanning_tree (el)
{ {
if (rtl_dump_file) if (rtl_dump_file)
fprintf (rtl_dump_file, "Critical edge %d to %d put to tree\n", fprintf (rtl_dump_file, "Critical edge %d to %d put to tree\n",
e->src->index, e->dest->index); e->src->index, e->dest->index);
EDGE_INFO (e)->on_tree = 1; EDGE_INFO (e)->on_tree = 1;
union_groups (e->src, e->dest); union_groups (e->src, e->dest);
} }
...@@ -1137,7 +1137,7 @@ find_spanning_tree (el) ...@@ -1137,7 +1137,7 @@ find_spanning_tree (el)
{ {
if (rtl_dump_file) if (rtl_dump_file)
fprintf (rtl_dump_file, "Normal edge %d to %d put to tree\n", fprintf (rtl_dump_file, "Normal edge %d to %d put to tree\n",
e->src->index, e->dest->index); e->src->index, e->dest->index);
EDGE_INFO (e)->on_tree = 1; EDGE_INFO (e)->on_tree = 1;
union_groups (e->src, e->dest); union_groups (e->src, e->dest);
} }
......
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