Commit Graph

40201 Commits

Author SHA1 Message Date
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
H.J. Lu
c66c8b0e65 linux.h: Include "mips/abi64.h".
2002-01-16  H.J. Lu <hjl@gnu.org>

	* config/mips/linux.h: Include "mips/abi64.h".

From-SVN: r48937
2002-01-16 17:37:52 -08:00
H.J. Lu
5f083b7255 t-linux: New.
2002-01-16  H.J. Lu <hjl@gnu.org>

	* config/mips/t-linux: New.

	* config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.

	* config/mips/linux.h: Don't include "gofast.h".
	(INIT_SUBTARGET_OPTABS): Removed.

From-SVN: r48936
2002-01-16 17:22:02 -08:00
Kazu Hirata
af3c90a633 h8300-protos.h: Replace emit_a_shift with output_a_shift.
* config/h8300/h8300-protos.h: Replace emit_a_shift with
	output_a_shift.
	* config/h8300/h8300.c: Likewise.
	* config/h8300/h8300.md: Likewise.

From-SVN: r48935
2002-01-17 00:25:29 +00:00
Tom Tromey
4cd533411e Canvas.java (serialVersionUID): New constant.
* java/awt/Canvas.java (serialVersionUID): New constant.
	Updated copyright.  Added javadoc from Classpath.
	* java/awt/ItemSelectable.java: Replaced with Classpath version.

From-SVN: r48934
2002-01-16 23:56:25 +00:00
Tom Tromey
d8d27d73b0 CheckboxGroup.java: Merged with Classpath.
* java/awt/CheckboxGroup.java: Merged with Classpath.
	* java/awt/Checkbox.java: Merged with Classpath.

From-SVN: r48933
2002-01-16 23:40:04 +00:00
Tom Tromey
a82484a674 Dimension.java: Updated copyright.
* java/awt/Dimension.java: Updated copyright.  Added javadoc from
	Classpath.
	* java/awt/Point.java: Updated copyright.

From-SVN: r48932
2002-01-16 23:10:11 +00:00
Gerald Pfeifer
c10a75a734 gennews (files): Replace egcs-1.1/egcs-1.1.2.html...
* gennews (files): Replace egcs-1.1/egcs-1.1.2.html,
	egcs-1.1/egcs-1.1.1.html, and egcs-1.1/egcs-1.1.html by
	egcs-1.1/index.html.

From-SVN: r48930
2002-01-16 22:42:13 +00:00
Tom Tromey
a53c400d2a Point.java (toString): Use getClass().getName().
* java/awt/Point.java (toString): Use getClass().getName().
	Added javadoc.

From-SVN: r48929
2002-01-16 21:35:51 +00:00
Tom Tromey
0df2959645 More for PR java/5365:
* gjavah.c (print_stub_or_jni): Cause exception to be thrown by
	default.
	(process_file): Generate include for
	java.lang.UnsupportedOperationExceptions.

From-SVN: r48928
2002-01-16 21:18:36 +00:00
Kazu Hirata
a1bf0a1638 h8300.md (pushqi1_h8300): Use a tab instead of spaces after an opcode name.
* config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
	spaces after an opcode name.
	(pushqi1_h8300hs): Likewise.
	(pushhi1_h8300hs): Likewise.

From-SVN: r48927
2002-01-16 21:06:31 +00:00
Kazu Hirata
88ab0d1c81 extend.texi: Replace "option" with "attribute" appropriately.
* doc/extend.texi: Replace "option" with "attribute"
	appropriately.

From-SVN: r48926
2002-01-16 21:00:15 +00:00
Tom Tromey
510e283256 IdentityHashMap.java (IdentityHashMap): Removed commented code.
* java/util/IdentityHashMap.java (IdentityHashMap): Removed
	commented code.
	(hash): Correctly compute initial value for `h'.

From-SVN: r48925
2002-01-16 20:56:38 +00:00