- 12 Sep, 2006 6 commits
-
-
From-SVN: r116905
Tom Tromey committed -
gcc/java PR java/29013: * jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Always note the push of the called method's return result. libjava PR java/29013: * testsuite/libjava.lang/PR29013.out: Likewise. * testsuite/libjava.lang/PR29013.java: New file. From-SVN: r116902
Tom Tromey committed -
* jvspec.c (lang_specific_driver): Read spec file even if -fsyntax-only. From-SVN: r116901
Tom Tromey committed -
re PR java/28754 (java.lang.nullPointerException while accessing final static members of an interface) PR java/28754: * expr.c (expand_java_field_op): Initialize field's declaring interface if necessary. From-SVN: r116890
Tom Tromey committed -
PR java/28892: * expr.c (expand_java_field_op): No error for assignments not in class initializer or constructor. From-SVN: r116889
Tom Tromey committed -
From-SVN: r116883
Andrew Pinski committed
-
- 22 Aug, 2006 1 commit
-
-
2006-08-22 Andrew Haley <aph@redhat.com> * decl.c (java_add_stmt): Give the statement list a type. From-SVN: r116324
Andrew Haley committed
-
- 17 Aug, 2006 1 commit
-
-
gcc/java/ChangeLog * jvspec.c (lang_specific_driver): Add -s-bc-abi when needed. libjava/ChangeLog * configure, Makefile.in: Rebuilt. * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la. (libgcj_bc_la_SOURCES): New variable. (libgcj_bc_la_LDFLAGS): Likewise. (libgcj_bc_la_LIBADD): Likewise. (libgcj_bc_la_DEPENDENCIES): Likewise. (libgcj_bc_la_LINK): Likewise. (libgcj_bc_dummy_LINK): Likewise. (libgcj_bc.la): New target. (install-exec-hook): Likewise. * libgcj.spec.in (*lib): Use LIBGCJ_SPEC. * libgcj_bc.c: New file. * configure.ac (LIBGCJ_SPEC): New subst. * configure.host (use_libgcj_bc): New variable. Co-Authored-By: Bryce McKinlay <bryce@mckinlay.net.nz> From-SVN: r116204
Jakub Jelinek committed
-
- 10 Aug, 2006 1 commit
-
-
2006-08-10 Simon Martin <simartin@users.sourceforge.net> PR java/8923 * parse.y (build_incdec): Emit an error instead of an ICE if '++' or '--' is used with a constant operand. (java_complete_lhs): When processing a '++' or '--' expression, don't call java_complete_tree but java_complete_lhs, so that a static final variable operand is never replaced by its value. This avoids an ICE later on. (patch_unaryop): Fixed typo in comment. From-SVN: r116069
Simon Martin committed
-
- 28 Jul, 2006 1 commit
-
-
* Makefile.in: Use $(HEADER_H) instead of header.h in dependencies and variables used in dependencies. ada/ cp/ fortran/ java/ objc/ objcp/ treelang/ * Make-lang.in: Use $(HEADER_H) instead of header.h in dependencies. From-SVN: r115802
Volker Reichelt committed
-
- 14 Jul, 2006 1 commit
-
-
2006-07-12 Bryce McKinlay <mckinlay@redhat.com> * gcj.texi (Invocation): Corrections for Invocation API example. From-SVN: r115432
Bryce McKinlay committed
-
- 13 Jul, 2006 1 commit
-
-
2006-07-12 Bryce McKinlay <mckinlay@redhat.com> * builtins.c (check_for_builtin): If a builtin could result in a direct call being generated, don't use it if flag_indirect_dispatch is set. From-SVN: r115414
Bryce McKinlay committed
-
- 04 Jul, 2006 1 commit
-
-
2006-07-04 Andrew Haley <aph@redhat.com> * class.c (build_fieldref_cache_entry): Set DECL_IGNORED_P on the entry. From-SVN: r115178
Andrew Haley committed
-
- 23 Jun, 2006 1 commit
-
-
2006-06-21 Andrew Haley <aph@redhat.com> * java-tree.h (update_aliases): Remove * expr.c (expand_iinc): Remove call to update_aliases(). (STORE_INTERNAL): Likewise. * decl.c (update_aliases, initialize_local_variable) (maybe_pushlevels): Set DECL_VALUE_EXPR for debugging decls. From-SVN: r114931
Andrew Haley committed
-
- 19 Jun, 2006 1 commit
-
-
2006-06-19 Andrew Haley <aph@redhat.com> PR java/1305 PR java/27908 * expr.c (java_modify_addr_for_volatile): New function. (expand_java_field_op): Handle volatile fields. * java-gimplify.c (java_gimplify_component_ref): Call java_modify_addr_for_volatile to give the field_ref the correct volatile type. (java_gimplify_modify_expr): Likewise. * java-tree.h (java_modify_addr_for_volatile): New decl. From-SVN: r114778
Andrew Haley committed
-
- 17 Jun, 2006 1 commit
-
-
* gcj.texi (@dircategory): Use "Software development" instead of "Programming", following the Free Software Directory. From-SVN: r114745
Karl Berry committed
-
- 16 Jun, 2006 1 commit
-
-
class.c (make_class_data): When using flag_indirect_classes, don't initialize the vtable of Class instances. 2006-06-16 Andrew Haley <aph@redhat.com> * class.c (make_class_data): When using flag_indirect_classes, don't initialize the vtable of Class instances. 2006-06-16 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't copy the whole Class instance from the initializer: instead, copy everything but the first word (the vtable pointer). Change prototype to (const char* class_initializer). (_Jv_RegisterNewClasses): Change prototype to (const char**). * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to (const char**). From-SVN: r114714
Andrew Haley committed
-
- 13 Jun, 2006 1 commit
-
-
2006-06-09 Andrew Haley <aph@redhat.com> PR java/1305 PR java/27908 * builtins.c (initialize_builtins): Add __sync_synchronize(). * class.c (add_field): Mark volatile fields. * java-gimplify.c (java_gimplify_expr): Call new functions to handle self-modifying exprs and COMPONENT_REFs. (java_gimplify_component_ref): New. (java_gimplify_modify_expr): Add handling for volatiles. From-SVN: r114609
Andrew Haley committed
-
- 09 Jun, 2006 1 commit
-
-
gcc/java * gcj.texi (libgcj Runtime Properties): Document gnu.gcj.user.realname. libjava * gnu/classpath/natSystemProperties.cc (insertSystemProperties): Set gnu.gcj.user.realname. From-SVN: r114500
Tom Tromey committed
-
- 08 Jun, 2006 1 commit
-
-
2006-06-08 Andrew Haley <aph@redhat.com> * expr.c (build_field_ref): Pass NULL_TREE as SPECIAL arg to get_symbol_table_index(). (maybe_rewrite_invocation): Set SPECIAL if we need to access a private method. (build_known_method_ref): New arg: special. Pass it to get_symbol_table_index. (get_symbol_table_index): Put SPECIAL in the TREE_PURPOSE field of the method list. (build_invokevirtual): New arg: special. Pass it to get_symbol_table_index. (expand_invoke): New variable: special. Pass it to maybe_rewrite_invocation(). Pass it to build_known_method_ref(). * class.c (build_symbol_entry): Add new arg: special. Use it to build the symbol table conbstructor. (emit_symbol_table): Extract SPECIAL from the method list and pass it to build_symbol_entry(). * parse.y (patch_invoke): Call maybe_rewrite_invocation() and set special accordingly. From-SVN: r114487
Andrew Haley committed
-
- 06 Jun, 2006 3 commits
-
-
2006-06-05 David Daney <ddaney@avtrex.com> * gcj.texi (libgcj Runtime Properties): Document gnu.gcj.runtime.NameFinder.show_raw and gnu.gcj.runtime.NameFinder.remove_unknown. 2006-06-05 David Daney <ddaney@avtrex.com> * gnu/gcj/runtime/NameFinder.java (show_raw): New field. (showRaw): New method. * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h. (getLineNumberForFrame): Show IP offset in trace if line number not available and show_raw true. From-SVN: r114437
David Daney committed -
* jcf-dump.c (print_access_flags): Handle varargs, bridge, synthetic, enum, annotation. * jcf.h (ACC_BRIDGE): New macro. (ACC_VARARGS): Likewise. (ACC_SYNTHETIC): Likewise. (ACC_ENUM): Likewise. (ACC_ANNOTATION): Likewise. From-SVN: r114436
Tom Tromey committed -
* Makefile.in: Rename to htmldir to build_htmldir to avoid installing during build. java,fortran: * Make-lang.in: Rename to htmldir to build_htmldir to avoid installing during build. treelang: * Make-lang.in: Rename to gcc_htmldir to build_htmldir to avoid installing during build. From-SVN: r114426
Mike Stump committed
-
- 31 May, 2006 1 commit
-
-
2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com> * gcj.texi (Extensions): Document the new gcj-dbtool-based classname-to-library resolution mechanism. Declare the old gnu.gcj.runtime.VMClassLoader.library_control mechanism deprecated. (libgcj Runtime Properties): Document gnu.gcj.runtime.VMClassLoader.library_control's new default. From-SVN: r114282
Thomas Fitzsimmons committed
-
- 29 May, 2006 1 commit
-
-
* 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
Jakub Jelinek committed
-
- 28 May, 2006 1 commit
-
-
* class.c, except.c, expr.c, java-gimplify.c: Fix comment typos. From-SVN: r114172
Kazu Hirata committed
-
- 26 May, 2006 2 commits
-
-
* expr.c (java_push_constant_from_pool): Handle 'ldc class'. * verify-glue.c (vfy_class_type): New function. * verify-impl.c (check_constant): Allow 'ldc class'. * verify.h (vfy_class_type): Declare. From-SVN: r114135
Tom Tromey committed -
2006-05-25 Andrew Haley <aph@redhat.com> PR java/27756 * decl.c (maybe_pushlevels): When variable ranges are non-nested update all lifetimes, not just the first one. From-SVN: r114131
Andrew Haley committed
-
- 24 May, 2006 4 commits
-
-
From-SVN: r114047
Tom Tromey committed -
gcc/java: PR libgcj/27729: * jcf.h (ACC_INVISIBLE): Changed value. libjava: PR libgcj/27729: * java/lang/reflect/natField.cc (getAddr): Added parens. * java/lang/reflect/natConstructor.cc (getModifiersInternal): Renamed. Don't mask flags. * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New constant. (getModifiersInternal): Renamed. (getModifiers): Rewrote. (isSynthetic, isVarArgs): New methods. (hashCode): Rewrote. (addTypeParameters, toGenericString): New methods. (getTypeParameters): Rewrote. (getSignature): New method. (getGenericParameterTypes, getGenericExceptionTypes): Likewise. * java/lang/reflect/natMethod.cc (getModifiersInternal): Renamed. Don't mask flags. * java/lang/reflect/natField.cc (getModifiersInternal): Renamed. Don't mask flags. * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC, ENUM): New constants. (INVISIBLE): Changed value. * java/lang/reflect/Method.java: Mostly merged with Classpath. (getModifiersInternal): Renamed. (getModifiers): Rewrote. (isBridge, isSynthetic, isVarArgs): New methods. (toGenericString): Likewise. (getTypeParameters): Likewise. (getSignature): Likewise. (getGenericExceptionTypes, getGenericParameterTypes, getGenericReturnType): Likewise. (METHOD_MODIFIERS): New constant. * java/lang/reflect/Field.java: Mostly merged with Classpath. Added javadoc everywhere. (getModifiersInternal): Renamed. (getModifiers, isSynthetic, isEnumConstant): Rewrote. (toGenericString): New method. (getGenericType, getSignature): Likewise. (FIELD_MODIFIERS): New constant. From-SVN: r114046
Tom Tromey committed -
2006-05-24 Andrew Haley <aph@redhat.com> PR java/27754 * decl.c (java_add_stmt): Use a STATEMENT_LIST rather than a COMPOUND_EXPR. From-SVN: r114043
Andrew Haley committed -
2006-05-24 Andrew Haley <aph@redhat.com> * decl.c (java_add_stmt): Use a STATEMENT_LIST rather than a COMPOUND_EXPR. From-SVN: r114042
Andrew Haley committed
-
- 17 May, 2006 1 commit
-
-
gcc/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o. (gcc-options.o): New rule. * optc-gen.awk: Protect variables for gcc-options.o with #ifdef GCC_DRIVER/#endif. gcc/java/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> * lang.opt (femit-class-file): Remove VarExists. From-SVN: r113841
H.J. Lu committed
-
- 16 May, 2006 2 commits
-
-
* verify-impl.c (verify_instructions_0) <op_return>: Special case for Object.<init>. From-SVN: r113830
Tom Tromey committed -
gcc/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Makefile.in (GCC_OBJS): New. (OBJS-common): Add opts-common.o. (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS). (cpp$(exeext)): Likewise. (gcc.o): Also depend on opts.h. (opts-common.o): New. * common.opt (gcoff): Add Negative(gdwarf-2). (gdwarf-2): Add Negative(gstabs). (gstabs): Add Negative(gstabs+). (gstabs+): Add Negative(gvms). (gvms): Add Negative(gxcoff). (gxcoff): Add Negative(gxcoff+). (gxcoff+): Add Negative(gcoff). * config/i386/i386.opt (m32): Add Negative(m64). (m64): Add Negative(m32). * doc/options.texi: Document the Negative option. * gcc.c: Include "opts.h". (main): Call prune_options after expandargv. * optc-gen.awk: Generate common declarations for all flag variables in options.c. Output the neg_index field. * opts.c (find_opt): Moved to ... * opts-common.c: Here. New file. * opts.h (cl_option): Add a neg_index field. (find_opt): New. (prune_options): Likewise. gcc/cp/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Make-lang.in (GXX_OBJS): Replace gcc.o with $(GCC_OBJS). gcc/fortran/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Make-lang.in (GFORTRAN_D_OBJS): Replace gcc.o with $(GCC_OBJS). gcc/java/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Make-lang.in ($(GCJ)$(exeext)): Replace gcc.o with $(GCC_OBJS). gcc/treelang/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with $(GCC_OBJS). From-SVN: r113824
H.J. Lu committed
-
- 15 May, 2006 1 commit
-
-
gcc/ada/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (ada/decl.o): Replace target.h with $(TARGET_H). (ada/misc.o): Likewise. (ada/utils.o): Likewise. gcc/cp/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (cp/decl.o): Add dependency on $(TARGET_H). (cp/decl2.o): Likewise. (cp/typeck.o): Likewise. (cp/cvt.o): Likewise. (cp/parser.o): Likewise. (cp/call.o): Replace target.h with $(TARGET_H). gcc/fortran/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (fortran/options.o): Depend on $(TARGET_H). gcc/java/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (java/decl.o): Add dependency on $(TARGET_H). (java/expr.o): Replace target.h with $(TARGET_H). (java/parse.o): Likewise. gcc/objcp/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (objcp/objcp-decl.o): Add dependency on $(TARGET_H). gcc/treelang/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (treelang/treetree.o): Add dependency on $(TARGET_H). From-SVN: r113773
H.J. Lu committed
-
- 10 May, 2006 1 commit
-
-
2006-05-10 Andrew Haley <aph@redhat.com> * class.c (emit_indirect_register_classes): Fix comment. From-SVN: r113676
Andrew Haley committed
-
- 05 May, 2006 1 commit
-
-
* java-tree.h (uses_jv_markobj_p): Declare. * class.c (uses_jv_markobj_p): Removed. * boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): New define. (get_boehm_type_descriptor): Use it. (uses_jv_markobj_p): Moved from class.c. Return bool. From-SVN: r113549
Tom Tromey committed
-
- 04 May, 2006 2 commits
-
-
From-SVN: r113542
Tom Tromey committed -
2006-05-04 Andrew Haley <aph@redhat.com> * class.c (make_field_value): Always build_address_of fdecl if there is an initializer. 2006-05-03 Andrew Haley <aph@redhat.com> PR libgcj/27352 * expr.c (maybe_rewrite_invocation): New function. (rewrite_arglist_getclass): Likewise. (rules): New. (expand_invoke): Call maybe_rewrite_invocation. * parse.y (patch_invoke): Likewise. * java-tree.h: (maybe_rewrite_invocation): New function. 2006-05-03 Andrew Haley <aph@redhat.com> PR libgcj/27352 * java/lang/Class.java (getClassLoader(Class)): New. forName(String, Class): New. * java/lang/natClass.cc (getClassLoader(Class)): New. 2006-05-02 Andrew Haley <aph@redhat.com> * prims.cc (_Jv_NewMultiArray): Check for phantom class. From-SVN: r113532
Andrew Haley committed
-