- 05 Jun, 2001 15 commits
-
-
2001-06-05 scott snyder <snyder@fnal.gov> * gccbug.in: Fix typo. From-SVN: r42913
Scott Snyder committed -
* builtins.def: Fix definition of __builtin_cosf, it uses float as parameter and return value. From-SVN: r42911
Andreas Jaeger committed -
2001-06-04 Alexandre Petit-Bianco <apbianco@redhat.com> * expr.c (force_evaluation_order): Match wrapped ctor calls, locate arguments accordingly. (http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00214.html) From-SVN: r42910
Alexandre Petit-Bianco committed -
From-SVN: r42908
Anthony Green committed -
cp: * call.c (build_user_type_conversion_1): Set ICS_USER_FLAG and ICS_BAD_FLAG on created conversion. (compare_ics): Break out rank. testsuite: * g++.old-deja/g++.other/conv7.C: New test. From-SVN: r42907
Nathan Sidwell committed -
* decl.c (xref_tag): Remove extraneous %s on dependent name lookup warning. From-SVN: r42905
Nathan Sidwell committed -
* class.c (layout_vtable_decl): Fix off by one error on build_index_type. (build_vtt): Likewise. (build_ctor_vtbl_group): Likewise. From-SVN: r42903
Nathan Sidwell committed -
* doc/invoke.texi: Document new tree dump flags. From-SVN: r42902
Nathan Sidwell committed -
From-SVN: r42901
Richard Kenner committed -
* c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking for casting an aggregate to its own type. Fixes PR c/2735. testsuite: * gcc.c-torture/compile/20010605-2.c: New test. From-SVN: r42900
Joseph Myers committed -
2001-06-05 Martin Kahlert <martin.kahlert@infineon.com> Bryce McKinlay <bryce@waitaki.otago.ac.nz> * java/lang/natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is within allowed bounds. Ensure that we dont try to access class itable at a negative offset. Avoid an ancestor table lookup if source is a primitive type class. (isInstance): Remove redundant isPrimitive() check. Co-Authored-By: Bryce McKinlay <bryce@waitaki.otago.ac.nz> From-SVN: r42898
Martin Kahlert committed -
From-SVN: r42897
Joseph Myers committed -
* c-common.h (flag_dump_translation_unit): Remove. (enum tree_dump_index): Define. (TDF_ADDRESS, TDF_SLIM): New #defines. (dump_node_to_file): Remove. (dump_node): Make extern. Add flags. (dump_flag, dump_enabled_p, dump_begin, dump_end, dump_switch_p): Prototype. * c-common.c (flag_dump_translation_unit): Remove. * c-decl.c (c_decode_option): Remove -fdump-translation-unit logic. Use dump_switch_p. * c-dump.h (struct dump_info): Add node and user fields. (dump_pointer): Declare. * c-dump.c (dump_node): Make extern. Add flags. (SOL_COLUMN, EOL_COLUMN, COLUMN_ALIGNMENT): New #defines. (dump_new_line, dump_maybe_newline): Use them. (dump_pointer): New function. (dequeue_and_dump): Check TDF_SLIM before dumping a _DECL's chain or function's body. Dump address, if TDF_ADDRESS set. (dump_flag): Define. (dump_node_to_file): Remove. (struct dump_file_info): New struct. (dump_files): New array. (dump_begin, dump_end, dump_enabled_p, dump_switch_p): Define. * c-lang.c (finish_file): Adjust dumping. * toplev.h (dump_base_name): Make extern. * invoke.texi: Document new flags. cp: * class.c (maybe_indent_hierarchy): New function. (dump_class_hierarchy_r): Add flags. Dump extra binfo information, if enabled. Use maybe_indent_hierarchy. Adjust output format. (dump_class_hierarchy): Adjust prototype. Adjust output format. (dump_array, dump_vtable, dump_vtt): New functions. (finish_struct_1): Adjust hierarchy dumping. (initialize_vtable): Call dump_vtable. (build_vtt): Call dump_vtt. (build_ctor_vtbl_group): Call dump_vtable. * decl2.c (flag_dump_class_layout): Remove. (cxx_decode_option): Remove dump translation unit and dump class hierarchy check. Call dump_switch_p. (finish_file): Adjust dumping. (dump.c): Only dump base classes if not TDF_SLIM. Only dump namespace members if not TDF_SLIM. * optimize.c (dump_function): New function. (optimize_function): Call dump_function. * semantics.c (expand_body): Use dump_enabled_p. From-SVN: r42896
Nathan Sidwell committed -
From-SVN: r42894
GCC Administrator committed -
* c-tree.h (lang_decl): Add pending_sizes fields. * c-decl.c (store_parm_decls): Save pending_sizes away for nested functions. (c_expand_body): Expand them. (lang_mark_tree): Mark lang_decl:pending_sizes. * function.c (expand_pending_sizes): New function, broken out from ... (expand_function_start): ... here. * tree.h (expand_pending_sizes): Declare it. From-SVN: r42892
Mark Mitchell committed
-
- 04 Jun, 2001 25 commits
-
-
* doc/install.texi: Update FreeBSD information. Generalize and update information for alpha-based platforms using ELF. From-SVN: r42887
Loren J. Rittle committed -
* java/security/PublicKey.java: Extend Key. * java/security/PrivateKey.java: Extend Key. From-SVN: r42886
Tom Tromey committed -
2001-06-04 Phil Edwards <pme@sources.redhat.com> * config.guess: Import CVS version 1.194. All gcc-local changes appear to also be in the master copy. * config.sub: Import CVS version 1.211. From-SVN: r42884
Phil Edwards committed -
From-SVN: r42883
John David Anglin committed -
* c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P. (store_parm_decls): Likewise. * c-typeck.c (convert_arguments): Likewise. From-SVN: r42882
John David Anglin committed -
sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress optimization if current_function_calls_setjmp. * sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress optimization if current_function_calls_setjmp. From-SVN: r42880
Richard Henderson committed -
* doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for wide strings. From-SVN: r42878
Joseph Myers committed -
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris, with_gcc]: Use `gcc -shared' to build a shared library. From-SVN: r42874
Mark Mitchell committed -
2001-06-04 Brendan Kehoe <brendan@zen.org> Benjamin Kosnik <bkoz@redhat.com> libstdc++/3017 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions for generic ctype virtuals. * src/locale.cc: Minor tweaks, naming consistency. * testsuite/22_locale/ctype.cc: Add test. From-SVN: r42872
Benjamin Kosnik committed -
* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared archives. From-SVN: r42870
John David Anglin committed -
From-SVN: r42869
Loren J. Rittle committed -
* simplify-rtx.c (simplify_subreg): Fix combining of paradoxical subregs. From-SVN: r42868
Jan Hubicka committed -
* rtlanal.c (rtx_unsable_p): ADDRESSOF is stable. (no_labels_between_p): Short circuit case beg==end. From-SVN: r42867
Jan Hubicka committed -
2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com> Phil Edwards <pme@sources.redhat.com> PR libstdc++/3035 and PR libstdc++/3036 * include/bits/stl_pair.h: Fix pair ctor and make_pair according to LWG DR 181 and 265. Co-Authored-By: Phil Edwards <pme@gcc.gnu.org> From-SVN: r42865
Kenny Simpson committed -
* rtlanal.c (operand_preference): Fix preference for objects. * gcse.c (handle_avail_expr): Be prepared to handle single_set parallels. * combine.c (if_then_else_cond): Use simplify_subreg instead of operand_subword. * integreate.c (sub_constants): Likewise. * emit-rtl.c (constant_subword): Deprecate; remove most of code and use simplify_gen_subreg. Mon Jun 4 19:55:23 CEST 2001 Lars Brinkhoff <lars@nocrew.org> * sibcall.c (skip_copy_to_return_value): recognize the situation when the called function's return value is copied into an intermediate pseudo, and then into the calling functions return value register. From-SVN: r42864
Jan Hubicka committed -
2001-06-04 Phil Edwards <pme@sources.redhat.com> PR libstdc++/3034 * include/bits/stl_multiset.h (find, lower_bound, upper_bound, equal_range): Add const overloads as per LWG DR 214. * include/bits/stl_set.h: Likewise. From-SVN: r42862
Phil Edwards committed -
2001-06-04 Brendan Kehoe <brendan@zen.org> Phil Edwards <pme@sources.redhat.com> * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb comparison; all positions must be < _Nb. * testsuite/23_containers/bitset_members.cc: New file. Co-Authored-By: Phil Edwards <pme@gcc.gnu.org> From-SVN: r42859
Brendan Kehoe committed -
2001-06-04 Brendan Kehoe <brendan@zen.org> PR libstdc++/3016 * include/bits/stl_queue.h (classes queue, priority_queue): Fix ctors to match the standard. From-SVN: r42857
Brendan Kehoe committed -
2001-06-04 Jeffrey Oldham <oldham@codesourcery.com> * include/bits/char_traits.h (move): Reverse qualification of memmove with std::. (copy): Reverse qualification of memcpy with std::. From-SVN: r42856
Jeffrey Oldham committed -
* doc/c-tree.texi (ARRAY_REF): Say what type of expression must be. (ARRAY_RANGE_REF): Added description. From-SVN: r42855
Richard Kenner committed -
2001-06-04 Jeffrey Oldham <oldham@codesourcery.com> * include/bits/char_traits.h (move): Qualify memmove with std::. (copy): Qualify memcpy with std::. * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and strncmp with std::. (test02): Likewise. * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise. From-SVN: r42854
Jeffrey Oldham committed -
2001-06-04 Jeffrey Oldham <oldham@codesourcery.com> * lib/g++.exp (g++_include_flags): Change `args' to gccpath's value. (g++_link_flags): Likewise. (g++_init): Pass gccpath's value to two previous functions. From-SVN: r42852
Jeffrey Oldham committed -
* simplify_rtx.c (simplify_subreg): Keep subregs on return values, check CLASS_CANNOT_CHANGE_MODE before avoiding subreg on hard reg, in case register wasn't OK previously, accept it now; allow subregs of frame pointer if reload completed and frame pointer is not needed. * combine.c (sombine_simplify_rtx): Fix comment; use subreg_lowpart_offset instead of subreg_lowpart_p (gen_lowpart_for_combine): Use subreg_lowpart_offset. * rtl.h (subreg_lowpart_parts_p): Kill. (subreg_lowpart_offset, subreg_highpart_offset): Declare. * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset. * emit-rtl.c (gen_lowpart_SUBREG): Use subreg_lowpart_offset; (gen_lowpart_common): Likewise. (subreg_lowpart_p): Likewise. (subreg_lowpart_parts_p): Kill. (subreg_lowpart_offset, subreg_highpart_offset): New function. * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg to simplify SUBREG and REG. (gen_highpart): Use simplify_gen_subreg for all simplifications. * emit-rtl.c (gen_realpart, gen_imagpart): Do not handle CONCAT specially. * rtlanal.c (replace_regs): Use simplify_gen_subreg From-SVN: r42850
Jan Hubicka committed -
* update_web_docs (WWWBASE_PREFORMATTED, PREPROCESS): New variables. Fix a comment and add another one. Generate the installation documentation in HTML format from gcc/doc/install.texi. From-SVN: r42849
Gerald Pfeifer committed -
* tree.def (ARRAY_RANGE_REF): New code. * alias.c (handled_component_p, can_address_p): Handle it. * dwarf2out.c (loc_descriptor_from_tree): Likewise. * explow.c (set_mem_attributes): Likewise. * expr.c (expand_assignment, get_inner_reference): Likewise. (expand_expr, expand_expr_unaligned, do_jump): Likewise. * fold-const.c (operand_equal_p): Likewise. * tree.c (staticp, stabilize_reference): Likewise. * varasm.c (decode_addr_const): Likewise. From-SVN: r42848
Richard Kenner committed
-