- 07 Jul, 2002 5 commits
-
-
* sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''. (PREDICATE_CODES): Add entries for equality_comparison_operator, greater_comparison_operator and less_comparison_operator. * sh.c (print_operand): Add '\'' code. Make 'o' handle more operators. (equality_comparison_operator): New function. (greater_comparison_operator, less_comparison_operator): Likewise. * sh.md (beq_media_i): Disable generator function generation. Use match_operator to handle a whole class of comparisons. Add modifier in output template to provide branch prediction. Add type. (bgt_media_i, ble_media_i): Likewise. Allow zero operands. (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete. (blt_media_i, bleu_media_i, bltu_media_i): Likewise. (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands. From-SVN: r55305
J"orn Rennecke committed -
* error.c (dump_function_name): Use DECL_TEMPLATE_RESULT for constructor and destructor tests when passed a TEMPLATE_DECL. * g++.dg/template/qualttp21.C: New test case. From-SVN: r55304
Roger Sayle committed -
* config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val, not unprototyped get_hard_reg_initial_val. ("call_value", "nonlocal_goto_receiver"): Ditto. ("return"): Make define_expand. Move real insn to... ("*expanded_return"): New pattern. ("prologue", "epilogue"): New define_expands. * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro. (struct machine_function): New member in_prologue. (FIRST_PSEUDO_REGISTER): Adjust for including rO as register. (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto. (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto. (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto. (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto. (LOCAL_REGNO): Define. Adjust comment. * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS): Consider regs_ever_live[MMIX_rJ_REGNUM], not just leaf_function_p. (MMIX_OUTPUT_REGNO): Don't translate registers while outputting the prologue. (mmix_target_asm_function_prologue): Make static. Just mark that the prologue is being emitted. Move guts to... (mmix_expand_prologue): New function. Adjust for emitting prologue as rtl. For sizes, use HOST_WIDE_INT only. (mmix_target_asm_function_epilogue): Make static. Simply emit a \n. Move guts to... (mmix_expand_epilogue): New function. Adjust for emitting epilogue as rtl. For sizes, use HOST_WIDE_INT only. (mmix_target_asm_function_end_prologue): Mark that the prologue has ended. (TARGET_ASM_FUNCTION_END_PROLOGUE): Define. (mmix_conditional_register_usage): Improve comments. (mmix_local_regno): New function. (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto. * config/mmix/mmix-protos.h (mmix_local_regno): Prototype. (mmix_expand_prologue, mmix_expand_epilogue): Ditto. (mmix_get_hard_reg_initial_val): Ditto. From-SVN: r55302
Hans-Peter Nilsson committed -
2002-07-07 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/7186 * include/bits/stl_deque.h (_Deque_iterator::operator-): Make non-member, as already happens for the comparison operators in accord with DR179 (Ready). * testsuite/23_containers/deque_operators.cc: Add test02. From-SVN: r55301
Paolo Carlini committed -
From-SVN: r55300
GCC Administrator committed
-
- 06 Jul, 2002 9 commits
-
-
* gcc.c-torture/compile/20020706-1.c: New test. * gcc.c-torture/compile/20020706-2.c: New test. From-SVN: r55290
Alexandre Oliva committed -
From-SVN: r55289
Brian R. Gaeke committed -
From-SVN: r55288
Alexandre Oliva committed -
* toplev.c (set_fast_math_flags): Don't use ISO C style function definitions. * gengtype.c (open_base_files): Likewise. (close_output_files): Likewise. * tracer.c (find_best_predecessor): Likewise. (find_best_successor): Likewise. (ignore_bb_p): Likewise. From-SVN: r55287
Andreas Jaeger committed -
* toplev.c (set_fast_math_flags): Don't use ISO C style function definitions. * gengtype.c (open_base_files): Likewise. (close_output_files): Likewise. * tracer.c (find_best_predecessor): Likewise. (find_best_successor): Likewise. (ignore_bb_p): Likewise. From-SVN: r55286
Andreas Jaeger committed -
From-SVN: r55285
GCC Administrator committed -
2002-07-05 Tony Kimball <alk@pobox.com> * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'. From-SVN: r55280
Tony Kimball committed -
2002-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> PR c++/7099 * g++.dg/warn/noreturn1.C: New test. From-SVN: r55277
Kaveh R. Ghazi committed -
PR c++/7099 * builtin-attrs.def: Define new attribute lists for use in builtins.def. * builtins.def [DEF_BUILTIN]: Modify to take an additional ATTRS argument, an enumerated value defined in builtin-attrs.def that represents the attribute list for the builtins. Modify all builtin functions to pass an appropriate attribute list. Specify "abort", "exit", "_exit" and "_Exit" builtins here with their required noreturn attributes. * tree.h (enum_builtin_function): Ignore the additional parameter to DEF_BUILTIN. * builtins.c (built_in_names): Likewise. * c-common.c: (builtin_function_2): Replace the "int noreturn_p" argument with a tree representing the functions attribute list. Pass this "attrs" argument to builtin_function. No longer handle the noreturn_p processing manually. (built_in_attributes): Move the definitions from builtin-attrs.def before c_common_nodes_and_builtins. (c_common_nodes_and_builtins): Handle the new ATTRS parameter in DEF_BUILTIN, passing it to both builtin_function and the changed builtin_function_2. * doc/extend.texi: Document __builtin_abort, __builtin_exit, __builtin__exit and __builtin__Exit. * java/builtins.c (initialize_builtins): Ignore the additional parameter to DEF_BUILTIN. Handle more C/C++ specific junk in the builtins.def file. From-SVN: r55276
Roger Sayle committed
-
- 05 Jul, 2002 14 commits
-
-
* config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating QI mode registers in soft registers. ("zero_extendqihi2"): Do not take into account soft registers for register allocation (use '*' constraint). From-SVN: r55274
Stephane Carrez committed -
* cvt.c (cp_convert_to_pointer): Call force_fit_type for null pointers. From-SVN: r55272
Jason Merrill committed -
* config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know it is dead. ("*ashrsi3"): Likewise. ("*lshrsi3"): Likewise. From-SVN: r55270
Stephane Carrez committed -
2002-07-05 Vladimir Makarov <vmakarov@redhat.com> * genautomata.c (output_max_insn_queue_index_def): Take latencies into account. From-SVN: r55269
Vladimir Makarov committed -
* config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize address computation and memory moves. From-SVN: r55267
Stephane Carrez committed -
2002-07-04 Tom Tromey <tromey@redhat.com> Jeff Sturm <jsturm@one-point.com> Fix for PR libgcj/7060: * java/lang/Class.h (_getMethod): Renamed from getMethod. * java/lang/natClass.cc (_getMethod): Renamed from getMethod. Recurse into superinterfaces. Don't throw NoSuchMethodException. * java/lang/Class.java (getMethod): New Java implementation; complies with spec. (_getMethod): New native method. Co-Authored-By: Jeff Sturm <jsturm@one-point.com> From-SVN: r55266
Tom Tromey committed -
PR c++/6706 * dwarfout.c (output_reg_number): Fix warning message. (output_bound_representation): Check SAVE_EXPR_RTL is not NULL before using it. PR c++/6706 * g++.dg/debug/debug6.C: New test. * g++.dg/debug/debug7.C: New test. From-SVN: r55264
Mark Mitchell committed -
re PR rtl-optimization/7145 (g++ -O with structure initializer & return value optimization generates bad code) PR optimization/7145 * tree.c (cp_copy_res_decl_for_inlining): Also copy DECL_INITIAL. [[Split portion of a mixed commit.]] From-SVN: r55262.2
Jason Merrill committed -
re PR rtl-optimization/7145 (g++ -O with structure initializer & return value optimization generates bad code) PR optimization/7145 * tree.c (cp_copy_res_decl_for_inlining): Also copy DECL_INITIAL. From-SVN: r55261
Jason Merrill committed -
From-SVN: r55260
Nathan Sidwell committed -
* gcc/gcc.c (asm_debug): Move initialization ... (init_spec): ... here. From-SVN: r55259
Rainer Orth committed -
* c-parse.in (extdef): Append ';'. (old_style_parm_decls): Append ';'. From-SVN: r55258
Nathan Sidwell committed -
* cp-tree.h (import_export_tinfo): Add parameter. * decl2.c (import_export_tinfo): Add parameter, post adjust DECL_COMDAT. * rtti.c (emit_tinfo_decl): DECL_COMDAT is (nearly) always setup by import_export_tinfo. From-SVN: r55257
Nathan Sidwell committed -
From-SVN: r55256
GCC Administrator committed
-
- 04 Jul, 2002 10 commits
-
-
From-SVN: r55250
Steve Ellcey committed -
* configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag to gcc_cv_as_gstabs_flag. * configure: Rebuilt. From-SVN: r55249
Daniel Jacobowitz committed -
From-SVN: r55247
Geoffrey Keating committed -
2002-07-04 Benjamin Kosnik <bkoz@redhat.com> Jack Reeves <jackw_reeves@hotmail.com> * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to size_t, from int_type. (basic_streambuf::_M_buf_size_opt): Same. (basic_streambuf::_S_pback_sizex): Same. * include/bits/streambuf.tcc: Same. * include/std/std_streambuf.h (basic_streambuf::snextc): Use eq_int_type. (basic_streambuf::uflow): Same. * include/bits/sstream.tcc (basic_stringbuf::overflow): Use to_char_type. * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT(). * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use eq_int_type. (basic_streambuf::xsputn): Same. (__copy_streambufs): Same. Co-Authored-By: Jack Reeves <jackw_reeves@hotmail.com> From-SVN: r55242
Benjamin Kosnik committed -
2002-07-03 Benjamin Kosnik <bkoz@redhat.com> * include/std/std_memory.h: Fix formatting. * testsuite/20_util/auto_ptr_neg.cc: New. * testsuite/20_util/auto_ptr.cc: Tweaks. * testsuite/23_containers/map_operators.cc (test01): Split into.. * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New. * testsuite/23_containers/set_operators.cc: Move to... * testsuite/23_containers/set_operators_neg.cc: ...here. * testsuite/README: Add some more naming rules. From-SVN: r55241
Benjamin Kosnik committed -
From-SVN: r55240
GCC Administrator committed -
* sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE. (mshflo_w): Likewise. From-SVN: r55235
J"orn Rennecke committed -
simplify-rtx.c (simplify_subreg): Reduce problem of finding vector mode subregs of constants to finding integer... gcc: * simplify-rtx.c (simplify_subreg): Reduce problem of finding vector mode subregs of constants to finding integer mode subregs of constants. * cse.c (cse_insn): Use simplify_gen_subreg. * convert.c (convert_to_integer): Don't strip a NOP_EXPR From a vector mode expression of different size than the target mode. gcc/testsuite: * gcc.c-torture/compile/simd-3.c: New test. From-SVN: r55234
J"orn Rennecke committed -
2002-07-03 Eric Christopher <echristo@redhat.com> * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC. * config/mips/mips.h: Remove deprecated -m<processor> options and cc1_cpu_spec associated. (CONSTANT_ADDRESS_P): Fix last patch. (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment. * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df, sunge_sf): Remove. From-SVN: r55233
Eric Christopher committed -
2002-07-03 Steev Wilcox <steev@paradigmds.com> PR libstdc++/7057 * include/ext/stl_hashtable.h: Fix. * testsuite/ext/hash_map.cc: New. From-SVN: r55229
Steev Wilcox committed
-
- 03 Jul, 2002 2 commits
-
-
2002-07-03 Chris Demetriou <cgd@broadcom.com> * g++.dg/abi/mangle6.C: Run for mipsisa64*-*-* targets. * gcc.dg/20020620-1.c: Likewise. From-SVN: r55228
Chris Demetriou committed -
From-SVN: r55226
Nathanael Nerode committed
-