OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years ago * configure.in: Use delta.mt for m68k-motorola-sysv.
law [Mon, 3 Nov 1997 06:33:01 +0000 (06:33 +0000)]
    * configure.in: Use delta.mt for m68k-motorola-sysv.
        * config/delta.mt: New makefile fragment.

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

26 years ago * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
law [Mon, 3 Nov 1997 06:30:09 +0000 (06:30 +0000)]
    * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
        14 char length.
        * configure: Rebuild.

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

26 years ago * combine.c (try_combine): Don't elim_i1 when it is used in i2src.
law [Mon, 3 Nov 1997 06:24:36 +0000 (06:24 +0000)]
    * 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.

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

26 years agoInitialize I.
law [Mon, 3 Nov 1997 06:11:33 +0000 (06:11 +0000)]
Initialize I.

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

26 years agoNew test.
law [Mon, 3 Nov 1997 06:07:39 +0000 (06:07 +0000)]
New test.

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

26 years agoImportant patch from Burley.
law [Mon, 3 Nov 1997 06:07:04 +0000 (06:07 +0000)]
Important patch from Burley.

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

26 years ago * com.c (ffecom_expr_): Only use TREE_TYPE argument for simple
law [Mon, 3 Nov 1997 02:49:29 +0000 (02:49 +0000)]
    * com.c (ffecom_expr_): Only use TREE_TYPE argument for simple
        arithmetic; convert types as necessary; recurse with target tree type.

CVS _----------------------------------------------------------------------

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

26 years ago * i386/sco5.h: enable -gstabs once again.
law [Mon, 3 Nov 1997 02:42:31 +0000 (02:42 +0000)]
    * i386/sco5.h: enable -gstabs once again.

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

26 years ago * arm.c (output_move_double): Allocate 3 entries in otherops array.
law [Mon, 3 Nov 1997 02:26:49 +0000 (02:26 +0000)]
    * arm.c (output_move_double): Allocate 3 entries in otherops array.

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

26 years ago * class.c (build_vbase_path): Propagate the result type properly.
jason [Sun, 2 Nov 1997 23:07:03 +0000 (23:07 +0000)]
* class.c (build_vbase_path): Propagate the result type properly.

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

26 years agoUpdate mainline egcs to gcc2 snapshot 971021.
law [Sun, 2 Nov 1997 21:19:36 +0000 (21:19 +0000)]
Update mainline egcs to gcc2 snapshot 971021.

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

26 years ago * Makefile.in (install): Some of HEADERS come from the stl dir now.
jason [Sun, 2 Nov 1997 20:28:22 +0000 (20:28 +0000)]
* 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.

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

26 years agoThis commit was generated by cvs2svn to compensate for changes in r16274,
law [Sun, 2 Nov 1997 08:46:26 +0000 (08:46 +0000)]
This commit was generated by cvs2svn to compensate for changes in r16274,
which included commits to RCS files with non-trunk default branches.

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

26 years agoInitial revision
law [Sun, 2 Nov 1997 08:39:28 +0000 (08:39 +0000)]
Initial revision

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

26 years ago * alias.c (init_alias_analysis): Handle -fno-alias-check when
law [Sun, 2 Nov 1997 06:28:31 +0000 (06:28 +0000)]
    * alias.c (init_alias_analysis): Handle -fno-alias-check when
        optimizing correctly.

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

26 years ago * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
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.

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

