- 28 Nov, 2000 10 commits
-
-
cp: * parse.y (base_class.1): Produce a _TYPE not a _DECL. * semantics.c (finish_base_specifier): Accept a _TYPE not a _DECL. testsuite: * g++.old-deja/g++.other/base1.C: New test. From-SVN: r37817
Nathan Sidwell committed -
cp: * spew.c (yyerror): Cope if yylval.ttype is NULL. testsuite: * g++.old-deja/g++.other/parse2.C: New test. From-SVN: r37816
Nathan Sidwell committed -
cp: * decl.c (grokdeclarator): Diagnose undefined template contexts. testsuite: * g++.old-deja/g++.pt/incomplete1.C: New test. From-SVN: r37815
Nathan Sidwell committed -
cp: * decl.c (grokdeclarator): Do type access control on friend class. testsuite: * g++.old-deja/g++.other/friend9.C: New test. From-SVN: r37814
Nathan Sidwell committed -
2000-11-27 Benjamin Kosnik <bkoz@redhat.com> * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS. * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting. * testsuite/27_io/istream_extractor_arith.cc (test11): New testcase, based on libstdc++/90. From-SVN: r37813
Benjamin Kosnik committed -
* config/i386/i386.md (truncxfsf2_2): Fix predicate. * gcc.dg/20001127-1.c: New test. From-SVN: r37812
Jakub Jelinek committed -
From-SVN: r37811
Jeff Law committed -
2000-11-28 Bryce McKinlay <bryce@abatross.co.nz> * java/io/DataInputStream.java: Merge classpath docs. Call in.read() directly rather than read() in all cases. Make primitive read implementations more efficient, as defined in JDK online docs. (skipBytes): Behave like the JDK's implementation. * java/io/BufferedReader.java: Merge classpath docs. Check for a closed stream with checkStatus() whenever an IOException can be thrown. (checkStatus): New private method. From-SVN: r37810
Bryce McKinlay committed -
* reload1.c (reload): Use HOST_WIDE_INT for old_frame_size. From-SVN: r37809
Jim Wilson committed -
* Makefile.am: Added natTimeZone.cc. * Makefile.in: Rebuilt. * gnu/gcj/text/LocaleData_en.java: Added DateFormat entries. * java/text/DateFormatSymbols.java (ampms): Made package private. (eras): Made package private. (months): Made package private. (shortMonths): Made package private. (shortWeekdays): Made package private. (weekdays): Made package private. (formatPrefixes): New private field. (localPatternCharsDefault): Made private. (dateFormats): New package private field. (timeFormats): New package private field. (formatsForKey): New private method. (DateFormatSymbols(Locale)): Set dateFormats and timeFormats. (DateFormatSymbols(DateFormatSymbols)): Ditto. * java/text/SimpleDateFormat.java: Merged with Classpath. * java/util/TimeZone.java: Merged with Classpath. * java/util/natTimeZone.cc: New file. From-SVN: r37808
Warren Levy committed
-
- 27 Nov, 2000 30 commits
-
-
From-SVN: r37807
Matthias Klose committed -
From-SVN: r37806
Mark Mitchell committed -
2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add __volatile__ to asm. (__atomic_add): Likewise. (__compare_and_swap): Likewise. (__always_swap): Likewise. (__test_and_set): Likewise. From-SVN: r37805
Franz Sirl committed -
* cppinit.c (cpp_reader_init): Remove handling of warn_paste command line options. (cpp_handle_option): Similarly. * cpplib.h (struct cpp_options): Remove warn_paste. * cppmacro.c (paste_tokens): Apart from assembler, make unpasteable token warning mandatory. From-SVN: r37804
Neil Booth committed -
* tradcpp.c (enum pending_dir_t, struct pending_dir): New. (main): Allocate a pending directive set of these. Use it. Merge handling of -D and -U. Update handling of pending directives. Free the memory after use. From-SVN: r37803
Neil Booth committed -
2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE' with 'inline'. (__ex__atomic_add): Add __volatile__ to asm. (__atomic_add): Likewise. (__compare_and_swap): Likewise. (__always_swap): Likewise. (__test_and_set): Likewise. From-SVN: r37802
Franz Sirl committed -
While building global lifetime information, keep track of which registers are only conditionally set. While building global lifetime information, keep track of which registers are only conditionally set. Use this to force rescans in more cases where they are needed. From-SVN: r37801
Bernd Schmidt committed -
* gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber T register. From-SVN: r37800
Kaz Kojima committed -
* arm.c (select_dominance_cc_mode): Handle new way that combine canonicalizes conditional compares. (arm_select_cc_mode): Likewise. * arm.md: Garbage collect some dead code. (cmp_and, cmp_ior): New patterns. (splitter for conditional move with inverted false): Use cond_exec and handle unordered comparisons. From-SVN: r37799
Richard Earnshaw committed -
From-SVN: r37798
Richard Earnshaw committed -
* i386.c (ix86_force_to_memory, ix86_free_from_memory): New. * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare * i386.md (float?i?f, int/fp operations): Rewrite spliters to use ix86_force_to_memory and ix86_free_from_memory. From-SVN: r37797
Jan Hubicka committed -
* arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3, arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3, one_cmpldi2): Merge with splitters to create define_insn_and_split patterns. Remove redundant splits. (peephole2 for add:SI of invalid immediate): New. (peephole2 for minus:SI of invalid immediate): New. (peephole2 for ior:SI of invalid immediate): New. (peephole for merge of move and compare): Convert ot peephole2. (addsf3, adddf3): Mark as commutative. * arm.md (thumb peephole for merging stack adjustments): Convert to peephole2. From-SVN: r37796
Richard Earnshaw committed -
From-SVN: r37795
Bernd Schmidt committed -
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
-