OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago2002-04-16 David S. Miller <davem@redhat.com>
davem [Wed, 17 Apr 2002 00:12:54 +0000 (00:12 +0000)]
2002-04-16  David S. Miller  <davem@redhat.com>

* xregex2.h (__restrict_arr): Define to __restrict on GCC
3.1 and later.  Do not redefine.

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

18 years agoRemove libchill
mmitchel [Tue, 16 Apr 2002 22:01:55 +0000 (22:01 +0000)]
Remove libchill

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

18 years ago2002-04-16 Dale Johannesen <dalej@apple.com>
dje [Tue, 16 Apr 2002 21:56:09 +0000 (21:56 +0000)]
2002-04-16  Dale Johannesen <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
        instruction addresses.
        (rs6000_output_function_epilogue): Likewise.

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

18 years ago2002-04-16 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 16 Apr 2002 18:35:13 +0000 (18:35 +0000)]
2002-04-16  Paolo Carlini  <pcarlini@unitus.it>

* c-parse.in (poplevel, compstmt_start,
compstmt_primary_start): Add ending ';', in accordance
with POSIX.

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

18 years ago * config.gcc (sparcv9-solaris): Configure for 64-bit default.
rth [Tue, 16 Apr 2002 18:05:20 +0000 (18:05 +0000)]
    * config.gcc (sparcv9-solaris): Configure for 64-bit default.
        Adjust tm_file order to get TARGET_DEFAULT set properly.
        (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
        * doc/install.texi (sparc-solaris): Update.

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

18 years ago Fix for PR libgcj/6081:
tromey [Tue, 16 Apr 2002 15:52:26 +0000 (15:52 +0000)]
Fix for PR libgcj/6081:
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Use GNU make trick to avoid
shell limit.

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

18 years ago2002-04-16 Adam King <aking@dreammechanics.com>
tromey [Tue, 16 Apr 2002 15:37:39 +0000 (15:37 +0000)]
2002-04-16  Adam King <aking@dreammechanics.com>
    Tom Tromey  <tromey@redhat.com>

* java/io/natFileWin32.cc (performList): Return the correct array
type.  Don't duplicate the creation of a File since it's already
done earlier in the method and the existing code would cause a
ArrayStoreException.  Don't use fixed-size array.
(_access, _stat, attr, getCanonicalPath, performMkdir,
performRenameTo): Don't use fixed-size array.
(getCanonicalPath): Use throw, not _Jv_Throw.

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

18 years ago2002-04-16 Dale Johannesen <dalej@apple.com>
dje [Tue, 16 Apr 2002 15:25:30 +0000 (15:25 +0000)]
2002-04-16  Dale Johannesen <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
        comparison operands do not match each other or if modes of
        conditions do not match result.

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

18 years ago target/6305
hpenner [Tue, 16 Apr 2002 12:43:26 +0000 (12:43 +0000)]
 target/6305
        * config/s390/s390.md (mulsidi3): Set both subregs of the
        multiword register.

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

18 years agoDaily bump.
gccadmin [Tue, 16 Apr 2002 07:18:05 +0000 (07:18 +0000)]
Daily bump.

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

18 years ago2002-04-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 16 Apr 2002 06:40:40 +0000 (06:40 +0000)]
2002-04-16  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_addc): Type check.

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

18 years ago PR target/6303
jakub [Tue, 16 Apr 2002 06:18:47 +0000 (06:18 +0000)]
PR target/6303
* dwarf2out.c (rtl_for_decl_location): Call ASM_SIMPLIFY_DWARF_ADDR
before returning.
* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT only
when inside of MEM by eliminating the indirection too.
* config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Define.
* config/s390/s390.c (s390_simplify_dwarf_addr): New.
* config/s390/s390-protos.h (s390_simplify_dwarf_addr): Add
prototype.

* gcc.dg/20020415-1.c: New test.

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

18 years ago PR middle-end/6279
jakub [Tue, 16 Apr 2002 06:09:39 +0000 (06:09 +0000)]
PR middle-end/6279
* expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.

* expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.

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

18 years ago * decl.c (register_dtor_fn): Pass the address of dso_handle, not
mmitchel [Tue, 16 Apr 2002 03:17:57 +0000 (03:17 +0000)]
* decl.c (register_dtor_fn): Pass the address of dso_handle, not
dso_handle itself, to __cxa_atexit.

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

18 years ago * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
rth [Tue, 16 Apr 2002 03:01:17 +0000 (03:01 +0000)]
    * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
        call_really_used_regs too.

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

