Commit Graph

32035 Commits

Author SHA1 Message Date
DJ Delorie 7d4923724f print-tree.c (print_node): target-specific builtins print numbers, not names.
* print-tree.c (print_node): target-specific builtins print
numbers, not names.

From-SVN: r38004
2000-12-04 12:21:42 -05:00
Jason Merrill 62c0790555 stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, MODE_VECTOR_FLOAT.
* stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
        MODE_VECTOR_FLOAT.

        * diagnostic.c (report_problematic_module): s/function/module/.

        * c-lex.h: Remove decl for check_newline.

From-SVN: r38003
2000-12-04 12:14:16 -05:00
Jason Merrill c6e13630ab cp-demangle.c: s/new_abi/v3/.
* cp-demangle.c: s/new_abi/v3/.
        * cplus-dem.c: Likewise.
        (current_demangling_style): Now auto_demangling.
        (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
        (main): Use standard symbol chars for auto_demangling.

From-SVN: r38002
2000-12-04 12:11:17 -05:00
Magnus Fromreide c55d0e0d7b * sstream: Backport libstdc++-V3 sstream to V2.
From-SVN: r38000
2000-12-04 12:03:27 -05:00
Jason Merrill c00996a3ea mangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector".
* mangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector".
        (write_builtin_type): Pass intSI_type_node and the like through
        type_for_mode.
        * method.c (process_overload_item): Mangle VECTOR_TYPEs with 'o'.
        Pass intSI_type_node and the like through type_for_mode.
        * decl2.c (arg_assoc_type): Handle VECTOR_TYPE like COMPLEX_TYPE.
        * pt.c (tsubst, unify): Likewise.
        * tree.c (walk_tree): Likewise.
        * error.c (dump_type): Likewise.
        (dump_type_prefix, dump_type_suffix): Don't bother with VECTOR_TYPE.

        * Make-lang.in: Tweak top comment for emacs.
        (cp/TAGS): Restore.

        * except.c (expand_throw): Use push_throw_library_fn for _Jv_Throw.

        * pt.c (tsubst_decl): Call clone_function_decl here.
        (do_decl_instantiation): Not here.
        * class.c (clone_function_decl): Robustify.

        * decl.c (store_bindings): Only search in the non modified
        old_bindings for duplicates.

From-SVN: r37999
2000-12-04 12:00:04 -05:00
Jason Merrill d611079baa fix typo
From-SVN: r37998
2000-12-04 11:56:47 -05:00
Jason Merrill ebc7f29371 fix typo
From-SVN: r37997
2000-12-04 11:36:19 -05:00
Nathan Sidwell 00bb3dad40 error.c (dump_function_decl): Use DECL_VIRTUAL_P, not TYPE_POLYMORPHIC_P.
cp:
	* error.c (dump_function_decl): Use DECL_VIRTUAL_P, not
	TYPE_POLYMORPHIC_P.

	* typeck.c (build_static_cast): Remove unused variable.

From-SVN: r37996
2000-12-04 16:36:04 +00:00
Gerald Pfeifer ae50db03d7 * README.APOLLO: Remove obsolete file.
From-SVN: r37995
2000-12-04 11:57:51 +00:00
Warren Levy 9de488f698 TimeZone.java (getAvailableIDs): Activated commented out code dependent on compiler and library changes.
* java/util/TimeZone.java (getAvailableIDs): Activated commented
	out code dependent on compiler and library changes.

From-SVN: r37994
2000-12-04 10:24:38 +00:00
Warren Levy 21a160075e FilePermission.java: Made class final per spec.
* java/io/FilePermission.java: Made class final per spec.
	* java/text/DecimalFormatSymbols.java (setCurrencySymbol): Changed
	method name to match spec (fixed typo).
	* java/util/LinkedList.java: Implements List.

From-SVN: r37993
2000-12-04 10:20:00 +00:00
Jeff Law 98d9a8e66c Daily bump.
From-SVN: r37992
2000-12-04 01:45:08 -07:00
Bryce McKinlay 64fc0133eb natDouble.cc: Include fdlibm.h, not mprec.h.
* java/lang/natDouble.cc: Include fdlibm.h, not mprec.h. From
	Edgar Villanueva <edgarvil@home.com>.

From-SVN: r37991
2000-12-04 08:22:34 +00:00
Neil Booth 6951bc4a54 * cppinternals.texi: New file.
From-SVN: r37990
2000-12-04 07:34:21 +00:00
Neil Booth 614c7d3716 cppfiles.c (cpp_make_system_header): Take 2 booleans, and operate on current buffer.
* cppfiles.c (cpp_make_system_header): Take 2 booleans,
        and operate on current buffer.
        (cpp_read_file): Rename _cpp_read_file.
        * cpplib.c (do_line, do_pragma_system_header): Update calls to
        cpp_make_system_header.
        * fix-header.c: Similarly.
        * cpphash.h (_cpp_read_file): Move from...
        * cpplib.h: ... here.
        * cppinit.c (do_includes, cpp_start_read): Update appropriately.

From-SVN: r37989
2000-12-04 07:32:04 +00:00
Tom Tromey 2936419d1c Point2D.java: Added protected constructor.
* java/awt/geom/Point2D.java: Added protected constructor.
	(equals): New method.
	(Float.setLocation(float,float)): New method.
	* java/awt/geom/Dimension2D.java: Added protected constructor.
	* java/awt/geom/AffineTransform.java: Made all constants public.
	(concatenate): Fixed typo in name.
	* java/awt/event/WindowAdapter.java: Class now abstract.
	* java/awt/event/KeyEvent.java (CHAR_UNDEFINED): Now final.
	* java/awt/event/FocusEvent.java: Extend ComponentEvent, not
	AWTEvent.

From-SVN: r37988
2000-12-04 02:27:21 +00:00
Tom Tromey c06093a0a3 AWTError.java: Extend Error, not IllegalStateException.
* java/awt/AWTError.java: Extend Error, not
	IllegalStateException.

From-SVN: r37987
2000-12-04 01:54:34 +00:00
Kaveh R. Ghazi 611b1df48a builtins.c (expand_builtin_strspn, [...]): Handle another transformation.
* builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
	Handle another transformation.

testsuite:
	* gcc.c-torture/execute/string-opt-11.c: Add more strspn checks.
	* gcc.c-torture/execute/string-opt-12.c: Add more strcspn checks.

From-SVN: r37986
2000-12-04 01:07:47 +00:00
Nick Clifton 55deb0468d Note XScale contribution.
From-SVN: r37985
2000-12-04 00:23:49 +00:00
Nick Clifton d19fb8e325 Add support for XScale target
Add support for StrongARM target

From-SVN: r37984
2000-12-04 00:23:35 +00:00
Joseph Myers accc8668e3 * gcc.c-torture/execute/20001203-1.c: New test.
From-SVN: r37983
2000-12-04 00:06:12 +00:00
Richard Henderson 250d07b61f bb-reorder.c (reorder_basic_blocks): Don't check for EH edges unless exception handling is enabled...
* bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
        unless exception handling is enabled, and if not using sjlj.

        * builtins.c (expand_builtin_setjmp_setup): New.
        (expand_builtin_setjmp_receiver): New.
        (expand_builtin_setjmp): Split out _setup and _receiver functions.
        Move argument parsing in from ...
        (expand_builtin): ... here.
        * except.c (receive_exception_label): Branch around receiver
        unless new-style exceptions.  Call expand_builtin_setjmp_receiver.
        (start_dynamic_handler): Call expand_builtin_setjmp_setup.
        * expr.h: Update builtin setjmp decls.

From-SVN: r37982
2000-12-03 15:58:44 -08:00
Joseph Myers 2702080f01 configopts.html, [...]: Sync with wwwdocs.
* docs/configopts.html, docs/documentation.html,
	docs/install.html, docs/17_intro/BADNAMES,
	docs/17_intro/contribute.html, docs/17_intro/howto.html,
	docs/18_support/howto.html, docs/19_diagnostics/howto.html,
	docs/20_util/howto.html, docs/21_strings/howto.html,
	docs/22_locale/howto.html, docs/23_containers/howto.html,
	docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
	docs/26_numerics/howto.html, docs/27_io/howto.html,
	docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
	with wwwdocs.

From-SVN: r37981
2000-12-03 23:47:49 +00:00
Tom Tromey f933fd9286 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added new file.
	* java/awt/geom/RoundRectangle2D.java: New file.

From-SVN: r37980
2000-12-03 21:21:52 +00:00
Bruce Korb 5c032c4d31 default the build machine triplet, if it is not provided
From-SVN: r37979
2000-12-03 20:40:17 +00:00
Laurynas Biveinis 3769600a84 Makefile.in: use $(build_canonical), not $(canonical_build).
2000-12-03  Laurynas Biveinis  <lauras@softhome.net>

	* Makefile.in: use $(build_canonical), not $(canonical_build).

From-SVN: r37978
2000-12-03 19:41:45 +00:00
Bernd Schmidt b4ead7d413 Move the region scheduling code out of haifa-sched.c.
From-SVN: r37977
2000-12-03 19:00:00 +00:00
Laurynas Biveinis f415f5a4ca pass canonical build name to mkfixinc.sh. Use it for choosing the fix build method
Co-Authored-By: Bruce Korb <bkorb@gnu.org>

From-SVN: r37976
2000-12-03 17:30:16 +00:00
Bernd Schmidt 16f6ece642 Move dependency code out of haifa-sched.c
From-SVN: r37975
2000-12-03 16:11:45 +00:00
Bernd Schmidt c62c265908 Move scheduling visualization code to separate file.
From-SVN: r37974
2000-12-03 14:35:17 +00:00
Bernd Schmidt 1708fd40bb Try to separate region-specific code from generic parts in the scheuler.
From-SVN: r37973
2000-12-03 12:53:49 +00:00
Neil Booth 881bc7db37 * gcc.dg/cpp/macro6.c: New test cases.
From-SVN: r37972
2000-12-03 12:07:40 +00:00
Neil Booth 8aaef6e0c9 cppmacro.c (funlike_invocation_p): Re-disable macros enabled by contexts drops AFTER argument pre-expansion...
* cppmacro.c (funlike_invocation_p): Re-disable macros enabled
        by contexts drops AFTER argument pre-expansion, so that they
        remain enabled during argument pre-expansion.
        (_cpp_pop_context): Unconditionally re-enable a macro when
        dropping a context level.

From-SVN: r37971
2000-12-03 12:06:23 +00:00
Manfred Hollstein 94a3d3b9c3 t-linux (MULTILIB_OPTIONS): Comment.
* arm/t-linux (MULTILIB_OPTIONS): Comment.
	(MULTILIB_DIRNAMES): Likewise.
	(EXTRA_MULTILIB_PARTS): Likewise.
	(LIBGCC): Likewise.
	(INSTALL_LIBGCC): Likewise.

From-SVN: r37970
2000-12-03 09:47:29 +00:00
Jeff Law bd165d078b Daily bump.
From-SVN: r37969
2000-12-03 01:45:08 -07:00
Tom Tromey a048c5b550 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added new file.
	* java/awt/FlowLayout.java: New file.

From-SVN: r37968
2000-12-03 08:28:35 +00:00
Tom Tromey 8538fd010e Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added new file.
	* java/awt/GridLayout.java: New file.

From-SVN: r37967
2000-12-03 07:16:20 +00:00
David Edelsohn cf466d6976 - fix line which did not get committed properly
From-SVN: r37966
2000-12-03 02:08:48 -05:00
Tom Tromey 673953d6a5 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added new files.
	* java/awt/CardLayout.java: New file.
	* java/awt/AWTPermission.java: New file.

From-SVN: r37965
2000-12-03 06:34:54 +00:00
Kaveh R. Ghazi d118937d79 builtins.c (expand_builtin_strcat, [...]): New functions.
* builtins.c (expand_builtin_strcat, expand_builtin_strncat,
	expand_builtin_strspn, expand_builtin_strcspn): New functions.
	(expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
	BUILT_IN_STRSPN and BUILT_IN_STRCSPN.

	* builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
	BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.

	* c-common.c (c_common_nodes_and_builtins): Declare builtin
	strcat, strncat, strspn and strcspn.
	(string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.

	* extend.texi (strcat, strcspn, strncat, strspn): Document new
	builtins.

testsuite:
	* gcc.c-torture/execute/string-opt-9.c: New test.
	* gcc.c-torture/execute/string-opt-10.c: Likewise.
	* gcc.c-torture/execute/string-opt-11.c: Likewise.
	* gcc.c-torture/execute/string-opt-12.c: Likewise.

From-SVN: r37964
2000-12-03 03:46:03 +00:00
Kaveh R. Ghazi ca8034a0ea builtins.c (expand_builtin_strcmp): Use const*_rtx when expanding strcmp at compile-time.
* builtins.c (expand_builtin_strcmp): Use const*_rtx when
	expanding strcmp at compile-time.  Add another transformation.
	(expand_builtin_strncmp): Add more transformations.  Call
	expand_builtin_memcmp, not expand_builtin_strcmp, under
	appropriate conditions if HAVE_cmpstrsi.

testsuite:
	gcc.c-torture/execute/string-opt-3.c: Add more strcmp checks.
	gcc.c-torture/execute/string-opt-8.c: Add more strncmp checks.

From-SVN: r37963
2000-12-03 03:34:03 +00:00
David Edelsohn 6c873122ce rs6000.md (anddi3_internal[23]): Prefer rldic?
* rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
        instruction.
        (cr logic): Really make operands sequential.

From-SVN: r37962
2000-12-02 21:41:08 -05:00
Geoffrey Keating 690c96c8bf c-common.c (combine_strings): When the ISO C standard specifies the maximum length of a string...
* c-common.c (combine_strings): When the ISO C standard specifies
 	the maximum length of a string, it doesn't include the trailing
 	zero byte.

	* gcc.dg/cpp/if-6.c: New testcase.

From-SVN: r37961
2000-12-02 22:32:15 +00:00
Geoffrey Keating b43db0b3c0 cpplib.c (do_ifdef): Add check_eol() call.
* cpplib.c (do_ifdef): Add check_eol() call.
	(do_ifndef): Likewise.

	* gcc.dg/20001201-1.c: New testcase.

From-SVN: r37960
2000-12-02 22:28:44 +00:00
Daniel Berlin 283da1d32d Prepare for fixincludes on BeOS
Co-Authored-By: Bruce Korb <bkorb@gnu.org>

From-SVN: r37959
2000-12-02 19:46:32 +00:00
Bruce Korb 6864a6c66c Kaveh's warning patch from 11/19
From-SVN: r37958
2000-12-02 19:01:16 +00:00
Bruce Korb 2c864b9a56 empty initial version
From-SVN: r37957
2000-12-02 18:32:32 +00:00
Bruce Korb d7156fee6d Enable fixincludes for msdosdjgpp
From-SVN: r37956
2000-12-02 18:30:48 +00:00
Neil Booth f76745450c externC4.C, friend10.C: New tests.
* g++.old-deja/g++.other/externC4.C,
        g++.old-deja/g++.other/friend10.C: New tests.

From-SVN: r37955
2000-12-02 18:22:02 +00:00
Richard Earnshaw f1008e52f1 arm.h (ARM_REGNO_OK_FOR_BASE_P, [...]): New macros.
* arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
macros.
(REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
(REGNO_OK_FOR_FOR_BASE_P): Delete.
(ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
both strict and non-strict uses.
(REG_MODE_OK_FOR_BASE_P): Define in terms of above.
(ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
(REG_OK_FOR_INDEX_P): Define in terms of above.
(REG_OK_FOR_BASE_P): Delete.
(REG_OK_FOR_PRE_POST_P): Delete.
(ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
(ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
(ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
(THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
(ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes.  Use ARM
specific variants rather than general ones.  Use ARM_REG_OK_FOR_BASE_P
in pre/post increment cases.
(THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
(ARM_LEGITIMIZE_ADDRESS): Similarly.
(THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
* arm.c (legitimate_pic_address): Similarly.

From-SVN: r37954
2000-12-02 17:10:29 +00:00