platform/upstream/gcc.git
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

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

From-SVN: r29946

24 years agodecl.c (make_rtl_for_local_static): Don't create register RTL for addressable constants.
Mark Mitchell [Wed, 13 Oct 1999 16:13:25 +0000 (16:13 +0000)]
decl.c (make_rtl_for_local_static): Don't create register RTL for addressable constants.

* decl.c (make_rtl_for_local_static): Don't create register RTL
for addressable constants.

From-SVN: r29945

24 years ago(Fixing malformed ChangeLog entries...)
Alexandre Petit-Bianco [Wed, 13 Oct 1999 15:16:12 +0000 (08:16 -0700)]
(Fixing malformed ChangeLog entries...)

From-SVN: r29944

24 years agovaarg2.C: New test.
Nathan Sidwell [Wed, 13 Oct 1999 08:57:25 +0000 (08:57 +0000)]
vaarg2.C: New test.

* g++.old-deja/g++.other/vaarg2.C: New test.
* g++.old-deja/g++.other/vaarg3.C: New test.

From-SVN: r29943

24 years agocp-tree.h (build_x_va_arg): Prototype new function.
Nathan Sidwell [Wed, 13 Oct 1999 08:49:54 +0000 (08:49 +0000)]
cp-tree.h (build_x_va_arg): Prototype new function.

* cp-tree.h (build_x_va_arg): Prototype new function.
* call.c (build_x_va_arg): Define it.
* parse.y (unary_expr): Call build_x_va_arg.

* cp-tree.h (convert_type_from_ellipsis): Prototype new function.
* call.c (convert_type_from_ellipsis): Define it.
* decl.c (init_decl_processing): Set lang_type_promotes_to.

* tree.c (lvalue_p_1): Accept VA_ARG_EXPR with aggregates.

From-SVN: r29942

24 years agoconfigure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines, float_format and thread_...
Carol LePage [Wed, 13 Oct 1999 07:52:43 +0000 (07:52 +0000)]
configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines, float_format and thread_file definitions.

        * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
        float_format and thread_file definitions.
        * configure: Rebuilt.

From-SVN: r29940

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

From-SVN: r29939

24 years ago* extend.texi (Function Names): Document types of function names.
Niels Möller [Wed, 13 Oct 1999 07:27:10 +0000 (07:27 +0000)]
* extend.texi (Function Names): Document types of function names.

From-SVN: r29938

24 years agobasename.c (DIR_SEPARATOR): New macro.
Mumit Khan [Wed, 13 Oct 1999 07:18:09 +0000 (07:18 +0000)]
basename.c (DIR_SEPARATOR): New macro.

        * basename.c (DIR_SEPARATOR): New macro.
        (DIR_SEPARATOR_2): Likewise.
        (HAVE_DOS_BASED_FILESYSTEM): Likewise.
        (IS_DIR_SEPARATOR): Likewise.
        (main): Handle MSDOS style pathname.

From-SVN: r29937

24 years agoreload_out[i]->rld[i].out.
Jeff Law [Wed, 13 Oct 1999 06:48:26 +0000 (00:48 -0600)]
reload_out[i]->rld[i].out.

From-SVN: r29936

24 years agoreload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with an earlyclobbered...
Bernd Schmidt [Wed, 13 Oct 1999 06:47:15 +0000 (06:47 +0000)]
reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with an earlyclobbered output conflict with RELOAD_INPUT...

        * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
        an earlyclobbered output conflict with RELOAD_INPUT reloads.

From-SVN: r29935

24 years agoI get blanket write
Jason Merrill [Wed, 13 Oct 1999 05:54:18 +0000 (01:54 -0400)]
I get blanket write

From-SVN: r29934

24 years ago(RELOCATION_VALUE_1): Fixed integer value from 0 to 1.
Alexandre Petit-Bianco [Wed, 13 Oct 1999 05:37:30 +0000 (05:37 +0000)]
(RELOCATION_VALUE_1): Fixed integer value from 0 to 1.

Tue Oct 12 22:28:10 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * (RELOCATION_VALUE_1): Fixed integer value from 0 to 1.

From-SVN: r29933

24 years agojcf-write.c: (RELOCATION_VALUE_0): New macro.
Alexandre Petit-Bianco [Wed, 13 Oct 1999 02:52:08 +0000 (02:52 +0000)]
jcf-write.c: (RELOCATION_VALUE_0): New macro.

