Mark Mitchell [Sun, 17 Oct 1999 17:40:12 +0000 (17:40 +0000)]
dump.c (dequeue_and_dump): Handle CLEANUP_POINT_EXPR.
* dump.c (dequeue_and_dump): Handle CLEANUP_POINT_EXPR.
* ir.texi: Clean up documentation of RETURN_INIT.
From-SVN: r30056
Andrew MacLeod [Sun, 17 Oct 1999 09:21:25 +0000 (09:21 +0000)]
basic-block.h (pre_edge_lcm, [...]): Prototype for exported functions.
* basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
Prototype for exported functions.
(pre_lcm, pre_rev_lcm): Remove prototypes.
* gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
(compute_available): Move to lcm.c, and change parameter order.
(one_classic_gcse_pass): Call compute_ae_kill with parameters.
(pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
(gcse_main): No longer call compute_preds_succs. Rebuild the
set table after reach pre pass.
(pre_insert_map, pre_delete_map, edge_list): New.
(alloc_pre_mem): Allocate edge vectors.
(free_pre_mem): Delete edge vectors.
(compute_pre_data): Call new edge based lcm routines.
(process_insert_insn): New function.
(insert_insn_end_bb): Use it.
(pre_edge_insert): New function.
(pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
needed.
(pre_insert_copies): Revamp using new edge based lcm outputs.
(pre_delete): Likewise.
(one_pre_gcse_pass): Insert & remove fake edges to the exit
block.
(compute_code_hoist_vbeinout): New new edge based routines.
* lcm.c: Remove all the old LCM functions. Replace with new ones
that work with the new cfg datastructures and work with edges
instead of blocks.
From-SVN: r30055
Andrew MacLeod [Sun, 17 Oct 1999 08:53:48 +0000 (08:53 +0000)]
* gcse.c (hash_scan_set): Remove incorrect ! optimize_size check.
From-SVN: r30054
Jeff Law [Sun, 17 Oct 1999 08:19:37 +0000 (02:19 -0600)]
Fix typo in last change.
From-SVN: r30053
Jeff Law [Sun, 17 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r30052
Bernd Schmidt [Sun, 17 Oct 1999 06:47:27 +0000 (06:47 +0000)]
reload.h (struct reload): Add new fields "mode" and "nregs".
* reload.h (struct reload): Add new fields "mode" and "nregs".
* reload1.c: Change all occurrences of reload_mode and reload_nregs
to reference the "mode" and "nregs" field within struct reload.
From-SVN: r30051
Jeffrey A Law [Sun, 17 Oct 1999 06:28:22 +0000 (06:28 +0000)]
haifa-sched.c (true_dependency_cache): New.
* haifa-sched.c (true_dependency_cache): New.
(add_dependence): Use the true dependency cache to avoid expensive
walks down the LOG_LINKS dependency list. Add entries to the
cache as necessary.
(remove_dependence): Remove entries from the true dependency cache
as needed.
(schedule_insns): Allocate and initialize and free the true
dependency cache.
From-SVN: r30050
Jeffrey A Law [Sun, 17 Oct 1999 03:50:21 +0000 (03:50 +0000)]
haifa-sched.c (schedule_insns): Do not remove inter-block dependencies anymore.
* haifa-sched.c (schedule_insns): Do not remove inter-block
dependencies anymore.
From-SVN: r30049
Anthony Green [Sun, 17 Oct 1999 03:11:50 +0000 (03:11 +0000)]
ClassLoader.java (getSystemResource): Use getSystemClassLoader instead of ClassLoader.system.
* java/lang/ClassLoader.java (getSystemResource): Use
getSystemClassLoader instead of ClassLoader.system.
(getSystemResourceAsStream): Ditto.
* java/lang/natClassLoader.cc (redirect): Make static and
remove #ifdef INTERPRETER so it is always defined.
(getVMClassLoader0): Remove #ifdef INTERPRETER so it always
returns a VMClassLoader.
* java/util/ResourceBundle.java (trySomeGetBundle): Create a
PropertyResourceBundle if a properties file is found before a
ResourceBundle class.
From-SVN: r30048
Richard Henderson [Sat, 16 Oct 1999 18:22:29 +0000 (11:22 -0700)]
t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
* i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
* i386/t-winnt: Likewise.
From-SVN: r30045
Manfred Hollstein [Sat, 16 Oct 1999 15:52:04 +0000 (15:52 +0000)]
Makefile.in (LANGUAGES): Omit "proto".
* Makefile.in (LANGUAGES): Omit "proto".
(clean): Remove stale comment about removing unprotoize.c.
From-SVN: r30044
Kaveh R. Ghazi [Sat, 16 Oct 1999 15:32:00 +0000 (15:32 +0000)]
protoize.c (safe_read, safe_write): Avoid the gcc extension of using arithmetic on void pointers.
* protoize.c (safe_read, safe_write): Avoid the gcc extension of
using arithmetic on void pointers.
From-SVN: r30043
Jeffrey A Law [Sat, 16 Oct 1999 08:54:07 +0000 (08:54 +0000)]
haifa-sched.c (compute_block_forward_dependencies): Only check for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
* haifa-sched.c (compute_block_forward_dependencies): Only check
for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
From-SVN: r30042
Jeff Law [Sat, 16 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r30041
Richard Henderson [Sat, 16 Oct 1999 07:08:45 +0000 (00:08 -0700)]
* gcc.c-torture/execute/991016-1.c: New test.
From-SVN: r30040
Richard Henderson [Sat, 16 Oct 1999 07:08:27 +0000 (00:08 -0700)]
gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
* gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
(expr_equiv_p): Reject memories with different alias sets.
From-SVN: r30039
Greg McGary [Sat, 16 Oct 1999 01:27:32 +0000 (01:27 +0000)]
lex.c (lang_init_options): Set flag_bounds_check as "unspecified".
* lex.c (lang_init_options): Set flag_bounds_check as "unspecified".
(lang_init): Set default for flag_bounds_check if still "unspecified".
From-SVN: r30038
Greg McGary [Sat, 16 Oct 1999 01:26:10 +0000 (01:26 +0000)]
top.h (ffe_is_subscript_check_): Remove extern decl.
* top.h (ffe_is_subscript_check_): Remove extern decl.
(ffe_is_subscript_check, ffe_set_is_subscript_check): Remove macros.
* top.c (ffe_is_subscript_check_): Remove global variable.
(ffe_decode_option): Remove "(no-)bounds-check" flag handling.
Set flag_bounds_check for "(no-)fortran-bounds-check".
* com.c
(ffecom_arrayref_): s/ffe_is_subscript_check ()/flag_bounds_check/
(ffecom_char_args_x_): Ditto.
From-SVN: r30037
Greg McGary [Sat, 16 Oct 1999 01:25:52 +0000 (01:25 +0000)]
java-tree.h (flag_bounds_check): Remove extern decl.
* java-tree.h (flag_bounds_check): Remove extern decl.
* lang.c (flag_bounds_check): Remove global variable.
(lang_f_options): Remove "bounds-check" entry.
(lang_init_options): Default flag_bounds_check to "on".
From-SVN: r30036
Greg McGary [Sat, 16 Oct 1999 01:25:01 +0000 (01:25 +0000)]
flags.h (flag_bounds_check, [...]): New extern decls.
* flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
* toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
(f_options): Add "bounded-pointers" and "bounds-check" entries.
* c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
(lang_init): Set default for flag_bounds_check if still "unspecified".
From-SVN: r30035
Michael Hayes [Sat, 16 Oct 1999 00:43:59 +0000 (00:43 +0000)]
* config/c4x/c4x.md (HF mode patterns): Add missing modes.
From-SVN: r30034
Michael Hayes [Sat, 16 Oct 1999 00:39:15 +0000 (00:39 +0000)]
c4x.md (movstrqi_small): Utilise parallel move instructions.
* config/c4x/c4x.md (movstrqi_small): Utilise parallel move
instructions.
From-SVN: r30033
Michael Hayes [Sat, 16 Oct 1999 00:31:18 +0000 (00:31 +0000)]
Try again!?
From-SVN: r30032
Michael Hayes [Sat, 16 Oct 1999 00:29:20 +0000 (00:29 +0000)]
* config/c4x/c4x.md (*db_noclobber,
*decrement_and_branch_until_zero_noclobber): New patterns and
associated splitters.
From-SVN: r30031
Michael Hayes [Sat, 16 Oct 1999 00:15:44 +0000 (00:15 +0000)]
c4x.md (parallel instruction patterns): Rework constraints to keep reload happy.
* config/c4x/c4x.md (parallel instruction patterns): Rework
constraints to keep reload happy.
From-SVN: r30030
Michael Hayes [Sat, 16 Oct 1999 00:09:36 +0000 (00:09 +0000)]
* config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
*one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
*andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
Add new patterns and associated post-reload splitters.
From-SVN: r30029
Michael Hayes [Fri, 15 Oct 1999 23:46:06 +0000 (23:46 +0000)]
* config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
From-SVN: r30028
Michael Hayes [Fri, 15 Oct 1999 23:37:53 +0000 (23:37 +0000)]
c4x.c (c4x_rptb_insert): Emit rpts_top pattern if appropriate.
* config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
if appropriate.
* config/c4x/c4x.md (rpts_top): New pattern and splitter.
From-SVN: r30027
Michael Hayes [Fri, 15 Oct 1999 23:29:00 +0000 (23:29 +0000)]
c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF memory mode.
* config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
memory mode.
From-SVN: r30026
Jeffrey A Law [Fri, 15 Oct 1999 23:04:06 +0000 (23:04 +0000)]
pa.c (move_operand): Rely on memory_address_p to determine the validity of non-indexed memory addresses.
* pa.c (move_operand): Rely on memory_address_p to determine the
validity of non-indexed memory addresses.
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
operand in DFmode and SFmode when generating PA2.0 code.
From-SVN: r30025
Richard Henderson [Fri, 15 Oct 1999 21:26:33 +0000 (14:26 -0700)]
* print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
From-SVN: r30024
Richard Henderson [Fri, 15 Oct 1999 20:51:10 +0000 (13:51 -0700)]
mips.c (function_prologue): Fix argument types.
* mips.c (function_prologue): Fix argument types.
* mips.md (casesi): Use emit_jump_insn for casesi_internal.
(casesi_internal): Write to the scratch register.
From-SVN: r30023
Zack Weinberg [Fri, 15 Oct 1999 18:18:46 +0000 (18:18 +0000)]
cppexp.c (cpp_parse_escape): Make static.
1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
* cppexp.c (cpp_parse_escape): Make static. Change second arg
to U_CHAR **.
(parse_charconst): Delete unnecessary cast when calling
cpp_parse_escape.
(cpplib.h): Kill prototype of cpp_parse_escape.
From-SVN: r30022
Richard Henderson [Fri, 15 Oct 1999 18:07:48 +0000 (11:07 -0700)]
Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
* unroll.c (unroll_loop): Cast return value of alloca.
* i370/i370.c: Include function.h and toplev.h.
(i370_label_scan): Remove c++ commented abort.
* i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
(ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
* i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
* i370/xm-mvs.h, i370/xm-oe.h: Likewise.
From-SVN: r30021
Tom Tromey [Fri, 15 Oct 1999 16:53:41 +0000 (16:53 +0000)]
gij.cc (main): Formatting fixes.
* gij.cc (main): Formatting fixes.
(_Jv_Compiler_Properties): Define.
* java/lang/natSystem.cc (_Jv_Environment_Properties): Don't
declare.
(init_properties): Set properites from _Jv_Compiler_Properties.
* include/java-props.h (_Jv_Compiler_Properties,
_Jv_Environment_Properties): Declare.
From-SVN: r30020
Tom Tromey [Fri, 15 Oct 1999 16:45:31 +0000 (16:45 +0000)]
jvgenmain.c (usage): New function.
* jvgenmain.c (usage): New function.
(main): Use it. Also, handle `-D' options.
* jvspec.c (lang_specific_driver): Recognize -D.
(jvgenmain_spec): Added `%{D*}' to jvgenmain invocation.
From-SVN: r30019
Tom Tromey [Fri, 15 Oct 1999 15:42:26 +0000 (15:42 +0000)]
* include/java-props.h: Added copyright.
From-SVN: r30018
Loren J. Rittle [Fri, 15 Oct 1999 09:04:53 +0000 (03:04 -0600)]
t-freebsd: Do not override USER_H.
* config/t-freebsd: Do not override USER_H.
* ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
From-SVN: r30017
Alastair J. Houghton [Fri, 15 Oct 1999 08:42:02 +0000 (08:42 +0000)]
c-parse.in (component_decl): Support anonymous struct/union.
* c-parse.in (component_decl): Support anonymous struct/union.
(%expect): Update.
* c-parse.y: Regenerate.
* c-parse.c: Likewise.
* objc/objc-parse.y: Likewise.
* objc/objc-parse.c: Likewise.
* c-decl.c (finish_struct): Don't sort the fields.
(field_decl_cmp): Delete unused function.
Co-Authored-By: Mumit Khan <khan@xraylith.wisc.edu>
From-SVN: r30016
Richard Henderson [Fri, 15 Oct 1999 08:25:13 +0000 (01:25 -0700)]
sparc.md (movsf_const_intreg): Revert last constraint change.
* sparc.md (movsf_const_intreg): Revert last constraint change.
(movdf_const_intreg_sp32): Likewise.
From-SVN: r30015
Vladimir Makarov [Fri, 15 Oct 1999 08:19:37 +0000 (08:19 +0000)]
cse.c: Include hashtab.h instead of splay-tree.h (struct cse_reg_info): No longer use...
* cse.c: Include hashtab.h instead of splay-tree.h
(struct cse_reg_info): No longer use variant union. Add new
field "regno". All references changed to avoid union.
(cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
(free_cse_reg_info): Remove.
(hash_cse_reg_info, cse_reg_info_equal_p): New functions.
(get_cse_reg_info): Revamp to use expandable hash tables instead
of splay trees. Initialize new fields in cse_reg_info structure.
(new_basic_block): Similarly.
From-SVN: r30014
Vladimir Makarov [Fri, 15 Oct 1999 07:50:54 +0000 (07:50 +0000)]
* hashtab.h: New file.
From-SVN: r30013
Vladimir Makarov [Fri, 15 Oct 1999 07:50:25 +0000 (07:50 +0000)]
Makefile.in (CFILES): Add hashtab.c
* Makefile.in (CFILES): Add hashtab.c
(REQUIRED_OFILES): Add hashtab.o
(hashtab.o): Add dependencies.
* hashtab.c: New file
From-SVN: r30012
Jeff Law [Fri, 15 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r30011
Richard Henderson [Fri, 15 Oct 1999 06:56:28 +0000 (23:56 -0700)]
genrecog.c (message_with_line): Prototype.
* genrecog.c (message_with_line): Prototype.
(validate_pattern): Pass along the set for the dest, not a flag.
Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
Check for PC/CC0 as sources.
(nodes_identical): Check for children position match before
allowing the combination.
* rtl.c (read_rtx): Track line number across \\\n.
From-SVN: r30010
Richard Henderson [Fri, 15 Oct 1999 06:51:05 +0000 (23:51 -0700)]
mips.h (SPECIAL_MODE_PREDICATES): New.
* mips.h (SPECIAL_MODE_PREDICATES): New.
* mips.md (*) Use nonimmediate_operand not general_operand for outputs.
(movdi+1, movsi+1): Add output reload constraint.
(casesi_internal): Likewise. Fix commentary.
(return_internal): Use pmode_register_operand.
From-SVN: r30009
Richard Henderson [Fri, 15 Oct 1999 06:38:02 +0000 (23:38 -0700)]
1750a.md (movstrqi): Add missing output reload constraint.
* 1750a.md (movstrqi): Add missing output reload constraint.
(call_value): Likewise.
* a29k.md (cpxxx patterns): Add missing match_operator mode.
(jmpfdec): Add missing inout reload constraint.
* elxsi.md (addsi patterns): Add missing output reload constraint.
(move from sp): Use @ alternates.
(call_value): No constraint on output.
* fr30.md (movsi_pop): Add missing output reload constraint.
(movsf_constant_store): Likewise.
(splits): Remove constraints.
(subsi3): Add missing mode.
* i370.md (cmpstrsi+1): Add missing output reload constraint.
(call_value): Likewise.
* i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
* m32r.h (PREDICATE_CODES): Add seth_add3_operand.
* m32r.md (movsicc_internal): Add output reload constraint.
(movstrsi_internal): Add inout reload constraints.
* m88k.h (reg_names): Don't declare.
(SPECIAL_MODE_PREDICATES): New.
* m88k.md (*): Use register_operand not reg_or_0_operand
on destinations.
* mn10200.h (PREDICATE_CODES): New.
* ns32k.md (ffs pattern): Add output reload constraint.
* pdp11.md (sob pattern): Add inout reload constraint.
* sh.md (splits): Remove constraints.
(indirect_jump_scratch, fpu_switch): Add output reload constraint.
* v850.md (pattern_is_ok_for_epilogue): Likewise.
* vax.md (jgequ pattern): Add inout reload constraint.
From-SVN: r30008
Anthony Green [Fri, 15 Oct 1999 06:07:41 +0000 (06:07 +0000)]
libtool-version: Catch up by incrementing current.
* libtool-version: Catch up by incrementing current.
* configure.host: Disable use of GCJ_PROPERTIES for mips-tx39.
* configure, include/config.h.in: Rebuilt.
* acconfig.h (DISABLE_GETENV_PROPERTIES): Undefine.
* configure.in: Added --disable-getenv-properties and new define
`DISABLE_GETENV_PROPERTIES'.
* prims.cc (PROCESS_GCJ_PROPERTIES): Define.
(next_property_key): New function.
(next_property_value): New function.
(process_gcj_properties): New function.
(JvRunMain): Call process_gcj_properties.
(_JvRunMain): Ditto.
* java/lang/natSystem.cc (init_properties): Set properties defined
in GCJ_PROPERTIES. Also add 1.2 style versioning properties.
* include/java-props.h: New file.
* java/lang/natSystem.cc (init_properties): Add new properties to
conform with Java Product Versioning Specification.
From-SVN: r30007
Jeffrey A Law [Fri, 15 Oct 1999 06:06:56 +0000 (06:06 +0000)]
configure.in (djgpp): Revert previous patch.
* configure.in (djgpp): Revert previous patch.
* configure: Rebuit.
* config/i386/djgpp.h: Revert previous patch.
From-SVN: r30006
Loren J. Rittle [Fri, 15 Oct 1999 06:02:01 +0000 (06:02 +0000)]
inclhack.def: Restore patch lost during last merge of "no_bogosity" branch.
* fixinc/inclhack.def: Restore patch lost during last merge of
"no_bogosity" branch.
* fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
From-SVN: r30005
Gavin Romig-Koch [Fri, 15 Oct 1999 06:00:29 +0000 (06:00 +0000)]
fixincludes: Add a HPUX 11 fix for inttypes.h.
* fixincludes: Add a HPUX 11 fix for inttypes.h.
* fixinc/inclhack.def: Same.
* fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
From-SVN: r30004
Richard Henderson [Fri, 15 Oct 1999 05:57:07 +0000 (22:57 -0700)]
pa.md (post_stw+1): Use pmode_register_operand.
* pa.md (post_stw+1): Use pmode_register_operand.
(dcacheflush, icacheflush): Likewise.
From-SVN: r30003
Richard Henderson [Fri, 15 Oct 1999 05:52:38 +0000 (22:52 -0700)]
alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF as the base of a PLUS.
* alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
as the base of a PLUS.
From-SVN: r30002
Jan Hubicka [Fri, 15 Oct 1999 05:46:35 +0000 (07:46 +0200)]
fold-const.c (fold): Convert (or (not arg0) (not arg1)) to (not (and (arg0) (arg1))).
* fold-const.c (fold): Convert (or (not arg0) (not arg1))
to (not (and (arg0) (arg1))). Similary for and.
From-SVN: r30001
Michael Hayes [Fri, 15 Oct 1999 05:39:23 +0000 (05:39 +0000)]
c4x.md: Define mode for remaining unspec operators.
* config/c4x/c4x.md: Define mode for remaining unspec operators.
* config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
From-SVN: r30000
Richard Henderson [Fri, 15 Oct 1999 05:15:10 +0000 (22:15 -0700)]
* i386.md (movstricthi_1): Allow r/r.
From-SVN: r29999
Jan Hubicka [Fri, 15 Oct 1999 04:50:09 +0000 (06:50 +0200)]
fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case, falltrought to assocate code.
* fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
falltrought to assocate code.
Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
bits in common.
* combine.c (simplify_logical): Convert XOR to IOR if operands have
no bits in common; remove XOR to ROTATE conversion.
From-SVN: r29998
Michael Hayes [Fri, 15 Oct 1999 04:42:15 +0000 (04:42 +0000)]
* config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
From-SVN: r29997
Michael Hayes [Fri, 15 Oct 1999 04:32:37 +0000 (04:32 +0000)]
c4x.c (dst_operand): New.
* config/c4x/c4x.c (dst_operand): New.
(PREDICATE_CODES): Update.
* config/c4x/c4x.h (dst_operand): Declare it.
* config/c4x/c4x.md: Define mode for each unspec usage.
(move patterns): Use dst_operand predicate instead of src_operand.
(movqi_update, movqf_update): Delete.
From-SVN: r29996
Richard Henderson [Fri, 15 Oct 1999 01:52:29 +0000 (18:52 -0700)]
recog.c (pmode_register_operand): New.
* recog.c (pmode_register_operand): New.
* recog.h: Declare it.
* genrecog.c (pred_codes): Likewise.
(special_mode_pred_table): Likewise.
(validate_pattern): Don't warn no mode for address_operand.
* print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
if the operand is not insn-like.
From-SVN: r29995
Jeffrey A Law [Fri, 15 Oct 1999 01:40:28 +0000 (01:40 +0000)]
fold-const.c (fold): Handle more simplifications allowed by IEEE.
* fold-const.c (fold): Handle more simplifications allowed by IEEE.
Co-Authored-By: Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
From-SVN: r29994
Richard Henderson [Fri, 15 Oct 1999 00:34:45 +0000 (17:34 -0700)]
sparc.md (*): Use {nonimmediate,register}_operand as appropriate instead of general_operand...
* sparc.md (*): Use {nonimmediate,register}_operand as appropriate
instead of general_operand in a SET_DEST. Use const_double_operand
instead of an explicit test against CONST_DOUBLE.
(movsf_const_lo): Add missing register mode.
(goto_handler_and_restore): Add auxiliary test for Pmode.
(flush): Adjust to use address_operand.
(return_sf_no_fpu): Add missing output constraint.
From-SVN: r29993
Richard Henderson [Fri, 15 Oct 1999 00:29:24 +0000 (17:29 -0700)]
rs6000.md (call_value_indirect_aix32): Use wildcard match_operand for call return value.
* rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
for call return value.
(call_value_indirect_aix64, call_value_indirect_nt): Likewise.
From-SVN: r29992
Jason Merrill [Fri, 15 Oct 1999 00:05:52 +0000 (00:05 +0000)]
toplev.c (main): Only warn about options for other languages.
* toplev.c (main): Only warn about options for other languages.
* collect2.c (main): Pass -w to sub-gcc.
From-SVN: r29991
Richard Henderson [Thu, 14 Oct 1999 23:31:25 +0000 (16:31 -0700)]
flow.c (propagate_block): Use free_EXPR_LIST_list instead of zapping mem_set_list.
* flow.c (propagate_block): Use free_EXPR_LIST_list instead of
zapping mem_set_list.
(invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
(mark_set_1, mark_used_regs): Likewise.
From-SVN: r29990
Richard Henderson [Thu, 14 Oct 1999 23:28:50 +0000 (16:28 -0700)]
flow.c (propagate_block): Add call-clobbered registers to significant too.
* flow.c (propagate_block): Add call-clobbered registers to
significant too.
From-SVN: r29989
Jason Merrill [Thu, 14 Oct 1999 22:35:27 +0000 (18:35 -0400)]
typo
From-SVN: r29988
Jason Merrill [Thu, 14 Oct 1999 22:22:32 +0000 (22:22 +0000)]
* toplev.c (main): Don't complain about options for other languages.
From-SVN: r29987
Richard Earnshaw [Thu, 14 Oct 1999 21:46:16 +0000 (21:46 +0000)]
Add myself to list with general write privs.
From-SVN: r29986
Tom Tromey [Thu, 14 Oct 1999 20:55:21 +0000 (20:55 +0000)]
* jvspec.c (jvgenmain_spec): Use `%umain', not just `%u'.
From-SVN: r29985
Richard Henderson [Thu, 14 Oct 1999 17:52:48 +0000 (10:52 -0700)]
* m68k.md (zero_extendsidi2): Add missing output reload constraint.
From-SVN: r29984
Richard Henderson [Thu, 14 Oct 1999 17:44:07 +0000 (10:44 -0700)]
Remove cvs conflict markers.
From-SVN: r29983
Brendan Kehoe [Thu, 14 Oct 1999 17:39:30 +0000 (17:39 +0000)]
memcheck.exp: Make sure a remote host is equipped with driver.h and driver.o so it can...
* execute/memcheck/memcheck.exp: Make sure a remote
host is equipped with driver.h and driver.o so it can actually
compile and run the tests.
From-SVN: r29982
Kaveh R. Ghazi [Thu, 14 Oct 1999 17:13:57 +0000 (17:13 +0000)]
jcf-dump.c (print_constant, [...]): Don't call a variadic function with a non-literal format string.
* jcf-dump.c (print_constant, disassemble_method): Don't call a
variadic function with a non-literal format string.
* parse-scan.y (report_main_declaration): Likewise.
* parse.h (ERROR_CAST_NEEDED_TO_INTEGRAL): Likewise.
* parse.y (read_import_dir, patch_assignment, patch_binop,
patch_array_ref): Likewise.
* typeck.c (build_java_array_type): Likewise.
* verify.c (verify_jvm_instructions): Likewise.
From-SVN: r29981
Gerald Pfeifer [Thu, 14 Oct 1999 16:41:27 +0000 (16:41 +0000)]
invoke.texi: Label -Wbad-function-cast...
* invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
-Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
options. Also add a new item "C-only Warning Options" to the
option summary.
From-SVN: r29980
Gavin Romig-Koch [Thu, 14 Oct 1999 13:38:01 +0000 (13:38 +0000)]
libgcc2.c (__do_global_dtors): Protect __deregister_frame_info from multiple calls.
* libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
from multiple calls.
From-SVN: r29979
Richard Henderson [Thu, 14 Oct 1999 11:59:00 +0000 (04:59 -0700)]
i386.md (call value patterns): Move to the end of the file.
* i386.md (call value patterns): Move to the end of the file.
(prologue_set_got, prologue_get_pc): Use register_operand for op 0.
From-SVN: r29978
Mark Elbrecht [Thu, 14 Oct 1999 11:40:25 +0000 (11:40 +0000)]
configure.in (djgpp configuration): Define extra_objects..
* configure.in (djgpp configuration): Define extra_objects..
* configure: Rebuilt.
* config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
(DTORS_SECTION_ASM_OP): Define.
(INIT_SECTION_ASM_OP): Define.
(FINI_SECTION_ASM_OP): Define.
(DATA_SECTION_ASM_OP): Define.
(TEXT_SECTION_ASM_OP): Define.
(EH_FRAME_SECTION_ASM_OP): Define.
(LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
(STARTFILE_SPEC): Add crtbegin.o.
(ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
to here from LINK_COMMAND_SPEC.
(DO_GLOBAL_CTORS_BODY): Define.
(CRTSTUFF_USE_FINI_SECTION): Define
(HAS_INIT_SECTION): Delete.
From-SVN: r29977
Richard Henderson [Thu, 14 Oct 1999 11:21:14 +0000 (04:21 -0700)]
* pa.h (PREDICATE_CODES): New.
From-SVN: r29976
Andreas Schwab [Thu, 14 Oct 1999 11:11:59 +0000 (11:11 +0000)]
* Makefile.in (all.cross): Depend on xcpp$(exeext).
From-SVN: r29975
Richard Henderson [Thu, 14 Oct 1999 11:01:59 +0000 (04:01 -0700)]
genrecog.c (validate_pattern): Condense the destination non-lvalue message.
* genrecog.c (validate_pattern): Condense the destination
non-lvalue message.
From-SVN: r29974
Andrew Haley [Thu, 14 Oct 1999 10:49:23 +0000 (10:49 +0000)]
class.c (finish_struct_1): Force alignment of non-bitfields to BITS_PER_UNIT.
1999-10-13 Andrew Haley <aph@cygnus.com>
* class.c (finish_struct_1): Force alignment of non-bitfields to
BITS_PER_UNIT.
From-SVN: r29973
Richard Henderson [Thu, 14 Oct 1999 10:34:05 +0000 (03:34 -0700)]
i386.h (SPECIAL_MODE_PREDICATES): New.
* i386.h (SPECIAL_MODE_PREDICATES): New.
* i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
(movqi_1, movdi_1, movdi_2, some splits): Likewise.
(addsi_lea_3): Add missing mode for op 3.
(prologue_set_got, prologue_get_pc): Add missing modes.
(*) Add missing output reload constraints.
From-SVN: r29972
Richard Henderson [Thu, 14 Oct 1999 10:27:50 +0000 (03:27 -0700)]
alpha.md (call-1): Supply missing mode for operator.
* alpha.md (call-1): Supply missing mode for operator.
(*): Add missing output reload constraints. Remove constraints
from define_splits.
From-SVN: r29971
Stephane Carrez [Thu, 14 Oct 1999 10:23:10 +0000 (12:23 +0200)]
* gcc.c-torture/execute/991014-1.c: New test.
From-SVN: r29970
Stephane Carrez [Thu, 14 Oct 1999 10:21:27 +0000 (12:21 +0200)]
stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size...
* stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
check for member bit-size overflow and use var_size if it occurs.
(layout_record): Use bitsize_int() to define the type size in bits.
Likewise for computation and assignment to DECL_FIELD_BITPOS.
(layout_decl): Likewise when assigning to DECL_SIZE.
From-SVN: r29969
Richard Henderson [Thu, 14 Oct 1999 09:58:41 +0000 (02:58 -0700)]
genrecog.c (validate_pattern): Typo last change.
* genrecog.c (validate_pattern): Typo last change. Verify
that output operands have output reloads.
From-SVN: r29968
Richard Henderson [Thu, 14 Oct 1999 09:37:31 +0000 (02:37 -0700)]
genrecog.c (special_mode_pred_table): New.
* genrecog.c (special_mode_pred_table): New.
(NUM_SPECIAL_MODE_PREDS): New.
(find_operand): New.
(validate_pattern): New argument `insn'. Warn for assignment to
any predicate accepting non-lvalues. Conditionaly warn for
match_operand without a mode. Try much harder to match source
and destination modes on a set.
* tm.texi (SPECIAL_MODE_PREDICATES): Document.
From-SVN: r29967
Jeffrey A Law [Thu, 14 Oct 1999 08:54:16 +0000 (08:54 +0000)]
* fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
From-SVN: r29966
Marc Espie [Thu, 14 Oct 1999 08:18:30 +0000 (08:18 +0000)]
combine.c (simplify_logical): Recognize xor pattern that encodes rotation.
* combine.c (simplify_logical): Recognize xor pattern that encodes
rotation.
From-SVN: r29965
Jeff Law [Thu, 14 Oct 1999 08:05:09 +0000 (02:05 -0600)]
acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and HAVE_TIMEZONE in acconfig.h.
* libU77/acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and
HAVE_TIMEZONE in acconfig.h.
* libU77/config.hin: Rebuilt.
From-SVN: r29964
Jeff Law [Thu, 14 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r29963
Franz Sirl [Thu, 14 Oct 1999 06:24:21 +0000 (06:24 +0000)]
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (expand_block_move): Use INTVAL, not XINT to access
alignment.
From-SVN: r29962
Richard Henderson [Thu, 14 Oct 1999 04:47:48 +0000 (21:47 -0700)]
* ggc-page.c (MAP_FAILED): Provide default.
From-SVN: r29961
Richard Henderson [Thu, 14 Oct 1999 04:42:57 +0000 (21:42 -0700)]
sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
* sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
* sparc.h (PREDICATE_CODES): Update.
From-SVN: r29960
Richard Henderson [Thu, 14 Oct 1999 04:20:55 +0000 (21:20 -0700)]
alpha.c (some_ni_operand): New.
* alpha.c (some_ni_operand): New.
* alpha-protos.h: Declare it.
* alpha.h (PREDICATE_CODES): Update.
* alpha.md (sXaddq reload insns): Use some_ni_operand
for SET_DEST instead of some_operand.
From-SVN: r29959
Richard Henderson [Thu, 14 Oct 1999 04:07:03 +0000 (21:07 -0700)]
genrecog.c (maybe_both_true_2): Don't compare modes of two DT_pred tests.
* genrecog.c (maybe_both_true_2): Don't compare modes of
two DT_pred tests.
(process_tree): Elide peephole2_insns. Invoke simplify_tests
after find_afterward.
(debug_decision_1): Dump next and afterward codes.
Co-Authored-By: Jim Wilson <wilson@cygnus.com>
From-SVN: r29958
Richard Henderson [Thu, 14 Oct 1999 03:43:49 +0000 (20:43 -0700)]
rtl.c (dump_and_abort): Remove.
* rtl.c (dump_and_abort): Remove.
(fatal_with_file_and_line): New.
(fatal_expected_char): New.
(read_rtx_lineno, read_rtx_filename): New.
(read_skip_spaces): Track line number.
(read_name): Use fatal_with_file_and_line.
(read_rtx): Use fatal_expected_char. Track line number.
* rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
* print-rtl.c (print_rtx): Don't special case LABEL_REF argument
if it isn't a CODE_LABEL.
* genattr.c (main): Set read_rtx_filename.
* genattrtab.c (main): Likewise.
* gencodes.c (main): Likewise.
* genconfig.c (main): Likewise.
* genemit.c (main): Likewise.
* genextract.c (main): Likewise.
* genflags.c (main): Likewise.
* genopinit.c (main): Likewise.
* genoutput.c (main): Likewise.
* genpeep.c (main): Likewise.
* genrecog.c (decision_test.u.insn): Add `lineno'.
(pattern_lineno, error_count): New variables.
(message_with_line): New.
(add_to_sequence): Break out checking code to ...
(validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
(merge_insn): Use message_with_line.
(make_insn_sequence): Use validate_pattern. Record insn lineno.
(main): Set read_rtx_filename, pattern_lineno. Exit early on error.
From-SVN: r29957
J"orn Rennecke [Thu, 14 Oct 1999 02:18:10 +0000 (02:18 +0000)]
gcc toplevel:
* expr.c (store_constructor): Clear union if constructor is empty.
cp:
* typeck2.c (process_init_constructor): Handle empty constructors.
testsuite:
* g++.old-deja/g++.other/union2.C: New test.
From-SVN: r29956
Jeff Law [Wed, 13 Oct 1999 23:19:33 +0000 (17:19 -0600)]
Fix thinko in last change.
From-SVN: r29955