Per Bothner
cf69bfbf38
re GNATS gcj/110 (don't exclude private methods from method table when optimizing)
...
Tue Dec 14 14:20:16 1999 Per Bothner <per@bothner.com>
* class.c (make_class_data): flag_keep_inline_functions to keep
private methods in the method array.
(This is a fix to the Java PR #110 :
http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00179.html )
From-SVN: r30930
1999-12-14 14:25:37 -08:00
Bernd Schmidt
6979065c16
Avoid reversing bivs with maybe_multiple set.
...
From-SVN: r30929
1999-12-14 19:54:41 +00:00
Nick Clifton
a120a3bd97
Add support for -mcpu=arm720 cmmand line switch
...
From-SVN: r30928
1999-12-14 19:42:58 +00:00
J"orn Rennecke
e1bb2458c4
loop.c (strength_reduce): Fix sign of giv lifetime calculation for givs made from biv increments.
...
* loop.c (strength_reduce): Fix sign of giv lifetime calculation
for givs made from biv increments.
From-SVN: r30927
1999-12-14 19:18:50 +00:00
Mark Mitchell
d7d5e42f2d
cp-tree.h (remap_save_expr): Add walk_subtrees parameter.
...
* cp-tree.h (remap_save_expr): Add walk_subtrees parameter.
* optimize.c (copy_body_r): Pass it.
* tree.c (remap_save_expr): Clear walk_subtrees for an
already-handled SAVE_EXPR.
(cp_unsave_r): Pass walk_subtrees to remap_save_expr.
From-SVN: r30926
1999-12-14 18:52:40 +00:00
Mark Mitchell
89c6e7ac34
dump.c (dequeue_and_dump): Dump DECL_NAMESPACE_ALIAS.
...
* dump.c (dequeue_and_dump): Dump DECL_NAMESPACE_ALIAS.
* ir.texi (DECL_NAMESPACE_ALIAS): Document it.
* error.c (dump_expr): Handle EXPR_WITH_FILE_LOCATION.
From-SVN: r30925
1999-12-14 18:11:32 +00:00
Jakub Jelinek
9ac190b54e
linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
...
* config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
(ASM_IDENTIFY_GCC): Remove.
From-SVN: r30924
1999-12-14 17:19:53 +01:00
Richard Henderson
d8ee3e20a0
configure.in (alpha-osf, [...]): Handle ev6[78].
...
* configure.in (alpha-osf, alpha-linux): Handle ev6[78].
* alpha.c (override_options): Recognize -mcpu=ev67.
* alpha.h (CPP_CPU_EV67_SPEC): New.
(CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
(EXTRA_SPECS): Update.
From-SVN: r30923
1999-12-14 08:14:29 -08:00
Richard Henderson
c2f5d0304c
config.guess (alpha-osf, [...]): Detect ev67.
...
* config.guess (alpha-osf, alpha-linux): Detect ev67.
* config.sub: Accept alphaev[78], alphaev8.
From-SVN: r30922
1999-12-14 08:10:58 -08:00
Richard Henderson
223dca6a20
cppp.c (main): Set trigraphs and __STRICT_ANSI__ as appropriate for -lang-c89 and -std=*.
...
* cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
appropriate for -lang-c89 and -std=*.
* cppinit.c (cpp_handle_option): Likewise.
(new_pending_define): New, split out from cpp_handle_option.
* gcc.c (default_compilers): Don't define __STRICT_ANSI__
or enable trigraphs for -ansi/-std=*.
* ginclude/stdarg.h (__va_copy): New.
(va_copy): Don't define for C89.
From-SVN: r30921
1999-12-14 08:05:23 -08:00
Clinton Popetz
9e3fc4303e
arm.md (mulsidi3adddi, [...]): New patterns for long long multiply-accumulate.
...
* config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
for long long multiply-accumulate.
From-SVN: r30919
1999-12-14 09:48:18 -05:00
Jan Hubicka
2f12c89d4c
regclass.c (scan_one_insn): Set loop_cost to 1 when optimizing for size.
...
* regclass.c (scan_one_insn): Set loop_cost to 1 when
optimizing for size.
From-SVN: r30918
1999-12-14 12:56:06 +00:00
Jakub Jelinek
afdac90584
xm-sp64.h: Avoid using __sparc_v9__ when testing for sparc64.
...
* config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
for sparc64.
* config/sparc/sparc.h: Likewise.
* config/sparc/xm-sysv4-64.h: Likewise.
* config/float-sparc.h: Likewise.
* glimits.h: Likewise.
* longlong.h: Likewise.
From-SVN: r30917
1999-12-14 13:53:39 +01:00
Jakub Jelinek
a330e73b14
sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
...
* config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
(CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
not %g2.
(MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
as sparc64 block profiling register.
* config/sparc/sparc.c (sparc_override_options): Allow block
profiling with -m32.
(sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
profiling register.
* config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
* config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
From-SVN: r30916
1999-12-14 13:47:01 +01:00
Bernd Schmidt
e483bf9c62
Undo one misguided optimization attempt in previous change.
...
From-SVN: r30915
1999-12-14 12:40:02 +00:00
Bernd Schmidt
0a326ec99a
Run reg_scan_update to get information about regs created by loop.
...
From-SVN: r30914
1999-12-14 12:34:54 +00:00
Jan Hubicka
0dc0641b04
regclass.c (record_reg_classes): Do not do the copying preferrencing when source does not die.
...
* regclass.c (record_reg_classes): Do not do the copying preferrencing
when source does not die.
From-SVN: r30913
1999-12-14 11:10:11 +00:00
Jan Hubicka
d5e2075dbf
* regclass.c (record_reg_classes): Handle INOUT operands propertly.
...
From-SVN: r30912
1999-12-14 11:08:22 +00:00
Jakub Jelinek
5a5e9ce690
linux64.h (TARGET_LIVE_G0, [...]): Don't support weird SPARC variants on Linux.
...
* config/sparc/linux64.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
variants on Linux.
* config/sparc/linux.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Likewise.
* config/sparc/linux-aout.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Likewise.
From-SVN: r30911
1999-12-14 11:26:44 +01:00
Bernd Schmidt
3749f4ca8e
Avoid making shared rtl.
...
From-SVN: r30910
1999-12-14 10:23:02 +00:00
Bernd Schmidt
956568cd6b
New testcases.
...
From-SVN: r30909
1999-12-14 10:13:57 +00:00
Bernd Schmidt
468644e65c
New testcase
...
From-SVN: r30908
1999-12-14 10:01:23 +00:00
Jakub Jelinek
14d01c31bf
* target.h: Handle sparc64 the same way as alpha.
...
From-SVN: r30907
1999-12-14 09:53:53 +01:00
Jakub Jelinek
d5191c94d1
bastring.h (class basic_string::Rep): Use proper defines for sparc v9 and fix asm for sparc64.
...
* std/bastring.h (class basic_string::Rep): Use proper defines
for sparc v9 and fix asm for sparc64.
From-SVN: r30906
1999-12-14 09:48:11 +01:00
Jeff Law
50438485c6
Daily bump.
...
From-SVN: r30905
1999-12-14 01:45:07 -07:00
Jakub Jelinek
74a8b4ae37
Add myself into "write after approval"
...
From-SVN: r30904
1999-12-14 09:42:15 +01:00
Mumit Khan
b9a341bad0
cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
...
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
* cppfiles.c (INO_T_EQ): Likewise.
From-SVN: r30903
1999-12-14 07:06:05 +00:00
Mumit Khan
d01db33660
stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread safe runtime.
...
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread
safe runtime.
From-SVN: r30902
1999-12-14 07:02:23 +00:00
Mumit Khan
5574ac398a
class.c (finish_base_struct): Allow multiple COM base classes as well as non-COM bases as long as it's not...
...
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* class.c (finish_base_struct): Allow multiple COM base classes
as well as non-COM bases as long as it's not the leftmost.
From-SVN: r30901
1999-12-14 07:00:22 +00:00
Mumit Khan
9b0b6c5118
crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
...
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
* i386/mingw32.h (LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise.
* i386/uwin.h (LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise.
* i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
* i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
From-SVN: r30900
1999-12-14 06:57:48 +00:00
Jeffrey A Law
986c364253
* gcc.c-torture/compile/991213-3.c: New test.
...
From-SVN: r30899
1999-12-13 23:47:30 -07:00
Jeffrey A Law
b13d32a8b2
* gcc.c-torture/compile/991213-2.c: New test.
...
From-SVN: r30898
1999-12-13 23:21:32 -07:00
Jeffrey A Law
4767498bcd
* gcc.c-torture/compile/991213-1.c: New test.
...
From-SVN: r30897
1999-12-13 23:06:06 -07:00
Mumit Khan
0b807ad843
lex.c (saving_parse_to_obstack): New global.
...
1999-12-13 Mumit Khan <khan@xraylith.wisc.edu>
* lex.c (saving_parse_to_obstack): New global.
(reinit_parse_for_block): Use.
(reinit_parse_for_expr): Use.
(check_newline): Use.
From-SVN: r30896
1999-12-14 05:33:22 +00:00
Mumit Khan
0f7db4884e
Add myself to "write after approval" list.
...
From-SVN: r30895
1999-12-14 05:00:33 +00:00
Jeffrey A Law
37ac53d9bb
combine.c (combine_simplify_rtx): Fix order of checks for (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
...
* combine.c (combine_simplify_rtx): Fix order of checks for
(ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
From-SVN: r30894
1999-12-13 20:26:55 -07:00
Tom Tromey
edcf698d87
aclocal.m4, configure: Rebuilt.
...
* aclocal.m4, configure: Rebuilt.
* acinclude.m4: Changed version to 5.0a4.
* Makefile.in: Rebuilt.
* Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
From-SVN: r30893
1999-12-13 20:15:51 +00:00
Clinton Popetz
8debd28801
* config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
...
12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
From-SVN: r30891
1999-12-13 10:32:32 -05:00
Bernd Schmidt
f5d8c9f405
Simplify reload register allocation
...
From-SVN: r30890
1999-12-13 13:21:35 +00:00
Jeff Law
2cf4028a7c
Daily bump.
...
From-SVN: r30889
1999-12-13 01:45:07 -07:00
Mark Mitchell
92e8164f76
optimize.c (initialize_inlined_parameters): Take FN to which the parameters belong as an argument.
...
* optimize.c (initialize_inlined_parameters): Take FN to which the
parameters belong as an argument.
(expand_call_inline): Expand calls into the parameter
initializations before pushing the function onto the list of
functions we are presently expanding.
From-SVN: r30888
1999-12-13 08:40:04 +00:00
Jeffrey A Law
2ecac43338
* doprnt.c: Remove incorrect comment closure.
...
From-SVN: r30887
1999-12-13 01:01:44 -07:00
Jeff Law
2c852885c4
* flow.c (create_edge_list): Cast xmalloc return value.
...
From-SVN: r30886
1999-12-13 00:55:53 -07:00
Jeff Law
eb33f7449c
* cse.c: Fix a few minor whitespace goofs.
...
From-SVN: r30885
1999-12-13 00:48:55 -07:00
Don Bowman
fe0f7c1672
vxworks.h: Fix problem with comment termination.
...
* mips/vxworks.h: Fix problem with comment termination.
(EXTRA_SECTIONS): Add in_sbss.
(EXTRA_SECTION_FUNCTIONS): Corresponding changes.
From-SVN: r30884
1999-12-13 00:37:42 -07:00
David S. Miller
9b1549b811
cse.c (struct cse_reg_info): Add hash_next member, reorder rest of struct for better packing on 64-bit hosts.
...
* cse.c (struct cse_reg_info): Add hash_next member,
reorder rest of struct for better packing on 64-bit
hosts.
(cse_reg_info_tree): Kill.
(REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
REGHASH_FN): New custom pow2 hash mechanism.
(NBUCKETS): Kill.
(HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
use a pow2 hash table.
(get_cse_reg_info): Rework to use new REGHASH.
(new_basic_block): Likewise, use HASH_SIZE, and inline
free_element call.
(remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
and inline free_element call.
(lookup_as_function, insert, flush_hash_table, invalidate,
remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
invalidate_for_call, use_related_value, find_comparison_args,
fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
(hash_cse_reg_info, cse_reg_info_equal_p, free_element,
get_element): Kill.
From-SVN: r30883
1999-12-12 22:51:09 -08:00
Jeffrey A Law
fa0933ba25
* cse.c (cse_basic_block): Free qty_table consistently.
...
From-SVN: r30882
1999-12-12 21:33:11 -07:00
Alexandre Petit-Bianco
3a1760acf0
re GNATS gcj/79 (Problem creating static arrays)
...
Fri Dec 10 21:53:45 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (java_complete_lhs): Force convertion of array
dimensions to int_type_node, that's what runtime's ABI expects.
(This patch is a fix for the PR #79 :
http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00069.html )
From-SVN: r30881
1999-12-12 17:50:55 -08:00
David S. Miller
ccd61a806e
sparc.md (movtf reg/reg split): Don't generate SUBREGs by hand, gen the appropriate hard reg directly.
...
* config/sparc/sparc.md (movtf reg/reg split): Don't generate
SUBREGs by hand, gen the appropriate hard reg directly.
(movtf reg/mem split): Likewise and alter_subreg on destination
if necessary.
(movtf mem/reg split): Similarly.
(movdf_cc_sp64): Rename from hidden pattern.
(movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
(movtf_cc_sp64, following split): New pattern and splitter.
(movdf_cc_reg_sp64): Rename from hidden pattern.
(movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
TARGET_HARD_QUAD.
(movtf_cc_reg_sp64, following split): New pattern and splitter.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r30880
1999-12-12 17:20:07 -08:00
Anthony Green
38b58895a4
check-init.c (check_init): Take into account both types of `throw's when checking for uninitialized variables.
...
1999-12-15 Anthony Green <green@cygnus.com>
* check-init.c (check_init): Take into account both types of
`throw's when checking for uninitialized variables.
From-SVN: r30879
1999-12-12 23:19:04 +00:00