print_rtl (print_rtx): Don't print modes in EXPR_LISTs and INSN_LISTs that are out of the REG_NOTE range.

* print_rtl (print_rtx): Don't print modes in EXPR_LISTs and
INSN_LISTs that are out of the REG_NOTE range.

From-SVN: r148091
This commit is contained in:
Alexandre Oliva 2009-06-02 17:51:00 +00:00 committed by Alexandre Oliva
parent a9f6eceee7
commit 9e74b7d2a4
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2009-06-02 Alexandre Oliva <aoliva@redhat.com>
* print_rtl (print_rtx): Don't print modes in EXPR_LISTs and
INSN_LISTs that are out of the REG_NOTE range.
2009-06-02 Alexandre Oliva <aoliva@redhat.com>
* loop-unroll.c (struct iv_to_split): Add pointer to next.

View File

@ -1,6 +1,6 @@
/* Print RTL for GCC.
Copyright (C) 1987, 1988, 1992, 1997, 1998, 1999, 2000, 2002, 2003,
2004, 2005, 2007, 2008
2004, 2005, 2007, 2008, 2009
Free Software Foundation, Inc.
This file is part of GCC.
@ -204,8 +204,9 @@ print_rtx (const_rtx in_rtx)
fputs ("/i", outfile);
/* Print REG_NOTE names for EXPR_LIST and INSN_LIST. */
if (GET_CODE (in_rtx) == EXPR_LIST
|| GET_CODE (in_rtx) == INSN_LIST)
if ((GET_CODE (in_rtx) == EXPR_LIST
|| GET_CODE (in_rtx) == INSN_LIST)
&& (int)GET_MODE (in_rtx) < REG_NOTE_MAX)
fprintf (outfile, ":%s",
GET_REG_NOTE_NAME (GET_MODE (in_rtx)));