18 years ago2002-04-16 Paolo Carlini <pcarlini@unitus.it>
gdr [Tue, 16 Apr 2002 02:29:22 +0000 (02:29 +0000)]
2002-04-16  Paolo Carlini <pcarlini@unitus.it>
        * testsuite/24_iterators/rel_ops.cc: New test.

2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

        * include/bits/type_traits.h (__normal_iterator): Declare in
        __gnu_cxx.  Adjust use at global namespace.
        * include/bits/stl_iterator.h (__normal_iterator): Move
        definition
        into __gnu_cxx::. Add more operator overloads.  Tidy existing
        ones.
        * include/bits/basic_string.h (basic_string): Adjust use of
        __normal_iterator.
        * include/bits/stl_vector.h (_Alloc>): Likewise.
        * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now
        here.
        * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.

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

18 years ago* configure.in: Allow building in $srcdir.
dj [Tue, 16 Apr 2002 02:03:03 +0000 (02:03 +0000)]
* configure.in: Allow building in $srcdir.
* configure: Regenerated.

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

18 years ago * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
rth [Tue, 16 Apr 2002 01:16:35 +0000 (01:16 +0000)]
    * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.

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

18 years ago2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 16 Apr 2002 00:45:36 +0000 (00:45 +0000)]
2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/4164
Valgrind fixes.
* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
Call close.
(__basic_file::close): Call fflush. Correct return if fclose ok.
(__basic_file::is_open): Make const.
Change __c_file_type to __c_file.
* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
(__basic_file::is_open): Make const.
* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
(filebuf::_M_unbuf): Add.
(filebuf::_M_file): Change to non-pointer.
(filebuf::_M_allocate_pback_buffer): Remove.
* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
Change initialization list for _M_file change.
(filebuf::_M_allocate_pback_buffer): Remove.
Change _M_file usage to reflect non-pointer data member.

* config/locale/generic/c_locale.cc
(locale::facet::_S_create_c_locale): Add parameter.
* config/locale/generic/collate_members.cc: Change
_M_compare_helper to _M_compare.
Change _M_transform_helper to _M_transform.
* config/locale/generic/monetary_members.cc: Changeup data types.
Add dtors.
* config/locale/generic/numeric_members.cc: Add dtors.
* config/locale/generic/time_members.cc: Add dtors.
* config/locale/gnu/c_locale.cc: Add parameter.
* config/locale/gnu/collate_members.cc:Change
_M_compare_helper to _M_compare.
Change _M_transform_helper to _M_transform.
* config/locale/gnu/ctype_members.cc: Better error checking.
* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
* config/locale/gnu/messages_members.cc: Tweak comment.
* config/locale/gnu/monetary_members.cc: Change data types.
Add dtors.
* config/locale/gnu/numeric_members.cc: Add dtors, better error
checking.
* config/locale/gnu/time_members.cc: Same.
* config/locale/ieee_1003.1-2001/c_locale.cc
(locale::facet::_S_create_c_locale): Add parameter.
* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
bogus ctor.

