platform/upstream/gcc.git
24 years agohaifa-sched.c (schedule_insns): Do not remove inter-block dependencies anymore.
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

24 years agoClassLoader.java (getSystemResource): Use getSystemClassLoader instead of ClassLoader...
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

24 years agot-cygwin (winnt.o): Depend on RTL_H and TREE_H.
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

24 years agoMakefile.in (LANGUAGES): Omit "proto".
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

24 years agoprotoize.c (safe_read, safe_write): Avoid the gcc extension of using arithmetic on...
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

24 years agohaifa-sched.c (compute_block_forward_dependencies): Only check for notes, deleted...
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

24 years agoDaily bump.
Jeff Law [Sat, 16 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30041

24 years ago* gcc.c-torture/execute/991016-1.c: New test.
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

24 years agogcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
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

24 years agolex.c (lang_init_options): Set flag_bounds_check as "unspecified".
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

24 years agotop.h (ffe_is_subscript_check_): Remove extern decl.
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

24 years agojava-tree.h (flag_bounds_check): Remove extern decl.
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

24 years agoflags.h (flag_bounds_check, [...]): New extern decls.
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

24 years ago* config/c4x/c4x.md (HF mode patterns): Add missing modes.
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

24 years agoc4x.md (movstrqi_small): Utilise parallel move instructions.
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

24 years agoTry again!?
Michael Hayes [Sat, 16 Oct 1999 00:31:18 +0000 (00:31 +0000)]
Try again!?

From-SVN: r30032

24 years ago* config/c4x/c4x.md (*db_noclobber,
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

24 years agoc4x.md (parallel instruction patterns): Rework constraints to keep reload happy.
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

24 years ago* config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
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

24 years ago* config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
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

24 years agoc4x.c (c4x_rptb_insert): Emit rpts_top pattern if appropriate.
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

24 years agoc4x.c (src_operand): Check SYMBOL_REF and LABEL_REF memory mode.
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

24 years agopa.c (move_operand): Rely on memory_address_p to determine the validity of non-indexe...
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

24 years ago* print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
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

24 years agomips.c (function_prologue): Fix argument types.
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

24 years agocppexp.c (cpp_parse_escape): Make static.
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

24 years agoBased on patch from Michael Gschwind <mikeg@watson.ibm.com>:
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

24 years agogij.cc (main): Formatting fixes.
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

24 years agojvgenmain.c (usage): New function.
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

24 years ago* include/java-props.h: Added copyright.
Tom Tromey [Fri, 15 Oct 1999 15:42:26 +0000 (15:42 +0000)]
* include/java-props.h: Added copyright.

From-SVN: r30018

24 years agot-freebsd: Do not override USER_H.
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

24 years agoc-parse.in (component_decl): Support anonymous struct/union.
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

24 years agosparc.md (movsf_const_intreg): Revert last constraint change.
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

24 years agocse.c: Include hashtab.h instead of splay-tree.h (struct cse_reg_info): No longer...
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

24 years ago* hashtab.h: New file.
Vladimir Makarov [Fri, 15 Oct 1999 07:50:54 +0000 (07:50 +0000)]
* hashtab.h: New file.

From-SVN: r30013

24 years agoMakefile.in (CFILES): Add hashtab.c
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

24 years agoDaily bump.
Jeff Law [Fri, 15 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30011

24 years agogenrecog.c (message_with_line): Prototype.
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

24 years agomips.h (SPECIAL_MODE_PREDICATES): New.
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

24 years ago1750a.md (movstrqi): Add missing output reload constraint.
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

24 years agolibtool-version: Catch up by incrementing current.
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

24 years agoconfigure.in (djgpp): Revert previous patch.
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

24 years agoinclhack.def: Restore patch lost during last merge of "no_bogosity" branch.
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

24 years agofixincludes: Add a HPUX 11 fix for inttypes.h.
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

24 years agopa.md (post_stw+1): Use pmode_register_operand.
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

24 years agoalpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF as the base of a PLUS.
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

24 years agofold-const.c (fold): Convert (or (not arg0) (not arg1)) to (not (and (arg0) (arg1))).
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

24 years agoc4x.md: Define mode for remaining unspec operators.
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

24 years ago* i386.md (movstricthi_1): Allow r/r.
Richard Henderson [Fri, 15 Oct 1999 05:15:10 +0000 (22:15 -0700)]
* i386.md (movstricthi_1): Allow r/r.

From-SVN: r29999

24 years agofold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case, falltrought to assoc...
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

24 years ago* config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
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

24 years agoc4x.c (dst_operand): New.
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

24 years agorecog.c (pmode_register_operand): New.
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

24 years agofold-const.c (fold): Handle more simplifications allowed by IEEE.
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

24 years agosparc.md (*): Use {nonimmediate,register}_operand as appropriate instead of general_o...
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

24 years agors6000.md (call_value_indirect_aix32): Use wildcard match_operand for call return...
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

24 years agotoplev.c (main): Only warn about options for other languages.
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

24 years agoflow.c (propagate_block): Use free_EXPR_LIST_list instead of zapping mem_set_list.
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

24 years agoflow.c (propagate_block): Add call-clobbered registers to significant too.
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

24 years agotypo
Jason Merrill [Thu, 14 Oct 1999 22:35:27 +0000 (18:35 -0400)]
typo

From-SVN: r29988

24 years ago* toplev.c (main): Don't complain about options for other languages.
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

24 years agoAdd myself to list with general write privs.
Richard Earnshaw [Thu, 14 Oct 1999 21:46:16 +0000 (21:46 +0000)]
Add myself to list with general write privs.

From-SVN: r29986

24 years ago* jvspec.c (jvgenmain_spec): Use `%umain', not just `%u'.
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

24 years ago* m68k.md (zero_extendsidi2): Add missing output reload constraint.
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

24 years agoRemove cvs conflict markers.
Richard Henderson [Thu, 14 Oct 1999 17:44:07 +0000 (10:44 -0700)]
Remove cvs conflict markers.

From-SVN: r29983

24 years agomemcheck.exp: Make sure a remote host is equipped with driver.h and driver.o so it...
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

24 years agojcf-dump.c (print_constant, [...]): Don't call a variadic function with a non-literal...
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

24 years agoinvoke.texi: Label -Wbad-function-cast...
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

24 years agolibgcc2.c (__do_global_dtors): Protect __deregister_frame_info from multiple calls.
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

24 years agoi386.md (call value patterns): Move to the end of the file.
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

24 years agoconfigure.in (djgpp configuration): Define extra_objects..
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

24 years ago* pa.h (PREDICATE_CODES): New.
Richard Henderson [Thu, 14 Oct 1999 11:21:14 +0000 (04:21 -0700)]
* pa.h (PREDICATE_CODES): New.

From-SVN: r29976

24 years ago* Makefile.in (all.cross): Depend on xcpp$(exeext).
Andreas Schwab [Thu, 14 Oct 1999 11:11:59 +0000 (11:11 +0000)]
* Makefile.in (all.cross): Depend on xcpp$(exeext).

From-SVN: r29975

24 years agogenrecog.c (validate_pattern): Condense the destination non-lvalue message.
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

24 years agoclass.c (finish_struct_1): Force alignment of non-bitfields to BITS_PER_UNIT.
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

24 years agoi386.h (SPECIAL_MODE_PREDICATES): New.
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

24 years agoalpha.md (call-1): Supply missing mode for operator.
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

24 years ago* gcc.c-torture/execute/991014-1.c: New test.
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

24 years agostor-layout.c (layout_union): Use HOST_WIDE_INT for const_size...
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

24 years agogenrecog.c (validate_pattern): Typo last change.
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

24 years agogenrecog.c (special_mode_pred_table): New.
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

24 years ago* fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
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

24 years agocombine.c (simplify_logical): Recognize xor pattern that encodes rotation.
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

24 years agoacconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and HAVE_TIMEZONE in acconfig.h.
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

24 years agoDaily bump.
Jeff Law [Thu, 14 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29963

24 years agoFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
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

24 years ago* ggc-page.c (MAP_FAILED): Provide default.
Richard Henderson [Thu, 14 Oct 1999 04:47:48 +0000 (21:47 -0700)]
* ggc-page.c (MAP_FAILED): Provide default.

From-SVN: r29961

24 years agosparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
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

24 years agoalpha.c (some_ni_operand): New.
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

24 years agogenrecog.c (maybe_both_true_2): Don't compare modes of two DT_pred tests.
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

24 years agortl.c (dump_and_abort): Remove.
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

24 years agogcc toplevel:
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

24 years agoFix thinko in last change.
Jeff Law [Wed, 13 Oct 1999 23:19:33 +0000 (17:19 -0600)]
Fix thinko in last change.

From-SVN: r29955

24 years agodecl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.
Jason Merrill [Wed, 13 Oct 1999 22:40:42 +0000 (22:40 +0000)]
decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.

* decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.

* pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size
array error.

From-SVN: r29954

24 years agoFix errors from Jan 19 change, found by comparing Cygnus sources with FSF sources.
Jim Wilson [Wed, 13 Oct 1999 22:23:51 +0000 (22:23 +0000)]
Fix errors from Jan 19 change, found by comparing Cygnus sources with FSF sources.

Fix errors from Jan 19 change, found by comparing Cygnus sources with FSF
sources.
* config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
Add !endian checks.  Change %{...} to %(...).

From-SVN: r29953

24 years agoi386.md (*addsi3_cc): Renamed from addcsi3.
Richard Henderson [Wed, 13 Oct 1999 20:33:42 +0000 (13:33 -0700)]
i386.md (*addsi3_cc): Renamed from addcsi3.

        * i386.md (*addsi3_cc): Renamed from addcsi3.
        (*addsi3_carry): Renamed from addxsi3.
        (*subsi3_cc): Renamed from subcsi3.
        (*subsi3_carry): Renamed from subxsi3.
        (*xorqi_cc_1): Renamed from xorcqi_1.
        (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
        * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.

From-SVN: r29952

24 years agoMakefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
Richard Henderson [Wed, 13 Oct 1999 20:12:08 +0000 (13:12 -0700)]
Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.

        * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
        (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.

From-SVN: r29951

24 years agoregmove.c (optimize_reg_copy_3): Make sure P is non-nil as we climb up the chain...
Brendan Kehoe [Wed, 13 Oct 1999 17:28:29 +0000 (17:28 +0000)]
regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we climb up the chain of insns.

* regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
climb up the chain of insns.

From-SVN: r29949

24 years agogenrecog.c (write_subroutine): Careful for null trees.
Richard Henderson [Wed, 13 Oct 1999 17:22:40 +0000 (10:22 -0700)]
genrecog.c (write_subroutine): Careful for null trees.

        * genrecog.c (write_subroutine): Careful for null trees.
        (process_tree): Don't elide empty functions.

From-SVN: r29948

24 years agoSimplified GC interface and other goodies.
Richard Henderson [Wed, 13 Oct 1999 17:20:53 +0000 (10:20 -0700)]
Simplified GC interface and other goodies.

From-SVN: r29947