aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/javaop.h
AgeCommit message (Collapse)AuthorFilesLines
2014-01-02Update copyright years in gcc/Richard Sandiford1-1/+1
From-SVN: r206289
2013-12-19re PR other/59545 (Signed integer overflow issues)Jakub Jelinek1-1/+1
PR other/59545 * genattrtab.c (struct attr_hash): Change hashcode type to unsigned. (attr_hash_add_rtx, attr_hash_add_string): Change hashcode parameter to unsigned. (attr_rtx_1): Change hashcode variable to unsigned. (attr_string): Likewise. Perform first multiplication in unsigned type. * ifcvt.c (noce_try_store_flag_constants): Avoid signed integer overflows. * double-int.c (neg_double): Likewise. * stor-layout.c (set_min_and_max_values_for_integral_type): Likewise. * combine.c (force_to_mode): Likewise. * postreload.c (move2add_use_add2_insn, move2add_use_add3_insn, reload_cse_move2add, move2add_note_store): Likewise. * simplify-rtx.c (simplify_const_unary_operation, simplify_const_binary_operation): Likewise. * ipa-split.c (find_split_points): Initialize first.can_split and first.non_ssa_vars. * gengtype-state.c (read_state_files_list): Fix up check. * genautomata.c (reserv_sets_hash_value): Use portable rotation idiom. java/ * class.c (hashUtf8String): Compute hash in unsigned type. * javaop.h (WORD_TO_INT): Avoid signed integer overflow. From-SVN: r206134
2013-01-10Update copyright years in gcc/Richard Sandiford1-1/+1
From-SVN: r195098
2007-07-31java-gimplify.c: Change copyright header to refer to version 3 of the GNU ↵Nick Clifton1-5/+4
General Public... * java-gimplify.c: Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. * typeck.c, lang-specs.h, mangle_name.c, jcf-dump.c, class.c, decl.c, config-lang.in, jcf-parse.c, constants.c, Make-lang.in, resource.c, except.c, builtins.c, jvspec.c, java-tree.def, javaop.def, jcf-path.c, verify-glue.c, jcf-depend.c, lang.opt, jcf-reader.c, mangle.c, zextract.c, jcf-io.c, jcf.h, zipfile.h, verify.h, java-except.h, win32-host.c, expr.c, jvgenmain.c, parse.h, lang.c, java-tree.h, javaop.h, boehm.c: Likewise. From-SVN: r127098
2006-05-29javaop.h (int16, [...]): Define to exactly 16 (resp.Jakub Jelinek1-0/+29
* javaop.h (int16, int32, int64): Define to exactly 16 (resp. 32, 64) bit wide type. (jword): Define to uint64 on 64-bit arches. * jcf-dump.c (print_constant): Cast JPOOL_UINT to long. From-SVN: r114191
2005-06-25Update FSF address.Kelley Cook1-2/+2
From-SVN: r101309
2003-03-21javaop.h (jfloat, jdouble): Make them structures mirroring the bit fields of ↵Zack Weinberg1-31/+37
IEEE float and double respectively. * javaop.h (jfloat, jdouble): Make them structures mirroring the bit fields of IEEE float and double respectively. (JFLOAT_FINITE, JFLOAT_QNAN_MASK, JFLOAT_EXP_BIAS, JDOUBLE_FINITE, JDOUBLE_QNAN_MASK, JDOUBLE_EXP_BIAS): New. (union Word, union DWord): Delete. (WORD_TO_FLOAT, WORDS_TO_DOUBLE): Update to match. * gjavah.c (java_float_finite, java_double_finite, F_NAN_MASK, D_NAN_MASK): Delete. (jni_print_float, jni_print_double): New. Generate hexadecimal floating constants. (print_field_info): Use jni_print_float/double. * jcf-dump.c: Include math.h. Use ldexp/frexp to assemble finite floating point numbers for output; special case non-finite floats. From-SVN: r64671
2003-01-18check-init.c: Fix comment typos.Kazu Hirata1-1/+1
* check-init.c: Fix comment typos. * class.c: Likewise. * constants.c: Likewise. * decl.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * java-except.h: Likewise. * java-tree.h: Likewise. * javaop.h: Likewise. * jcf-dump.c: Likewise. * jcf-io.c: Likewise. * jcf-parse.c: Likewise. * jcf-write.c: Likewise. * lang.c: Likewise. * mangle.c: Likewise. * typeck.c: Likewise. * verify.c: Likewise. From-SVN: r61477
2003-01-09expr.c, [...]: Don't rely on the `DEFUN', `AND' or `__STDC__' macros.Kaveh R. Ghazi1-4/+0
* expr.c, gjavah.c, javaop.h, jcf-dump.c, jcf-io.c, jcf-reader.c, jcf-write.c, jcf.h, jv-scan.c: Don't rely on the `DEFUN', `AND' or `__STDC__' macros. From-SVN: r61131
2003-01-01Make-lang.in, [...]: Replace "GNU CC" with "GCC" in the copyright header.Steven Bosscher1-4/+6
* Make-lang.in, boehm.c, buffer.c, buffer.h, builtins.c, class.c, config-lang.in, constants.c, convert.h, decl.c, except.c, expr.c, java-except.h, java-tree.h, javaop.def, jcf-parse.c, jcf-write.c, jv-scan.c, jvgenmain.c, jvspec.c, keyword.gperf, keyword.h, lang-options.h, lang-specs.h, lang.c, lex.c, lex.h, mangle.c, mangle_name.c, parse-scan.y, parse.h, parse.y, typeck.c, verify.c, xref.c, xref.h: Replace "GNU CC" with "GCC" in the copyright header. * check-init.c, gjavah.c, javaop.h, jcf-depend.c, jcf-dump.c, jcf-io.c, jcf-path.c, jcf-reader.c, jcf.h, zextract.c, zipfile.h: These files are "part of GCC". Also say "GCC" not "GNU CC". From-SVN: r60747
2001-05-25Standardize header guards.Richard Henderson1-3/+3
From-SVN: r42615
2000-08-29javaop.h (WORD_TO_INT): Mask lower 32 bits of a jword before sign extending.Andrew Haley1-3/+6
2000-08-22 Andrew Haley <aph@cygnus.com> * javaop.h (WORD_TO_INT): Mask lower 32 bits of a jword before sign extending. Fixes gcj/321. * jcf-parse.c (get_constant): Mask lower 32 bits of a jint before combining to make a jlong. Fixes gcj/321. (This fixes gcj/321: http://sources.redhat.com/ml/java-prs/2000-q3/msg00146.html http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00897.html) From-SVN: r36037
2000-05-03expr.c (build_java_jsr): Use emit_jump, not expand_goto.Tom Tromey1-1/+11
* expr.c (build_java_jsr): Use emit_jump, not expand_goto. * javaop.h (WORD_TO_INT): New function. (IMMEDIATE_s4): Use WORD_TO_INT. * jcf.h (JPOOL_INT): Ditto. * gjavah.c (decode_signature_piece): Don't treat `$' as namespace separator. From-SVN: r33636
2000-02-03javaop.h (WORDS_TO_DOUBLE): Allow WORDS_TO_DOUBLE to assemble doubles ↵Scott Bambrough1-0/+4
correctly when... 2000-01-31 Scott Bambrough <scottb@netwinder.org> * gcc/java/javaop.h (WORDS_TO_DOUBLE): Allow WORDS_TO_DOUBLE to assemble doubles correctly when HOST_FLOAT_WORDS_BIG_ENDIAN is defined to be 1. From-SVN: r31777
1999-09-22javaop.h (WORD_TO_FLOAT): Use `inline' unconditionally.Tom Tromey1-12/+3
* javaop.h (WORD_TO_FLOAT): Use `inline' unconditionally. (WORDS_TO_LONG): Likewise. (WORDS_TO_DOUBLE): Likewise. From-SVN: r29593
1999-08-09javaop.h (WORD_TO_FLOAT): only inline if building with gcc.Tom Tromey1-3/+12
* javaop.h (WORD_TO_FLOAT): only inline if building with gcc. (WORDS_TO_LONG): Likewise. (WORDS_TO_DOUBLE): Likewise. From-SVN: r28630
1999-02-01Makefile.in (gjavah.o): Depend on $(CONFIG_H) and system.h.Kaveh R. Ghazi1-8/+4
* Makefile.in (gjavah.o): Depend on $(CONFIG_H) and system.h. * gjavah.c: Include config.h and system.h. * javaop.h (inline): Don't define, its handled by system.h. (WORD_TO_FLOAT, WORDS_TO_LONG, WORDS_TO_DOUBLE): Change these from `inline' to `static inline'. * jcf.h (inline): Don't define, its handled by system.h. * lex.c (inline): Likewise. From-SVN: r24952
1998-11-24expr.c (java_lang_expand_expr): Add missing emit_queue.Per Bothner1-2/+5
� * expr.c (java_lang_expand_expr): Add missing emit_queue. * javaop.h (int8): Removed - not used. (jbyte): Redefine portably with correct signedness. From-SVN: r23832
1998-09-06Initial revisionAnthony Green1-0/+142
From-SVN: r22299