OSDN Git Service

pf3gnuchains/gcc-fork.git
30 years ago(sched_analyze_insn): Handle USE before a JUMP_INSN just
wilson [Thu, 12 Aug 1993 17:45:15 +0000 (17:45 +0000)]
(sched_analyze_insn): Handle USE before a JUMP_INSN just
like a USE before a CALL_INSN.

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

30 years ago(ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE.
wilson [Thu, 12 Aug 1993 17:41:35 +0000 (17:41 +0000)]
(ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE.
(ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE.

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

30 years ago(store_expr): Don't return TEMP if it's a MEM.
rms [Thu, 12 Aug 1993 08:06:01 +0000 (08:06 +0000)]
(store_expr): Don't return TEMP if it's a MEM.

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

30 years ago(CONSTRUCTOR_NAME_FORMAT): Removed.
bothner [Thu, 12 Aug 1993 02:56:55 +0000 (02:56 +0000)]
(CONSTRUCTOR_NAME_FORMAT): Removed.

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

30 years ago(build_module_descriptor): Use new function get_file_function_name.
bothner [Thu, 12 Aug 1993 02:45:47 +0000 (02:45 +0000)]
(build_module_descriptor):  Use new function get_file_function_name.

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

30 years ago(get_file_function_name): New function.
bothner [Thu, 12 Aug 1993 02:43:49 +0000 (02:43 +0000)]
(get_file_function_name):  New function.

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

30 years ago * reorg.c (try_merge_delay_insns): Fix typo.
law [Wed, 11 Aug 1993 23:49:36 +0000 (23:49 +0000)]
* reorg.c (try_merge_delay_insns): Fix typo.
(fill_simple_delay_slots): Only access the JUMP_LABEL field
if the INSN needing delay slots is a JUMP_INSN.

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

30 years ago(combine_instructions): Fix typo on test of basic block number.
kenner [Wed, 11 Aug 1993 21:58:31 +0000 (21:58 +0000)]
(combine_instructions): Fix typo on test of basic block number.

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

30 years agoGet size_t typedef using gcc, not cc
ian [Wed, 11 Aug 1993 13:22:45 +0000 (13:22 +0000)]
Get size_t typedef using gcc, not cc

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

30 years ago*** empty log message ***
roland [Wed, 11 Aug 1993 07:27:10 +0000 (07:27 +0000)]
*** empty log message ***

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

30 years ago(SLOW_UNALIGNED_ACCESS): Define, but allow override.
rms [Wed, 11 Aug 1993 05:22:55 +0000 (05:22 +0000)]
(SLOW_UNALIGNED_ACCESS): Define, but allow override.
(store_bit_field): Test that instead of STRICT_ALIGNMENT.
Also, allow fetching as non-bitfield if memory is aligned enough.
(extract_bit_field): Install code here like that in store_bit_field.

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

30 years ago*** empty log message ***
rms [Tue, 10 Aug 1993 21:27:23 +0000 (21:27 +0000)]
*** empty log message ***

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

30 years ago(cse_insn): After inserting src_eqv, check to see if it is
wilson [Tue, 10 Aug 1993 19:11:27 +0000 (19:11 +0000)]
(cse_insn): After inserting src_eqv, check to see if it is
identical to any uninserted SET_SRCs, and if so, set their src_elt
to src_eqv_elt.

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

30 years ago * pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2.
law [Tue, 10 Aug 1993 16:56:29 +0000 (16:56 +0000)]
* pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2.

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

30 years ago(output_move_double): Fix typos in last change.
rms [Tue, 10 Aug 1993 05:49:29 +0000 (05:49 +0000)]
(output_move_double): Fix typos in last change.

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

30 years agoMerge. See ChangeLog.
bothner [Tue, 10 Aug 1993 02:16:16 +0000 (02:16 +0000)]
Merge.  See ChangeLog.

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

30 years agoMerge. See ChangeLog.
bothner [Tue, 10 Aug 1993 01:59:37 +0000 (01:59 +0000)]
Merge.  See ChangeLog.

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

30 years agoInitial revision
bothner [Tue, 10 Aug 1993 01:56:14 +0000 (01:56 +0000)]
Initial revision

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

30 years agoRemove some extraneuous garbase output.
bothner [Tue, 10 Aug 1993 01:52:49 +0000 (01:52 +0000)]
Remove some extraneuous garbase output.

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

30 years ago(assembler_variable): For XCOFF_DEBUG, restore section
wilson [Mon, 9 Aug 1993 19:42:21 +0000 (19:42 +0000)]
(assembler_variable): For XCOFF_DEBUG, restore section
if dbxout_symbol call changes it.

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

30 years ago(schedule_insns): Don't emit a NOTE at the end of the last
wilson [Mon, 9 Aug 1993 19:37:23 +0000 (19:37 +0000)]
(schedule_insns): Don't emit a NOTE at the end of the last
basic block if that would put it between a JUMP_INSN and a BARRIER.

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

30 years ago(OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt.
wilson [Mon, 9 Aug 1993 19:29:28 +0000 (19:29 +0000)]
(OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt.

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

30 years ago(function_arg, DFmode case): Set regbase to GP_ARG_FIRST
wilson [Mon, 9 Aug 1993 19:26:03 +0000 (19:26 +0000)]
(function_arg, DFmode case): Set regbase to GP_ARG_FIRST
if cum->arg_number greater than or equal to 2.

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

30 years ago(widen_operand): New function.
kenner [Mon, 9 Aug 1993 11:30:54 +0000 (11:30 +0000)]
(widen_operand): New function.
(expand_binop, expand_unop): Call it.

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

30 years ago(contains_pointers_p): New function.
rms [Mon, 9 Aug 1993 07:30:04 +0000 (07:30 +0000)]
(contains_pointers_p): New function.
(assemble_variable): Use that.

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

30 years ago(sparc_type_code): Support range types.
wilson [Sun, 8 Aug 1993 23:19:27 +0000 (23:19 +0000)]
(sparc_type_code): Support range types.

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

30 years ago(expand_increment): Call save_expr on inner expression if
wilson [Sun, 8 Aug 1993 22:48:15 +0000 (22:48 +0000)]
(expand_increment): Call save_expr on inner expression if
it is itself an increment expression.

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

30 years ago(_SC_PAGE_SIZE): Define to _SC_PAGESIZE if that exists.
wilson [Sun, 8 Aug 1993 22:19:52 +0000 (22:19 +0000)]
(_SC_PAGE_SIZE): Define to _SC_PAGESIZE if that exists.

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

30 years ago(reg_or_0_operand): Use fp_zero_operand.
wilson [Sun, 8 Aug 1993 22:10:02 +0000 (22:10 +0000)]
(reg_or_0_operand): Use fp_zero_operand.
(fp_zero_operand): New function.

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

30 years ago(CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand.
wilson [Sun, 8 Aug 1993 22:08:50 +0000 (22:08 +0000)]
(CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand.

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

30 years ago(build_array_ref): Force array to be allocated on the
wilson [Sun, 8 Aug 1993 21:38:20 +0000 (21:38 +0000)]
(build_array_ref): Force array to be allocated on the
stack if it is accessed by out-of-bound constant integer subscript.

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

30 years ago(num_sign_bit_copies): Properly handle case when MODE is narrower than that
kenner [Sun, 8 Aug 1993 21:31:39 +0000 (21:31 +0000)]
(num_sign_bit_copies): Properly handle case when MODE is narrower than that
of X.
(simplify_shift_const): Remove change of July 26.

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

30 years agoNew file.
wilson [Sun, 8 Aug 1993 21:25:54 +0000 (21:25 +0000)]
New file.

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

30 years ago(expand_assignment): If WANT_VALUE is 0, return NULL.
rms [Sun, 8 Aug 1993 18:54:00 +0000 (18:54 +0000)]
(expand_assignment): If WANT_VALUE is 0, return NULL.
(store_expr): Likewise.
Rename arg SUGGEST_REG to WANT_VALUE.
Never return TARGET if WANT_VALUE unless BLKmode.
Instead, return TEMP or a value copied from TARGET.
Pass 0 for WANT_VALUE in recursive calls that ignore value.

(expand_expr, case PLUS_EXPR): Goto binop2 not
both_summands if we should not be returning a plus.

(do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic,
copy INDEX to a register early, to avoid invalid address later.

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

30 years ago(rest_of_decl_compilation): Fix typo in previous change.
rms [Sun, 8 Aug 1993 18:31:42 +0000 (18:31 +0000)]
(rest_of_decl_compilation): Fix typo in previous change.

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

30 years ago(declare_function_name): Set DECL_EXTERNAL in the decls.
rms [Sun, 8 Aug 1993 08:33:48 +0000 (08:33 +0000)]
(declare_function_name): Set DECL_EXTERNAL in the decls.

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

30 years ago(rest_of_decl_compilation): Don't look at DECL_IGNORED_P.
rms [Sun, 8 Aug 1993 08:33:22 +0000 (08:33 +0000)]
(rest_of_decl_compilation): Don't look at DECL_IGNORED_P.
Don't output a read-only initialized extern variable.

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

30 years ago(process_init_element): Don't call clear_momentary if value is 0.
rms [Sun, 8 Aug 1993 02:27:07 +0000 (02:27 +0000)]
(process_init_element): Don't call clear_momentary if value is 0.

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

30 years ago(find_reloads): Don't combine two reloads if their reload_reg_rtx
kenner [Sat, 7 Aug 1993 22:21:23 +0000 (22:21 +0000)]
(find_reloads): Don't combine two reloads if their reload_reg_rtx
values differ.

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

30 years ago(MAX_MOVE_MAX, MAX_UNITS_PER_WORD): New macros.
dje [Sat, 7 Aug 1993 19:58:54 +0000 (19:58 +0000)]
(MAX_MOVE_MAX, MAX_UNITS_PER_WORD): New macros.
(regno_save_mode, regno_save_mem): Use them.

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

30 years ago * c-decl.c (init_decl_processing): Make long long available to
dje [Sat, 7 Aug 1993 19:50:59 +0000 (19:50 +0000)]
* c-decl.c (init_decl_processing): Make long long available to
|       use for SIZE_TYPE and PTRDIFF_TYPE.

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

30 years ago(strict_low_part add/subtract recognizers): Use %2, not %1, in template.
rms [Sat, 7 Aug 1993 18:51:16 +0000 (18:51 +0000)]
(strict_low_part add/subtract recognizers): Use %2, not %1, in template.

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

30 years ago(add_long_const): New function.
kenner [Sat, 7 Aug 1993 14:37:12 +0000 (14:37 +0000)]
(add_long_const): New function.
(output_{pro,epi}log): Use it.
If register save area is more than 32768 from SP, compute its address into
a register.

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

30 years ago(expand_divmod): Clean up code and documentation, especially in areas
kenner [Sat, 7 Aug 1993 11:43:53 +0000 (11:43 +0000)]
(expand_divmod): Clean up code and documentation, especially in areas
related to when copies are made.

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

30 years ago(push_reload, find_reloads): Treat (subreg (pseudo)) and (subreg (mem))
kenner [Sat, 7 Aug 1993 11:42:21 +0000 (11:42 +0000)]
(push_reload, find_reloads): Treat (subreg (pseudo)) and (subreg (mem))
the same.
If we have (subreg:M1 (mem:M2 ...) ...), never do anything special if M1
and M2 are the same size.

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

30 years ago(print_node): Print obstack node is contained in.
kenner [Sat, 7 Aug 1993 11:40:17 +0000 (11:40 +0000)]
(print_node): Print obstack node is contained in.

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

30 years ago(print_obstack_name): New function; derived from original debug_obstack.
kenner [Sat, 7 Aug 1993 11:39:47 +0000 (11:39 +0000)]
(print_obstack_name): New function; derived from original debug_obstack.
(debug_obstack): Call print_obstack_name.

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

30 years ago(finish_decl): Allow file-scope static incomplete array.
rms [Sat, 7 Aug 1993 08:48:29 +0000 (08:48 +0000)]
(finish_decl): Allow file-scope static incomplete array.

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

30 years ago(output_init_element): Fix backward test in last change.
rms [Fri, 6 Aug 1993 23:39:46 +0000 (23:39 +0000)]
(output_init_element): Fix backward test in last change.
Use TYPE_MAIN_VARIANT.

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

30 years ago(call and call_value pic recognizers) [HPUX_ASM]:
rms [Fri, 6 Aug 1993 23:38:51 +0000 (23:38 +0000)]
(call and call_value pic recognizers) [HPUX_ASM]:
Output plain bsr, without `@PLTPC'.

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

30 years agoPermit relative path for standard_startfile_prefix
ian [Fri, 6 Aug 1993 20:45:36 +0000 (20:45 +0000)]
Permit relative path for standard_startfile_prefix

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

30 years ago(shifts): Use reg_or_6bit_operand for shift counts.
kenner [Fri, 6 Aug 1993 20:11:53 +0000 (20:11 +0000)]
(shifts): Use reg_or_6bit_operand for shift counts.

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

30 years ago(PREDICATE_CODES): Add reg_or_6bit_operand to list.
kenner [Fri, 6 Aug 1993 20:11:21 +0000 (20:11 +0000)]
(PREDICATE_CODES): Add reg_or_6bit_operand to list.

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

30 years ago(reg_or_6bit_operand): New function.
kenner [Fri, 6 Aug 1993 20:10:43 +0000 (20:10 +0000)]
(reg_or_6bit_operand): New function.

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

30 years ago(main): If -v, print header search dir list.
rms [Fri, 6 Aug 1993 08:24:14 +0000 (08:24 +0000)]
(main): If -v, print header search dir list.

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

30 years ago(output_init_element): Call default_conversion here.
rms [Fri, 6 Aug 1993 07:08:12 +0000 (07:08 +0000)]
(output_init_element): Call default_conversion here.
Set constructor_erroneous, etc., here.
(process_init_element): Not here.

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

30 years agoTest and define __INT_WCHAR_T_H.
rms [Fri, 6 Aug 1993 05:58:10 +0000 (05:58 +0000)]
Test and define __INT_WCHAR_T_H.

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

30 years ago(finish_struct): No pedwarn for field with enum type if size matches int.
rms [Fri, 6 Aug 1993 01:11:37 +0000 (01:11 +0000)]
(finish_struct): No pedwarn for field with enum type if size matches int.
(grokdeclarator): No error for void type for extern or global var.

(grokdeclarator): Warn here for volatile fn returning non-void type.
(start_function): Not here.

(grokdeclarator): Don't pass on const and volatile
fron function value type to function type.

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

30 years ago(attrib): Support attribute `volatile' with alias `noreturn', and `const'.
rms [Fri, 6 Aug 1993 01:09:27 +0000 (01:09 +0000)]
(attrib): Support attribute `volatile' with alias `noreturn', and `const'.

(stmt): In an expr stmt, call default_conversion for arrays/functions.

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

30 years ago(decl_attributes): Support attributes `volatile'
rms [Fri, 6 Aug 1993 01:08:12 +0000 (01:08 +0000)]
(decl_attributes): Support attributes `volatile'
with alias `noreturn', and `const'.

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

30 years ago(output_init_element): Call digest_init before
rms [Fri, 6 Aug 1993 01:07:18 +0000 (01:07 +0000)]
(output_init_element): Call digest_init before
calling output_constant.  Always pass 0, 0 for last 2 args
to digest_init.

(build_binary_op): Warn about ordered comparison
between pointers to complete and incomplete types.

(digest_init): No error for a STRING_CST that already
went through digest_init.
(parser_build_binary_op): Generate a NON_LVALUE_EXPR, not NOP_EXPR,
around a constant value.

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

30 years agoCygnus<->FSF merge, added g++ driver in C
brendan [Fri, 6 Aug 1993 01:01:02 +0000 (01:01 +0000)]
Cygnus<->FSF merge, added g++ driver in C

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

30 years ago(layout_type): Put size-related nodes in same obstack as type.
kenner [Thu, 5 Aug 1993 23:23:52 +0000 (23:23 +0000)]
(layout_type): Put size-related nodes in same obstack as type.

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

30 years ago(make_node, copy_node): Set TYPE_OBSTACK.
kenner [Thu, 5 Aug 1993 23:23:22 +0000 (23:23 +0000)]
(make_node, copy_node): Set TYPE_OBSTACK.
(build_type_variant, build_type_copy, build_pointer_type): Put new node in
same obstack as old node; use push/pop obstacks.

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

30 years ago(TYPE_OBSTACK): New macro.
kenner [Thu, 5 Aug 1993 23:22:48 +0000 (23:22 +0000)]
(TYPE_OBSTACK): New macro.
(struct tree_type): Add new field obstack.

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

30 years ago(push_reload, find_reloads): Refine when we reload inside a SUBREG by
kenner [Thu, 5 Aug 1993 23:17:30 +0000 (23:17 +0000)]
(push_reload, find_reloads): Refine when we reload inside a SUBREG by
respecting BYTE_LOADS_*_EXTEND; see comments in push_reload.

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

30 years agoEnable .size for elf functions.
meissner [Thu, 5 Aug 1993 21:17:07 +0000 (21:17 +0000)]
Enable .size for elf functions.

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

30 years ago * toplev.c (rest_of_compilation): If not optimizing, turn off
law [Thu, 5 Aug 1993 05:45:32 +0000 (05:45 +0000)]
* toplev.c (rest_of_compilation): If not optimizing, turn off
DECL_INLINE for functions declared as inline.  Avoid turning on
DECL_INLINE when -finline-functions is used without -O.

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

30 years ago(handler): Check whether c_file and o_file are 0.
rms [Thu, 5 Aug 1993 04:06:59 +0000 (04:06 +0000)]
(handler): Check whether c_file and o_file are 0.

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

30 years agoComment change.
rms [Wed, 4 Aug 1993 23:18:30 +0000 (23:18 +0000)]
Comment change.

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

30 years ago(eliminate_regs_in_insn): Fix typo in last change.
kenner [Wed, 4 Aug 1993 23:12:26 +0000 (23:12 +0000)]
(eliminate_regs_in_insn): Fix typo in last change.

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

30 years ago(movdf+2): Allow `f' register as source operand in
rms [Wed, 4 Aug 1993 22:34:32 +0000 (22:34 +0000)]
(movdf+2): Allow `f' register as source operand in
first alternative.

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

30 years ago(eliminate_regs_in_insn): Always do elimination in REG_NOTES if we
kenner [Wed, 4 Aug 1993 22:28:48 +0000 (22:28 +0000)]
(eliminate_regs_in_insn): Always do elimination in REG_NOTES if we
changed anything in the insn.

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

30 years ago(ASM_FILE_START): Write out two backslashes for each backslash in the
kenner [Wed, 4 Aug 1993 22:05:15 +0000 (22:05 +0000)]
(ASM_FILE_START): Write out two backslashes for each backslash in the
filename.

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

30 years agoInclude gvarargs.h after hconfig.h, like elsewhere.
kenner [Wed, 4 Aug 1993 11:34:51 +0000 (11:34 +0000)]
Include gvarargs.h after hconfig.h, like elsewhere.

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

30 years ago(process_command): Don't check whether file `-' exists.
rms [Wed, 4 Aug 1993 03:57:21 +0000 (03:57 +0000)]
(process_command): Don't check whether file `-' exists.

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

30 years agoremoved INSTALL_HEADERS= so that fixinc.dgux will work
hassey [Wed, 4 Aug 1993 01:49:41 +0000 (01:49 +0000)]
removed INSTALL_HEADERS= so that fixinc.dgux will work

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

30 years agoInitial revision
hassey [Wed, 4 Aug 1993 01:47:35 +0000 (01:47 +0000)]
Initial revision

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

30 years ago(store_one_arg): Don't pass ARG->STACK as TARGET if it is a different
kenner [Tue, 3 Aug 1993 21:34:43 +0000 (21:34 +0000)]
(store_one_arg): Don't pass ARG->STACK as TARGET if it is a different
mode than the expression (i.e., a promoted mode).

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

30 years ago(code_to_optab): New variable.
kenner [Tue, 3 Aug 1993 21:33:37 +0000 (21:33 +0000)]
(code_to_optab): New variable.
(init_optab): Initialize it.

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

30 years agoDeclare code_to_optab.
kenner [Tue, 3 Aug 1993 21:33:11 +0000 (21:33 +0000)]
Declare code_to_optab.

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

30 years ago(force_to_mode): Now pass actual AND mask instead of number off;
kenner [Tue, 3 Aug 1993 21:31:46 +0000 (21:31 +0000)]
(force_to_mode): Now pass actual AND mask instead of number off;
generalize appropriately.
Move most cases from simplify_and_const_int in.
(simplify_and_const_int): Remove most code from here; call force_to_mode
instead.
(subst, make_extraction, make_compound_operation): Change calls to
force_to_mode.
(make_field_assignment): Likewise.
(simplify_comparison): Add call to force_to_mode when doing a sign bit
comparison.

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

30 years ago(struct undo): Rename `rtx' fields to `r'.
rms [Tue, 3 Aug 1993 21:27:41 +0000 (21:27 +0000)]
(struct undo): Rename `rtx' fields to `r'.
(undo_all, SUBST, gen_rtx_combine): Corresponding changes.

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

30 years ago(block_alloc): Don't attempt to allocate a
wilson [Tue, 3 Aug 1993 19:38:40 +0000 (19:38 +0000)]
(block_alloc):  Don't attempt to allocate a
SCRATCH if it will not fit in scratch_list.

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

30 years agoentered into RCS
rms [Tue, 3 Aug 1993 03:13:17 +0000 (03:13 +0000)]
entered into RCS

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

30 years ago(subst): Move simple operations inside IF_THEN_ELSE if the IF_THEN_ELSE is in
kenner [Mon, 2 Aug 1993 22:52:56 +0000 (22:52 +0000)]
(subst): Move simple operations inside IF_THEN_ELSE if the IF_THEN_ELSE is in
the second operand as well as the first.
(subst, case NEG): Use plus_constant to make a PLUS.
(subst, case MINUS): Simplify (minus 1 (comparison foo bar)).
(subst, case EQ): Add a number of missing cases where comparisons may be
replaced with arithmetic or logical ops.
(subst, case IF_THEN_ELSE): Handle (if_then_else COND (OP Z C1) Z) in a more
general manner.
(simplify_and_const_int): Make AND with gen_binary in case we can simplify it.

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

30 years ago(CLIB): Fix typo.
rms [Mon, 2 Aug 1993 19:18:17 +0000 (19:18 +0000)]
(CLIB): Fix typo.

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

30 years ago(substitute_address): In prototype, don't specify
rms [Mon, 2 Aug 1993 19:17:13 +0000 (19:17 +0000)]
(substitute_address): In prototype, don't specify
the arg types of the arg functions.

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

30 years ago(expand_call): Check properly for volatile function.
rms [Mon, 2 Aug 1993 04:03:10 +0000 (04:03 +0000)]
(expand_call): Check properly for volatile function.

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

30 years ago(ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Definitions deleted.
rms [Sun, 1 Aug 1993 20:16:30 +0000 (20:16 +0000)]
(ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Definitions deleted.

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

30 years ago(PIC_CASE_VECTOR_ADDRESS): Defined.
rms [Sun, 1 Aug 1993 20:14:21 +0000 (20:14 +0000)]
(PIC_CASE_VECTOR_ADDRESS): Defined.
(GO_IF_LEGITIMATE_ADDRESS): If pic, accept LABEL+INDEX.

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

30 years ago(do_tablejump): Use PIC_CASE_VECTOR_ADDRESS if defined.
rms [Sun, 1 Aug 1993 20:11:48 +0000 (20:11 +0000)]
(do_tablejump): Use PIC_CASE_VECTOR_ADDRESS if defined.

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

30 years ago(build_shared_structure_initializer):
rms [Sun, 1 Aug 1993 05:53:52 +0000 (05:53 +0000)]
(build_shared_structure_initializer):
Call default_conversion for NAME.
(add_objc_string): Make an ADDR_EXPR to return.
(init_objc_symtab): Make ADDR_EXPR for UOBJC_SELECTOR_TABLE_decl.

Build all CONSTRUCTORs with types.
(build_constructor): New function.  All CONSTRUCTOR builds changed.
(init_def_list, init_objc_symtab): New arg TYPE.
(init_module_descriptor): Likewise.
(init_objc_symtab): Pass TYPE arg to init_def_list.
(generate_objc_symtab_decl): Pass TYPE arg to init_objc_symtab.
(build_module_descriptor): Pass TYPE arg to init_module_descriptor.
(build_descriptor_table_initializer): New arg TYPE.
(generate_method_descriptors): Pass TYPE arg to
build_descriptor_table_initializer.
(generate_protocols): Pass TYPE arg to build_protocol_initializer.
(uild_protocol_initializer): New arg TYPE.
(build_ivar_list_initializer): New arg TYPE.
(generate_ivar_lists): Pass TYPE arg to build_ivar_list_initializer.
(build_dispatch_table_initializer): New arg TYPE.
(generate_dispatch_tables): Pass TYPE arg to
build_dispatch_table_initializer.
(build_category_initializer): New arg TYPE.
(build_shared_structure_initializer): New arg TYPE.
(generate_category): Pass TYPE arg to build_category_initializer.
(generate_shared_structures): Pass TYPE arg to
build_shared_structure_initializer.

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

30 years ago(process_init_element): Treat string constants specially
rms [Sat, 31 Jul 1993 20:13:36 +0000 (20:13 +0000)]
(process_init_element): Treat string constants specially
only for arrays of integers.

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

30 years ago(digest_init): Finish getting rid of tail.
rms [Sat, 31 Jul 1993 05:52:40 +0000 (05:52 +0000)]
(digest_init): Finish getting rid of tail.
Also get rid of old_tail_contents.  Don't set free_tree_list.
(free_tree_list): Var deleted.

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

30 years ago(fold, case NOP_EXPR): Delete a pair of conversions back to the
kenner [Fri, 30 Jul 1993 23:07:52 +0000 (23:07 +0000)]
(fold, case NOP_EXPR): Delete a pair of conversions back to the
original type when intermediate type is at least as wide.

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

30 years ago(mult_is_very_cheap): Delete.
kenner [Fri, 30 Jul 1993 10:49:23 +0000 (10:49 +0000)]
(mult_is_very_cheap): Delete.
(mult_cost): Delete.
(init_expmed): Delete computation of mult_cost and mult_is_very_cheap.
(expand_mult): Compute mult_cost here for every constant multiplier.
(synth_mult): Return found algorithms through a struct pointer.

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

30 years agoRemove change of July 21.
kenner [Fri, 30 Jul 1993 10:47:51 +0000 (10:47 +0000)]
Remove change of July 21.
(this_basic_block): New variable.
(combine_instructions): Set it.
(try_combine, distribute_links): Use it and basic_block_head to see if
we've gone to a new basic block instead of trying to reproduce
calculation done in flow.

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

30 years ago(expand_return): Don't use jumps for "return x == y" if they are
kenner [Fri, 30 Jul 1993 10:45:24 +0000 (10:45 +0000)]
(expand_return): Don't use jumps for "return x == y" if they are
expensive.

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

30 years ago(push_init_level): For braces around scalar, just warn.
rms [Fri, 30 Jul 1993 06:52:04 +0000 (06:52 +0000)]
(push_init_level): For braces around scalar, just warn.
(process_init_element): Special handling for {"foo"}.
(struct constructor_stack): New field `replacement_value'.
(push_init_level, really_start_incremental_init): Clear new field.
(pop_init_level): Return the replacement_value if any.
At top level in initializer, output that value,
and set the array size from it.

(digest_init): Delete arg TAIL.  Fix all calls.

(convert_for_assignment): Mismatch in signedness
of pointer targets should not inhibit warnings for const mismatch.

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