* include/bits/locale_facets.h (moneypunct): Use string literals.
Don't define dtor.
(numpunct): Same.
(__timepunct): Same.
(locale::_Impl::_M_facets): Change from vector to array.
(locale::_Impl::_M_names): Change from array of strings to array
of string literals.
(locale::facet::_S_create_c_locale): Add parameter.
(locale::locale::_S_num_facets): Move to...
(locale::_Impl::_M_facets_size): Here.
* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
changes.
* include/bits/localefwd.h: (locale::id::_M_id): Add member function.
(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
(locale::_Impl::_Impl(string, size_t)): Change to
(locale::_Impl::_Impl(const char*, size_t)): This.

* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
(streambuf::_S_pback_size): This.

* src/globals.cc: Add pre-allocations for "C" facets.
* src/locale-inst.cc: Remove vector instantiations.
* src/locale.cc: Remove vector include. Fixups for _M_names,
_M_facets changes.
* src/localename.cc: Same.

* include/bits/stl_vector.h: Fix odd formatting.

* include/bits/basic_string.tcc: Tweak comment.

* libsupc++/new: Make sure parameters are uglified.
* libsupc++/typeinfo: Same.

* testsuite/22_locale/num_get_members_char.cc: Fixup.
* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
* testsuite/27_io/filebuf_members.cc: Same.

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

18 years ago2002-04-15 David S. Miller <davem@redhat.com>
davem [Mon, 15 Apr 2002 23:12:58 +0000 (23:12 +0000)]
2002-04-15  David S. Miller  <davem@redhat.com>

* rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
as being CLOBBERed.

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

18 years ago PR c/6290
jakub [Mon, 15 Apr 2002 22:39:10 +0000 (22:39 +0000)]
PR c/6290
* config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
CONST_VECTOR is { 0, ... 0 }.

* gcc.dg/altivec-5.c: New test.

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

18 years ago* acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory,
dj [Mon, 15 Apr 2002 21:59:09 +0000 (21:59 +0000)]
* acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory,
too.
(CYG_AC_PATH_TKCONFIG): Likewise.

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

18 years ago * doc/install.texi (Installing GCC: Configuration): Clarify
ljrittle [Mon, 15 Apr 2002 21:28:46 +0000 (21:28 +0000)]
    * doc/install.texi (Installing GCC: Configuration): Clarify
        the only supported ways to configure gcc.

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

18 years ago * config.gcc (alpha*-*-gnu*): New target configuration.
rth [Mon, 15 Apr 2002 20:44:35 +0000 (20:44 +0000)]
    * config.gcc (alpha*-*-gnu*): New target configuration.
        * config/alpha/gnu.h: New file for it.
        * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.

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

18 years ago * aclocal.m4 (gcc_version_trigger): Use robust path construction.
ljrittle [Mon, 15 Apr 2002 20:42:28 +0000 (20:42 +0000)]
* aclocal.m4 (gcc_version_trigger): Use robust path construction.
* configure: Rebuilt.

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

18 years ago * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
rth [Mon, 15 Apr 2002 20:35:31 +0000 (20:35 +0000)]
    * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
        config/i386/linux-aout.h, config/i386/linux-oldld.h,
        config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
        config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
        config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
        config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
        config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
        Define __gnu_linux__, not gnu_linux.
        * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.

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

18 years ago * MAINTAINERS: Remove chill maintainers.
mmitchel [Mon, 15 Apr 2002 20:19:23 +0000 (20:19 +0000)]
* MAINTAINERS: Remove chill maintainers.
* Makefile.in (CHILLFLAGS): Remove.
(CHILL_LIB): Remove.
(TARGET_CONFIGDIRS): Remove libchill.
(CHILL_FOR_TARGET): Remove.
(BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
CHILL_LIB.
(CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
(CHECK_TARGET_MODULES): Likewise.
(INSTALL_TARGET_MODULES): Likewise.
(CLEAN_TARGET_MODULES): Likewise.
(configure-target-libchill): Remove.
(all-target-libchill): Remove.
* configure.in (target_libs): Remove target-libchill.
Do not compute CHILL_FOR_TARGET.
* libchill: Remove directory.

Remove Chill front end.
* gcc.c (default_compilers): Remove Chill entries.
* ch: Remove directory.
* doc/frontends.texi: Remove information about Chill.
* doc/sourcebuild.texi: Likewise.
* doc/standards.texi: Likewise.

* testsuite/lib/chill.exp: Remove.

* g77.texi: Remove Chill reference.

* gcc_release (build_tarfiles): Do not build Chill tarfiles.
(CHILL_DIRS): Remove.

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

18 years ago * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
kenner [Mon, 15 Apr 2002 10:53:36 +0000 (10:53 +0000)]
* config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
(LONGLONG_STANDALONE): Define.

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

18 years ago2002-04-15 David S. Miller <davem@redhat.com>
davem [Mon, 15 Apr 2002 10:11:16 +0000 (10:11 +0000)]
2002-04-15  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.c (sparc_emit_float_lib_cmp):
Call emit_library_call with LCT_NORMAL.
(sparc_initialize_trampoline): Use LCT_foo instead of
magic constant in emit_library_call invocations.
(sparc64_initialize_trampoline): Likewise.
(sparc_profile_hook): Likewise.
* config/sparc/sparc.md: Likewise.

* config/sparc/sparc.c (sparc_extra_constraint_check):
Fix type of argument 'c'.
* config/sparc/sparc-protos.h (sparc_extra_constraint_check):
Likewise.

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

18 years ago Fix for PR java/6085:
bryce [Mon, 15 Apr 2002 09:25:29 +0000 (09:25 +0000)]
    Fix for PR java/6085:
        * parse.y (patch_method_invocation): Always use build_access_to_thisn
        to get enclosing "this" argument for inner-class constructor
        invocation. Pass correct arguments to build_access_to_thisn.

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

18 years agoDaily bump.
gccadmin [Mon, 15 Apr 2002 07:16:53 +0000 (07:16 +0000)]
Daily bump.

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

18 years ago * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
mark [Mon, 15 Apr 2002 03:21:00 +0000 (03:21 +0000)]
    * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
        * java/net/natSocketImpl.cc (close): Likewise.

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

18 years ago2002-04-14 Mark Wielaard <mark@klomp.org>
mark [Mon, 15 Apr 2002 03:15:23 +0000 (03:15 +0000)]
2002-04-14  Mark Wielaard <mark@klomp.org>

        * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.

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

18 years ago2002-04-13 Adam King <aking@dreammechanics.com>
mark [Mon, 15 Apr 2002 03:11:12 +0000 (03:11 +0000)]
2002-04-13  Adam King <aking@dreammechanics.com>

        * java/lang/natDouble.cc (parseDouble): Allow a number to end with
        the f/F/d/D modifiers.

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

18 years ago * diagnostic.h (output_buffer_state): Redefine.
gdr [Sun, 14 Apr 2002 23:35:36 +0000 (23:35 +0000)]
* diagnostic.h (output_buffer_state): Redefine.
(output_format_decoder): New macro.
(output_prefixing_rule): Likewise.
(output_line_cutoff): Likewise.
(diagnostic_format_decoder): Adjust.
(diagnostic_prefixing_rule): Likewise.
(diagnostic_line_cutoff): Likewise.
(diagnostic_state): Likewise.
(diagnostic_kind_count): Likewise.
(diagnostic_buffer): Now a macro.

* diagnostic.c (diagnostic_buffer): Remove definition.
(output_is_line_wrapping): Adjust.
(set_real_maximum_length): Likewise.
(output_set_maximum_length): Likewise.
(init_output_buffer): Likewise.
(lhd_print_error_function): Likewise.
(output_do_verbatim): Likewise.

cp/
* error.c (cxx_print_error_function): Adjust call to macros.

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

18 years ago * libjava.mauve/xfails: Expect failures for PR libgcj/6302 and
mark [Sun, 14 Apr 2002 22:37:56 +0000 (22:37 +0000)]
    * libjava.mauve/xfails: Expect failures for PR libgcj/6302 and
        libgcj/6298.

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

18 years ago * class.c (layout_virtual_bases): Do all dsize computation on trees.
jakub [Sun, 14 Apr 2002 20:55:48 +0000 (20:55 +0000)]
* class.c (layout_virtual_bases): Do all dsize computation on trees.

* g++.dg/other/big-struct.C: New test.

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

18 years ago * cpperror.c (print_location): Don't print include chain
neil [Sun, 14 Apr 2002 18:42:47 +0000 (18:42 +0000)]
* cpperror.c (print_location): Don't print include chain
if line == 0.
(cpp_begin_message): Update to use DL_ macros.
(cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
cpp_notice, cpp_notice_from_errno): Remove.
(cpp_error, cpp_error_with_line): Update to take a diagnostic
level.
(cpp_errno): New.
* cppexp.c (CPP_ICE): Remove.
(SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
lex, integer_overflow, _cpp_parse_expr): Update.
* cppfiles.c (read_include_file, find_include_file,
handle_missing_header, _cpp_read_file, remap_filename): Update.
* cpphash.h (enum error_type): Remove.
(_cpp_begin_message): Update.
* cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
cpp_handle_option, cpp_post_options): Update.
* cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
skip_whitespace, parse_identifier, parse_slow, parse_string,
_cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
cpp_interpret_charconst): Update.
* cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
lex_macro_node, do_undef, glue_header_name, parse_include,
do_include_common, read_flag, do_line, do_linemarker, do_ident,
cpp_register_pragma, do_pragma_once, do_pragma_system_header,
do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
do_elif, do_endif, parse_answer, parse_assertion, do_assert,
_cpp_pop_buffer, do_diagnostic): Update.
* cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
(cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
cpp_notice, cpp_notice_from_errno): Remove.
(cpp_error, cpp_error_with_line): Update to take a diagnostic
level.
(cpp_errno): New.
* cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
collect_args, enter_macro_context, save_parameter, parse_params,
_cpp_create_definition, check_trad_stringification,
cpp_macro_definition): Update.
* cppmain.c (cpp_preprocess_file): Update.
* fix-header.c (read_scan_file): Update.

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

