jcf-dump.c patch

Jason Schroeder shrode@subnature.com
Thu Apr 13 12:49:00 GMT 2000


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;



More information about the Gcc-bugs mailing list