platform/upstream/gcc.git
27 years agoMakefile.in (sub-makes): Pass the current value of LANGUAGES down to sub-makes to...
Manfred Hollstein [Sun, 17 Aug 1997 23:48:47 +0000 (23:48 +0000)]
Makefile.in (sub-makes): Pass the current value of LANGUAGES down to sub-makes to avoid building more...

        * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
        to sub-makes to avoid building more passes than the user might have
        requested on the command line.
From Manfred Hollstein.

From-SVN: r14825

27 years agoINSTALL: Rebuilt.
Jeffrey A Law [Sun, 17 Aug 1997 23:33:04 +0000 (23:33 +0000)]
INSTALL: Rebuilt.

        * INSTALL: Rebuilt.
        * install.texi: Remove "Object File Differences" section.  Remove
        all references to zzz.o failing comparison tests.
        * version.c, version.h: Renamed from zzz.c and zzz.h.  Remove
        date and time stamps so a 3 stage build reports no differences.
        * Make-lang.in: Corresponding changes.
        * Makefile.in: Likewise.
        * g77.c, parse.c: Likewise.
So 3-stage build compares OK.  Rename zzz.[ch] files to version.[ch].

From-SVN: r14824

27 years agoconfigure.in: Expurgate `broken_install' (install is autoconfed).
Dave Love [Sun, 17 Aug 1997 21:41:59 +0000 (21:41 +0000)]
configure.in: Expurgate `broken_install' (install is autoconfed).

        * configure.in: Expurgate `broken_install' (install is
        autoconfed).

        * configure.lang: Substitute autoconfed ${INSTALL} (not currently
        relevant).
From Dave love.

From-SVN: r14823

27 years agogcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__ predefines.
Jeffrey A Law [Sun, 17 Aug 1997 21:15:15 +0000 (21:15 +0000)]
gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__ predefines.

        * gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__
        predefines.

From-SVN: r14822

27 years agoOpps.
Jeff Law [Sun, 17 Aug 1997 14:35:06 +0000 (08:35 -0600)]
Opps.

From-SVN: r14820

27 years ago* intdoc.texi: Remove generated file from distribution.
Jeff Law [Sun, 17 Aug 1997 14:34:23 +0000 (08:34 -0600)]
* intdoc.texi: Remove generated file from distribution.

From-SVN: r14819

27 years agoloop.c (is_power_of_2, [...]): Delete unused functions and declarations.
Jeffrey A Law [Sat, 16 Aug 1997 07:09:42 +0000 (07:09 +0000)]
loop.c (is_power_of_2, [...]): Delete unused functions and declarations.

        * loop.c (is_power_of_2, is_conditional_branch): Delete unused
        functions and declarations.
        (analyze_loop_iterations): Use condjump_p.
        (insert_bct): Likewise.  Use exact_log2.
Just cleanup up some haifa code.

From-SVN: r14818

27 years agohaifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
Jeffrey A Law [Sat, 16 Aug 1997 05:49:38 +0000 (05:49 +0000)]
haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.

        * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
        (schedule_region): Likewise.
        (schedule_insns): Likewise.
To avoid leaking memory.

        * PROJECTS: Update with Haifa stuff.

From-SVN: r14817

27 years agoloop.c (is_conditional_branch): Make definition match declaration.
Jeffrey A Law [Fri, 15 Aug 1997 20:50:04 +0000 (20:50 +0000)]
loop.c (is_conditional_branch): Make definition match declaration.

        * loop.c (is_conditional_branch): Make definition match declaration.
Found by the sunos compiler

From-SVN: r14815

27 years agoTweak again.
Jeffrey A Law [Fri, 15 Aug 1997 20:38:11 +0000 (20:38 +0000)]
Tweak again.

From-SVN: r14814

27 years agoMake version # egcs-3.0.0 since we need to make sure the version#s
Jeffrey A Law [Fri, 15 Aug 1997 20:26:03 +0000 (20:26 +0000)]
Make version # egcs-3.0.0 since we need to make sure the version#s
in the built-in defines are > 2.7.

From-SVN: r14813

27 years agoMakefile.in, [...]: Remove "^L" at the beginning of lines.
Jeffrey A Law [Fri, 15 Aug 1997 19:45:17 +0000 (19:45 +0000)]
Makefile.in, [...]: Remove "^L" at the beginning of lines.

        * Makefile.in, Make-lang.in: Remove "^L" at the beginning
        of lines.
Some makes don't like them.

From-SVN: r14812

27 years agoversion.c: Change the version string to look like...
Jeffrey A Law [Fri, 15 Aug 1997 18:50:36 +0000 (18:50 +0000)]
version.c: Change the version string to look like...

        * version.c: Change the version string to look like:
        egcs-1.0.0 970814 (gcc2-970802 experimental).

        * gcc.c: Take out experimental snapshot warning message.

From-SVN: r14811

27 years agoUse rtl macros for names of NOTEs.
Michael Meissner [Fri, 15 Aug 1997 17:48:56 +0000 (17:48 +0000)]
Use rtl macros for names of NOTEs.

From-SVN: r14810

27 years agoOpps. Forgot to commit this.
Jeff Law [Fri, 15 Aug 1997 05:40:31 +0000 (23:40 -0600)]
Opps.  Forgot to commit this.

From-SVN: r14803

27 years agoc-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.
Jeff Law [Fri, 15 Aug 1997 05:32:53 +0000 (23:32 -0600)]
c-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.

        * c-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.
Bring over from the FSF.

From-SVN: r14802

27 years agotoplev.c (main): In -g handling code, add code to set len.
Jeff Law [Fri, 15 Aug 1997 05:29:33 +0000 (23:29 -0600)]
toplev.c (main): In -g handling code, add code to set len.

        * toplev.c (main): In -g handling code, add code to set len.

        * alpha.md (extendqihi2): Use HImode not QImode in force_reg call.

Brought over from gcc2.

From-SVN: r14801

27 years agoBasically a duplicate of COPYING.
Jeff Law [Fri, 15 Aug 1997 05:17:24 +0000 (23:17 -0600)]
Basically a duplicate of COPYING.

From-SVN: r14800

27 years agoRemove old (pre gcc-2.7.2) ChangeLog files.
Jeff Law [Fri, 15 Aug 1997 05:15:07 +0000 (23:15 -0600)]
Remove old (pre gcc-2.7.2) ChangeLog files.

Remove pre-built into files.

From-SVN: r14799

27 years agoNew file with pointers to compiler relates web sites.
Jeff Law [Wed, 13 Aug 1997 16:10:39 +0000 (10:10 -0600)]
New file  with pointers to compiler relates web sites.

From-SVN: r14784

27 years agoconfigure.in (haifa configury): Fix typo.
Doug Evans [Wed, 13 Aug 1997 08:04:44 +0000 (08:04 +0000)]
configure.in (haifa configury): Fix typo.

* configure.in (haifa configury): Fix typo.
* configure: Regenerate.

From-SVN: r14783

27 years agoversion.c: Bump version to "gcc-3.0.0 970802 experimental".
Jeffrey A Law [Tue, 12 Aug 1997 17:13:25 +0000 (17:13 +0000)]
version.c: Bump version to "gcc-3.0.0 970802 experimental".

        * version.c: Bump version to "gcc-3.0.0 970802 experimental".

        * gcc.info*: Rebuilt.

        * COPYING.g77, README.g77: New files.
        * real.c (ereal_unto_float, ereal_unto_double): New functions.
        * real.h (ereal_unto_float, ereal_unto_double): Declare them.
        (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
Get g77 to work with gcc3.

From-SVN: r14776

27 years agog77.info*: Rebuilt.
Jeffrey A Law [Tue, 12 Aug 1997 17:12:21 +0000 (17:12 +0000)]
g77.info*: Rebuilt.

        * g77.info*: Rebuilt.

        * config-lang.in: Don't demand the backend patch.
        * com.c (lang_printable_name): Second argument is now an int.  Don't
        store into the value of the second argument.
        * top.c (ffe_decode_option): Temporarily disable setting
        of "Toon" loop options until we figure out how to address
        them.

Make g77 work with gcc3.

From-SVN: r14775

27 years agoInitial revision
Jeff Law [Tue, 12 Aug 1997 07:47:32 +0000 (01:47 -0600)]
Initial revision

From-SVN: r14772

27 years agoRemove gratuitous changes from the alias analysis patches.
Jeff Law [Tue, 12 Aug 1997 04:12:04 +0000 (22:12 -0600)]
Remove gratuitous changes from the alias analysis patches.

From-SVN: r14771

27 years ago* Integrate Haifa instruction scheduler.
Jeffrey A Law [Tue, 12 Aug 1997 04:07:19 +0000 (04:07 +0000)]
* Integrate Haifa instruction scheduler.

        * Integrate regmove pass.
See ChangeLog for deatils.

From-SVN: r14770

27 years ago* Integrate tlink patch from jason@cygnus.com
Jeffrey A Law [Mon, 11 Aug 1997 20:23:53 +0000 (20:23 +0000)]
* Integrate tlink patch from jason@cygnus.com
        * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
        (process_command): Increment n_switches for them.  Don't discard
        their args.  Validate them.
        (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
        From Rohan Lenard.
        (process_command): Set include_prefixes from COMPILER_PATH.
        (main): Set COLLECT_GCC_OPTIONS sooner.
        * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
        * tlink.c, hash.c, hash.h: New files.
        * Makefile.in (USE_COLLECT2): Always use collect2.
        (collect2): Depend on and link in hash.o and tlink.o.
        (tlink.o, hash.o): Add dependencies.

tlink patches from Jason.

From-SVN: r14769

27 years ago* Integrate alias analysis changes from jfc@mit.edu
Jeffrey A Law [Mon, 11 Aug 1997 20:07:24 +0000 (20:07 +0000)]
* Integrate alias analysis changes from jfc@mit.edu
        * Makefile.in (OBJS): Add alias.o
        (alias.o): Add dependencies.
        * alias.c: New file.
        * sched.c: Remove alias analysis code.  It lives in alias.c now.
        (reg_last_uses_size): Declare.
        (sched_analyze_2): Add new arguments to true_dependence.
        (sched_analyze_insn): Use reg_last_uses_size instead of max_reg.
        (schedule_block): Initialize reg_last_uses_size.
        (schedule_insns): Always call init_alias_analysis.
        * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
        mark return value from such functions as a pointer and keep track of
        them for alias analysis.  If a return value from a function is a
        pointer, mark it as such.
        * combine.c (distribute_notes): Handle REG_NOALIAS.
        * cse.c (struct write_data): Delete.  No longer needed.
        (invalidate): Don't call set_nonvarying_address_components anymore.
        Use true_dependence to decide if an entry should be removed from
        the hash table.
        (invalidate_memory): Remove WRITES argument, simplify appropriately.
        Fix all callers.
        (note_mem_written): Similarly for WRITE_PTR argument.
        (invalidate_from_clobbers): Similarly for W argument.
        (invalidate_for_call): Remove memory elements from the hash table.
        (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
        (cse_rtx_varies_p): New function.  Derived from old
        cse_rtx_addr_varies_p.
        (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
        Don't call note_mem_written anymore.  Stack pushes invalidate the stack
        pointer if PUSH_ROUNDING is defined.  No longer need to call
        cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
        (skipped_writes_memory): Remove variable.
        (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
        (invalidate_skipped_block): Simplify for new alias analysis code.
        (cse_set_around_loop): Likewise.
        (cse_main): Call init_alias_analysis.
        * flags.h (flag_alias_check, flag_argument_noalias): Declare.
        * toplev.c (flag_alias_check, flag_argument_noalias): Define.
        (f_options): Add new alias checking arguments.
        (main): Set flag_alias_check when optimizing.
        * local_alloc (validate_equiv_mem_from_store): Add new arguments
        to true_dependence.
        (memref_referenced_p): Likewise.
        * loop.c (NUM_STORES): Increase to 30.
        (prescan_loop): Only non-constant calls set unknown_address_altered.
        (invariant_p): Add new arguments to true_dependence.
        (record_giv): Initialize unrolled and shared fields.
        (emit_iv_add_mult): Call record_base_value as needed.
        * loop.h (struct induction): Add unrolled and shared fields.
        * unroll.c  (unroll_loop): Call record_base_value as needed.
        (copy_loop_body): Likewise.
        (final_biv_value): Likewise.
        (final_giv_value): Likewise.
        (find_splittable_regs): Likewise.  Only create one new pseudo
        if we have multiple address GIVs that were combined with the same
        dst_reg GIV.  Note when a new register is created due to unrolling.
        * rtl.c (reg_note_name): Add REG_NOALIAS.
        * rtl.h (enum reg_note): Similarly.
        (rtx_varies_p, may_trap_p, side_effects_p): Declare.
        (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
        (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
        (true_dependence, read_dependence, anti_dependence): Likewise.
        (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
        (mark_user_reg, mark_reg_pointer): Likewise.
jfc's alias analysis code.

From-SVN: r14768

27 years ago* Integrate reload bugfix from Wilson which enables the PA port
Jeff Law [Mon, 11 Aug 1997 19:31:10 +0000 (13:31 -0600)]
* Integrate reload bugfix from Wilson which enables the PA port
        to bootstrap again.
        * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
        OPERAND_ADDRESS when computing how many registers an insn needs.
        (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
        conflict.
        (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
        OPADDR_ADDR reload.
        (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
        in reload_reg_use_in_op_addr do not reach the end.
        do not reach the end.
        (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
        RELOAD_FOR_OPERAND_ADDRESS.

Start a new ChangeLog for gcc3.

From-SVN: r14767

27 years agoInitial revision
Jeff Law [Mon, 11 Aug 1997 15:56:58 +0000 (09:56 -0600)]
Initial revision

From-SVN: r14764

27 years agoInitial revision
Jeff Law [Thu, 7 Aug 1997 16:29:49 +0000 (10:29 -0600)]
Initial revision

From-SVN: r14727

27 years agoInitial revision
Jeff Law [Wed, 6 Aug 1997 19:57:47 +0000 (13:57 -0600)]
Initial revision

From-SVN: r14676

27 years agoInitial revision
Jeff Law [Tue, 5 Aug 1997 16:26:36 +0000 (10:26 -0600)]
Initial revision

From-SVN: r14671

27 years ago(store_one_arg): Allow stack_slot to be SP in ARGS_GROW_DOWNWARD case.
Richard Kenner [Sat, 2 Aug 1997 23:22:18 +0000 (19:22 -0400)]
(store_one_arg): Allow stack_slot to be SP in ARGS_GROW_DOWNWARD case.

From-SVN: r14639

27 years agoparmlist_tags_warning): Only suppress warning on union if anonymous.
Richard Kenner [Sat, 2 Aug 1997 23:06:27 +0000 (19:06 -0400)]
parmlist_tags_warning): Only suppress warning on union if anonymous.

From-SVN: r14638

27 years ago(int_fits_type_p): Negative ints never fit unsigned types, and
Richard Kenner [Sat, 2 Aug 1997 22:50:39 +0000 (18:50 -0400)]
(int_fits_type_p): Negative ints never fit unsigned types, and
unsigned ints with top-bit-set never fit signed types.

From-SVN: r14637

27 years ago(_trampoline): Rework last change; both getpagesize and mprotect are
Richard Kenner [Sat, 2 Aug 1997 22:27:33 +0000 (18:27 -0400)]
(_trampoline): Rework last change; both getpagesize and mprotect are
in cygwin32.

From-SVN: r14636

27 years ago(reload): Add IN_ADDR to IN_ADDR_ADDR when computing needs since they conflict.
Richard Kenner [Sat, 2 Aug 1997 21:46:08 +0000 (17:46 -0400)]
(reload): Add IN_ADDR to IN_ADDR_ADDR when computing needs since they conflict.

From-SVN: r14635

27 years ago(debug_reload): Rework to make output more compact.
Richard Kenner [Sat, 2 Aug 1997 21:29:22 +0000 (17:29 -0400)]
(debug_reload): Rework to make output more compact.

From-SVN: r14634

27 years ago(indent): Move to file level; was static in print_rtx.
Richard Kenner [Sat, 2 Aug 1997 21:29:08 +0000 (17:29 -0400)]
(indent): Move to file level; was static in print_rtx.

(print_inline_rtx): New function.

From-SVN: r14633

27 years ago* objc/Make-lang.in (OBJC_CCOMMON): Removed.
Per Bothner [Sat, 2 Aug 1997 21:06:25 +0000 (14:06 -0700)]
* objc/Make-lang.in (OBJC_CCOMMON):  Removed.

From-SVN: r14632

27 years agoMakefile.in (EXTRA_C_OBJS): Removed.
Per Bothner [Sat, 2 Aug 1997 20:59:17 +0000 (13:59 -0700)]
Makefile.in (EXTRA_C_OBJS): Removed.

* Makefile.in (EXTRA_C_OBJS): Removed.
(C_AND_OBJC_OBJS):  New.  Subsumes EXTRA_C_OBJS and OBJC_CCOMMON.

From-SVN: r14631

27 years agoconfigure.in: Build .gdbinit for top level build dir here.
Doug Evans [Sat, 2 Aug 1997 20:10:47 +0000 (20:10 +0000)]
configure.in: Build .gdbinit for top level build dir here.

* configure.in: Build .gdbinit for top level build dir here.
(AC_OUTPUT): Pass oldstyle_subdirs to configure.lang.

From-SVN: r14630

27 years ago* configure.lang: Fix building of .gdbinit for oldstyle lang subdirs.
Doug Evans [Sat, 2 Aug 1997 20:10:15 +0000 (20:10 +0000)]
* configure.lang: Fix building of .gdbinit for oldstyle lang subdirs.

From-SVN: r14629

27 years ago(gen_compile_unit_die): Add support for Pascal.
Richard Kenner [Sat, 2 Aug 1997 18:34:12 +0000 (14:34 -0400)]
(gen_compile_unit_die): Add support for Pascal.

From-SVN: r14628

27 years ago(output_compile_unit_die): Add support for Pascal.
Richard Kenner [Sat, 2 Aug 1997 18:33:42 +0000 (14:33 -0400)]
(output_compile_unit_die): Add support for Pascal.

From-SVN: r14627

27 years ago(lvalue_p, case BIND_EXPR, RTL_EXPR): Return 1 if array.
Richard Kenner [Sat, 2 Aug 1997 18:15:29 +0000 (14:15 -0400)]
(lvalue_p, case BIND_EXPR, RTL_EXPR): Return 1 if array.

From-SVN: r14626

27 years ago(cse_insn): Ignore paradoxical SUBREGs unless we are looking for such.
Richard Kenner [Sat, 2 Aug 1997 17:48:13 +0000 (13:48 -0400)]
(cse_insn): Ignore paradoxical SUBREGs unless we are looking for such.

From-SVN: r14625

27 years ago(sparc_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
Richard Kenner [Sat, 2 Aug 1997 17:25:31 +0000 (13:25 -0400)]
(sparc_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
registers.

From-SVN: r14624

27 years ago(hppa_builtin_saveregs): f -fcheck-memory-usage, set rights of saved
Richard Kenner [Sat, 2 Aug 1997 17:24:48 +0000 (13:24 -0400)]
(hppa_builtin_saveregs): f -fcheck-memory-usage, set rights of saved
registers.

From-SVN: r14623

27 years ago(m88k_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
Richard Kenner [Sat, 2 Aug 1997 17:23:45 +0000 (13:23 -0400)]
(m88k_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
registers.

From-SVN: r14622

27 years ago(clipper_builtin_saveregs): If -fcheck-memory-usage, set rights of
Richard Kenner [Sat, 2 Aug 1997 17:22:50 +0000 (13:22 -0400)]
(clipper_builtin_saveregs): If -fcheck-memory-usage, set rights of
saved registers.

From-SVN: r14621

27 years ago(alpha_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
Richard Kenner [Sat, 2 Aug 1997 17:22:01 +0000 (13:22 -0400)]
(alpha_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
registers.

From-SVN: r14620

27 years ago(make_function_rtl, make_decl_rtl): Add a prefix when flag_prefix_function_name_usage...
Richard Kenner [Sat, 2 Aug 1997 17:21:32 +0000 (13:21 -0400)]
(make_function_rtl, make_decl_rtl): Add a prefix when flag_prefix_function_name_usage is set.

(make_function_rtl, make_decl_rtl): Add a prefix when
flag_prefix_function_name_usage is set.
(assemble_name): Strip the CHKR_PREFIX.

From-SVN: r14619

27 years ago(built_in_function): Add BUILT_IN_AGGREGATE_INCOMING_ADDRESS.
Richard Kenner [Sat, 2 Aug 1997 17:20:58 +0000 (13:20 -0400)]
(built_in_function): Add BUILT_IN_AGGREGATE_INCOMING_ADDRESS.

From-SVN: r14618

27 years ago(flag_check_memory_usage, flag_prefix_function_name): New variable.
Richard Kenner [Sat, 2 Aug 1997 17:20:21 +0000 (13:20 -0400)]
(flag_check_memory_usage, flag_prefix_function_name): New variable.

(f_options): Add `check-memory-usage' and `prefix_function_name'.
(main): Disable `-fomit-frame-pointer' if `-fcheck-memory-usage' is set
and the machine can't debug without the frame pointer.

