platform/upstream/linaro-gcc.git
31 years agoNew modules added to MOVE_ASM.
wood [Wed, 7 Oct 1992 20:18:21 +0000 (20:18 +0000)]
New modules added to MOVE_ASM.

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

31 years ago(component_decl_list): Do pedwarn for missing semicolon after last field decl.
rms [Wed, 7 Oct 1992 19:42:30 +0000 (19:42 +0000)]
(component_decl_list):  Do pedwarn for missing semicolon after last field decl.

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

31 years agoRedefine MACHINE_TYPE.
meissner [Wed, 7 Oct 1992 13:49:08 +0000 (13:49 +0000)]
Redefine MACHINE_TYPE.

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

31 years agoDo not define LINK_SPEC if it is already defined.
meissner [Wed, 7 Oct 1992 13:48:52 +0000 (13:48 +0000)]
Do not define LINK_SPEC if it is already defined.

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

31 years ago(TARGET_CPU_DEFAULT): Add default definition.
rms [Wed, 7 Oct 1992 08:39:42 +0000 (08:39 +0000)]
(TARGET_CPU_DEFAULT): Add default definition.
(TARGET_SWITCHES): Include that in the default.

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

31 years ago(main): Recover correctly from invalid -Wid-clash option.
rms [Wed, 7 Oct 1992 08:03:02 +0000 (08:03 +0000)]
(main): Recover correctly from invalid -Wid-clash option.

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

31 years ago(finclude): Set fp->buf earlier, so it's freed on error.
rms [Wed, 7 Oct 1992 07:57:31 +0000 (07:57 +0000)]
(finclude): Set fp->buf earlier, so it's freed on error.

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

31 years ago(install-common-headers): Avoid ! operator, for assert.h.
rms [Wed, 7 Oct 1992 07:50:32 +0000 (07:50 +0000)]
(install-common-headers): Avoid ! operator, for assert.h.

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

31 years ago(copy_loop_body, JUMP_INSN case): Delete abort in the
wilson [Wed, 7 Oct 1992 00:20:41 +0000 (00:20 +0000)]
(copy_loop_body, JUMP_INSN case): Delete abort in the
code for setting the JUMP_LABEL field.

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

31 years ago(get_first_block_beg): New function.
rms [Tue, 6 Oct 1992 21:30:51 +0000 (21:30 +0000)]
(get_first_block_beg): New function.

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

31 years ago(install-common-headers): Use $(assertdir).
rms [Tue, 6 Oct 1992 20:39:15 +0000 (20:39 +0000)]
(install-common-headers): Use $(assertdir).
(assertdir): New variable.

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

31 years ago(assertdir): Override usual definition.
rms [Tue, 6 Oct 1992 20:38:24 +0000 (20:38 +0000)]
(assertdir): Override usual definition.

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

31 years ago(includedir): Make this /usr/local/include.
rms [Tue, 6 Oct 1992 19:13:33 +0000 (19:13 +0000)]
(includedir): Make this /usr/local/include.

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

31 years agoDelete unused magic cookie comment.
rms [Tue, 6 Oct 1992 19:11:20 +0000 (19:11 +0000)]
Delete unused magic cookie comment.

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

31 years ago(install-dir): Create dir $(includedir).
rms [Tue, 6 Oct 1992 18:17:23 +0000 (18:17 +0000)]
(install-dir): Create dir $(includedir).

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

31 years ago(install-common-headers): chmod assert.h in proper dir.
rms [Tue, 6 Oct 1992 18:15:46 +0000 (18:15 +0000)]
(install-common-headers): chmod assert.h in proper dir.

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

31 years ago * pa.md (memory function unit, load case): Loads take two cycles
law [Tue, 6 Oct 1992 16:04:57 +0000 (16:04 +0000)]
* pa.md (memory function unit, load case): Loads take two cycles
note one.

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

31 years ago(adddi3): Fix typo.
tege [Tue, 6 Oct 1992 11:57:20 +0000 (11:57 +0000)]
(adddi3): Fix typo.

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

