platform/upstream/linaro-gcc.git
26 years ago
law [Fri, 19 Jun 1998 01:13:01 +0000 (01:13 +0000)]

* i386.md (movsfcc, movdfcc, movxfcc): Use emit_store_flag
to support LT, LE, GE, and GT signed integer comparisons.
(movsfcc+1, movsfcc+2, movdfcc+1, movdfcc+2,
movxfcc+1, movxfcc+2): Pattern doesn't match if the comparison
is LT, LE, GE, or GT.
(movdicc): Remove code resulting from an earlier patch which
didn't apply correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20574 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Fri, 19 Jun 1998 01:12:59 +0000 (01:12 +0000)]

* i386.md (movsfcc, movdfcc, movxfcc): Use emit_store_flag
to support LT, LE, GE, and GT signed integer comparisons.
(movsfcc+1, movsfcc+2, movdfcc+1, movdfcc+2,
movxfcc+1, movxfcc+2): Pattern doesn't match if the comparison
is LT, LE, GE, or GT.
(movdicc): Remove code resulting from an earlier patch which
didn't apply correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20573 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * gcc.c-torture/execute/ieee/980619-1.c: New test.
law [Fri, 19 Jun 1998 01:07:44 +0000 (01:07 +0000)]
    * gcc.c-torture/execute/ieee/980619-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20572 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * reload1.c (reload_cse_regno_equal_p): If -ffloat-store, don't
law [Fri, 19 Jun 1998 01:03:32 +0000 (01:03 +0000)]
    * reload1.c (reload_cse_regno_equal_p): If -ffloat-store, don't
        consider a MEM in FP mode as equal.
Stolen from gcc2 sources.  Fixes problem from Debian folks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20571 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Fri, 19 Jun 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20570 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * c-decl.c (duplicate_decls): Avoid setting TREE_ASM_WRITTEN for
law [Fri, 19 Jun 1998 00:05:02 +0000 (00:05 +0000)]
    * c-decl.c (duplicate_decls): Avoid setting TREE_ASM_WRITTEN for
        duplicate declarations of a function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20569 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoForgot to update after previous configure.in change.
law [Thu, 18 Jun 1998 23:39:13 +0000 (23:39 +0000)]
Forgot to update after previous configure.in change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20568 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago(
law [Thu, 18 Jun 1998 23:36:42 +0000 (23:36 +0000)]
(
        * config/float-i386.h: New.
        * configure.in (i[34567]86-*-linux-*): Set float_format to i386.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20567 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Thu, 18 Jun 1998 23:36:41 +0000 (23:36 +0000)]
8
        * config/float-i386.h: New.
        * configure.in (i[34567]86-*-linux-*): Set float_format to i386.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20566 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Thu, 18 Jun 1998 23:36:39 +0000 (23:36 +0000)]

        * config/float-i386.h: New.
        * configure.in (i[34567]86-*-linux-*): Set float_format to i386.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20565 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago *lib/g77.exp: Replace search for libf2c.a with search for newly
robertl [Thu, 18 Jun 1998 22:58:52 +0000 (22:58 +0000)]
    *lib/g77.exp: Replace search for libf2c.a with search for newly
        renamed libg2c.a

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20564 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix stack overflow found by glibc compile with max optimizations.
wilson [Thu, 18 Jun 1998 20:17:26 +0000 (20:17 +0000)]
Fix stack overflow found by glibc compile with max optimizations.
* sched.c (schedule_insns): Use xmalloc not alloca for max_uid
indexed arrays.  Call free at the end of the function for them.
* haifa-sched.c (schedule_insns): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20563 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix cygwin32 hosted dwarf2 target problem with line number info.
wilson [Thu, 18 Jun 1998 18:19:08 +0000 (18:19 +0000)]
Fix cygwin32 hosted dwarf2 target problem with line number info.
* dwarf2out.c (size_of_string): Do count backslashes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20562 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAdd bugs corresponding to PRs 16243 and 16245
meissner [Thu, 18 Jun 1998 12:13:20 +0000 (12:13 +0000)]
Add bugs corresponding to PRs 16243 and 16245

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20561 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoImported fixes for testsuite failures from psion branch.
nickc [Thu, 18 Jun 1998 11:44:52 +0000 (11:44 +0000)]
Imported fixes for testsuite failures from psion branch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20560 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to
amylaar [Thu, 18 Jun 1998 09:33:39 +0000 (09:33 +0000)]
* reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to
RELOAD_FOR_INSN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20559 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config.guess: Detection of Pentium II for *-sco-3.2v5*.
robertl [Thu, 18 Jun 1998 09:30:03 +0000 (09:30 +0000)]
    * config.guess: Detection of Pentium II for *-sco-3.2v5*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20558 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoNew case from Klaus-Georg Adams.
