OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years agoApply patch from Anthony Green to add java language support to Dwarf generation.
nickc [Thu, 3 Aug 2000 21:04:42 +0000 (21:04 +0000)]
Apply patch from Anthony Green to add java language support to Dwarf generation.

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

23 years ago* config-ml.in: Adjust multilib search paths to the
aoliva [Thu, 3 Aug 2000 19:19:33 +0000 (19:19 +0000)]
* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.

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

23 years ago * reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap
hubicka [Thu, 3 Aug 2000 18:36:14 +0000 (18:36 +0000)]
* reg-stack.c (subst_stack_regs_pat):  Use replace_reg to swap
operands.

* i386.c (ix86_expand_branch): Mode of comparison in
IF_THEN_ELSE is VOIDmode.

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

23 years ago * Makefile.in: Rebuilt.
tromey [Thu, 3 Aug 2000 17:56:02 +0000 (17:56 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.

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

23 years ago * gengenrtl.c, rtl.c: Avoid #elif.
law [Thu, 3 Aug 2000 16:06:13 +0000 (16:06 +0000)]
    * gengenrtl.c, rtl.c: Avoid #elif.

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

23 years ago * h8300.c: Fix a comment typo.
law [Thu, 3 Aug 2000 15:20:43 +0000 (15:20 +0000)]
    * h8300.c: Fix a comment typo.
        * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.

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

23 years ago * tm.texi (Register Classes): Clarify order of sub-initializers
law [Thu, 3 Aug 2000 15:05:25 +0000 (15:05 +0000)]
    * tm.texi (Register Classes): Clarify order of sub-initializers
        in REG_CLASS_CONTENTS.

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

23 years ago * jump.c: Fix formatting.
law [Thu, 3 Aug 2000 15:01:36 +0000 (15:01 +0000)]
* jump.c: Fix formatting.

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

23 years ago From SAITOH Masanobu:
amylaar [Thu, 3 Aug 2000 14:55:05 +0000 (14:55 +0000)]
From SAITOH Masanobu:
* sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.

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

23 years ago* config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option is not
cgf [Thu, 3 Aug 2000 13:30:18 +0000 (13:30 +0000)]
* config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option is not
supported by tradcpp and isn't actually needed for cygwin.

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

23 years ago * Makefile.am: Add new AWT stubs.
bryce [Thu, 3 Aug 2000 12:09:41 +0000 (12:09 +0000)]
* Makefile.am: Add new AWT stubs.
* java/awt/Canvas.java: New placeholder class.
* java/awt/Checkbox.java: Ditto.
* java/awt/CheckboxMenuItem.java: Ditto.
* java/awt/Choice.java: Ditto.
* java/awt/Dialog.java: Ditto.
* java/awt/FileDialog.java: Ditto.
* java/awt/List.java: Ditto.
* java/awt/ScrollPane.java: Ditto.
* java/awt/TextField.java: Ditto.
* java/awt/datatransfer/Clipboard.java: Ditto.
* java/awt/Component.java (treeLock): Now a static String. Add
comment.
* java/awt/MenuItem.java (MenuItem): Add default constructor.
* java/awt/Toolkit.java: Added all methods from J2SE 1.3 API docs.
Some commented out. Partially implemented.
* java/awt/natToolkit.cc: Removed file.

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

23 years ago * decl2.c: Silently ignore -Wstrict-prototypes; warn about
zack [Thu, 3 Aug 2000 08:26:36 +0000 (08:26 +0000)]
* decl2.c: Silently ignore -Wstrict-prototypes; warn about
-Wno-strict-prototypes.

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

23 years ago * bits/locale_facets.h (ctype::ctype): Don't name unused
mmitchel [Thu, 3 Aug 2000 07:56:17 +0000 (07:56 +0000)]
* bits/locale_facets.h (ctype::ctype): Don't name unused
parameters.

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

23 years ago * gcc.c-torture/compile/20000803-1.c: New test.
law [Thu, 3 Aug 2000 07:46:44 +0000 (07:46 +0000)]
    * gcc.c-torture/compile/20000803-1.c: New test.

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

23 years agoDaily bump.
law [Thu, 3 Aug 2000 07:45:10 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * gcc.c-torture/execute/20000801-3.c, gcc.c-torture/20000801-4.c:
law [Thu, 3 Aug 2000 07:36:13 +0000 (07:36 +0000)]
* gcc.c-torture/execute/20000801-3.c, gcc.c-torture/20000801-4.c:
New tests.
* gcc.c-torture/execute/20000801-3.x, gcc/c-torture/20000801-4.x:
Xfail.

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

23 years ago * toplev.c: Fix formatting.
law [Thu, 3 Aug 2000 07:29:11 +0000 (07:29 +0000)]
    * toplev.c: Fix formatting.

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

23 years ago * flow.c (find_auto_inc): Verify that we've got a REG before
law [Thu, 3 Aug 2000 07:16:39 +0000 (07:16 +0000)]
    * flow.c (find_auto_inc): Verify that we've got a REG before
        peeking at its regno.  Fail, don't abort if we can't find
        the increment of the desired register.

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

23 years ago * pa.md (shadd height reduction patterns/splitters): Remove.
law [Thu, 3 Aug 2000 07:05:28 +0000 (07:05 +0000)]
    * pa.md (shadd height reduction patterns/splitters): Remove.

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

23 years ago2000-08-03 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Thu, 3 Aug 2000 06:48:34 +0000 (06:48 +0000)]
2000-08-03  Bryce McKinlay  <bryce@albatross.co.nz>

* Makefile.am: Make inner class CNI headers depend on libgcj.zip
only.
Fixes "make -j" builds.
* Makefile.in: Rebuild.

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

23 years ago* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
aoliva [Thu, 3 Aug 2000 01:56:16 +0000 (01:56 +0000)]
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.

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

23 years agoWorkaround for -fssa testsuite failures.
wilson [Thu, 3 Aug 2000 00:31:39 +0000 (00:31 +0000)]
Workaround for -fssa testsuite failures.
* config/ia64/ia64-protos.h (flag_ssa): Declare.
* config/ia64/ia64.md (movti_internal, movti_internal+1): New.

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

23 years ago * dce.c: Remove all uses of assert.
mmitchel [Thu, 3 Aug 2000 00:17:11 +0000 (00:17 +0000)]
* dce.c: Remove all uses of assert.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* ssa.c: Likewise.

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

23 years ago* lib/objc.exp (objc_target_compile): Look for libobjc.a in
geoffk [Wed, 2 Aug 2000 22:24:35 +0000 (22:24 +0000)]
* lib/objc.exp (objc_target_compile): Look for libobjc.a in
libobjc/.libs to allow for libtool.

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

23 years ago * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
zack [Wed, 2 Aug 2000 22:03:53 +0000 (22:03 +0000)]
* pexecute.c:  Don't use vfork.  Initialize 'pid' before retry loop.

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

23 years ago * Makefile.in: Rebuilt.
tromey [Wed, 2 Aug 2000 21:54:04 +0000 (21:54 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (libgcj_la_SOURCES): Added posix.cc.
* java/net/natPlainSocketImpl.cc: Include posix.h.
(accept): Use _Jv_select.
* java/net/natPlainDatagramSocketImpl.cc: Include posix.h.
(receive): Use _Jv_select.
* java/io/natFileDescriptorPosix.cc: Include posix.h.
(available): Use _Jv_select.
* java/lang/natSystem.cc: Include posix.h.
(currentTimeMillis): Use _Jv_gettimeofday.
* include/posix.h: New file.
* posix.cc: New file.

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

23 years ago * gcc.c-torture/compile/20000802-1.c: New test.
jakub [Wed, 2 Aug 2000 20:46:32 +0000 (20:46 +0000)]
* gcc.c-torture/compile/20000802-1.c: New test.

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

23 years ago * gcc.h (lang_specific_driver): Constify second argument.
zack [Wed, 2 Aug 2000 20:21:27 +0000 (20:21 +0000)]
* gcc.h (lang_specific_driver): Constify second argument.
* gcc.c (translate_options, process_command, main): Likewise.
Constify variables to match.  Cast second argument to
pexecute.

* cppspec.c, gccspec.c, g++spec.c, g77spec.c, jvspec.c: Adjust
type of second argument to lang_specific_driver, and update
code as necessary.

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

23 years ago * scripts/encodings.pl: New file.
tromey [Wed, 2 Aug 2000 19:56:53 +0000 (19:56 +0000)]
* scripts/encodings.pl: New file.
* Makefile.in: Rebuilt.
* Makefile.am (convert_source_files): Added IOConverter.java.
* gnu/gcj/convert/UnicodeToBytes.java (UnicodeToBytes): Extend
IOConverter.
(getDefaultDecodingClass): Canonicalize default encoding name.
(getEncoder): Likewise.
* gnu/gcj/convert/BytesToUnicode.java (BytesToUnicode): Extend
IOConverter.
(getDefaultDecodingClass): Canonicalize default encoding name.
(getDecoder): Likewise.
* gnu/gcj/convert/IOConverter.java: New file.

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

23 years ago * gc_priv.h (GC_generic_malloc_inner): Prototype.
tromey [Wed, 2 Aug 2000 19:46:07 +0000 (19:46 +0000)]
* gc_priv.h (GC_generic_malloc_inner): Prototype.
(GC_generic_malloc): Likewise.
(GC_add_to_black_list_normal): Likewise.
(GC_find_header): Likewise.
(GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
* gc_mark.h (GC_find_start): Prototype.
(GC_signal_mark_stack_overflow): Likewise.

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

23 years ago2000-08-02 Manfred Hollstein <manfredh@redhat.com>
manfred [Wed, 2 Aug 2000 18:44:04 +0000 (18:44 +0000)]
2000-08-02  Manfred Hollstein  <manfredh@redhat.com>

* configure.in: Re-enable all references to libg++ and librx.

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

23 years ago * loop.c (scan_loop): Ensure update_end label does not
jakub [Wed, 2 Aug 2000 17:29:52 +0000 (17:29 +0000)]
* loop.c (scan_loop): Ensure update_end label does not
go away until reg_scan_update is run.

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

23 years ago * c-common.h: Prototype min_precision and c_build_qualified_type here...
zack [Wed, 2 Aug 2000 17:01:13 +0000 (17:01 +0000)]
* c-common.h: Prototype min_precision and c_build_qualified_type here...
* c-tree.h: ... not here.
* errors.h: Prototype fancy_abort.

* emit-rtl.c (gen_lowpart_common): Move variable 'c' into
HOST_BITS_PER_WIDE_INT == 64 ifdef block.
* regrename.c (regrename_optimize): Make control flow explicit.
(replace_reg_in_block): Initialize reg_use to 0.

* i386.c (legitimate_address_p): Rename error label to
report_error to avoid namespace clash.

cp:
* cp-tree.h: Don't prototype min_precision here.
(my_friendly_assert): Cast expression to void.
* semantics.c (do_poplevel): Initialize scope_stmts.

f:
* expr.c (ffeexpr_finished_): Cast signed side of ?:
expression to bool.

java:
* class.c (build_dtable_decl): Initialize dummy.

intl:
* dcgettext.c (find_msg): Initialize act before loop.
(guess_category_value): Add dummy uses of both parameters.
* localealias.c (read_alias_file): Cast arg of strchr to char *.

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

23 years ago * cp-tree.h (DECL_NEEDED_P): Tweak.
mmitchel [Wed, 2 Aug 2000 16:02:43 +0000 (16:02 +0000)]
* cp-tree.h (DECL_NEEDED_P): Tweak.

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

23 years ago * fold-const.c: Fix formatting.
law [Wed, 2 Aug 2000 15:28:44 +0000 (15:28 +0000)]
    * fold-const.c: Fix formatting.

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

23 years ago * i386.c (legitimate_address_p): Accept other bases than
hubicka [Wed, 2 Aug 2000 14:28:14 +0000 (14:28 +0000)]
* i386.c (legitimate_address_p): Accept other bases than
pic_offset_table_rtx for GOTOFF constructs.

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

23 years ago * i386.md (shift to lea splitter): Use const_int_operand.
hubicka [Wed, 2 Aug 2000 14:02:16 +0000 (14:02 +0000)]
* i386.md (shift to lea splitter): Use const_int_operand.

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

23 years agoDaily bump.
law [Wed, 2 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
zack [Wed, 2 Aug 2000 07:08:49 +0000 (07:08 +0000)]
* cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
cppspec.c: Do not use 'legal' or 'illegal' in error messages
and comments.

* cppmain.c (cb_define, cb_undef): Don't generate any output
if not done_initializing.
* cpplex.c (maybe_paste_with_next): When the token after a ##
is an omitted rest argument, only delete the token before it
if that token is a comma.  Do not warn about bogus token
pastes for , ## rest_arg.

* cpp.texi: Update.
* cpp.1: Regenerate.

* gcc.dg/cpp/macsyntx.c: Fix error regexp.

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

23 years ago * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
jason [Wed, 2 Aug 2000 07:04:33 +0000 (07:04 +0000)]
    * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
        when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
        and later.

        * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
        Be directories to search path.

        Remove support for __declspec(dllimport) and __declspec(dllexport).
        This is leftover cruft from the earlier BeOS gcc port when BeOS
        used Microsoft's PE object file format.
        * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
        * config/i386/t-beos (winnt.o): Remove Makefile frag.
        * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
        (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
        (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
        (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
        (REDO_SECTION_INFO_P): Remove.
        (ASM_EXPORT_DECL): Remove.
        (ASM_DECLARE_FUNCTION_NAME): Remove.
        (ASM_DECLARE_OBJECT_NAME): Remove.
        (ASM_OUTPUT_ALIGNED_COMMON): Remove.
        (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
        (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
        (STRIP_NAME_ENCODING): Remove.

        Remove support for obsolete version of BeOS that is no longer
        supported by Be.
        * configure.in (i*86-*-beospe*): Remove.
        * config/i386/beos-pe.h: Remove.

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

23 years ago * Makefile.in (OBJS): Added dce.o.
mmitchel [Wed, 2 Aug 2000 04:21:27 +0000 (04:21 +0000)]
* Makefile.in (OBJS): Added dce.o.
(ssa.o): Updated target to include ssa.h.
(flow.o): Likewise.
(toplev.o): Likewise.
(dce.o): Created target.
* basic-block.h: Added comments.
(INVALID_BLOCK): Added definition.
(connect_infinite_loops_to_exit): Added declaration.
Moved SSA declarations to ssa.h.
* flow.c: Added inclusion of ssa.h.
(struct depth_first_search_dsS, depth_first_search_ds):
Added definitions.
(compute_immediate_postdominators): Added definition.
(connect_infinite_loops_to_exit): Likewise.
(flow_dfs_compute_reverse_init): Likewise.
(flow_dfs_compute_reverse_add_bb): Likewise.
(flow_dfs_compute_reverse_execute): Likewise.
(flow_dfs_compute_reverse_finish): Likewise.
* rtl.h (rtx/in_struct): Added use to determine insn necessity.
(LABEL_P): Added definition.
(JUMP_P): Likewise.
(NOTE_P): Likewise.
(BARRIER_P): Likewise.
(JUMP_TABLE_DATA_P): Likewise.
(INSN_DEAD_CODE_P): Likewise.
* ssa.c: Replaced inclusions with ssa.h inclusion.
(CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
(rename_registers): Removed unnecessary variables.
* ssa.h: Created by moving declarations from ssa.c and
basic-block.h.
* timevar.def: Defined TV_DEAD_CODE_ELIM.
* toplev.c: Added ssa.h inclusion.
(dump_file_index): Added DFI_dce.
(dump_file): Added "dce" entry.
Defined flag_ssa.
(f_options): Added dce entry.
* invoke.texi: Document -fdce.  Emphasize experimental status of
-fssa.

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

23 years ago2000-08-02 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 2 Aug 2000 03:25:13 +0000 (03:25 +0000)]
2000-08-02  Bryce McKinlay  <bryce@albatross.co.nz>

        * interpret.cc (_Jv_InterpMethod::continue1): Type of `fun' changed
to match C declaration in ffi.h.
* Makefile.am: Add java/awt/Button.java.
* Makefile.in: Rebuilt.

2000-07-29  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Type of the
        cast of the second argument to `ffi_raw_call' changed to match
        prototype.

2000-07-26  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jni.cc (_Jv_JNIMethod::call): Type of the cast of the second
        argument to `ffi_raw_call' changed to match prototype.

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

23 years agoResurrect - accidentally deleted in previous commit
zack [Wed, 2 Aug 2000 01:19:30 +0000 (01:19 +0000)]
Resurrect - accidentally deleted in previous commit

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

23 years agoargh, forgot to save file
zack [Wed, 2 Aug 2000 01:14:37 +0000 (01:14 +0000)]
argh, forgot to save file

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

23 years ago * cpperror.c (v_message): Split into _cpp_begin_message and
zack [Wed, 2 Aug 2000 01:13:45 +0000 (01:13 +0000)]
* cpperror.c (v_message): Split into _cpp_begin_message and
v_message macro.  All callers updated.
(_cpp_begin_message): Do inhibit_errors/inhibit_warnings
checks here.

* cppfiles.c (cpp_syshdr_flags): New function.
(read_include_file): Don't call cpp_output_tokens.  Call
enter_file hook.
* cppinit.c (dump_macros_helper): Moved to cppmain.c.
(cpp_reader_init): Don't initialize token_buffer.  Call
_cpp_init_internal_pragmas.
(cpp_cleanup): Don't clear token_buffer.
(cpp_start_read): Don't worry about output from -D processing.
Don't call cpp_output_tokens.
(cpp_finish): Don't dump macros here.  Don't call
cpp_output_tokens.
* cppmacro.c (_cpp_dump_definition): Rename
cpp_dump_definition.  Write directly to a FILE *.
(dump_funlike_macro): Delete.
(dump_macro_args): New.

* cpplex.c (TOKEN_LEN): Convert to inline function.
(_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
cpp_scan_line, _cpp_dump_list): Delete.
(cpp_printf, cpp_output_list): New.
(output_line_command): Don't worry about entering or leaving files.
(cpp_scan_buffer): Just output each token as we hit it.
(process_directive): Don't call cpp_output_tokens.
(_cpp_glue_header_name): Don't use token_buffer.
(output_token, dump_param_spelling): Write directly to a FILE *.

* cpplib.c (pass_thru_directive, dump_macro_name,
pragma_dispatch, do_pragma_gcc): Delete.
(do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
functions.
(do_error, do_warning, pragma_dependency): Call
_cpp_begin_message, then cpp_output_list.
(cpp_register_pragma, cpp_register_pragma_space,
_cpp_init_internal_pragmas): New.
(do_pragma): Walk the pragmas table here.
(do_pragma_once, do_pragma_poison, do_pragma_system_header,
do_pragma_dependency): Return void.
(do_pragma_implementation): Moved to cppmain.c.

* cpplib.h: Update prototypes.
 (struct cpp_reader): Remove printer, token_buffer,
token_buffer_size, and limit.  Add struct cb, and pragmas.
(struct cpp_printer): Remove last_id and written.
(CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
CPP_ADJUST_WRITTEN): Delete.
* cpphash.h: Update prototypes.
(ufputs): New wrapper.

* cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
(main): Set up callbacks.  Register #pragma implementation.
Dump macros from here.

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

23 years ago* rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
geoffk [Wed, 2 Aug 2000 00:53:59 +0000 (00:53 +0000)]
* rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
* rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
* flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
insns if they have a REG_MAYBE_DEAD note attached.
* config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
(rs6000_emit_load_toc_table): TOC loads may go dead.

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

23 years agoFinish ABI change started by last patch, this time I tested it.
wilson [Tue, 1 Aug 2000 22:23:56 +0000 (22:23 +0000)]
Finish ABI change started by last patch, this time I tested it.
* config/ia64/ia64.c (ia64_function_arg): Fix last change.  Verify
type exists before using it.  Use number of words as alignment
otherwise.
(ia64_function_arg_partial_nregs, ia64_function_arg_advance,
ia64_va_arg): Propagate ia64_function_args changes here.

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

23 years ago * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
rth [Tue, 1 Aug 2000 20:24:22 +0000 (20:24 +0000)]
    * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
        * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.

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

23 years ago From Joern Rennecke:
crux [Tue, 1 Aug 2000 18:45:53 +0000 (18:45 +0000)]
From Joern Rennecke:
* sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
* sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
unless TARGET_SH3E is set.
* t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.

* sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
(ashlsi3_std): New pattern.
(ashlsi3 expander): Use it for TARGET_SH3.
* sh.c (gen_ashift): Use it instead of ashlsi3_k.

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

23 years ago2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Tue, 1 Aug 2000 18:07:23 +0000 (18:07 +0000)]
2000-08-01  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* docs/install.html: Edit bits about requiring a special version
of the autotools.

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

23 years ago * loop.c (canonicalize_condition): use destination, not source to
hubicka [Tue, 1 Aug 2000 10:36:25 +0000 (10:36 +0000)]
* loop.c (canonicalize_condition):  use destination, not source to
determine set's mode.

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

23 years agoDaily bump.
law [Tue, 1 Aug 2000 07:45:41 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Tue, 1 Aug 2000 07:44:11 +0000 (07:44 +0000)]
2000-07-31  Benjamin Kosnik  <bkoz@cygnus.com>

* libio/fileops.cc: Update to current glibc sources.
* libio/genops.c: Same.
* libio/iofwide.c: Same.
* libio/libio.h: Same.
* libio/libioP.h: Same.
* libio/wfiledoalloc.c: Same.
* libio/wgenops.c: Same.

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

23 years ago * flow.c (clear_log_links): Fix typo.
mmitchel [Tue, 1 Aug 2000 06:42:51 +0000 (06:42 +0000)]
* flow.c (clear_log_links): Fix typo.

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

23 years ago* ltconfig, ltmain.sh: Update from libtool multi-language branch.
aoliva [Tue, 1 Aug 2000 04:45:34 +0000 (04:45 +0000)]
* ltconfig, ltmain.sh: Update from libtool multi-language branch.
* ltcf-c.sh (need_lc): Fix test message.  Set wl for archive_cmds.
(ac_cv_prog_cc_pic): Don't print `cached' without `checking'.
* ltcf-cxx.sh (need_lc): Set based on postdeps.

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

23 years ago * loop.c (check_dbra_loop): Make change from July 17, 2000 work
law [Tue, 1 Aug 2000 04:19:47 +0000 (04:19 +0000)]
    * loop.c (check_dbra_loop): Make change from July 17, 2000 work
        on targets which need more than one insn for a compare/cbranch
        operation.

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

23 years ago * gcc-c-torture/execute/20000731-2.c: New test.
law [Tue, 1 Aug 2000 04:11:57 +0000 (04:11 +0000)]
    * gcc-c-torture/execute/20000731-2.c: New test.
Fix will be applied shortly...

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

23 years ago* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.
aoliva [Tue, 1 Aug 2000 04:10:47 +0000 (04:10 +0000)]
* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.

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

23 years agoAdjust structure parameter passing to match ABI change.
wilson [Tue, 1 Aug 2000 03:22:53 +0000 (03:22 +0000)]
Adjust structure parameter passing to match ABI change.
* config/ia64/ia64.c (ia64_function_arg): Use alignment not size
when computing offset.

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

23 years ago * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
law [Tue, 1 Aug 2000 03:16:19 +0000 (03:16 +0000)]
    * genpeep.c (main): Handle DEFINE_PEEPHOLE2.

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

23 years ago * gcc.c-torture/execute/20000731-1.c: New test.
law [Tue, 1 Aug 2000 03:14:49 +0000 (03:14 +0000)]
    * gcc.c-torture/execute/20000731-1.c: New test.
        * gcc.c-torture/execute/20000731-1.x: Expected to fail for i?86-*-*.

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

23 years ago * combine.c: Fix formatting.
law [Tue, 1 Aug 2000 03:11:55 +0000 (03:11 +0000)]
* combine.c: Fix formatting.

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

23 years ago * h8300.md: Fix formatting.
law [Tue, 1 Aug 2000 03:05:52 +0000 (03:05 +0000)]
    * h8300.md: Fix formatting.

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

23 years ago* flow.c (clear_log_links): Nuke global_live_at_start and
geoffk [Tue, 1 Aug 2000 01:27:45 +0000 (01:27 +0000)]
* flow.c (clear_log_links): Nuke global_live_at_start and
global_live_at_end data, since if the log_links stuff is invalid
so is global_live_at_*.

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

23 years ago * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
rth [Tue, 1 Aug 2000 00:07:43 +0000 (00:07 +0000)]
    * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.

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

23 years ago2000-07-31 Jakub Jelinek <jakub@redhat.com>
zack [Mon, 31 Jul 2000 23:47:19 +0000 (23:47 +0000)]
2000-07-31  Jakub Jelinek  <jakub@redhat.com>

* cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
(_cpp_get_token): Don't macro expand a just pasted token if it
was pasted at no_expand_level.

* testsuite/gcc.dg/cpp/paste7.c: New test.

2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>

* cppmacro.c (find_param, count_params, save_expansion):
Permit 'defined' as a macro parameter name.

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

23 years agoOops - this went with the previous change set
zack [Mon, 31 Jul 2000 23:39:08 +0000 (23:39 +0000)]
Oops - this went with the previous change set

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

23 years ago * lang-specs.h: Use %i in rule for .ii files.
jason [Mon, 31 Jul 2000 21:00:36 +0000 (21:00 +0000)]
    * lang-specs.h: Use %i in rule for .ii files.

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

23 years ago * gcc.dg/cpp/20000725-1.c: New test.
jakub [Mon, 31 Jul 2000 19:51:10 +0000 (19:51 +0000)]
* gcc.dg/cpp/20000725-1.c: New test.

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

23 years ago* configure.in (qCXX_FOR_TARGET): Quote `&' characters in
aoliva [Mon, 31 Jul 2000 19:29:03 +0000 (19:29 +0000)]
* configure.in (qCXX_FOR_TARGET): Quote `&' characters in
CXX_FOR_TARGET for sed.

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

23 years ago * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
zack [Mon, 31 Jul 2000 18:29:58 +0000 (18:29 +0000)]
* Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
xcpp to cpp throughout.
(native): Remove unnecessary dependency on cpp.

* gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
tradcpp to tradcpp0.
(.i spec): Add missing output-file spec to cc1 command line.

* ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h,
objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.

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

23 years ago * gcc.dg/c90-digraph-1.c: Restore { dg-do run } marker.
zack [Mon, 31 Jul 2000 18:19:28 +0000 (18:19 +0000)]
* gcc.dg/c90-digraph-1.c: Restore { dg-do run } marker.
* gcc.dg/noncompile/990416-1.c: Do not expect an implicit-
declaration warning for __builtin_dwarf_reg_size.

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

23 years ago * c-decl.c (mesg_implicit_function_declaration): Init to -1.
zack [Mon, 31 Jul 2000 18:10:31 +0000 (18:10 +0000)]
* c-decl.c (mesg_implicit_function_declaration): Init to -1.
(implicit_decl_warning): New function.
(implicitly_declare): Use it.
* c-typeck.c (build_external_ref): Use implicit_decl_warning
to complain about implicit decls of builtins.

* c-lang.c (lang_init): Set mesg_implicit_function_declaration
based on pedantic && flag_isoc99, if not already set.
* c-tree.h: Declare mesg_implicit_function_declaration.
Prototype implicit_decl_warning.

* gcc.dg/c99-impl-decl-1.c: No longer XFAIL.

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

23 years ago * Makefile.in (ssa.o): Updated header files in dependences.
mmitchel [Mon, 31 Jul 2000 17:33:28 +0000 (17:33 +0000)]
* Makefile.in (ssa.o): Updated header files in dependences.
* basic-block.h: Added compute_immediate_postdominators declaration.
* config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
definition.
* flow.c (compute_immediate_dominators): Updated comment.
(compute_immediate_postdominators): Added definition.
* rtl.h (HARD_REGISTER_P): Added definition.
* ssa.c: Include additional header files.
(assert): Added definition.
(ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
include select hard registers.
(ssa_rename_to_insert): Likewise.
(ssa_rename_from_initialize): Likewise.
(ssa_rename_from_lookup): Likewise.
(original_register): Likewise.
(ssa_rename_from_insert): Added to reimplement ssa_rename_from to
include select hard reigsters.
(ssa_rename_from_traverse): Likewise.
(ssa_rename_from_free): Likewise.
(ssa_rename_from_print): Likewise.
(ssa_rename_from_print_1): Likewise.
(ssa_rename_from_hash_function): Likewise.
(ssa_rename_from_equal): Likewise.
(ssa_rename_from_delete): Likewise.
(simplify_to_immediate_dominators): Removed in favor of
flow.c:compute_immediate_dominators.
(find_evaluations_1): Modified to work with hard registers.
(insert_phi_node): Likewise.
(insert_phi_nodes): Likewise.
(struct rename_set_data): Updated prev_reg comment.
(create_delayed_rename): Modified to work with hard registers.
(RENAME_NO_RTX): Updated comment.
(apply_delayed_renames): Modified to work with hard registers.
(rename_insn_1): Likewise and added handling of CLOBBER rtls.
(rename_block): Updated to use revised ssa_rename_to interface.
(rename_registers): Updated to use revised ssa_rename_to and
ssa_rename_from interface.
(convert_to_ssa): Revised to use compute_immediate_dominators and
deal with hard registers.
(make_regs_equivalent_over_bad_edges): Modified to work with hard
registers.  Added check for illegal unification of hard register.
(make_equivalent_phi_alternatives_equivalent): Modified to work
with hard registers.
(compute_conservative_reg_partition): Likewise.
(coalesce_if_unconflicting): Modified to work with hard registers
and check for conflicting hard registers.
(mark_phi_and_copy_regs): Revised loop to work only on pseudo
registers.
(rename_equivalent_regs_in_insn): Modified to work with hard
registers.
(record_canonical_element_1): Added definition.
(check_hard_regs_in_partition): Added definition.
(convert_from_ssa): Added data structure deallocation and check
for illegal hard register unification.
(conflict_hard_regs_p): Added definition.
* toplev.c (rest_of_compilation): Added comment.

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

23 years ago2000-07-30 Anthony Green <green@redhat.com>
green [Mon, 31 Jul 2000 17:23:25 +0000 (17:23 +0000)]
2000-07-30  Anthony Green  <green@redhat.com>

        * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.

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

23 years ago * builtins.c (expand_builtin_apply): Don't defer pop during
rth [Mon, 31 Jul 2000 16:37:34 +0000 (16:37 +0000)]
    * builtins.c (expand_builtin_apply): Don't defer pop during
        argument setup.

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

23 years ago * calls.c (combine_pending_stack_adjustment_and_call): Only use
law [Mon, 31 Jul 2000 14:04:41 +0000 (14:04 +0000)]
    * calls.c (combine_pending_stack_adjustment_and_call): Only use
        preferred_unit_stack_boundary when it is > 1.

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

23 years ago * c-common.c (init_function_format_info): Add C99 format functions
law [Mon, 31 Jul 2000 14:00:34 +0000 (14:00 +0000)]
* c-common.c (init_function_format_info): Add C99 format functions
in C99 mode.

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

23 years ago * Makefile.in: Remove naked "^L".
law [Mon, 31 Jul 2000 13:58:51 +0000 (13:58 +0000)]
    * Makefile.in: Remove naked "^L".

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

23 years ago * local-alloc.c: Fix formatting.
law [Mon, 31 Jul 2000 13:57:02 +0000 (13:57 +0000)]
    * local-alloc.c: Fix formatting.

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

23 years ago * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
law [Mon, 31 Jul 2000 13:11:39 +0000 (13:11 +0000)]
* c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
void' or 'register void' as being the special case of 'void' alone
in a parameter list.

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

23 years ago * gcc.dg/noncompile/voidparam-1.c: New test.
law [Mon, 31 Jul 2000 13:10:37 +0000 (13:10 +0000)]
    * gcc.dg/noncompile/voidparam-1.c: New test.

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

23 years ago * h8300.c (get_shift_alg): Remove the variable alg.
law [Mon, 31 Jul 2000 13:08:11 +0000 (13:08 +0000)]
    * h8300.c (get_shift_alg): Remove the variable alg.
        (emit_a_shift): Rearrange code to improve readability.

        * h8300.md (movsi_h8300hs): Rearrange code to improve readability.

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

23 years ago * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
law [Mon, 31 Jul 2000 13:01:23 +0000 (13:01 +0000)]
    * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
        discarding qualifiers into a plain warning.

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

23 years agoRotate out 6 more months of ChangeLog entries.
law [Mon, 31 Jul 2000 12:59:37 +0000 (12:59 +0000)]
Rotate out 6 more months of ChangeLog entries.

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

23 years ago * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
law [Mon, 31 Jul 2000 12:51:11 +0000 (12:51 +0000)]
    * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
        HImode on all architectures and a combination of HImode and SImode
        on H8/300H and H8/S.

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

23 years ago * h8300.c (split_adds_subs): Rearrange code for conciseness.
law [Mon, 31 Jul 2000 12:44:28 +0000 (12:44 +0000)]
    * h8300.c (split_adds_subs): Rearrange code for conciseness.

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

23 years ago * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
hubicka [Mon, 31 Jul 2000 10:30:44 +0000 (10:30 +0000)]
* i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
in my last checkin.

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

23 years ago * recog.c (extract_insn): Set operand_mode according to
hubicka [Mon, 31 Jul 2000 08:42:26 +0000 (08:42 +0000)]
* recog.c (extract_insn): Set operand_mode according to
operand if match_operand is VOIDmode.

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

23 years ago * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
hubicka [Mon, 31 Jul 2000 08:37:30 +0000 (08:37 +0000)]
* recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.

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

23 years ago* c-parse.in (extdefs): Call ggc_collect between external
geoffk [Mon, 31 Jul 2000 08:28:01 +0000 (08:28 +0000)]
* c-parse.in (extdefs): Call ggc_collect between external
definitions.

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

23 years agoDaily bump.
law [Mon, 31 Jul 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * java/awt/Component.java (toString): Implemented.
bryce [Mon, 31 Jul 2000 04:11:49 +0000 (04:11 +0000)]
* java/awt/Component.java (toString): Implemented.
* java/awt/Container.java (addImpl): Remove FIXME. Only call
dispatchEvent() to dispatch the event.
(removeImpl): Ditto.

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

23 years ago2000-07-30 Anthony Green <green@redhat.com>
green [Mon, 31 Jul 2000 02:33:12 +0000 (02:33 +0000)]
2000-07-30  Anthony Green  <green@redhat.com>

        * java/awt/Component.java: Add treeLock object.
        (getTreeLock): Implement.
        (isShowing): Implement.

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

23 years ago * java/awt/BorderLayout.java (BorderLayout()): New constructor.
tromey [Mon, 31 Jul 2000 02:03:51 +0000 (02:03 +0000)]
* java/awt/BorderLayout.java (BorderLayout()): New constructor.

* java/awt/Frame.java (Frame): Pass `null' to Window constructor.

* java/awt/Window.java (addNotify): Wrote.
(addWindowListener): Wrote.
(getLocale): Wrote.
(getWarningString): Wrote.
(processEvent): Wrote.
(processWindowEvent): Wrote.
(removeWindowListener): Wrote.
(show): Call validate(), setVisible().
(toBack): Wrote.
(toFront): Wrote.

* java/awt/Toolkit.java (createWindow): Declare.

* java/awt/Frame.java (addNotify): Use getToolkit to find
toolkit.

* java/awt/Component.java (invalidate): Wrote.
(isValid): Wrote.
(getToolkit): Wrote.

* java/awt/Container.java (addContainerListener): Removed
unnecessary cast.
(removeContainerListener): Likewise.
(addImpl): Wrote.
(add(Component)): Use it.
(add(String,Component)): Likewise.
(add(Component,int)): Likewise.
(add(Component,Object)): Likewise.
(add(Component,Object,int)): Likewise.
(doLayout): Wrote.
(getAlignmentX): Wrote.
(getAlignmentY): Wrote.
(getComponentAt): Wrote.
(getMaximumSize): Wrote.
(invalidate): Wrote.
(list(PrintStream,int)): Wrote.
(list(PrintWriter,int)): Wrote.
(getMinimumSize): Wrote.
(getPreferredSize): Wrote.
(printComponents): Wrote.
(processContainerEvent): Look at containerListener, not
componentListener.
(remove): Added event processing and peer destruction.
(removeAll): Use remove.
(removeNotify): Wrote.
(validate): Wrote.
(validateTree): Wrote.

* java/awt/Scrollbar.java (addNotify): Do nothing if peer exists.
* java/awt/Label.java (addNotify): Do nothing if peer exists.
* java/awt/Container.java (addNotify): Don't create Container
peer.
* java/awt/Button.java (addNotify): Do nothing if peer exists.

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

23 years ago Allow indirect primary bases.
mmitchel [Mon, 31 Jul 2000 00:24:44 +0000 (00:24 +0000)]
Allow indirect primary bases.
* cp-tree.h (struct lang_type): Remove vfield_parent.  Add
primary_base.
(CLASSTYPE_VFIELD_PARENT): Remove.
(CLASSTYPE_PRIMARY_BINFO): Reimplement.
(BINFO_PRIMARY_BINFO): Remove.
(CLASSTYPE_HAS_PRIMARY_BASE_P): Reimplement.
(BINFO_VBASE_PRIMARY_P): Likewise.
(BINFO_PRIMARY_BASE_OF): New macro.
(BINFO_INDIRECT_PRIMARY_P): Likewise.
(get_primary_binfo): New function.
* decl.c (lang_mark_tree): Make lang_type::primary_base.
* class.c (vcall_offset_data_s): Rename to ...
(vtbl_init_data_s): ... this.  Rename primary_p to primary_vtbl_p,
and add ctor_vtbl_p.
(get_derived_offset): Use get_primary_binfo.
(dfs_mark_primary_bases): Adjust handling of virtual primary
bases.
(mark_primary_bases): Likewise.
(set_primary_base): Take a binfo, not an integer, as a
representation of the primary base.
(indirect_primary_base_p): Remove.
(determine_primary_base): Adjust for indirect primary bases.
(dfs_find_final_overrider): Fix typo in coment.
(update_vtable_entry_for_fn): Use get_primary_binfo.
(layout_nonempty_base_or_field): Tweak.
(build_base_fields): Adjust for new primary base semantics.
(dfs_propagate_binfo_offsets): Remove.
(propagate_binfo_offsets): Rewrite.
(dfs_set_offset_for_shared_vbases): Remove.
(layout_virtual_bases): Don't use it.
(layout_class_type): Set CLASSTYPE_SIZE correctly under the new
ABI.
(finish_struct_1): Set CLASSTYPE_PRIMARY_BINFO, not
CLASSTYPE_VFIELD_PARENT.
(dfs_get_primary_binfo): New function.
(get_primary_binfo): Likewise.
(dump_class_hierarchy_r): Tweak printing of primary bases.
(build_vtbl_initializer): Fix typo in comments.  Use
vtbl_init_data.
(build_vcall_and_vbase_vtbl_entries): Likewise.
(build_vbaes_offset_vtbl_entries): Likewise.
(dfs_build_vcall_offset_vtbl_entries): Adjust setting of
BV_VCALL_INDEX to handle indirect primary bases.
(build_vcall_offset_vtbl_entries): Use vtbl_init_data.
(build_rtti_vtbl_entries): Likewise.
* search.c (get_shared_vbase_if_not_primary): Tweak.
(find_vbase_instance): Likewise.
(binfo_for_vtable): Simplify.
* tree.c (unshare_base_binfos): Clear BINFO_PRIMARY_BASE_OF.
(make_binfo): Make it have 11 entries.

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

23 years agoFix bug in my last checkin.
hubicka [Mon, 31 Jul 2000 00:06:48 +0000 (00:06 +0000)]
Fix bug in my last checkin.

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

23 years ago * Makefile.in (OBJS): Add doloop.o.
rth [Sun, 30 Jul 2000 23:58:03 +0000 (23:58 +0000)]
* Makefile.in (OBJS): Add doloop.o.
* doloop.c: New file.

* final.c (insn_current_reference_address): Return 0 before final.
* flags.h (flag_branch_on_count_reg): Fix typos in commentary.
* jump.c (any_uncondjump_p): Likewise.
* loop.c (indirect_jump_in_function): Make static.
(strength_reduce): Call doloop_optimize.
(insert_bct, instrument_loop_bct): Remove.
* loop.h (doloop_optimize): Prototype.
* recog.c (split_all_insns): Split all INSN_P.
* toplev.c (flag_branch_on_count_reg): Default on.

* config/c4x/c4x.c (c4x_optimization_options): Don't set
flag_branch_on_count_reg.
* config/i386/i386.c (override_options): Likewise.
* config/rs6000/rs6000.c (optimization_options): Likewise.

* config/i386/i386.md (decrement_and_branch_on_count): Remove.
(doloop_end): New.
(dbra_ge): Remove, as well as all it's splitters.

* config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
(doloop_end): New.

* config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
(ia64_register_move_cost): Declare.
* config/ia64/ia64.c (ar_lc_reg_operand): New.
(struct ia64_frame_info): Add ar_size.
(ia64_compute_frame_size): Set it.
(save_restore_insns): Save and restore ar.lc.
(ia64_register_move_cost): New, moved from header file.  Handle
application registers.
(REG_AR_PFS, REG_AR_EC): Remove.  Replace with AR_*_REGNUM numbers.
(emit_insn_group_barriers): Special case doloop_end_internal.
(ia64_epilogue_uses): Mark ar.lc live at end.
* config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
(AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
(FIRST_PSEUDO_REGISTER): Make room.
(AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
(FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
(REG_ALLOC_ORDER): Update.
(HARD_REGNO_MODE_OK): Update.
(REGISTER_NAMES): Update.
(enum reg_class): Add AR_M_REGS and AR_I_REGS.
(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
(REGNO_REG_CLASS): Update.
(LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
(REGISTER_MOVE_COST): Move out of line.
(PREDICATE_CODES): Update.
* config/ia64/ia64.md (movdi patterns): Handle ar register classes.
(addsi3_plus1_alt, adddi3_plus1_alt): New.
(shladd_elim splitter): Allow constants in the predicate.
(doloop_end, doloop_end_internal): New.

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

23 years ago * gcc.dg/c90-digraph-1.c: Don't xfail.
rth [Sun, 30 Jul 2000 23:54:59 +0000 (23:54 +0000)]
    * gcc.dg/c90-digraph-1.c: Don't xfail.
        * gcc.dg/compare2.c (case 10): Xfail.
        * gcc.dg/noncompile/redecl-1.c: Fix expected error message.

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

23 years ago * genattrtab.c (struct insn_def): Add lineno member.
rth [Sun, 30 Jul 2000 23:38:26 +0000 (23:38 +0000)]
    * genattrtab.c (struct insn_def): Add lineno member.
        (struct insn_ent): Likewise.
        (struct attr_desc): Likewise.
        (struct delay_desc): Likewise.
        (struct function_unit_op): Likewise.
        (struct function_unit): Likewise.
        (check_attr_value): Use message_with_line.
        (check_defs): Likewise.
        (expand_units): Likewise.
        (check_attr_test): Take a lineno argument.
        (gen_attr): Likewise.
        (gen_insn): Likewise.
        (gen_delay): Likewise.
        (gen_unit): Likewise.
        (main): Give it to them.
        (convert_set_attr_alternative): Take an insn_def argument
        instead of num_alt and insn_index.
        (convert_set_attr): Likewise.
        (write_test_expr): Protect INSN_ADDRESSES load
        with INSN_ADDRESSES_SET_P.

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