gcc.git
24 years agojni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not findClass.
Tom Tromey [Wed, 16 Feb 2000 18:42:48 +0000 (18:42 +0000)]
jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not findClass.

* jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not
findClass.

From-SVN: r32013

24 years agofindclass.java: New file
Tom Tromey [Wed, 16 Feb 2000 18:41:28 +0000 (18:41 +0000)]
findclass.java: New file

* libjava.jni/findclass.java: New file
* libjava.jni/findclass.c: New file
* libjava.jni/findclass.out: New file

From-SVN: r32012

24 years agofindclass.java: New file
Tom Tromey [Wed, 16 Feb 2000 18:35:05 +0000 (18:35 +0000)]
findclass.java: New file

* libjava.jni/findclass.java: New file
* libjava.jni/findclass.c: New file
* libjava.jni/findclass.out: New file

From-SVN: r32011

24 years agoMove RTL checking code into make_insn_raw
Nick Clifton [Wed, 16 Feb 2000 17:56:21 +0000 (17:56 +0000)]
Move RTL checking code into make_insn_raw

From-SVN: r32010

24 years agoconfigure (gcc_version): When setting, narrow search to lines containing `version_str...
Kaveh R. Ghazi [Wed, 16 Feb 2000 16:22:47 +0000 (16:22 +0000)]
configure (gcc_version): When setting, narrow search to lines containing `version_string'.

* configure (gcc_version): When setting, narrow search to
lines containing `version_string'.

gcc:
* version.c: Include gansidecl.h and version.h.

* version.h: Wrap entire file in macro __GCC_VERSION_H__.

* configure.in (gcc_version): When setting, narrow search to
lines containing `version_string'.

