Commit Graph

40213 Commits

Author SHA1 Message Date
GCC Administrator
89769d19cc Daily bump.
From-SVN: r49010
2002-01-19 08:17:41 +00:00
Aldy Hernandez
4e98d04545 20020118-1.c: New.
2002-01-18  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/20020118-1.c: New.

From-SVN: r49007
2002-01-19 03:08:40 +00:00
Aldy Hernandez
1d690052f8 20020118-1.c: New.
2002-01-18  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/20020118-1.c: New.

        * tm.texi (STARTING_FRAME_PHASE): Document.

        * function.c (assign_stack_local_1): Adjust x_frame_offset with
        STARTING_FRAME_PHASE.
        (STARTING_FRAME_PHASE): New.
        (instantiate_virtual_regs): Check saneness of
        STARTING_FRAME_PHASE.

        * rs6000.h (STARTING_FRAME_PHASE): New.

From-SVN: r49006
2002-01-19 03:06:55 +00:00
Alexandre Oliva
4dd8c0932b * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
From-SVN: r49005
2002-01-19 02:54:14 +00:00
Craig Rodrigues
6f2a28d7b3 install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot be used for bootstrapping GCC 3.0.
2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
        be used for bootstrapping GCC 3.0.

From-SVN: r49001
2002-01-19 00:06:49 +00:00
Loren J. Rittle
46827fdd40 numeric_limits.cc (test_extrema<long double>): Add specialization for FreeBSD systems only to avoid losing test only due to...
* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
	Add specialization for FreeBSD systems only to avoid losing test
	only due to extra precision unmentioned in system headers.

From-SVN: r48997
2002-01-18 22:07:27 +00:00
Toon Moene
d7af7a9ace Makefile.in: Add missing `/' separator in last change.
2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Add missing `/' separator in last change.

From-SVN: r48995
2002-01-18 20:07:36 +00:00
Toon Moene
5784b11456 Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR) instead of...
2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR)
	instead of $(libsubdir)$(MULTISUBDIR).

From-SVN: r48994
2002-01-18 19:58:48 +00:00
David Edelsohn
1f7d54133e - Symmetrically define ffi_call_DARWIN for AIX.
From-SVN: r48993
2002-01-18 13:41:11 -05:00
Tom Tromey
80d1ee91f9 natPlainSocketImpl.cc: Include IllegalArgumentException.h.
* java/net/natPlainSocketImpl.cc: Include
	IllegalArgumentException.h.
	(_Jv_recv): New template function.
	(BooleanClass): Removed.
	(read): Use _Jv_recv.
	(setOption): Use Boolean::class$.  Throw exception if object is
	not Boolean or Integer.

From-SVN: r48992
2002-01-18 17:23:23 +00:00
Kazu Hirata
072f20ef71 * testsuite/gcc.c-torture/execute/20020118-1.c: New test.
From-SVN: r48991
2002-01-18 17:21:40 +00:00
Kazu Hirata
8763a46502 * config/h8300/h8300.md: Fix an insn length.
From-SVN: r48990
2002-01-18 17:19:59 +00:00
David Edelsohn
15b9b32f43 - Provide a null definition of _ffi_call_AIX so that Darwin link won't fail.
From-SVN: r48989
2002-01-18 11:22:34 -05:00
Kazu Hirata
3ef42a0c4f bitmap.h: Fix comment formatting.
* bitmap.h: Fix comment formatting.
	* combine.c: Likewise.
	* cppfiles.c: Likewise.
	* c-pragma.h: Likewise.
	* c-typeck.c: Likewise.
	* df.c: Likewise.
	* dwarf2out.c: Likewise.
	* function.c: Likewise.
	* gcc.c: Likewise.
	* genattrtab.c: Likewise.
	* gthr-win32.h: Likewise.
	* haifa-sched.c: Likewise.
	* predict.c: Likewise.
	* rtlanal.c: Likewise.
	* rtl.h: Likewise.
	* unwind-dw2-fde.h: Likewise.
	* unwind-pe.h: Likewise.
	* vmsdbgout.c: Likewise.

