OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
neil [Tue, 30 Jan 2001 19:19:40 +0000 (19:19 +0000)]
    * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
        is not NULL.
        * toplev.c (decode_W_option): Update warn_larger_than
        unconditionally for each processed switch.
        * testsuite/gcc.dg/Wlarger-than.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39352 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
law [Tue, 30 Jan 2001 17:25:29 +0000 (17:25 +0000)]
    * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
        to NULL_RTX.
        (hppa_expand_prologue): Delete code to save pic offset table register
        in the function prologue.
        * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
        * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
        table register at the beginning of the function after the prologue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39351 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Tue, 30 Jan 2001 17:25:12 +0000 (17:25 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39350 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 30 Jan 2001 17:21:50 +0000 (17:21 +0000)]
2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>

* config/c_locale_generic.cc: Remove langinfo include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39349 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDummy checkin to test cvs commit script
tromey [Tue, 30 Jan 2001 17:15:15 +0000 (17:15 +0000)]
Dummy checkin to test cvs commit script

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39348 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 30 Jan 2001 09:18:51 +0000 (09:18 +0000)]
2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>

Preliminary named locales.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
* aclocal.m4: Regenerate.
* configure.in: Use it.
* configure: Regerate.
* src/Makefile.am (sources): Add c++locale.cc.
(build_headers): Add c++locale.h.
* src/Makefile.in: Regenerate.
* config/c_locale_gnu.h: New file.
* config/c_locale_gnu.cc: New file. Non-inline member functions
for named locales, gnu-specific.
* config/c_locale_generic.h: New file.
* config/c_locale_generic.cc: New file. Non-inline member
functions for named locales, generic version.
* docs/html/configopts.html: Add documentation on new options.

* include/bits/locale_facets.h (class _Messages): Remove.
(class _Moneypunct): Remove.
* src/locale-inst.cc: Remove.

* include/bits/locale_facets.h (class _Collate): Remove.
* src/locale-inst.cc (std): Remove.
* src/locale.cc: And here.

* include/bits/localefwd.h (locale::_M_coalesce): New
function. Correctly put together multi-name locales.
(_Impl(const _Impl&, category, size_t)): Remove.

* include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
member functions.
(_M_normalize_category_names): Remove.
(_M_replace_categories): Fix.

* src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
(locale::_Impl::_M_construct_ctype): Remove.
(locale::_Impl::_M_construct_monetary): Remove.
(locale::_Impl::_M_construct_numeric): Remove.
(locale::_Impl::_M_construct_time): Remove.
(locale::_Impl::_M_construct_messages): Remove.

* include/bits/locale_facets.h (_Bad_use_facet): Remove.
(_Use_facet_failure_handle): Remove.
* src/locale.cc: Remove definitions.
* src/locale-inst.cc: And here.

* testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.

* src/localename.cc (locale::facet::_S_create_c_locale): Properly
create and error-check underlying locale object.
(locale::facet::_S_destroy_c_locale): Add, take care of properly
tearing down underlying locale object.
* include/bits/localefwd.h (locale::facet): Declare.
* testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
correctness, as glibc apparently has incorrect info in it. Test
with it when it works again.....

* include/bits/localefwd.h (locale::_Impl::__vec_string):
Remove. Number of categories is fixed at six, so just simplify and
make this an array of strings.
(locale::_Impl::_M_has_name): Remove.
(locale::_Impl::_M_name): Remove.
(locale::_Impl::_M_category_names): Turns into...
(locale::_Impl::_M_names): ...this.
(locale::_Impl::_M_has_same_name()): New function.
* src/localename.cc (locale::_Impl::~_Impl()): Remove here.
(locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
signature.
* src/locale.cc (locale::name()): Construct mangled name
accurately reflecting combined locale categories.

* src/locale.cc (locale::classic()): Don't initialize here.
* src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
__refs, bool __has_name, string __str): Do it here.

* include/bits/localefwd.h: _S_categories_num to
_S_num_categories. _S_facets_num to _S_num_facets.
(locale::id::id()): Explicitly set _M_index to zero.
* src/locale.cc: Same.

* src/locale.cc: (locale::locale(const char*)): Construct named
locales uniquely.

* src/locale.cc: Remove numpunct_byname ctors.
* testsuite/22_locale/numpunct_byname.cc: New file.
* testsuite/22_locale/numpunct.cc: New file.