26 years ago * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
law [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.
        (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.

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

26 years ago * flow.c (find_basic_blocks): If we delete the label for an
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, remove it from the EH label list and remove
        the EH_BEGIN/EH_END notes for that EH region.

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

26 years ago * libF77/signal_.c: Undo last change until we can fix it right.
law [Sun, 2 Nov 1997 01:02:05 +0000 (01:02 +0000)]
    * libF77/signal_.c: Undo last change until we can fix it right.

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

26 years ago * flow.c (find_basic_blocks): Generate correct flow control
law [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.

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

26 years ago * dwarf2out.c (output_call_frame_info): Fix length argument
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.
        (output_die, output_pubnames, output_line_info): Likewise.

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

26 years ago * lex.c (FILE_NAME_NONDIRECTORY): Delete macro.
brendan [Sat, 1 Nov 1997 19:50:18 +0000 (19:50 +0000)]
    * 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

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

26 years ago * except.c (expand_builtin_throw) [!DWARF2_UNWIND_INFO]: Replace
brendan [Sat, 1 Nov 1997 18:38:16 +0000 (18:38 +0000)]
    * except.c (expand_builtin_throw) [!DWARF2_UNWIND_INFO]: Replace
        remaining use of saved_throw_type with a call to get_eh_type.

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

26 years ago * except.c (push_eh_info): Pass the number of fields - 1 down, not
brendan [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.

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)

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

26 years ago * version.c: Bump for snapshot.
law [Fri, 31 Oct 1997 16:47:28 +0000 (16:47 +0000)]
    * version.c: Bump for snapshot.

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

26 years agoFix typo.
law [Fri, 31 Oct 1997 16:41:19 +0000 (16:41 +0000)]
Fix typo.

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

26 years ago * Makefile.in (install targets): Add a dummy target for sunos make.
law [Fri, 31 Oct 1997 16:38:44 +0000 (16:38 +0000)]
    * Makefile.in (install targets): Add a dummy target for sunos make.
        (SUBDIR): Remove 'info'.  It's unneeded.

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

26 years ago * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
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.  Only use ASM_OUTPUT_DWARF_STRING if
        flag_debug_asm is on.
        (output_die, output_pubnames, output_line_info): Likewise.

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

26 years ago * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
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 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.

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

26 years ago * global.c (global_alloc): Free the conflict matrix after
law [Fri, 31 Oct 1997 14:08:40 +0000 (14:08 +0000)]
    * global.c (global_alloc): Free the conflict matrix after
        reload has finished.

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

26 years agoFri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
jason [Fri, 31 Oct 1997 09:52:55 +0000 (09:52 +0000)]
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.

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

26 years ago * expr.c (expand_increment): When enqueing a postincrement for a MEM,
amylaar [Fri, 31 Oct 1997 00:40:46 +0000 (00:40 +0000)]
* expr.c (expand_increment): When enqueing a postincrement for a MEM,
use copy_to_reg if address is not a general_operand.

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

26 years ago * profile.c (output_func_start_profiler): Clear flag_inline_functions
amylaar [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.

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

26 years agoClean up pass over sparc -m{cpu,tune} docs.
devans [Thu, 30 Oct 1997 23:01:26 +0000 (23:01 +0000)]
Clean up pass over sparc -m{cpu,tune} docs.

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

26 years ago * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
devans [Thu, 30 Oct 1997 22:52:41 +0000 (22:52 +0000)]
* 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.

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

26 years agoNew files for embedded sparc/elf support.
devans [Thu, 30 Oct 1997 22:38:32 +0000 (22:38 +0000)]
New files for embedded sparc/elf support.

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

26 years agoNew files for embedded sparc/elf support.
devans [Thu, 30 Oct 1997 22:38:04 +0000 (22:38 +0000)]
New files for embedded sparc/elf support.

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

26 years ago * mn10300.c (const_8bit_operand): New function.
law [Thu, 30 Oct 1997 20:34:59 +0000 (20:34 +0000)]
    * 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.

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

26 years ago * gen-params: Override NULL.
law [Thu, 30 Oct 1997 06:00:21 +0000 (06:00 +0000)]
    * gen-params: Override NULL.

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

26 years ago * info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
law [Thu, 30 Oct 1997 05:55:14 +0000 (05:55 +0000)]
    * info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
        that provide TIOCETC but not struct tchars.

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

26 years agoFix duplicate SIG_SYSLIST warnings on PowerPC Linux
meissner [Wed, 29 Oct 1997 22:00:14 +0000 (22:00 +0000)]
Fix duplicate SIG_SYSLIST warnings on PowerPC Linux

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

26 years ago * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
gavin [Wed, 29 Oct 1997 18:21:18 +0000 (18:21 +0000)]
* config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
if not previously defined.

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

26 years ago * function.c (assign_parms): Correct mode of stack_parm if
law [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.

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

26 years agoExpect this test to fail.
law [Wed, 29 Oct 1997 06:41:58 +0000 (06:41 +0000)]
Expect this test to fail.
Don't even bother trying to even compile the testcase.

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

26 years ago * Makefile.in (CFILES): Add pexecute.c.
law [Wed, 29 Oct 1997 06:39:04 +0000 (06:39 +0000)]
    * Makefile.in (CFILES): Add pexecute.c.

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

26 years ago * global.c (global_alloc): Use xmalloc instead of alloca for
brendan [Tue, 28 Oct 1997 23:39:28 +0000 (23:39 +0000)]
* 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.

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

26 years ago* reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
rth [Tue, 28 Oct 1997 23:29:44 +0000 (23:29 +0000)]
* reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
DEST for the spill, adjust mode of SRC to compensate.

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

26 years agoupdate doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT
meissner [Tue, 28 Oct 1997 22:56:06 +0000 (22:56 +0000)]
update doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT

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

26 years agoupdate doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT
meissner [Tue, 28 Oct 1997 22:52:51 +0000 (22:52 +0000)]
update doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT

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

26 years ago* alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
rth [Tue, 28 Oct 1997 22:40:01 +0000 (22:40 +0000)]
* 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.

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

26 years agoFix coldfire/btst problems.
wilson [Tue, 28 Oct 1997 19:56:50 +0000 (19:56 +0000)]
Fix coldfire/btst problems.
* m68k.md (btst patterns): Add 5200 support.

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

26 years ago * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
law [Tue, 28 Oct 1997 19:02:23 +0000 (19:02 +0000)]
    * 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.

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

26 years ago * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
jason [Tue, 28 Oct 1997 18:23:50 +0000 (18:23 +0000)]
* dwarf2out.c (output_call_frame_info): Use l1 instead of ".".

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

26 years ago* alpha.c (summarize_insn [SUBREG]): Propogate SET.
rth [Tue, 28 Oct 1997 08:34:06 +0000 (08:34 +0000)]
* alpha.c (summarize_insn [SUBREG]): Propogate SET.

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

26 years ago* alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
rth [Tue, 28 Oct 1997 08:04:16 +0000 (08:04 +0000)]
* alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
on a CLOBBER.

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

26 years ago* alpha.md (movqi, movhi): Make sure new insns created during reload
rth [Tue, 28 Oct 1997 05:28:29 +0000 (05:28 +0000)]
* 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.

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

26 years ago * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
law [Mon, 27 Oct 1997 23:07:37 +0000 (23:07 +0000)]
    * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.

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

26 years ago * Makefile.in: check-target-libio depends on all-target-libstdc++.
jason [Mon, 27 Oct 1997 20:04:45 +0000 (20:04 +0000)]
* Makefile.in: check-target-libio depends on all-target-libstdc++.

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

26 years ago* alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
rth [Sun, 26 Oct 1997 21:47:50 +0000 (21:47 +0000)]
* alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
Patch from Klaus Kaempf <kkaempf@progis.de>.

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

26 years ago * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
law [Sun, 26 Oct 1997 20:33:27 +0000 (20:33 +0000)]
    * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
        to an element in a constant string.

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

26 years agoFix typo in last change.
law [Sun, 26 Oct 1997 20:25:38 +0000 (20:25 +0000)]
Fix typo in last change.

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

26 years agorebuild
jason [Sun, 26 Oct 1997 20:01:11 +0000 (20:01 +0000)]
rebuild

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

26 years ago * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
jason [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.  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.

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

26 years agoOpps. Checked in some development patches by accident.
law [Sun, 26 Oct 1997 18:55:13 +0000 (18:55 +0000)]
Opps.  Checked in some development patches by accident.

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

26 years ago * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
law [Sun, 26 Oct 1997 18:48:31 +0000 (18:48 +0000)]
    * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
        like stack_pointer_rtx.

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

26 years ago * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
law [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 similar but not identical
        targets without having to duplicate code.
        (bootstrap4): New goal.

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

26 years ago * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
law [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 similar but not identical
        targets without having to duplicate code.

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

26 years agoTake out find_base_value change -- not needed, only the find_base_term
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.

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

26 years ago * Makefile.in (compare, compare-lean, compare3): Combined to one
law [Sun, 26 Oct 1997 18:28:57 +0000 (18:28 +0000)]
    * 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.

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

26 years ago * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
law [Sun, 26 Oct 1997 18:21:28 +0000 (18:21 +0000)]
    * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.

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

26 years ago * alias.c (find_base_value): Handle PRE_INC, PRE_DEC, POST_INC,
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.
        (find_base_term): Likewise.

        * alias.c (true_dependence): Fix typo.

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

26 years ago * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
law [Sun, 26 Oct 1997 17:05:24 +0000 (17:05 +0000)]
    * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
        if the dividend is a multiple of the divisor.

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

26 years ago * toplev.c (flag_rerun_loop_opt): New variable.
law [Sun, 26 Oct 1997 16:56:15 +0000 (16:56 +0000)]
    * 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.

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

26 years ago * loop.c (simplify_giv_expr): Adding two invariants results
law [Sun, 26 Oct 1997 16:20:07 +0000 (16:20 +0000)]
    * loop.c (simplify_giv_expr): Adding two invariants results
        in an invariant.

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

26 years ago * expr.c (get_inner_reference): Remove the array bias after
law [Sun, 26 Oct 1997 16:13:10 +0000 (16:13 +0000)]
    * expr.c (get_inner_reference): Remove the array bias after
        converting the index to Pmode.

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

26 years ago * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
law [Sat, 25 Oct 1997 18:16:50 +0000 (18:16 +0000)]
    * 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.

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

26 years agoReverse this, bad call on my part:
brendan [Sat, 25 Oct 1997 16:23:10 +0000 (16:23 +0000)]
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.
<

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

26 years ago * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
brendan [Sat, 25 Oct 1997 00:50:35 +0000 (00:50 +0000)]
* 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

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

26 years ago * mn10200.c (indirect_memory_operand): Delete unused function.
law [Fri, 24 Oct 1997 23:36:42 +0000 (23:36 +0000)]
    * 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.

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

26 years ago* alpha.md (call patterns): Revert Oct 16 change; if we are to elide
rth [Fri, 24 Oct 1997 22:57:54 +0000 (22:57 +0000)]
* 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.

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

26 years agoAnother goof in last change.
law [Fri, 24 Oct 1997 19:56:45 +0000 (19:56 +0000)]
Another goof in last change.

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

26 years ago * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
devans [Fri, 24 Oct 1997 19:39:08 +0000 (19:39 +0000)]
* sparc/sparc.h (ASM_SPEC): Delete asm_arch.

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

26 years ago(ASM_SPEC): Delete asm_arch.
devans [Fri, 24 Oct 1997 19:36:54 +0000 (19:36 +0000)]
(ASM_SPEC): Delete asm_arch.

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

26 years agoFxi typo in last change.
law [Fri, 24 Oct 1997 19:34:58 +0000 (19:34 +0000)]
Fxi typo in last change.

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

26 years ago * mn10300.c (symbolic_operand, legitimize_address): New functions.
law [Fri, 24 Oct 1997 19:18:29 +0000 (19:18 +0000)]
    * mn10300.c (symbolic_operand, legitimize_address): New functions.
        * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
        (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.

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

26 years ago * version.c: Bump for snapshot.
law [Thu, 23 Oct 1997 15:34:36 +0000 (15:34 +0000)]
    * version.c: Bump for snapshot.

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

26 years ago * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
amylaar [Thu, 23 Oct 1997 12:11:19 +0000 (12:11 +0000)]
* dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
for FILENAME.

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

26 years ago * pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl.
jason [Thu, 23 Oct 1997 09:55:55 +0000 (09:55 +0000)]
* pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl.

Fixes libstdc++ failure.

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

26 years ago * toplev.c (flag_exceptions): Default value is 2.
law [Thu, 23 Oct 1997 01:29:14 +0000 (01:29 +0000)]
    * 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.

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

26 years ago * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
law [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.

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

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

26 years ago * method.c (build_template_parm_names, build_decl_overload_real):
brendan [Thu, 23 Oct 1997 00:00:20 +0000 (00:00 +0000)]
    * 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

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

26 years ago * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
law [Wed, 22 Oct 1997 21:10:49 +0000 (21:10 +0000)]
    * 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.

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

26 years ago * com.c (ffecom_expr_): Take an new arg TREE_TYPE that if non-null
rth [Wed, 22 Oct 1997 18:38:47 +0000 (18:38 +0000)]
    * 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.

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

26 years ago * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
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.

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

26 years ago * rs6000.md (*movsi_got_internal_mem): New pattern.
law [Wed, 22 Oct 1997 06:31:00 +0000 (06:31 +0000)]
    * rs6000.md (*movsi_got_internal_mem): New pattern.
        (*movsi_got_internal_mem splitter): New define_split.
Fixes some egcs bugs.

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

26 years agoAdd documentation for Haifa ISSUE_RATE
meissner [Wed, 22 Oct 1997 02:06:18 +0000 (02:06 +0000)]
Add documentation for Haifa ISSUE_RATE

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

26 years agoFix typo in last obstack.h change.
wilson [Wed, 22 Oct 1997 01:16:10 +0000 (01:16 +0000)]
Fix typo in last obstack.h change.
* obstack.h (obstack_empty_p): Fix spurious space after backslash.

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

26 years ago * mn10300.md (movqi, movhi): Avoid using address registers as
law [Wed, 22 Oct 1997 00:41:31 +0000 (00:41 +0000)]
    * mn10300.md (movqi, movhi): Avoid using address registers as
        destinations unless absolutely necessary.

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

26 years ago * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
law [Wed, 22 Oct 1997 00:31:13 +0000 (00:31 +0000)]
    * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
        only need to save LR.

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

26 years ago * mn10200.c (expand_prologue): Fix typo.
law [Tue, 21 Oct 1997 20:58:16 +0000 (20:58 +0000)]
    * mn10200.c (expand_prologue): Fix typo.

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