From-SVN: r14617

27 years ago(expand_computed_goto): If -fcheck-memory-usage, check that computed address of a...
Richard Kenner [Sat, 2 Aug 1997 17:19:38 +0000 (13:19 -0400)]
(expand_computed_goto): If -fcheck-memory-usage, check that computed address of a goto is executable.

(expand_computed_goto): If -fcheck-memory-usage, check that computed address
of a goto is executable.
(expand_asm, expand_asm_operands): If -fcheck-memory-usage, disallow
asm statments.

From-SVN: r14616

27 years ago(chkr_{check_addr,set_right}_libfunc): New definitions.
Richard Kenner [Sat, 2 Aug 1997 17:18:49 +0000 (13:18 -0400)]
(chkr_{check_addr,set_right}_libfunc): New definitions.

(chkr_{copy_bitmap,check_exec}_libfunc): Likewise.
(init_optabs): Initialize these chkr_*_libfunc.

From-SVN: r14615

27 years ago(put_var_into_stack, assign_parms): If -fcheck-memory-usage, set the
Richard Kenner [Sat, 2 Aug 1997 17:18:18 +0000 (13:18 -0400)]
(put_var_into_stack, assign_parms): If -fcheck-memory-usage, set the
rights of pushed variable.

From-SVN: r14614

