Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by James Buster
Tue, 05 Jan 1993 01:53
Bug in config/sparc.h from gcc 2.3.3
Author: James Buster
Date: Tue, 05 Jan 1993 01:53
Date: Tue, 05 Jan 1993 01:53
25 lines
1372 bytes
1372 bytes
A format string passed to fprintf() is wrong in PRINT_OPERAND_ADDRESS.
*** sparc.h Mon Jan 4 17:14:42 1993
--- sparc.h.new Mon Jan 4 17:14:52 1993
***************
*** 1716,1722 ****
base = XEXP (addr, 0), index = XEXP (addr, 1); \
fputs (reg_names[REGNO (base)], FILE); \
if (index == 0) \
! fprintf (FILE, "%+d", offset); \
else if (GET_CODE (index) == REG) \
fprintf (FILE, "+%s", reg_names[REGNO (index)]); \
else if (GET_CODE (index) == SYMBOL_REF) \
--- 1727,1733 ----
base = XEXP (addr, 0), index = XEXP (addr, 1); \
fputs (reg_names[REGNO (base)], FILE); \
if (index == 0) \
! fprintf (FILE, "+%d", offset); \
else if (GET_CODE (index) == REG) \
fprintf (FILE, "+%s", reg_names[REGNO (index)]); \
else if (GET_CODE (index) == SYMBOL_REF) \
--
James Buster
bitbug@netcom.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads