J"orn Rennecke [Tue, 4 Nov 1997 02:11:45 +0000 (02:11 +0000)]
* profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
From-SVN: r16309
Brendan Kehoe [Mon, 3 Nov 1997 23:20:24 +0000 (23:20 +0000)]
repo.c (rindex): Add decl unconditionally.
* repo.c (rindex): Add decl unconditionally.
(get_base_filename, open_repo_file): Don't cast rindex.
* xref.c (rindex): Add decl unconditionally.
(index): Remove unused decl.
(open_xref_file): Don't cast rindex.
fix potential problems with 64-bit compilers and casting an int up to a char*
From-SVN: r16306
Jeff Law [Mon, 3 Nov 1997 21:55:49 +0000 (14:55 -0700)]
Remove last combine patch. rth & jim are working on a new one.
From-SVN: r16304
Jeffrey A Law [Mon, 3 Nov 1997 21:40:15 +0000 (21:40 +0000)]
* configure.in (sco5): Use cpio to install header files.
From-SVN: r16303
Manfred Hollstein [Mon, 3 Nov 1997 06:33:01 +0000 (06:33 +0000)]
configure.in: Use delta.mt for m68k-motorola-sysv.
* configure.in: Use delta.mt for m68k-motorola-sysv.
* config/delta.mt: New makefile fragment.
From-SVN: r16299
Manfred Hollstein [Mon, 3 Nov 1997 06:30:09 +0000 (06:30 +0000)]
aclocal.m4 (conftestdata_from, [...]): Names shortened to 14 char length.
* aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
14 char length.
* configure: Rebuild.
From-SVN: r16298
Richard Henderson [Mon, 3 Nov 1997 06:24:36 +0000 (22:24 -0800)]
combine.c (try_combine): Don't elim_i1 when it is used in i2src.
* combine.c (try_combine): Don't elim_i1 when it is used in i2src.
* combine.c (try_combine): When setting elim_i2, check whether newi2pat
sets i2dest. When calling distribute_notes for i3dest_killed, pass
elim_i2 and elim_i1.
Co-Authored-By: Jim Wilson <wilson@cygnus.com>
From-SVN: r16296
Jeff Law [Mon, 3 Nov 1997 06:11:33 +0000 (23:11 -0700)]
Initialize I.
From-SVN: r16293
Jeff Law [Mon, 3 Nov 1997 06:07:39 +0000 (23:07 -0700)]
New test.
From-SVN: r16292
Craig Burley [Mon, 3 Nov 1997 06:07:04 +0000 (06:07 +0000)]
Important patch from Burley.
From-SVN: r16291
Richard Henderson [Mon, 3 Nov 1997 02:49:29 +0000 (18:49 -0800)]
com.c (ffecom_expr_): Only use TREE_TYPE argument for simple arithmetic...
* com.c (ffecom_expr_): Only use TREE_TYPE argument for simple
arithmetic; convert types as necessary; recurse with target tree type.
CVS _----------------------------------------------------------------------
From-SVN: r16287
Robert Lipe [Mon, 3 Nov 1997 02:42:31 +0000 (02:42 +0000)]
* i386/sco5.h: enable -gstabs once again.
From-SVN: r16284
Jeffrey A Law [Mon, 3 Nov 1997 02:26:49 +0000 (02:26 +0000)]
* arm.c (output_move_double): Allocate 3 entries in otherops array.
From-SVN: r16281
Jason Merrill [Sun, 2 Nov 1997 23:07:03 +0000 (23:07 +0000)]
* class.c (build_vbase_path): Propagate the result type properly.
From-SVN: r16279
Jeff Law [Sun, 2 Nov 1997 21:19:36 +0000 (14:19 -0700)]
Update mainline egcs to gcc2 snapshot 971021.
From-SVN: r16278
Jason Merrill [Sun, 2 Nov 1997 20:28:22 +0000 (20:28 +0000)]
Makefile.in (install): Some of HEADERS come from the stl dir now.
* Makefile.in (install): Some of HEADERS come from the stl dir now.
* algorithm, deque, functional, iterator, list, map, memory, numeric,
queue, set, stack, utility, vector: Now in stl dir.
stl/:
* algo.h, algobase.h, alloc.h, bvector.h, defalloc.h, deque.h,
function.h, hash_map.h, hash_set.h, hashtable.h, heap.h, iterator.h,
list.h, map.h, multimap.h, multiset.h, pair.h, pthread_alloc.h,
rope.h, ropeimpl.h, set.h, slist.h, stack.h, stl_config.h, tempbuf.h,
tree.h, type_traits.h, vector.h: Update to October 27 SGI snapshot.
* algorithm, deque, functional, hash_map, hash_set, iterator, list,
map, memory, numeric, pthread_alloc, queue, rope, set, slist, stack,
stl_algo.h, stl_algobase.h, stl_alloc.h, stl_bvector.h,
stl_construct.h, stl_deque.h, stl_function.h, stl_hash_fun.h,
stl_hash_map.h, stl_hash_set.h, stl_hashtable.h, stl_heap.h,
stl_iterator.h, stl_list.h, stl_map.h, stl_multimap.h, stl_multiset.h,
stl_numeric.h, stl_pair.h, stl_queue.h, stl_raw_storage_iter.h,
stl_relops.h, stl_rope.h, stl_set.h, stl_slist.h, stl_stack.h,
stl_tempbuf.h, stl_tree.h, stl_uninitialized.h, stl_vector.h,
utility, vector: New files in October 27 SGI snapshot.
From-SVN: r16277
Jeff Law [Sun, 2 Nov 1997 08:46:26 +0000 (01:46 -0700)]
This commit was generated by cvs2svn to compensate for changes in r16274,
which included commits to RCS files with non-trunk default branches.
From-SVN: r16275
Jeff Law [Sun, 2 Nov 1997 08:39:28 +0000 (01:39 -0700)]
Initial revision
From-SVN: r16272
Jeffrey A Law [Sun, 2 Nov 1997 06:28:31 +0000 (06:28 +0000)]
alias.c (init_alias_analysis): Handle -fno-alias-check when optimizing correctly.
* alias.c (init_alias_analysis): Handle -fno-alias-check when
optimizing correctly.
From-SVN: r16268
Jeffrey A Law [Sun, 2 Nov 1997 05:15:13 +0000 (05:15 +0000)]
expr.c (expand_builtin_setjmp): Don't emit a SETJMP note or set current_function_calls_setjmp anymore.
* expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
or set current_function_calls_setjmp anymore.
From-SVN: r16267
Mike Stump [Sun, 2 Nov 1997 04:43:34 +0000 (04:43 +0000)]
except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG notes for sjlj exceptions too.
* except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
notes for sjlj exceptions too.
(expand_eh_region_end): Similarly for EH_REGION_END notes.
(exception_optimize): Optimize EH regions for sjlj exceptions too.
* final.c (final_scan_insn): Don't output labels for EH REGION
notes if doing sjlj exceptions.
From-SVN: r16266
Jeffrey A Law [Sun, 2 Nov 1997 02:15:01 +0000 (02:15 +0000)]
flow.c (find_basic_blocks): If we delete the label for an exception handler...
* flow.c (find_basic_blocks): If we delete the label for an
exception handler, remove it from the EH label list and remove
the EH_BEGIN/EH_END notes for that EH region.
From-SVN: r16265
Jeffrey A Law [Sun, 2 Nov 1997 01:02:05 +0000 (01:02 +0000)]
* libF77/signal_.c: Undo last change until we can fix it right.
From-SVN: r16264
Jason Merrill [Sat, 1 Nov 1997 23:45:10 +0000 (23:45 +0000)]
flow.c (find_basic_blocks): Generate correct flow control information when exception handling notes are present.
* flow.c (find_basic_blocks): Generate correct flow control
information when exception handling notes are present.
From-SVN: r16263
Jeffrey A Law [Sat, 1 Nov 1997 20:43:02 +0000 (20:43 +0000)]
dwarf2out.c (output_call_frame_info): Fix length argument to ASM_OUTPUT_ASCII.
* dwarf2out.c (output_call_frame_info): Fix length argument
to ASM_OUTPUT_ASCII.
(output_die, output_pubnames, output_line_info): Likewise.
From-SVN: r16262
Brendan Kehoe [Sat, 1 Nov 1997 19:50:18 +0000 (19:50 +0000)]
lex.c (FILE_NAME_NONDIRECTORY): Delete macro.
* lex.c (FILE_NAME_NONDIRECTORY): Delete macro.
(file_name_nondirectory): New function, doing the same as the macro.
(set_typedecl_interface_info): Use it instead of the macro.
(check_newline): Likewise.
(handle_cp_pragma): Likewise.
* repo.c (get_base_filename): Cast result of rindex to char*.
(open_repo_file): Likewise.
* xref.c (open_xref_file): Likewise.
* error.c (dump_char): Make its arg int, not char.
bring over the changes that went in yesterday to fix irix6 native cc
build problems
From-SVN: r16261
Brendan Kehoe [Sat, 1 Nov 1997 18:38:16 +0000 (18:38 +0000)]
except.c (expand_builtin_throw): Replace remaining use of saved_throw_type with a call to get_eh_type.
* except.c (expand_builtin_throw) [!DWARF2_UNWIND_INFO]: Replace
remaining use of saved_throw_type with a call to get_eh_type.
From-SVN: r16260
Brendan Kehoe [Fri, 31 Oct 1997 23:17:35 +0000 (23:17 +0000)]
except.c (push_eh_info): Pass the number of fields - 1 down, not the exact number of fields.
* except.c (push_eh_info): Pass the number of fields - 1 down, not
the exact number of fields.
cuz in finish_builtin_type, its comment sez
LEN is the number of elements
in FIELDS minus one, or put another way, it is the maximum subscript
used in FIELDS.
and its code does
for (i = 0; i < len; i++)
{
layout_type (TREE_TYPE (fields[i]));
DECL_FIELD_CONTEXT (fields[i]) = type;
TREE_CHAIN (fields[i]) = fields[i+1];
}
DECL_FIELD_CONTEXT (fields[i]) = type;
DECL_CLASS_CONTEXT (fields[i]) = type;
thus expecting the final ones to be fields[4], not fields[5] (which is
the actual size from 0, not the last field member)
From-SVN: r16257
Jeffrey A Law [Fri, 31 Oct 1997 16:47:28 +0000 (16:47 +0000)]
* version.c: Bump for snapshot.
From-SVN: r16255
Jeff Law [Fri, 31 Oct 1997 16:41:19 +0000 (09:41 -0700)]
Fix typo.
From-SVN: r16253
Jeffrey A Law [Fri, 31 Oct 1997 16:38:44 +0000 (16:38 +0000)]
Makefile.in (install targets): Add a dummy target for sunos make.
* Makefile.in (install targets): Add a dummy target for sunos make.
(SUBDIR): Remove 'info'. It's unneeded.
From-SVN: r16252
Jeffrey A Law [Fri, 31 Oct 1997 16:30:48 +0000 (16:30 +0000)]
dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to output ASCII by default.
* dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
flag_debug_asm is on.
(output_die, output_pubnames, output_line_info): Likewise.
From-SVN: r16251
Jeffrey A Law [Fri, 31 Oct 1997 15:35:31 +0000 (15:35 +0000)]
alias.c (init_alias_analysis): Add struct_value_incoming_rtx and static_chain_rtx into the potential base...
* alias.c (init_alias_analysis): Add struct_value_incoming_rtx
and static_chain_rtx into the potential base values array if
they are registers.
Fixes bugs exposed by improved alias propagation code.
* alias.c (new_reg_base_value): New array of potential base values.
(unique_id): Now file scoped static.
(find_base_value, case REG): Return the value in reg_base_value
array for the REG if it exists. Else, return the value from
new_reg_base_value if copying args and REG is a hard register.
(find_base_value, case PLUS): If either operand of the PLUS is
a REG, try to get its base value. Handle base + index and
index + base.
(record_set): Use new_reg_base_value instead of reg_base_value.
(init_alias_analysis): Allocate space for new_reg_base_value too.
Rework code to iterate over the insns propagating base value
information until nothing changes.
Improve alias propagation significantly.
From-SVN: r16250
Jeffrey A Law [Fri, 31 Oct 1997 14:08:40 +0000 (14:08 +0000)]
global.c (global_alloc): Free the conflict matrix after reload has finished.
* global.c (global_alloc): Free the conflict matrix after
reload has finished.
From-SVN: r16249
Jason Merrill [Fri, 31 Oct 1997 09:52:55 +0000 (09:52 +0000)]
[multiple changes]
Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
* libgcc2.c (L_eh): Define __eh_pc.
Replace __eh_type with generic pointer __eh_info.
Fri Oct 31 01:47:57 1997 Jason Merrill <jason@yorick.cygnus.com>
Support for nested exceptions.
* tinfo2.cc (__is_pointer): New fn.
* exception.cc (struct cp_eh_info): Define.
(__cp_exception_info, __uncatch_exception): New fns.
(__cp_push_exception, __cp_pop_exception): New fns.
* except.c: Lose saved_throw_{type,value,cleanup,in_catch}.
Lose empty_fndecl.
(init_exception_processing): Likewise. __eh_pc is now external.
(push_eh_info): New fn.
(get_eh_{info,value,type,caught}): New fns.
(push_eh_cleanup): Just call __cp_pop_exception.
(expand_start_catch_block): Use push_eh_info. Start the eh region
sooner.
(expand_end_eh_spec): Use push_eh_info.
(expand_throw): Call __cp_push_exception to set up the exception info.
Just pass the destructor or 0 as the cleanup. Call __uncatch_exception
when we rethrow.
(expand_builtin_throw): Don't refer to empty_fndecl.
From-SVN: r16248
J"orn Rennecke [Fri, 31 Oct 1997 00:40:46 +0000 (00:40 +0000)]
expr.c (expand_increment): When enqueing a postincrement for a MEM...
* expr.c (expand_increment): When enqueing a postincrement for a MEM,
use copy_to_reg if address is not a general_operand.
From-SVN: r16247
J"orn Rennecke [Fri, 31 Oct 1997 00:23:07 +0000 (00:23 +0000)]
profile.c (output_func_start_profiler): Clear flag_inline_functions for the duration of the call to rest_of_compilation.
* profile.c (output_func_start_profiler): Clear flag_inline_functions
for the duration of the call to rest_of_compilation.
From-SVN: r16246
Doug Evans [Thu, 30 Oct 1997 23:01:26 +0000 (23:01 +0000)]
Clean up pass over sparc -m{cpu,tune} docs.
From-SVN: r16245
Doug Evans [Thu, 30 Oct 1997 22:52:41 +0000 (22:52 +0000)]
configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
* configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
Set extra_parts.
(sparc*-*-*): Recognize --with-cpu=v9.
* sparc/elf.h: New file.
* sparc/t-elf: New file.
From-SVN: r16243
Doug Evans [Thu, 30 Oct 1997 22:38:32 +0000 (22:38 +0000)]
New files for embedded sparc/elf support.
From-SVN: r16240
Doug Evans [Thu, 30 Oct 1997 22:38:04 +0000 (22:38 +0000)]
New files for embedded sparc/elf support.
From-SVN: r16239
Jeffrey A Law [Thu, 30 Oct 1997 20:34:59 +0000 (20:34 +0000)]
mn10300.c (const_8bit_operand): New function.
* mn10300.c (const_8bit_operand): New function.
(mask_ok_for_mem_btst): New funtion.
* mn10300.md (btst patterns with mem operands): Use new functions
to avoid creating btst instructions with invalid operands.
From-SVN: r16236
Jason Merrill [Thu, 30 Oct 1997 06:00:21 +0000 (06:00 +0000)]
* gen-params: Override NULL.
From-SVN: r16232
Robert Lipe [Thu, 30 Oct 1997 05:55:14 +0000 (05:55 +0000)]
termdep.h: If POSIX...
* info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
that provide TIOCETC but not struct tchars.
From-SVN: r16231
Michael Meissner [Wed, 29 Oct 1997 22:00:14 +0000 (22:00 +0000)]
Fix duplicate SIG_SYSLIST warnings on PowerPC Linux
From-SVN: r16230
Gavin Koch [Wed, 29 Oct 1997 18:21:18 +0000 (18:21 +0000)]
elf64.h (PREFERRED_DEBUGGING_TYPE): Only define if not previously defined.
* config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
if not previously defined.
From-SVN: r16229
Doug Evans [Wed, 29 Oct 1997 06:54:49 +0000 (06:54 +0000)]
function.c (assign_parms): Correct mode of stack_parm if entry_parm underwent a mode conversion.
* function.c (assign_parms): Correct mode of stack_parm if
entry_parm underwent a mode conversion.
From-SVN: r16228
Jeff Law [Wed, 29 Oct 1997 06:41:58 +0000 (23:41 -0700)]
Expect this test to fail.
Don't even bother trying to even compile the testcase.
From-SVN: r16227
Jody Goldberg [Wed, 29 Oct 1997 06:39:04 +0000 (23:39 -0700)]
* Makefile.in (CFILES): Add pexecute.c.
From-SVN: r16226
Brendan Kehoe [Tue, 28 Oct 1997 23:39:28 +0000 (23:39 +0000)]
global.c (global_alloc): Use xmalloc instead of alloca for CONFLICTS...
* global.c (global_alloc): Use xmalloc instead of alloca for
CONFLICTS, since max_allocno * allocno_row_words alone can be more
than 2.5Mb sometimes.
From-SVN: r16223
Richard Henderson [Tue, 28 Oct 1997 23:29:44 +0000 (15:29 -0800)]
reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of DEST for the spill...
* reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
DEST for the spill, adjust mode of SRC to compensate.
From-SVN: r16222
Michael Meissner [Tue, 28 Oct 1997 22:56:06 +0000 (22:56 +0000)]
update doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT
From-SVN: r16221
Michael Meissner [Tue, 28 Oct 1997 22:52:51 +0000 (22:52 +0000)]
update doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT
From-SVN: r16220
Richard Henderson [Tue, 28 Oct 1997 22:40:01 +0000 (14:40 -0800)]
alpha.md (reload_inqi): Check for MEM before strict_memory_address_p...
* alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
since any_memory_operand() allows pseudos during reload.
(reload_inhi, reload_outqi, reload_outhi): Likewise.
From-SVN: r16219
Jim Wilson [Tue, 28 Oct 1997 19:56:50 +0000 (19:56 +0000)]
Fix coldfire/btst problems.
* m68k.md (btst patterns): Add 5200 support.
From-SVN: r16217
Toon Moene [Tue, 28 Oct 1997 19:02:23 +0000 (20:02 +0100)]
fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3) optimizations...
* fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
optimizations, look inside dividend to determine if the expression
can be simplified by using EXACT_DIV_EXPR.
From-SVN: r16216
Jason Merrill [Tue, 28 Oct 1997 18:23:50 +0000 (18:23 +0000)]
* dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
From-SVN: r16215
Richard Henderson [Tue, 28 Oct 1997 08:34:06 +0000 (00:34 -0800)]
* alpha.c (summarize_insn [SUBREG]): Propogate SET.
From-SVN: r16213
Richard Henderson [Tue, 28 Oct 1997 08:04:16 +0000 (00:04 -0800)]
alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap on a CLOBBER.
* alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
on a CLOBBER.
From-SVN: r16212
Richard Henderson [Tue, 28 Oct 1997 05:28:29 +0000 (21:28 -0800)]
alpha.md (movqi, movhi): Make sure new insns created during reload won't need reloading themselves.
* alpha.md (movqi, movhi): Make sure new insns created during reload
won't need reloading themselves.
(reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
From-SVN: r16211
Jeffrey A Law [Mon, 27 Oct 1997 23:07:37 +0000 (23:07 +0000)]
* mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
From-SVN: r16209
Jason Merrill [Mon, 27 Oct 1997 20:04:45 +0000 (20:04 +0000)]
* Makefile.in: check-target-libio depends on all-target-libstdc++.
From-SVN: r16206
Richard Henderson [Sun, 26 Oct 1997 21:47:50 +0000 (13:47 -0800)]
alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
* alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
Patch from Klaus Kaempf <kkaempf@progis.de>.
From-SVN: r16196
Jim Wilson [Sun, 26 Oct 1997 20:33:27 +0000 (20:33 +0000)]
expr.c (expand_expr, [...]): Optimize a reference to an element in a constant string.
* expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
to an element in a constant string.
From-SVN: r16195
Jeff Law [Sun, 26 Oct 1997 20:25:38 +0000 (13:25 -0700)]
Fix typo in last change.
From-SVN: r16194
Jason Merrill [Sun, 26 Oct 1997 20:01:11 +0000 (15:01 -0500)]
rebuild
From-SVN: r16193
Jason Merrill [Sun, 26 Oct 1997 19:54:42 +0000 (19:54 +0000)]
dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32 bit PC-relative offset.
* dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
bit PC-relative offset. The exception range table pointer is now in
the CIE.
* frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
(count_fdes, add_fdes, get_cie): Adjust.
(cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
From H.J. Lu:
* frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
From-SVN: r16192
Jeff Law [Sun, 26 Oct 1997 18:55:13 +0000 (11:55 -0700)]
Opps. Checked in some development patches by accident.
From-SVN: r16189
Richard Henderson [Sun, 26 Oct 1997 18:48:31 +0000 (10:48 -0800)]
alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just like stack_pointer_rtx.
* alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
like stack_pointer_rtx.
From-SVN: r16188
Manfred Hollstein [Sun, 26 Oct 1997 18:45:07 +0000 (18:45 +0000)]
Makefile.in (bootstrap-lean): Combined with `normal' bootstrap targets using "$@" to provide support for...
* Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
targets using "$@" to provide support for similar but not identical
targets without having to duplicate code.
(bootstrap4): New goal.
From-SVN: r16187
Manfred Hollstein [Sun, 26 Oct 1997 18:44:33 +0000 (18:44 +0000)]
Makefile.in (bootstrap-lean): Combined with `normal' bootstrap targets using "$@" to provide support for...
* Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
targets using "$@" to provide support for similar but not identical
targets without having to duplicate code.
From-SVN: r16186
Jeffrey A Law [Sun, 26 Oct 1997 18:39:57 +0000 (18:39 +0000)]
Take out find_base_value change -- not needed, only the find_base_term
change was needed.
From-SVN: r16185
Manfred Hollstein [Sun, 26 Oct 1997 18:28:57 +0000 (18:28 +0000)]
Makefile.in (compare, [...]): Combined to one ruleset determining actions to be performed via $@.
* Makefile.in (compare, compare-lean, compare3): Combined to one
ruleset determining actions to be performed via $@.
(compare4, compare4-lean): New targets.
(gnucompare, gnucompare3): Combined to one ruleset determining
actions to be performed via $@. Also, note which files failed
the comparison test in .bad_compare.
(gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
From-SVN: r16184
Jeffrey A Law [Sun, 26 Oct 1997 18:21:28 +0000 (18:21 +0000)]
* Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
From-SVN: r16183
Jeffrey A Law [Sun, 26 Oct 1997 17:38:13 +0000 (17:38 +0000)]
alias.c (find_base_value): Handle PRE_INC, PRE_DEC, POST_INC, and POS_DEC.
* alias.c (find_base_value): Handle PRE_INC, PRE_DEC, POST_INC,
and POS_DEC.
(find_base_term): Likewise.
* alias.c (true_dependence): Fix typo.
From-SVN: r16182
Toon Moene [Sun, 26 Oct 1997 17:05:24 +0000 (18:05 +0100)]
fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR if...
* fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
if the dividend is a multiple of the divisor.
From-SVN: r16181
Jeffrey A Law [Sun, 26 Oct 1997 16:56:15 +0000 (16:56 +0000)]
toplev.c (flag_rerun_loop_opt): New variable.
* toplev.c (flag_rerun_loop_opt): New variable.
(f_options): Handle -frerun-loop-opt.
(rest_of_compilation): If -frerun-loop-opt, then run the loop
optimizer twice.
(main): Enable -frerun-loop-opt by default for -O2 or greater.
From-SVN: r16180
Jeffrey A Law [Sun, 26 Oct 1997 16:20:07 +0000 (16:20 +0000)]
loop.c (simplify_giv_expr): Adding two invariants results in an invariant.
* loop.c (simplify_giv_expr): Adding two invariants results
in an invariant.
From-SVN: r16179
Richard Henderson [Sun, 26 Oct 1997 16:13:10 +0000 (08:13 -0800)]
expr.c (get_inner_reference): Remove the array bias after converting the index to Pmode.
* expr.c (get_inner_reference): Remove the array bias after
converting the index to Pmode.
From-SVN: r16178
Jeffrey A Law [Sat, 25 Oct 1997 18:16:50 +0000 (18:16 +0000)]
mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
* mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
(TARGET_MULT_BUG): Define.
(TARGET_DEFAULT): Default to TARGET_MULT_BUG.
* mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
From-SVN: r16173
Brendan Kehoe [Sat, 25 Oct 1997 16:23:10 +0000 (12:23 -0400)]
Reverse this, bad call on my part:
1,4d0
< Fri Oct 24 17:49:10 1997 Jim Wilson <wilson@cygnus.com>
<
< * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
<
From-SVN: r16172
Jim Wilson [Sat, 25 Oct 1997 00:50:35 +0000 (00:50 +0000)]
integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
* integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
fixes many of the inlining problems causing various suite++ and perennial
test failures, among others
From-SVN: r16171
Jeffrey A Law [Fri, 24 Oct 1997 23:36:42 +0000 (23:36 +0000)]
mn10200.c (indirect_memory_operand): Delete unused function.
* mn10200.c (indirect_memory_operand): Delete unused function.
* mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
* mn10200.md (bset, bclr insns): Handle output in a reg too.
From-SVN: r16169
Richard Henderson [Fri, 24 Oct 1997 22:57:54 +0000 (15:57 -0700)]
alpha.md (call patterns): Revert Oct 16 change...
* alpha.md (call patterns): Revert Oct 16 change; if we are to elide
the callee's ldgp, we must do it ourselves, and we use the jsr tag
for more than scheduling.
From-SVN: r16168
Jeff Law [Fri, 24 Oct 1997 19:56:45 +0000 (13:56 -0600)]
Another goof in last change.
From-SVN: r16165
Doug Evans [Fri, 24 Oct 1997 19:39:08 +0000 (19:39 +0000)]
* sparc/sparc.h (ASM_SPEC): Delete asm_arch.
From-SVN: r16164
Doug Evans [Fri, 24 Oct 1997 19:36:54 +0000 (19:36 +0000)]
(ASM_SPEC): Delete asm_arch.
From-SVN: r16163
Jeff Law [Fri, 24 Oct 1997 19:34:58 +0000 (13:34 -0600)]
Fxi typo in last change.
From-SVN: r16162
Jeffrey A Law [Fri, 24 Oct 1997 19:18:29 +0000 (19:18 +0000)]
mn10300.c (symbolic_operand, [...]): New functions.
* mn10300.c (symbolic_operand, legitimize_address): New functions.
* mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
(GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
From-SVN: r16158
Jeffrey A Law [Thu, 23 Oct 1997 15:34:36 +0000 (15:34 +0000)]
* version.c: Bump for snapshot.
From-SVN: r16156
J"orn Rennecke [Thu, 23 Oct 1997 12:11:19 +0000 (12:11 +0000)]
dbxout.c (dbxout_start_new_source_file): Use output_quoted_string for FILENAME.
* dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
for FILENAME.
From-SVN: r16155
Jason Merrill [Thu, 23 Oct 1997 09:55:55 +0000 (09:55 +0000)]
pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl.
* pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl.
Fixes libstdc++ failure.
From-SVN: r16153
Jeffrey A Law [Thu, 23 Oct 1997 01:29:14 +0000 (01:29 +0000)]
toplev.c (flag_exceptions): Default value is 2.
* toplev.c (flag_exceptions): Default value is 2.
(compile_file): If flag_exceptions still has the value 2, then
set it to 0.
* lex.c (lang_init): Enable flag_exceptions by default if no
command line switch was specified.
Gross hacks to allow front-ends to override -fexceptions.
From-SVN: r16152
H.J. Lu [Thu, 23 Oct 1997 01:17:58 +0000 (01:17 +0000)]
libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is not defined.
* libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
not defined.
* iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if
__linux__ is defined instead of __ELF__
* config/linuxlibc1.mt (USER_INCLUDES): Add libio.h.
OK'd by Ulrich.
From-SVN: r16151
Brendan Kehoe [Thu, 23 Oct 1997 00:00:20 +0000 (00:00 +0000)]
method.c (build_template_parm_names, [...]): Add static to definitions.
* method.c (build_template_parm_names, build_decl_overload_real):
Add static to definitions.
* pt.c (add_to_template_args, note_template_header,
processing_explicit_specialization, type_unification_real): Likewise.
({determine,check}_explicit_specialization): Use a single string for
error messages.
fixes problems building with sunos4 system cc
From-SVN: r16150
Jeffrey A Law [Wed, 22 Oct 1997 21:10:49 +0000 (21:10 +0000)]
rs6000.c (struct machine_function): Add pic_offset_table_rtx.
* rs6000.c (struct machine_function): Add pic_offset_table_rtx.
(rs6000_save_machine_status): Save pic_offset_table_rtx.
(rs6000_restore_machine_status: Restore pic_offset_table_rtx.
From-SVN: r16149
Richard Henderson [Wed, 22 Oct 1997 18:38:47 +0000 (11:38 -0700)]
com.c (ffecom_expr_): Take an new arg TREE_TYPE that if non-null specifies the type in which to do...
* com.c (ffecom_expr_): Take an new arg TREE_TYPE that if non-null
specifies the type in which to do the calculation. Change all callers.
[FFEBLD_opARRAYREF]: Force the index expr to use sizetype.
From-SVN: r16148
Jeffrey A Law [Wed, 22 Oct 1997 15:58:33 +0000 (15:58 +0000)]
local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions are shared.
* local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
are shared.
From-SVN: r16147
Jeffrey A Law [Wed, 22 Oct 1997 06:31:00 +0000 (06:31 +0000)]
rs6000.md (*movsi_got_internal_mem): New pattern.
* rs6000.md (*movsi_got_internal_mem): New pattern.
(*movsi_got_internal_mem splitter): New define_split.
Fixes some egcs bugs.
From-SVN: r16146
Michael Meissner [Wed, 22 Oct 1997 02:06:18 +0000 (02:06 +0000)]
Add documentation for Haifa ISSUE_RATE
From-SVN: r16145