* include/bits/localefwd.h (class locale): Change data members to
protected, from private.
(_Impl::_M_get_c_locale): Add member function.
(locale::facet::_M_get_global_impl()): Add member function.
* include/bits/locale_facets.h (numpunct::_M_init): Change to take
a __c_locale pointer.
(numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
named locales.
* testsuite/22_locale/members.cc: New file, test name and combine.

* include/bits/locale_facets.h (class numpunct): Remove class
_Punct and _Numpunct. Rewrite class numpunct to be correct for
named locales.
* include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
* src/localename.cc (_Impl::~_Impl()): Call __frelocale.
(_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
* src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
* testsuite/22_locale/numpunct_char_members.cc: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39347 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
law [Tue, 30 Jan 2001 05:42:06 +0000 (05:42 +0000)]
    * tm.texi (PUSH_ROUNDING): Remove duplicate lines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39346 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pa.md (return): Revise comment for trivial return.
law [Tue, 30 Jan 2001 05:18:50 +0000 (05:18 +0000)]
    * pa.md (return): Revise comment for trivial return.
        (return_internal): Non-trivial return pattern for non-PIC code.
        (return_internal_pic): Non-trivial return pattern for PIC code.
        It uses the PIC register to ensure it is restored after
        function calls.
        (epilogue): Generate appropriate return for PIC and non-PIC code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39345 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/i386/cygwin.h: Fix -mno-cygwin search path for link.
cgf [Tue, 30 Jan 2001 04:56:08 +0000 (04:56 +0000)]
* config/i386/cygwin.h: Fix -mno-cygwin search path for link.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39344 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* combine.c (if_then_else_cond): Pass the correct mode to
dj [Tue, 30 Jan 2001 02:34:22 +0000 (02:34 +0000)]
* combine.c (if_then_else_cond): Pass the correct mode to
operand_subword() for constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39342 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/i386/cygwin.h: Add w32api to include search. Search different
cgf [Tue, 30 Jan 2001 01:41:27 +0000 (01:41 +0000)]
* config/i386/cygwin.h: Add w32api to include search.  Search different
directories in a cross-build environment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39341 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tree.h (TYPE_STUB_DECL): Add documentation.
rth [Tue, 30 Jan 2001 01:38:41 +0000 (01:38 +0000)]
    * tree.h (TYPE_STUB_DECL): Add documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39340 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
rth [Tue, 30 Jan 2001 01:26:25 +0000 (01:26 +0000)]
    * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
        (sdbout_field_types): Likwise.  Fix use of host_integerp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39339 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java-tree.h: Remove JTI_INTEGER_NEGATIVE_ONE_NODE.
bryce [Tue, 30 Jan 2001 00:37:21 +0000 (00:37 +0000)]
* java-tree.h: Remove JTI_INTEGER_NEGATIVE_ONE_NODE.
* decl.c (init_decl_processing): Use integer_minus_one_node, not
integer_negative_one_node.
* expr.c (build_java_binop): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39337 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
dj [Mon, 29 Jan 2001 21:41:46 +0000 (21:41 +0000)]
* mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
cygwin.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39336 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-29 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Mon, 29 Jan 2001 19:36:52 +0000 (19:36 +0000)]
2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>

* config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
to use flag_gnu_linker.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39335 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpplib.c (T_BAD_DIRECTIVE): Remove.
neil [Mon, 29 Jan 2001 19:20:12 +0000 (19:20 +0000)]
    * cpplib.c (T_BAD_DIRECTIVE): Remove.
        (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39334 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.dg/cpp/avoidpaste1.c: Fix typos.
neil [Mon, 29 Jan 2001 18:58:38 +0000 (18:58 +0000)]
    * gcc.dg/cpp/avoidpaste1.c: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39333 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tree.c, tree.h (build_parse_node): Remove; was identical to
jsm28 [Mon, 29 Jan 2001 18:57:24 +0000 (18:57 +0000)]
* tree.c, tree.h (build_parse_node): Remove; was identical to
build_nt.
* c-lang.c (start_cdtor), objc/objc-act.c
(build_module_descriptor): Use build_nt instead of
build_parse_node.

cp:
* decl2.c (build_expr_from_tree), lex.c (make_pointer_declarator,
make_reference_declarator, make_call_declarator), method.c
(implicitly_declare_fn), parse.y (namespace_using_decl,
notype_unqualified_id, expr_or_declarator, new_type_id,
after_type_declarator, direct_after_type_declarator,
notype_declarator, complex_notype_declarator,
complex_direct_notype_declarator, qualified_id,
notype_qualified_id, overqualified_id, direct_new_declarator,
absdcl, direct_abstract_declarator, conversion_declarator), pt.c
(tsubst), semantics.c (begin_constructor_declarator): Use build_nt
instead of build_parse_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39332 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
jakub [Mon, 29 Jan 2001 18:31:35 +0000 (18:31 +0000)]
* config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
(testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
not have any upper bits set.

* gcc.c-torture/execute/20010129-1.c: New test.
* gcc.c-torture/execute/20010129-1.x: Add -mcpu=i686 on ia32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39331 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-29 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 29 Jan 2001 13:32:47 +0000 (13:32 +0000)]
2001-01-29  Phil Edwards  <pme@sources.redhat.com>

* COPYING.LIB:  Update to LGPL 2.1 from the FSF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39330 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Mon, 29 Jan 2001 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39329 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-01-24 Jeff Sturm <jeff.sturm@commerceone.com>
apbianco [Mon, 29 Jan 2001 08:43:46 +0000 (08:43 +0000)]
2000-01-24  Jeff Sturm  <jeff.sturm@commerceone.com>

* zextract.c (read_zip_archive): Read file_offset before writing
zipd and consequently clobbering the header contents.

(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg02129.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39328 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * stmt.c (estimate_case_costs): Use integer_minus_one_node.
ghazi [Mon, 29 Jan 2001 02:46:30 +0000 (02:46 +0000)]
* stmt.c (estimate_case_costs): Use integer_minus_one_node.

* tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.

* tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
(integer_minus_one_node): Define.

ch:
* ch-tree.h (integer_minus_one_node): Moved to top level gcc
directory.

* decl.c (integer_minus_one_node): Likewise.
(init_decl_processing): Don't set integer_minus_one_node.

cp:
* cp-tree.h (cp_tree_index): Delete CPTI_MINUS_ONE.
(minus_one_node): Moved to top level gcc directory.  Renamed
to integer_minus_one_node.

* init.c (init_init_processing): Don't set minus_one_node.
(build_vec_init): Use integer_minus_one_node.

* rtti.c (get_tinfo_decl_dynamic): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39325 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* Makefile.in (bootstrap2-lean): Fix typo.
aoliva [Mon, 29 Jan 2001 01:48:06 +0000 (01:48 +0000)]
* Makefile.in (bootstrap2-lean): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39324 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Sun, 28 Jan 2001 15:13:08 +0000 (15:13 +0000)]
2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>

        * testsuite/README: Add more comment.
        * testsuite/lib/libstdc++.exp: Tweak comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39321 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoClarify comment.
jakub [Sun, 28 Jan 2001 14:04:19 +0000 (14:04 +0000)]
Clarify comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39320 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.dg/cpp/avoidpaste1.c: Test case.
neil [Sun, 28 Jan 2001 11:27:22 +0000 (11:27 +0000)]
    * gcc.dg/cpp/avoidpaste1.c: Test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39319 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
neil [Sun, 28 Jan 2001 11:22:23 +0000 (11:22 +0000)]
    * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
        : Don't set fe_value.
        * cpplib.h (AVOID_LPASTE): New flag.
        (struct cpp_hashnode): Remove fe_value.
        * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
        * cppmacro.c (builtin_macro): Don't set flags here.
        (replace_args): Set AVOID_LPASTE flag on first token of an
        argument, and the token following it.
        (cpp_get_token): Set AVOID_LPASTE flag on first token of a
        macro expansion, and on the token following it.  Do it for
        builtins too.
        * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39318 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * optimize.c (copy_body_r): If MODIFY_EXPR has both arguments
jakub [Sun, 28 Jan 2001 10:35:45 +0000 (10:35 +0000)]
* optimize.c (copy_body_r): If MODIFY_EXPR has both arguments
identical and they would be replaced with constant, remove
MODIFY_EXPR from the tree.

* g++.old-deja/g++.other/inline18.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39317 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sun, 28 Jan 2001 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39316 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in (target_makefile_frag) [alpha*-*]: Use mt-alphaieee.
rth [Sun, 28 Jan 2001 06:59:00 +0000 (06:59 +0000)]
  * configure.in (target_makefile_frag) [alpha*-*]: Use mt-alphaieee.

  * mt-alphaieee: New file.

  * config/alpha/t-ieee: Remove multilibbing.
  (TARGET_LIBGCC2_CFLAGS): Add -mieee.

  * configure.host (alpha*-*) [libgcj_flags]: Add -mieee.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39309 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
ghazi [Sun, 28 Jan 2001 01:50:22 +0000 (01:50 +0000)]
* configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.

* Makefile.in: Remove all dependencies on defaults.h.
* builtins.c: Don't include defaults.h.
* c-common.c: Likewise.
* c-decl.c: Likewise.
* c-pragma.c: Likewise.
* c-typeck.c: Likewise.
* combine.c: Likewise.
* i386.c: Likewise.
* frame-ia64.c: Likewise.
* cppexp.c: Likewise.
* crtstuff.c: Likewise.
* dbxout.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* final.c: Likewise.
* frame-dwarf2.c: Likewise.
* libgcc2.c: Likewise.
* optabs.c: Likewise.
* profile.c: Likewise.
* sdbout.c: Likewise.
* toplev.c: Likewise.
* tradcif.y: Likewise.
* tree.c: Likewise.
* varasm.c: Likewise.

ch:
* Makefile.in: Remove all dependencies on defaults.h.
* decl.c: Don't include defaults.h.
* timing.c: Likewise.

cp:
* Make-lang.in: Remove all dependencies on defaults.h.
* call.c: Don't include defaults.h.
* decl.c: Likewise.
* decl2.c: Likewise.
* except.c: Likewise.
* pt.c: Likewise.
* rtti.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.

f:
* Make-lang.in: Remove all dependencies on defaults.h.
* com.c: Don't include defaults.h.

java:
* Make-lang.in: Remove all dependencies on defaults.h.
* decl.c: Don't include defaults.h.
* expr.c: Likewise.
* parse.y: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39308 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c-torture/execute/stdio-opt-2.c: Also test __builtin_puts
ghazi [Sun, 28 Jan 2001 01:27:25 +0000 (01:27 +0000)]
* gcc.c-torture/execute/stdio-opt-2.c: Also test __builtin_puts
and __builtin_putchar.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39307 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * builtins.c (expand_builtin_fputs): Use size_one_node when
ghazi [Sun, 28 Jan 2001 01:06:15 +0000 (01:06 +0000)]
* builtins.c (expand_builtin_fputs): Use size_one_node when
transforming into fwrite.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39306 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * extend.texi (Attribute Syntax): New section.
jsm28 [Sat, 27 Jan 2001 21:29:53 +0000 (21:29 +0000)]
* extend.texi (Attribute Syntax): New section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39305 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fixproto: Correctly install synthesised unistd.h and stdlib.h when
msokolov [Sat, 27 Jan 2001 21:07:57 +0000 (21:07 +0000)]
* fixproto: Correctly install synthesised unistd.h and stdlib.h when
they didn't need fixing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39304 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-27 Janis Johnson <janis@us.ibm.com>
rth [Sat, 27 Jan 2001 20:50:52 +0000 (20:50 +0000)]
2001-01-27  Janis Johnson <janis@us.ibm.com>

        * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
        if appropriate.
        * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
        to remove macro definitions that are duplicated from elfos.h.

2001-01-27  Richard Henderson  <rth@redhat.com>

        * config/i386/sco5gas.h: Move ...
        * config/usegas.h: ... here.
        * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39303 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-typeck.c (struct constructor_stack): Add range_stack member.
jakub [Sat, 27 Jan 2001 20:33:54 +0000 (20:33 +0000)]
* c-typeck.c (struct constructor_stack): Add range_stack member.
(really_start_incremental_init): Clear it.
(push_init_level): Save constructor_range_stack and clear it if
pushing explicit braces.
(pop_init_level): abort if constructor_range_stack is non-zero at
explicit closing brace.  Restore saved constructor_range_stack if
not implicit.

* gcc.dg/gnu99-init-1.c: Add 3 more designated range initializer
tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39302 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
aoliva [Sat, 27 Jan 2001 20:24:34 +0000 (20:24 +0000)]
* expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
into register was forced into memory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39301 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
msokolov [Sat, 27 Jan 2001 19:51:13 +0000 (19:51 +0000)]
* ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
Don't unset, it's non-portable and no longer necessary, set to empty
instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39300 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ltconfig: Shell portability fix for the tagname validity check.
msokolov [Sat, 27 Jan 2001 19:48:46 +0000 (19:48 +0000)]
* ltconfig: Shell portability fix for the tagname validity check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39299 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jni.cc (_Jv_JNIFunctions): Added comment for each entry in
tromey [Sat, 27 Jan 2001 19:30:31 +0000 (19:30 +0000)]
* jni.cc (_Jv_JNIFunctions): Added comment for each entry in
native interface structure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39298 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
aoliva [Sat, 27 Jan 2001 19:12:14 +0000 (19:12 +0000)]
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39297 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
bkoz [Sat, 27 Jan 2001 19:00:09 +0000 (19:00 +0000)]
2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>

* libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39296 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* Makefile.in: Remove uses of + before $(MAKE).
aoliva [Sat, 27 Jan 2001 18:47:16 +0000 (18:47 +0000)]
* Makefile.in: Remove uses of + before $(MAKE).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39295 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sat, 27 Jan 2001 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39294 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/io/ObjectInputStream.java (read): AND byte with 0xff to make
bryce [Sat, 27 Jan 2001 06:04:29 +0000 (06:04 +0000)]
* java/io/ObjectInputStream.java (read): AND byte with 0xff to make
result unsigned.
(read (byte[], int, int)): Only call readNextBlock() if the block
buffer would actually be overrun. Increment blockDataPosition.
(callReadMethod): Propagate exceptions from invocation target.
* java/io/ObjectOutputStream.java (callWriteMethod): Propagate
exceptions from invocation target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39293 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-25 Loren J. Rittle <ljrittle@acm.org>
bkoz [Fri, 26 Jan 2001 23:31:57 +0000 (23:31 +0000)]
2001-01-25  Loren J. Rittle  <ljrittle@acm.org>

        * testsuite/21_strings/inserters_extractors.cc: Remove
        explicit reference to 'testsuite/'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39292 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * stmt.c (cost_table): Remove.
rth [Fri, 26 Jan 2001 23:24:38 +0000 (23:24 +0000)]
    * stmt.c (cost_table): Remove.
        (COST_TABLE, cost_table_initialized): New.
        (estimate_case_costs): Use the later instead of the former.
        (balance_case_nodes): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39291 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-25 Richard Henderson <rth@redhat.com>
bkoz [Fri, 26 Jan 2001 23:07:38 +0000 (23:07 +0000)]
2001-01-25  Richard Henderson  <rth@redhat.com>

* config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
bits. Fixes Tru64 build issues.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39290 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jni.cc (_Jv_JNI_GetAnyMethodID): Rewrite signature from external
tromey [Fri, 26 Jan 2001 23:00:19 +0000 (23:00 +0000)]
* jni.cc (_Jv_JNI_GetAnyMethodID): Rewrite signature from external
to internal representation.
(_Jv_JNI_GetAnyFieldID): Likewise.  Also, only use
_Jv_FindClassFromSignature.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39289 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ltcf-cxx.sh: Use parentheses around eval $ac_compile.
msokolov [Fri, 26 Jan 2001 22:55:12 +0000 (22:55 +0000)]
* ltcf-cxx.sh: Use parentheses around eval $ac_compile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39288 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libjava.jni/martin.c (Java_martin_myNative): Flush stdout.
tromey [Fri, 26 Jan 2001 22:52:19 +0000 (22:52 +0000)]
* libjava.jni/martin.c (Java_martin_myNative): Flush stdout.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39287 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libjava.jni/martin.out: New file.
tromey [Fri, 26 Jan 2001 22:41:41 +0000 (22:41 +0000)]
* libjava.jni/martin.out: New file.
* libjava.jni/martin.c: New file.
* libjava.jni/martin.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39286 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * alias.c (objects_must_conflict_p): Read-only slots may not
rth [Fri, 26 Jan 2001 22:32:51 +0000 (22:32 +0000)]
    * alias.c (objects_must_conflict_p): Read-only slots may not
        conflict despite having the same type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39285 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * loop.c (loop_giv_reduce_benefit): Copy mode size into
m.hayes [Fri, 26 Jan 2001 22:06:45 +0000 (22:06 +0000)]
* loop.c (loop_giv_reduce_benefit): Copy mode size into
int variable.
(check_ext_dependant_givs): Initialise u_start_val and
u_end_val.
(load_mems): Make last_max_reg unsigned.
(try_swap_copy_prop): Use INSN_P and initialise set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39284 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/lang/natSystem.cc (getSystemTimeZone): Only use tm_gmtoff
warrenl [Fri, 26 Jan 2001 21:57:08 +0000 (21:57 +0000)]
* java/lang/natSystem.cc (getSystemTimeZone): Only use tm_gmtoff
and timezone if they are available on the system.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39283 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * README.AVR : Removed.
denisc [Fri, 26 Jan 2001 20:40:32 +0000 (20:40 +0000)]
* README.AVR : Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39282 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * README.AVR : Removed.
denisc [Fri, 26 Jan 2001 20:35:04 +0000 (20:35 +0000)]
* README.AVR : Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39281 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pa-64.h (text_section): Remove declaration.
law [Fri, 26 Jan 2001 18:37:26 +0000 (18:37 +0000)]
    * pa-64.h (text_section): Remove declaration.

        * pa.md (return_internal): Remove mode on PIC register use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39280 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Allow libgcj to be built on Sparc Solaris.
tromey [Fri, 26 Jan 2001 18:10:07 +0000 (18:10 +0000)]
* configure.in: Allow libgcj to be built on Sparc Solaris.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39279 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Fri, 26 Jan 2001 08:45:09 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39278 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
msokolov [Fri, 26 Jan 2001 06:19:52 +0000 (06:19 +0000)]
* acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
(use ${MAKE-make}, not ${MAKE:-make}).
* aclocal.m4, configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39277 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
mmitchel [Fri, 26 Jan 2001 02:25:13 +0000 (02:25 +0000)]
* src/ios.cc: Remove accidental inclusion of <stdio.h> in last
checkin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39276 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * src/Makefile.am (sources): Add globals.cc.
mmitchel [Thu, 25 Jan 2001 22:39:29 +0000 (22:39 +0000)]
* src/Makefile.am (sources): Add globals.cc.
* src/Makefile.in: Regenerated.
* src/globals.cc: New file.
* src/ios.cc (cin): Don't define here, just declare extern.
(cout): Likewise.
(cerr): Likewise.
(clog): Likewise.
(wcin): Likewise.
(wcout): Likewise.
(wcerr): Likewise.
(wclog): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39275 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-25 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 25 Jan 2001 22:25:22 +0000 (22:25 +0000)]
2001-01-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* ChangeLog (2001-01-21): Fixed typo.
* class.c (layout_class_method): Code accounting for WFLed
method DECL_NAMEs deleted.
* constant.c (find_methodref_index): Likewise.
* decl.c (lang_mark_tree): Mark `wfl' field in struct lang_decl.
* java-tree.h (DECL_FUNCTION_WFL): New macro.
(struct lang_decl): New field `wfl'.
(java_get_real_method_name): Prototype deleted.
* mangle.c (mangle_method_decl): Code accounting for WFLed
method DECL_NAMEs deleted.
* parse.h (GET_METHOD_NAME): Macro deleted.
* parse.y (reset_method_name): Deleted.
(method_header): Set DECL_FUNCTION_WFL.
(check_abstract_method_header): Code accounting for WFLed method
DECL_NAMEs deleted.
(java_get_real_method_name): Deleted.
(check_method_redefinition): Code accounting for WFLed method
DECL_NAMEs deleted. Use DECL_FUNCTION_WFL.
(java_check_regular_methods): Likewise.
(java_check_abstract_methods): Likewise.
(java_expand_classes): Don't call `reset_method_name.'
(search_applicable_method_list): Use DECL_NAMEs instead of
GET_METHOD_NAME.
* typeck.c (lookup_do): Code accounting for WFLed method
DECL_NAMEs deleted.

(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01954.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39274 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
gerald [Thu, 25 Jan 2001 22:18:16 +0000 (22:18 +0000)]
* tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
ASM_CLOSE_PAREN): fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39273 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * acconfig.h: Define `const' to the empty string if neither
mmitchel [Thu, 25 Jan 2001 21:56:21 +0000 (21:56 +0000)]
* acconfig.h: Define `const' to the empty string if neither
__STDC__ nor __cplusplus is defined.
* config.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39272 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
dje [Thu, 25 Jan 2001 20:12:30 +0000 (20:12 +0000)]
* config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
* collect2.c (main): Delete importf.  Add ".obj" file extension.
(GCC_CHECK_HDR): Handle AIX V5 new magic number.
(aix_std_libs): Add additional AIX libraries to skip.
* config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
* config/rs6000/aix51.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39271 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago- Add AIX 5 support following AIX 4.
dje [Thu, 25 Jan 2001 19:11:34 +0000 (19:11 +0000)]
- Add AIX 5 support following AIX 4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39270 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/lang/sf_fabs.c: Use uint32_t, not __uint32_t.
tromey [Thu, 25 Jan 2001 19:07:18 +0000 (19:07 +0000)]
* java/lang/sf_fabs.c: Use uint32_t, not __uint32_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39269 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-25 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Thu, 25 Jan 2001 17:58:26 +0000 (17:58 +0000)]
2001-01-25  Jeffrey Oldham  <oldham@codesourcery.com>

