This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

jcf-dump.c patch



This fixes a simple typo.

The format of the iinc instruction is: iinc var offset
The code as is prints out: iinc var var

	* jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.

RCS file: /cvs/gcc/egcs/gcc/java/jcf-dump.c,v
retrieving revision 1.31
diff -c -r1.31 jcf-dump.c
*** jcf-dump.c	2000/03/14 05:01:04	1.31
--- jcf-dump.c	2000/04/13 19:42:06
***************
*** 1200,1206 ****
    fprintf (out, " %d", i); \
    INT_temp = saw_wide ? IMMEDIATE_s2 : IMMEDIATE_s1; \
    saw_wide = 0; \
!   fprintf (out, " %d", i)
  
  #define SPECIAL_WIDE(OPERAND_TYPE) \
    saw_wide = 1;
--- 1200,1206 ----
    fprintf (out, " %d", i); \
    INT_temp = saw_wide ? IMMEDIATE_s2 : IMMEDIATE_s1; \
    saw_wide = 0; \
!   fprintf (out, " %d", INT_temp)
  
  #define SPECIAL_WIDE(OPERAND_TYPE) \
    saw_wide = 1;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]