aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-03-28 23:45:08 +0000
committerJeff Law <law@gcc.gnu.org>1998-03-28 16:45:08 -0700
commitc4fa346037d03365d950dfea984c940df6934ef2 (patch)
treea9dc01c4783697537b7d40e2c015881264d67df7
parentf1b03ce152f1cd6572b4ffcd5df83a1f43a4c4b9 (diff)
downloadgcc-c4fa346037d03365d950dfea984c940df6934ef2.zip
gcc-c4fa346037d03365d950dfea984c940df6934ef2.tar.gz
gcc-c4fa346037d03365d950dfea984c940df6934ef2.tar.bz2
* haifa-sched.c (print_pattern): Correct arg to sprintf.
From-SVN: r18884
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/haifa-sched.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5611ce9..5c9a678 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
+ * haifa-sched.c (print_pattern): Correct arg to sprintf.
+
* Makefile.in (libgcc1.null): Make return type for __foo void.
Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 046c353..7ddbcc8 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -6041,7 +6041,7 @@ print_pattern (buf, x, verbose)
}
break;
case ASM_INPUT:
- sprintf (buf, "asm {%s}", XEXP (x, 0));
+ sprintf (buf, "asm {%s}", XSTR (x, 0));
break;
case ADDR_VEC:
break;