gcc.git
26 years agoc-typeck.c (pop_init_level): Warn about implicit zero initialization of struct members.
Bruno Haible [Fri, 19 Jun 1998 22:27:35 +0000 (22:27 +0000)]
c-typeck.c (pop_init_level): Warn about implicit zero initialization of struct members.

        * c-typeck.c (pop_init_level): Warn about implicit zero initialization
        of struct members.

From-SVN: r20614

26 years agotypeck2.c (pop_init_level): Warn about implicit zero initialization of struct members.
Bruno Haible [Fri, 19 Jun 1998 22:26:29 +0000 (22:26 +0000)]
typeck2.c (pop_init_level): Warn about implicit zero initialization of struct members.

        * typeck2.c (pop_init_level): Warn about implicit zero initialization
        of struct members.

From-SVN: r20613

26 years agovarasm.c (assemble_start_function): Add weak_global_object_name.
Jason Merrill [Fri, 19 Jun 1998 22:09:24 +0000 (22:09 +0000)]
varasm.c (assemble_start_function): Add weak_global_object_name.

        * varasm.c (assemble_start_function): Add weak_global_object_name.
        * tree.c (get_file_function_name): Use it.

From-SVN: r20612

26 years agoexpr.c (do_jump_by_parts_greater_rtx): Removed.
H.J. Lu [Fri, 19 Jun 1998 22:06:11 +0000 (22:06 +0000)]
expr.c (do_jump_by_parts_greater_rtx): Removed.

* expr.c (do_jump_by_parts_greater_rtx): Removed.
(truthvalue_conversion): Likewise.

From-SVN: r20611

26 years agoMakefile.in (c-iterate.o): Depend on expr.h.
Jeff Law [Fri, 19 Jun 1998 22:01:27 +0000 (16:01 -0600)]
Makefile.in (c-iterate.o): Depend on expr.h.

        * Makefile.in (c-iterate.o): Depend on expr.h.
* c-iterate.c: Include "expr.h".
(expand_expr): Use proper values when calling the function.

From-SVN: r20610

26 years agoexplow.c (emit_stack_save): Add prototype for FCN.
H.J. Lu [Fri, 19 Jun 1998 21:59:49 +0000 (21:59 +0000)]
explow.c (emit_stack_save): Add prototype for FCN.

* explow.c (emit_stack_save): Add prototype for FCN.
(emit_stack_restore): Likewise.

From-SVN: r20609

26 years ago* c-lang.c (GNU_xref_begin, GNU_xref_end): Deleted.
Jeffrey A Law [Fri, 19 Jun 1998 21:58:00 +0000 (21:58 +0000)]
* c-lang.c (GNU_xref_begin, GNU_xref_end): Deleted.

From-SVN: r20608

26 years ago* dwarf2out.c (getpwd): Add prototype.
H.J. Lu [Fri, 19 Jun 1998 21:55:10 +0000 (21:55 +0000)]
* dwarf2out.c (getpwd): Add prototype.

From-SVN: r20607

26 years ago* dwarf2out.h (debug_dwarf, debug_dwarf_die): New declarations.
H.J. Lu [Fri, 19 Jun 1998 21:52:37 +0000 (21:52 +0000)]
* dwarf2out.h (debug_dwarf, debug_dwarf_die): New declarations.

From-SVN: r20606

26 years agoc-typeck.c (c_expand_asm_operands): Use proper values when calling expand_expr..
H.J. Lu [Fri, 19 Jun 1998 21:49:26 +0000 (21:49 +0000)]
c-typeck.c (c_expand_asm_operands): Use proper values when calling expand_expr..

        * c-typeck.c (c_expand_asm_operands): Use proper values when calling
        expand_expr..

From-SVN: r20605

26 years agoc-lex.c (yyprint): Add prototype.
H.J. Lu [Fri, 19 Jun 1998 20:43:54 +0000 (20:43 +0000)]
c-lex.c (yyprint): Add prototype.