18 years ago * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
schwab [Sun, 14 Apr 2002 16:00:18 +0000 (16:00 +0000)]
* config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.

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

18 years ago * libjava.mauve/xfails: Expect failures for PR libgcj/6293,
mark [Sun, 14 Apr 2002 15:03:31 +0000 (15:03 +0000)]
* libjava.mauve/xfails: Expect failures for PR libgcj/6293,
libgcj/6295, libgcj/6296 and libgcj/6297.

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

18 years ago * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
jason [Sun, 14 Apr 2002 14:27:33 +0000 (14:27 +0000)]
    * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.

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

18 years ago2002-04-12 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Sun, 14 Apr 2002 13:46:24 +0000 (13:46 +0000)]
2002-04-12  David Billinghurst <David.Billinghurst@riotinto.com>

* g77.dg/f77-edit-i-in.f: Use internal buffer in place
of scratch file.

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

18 years ago * typeck.c (get_member_function_from_ptrfunc): Don't do
jason [Sun, 14 Apr 2002 13:14:52 +0000 (13:14 +0000)]
    * typeck.c (get_member_function_from_ptrfunc): Don't do
        gratuitious division and multiplication on
        ptrmemfunc_vbit_in_delta targets.

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

18 years ago2002-04-14 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Sun, 14 Apr 2002 11:52:25 +0000 (11:52 +0000)]
2002-04-14  David Billinghurst <David.Billinghurst@riotinto.com>