27 years ago(flag_check_memory_usage, flag_prefix_function_name): New declaration.
Richard Kenner [Sat, 2 Aug 1997 17:17:58 +0000 (13:17 -0400)]
(flag_check_memory_usage, flag_prefix_function_name): New declaration.

From-SVN: r14613

27 years agoAdd expand_modifier flags.
Richard Kenner [Sat, 2 Aug 1997 17:17:40 +0000 (13:17 -0400)]
Add expand_modifier flags.

(chkr_*_libfunc): New decls.
(memory_use_mode): New declaration.

From-SVN: r14612

27 years ago(expand_builtin, case BUILT_IN_AGGREGATE_INCOMING_ADDRESS): New case.
Richard Kenner [Sat, 2 Aug 1997 17:17:17 +0000 (13:17 -0400)]
(expand_builtin, case BUILT_IN_AGGREGATE_INCOMING_ADDRESS): New case.

(expand_assignment, expand_expr, emit_push_insn, store_expr):
Insert calls to chkr_check_addr, chkr_set_right, and chkr_copy_bitmap
when -fcheck-memory-usage.
(get_push_address, get_memory_usage_from_modifier): New functions.

From-SVN: r14611

27 years ago(expr_size): Call expand_expr with appropriate flag.
Richard Kenner [Sat, 2 Aug 1997 17:16:45 +0000 (13:16 -0400)]
(expr_size): Call expand_expr with appropriate flag.