* c-lex.c (yyprint): Add prototype.
(check_newline, build_objc_string): Remove declaration.

From-SVN: r20604

26 years agoc-tree.h (comptypes_record_hook): Removed.
H.J. Lu [Fri, 19 Jun 1998 20:31:07 +0000 (20:31 +0000)]
c-tree.h (comptypes_record_hook): Removed.

* c-tree.h (comptypes_record_hook): Removed.
(finish_incomplete_decl): New prototype.

From-SVN: r20603

26 years agog77spec.c (lang_specific_driver): Check n_infiles before appending args.
H.J. Lu [Fri, 19 Jun 1998 20:02:11 +0000 (20:02 +0000)]
g77spec.c (lang_specific_driver): Check n_infiles before appending args.

        * g77spec.c (lang_specific_driver): Check n_infiles before
        appending args.

From-SVN: r20602

26 years agoalias.c (find_base_value): Add prototype.
H.J. Lu [Fri, 19 Jun 1998 20:01:04 +0000 (20:01 +0000)]
alias.c (find_base_value): Add prototype.

* alias.c (find_base_value): Add prototype.
(true_dependence): Add prototype for function argument.

From-SVN: r20601

26 years ago* c-aux-info.c (xmalloc): Remove declaration.
H.J. Lu [Fri, 19 Jun 1998 19:41:19 +0000 (19:41 +0000)]
* c-aux-info.c (xmalloc): Remove declaration.

From-SVN: r20600

26 years agoi386.c: Include system.h.
Robert Lipe [Fri, 19 Jun 1998 19:26:28 +0000 (19:26 +0000)]
i386.c: Include system.h.

        * i386.c: Include system.h.   Remove redundant includes.
        (optimization_options): Mark param 'size' with ATTRIBUTE_UNUSED.
        (i386_cc_probably_useless_p): Likewise for 'decl', 'attributes',
        'identifier', 'args'.
        (i386_valid_type_attribute_p): Likewise for 'attributes'.
        (i386_comp_type_attribute_p): Likewise for 'type1', 'type2'.
        (function_arg_partial_nregs): Likewise for 'cum', 'mode', 'type',
        and 'named'.
        (symbolic_operand): Likewise for 'mode'.
        (call_insn_operand): Likewise.
        (expander_call_insn_operand): Likewise.
        (ix86_logical_operator): Likewise.
        (ix86_binary_operator_ok): Likewise.
        (emit_pic_move): Likewise.
        (VOIDmode_compare_op): Likewise.
        (is_mul): Likewise.
        (str_immediate_operand): Likewise.
        (ix86_uary_operator_ok): Likewise for 'code', 'mode', and 'operands'.yy
        (asm_output_function_prefix): Likewise for 'name'.
        (function_prologue): Likewise for 'file', and 'size'.
        (function_epilogue): Likewise.

From-SVN: r20599

26 years agoFix hpux loop unrolling bug reported by Tim Prince.
Jim Wilson [Fri, 19 Jun 1998 18:54:44 +0000 (18:54 +0000)]
Fix hpux loop unrolling bug reported by Tim Prince.

* loop.h (struct induction): Clarify comment for unrolled field.
* unroll.c (find_splittable_givs): Move set of unrolled field
after address validity check.

From-SVN: r20598

26 years agoRemove errant cygnus local tags
Michael Meissner [Fri, 19 Jun 1998 18:52:42 +0000 (18:52 +0000)]
Remove errant cygnus local tags

From-SVN: r20597

26 years ago
Benjamin Kosnik [Fri, 19 Jun 1998 18:42:42 +0000 (18:42 +0000)]

Build don't link

From-SVN: r20596

26 years ago
Benjamin Kosnik [Fri, 19 Jun 1998 17:40:09 +0000 (17:40 +0000)]

64 bit targets don't overflow

From-SVN: r20595

26 years agoAllow INLINE to be defined for debugging
Michael Meissner [Fri, 19 Jun 1998 15:37:29 +0000 (15:37 +0000)]
Allow INLINE to be defined for debugging

