From: Art Haas Date: Wed, 25 Aug 1999 02:52:15 +0000 (+0000) Subject: final.c (output_addr_const): Handle case where ASM_OPEN_PAREN and ASM_CLOSE_PAREN... X-Git-Tag: prereleases/libstdc++-2.92~11070 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6c8689d9b5bf1e163efaca313dd491c8dca50e0;p=thirdparty%2Fgcc.git 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 --- 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 + + * 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 Geoffrey Keating 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));