From-SVN: r14610

27 years ago(init_decl_processing): Add __builtin_aggregate_incoming_address.
Richard Kenner [Sat, 2 Aug 1997 17:15:09 +0000 (13:15 -0400)]
(init_decl_processing): Add __builtin_aggregate_incoming_address.

From-SVN: r14609

27 years ago(expand_call): If -fcheck-memory-usage...
Richard Kenner [Sat, 2 Aug 1997 17:14:33 +0000 (13:14 -0400)]
(expand_call): If -fcheck-memory-usage...

(expand_call): If -fcheck-memory-usage, use pseudo-register, check
indirectly called function is executable, and set rights of memory for
aggregate as write only.
(store_one_arg): If -fcheck-memory-usage, set rights for pushed stack
argument.

From-SVN: r14608

27 years ago(OBJC_OBJC): Delete from here.
Richard Kenner [Sat, 2 Aug 1997 13:09:23 +0000 (09:09 -0400)]
(OBJC_OBJC): Delete from here.

From-SVN: r14607

27 years ago(compare_constant_1, case STRING_CST): Compare TYPE_MODE.
Richard Kenner [Sat, 2 Aug 1997 12:11:40 +0000 (08:11 -0400)]
(compare_constant_1, case STRING_CST): Compare TYPE_MODE.

