J"orn Rennecke
9f09b1f272
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
2000-02-15 22:34:33 +00:00
Tom Tromey
78de74bea9
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
2000-02-15 22:17:55 +00:00
Loren J. Rittle
17eb795180
* ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
...
From-SVN: r31988
2000-02-15 21:04:53 +00:00
Tom Tromey
2d759f7165
jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc fails.
...
* jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
fails.
From-SVN: r31986
2000-02-15 20:39:36 +00:00
Zack Weinberg
fa545500ad
New test - sjlj ICE, originally from openbsd
...
From-SVN: r31985
2000-02-15 19:56:54 +00:00
Kaveh R. Ghazi
9f8f4efee3
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
2000-02-15 16:36:35 +00:00
Bryce McKinlay
6ad91f8611
Updated the NEWS
...
From-SVN: r31983
2000-02-15 09:35:51 +00:00
Bryce McKinlay
2e5aca8386
Updated ChangeLog
...
From-SVN: r31982
2000-02-15 08:53:00 +00:00
Bryce McKinlay
12e7d63aec
natSystem.cc (init_properties): set java.lang.classpath property.
...
* java/lang/natSystem.cc (init_properties): set java.lang.classpath
property.
From-SVN: r31981
2000-02-15 08:52:03 +00:00
Bryce McKinlay
b5f853e62b
Updated the NEWS
...
From-SVN: r31980
2000-02-15 08:51:29 +00:00
Bryce McKinlay
1733ad7f10
natRuntime.cc (_load): Include library path with exception message.
...
* java/lang/natRuntime.cc (_load): Include library path with
exception message.
From-SVN: r31979
2000-02-15 08:51:04 +00:00
Bryce McKinlay
83379befc0
natThread.cc (dumpStack): Removed.
...
* java/lang/natThread.cc (dumpStack): Removed.
* java/lang/Thread.java (dumpStack): Implemented.
From-SVN: r31978
2000-02-15 08:47:16 +00:00
Jeff Law
571f8ce40e
Daily bump.
...
From-SVN: r31977
2000-02-15 01:45:08 -07:00
Tom Tromey
26c3229c0b
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
2000-02-15 07:53:11 +00:00
Nick Clifton
789a3090f3
Add support for MCore port
...
From-SVN: r31974
2000-02-14 22:56:20 +00:00
Nick Clifton
77f16a661e
Add maintainers for MCore port.
...
From-SVN: r31973
2000-02-14 22:54:41 +00:00
Nick Clifton
8f90be4c54
Backend for Motorola's MCore processors.
...
From-SVN: r31972
2000-02-14 22:51:36 +00:00
Tom Tromey
77de5d85d0
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
2000-02-14 21:59:58 +00:00
Tom Tromey
9339399091
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
2000-02-14 21:53:27 +00:00
Geoff Keating
59309a850d
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
2000-02-14 19:46:02 +00:00
Stan Cox
11bdd2ae4e
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
2000-02-14 19:34:06 +00:00
Hans-Peter Nilsson
89bcce1b02
gcc.texi (Passes): Fix typo.
...
* gcc.texi (Passes): Fix typo.
* md.texi (Standard Names): Ditto.
* tm.texi (Storage Layout): Ditto.
From-SVN: r31967
2000-02-14 10:37:13 +00:00
Warren Levy
34540fe35e
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
2000-02-14 10:23:29 +00:00
Jeff Law
eb3e566556
Daily bump.
...
From-SVN: r31965
2000-02-14 01:45:07 -07:00
Zack Weinberg
f9ba428f57
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
2000-02-14 07:57:30 +00:00
Neil Booth
67b8719a74
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
2000-02-14 06:31:20 +00:00
Zack Weinberg
4eadede7c1
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
2000-02-14 01:32:19 +00:00
Zack Weinberg
f4445cc042
Remove duplicate test case - same as gcc.dg/20000127-1.c
...
From-SVN: r31961
2000-02-14 01:04:16 +00:00
Rainer Orth
fd3f9fdb72
* sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
...
From-SVN: r31960
2000-02-13 14:13:53 -07:00
Jeffrey A Law
d5010e6603
* combine.c (simplify_comparison): Fix typo.
...
From-SVN: r31959
2000-02-13 13:22:58 -07:00
Neil Booth
3ea6b47698
prefix.c (concat, lookup_key): Use xmalloc and xrealloc consistently.
...
* prefix.c (concat, lookup_key): Use xmalloc and xrealloc
consistently.
From-SVN: r31958
2000-02-13 12:59:29 -07:00
Jason Merrill
445ab4438d
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
2000-02-13 14:29:53 -05:00
Jason Merrill
564e43cdf1
new
...
From-SVN: r31956
2000-02-13 14:27:43 -05:00
Jason Merrill
d2e7ab702f
update
...
From-SVN: r31955
2000-02-13 14:07:43 -05:00
Anthony Green
97ce4a51fa
gcj/142
...
i386 and i486 should configure the same as i586 and i686.
From-SVN: r31954
2000-02-13 18:07:09 +00:00
Jeff Law
bb1eed6e3a
Daily bump.
...
From-SVN: r31953
2000-02-13 01:45:07 -07:00
Anthony Green
6ab17fd868
New test code.
...
From-SVN: r31952
2000-02-12 23:43:51 +00:00
Anthony Green
addcdfec59
New test case.
...
From-SVN: r31951
2000-02-12 23:09:34 +00:00
Anthony Green
762016bf0a
New test case.
...
From-SVN: r31950
2000-02-12 22:57:18 +00:00
Anthony Green
d6455b5baf
New test case.
...
From-SVN: r31949
2000-02-12 22:45:06 +00:00
Michael Hayes
3abd3239f3
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
2000-02-12 21:15:15 +00:00
Michael Hayes
f5b647ab0f
* basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
...
From-SVN: r31947
2000-02-12 21:08:39 +00:00
Tom Tromey
dd16866663
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
2000-02-12 20:13:42 +00:00
Kaveh R. Ghazi
d1e5132060
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
2000-02-12 19:19:01 +00:00
Alexandre Petit-Bianco
e35b951f52
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
2000-02-12 18:34:50 +00:00
Jeff Law
d5bf38e1d3
Daily bump.
...
From-SVN: r31943
2000-02-12 01:45:07 -07:00
Anthony Green
95311793fe
More thanks.
...
From-SVN: r31942
2000-02-12 03:49:13 +00:00
Jan Hubicka
da2d1d3a8f
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
2000-02-12 00:49:11 +00:00
Tom Tromey
28ec5077d7
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
2000-02-11 23:24:28 +00:00
Nick Clifton
0a9f300a82
oops - remove extranseous SAYMBOL_REF_FLAG usage from -mlong-calls patch
...
From-SVN: r31938
2000-02-11 22:45:00 +00:00