PR c/6277
* gcc.dg/i386-387-1.c:  Allow optional leading underscore
in scan-assembler function name

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

18 years agoDaily bump.
gccadmin [Sun, 14 Apr 2002 07:17:01 +0000 (07:17 +0000)]
Daily bump.

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

18 years ago * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
mmitchel [Sat, 13 Apr 2002 22:10:56 +0000 (22:10 +0000)]
* config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
not gnu_hurd.

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

18 years ago * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
hp [Sat, 13 Apr 2002 20:16:13 +0000 (20:16 +0000)]
* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.

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

18 years ago2002-04-13 Joel Sherrill <joel@OARcorp.com>
joel [Sat, 13 Apr 2002 19:47:57 +0000 (19:47 +0000)]
2002-04-13 Joel Sherrill <joel@OARcorp.com>

* config/sparc/t-elf: Enable v8 multilibs.  Impacts
sparc-elf and sparc-rtems targets.

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

18 years ago2002-04-13 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 13 Apr 2002 19:41:29 +0000 (19:41 +0000)]
2002-04-13  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Deprecate frontend version number;
update list of fixed bugs.

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

18 years ago * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
mmitchel [Sat, 13 Apr 2002 19:21:08 +0000 (19:21 +0000)]
* alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
defined, and __gnu_hurd__ wherever __GNU__ is defined.
* arm/linux-elf.h: Likewise.
* cris/aout.h: Likewise.
* cris/linux.h: Likewise.
* i370/linux.h: Likewise.
* i386/gnu.h: Likewise.
* i386/linux-aout.h: Likewise.
* i386/linux-oldld.h: Likewise.
* i386/linux.h: Likewise.
* i386/linux64.h: Likewise.
* ia64/linux.h: Likewise.
* m68k/linux-aout.h: Likewise.
* m68k/linux.h: Likewise.
* mips/linux.h: Likewise.
* pa/pa-linux.h: Likewise.
* pj/linux.h: Likewise.
* rs6000/sysv4.h: Likewise.
* s390/linux.h: Likewise.
* sh/linux.h: Likewise.
* sparc/linux-aout.h: Likewise.
* sparc/linux.h: Likewise.
* sparc/linux64.h: Likewise.
* xtensa/linux.h: Likewise.

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

18 years ago * g77.f-torture/execute/980628-4.x,
hp [Sat, 13 Apr 2002 12:05:53 +0000 (12:05 +0000)]
* g77.f-torture/execute/980628-4.x,
g77.f-torture/execute/980628-5.x,
g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x,
g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x,
g77.f-torture/compile/alpha1.x: xfail powerpc-*-* hosted on
i[34567]86-*-*.

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

18 years ago2002-04-13 David S. Miller <davem@redhat.com>
davem [Sat, 13 Apr 2002 10:32:46 +0000 (10:32 +0000)]
2002-04-13  David S. Miller  <davem@redhat.com>

* gcc.c-torture/execute/20020413-1.c: New test.

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

18 years ago * gcc.dg/asm-6.c,
rsandifo [Sat, 13 Apr 2002 09:33:01 +0000 (09:33 +0000)]
* gcc.dg/asm-6.c,
* g++.dg/ext/asm1.C: New tests.

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

18 years ago * stmt.c (check_unique_operand_names): Expect operand names to
rsandifo [Sat, 13 Apr 2002 09:29:03 +0000 (09:29 +0000)]
* stmt.c (check_unique_operand_names): Expect operand names to
be strings rather than identifiers.  Use simple_cst_equal to
compare them.
(resolve_operand_name_1): Make same identifier to string change here.
* c-parse.in (asm_operand): Convert a named operand into a string.
* cp/parse.y (asm_operand): Likewise.

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

18 years agoDaily bump.
gccadmin [Sat, 13 Apr 2002 07:16:56 +0000 (07:16 +0000)]
Daily bump.

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