(record_constant_1, case STRING_CST): Record TYPE_MODE.

From-SVN: r14606

27 years ago(expand_expr, case PLACEHOLDER_EXPR): Find innermost matching and
Richard Kenner [Sat, 2 Aug 1997 12:01:10 +0000 (08:01 -0400)]
(expand_expr, case PLACEHOLDER_EXPR): Find innermost matching and
don't check contains_placeholder_p.

From-SVN: r14605

27 years ago(contains_this_placeholder_p): Delete.
Richard Kenner [Sat, 2 Aug 1997 12:00:52 +0000 (08:00 -0400)]
(contains_this_placeholder_p): Delete.

(contains_placeholder_p): Now contains code from above function.
(contains_placeholder_p, case 'r'): Don't look at offset info.

From-SVN: r14604

27 years ago* c-lang.c (lang_init): Restore, but add #if !USE_CPPLIB.
Per Bothner [Fri, 1 Aug 1997 21:18:54 +0000 (14:18 -0700)]
* c-lang.c (lang_init):  Restore, but add #if !USE_CPPLIB.

From-SVN: r14603

27 years ago* c-lex.c (lang_init): Remove (recently moved here).
Per Bothner [Fri, 1 Aug 1997 21:18:54 +0000 (14:18 -0700)]
* c-lex.c (lang_init):  Remove (recently moved here).