* gcc.c-torture/execute/ieee/20000320-1.c (main): For MIPS, change
floating point number rounding mode to round to the nearest
representable mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39268 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-25 Phil Edwards <pme@sources.redhat.com>
pme [Thu, 25 Jan 2001 15:35:10 +0000 (15:35 +0000)]
2001-01-25  Phil Edwards  <pme@sources.redhat.com>

* include/bits/std_iterator.h:  Do not include stl_relops.h.
* include/bits/std_numeric.h:  Ditto.
* include/bits/stl_algobase.h:  Ditto.
* include/bits/stl_relops.h:  Add comment warning about problems.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39267 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* lex.c (java_read_char): Check for EOF from getc first.
rearnsha [Thu, 25 Jan 2001 10:35:09 +0000 (10:35 +0000)]
* lex.c (java_read_char): Check for EOF from getc first.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39261 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
m.hayes [Thu, 25 Jan 2001 09:28:55 +0000 (09:28 +0000)]
* loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
(loop_insn_emit_before): No longer static.
(move_movables): Replace emit_insn_after with loop_insn_emit_after.
(loop_givs_rescan, load_mems): Likewise.
(check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
(maybe_eliminate_biv_1):
(move_movables): Replace emit_call_insn_before with
loop_call_insn_hoist.
* loop.h (loop_insn_emit_before): Add.
* unroll.c (copy_loop_body): Replace emit_insn_before with
loop_insn_emit_before.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39260 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Thu, 25 Jan 2001 08:45:17 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39259 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * diagnostic.c (fatal): Request preprocessed source.
neil [Thu, 25 Jan 2001 07:39:50 +0000 (07:39 +0000)]
    * diagnostic.c (fatal): Request preprocessed source.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39258 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * mangle.c (write_mangled_name, write_encoding): Mangle overloaded
jakub [Thu, 25 Jan 2001 07:35:21 +0000 (07:35 +0000)]
* mangle.c (write_mangled_name, write_encoding): Mangle overloaded
operators even in "C" linkage.
* method.c (set_mangled_name_for_decl): Likewise.
* decl.c (grokfndecl): Call set_mangled_name_for_decl even for
overloaded operators in "C" linkage.

* g++.old-deja/g++.other/mangle2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39257 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libU77/alarm_.c: Separate the #ifdef KR_headers logic from the
msokolov [Thu, 25 Jan 2001 05:11:38 +0000 (05:11 +0000)]
* libU77/alarm_.c: Separate the #ifdef KR_headers logic from the
G77_alarm_0 function definition.  Check for SIG_ERR and provide our own
if missing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39256 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
gdr [Thu, 25 Jan 2001 04:09:22 +0000 (04:09 +0000)]
   * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
       in testcases.  Prepare for the DejaGnu based framework.
       * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
       directory -- it is now mkcheck working directory.
       * tests_flags.in: Remove reference to $(top_srcdir).  Use
       ${SRC_DIR} instead.
       * Makefile.am (check, check-install): Change mkcheck invocation
       logic.
       * Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39255 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
amylaar [Thu, 25 Jan 2001 02:03:14 +0000 (02:03 +0000)]
* c-decl.c (duplicate_decls): If different_binding_level is nonzero,
olddecl has argument types and newdecl has none, use the argument
types from olddecl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39254 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * dwarf2out.c (prefix_of): New function. Determine longest common
drepper [Thu, 25 Jan 2001 00:18:16 +0000 (00:18 +0000)]
* dwarf2out.c (prefix_of): New function.  Determine longest common
prefix of the two arguments.  The units are whole path components.
(output_file_names): When adding a new directory find the one entry
with the longest common prefix already in the list.  Artificially
generate entry if there is none for this prefix.
Fix test to check whether the zeroth directory entry is used.
: ----------------------------------------------------------------------

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39253 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoNew test.
rth [Thu, 25 Jan 2001 00:16:42 +0000 (00:16 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39252 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
amylaar [Thu, 25 Jan 2001 00:02:49 +0000 (00:02 +0000)]
* reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
Changed all callers.  Take it into account when deciding if a
previously loaded value matches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39251 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * reload.c (find_reloads_subreg_address): Fail the substitution
rth [Wed, 24 Jan 2001 23:50:56 +0000 (23:50 +0000)]
    * reload.c (find_reloads_subreg_address): Fail the substitution
        if the resulting address is insufficiently aligned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39250 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-24 David Billinghurst <David.Billinghurst@riotinto.com>
toon [Wed, 24 Jan 2001 22:24:48 +0000 (22:24 +0000)]
2001-01-24  David Billinghurst <David.Billinghurst@riotinto.com>

* libU77/Makefile.in:  Explicitly generate a.out for check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39249 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix obvious bug in previous commit
dj [Wed, 24 Jan 2001 21:43:11 +0000 (21:43 +0000)]
Fix obvious bug in previous commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39248 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
dj [Wed, 24 Jan 2001 21:10:06 +0000 (21:10 +0000)]
* combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
check the original operand's mode also.
* simplify-rtx.c (simplify_ternary_operation): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39247 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-parse.in (cast_expr): Move compound literals from here ...
jsm28 [Wed, 24 Jan 2001 20:41:49 +0000 (20:41 +0000)]
* c-parse.in (cast_expr): Move compound literals from here ...
(primary): ... to here.  Use standard terminology "compound
literal" instead of "constructor expression".

testsuite:
* gcc.c-torture/compile/20010124-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39246 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
aoliva [Wed, 24 Jan 2001 20:08:50 +0000 (20:08 +0000)]
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
keep at least one of build_libtool_libs or build_old_libs set to
yes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39245 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocontrib:
jsm28 [Wed, 24 Jan 2001 19:47:47 +0000 (19:47 +0000)]
contrib:
* texi2pod.pl: Handle "\,".

gcc:
* gcc.1, cpp.1: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39244 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
mmitchel [Wed, 24 Jan 2001 19:19:26 +0000 (19:19 +0000)]
* config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
(__always_swap): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39243 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* calls.c (emit_library_call_value_1): Memory slot for
aoliva [Wed, 24 Jan 2001 19:00:58 +0000 (19:00 +0000)]
* calls.c (emit_library_call_value_1): Memory slot for
pass-by-reference argument should have the mode of the argument,
not of the pointer to it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39242 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.texi (G++ and GCC): Mention gcj manual.
tromey [Wed, 24 Jan 2001 18:47:35 +0000 (18:47 +0000)]
* gcc.texi (G++ and GCC): Mention gcj manual.
(Standards): Link to section of manual mentioning gcj/Java
compatibility.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39241 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
jakub [Wed, 24 Jan 2001 18:44:40 +0000 (18:44 +0000)]
* cppfiles.c (_cpp_read_file): Add to dependencies if requested.
* cppinit.c (cpp_start_read): Remove deps_add_dep call.
* tradcpp.c (main): Add -imacros or -include'd dependencies
for -M*.
* cpp.texi (-M, -MM): Document -M -include behaviour.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39240 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/i386/xm-i386.h: Make __i386__ a boolean macro.
neil [Wed, 24 Jan 2001 18:40:46 +0000 (18:40 +0000)]
    * config/i386/xm-i386.h: Make __i386__ a boolean macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39239 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in: Rebuilt.
tromey [Wed, 24 Jan 2001 17:43:25 +0000 (17:43 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (c_source_files): Added sf_fabs.c.
* java/lang/sf_fabs.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39238 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-24 Will Cohen <wcohen@redhat.com>
wcohen [Wed, 24 Jan 2001 14:01:26 +0000 (14:01 +0000)]
2001-01-24  Will Cohen  <wcohen@redhat.com>

* config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
whether registers are 32 bits or 64 bits in size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39237 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-01-24 Ben Elliston <bje@redhat.com>
bje [Wed, 24 Jan 2001 12:47:45 +0000 (12:47 +0000)]
2001-01-24  Ben Elliston  <bje@redhat.com>

* config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39236 138bc75d-0d04-0410-961f-82ee72b054a4