* print-rtl.c (xspaces): Remove.
(print_rtx): Use printf field-width, rather than xpsaces, to
indent.
* toplev.c (main): Disable sibling-call optimization if we are
handling exceptions.
* reload1.c (reload): Delete all USEs generated during reload.
From-SVN: r42917
+2001-06-05 Mark Mitchell <mark@codesourcery.com>
+
+ * print-rtl.c (xspaces): Remove.
+ (print_rtx): Use printf field-width, rather than xpsaces, to
+ indent.
+ * toplev.c (main): Disable sibling-call optimization if we are
+ handling exceptions.
+
+2001-06-05 Bernd Schmidt <bernds@redhat.com>
+
+ * reload1.c (reload): Delete all USEs generated during reload.
+
2001-06-05 scott snyder <snyder@fnal.gov>
* gccbug.in: Fix typo.
static FILE *outfile;
-static const char xspaces[] = " ";
-
static int sawclose = 0;
static int indent;
if (flag_simple)
fputc (' ', outfile);
else
- fprintf (outfile, "\n%s%s",
- print_rtx_head,
- (xspaces + (sizeof xspaces - 1 - indent * 2)));
+ fprintf (outfile, "\n%s%*s",
+ print_rtx_head, indent * 2, "");
sawclose = 0;
}
indent += 2;
if (sawclose)
{
- fprintf (outfile, "\n%s%s",
- print_rtx_head,
- (xspaces + (sizeof xspaces - 1 - indent * 2)));
+ fprintf (outfile, "\n%s%*s",
+ print_rtx_head, indent * 2, "");
sawclose = 0;
}
fputs ("[ ", outfile);
indent -= 2;
}
if (sawclose)
- fprintf (outfile, "\n%s%s",
- print_rtx_head,
- (xspaces + (sizeof xspaces - 1 - indent * 2)));
+ fprintf (outfile, "\n%s%*s",
+ print_rtx_head, indent * 2, "");
fputs ("] ", outfile);
sawclose = 1;
CALL_INSN_FUNCTION_USAGE (insn));
if ((GET_CODE (PATTERN (insn)) == USE
- && find_reg_note (insn, REG_EQUAL, NULL_RTX))
+ && INSN_UID (insn) >= reload_first_uid)
|| (GET_CODE (PATTERN (insn)) == CLOBBER
&& (GET_CODE (XEXP (PATTERN (insn), 0)) != REG
|| ! REG_FUNCTION_VALUE_P (XEXP (PATTERN (insn), 0)))))
This does nothing for local (non-static) variables, unless the
variable is a register variable with an ASMSPEC. In that case, or
- if the variable is not an automatice, it sets up the RTL and
+ if the variable is not an automatic, it sets up the RTL and
outputs any assembler code (label definition, storage allocation
and initialization).
warning ("-Wuninitialized is not supported without -O");
}
+ /* We do not currently support sibling-call optimization in the
+ presence of exceptions. See PR2975 for a test-case that will
+ fail if we try to combine both of these features. */
+ if (flag_exceptions)
+ flag_optimize_sibling_calls = 0;
+
#ifdef OVERRIDE_OPTIONS
/* Some machines may reject certain combinations of options. */
OVERRIDE_OPTIONS;