- 17 Aug, 2004 8 commits
-
-
regclass.c (init_reg_sets_1): Add ENABLE_CHECKING sanity tests to ensure that call_used_regs is a superset of... * regclass.c (init_reg_sets_1): Add ENABLE_CHECKING sanity tests to ensure that call_used_regs is a superset of both fixed_regs and call_really_used_regs. From-SVN: r86119
Roger Sayle committed -
2004-08-17 Andrew Haley <aph@redhat.com> * lang.c (lang_printable_name): Obey verbose flag. * parse.y (constructor_circularity_msg): Set VERBOSE arg for lang_printable_name(). (verify_constructor_circularity, get_printable_method_name, check_abstract_method_definitions, java_check_regular_methods, java_check_abstract_methods, check_inner_class_access, fix_constructors, patch_method_invocation, patch_return): Likewise. * expr.c (pop_type_0): Likewise. * java-tree.h (lang_printable_name_wls): Delete. From-SVN: r86118
Andrew Haley committed -
From Daniel Bornstein <danfuzz@milk.com> PR target/17019 * arm.md (addsi3_cbranch_scratch): Correct case labels. From-SVN: r86114
Daniel Bornstein committed -
From-SVN: r86113
Andrew Pinski committed -
gcc/ChangeLog: 2004-08-17 Paolo Bonzini <bonzini@gnu.org> PR middle-end/17036 * fold-const.c (fold): Check for integer operand when folding (A >> N) & 1 ? (1 << N) : 0. Fix from Andrew Pinski <pinskia@physics.uc.edu>. gcc/testsuite/ChangeLog: 2004-08-17 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/pr17036-1.c: New test. From-SVN: r86112
Paolo Bonzini committed -
2004-08-17 Paolo Bonzini <bonzini@gnu.org> * Makefile.in: Regenerate. * configure: Regenerate. * Makefile.def (bootstrap-stage): Rename extra_*_flags to stage_*_flags. * Makefile.tpl (configure-[+module+], all-[+module+]): Exit for bootstrapped modules if toplevel bootstrap is going. (GCC bootstrap): Generate per-stage targets for all bootstrapped modules. Adjust for changes in Makefile.def. Enable several rules even in non-bootstrap mode, just to avoid peppering the template with unnecessary "@if/@endif gcc-bootstrap" pairs. (stage-[+prev+]-bubble): Remove. * Makefile.def (Dependencies): Depend on all-build-bison, all-build-flex, all-build-byacc, all-build-texinfo, rather than the host variations. * Makefile.tpl (BUILD_DIR_PREFIX): Remove. Replace throughout with BUILD_SUBDIR. (BISON): Update for recent Bisons. (YACC): Fix typo. (cross): Depend on all-build. (all): Do not depend on all-build. (prebootstrap): Remove. (dep-kind): Accept separate prefixes for MODULE and ON variables. (Prebootstrap dependencies): Add them to the per-stage targets and to all-prebootstrap. * configure.in (build_configdirs): Always enable build_tools. (BUILD_DIR_PREFIX): Remove. * Makefile.def (gcc): Add target variable. (gdb, expect, guile, tk, tix): Replace with_x with extra_make_flags. * Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*) in the recursive `make', instead of hardwiring `all'. (Autogenerated TARGET-* variables): New. gcc/ChangeLog: 2004-08-17 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Trust toplevel's notion of BISON/FLEX/MAKEINFO. No need to check if in a cross configuration. * configure: Regenerate. * calls.c (precompute_register_parameters): Inline preserve_subexpressions_p (). * expmed.c (expand_mult_const, emit_store_flag): Likewise. * optabs.c (expand_binop, expand_twoval_binop, prepare_cmp_insn): Likewise. * expr.c (get_subtarget): Likewise. * rtl.h (preserve_subexpressions_p): Remove. * stmt.c (preserve_subexpressions_p): Remove. * dojump.c (do_jump) <COND_EXPR, EQ_EXPR, NE_EXPR, TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, COMPOUND_EXPR>: Abort on gimplified cases. From-SVN: r86111
Paolo Bonzini committed -
From-SVN: r86091
GCC Administrator committed -
* tree.h (VECTOR_FLOAT_TYPE_P): New. (FLOAT_TYPE_P): Use it. * c-typeck.c (build_binary_op): After convert calls, check for check for ERROR_MARK operands. From-SVN: r86088
James E Wilson committed
-
- 16 Aug, 2004 29 commits
-
-
PR java/8473: * parse.y (primary): Changed for initialized and uninitialized array creations. (array_access): Handle array_creation_initialized. (array_creation_expression): Split into array_creation_initialized and array_creation_uninitialized. From-SVN: r86087
Tom Tromey committed -
PR java/8473: * testsuite/libjava.jacks/jacks.xfail: Removed passing test. From-SVN: r86086
Tom Tromey committed -
2004-08-16 Bryce McKinlay <mckinlay@redhat.com> * specific.c: Check GC_LINUX_THREADS before including private/specific.h. From Richard Earnshaw. From-SVN: r86084
Bryce McKinlay committed -
* Makefile.in (BUILD_PREFIX, BUILD_PREFIX_1): Delete. (BUILD_RTL, BUILD_PRINT, BUILD_ERRORS, BUILD_VARRAY): Update. (genobjs): Add build-rtl.o, build-print-rtl.o, build-varray.o. (genobjs static pattern rule): Remove %.c dependency. ($(BUILD_PREFIX_1)rtl.o, print-rtl.o, $(BUILD_PREFIX_1)varray.o): Rename rules; delete commands; fix dependencies. (mostlyclean): Do not delete temporary source copies. * configure.ac: Delete all references to BUILD_PREFIX and BUILD_PREFIX_1. * configure: Regenerate. * print-rtl.c: Include bconfig.h #ifdef GENERATOR_FILE. Do not include tree.h, real.h, flags.h, hard-reg-set.h, or basic-block.h #ifdef GENERATOR_FILE. Surround some more code with #ifndef GENERATOR_FILE so that nothing from those headers is used. * rtl.c, varray.c: Include bconfig.h #ifdef GENERATOR_FILE. From-SVN: r86083
Zack Weinberg committed -
From-SVN: r86082
Adam Nemet committed -
2004-08-16 Andrew Pinski <apinski@apple.com> * target-def.h (TARGET_EH_RETURN_FILTER_MODE): Remove extraneous semicolon. From-SVN: r86081
Andrew Pinski committed -
* Makefile.am (math_c_files): Renamed from c_files. (math_c_source_files): Renamed from c_source_files. * Makefile.in, gcj/Makefile.in, include/Makefile.in, testsuite/Makefile.in: Regenerated. From-SVN: r86080
Michael Koch committed -
* c-common.c (handle_used_attribute): Set DECL_PRESERVE_P. * print-tree.c (print_node): Print DECL_PRESERVE_P. * target-def.h (TARGET_ASM_MARK_DECL_PRESERVED): New #define. (TARGET_ASM_OUT): New member, TARGET_ASM_MARK_DECL_PRESERVED * target.h (struct gcc_target): New member, mark_decl_preserved. * hooks.c (hook_void_charptr): Rename to ... (hook_void_constcharptr): ... new name. * hooks.h (hook_void_charptr): Rename to .. (hook_void_constcharptr): ... new name. * tree.h (DECL_PRESERVE_P): New #define. (struct tree_decl): New member, preserve_flag. * varasm.c (assemble_start_function): Mark decl preserved. (assemble_variable): Same. * darwin.c (darwin_mark_decl_preserved): New function. * darwin.h (TARGET_ASM_MARK_DECL_preserved): New #define. * darwin-protos.h (darwin_mark_decl_preserved): New decl. * doc/tm.texi (TARGET_ASM_MARK_DECL_PRESERVED): Document. testsuite: * gcc.dg/darwin-20040809-1.c: New test. From-SVN: r86076
Devang Patel committed -
* c-decl.c (grokdeclarator): Allow for function definition where innermost declarator has attributes. testsuite: * gcc.dg/funcdef-attr-1.c: New test. From-SVN: r86075
Joseph Myers committed -
Reviewed by Geoff Keating. From-SVN: r86074
Fariborz Jahanian committed -
* configure.ac: Replace _GCC_TOPLEV_NONCANONICAL_TARGET with ACX_NONCANONICAL_TARGET; remove now-unneeded AC_SUBST. * configure: Regenerate. From-SVN: r86073
Nathanael Nerode committed -
2004-08-16 Bryce McKinlay <mckinlay@redhat.com> * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory to avoid autoconf warning. * configure: Rebuilt. From-SVN: r86072
Bryce McKinlay committed -
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org> * aclocal.m4: Remove obsolete construct for old automake. * acinclude.m4: Regenerate with aclocal 1.9.1. * configure.ac: Remove duplicate AC_WITH calls. Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET. Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET. Remove now-redundant subst of target_noncanonical. Remove now-gratuitous m4 quoting around $. Replace AM_PROG_LIBTOOL with AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL. Use slightly more modern form of AC_INIT. * configure: Rebuild with autoconf 2.59. * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1. From-SVN: r86071
Nathanael Nerode committed -
* config/darwin.c (macho_indirect_data_reference): Add DImode case. (machopic_legitimize_pic_address): Similarly, plus use Pmode instead of SImode. * config/rs6000/darwin.h (PTRDIFF_TYPE): Be "long int" if 64-bit. (TARGET_OS_CPP_BUILTINS): Add 64-bit preprocessor macro. (SUBTARGET_SWITCHES): Add -m32 and -m64 flags. (SUBTARGET_OVERRIDE_OPTIONS): Require 64-bit processor if -m64. (PROCESSOR_DEFAULT64): Define. * config/rs6000/darwin.md: New file, patterns specific to 64-bit Darwin. * config/rs6000/rs6000.md: Include darwin.md. (builtin_setjmp_receiver): Add DImode case. * config/rs6000/rs6000.c (TARGET_ASM_UNALIGNED_DI_OP): Define for Darwin. (TARGET_ASM_ALIGNED_DI_OP): Ditto. (rs6000_emit_move): Add DImode case to Darwin bits. (machopic_output_stub): Use .quad if 64-bit. * invoke.texi: Document -m32 and -m64. From-SVN: r86070
Stan Shebs committed -
2004-08-16 Janis Johnson <janis187@us.ibm.com> * gcc.dg/altivec-17.c: New test. * gcc.dg/altivec-18.c: New test. From-SVN: r86067
Janis Johnson committed -
2004-08-16 Janis Johnson <janis187@us.ibm.com> * doc/extend.texi (AltiVec builtins): Document additional differences from the Motorola AltiVec PIM. From-SVN: r86066
Janis Johnson committed -
* c-typeck.c (build_c_cast): Only copy overflow from expr nodes. * tree.h (IS_NON_TYPE_CODE_CLASS): Simplify. (struct tree_common): Update public_flag documentation. From-SVN: r86065
Nathan Sidwell committed -
* cuintp.c (UI_To_gnu): Be more conservative with build_int_cst call.s * trans.c (Exception_Handler_to_gnu_sjlj): Likewise. (gnat_to_gnu): Likewise. From-SVN: r86063
Nathan Sidwell committed -
2004-08-16 Andreas Tobler <a.tobler@schweiz.ch> * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h" since they're not known at this time. * solaris_pthreads.c: Likewise. From-SVN: r86062
Andreas Tobler committed -
tree-ssa-copyrename.c (copy_rename_partition_coalesce): Check for arificial variables, not is_gimple_tmp_var. * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Check for arificial variables, not is_gimple_tmp_var. * tree-ssa-live.c (var_union): Likewise. From-SVN: r86057
Nathanael Nerode committed -
2004-08-16 Paolo Carlini <pcarlini@suse.de> * include/bits/indirect_array.h: Trivial formatting fixes. * include/bits/valarray_after.h: Likewise. * include/bits/valarray_array.h: Likewise. * src/valarray-inst.cc: Likewise. From-SVN: r86056
Paolo Carlini committed -
From-SVN: r86055
Joern Rennecke committed -
PR c++/6749 * pt.c (instantiate_pending_templates): Add int parameter. Don't return anything. * cp-tree.h (instantiate_pending_templates): Adjust prototype. * decl2.c (finish_file): Adjust call to instantiate_pending_templates. * g++.dg/template/vtable2.C: New test. From-SVN: r86054
Kriang Lerdsuwanakij committed -
2004-08-16 Andrew Haley <aph@redhat.com> * jcf-write.c (find_constant_index): Canonicalize NaNs when generating bytecode. From-SVN: r86053
Andrew Haley committed -
2004-08-16 Elliot Lee <sopwith@redhat.com> PR java/9677 * jcf-parse.c (java_parse_file): Handle filenames with embedded spaces, and quoted filelists. From-SVN: r86051
Elliot Lee committed -
2004-08-16 Pascal Obry <obry@gnat.com> * adaint.c (__gnat_prj_add_obj_files): Set to 0 only on Win32 for GCC backend prior to GCC 3.4. With GCC 3.4 we are using the GCC's shared option and not mdll anymore. Update comment. 2004-08-16 Pascal Obry <obry@gnat.com> * bld.adb (Put_Include_Project): Properly handle directory separators on Windows. 2004-08-16 Ed Schonberg <schonberg@gnat.com> * sem_ch4.adb (Try_Object_Operation): Restructure code. Optimize by decreasing the number of allocated junk nodes while searching for the appropriate subprogram. From-SVN: r86049
Arnaud Charlet committed -
From-SVN: r86048
Nathan Sidwell committed -
* call.c (build_vfield_ref, build_call, build_conditional_expr, convert_arg_to_ellipsis, build_x_va_arg, build_over_call, build_java_interface_fn_ref, build_special_member_call, build_new_method_call, initialize_reference): Replace calls to build with calls to buildN. * class.c (build_base_path, convert_to_base_statically, build_vfn_ref, instantiate_type, dfs_accumulate_vtbl_inits, build_vtbl_initializer): Likewise. * cp-gimplify.c (genericize_try_block, genericize_catch_block, gimplify_if_stmt, cp_genericize_r): Likewise. * cvt.c (convert_to_void): Likewise. * decl.c (check_initializer, finish_constructor_body, finish_destructor_body): Likewise. * error.c (dump_expr): Likewise. * except.c (build_exc_ptr, expand_start_catch_block, build_throw): Likewise. * init.c (perform_member_init, expand_virtual_init, expand_cleanup_for_base, build_init, expand_default_init, build_offset_ref, decl_constant_value, build_new, build_new_1, build_vec_delete_1, build_vec_init, build_delete, push_base_cleanups, build_vec_delete): Likewise. * mangle.c (write_integer_cst): Likewise. * method.c (thunk_adjust, do_build_copy_constructor, do_build_assign_ref): Likewise. * pt.c (lookup_template_function, tsubst, tsubst_copy_and_build, unify, build_non_dependent_expr): Likewise. * rtti.c (build_headof, build_typeid, ifnonnull, build_dyanmic_cast_1, tinfo_base_init): Likewise. * semantics.c (begin_compound_stmt, finish_call_expr, finish_pseudo_destructor_expr, finish_id_expression, simplify_aggr_init_expr, finalize_nrv_r): Likewise. * tree.c (build_target_expr, build_cplus_new, array_type_nelts_top, array_type_nelts_total, stabilize_call): Likewise. * typeck.c (decay_conversion, build_class_member_access_expr, lookup_destructor, build_ptrmemfunc_access_expr, build_array_ref, get_member_function_from_ptrfunc, build_binary_op, pointer_diff, build_x_unary_op, build_unary_op, unary_complex_lvalue, build_compound_expr, build_modify_expr, expand_ptrmemfunc_cst, check_return_expr): Likewise. * typeck2.c (split_nonconstant_1, split_nonconstant_init_1, split_nonconstant_init, store_init_value, build_m_component_ref): Likewise. From-SVN: r86047
Roger Sayle committed -
From-SVN: r86043
GCC Administrator committed
-
- 15 Aug, 2004 3 commits
-
-
2004-08-15 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk. * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise. * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise. * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New. * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise. 2004-08-15 Paolo Carlini <pcarlini@suse.de> * include/bits/deque.tcc: Trivial formatting fixes. From-SVN: r86040
Paolo Carlini committed -
[gcc/ChangeLog] 2004-08-15 Ziemowit Laski <zlaski@apple.com> * Makefile.in (C_PRETTY_PRINT_H): Add c-pretty-print.h. (c-lang.o): Depend on c-objc-common.h. (c-objc-common.o): Depend on $(C_PRETTY_PRINT_H) and c-objc-common.h; remove duplicate $(C_TREE_H) dependency. * c-lang.c: Include c-objc-common.h. (LANG_HOOKS_FINISH, LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_INITIALIZE_DIAGNOSTICS, LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_MISSING_ARGUMENT, LANG_HOOKS_POST_OPTIONS, LANG_HOOKS_GET_ALIAS_SET, LANG_HOOKS_SAFE_FROM_P, LANG_HOOKS_EXPAND_EXPR, LANG_HOOKS_MARK_ADDRESSABLE, LANG_HOOKS_PARSE_FILE, LANG_HOOKS_TRUTHVALUE_CONVERSION, LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL, LANG_HOOKS_STATICP, LANG_HOOKS_SET_DECL_ASSEMBLER_NAME, LANG_HOOKS_NO_BODY_BLOCKS, LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL, LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_DUP_LANG_SPECIFIC_DECL, LANG_HOOKS_DECL_UNINIT, LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN, LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS, LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P, LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING, LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS, LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN, LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE, LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE, LANG_HOOKS_INCOMPLETE_TYPE_ERROR, LANG_HOOKS_TYPE_PROMOTES_TO, LANG_HOOKS_REGISTER_BUILTIN_TYPE, LANG_HOOKS_WRITE_GLOBALS): Move to c-objc-common.h. * c-objc-common.c: Include c-objc-common.h. * c-objc-common.h: New file. [gcc/objc/ChangeLog] 2004-08-15 Ziemowit Laski <zlaski@apple.com> * Make-lang.in (objc/objc-lang.o): Depend on $(C_PRETTY_PRINT_H), $(DIAGNOSTIC_H), c-objc-common.h and gtype-objc.h, but not on toplev.h. (objc/objc-parse.o): Do not depend on gtype-objc.h. * objc-act.c: Do not include gtype-objc.h. (finish_file): Rename to objc_finish_file(). * objc-act.h (finish_file): Update copyright notice; remove prototype. * objc-lang.c: Update copyright notice; include diagnostic.h, c-objc-common.h, c-pretty-print.h and gtype-objc.h; do not include toplev.h. (finish_file): New hook routine. (LANG_HOOKS_FINISH, LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_INITIALIZE_DIAGNOSTICS, LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_MISSING_ARGUMENT, LANG_HOOKS_POST_OPTIONS, LANG_HOOKS_GET_ALIAS_SET, LANG_HOOKS_SAFE_FROM_P, LANG_HOOKS_EXPAND_EXPR, LANG_HOOKS_MARK_ADDRESSABLE, LANG_HOOKS_PARSE_FILE, LANG_HOOKS_TRUTHVALUE_CONVERSION, LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL, LANG_HOOKS_STATICP, LANG_HOOKS_SET_DECL_ASSEMBLER_NAME, LANG_HOOKS_NO_BODY_BLOCKS, LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL, LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_DUP_LANG_SPECIFIC_DECL, LANG_HOOKS_DECL_UNINIT, LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN, LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS, LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P, LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING, LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS, LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN, LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE, LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE, LANG_HOOKS_INCOMPLETE_TYPE_ERROR, LANG_HOOKS_TYPE_PROMOTES_TO, LANG_HOOKS_REGISTER_BUILTIN_TYPE, LANG_HOOKS_WRITE_GLOBALS): Move to c-objc-common.h. From-SVN: r86037
Ziemowit Laski committed -
2004-08-15 Andreas Tobler <a.tobler@schweiz.ch> PR target/14931 * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style. From-SVN: r86029
Andreas Tobler committed
-