18 years ago PR c++ 5373.
mmitchel [Sat, 13 Apr 2002 07:10:12 +0000 (07:10 +0000)]
PR c++ 5373.
* g++.dg/parse/stmtexpr1.C: New test.

PR c++/5373.
* semantics.c (finish_expr_stmt): Remember the type of the
expression before any conversions are performed.

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

18 years ago * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
schwab [Sat, 13 Apr 2002 01:59:10 +0000 (01:59 +0000)]
* config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).

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

18 years ago PR c++/5189.
mmitchel [Sat, 13 Apr 2002 01:33:23 +0000 (01:33 +0000)]
PR c++/5189.
* call.c (add_template_candidate_real): Do not treat member
templates as copy constructors.

PR c++/5189.
* g++.dg/template/copy1.C: New test.

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

18 years ago Revert these changes:
mmitchel [Sat, 13 Apr 2002 01:25:27 +0000 (01:25 +0000)]
Revert these changes:

2002-04-06  Mark Mitchell  <mark@codesourcery.com>

PR c++/5571
* stor-layout.c (layout_decl): Reset the RTL for the decl.

* decl.c (duplicate_decls): Do not copy the RTL for a variable
declaration if the old variable had an incomplete type and the new
variable does not.
(complete_vars): Do not call layout_decl for completed variables.

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

18 years ago * gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.
rth [Fri, 12 Apr 2002 23:55:05 +0000 (23:55 +0000)]
    * gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.

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

18 years agoMissed this entry in last commit
dj [Fri, 12 Apr 2002 23:17:54 +0000 (23:17 +0000)]
Missed this entry in last commit

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

18 years ago * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
rth [Fri, 12 Apr 2002 23:02:45 +0000 (23:02 +0000)]
    * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
        (sparc*-*-solaris): Clean up header files.
        * configure.in (AS_SPARC64_FLAG): Error out if can't find it
        and plan on generating 64-bit code.
        * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
        * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
        * config/sparc/sol2-sld-64.h: Rename ...
        * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
        for AS_SPARC64_FLAG not defined.
        * config/sparc/sol2-gld-bi.h: New.
        * config/sparc/sol2-sld.h: Remove.
        * config/sparc/sol26-sld.h: New.
        * config/sparc/sol2.h: Tidy comments.
        * doc/install.texi: Document sparc-solaris configury changes.

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

18 years ago * recog.c (offsettable_address_p): Match the logic in adjust_address.
rth [Fri, 12 Apr 2002 22:47:34 +0000 (22:47 +0000)]
    * recog.c (offsettable_address_p): Match the logic in adjust_address.

        * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
        in 64-bit mode only.  Use only for 32-bit or MEDLOW.

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

18 years ago * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
ljrittle [Fri, 12 Apr 2002 22:31:27 +0000 (22:31 +0000)]
* gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
does not define strtoll or strtoull, but does define strtol
and strtoul which are the same since in 64 bit mode
sizeof(long) == sizeof(long long).

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

18 years ago * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
ro [Fri, 12 Apr 2002 22:25:08 +0000 (22:25 +0000)]
* config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.

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

18 years agoFix typo in ChangeLog entry.
law [Fri, 12 Apr 2002 21:52:46 +0000 (21:52 +0000)]
Fix typo in ChangeLog entry.

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

18 years ago * pa.c (pa_can_combine_p): Call insn_extract before calling
law [Fri, 12 Apr 2002 21:43:17 +0000 (21:43 +0000)]
* pa.c (pa_can_combine_p): Call insn_extract before calling
constrain_operands.

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

18 years ago * gcc.c-torture/execute/20020412-1.c: New file, renamed from
geoffk [Fri, 12 Apr 2002 20:41:58 +0000 (20:41 +0000)]
* gcc.c-torture/execute/20020412-1.c: New file, renamed from
gcc.c-torture/execute/20020307-2.c.

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

18 years ago * config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.
kenner [Fri, 12 Apr 2002 19:56:00 +0000 (19:56 +0000)]
* config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.

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

18 years ago * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
kenner [Fri, 12 Apr 2002 19:47:45 +0000 (19:47 +0000)]
* config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
(TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
(DEFAULT_PCC_STRUCT_RETURN): Define as 0.
* config/i386/t-interix (USER_H): Remove.

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

18 years ago2002-04-12 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 12 Apr 2002 19:15:59 +0000 (19:15 +0000)]
2002-04-12  Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
trailing spaces, indentation, and macro names.  Make exception
messages more informative.

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

18 years ago* integrate.c (compare_blocks): Make comparisons safe for when
dj [Fri, 12 Apr 2002 18:37:56 +0000 (18:37 +0000)]
* integrate.c (compare_blocks): Make comparisons safe for when
sizeof(int) < sizeof(char *).
(find_block): Likewise.

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

