- 22 Sep, 2004 24 commits
-
-
PR libgcj/14446: * java/util/zip/GZIPInputStream.java (read): Avoid sign extension when comparing CRCs. * java/util/zip/InflaterInputStream.java (onebytebuffer): New field. (read()): New overload. From-SVN: r87882
Tom Tromey committed -
* doc/c-tree.texi (TRUTH_NOT_EXPR, TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR, TRUTH_XOR_EXPR): Mention the restriction on types. From-SVN: r87881
Kazu Hirata committed -
* cp-tree.h (unemitted_tinfo_decls): Make a VEC(tree). * decl2.c (cp_finish_file): Adjust tinfo decl emission loop. * rtti.c (unemitted_tinfo_decls): Make a VEC(tree). (init_rtti_processing): Initialize it to something realistic. (get_tinfo_decl): Adjust pushing the new decl. From-SVN: r87872
Nathan Sidwell committed -
Allow coalesced symbol to appear in static archive's table of contents From-SVN: r87871
Matt Austern committed -
PR tree-optimization/17512 * convert.c (convert_to_integer): Don't handle TRUTH_*_EXPR as special cases. * testsuite/gcc.c-torture/compile/20040916-1.c. From-SVN: r87870
Kazu Hirata committed -
* dbxout.c (get_lang_number): Do not define if DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is defined. From-SVN: r87868
David Edelsohn committed -
From-SVN: r87861
David Edelsohn committed -
2004-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Add builtin_define ("__USE_INIT_FINI__"). From-SVN: r87858
Ralf Corsepius committed -
2004-09-22 P.J. Darcy <darcypj@us.ibm.com> * config/s390/s390-protos.h (s390_emit_tpf_eh_return): Add prototype. * config/s390/s390.c (s390_emit_tpf_eh_return): New function. * config/s390/s390.h (TARGET_TPF): New macro. * config/s390/s390.md ("eh_return"): New expander. * config/s390/t-tpf (LIB2ADDEH): Use unwind-dw2-fde.c rather than unwind-dw2-fde-glibc.c. Add config/s390/tpf-eh.c. (LIB2ADDEHDEP): Remove unwind-dw2-fde.c. * config/s390/tpf.h (TARGET_TPF): Define to 1. (STACK_POINTER_OFFSET): Increase to 448. (TARGET_DEFAULT): Set -mtpf-trace on as default. (TPF_LOC_DIFF_OFFSET): New macro. (ASM_PREFERRED_EH_DATA_FORMAT): Redefine to always use absolute encoding. (__isPATrange): Add prototype. (MD_FALLBACK_FRAME_STATE_FOR): Define. * config/s390/tpf-eh.c: New file. From-SVN: r87857
P.J. Darcy committed -
* fold-const.c (fold): Avoid non INTEGER_TYPEs when widening operands in an integer comparison. * tree-cfg.c (find_taken_edge): Call fold() to determine whether the predicate is known. From-SVN: r87855
Diego Novillo committed -
gcc/ 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND. * configure.ac: Call AM_PROG_CC_C_O instead of AC_PROG_CC_C_O. Create build and doc directories along with the language directories. Don't create doc directory separately. * configure: Regenerate. * Makefile.in: Create all object and executables files built with the build compiler in a build/ directory. (genobjnames): Add missing build objects. (STAGESTUFF): Don't stage the gen* programs. (ggc-none.o): Define dependencies for the target compiler. (build-print-rtl.o): Rename to build/print-rtl.o. (build-errors.o): Rename to build/errors.o. (build-varray.o): Rename to build/varray.o. (maintainerclean): Delete the contents of the build directory. ($(genobjs): %.o): Explicitly use -o. (build/insn-conditions.o): Delete specfic rule to use generic rule. (build/gengtype-lex.o): Likewise. (build/gengtype-yacc.o): Likewise. (build/gcov-iov.o): Likewise. gcc/java 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Revert the gcc-none.o change. From-SVN: r87854
Kelley Cook committed -
cp-tree.h (struct lang_type_class): Remove marked flags, add diamond_shaped and repeated_base flags. * cp-tree.h (struct lang_type_class): Remove marked flags, add diamond_shaped and repeated_base flags. Reorder to keep 8-bit blocks. (TYPE_MARKED_P): New. (CLASSTYPE_DIAMOND_SHAPED_P, CLASSTYPE_REPEATED_BASE_P): New. (CLASSTYPE_MARKED_N, SET_CLASSTYPE_MARKED_N, CLEAR_CLASSTYPE_MARKED_N): Remove. (CLASSTYPE_MARKED_*, SET_CLASSTYPE_MARKED_*, CLEAR_CLASSTYPE_MARKED_*): Remove. * decl.c (xref_basetypes): Use TYPE_MARKED_P. Determine diamond shaped and repeated base properties. * lex.c (cxx_make_type): Don't clear TYPE_ALIAS_SET. * rtti.c (dfs_class_hint_mark, dfs_class_hint_unmark, class_hint_flags): Remove. (get_pseudo_ti_init): Use CLASSTYPE_REPEATED_BASE_P and CLASSTYPE_DIAMOND_SHAPED_P. From-SVN: r87853
Nathan Sidwell committed -
* vec.h (VEC_space): Return true if there _is_ space. (VEC_reserve): Adjust. * java/parse.y (patch_anonymous_class): VEC_space returns true if there is space. From-SVN: r87852
Nathan Sidwell committed -
mips.c (mips_function_value): For o32, o64, n32 and n64, use FPRs for scalar, complex and vector types only. * config/mips/mips.c (mips_function_value): For o32, o64, n32 and n64, use FPRs for scalar, complex and vector types only. From-SVN: r87848
Richard Sandiford committed -
[gcc/cp/ChangeLog] 2004-09-21 Ziemowit Laski <zlaski@apple.com> * cp-lang.c (LANG_HOOKS_FOLD_OBJ_TYPE_REF): Moved here from cp-objcp-common.h. (objcp_tsubst_copy_and_build): Reformat function signature. * cp-objcp-common.h (objcp_tsubst_copy_and_build): Likewise. (LANG_HOOKS_FOLD_OBJ_TYPE_REF): Moved to cp-lang.c. From-SVN: r87846
Ziemowit Laski committed -
* tree-ssa-dom.c (opt_stats): Move so that it lives just after the opt_stats_d structure. (vrp_data): Change from a varray into a hash table. (vrp_hash_elt): New structure for elements in the vrp hash table. (vrp_hash, vrp_eq):New functions for hashing and testing equality in the vrp hash table. (tree_ssa_dominator_optimize): Initialize VRP_DATA. Reorganize initialization slightly to make it easier to read. No longer need to grow/clear the varray. Instead empty and delete the hash table. (dom_opt_finalize_block): Update due to change of VRP_DATA from a varray to a hash table. (simplify_cond_and_loop_avail_expr, record_range): Similarly. From-SVN: r87845
Jeff Law committed -
* tree-ssa-ccp.c (get_default_value): If we have a constant value recorded for an SSA_NAME, then use that constant as the initial lattice value. (substitute_and_fold): Transfer equivalences discovered into SSA_NAME_EQUIV. * tree.h (SSA_NAME_EQUIV): Add comments. (SET_SSA_NAME_EQUIV): Similarly. From-SVN: r87844
Jeff Law committed -
* config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Default to POWER4. * config/rs6000/rs6000.c (rs6000_adjust_cost): dep_insn is used. From-SVN: r87843
David Edelsohn committed -
* c-decl.c (implicitly_declare): Call maybe_apply_renaming_pragma. (finish_decl): Likewise. From-SVN: r87840
Mark Mitchell committed -
* tree.def (VEC_COND_EXPR): New tree node. * tree-ssa-operands.c (get_expr_operands): Handle VEC_COND_EXPR. From-SVN: r87839
Devang Patel committed -
[gcc/objc/ChangeLog] 2004-09-21 Ziemowit Laski <zlaski@apple.com> * objc-act.c (objc_fold_objc_type_ref): New function. * objc-act.h (objc_fold_objc_type_ref): New prototype. From-SVN: r87838
Ziemowit Laski committed -
* config/rs6000/darwin-tramp.asm: Add __ppc64__ case. * config/rs6000/darwin-world.asm: Likewise. From-SVN: r87836
Stan Shebs committed -
2004-09-21 Daniel Berlin <dberlin@dberlin.org> * tree-ssa.c (verify_def): Use print_generic_stmt, not debug_generic_stmt. (verify_use): Ditto. (verify_phi_args): Ditto. (verify_ssa): Ditto. From-SVN: r87835
Daniel Berlin committed -
From-SVN: r87833
GCC Administrator committed
-
- 21 Sep, 2004 16 commits
-
-
* varasm.c (default_assemble_integer): Return false for values wider than the target word size. Works around GAS bug. From-SVN: r87827
Paul Brook committed -
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Indentation fix. From-SVN: r87825
Tom Tromey committed -
* parser.c (cp_lexer_peek_token, cp_lexer_consume_token): Don't handle CPP_PRAGMA tokens specially. (cp_lexer_handle_pragma): Use cp_lexer_consume_token. Don't purge the token; do clear token->value after processing. Add assertion at beginning that token->value is nonzero. (cp_parser_statement, cp_parser_declaration_seq_opt): Handle CPP_PRAGMA as a full statement or declaration in its own right. From-SVN: r87822
Zack Weinberg committed -
* reg-notes.def (REG_DEP_TRUE): New entry, place first so it gets value 0. * print-rtl.c (print_rtx): Print the name of a REG_NOTE even if it has value 0. From-SVN: r87821
Zack Weinberg committed -
* java/net/Socket.java (getLocalAddress): Return InetAddress.ANY_IF if not bound yet. From-SVN: r87817
Michael Koch committed -
2004-09-21 Casey Marshall <csm@gnu.org> * javax/crypto/MacSpi.java (clone): Provide meaningful implementation. From-SVN: r87816
Casey Marshall committed -
* gjavah.c (free_method_name_list): Fix function definition so it's a proper C prototype. From-SVN: r87815
Matt Austern committed -
PR c++/15049 * cp/decl.c (grokvardecl): Accept declarations of global variables using anonymous types. * testsuite/g++.dg/other/anon3.C: New. From-SVN: r87814
Matt Austern committed -
PR libgcj/16869: * Makefile.in: Rebuilt. * Makefile.am (MOSTLYCLEANFILES): Removed. (mostlyclean-local): Remove header files. From-SVN: r87813
Tom Tromey committed -
PR java/17575: * gjavah.c (free_method_name_list): New method. (main): Call it. From-SVN: r87812
Tom Tromey committed -
2004-09-21 Mark Wielaard <mark@klomp.org> * java/util/TreeMap.java (root): Don't initialize. (TreeMap(Comparator)): Call fabricateTree(0). (fabricateTree): Initialize root and size when count is 0. From-SVN: r87811
Mark Wielaard committed -
PR c++/7503 * tree.c (lvalue_p_1): Disallow MIN_EXPR and MAX_EXPR as lvalues if either operand has side-effects. * typeck.c (rationalize_conditional_expr): Assert that neither operand of MIN_EXPR or MAX_EXPR has side-effects. (build_modify_expr): Add support for MIN_EXPR and MAX_EXPR. Check that the "lhs" is a valid lvalue, i.e. that neither operand of a MIN_EXPR or MAX_EXPR has a side-effect. * g++.dg/opt/pr7503-1.C: New testcase for COND_EXPR lvalues. * g++.dg/opt/pr7503-2.C: New testcase for <? and >? lvalues. * g++.dg/opt/pr7503-3.C: New testcase for invalid <? lvalue errors. * g++.dg/opt/pr7503-4.C: New testcase for <?= and >?= assignments. * g++.dg/opt/pr7503-5.C: New testcase for side-effects with <?=. From-SVN: r87810
Roger Sayle committed -
2004-09-21 Daniel Berlin <dberlin@dberlin.org> * c-typeck.c (build_function_call): Give name of object we are attempting to call in error message. * c-objc-common.c (c_tree_printer): Call pp_expression, not return false, for 'E' case. From-SVN: r87809
Daniel Berlin committed -
* cp-tree.h (struct lang_type_header): Remove uses_multiple_inheritance field. (TYPE_USES_MULTIPLE_INHERITANCE): Remove. (TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P): Remove. (TYPE_USES_VIRTUAL_BASECLASSES): Remove. (DECL_NEEDS_VTT_PARM_P): Use CLASSTYPE_VBASECLASSES. (TYPE_CONTAINS_VPTR_P): Likewise. * call.c (add_template_candidate_real): Use CLASSTYPE_VBASECLASSES. (build_special_member_call): Likewise. * class.c (finish_struct_bits): Remove TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P & TYPE_USES_VIRTUAL_BASECLASSES bookkeeping. (check_bases_and_members): Use TYPE_CONTAINS_VPTR_P. (create_vtable_ptr): Remove TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P bookkeeping. (build_vtt_inits): Use CLASSTYPE_VBASECLASSES. (accumulate_vtbl_inits, build_vbase_offset_vtbl_entries): Likewise. * decl.c (xref_basetypes): Remove TYPE_USES_MULTIPLE_INHERITANCE, TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P, TYPE_USES_VIRTUAL_BASECLASSES bookkeeping. (cxx_maybe_build_cleanup): Use CLASSTYPE_VBASECLASSES. * decl2.c (maybe_retrofit_in_chrg): Likewise. * init.c (expand_member, push_base_cleanups): Likewise. * pt.c (instantiate_class_template): Remove TYPE_USES_MULTIPLE_INHERITANCE, TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P, TYPE_USES_VIRTUAL_BASECLASSES bookkeeping. * ptree.c (cxx_print_type): Remove TYPE_USES_MULTIPLE_INHERITANCE check. * typeck2.c (process_init_constructor): Replace some sorrys with asserts. From-SVN: r87808
Nathan Sidwell committed -
decl.c (gnat_to_gnu_entity): Check for a dummy designated type via TYPE_MODE instead of COMPLETE_TYPE_P. 2004-09-21 Olivier Hainque <hainque@act-europe.fr> * decl.c (gnat_to_gnu_entity) <E_General_Access_Type>: Check for a dummy designated type via TYPE_MODE instead of COMPLETE_TYPE_P. This ensures proper handling of types with rep clauses, which might have their TYPE_SIZE set already. From-SVN: r87807
Olivier Hainque committed -
decl.c (gnat_to_gnu_type, [...]): Wrap modular packed array types in both little- and big-endian cases. 2004-09-21 Robert Dewar <dewar@gnat.com> * decl.c (gnat_to_gnu_type, case E_Modular_Integer_Type): Wrap modular packed array types in both little- and big-endian cases. This change ensures that we no longer count on the unused bits being initialized for such types (and in particular ensures that equality testing will only read the relevant bits). Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P These changes mean that we no longer need to initialize small packed arrays. (gnat_to_gnu_entity) <E_Record_Subtype>: Apply the same optimization to an LJM field as to its parent field. * ada-tree.h:, trans.c, utils.c, utils2.c: Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P From-SVN: r87806
Robert Dewar committed
-