From-SVN: r20594

26 years agoMake-lang.in (f/g77.info): Use -f when removing pre-existing Info files, if any.
Craig Burley [Fri, 19 Jun 1998 14:30:11 +0000 (10:30 -0400)]
Make-lang.in (f/g77.info): Use -f when removing pre-existing Info files, if any.

Mon Jun 15 23:39:24 1998  Craig Burley  <burley@gnu.org>
* Make-lang.in (f/g77.info): Use -f when removing
pre-existing Info files, if any.  (This rm command
can go away once makeinfo has been changed to delete
.info-N files beyond the last one it creates.)* Make-lang.in ($(srcdir)/f/intdoc.texi): Compile
using $(INCLUDES) macro to get the new hconfig.h
and system.h headers.  [Instead of change below.]

From-SVN: r20593

26 years ago980414-1.c: Move comments outside of ASM to improve compatibility with assmblers...
Robert Lipe [Fri, 19 Jun 1998 12:08:33 +0000 (12:08 +0000)]
980414-1.c: Move comments outside of ASM to improve compatibility with assmblers with a...

* gcc.dg/980414-1.c: Move comments outside of ASM to improve
compatibility with assmblers with a different comment character.
Eliminate use of GAS-specific extensions.

From-SVN: r20592

26 years agoMakefile.in ($(srcdir)/f/intdoc.texi): Add $(INCLUDES).
Manfred Hollstein [Fri, 19 Jun 1998 05:49:20 +0000 (05:49 +0000)]
Makefile.in ($(srcdir)/f/intdoc.texi): Add $(INCLUDES).

8
* Makefile.in ($(srcdir)/f/intdoc.texi): Add $(INCLUDES).

From-SVN: r20587

26 years agoMakefile.in ($(srcdir)/f/intdoc.texi): Add $(INCLUDES).
Manfred Hollstein [Fri, 19 Jun 1998 05:49:19 +0000 (05:49 +0000)]
Makefile.in ($(srcdir)/f/intdoc.texi): Add $(INCLUDES).


* Makefile.in ($(srcdir)/f/intdoc.texi): Add $(INCLUDES).

From-SVN: r20586

26 years agoconfigure (gcc_version): Add new variable describing the particular gcc version we...
Manfred Hollstein [Fri, 19 Jun 1998 05:42:20 +0000 (05:42 +0000)]
configure (gcc_version): Add new variable describing the particular gcc version we're building.


egcs-19980619/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (gcc_version): Add new variable describing the
particular gcc version we're building.
* Makefile.in (libsubdir): Add new macro for the directory
in which the compiler finds executables, libraries, etc.
(BASE_FLAGS_TO_PASS): Pass down gcc_version, target_alias
and libsubdir.
egcs-19980619/gcc/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (installdirs): Loop over directories in $(libsubdir)
creating probably missing ones, instead of single if statements.
egcs-19980619/libio/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add libsubdir.

From-SVN: r20585

26 years agoconfigure (gcc_version): Add new variable describing the particular gcc version we...
Manfred Hollstein [Fri, 19 Jun 1998 05:42:18 +0000 (05:42 +0000)]
configure (gcc_version): Add new variable describing the particular gcc version we're building.


egcs-19980619/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (gcc_version): Add new variable describing the
particular gcc version we're building.
* Makefile.in (libsubdir): Add new macro for the directory
in which the compiler finds executables, libraries, etc.
(BASE_FLAGS_TO_PASS): Pass down gcc_version, target_alias
and libsubdir.
egcs-19980619/gcc/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (installdirs): Loop over directories in $(libsubdir)
creating probably missing ones, instead of single if statements.
egcs-19980619/libio/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add libsubdir.

From-SVN: r20584

26 years agoconfigure (gcc_version): Add new variable describing the particular gcc version we...
Manfred Hollstein [Fri, 19 Jun 1998 05:42:16 +0000 (05:42 +0000)]
configure (gcc_version): Add new variable describing the particular gcc version we're building.