From-SVN: r48987
2002-01-18 13:40:36 +00:00
Jason Merrill
72f02bb9dc tweak so adjustment is necessary in v3 abi
From-SVN: r48986
2002-01-18 08:30:17 -05:00
Jason Merrill
e73c8e753c semantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER if we're in a template.
* semantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER
        if we're in a template.

From-SVN: r48985
2002-01-18 08:25:27 -05:00
Jason Merrill
cc0723165e also test with inlining
From-SVN: r48984
2002-01-18 08:24:04 -05:00
Jason Merrill
4ffbff5906 C++ ABI change: destroy value arguments in caller.
* calls.c (initialize_argument_information): Pass the address of
        the TARGET_EXPR temporary rather than storing it into another.

From-SVN: r48983
2002-01-18 08:23:23 -05:00
Jason Merrill
1c556b2274 re PR c++/3242 (Forwarding using 'using' of base members broken?)
PR c++/3242
        * class.c (add_method): Do compare 'this' quals when trying to match a
        used function.  Don't defer to another used function.

From-SVN: r48982
2002-01-18 08:21:35 -05:00
GCC Administrator
e6dc5a9a20 Daily bump.
From-SVN: r48980
2002-01-18 08:16:20 +00:00
David Billinghurst
d428652688 ctype_noninline.h: Fix typo
2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>

	* config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo

From-SVN: r48979
2002-01-18 04:29:28 +00:00
H.J. Lu
b634ad4263 Makefile.in (all-fastjar): Also depend on all-libiberty.
2002-01-17  H.J. Lu <hjl@gnu.org>

	* Makefile.in (all-fastjar): Also depend on all-libiberty.
	(all-target-fastjar): Also depend on all-target-libiberty.

From-SVN: r48976
2002-01-17 17:15:47 -08:00
Tom Tromey
10185e3886 MenuComponent.java: Merged with Classpath.
* java/awt/MenuComponent.java: Merged with Classpath.
	* java/awt/MenuItem.java: Merged with Classpath.
	* java/awt/Button.java: Merged with Classpath.

From-SVN: r48975
2002-01-18 01:01:58 +00:00
Nick Clifton
ccc643e212 oops - incorrect changelog for previous delta
From-SVN: r48974
2002-01-17 23:40:23 +00:00
Nick Clifton
c429752231 fix typo in comment
From-SVN: r48973
2002-01-17 23:37:43 +00:00
Tom Tromey
16348d58cd * java/awt/ActiveEvent.java: Updated copyright.
From-SVN: r48972
2002-01-17 23:23:29 +00:00
David Billinghurst
ee459e5e1b deprecated.C: Fix FAIL from "At global scope" message
2001-01-17  David Billinghurst <David.Billinghurst@riotinto.com>

	* g++.dg/other/deprecated.C: Fix FAIL from
	"At global scope" message
	* g++.dg/ext/align1.C: Fix fail on cygwin from maximum
	alignment warnings

From-SVN: r48971
2002-01-17 22:48:08 +00:00
David Edelsohn
088827831a - Add more information about interposing functions using runtime-linking.
From-SVN: r48970
2002-01-17 17:45:21 -05:00
David Billinghurst
6040e20043 i386-prefetch.exp: Save and restore torture_with_loops and torture_without_loops
2001-01-18  David Billinghurst <David.Billinghurst@riotinto.com>

	* gcc.misc-tests/i386-prefetch.exp: Save and restore
	torture_with_loops and torture_without_loops

From-SVN: r48968
2002-01-17 22:37:04 +00:00
Peter Schmid
715e561616 ctor_copy_dtor.cc: Remove check.
2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* testsuite/22_locale/ctor_copy_dtor.cc: Remove check.

