- 08 Jun, 2001 12 commits
-
-
* config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling. Don't define _LANGUAGE_C and variants for .cpp/.cp/.c++ files. Move definition of _LANGUAGE_C_PLUS_PLUS ... (CPLUSPLUS_CPP_SPEC): ... here. Fixes PRs c++/3047, target/441. From-SVN: r43007
Rainer Orth committed -
PR c++/3061 * class.c (build_secondary_vtable): Use assert, rather than an error message. (dfs_fixup_binfo_vtbls): BINFO_VTABLE might be NULL. (dfs_accumulate_vtbl_inits): A lost primary virtual base may be between ORIG_BINFO and RTTI_BINFO, but neither of them. Don't set BINFO_VTABLE for a primary virtual base. Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r43006
Nathan Sidwell committed -
From-SVN: r43002
GCC Administrator committed -
From-SVN: r43001
Gerald Pfeifer committed -
* update_web_docs: Only update the install documentation for the CVS HEAD. From-SVN: r43000
Gerald Pfeifer committed -
* libsupc++/eh_alloc.cc: Ensure that required macros are defined before including gthr.h. Ensure that we get the version of gthr.h for which we know how to provide a configuration. * libsupc++/eh_globals.cc: Likewise. And, bring the threading code path into line with the current EH model. Use std, where appropriate. Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca> From-SVN: r42999
Loren J. Rittle committed -
* config/threads-no.h: Remove file. * config/threads-posix.h: Remove file. * acconfig.h (_GLIBCPP_USE_THREADS): Remove. (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h). (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise. * config.h.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to setup and use gthr*.h files. In particular, make gthr.h files namespace-clean in the staging area (they don't have to be for libgcc.a). * aclocal.m4: Regenerate. * configure: Regenerate. * src/Makefile.am (build_headers): Remove bits/c++threads.h and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h. * src/Makefile.in: Regenerate. * include/bits/c++config: Cleanup threading configuration macros. In particular, define __STL_GTHREADS macro which controls... * include/bits/stl_threads.h: ...a brand new gthr.h-based configuration here. * config/c_io_stdio.h: Include staged gthr.h instead of local thread configuration file. Always use __gthread_mutex_t instead of __mutext_type (or int). * include/bits/std_fstream.h: Likewise. * docs/html/17_intro/howto.html: Remove placeholder comment in case this configuration patch didn't make it. Add advice that section only applies if configured with --enable-threads. * docs/html/23_containers/howto.html: Reword to make clear that _PTHREADS is no longer required for any port to be correctly using STL with threads. Add advice that section only applies if configured with --enable-threads. Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca> From-SVN: r42998
Loren J. Rittle committed -
Makefile.in (AS_FOR_TARGET, [...]): If gcc/xgcc is built, use -print-prog-name to find out the program name to use. * Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If gcc/xgcc is built, use -print-prog-name to find out the program name to use. From-SVN: r42996
Alexandre Oliva committed -
From-SVN: r42995
Joseph Myers committed -
* config/darwin.h (ENCODE_SECTION_INFO): Define. (REDO_SECTION_INFO_P): Ditto. (STRIP_NAME_ENCODING): Ditto. (ASM_DECLARE_OBJECT_NAME): Use ENCODE_SECTION_INFO. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Ditto. (ASM_OUTPUT_LABELREF): Use STRIP_NAME_ENCODING. (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Ditto. * config/darwin.c: No longer include c-tree.h. (machopic_classify_ident): Rewrite to use symbol encoding. (lookup_name_darwin): Remove. (machopic_non_lazy_ptr_name): Handle encoded symbols. (machopic_stub_name): Use STRIP_NAME_ENCODING. (machopic_validate_stub_or_non_lazy_ptr): Ditto. (machopic_finish): Ditto, remove test of decl. (update_non_lazy_ptrs): New function. (darwin_encode_section_info): New function. * config/darwin-protos.h: Declare it. * config/rs6000/rs6000.c (machopic_output_stub): Use STRIP_NAME_ENCODING. From-SVN: r42994
Stan Shebs committed -
* tree.h (DECL_SOURCE_FILE): Improve documentation. (DECL_SOURCE_LINE): Likewise. * decl.c (duplicate_decls): Update source position information when a template function is defined. From-SVN: r42993
Mark Mitchell committed -
* config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition from config/elfos.h. From-SVN: r42991
Loren J. Rittle committed
-
- 07 Jun, 2001 20 commits
-
-
2001-06-07 Phil Edwards <pme@sources.redhat.com> * cp/lang-specs.h: Move -D_GNU_SOURCE to config/linux.h. * config/linux.h (CPLUSPLUS_CPP_SPEC): Move -D_GNU_SOURCE to here. * config/pa/pa-linux.h: Allow CPLUSPLUS_CPP_SPEC to remain. From-SVN: r42989
Phil Edwards committed -
From-SVN: r42987
Joseph Myers committed -
From-SVN: r42985
Joseph Myers committed -
* config.gcc: For $target_alias of athlon-*, set target_cpu_default2=5. From-SVN: r42984
Joseph Myers committed -
From-SVN: r42981
DJ Delorie committed -
* global.c (build_insn_chain): Allow ADDR_VEC or ADDR_DIF_VEC after end of last block if last real insn is a JUMP_INSN. From-SVN: r42977
Richard Kenner committed -
contrib: * gennews: Update for GCC 3.0. gcc: * NEWS: Regenerate. From-SVN: r42975
Joseph Myers committed -
* gthr-posix.h (__gthread_objc_thread_detach): Simply cast pthread_t to objc_thread_t. (__gthread_objc_thread_id): Likewise. From-SVN: r42974
Rainer Orth committed -
* alpha/osf5.h (CPP_XFLOAT_SPEC): Override default definition. (ASM_OLDAS_SPEC): Likewise. * alpha/osf.h (CPP_XFLOAT_SPEC): Define. (CPP_SUBTARGET_SPEC): Use it. (ASM_OLDAS_SPEC): Define. (ASM_SPEC): Use it. (SUBTARGET_EXTRA_SPECS): Define, declare the new specs above. From-SVN: r42971
Rainer Orth committed -
* config/alpha/alpha.c (alpha_va_arg): Handle TFmode, TCmode args, passed by reference. From-SVN: r42969
Rainer Orth committed -
* doc/tm.texi (TARGET_SWITCHES, TARGET_OPTIONS): Adjust markup. Document use of N_(...), and show it in examples. Note that documentation should be added to invoke.texi. Avoid an overfull hbox. From-SVN: r42965
Joseph Myers committed -
cp: PR c++/2914 * decl.c (pushtag): Don't push into a complete type's scope. testsuite: * g++.old-deja/g++.ext/anon3.C: New test. From-SVN: r42962
Nathan Sidwell committed -
* toplev.c (rest_of_compilation): Revert previous patch. * final.c (shorten_branches): Likewise. From-SVN: r42961
Jan Hubicka committed -
* pself.c, pself1.c, pself2.c, pself3.c, pself4.c, pself5.c: Remove. From-SVN: r42959
Gerald Pfeifer committed -
From-SVN: r42957
Joseph Myers committed -
* expr.c (copy_blkmode_from_reg): Fix operand_subword_force call. Thu Jun 7 12:12:58 CEST 2001 Jan Hubicka <jh@suse.cz> * toplev.c (rest_of_compilation): Call split_all_insns before reg-stack and shorten-branches. Do shorten-branches after reg-stack. * final.c (shorten_branches): Remove insn splitting code. From-SVN: r42956
Jan Hubicka committed -
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support. * configure: Rebuilt. From-SVN: r42955
Nathan Sidwell committed -
From-SVN: r42953
Andreas Jaeger committed -
* update_web_docs, doc_exclude: Check out files that may be in the Attic. Check out texinfo.tex. Don't generate anything from c-tree.texi. Generate PostScript output from manuals. From-SVN: r42952
Joseph Myers committed -
From-SVN: r42950
GCC Administrator committed
-
- 06 Jun, 2001 8 commits
-
-
* cp-tree.h (THUNK_GENERATE_WITH_VTABLE_P): Lose. (struct lang_decl_flags): Lose generate_with_vtable_p. (BV_GENERATE_THUNK_WITH_VTABLE_P): Lose. * class.c (copy_virtuals): Adjust. * decl2.c (mark_vtable_entries): Adjust. * method.c (make_thunk, build_vtable_entry): Adjust. * class.c (update_vtable_entry_for_fn): Only look as far as the first defining class. (build_vtbl_initializer): Put nothing in the slot for a function only defined in a lost primary virtual base. (add_vcall_offset_vtbl_entries_1): Use the same code for the lost primary case and the normal case. (dfs_unshared_virtual_bases): Don't lose a non-virtual primary base. (get_vfield_offset, get_derived_offset): Lose. (dfs_find_final_overrider): Use look_for_overrides_here. (get_matching_virtual): New fn. * semantics.c (emit_associated_thunks): Check BV_USE_VCALL_INDEX_P, not BV_VCALL_INDEX. * search.c (look_for_overrides_here): Split out from... (look_for_overrides_r): Here. * class.c (find_final_overrider): Return error_mark_node on error. From-SVN: r42949
Jason Merrill committed -
* call.c (convert_default_arg): Use INTEGRAL_TYPE_P. (build_over_call): Likewise. * decl.c (grokparms): Likewise. * pt.c (tsubst_decl): Likewise. * typeck.c (convert_arguments): Likewise. From-SVN: r42947
John David Anglin committed -
* i386.md (floatdi?f): Avoid usinf of SSE instructions if TARGET_64BIT is false. (floatdi?f_i386_only): New insn. (floatdi?f_i386): Disable for !TARGET_64BIT. * (min?f, max?f splitters): Handle case where operands are cross-matched. * i386.h (HI_REGISTER_NAMES): Remove redundant definition (MMX_REGISTER_NAMES): Kill. (PRINT_OPERAND): Fix comment. (PRINT_REG): Likewise. * i386.c (print_reg): Kill support for 'm' CODE; simplify. (print_operand): Update comment; kill 'm'. * i386.c (x86_branch_hints): New global variable (print_operand): Support outputting of branch prediction hints. * i386.md (conditional jump patterns): Add branch prediction hints to the template. * i386.h (x86_branch_hints): Declare (TARGET_BRANCH_PREDICTION_HINTS): New macro. (PRINT_OPERAND_FUNCT_VALID_P): New. * final.c (final_forward_branch_p): New function. From-SVN: r42945
Jan Hubicka committed -
2001-06-06 Benjamin Kosnik <bkoz@redhat.com> * src/string-inst.cc (_Rep::_S_max_size): Add instantiation. From-SVN: r42943
Benjamin Kosnik committed -
* flow.c (mark_used_reg): Clean up looping over multiple hard registers. Do conditional life bits across multiple hard regs. From-SVN: r42942
Richard Henderson committed -
From-SVN: r42939
GCC Administrator committed -
From-SVN: r42937
Mark Mitchell committed -
2001-06-05 Jeffrey D. Oldham <oldham@codesourcery.com> * reload1.c (reload): Revert Schmidt's change so all USEs are not deleted during reload. From-SVN: r42935
Jeffrey D. Oldham committed
-