egcs-19980619/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (gcc_version): Add new variable describing the
particular gcc version we're building.
* Makefile.in (libsubdir): Add new macro for the directory
in which the compiler finds executables, libraries, etc.
(BASE_FLAGS_TO_PASS): Pass down gcc_version, target_alias
and libsubdir.
egcs-19980619/gcc/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (installdirs): Loop over directories in $(libsubdir)
creating probably missing ones, instead of single if statements.
egcs-19980619/libio/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add libsubdir.

From-SVN: r20583

26 years agoconfigure (gcc_version): Add new variable describing the particular gcc version we...
Manfred Hollstein [Fri, 19 Jun 1998 05:42:14 +0000 (05:42 +0000)]
configure (gcc_version): Add new variable describing the particular gcc version we're building.


egcs-19980619/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (gcc_version): Add new variable describing the
particular gcc version we're building.
* Makefile.in (libsubdir): Add new macro for the directory
in which the compiler finds executables, libraries, etc.
(BASE_FLAGS_TO_PASS): Pass down gcc_version, target_alias
and libsubdir.
egcs-19980619/gcc/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (installdirs): Loop over directories in $(libsubdir)
creating probably missing ones, instead of single if statements.
egcs-19980619/libio/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add libsubdir.

From-SVN: r20582

26 years ago*** empty log message ***
Manfred Hollstein [Fri, 19 Jun 1998 05:42:12 +0000 (05:42 +0000)]
*** empty log message ***

From-SVN: r20581

26 years agoc-common.c (truthvalue_conversion): Protect side effects in the expression when split...
Andreas Schwab [Fri, 19 Jun 1998 01:46:50 +0000 (01:46 +0000)]
c-common.c (truthvalue_conversion): Protect side effects in the expression when splitting a complex value.

* c-common.c (truthvalue_conversion): Protect side effects in the
expression when splitting a complex value.
* fold-const.c (fold): Likewise.

From-SVN: r20580

26 years agoMakefile.in (local-clean): remove *.log
Alexandre Oliva [Fri, 19 Jun 1998 01:42:01 +0000 (01:42 +0000)]
Makefile.in (local-clean): remove *.log

        * Makefile.in (local-clean): remove *.log
        (warning.log): built with warn_summary from build.log
        (mail-report.log): run test_summary
        (mail-report-with-warnings.log): run test_summary including
        warning.log in the report

From-SVN: r20579

26 years agotest_summary: new switch (-i) and environment variable (append_logs) for including...
Alexandre Oliva [Fri, 19 Jun 1998 01:39:58 +0000 (01:39 +0000)]
test_summary: new switch (-i) and environment variable (append_logs) for including files in...

        * test_summary: new switch (-i) and environment variable
        (append_logs) for including files in the report.

From-SVN: r20578

26 years agocccp.c (hack_vms_include_specification): rewrite to handle '#include <dir/file.h...
Klaus Kaempf [Fri, 19 Jun 1998 01:34:11 +0000 (01:34 +0000)]
cccp.c (hack_vms_include_specification): rewrite to handle '#include <dir/file.h>' correctly.

        * cccp.c (hack_vms_include_specification): rewrite to handle
        '#include <dir/file.h>' correctly.

From-SVN: r20577

26 years ago* config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined.
H.J. Lu [Fri, 19 Jun 1998 01:27:10 +0000 (01:27 +0000)]
* config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined.

From-SVN: r20576

26 years agoi386.c (notice_update_cc): Integer conditional moves don't affect cc0.
John Wehle [Fri, 19 Jun 1998 01:20:42 +0000 (01:20 +0000)]
i386.c (notice_update_cc): Integer conditional moves don't affect cc0.

* i386.c (notice_update_cc): Integer conditional moves don't
affect cc0.

From-SVN: r20575