From-SVN: r14602

27 years ago* objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB.
Per Bothner [Fri, 1 Aug 1997 21:17:44 +0000 (14:17 -0700)]
* objc/objc-act.c (lang_init):  Don't check_newline #if USE_CPPLIB.

From-SVN: r14601

27 years agox
Jason Merrill [Fri, 1 Aug 1997 18:48:18 +0000 (18:48 +0000)]
x

From-SVN: r14600

27 years agoTranslate -svr4 to -sysv4 and -unixware to -sysv4.2uw.
Richard Stallman [Fri, 1 Aug 1997 18:09:30 +0000 (18:09 +0000)]
Translate -svr4 to -sysv4 and -unixware to -sysv4.2uw.

From-SVN: r14578

27 years ago* pa.c (pa_reorg): Explode ADDR_DIFF_VEC insns too.
Jeff Law [Fri, 1 Aug 1997 17:23:22 +0000 (11:23 -0600)]
* pa.c (pa_reorg): Explode ADDR_DIFF_VEC insns too.

From-SVN: r14577

27 years ago92th Cygnus<->FSF quick merge
Mike Stump [Fri, 1 Aug 1997 17:21:46 +0000 (17:21 +0000)]
92th Cygnus<->FSF quick merge

From-SVN: r14576

27 years agoInitial revision
Paul Eggert [Fri, 1 Aug 1997 13:06:04 +0000 (13:06 +0000)]
Initial revision