robertl [Thu, 18 Jun 1998 08:31:29 +0000 (08:31 +0000)]
New case from Klaus-Georg Adams.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20557 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fixes:
ghazi [Thu, 18 Jun 1998 06:46:35 +0000 (06:46 +0000)]
Warning fixes:
        * Makefile.in (c-lang.o): Depend on output.h.
        * c-lang.c: Include output.h.
        * sparc.c (sparc_builtin_saveregs): Remove unused variable `fntype'.
        * except.c (expand_builtin_eh_stub): Likewise for variable `jump_to'.
        * genrecog.c (write_subroutine): When writing insn-recog.c, mark
        variables `insn', `pnum_clobbers', `x[0 .. max_depth]' and `tem'
        with ATTRIBUTE_UNUSED.
        * regmove.c (copy_src_to_dest): Make function static to match its
        prototype.
        * reload1.c Include hard-reg-set.h before rtl.h to get macro
        HARD_CONST.  Include machmode.h before hard-reg-set.h.
        * rtl.h: Prototype `retry_global_alloc' and wrap with macro
        HARD_CONST to protect usage of typedef HARD_REG_SET.
        * tree.c: Prototype `_obstack_allocated_p'.
        * varasm.c: Wrap prototype of `asm_output_aligned_bss' in macro
        BSS_SECTION_ASM_OP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20556 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fix:
ghazi [Thu, 18 Jun 1998 06:34:50 +0000 (06:34 +0000)]
Warning fix:
        * cp-tree.h: Prototype function `check_java_method'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20555 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoPA warning fixes:
ghazi [Thu, 18 Jun 1998 06:27:09 +0000 (06:27 +0000)]
PA warning fixes:
        * pa.c: Include system.h and toplev.h.  Remove redundant code.
        (call_operand_address): Mark parameter `mode' with ATTRIBUTE_UNUSED.
        (symbolic_operand): Likewise.
        (symbolic_memory_operand): Likewise.
        (pic_label_operand): Likewise.
        (fp_reg_operand): Likewise.
        (pre_cint_operand): Likewise.
        (post_cint_operand): Likewise.
        (ireg_or_int5_operand): Likewise.
        (int5_operand): Likewise.
        (uint5_operand): Likewise.
        (int11_operand): Likewise.
        (uint32_operand): Likewise.
        (ior_operand): Likewise.
        (lhs_lshift_cint_operand): Likewise.
        (pc_or_label_operand): Likewise.
        (legitimize_pic_address): Likewise.
        (hppa_legitimize_address): Likewise for parameter `old'.
        (output_block_move): Likewise for parameter `size_is_constant'.
        (output_function_prologue): Likewise for parameter `size'.
        (output_function_epilogue): Likewise.
        (return_addr_rtx): Likewise for parameter `count'.
        (output_mul_insn): Likewise for parameter `unsignedp'.
        (hppa_builtin_saveregs): Likewise for parameter `arglist'.
        (output_bb): Likewise for parameter `operands'.
        (output_bvb): Likewise.
        (function_label_operand): Likewise for parameter `mode'.
        (plus_xor_ior_operator): Likewise.
        (shadd_operand): Likewise.
        (non_hard_reg_operand): Likewise.
        (eq_neq_comparison_operator): Likewise.
        (movb_comparison_operator): Likewise.
        (pa_combine_instructions): Likewise for parameter `insns'.
        * pa.h: Add prototypes for functions `output_deferred_plabels',
        `override_options', `output_ascii', `output_function_prologue',
        `output_function_epilogue', `print_operand',
        `symbolic_expression_p', `reloc_needed', `compute_frame_size',
        `hppa_address_cost', `and_mask_p', `symbolic_memory_operand',
        `pa_adjust_cost', `pa_adjust_insn_length' and
        `secondary_reload_class'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20554 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Thu, 18 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20553 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * class.c (finish_struct): Make conflicting use of id a pedwarn.
jason [Wed, 17 Jun 1998 23:51:41 +0000 (23:51 +0000)]
* class.c (finish_struct): Make conflicting use of id a pedwarn.
* decl.c (pushdecl_class_level): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20552 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in: Don't turn on collect2 unconditionally.
jason [Wed, 17 Jun 1998 22:32:50 +0000 (22:32 +0000)]
* configure.in: Don't turn on collect2 unconditionally.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20551 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (convert_nontype_argument): Issue an error when presented
mmitchel [Wed, 17 Jun 1998 21:52:30 +0000 (21:52 +0000)]
* pt.c (convert_nontype_argument): Issue an error when presented
with an integer (real) constant that cannot be simplified to an
INT_CST (REAL_CST).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20550 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cp-tree.h (c_get_alias_set): Remove declaration added in
mmitchel [Wed, 17 Jun 1998 20:46:12 +0000 (20:46 +0000)]
* cp-tree.h (c_get_alias_set): Remove declaration added in
1998-06-13 change that should never have been checked in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20549 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cse.c (cse_basic_block): Don't include NOTE insns in the count
mmitchel [Wed, 17 Jun 1998 20:20:21 +0000 (20:20 +0000)]
* cse.c (cse_basic_block): Don't include NOTE insns in the count
that is used to decide whether or not it is time to erase the
equivalence table.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20548 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * typeck.c (build_binary_op_nodefault): Change % in format strings
jason [Wed, 17 Jun 1998 18:52:18 +0000 (18:52 +0000)]
* typeck.c (build_binary_op_nodefault): Change % in format strings
to %%.
* decl.c (grokvardecl): Don't build_static_name for decls that
aren't at namespace scope.
* init.c (perform_member_init): Catch default-initialization of
references.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20547 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * gcc.c-torture/execute/980617-1.c: New test.
law [Wed, 17 Jun 1998 17:56:02 +0000 (17:56 +0000)]
    * gcc.c-torture/execute/980617-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20546 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * fold-const.c (make_range): Do not widen the type of the expression.
law [Wed, 17 Jun 1998 17:54:27 +0000 (17:54 +0000)]
    * fold-const.c (make_range): Do not widen the type of the expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20545 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * rs6000/linux.h (JUMP_TABLES_IN_TEXT_SECTION): Define to zero.
law [Wed, 17 Jun 1998 17:33:40 +0000 (17:33 +0000)]
    * rs6000/linux.h (JUMP_TABLES_IN_TEXT_SECTION): Define to zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20544 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * haifa-sched.c (haifa_classify_insn): TRAP_IF is risky.
jfc [Wed, 17 Jun 1998 16:14:09 +0000 (16:14 +0000)]
* haifa-sched.c (haifa_classify_insn): TRAP_IF is risky.
(sched_analyze_2): Allow scheduling TRAP_IF.
* reorg.c (mark_referenced_resources): Examine operands of TRAP_IF.
* rtl.h (TRAP_CODE): New macro.
* rtl.def (TRAP_IF): Change second operand type to rtx.
* optabs.c (gen_cond_trap): New function.
(init_traps): New function.
(init_optabs): Call init_traps.
* expr.h: Declare gen_cond_trap.
* jump.c (jump_optimize): Optimize jumps to and around traps.
* sparc.md: Define trap instructions.
* rs6000.md: Define trap instructions.
* rs6000.c (print_operand): New code 'V' for trap condition.
(trap_comparison_operator): New function.
* m88k.md: Update use of TRAP_IF.
* tree.h (enum built_in_function): New function code BUILT_IN_TRAP.
* c-decl.c (init_decl_processing): New builtin __builtin_trap.
* expr.c (expand_builtin): Handle BUILT_IN_TRAP.
* expr.c (expand_builtin): Error if __builtin_longjmp second argument
is not 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20543 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWed Jun 17 15:20:00 PDT 1998 Catherine Moore <clm@cygnus.com>
clm [Wed, 17 Jun 1998 15:46:25 +0000 (15:46 +0000)]
Wed Jun 17 15:20:00 PDT 1998  Catherine Moore  <clm@cygnus.com>
         * reload1.c (spill_hard_reg):  Check mode of register when
         spilling from scratch_list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20542 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWed Jun 17 16:25:38 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
amacleod [Wed, 17 Jun 1998 13:29:22 +0000 (13:29 +0000)]
Wed Jun 17 16:25:38 EDT 1998  Andrew MacLeod  (amacleod@cygnus.com)
      * except.c (add_new_handler): fix bug in finding last region handler.
      * libgcc2.c (find_exception_handler): Pass exception table pointer
      to runtime type matcher, not the match info field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20541 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * eh-common.h (struct eh_context): Add comment for hidden use of
amacleod [Wed, 17 Jun 1998 13:05:54 +0000 (13:05 +0000)]
   * eh-common.h (struct eh_context): Add comment for hidden use of
        field dynamic_handler_chain.
        * except.c (get_dynamic_handler_chain): Comment on, and use the
        correct offset of the dynamic_handler_chain field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20540 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDisable annoying linker warning that occurs when templates are used.
wilson [Wed, 17 Jun 1998 12:48:25 +0000 (12:48 +0000)]
Disable annoying linker warning that occurs when templates are used.
* mips/iris6.h (LINK_SPEC): Add -woff 131.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20539 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * expr.c (check_max_integer_computation_mode): New function.
law [Wed, 17 Jun 1998 11:44:02 +0000 (11:44 +0000)]
    * expr.c (check_max_integer_computation_mode): New function.
        (expand_expr): Avoid integer computations in modes wider than
        MAX_INTEGER_COMPUTATION_MODE.
        * fold-const.c (fold): Likewise.
        * tree.h (check_max_integer_computation_mode): Declare.
        * tm.texi (MAX_INTEGER_COMPUTATION_MODE): Document it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20538 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * errfn.c (cp_thing): Handle the `%%' formatting sequence.