31 years ago In the first part (instead of va-*.h), define
rms [Tue, 6 Oct 1992 05:47:25 +0000 (05:47 +0000)]
 In the first part (instead of va-*.h), define
__gnuc_va_list, as in gstdarg.h.  Always use __gunc_va_list
as basis for defining va_list.
Move interaction with BSD-NET2 down to where va_list itself is defined.

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

31 years ago(NO_DOLLAR_IN_LABEL): Undef because gas understands dollars
rms [Tue, 6 Oct 1992 00:26:09 +0000 (00:26 +0000)]
(NO_DOLLAR_IN_LABEL): Undef because gas understands dollars
in labels and gdb expects them if configured for gas.
(STARTFILE_SPEC): Include huge.o to be compatible with native cc.
(ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
(CTOR_LISTS_DEFINED_EXTERNALLY, DO_GLOBAL_DTORS_BODY):
(STARTFILE_SPEC): Conditionally redefine for a collectless version
of gcc if USE_COLLECT2 is not defined.

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

31 years agoUse xgcc, not gcc.
rms [Tue, 6 Oct 1992 00:25:36 +0000 (00:25 +0000)]
Use xgcc, not gcc.

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

31 years ago(main): Handle -U before -D (and -A).
rms [Tue, 6 Oct 1992 00:24:40 +0000 (00:24 +0000)]
(main): Handle -U before -D (and -A).

(rescan): If traditional, recognize # only at bol.

(main) [VMS]: Use .obj, not .o, in dependencies output.

(do_include): Delete unreachable goto after '"' case.

(do_xifdef): Skip all kinds of whitespace, in bof test.

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

31 years ago(shadow_tag_warned): Use pedwarn for useless keyword.
rms [Tue, 6 Oct 1992 00:23:17 +0000 (00:23 +0000)]
(shadow_tag_warned): Use pedwarn for useless keyword.

(pushdecl): Internally generated vars can be
detected with DECL_SOURCE_LINE of zero, not DECL_IGNORED_P.

(start_enum): Push obstacks, switch to permanent if global.
(finish_enum): Pop obstacks.
(store_parm_decls): When clearing ->names, clear out the values
from the identifiers, restore shadowed values, and clear ->shadowed.

(grokdeclarator): Don't warn of const or volatile function
in a system header file.
(start_struct): Push the obstacks.
Switch to permanent if at top level.
(finish_struct): Pop them.

(store_parm_decls): If we have (erroneously) a prototype
and old-style parm decls, throw away the old-style parm decls.
(finish_decl): Do the pop_obstacks sooner, when it's
time to start allocating in the ambient context's obstack.
Don't call permanent_allocation unless got back to permanent obstack.

(explicit_flag_signed_bitfields): New variable.
(c_decode_option): Set that for -f[un]signed-bitfields.
(grokdeclarator): If that's set, and -fsigned-bitfields,
disregard -traditional when handling bitfield signedness.

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

31 years agoExtract line containing "#define YYEMPTY" from
rms [Tue, 6 Oct 1992 00:20:42 +0000 (00:20 +0000)]
Extract line containing "#define YYEMPTY" from
cp-parse.c, and append to cp-parse.h (a la Makefile.in).

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

31 years ago(find_reloads_address): If tem != ad, then create a new
rms [Tue, 6 Oct 1992 00:19:55 +0000 (00:19 +0000)]
(find_reloads_address): If tem != ad, then create a new
mem to hold it and store it back into memrefloc.

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

31 years ago(TREE_VIA_PROTECTED): Set protected_flag, not static_flag.
brendan [Mon, 5 Oct 1992 22:39:55 +0000 (22:39 +0000)]
(TREE_VIA_PROTECTED): Set protected_flag, not static_flag.

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

31 years ago($(srcdir)/INSTALL): Add -D INSTALLONLY.
rms [Mon, 5 Oct 1992 22:27:37 +0000 (22:27 +0000)]
($(srcdir)/INSTALL): Add -D INSTALLONLY.

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

31 years ago(hi_reg_name, qi_reg_name, qi_high_reg_name): Not static.
rms [Mon, 5 Oct 1992 08:06:02 +0000 (08:06 +0000)]
(hi_reg_name, qi_reg_name, qi_high_reg_name): Not static.
(PRINT_REG):  Definition moved to i386.h.

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

31 years ago(hi_reg_name, qi_reg_name, qi_high_reg_name): Declared.
rms [Mon, 5 Oct 1992 08:05:38 +0000 (08:05 +0000)]
(hi_reg_name, qi_reg_name, qi_high_reg_name): Declared.
(PRINT_REG):  Definition moved from i386.c.

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

31 years ago(hard-reg-set.h): Included to get decl of `reg_names'.
rms [Mon, 5 Oct 1992 08:04:57 +0000 (08:04 +0000)]
(hard-reg-set.h):  Included to get decl of `reg_names'.
(PRINT_REG):  Default definition added.
(dwarf_last_decl):  Variable declaration added.
(output_reg_number):  New function; handle -fverbose-asm reg printing.
(output_mem_loc_descriptor, output_loc_descriptor):  Call it.
(output_decl):  Set `dwarf_last_decl' each time this fn is called.

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

31 years ago(allocate_reload_reg): Always check for asm
rms [Mon, 5 Oct 1992 06:37:26 +0000 (06:37 +0000)]
(allocate_reload_reg): Always check for asm
on failure instead of simply aborting.

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

31 years ago(gen_realpart, gen_imagpart): New functions.
rms [Mon, 5 Oct 1992 06:34:26 +0000 (06:34 +0000)]
(gen_realpart, gen_imagpart): New functions.

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

31 years ago(expand_expr): Use gen_realpart, gen_imagpart.
rms [Mon, 5 Oct 1992 06:30:54 +0000 (06:30 +0000)]
(expand_expr): Use gen_realpart, gen_imagpart.
(expand_expr): For ABS_EXPR, give expand_unop the operand's mode.
(expand_expr): For REALPART_EXPR, IMAGPART_EXPR, just return that part.

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

31 years ago(init_optabs): Use cabs as the only libcall for abs.
rms [Mon, 5 Oct 1992 06:28:37 +0000 (06:28 +0000)]
(init_optabs): Use cabs as the only libcall for abs.
(expand_complex_abs): New function.
(expand_unop, expand_binop): Use gen_realpart, gen_imagpart.

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

31 years ago(allocate_dynamic_stack_space) [MUST_ALIGN]:
rms [Mon, 5 Oct 1992 06:27:12 +0000 (06:27 +0000)]
(allocate_dynamic_stack_space) [MUST_ALIGN]:
Always add to size, always round up to STACK_BOUNDARY,
always round the address.

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

31 years agoFix typo in last change.
rms [Sun, 4 Oct 1992 23:10:06 +0000 (23:10 +0000)]
Fix typo in last change.

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

31 years ago(readescape): No warning if digits in \x are all 0's.
rms [Sun, 4 Oct 1992 04:58:30 +0000 (04:58 +0000)]
(readescape): No warning if digits in \x are all 0's.

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

31 years ago(expand_complex_abs): Add declaration.
rms [Sat, 3 Oct 1992 18:44:17 +0000 (18:44 +0000)]
(expand_complex_abs): Add declaration.

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

31 years agoAdd expand_complex_abs decl.
meissner [Sat, 3 Oct 1992 14:47:33 +0000 (14:47 +0000)]
Add expand_complex_abs decl.

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

31 years agoOn DEC OSF/1 use x-dec-osf1 for xmake-file
meissner [Sat, 3 Oct 1992 11:33:18 +0000 (11:33 +0000)]
On DEC OSF/1 use x-dec-osf1 for xmake-file

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

31 years ago*** empty log message ***
wood [Sat, 3 Oct 1992 09:03:24 +0000 (09:03 +0000)]
*** empty log message ***

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

31 years ago(gen_realpart, gen_imagpart): Declared.
rms [Sat, 3 Oct 1992 05:35:44 +0000 (05:35 +0000)]
(gen_realpart, gen_imagpart): Declared.

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

31 years ago(DBX_REGISTER_NUMBER): Don't abort here on pseudo-regs.
rms [Sat, 3 Oct 1992 02:31:20 +0000 (02:31 +0000)]
(DBX_REGISTER_NUMBER):  Don't abort here on pseudo-regs.

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

31 years ago(output_mem_loc_descriptor, output_loc_descriptor):
rms [Sat, 3 Oct 1992 02:30:30 +0000 (02:30 +0000)]
(output_mem_loc_descriptor, output_loc_descriptor):
Catch cases of bogus DECL_RTL values involving pseudo-regs (for all
target systems) and print an annoying message if we ever see such a case.

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

31 years ago(install-common-headers): Use __eprintf as indicator for GCC's assert.h.
rms [Sat, 3 Oct 1992 02:15:20 +0000 (02:15 +0000)]
(install-common-headers): Use __eprintf as indicator for GCC's assert.h.

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

31 years ago(install-common-headers): Install assert.h separately, in includedir,
rms [Sat, 3 Oct 1992 01:09:38 +0000 (01:09 +0000)]
(install-common-headers): Install assert.h separately, in includedir,
but not if file exists and lacks the magic comment.

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

31 years agoAdd magic comment at beginning.
rms [Sat, 3 Oct 1992 01:07:56 +0000 (01:07 +0000)]
Add magic comment at beginning.

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

31 years ago(includedir): New variable.
rms [Sat, 3 Oct 1992 01:04:00 +0000 (01:04 +0000)]
(includedir): New variable.
(USER_H): assert.h removed from value.
(install-common-headers): Install assert.h separately, in includedir.

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

31 years ago(reload): Move test for failure to find any group
rms [Sat, 3 Oct 1992 00:38:02 +0000 (00:38 +0000)]
(reload): Move test for failure to find any group
to after the loop over i.  Also check that all the regnos fit
below FIRST_PSEUDO_REGISTER.

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

31 years ago(expand_unop): Handle complex negate and abs val.
rms [Fri, 2 Oct 1992 01:42:33 +0000 (01:42 +0000)]
(expand_unop): Handle complex negate and abs val.
(init_optabs): Set up libcalls for complex abs.
(init_complex_libcalls): New function.

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

31 years agoUndo some of the index changes, and write our own index/rindex.
meissner [Fri, 2 Oct 1992 01:07:59 +0000 (01:07 +0000)]
Undo some of the index changes, and write our own index/rindex.

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

31 years agoRISC-OS 5.0 changes.
meissner [Thu, 1 Oct 1992 21:25:34 +0000 (21:25 +0000)]
RISC-OS 5.0 changes.

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

31 years ago(emit_reload_insns): Add a case to handle
wilson [Thu, 1 Oct 1992 19:18:06 +0000 (19:18 +0000)]
(emit_reload_insns): Add a case to handle
SECONDARY_MEMORY_NEEDED in the SECONDARY_OUTPUT_RELOAD_CLASS code.

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

31 years ago(SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg
wilson [Thu, 1 Oct 1992 19:17:02 +0000 (19:17 +0000)]
(SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg
when loading HImode and QImode values from memory to FP_REGS.
(SECONDARY_OUTPUT_RELOAD_CLASS): New macro.  Define this to handle
HImode and QImode stores from FP_REGS to memory similar to above.

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

31 years ago(declare_function_name): __FUNC__ variables
rms [Thu, 1 Oct 1992 19:01:26 +0000 (19:01 +0000)]
(declare_function_name): __FUNC__ variables
are compiler-created, so set DECL_SOURCE_LINE to zero.

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

31 years agoExpect 56 conflicts for objc.
rms [Thu, 1 Oct 1992 17:38:39 +0000 (17:38 +0000)]
Expect 56 conflicts for objc.

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

31 years ago * pa.md (add high part and dp register): Split into two patterns,
law [Thu, 1 Oct 1992 17:06:29 +0000 (17:06 +0000)]
* pa.md (add high part and dp register): Split into two patterns,
one for normal code, one for kernels.  Kernel version only allows
"r1" as the destination register.

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

31 years ago * pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence
law [Thu, 1 Oct 1992 17:05:02 +0000 (17:05 +0000)]
* pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence
which will cause "addil" instructions to be emitted instead of
"ldil; add" sequences.
* pa.h (TARGET_KERNEL): New switch "-mkernel" which forces gcc to
avoid "ldil; add" sequences with %r27 and instead generate "addil"
sequences.  This avoids a HPUX linker bug when compiling kernels.

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

31 years ago * pa.c (emit_move_sequence): When making a reference to the data
law [Thu, 1 Oct 1992 17:03:46 +0000 (17:03 +0000)]
* pa.c (emit_move_sequence): When making a reference to the data
space before reload, emit an insn sequence which is much more
likely to create "addil" instructions rather than "ldil; add"
sequences.  Doing so greatly reduces the chance of running into a
HPUX linker bug when compiling kernels.

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

31 years agoAdd mode spec for Emacs.
rms [Thu, 1 Oct 1992 09:05:18 +0000 (09:05 +0000)]
Add mode spec for Emacs.

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

31 years ago(c-parse.y, objc-parse.y): Construct from c-parse.in.
rms [Thu, 1 Oct 1992 09:03:03 +0000 (09:03 +0000)]
(c-parse.y, objc-parse.y): Construct from c-parse.in.
(gcc.xtar): Depend on c-parse.y, objc-parse.y.
(realclean): Delete c-parse.y, objc-parse.y.

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

31 years agoInitial revision
rms [Thu, 1 Oct 1992 09:01:10 +0000 (09:01 +0000)]
Initial revision

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

31 years ago(allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET
rms [Thu, 1 Oct 1992 07:55:51 +0000 (07:55 +0000)]
(allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET
or STACK_POINTER_OFFSET, always round address up to BIGGEST_ALIGNMENT.

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

31 years agoIf _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T.
rms [Thu, 1 Oct 1992 06:11:57 +0000 (06:11 +0000)]
If _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T.

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

31 years ago(NO_UNDERSCORES): Deleted.
rms [Thu, 1 Oct 1992 04:54:36 +0000 (04:54 +0000)]
(NO_UNDERSCORES): Deleted.

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

31 years ago(__eprintf): Do nothing if inhibit_eprintf is defined.
rms [Thu, 1 Oct 1992 03:34:27 +0000 (03:34 +0000)]
(__eprintf): Do nothing if inhibit_eprintf is defined.

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

31 years agoentered into RCS
rms [Wed, 30 Sep 1992 22:42:04 +0000 (22:42 +0000)]
entered into RCS

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

31 years ago(install-fixincludes): rm syslimits.h before installing.
rms [Wed, 30 Sep 1992 22:24:46 +0000 (22:24 +0000)]
(install-fixincludes): rm syslimits.h before installing.
Install it with cp.  Add an else-part to the if that installs it.

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

31 years agoDon't use system syms.h on hpux.
rms [Wed, 30 Sep 1992 21:28:24 +0000 (21:28 +0000)]
Don't use system syms.h on hpux.

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

31 years ago(orcc peephole): Don't accept FP reg for operand 0.
wilson [Wed, 30 Sep 1992 19:08:44 +0000 (19:08 +0000)]
(orcc peephole): Don't accept FP reg for operand 0.

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

31 years agoUse <...> to include va-*.h.
rms [Wed, 30 Sep 1992 05:57:35 +0000 (05:57 +0000)]
Use <...> to include va-*.h.

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

31 years ago(find_splittable_givs): recog_memoized failure return is -1 not 0.
wilson [Tue, 29 Sep 1992 22:41:28 +0000 (22:41 +0000)]
(find_splittable_givs): recog_memoized failure return is -1 not 0.

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

31 years ago(os handling): Recognize `linux' as a valid os.
roland [Tue, 29 Sep 1992 22:19:48 +0000 (22:19 +0000)]
(os handling): Recognize `linux' as a valid os.

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

31 years agoUse <...> in #include.
rms [Tue, 29 Sep 1992 21:29:17 +0000 (21:29 +0000)]
Use <...> in #include.

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

31 years agoFix comment syntax after #endif.
rms [Tue, 29 Sep 1992 20:08:08 +0000 (20:08 +0000)]
Fix comment syntax after #endif.

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

31 years ago(ENQUIRE_CFLAGS): Remove -DNO_SC.
rms [Tue, 29 Sep 1992 20:06:22 +0000 (20:06 +0000)]
(ENQUIRE_CFLAGS): Remove -DNO_SC.

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

31 years ago(expand_binop): Convert X - C to X + (-C).
kenner [Tue, 29 Sep 1992 14:14:19 +0000 (14:14 +0000)]
(expand_binop): Convert X - C to X + (-C).

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

31 years ago(copy_loop_body, JUMP_INSN case): When invert jump
wilson [Mon, 28 Sep 1992 21:25:53 +0000 (21:25 +0000)]
(copy_loop_body, JUMP_INSN case): When invert jump
insn, must first construct new insn before trying to invert it,
so that validate_change will work properly.

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

31 years ago(find_splittable_givs): Pass mem_mode not mode to memory_address_p.
wilson [Mon, 28 Sep 1992 21:21:34 +0000 (21:21 +0000)]
(find_splittable_givs): Pass mem_mode not mode to memory_address_p.

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

31 years ago(copy_loop_body, JUMP_INSN case): When setting
wilson [Mon, 28 Sep 1992 21:18:17 +0000 (21:18 +0000)]
(copy_loop_body, JUMP_INSN case): When setting
JUMP_LABEL field, verify that what we think is a label actually
is.  If it isn't then map the old JUMP_LABEL to find the new one.

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

31 years ago(orcc peephole): Don't allow FP regs to match pattern.
wilson [Mon, 28 Sep 1992 21:16:10 +0000 (21:16 +0000)]
(orcc peephole): Don't allow FP regs to match pattern.

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

31 years ago(va_arg, va_start): Explicitly cast to __gnuc_va_alist.
rms [Mon, 28 Sep 1992 21:16:00 +0000 (21:16 +0000)]
(va_arg, va_start): Explicitly cast to __gnuc_va_alist.

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

31 years ago(indirect_jump): Use bx instead of b*, and accept any
wilson [Mon, 28 Sep 1992 21:14:21 +0000 (21:14 +0000)]
(indirect_jump):  Use bx instead of b*, and accept any
address_operand instead of just a register operand.

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

31 years ago(i960_round_tree): Correct conversion of bits to bytes to
wilson [Mon, 28 Sep 1992 21:11:48 +0000 (21:11 +0000)]
(i960_round_tree): Correct conversion of bits to bytes to
round up to nearest byte.
(i960_round_align): Likewise.

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

31 years agoFix typo.
meissner [Mon, 28 Sep 1992 19:53:47 +0000 (19:53 +0000)]
Fix typo.

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

31 years ago(expand_binop): Use get_insns, not gen_sequence.
rms [Mon, 28 Sep 1992 16:24:36 +0000 (16:24 +0000)]
(expand_binop): Use get_insns, not gen_sequence.

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

31 years ago(build_unary_op): Address of nested fcn isn't constant.
rms [Mon, 28 Sep 1992 16:07:29 +0000 (16:07 +0000)]
(build_unary_op): Address of nested fcn isn't constant.

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

31 years ago(__builtin_new): Avoid passing 0 to malloc.
rms [Mon, 28 Sep 1992 13:43:23 +0000 (13:43 +0000)]
(__builtin_new): Avoid passing 0 to malloc.

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

31 years ago(indirect_jump): Use address_operand as predicate.
rms [Mon, 28 Sep 1992 13:38:03 +0000 (13:38 +0000)]
(indirect_jump): Use address_operand as predicate.

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

31 years ago(subsi3): Remove last change.
kenner [Mon, 28 Sep 1992 12:18:10 +0000 (12:18 +0000)]
(subsi3): Remove last change.
(allocate_stack): Go back to calling subsi3.

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

31 years ago(struct arg_data): New field unsignedp.
kenner [Sun, 27 Sep 1992 22:19:16 +0000 (22:19 +0000)]
(struct arg_data): New field unsignedp.
(expand_call): Handle PROMOTE_FUNCTION_ARGS and PROMOTE_FUNCTION_RETURN.

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

31 years ago(assign_parms): If PROMOTE_FUNCTION_ARGS is defined, see if the incoming
kenner [Sun, 27 Sep 1992 22:18:33 +0000 (22:18 +0000)]
(assign_parms): If PROMOTE_FUNCTION_ARGS is defined, see if the incoming
register should be used in a wider mode.
(expand_function_start): Likewise for return value if PROMOTE_FUNCTION_RETURN
is defined.

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

31 years ago(subsi3): Don't bother calling negate_rtx for constant; we shouldn't be
kenner [Sun, 27 Sep 1992 17:05:40 +0000 (17:05 +0000)]
(subsi3): Don't bother calling negate_rtx for constant; we shouldn't be
called with a constant.
(maskir patterns): Don't mention an operand before it is used; use operand
number 1 for operand with '0' constraint.
(allocate_stack): Use reg_or_short_operand for predicate of allocation amount;
use negate_rtx and always make a PLUS.

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

31 years ago(EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand.
kenner [Sun, 27 Sep 1992 17:04:57 +0000 (17:04 +0000)]
(EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand.
(SHIFT_COUNT_TRUNCATED): No longer define this.

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

31 years agoPrint OSF/rose for version info.
meissner [Sun, 27 Sep 1992 13:19:01 +0000 (13:19 +0000)]
Print OSF/rose for version info.

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

31 years ago(indirect_jump): Use %a0 for output, and p for constraint.
rms [Sun, 27 Sep 1992 03:31:24 +0000 (03:31 +0000)]
(indirect_jump): Use %a0 for output, and p for constraint.

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

31 years ago(eliminate_regs_in_insn): If recognition fails on modified insn,
rms [Sun, 27 Sep 1992 03:28:28 +0000 (03:28 +0000)]
(eliminate_regs_in_insn): If recognition fails on modified insn,
go ahead and modify just the same.

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

31 years ago(eliminate_regs_in_insn): Rerecognize if move insn becomes a non-move.
rms [Sat, 26 Sep 1992 22:48:08 +0000 (22:48 +0000)]
(eliminate_regs_in_insn): Rerecognize if move insn becomes a non-move.

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

31 years agoRISC-OS rev 5, DEC OSF/1 changes.
meissner [Sat, 26 Sep 1992 22:37:56 +0000 (22:37 +0000)]
RISC-OS rev 5, DEC OSF/1 changes.

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

31 years ago(comment before extendhisi2): Remove the lie.
tege [Sat, 26 Sep 1992 22:36:47 +0000 (22:36 +0000)]
(comment before extendhisi2): Remove the lie.
(zero_extendhisi2): Rewrite to work if op0 == op1.  Use
gen_lowpart in preparation code.
(extendqisi2, extendhisi2): Likewise.
(extendqihi2): Expand.
(restorehi): Rewrite for correctness, efficiency, and
clarity. Avoid generating insns involving truncate.  Generate
needed pseudos in preparation statements.
(storehi): Likewise.
(storeinthi): Likewise.
(movhi): Call gen_storehi, gen_restorehi, gen_storeinthi according
their new definitions.  Use force_reg to put address in register.

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