* Makefile.in (mainversion): Likewise.
(GCC_H): New variable.
(gcc.h): Delete target.
(gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
(version.o): Depend on version.h.
(dbxout.o): Don't depend on gcc.h.

gcc/cp:
* Make-lang.in (g++spec.o): Depend on $(GCC_H), not gcc.h.

gcc/f:
* Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h.

gcc/java:
* Make-lang.in (jvspec.o): Depend on $(GCC_H), not gcc.h.

libf2c:
* configure.in (gcc_version): When setting, narrow search to
lines containing `version_string'.

From-SVN: r32009

24 years agomd.texi (Simple Constraints): Add item about whitespace.
Hans-Peter Nilsson [Wed, 16 Feb 2000 14:44:19 +0000 (14:44 +0000)]
md.texi (Simple Constraints): Add item about whitespace.

* md.texi (Simple Constraints): Add item about whitespace.
* genoutput.c (strip_whitespace): New.
(scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
strip_whitespace for constraints.
Test pointer using NULL, not 0.

Co-Authored-By: Michael Meissner <meissner@cygnus.com>
From-SVN: r32008

24 years agoDaily bump.
Jeff Law [Wed, 16 Feb 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r32007

24 years ago* cpplib.c (do_line): Pedwarn for #line > 32767.
Alexandre Oliva [Wed, 16 Feb 2000 08:43:57 +0000 (08:43 +0000)]
* cpplib.c (do_line): Pedwarn for #line > 32767.

From-SVN: r32006

24 years ago* c-lex.c (readescape): Warn about 'x', but do not reject it.
Alexandre Oliva [Wed, 16 Feb 2000 08:40:32 +0000 (08:40 +0000)]
* c-lex.c (readescape): Warn about 'x', but do not reject it.

From-SVN: r32005

24 years agoJonathan Larmour <jlarmour@redhat.co.uk>:
Jonathan Larmour [Wed, 16 Feb 2000 07:54:53 +0000 (23:54 -0800)]
Jonathan Larmour  <jlarmour@redhat.co.uk>:

Add new __GNUC_PATCHLEVEL__ define.

From-SVN: r32004

24 years ago* config.sub: Add support for avr target.
Denis Chertykov [Wed, 16 Feb 2000 06:57:09 +0000 (06:57 +0000)]
* config.sub: Add support for avr target.

From-SVN: r32003

24 years ago* configure.in: Add support for avr target.
Denis Chertykov [Wed, 16 Feb 2000 06:56:08 +0000 (06:56 +0000)]
* configure.in: Add support for avr target.

From-SVN: r32002

24 years agoInterfaceDispatch.java: New file.
Bryce McKinlay [Wed, 16 Feb 2000 05:13:46 +0000 (05:13 +0000)]
InterfaceDispatch.java: New file.

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

        * libjava.lang/InterfaceDispatch.java: New file.
        * libjava.lang/InterfaceDispatch.out: New file.

From-SVN: r32001

24 years agosh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
J"orn Rennecke [Wed, 16 Feb 2000 03:23:40 +0000 (03:23 +0000)]
sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.

* sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
(sh_addr_diff_vec_mode): Don't declare.
* sh.c (sh_addr_diff_vec_mode): Delete.

From-SVN: r32000

24 years agodecl2.c (lang_decode_option): Enable automatic line wrapping.
Gabriel Dos Reis [Wed, 16 Feb 2000 01:38:11 +0000 (01:38 +0000)]
decl2.c (lang_decode_option): Enable automatic line wrapping.

2000-01-16  Gabriel Dos Reis  <gdr@codesourcery.com>

        * decl2.c (lang_decode_option): Enable automatic line wrapping.

From-SVN: r31999

24 years ago* sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
J"orn Rennecke [Wed, 16 Feb 2000 01:29:42 +0000 (01:29 +0000)]
* sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.

From-SVN: r31998

24 years agosh.md (udivsi3_i1, [...]): Name.
J"orn Rennecke [Wed, 16 Feb 2000 00:59:17 +0000 (00:59 +0000)]
sh.md (udivsi3_i1, [...]): Name.

* 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.

From-SVN: r31997

24 years agovirtual.java: New file.
Tom Tromey [Wed, 16 Feb 2000 00:19:55 +0000 (00:19 +0000)]
virtual.java: New file.

* 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.

From-SVN: r31996

24 years agoresolve.cc (ncode): Set args_raw_size.
Tom Tromey [Wed, 16 Feb 2000 00:07:34 +0000 (00:07 +0000)]
resolve.cc (ncode): Set args_raw_size.

* 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.

From-SVN: r31995

24 years agosh.md: Guard insn splits against illegal registers.
Andrew Haley [Tue, 15 Feb 2000 23:25:28 +0000 (23:25 +0000)]
sh.md: Guard insn splits against illegal registers.

* config/sh/sh.md: Guard insn splits against illegal registers.
* config/sh/sh.h: Correct comment about macros.

From-SVN: r31994

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

From-SVN: r31993

24 years agogjavah.c: Delete ACC_VISIBILITY define.
Joerg Brunsmann [Tue, 15 Feb 2000 22:54:21 +0000 (22:54 +0000)]
gjavah.c: Delete ACC_VISIBILITY define.

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.

From-SVN: r31992

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

From-SVN: r31991

24 years agoMakefile.in (lcm.o): Depend on insn-attr.h.
J"orn Rennecke [Tue, 15 Feb 2000 22:34:33 +0000 (22:34 +0000)]
Makefile.in (lcm.o): Depend on insn-attr.h.

* 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.

Co-Authored-By: Andrew MacLeod <amacleod@cygnus.com>
From-SVN: r31990

24 years agogjavah.c (jni_print_char): New function.
Tom Tromey [Tue, 15 Feb 2000 22:17:55 +0000 (22:17 +0000)]
gjavah.c (jni_print_char): New function.

* gjavah.c (jni_print_char): New function.
(print_full_cxx_name): Use it.
(decode_signature_piece): Likewise.
(print_cxx_classname): Likewise.

From-SVN: r31989

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

From-SVN: r31988

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

* jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
fails.

From-SVN: r31986

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

From-SVN: r31985

24 years agoMakefile.in (TREE_H, [...]): Depend on version.h.
Kaveh R. Ghazi [Tue, 15 Feb 2000 16:36:35 +0000 (16:36 +0000)]
Makefile.in (TREE_H, [...]): Depend on version.h.

* 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.

From-SVN: r31984

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

From-SVN: r31983

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

From-SVN: r31982

24 years agonatSystem.cc (init_properties): set java.lang.classpath property.
Bryce McKinlay [Tue, 15 Feb 2000 08:52:03 +0000 (08:52 +0000)]
natSystem.cc (init_properties): set java.lang.classpath property.

        * java/lang/natSystem.cc (init_properties): set java.lang.classpath
        property.

From-SVN: r31981

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

From-SVN: r31980

24 years agonatRuntime.cc (_load): Include library path with exception message.
Bryce McKinlay [Tue, 15 Feb 2000 08:51:04 +0000 (08:51 +0000)]
natRuntime.cc (_load): Include library path with exception message.

        * java/lang/natRuntime.cc (_load): Include library path with
        exception message.

From-SVN: r31979

24 years agonatThread.cc (dumpStack): Removed.
Bryce McKinlay [Tue, 15 Feb 2000 08:47:16 +0000 (08:47 +0000)]
natThread.cc (dumpStack): Removed.

        * java/lang/natThread.cc (dumpStack): Removed.
        * java/lang/Thread.java (dumpStack): Implemented.

From-SVN: r31978

24 years agoDaily bump.
Jeff Law [Tue, 15 Feb 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31977

24 years agore GNATS gcj/150 (System.loadLibrary() semantics arn't the same as in the JDK)
Tom Tromey [Tue, 15 Feb 2000 07:53:11 +0000 (07:53 +0000)]
re GNATS gcj/150 (System.loadLibrary() semantics arn't the same as in the JDK)

* java/lang/natRuntime.cc (_load): On Unix, prefix library name
with `lib' for loadLibrary.  Fixes PR gcj/150.

From-SVN: r31976

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

From-SVN: r31974

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

From-SVN: r31973

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

From-SVN: r31972

24 years agoltdl.c: If HAVE_BOEHM_GC defined, includ gc.h.
Tom Tromey [Mon, 14 Feb 2000 21:59:58 +0000 (21:59 +0000)]
ltdl.c: If HAVE_BOEHM_GC defined, includ gc.h.

* 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.

From-SVN: r31971

24 years agogc.h (dlopen): Define as GC_dlopen on Linux.
Tom Tromey [Mon, 14 Feb 2000 21:53:27 +0000 (21:53 +0000)]
gc.h (dlopen): Define as GC_dlopen on Linux.

* gc.h (dlopen): Define as GC_dlopen on Linux.
(GC_dlopen): Declare on Linux.
* dyn_load.c (GC_dlopen): Define for Linux.

From-SVN: r31970

24 years agocollect2.c (main): If we have frames, then we will need to import the frame handling...
Geoff Keating [Mon, 14 Feb 2000 19:46:02 +0000 (19:46 +0000)]
collect2.c (main): If we have frames, then we will need to import the frame handling functions.

* 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.

From-SVN: r31969

24 years agobasic_block.h: Added prototype for reorder_basic_blocks.
Stan Cox [Mon, 14 Feb 2000 19:34:06 +0000 (19:34 +0000)]
basic_block.h: Added prototype for reorder_basic_blocks.

        * 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.

Co-Authored-By: Jason Eckhardt <jle@cygnus.com>
From-SVN: r31968

24 years agogcc.texi (Passes): Fix typo.
Hans-Peter Nilsson [Mon, 14 Feb 2000 10:37:13 +0000 (10:37 +0000)]
gcc.texi (Passes): Fix typo.

* gcc.texi (Passes): Fix typo.
* md.texi (Standard Names): Ditto.
* tm.texi (Storage Layout): Ditto.

From-SVN: r31967

24 years agoMPN.java (findLowestBit): Made methods public.
Warren Levy [Mon, 14 Feb 2000 10:23:29 +0000 (10:23 +0000)]
MPN.java (findLowestBit): Made methods public.

* 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.

From-SVN: r31966

24 years agoDaily bump.
Jeff Law [Mon, 14 Feb 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31965

24 years agocpplib.c (do_define): Only free the old definition if it actually had one.
Zack Weinberg [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.

* cpplib.c (do_define): Only free the old definition if it
actually had one.

From-SVN: r31964

24 years agocppfiles.c (read_and_prescan): When emitting deferred newlines...
Neil Booth [Mon, 14 Feb 2000 06:31:20 +0000 (06:31 +0000)]
cppfiles.c (read_and_prescan): When emitting deferred newlines...

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.

From-SVN: r31963

24 years agocse.c (cse_altered): New internal flag.
Zack Weinberg [Mon, 14 Feb 2000 01:32:19 +0000 (01:32 +0000)]
cse.c (cse_altered): New internal flag.

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.

From-SVN: r31962

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

From-SVN: r31961

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

From-SVN: r31960

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

From-SVN: r31959

24 years agoprefix.c (concat, lookup_key): Use xmalloc and xrealloc consistently.
Neil Booth [Sun, 13 Feb 2000 19:59:29 +0000 (12:59 -0700)]
prefix.c (concat, lookup_key): Use xmalloc and xrealloc consistently.

        * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
        consistently.

From-SVN: r31958

24 years agoparse.y (frob_specs): Split out...
Jason Merrill [Sun, 13 Feb 2000 19:29:53 +0000 (19:29 +0000)]
parse.y (frob_specs): Split out...

        * 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.

From-SVN: r31957

24 years agonew
Jason Merrill [Sun, 13 Feb 2000 19:27:43 +0000 (14:27 -0500)]
new

From-SVN: r31956

24 years agoupdate
Jason Merrill [Sun, 13 Feb 2000 19:07:43 +0000 (14:07 -0500)]
update

From-SVN: r31955

24 years agogcj/142
Anthony 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.

From-SVN: r31954

24 years agoDaily bump.
Jeff Law [Sun, 13 Feb 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31953

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

From-SVN: r31952

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

From-SVN: r31951

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

From-SVN: r31950

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

From-SVN: r31949

24 years agoflow.c (flow_loop_tree_node_add): Use better algorithm by passing previously inserted...
Michael 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.

* flow.c (flow_loop_tree_node_add): Use better algorithm by passing
  previously inserted node instead of root node. Caller changed.

From-SVN: r31948

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

From-SVN: r31947

24 years agoFile.java (createTempFile): Use low bits from counter, not high bits.
Tom Tromey [Sat, 12 Feb 2000 20:13:42 +0000 (20:13 +0000)]
File.java (createTempFile): Use low bits from counter, not high bits.

* java/io/File.java (createTempFile): Use low bits from counter,
not high bits.

From-SVN: r31946

24 years agocrtstuff.c (__do_global_ctors_aux, [...]): Add prototype argument.
Kaveh R. Ghazi [Sat, 12 Feb 2000 19:19:01 +0000 (19:19 +0000)]
crtstuff.c (__do_global_ctors_aux, [...]): Add prototype argument.

* 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.

From-SVN: r31945

24 years agoinner_interface.out: New file.
Alexandre Petit-Bianco [Sat, 12 Feb 2000 18:34:50 +0000 (18:34 +0000)]
inner_interface.out: New file.

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.

From-SVN: r31944

24 years agoDaily bump.
Jeff Law [Sat, 12 Feb 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31943

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

From-SVN: r31942

24 years agoi386.c (ix86_emit_restore_regs_using_mov): Break out from ...
Jan Hubicka [Sat, 12 Feb 2000 00:49:11 +0000 (01:49 +0100)]
i386.c (ix86_emit_restore_regs_using_mov): Break out from ...

* 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.

From-SVN: r31941

24 years agointerpret.cc (continue1): Use STOREA, not STOREI, to implement astore instruction.
Tom Tromey [Fri, 11 Feb 2000 23:24:28 +0000 (23:24 +0000)]
interpret.cc (continue1): Use STOREA, not STOREI, to implement astore instruction.

* interpret.cc (continue1): Use STOREA, not STOREI, to implement
astore instruction.  From Hans Boehm.

From-SVN: r31939

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

From-SVN: r31938

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

From-SVN: r31937

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

From-SVN: r31936

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

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

From-SVN: r31935

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

From-SVN: r31934

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

From-SVN: r31933

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

From-SVN: r31932

24 years agocpphash.c: Fix formatting, update commentary.
Zack Weinberg [Fri, 11 Feb 2000 20:17:27 +0000 (20:17 +0000)]
cpphash.c: Fix formatting, update commentary.

* 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.

From-SVN: r31931

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

From-SVN: r31930

24 years agojump.c (jump_optimize_1): The first operand in a relational can be a CONST_INT.
Jeffrey A Law [Fri, 11 Feb 2000 19:35:57 +0000 (12:35 -0700)]
jump.c (jump_optimize_1): The first operand in a relational can be a CONST_INT.

        * 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.

From-SVN: r31929

24 years agofunction.c (thread_prologue_and_epilogue_insns): Don't insert a RETURN insn into...
Geoff Keating [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.

* function.c (thread_prologue_and_epilogue_insns): Don't insert
a RETURN insn into a block which already ends with a jump.

From-SVN: r31928

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

From-SVN: r31927

24 years agoBigInteger.java (BigInteger(String, int)): New constructor.
Warren Levy [Fri, 11 Feb 2000 19:09:03 +0000 (19:09 +0000)]
BigInteger.java (BigInteger(String, int)): New constructor.

* 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.

From-SVN: r31926

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

From-SVN: r31925

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

From-SVN: r31924

24 years agoMakefile.in (bootstrap-lean): Remove additional files.
Robert Lipe [Fri, 11 Feb 2000 17:50:31 +0000 (17:50 +0000)]
Makefile.in (bootstrap-lean): Remove additional files.

        * Makefile.in (bootstrap-lean): Remove additional files.
        (bootstrap2-lean): Likewise.                                                    (VOL_FILES): List of files for above.

From-SVN: r31923

24 years agonatFileDescriptorPosix.cc (open): Recognize EXCL flag.
Tom Tromey [Fri, 11 Feb 2000 17:32:52 +0000 (17:32 +0000)]
natFileDescriptorPosix.cc (open): Recognize EXCL flag.

* 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.

From-SVN: r31922

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

* decl.c (init_decl_processing): Remove duplicate decl of
set_alignment.

From-SVN: r31921

24 years agoexpr.c (compare_records): Delete maximum_field_alignment declaration.
Franz Sirl [Fri, 11 Feb 2000 15:48:24 +0000 (15:48 +0000)]
expr.c (compare_records): Delete maximum_field_alignment declaration.

* 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.

From-SVN: r31920

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

From-SVN: r31919

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

From-SVN: r31918

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

* cpphash.c (special_symbol): Remove spurious argument to
cpp_lookup.

From-SVN: r31917

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

        * configure.in: (i*86-*-rtems*): Swapped elf and coff
        stanzas.
        * configure: Rebuilt.

From-SVN: r31916

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

From-SVN: r31915

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

From-SVN: r31914

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

From-SVN: r31913

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

From-SVN: r31912

24 years agoDaily bump.
Jeff Law [Fri, 11 Feb 2000 08:45:38 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31911