- 07 Dec, 2000 19 commits
-
-
* pt.c (verify_class_unification): New function. (get_class_bindings): Use it. (try_class_unification): Tidy. (unify): Handle when argument of a template-id is not template parameter dependent. (template_args_equal): Handle when TREE_CODE's do not match. * g++.old-deja/g++.oliva/partspec1.C: Remove XFAIL. * g++.old-deja/g++.pt/partial4.C: New test. From-SVN: r38102
Kriang Lerdsuwanakij committed -
* c-common.c (parse_in): Make a cpp_reader *. * cppfiles.c (_cpp_fake_include): Remove. * cpphash.h: Similarly. * cpplib.c (do_line): Don't call _cpp_fake_include. A valid #line always creates a callback; FC_RENAME if there are no #line flags. * fix-header.c (read_scan_file): cpp_push_buffer cannot fail. The first EOF must be our get_char buffer. From-SVN: r38101
Neil Booth committed -
locale_facets.h (ctype): Remove _Ctype_nois and _Ctype and replace with common __ctype_abstract_base. 2000-12-06 Benjamin Kosnik <bkoz@kredhat.com> * include/bits/locale_facets.h (ctype): Remove _Ctype_nois and _Ctype and replace with common __ctype_abstract_base. (ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc. * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype): And here. * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same. * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same. * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same. * config/os/newlib/bits/ctype_noninline.h (ctype): Same. * config/os/irix/bits/ctype_noninline.h (ctype): Same. * config/os/hpux/bits/ctype_noninline.h (ctype): Same. * config/os/generic/bits/ctype_noninline.h (ctype): Same. * config/os/aix/bits/ctype_noninline.h (ctype): Same. * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same. * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same. * src/locale-inst.cc: Clean instantiations. * src/locale.cc (ctype<char>): Add definitions here. (ctype<wchar_t>::_M_wmask): Move definitions here. * config/os/generic/bits/ctype_inline.h (ctype<char>::is): Implement in a generic way, with only "C" functionality and no knowlege of the target os. * config/os/generic/bits/os_defines.h: Change comments to C++ style. * testsuite/22_locale/ctype_char_members.cc (test01): Add tests. * include/bits/codecvt.h (ctype_byname): Remove specializations, as not required. * include/bits/localefwd.h (codecvt_byname): And here. * src/codecvt.cc: Remove codecvt_byname specializations. * include/c/bits/std_cstdio.h: Include c++config.h. From-SVN: r38100
Benjamin Kosnik committed -
From-SVN: r38095
Kazu Hirata committed -
* config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*, h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets. * config.gcc (*-rtems*): Add support for gthr-rtems.h. * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, config/mips/rtems.h: New files. From-SVN: r38094
Joel Sherrill committed -
* config.gcc: Reorganize handling of *-*-gnu*, to share target specific make details with Linux. Update comments to clarify the distinction between GNU/Linux and GNU/Hurd. From-SVN: r38093
Mark Kettenis committed -
* c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX. * collect2.c (scan_libraries): Remove unused `ch'. (COFF specific stuff): Prototype ldgetname. Declare and prototype ldbtread and ldclose. From-SVN: r38092
Rodney Brown committed -
* contrib.texi: Fix my email address. Update Per's list of contributions. From-SVN: r38091
Jeffrey A Law committed -
From-SVN: r38090
J. David Anglin committed -
From-SVN: r38089
Jeff Law committed -
* config/alpha/osf.h: Standarize copyright statement. * config/arc/arc.h: Likewise. * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise. * config/arm/arm.c config/arm/arm.h: Likewise. * config/elxsi/elxsi.h: Likewise. * config/i386/sco.h: Likewise. * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise. * config/m68k/m68kv4.h config/m68k/next21.h: Likewise. * config/m68k/sun3.h: Likewise. * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise. * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise. * config/romp/romp.h: Likewise. * config/rs6000/aix41.h: Likewise. * config/sparc/sysv4.h: Likewise. * config/we32k/we32k.c config/we32k/we32k.h: Likewise. * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise. * cpplib.h cppexp.c cselib.h profile.c: Likewise. * longlong.h: Likewise. * libgcc2.c: Likewise. From-SVN: r38088
Rodney Brown committed -
* actions.h: Standarize copyright statement. * except.c inout.c lang.c lex.c lex.h loop.c nloop.c: Likewise. * parse.c tasking.c tasking.h timing.c xtypeck.c: Likewise. From-SVN: r38087
Rodney Brown committed -
From-SVN: r38086
Rodney Brown committed -
* machmode.def: Use correct definition for BITSIZE on targets where BITS_PER_UNIT != 8. From-SVN: r38085
Jeff Law committed -
From-SVN: r38084
Ralf Corsepius committed -
From-SVN: r38083
Bruce Korb committed -
* pa.c: Include expr.h before c-tree.h. (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered instead of reverse_condition. (print_operand): Correct predicates for GT, GE, LT and LE. Add predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and ORDERED. (cmpib_comparison_operator): Add GEU and LTU codes. * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator. * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered, bordered): New float conditional branch patterns. From-SVN: r38082
J. David Anglin committed -
* java/awt/GridBagConstraints.java: Filled in values for static final fields. From-SVN: r38081
Tom Tromey committed -
From-SVN: r38080
J"orn Rennecke committed
-
- 06 Dec, 2000 21 commits
-
-
2000-12-06 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test whether the cached result is present. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * libio/Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. From-SVN: r38079
Phil Edwards committed -
From-SVN: r38078
Tom Tromey committed -
From-SVN: r38077
Tom Tromey committed -
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new file. * java/awt/GridBagConstraints.java: New file. From-SVN: r38076
Tom Tromey committed -
* java/text/Collator.java (decomposeCharacter, decmp, strength): Now package-private, not protected. * java/text/DateFormatSymbols.java (equals): Now private. * java/text/DecimalFormatSymbols.java (safeGetChar): Now private. * java/util/BitSet.java: Class no longer final. * java/util/Set.java (toArray(Object[])): New method. From-SVN: r38075
Tom Tromey committed -
* configure.target (*-*-freebsd, *-*-netbsd): Correct paths to os_include_dir. From-SVN: r38074
Richard Earnshaw committed -
From-SVN: r38073
Neil Booth committed -
cpplex.c (skip_escaped_newlines): Don't warn for spaces between backslash and newline, when inside a comment. * cpplex.c (skip_escaped_newlines): Don't warn for spaces between backslash and newline, when inside a comment. From-SVN: r38072
Sylvain Pion committed -
2000-12-06 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (end_artificial_method_body): Fixed typo. (http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00320.html) From-SVN: r38071
Alexandre Petit-Bianco committed -
2000-10-18 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-write.c (OP1): Update `last_bc'. (struct jcf_block): Fixed indentation and typo in comments. New field `last_bc'. (generate_bytecode_insns): Insert `nop' if `jsr' immediately follows `monitorenter'. * parse.y (patch_synchronized_statement): New local `tmp'. Call `patch_string'. Fixes gcj/232. 2000-10-13 Alexandre Petit-Bianco <apbianco@cygnus.com> * check-init.c (check_init): Fixed leading comment. Use LOCAL_FINAL_P. * decl.c (push_jvm_slot): Use MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC. (give_name_to_locals): Likewise. (lang_mark_tree): Handle FIELD_DECL. Register `am' and `wfl' fields in lang_decl_var. * java-tree.h (DECL_FUNCTION_SYNTHETIC_CTOR, DECL_FUNCTION_ALL_FINAL_INITIALIZED): New macros. (FIELD_INNER_ACCESS): Removed ugly cast, macro rewritten. (FIELD_INNER_ACCESS_P, DECL_FIELD_FINAL_IUD, DECL_FIELD_FINAL_LIIC, DECL_FIELD_FINAL_IERR, DECL_FIELD_FINAL_WFL): New macros. (LOCAL_FINAL): Rewritten. (LOCAL_FINAL_P, FINAL_VARIABLE_P, CLASS_FINAL_VARIABLE_P MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): New macros. (struct lang_decl): Fixed comments. Added `synthetic_ctor' and `init_final' fields. (struct lang_decl_var): Fixed leading comment. Added `am', `wfl', `final_uid', `final_liic', `final_ierr' and `local_final' fields. (TYPE_HAS_FINAL_VARIABLE): New macro. (struct lang_type): Added `afv' field. * parse.y (check_static_final_variable_assignment_flag): New function. (reset_static_final_variable_assignment_flag): Likewise. (check_final_variable_local_assignment_flag): Likewise. (reset_final_variable_local_assignment_flag): Likewise. (check_final_variable_indirect_assignment): Likewise. (check_final_variable_global_assignment_flag): Likewise. (add_inner_class_fields): Use LOCAL_FINAL_P. (register_fields): Handle local finals and final variables. (craft_constructor): Set DECL_FUNCTION_SYNTHETIC_CTOR. (declare_local_variables): Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC. (source_start_java_method): Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC on local finals. (java_complete_expand_methods): Loop to set TYPE_HAS_FINAL_VARIABLE. Call `reset_final_variable_local_assignment_flag' and `check_final_variable_local_assignment_flag' accordingly before and after constructor expansion. Call `reset_static_final_variable_assignment_flag' before expanding <clinit> and after call `check_static_final_variable_assignment_flag' if the current_class isn't an interface. After all methods have been expanded, call `check_final_variable_global_assignment_flag' and `check_static_final_variable_assignment_flag' if the current class is an interface. (maybe_yank_clinit): Fixed typo in comment. (build_outer_field_access_methods): Removed old sanity check. Use FIELD_INNER_ACCESS_P. Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC. Don't create access methods for finals. (resolve_field_access): Use `CLASS_FINAL_VARIABLE_P'. (java_complete_tree): Likewise. Reset DECL_FIELD_FINAL_IUD if existing DECL_INIT has been processed. (java_complete_lhs): Likewise. (check_final_assignment): Filter input on `lvalue''s TREE_CODE. Test for COMPONENT_REF to get to the FIELD_DECL. Implemented new logic. (patch_assignment): Use LOCAL_FINAL_P. (fold_constant_for_init): Reset DECL_FIELD_FINAL_IUD if DECL_INITIAL is nullified. Fixes gcj/163. 2000-10-09 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (pop_current_osb): New function. (array_type:): Use `dims:', changed actions accordingly. Suggested by Anthony Green. (array_creation_expression:): Used pop_current_osb. (cast_expression:): Likewise. (search_applicable_method_list): Fixed indentation. 2000-10-08 Anthony Green <green@redhat.com> * parse.y (array_type_literal): Remove production. (type_literals): Refer to array_type, not array_type_literal. (http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00317.html) From-SVN: r38070
Alexandre Petit-Bianco committed -
* invoke.texi: Use @table @samp instead of @itemize @minus for table of language standards. Fix use of @pxref. From Zack Weinberg. Also exclude specs documentation from generated manpage, and create separate ENVIRONMENT section. From-SVN: r38069
Joseph Myers committed -
* gcse.c (compute_pre_data): Kill trapping expressions in destination blocks of abnormal edges. From-SVN: r38068
Michael Matz committed -
* lang-specs.h (c++): When invoking the stand-alone preprocessor for -save-temps, pass all relevant -Defines to it, and then don't pass them to cc1plus. From-SVN: r38067
Alexandre Oliva committed -
From-SVN: r38066
Alexandre Oliva committed -
* testsuite/gcc.c-torture/execute/stdio-opt-1.c: Add more checks. * testsuite/gcc.c-torture/execute/stdio-opt-2.c: New test. From-SVN: r38065
Kaveh R. Ghazi committed -
From-SVN: r38064
Jeff Law committed -
From-SVN: r38063
Robert Lipe committed -
2000-12-05 Richard Sandiford <r.sandiford@redhat.com> * config/mn10300/mn10300.c (mn10300_print_reg_list): Added. (mn10300_get_live_callee_saved_regs): Likewise. (mn10300_gen_multiple_store): Likewise. (store_multiple_operation): Likewise. (expand_prologue): Use mn10300_gen_multiple_store(). * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added. (mn10300_get_live_callee_saved_regs): Likewise. (mn10300_gen_multiple_store): Likewise. (store_multiple_operation): Likewise. * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL tied to store_multiple_operation(). From-SVN: r38062
Richard Sandiford committed -
* configure.target (hpux): Set os_include_dir. * config/os/hpux/bits/ctype_base.h: New file * config/os/hpux/bits/ctype_inline.h: New file * config/os/hpux/bits/ctype_noinline.h: New file * config/os/hpux/bits/os_defines.h: New file Forgot to commit last week... From-SVN: r38061
Jeffrey A Law committed -
* builtins.c (expand_builtin_setjmp_setup): Set current_function_has_nonlocal_label. From-SVN: r38060
Jeffrey A Law committed -
2000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com> * src/Makefile.am (libstdc++.INC): Revert for libjava builds. * src/Makefile.in: Regenerate. From-SVN: r38059
Alexandre Petit-Bianco committed
-