From-SVN: r48967
2002-01-17 22:29:44 +00:00
Ira Ruben
1c22801965 Added my name (Ira Ruben) to write-after-approval list.
From-SVN: r48966
2002-01-17 22:03:36 +00:00
Richard Kenner
dd4dc3cd02 attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE if type_required and passed decl.
* attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
	if type_required and passed decl.

From-SVN: r48964
2002-01-17 15:34:40 -05:00
Aldy Hernandez
5fb4cf2456 config.gcc (cpu_type): Include altivec.h in powerpc extra_headers.
2002-01-17  Aldy Hernandez  <aldyh@redhat.com>

        * config.gcc (cpu_type): Include altivec.h in powerpc
        extra_headers.
        Same for darwin.

        * config/rs6000/altivec.h: New.

From-SVN: r48963
2002-01-17 20:07:06 +00:00
David Edelsohn
2705baf546 install.texi (*-ibm-aix*): Update assembler and exception handling information.
* doc/install.texi (*-ibm-aix*): Update assembler and exception
        handling information.
        * doc/trouble.texi (Interoperation): Add libstdc++ information
        for AIX.
        (Misunderstandings): Add template instantiation and static template
        member information for AIX.

From-SVN: r48962
2002-01-17 15:01:49 -05:00
Tom Tromey
c56664e09e AWTError.java: Replaced with Classpath version.
* java/awt/AWTError.java: Replaced with Classpath version.
	* java/awt/AWTException.java: Replaced with Classpath version.
	* java/awt/IllegalComponentStateException.java: Replaced with
	Classpath version.

From-SVN: r48961
2002-01-17 17:35:28 +00:00
David Edelsohn
34e3a8d58c * configure.target: Define OPT_LDFLAGS for AIX case.
From-SVN: r48958
2002-01-17 11:14:08 -05:00
David Edelsohn
c0abb59e6a - acsectionLDflags fix omitted from previous commit.
From-SVN: r48957
2002-01-17 11:11:26 -05:00
David Edelsohn
2f4006f8c7 Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
* Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
        (TARGET_SRC_POWERPC_AIX): New.
        (POWERPC_AIX): New stanza.
        * Makefile.in: Regenerate.
        * configure.in: Add AIX case.
        * configure: Regenerate.
        * include/ffi.h.in (ffi_abi): Add FFI_AIX.
        * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
        size.  Fix "long double" support.
        (ffi_call): Add FFI_AIX case.
        * src/powerpc/aix.S: New.

From-SVN: r48956
2002-01-17 11:04:21 -05:00
Gabriel Dos Reis
2bcb0aa081 std_limits.h (__glibcpp_float_has_quiet_NaN, [...]): Correct mispelling.
* include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
       __glibcpp_double_has_quiet_NaN): Correct mispelling.

From-SVN: r48955
2002-01-17 15:46:48 +00:00
Jason Merrill
821adc5ed7 * dbxout.c (dbxout_type): Support const and volatile.
From-SVN: r48954
2002-01-17 10:35:28 -05:00
Jason Merrill
dbd680e163 except.c (add_partial_entry): Remove backwards compatibility code.
* except.c (add_partial_entry): Remove backwards compatibility code.
        (end_protect_partials): Likewise.

From-SVN: r48951
2002-01-17 09:21:54 -05:00
Jason Merrill
cdd2559cec decl.c (begin_constructor_body, [...]): New fns.
* decl.c (begin_constructor_body, begin_destructor_body): New fns.
        (begin_function_body): Call them and keep_next_level.
        * init.c (emit_base_init): Call keep_next_level.
        * semantics.c (setup_vtbl_ptr): Lose.
        * cp-tree.h (struct cp_language_function): Remove vtbls_set_up_p.
        (vtbls_set_up_p): Lose.
        * pt.c (tsubst_expr, CTOR_INITIALIZER): Call emit_base_init.
        * method.c (do_build_copy_constructor): Likewise.
        (synthesize_method): Call finish_mem_initializers.
        * parse.y (nodecls): Likewise.

