platform/upstream/gcc.git
23 years agoinvoke.texi: Replace `pedwarns' with clearer text.
Phil Edwards [Mon, 4 Dec 2000 18:40:14 +0000 (18:40 +0000)]
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

23 years agodo not clean autogenerated fixinc files
Bruce Korb [Mon, 4 Dec 2000 18:16:04 +0000 (18:16 +0000)]
do not clean autogenerated fixinc files

From-SVN: r38007

23 years agoCapitalization fix.
DJ Delorie [Mon, 4 Dec 2000 17:24:14 +0000 (12:24 -0500)]
Capitalization fix.

From-SVN: r38006

23 years ago* md.texi: Add overview, clarify match_dup and define_expand.
DJ Delorie [Mon, 4 Dec 2000 17:23:34 +0000 (12:23 -0500)]
* md.texi: Add overview, clarify match_dup and define_expand.

From-SVN: r38005

23 years agoprint-tree.c (print_node): target-specific builtins print numbers, not names.
DJ Delorie [Mon, 4 Dec 2000 17:21:42 +0000 (12:21 -0500)]
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

23 years agostor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, MODE_VECTOR_FLOAT.
Jason Merrill [Mon, 4 Dec 2000 17:14:16 +0000 (12:14 -0500)]
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

23 years agocp-demangle.c: s/new_abi/v3/.
Jason Merrill [Mon, 4 Dec 2000 17:11:17 +0000 (12:11 -0500)]
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

23 years ago* sstream: Backport libstdc++-V3 sstream to V2.
Magnus Fromreide [Mon, 4 Dec 2000 17:03:27 +0000 (18:03 +0100)]
* sstream: Backport libstdc++-V3 sstream to V2.

From-SVN: r38000

23 years agomangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector".
Jason Merrill [Mon, 4 Dec 2000 17:00:04 +0000 (12:00 -0500)]
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

23 years agofix typo
Jason Merrill [Mon, 4 Dec 2000 16:56:47 +0000 (11:56 -0500)]
fix typo

From-SVN: r37998

23 years agofix typo
Jason Merrill [Mon, 4 Dec 2000 16:36:19 +0000 (11:36 -0500)]
fix typo

From-SVN: r37997

23 years agoerror.c (dump_function_decl): Use DECL_VIRTUAL_P, not TYPE_POLYMORPHIC_P.
Nathan Sidwell [Mon, 4 Dec 2000 16:36:04 +0000 (16:36 +0000)]
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

23 years ago* README.APOLLO: Remove obsolete file.
Gerald Pfeifer [Mon, 4 Dec 2000 11:57:51 +0000 (12:57 +0100)]
* README.APOLLO: Remove obsolete file.

From-SVN: r37995

23 years agoTimeZone.java (getAvailableIDs): Activated commented out code dependent on compiler...
Warren Levy [Mon, 4 Dec 2000 10:24:38 +0000 (10:24 +0000)]
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

23 years agoFilePermission.java: Made class final per spec.
Warren Levy [Mon, 4 Dec 2000 10:20:00 +0000 (10:20 +0000)]
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

23 years agoDaily bump.
Jeff Law [Mon, 4 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r37992

23 years agonatDouble.cc: Include fdlibm.h, not mprec.h.
Bryce McKinlay [Mon, 4 Dec 2000 08:22:34 +0000 (08:22 +0000)]
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

23 years ago* cppinternals.texi: New file.
Neil Booth [Mon, 4 Dec 2000 07:34:21 +0000 (07:34 +0000)]
* cppinternals.texi: New file.

From-SVN: r37990

23 years agocppfiles.c (cpp_make_system_header): Take 2 booleans, and operate on current buffer.
Neil Booth [Mon, 4 Dec 2000 07:32:04 +0000 (07:32 +0000)]
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

23 years agoPoint2D.java: Added protected constructor.
Tom Tromey [Mon, 4 Dec 2000 02:27:21 +0000 (02:27 +0000)]
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

23 years agoAWTError.java: Extend Error, not IllegalStateException.
Tom Tromey [Mon, 4 Dec 2000 01:54:34 +0000 (01:54 +0000)]
AWTError.java: Extend Error, not IllegalStateException.

* java/awt/AWTError.java: Extend Error, not
IllegalStateException.

From-SVN: r37987

23 years agobuiltins.c (expand_builtin_strspn, [...]): Handle another transformation.
Kaveh R. Ghazi [Mon, 4 Dec 2000 01:07:47 +0000 (01:07 +0000)]
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

23 years agoNote XScale contribution.
Nick Clifton [Mon, 4 Dec 2000 00:23:49 +0000 (00:23 +0000)]
Note XScale contribution.

From-SVN: r37985

23 years agoAdd support for XScale target
Nick Clifton [Mon, 4 Dec 2000 00:23:35 +0000 (00:23 +0000)]
Add support for XScale target
Add support for StrongARM target

From-SVN: r37984

23 years ago* gcc.c-torture/execute/20001203-1.c: New test.
Joseph Myers [Mon, 4 Dec 2000 00:06:12 +0000 (00:06 +0000)]
* gcc.c-torture/execute/20001203-1.c: New test.

From-SVN: r37983

23 years agobb-reorder.c (reorder_basic_blocks): Don't check for EH edges unless exception handli...
Richard Henderson [Sun, 3 Dec 2000 23:58:44 +0000 (15:58 -0800)]
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

23 years agoconfigopts.html, [...]: Sync with wwwdocs.
Joseph Myers [Sun, 3 Dec 2000 23:47:49 +0000 (23:47 +0000)]
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

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Sun, 3 Dec 2000 21:21:52 +0000 (21:21 +0000)]
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

23 years agodefault the build machine triplet, if it is not provided
Bruce Korb [Sun, 3 Dec 2000 20:40:17 +0000 (20:40 +0000)]
default the build machine triplet, if it is not provided

From-SVN: r37979

23 years agoMakefile.in: use $(build_canonical), not $(canonical_build).
Laurynas Biveinis [Sun, 3 Dec 2000 19:41:45 +0000 (19:41 +0000)]
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

23 years agoMove the region scheduling code out of haifa-sched.c.
Bernd Schmidt [Sun, 3 Dec 2000 19:00:00 +0000 (19:00 +0000)]
Move the region scheduling code out of haifa-sched.c.

From-SVN: r37977

23 years agopass canonical build name to mkfixinc.sh. Use it for choosing the fix build method
Laurynas Biveinis [Sun, 3 Dec 2000 17:30:16 +0000 (17:30 +0000)]
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

23 years agoMove dependency code out of haifa-sched.c
Bernd Schmidt [Sun, 3 Dec 2000 16:11:45 +0000 (16:11 +0000)]
Move dependency code out of haifa-sched.c

From-SVN: r37975

23 years agoMove scheduling visualization code to separate file.
Bernd Schmidt [Sun, 3 Dec 2000 14:35:17 +0000 (14:35 +0000)]
Move scheduling visualization code to separate file.

From-SVN: r37974

23 years agoTry to separate region-specific code from generic parts in the scheuler.
Bernd Schmidt [Sun, 3 Dec 2000 12:53:49 +0000 (12:53 +0000)]
Try to separate region-specific code from generic parts in the scheuler.

From-SVN: r37973

23 years ago* gcc.dg/cpp/macro6.c: New test cases.
Neil Booth [Sun, 3 Dec 2000 12:07:40 +0000 (12:07 +0000)]
* gcc.dg/cpp/macro6.c: New test cases.

From-SVN: r37972

23 years agocppmacro.c (funlike_invocation_p): Re-disable macros enabled by contexts drops AFTER...
Neil Booth [Sun, 3 Dec 2000 12:06:23 +0000 (12:06 +0000)]
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

23 years agot-linux (MULTILIB_OPTIONS): Comment.
Manfred Hollstein [Sun, 3 Dec 2000 09:47:29 +0000 (09:47 +0000)]
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

23 years agoDaily bump.
Jeff Law [Sun, 3 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r37969

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Sun, 3 Dec 2000 08:28:35 +0000 (08:28 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/awt/FlowLayout.java: New file.

From-SVN: r37968

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Sun, 3 Dec 2000 07:16:20 +0000 (07:16 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/awt/GridLayout.java: New file.

From-SVN: r37967

23 years ago- fix line which did not get committed properly
David Edelsohn [Sun, 3 Dec 2000 07:08:48 +0000 (02:08 -0500)]
- fix line which did not get committed properly

From-SVN: r37966

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Sun, 3 Dec 2000 06:34:54 +0000 (06:34 +0000)]
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

23 years agobuiltins.c (expand_builtin_strcat, [...]): New functions.
Kaveh R. Ghazi [Sun, 3 Dec 2000 03:46:03 +0000 (03:46 +0000)]
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

23 years agobuiltins.c (expand_builtin_strcmp): Use const*_rtx when expanding strcmp at compile...
Kaveh R. Ghazi [Sun, 3 Dec 2000 03:34:03 +0000 (03:34 +0000)]
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

23 years agors6000.md (anddi3_internal[23]): Prefer rldic?
David Edelsohn [Sun, 3 Dec 2000 02:41:08 +0000 (02:41 +0000)]
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

23 years agoc-common.c (combine_strings): When the ISO C standard specifies the maximum length...
Geoffrey Keating [Sat, 2 Dec 2000 22:32:15 +0000 (22:32 +0000)]
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

23 years agocpplib.c (do_ifdef): Add check_eol() call.
Geoffrey Keating [Sat, 2 Dec 2000 22:28:44 +0000 (22:28 +0000)]
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

23 years agoPrepare for fixincludes on BeOS
Daniel Berlin [Sat, 2 Dec 2000 19:46:32 +0000 (19:46 +0000)]
Prepare for fixincludes on BeOS

Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r37959

23 years agoKaveh's warning patch from 11/19
Bruce Korb [Sat, 2 Dec 2000 19:01:16 +0000 (19:01 +0000)]
Kaveh's warning patch from 11/19

From-SVN: r37958

23 years agoempty initial version
Bruce Korb [Sat, 2 Dec 2000 18:32:32 +0000 (18:32 +0000)]
empty initial version

From-SVN: r37957

23 years agoEnable fixincludes for msdosdjgpp
Bruce Korb [Sat, 2 Dec 2000 18:30:48 +0000 (18:30 +0000)]
Enable fixincludes for msdosdjgpp

From-SVN: r37956

23 years agoexternC4.C, friend10.C: New tests.
Neil Booth [Sat, 2 Dec 2000 18:22:02 +0000 (18:22 +0000)]
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

23 years agoarm.h (ARM_REGNO_OK_FOR_BASE_P, [...]): New macros.
Richard Earnshaw [Sat, 2 Dec 2000 17:10:29 +0000 (17:10 +0000)]
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

23 years agotradcpp.c (struct answer, [...]): New.
Neil Booth [Sat, 2 Dec 2000 16:04:14 +0000 (16:04 +0000)]
tradcpp.c (struct answer, [...]): New.

        * tradcpp.c (struct answer, parse_assertion, parse_answer,
        canonicalize_text, find_answer): New.
        (do_assert, do_unassert): Provide appropriate function bodies.
        (union hashval): New member answers.

From-SVN: r37953

23 years ago* g++.old-deja/g++.other/instan2.C
Neil Booth [Sat, 2 Dec 2000 15:28:08 +0000 (15:28 +0000)]
* g++.old-deja/g++.other/instan2.C
        * g++.old-deja/g++.other/instan3.C: New test.

From-SVN: r37952

23 years agoavr.md: Document UNSPEC usage.
Marek Michalkiewicz [Sat, 2 Dec 2000 13:12:45 +0000 (14:12 +0100)]
avr.md: Document UNSPEC usage.

* config/avr/avr.md: Document UNSPEC usage.
(*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
Make operand 0 input only, clobber it.  Use UNSPEC, not a bogus
MEM for program memory word reference.  Do not add the label to
the table index in each of the asm output templates, instead ...
(casesi): ... do it in RTL.  Adjust to match the above change.

From-SVN: r37951

23 years agoMake alpha build again.
Bernd Schmidt [Sat, 2 Dec 2000 10:50:27 +0000 (10:50 +0000)]
Make alpha build again.

From-SVN: r37950

23 years agoHaifa cleanup, part 1
Bernd Schmidt [Sat, 2 Dec 2000 10:47:42 +0000 (10:47 +0000)]
Haifa cleanup, part 1

From-SVN: r37949

23 years agoc++98.c,c++98-pedantic.c,c89.c,c89-pedantic.c, [...]: New tests.
Neil Booth [Sat, 2 Dec 2000 10:16:01 +0000 (10:16 +0000)]
c++98.c,c++98-pedantic.c,c89.c,c89-pedantic.c, [...]: New tests.

        * gcc.dg/testsuite/c++98.c,c++98-pedantic.c,c89.c,c89-pedantic.c,
        c94.c,c94-pedantic.c,c99.c,c99-pedantic.c,gnuc89.c,gnuc89-pedantic.c,
        gnuc99.c,gnuc99-pedantic.c: New tests.

From-SVN: r37948

23 years ago* cppexp.c (parse_number): Update diagnostic test.
Neil Booth [Sat, 2 Dec 2000 10:13:49 +0000 (10:13 +0000)]
* cppexp.c (parse_number): Update diagnostic test.

From-SVN: r37947

23 years agoFix multi-reg inheritance problems (only a fix small additional fix for yesterday...
Bernd Schmidt [Sat, 2 Dec 2000 09:55:48 +0000 (09:55 +0000)]
Fix multi-reg inheritance problems (only a fix small additional fix for yesterday's accidental checkin)

From-SVN: r37946

23 years agoDaily bump.
Jeff Law [Sat, 2 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r37945

23 years agoVector.java (insertElementAt): Unconditionally increment elementCount.
Tom Tromey [Sat, 2 Dec 2000 04:13:52 +0000 (04:13 +0000)]
Vector.java (insertElementAt): Unconditionally increment elementCount.

* java/util/Vector.java (insertElementAt): Unconditionally
increment elementCount.
(removeRange): Clear unused slots in vector.

From-SVN: r37944

23 years agodownload.html: Remove.
Phil Edwards [Sat, 2 Dec 2000 02:12:15 +0000 (02:12 +0000)]
download.html: Remove.

2000-12-01  Phil Edwards  <pme@sources.redhat.com>

* docs/download.html:  Remove.
* docs/footer.ihtml:  Remove.
* docs/header.ihtml:  Remove.
* docs/index.html:  Remove.
* docs/links.html:  Remove.
* docs/mail.html:  Remove.
* docs/status.html:  Remove.
* docs/thanks.html:  Remove.

From-SVN: r37943

23 years agoinstall.texi (Configurations): Remove obsolete documentation for hppa*-*-*.
Gerald Pfeifer [Sat, 2 Dec 2000 02:11:31 +0000 (03:11 +0100)]
install.texi (Configurations): Remove obsolete documentation for hppa*-*-*.

* install.texi (Configurations): Remove obsolete documentation for
hppa*-*-*.

From-SVN: r37942

23 years agoinstall.texi (Installation): Remove obsolete description for libstdc++ which is now...
Gerald Pfeifer [Sat, 2 Dec 2000 02:02:42 +0000 (03:02 +0100)]
install.texi (Installation): Remove obsolete description for libstdc++ which is now an integral part of GCC.

* install.texi (Installation): Remove obsolete description for
libstdc++ which is now an integral part of GCC.

From-SVN: r37941

23 years agoFrom Adam Welc <welc@cs.purdue.edu>:
Bryce McKinlay [Sat, 2 Dec 2000 01:48:07 +0000 (01:48 +0000)]
From Adam Welc <welc@cs.purdue.edu>:

* java/util/LinkedList.java (removeFirst): Update `first' field.
Handle the last == first case.
(removeLast): Update `last' field. Handle the last == first case.

From-SVN: r37940

23 years ago* pt.c: Fix typo in comments.
Kriang Lerdsuwanakij [Sat, 2 Dec 2000 01:44:42 +0000 (01:44 +0000)]
* pt.c: Fix typo in comments.

From-SVN: r37939

23 years agonatMath.cc: Declare fabsf() function.
Bryce McKinlay [Sat, 2 Dec 2000 00:28:44 +0000 (00:28 +0000)]
natMath.cc: Declare fabsf() function.

2000-12-02  Bryce McKinlay  <bryce@albatross.co.nz>

* java/lang/natMath.cc: Declare fabsf() function.
* java/lang/mprec.h: Don't include math.h.
* java/lang/dtoa.c: Include string.h.
* java/lang/natString.cc (toLowerCase): Initialize ch to prevent
compiler warning.

From-SVN: r37938

23 years agoRemove conflict indicator
Geoffrey Keating [Sat, 2 Dec 2000 00:19:34 +0000 (00:19 +0000)]
Remove conflict indicator

From-SVN: r37937

23 years agodbxout.c (dbxout_parms): Correctly describe parameters passed by invisible reference...
Jim Blandy [Sat, 2 Dec 2000 00:18:46 +0000 (00:18 +0000)]
dbxout.c (dbxout_parms): Correctly describe parameters passed by invisible reference in registers...

2000-12-01  Jim Blandy  <jimb@redhat.com>

* dbxout.c (dbxout_parms): Correctly describe parameters passed by
  invisible reference in registers, but then spilled to the stack.
   Remove code to emit a second stab for such parameters; it attempts
  to describe the value's location by introducing a synthetic C++
  `reference' type, and then saying the stack slot has that
  reference type.  This loses type information (breaking GDB's
  `ptype' command, among other things) just to describe a location
  which stabs can represent correctly in other ways.

From-SVN: r37936

23 years agofinal.c (output_addr_const): Don't assume at least one operand is a CONST_INT.
Alexandre Oliva [Fri, 1 Dec 2000 23:29:57 +0000 (23:29 +0000)]
final.c (output_addr_const): Don't assume at least one operand is a CONST_INT.

* final.c (output_addr_const) <PLUS>: Don't assume at least one
operand is a CONST_INT.

From-SVN: r37935

23 years agosh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
Alexandre Oliva [Fri, 1 Dec 2000 23:26:19 +0000 (23:26 +0000)]
sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.

* config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
(machine_dependent_reorg): Split all insns.
* config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
reg_class_contents[SIBCALL_REGS].
(reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
* config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
call_value_pcrel, call, call_value, sibcall): Match even when
not optimizing.
(sibcalli_pcrel, sibcall_pcrel): Likewise.  Use constraint `k'
for call address.
(sibcalli): Likewise.

From-SVN: r37934

23 years agoc-common.c (warn_format, [...]): Define.
Joseph Myers [Fri, 1 Dec 2000 22:43:33 +0000 (22:43 +0000)]
c-common.c (warn_format, [...]): Define.

* c-common.c (warn_format, warn_format_y2k,
warn_format_extra_args, warn_format_nonliteral): Define.
(check_format_info): Check warn_format_nonliteral and
warn_format_extra_args.
(check_format_info_main): Check warn_format_y2k.
(set_Wformat): New function.
* c-common.h (warn_format_y2k, warn_format_extra_args,
warn_format_nonliteral, set_Wformat): Declare.
* c-decl.c (warn_format): Remove definition.
(c_decode_option): Handle -Wformat-nonliteral,
-Wno-format-extra-args and -Wno-format-y2k, and negated versions.
Use set_Wformat.
* invoke.texi: Document these new options and -Wformat=2.
* toplev.c (documented_lang_options): Add these new options.

cp:
* decl2.c (warn_format): Remove definition.
(lang_decode_option): Handle -Wformat-nonliteral,
-Wno-format-extra-args and -Wno-format-y2k.  Use set_Wformat.

testsuite:
* gcc.dg/format-no-exargs-1.c, gcc.dg/format-no-y2k-1.c,
gcc.dg/format-nonlit-1.c, gcc.dg/format-nonlit-2.c: New tests.

From-SVN: r37933

23 years agobuiltins.def (BUILT_IN_IMAXABS): Add.
Joseph Myers [Fri, 1 Dec 2000 22:35:50 +0000 (22:35 +0000)]
builtins.def (BUILT_IN_IMAXABS): Add.

* builtins.def (BUILT_IN_IMAXABS): Add.
* builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
* c-common.c (c_common_nodes_and_builtins): Create builtin
functions __builtin_imaxabs, and plain imaxabs unless
flag_no_nonansi_builtin outside C99 mode.
(expand_tree_builtin): Handle BUILT_IN_IMAXABS.
* extend.texi: Document builtin imaxabs.

From-SVN: r37932

23 years agoc-common.c: Include "defaults.h".
Joseph Myers [Fri, 1 Dec 2000 22:25:43 +0000 (22:25 +0000)]
c-common.c: Include "defaults.h".

* c-common.c: Include "defaults.h".
(WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
(c_common_nodes_and_builtins): Create string_type_node,
const_string_type_node, wint_type_node, intmax_type_node,
uintmax_type_node, default_function_type, ptrdiff_type_node and
unsigned_ptrdiff_type_node.
* c-common.h (identifier_global_value): Declare.
* c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
(init_decl_processing): Don't create string_type_node,
const_string_type_node, wint_type_node, intmax_type_node,
uintmax_type_node, default_function_type, ptrdiff_type_node and
unsigned_ptrdiff_type_node.
(identifier_global_value): New function.

cp:
* decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
(init_decl_processing): Don't create string_type_node,
const_string_type_node, wint_type_node, intmax_type_node,
uintmax_type_node, default_function_type, ptrdiff_type_node and
unsigned_ptrdiff_type_node.  Adjust position of call to
c_common_nodes_and_builtins.
(identifier_global_value): New function.

From-SVN: r37931

23 years agoReally reverted erroneous checkin
Tom Tromey [Fri, 1 Dec 2000 22:11:00 +0000 (22:11 +0000)]
Really reverted erroneous checkin

From-SVN: r37930

23 years agoReverted erroneous checkin
Tom Tromey [Fri, 1 Dec 2000 22:04:45 +0000 (22:04 +0000)]
Reverted erroneous checkin

From-SVN: r37929

23 years ago20000720-1.S: Remove duplicate testcase.
Neil Booth [Fri, 1 Dec 2000 22:03:57 +0000 (22:03 +0000)]
20000720-1.S: Remove duplicate testcase.

        * gcc.dg/cpp/20000720-1.S: Remove duplicate testcase.
        * gcc.dg/cpp/poison.c: Update.
        * gcc.dg/cpp/spacing1.c: New testcase for all spacing issues.

From-SVN: r37928

23 years agocppinit.c (initialize): Forgotten prototype.
Neil Booth [Fri, 1 Dec 2000 22:01:10 +0000 (22:01 +0000)]
cppinit.c (initialize): Forgotten prototype.

        * cppinit.c (initialize): Forgotten prototype.
        * cpplex.c (_cpp_lex_token): Loop until not skipping.
        Always clear PREV_WHITE upon meeting a new line.
        * cpplib.c (end_directive): Set pfile->skipping after
        skip_rest_of_line.
        * cpplib.h (cpp_reader): Remove macro_pos.
        * cppmacro.c (cpp_get_line): Don't do anything special inside
        macros.
        (parse_arg): Add PREV_WHITE if a token appears after new lines.
        (funlike_invocation_p): Save and restore the output position
        over a successful check for a '('.
        (enter_macro_context): Delete uses of macro_pos.
        (cpp_get_token): Don't use pfile->skipping.

From-SVN: r37927

23 years agomore work
Tom Tromey [Fri, 1 Dec 2000 21:58:34 +0000 (21:58 +0000)]
more work

From-SVN: r37926

23 years ago20001201.f: New test.
Toon Moene [Fri, 1 Dec 2000 21:25:11 +0000 (22:25 +0100)]
20001201.f: New test.

2000-12-01  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/20001201.f: New test.

From-SVN: r37925

23 years ago[multiple changes]
Phil Edwards [Fri, 1 Dec 2000 20:55:44 +0000 (20:55 +0000)]
[multiple changes]

2000-12-01  Phil Edwards  <pme@sources.redhat.com>

* mkcheck.in:  Count static and shared results separately.

2000-12-01  Loren J. Rittle  <ljrittle@acm.org>

* mkcheck.in:  Correct typo.

From-SVN: r37924

23 years agodiagnostic.c: Fix typos in comments.
Phil Edwards [Fri, 1 Dec 2000 19:31:01 +0000 (19:31 +0000)]
diagnostic.c: Fix typos in comments.

2000-12-01  Phil Edwards  <pme@sources.redhat.com>

* diagnostic.c:  Fix typos in comments.
* diagnostic.h:  Likewise.

From-SVN: r37923

23 years agortl.texi (Machine Modes): Document BImode and OImode.
Phil Edwards [Fri, 1 Dec 2000 19:29:26 +0000 (19:29 +0000)]
rtl.texi (Machine Modes): Document BImode and OImode.

2000-11-30  Phil Edwards  <pme@sources.redhat.com>

* rtl.texi (Machine Modes):  Document BImode and OImode.

From-SVN: r37922

23 years agogcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and .FPP.
Joseph Myers [Fri, 1 Dec 2000 19:23:17 +0000 (19:23 +0000)]
gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and .FPP.

* gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
.FPP.

From-SVN: r37921

23 years agoc-decl.c (grokdeclarator): If pedantic, warn about arrays with incomplete element...
Joseph Myers [Fri, 1 Dec 2000 19:21:44 +0000 (19:21 +0000)]
c-decl.c (grokdeclarator): If pedantic, warn about arrays with incomplete element type.

* c-decl.c (grokdeclarator): If pedantic, warn about arrays with
incomplete element type.
(grokparms): Before checking for incomplete parameter type, check
the type isn't error_mark_node.

testsuite:
* gcc.dg/c99-array-nonobj-1.c: No longer XFAIL.

From-SVN: r37920

23 years agoMakefile.am: Added entries for new java.sql modules.
Warren Levy [Fri, 1 Dec 2000 18:34:28 +0000 (18:34 +0000)]
Makefile.am: Added entries for new java.sql modules.

* Makefile.am: Added entries for new java.sql modules.
* Makefile.in: Rebuilt.

From-SVN: r37919

23 years agobuiltins.c (target_char_cast): New function.
Jakub Jelinek [Fri, 1 Dec 2000 17:53:07 +0000 (18:53 +0100)]
builtins.c (target_char_cast): New function.

* builtins.c (target_char_cast): New function.
(expand_builtin_strchr): Use it.
(expand_builtin_strrchr): Use it.
(builtin_memset_read_str): New function.
(expand_builtin_memset): Use target_char_cast.
Try to optimize memset with second argument non-zero using
store_by_pieces.

* gcc.c-torture/execute/string-opt-5.c: Add some memset tests.

From-SVN: r37918

23 years agoinstall.texi (avr): Replace incomplete list of supported MCU types with a link to...
Marek Michalkiewicz [Fri, 1 Dec 2000 17:49:05 +0000 (18:49 +0100)]
install.texi (avr): Replace incomplete list of supported MCU types with a link to the current one ...

* install.texi (avr): Replace incomplete list of supported MCU
types with a link to the current one ...
* invoke.texi (AVR Options): ... here.  Update -mmcu= to list
all supported MCU types.  Document -minit-stack= default.
Document new options -mno-tablejump, -mtiny-stack.
* md.texi (AVR family):  Fix typo in 'w' constraint letter
description.  Document 'q'.  Update 'O'.

From-SVN: r37917

23 years agoAdd a frontend function for reload_reg_free_for_value_p; need to check all
Bernd Schmidt [Fri, 1 Dec 2000 16:34:09 +0000 (16:34 +0000)]
Add a frontend function for reload_reg_free_for_value_p; need to check all
registers in a multi-reg value.

From-SVN: r37916

23 years agoFurther tweak cant_combine_insn_p
Bernd Schmidt [Fri, 1 Dec 2000 12:45:00 +0000 (12:45 +0000)]
Further tweak cant_combine_insn_p

From-SVN: r37915

23 years agocall.c (standard_conversion): Reject pointer to member conversions from ambiguous...
Nathan Sidwell [Fri, 1 Dec 2000 11:52:33 +0000 (11:52 +0000)]
call.c (standard_conversion): Reject pointer to member conversions from ambiguous, inaccessible or virtual bases.

cp:
* call.c (standard_conversion): Reject pointer to member
conversions from ambiguous, inaccessible or virtual bases.
* typeck.c (build_static_cast): Don't check pointers to members
specially.
testsuite:
* g++.old-deja/g++.other/cast6.C: New test.

From-SVN: r37914

23 years agomauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't quite...
Warren Levy [Fri, 1 Dec 2000 10:04:02 +0000 (10:04 +0000)]
mauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't quite 1.2...

* mauve-libgcj: Turned on JDK1.2 and turned off tests for classes
that aren't quite 1.2 compatible yet.

From-SVN: r37913

23 years agoDaily bump.
Jeff Law [Fri, 1 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r37912

23 years agosh.c (shiftcosts): Don't get INTVAL before testing whether X is a CONST_INT.
Alexandre Oliva [Fri, 1 Dec 2000 03:29:02 +0000 (03:29 +0000)]
sh.c (shiftcosts): Don't get INTVAL before testing whether X is a CONST_INT.

* config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
whether X is a CONST_INT.
(addsubcosts): Likewise.

From-SVN: r37911

23 years agoAlign value of UNSPECV_ALIGN
Alexandre Oliva [Fri, 1 Dec 2000 03:22:26 +0000 (03:22 +0000)]
Align value of UNSPECV_ALIGN

From-SVN: r37910

23 years agosh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of mis-used XINT.
Alexandre Oliva [Fri, 1 Dec 2000 02:29:34 +0000 (02:29 +0000)]
sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of mis-used XINT.

* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
mis-used XINT.
(ARG_POINTER_REGNUM): Set to AP_REG.

From-SVN: r37909

23 years agoFixed ChangeLog entry to be path specific.
Warren Levy [Fri, 1 Dec 2000 02:04:23 +0000 (02:04 +0000)]
Fixed ChangeLog entry to be path specific.

From-SVN: r37908