18 years ago2002-04-12 Jan Hubicka <jh@suse.cz>
dje [Fri, 12 Apr 2002 16:57:47 +0000 (16:57 +0000)]
2002-04-12  Jan Hubicka  <jh@suse.cz>
            David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
        registers.
        (symbol_ref_operand): New.
        * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
        * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.

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

18 years agoFix botch in last commit.
green [Fri, 12 Apr 2002 14:51:37 +0000 (14:51 +0000)]
Fix botch in last commit.

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

18 years ago * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
schwab [Fri, 12 Apr 2002 14:41:01 +0000 (14:41 +0000)]
* config/ia64/ia64.h (ASM_SPEC): Moved from here ...
* config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
overrides the definition in config/svr4.h.

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

18 years agoAdd --extdirs support.
green [Fri, 12 Apr 2002 14:28:50 +0000 (14:28 +0000)]
Add --extdirs support.

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

18 years agoInstall libgcj.jar as libgcj-VERSION.jar.
green [Fri, 12 Apr 2002 14:28:10 +0000 (14:28 +0000)]
Install libgcj.jar as libgcj-VERSION.jar.

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

18 years ago2002-04-12 Eric Norum <eric.norum@usask.ca>
joel [Fri, 12 Apr 2002 13:35:03 +0000 (13:35 +0000)]
2002-04-12 Eric Norum <eric.norum@usask.ca>

* config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
config/v850/rtems.h (*-rtems*): Cleanup pass to move common
definitions to config/rtems.h and make the targets more similar.

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

18 years ago * expr.c (expand_assigment): Remove duplicate conversions #ifdef
kenner [Fri, 12 Apr 2002 12:33:24 +0000 (12:33 +0000)]
* expr.c (expand_assigment): Remove duplicate conversions #ifdef
POINTERS_EXTEND_UNSIGNED.
(store_constructor, expand_expr, case COMPONENT_REF): Likewise.
(store_expr): Use TYPE_MODE (sizetype), not ptr_mode.

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

18 years ago * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
kenner [Fri, 12 Apr 2002 12:17:59 +0000 (12:17 +0000)]
* emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
not specified.

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

18 years ago * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
amylaar [Fri, 12 Apr 2002 12:14:33 +0000 (12:14 +0000)]
* sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
depends on TARGET_SHMEDIA, not TARGET_SH5.

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

18 years ago * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
hp [Fri, 12 Apr 2002 11:31:25 +0000 (11:31 +0000)]
* function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
For paradoxical (subreg VAR), replace VAR, don't try the subreg.

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

18 years ago * g++.dg/ext/attrib5.C,
rsandifo [Fri, 12 Apr 2002 10:59:33 +0000 (10:59 +0000)]
* g++.dg/ext/attrib5.C,
* g++.dg/lookup/struct1.C: New tests.

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

18 years ago * sh.c (broken_move): Constant 0. / 1. load is OK if there is
amylaar [Fri, 12 Apr 2002 10:55:32 +0000 (10:55 +0000)]
* sh.c (broken_move): Constant 0. / 1. load is OK if there is
no r0 clobber.

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

18 years ago * decl.c (duplicate_decls): Don't try to unify an implicit typedef
rsandifo [Fri, 12 Apr 2002 10:55:27 +0000 (10:55 +0000)]
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
with an explicit one.
(follow_tag_typedef): New.
(lookup_tag): Use it to extract the tag of an explicit typedef.
(xref_tag): Likewise.

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

18 years agofix whitespace
jason [Fri, 12 Apr 2002 10:35:30 +0000 (10:35 +0000)]
fix whitespace

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

18 years ago2002-04-11 Andrew Haley <aph@redhat.com>
aph [Fri, 12 Apr 2002 09:08:17 +0000 (09:08 +0000)]
2002-04-11  Andrew Haley  <aph@redhat.com>

* typeck.c (type_after_usual_arithmetic_conversions):
If two types have the same variant, return immediately.
When two floating-point operands are the same precision:
  convert to float if one of the operands is float;
  if neither operand is one of the standard types, return the type
  of the first operand.

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

18 years ago * libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out:
ljrittle [Fri, 12 Apr 2002 08:33:13 +0000 (08:33 +0000)]
* libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out:
New test case.

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

18 years ago * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
schwab [Fri, 12 Apr 2002 08:27:54 +0000 (08:27 +0000)]
* config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.

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

