Commit Graph

32061 Commits

Author SHA1 Message Date
Jeff Law
c753fb983a Daily bump.
From-SVN: r38031
2000-12-05 01:45:08 -07:00
Richard Henderson
eca93b0599 * stmt.c (warn_if_unused_value): Move side effects test earlier.
From-SVN: r38030
2000-12-05 00:16:15 -08:00
Richard Henderson
7d3615831e New test.
From-SVN: r38029
2000-12-05 00:13:27 -08:00
Alan Modra
de9e5c232b bb-reorder.c (reorder_basic_blocks): Do check for EH edges even when using sjlj.
* bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
        when using sjlj.

From-SVN: r38028
2000-12-05 00:00:32 -08:00
Richard Henderson
39c39be99b flow.c (calculate_global_regs_live): Only force stack pointer live before reload.
* flow.c (calculate_global_regs_live): Only force stack pointer
        live before reload.  Force pic register live before reload.
        (insn_dead_p): Don't protect pic references from deletion.

From-SVN: r38027
2000-12-04 23:58:18 -08:00
Alexandre Petit-Bianco
f8b93ea75d parse.y (patch_method_invocation): Pick the correct enclosing context when creating inner class instances.
2000-12-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (patch_method_invocation): Pick the correct enclosing
	context when creating inner class instances.
	Fixes gcj/332.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00217.html)

From-SVN: r38026
2000-12-04 23:08:56 -08:00
Gabriel Dos Reis
fad3e66e8e complex.cc (pow): Remove definitions for explicit specializations.
* src/complex.cc (pow): Remove definitions for explicit
	specializations.
	* libmath/mathconf.h: Remove declarations for c_log, c_logf,
	c_logl.
	* libmath/complex-stub.h: Remove declarations for cpow, cpowf,
	cpowl.
	* libmath/cpow.c: Remove.
	* libmath/cpowf.c: Remove.
	* libmath/cpowl.c: Remove.
	* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
	cpowl,
	(EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
	* libmath/Makefile.in: Regenarate.
	* libmath/c_log.c: Remove
	* libmath/c_logf.c: Likewise.
	* libmath/c_logl.c: Likewise.
	* libmath/carg.c: Likewise.
	* libmath/cargf.c: Likewise.
	* libmath/cargl.c: Likewise.
	* include/bits/std_complex.h (pow): Define primary templates.
	(complex<>): Remove friend declarations for pow<>().
	* acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
	cargf.
	* aclocal.m4: Regenarate.
	* configure: Regenarate.

From-SVN: r38025
2000-12-05 04:01:46 +00:00
Joseph Myers
9d86bffccb invoke.texi: Add support for using texi2pod.pl.
* invoke.texi: Add support for using texi2pod.pl.  Don't use
	@multitable.

From-SVN: r38024
2000-12-05 01:40:43 +00:00
Nick Clifton
1269f39519 Remove spurious test of XScale and HARD_FLOAT floags
From-SVN: r38023
2000-12-05 01:17:18 +00:00
Richard Henderson
39abc9a650 * error.c (dump_tree): Use output_add_string not OB_PUTS.
From-SVN: r38021
2000-12-04 16:18:23 -08:00
Richard Henderson
675ad22cfc * demangle.h: Change "new_abi" to "v3" everywhere.
From-SVN: r38020
2000-12-04 15:46:57 -08:00
Neil Booth
72ca2deef3 virtual9.C: New test.
* g++.old-deja/g++.other/virtual9.C: New test.
	* g++.old-deja/g++.pt/crash61.C: New test.
	* gcc.c-torture/execute/loop-9.c: New test.

From-SVN: r38019
2000-12-04 23:44:51 +00:00
Nick Clifton
a67ded0fdc Fix bogons from XScale contribution
From-SVN: r38018
2000-12-04 23:35:10 +00:00
Nick Clifton
c84df4c569 Do not create interworking functions if the target architecture does not
support Thumb instructions.

From-SVN: r38017
2000-12-04 23:05:17 +00:00
Joseph Myers
c4f0b011c7 ONEWS: New file with the current contents of NEWS up to EGCS 1.1.
gcc:
	* ONEWS: New file with the current contents of NEWS up to EGCS
	1.1.
	* NEWS: Generate automatically from online release notes from EGCS
	1.0 to GCC 2.95.2, using ../contrib/gennews.

contrib:
	* gennews: New script.

From-SVN: r38016
2000-12-04 23:03:07 +00:00
Nick Clifton
bbb8cffb5f Remove spurious CYGNUS LOCAL markers
From-SVN: r38015
2000-12-04 23:00:26 +00:00
Neil Booth
7aab7b5a8f * gcc.dg/cpp/extratokens.c: Forgotten file.
From-SVN: r38014
2000-12-04 22:54:46 +00:00
Neil Booth
b6972575d4 instan1.C, instan2.C: Move to...
* g++.old-deja/g++.other/instan1.C, instan2.C: Move to...
	* g++.old-deja/g++.pt/instantiate1.C, instantiate2.C: ...here.
	* gcc.dg/cpp/19960224-2.c, endif.c, if-6.c: Move into...
	* gcc.dg/cpp/extratokens.c: ...here.

From-SVN: r38013
2000-12-04 22:51:59 +00:00
Neil Booth
bb0067f231 assert_trad1.c, [...]: New tests.
* gcc.dg/cpp/assert_trad1.c, assert_trad2.c, assert_trad3.c:
        New tests.

From-SVN: r38012
2000-12-04 22:06:41 +00:00
Neil Booth
7682e7bc2e tradcif.y: Move lexptr to top of file.
* tradcif.y: Move lexptr to top of file.  Add rule to handle
        assertions in conditional expressions.
        * tradcpp.c (parse_answer): Assertions do not need to go to
        end of line in conditional directives.
        (parse_assertion): Get first character of identifiers correct.
        (test_assertion): New function.
        * tradcpp.h (test_assertion): New prototype.

From-SVN: r38011
2000-12-04 22:05:19 +00:00
Rodney Brown
23a535c4ff config.gcc: Fix typo for UnixWare 7.
2000-12-01  Rodney Brown  <RodneyBrown@mynd.com>

    * config.gcc: Fix typo for UnixWare 7.

From-SVN: r38010
2000-12-04 20:20:23 +00:00
DJ Delorie
58097133b9 typo
From-SVN: r38009
2000-12-04 13:42:59 -05:00
Phil Edwards
32fb1fb20f invoke.texi: Replace `pedwarns' with clearer text.
2000-12-03  Phil Edwards  <pme@sources.redhat.com>

	* invoke.texi:  Replace `pedwarns' with clearer text.

From-SVN: r38008
2000-12-04 18:40:14 +00:00
Bruce Korb
e1e0c65875 do not clean autogenerated fixinc files
From-SVN: r38007
2000-12-04 18:16:04 +00:00
DJ Delorie
b386959101 Capitalization fix.
From-SVN: r38006
2000-12-04 12:24:14 -05:00
DJ Delorie
55e4756faa * md.texi: Add overview, clarify match_dup and define_expand.
From-SVN: r38005
2000-12-04 12:23:34 -05:00
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