From-SVN: r48948
2002-01-17 08:07:27 -05:00
Jason Merrill
ad6b1795b1 error.c (dump_type_suffix): Print the exception specs before recursing.
* error.c (dump_type_suffix): Print the exception specs before
        recursing.
        (dump_function_decl): Here, too.

        * cp-tree.h (TMPL_PARMS_DEPTH): Cast to signed HOST_WIDE_INT.

From-SVN: r48947
2002-01-17 07:54:36 -05:00
Jakub Jelinek
d0e8287098 ia64.md (prologue_use): New.
* config/ia64/ia64.md (prologue_use): New.
	* config/ia64/ia64.c (ia64_expand_prologue): Use
	gen_prologue_use instead of gen_rtx_USE.
	(group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
	as CODE_FOR_pred_rel_mutex.
	(ia64_sched_reorder2): Likewise.

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

From-SVN: r48946
2002-01-17 13:07:58 +01:00
Andreas Tobler
02c361a472 ctype_noninline.h: Fix.
2002-01-17  Andreas Tobler  <toa@pop.agri.ch>

	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.

From-SVN: r48945
2002-01-17 09:56:42 +00:00
GCC Administrator
784dce6663 Daily bump.
From-SVN: r48943
2002-01-17 08:16:32 +00:00
Eric Christopher
f9f45c6543 r3900.h: Reformat.
2002-01-16  Eric Christopher  <echristo@redhat.com>

	* config/mips/r3900.h: Reformat.
	(SUBTARGET_CPP_SIZE_SPEC): Remove.
	* config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
	* config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
	(SUBTARGET_CPP_SIZE_SPEC): Rewrite.
	* config/mips/t-elf: Remove mips3 multilib.

From-SVN: r48942
2002-01-17 07:53:56 +00:00
David Edelsohn
654421eb8a acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear SECTION_LDFLAGS and OPT_LDFLAGS.
2002-01-16  David Edelsohn  <dje@watson.ibm.com>

	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
	SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r48941
2002-01-17 07:33:29 +00:00
Benjamin Kosnik
c55357682b Makefile.am (c_base_headers_rename): New.
2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am (c_base_headers_rename): New.
	(c_base_headers_extra): New.
	(stamp-c_base): Modify.
	(install-data-local): Use both.
	* include/Makefile.in: Regenerate.
	* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
	cstdio ctime cwctype]: Move to..
	* include/c/std_*: Here.
	* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
	cstdio ctime cwctype]: Move to..
	* include/c_std/std_*: Here.

	Alexandre Oliva  <aoliva@redhat.com>
	* include/Makefile.am (.PRECIOUS): Add rule.
	* include/Makefile.in: Regenerate.

From-SVN: r48940
2002-01-17 07:18:33 +00:00
Benjamin Kosnik
8f7a401515 stl_iterator.h (reverse_iterator::_M_current): Deuglify, should be current.
2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* include/bits/stl_iterator.h (reverse_iterator::_M_current):
	Deuglify, should be current.
	(back_insert_iterator::_M_container): Deuglify, should be container.
	(front_insert_iterator::_M_container): Same.
	(insert_iterator::_M_container): Same.
	* testsuite/24_iterators/reverse_iterator.cc: Add check.
	* testsuite/24_iterators/back_insert_iterator.cc: Add check.
	* testsuite/24_iterators/front_insert_iterator.cc: Same.
	* testsuite/24_iterators/insert_iterator.cc: Same.

2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.h (ctype<char>::classic_table): Make
	static.
	(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
	* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
	* config/os/newlib/bits/ctype_noninline.h: Same.
	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
	* config/os/hpux/bits/ctype_noninline.h: Same.
	* config/os/djgpp/bits/ctype_noninline.h: Same.
	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
	* config/os/aix/bits/ctype_noninline.h: Same.

	Testcase by Dietmar K�hl via Peter Schmid
	* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
	classic_table().

Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>

From-SVN: r48938
2002-01-17 03:59:42 +00:00