From b6c8689d9b5bf1e163efaca313dd491c8dca50e0 Mon Sep 17 00:00:00 2001 From: Art Haas <ahaas@neosoft.com> Date: Wed, 25 Aug 1999 02:52:15 +0000 Subject: [PATCH] final.c (output_addr_const): Handle case where ASM_OPEN_PAREN and ASM_CLOSE_PAREN are empty strings. * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN and ASM_CLOSE_PAREN are empty strings. From-SVN: r28833 --- gcc/ChangeLog | 5 +++++ gcc/final.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ca088fa2f03..76497478595c 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 6b0966a320bb..10c1016654fc 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)); -- GitLab