platform/upstream/linaro-gcc.git
24 years ago * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
amylaar [Wed, 16 Feb 2000 01:29:42 +0000 (01:29 +0000)]
* sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.

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

24 years ago * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
amylaar [Wed, 16 Feb 2000 00:59:17 +0000 (00:59 +0000)]
* sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
(smulsi3_highpart_i): Name.
(udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
(divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
(smulsi3_highpart, umulsi3_highpart): Likewise.

(mulsidi3_i, umulsidi3_i): Make rtl describe operation
correctly independent of endianness.
(mulsidi3, umulsidi3): Now define_insn.  Hide details that
confuse the optimizers.
(mulsidi3+1, umulsidi3+1): New define_split.

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

24 years ago * libjava.jni/virtual.java: New file.
tromey [Wed, 16 Feb 2000 00:19:55 +0000 (00:19 +0000)]
* libjava.jni/virtual.java: New file.
* libjava.jni/virtual.c: New file.
* libjava.jni/virtual.out: New file.
* libjava.jni/final_method.java: New file.
* libjava.jni/final_method.c: New file.
* libjava.jni/final_method.out: New file.
* libjava.jni/overload.java: New file.
* libjava.jni/overload.c: New file.
* libjava.jni/overload.out: New file.
* libjava.jni/simple_int.java: New file.
* libjava.jni/simple_int.c: New file.
* libjava.jni/simple_int.out: New file.
* libjava.jni/invoke.out: New file.
* libjava.jni/invoke.c: New file.
* libjava.jni/invoke.java: New file.

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

24 years ago * resolve.cc (ncode): Set args_raw_size. Compute jni_cif and
tromey [Wed, 16 Feb 2000 00:07:34 +0000 (00:07 +0000)]
* resolve.cc (ncode): Set args_raw_size.  Compute jni_cif and
jni_arg_types.
(init_cif): Added `rtype_p' argument.
* include/java-interp.h (class _Jv_MethodBase): Added
args_raw_size.
(class _Jv_InterpMethod): Removed args_raw_size.
(class _Jv_JNIMethod): Added jni_cif and jni_arg_types fields.
* jni.cc (call): Pass JNIEnv and (for static methods only) the
class pointer as well as the ordinary arguments.

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

24 years ago * config/sh/sh.md: Guard insn splits against illegal registers.
amylaar [Tue, 15 Feb 2000 23:25:28 +0000 (23:25 +0000)]
* config/sh/sh.md: Guard insn splits against illegal registers.
* config/sh/sh.h: Correct comment about macros.

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

24 years ago * jni.cc (mangled_name): Skip leading `(' in signature.
tromey [Tue, 15 Feb 2000 22:59:23 +0000 (22:59 +0000)]
* jni.cc (mangled_name): Skip leading `(' in signature.

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

24 years agoMon Jan 18 14:30:09 2000 Joerg Brunsmann <joerg.brunsmann@fernuni-hagen.de>
apbianco [Tue, 15 Feb 2000 22:54:21 +0000 (22:54 +0000)]
Mon Jan 18 14:30:09 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>

* gjavah.c: Delete ACC_VISIBILITY define.
* jcf.h: Add ACC_VISIBILITY define.
* parse.y: final: rule tagged <value>.
(java_check_regular_methods): Use ACC_VISIBILITY define for
default package access check.
(local_variable_declaration_statement): Use final: rule.

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

24 years ago * jni.cc (add_char): Added missing `else'.
tromey [Tue, 15 Feb 2000 22:42:10 +0000 (22:42 +0000)]
* jni.cc (add_char): Added missing `else'.

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

24 years ago * Makefile.in (lcm.o): Depend on insn-attr.h.
amylaar [Tue, 15 Feb 2000 22:34:33 +0000 (22:34 +0000)]
* Makefile.in (lcm.o): Depend on insn-attr.h.
* basic-block.h (optimize_mode_switching): Declare.
* lcm.c (tm_p.h, insn-attr.h): #include.
(seginfo, bb_info): New structs.
(antic, transp, comp, delete, insert) : New file-scope static variables.
(new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
(reg_becomes_live, optimize_mode_switching): Likewise.
* tm.texi: Add description of mode switching macros.
* toplev.c (rest_of_compilation): Call optimize_mode_switching.

* sh-protos.h (remove_dead_before_cse): Remove prototype.
(fldi_ok, fpscr_set_from_mem): New prototypes.
* sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
(CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
(sh_flag_remove_dead_before_cse): Remove declaration.
(NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
(MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
(MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
* sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
(barrier_align): Allow for JUMP_INSNS containing a parallel.
(machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
(fldi_ok): New function.
(get_fpscr_rtx): Add fpscr_rtx as GC root.
(emit_sf_insn): Only generate fpu switches when optimize < 1.
(emit_df_insn): Likewise.
(expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
(sh_flag_remove_dead_before_cse): Delete.
(get_free_reg, fpscr_set_from_mem): New functions.
* sh.md (movdf, movsf): Remove no_new_pseudos code.
(return): Remove emit_fpscr_use / remove_dead_before_cse calls.

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

24 years ago * gjavah.c (jni_print_char): New function.
tromey [Tue, 15 Feb 2000 22:17:55 +0000 (22:17 +0000)]
* gjavah.c (jni_print_char): New function.
(print_full_cxx_name): Use it.
(decode_signature_piece): Likewise.
(print_cxx_classname): Likewise.

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

24 years ago * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
gerald [Tue, 15 Feb 2000 21:04:53 +0000 (21:04 +0000)]
* ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.

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

24 years ago * jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
tromey [Tue, 15 Feb 2000 20:39:36 +0000 (20:39 +0000)]
* jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
fails.

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

24 years agoNew test - sjlj ICE, originally from openbsd
zack [Tue, 15 Feb 2000 19:56:54 +0000 (19:56 +0000)]
New test - sjlj ICE, originally from openbsd

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

24 years ago * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
ghazi [Tue, 15 Feb 2000 16:36:35 +0000 (16:36 +0000)]
* Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.

* cccp.c: Include version.h and/or don't declare `version_string'.
* collect2.c: Likewise.
* alpha.c: Likewise.
* arm/aof.h: Likewise.
* arm/coff.h: Likewise.
* arm/elf.h: Likewise.
* arm/pe.h: Likewise.
* arm/tcoff.h: Likewise.
* arm/telf.h: Likewise.
* arm/tpe.h: Likewise.
* arm/vxarm.h: Likewise.
* convex/convex.c: Likewise.
* i386/dgux.c: Likewise.
* i386/sun386.h: Likewise.
* m88k/m88k.c: Likewise.
* mcore/mcore-pe.h: Likewise.
* mips/mips.h: Likewise.
* romp/romp.h: Likewise.
* sh/sh.c: Likewise.
* cpphash.c: Likewise.
* cppinit.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* gcc.c: Likewise.
* gcc.h: Likewise.
* mips-tfile.c: Likewise.
* protoize.c: Likewise.
* toplev.c: Likewise.
* tree.h: Likewise.

* version.c (version_string): Constify a char*.

* version.h: New file.

ch:
* grant.c: Don't declare `version_string'.

f:
* g77spec.c: Don't declare `version_string'.

java:
* Makefile.in (jv-scan, jcf-dump, gcjh): Depend on and link with
version.o.
(jcf-dump.o, gjavah.o, jv-scan.o): Depend on version.h.

* gjavah.c: Include version.h.

* jcf-dump.c: Likewise.

* jv-scan.c: Likewise.

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

24 years agoUpdated the NEWS
bryce [Tue, 15 Feb 2000 09:35:51 +0000 (09:35 +0000)]
Updated the NEWS

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

24 years agoUpdated ChangeLog
bryce [Tue, 15 Feb 2000 08:53:00 +0000 (08:53 +0000)]
Updated ChangeLog

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

24 years ago * java/lang/natSystem.cc (init_properties): set java.lang.classpath
bryce [Tue, 15 Feb 2000 08:52:03 +0000 (08:52 +0000)]
    * java/lang/natSystem.cc (init_properties): set java.lang.classpath
        property.

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

24 years agoUpdated the NEWS
bryce [Tue, 15 Feb 2000 08:51:29 +0000 (08:51 +0000)]
Updated the NEWS

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

24 years ago * java/lang/natRuntime.cc (_load): Include library path with
bryce [Tue, 15 Feb 2000 08:51:04 +0000 (08:51 +0000)]
    * java/lang/natRuntime.cc (_load): Include library path with
        exception message.

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

24 years ago * java/lang/natThread.cc (dumpStack): Removed.
bryce [Tue, 15 Feb 2000 08:47:16 +0000 (08:47 +0000)]
    * java/lang/natThread.cc (dumpStack): Removed.
        * java/lang/Thread.java (dumpStack): Implemented.

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

24 years agoDaily bump.
law [Tue, 15 Feb 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * java/lang/natRuntime.cc (_load): On Unix, prefix library name
tromey [Tue, 15 Feb 2000 07:53:11 +0000 (07:53 +0000)]
* java/lang/natRuntime.cc (_load): On Unix, prefix library name
with `lib' for loadLibrary.  Fixes PR gcj/150.

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

24 years agoAdd support for MCore port
nickc [Mon, 14 Feb 2000 22:56:20 +0000 (22:56 +0000)]
Add support for MCore port

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

24 years agoAdd maintainers for MCore port.
nickc [Mon, 14 Feb 2000 22:54:41 +0000 (22:54 +0000)]
Add maintainers for MCore port.

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

24 years agoBackend for Motorola's MCore processors.
nickc [Mon, 14 Feb 2000 22:51:36 +0000 (22:51 +0000)]
Backend for Motorola's MCore processors.

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

24 years ago * ltdl.c: If HAVE_BOEHM_GC defined, includ gc.h.
tromey [Mon, 14 Feb 2000 21:59:58 +0000 (21:59 +0000)]
* ltdl.c: If HAVE_BOEHM_GC defined, includ gc.h.
* Makefile.in: Rebuilt.
* Makefile.am (INCLUDES): New macro.
* config.h.in, configure: Rebuilt.
* acconfig.h (HAVE_BOEHM_GC): Define.
* configure.in: Handle --enable-java-gc.

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

24 years ago * gc.h (dlopen): Define as GC_dlopen on Linux.
tromey [Mon, 14 Feb 2000 21:53:27 +0000 (21:53 +0000)]
* gc.h (dlopen): Define as GC_dlopen on Linux.
(GC_dlopen): Declare on Linux.
* dyn_load.c (GC_dlopen): Define for Linux.

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

24 years ago* collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
geoffk [Mon, 14 Feb 2000 19:46:02 +0000 (19:46 +0000)]
* collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
then we will need to import the frame handling functions.
(scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
to import the frames themselves.

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

24 years ago * basic_block.h: Added prototype for reorder_basic_blocks.
jle [Mon, 14 Feb 2000 19:34:06 +0000 (19:34 +0000)]
    * basic_block.h: Added prototype for reorder_basic_blocks.
        * toplev.c: Changes to add -freorder-blocks and graph dump after
        block reordering is done.
        * flow.c (reorder_block_def): New structure for use during block
        reordering.
        (REORDER_BLOCK_*): New macros to access members of above structure.
        (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
        make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
        functions for block reordering.

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

24 years ago * gcc.texi (Passes): Fix typo.
hp [Mon, 14 Feb 2000 10:37:13 +0000 (10:37 +0000)]
* gcc.texi (Passes): Fix typo.
* md.texi (Standard Names): Ditto.
* tm.texi (Storage Layout): Ditto.

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

24 years ago * gnu/gcj/math/MPN.java(findLowestBit): Made methods public.
warrenl [Mon, 14 Feb 2000 10:23:29 +0000 (10:23 +0000)]
* gnu/gcj/math/MPN.java(findLowestBit): Made methods public.

* java/math/BigInteger.java(BigInteger(int,int,java.util.Random):
  New constructor.
(min): Implemented.
(max): Implemented.
(modPow): Rewritten to not use the naive, slow, brute force approach.
(isProbablePrime): Implemented.
(testBit): Implemented.
(flipBit): Implemented.
(getLowestSetBit): Implemented.

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

24 years agoDaily bump.
law [Mon, 14 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * cpplib.c (do_define): Only free the old definition if it
zack [Mon, 14 Feb 2000 07:57:30 +0000 (07:57 +0000)]
* cpplib.c (do_define): Only free the old definition if it
actually had one.

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

24 years ago2000-02-13 Neil Booth <NeilB@earthling.net>
zack [Mon, 14 Feb 2000 06:31:20 +0000 (06:31 +0000)]
2000-02-13   Neil Booth  <NeilB@earthling.net>

* cppfiles.c (read_and_prescan): When emitting deferred
newlines, test speccase[] again instead of checking each
possible whitespace character in turn.  When we encounter \r,
look behind for \n first, then ahead.

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

24 years ago2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
zack [Mon, 14 Feb 2000 01:32:19 +0000 (01:32 +0000)]
2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>

* cse.c (cse_altered): New internal flag.
(cse_insn): Set it if we changed an insn.
(cse_main): Clear cse_altered before each basic block.
Only garbage collect if cse_altered is true afterward.

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

24 years agoRemove duplicate test case - same as gcc.dg/20000127-1.c
zack [Mon, 14 Feb 2000 01:04:16 +0000 (01:04 +0000)]
Remove duplicate test case - same as gcc.dg/20000127-1.c

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

24 years ago * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
law [Sun, 13 Feb 2000 21:13:53 +0000 (21:13 +0000)]
    * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.

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

24 years ago * combine.c (simplify_comparison): Fix typo.
law [Sun, 13 Feb 2000 20:22:58 +0000 (20:22 +0000)]
    * combine.c (simplify_comparison): Fix typo.

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

24 years ago * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
law [Sun, 13 Feb 2000 19:59:29 +0000 (19:59 +0000)]
    * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
        consistently.

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

24 years ago * parse.y (frob_specs): Split out...
jason [Sun, 13 Feb 2000 19:29:53 +0000 (19:29 +0000)]
    * parse.y (frob_specs): Split out...
        (parse_decl): From here.
        (fn.def2): Call initial_deferred_type_access_control.
        (after_type_component_declarator0): Call frob_specs.
        (notype_component_declarator0): Likewise.
        * search.c (friend_accessible_p): Nested classes are friends of their
        enclosing classes.

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

24 years agonew
jason [Sun, 13 Feb 2000 19:27:43 +0000 (19:27 +0000)]
new

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

24 years agoupdate
jason [Sun, 13 Feb 2000 19:07:43 +0000 (19:07 +0000)]
update

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

24 years agogcj/142
green [Sun, 13 Feb 2000 18:07:09 +0000 (18:07 +0000)]
gcj/142

i386 and i486 should configure the same as i586 and i686.

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

24 years agoDaily bump.
law [Sun, 13 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years agoNew test code.
green [Sat, 12 Feb 2000 23:43:51 +0000 (23:43 +0000)]
New test code.

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

24 years agoNew test case.
green [Sat, 12 Feb 2000 23:09:34 +0000 (23:09 +0000)]
New test case.

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

24 years agoNew test case.
green [Sat, 12 Feb 2000 22:57:18 +0000 (22:57 +0000)]
New test case.

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

24 years agoNew test case.
green [Sat, 12 Feb 2000 22:45:06 +0000 (22:45 +0000)]
New test case.

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

24 years ago * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
m.hayes [Sat, 12 Feb 2000 21:15:15 +0000 (21:15 +0000)]
* flow.c (flow_loop_tree_node_add): Use better algorithm by passing
  previously inserted node instead of root node. Caller changed.

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

24 years ago * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
m.hayes [Sat, 12 Feb 2000 21:08:39 +0000 (21:08 +0000)]
* basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.

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

24 years ago * java/io/File.java (createTempFile): Use low bits from counter,
tromey [Sat, 12 Feb 2000 20:13:42 +0000 (20:13 +0000)]
* java/io/File.java (createTempFile): Use low bits from counter,
not high bits.

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

24 years ago * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
ghazi [Sat, 12 Feb 2000 19:19:01 +0000 (19:19 +0000)]
* crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
__dereg_frame_dtor): Add prototype argument.

* gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.

* gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.

* gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.

* gthr-vxworks.h (__gthread_once): Likewise.

* gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.

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

24 years ago2000-02-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
tromey [Sat, 12 Feb 2000 18:34:50 +0000 (18:34 +0000)]
2000-02-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* libjava.lang/inner_interface.out: New file.
* libjava.lang/inner_interface.java: New file.
* libjava.lang/final_int.out: New file.
* libjava.lang/final_int.java: New file.
* libjava.lang/final_static_and_friend.out: New file.
* libjava.lang/final_static_and_friend.java: New file.

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

24 years agoDaily bump.
law [Sat, 12 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years agoMore thanks.
green [Sat, 12 Feb 2000 03:49:13 +0000 (03:49 +0000)]
More thanks.

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

24 years ago * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
hubicka [Sat, 12 Feb 2000 00:49:11 +0000 (00:49 +0000)]
* i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
(ix86_expand_epilogue): ... here. Use mov instead of add to restore
stack pointer in functions w/o saved registers, output LEAVE more often
on TARGET_USE_LEAVE machines.

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

24 years ago * interpret.cc (continue1): Use STOREA, not STOREI, to implement
tromey [Fri, 11 Feb 2000 23:24:28 +0000 (23:24 +0000)]
* interpret.cc (continue1): Use STOREA, not STOREI, to implement
astore instruction.  From Hans Boehm.

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

24 years agooops - remove extranseous SAYMBOL_REF_FLAG usage from -mlong-calls patch
nickc [Fri, 11 Feb 2000 22:45:00 +0000 (22:45 +0000)]
oops - remove extranseous SAYMBOL_REF_FLAG usage from -mlong-calls patch

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

24 years agoMinot for,matting imrpovemants and synchronisation with devo sources
nickc [Fri, 11 Feb 2000 22:44:29 +0000 (22:44 +0000)]
Minot for,matting imrpovemants and synchronisation with devo sources

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

24 years agoMinor formatting tidyups.
nickc [Fri, 11 Feb 2000 22:39:49 +0000 (22:39 +0000)]
Minor formatting tidyups.

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

24 years agoDenis Chertykov <denisc@overta.ru>
rth [Fri, 11 Feb 2000 22:31:46 +0000 (22:31 +0000)]
Denis Chertykov  <denisc@overta.ru>

        * README.AVR: New file with information about the avr ports.
        * config/avr: New directory with avr port files.

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

24 years ago * gcc.c-torture/compile/20000211-3.c: New test.
law [Fri, 11 Feb 2000 22:26:41 +0000 (22:26 +0000)]
    * gcc.c-torture/compile/20000211-3.c: New test.

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

24 years ago * gcc.c-torture/compile/20000211-2.c: New test.
law [Fri, 11 Feb 2000 22:19:08 +0000 (22:19 +0000)]
    * gcc.c-torture/compile/20000211-2.c: New test.

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

24 years agoRemove unneeded @fixinc_defs@
korbb [Fri, 11 Feb 2000 20:20:14 +0000 (20:20 +0000)]
Remove unneeded @fixinc_defs@

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

24 years ago * cpphash.c: Fix formatting, update commentary.
zack [Fri, 11 Feb 2000 20:17:27 +0000 (20:17 +0000)]
* cpphash.c: Fix formatting, update commentary.
(dump_definition): Take three separate arguments instead of a
MACRODEF structure argument.
* cpphash.h: Update prototype of dump_definition.
* cppinit.c (cpp_finish): Update call of dump_definition.

* cpplib.c (do_define): Always create new hash entry with
T_MACRO type.  Remove redundant check for redefinition of
poisoned identifier.  Update call of dump_definition.
(do_undef): Don't call check_macro_name.  Rename sym_length to
len.
(do_error, do_warning): Don't use copy_rest_of_line or
SKIP_WHITE_SPACE.
(do_warning): Don't use pedwarn for the actual warning,
only the notice about its not being in the standard.  (Fixes
bug with #warning in system headers.)
(do_ident): Stricter argument checking - accept only a single
string after #ident.  Also, macro-expand the line.
(do_xifdef): Use cpp_defined.  De-obfuscate.

(do_pragma): Split out specific pragma handling to separate
functions.  Use get_directive_token.  Update commentary.  Do
not pass on #pragma once or #pragma poison to the front end.
(do_pragma_once, do_pragma_implementation, do_pragma_poison,
do_pragma_default): New.

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

24 years ago * gcc.c-torture/compile/20000211-1.c: New test.
law [Fri, 11 Feb 2000 19:36:25 +0000 (19:36 +0000)]
    * gcc.c-torture/compile/20000211-1.c: New test.

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

24 years ago * jump.c (jump_optimize_1): The first operand in a relational
law [Fri, 11 Feb 2000 19:35:57 +0000 (19:35 +0000)]
    * jump.c (jump_optimize_1): The first operand in a relational
        can be a CONST_INT.
        * optabs.c (emit_conditional_move): Handle relationals which
        have a known true/false result.

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

24 years ago * function.c (thread_prologue_and_epilogue_insns): Don't insert
geoffk [Fri, 11 Feb 2000 19:31:55 +0000 (19:31 +0000)]
* function.c (thread_prologue_and_epilogue_insns): Don't insert
a RETURN insn into a block which already ends with a jump.

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

24 years ago* haifa-sched.c (BUF_LEN): Increase a lot.
geoffk [Fri, 11 Feb 2000 19:27:00 +0000 (19:27 +0000)]
* haifa-sched.c (BUF_LEN): Increase a lot.

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

24 years ago * java/math/BigInteger.java(BigInteger(String, int)): New constructor.
warrenl [Fri, 11 Feb 2000 19:09:03 +0000 (19:09 +0000)]
* java/math/BigInteger.java(BigInteger(String, int)): New constructor.
(BigInteger(String)): New constructor.
(not): Rewritten using version from Kawa's BitOps class.
(valueOf): New private methods from Kawa's BitOps class.
(swappedOp): ditto.
(bitOp): ditto.
(setBitOp): ditto.
(and): Implemented.
(or): Implemented.
(xor): Implemented.
(andNot): Implemented.
(clearBit): Implemented.
(setBit): Implemented.
(bitCount): Implemented.
(toByteArray): Implemented.

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

24 years ago * java/io/File.java (nextValue): Now synchronized.
tromey [Fri, 11 Feb 2000 18:44:37 +0000 (18:44 +0000)]
* java/io/File.java (nextValue): Now synchronized.

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

24 years agoAdd thumb prototypes file
nickc [Fri, 11 Feb 2000 18:16:23 +0000 (18:16 +0000)]
Add thumb prototypes file

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

24 years ago * Makefile.in (bootstrap-lean): Remove additional files.
robertl [Fri, 11 Feb 2000 17:50:31 +0000 (17:50 +0000)]
    * Makefile.in (bootstrap-lean): Remove additional files.
        (bootstrap2-lean): Likewise.                                                    (VOL_FILES): List of files for above.

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

24 years ago * java/io/natFileDescriptorPosix.cc (open): Recognize EXCL flag.
tromey [Fri, 11 Feb 2000 17:32:52 +0000 (17:32 +0000)]
* java/io/natFileDescriptorPosix.cc (open): Recognize EXCL flag.
* java/io/FileDescriptor.java (EXCL): New static field.
* java/io/File.java (tmpdir): New static field.
(createTempFile): New method.
(nextValue): New method.
* java/lang/natSystem.cc (init_properties): Set java.io.tmpdir
property.

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

24 years ago * decl.c (init_decl_processing): Remove duplicate decl of
nathan [Fri, 11 Feb 2000 15:49:56 +0000 (15:49 +0000)]
* decl.c (init_decl_processing): Remove duplicate decl of
set_alignment.

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

24 years ago * expr.c (compare_records): Delete maximum_field_alignment declaration.
nathan [Fri, 11 Feb 2000 15:48:24 +0000 (15:48 +0000)]
* expr.c (compare_records): Delete maximum_field_alignment declaration.
* inout.c (inout_init): Likewise.
(build_chill_gettextaccess): Likewise.
(build_enum_tables): Likewise.
* lang.c: Likewise.
* satisfy.c (satisfy): Likewise.
* tasking.c (build_tasking_struct): Likewise.
(build_tasking_message_type): Likewise.
* typeck.c (build_init_struct): Likewise.

* except.c (emit_setup_handler): Make save_maximum_field_alignment
unsigned int to match maximum_field_alignment.
* inout.c (inout_init): Likewise.
(build_chill_gettextaccess): Likewise.
(build_enum_tables): Likewise.
* tasking.c (build_tasking_struct): Likewise.
(build_tasking_message_type): Likewise.
* typeck.c (build_init_struct): Likewise.

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

24 years agoFix tabbing.
scottb [Fri, 11 Feb 2000 15:27:52 +0000 (15:27 +0000)]
Fix tabbing.

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

24 years agoAdd myself to MAINTAINERS file.
scottb [Fri, 11 Feb 2000 15:25:31 +0000 (15:25 +0000)]
Add myself to MAINTAINERS file.

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

24 years ago * cpphash.c (special_symbol): Remove spurious argument to
nathan [Fri, 11 Feb 2000 13:46:37 +0000 (13:46 +0000)]
* cpphash.c (special_symbol): Remove spurious argument to
cpp_lookup.

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

24 years ago * configure.in: (i*86-*-rtems*): Swapped elf and coff
law [Fri, 11 Feb 2000 10:17:46 +0000 (10:17 +0000)]
    * configure.in: (i*86-*-rtems*): Swapped elf and coff
        stanzas.
        * configure: Rebuilt.

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

24 years ago * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
law [Fri, 11 Feb 2000 10:05:42 +0000 (10:05 +0000)]
    * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.

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

24 years ago * pa.c, pa.h: Remove trigraph sequences within comments.
law [Fri, 11 Feb 2000 10:01:03 +0000 (10:01 +0000)]
    * pa.c, pa.h: Remove trigraph sequences within comments.

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

24 years ago * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
law [Fri, 11 Feb 2000 09:53:36 +0000 (09:53 +0000)]
    * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.

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

24 years ago * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
law [Fri, 11 Feb 2000 09:49:40 +0000 (09:49 +0000)]
    * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.

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

24 years agoDaily bump.
law [Fri, 11 Feb 2000 08:45:38 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
m.hayes [Fri, 11 Feb 2000 04:59:58 +0000 (04:59 +0000)]
* config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.

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

24 years ago * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
m.hayes [Fri, 11 Feb 2000 04:55:07 +0000 (04:55 +0000)]
* config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
(ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
(ASM_FILE_END): Use c4x_file_end.
* config/c4x/c4x.c (c4x_global_label): New function.
  (c4x_external_ref, c4x_file_end): Likewise.
* config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
  (c4x_external_ref, c4x_end_file): Likewise.

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

24 years ago * cppexp.c: Don't include cpphash.h.
zack [Thu, 10 Feb 2000 23:47:04 +0000 (23:47 +0000)]
* cppexp.c: Don't include cpphash.h.
(parse_charconst, cpp_lex): Use cpp_defined.
(cpp_lex): Use get_directive_token throughout.  Remove
unnecessary cases from switch.  Move assertion-handling code
down to OTHER case.
(cpp_parse_expr): If we see '+' or '-', check the context to
determine if they are unary or binary operators.  Streamline
the jumps a bit.  Do not call skip_rest_of_line.

* cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
static.  Export get_directive_token.  Update commentary.
(cpp_defined): New function.
(do_define): Remove reference to T_PCSTRING.  Call
free_definition to release memory for old definition, when
redefining a macro.
(eval_if_expression): Set only_seen_white to 0 before calling
cpp_parse_expr.  Call skip_rest_of_line after it returns.
(cpp_read_check_assertion): Don't preserve a pointer into the
token buffer across a call to cpp_get_token.

* Makefile.in (cppexp.o): Don't depend on cpphash.h.
* cppfiles.c (redundant_include_p): Use cpp_defined.
* cpphash.c (free_definition): New function.
(delete_macro): Use it.  Update commentary.
* cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
free_definition.
* cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
from enum node_type.  Prototype cpp_defined and get_directive_token.
Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.

* fix-header.c (check_macro_names): Use cpp_defined.
(read_scan_file): Set inhibit_warnings and inhibit_errors in
the options structure.

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

24 years ago * include/jni.h (JNI_FALSE): Renamed from JNI_TRUE; oops.
tromey [Thu, 10 Feb 2000 23:44:05 +0000 (23:44 +0000)]
* include/jni.h (JNI_FALSE): Renamed from JNI_TRUE; oops.
(jboolean): Declare as an attributed int, not a bool.
(_Jv_func): Declare differently for C.

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

24 years ago * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
sirl [Thu, 10 Feb 2000 23:13:17 +0000 (23:13 +0000)]
* c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
* ch/except.c (maximum_field_alignment): Remove duplicate declaration.

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

24 years ago * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
jason [Thu, 10 Feb 2000 22:10:36 +0000 (22:10 +0000)]
    * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
        rather than die->die_tag.

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

24 years ago * combine.c (make_extraction, force_to_mode): Avoid warning on
kenner [Thu, 10 Feb 2000 22:05:40 +0000 (22:05 +0000)]
* combine.c (make_extraction, force_to_mode): Avoid warning on
mixed-signedness conditionals.
(make_field_assignment, nonzero_bits): Likewise.
* expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
(store_split_bit_field, extract_split_bit_field): Likewise.
(extract_fixed_bit_field, store_bit_field,
* expr.c: Change alignment to be unsigned everywhere.
(move_by_pieces, store_constructor_field, store_constructor):
Alignment parm is unsigned.
(emit_block_move, emit_group_load, emit_group_store): Likewise.
(clear_storage, emit_push_insn, compare_from_rtx): Likewise.
(do_compare_rtx_and_jump): Likewise.
(move_by_pieces_ninsns, clear_by_pieces): Likewise.
Compare align with GET_MODE_ALIGNMENT.
(expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
(get_inner_reference): Likewise.
(copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
(expand_assignment): Local vars for alignment now unsigned.
(store_constructor, store_field, expand_expr, do_jump): Likewise.
(do_compare_and_jump): Likewise.
(store_field): Call new function expr_align.
* expr.h (emit_block_move, emit_group_load, emit_group_store):
Alignment arg now unsigned.
(clear_storage, emit_push_insn, compare_from_rtx): Likewise.
(do_compare_rtx_and_jump, store_bit_field): Likewise.
(extract_bit_field): Likewise.
* fold-const.c (add_double): Add cast to eliminate signedness warning.
* machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
(get_best_mode): Alignment arg is unsigned.
* rtl.h (move_by_pieces): Likewise.
* store-layout.c (maximum_field_alignment, set_alignment):
Now unsigned.
(layout_decl): Alignment arg is now unsigned.
Remove unneeded casts.
(layout_record, layout_union, layout_type): Remove unneeded casts.
Local alignment variables now unsigned.
(get_best_mode): Alignment arg now unsigned.
* tree.c (expr_align): New function.
* tree.h (expr_align): Likewise.
(maximum_field_alignment, set_alignment): Now unsigned.
(get_inner_reference): Alignment argument is now pointer to unsigned.
* varasm.c (assemble_variable): Add cast to eliminate warning.

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

24 years agoFix ia64 compiler problem with gcc.c-torture/compile/920410-1.c.
wilson [Thu, 10 Feb 2000 21:09:52 +0000 (21:09 +0000)]
Fix ia64 compiler problem with gcc.c-torture/compile/920410-1.c.
* expmed.c (store_bit_field): If op0 and fieldmode are the same size,
then store directly into op0.

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

24 years agoFix for ia64 setjmp miscompilation problem.
wilson [Thu, 10 Feb 2000 21:00:09 +0000 (21:00 +0000)]
Fix for ia64 setjmp miscompilation problem.
* calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
the CALL_INSN, and emit the note immediately after it.

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

24 years ago * gnu/gcj/jni/natNativeThread.cc: New file.
tromey [Thu, 10 Feb 2000 20:31:48 +0000 (20:31 +0000)]
* gnu/gcj/jni/natNativeThread.cc: New file.
* gnu/gcj/jni/NativeThread.java: New file.
* java/lang/Thread.java (data): Now a RawData.
* include/jvm.h (_Jv_GetCurrentJNIEnv, _Jv_SetCurrentJNIEnv):
Declare.
* Makefile.in: Rebuilt.
* Makefile.am (java/lang/Thread.h): New target.
(ordinary_java_source_files): Added NativeThread.java.
(nat_source_files): Added natNativeThread.cc.
* java/lang/natThread.cc: Include <jni.h>
(struct natThread): Added `jni_env' field.
(_Jv_GetCurrentJNIEnv): New function.
(_Jv_SetCurrentJNIEnv): Likewise.
(initialize_native): Initialize jni_env.
Include RawData.h.
* jni.cc (ThreadGroupClass): New define.
(_Jv_JNI_InvokeFunctions): New structure.
(JNI_GetCreatedJavaVMs): New function.
(the_vm): New global.
(JNI_GetDefaultJavaVMInitArgs): New function.
Include NativeThread.h.
(NativeThreadClass): New define.
(_Jv_JNI_EnsureLocalCapacity): Return JNI_ERR, not -1.
(_Jv_JNI_DestroyJavaVM): New function.
(_Jv_JNI_AttachCurrentThread): New function.
(_Jv_JNI_DetachCurrentThread): New function.
(_Jv_JNI_GetEnv): New function.
(JNI_CreateJavaVM): New function.
(_Jv_JNI_GetJavaVM): New function.
(_Jv_JNIFunctions): Added entry for GetJavaVM.
* include/jni.h (JavaVMAttachArgs): New structure.
(JNI_EDETACHED): New define.
(JNI_EVERSION): Likewise.
(JavaVM): Define properly.
(struct JNIInvokeInterface): New structure.
(class _Jv_JavaVM): New class.
(JNI_OnLoad, JNI_OnUnload): Declare.
(JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
JNI_GetCreatedJavaVMs): Declare.
(JavaVMInitArgs): New typedef.
(JavaVMOption): Likewise.
(JNI_ERR): New define.
(JNI_OK): Likewise.

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

24 years ago * except.c (maybe_start_try): Remove excess argument to
ghazi [Thu, 10 Feb 2000 19:10:07 +0000 (19:10 +0000)]
    * except.c (maybe_start_try): Remove excess argument to
`check_start_handlers'.

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

24 years agoInclude a (return) in the epilogue, and emit it using emit_jump_insn not
nickc [Thu, 10 Feb 2000 17:58:36 +0000 (17:58 +0000)]
Include a (return) in the epilogue, and emit it using emit_jump_insn not
emit_insn.

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

24 years ago * function.c (assign_temp): Change zero-sized arrays to size 1.
hubicka [Thu, 10 Feb 2000 17:43:55 +0000 (17:43 +0000)]
* function.c (assign_temp): Change zero-sized arrays to size 1.
* integrate.c (expand_inline_function): Do not update
stack_alignment_needed
* i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
add some sanity checking, remove optimization for function with
zero frame size.

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

24 years ago2000-02-10 Andrew Haley <aph@cygnus.com>
aph [Thu, 10 Feb 2000 17:16:30 +0000 (17:16 +0000)]
2000-02-10  Andrew Haley  <aph@cygnus.com>

* interpret.cc: Don't include fdlibm.h.
Replace #if with #ifdef throughout.
Declare extern __ieee754_fmod.
(continue1): Remove op_getfield, op_getstatic, op_putfield,
op_putstatic insns.
* resolve.cc (_Jv_PrepareClass): Use imeth as method pointer.
Search class hierarchy for superclass vtable.

* java/lang/natClassLoader.cc (_Jv_UnregisterClass): Don't fall
off the end of a pointer list.

* java/lang/natThread.cc (stop): Don't abort, throw an exception
instead.
(suspend): Ditto.

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

24 years ago * except.c (check_start_handlers): Prototype.
ghazi [Thu, 10 Feb 2000 16:48:43 +0000 (16:48 +0000)]
    * except.c (check_start_handlers): Prototype.

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