diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/final.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ca088f..7649747 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com> + + * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN + and ASM_CLOSE_PAREN are empty strings. + Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com> Geoffrey Keating <geoffk@cygnus.com> diff --git a/gcc/final.c b/gcc/final.c index 6b0966a..10c1016 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -3671,9 +3671,9 @@ output_addr_const (file, x) if (GET_CODE (XEXP (x, 1)) == CONST_INT && INTVAL (XEXP (x, 1)) < 0) { - fprintf (file, ASM_OPEN_PAREN); + fprintf (file, "%s", ASM_OPEN_PAREN); output_addr_const (file, XEXP (x, 1)); - fprintf (file, ASM_CLOSE_PAREN); + fprintf (file, "%s", ASM_CLOSE_PAREN); } else output_addr_const (file, XEXP (x, 1)); |
