- 09 Jul, 2002 14 commits
-
-
* cp-demangle.c (demangle_identifier): Support extended Unicode characters. From-SVN: r55354
Jason Merrill committed -
PR c++/6255 * decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than modifying the old one. From-SVN: r55352
Jason Merrill committed -
* cp-tree.h (constructor_name_p): Declare it. (check_template_template_default_arg): Likewise. * class.c (handle_using_decl): Use constructor_name_p. * decl.c (grokdeclarator): Likewise. * decl2.c (constructor_name_p): Define it. * init.c (build_member_call): Use constructor_name_p. * parse.y (template_parm): Use check_template_template_default_arg. * pt.c (check_explicit_specialization): Use constructor_name_p. * semantics.c (check_template_template_default_arg): New function. From-SVN: r55350
Mark Mitchell committed -
From-SVN: r55349
Aldy Hernandez committed -
2002-07-09 Devang Patel <dpatel@apple.com> * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch. Do not allow ObjC objects as a parameter type for Objective-C methods. My previous patch restricted 'struct' also. From-SVN: r55348
Devang Patel committed -
* cpperror.c (cpp_error): Default to directive_line within directives here. * cppexp.c (cpp_interpret_integer): Only use traditional number semantics in directives. * cpplib.c (prepare_directive_trad): Don't reset pfile->line. (do_include_common): Similarly. * cpptrad.c (scan_out_logical_line): Implement accurate quoting of <> in #include. * doc/cpp.texi: Update. From-SVN: r55347
Neil Booth committed -
Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com> J"orn Rennecke <joern.rennecke@superh.com> * sh.c (sh_adjust_cost): Special handling of SHMEDIA code. * sh.md (attribute issues): Replace with: (attribute pipe_model). All users changed. (attribute type): Change pt / ptabs to pt_media / ptabs_media. All users changed. (function units sh5issue, sh5fds): New. (attribute is_mac_media): New. (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type. (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise. (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise. (movhi_media, shori_media, movv2sf_i, jump_media): Likewise. (call_media, call_value_media, sibcall_media): Likewise. (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise. (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise. (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise. (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise. (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise. (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise. (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise. (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise. (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise. (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise. (truncdfsf2_media): Likewise. (movsi_media, movsi_media_nofpu, movdi_media): Use new types. (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise. Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com> From-SVN: r55346
Stephen Clarke committed -
* sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand. * sh.c (general_extend_operand, inqhi_operand): New functions. * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse alternatives using 'N' modifier. Add type. (adddi3z_media): Likewise. Enable generator function generation. (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more exact predicates / constraints. Add type. (subsi3): Allow 0 for SHMEDIA. (udivsi3_i4_media): Use match_operand for input values rather than hard registers. (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values unnecessarily through hard registers. Keep copies of pseudo registers outside of the libcall sequence. (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type. (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise. (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise. (extendhidi2, extendqidi2): Likewise. (andsi3_compact): Name. (andcdi3): Enable generator function generation. (zero_extendhisi2, zero_extendqisi2): Rename to (zero_extendhisi2_compact, zero_extendqisi2_compact). (extendhisi2, extendqisi2): Rename to (extendhisi2_compact, extendqisi2_compact). (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns. (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise. (zero_extendhisi2_media+1, zero_extendqisi2): Likewise. (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise. (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise. (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise. (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise. (shmedia32_initialize_trampoline_big): Likewise. (shmedia32_initialize_trampoline_little): Likewise. (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise. (negdi2): Remove spurious T clobber. (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE. (movsi_media, movsi_media_nofpu): Remove spurious *k after b. (movdi_media, movdi_media_nofpu, pt, ptb): Likewise. (movsi_media_nofpu+2, movhi_media+1): Only do split after reload. (ic_invalidate_line_media): Write back data cache before invalidating instruction cache. Add type. (movsf_media): Sign-extend when the destination is a general purpose register. Add type. (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0. (casesi_worker_0+1): Only increment ref count for proper label. (casesi_worker_0+2): Likewise. From-SVN: r55345
J"orn Rennecke committed -
From-SVN: r55344
Tim Josling committed -
From-SVN: r55343
Diego Novillo committed -
From-SVN: r55342
Mark Mitchell committed -
* gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer from Pmode to ptr_mode. (get_exception_pointer): Ditto. (connect_post_landing_pads): Ditto. (dw2_build_landing_pads): Ditto. From-SVN: r55341
Steve Ellcey committed -
From-SVN: r55340
GCC Administrator committed -
* cp-demangle.c (demangle_v3_with_details): Wrap in !defined IN_GLIBCPP_V3. From-SVN: r55335
Kaveh R. Ghazi committed
-
- 08 Jul, 2002 14 commits
-
-
* configure.in: Don't build grez. * Makefile.in: Ditto. From-SVN: r55334
Nathanael Nerode committed -
* mauve-libgcj: Don't compile java.sql.Blob.BlobTest, java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20, java.sql.DatabaseMetaData.TestJdbc20 From-SVN: r55333
Mark Wielaard committed -
* Makefile.in: Remove references to bsp, cygmon, libstub. * configure.in: Ditto. * configure.in: Remove leftover reference to gdbtest. From-SVN: r55332
Nathanael Nerode committed -
2002-07-08 Eric Christopher <echristo@redhat.com> * configure.target: Fix comment for mips atomicity. Add mips*-*-linux* target, enable atomic operations there. * config/cpu/mips/atomicity.h: Fix comments, remove #ifndef/#endif. Add push/pop mips2. From-SVN: r55331
Eric Christopher committed -
* gcc/c-pragma.h (add_to_renaming_pragma_list): New function. * gcc/c-pragma.c (add_to_renaming_pragma_list): New function. (handle_pragma_redefine_extname): Change to use new function. From-SVN: r55330
Steve Ellcey committed -
* combine.c (combine_simplify_rtx): Add an explicit cast to avoid signed/unsigned comparison warning. (simplify_if_then_else): Likewise. (extended_count): Likewise. (simplify_shift_const): Likewise. (simplify_comparison): Likewise. From-SVN: r55329
Roger Sayle committed -
* pt.c (can_complete_type_without_circularity): Add static to function definition. From-SVN: r55326
Kriang Lerdsuwanakij committed -
stl_deque.h (_Deque_alloc_base): Change order of member declarations to avoid compiler warnings and restore 3.1 ABI. 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * include/bits/stl_deque.h (_Deque_alloc_base): Change order of member declarations to avoid compiler warnings and restore 3.1 ABI. From-SVN: r55325
Peter Schmid committed -
configure.in (gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs... 2002-07-08 Phil Edwards <pme@gcc.gnu.org> * configure.in (gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs is used. From-SVN: r55323
Phil Edwards committed -
2002-07-08 Phil Edwards <pme@gcc.gnu.org> * docs/html/23_containers/howto.html: Link to dk_std::vector paper and homepage. From-SVN: r55322
Phil Edwards committed -
* config/mips/mips.md: Add imadd type. Update scheduler description to use imadd as well as imul. (*mul_acc_si, *madsi): Change imul alternatives to imadd. (*mul_acc_di, *mul_acc_64bit_di): Likewise. (*mul_sub_si): Likewise for first alternative. Change second alternative from imul to multi. From-SVN: r55321
Richard Sandiford committed -
* cp-tree.h (have_extern_spec): Declare it * decl.c (have_extern_spec): Define it. (start_decl): Eliminate use of used_extern_spec. (start_function): Likewise. * parse.y (have_extern_spec): Remove declaration. (used_extern_spec): Likewise. (frob_specs): Eliminate use of used_extern_spec. (.hush_warning): Likewise. From-SVN: r55319
Mark Mitchell committed -
From-SVN: r55318
GCC Administrator committed -
* Make-lang.in (cp/parse.o): Depend on decl.h. * cp-tree.h (do_decl_instantiation): Change prototype. * parse.y: Include decl.h. (parse_decl_instantiation): New function. (explicit_instantiation): Use it. * pt.c (do_decl_instantiation): Accept a DECL, not a DECLARATOR and DECLSPECS. From-SVN: r55309
Mark Mitchell committed
-
- 07 Jul, 2002 6 commits
-
-
* c-common.c (c_common_post_options): Update prototype; don't init backends if preprocessing only. * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update. * langhooks.h (struct lang_hooks): Update post_options to return a boolean. * toplev.c (parse_options_and_default_flags, do_compile, lang_independent_init): Update prototypes. Allow the front end to specify that there is no need to initialize the back end. (general_init): Move call to hex_init here... (toplev_main): ...from here. Pass flag for back end init suppression. java: * lang.c (java_post_options): Update prototype. From-SVN: r55306
Neil Booth committed -
* 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 6 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
-