26 years agoi386.md (movsfcc, [...]): Use emit_store_flag to support LT, LE, GE, and GT signed...
John Wehle [Fri, 19 Jun 1998 01:13:01 +0000 (19:13 -0600)]
i386.md (movsfcc, [...]): Use emit_store_flag to support LT, LE, GE, and GT signed integer comparisons.


* 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.

From-SVN: r20574

26 years agoi386.md (movsfcc, [...]): Use emit_store_flag to support LT, LE, GE, and GT signed...
John Wehle [Fri, 19 Jun 1998 01:12:59 +0000 (19:12 -0600)]
i386.md (movsfcc, [...]): Use emit_store_flag to support LT, LE, GE, and GT signed integer comparisons.


* 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.

From-SVN: r20573

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

From-SVN: r20572

26 years agoreload1.c (reload_cse_regno_equal_p): If -ffloat-store, don't consider a MEM in FP...
Richard Kenner [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.

        * 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.

From-SVN: r20571

26 years agoDaily bump.
Jeff Law [Fri, 19 Jun 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20570

26 years agoc-decl.c (duplicate_decls): Avoid setting TREE_ASM_WRITTEN for duplicate declarations...
Jeffrey A 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.

        * c-decl.c (duplicate_decls): Avoid setting TREE_ASM_WRITTEN for
        duplicate declarations of a function.

From-SVN: r20569

26 years agoForgot to update after previous configure.in change.
H.J. Lu [Thu, 18 Jun 1998 23:39:13 +0000 (17:39 -0600)]
Forgot to update after previous configure.in change.

From-SVN: r20568

26 years agofloat-i386.h: New.
H.J. Lu [Thu, 18 Jun 1998 23:36:42 +0000 (17:36 -0600)]
float-i386.h: New.

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

From-SVN: r20567

26 years agofloat-i386.h: New.
H.J. Lu [Thu, 18 Jun 1998 23:36:41 +0000 (17:36 -0600)]
float-i386.h: New.

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

From-SVN: r20566

26 years agofloat-i386.h: New.
H.J. Lu [Thu, 18 Jun 1998 23:36:39 +0000 (17:36 -0600)]
float-i386.h: New.


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

From-SVN: r20565

26 years agog77.exp: Replace search for libf2c.a with search for newly renamed libg2c.a
Robert Lipe [Thu, 18 Jun 1998 22:58:52 +0000 (22:58 +0000)]
g77.exp: Replace search for libf2c.a with search for newly renamed libg2c.a

        *lib/g77.exp: Replace search for libf2c.a with search for newly
        renamed libg2c.a

From-SVN: r20564

26 years agoFix stack overflow found by glibc compile with max optimizations.
Jim 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.

From-SVN: r20563

26 years agoFix cygwin32 hosted dwarf2 target problem with line number info.
Jim 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.

From-SVN: r20562

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

From-SVN: r20561

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

From-SVN: r20560

26 years agoreload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to RELOAD_FOR_INSN.
J"orn Rennecke [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.

* reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to
RELOAD_FOR_INSN.

From-SVN: r20559

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

From-SVN: r20558

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

From-SVN: r20557

26 years agoWarning fixes:
Kaveh R. 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.

From-SVN: r20556

26 years agoWarning fix:
Kaveh R. Ghazi [Thu, 18 Jun 1998 06:34:50 +0000 (06:34 +0000)]
Warning fix:

        * cp-tree.h: Prototype function `check_java_method'.

From-SVN: r20555

26 years agoPA warning fixes:
Kaveh R. 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'.

From-SVN: r20554

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

From-SVN: r20553

26 years agoclass.c (finish_struct): Make conflicting use of id a pedwarn.
Jason Merrill [Wed, 17 Jun 1998 23:51:41 +0000 (23:51 +0000)]
class.c (finish_struct): Make conflicting use of id a pedwarn.

* class.c (finish_struct): Make conflicting use of id a pedwarn.
* decl.c (pushdecl_class_level): Likewise.

From-SVN: r20552

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

From-SVN: r20551

26 years agopt.c (convert_nontype_argument): Issue an error when presented with an integer (real...
Mark Mitchell [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...

* 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).

From-SVN: r20550

26 years agocp-tree.h (c_get_alias_set): Remove declaration added in 1998-06-13 change that shoul...
Mark Mitchell [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...

* cp-tree.h (c_get_alias_set): Remove declaration added in
1998-06-13 change that should never have been checked in.

From-SVN: r20549

26 years agocse.c (cse_basic_block): Don't include NOTE insns in the count that is used to decide...
Mark Mitchell [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...

* 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.

From-SVN: r20548

26 years agotypeck.c (build_binary_op_nodefault): Change % in format strings to %%.
Jason Merrill [Wed, 17 Jun 1998 18:52:18 +0000 (18:52 +0000)]
typeck.c (build_binary_op_nodefault): Change % in format strings to %%.

* 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.

From-SVN: r20547

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

From-SVN: r20546

26 years ago* fold-const.c (make_range): Do not widen the type of the expression.
Jeffrey A 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.

From-SVN: r20545

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

From-SVN: r20544

26 years agohaifa-sched.c (haifa_classify_insn): TRAP_IF is risky.
John Carr [Wed, 17 Jun 1998 16:14:09 +0000 (16:14 +0000)]
haifa-sched.c (haifa_classify_insn): TRAP_IF is risky.

* 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.

From-SVN: r20543

26 years agoreload1.c (spill_hard_reg): Check mode of register when spilling from scratch_list.
Catherine Moore [Wed, 17 Jun 1998 15:46:25 +0000 (15:46 +0000)]
reload1.c (spill_hard_reg): Check mode of register when spilling from scratch_list.

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.

From-SVN: r20542

26 years agoexcept.c (add_new_handler): fix bug in finding last region handler.
Andrew MacLeod [Wed, 17 Jun 1998 13:29:22 +0000 (13:29 +0000)]
except.c (add_new_handler): fix bug in finding last region handler.

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.

From-SVN: r20541

26 years agoeh-common.h (struct eh_context): Add comment for hidden use of field dynamic_handler_...
Andrew MacLeod [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.

       * 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.

From-SVN: r20540

26 years agoDisable annoying linker warning that occurs when templates are used.
Jim Wilson [Wed, 17 Jun 1998 12:48:25 +0000 (05:48 -0700)]
Disable annoying linker warning that occurs when templates are used.

* mips/iris6.h (LINK_SPEC): Add -woff 131.

From-SVN: r20539

26 years agoexpr.c (check_max_integer_computation_mode): New function.
Jeffrey A Law [Wed, 17 Jun 1998 11:44:02 +0000 (11:44 +0000)]
expr.c (check_max_integer_computation_mode): New function.

        * 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.

From-SVN: r20538

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

From-SVN: r20537

26 years agodwarf2out.c: Disable EH_FRAME_SECTION if we don't have .init.
Jason Merrill [Wed, 17 Jun 1998 10:31:24 +0000 (10:31 +0000)]
dwarf2out.c: Disable EH_FRAME_SECTION if we don't have .init.

        * dwarf2out.c: Disable EH_FRAME_SECTION if we don't have .init.
        * configure.in: Don't disable collect2 when we have GNU ld.

From-SVN: r20536

26 years ago* configure.in (nm): Make a link to "nm" in the build tree too.
Jeffrey A 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.

From-SVN: r20535

26 years agomn10300.md (andsi3): Fix typo.
Jeff Law [Wed, 17 Jun 1998 07:42:35 +0000 (01:42 -0600)]
mn10300.md (andsi3): Fix typo.


        * mn10300.md (andsi3): Fix typo.

From-SVN: r20534

26 years agomn10300.md (andsi3): Fix typo.
Jeff Law [Wed, 17 Jun 1998 07:42:33 +0000 (01:42 -0600)]
mn10300.md (andsi3): Fix typo.


        * mn10300.md (andsi3): Fix typo.

From-SVN: r20533

26 years agomethod.c (hack_identifier): Complain about getting a namespace or class template.
Jason Merrill [Wed, 17 Jun 1998 02:07:29 +0000 (02:07 +0000)]
method.c (hack_identifier): Complain about getting a namespace or class template.

* 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.

From-SVN: r20532

26 years agoDaily bump.
Jeff Law [Wed, 17 Jun 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20531

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

From-SVN: r20530

26 years agoFix bug reported by tege. section names wrong if USER_LABEL_PREFIX non-null.
Jim 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.

From-SVN: r20529

26 years agoalpha.c (alpha_expand_prologue, [...]): New fns.
Richard Henderson [Tue, 16 Jun 1998 17:08:48 +0000 (10:08 -0700)]
alpha.c (alpha_expand_prologue, [...]): New fns.

        * 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.

From-SVN: r20528

26 years agotoplev.c (lang_options): Add -trigraphs option for cpplib.
Dave Brolley [Tue, 16 Jun 1998 15:48:14 +0000 (15:48 +0000)]
toplev.c (lang_options): Add -trigraphs option for cpplib.

Tue Jun 16 17:36:35 1998  Dave Brolley  <brolley@cygnus.com>
* toplev.c (lang_options): Add -trigraphs option for cpplib.

From-SVN: r20527

26 years agoreload1.c (reload_reg_free_before_p): RELOAD_FOR_OUTADDR_ADDRESS is earlier than...
J"orn Rennecke [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...

* 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.

From-SVN: r20526

26 years agoFix v850 build failure.
Jim Wilson [Tue, 16 Jun 1998 13:17:14 +0000 (13:17 +0000)]
Fix v850 build failure.

* libgcc1-test.c (memcpy): Define.

From-SVN: r20525

26 years agodecl.c (grokvardecl): Don't build external assembler names for TYPENAMEs in other...
Andrew MacLeod [Tue, 16 Jun 1998 12:36:14 +0000 (12:36 +0000)]
decl.c (grokvardecl): Don't build external assembler names for TYPENAMEs in other namespaces as there...

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.

From-SVN: r20524

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

From-SVN: r20523

26 years agorevert
Jason Merrill [Tue, 16 Jun 1998 03:18:08 +0000 (23:18 -0400)]
revert

From-SVN: r20522

26 years agomethod.c (hack_identifier): Don't let a class template out.
Jason Merrill [Tue, 16 Jun 1998 02:51:01 +0000 (02:51 +0000)]
method.c (hack_identifier): Don't let a class template out.

* 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.

From-SVN: r20521

26 years agoCutover to system.h:
Craig Burley [Tue, 16 Jun 1998 02:23:44 +0000 (22:23 -0400)]
Cutover to system.h:

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.

From-SVN: r20520

26 years agoDaily bump.
Jeff Law [Tue, 16 Jun 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20517

26 years agoupdate
Jason Merrill [Mon, 15 Jun 1998 23:51:13 +0000 (19:51 -0400)]
update

From-SVN: r20516

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

From-SVN: r20513

26 years agoDo not do src->dest copy if register would not be allocated a normal register
Michael 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

Co-Authored-By: Jim Wilson <wilson@cygnus.com>
From-SVN: r20512

26 years agoFix merging error with formerly cygnus local change.
Jim 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.

From-SVN: r20511

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

From-SVN: r20510

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

From-SVN: r20509

26 years agog77spec.c (lang_specific_driver): Print out egcs version info first...
Craig Burley [Mon, 15 Jun 1998 07:54:39 +0000 (03:54 -0400)]
g77spec.c (lang_specific_driver): Print out egcs version info first...

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.

From-SVN: r20508

26 years agoMakefile.in (install): Don't install if $(libsubdir) is empty...
Craig Burley [Mon, 15 Jun 1998 07:52:05 +0000 (03:52 -0400)]
Makefile.in (install): Don't install if $(libsubdir) is empty...

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.

From-SVN: r20507