OSDN Git Service

pf3gnuchains/gcc-fork.git
29 years ago64th Cygnus<->FSF merge
mrs [Sun, 9 Apr 1995 11:41:24 +0000 (11:41 +0000)]
64th Cygnus<->FSF merge

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

29 years ago * pa.c (pa_reorg): Fix typo.
law [Sun, 9 Apr 1995 02:53:09 +0000 (02:53 +0000)]
* pa.c (pa_reorg): Fix typo.

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

29 years agoCorrect SELECT_SECTION.
meissner [Sat, 8 Apr 1995 23:42:29 +0000 (23:42 +0000)]
Correct SELECT_SECTION.

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

29 years ago * cpphash.c: Don't use const on compilers that don't support it.
mrs [Sat, 8 Apr 1995 20:38:16 +0000 (20:38 +0000)]
* cpphash.c: Don't use const on compilers that don't support it.

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

29 years ago(expand_increment): Handle case where INCREMENTED has a non-trivial
kenner [Sat, 8 Apr 1995 20:32:01 +0000 (20:32 +0000)]
(expand_increment): Handle case where INCREMENTED has a non-trivial
conversion.

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

29 years ago(TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Fix assembler syntax
kenner [Fri, 7 Apr 1995 23:33:16 +0000 (23:33 +0000)]
(TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Fix assembler syntax
errors.

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

29 years ago(VMS_fstat, VMS_stat): New functions.
kenner [Fri, 7 Apr 1995 23:27:05 +0000 (23:27 +0000)]
(VMS_fstat, VMS_stat):  New functions.

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

29 years ago(collect_expansion): If traditional, set stringify member to
kenner [Fri, 7 Apr 1995 23:18:58 +0000 (23:18 +0000)]
(collect_expansion): If traditional, set stringify member to
SHARP_TOKEN regardless of the value of stringify_sharp_token_type.

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

29 years ago(simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED, handle
kenner [Fri, 7 Apr 1995 20:04:38 +0000 (20:04 +0000)]
(simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED, handle
sign- or zero-extending addresses.

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

29 years ago(init{,_integral,_floating,_complex}_libfuncs):
kenner [Fri, 7 Apr 1995 18:03:52 +0000 (18:03 +0000)]
(init{,_integral,_floating,_complex}_libfuncs):
Change SUFFIX to "char" to avoid confusion with prototype.

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

29 years ago(expand_computed_goto): Convert from ptr_mode to Pmode.
kenner [Fri, 7 Apr 1995 16:36:39 +0000 (16:36 +0000)]
(expand_computed_goto): Convert from ptr_mode to Pmode.

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

29 years ago(convert_memory_address): Add extra arg.
kenner [Fri, 7 Apr 1995 16:36:20 +0000 (16:36 +0000)]
(convert_memory_address): Add extra arg.

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

29 years ago(expand_expr, case ADDR_EXPR): Always call convert_memory_address when
kenner [Fri, 7 Apr 1995 16:35:49 +0000 (16:35 +0000)]
(expand_expr, case ADDR_EXPR): Always call convert_memory_address when
converting; add extra arg.

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

29 years ago(convert_memory_address): No longer static.
kenner [Fri, 7 Apr 1995 16:35:25 +0000 (16:35 +0000)]
(convert_memory_address): No longer static.
New arg, TO_MODE.
Do something special for SYMBOL_REF, LABEL_REF, and CONST.
(memory_address): Add extra arg to call to convert_memory_address.

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

29 years ago(OBJECT_SUFFIX): Move to here; now has period.
kenner [Fri, 7 Apr 1995 12:10:03 +0000 (12:10 +0000)]
(OBJECT_SUFFIX): Move to here; now has period.

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

29 years ago(OBJECT_SUFFIX): Delete from here.
kenner [Fri, 7 Apr 1995 12:09:51 +0000 (12:09 +0000)]
(OBJECT_SUFFIX): Delete from here.

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

29 years ago(OBJECT_SUFFIX): Default now ".o", not "o".
kenner [Fri, 7 Apr 1995 12:09:21 +0000 (12:09 +0000)]
(OBJECT_SUFFIX): Default now ".o", not "o".
(all specs): Remove "." before %O; use %O in a few missing cases.

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

29 years ago(STAGESTUFF): Use $(exeext) for executables.
kenner [Fri, 7 Apr 1995 11:48:25 +0000 (11:48 +0000)]
(STAGESTUFF): Use $(exeext) for executables.

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

29 years ago* cpplib.c (bcopy, bzero, bcmp): Remove #undefs.
bothner [Fri, 7 Apr 1995 08:42:27 +0000 (08:42 +0000)]
* cpplib.c (bcopy, bzero, bcmp):  Remove #undefs.

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

29 years agoAccept -lites* as op sys.
rms [Fri, 7 Apr 1995 07:32:44 +0000 (07:32 +0000)]
Accept -lites* as op sys.

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

29 years ago* cpplib.c (SELF_DIR_DUMMY): New macro.
bothner [Fri, 7 Apr 1995 06:20:52 +0000 (06:20 +0000)]
* cpplib.c (SELF_DIR_DUMMY):  New macro.
(do_include):  Don't pass searchptr to finclude if it is dsp,
since that is on the stack, and would cause a dangling pointer.
If handling #include_next, recognize SELF_DIR_DUMMY.

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

29 years ago* cppalloc.c (xcalloc): Re-implement using calloc, rather than malloc+bzero.
bothner [Fri, 7 Apr 1995 06:19:22 +0000 (06:19 +0000)]
* cppalloc.c (xcalloc):  Re-implement using calloc, rather than malloc+bzero.

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

29 years ago * pa.h (MACHINE_DEPENDENT_REORG): Define.
law [Fri, 7 Apr 1995 04:56:45 +0000 (04:56 +0000)]
* pa.h (MACHINE_DEPENDENT_REORG): Define.
* pa.md (switch_jump): New pattern for jumps which implement
a switch table.
* pa.c (pa_reorg): New function to explode jump tables.
(pa_adjust_insn_length): Account for jumps in switch tables with
unfilled delay slots.

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

29 years ago(build_binary_op): Don't call common_type for uncommon pointer types.
merrill [Thu, 6 Apr 1995 21:31:01 +0000 (21:31 +0000)]
(build_binary_op): Don't call common_type for uncommon pointer types.

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

29 years agoRe-write fixproto/fix-header/etc to use cpplib.
bothner [Wed, 5 Apr 1995 21:16:26 +0000 (21:16 +0000)]
Re-write fixproto/fix-header/etc to use cpplib.

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

29 years agoMoved 'high-level' error functions from cpperror.c to cpplib.c.
bothner [Wed, 5 Apr 1995 20:34:58 +0000 (20:34 +0000)]
Moved 'high-level' error functions from cpperror.c to cpplib.c.

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

29 years ago(GNU_CPP_PREDEFINES): Remove -D__HURD__.
roland [Wed, 5 Apr 1995 03:35:44 +0000 (03:35 +0000)]
(GNU_CPP_PREDEFINES): Remove -D__HURD__.

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

29 years ago * pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment
law [Tue, 4 Apr 1995 21:26:02 +0000 (21:26 +0000)]
* pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment
problem.

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

29 years ago * reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN
law [Tue, 4 Apr 1995 21:16:40 +0000 (21:16 +0000)]
* reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN
a the target of another JUMP_INSN to fill a delay slot.

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

29 years ago63rd Cygnus<->FSF merge
mrs [Tue, 4 Apr 1995 17:51:34 +0000 (17:51 +0000)]
63rd Cygnus<->FSF merge

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

29 years ago(force_to_mode, case PLUS): Sign extend masks that are negative in OP_MODE.
tege [Mon, 3 Apr 1995 23:19:41 +0000 (23:19 +0000)]
(force_to_mode, case PLUS): Sign extend masks that are negative in OP_MODE.
(simplify_and_const_int): Sign-extend constants when they have the
most significant bit set for the target.
(merge_outer_ops): Likewise.
(simplify_shift_const): Likewise.

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

29 years ago(simplify_unary_operation): Sign-extend constants when
tege [Mon, 3 Apr 1995 23:19:02 +0000 (23:19 +0000)]
(simplify_unary_operation): Sign-extend constants when
they have the most significant bit set for the target.
(simplify_binary_operation): Likewise.

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

29 years agooops
merrill [Mon, 3 Apr 1995 23:16:19 +0000 (23:16 +0000)]
oops

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

29 years ago(umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, not CONSTANT_P.
tege [Mon, 3 Apr 1995 22:54:09 +0000 (22:54 +0000)]
(umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, not CONSTANT_P.
(smulsi3_highpart): Likewise.

(const_umulsi3_highpart): Use const_uint32_operand instead
of immediate_operand for op3.  Delete mode.
(const_smulsi3_highpart): Analogous change.

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

29 years ago(const_uint32_operand): New function.
tege [Mon, 3 Apr 1995 22:53:36 +0000 (22:53 +0000)]
(const_uint32_operand): New function.
(const_sint32_operand): New function.

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

29 years ago(clear_storage, expand_assignment, store_{expr,constructor}): Use ptr_mode
kenner [Mon, 3 Apr 1995 22:12:50 +0000 (22:12 +0000)]
(clear_storage, expand_assignment, store_{expr,constructor}): Use ptr_mode
instead of Pmode in some places.
(expand_expr, expand_builtin): Likewise.
(push_block, store_expr): Convert size to Pmode.
(expand_expr, case ADDR_EXPR): Convert from Pmode to ptr_mode.

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

29 years ago(convert_memory_address): New function.
kenner [Mon, 3 Apr 1995 22:12:15 +0000 (22:12 +0000)]
(convert_memory_address): New function.
(memory_address): Call if it needed.
(promote_mode, case POINTER_TYPE): Use Pmode and pointer extension.
(allocate_dynamic_stack_space): Convert size from ptr_mode.

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

29 years ago(nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED.
kenner [Mon, 3 Apr 1995 22:11:26 +0000 (22:11 +0000)]
(nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED.
(num_sign_bit_copies, case REG): Likewise.

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

29 years ago(allocate_dynamic_stack_space): Correct typo in last change.
wilson [Mon, 3 Apr 1995 22:08:08 +0000 (22:08 +0000)]
(allocate_dynamic_stack_space): Correct typo in last change.

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

29 years ago(gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not a constant.
wilson [Mon, 3 Apr 1995 22:00:32 +0000 (22:00 +0000)]
(gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not a constant.

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

29 years agoAdd -frepo
merrill [Mon, 3 Apr 1995 20:37:59 +0000 (20:37 +0000)]
Add -frepo

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

29 years agoGet correct bit offset for big endian (SUBREG (REG))
meissner [Mon, 3 Apr 1995 20:19:05 +0000 (20:19 +0000)]
Get correct bit offset for big endian (SUBREG (REG))

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

29 years ago62nd Cygnus<->FSF merge
mrs [Mon, 3 Apr 1995 19:28:01 +0000 (19:28 +0000)]
62nd Cygnus<->FSF merge

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

29 years agoInclude "config/linux.h" instead of "linux.h", to avoid recursion.
roland [Mon, 3 Apr 1995 04:08:34 +0000 (04:08 +0000)]
Include "config/linux.h" instead of "linux.h", to avoid recursion.

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

29 years ago(simplify_relational_operation): Don't simplify A-B for
wilson [Sun, 2 Apr 1995 21:34:42 +0000 (21:34 +0000)]
(simplify_relational_operation): Don't simplify A-B for
compare of A and B when the compare is unsigned.

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

29 years ago(stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_ to
kenner [Sun, 2 Apr 1995 12:22:56 +0000 (12:22 +0000)]
(stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_ to
_BSD_VA_LIST_.

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

29 years ago(default_compilers): Pass -W and -w to gnat1.
kenner [Sun, 2 Apr 1995 12:11:46 +0000 (12:11 +0000)]
(default_compilers): Pass -W and -w to gnat1.

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

29 years ago(STDC_VALUE): Add #undef.
kenner [Sun, 2 Apr 1995 11:57:23 +0000 (11:57 +0000)]
(STDC_VALUE): Add #undef.

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

29 years ago(chain_member_purpose): New function.
kenner [Sun, 2 Apr 1995 11:55:13 +0000 (11:55 +0000)]
(chain_member_purpose): New function.

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

29 years ago(ASM_FILE_START, LIB_SPEC): Delete from here.
kenner [Sun, 2 Apr 1995 11:54:48 +0000 (11:54 +0000)]
(ASM_FILE_START, LIB_SPEC): Delete from here.

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

29 years ago(RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call chain_member_purpose, not
kenner [Sun, 2 Apr 1995 11:54:18 +0000 (11:54 +0000)]
(RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call chain_member_purpose, not
chain_member_value.
(ASM_FILE_START, LIB_SPEC): Move to here.

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

29 years agoavoid spurious signed/unsigned comparison warnings.
merrill [Sat, 1 Apr 1995 20:18:49 +0000 (20:18 +0000)]
avoid spurious signed/unsigned comparison warnings.

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

29 years ago(SHELL): New definition.
kenner [Sat, 1 Apr 1995 14:46:59 +0000 (14:46 +0000)]
(SHELL): New definition.

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

29 years agoRemove unneeded fixes relating to __stdcall.
kenner [Sat, 1 Apr 1995 14:45:31 +0000 (14:45 +0000)]
Remove unneeded fixes relating to __stdcall.

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

29 years agoRemove unneeded #define's for non-ANSI functions.
kenner [Sat, 1 Apr 1995 14:45:11 +0000 (14:45 +0000)]
Remove unneeded #define's for non-ANSI functions.

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

29 years ago(LIB_SPEC): Add OLDNAMES.LIB.
kenner [Sat, 1 Apr 1995 14:44:55 +0000 (14:44 +0000)]
(LIB_SPEC): Add OLDNAMES.LIB.

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

29 years ago(CPP_PREDEFINES): Add definitions for __stdcall and __cdecl.
kenner [Sat, 1 Apr 1995 14:44:35 +0000 (14:44 +0000)]
(CPP_PREDEFINES): Add definitions for __stdcall and __cdecl.

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

29 years ago(cse_insn): When emitting a BARRIER, don't put it after a deleted
kenner [Sat, 1 Apr 1995 14:36:47 +0000 (14:36 +0000)]
(cse_insn): When emitting a BARRIER, don't put it after a deleted
insn.

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

29 years ago(push_reload): Initialize secondary_{in,out}_icode.
kenner [Sat, 1 Apr 1995 13:50:50 +0000 (13:50 +0000)]
(push_reload): Initialize secondary_{in,out}_icode.

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

29 years ago(print_multilib_info): Don't use LAST_PATH if not set.
kenner [Sat, 1 Apr 1995 13:25:16 +0000 (13:25 +0000)]
(print_multilib_info): Don't use LAST_PATH if not set.

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

29 years ago(extv, extzv): Don't use immediate value for operand 1.
kenner [Sat, 1 Apr 1995 13:15:54 +0000 (13:15 +0000)]
(extv, extzv): Don't use immediate value for operand 1.

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

29 years ago(expand_asm_operands): Properly ignore invalid reg in clobber.
kenner [Sat, 1 Apr 1995 12:48:19 +0000 (12:48 +0000)]
(expand_asm_operands): Properly ignore invalid reg in clobber.

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

29 years agoGeneral code cleanup.
kenner [Sat, 1 Apr 1995 12:02:06 +0000 (12:02 +0000)]
General code cleanup.
Add prototypes for static functions.
Remove unnecessary casts to (char *); add casts to (U_CHAR *).
Add parentheses suggested by `gcc -Wparentheses'.
Rename local variables as suggested by `gcc -Wshadow'.
<fcntl.h>, <stdlib.h>, <string.h>, <unistd.h>: New includes.
<sys/time.h>, <sys/resource.h>: Include only if defined(RLIMIT_STACK).
<time.h>: Include, unless <sys/time.h> already does.
(HAVE_FCNTL_H, HAVE_STDLIB_H, HAVE_SYS_TIME_H): New symbols.
(HAVE_UNISTD_H, STDC_HEADERS, TIME_WITH_SYS_TIME): Likewise.
(__attribute__, PROTO, VA_START, PRINTF_ALIST, PRINTF_DCL): New macros.
(PRINTF_PROTO{,_1,_2,_3}, DO_PROTO): Likewise.
(bcopy, bzero, bcmp): If #defined by configuration file, use that.
If STDC_HEADERS is defined, use standard C functions.
If BSTRING is defined, or USG and VMS are not defined, use
the C library.  Otherwise, use my_bcopy, my_bzero, my_bcmp.
(localtime): Remove no-longer-necessary explicit declaration.
(getenv, index, rindex): Don't declare explicitly if the appropriate system
eader should declare it.
(fdopen): Remove no-longer-used declaration.
(vprintf): Define a subsitute macro if !defined(HAVE_VPRINTF).
(main): Replace `fdopen (dup (fileno (stdout)), "w"))' with `stdout'.
(get_lintcmd, rescan, create_definition): Use bcmp instead of strncmp when both
operands are known to be free of null bytes.
(check_macro_name, compare_defs, collect_expansion): Likewise.
(do_assert, compare_token_lists, assertion_lookup, do_line): Likewise.
(skip_if_group, lookup): Likewise.
(rescan): Remove unused label `startagain'.
Abort instead of printing nonsense if the stack is corrupted when there was an
unterminated successful conditional.
(pcfinclude): Include explicit double-cast through GENERICPTR to identify
particularly egregious type puns.
(create_definition, do_define, check_macro_name): Use %.*s printf format to
avoid painful copying-and-casting.
(do_once): Return void, not (unused) int.
(do_ident, do_pragma, do_sccs): Accept extra arguments so that all
directive-handler's types match.
(do_sccs): Define only if SCCS_DIRECTIVE is defined.
(skip_if_group, dump_single_macro): Add `default: break;' to keep -Wswitch
happy.
(error, warning, error_with_line, vwarning_with_line, pedwarn): Use
stdarg/vararg/vfprintf instead of passing bogus char * args around.
(pedwarn_with_line, pedwarn_with_file_and_line, fatal):  Likewise.
(verror, vwarning, verror_with_line, vwarning_with_line): New fcns.
(dump_single_macro): Abort if ap points to garbage.
(make_definition, make_undef, make_assertion): Parameter now char *.
(xmalloc, xrealloc, xcalloc, savestring, index0): Make sizes size_t
instead of unsigned; make pointer parameters GENERICPTR, not char *.
(xcalloc): Use bzero to clear memory instead of using own loop.

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

29 years agoRemove #include of machine/ansi.h.
kenner [Fri, 31 Mar 1995 23:34:12 +0000 (23:34 +0000)]
Remove #include of machine/ansi.h.

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

29 years ago(umul_ppmm mc68000): Use %# instead of #.
raeburn [Fri, 31 Mar 1995 16:37:52 +0000 (16:37 +0000)]
(umul_ppmm mc68000): Use %# instead of #.

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

29 years agoAdd -fpack-struct.
meissner [Fri, 31 Mar 1995 14:35:03 +0000 (14:35 +0000)]
Add -fpack-struct.

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

29 years agoInitial revision
kenner [Fri, 31 Mar 1995 13:40:10 +0000 (13:40 +0000)]
Initial revision

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

29 years agoFix premature close comment.
kenner [Fri, 31 Mar 1995 13:26:01 +0000 (13:26 +0000)]
Fix premature close comment.

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

29 years ago(expand_asm_operands): Properly handle output that can't be directly
kenner [Fri, 31 Mar 1995 13:19:01 +0000 (13:19 +0000)]
(expand_asm_operands): Properly handle output that can't be directly
written into.

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

29 years ago(init_attributes): A_FORMAT is only for decls.
kenner [Fri, 31 Mar 1995 12:26:28 +0000 (12:26 +0000)]
(init_attributes): A_FORMAT is only for decls.

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

29 years ago(structsp): Correct error in last change.
kenner [Fri, 31 Mar 1995 12:26:06 +0000 (12:26 +0000)]
(structsp): Correct error in last change.

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

29 years agoRemove explicit 0-initializations of static variables.
merrill [Thu, 30 Mar 1995 23:51:30 +0000 (23:51 +0000)]
Remove explicit 0-initializations of static variables.

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

29 years ago(get_last_value): Revert back to use prev_nonnote_insn
wilson [Thu, 30 Mar 1995 23:34:12 +0000 (23:34 +0000)]
(get_last_value): Revert back to use prev_nonnote_insn
instead of prev_real_insn.  Modify test that ignores USE insns.

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

29 years ago(SELECT_SECTION): Apply constant DECL_INITIAL test only to DECLs.
wilson [Thu, 30 Mar 1995 23:25:51 +0000 (23:25 +0000)]
(SELECT_SECTION): Apply constant DECL_INITIAL test only to DECLs.

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

29 years ago(warn_if_unused_value): Add declaration.
kenner [Thu, 30 Mar 1995 23:22:33 +0000 (23:22 +0000)]
(warn_if_unused_value): Add declaration.

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

29 years ago(make warn_if_unused_value): No longer static.
kenner [Thu, 30 Mar 1995 23:22:05 +0000 (23:22 +0000)]
(make warn_if_unused_value): No longer static.

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

29 years ago(internal_build_compound_expr): Warn if LHS of comma expression has no
kenner [Thu, 30 Mar 1995 23:21:34 +0000 (23:21 +0000)]
(internal_build_compound_expr): Warn if LHS of comma expression has no
side effects, or computes value which is not used.

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

29 years ago(allocate_dynamic_stack_space): Test STACK_BOUNDARY against
wilson [Thu, 30 Mar 1995 23:14:37 +0000 (23:14 +0000)]
(allocate_dynamic_stack_space): Test STACK_BOUNDARY against
BIGGEST_ALIGNMENT at run time instead of at compile time.  Give
MUST_ALIGN macro a value, and test this value in if statements.

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

29 years ago(valid_machine_attribute): Now receive name and args.
kenner [Thu, 30 Mar 1995 13:59:39 +0000 (13:59 +0000)]
(valid_machine_attribute): Now receive name and args.

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

29 years ago(enum attrs): New enum class.
kenner [Thu, 30 Mar 1995 13:59:11 +0000 (13:59 +0000)]
(enum attrs): New enum class.
(attrtab, attrtab_idx): New variables.
(add_attribute, init_attributes): New functions.
(decl_attributes): Major rewrite.

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

29 years agoNow have 27 shift/reduce conflicts.
kenner [Thu, 30 Mar 1995 13:58:33 +0000 (13:58 +0000)]
Now have 27 shift/reduce conflicts.
(attribute_list): Just make chain of all attributes.
(attrib): Consistently put name as PURPOSE, args, if any, as VALUE.
(structsp): Allow attributes on any struct or union.

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

29 years agoUse the phrase `preprocessing directive' consistently.
kenner [Thu, 30 Mar 1995 12:28:26 +0000 (12:28 +0000)]
Use the phrase `preprocessing directive' consistently.

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

29 years ago(handle_directive, do_line, skip_if_group): Use the phrase `preprocessing
kenner [Thu, 30 Mar 1995 12:27:50 +0000 (12:27 +0000)]
(handle_directive, do_line, skip_if_group): Use the phrase `preprocessing
directive' consistently.
(output_line_directive): Renamed from output_line_command.
(no_line_directives): Renamed from no_line_commands.

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

29 years ago(rescan): Don't recognize preprocessing directives within macro args.
kenner [Thu, 30 Mar 1995 12:19:57 +0000 (12:19 +0000)]
(rescan): Don't recognize preprocessing directives within macro args.
Warn if one is found.

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

29 years agoExtensive modifications to use ELF format as default.
kenner [Thu, 30 Mar 1995 11:20:09 +0000 (11:20 +0000)]
Extensive modifications to use ELF format as default.
(LIB_SPEC): Don't use libc_p.a for -p. don't use libg.a unless for -ggdb.
(LINUX_DEFAULT_ELF): Defined.

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

29 years agoInitial revision
kenner [Thu, 30 Mar 1995 11:18:41 +0000 (11:18 +0000)]
Initial revision

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

29 years ago * libgcc2.c (__throw_type_match): Update to use new calling convention.
mrs [Thu, 30 Mar 1995 00:10:54 +0000 (00:10 +0000)]
    * libgcc2.c (__throw_type_match): Update to use new calling convention.

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

29 years ago(process_command): Delete code modifying gcc_exec_prefix.
wilson [Wed, 29 Mar 1995 23:10:28 +0000 (23:10 +0000)]
(process_command): Delete code modifying gcc_exec_prefix.
(main): Put it here after last use of gcc_exec_prefix.  For cross
compiler, set startfile_prefixes if gcc_exec_prefix is set and
standard_startfile_prefix is a relative path.

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

29 years ago(make_compound_operation, AND case): Undo July 7, 1994
wilson [Wed, 29 Mar 1995 23:02:10 +0000 (23:02 +0000)]
(make_compound_operation, AND case): Undo July 7, 1994
change.

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

29 years ago(call_internal1, call_value_internal1): Move %* from start
wilson [Wed, 29 Mar 1995 22:53:59 +0000 (22:53 +0000)]
(call_internal1, call_value_internal1): Move %* from start
of assembler output to immediately before the jal.

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

29 years ago(function_prologue): Put SDB_DEBUGGING_INFO ifdef around
wilson [Wed, 29 Mar 1995 22:44:35 +0000 (22:44 +0000)]
(function_prologue): Put SDB_DEBUGGING_INFO ifdef around
code for SDB_DEBUG support.
(mips_select_rtx_section, mips_select_section): Change rdata_section
to READONLY_DATA_SECTION and sdata_section to SMALL_DATA_SECTION.

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

29 years ago(SMALL_DATA_SECTION): Define.
wilson [Wed, 29 Mar 1995 22:43:49 +0000 (22:43 +0000)]
(SMALL_DATA_SECTION): Define.

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

29 years ago(mark_referenced_resources): Make setjmp use all registers.
wilson [Wed, 29 Mar 1995 22:38:28 +0000 (22:38 +0000)]
(mark_referenced_resources): Make setjmp use all registers.

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

29 years ago(mark_used_regs, case SUBREG): Only fall through to REG case
wilson [Wed, 29 Mar 1995 22:34:41 +0000 (22:34 +0000)]
(mark_used_regs, case SUBREG): Only fall through to REG case
if operand is a REG.

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

29 years ago(CPP_PREDEFINES): Add -D__SVR4.
wilson [Wed, 29 Mar 1995 22:25:58 +0000 (22:25 +0000)]
(CPP_PREDEFINES): Add -D__SVR4.

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

29 years ago(andcosts): Modify costs to match the hardware, and add
wilson [Wed, 29 Mar 1995 21:58:12 +0000 (21:58 +0000)]
(andcosts): Modify costs to match the hardware, and add
explanatory comments.

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

29 years ago61st Cygnus<->FSF merge
mrs [Wed, 29 Mar 1995 20:32:43 +0000 (20:32 +0000)]
61st Cygnus<->FSF merge

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

29 years ago(TARGET_SWITCHES): Make -mold-align set
wilson [Wed, 29 Mar 1995 19:53:08 +0000 (19:53 +0000)]
(TARGET_SWITCHES): Make -mold-align set
TARGET_FLAG_STRICT_ALIGN.
(STRICT_ALIGNMENT): Test TARGET_STRICT_ALIGN.

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

29 years agoDo not move float values through memory to get to/from gp registers if -msoft-float.
meissner [Wed, 29 Mar 1995 19:38:55 +0000 (19:38 +0000)]
Do not move float values through memory to get to/from gp registers if -msoft-float.

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

29 years ago(decl_attributes): Clean up test for __mode__.
kenner [Wed, 29 Mar 1995 11:47:28 +0000 (11:47 +0000)]
(decl_attributes): Clean up test for __mode__.

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