From-SVN: r14572

27 years agoDon't compile getpagesize if __CYGWIN32__
Ian Lance Taylor [Thu, 31 Jul 1997 23:39:26 +0000 (23:39 +0000)]
Don't compile getpagesize if __CYGWIN32__

From-SVN: r14571

27 years ago(SWITCHES_NEED_SPACES) Define.
Stan Cox [Thu, 31 Jul 1997 20:37:46 +0000 (20:37 +0000)]
(SWITCHES_NEED_SPACES) Define.

From-SVN: r14570

27 years ago(*trunc*): Use scratch memory for output_fix_trunc.
Stan Cox [Thu, 31 Jul 1997 20:37:46 +0000 (20:37 +0000)]
(*trunc*): Use scratch memory for output_fix_trunc.

From-SVN: r14569

27 years ago(output_to_reg, output_fix_trunc): Use scratch memory
Stan Cox [Thu, 31 Jul 1997 20:37:46 +0000 (20:37 +0000)]
(output_to_reg, output_fix_trunc): Use scratch memory

From-SVN: r14568

27 years ago(MAX_FIXED_MODE_SIZE): Define.
Stan Cox [Thu, 31 Jul 1997 20:37:46 +0000 (20:37 +0000)]
(MAX_FIXED_MODE_SIZE): Define.

From-SVN: r14567

27 years ago92th Cygnus<->FSF quick merge
Jason Merrill [Wed, 30 Jul 1997 23:01:56 +0000 (23:01 +0000)]
92th Cygnus<->FSF quick merge

From-SVN: r14566

27 years agocplus-dem.c: Various changes to produce Java output when passed DMGL_JAVA.
Per Bothner [Wed, 30 Jul 1997 19:05:31 +0000 (12:05 -0700)]
cplus-dem.c: Various changes to produce Java output when passed DMGL_JAVA.

* cplus-dem.c:  Various changes to produce Java output when passed
DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
(main):  Support --java and -j flags to set DMGL_JAVA.

From-SVN: r14565

27 years ago* demangle.h (DMGL_JAVA): New option to request Java demangling.
Per Bothner [Wed, 30 Jul 1997 19:05:31 +0000 (12:05 -0700)]
* demangle.h (DMGL_JAVA):  New option to request Java demangling.

From-SVN: r14564

27 years ago(CPP_SPEC): add %(subtarget_cpp_spec).
Richard Earnshaw [Wed, 30 Jul 1997 12:54:05 +0000 (12:54 +0000)]
(CPP_SPEC): add %(subtarget_cpp_spec).

From-SVN: r14563

27 years ago(MULTILIB_OPTIONS): don't use deprecated -mN
Richard Earnshaw [Wed, 30 Jul 1997 12:53:11 +0000 (12:53 +0000)]
(MULTILIB_OPTIONS): don't use deprecated -mN
options; use -mapcs-NN instead.