18 years ago PR bootstrap/4191
rth [Fri, 12 Apr 2002 07:52:05 +0000 (07:52 +0000)]
    PR bootstrap/4191
        * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.

        * flow.c (mark_used_reg): Manage reg_cond_dead properly for
        modes spanning multiple hard regs.

        * recog.c (peephole2_optimize): Rebuild jump labels as needed.

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

18 years agoDaily bump.
gccadmin [Fri, 12 Apr 2002 07:17:27 +0000 (07:17 +0000)]
Daily bump.

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

18 years ago * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
rth [Fri, 12 Apr 2002 05:42:23 +0000 (05:42 +0000)]
* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
(basic_ostream<>::operator<<(long long)): Same.

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

18 years ago * pa.c (pa_output_function_prologue): Don't accumulate the total
danglin [Fri, 12 Apr 2002 02:30:52 +0000 (02:30 +0000)]
* pa.c (pa_output_function_prologue): Don't accumulate the total
number of code bytes when using TARGET_64BIT, or gas, SOM and not
the portable runtime.
(output_deferred_plabels): Handle 64bit plabels.
(output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
generating pic code using the GAS assembler for object formats that
are not SOM (ie., ELF32 and ELF64).
(output_millicode_call): Check attribute type if attribute length is 28.
Likewise use $PIC_pcrel$0.  Only call get_attr_length and
dbr_sequence_length once.
(output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
dbr_sequence_length once.
* pa.h (TARGET_SOM): Define if not defined.
* pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
with GAS and not SOM.
(jump, call_internal_reg, call_value_internal_reg): Likewise.
* som.h (OBJ_SOM): Rename to TARGET_SOM.  Undefine before defining.

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

18 years ago2002-04-11 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 12 Apr 2002 01:18:38 +0000 (01:18 +0000)]
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
* config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
(DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
(USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
elfos.h and dbxelf.h values are fine now.
* config/i386/freebsd.h, config/alpha/freebsd.h
(DEFAULT_PCC_STRUCT_RETURN): Define to 0.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411175216.B11442@redhat.com>

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

18 years ago * configure.host: Set can_unwind_signal on hosts which support it.
bryce [Fri, 12 Apr 2002 01:14:33 +0000 (01:14 +0000)]
* configure.host: Set can_unwind_signal on hosts which support it.
Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
* configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
exceptions and can_unwind_signal isn't set.
* configure: Rebuilt.

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

18 years ago2002-04-11 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 12 Apr 2002 01:08:20 +0000 (01:08 +0000)]
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
* config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
or set Acpu or Amachine.  Reformat.
(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
define.
(LINK_SPEC): Do not need to undef.
* config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
* config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
define.
* config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
(ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
(LINK_SPEC): Do not need to undef.
(DONT_USE_BUILTIN_SETJMP): Do not define.
* config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
(CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine.  Remove -Dia64.
(DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
Remove trailing spaces.
* config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
__ELF__, or set Acpu or Amachine.  Reformat.
(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
define.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411160138.A11250@redhat.com>

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

18 years ago2002-04-11 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 12 Apr 2002 00:54:42 +0000 (00:54 +0000)]
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
all other *-*-freebsd* targets.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411174756.A11442@redhat.com>

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

18 years ago * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
rth [Thu, 11 Apr 2002 23:43:02 +0000 (23:43 +0000)]
    * config.gcc (alpha*-*-linux*ecoff): Detect and reject.

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

18 years ago * config/linker-map.gnu: Add __gxx_personality_sj0.
rth [Thu, 11 Apr 2002 23:27:45 +0000 (23:27 +0000)]
    * config/linker-map.gnu: Add __gxx_personality_sj0.

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

18 years ago2002-04-11 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 11 Apr 2002 23:25:54 +0000 (23:25 +0000)]
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
Include {cpu}/{cpu}.h thru tm_file.
(alpha*-*-linux*ecoff): Remove target.
* config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
(LINK_SPEC): Remove, is not OS independent.
* config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
(LINK_SPEC): Do not need to #undef any longer.
* config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
any longer.
* config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
__ELF__.
(LINK_SPEC): Moved here from alpha/elf.h.
* config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
SUB_CPP_PREDEFINES.
* config/alpha/linux-ecoff.h: Remove.
* config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
(CPP_SPEC): Define _POSIX_SOURCE as needed.
(CPP_SUBTARGET_SPEC): Do not define.
(LINK_SPEC): Do not need to #undef any longer.
* config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
* config/alpha/vms.h: Likewise.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411152309.A11121@redhat.com>
      Message-ID: <20020411160159.B11250@redhat.com>
      Jason R Thorpe <thorpej@wasabisystems.com>
      Message-ID: <20020411161434.I4954@dr-evil.shagadelic.org>

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