mmitchel [Wed, 17 Jun 1998 10:40:49 +0000 (10:40 +0000)]
* errfn.c (cp_thing): Handle the `%%' formatting sequence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20537 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * dwarf2out.c: Disable EH_FRAME_SECTION if we don't have .init.
law [Wed, 17 Jun 1998 10:31:24 +0000 (10:31 +0000)]
    * dwarf2out.c: Disable EH_FRAME_SECTION if we don't have .init.
        * configure.in: Don't disable collect2 when we have GNU ld.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20536 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in (nm): Make a link to "nm" in the build tree too.
law [Wed, 17 Jun 1998 08:13:23 +0000 (08:13 +0000)]
    * configure.in (nm): Make a link to "nm" in the build tree too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20535 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Wed, 17 Jun 1998 07:42:35 +0000 (07:42 +0000)]

        * mn10300.md (andsi3): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20534 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Wed, 17 Jun 1998 07:42:33 +0000 (07:42 +0000)]

        * mn10300.md (andsi3): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20533 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * method.c (hack_identifier): Complain about getting a namespace
jason [Wed, 17 Jun 1998 02:07:29 +0000 (02:07 +0000)]
* method.c (hack_identifier): Complain about getting a namespace
or class template.
* typeck.c (decay_conversion): Remove check for namespaces.
* typeck2.c (incomplete_type_error): Likewise.
* parse.y (template_arg): Add PTYPENAME expansion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20532 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Wed, 17 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20531 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* reload1.c (reload_cse_regs): Call bzero instead of looping.
rth [Tue, 16 Jun 1998 23:00:29 +0000 (23:00 +0000)]
* reload1.c (reload_cse_regs): Call bzero instead of looping.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20530 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix bug reported by tege. section names wrong if USER_LABEL_PREFIX non-null.
wilson [Tue, 16 Jun 1998 18:33:00 +0000 (18:33 +0000)]
Fix bug reported by tege.  section names wrong if USER_LABEL_PREFIX non-null.
* dwarf2out.c (stripattributes): Prepend '*' to the section name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20529 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha.c (alpha_expand_prologue, alpha_expand_epilogue): New fns.
rth [Tue, 16 Jun 1998 17:08:48 +0000 (17:08 +0000)]
    * alpha.c (alpha_expand_prologue, alpha_expand_epilogue): New fns.
        (output_prologue, output_epilogue): Merge VMS and OSF versions;
        Remove anything related to the actual code generation.
        (output_end_prologue): New function.
        (alpha_sa_mask, alpha_sa_size): Merge VMS and OSF versions.
        (alpha_does_function_need_gp): Return false for VMS.
        (alpha_function_needs_gp): Make static.
        (add_long_const): Delete.
        (summarize_insn): Don't assume a SUBREG is of a REG.
        Prototype all static functions.  Rename VMS-specific global
        variables vms_*.
        * alpha.h (TARGET_CAN_FAULT_IN_PROLOGUE): Default to 0.
        (FUNCTION_BOUNDARY): Align to cache line.
        (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER): Align to octaword.
        (FUNCTION_END_PROLOGUE): New macro.
        * alpha.md (attribute length): New.  Mark all insns.
        (return_internal, prologue_stack_probe_loop) New patterns.
        (prologue, init_fp, epilogue): New patterns.
        Disable peepholes.
        * linux.h (TARGET_CAN_FAULT_IN_PROLOGUE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20528 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTue Jun 16 17:36:35 1998 Dave Brolley <brolley@cygnus.com>
brolley [Tue, 16 Jun 1998 15:48:14 +0000 (15:48 +0000)]
Tue Jun 16 17:36:35 1998  Dave Brolley  <brolley@cygnus.com>
* toplev.c (lang_options): Add -trigraphs option for cpplib.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20527 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * reload1.c (reload_reg_free_before_p): RELOAD_FOR_OUTADDR_ADDRESS
amylaar [Tue, 16 Jun 1998 15:35:50 +0000 (15:35 +0000)]
* reload1.c (reload_reg_free_before_p): RELOAD_FOR_OUTADDR_ADDRESS
is earlier than RELOAD_FOR_OUTPUT_ADDRESS; RELOAD_FOR_INPADDR_ADDRESS
is earlier than RELOAD_FOR_INPUT_ADDRESS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20526 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix v850 build failure.
wilson [Tue, 16 Jun 1998 13:17:14 +0000 (13:17 +0000)]
Fix v850 build failure.
* libgcc1-test.c (memcpy): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20525 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago1998-06-16 Andrew MacLeod <amacleod@cygnus.com>
amacleod [Tue, 16 Jun 1998 12:36:14 +0000 (12:36 +0000)]
1998-06-16  Andrew MacLeod  <amacleod@cygnus.com>
* decl.c (grokvardecl): Don't build external assembler names for
TYPENAMEs in other namespaces as there is no declarator.
* error.c (cp_file_of, cp_line_of): Don't extract file or line number
info from DECL_CONTEXT if it is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20524 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoPrint constants for function_units_used and *_blockage_range more human friendly
meissner [Tue, 16 Jun 1998 10:48:57 +0000 (10:48 +0000)]
Print constants for function_units_used and *_blockage_range more human friendly

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20523 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agorevert
jason [Tue, 16 Jun 1998 03:18:08 +0000 (03:18 +0000)]
revert

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20522 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * method.c (hack_identifier): Don't let a class template out.
jason [Tue, 16 Jun 1998 02:51:01 +0000 (02:51 +0000)]
* method.c (hack_identifier): Don't let a class template out.
* call.c (check_dtor_name): Split out.
(build_scoped_method_call): Use it.
(build_method_call): Use it.
* init.c (build_offset_ref): Use it.
* typeck.c (build_static_cast): Fix handling of pointers to members.
* decl.c (finish_function): Just return nothing from a constructor.
* typeck.c (c_expand_return): Complain about returning a void
expression from a destructor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20521 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoMon Jun 15 22:21:57 1998 Craig Burley <burley@gnu.org>
fx [Tue, 16 Jun 1998 02:23:44 +0000 (02:23 +0000)]
Mon Jun 15 22:21:57 1998  Craig Burley  <burley@gnu.org>
Cutover to system.h:
* Make-lang.in:
* Makefile.in:
* ansify.c:
* bad.c:
* bld.c:
* com.c:
* com.h:
* expr.c:
* fini.c:
* g77spec.c:
* implic.c:
* intdoc.c:
* intrin.c:
* lex.c:
* lex.h:
* parse.c:
* proj.c:
* proj.h:
* src.c:
* src.h:
* stb.c:
* ste.c:
* target.c:
* top.c:
* system.j: New file.
Use toplev.h where appropriate:
* Make-lang.in:
* Makefile.in:
* bad.c:
* bld.c:
* com.c:
* lex.c:
* ste.c:
* top.c:
* toplev.j: New file.
Conditionalize all dumping/reporting routines so they don't
get built for gcc/egcs:
* bld.c:
* bld.h:
* com.c:
* equiv.c:
* equiv.h:
* sta.c:
* stt.c:
* stt.h:
* symbol.c:
* symbol.h:
Use hconfig.h instead of config.h where appropriate:
* Makefile.in (proj-h.o): Compile with -DUSE_HCONFIG.
* fini.c: Define USE_HCONFIG before including proj.h.
* Makefile.in (deps-kinda): Redirect stderr to stdout,
to eliminate diagnostics vis-a-vis g77spec.c.
* Makefile.in: Regenerate dependencies via deps-kinda.
* lex.c (ffelex_file_fixed, ffelex_file_free): Eliminate
apparently spurious warnings about uninitialized variables
`c', `column', and so on.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20520 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Tue, 16 Jun 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20517 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoupdate
jason [Mon, 15 Jun 1998 23:51:13 +0000 (23:51 +0000)]
update

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20516 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoReorder tests in last change for speed
meissner [Mon, 15 Jun 1998 16:32:00 +0000 (16:32 +0000)]
Reorder tests in last change for speed

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20513 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDo not do src->dest copy if register would not be allocated a normal register
meissner [Mon, 15 Jun 1998 14:28:02 +0000 (14:28 +0000)]
Do not do src->dest copy if register would not be allocated a normal register

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20512 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix merging error with formerly cygnus local change.
wilson [Mon, 15 Jun 1998 13:22:59 +0000 (13:22 +0000)]
Fix merging error with formerly cygnus local change.
* c-decl.c (shadow_tag_warned): Use specs not declspecs in for loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20511 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoUndo June 11th change
meissner [Mon, 15 Jun 1998 12:33:51 +0000 (12:33 +0000)]
Undo June 11th change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20510 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoUpdate versions to 0.5.23.
fx [Mon, 15 Jun 1998 07:57:08 +0000 (07:57 +0000)]
Update versions to 0.5.23.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20509 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoSat Jun 13 03:13:18 1998 Craig Burley <burley@gnu.org>
fx [Mon, 15 Jun 1998 07:54:39 +0000 (07:54 +0000)]
Sat Jun 13 03:13:18 1998  Craig Burley  <burley@gnu.org>
* g77spec.c (lang_specific_driver): Print out egcs
version info first, to be compatible with what some
test facilities expect.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20508 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoSat Jun 13 03:46:40 1998 Craig Burley <burley@gnu.org>
fx [Mon, 15 Jun 1998 07:52:05 +0000 (07:52 +0000)]
Sat Jun 13 03:46:40 1998  Craig Burley  <burley@gnu.org>
* Makefile.in (install): Don't install if $(libsubdir)
is empty; issue a diagnostic saying top-level Makefile
must pass it in instead, and exit.
* Makefile.in (g2c.h): Rename from f2c.h.
* Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
libU77/Makefile.in: Rewrite config and var assignment
sections to be even more minimal than before, and to
more clearly documented what macros are expected to be
set and to what sorts of values.  Eliminate CROSS and
related stuff, since there's no such things as CROSS
in egcs.  Rename GCC_FOR_TARGET to CC throughout.
* Makefile.in (stamp-libi77, stamp-libf77, stamp-libu77):
Eliminate CROSS.
* configure.in: Eliminate CROSS.
Rename libf2c.a and f2c.h to libg2c.a and g2c.h,
normalize and simplify g77/libg2c build process:
* Makefile.in: Remove all stuff pertaining to
installation, cleaning, and so on.  Parent Makefile
does all that now.  Pass F2C_H_DIR,
G2C_H_DIR, and GCC_H_DIR, the pathnames for the
directories containing f2c.h, g2c.h, and other
#include files, to subdirectory Makefiles.
(stamp-libf77, stamp-libi77, stamp-libu77):
Don't specify `-f Makefile' anymore, it's not needed
now that subdirectory makefile's from netlib are
renamed to makefile.netlib in g77 source (and to
makefile.ori by configuration process, in case they're
still around somehow).
(stamp-libe77): Don't make libE77 dir unless it doesn't
exist, if it does just delete all objects in it.
Compile using $(GCC_FOR_TARGET), not $(CC).
(rebuilt): Remove this and all subordinate targets,
as parent Makefile now handles all that.
(*clean): Remove.
* configure.in (Pad_UDread, ALWAYS_FLUSH, WANT_LEAD_0):
Remove these and commentary to new f2c.h file.
AC_OUTPUT g2c.h instead of f2c.h.  Remove old commentary
regarding concatenation.
* g2c.h.in: Rename from f2c.h.in, add appropriate
commentary.
* f2c.h: New file, a wrapper for g2c.h that does
libg2c-specific stuff.
* libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
Change $(ALL_CFLAGS) to use F2C_H_DIR, G2C_H_DIR, and GCC_H_DIR
macros.  Remove F2C_H macro, replace use with explicit
dependencies on f2c.h and g2c.h.
(*clean): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20507 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoThu May 28 21:32:18 1998 Craig Burley <burley@gnu.org>
fx [Mon, 15 Jun 1998 07:37:33 +0000 (07:37 +0000)]
Thu May 28 21:32:18 1998  Craig Burley  <burley@gnu.org>
Restore circa-0.5.22 capabilities of `g77' driver:
* Make-lang.in (g77spec.o): Depend on f/version.h.
(g77version.o): New rule to compile g77 version info.
(g77$(exeext)): Depend on and link in g77version.o.
* g77spec.c: Rewrite to be more like 0.5.22 version
of g77.c, making filtering of command line smarter
so mixed Fortran and C (etc.) can be compiled, verbose
version info can be obtained, etc.
* lang-specs.h (f77-version): New "language" to support
"g77 -v" command under new gcc 2.8 regime.
* lex.c (ffelex_file_fixed): If -fnull-version, just
substitute a "source file" that prints out version info.
* top.c, top.h: Support -fnull-version.
* lang-specs.h: Use "%O" instead of OO macro to specify
object extension.  Remove old stringizing cruft.
* Make-lang.in (g77.c, g77spec.o, g77.o, g77$(exeext),
g77-cross$(exeext), f771,
$(srcdir)/f/g77.info, $(srcdir)/f/g77.dvi,
$(srcdir)/f/intdoc.texi,
f77.install-common, f77.install-info, f77.install-man,
f77.uninstall, $(G77STAGESTUFF), f77.stage1, f77.stage2,
f77.stage3, f77.stage4, f77.distdir): Don't do anything
unless user specified "f77" or "F77" in $LANGUAGES either
during configuration or explicitly.  For convenience of
various tests and to work around lack of the assignment
"LANGUAGES=$(BOOT_LANGUAGES)" in the "make stage1" command
of "make bootstrap" in gcc, use a touch file named "lang-f77"
to communicate whether this is the case.
* Make-lang.in (F77_FLAGS_TO_PASS): Delete this macro,
replace with minimal expansion of its former self in
each of the two instances where it was used.
* Makefile.in (HOST_CC): Delete this definition.
* com.c (index, rindex): Delete these declarations.
* proj.h: (isascii): Delete this.
* Make-lang.in (f77.install-common): Warn if `f77-install-ok'
flag-file exists, since it no longer triggers any activity.
Rename libf2c.a and f2c.h to libg2c.a and g2c.h,
normalize and simplify g77/libg2c build process:
* Make-lang.in: Remove all support for overwriting
/usr/bin/f77 etc., or whatever the actual names are
via $(prefix) and $(local_prefix).  (g++ overwrites
/usr/bin/c++, but then it's often the only C++ compiler
on the system; f77 often exists on systems that are
installing g77.)
(f77.realclean): Remove obsolete target.
(g77.c, g77$(exeext)): Minor changes to look more like g++'s
stuff.
(f771): Now built with srcdir=gcc/f, not srcdir=gcc, to be
more like g++ and such.
(f/Makefile): Removed, as g++ doesn't need this rule.
(f77.install-common): No longer install f77, etc.
(f77.install-man): No longer install f77.1.
(f77.uninstall): No longer uninstall f77, f77.1, etc.
(f77.stage1, f77.stage2, f77.stage3, f77.stage4): Do work
only if "f77" appears in $(LANGUAGES).
(Note: gcc's Makefile.in's bootstrap target should set
LANGUAGES=$(BOOT_LANGUAGES) when making the stage1 target.)
* Makefile.in: Update vis-a-vis gcc/cp/Makefile.in.
(none): Remove.
(g77-only): Relocate.
(all.indirect, f771, *.o): Now assumes current directory
is this dir (gcc/f), not the parent directory.
(TAGS): Remove "echo 'parse.y,0'  >> TAGS ;" line.
* config-lang.in: Delete commented-out code.
Fix stagestuff definition.  Add more stuff to
diff_excludes definition.  Don't create any directories.
Set outputs to f/Makefile, to get variable substition
to happen (what does that really do, anyway?!).
* g77spec.c: Rename libf2c to libg2c.
* com.h: Remove all of the gcc back-end decls,
since egcs should have all of them correct.
* com.c: Include "proj.h" before anything else,
as that's how things are supposed to work.
* ste.c: Ditto.
* bad.c: Include "flags.j" here, since some diagnostics
check flag_pedantic_errors.
* Makefile.in (f/*.o): Rebuild dependencies via
deps-kinda.
* output.j: New source file.
* Make-lang.in (F77_SRCS): Update accordingly.
* Makefile.in (OUTPUT_H): Ditto.
(deps-kinda): Ditto.
* com.c: Include "output.j" here.
* lex.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20506 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/rs6000/rs6000.c (output_prolog): Change locations and
vmakarov [Mon, 15 Jun 1998 07:25:09 +0000 (07:25 +0000)]
* config/rs6000/rs6000.c (output_prolog): Change locations and
directions of saving and restoring arguments of main on the stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20505 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBump for snapshot
law [Mon, 15 Jun 1998 07:16:32 +0000 (07:16 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20503 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Mon, 15 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20502 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Sun, 14 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20501 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * class.c (alter_access): Accept a BINFO explaining how to get
mmitchel [Sat, 13 Jun 1998 23:48:07 +0000 (23:48 +0000)]
* class.c (alter_access): Accept a BINFO explaining how to get
from the entity whose accessed is being altered to the type doing
the altering.
(handle_using_decl): New function containing code split out from ...
(finish_struct_1): Here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20500 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cp-tree.h (complete_type_or_else): Declare.
mmitchel [Sat, 13 Jun 1998 23:45:18 +0000 (23:45 +0000)]
* cp-tree.h (complete_type_or_else): Declare.
* init.c (build_new_1, build_delete): Use it.
* typeck.c (require_complete_type): Use complete_type, rather than
expanding it inline.
(complete_type_or_else): New function.
(build_component_ref): Use it.
(pointer_int_sum): Make sure the type pointed to is complete.
(pointer_diff): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20499 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (for_each_template_parm): Traverse the TYPE_CONTEXT for
mmitchel [Sat, 13 Jun 1998 23:35:46 +0000 (23:35 +0000)]
* pt.c (for_each_template_parm): Traverse the TYPE_CONTEXT for
types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20498 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * search.c (get_matching_virtual): Note that member templates
mmitchel [Sat, 13 Jun 1998 23:34:56 +0000 (23:34 +0000)]
* search.c (get_matching_virtual): Note that member templates
cannot override virtual functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20497 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoInitial revision
law [Sat, 13 Jun 1998 19:52:15 +0000 (19:52 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20494 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoKill wrong ev6 comment.
rth [Sat, 13 Jun 1998 15:36:35 +0000 (15:36 +0000)]
Kill wrong ev6 comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20466 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/sparc/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Undefine before
rth [Sat, 13 Jun 1998 13:09:41 +0000 (13:09 +0000)]
    * config/sparc/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Undefine before
        redefining it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20454 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Sat, 13 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20451 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago(ENDFILE_SPEC): Add -lgloss.
devans [Fri, 12 Jun 1998 22:54:50 +0000 (22:54 +0000)]
(ENDFILE_SPEC): Add -lgloss.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20450 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * m32r/m32r.h (STARTFILE_SPEC): Delete crtsysc.o.
devans [Fri, 12 Jun 1998 18:10:23 +0000 (18:10 +0000)]
* m32r/m32r.h (STARTFILE_SPEC): Delete crtsysc.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20445 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (check_explicit_specialization): If DECLARATOR turned into
brendan [Fri, 12 Jun 1998 12:56:22 +0000 (12:56 +0000)]
* pt.c (check_explicit_specialization): If DECLARATOR turned into
an error_mark_node from lookup_template_function, return the same.
(determine_specialization): Also make sure TEMPLATE_ID isn't an
error_mark_node, before we try to read its operands.
* decl.c (grokdeclarator): If we got an error_mark_node from
check_explicit_specialization, just return it right back.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20444 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoMips warning fixes:
ghazi [Fri, 12 Jun 1998 12:06:29 +0000 (12:06 +0000)]
Mips warning fixes:
        * mips.c (small_int): Mark parameter `mode' with ATTRIBUTE_UNUSED.
        (large_int): Likewise.
        (pc_or_label_operand): Likewise.
        (call_insn_operand): Likewise.
        (consttable_operand): Likewise.
        (m16_uimm3_b): Likewise.
        (m16_simm4_1): Likewise.
        (m16_nsimm4_1): Likewise.
        (m16_simm5_1): Likewise.
        (m16_nsimm5_1): Likewise.
        (m16_uimm5_4): Likewise.
        (m16_nuimm5_4): Likewise.
        (m16_simm8_1): Likewise.
        (m16_nsimm8_1): Likewise.
        (m16_uimm8_1): Likewise.
        (m16_nuimm8_1): Likewise.
        (m16_uimm8_m1_1): Likewise.
        (m16_uimm8_4): Likewise.
        (m16_nuimm8_4): Likewise.
        (m16_simm8_8): Likewise.
        (m16_nsimm8_8): Likewise.
        (m16_usym8_4): Likewise.
        (m16_usym5_4): Likewise.
        (mips_move_1word): Change type of variable `i' from int to size_t.
        (mips_move_2words): Likewise.
        (output_block_move): Mark parameter `libname' with ATTRIBUTE_UNUSED.
        (function_arg_advance): Use HOST_PTR_PRINTF to print an address.
        (function_arg): Likewise.
        (function_arg_partial_nregs): Mark parameter `named' with
        ATTRIBUTE_UNUSED.
        (override_options): Use ISDIGIT instead of isdigit.
        (mips_output_external): Mark parameter `file' with ATTRIBUTE_UNUSED.
        (final_prescan_insn): Likewise for parameters `opvec' and `noperands'.
        (save_restore_insns): Cast HOST_WIDE_INT arguments passed to
        function `fatal' to long before printing.  Use
        HOST_WIDE_INT_PRINT_DEC in fprintf.  Both changes done several
        times in this function.
        (function_prologue): Mark parameter `size' with ATTRIBUTE_UNUSED.
        (function_epilogue): Likewise for parameters `file' and `size'.
        Print an int with "%d" not "%ld".
        (mips_select_rtx_section): Mark parameter `x' with ATTRIBUTE_UNUSED.
        (mips_function_value): Likewise for parameter `func'.
        (function_arg_pass_by_reference): Likewise for parameters `cum'
        and `named'.
        (extend_operator): Likewise for parameter `mode'
        (highpart_shift_operator): Likewise.
        * mips.md (mul_acc_si): Remove unused variable `macc'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20443 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * class.c (instantiate_type): Don't treat template-ids that don't
mmitchel [Fri, 12 Jun 1998 09:47:04 +0000 (09:47 +0000)]
* class.c (instantiate_type): Don't treat template-ids that don't
specify any template arguments as equivalent to ordinary
identifiers.  Use OFFSET_REF instead of SCOPE_REF to refer to
pointer-to-members for member templates.  Tidy slightly.
* cp-tree.def (TEMPLATE_ID_EXPR): Revise documentation.
* init.c (build_offset_ref): Handle template-ids like ordinary
identifiers, for the most part, but store a TEMPLATE_ID_EXPR in the
offset part of the OFFSET_REF.
* typeck.c (build_unary_op): Change check for unknown types to
look for OFFSET_REFs, not SCOPE_REFs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20442 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * fold-const.c (fold): Revert last change. It breaks constant
rth [Fri, 12 Jun 1998 09:34:00 +0000 (09:34 +0000)]
    * fold-const.c (fold): Revert last change.  It breaks constant
        expressions somehow.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20441 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * expr.c (do_jump, case EQ_EXPR, NE_EXPR): When comparing complex
schwab [Fri, 12 Jun 1998 01:26:05 +0000 (01:26 +0000)]
* expr.c (do_jump, case EQ_EXPR, NE_EXPR): When comparing complex
prevent operands from being evaluated twice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20440 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Fri, 12 Jun 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20439 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * gcc.c-torture/execute/980612-1.c: New test.
law [Fri, 12 Jun 1998 00:11:18 +0000 (00:11 +0000)]
    * gcc.c-torture/execute/980612-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20438 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Thu, 11 Jun 1998 23:53:50 +0000 (23:53 +0000)]
8
        * toplev.c (lang_options): Add -remap as a preprocessor option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20437 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Thu, 11 Jun 1998 23:53:47 +0000 (23:53 +0000)]

        * toplev.c (lang_options): Add -remap as a preprocessor option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20436 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (is_member_template_class): New function.
mmitchel [Thu, 11 Jun 1998 23:53:24 +0000 (23:53 +0000)]
* pt.c (is_member_template_class): New function.
(push_template_decl_real): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20435 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * i386.md (cmpsi_1, cmphi_1, cmpqi_1): Remove code
law [Thu, 11 Jun 1998 23:33:35 +0000 (23:33 +0000)]
    * i386.md (cmpsi_1, cmphi_1, cmpqi_1): Remove code
        which set CC_REVERSED since reload should ensure that
        the operands are already the correct type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20434 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
bkoz [Thu, 11 Jun 1998 20:11:55 +0000 (20:11 +0000)]
8
* friend.c (do_friend): Add support for nested classes using
  member functions of the enclosing class as friends.
egcs bug

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20433 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
bkoz [Thu, 11 Jun 1998 20:11:54 +0000 (20:11 +0000)]

* friend.c (do_friend): Add support for nested classes using
  member functions of the enclosing class as friends.
egcs bug

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20432 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix m68k build failure.
wilson [Thu, 11 Jun 1998 17:15:02 +0000 (17:15 +0000)]
Fix m68k build failure.
* except.c (expand_builtin_eh_stub): Call emit_move_insn rather than
calling gen_rtx_SET.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20431 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/rs6000/x-aix43 (AR): Delete.
dje [Thu, 11 Jun 1998 15:48:50 +0000 (15:48 +0000)]
* config/rs6000/x-aix43 (AR): Delete.
(AR_FOR_TARGET_FLAGS): Add -X32_64 here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20430 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/i386/aix386ng.h (CPP_SPEC): Remove extraneous quote.
law [Thu, 11 Jun 1998 15:22:41 +0000 (15:22 +0000)]
    * config/i386/aix386ng.h (CPP_SPEC): Remove extraneous quote.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20429 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix mips build error.
wilson [Thu, 11 Jun 1998 12:54:24 +0000 (12:54 +0000)]
Fix mips build error.
* mips.c (override_options): Replace word_mode with explicit
TARGET_64BIT check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20428 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFor regmove if we could not improve code by changing the source to the destination...
meissner [Thu, 11 Jun 1998 11:51:52 +0000 (11:51 +0000)]
For regmove if we could not improve code by changing the source to the destination, copy the source to the destination directly

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20427 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoThu Jun 11 10:30:09 1998 Dave Brolley <brolley@cygnus.com>
brolley [Thu, 11 Jun 1998 07:51:52 +0000 (07:51 +0000)]
Thu Jun 11 10:30:09 1998  Dave Brolley  <brolley@cygnus.com>
* toplev.c (lang_options): Add missing options (nostdinc, idirafter).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20426 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Thu, 11 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20425 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * call.c (convert_default_arg): Make global, not static.
mmitchel [Thu, 11 Jun 1998 00:07:24 +0000 (00:07 +0000)]
* call.c (convert_default_arg): Make global, not static.
(convert_arg_for_ellipsis): Split out from ...
(build_over_call): Here.
* cp-tree.h (convert_default_arg); Declare.
(convert_arg_to_ellipsis): Likewise.
(do_member_init): Remove.
* init.c (do_member_init): Remove; this code is dead.
(expand_member_init): Remove much of this code; it is dead.
* typeck.c (convert_arguments): Use convert_default_arg and
convert_arg_for_ellipsis, rather than duplicating here.
* call.c (convert_like): Don't fail silently if
build_user_type_conversion fails.  Always return error_mark_node
for failure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20424 138bc75d-0d04-0410-961f-82ee72b054a4