aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-dump.c
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2004-10-17 22:51:35 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-10-17 22:51:35 +0000
commit7cefa0c1657e51b054eddd25c682a22649317380 (patch)
treeb6b89504cc8a80078f7f29637752de51fc170101 /gcc/java/jcf-dump.c
parent7c672dfc01a1838168baf1a63d2ca0e303eb421c (diff)
downloadgcc-7cefa0c1657e51b054eddd25c682a22649317380.zip
gcc-7cefa0c1657e51b054eddd25c682a22649317380.tar.gz
gcc-7cefa0c1657e51b054eddd25c682a22649317380.tar.bz2
class.c (ident_subst): Always alloca buffer.
* class.c (ident_subst): Always alloca buffer. * java-opcodes.h (LAST_AND_UNUSED_JAVA_OPCODE): Add this dummy opcode after including javaop.def. * jcf-dump.c (CHECK_PC_IN_RANGE): Return 0 from the arm of the conditional expression that exits, to avoid warnings. * verify.c (CHECK_PC_IN_RANGE): Mark the __GNUC__ definition as a user of an extension. * win32-host.c: Move check down to have non-empty file when WIN32 is not defined. * Make-lang.in (java-warn): Add STRICT_WARN. (java/jcf-io.o-warn): Don't have Werror for this file. * jcf-io.c (caching_stat): Add FIXME for non-POSIX scandir use. From-SVN: r89184
Diffstat (limited to 'gcc/java/jcf-dump.c')
-rw-r--r--gcc/java/jcf-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c
index 2984c82..5f25369 100644
--- a/gcc/java/jcf-dump.c
+++ b/gcc/java/jcf-dump.c
@@ -1181,7 +1181,7 @@ disassemble_method (JCF* jcf, const unsigned char *byte_ops, int len)
#define VAR_INDEX_2 (saw_index = 1, IMMEDIATE_u2)
#define CHECK_PC_IN_RANGE(PC) (PC < 0 || PC > len ? \
- (fprintf(stderr, _("Bad byte codes.\n")), exit(-1)) : 1)
+ (fprintf(stderr, _("Bad byte codes.\n")), exit(-1), 0) : 1)
/* Print out operand (if not implied by the opcode) for PUSCH opcodes.
These all push a constant onto the opcode stack. */