OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago* arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
rearnsha [Sat, 2 Dec 2000 17:10:29 +0000 (17:10 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37954 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tradcpp.c (struct answer, parse_assertion, parse_answer,
neil [Sat, 2 Dec 2000 16:04:14 +0000 (16:04 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37953 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g++.old-deja/g++.other/instan2.C
neil [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37952 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/avr/avr.md: Document UNSPEC usage.
denisc [Sat, 2 Dec 2000 13:12:45 +0000 (13:12 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37951 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37950 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37949 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.dg/testsuite/c++98.c,c++98-pedantic.c,c89.c,c89-pedantic.c,
neil [Sat, 2 Dec 2000 10:16:01 +0000 (10:16 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37948 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37947 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix multi-reg inheritance problems (only a fix small additional fix for yesterday...
bernds [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)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37946 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sat, 2 Dec 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37945 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/util/Vector.java (insertElementAt): Unconditionally
tromey [Sat, 2 Dec 2000 04:13:52 +0000 (04:13 +0000)]
* java/util/Vector.java (insertElementAt): Unconditionally
increment elementCount.
(removeRange): Clear unused slots in vector.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37944 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-12-01 Phil Edwards <pme@sources.redhat.com>
pme [Sat, 2 Dec 2000 02:12:15 +0000 (02:12 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37943 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37942 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37941 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago From Adam Welc <welc@cs.purdue.edu>:
bryce [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37940 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37939 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-12-02 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Sat, 2 Dec 2000 00:28:44 +0000 (00:28 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37938 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37937 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-12-01 Jim Blandy <jimb@redhat.com>
geoffk [Sat, 2 Dec 2000 00:18:46 +0000 (00:18 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37936 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* final.c (output_addr_const) <PLUS>: Don't assume at least one
aoliva [Fri, 1 Dec 2000 23:29:57 +0000 (23:29 +0000)]
* final.c (output_addr_const) <PLUS>: Don't assume at least one
operand is a CONST_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37935 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
aoliva [Fri, 1 Dec 2000 23:26:19 +0000 (23:26 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37934 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-common.c (warn_format, warn_format_y2k,
jsm28 [Fri, 1 Dec 2000 22:43:33 +0000 (22:43 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37933 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * builtins.def (BUILT_IN_IMAXABS): Add.
jsm28 [Fri, 1 Dec 2000 22:35:50 +0000 (22:35 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37932 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-common.c: Include "defaults.h".
jsm28 [Fri, 1 Dec 2000 22:25:43 +0000 (22:25 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37931 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37930 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37929 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.dg/cpp/20000720-1.S: Remove duplicate testcase.
neil [Fri, 1 Dec 2000 22:03:57 +0000 (22:03 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37928 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cppinit.c (initialize): Forgotten prototype.
neil [Fri, 1 Dec 2000 22:01:10 +0000 (22:01 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37927 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37926 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-12-01 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 1 Dec 2000 21:25:11 +0000 (21:25 +0000)]
2000-12-01  Toon Moene  <toon@moene.indiv.nluug.nl>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37925 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-12-01 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 1 Dec 2000 20:55:44 +0000 (20:55 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37924 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-12-01 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 1 Dec 2000 19:31:01 +0000 (19:31 +0000)]
2000-12-01  Phil Edwards  <pme@sources.redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37923 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-30 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 1 Dec 2000 19:29:26 +0000 (19:29 +0000)]
2000-11-30  Phil Edwards  <pme@sources.redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37922 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37921 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
jsm28 [Fri, 1 Dec 2000 19:21:44 +0000 (19:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37920 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.am: Added entries for new java.sql modules.
warrenl [Fri, 1 Dec 2000 18:34:28 +0000 (18:34 +0000)]
* Makefile.am: Added entries for new java.sql modules.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37919 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * builtins.c (target_char_cast): New function.
jakub [Fri, 1 Dec 2000 17:53:07 +0000 (17:53 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37918 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * install.texi (avr): Replace incomplete list of supported MCU
denisc [Fri, 1 Dec 2000 17:49:05 +0000 (17:49 +0000)]
* 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'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37917 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAdd a frontend function for reload_reg_free_for_value_p; need to check all
bernds [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37916 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37915 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Fri, 1 Dec 2000 11:52:33 +0000 (11:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37914 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * mauve-libgcj: Turned on JDK1.2 and turned off tests for classes
warrenl [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 compatible yet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37913 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Fri, 1 Dec 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37912 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
aoliva [Fri, 1 Dec 2000 03:29:02 +0000 (03:29 +0000)]
* config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
whether X is a CONST_INT.
(addsubcosts): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37911 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37910 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
aoliva [Fri, 1 Dec 2000 02:29:34 +0000 (02:29 +0000)]
* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
mis-used XINT.
(ARG_POINTER_REGNUM): Set to AP_REG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37909 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37908 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
aoliva [Fri, 1 Dec 2000 02:03:24 +0000 (02:03 +0000)]
* config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
splits): Only match on TARGET_SH4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37907 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Array.java: New file from classpath.
warrenl [Fri, 1 Dec 2000 01:48:34 +0000 (01:48 +0000)]
* Array.java: New file from classpath.
* BatchUpdateException.java: Ditto.
* Blob.java: Ditto.
* Clob.java: Ditto.
* Ref.java: Ditto.
* SQLData.java: Ditto.
* SQLInput.java: Ditto.
* SQLOutput.java: Ditto.
* Struct.java: Ditto.
* CallableStatement.java: Merged file from claspath.
* Connection.java: Ditto.
* DataTruncation.java: Ditto.
* DatabaseMetaData.java: Ditto.
* DriverManager.java: Ditto.
* PreparedStatement.java: Ditto.
* ResultSet.java: Ditto.
* ResultSetMetaData.java: Ditto.
* SQLException.java: Ditto.
* SQLWarning.java: Ditto.
* Statement.java: Ditto.
* Types.java: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37906 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* combine.c (try_combine): Disregard USEs when updating LOG_LINKS
aoliva [Fri, 1 Dec 2000 01:08:40 +0000 (01:08 +0000)]
* combine.c (try_combine): Disregard USEs when updating LOG_LINKS
of subsequent insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37905 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
rth [Fri, 1 Dec 2000 00:32:12 +0000 (00:32 +0000)]
    * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
        * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37904 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
rth [Fri, 1 Dec 2000 00:29:57 +0000 (00:29 +0000)]
    * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
        (DO_SELECT_SECTION): New.
        (SELECT_SECTION): Use it.
        (UNIQUE_SECTION_P): New.
        (UNIQUE_SECTION): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37903 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c-torture/execute/20001130-2.c: New testcase.
geoffk [Fri, 1 Dec 2000 00:15:29 +0000 (00:15 +0000)]
* gcc.c-torture/execute/20001130-2.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37902 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * src/cmath.cc: Remove.
gdr [Thu, 30 Nov 2000 23:44:32 +0000 (23:44 +0000)]
* src/cmath.cc: Remove.
* src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
(sources): Remove cmath.cc
* src/Makefile.in: Regenerate.

* include/c/bits/std_cmath.h (__cmath_power<>): Declare.
(__cmath_abs<>): New function.
(abs, fabs): Use __cmath_abs when no direct support is available.
(__pow_helper<>): New function.
(pow): Define here.  Use __pow_helper<>.

* include/c/bits/cmath.tcc: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37901 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
aoliva [Thu, 30 Nov 2000 23:00:57 +0000 (23:00 +0000)]
* c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
from va_list before using it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37900 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * flow.c (make_edge): Early out, if no flags to set.
rth [Thu, 30 Nov 2000 21:40:33 +0000 (21:40 +0000)]
    * flow.c (make_edge): Early out, if no flags to set.
        (calculate_global_regs_live): Clear out garbage only when necessary.

        * simplify-rtx.c (varray_type used_regs): New.
        (clear_table): Use it to only clear necessary items.
        (cselib_lookup, cselib_record_set): Remember newly set items.
        (cselib_update_varray_sizes, cselib_init): Initialize and grow
        used_regs.

        * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
        Move clearing of dead regs out of insn-loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37899 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * calls.c (expand_call): Emit queued insns before creating
rth [Thu, 30 Nov 2000 20:15:13 +0000 (20:15 +0000)]
    * calls.c (expand_call): Emit queued insns before creating
        the tail recursion sequence.

* gcc.c-torture/execute/20001130-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37898 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Thu, 30 Nov 2000 16:51:54 +0000 (16:51 +0000)]
cp:
* method.c (do_build_copy_constructor): Preserve cv
qualifications when accessing source object members.
(do_build_assign_ref): Likewise. Remove separate diagnostics for
unnamed fields.
testsuite:
* g++.old-deja/g++.other/op3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37896 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoprevent dual double definition protection
korbb [Thu, 30 Nov 2000 16:43:00 +0000 (16:43 +0000)]
prevent dual double definition protection

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37895 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoExplicitly state srcdir for fixincl.x references - Loren J. Rittle
korbb [Thu, 30 Nov 2000 16:30:05 +0000 (16:30 +0000)]
Explicitly state srcdir for fixincl.x references - Loren J. Rittle

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37894 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Thu, 30 Nov 2000 16:03:16 +0000 (16:03 +0000)]
cp:
* method.c (do_build_assign_ref): Construct appropriately
CV-qualified base reference. Don't allow const casts in base
conversion.
testsuite:
* g++.old-deja/g++.other/op2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37893 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * README.FRESCO: Remove obsolete file.
gerald [Thu, 30 Nov 2000 11:09:43 +0000 (11:09 +0000)]
* README.FRESCO: Remove obsolete file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37873 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Thu, 30 Nov 2000 09:36:29 +0000 (09:36 +0000)]
cp:
* call.c (build_over_call): Use VOID_TYPE_P. Don't die on
incomplete return type.
testsuite:
* g++.old-deja/g++.other/crash38.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37872 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Thu, 30 Nov 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37871 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Reorganize handling of *-*-gnu*, to share target
law [Thu, 30 Nov 2000 08:30:26 +0000 (08:30 +0000)]
* configure.in: Reorganize handling of *-*-gnu*, to share target
specific make details with Linux.  Update comments to clarify
        the distinction between GNU/Linux and GNU/Hurd.
* config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
TARGET_LIBGCC2_CFLAGS): Remove.  We now use the settings from
config/t-linux for the Hurd.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37870 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * POTFILES.in: Move divmod routines from config/mn10200 to config/
law [Thu, 30 Nov 2000 08:27:09 +0000 (08:27 +0000)]
    * POTFILES.in: Move divmod routines from config/mn10200 to config/
        Add dominance.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37869 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/mn10200/udivmod.c, config/mn10200/divmod.c,
law [Thu, 30 Nov 2000 08:25:59 +0000 (08:25 +0000)]
* config/mn10200/udivmod.c, config/mn10200/divmod.c,
config/mn10200/udivmodsi4.c: Moved from here.
* config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
* config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
C division functions.
* config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37868 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pa.md (conditional moves): Avoid holes in operand list.
law [Thu, 30 Nov 2000 08:15:41 +0000 (08:15 +0000)]
    * pa.md (conditional moves): Avoid holes in operand list.
        (mod, umod patterns): Similarly.
        (variable extract/shift patterns): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37867 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
neil [Thu, 30 Nov 2000 08:11:41 +0000 (08:11 +0000)]
    * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
        maybe_objc_check_decl, build_objc_string_object,
        objc_declare_alias, objc_declare_class, build_message_expr,
        build_protocol_expr, build_selector_expr, build_encode_expr,
        get_class_ivars, start_class, start_protocol): Remove
        redundant code, assuming doing_objc_thang is true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37866 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
law [Thu, 30 Nov 2000 06:41:29 +0000 (06:41 +0000)]
* pa.c (restore_unscaled_index_insn_codes): Delete procedure.
(record_unscaled_index_insn_codes): Likewise.
(unscaled_index_insn_codes): Delete.
(max_unscaled_index_insn_codes_uid): Delete.
(output_function_prologue, output_function_epilogue, pa_reorg):
Don't use the unscaled index insn hack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37865 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pa.md: Remove hack from all index insns to reverse the operand
law [Thu, 30 Nov 2000 06:37:34 +0000 (06:37 +0000)]
    * pa.md: Remove hack from all index insns to reverse the operand
        order of frame and stack pointer references incorrectly created
        in the reload pass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37864 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.h (emit_status): Delete member regno_pointer_flag and
law [Thu, 30 Nov 2000 06:31:19 +0000 (06:31 +0000)]
* function.h (emit_status): Delete member regno_pointer_flag and
rename regno_pointer_flag_length to regno_pointer_align_length.
Delete define for REGNO_POINTER_FLAG.
* integrate.h (inline_remap): Delete member regno_pointer_flag.
Add member x_regno_reg_rtx.
* rtl.h (rtx_def): Use frame_related bit to indicate register is
a pointer in REG expressions.  Define REG_POINTER macro.
* alias.c (find_base_value, find_base_term): Use REG_POINTER
instead of REGNO_POINTER_FLAG.
* combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
* emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
of regno_pointer_flag_length.  Remove code which refers to
regno_pointer_flag.
(mark_reg_pointer): Use REG_POINTER.
(free_emit_status): Remove code which refers to regno_pointer_flag.
(init_emit, mark_emit_status): Likewise.
* flow.c (dump_flow_info): Likewise.
* function.c (preserve_temp_slots): Likewise.
* integrate.c (expand_inline_function, copy_rtx_and_substitute):
Use x_regno_reg_rtx instead of regno_pointer_flag for function
pointer determination in map.
* loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
* predict.c (estimate_probability): Likewise.
* regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
* unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
regno_pointer_flag for function pointer determination in map.
* convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
REG_POINTER.
* pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
Use REG_POINTER.
(restore_unscaled_index_insn_codes): Revise comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37863 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
law [Thu, 30 Nov 2000 05:49:49 +0000 (05:49 +0000)]
* expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37862 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * extend.texi: Update documentation for attributes.
jsm28 [Thu, 30 Nov 2000 01:24:39 +0000 (01:24 +0000)]
* extend.texi: Update documentation for attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37861 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-29 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 30 Nov 2000 00:19:47 +0000 (00:19 +0000)]
2000-11-29  David O'Brien  <obrien@FreeBSD.org>
* config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
(ASM_DECLARE_OBJECT_NAME): Same.
(ASM_FILE_END): Same.
(ASM_FINISH_DECLARE_OBJECT): Same.
(ASM_IDENTIFY_GCC): Same.
(ASM_IDENTIFY_LANGUAGE): Same.
(ASM_OUTPUT_CONSTRUCTOR): Same.
(ASM_OUTPUT_DEF): Same.
(ASM_OUTPUT_DESTRUCTOR): Same.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
(ASM_OUTPUT_SECTION_NAME): Same.
(ASM_WEAKEN_LABEL): Same.
(BSS_SECTION_ASM_OP): Same.
(COMMON_ASM_OP): Same.
(CONST_SECTION_ASM_OP): Same.
(CONST_SECTION_FUNCTION): Same.
(CTORS_SECTION_ASM_OP): Same.
(DTORS_SECTION_ASM_OP): Same.
(ESCAPES): Same.
(FINI_SECTION_ASM_OP): Same.
(IDENT_ASM_OP): Same.
(IDENT_ASM_OP): Same.
(INIT_SECTION_ASM_OP): Same.
(INT_ASM_OP): Same.
(MAX_OFILE_ALIGNMENT): Same.
(SBSS_SECTION_ASM_OP): Same.
(SDATA_SECTION_ASM_OP): Same.
(SECTION_FUNCTION_TEMPLATE): Same.
(SELECT_SECTION): Same.
(SE_CONST_SECTION): Same.
(SIZE_ASM_OP): Same.
(SKIP_ASM_OP): Same.
(STRING_ASM_OP): Same.
(STRING_LIMIT): Same.
(TYPE_ASM_OP): Same.
(TYPE_OPERAND_FMT): Same.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20001128205112.C9793@redhat.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37860 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-decl.c (c_decode_option): Don't handle -lang-objc.
neil [Wed, 29 Nov 2000 22:19:28 +0000 (22:19 +0000)]
    * c-decl.c (c_decode_option): Don't handle -lang-objc.
        * objc/lang-options.h: Remove -lang-objc.
        * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
        * objc/objc-act.c (lang_init_options): Set c_language.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37859 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 29 Nov 2000 21:30:30 +0000 (21:30 +0000)]
2000-11-29  Benjamin Kosnik  <bkoz@redhat.com>

Fixes for build directories with colons, AIX build problems.
* src/Makefile.am: Cleanups, add documentation.
(libstdc++.INC): Simplify rule.
(myinstallheaders): Consolidate install rules.
(myinstalldirs): New, make directores.
(base_headers): Subdivide based on install directory.
(ext_headers): New.
(backward_headers): New.
(headers): Remove.
(c_headers): Remove, unused.
(c_shadow_headers): Split up, deal with conditional usage in a
sane manner.
* src/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37858 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
jakub [Wed, 29 Nov 2000 21:03:33 +0000 (21:03 +0000)]
* expr.c (can_store_by_pieces): Reinitialize max_size for reverse
tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37857 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-29 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 29 Nov 2000 20:57:55 +0000 (20:57 +0000)]
2000-11-29  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/20001111.x: Test fixed - remove XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37856 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-29 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 29 Nov 2000 20:37:02 +0000 (20:37 +0000)]
2000-11-29  Phil Edwards  <pme@sources.redhat.com>

Sync with the documentation from wwwdocs.
* docs/Makefile:  New file (rebuilds FAQ text version).
* docs/configopts.html:  Update.
* docs/documentation.html:  Update.
* docs/download.html:  Update.
* docs/index.html:  Update.
* docs/install.html:  Update.
* docs/links.html:  Update.
* docs/mail.html:  Update.
* docs/status.html:  Update.
* docs/thanks.html:  Update.
* docs/27_io/howto.html:  Update.
* docs/faq/index.html:  Update for 2.91.
* docs/faq/index.txt:  Update for 2.91.
* docs/footer.html:  Removed.
* docs/footer.ihtml:  New file.
* docs/gccrebuild.html:  Removed.
* docs/header.html:  Removed.
* docs/header.ihtml:  New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37855 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.dg/20001117-1.c: Add main.
jakub [Wed, 29 Nov 2000 20:13:47 +0000 (20:13 +0000)]
* gcc.dg/20001117-1.c: Add main.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37854 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-pragma.c (init_pragma): Update for parse_in type change.
neil [Wed, 29 Nov 2000 19:30:04 +0000 (19:30 +0000)]
    * c-pragma.c (init_pragma): Update for parse_in type change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37853 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* configure.in: recognize DOS-style absolute paths.
dj [Wed, 29 Nov 2000 19:07:29 +0000 (19:07 +0000)]
* configure.in: recognize DOS-style absolute paths.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37852 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * expr.h (store_by_pieces): Add prototype.
jakub [Wed, 29 Nov 2000 18:24:50 +0000 (18:24 +0000)]
* expr.h (store_by_pieces): Add prototype.
(can_store_by_pieces): Likewise.
* expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
(can_store_by_pieces): New.
(store_by_pieces): New.
(clear_by_pieces): New.
(clear_by_pieces_1): New.
(store_by_pieces_1): Renamed from clear_by_pieces, handle storing
arbitrary compiler generated constants into memory block.
(store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
* builtins.c (c_readstr): New.
(builtin_memcpy_read_str): New.
(expand_builtin_memcpy): If src is string constant and
emit_block_move would move it by pieces, compute integer constants
from the string and store it into memory block instead.
(builtin_strncpy_read_str): New.
(expand_builtin_strncpy): If N is not constant zero and c_strlen does
not return INTEGER_CST, don't optimize.
If N is larger than strlen(src) + 1, try to copy the string
including padding with store_by_pieces.
(expand_builtin_strcmp): If both arguments have side effects, don't
optimize.
(expand_builtin_fputs): If STR has side effects, don't optimize.

* gcc.c-torture/execute/string-opt-5.c: Add some strcmp and strncpy
tests.
* gcc.c-torture/execute/string-opt-6.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37851 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix copyright line
mmitchel [Wed, 29 Nov 2000 17:53:18 +0000 (17:53 +0000)]
Fix copyright line

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37850 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agotabify
jason [Wed, 29 Nov 2000 16:29:34 +0000 (16:29 +0000)]
tabify

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37849 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
rearnsha [Wed, 29 Nov 2000 15:53:46 +0000 (15:53 +0000)]
* arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
Add use of link register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37848 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoCheck this.len, not len, when determining if there is no more input data.
bryce [Wed, 29 Nov 2000 10:37:40 +0000 (10:37 +0000)]
Check this.len, not len, when determining if there is no more input data.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37847 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/util/zip/InflaterInputStream (read): Don't return -1 unless
bryce [Wed, 29 Nov 2000 10:06:03 +0000 (10:06 +0000)]
* java/util/zip/InflaterInputStream (read): Don't return -1 unless
the infate() call didn't deliver any output. Throw a ZipException if
the needsDictionary() call returns true.
* java/io/ByteArrayInputStream (read): Remove redundant bounds checks.
* java/io/InputStreamReader: Use the default buffer size for the
contained BufferedInputStream.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37846 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Wed, 29 Nov 2000 08:45:16 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37845 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * extend.texi: Update documentation for default format attributes.
jsm28 [Wed, 29 Nov 2000 07:38:20 +0000 (07:38 +0000)]
* extend.texi: Update documentation for default format attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37844 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
law [Wed, 29 Nov 2000 04:57:21 +0000 (04:57 +0000)]
* pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
a list, to keep track of the sections.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37843 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-29 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 29 Nov 2000 04:53:37 +0000 (04:53 +0000)]
2000-11-29  Bryce McKinlay  <bryce@albatross.co.nz>

* java/lang/natSystem.cc (init_properties): Set user.language and
user.region.
* configure.in: Check for setlocale.
* configure: Rebuilt.
* include/config.h.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37842 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-29 Loren J. Rittle <ljrittle@acm.org>
gdr [Wed, 29 Nov 2000 03:57:35 +0000 (03:57 +0000)]
2000-11-29  Loren J. Rittle  <ljrittle@acm.org>

        * tests_flags.in: Correct typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37840 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
gdr [Wed, 29 Nov 2000 03:54:39 +0000 (03:54 +0000)]
* tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
* mkcheck.in (SH_FLAGS, ST_FLAGS): ...here

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37839 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix pic_l;oad_addr to work in Thumb mode.
nickc [Wed, 29 Nov 2000 01:45:13 +0000 (01:45 +0000)]
Fix pic_l;oad_addr to work in Thumb mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37838 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * src/Makefile.am (sources): Add bitset.cc
gdr [Wed, 29 Nov 2000 01:09:09 +0000 (01:09 +0000)]
* src/Makefile.am (sources): Add bitset.cc
* src/Makefile.in: Regenrate.

* include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
macro. Replace __BITS_PER_WORDS throughout.
(__BITS_PER_WORDS): Remove.
(bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
definitions to src/bitset.cc.

* src/bitset.cc (bitset<>::_M_do_find_first,
bitset<>::_M_do_find_next):  Define here.
(_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
here. Explicitly instantiate definitions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37837 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
rth [Wed, 29 Nov 2000 00:27:54 +0000 (00:27 +0000)]
    * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
        after sibcall do_pending_stack_adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37836 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jump.c (delete_insn): Check that REG_LABEL note actually contains
amylaar [Wed, 29 Nov 2000 00:25:08 +0000 (00:25 +0000)]
* jump.c (delete_insn): Check that REG_LABEL note actually contains
a CODE_LABEL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37835 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-common.h: Remove flag_digraphs.
neil [Tue, 28 Nov 2000 23:07:29 +0000 (23:07 +0000)]
    * c-common.h: Remove flag_digraphs.
        * c-decl.c: Remove flag_digraphs.
        (c_decode_option): Don't set it.
        * c-lex.c (init_c_lex): Don't do anything for digraphs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37834 138bc75d-0d04-0410-961f-82ee72b054a4