Tue Sep 14 16:24:19 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c: (RELOCATION_VALUE_0): New macro.
        (RELOCATION_VALUE_1): Likewise.
        (emit_iinc, emit_reloc, push_constant1, push_constant2,
        push_in_const, push_long_const): Prototyped.
        (push_constant1): Argument `index' is of type HOST_WIDE_INT.
        (push_constant2): Likewise.
        (push_int_const): Cast find_constant1's integer arguments to `jword'.
        (find_constant_wide): Cast find_constant2's integer arguments to
        `jword'.
        (find_constant_index): Cast find_constant2's and find_constant2's
        integer arguments to `jword'.
        (emit_pop): Argument `value' is of type HOST_WIDE_INT.
        (emit_switch_reloc): Use RELOCATION_VALUE_0.
        (emit_if): Use RELOCATION_VALUE_1.
        (emit_goto): Likewise.
        (emit_jsr): Likewise.
        (generate_bytecode_insns): Use RELOCATION_VALUE_0. Cast second
        argument to push_long_const to HOST_WIDE_INT.

(This is a forgotten patch.)

From-SVN: r29932

24 years agoconfigure: Rebuilt.
Tom Tromey [Wed, 13 Oct 1999 00:00:35 +0000 (00:00 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Fixed test for --disable-java-net.

From-SVN: r29931

24 years ago* sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
J"orn Rennecke [Tue, 12 Oct 1999 22:31:26 +0000 (22:31 +0000)]
* sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.

From-SVN: r29930

24 years ago* sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
J"orn Rennecke [Tue, 12 Oct 1999 22:23:37 +0000 (22:23 +0000)]
* sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.

From-SVN: r29929

24 years ago* collect2.c (main): Do prelimnary link on AIX if rflag.
David Edelsohn [Tue, 12 Oct 1999 21:13:13 +0000 (21:13 +0000)]
* collect2.c (main): Do prelimnary link on AIX if rflag.

From-SVN: r29927

24 years agoAdd myself
Greg McGary [Tue, 12 Oct 1999 19:20:45 +0000 (19:20 +0000)]
Add myself

From-SVN: r29926

24 years agoeabi-ctors.c (__do_global_ctors): Run through __CTOR_LIST__ in opposite order...
Jonathan Larmour [Tue, 12 Oct 1999 16:47:08 +0000 (16:47 +0000)]
eabi-ctors.c (__do_global_ctors): Run through __CTOR_LIST__ in opposite order...

        * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
        __CTOR_LIST__ in opposite order, which is the correct order for sorted
        constructors.
        (__do_global_dtors): similarly for __DTOR_LIST__.

From-SVN: r29925

24 years agomerging from no_bogosity
Bruce Korb [Tue, 12 Oct 1999 16:02:39 +0000 (16:02 +0000)]
merging from no_bogosity

From-SVN: r29924

24 years agoProtect the definitions of the t_bool enum
Bruce Korb [Tue, 12 Oct 1999 15:57:47 +0000 (15:57 +0000)]
Protect the definitions of the t_bool enum

[[Split portion of a mixed commit.]]

From-SVN: r29923.2

24 years agosh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to FPUL_REGS.
J"orn Rennecke [Tue, 12 Oct 1999 15:28:17 +0000 (15:28 +0000)]
sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to FPUL_REGS.

* config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
FPUL_REGS.

Co-Authored-By: Diego Novillo <dnovillo@cygnus.com>
From-SVN: r29921

24 years agomove 19990905-1.f into noncompile/ from compile/
Craig Burley [Tue, 12 Oct 1999 15:27:12 +0000 (15:27 +0000)]
move 19990905-1.f into noncompile/ from compile/

From-SVN: r29920

24 years agoMerge from no_bogosity
Bruce Korb [Tue, 12 Oct 1999 14:44:55 +0000 (14:44 +0000)]
Merge from no_bogosity

From-SVN: r29919

24 years agoMerge from no_bogosity
Bruce Korb [Tue, 12 Oct 1999 14:44:18 +0000 (14:44 +0000)]
Merge from no_bogosity

From-SVN: r29918

24 years agoaclocal.m4: Re-write, defining LIBU77_GETTIMEOFDAY, not LIBU77_HAVE_STRUCT_TIMEZONE.
Dave Love [Tue, 12 Oct 1999 08:39:35 +0000 (08:39 +0000)]
aclocal.m4: Re-write, defining LIBU77_GETTIMEOFDAY, not LIBU77_HAVE_STRUCT_TIMEZONE.

        * libU77/aclocal.m4: Re-write, defining LIBU77_GETTIMEOFDAY, not
        LIBU77_HAVE_STRUCT_TIMEZONE.

        * libU77/configure.in: Use LIBU77_GETTIMEOFDAY, not
        LIBU77_HAVE_STRUCT_TIMEZONE.  Don't check for gettimeofday
        separately.

        * libU77/datetime_.c (G77_date_and_time_0): Use
        GETTIMEOFDAY_ONE_ARGUMENT.

From-SVN: r29917

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

From-SVN: r29916

24 years agoMake fatal_insn calls in md file work.
Jim Wilson [Tue, 12 Oct 1999 03:28:42 +0000 (03:28 +0000)]
Make fatal_insn calls in md file work.

* genoutput.c: Include toplev.h.

From-SVN: r29908

24 years agoChangeLog entry for last sparc*-*-elf constructor change.
Jim Wilson [Tue, 12 Oct 1999 02:04:13 +0000 (19:04 -0700)]
ChangeLog entry for last sparc*-*-elf constructor change.

From-SVN: r29907

24 years agoFix sparc*-*-elf constructor problems; from Jason Merrill via Jonathan Larmour.
Jim Wilson [Tue, 12 Oct 1999 02:03:39 +0000 (19:03 -0700)]
Fix sparc*-*-elf constructor problems; from Jason Merrill via Jonathan Larmour.

* config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
Undef.
* configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
* configure: Regenerate.

From-SVN: r29906

24 years ago* class.c (fixed_type_or_null): Always set *nonnull.
Jason Merrill [Tue, 12 Oct 1999 01:15:02 +0000 (01:15 +0000)]
* class.c (fixed_type_or_null): Always set *nonnull.

From-SVN: r29905

24 years ago* gcse.c (delete_null_pointer_checks): Returns void.
Richard Henderson [Mon, 11 Oct 1999 23:22:41 +0000 (16:22 -0700)]
* gcse.c (delete_null_pointer_checks): Returns void.

From-SVN: r29904

24 years agoDaily bump.
Jeff Law [Mon, 11 Oct 1999 19:35:32 +0000 (13:35 -0600)]
Daily bump.

From-SVN: r29903

24 years agoBring copy_insn_1 and copy_rtx in sync and simplify them
Bernd Schmidt [Mon, 11 Oct 1999 18:42:36 +0000 (18:42 +0000)]
Bring copy_insn_1 and copy_rtx in sync and simplify them

From-SVN: r29902

24 years agocplus-dem.c (do_type): Handle pointer to member types whose enclosing classes have...
Mark Mitchell [Mon, 11 Oct 1999 08:32:10 +0000 (08:32 +0000)]
cplus-dem.c (do_type): Handle pointer to member types whose enclosing classes have namespace scope.

* cplus-dem.c (do_type): Handle pointer to member types whose
enclosing classes have namespace scope.

From-SVN: r29901

24 years ago* newcvsroot: New file.
Martin v. Löwis [Mon, 11 Oct 1999 07:07:39 +0000 (07:07 +0000)]
* newcvsroot: New file.

From-SVN: r29900

24 years agoNew script to replace CVS/Root and CVS/Repository
Martin v. Löwis [Mon, 11 Oct 1999 07:01:38 +0000 (07:01 +0000)]
New script to replace CVS/Root and CVS/Repository

From-SVN: r29899

24 years agomips.c (mips_build_va_list): Correct TREE_CHAIN setting when hard-float.
Geoff Keating [Mon, 11 Oct 1999 03:35:14 +0000 (03:35 +0000)]
mips.c (mips_build_va_list): Correct TREE_CHAIN setting when hard-float.

* config/mips/mips.c (mips_build_va_list): Correct
TREE_CHAIN setting when hard-float.
(mips_va_start): Use corrected setting.
(mips_va_arg): Likewise.  Also pass a tree to build of
POSTINCREMENT_EXPR rather than a naked 'int'.

From-SVN: r29898

24 years agoggc.h (ggc_push_context): Fix comment.
Mark Mitchell [Mon, 11 Oct 1999 02:11:21 +0000 (02:11 +0000)]
ggc.h (ggc_push_context): Fix comment.

* ggc.h (ggc_push_context): Fix comment.
(ggc_pop_context): Likewise.
(mark_string_if_gcable): Likewise.
* ggc-common.c (ggc_mark_rtx_children): Use
ggc_mark_string_if_gcable.
* ggc-page.c (ggc_lookup_page_table): New function.
(ggc_allocated_p): Likewise.
(mark_obj): Fix formatting.
(ggc_mark_string_if_gcable): New function.
* ggc-simple.c (ggc_allocated_strings): New variable.
(ggc_strings_used): Likewise.
(ggc_compare_addresses): New function.
(ggc_pop_context): Pop the `any' memory too.
(ggc_mark_string_if_gcable): New function.
(ggc_collect): Initialize and tear down ggc_allocated_strings.

