- 27 Nov, 2000 27 commits
-
-
From-SVN: r37794
Bernd Schmidt committed -
cp: * decl.c (grokfndecl): Undo COMPONENT_REF damage caused by bison parser ickiness. * pt.c (tsubst_friend_function): Enter namespace scope when tsubsting the function name. * cp-tree.h (DECL_TI_TEMPLATE): Update comment to reflect reality. testsuite: * g++.old-deja/g++.other/friend46.C: New test. From-SVN: r37793
Nathan Sidwell committed -
From-SVN: r37792
Bernd Schmidt committed -
cp: * cp-tree.h (binfo_from_vbase): Return the virtual base's binfo. * cvt.c (cp_convert_to_pointer): Add force parameter. Allow conversions via virtual base if forced. (convert_to_pointer_force): Adjust call to cp_convert_to_pointer. (ocp_convert): Likewise. * search.c (binfo_from_vbase): Return the virtual base's binfo. * typeck.c (get_delta_difference): Adjust handling of virtual bases. testsuite: * g++.old-deja/g++.other/ptrmem8.C: New test. From-SVN: r37791
Nathan Sidwell committed -
* configure.in (extra_objs): Enclose extra_headers in quotes. * configure: Rebuilt. From-SVN: r37790
Alexandre Oliva committed -
2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com> * tests_flags.in: Update documentation to reflect the change below. From-SVN: r37789
Gabriel Dos Reis committed -
From-SVN: r37788
Anthony Green committed -
From-SVN: r37787
Jeff Law committed -
From-SVN: r37786
Anthony Green committed -
2000-11-27 Bryce McKinlay <bryce@albatross.co.nz> * java/util/Vector.java (ensureCapacity): Don't increment modCount. (addElement): Don't increment elementCount twice. Doh. * java/util/ArrayList.java (add): Only call ensureCapacity if the array needs to be expanded. (addAll): Ditto. * java/util/Collections.java (UnmodifiableCollection): Implement toString(). (UnmodifiableList): Throw UnsupportedOperationException from modification methods. Set `l' from the one-parameter constructor. (UnmodifiableMap): Implement toString(). (SynchronizedCollection): Ditto. (SynchronizedList): Set `l' from the one-parameter constructor. (SynchronizedSortedSet): Set `ss' from the one-parameter constructor. (SynchronizedMap): Implement toString(). From-SVN: r37785
Bryce McKinlay committed -
* c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file): Combine into the new function cb_change_file. (init_c_lex): Update. * cppfiles.c (stack_include_file): Use _cpp_do_file_change. (cpp_syshdr_flags): Delete. * cpphash.h (_cpp_do_file_change): New prototype. Move struct cpp_buffer here from... * cpplib.h (struct cpp_buffer): ... here. (enum cpp_fc_reason, struct cpp_file_loc, struct_cpp_file_change, change_file): New. (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete. * cpplib.c (do_line): Update for new cb_change_file callback. (_cpp_do_file_change): New function. (_cpp_pop_buffer): Update to use it. * cppmain.c (move_printer): Delete. (main): Set up single callback cb_change_file. (cb_enter_file, cb_leave_file, cb_rename_file): Delete. (cb_change_file): New. * fix-header.c (cur_file, cb_change_file): New. (recognized_function, read_scan_file): Update. * scan-decls.c (scan_decls): Update. * scan.h (recognized_function): Update prototype. From-SVN: r37784
Neil Booth committed -
* tree.h (mark_tree_hashtable): New function. * tree.c (mark_tree_hashtable_entry): New function. (mark_tree_hashtable): Likewise. * tree.c (struct list_hash): Remove. (list_hash_table): Make it be an htab. (struct list_proxy): New type. (list_hash_eq): New function. (list_hash_pieces): Renamed from ... (list_hash): ... this. (list_hash_lookup): Remove. (list_hash_add): Remove. (hash_tree_cons): Use the generic hashtable. (mark_list_hash): Remove. (init_tree): Create the hashtable. From-SVN: r37783
Mark Mitchell committed -
From-SVN: r37782
Anthony Green committed -
Fix rename registers problem; Rewrite 64-bit conditionals in terms of COND_EXEC instead of IF_THEN_ELSE From-SVN: r37781
Michael Meissner committed -
2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com> * tests_flags.in: Export CXX, CXXFLAGS. * mkcheck.in: Grab them. 2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com> Benjamin Kosnik <bkoz@redhat.com> * mkcheck.in: Add exe extension to printnow executable, abstract out call to this with TIMER_COMMAND. * configure.target (l_glibcpp_cxxflags): Add cygwin support. * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r37780
Benjamin Kosnik committed -
From-SVN: r37779
Anthony Green committed -
testsuite: * gcc.c-torture/execute/string-opt-7.c: New test. * gcc.c-torture/execute/string-opt-8.c: Likewise. From-SVN: r37778
Kaveh Ghazi committed -
* builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New functions. (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP. * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries. * c-common.c (c_common_nodes_and_builtins): Declare builtin strncpy and strncmp. * extend.texi (strncmp, strncpy): Document new builtins. testsuite: * gcc.c-torture/execute/string-opt-7.c: New test. * gcc.c-torture/execute/string-opt-8.c: Likewise. From-SVN: r37777
Kaveh R. Ghazi committed -
* config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not a list, to keep track of the sections. * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the parameter provided will always be a canonical string. From-SVN: r37776
Mark Mitchell committed -
* hashtab.c (higher_prime_number): Use a table, rather than a seive, to find the next prime. From-SVN: r37775
Mark Mitchell committed -
From-SVN: r37774
Tom Tromey committed -
From-SVN: r37773
Bryce McKinlay committed -
* Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added RuntimePermission.java. * java/lang/RuntimePermission.java: Imported from Classpath. * java/lang/Thread.java (getContextClassLoader): Now synchronized. Added security code. (setContextClassLoader): Likewise. From-SVN: r37772
Tom Tromey committed -
* prims.cc (_Jv_NewObjectArray): Use const_cast to initialize length field of array. (_Jv_NewPrimArray): Likewise. * gcj/array.h (__JArray): `length' field now const. Added constructor. From-SVN: r37771
Tom Tromey committed -
From-SVN: r37770
Anthony Green committed -
2000-11-26 Benjamin Kosnik <bkoz@redhat.com> * testsuite/27_io/istream_unformatted.cc (test05): Fixup. From-SVN: r37769
Benjamin Kosnik committed -
2000-11-26 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Only sanity check for compiler version when configuring. More fixes for 'make clean'. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r37768
Benjamin Kosnik committed
-
- 26 Nov, 2000 13 commits
-
-
From-SVN: r37767
Tom Tromey committed -
* RELEASE-PREP: Remove obsolete EGCS reference. * g77.texi: Adjust reference to EGCS as something current. * lang-options.h (FTNOPT): Remove macro and obsolete comment. Include doc strings directly in option listing instead of through this macro. * root.texi: Remove support for multiple different (FSF and EGCS) distributions of g77. * g77install.texi: Remove conditioned out instructions applying only to obsolete distributions of g77 not as part of GCC. Change "superceded" to the correct spelling "superseded". From-SVN: r37766
Joseph Myers committed -
f: * g77spec.c (lang_specific_driver): Update copyright year to 2000. java: * gjavah.c (version), jcf-dump.c (version), jv-scan.c (version): Update copyright year to 2000. From-SVN: r37765
Joseph Myers committed -
* cppmacro.c (cpp_scan_buffer_nooutput): Only scan the current buffer. From-SVN: r37764
Neil Booth committed -
From-SVN: r37763
Joseph Myers committed -
* dwarf2out.c (output_file_names): New function. Compute minimal combination of directory and file name table and emit them. (output_line_info): Remove code to emit directory and file name table and call output_file_names instead. (file_info_cmp): Helper function to sort directory names. From-SVN: r37762
Ulrich Drepper committed -
* cpplib.h (struct cpp_reader): Remove lang_asm. (struct cpp_options): Remove c89. New members lang, extended_numbers. * cppexp.c (parse_number): Use them. * cpphash.h (VALID_SIGN): Use them. * cppinit.c (set_lang, cpp_start_read): Update. * cpplex.c (parse_string, _cpp_lex_token): Update. * cpplib.c (_cpp_handle_directive): Update. * cppmacro.c (parse_args): Update. * cppmain.c (scan_buffer): Update. From-SVN: r37761
Neil Booth committed -
From-SVN: r37760
Neil Booth committed -
2000-11-26 Toon Moene <toon@moene.indiv.nluug.nl> * libI77/Version.c, libF77/Version.c, libU77/Version.c: Designate version as (experimental) instead of (prerelease) From-SVN: r37759
Toon Moene committed -
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c * libmath/Makefile.in: Regenerate. * libmath/cabs.c: Remove. * libmath/cabsf.c: Likewise. * libmath/cabsl.c: Likewise. * libmath/complex-stub.h: Remove declarations for cabs*. * acinclude.m4: Remove check for cabs*. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. From-SVN: r37758
Gabriel Dos Reis committed -
* fold-const.c (fold, case CONVERT_EXPR): Always return tree of proper type. From-SVN: r37757
Richard Kenner committed -
libstdc++-v3: * tests_flags.in: New file. Split out of ... * mkcheck.in: ... this. Move flags computation into tests_flags.in. * configure.in: Add support for tests_flags. * confiigure: Regenerate. gcc/testsuite: * lib/g++.exp (g++_include_flags): Invoke 'tests_flags --compiler' instead of 'mkcheck 2'. From-SVN: r37756
Gabriel Dos Reis committed -
From-SVN: r37755
Neil Booth committed
-