- 13 Aug, 2004 13 commits
-
-
From-SVN: r85939
David Edelsohn committed -
* config/rs6000/rs6000.h (PREDICATE_CODES): Remove PARALLEL from any_operand. From-SVN: r85938
David Edelsohn committed -
* config/rs6000/rs6000.c (any_parallel_operand): New predicate. * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_parallel_operand, lmw_operation, stmw_operation, mfcr_operation, mtcrf_operation. * config/rs6000/rs6000.md (save_fpregs_{si,di}): Use any_parallel_operand. (return_and_restore_fpregs_{si,di}): Same. From-SVN: r85937
David Edelsohn committed -
From-SVN: r85936
Brian Booth committed -
2004-08-13 Olivier Hainque <hainque@act-europe.fr> * decl.c (gnat_to_gnu_entity) <E_Variable>: When building an allocator for a global aliased object with a variable size and an unconstrained nominal subtype, pretend there is no initializer if the one we have is incomplete, and avoid referencing an inexistant component in there. The part we have will be rebuilt anyway and the reference may confuse further operations. 2004-08-13 Thomas Quinot <quinot@act-europe.fr> * einfo.ads: Minor reformatting * lib-writ.adb (Output_Main_Program_Line): Do not set parameter restrictions in the ALI if we only want to warn about violations. 2004-08-13 Vincent Celier <celier@gnat.com> * ali.adb (Scan_ALI): Initialize component Body_Needed_For_SAL to False when creating a new Unit_Record in table Units. * gnatls.adb (Output_Unit): In verbose mode, output the restrictions that are violated, if any. * prj-nmsc.adb (Ada_Check.Get_Path_Names_And_Record_Sources): Do not add directory separator if path already ends with a directory separator. 2004-08-13 Ed Schonberg <schonberg@gnat.com> * rtsfind.adb (Entity_Not_Defined): If the error ocurrs in a predefined unit, this is an attempt to inline a construct that is not available in the current restricted mode, so abort rather than trying to continue. * sem_ch3.adb (Build_Underlying_Full_View): If the new type has discriminants that rename those of the parent, recover names of original discriminants for the constraint on the full view of the parent. (Complete_Private_Subtype): Do not create a subtype declaration if the subtype is an itype. * gnat_rm.texi: Added section on implementation of discriminated records with default values for discriminants. 2004-08-13 Ed Schonberg <schonberg@gnat.com> PR ada/15601 * sem_res.adb (Make_Call_Into_Operator): Handle properly the case where the second operand is overloaded. From-SVN: r85934
Arnaud Charlet committed -
* genrecog.c (add_to_sequence): When processing a MATCH_PARALLEL, if pred->singleton != PARALLEL, issue a warning and pretend it was. Also issue a warning for any predicate we don't know about. From-SVN: r85933
Zack Weinberg committed -
* config/i386/i386.c (internal_label_prefix): Export. (internal_label_prefix_len, struct ix86_address, ix86_decompose_address, maybe_get_pool_constant, ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes, memory_address_length): Export. (any_fp_register_operand, fp_register_operand, register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand, x86_64_general_operand, x86_64_szext_general_operand, x86_64_nonmemory_operand, x86_64_movabs_operand, x86_64_szext_nonmemory_operand, x86_64_immediate_operand, x86_64_zext_immediate_operand, const_int_1_31_operand, symbolic_operand, pic_symbolic_operand, local_symbolic_operand, tls_symbolic_operand, global_dynamic_symbolic_operand, local_dynamic_symbolic_operand, initial_exec_symbolic_operand, local_exec_symbolic_operand, call_insn_operand, sibcall_insn_operand, constant_call_address_operand, const0_operand, const1_operand, const248_operand, const_0_to_3_operand, const_0_to_7_operand, const_0_to_15_operand, const_0_to_255_operand, incdec_operand, shiftdi_operand, reg_no_sp_operand, mmx_reg_operand, general_no_elim_operand, nonmemory_no_elim_operand, index_register_operand, q_regs_operand, flags_reg_operand, non_q_regs_operand, zero_extended_scalar_load_operand, vector_move_operand, no_seg_address_operand, sse_comparison_operator, ix86_comparison_operator, ix86_carry_flag_operator, fcmov_comparison_operator, promotable_binary_operator, cmp_fp_expander_operand, ext_register_operand, binary_fp_operator, mult_operator, div_operator, arith_or_logical_operator, memory_displacement_operand, cmpsi_operand, long_memory_operand, aligned_operand): Move to predicates.md as define_predicates. (tls_symbolic_operand_1): Remove. (x86_64_sign_extended_value): Merge into x86_64_immediate_operand. (x86_64_zero_extended_value): Merge into x86_64_zext_immediate_operand. (legitimize_address): Merge tls_symbolic_operand contents. (ix86_expand_move): Likewise. * config/i386/i386-protos.h: Update for exports. * config/i386/i386.h (EXTRA_CONSTRAINT): Update for renames. (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Remove. * config/i386/i386.md: Include predicates.md. * config/i386/predicates.md: New file. From-SVN: r85930
Richard Henderson committed -
2004-08-12 Ziemowit Laski <zlaski@apple.com> * objc/NXConstStr.h: Update copyright date; bracket with 'extern "C"' for C++ use; make include syntax consistent by using <...> instead of "..."; hoist <objc/...> includes above the 'extern "C"' block. * objc/Object.h: Likewise. * objc/Protocol.h: Likewise. * objc/encoding.h: Likewise. * objc/hash.h: Likewise. * objc/runtime.h: Likewise. * objc/sarray.h: Likewise. * objc/thr.h: Likewise. * objc/typedstream.h: Likewise. * objc/objc-api.h: Add 'extern "C"' block for C++ use. (objc_static_instances): For C++ case, do away with zero-sized array. (objc_method): Hoist definition to file scope. (_objc_load_callback, _objc_object_alloc, class_get_class_method, class_get_instance_method, class_create_instance, class_get_class_name, class_get_instance_size, class_get_meta_class, class_get_super_class, class_get_version, class_is_class, class_is_meta_class, class_set_version, class_get_gc_object_type, class_ivar_set_gcinvisible, get_imp): Rename 'class' parameter to '_class'. * objc/objc-list.h: Add 'extern "C"' block for C++ use. * objc/objc.h: Update copyright date. (arglist_t): Provide a union tag. From-SVN: r85927
Ziemowit Laski committed -
PR c++/16924 * config/i386/winnt.c (i386_pe_mark_dllexport): Set SYMBOL_REF_DECL. (i386_pe_mark_dllimport): Likewise. (i386_pe_encode_section_info): Likewise, when overriding dllimport attribute. From-SVN: r85924
Mark Mitchell committed -
2004-08-12 Janis Johnson <janis187@us.ibm.com> gcc.dg/vmx/cw-bug-2.c: Remove. gcc.dg/vmx/vprint-1.c: Remove. gcc.dg/vmx/vscan-1.c: Remove. From-SVN: r85923
Janis Johnson committed -
From-SVN: r85921
GCC Administrator committed -
From-SVN: r85918
Ian Lance Taylor committed -
From-SVN: r85917
Ian Lance Taylor committed
-
- 12 Aug, 2004 27 commits
-
-
* configure.ac: When testing for flex, nm, ar, and bison, check that they will actually be built. * configure: Regenerate. From-SVN: r85914
Geoffrey Keating committed -
* Makefile.def, configure.in: Remove useless, bogus references to tix. * Makefile.in, configure: Regenerate. (Also fix up last ChangeLog entry.) From-SVN: r85913
Nathanael Nerode committed -
2004-08-12 Nathanael Nerode <neroden@gcc.gnu.org> * src-release: Stop distributing mmalloc with gdb (which doesn't use it). * Makefile.def: GDB doesn't depend on mmalloc anymore. * Makefile.in: Regenerate. From-SVN: r85912
Nathanael Nerode committed -
2004-08-12 Paolo Carlini <pcarlini@suse.de> * configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE. From-SVN: r85911
Paolo Carlini committed -
2004-08-12 Paolo Carlini <pcarlini@suse.de> PR libstdc++/16956 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off to the returned value, reorganize a bit. * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New. * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New. * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk. * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise. From-SVN: r85910
Paolo Carlini committed -
* config/s390/s390.h (MAX_FIXED_MODE_SIZE): Define. (MOVE_MAX_PIECES): Define. From-SVN: r85909
Ulrich Weigand committed -
* dbxout.c (dbxout_begin_prologue): New function. (dbx_debug_hooks): Use new begin prologue hook. (dbxout_function_end): Emit N_ENSYM. * stab.def (N_BNSYM, N_ENSYM): Define and document these two new stabs. testsuite: gcc.dg/darwin-20040809-2.c: New test. From-SVN: r85908
Devang Patel committed -
2004-08-12 Janis Johnson <janis187@us.ibm.com> * g++.dg/ext/altivec-12.C: New test. From-SVN: r85907
Janis Johnson committed -
2004-08-12 Janis Johnson <janis187@us.ibm.com> * config/rs6000/altivec.h (vec_dst): Fix C++ functions whose first argument is float*. From-SVN: r85906
Janis Johnson committed -
2004-08-12 Janis Johnson <janis1872us.ibm.com> * g++.dg/ext/altivec-11.C: New test. From-SVN: r85904
Janis Johnson committed -
2004-08-12 Janis Johnson <janis187@us.ibm.com> * config/rs6000/rs6000.c (altivec_init_builtins): Fix argument type for vec_dss. From-SVN: r85903
Janis Johnson committed -
2004-08-12 Janis Johnson <janis187@us.ibm.com> * doc/extend.texi (AltiVec builtins): Fix description for recent changes. Update operation list to match current support. From-SVN: r85902
Janis Johnson committed -
which included commits to RCS files with non-trunk default branches. From-SVN: r85900
Bryce McKinlay committed -
From-SVN: r85897
Bryce McKinlay committed -
* config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and _GLIBCXX_CXA_VEC_CTOR_RETURN. * config/cpu/generic/cxxabi_tweaks.h: Ditto. * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use __cxa_vec_ctor_return. * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto. Use _GLIBCXX_CXA_VEC_CTOR_RETURN. * g++.dg/abi/arm_cxa_vec_1.C: New test. From-SVN: r85891
Paul Brook committed -
2004-08-12 Janis Johnson <janis187@us.ibm.com> * g++.dg/ext/altivec-2.C: Check for hardware support before executing any VMX instructions. From-SVN: r85890
Janis Johnson committed -
2004-08-12 Janis Johnson <janis187@us.ibm.com> * gcc.dg/vmx/ops-long-2.c: Add dg-error directives. From-SVN: r85889
Janis Johnson committed -
From-SVN: r85887
Mark Mitchell committed -
PR c++/16273 * class.c (count_depth_data): New type. (dfs_depth_post): New function. (dfs_depth_q): Likewise. (find_final_overrider_data_s): Change type of vpath. Add vpath_list. (dfs_find_final_overrider_1): New function. (dfs_find_final_overrider): Use it. (dfs_find_final_overrider_q): Adjust use of vpath. (dfs_find_final_overrider_post): Likewise. (find_final_overrider): Use dfs_depth. Allocate and deallocate vpath_list. From-SVN: r85886
Mark Mitchell committed -
re PR libgcj/16662 (IllegalMonitorStateException in EventQueue.getNextEvent(): possible hash synchronization bug?) PR libgcj/16662 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing. (Almost everywhere): add LOG calls, fix, add comments. (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion. Add explicit check for LOCKED bit in slow case (PR 16662). (_Jv_MonitorExit): Add casts in debug-only code. Always release LOCKED bit before throwing exception. (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock isn't. Handle easy cases without lock acquisition. (Object::wait): Use NotifyAll for lock inflation. From-SVN: r85884
Hans Boehm committed -
2004-08-12 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (struct s390_frame_layout): New struct as element of struct machine_function. (cfun->machine->frame_size): Moved into cfun->machine->frame_layout and changed all uses. (cfun->machine->save_fprs_p): Replaced by cfun_save_high_fprs and changed all uses. (cfun_frame_layout, cfun_save_high_fprs_p, cfun_gprs_save_area_size) (cfun_set_fpr_bit, cfun_fpr_bit_p): New macros. (s390_frame_area, s390_register_info): New functions. (s390_optimize_prolog): Renamed to s390_optimize_prologue. Added check for base register. (s390_return_addr_rtx, s390_return_address_offset) (s390_va_start, s390_gimplify_va_arg) (s390_emit_prologue, s390_emit_epilogue): Adjusted for new stack layouts. (s390_frame_info): Functionality partly moved to s390_register_info. Made adaptions for new stack layout. (save_gprs, restore_gprs): Changed meaning of second parameter and adapted all callers. * config/s390/s390.h (s390_backchain_string): New global variable. (MASK_BACKCHAIN): Removed definition. (TARGET_BACKCHAIN): Changed check. (TARGET_KERNEL_BACKCHAIN): New macro. (TARGET_SWITCHES): Removed entries of "backchain" and "no-backchain". (TARGET_OPTIONS): Added "backchain", "no-backchain" and "kernel-backchain". (DYNAMIC_CHAIN_ADDRESS): Adjusted for new stack layouts. * config/s390/s390.md ("allocate_stack"): Added TARGET_KERNEL_BACKCHAIN as condition. Adjusted for new stack layout. * doc/invoke.texi: Added documentation for new option "-mkernel-backchain" and adjusted documentation of "-mbackchain" and "-mno-backchain". From-SVN: r85882
Andreas Krebbel committed -
2004-08-03 David Daney <ddaney@avtrex.com> * testsuite/libjava.lang/Process_1.java: New test. * testsuite/libjava.lang/Process_2.java: New test. * testsuite/libjava.lang/Process_3.java: New test. * testsuite/libjava.lang/Process_4.java: New test. * testsuite/libjava.lang/Process_5.java: New test. * testsuite/libjava.lang/Process_6.java: New test. * testsuite/libjava.lang/Process_1.out: Expected result. * testsuite/libjava.lang/Process_2.out: Expected result. * testsuite/libjava.lang/Process_3.out: Expected result. * testsuite/libjava.lang/Process_4.out: Expected result. * testsuite/libjava.lang/Process_5.out: Expected result. * testsuite/libjava.lang/Process_6.out: Expected result. From-SVN: r85881
David Daney committed -
2004-08-12 David Daney <ddaney@avtrex.com> PR libgcj/11801 * java/lang/PosixProcess.java: Rewrote. * java/lang/natPosixProcess.cc: Rewrote. * java/lang/Runtime.java (execInternal): Declare throws IOException. * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare. * posix-threads.cc (block_sigchld) New function. (_Jv_ThreadRegister) Use it. (_Jv_ThreadStart) Use it. * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in... * Makefile.am: ... to specify extra native headers. * configure: Regenerated. * include/config.h: Regenerated. * Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. From-SVN: r85880
David Daney committed -
* config/arm/lib1funcs.asm (ARM_FUNC_ALIAS): Also alias _L__name. (aeabi_uidivmod, aeabi_idivmod): Provide thumb implementation. From-SVN: r85879
Paul Brook committed -
2004-08-12 David Daney <ddaney@avtrex.com> * java/gcj.texi: Add subsection on signal usage. From-SVN: r85878
David Daney committed -
expr.c (move_by_pieces): Set alignment for move to minimum of MOVE_MAX_PIECES mode alignment and the... * expr.c (move_by_pieces): Set alignment for move to minimum of MOVE_MAX_PIECES mode alignment and the largest non-slow mode alignment, but not less than the original alignment. (move_by_pieces_ninsns): Same. (can_store_by_pieces): Similar for store with STORE_MAX_PIECES. (store_by_pieces_1): Same. From-SVN: r85875
David Edelsohn committed -
PR tree-optimization/16867 * tree.c (is_global_var): New function. (needs_to_live_in_memory): Check for TREE_ADDRESSABLE. Call is_global_var. * tree.h (DECL_NEEDS_TO_LIVE_IN_MEMORY_INTERNAL): Remove. Update all users. (is_global_var): Declare. * tree-dfa.c (dump_variable): Display global and addressable attributes. (add_referenced_var): Clarify documentation when marking variables call-clobbered. * tree-flow-inline.h (is_call_clobbered): Call is_global_var instead of needs_to_live_in_memory. (mark_call_clobbered): If the variable is a tag, mark it DECL_EXTERNAL. * tree-gimple.c (is_gimple_reg): Don't check for TREE_ADDRESSABLE. (is_gimple_non_addressable): Likewise. * tree-ssa-alias.c (get_nmt_for): Always check whether the tag needs to be marked call-clobbered. (setup_pointers_and_addressables): Call is_global_var instead of needs_to_live_in_memory. * tree-ssa-dce.c (need_to_preserve_store): Remove. Update all users with is_global_var. (mark_stmt_if_obviously_necessary): Fix processing of aliased stores. Don't check the virtual definitions. Rather, check whether the store is going into global memory. (find_obviously_necessary_stmts): Get the symbol from the PHI result. * tree-ssa-operands.c (get_call_expr_operands): Do not add clobbering may-defs if the call does not have side effects. libjava/ChangeLog PR tree-optimization/16867 * testsuite/libjava.lang/PR16867.java: New test. From-SVN: r85874
Diego Novillo committed
-