From-SVN: r29897

24 years agors6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
David Edelsohn [Mon, 11 Oct 1999 00:39:30 +0000 (20:39 -0400)]
rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.

        * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
        (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
        * rs6000.c (expand_block_move): Match movstrsi_?reg register
        changes.

From-SVN: r29895

24 years agohaifa-sched.c (sched_reg_n_calls_crossed): Delete.
Richard Henderson [Sun, 10 Oct 1999 23:45:27 +0000 (16:45 -0700)]
haifa-sched.c (sched_reg_n_calls_crossed): Delete.

        * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
        (sched_reg_live_length, sched_reg_basic_block): Delete.
        (current_block_num, bb_live_regs, old_live_regs): Delete.
        (dead_notes, struct sometimes): Delete.
        (sched_note_set, birthing_insn_p): Delete.
        (adjust_priority): Gut useless reg lifetime code.
        (create_reg_dead_note, attach_deaths): Delete.
        (attach_deaths_insn, new_sometimes_live): Delete.
        (finish_sometimes_live): Delete.
        (find_pre_sched_live, find_post_sched_live): Delete.
        (update_reg_usage): Delete.
        (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
        (schedule_insns): Delete reg lifetime code.
        (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
        (unlink_other_notes): Adjust REG_NOTE commentary.
        (reemit_notes): Use REG_SAVE_NOTE.
        (schedule_block): Likewise.
        (schedule_region): Allocate bitmap of blocks in region.  Use
        count_or_remove_death_notes.  Use update_life_info.

        * rtl.h (REG_SAVE_NOTE): New.
        * rtl.c (reg_note_name): Update.

From-SVN: r29894

24 years agocombine.c (refresh_blocks, [...]): New.
Richard Henderson [Sun, 10 Oct 1999 23:34:17 +0000 (16:34 -0700)]
combine.c (refresh_blocks, [...]): New.

        * combine.c (refresh_blocks, need_refresh): New.
        (combine_instructions): Allocate refresh_blocks.  Invoke
        update_life_info if needed.
        (distribute_notes): Mark refresh_blocks instead of installing
        USE insns.
        * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
        * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.

        * Makefile.in (recog.o): Depend on basic-block.h.

From-SVN: r29893

24 years agochecked in wrong version
Jason Merrill [Sun, 10 Oct 1999 19:23:38 +0000 (15:23 -0400)]
checked in wrong version

From-SVN: r29892

24 years agogenrecog.c (add_to_sequence): Thinko last change: delete shadowing allow_const_int...
Richard Henderson [Sun, 10 Oct 1999 19:04:29 +0000 (12:04 -0700)]
genrecog.c (add_to_sequence): Thinko last change: delete shadowing allow_const_int variable.

        * genrecog.c (add_to_sequence): Thinko last change: delete
        shadowing allow_const_int variable.

From-SVN: r29891

24 years agoansidecl.h (HAVE_GCC_VERSION): New macro.
Kaveh R. Ghazi [Sun, 10 Oct 1999 13:02:41 +0000 (13:02 +0000)]
ansidecl.h (HAVE_GCC_VERSION): New macro.

include:
* ansidecl.h (HAVE_GCC_VERSION): New macro.  Use instead of
explicitly testing __GNUC__ and __GNUC_MINOR__.

(ATTRIBUTE_PRINTF): Use `__format__', not `format'.

gcc:
* cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
__GNUC__ and __GNUC_MINOR__.

* gansidecl.h: Likewise.

* rtl.c: Likewise.

* rtl.h: Likewise.

* toplev.h: Likewise.

* tree.c: Likewise.

* tree.h: Likewise.

* varray.c: Likewise.

* varray.h: Likewise.

cp:
* cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing
__GNUC__ and __GNUC_MINOR__.

f:
* proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
__GNUC__ and __GNUC_MINOR__.  Don't define BUILT_WITH_270.
Define macro UNUSED in terms of ATTRIBUTE_UNUSED.

From-SVN: r29890

24 years agoFix a warning in copy_insn_1
Bernd Schmidt [Sun, 10 Oct 1999 12:06:33 +0000 (12:06 +0000)]
Fix a warning in copy_insn_1

From-SVN: r29889

24 years agoFix docs for ADDRESS rtx
Bernd Schmidt [Sun, 10 Oct 1999 11:52:53 +0000 (11:52 +0000)]
Fix docs for ADDRESS rtx

From-SVN: r29888

24 years agoDon't put things between tablejumps and jump tables in loop.c
Bernd Schmidt [Sun, 10 Oct 1999 11:37:46 +0000 (11:37 +0000)]
Don't put things between tablejumps and jump tables in loop.c

From-SVN: r29887

24 years agoLost debug_decision_list from genrecog changelog.
Richard Henderson [Sun, 10 Oct 1999 09:46:11 +0000 (02:46 -0700)]
Lost debug_decision_list from genrecog changelog.

From-SVN: r29886