From-SVN: r14562

27 years ago(TARGET_CPU_DEFAULT): define.
Richard Earnshaw [Wed, 30 Jul 1997 12:52:22 +0000 (12:52 +0000)]
(TARGET_CPU_DEFAULT): define.

include aout.h rather than arm.h directly.
(ASM_SPEC): remove.
(CPP_SPEC): replace with...
(SUBTARGET_CPP_SPEC): ... this.

From-SVN: r14561

27 years agoDon't define SET_ASM_OP for RISCiX
Richard Earnshaw [Wed, 30 Jul 1997 12:51:32 +0000 (12:51 +0000)]
Don't define SET_ASM_OP for RISCiX

From-SVN: r14560

27 years agodefine SET_ASM_OP by default (for GAS).
Richard Earnshaw [Wed, 30 Jul 1997 12:50:57 +0000 (12:50 +0000)]
define SET_ASM_OP by default (for GAS).

From-SVN: r14559

27 years agoreplace arm-*-* with arm-*-aout.
Richard Earnshaw [Wed, 30 Jul 1997 12:50:14 +0000 (12:50 +0000)]
replace arm-*-* with arm-*-aout.

From-SVN: r14558

27 years agoPatches to use cpplib with cc1 #if USE_CPPLIB.
Per Bothner [Tue, 29 Jul 1997 22:40:30 +0000 (15:40 -0700)]
Patches to use cpplib with cc1 #if USE_CPPLIB.

From-SVN: r14557

27 years agoconfigure.in (--enable-c-cpplib): New option.
Per Bothner [Tue, 29 Jul 1997 22:07:34 +0000 (15:07 -0700)]
configure.in (--enable-c-cpplib): New option.

* configure.in (--enable-c-cpplib):  New option.
(extra_c_flags, extra_c_objs):  New variables.

From-SVN: r14556

27 years agoMakefile.in (EXTRA_C_OBJS): New variable.
Per Bothner [Tue, 29 Jul 1997 22:07:34 +0000 (15:07 -0700)]
Makefile.in (EXTRA_C_OBJS): New variable.

* Makefile.in (EXTRA_C_OBJS):  New variable.
(INTERNAL_CFLAGS):  Add @extra_c_flags@.
C_OBJS, OBJC_OBS:  Add $(EXTRA_C_OBJS).

From-SVN: r14555

27 years agoAdd hooks for using autconf-style Makefile.in in language subdirs.
Per Bothner [Tue, 29 Jul 1997 22:03:06 +0000 (15:03 -0700)]
Add hooks for using autconf-style Makefile.in in language subdirs.

* configure.in (all_outputs, oldstyle_subdirs):  New variables.
Pass all_outputs to AC_OUTPUT.

From-SVN: r14554

27 years agoAdd hooks for using autconf-style Makefile.in in language subdirs.
Per Bothner [Tue, 29 Jul 1997 22:03:06 +0000 (15:03 -0700)]
Add hooks for using autconf-style Makefile.in in language subdirs.

* configure.lang:  Only iterate over oldstyle_subdirs.

From-SVN: r14553

27 years agox
Jason Merrill [Tue, 29 Jul 1997 05:38:55 +0000 (05:38 +0000)]
x

From-SVN: r14552

27 years agoupdate from main archive 970728
Ulrich Drepper [Mon, 28 Jul 1997 23:37:45 +0000 (23:37 +0000)]
update from main archive 970728

From-SVN: r14547

27 years agointegrate.c (expand_inline_function): Use xmalloc instead of alloca for the LABEL_MAP.
Brendan Kehoe [Mon, 28 Jul 1997 23:08:39 +0000 (19:08 -0400)]
integrate.c (expand_inline_function): Use xmalloc instead of alloca for the LABEL_MAP.

* integrate.c (expand_inline_function): Use xmalloc instead of
alloca for the LABEL_MAP.
(save_for_inline_copying): Likewise.

From-SVN: r14546

27 years agointegrate.c (expand_inline_function): Use xmalloc instead of alloca for the LABEL_MAP.
Brendan Kehoe [Mon, 28 Jul 1997 19:49:08 +0000 (15:49 -0400)]
integrate.c (expand_inline_function): Use xmalloc instead of alloca for the LABEL_MAP.

* integrate.c (expand_inline_function): Use xmalloc instead of
alloca for the LABEL_MAP.

From-SVN: r14545