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