OSDN Git Service

pf3gnuchains/gcc-fork.git
31 years ago(find_a_file): Always reject "./ld".
kenner [Thu, 11 Feb 1993 19:41:46 +0000 (19:41 +0000)]
(find_a_file): Always reject "./ld".
(main): Pass short name of program as first arg to fork_execute; ensure
argv[0] always gets filename.
(fork_execute): Print name for diagnostic from PROG; filename comes from
argv[0].

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

31 years agoDon't assume that macros defining IO and CTRL ioctl codes always use
kenner [Thu, 11 Feb 1993 18:49:37 +0000 (18:49 +0000)]
Don't assume that macros defining IO and CTRL ioctl codes always use
`x'; some use `c' or `g'.

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

31 years ago(putenv): New function, copied from gcc.c.
kenner [Thu, 11 Feb 1993 10:55:22 +0000 (10:55 +0000)]
(putenv): New function, copied from gcc.c.
(last_file_name): New variable.
(find_a_file): Ignore name in last_file_name too.
(main): Look at name in COLLECT_NAME and set it to the name we were called
with.
Pass filename used for ld to ld as argv[0].

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

31 years ago(expand_builtin): Move memory_address calls
rms [Thu, 11 Feb 1993 08:56:16 +0000 (08:56 +0000)]
(expand_builtin): Move memory_address calls
out of arglist of emit_block_move.

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

31 years ago(version_string): Declare.
kenner [Wed, 10 Feb 1993 21:13:53 +0000 (21:13 +0000)]
(version_string): Declare.
(current_file_function_operand): New function, replaces
current_function_operand.
(print_operand, case 'F'): Case deleted.
(alpha_builtin_saveregs): Reworked to use homed arglists, as recommended in
the calling standard.
(alpha_need_gp): Deleted, code moved into output_prolog.
(alpha_gp_dead_after): Deleted; optimization is not safe.
(alpha_write_verstamp): New function.
(output_prolog, output_epilog): Major rework to update to current
calling standard.

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

31 years ago(call insns): Always reload gp after a full call.
kenner [Wed, 10 Feb 1993 21:12:51 +0000 (21:12 +0000)]
(call insns): Always reload gp after a full call.
Use current_file_function_operand to see when we can use BSR.

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

31 years ago(ASM_OUTPUT_LOOP_ALIGN): Enable, now that assembler fixed.
kenner [Wed, 10 Feb 1993 21:12:20 +0000 (21:12 +0000)]
(ASM_OUTPUT_LOOP_ALIGN): Enable, now that assembler fixed.
(SLOW_UNALIGNED_ACCESS): Define as 1.
(ARG_POINTER_REGNUM): Use register number 31 as an arg pointer.
(FRAME_GROWS_DOWNWARD): Do not define.
(STARTING_FRAME_OFFSET): Now is outgoing args size.
(FIRST_PARM_OFFSET): Now 0.
(ELIMINABLE_REGS, etc.): Cannot eliminate gp, but do eliminate AP in favor
of either SP or FP.
(RETURN_IN_MEMORY): All structs or integers larger than 64 bits get returned
via memory.
(SETUP_INCOMING_VARARGS): Use homed arglist mechanism.
(ASM_DECLARE_FUNCTION_NAME): Use proper second arg to .ent.
(ASM_FILE_START): Call alpha_write_verstamp.
(ENCODE_SECTION_INFO): Record when a decl is for a function in the current
file.

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

31 years agoremoved m88kbcs, changed delta88 and harris to
hassey [Wed, 10 Feb 1993 17:56:58 +0000 (17:56 +0000)]
removed m88kbcs, changed delta88 and harris to
        use sysv3.

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

31 years ago(duplicate_decls): Silently accept harmless mismatch
rms [Wed, 10 Feb 1993 08:30:25 +0000 (08:30 +0000)]
(duplicate_decls): Silently accept harmless mismatch
in type of 1st arg of builtin function.

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

31 years ago * alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not
brendan [Wed, 10 Feb 1993 03:16:37 +0000 (03:16 +0000)]
    * alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not
        `cvttq', to avoid rounding up.

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

31 years agoentered into RCS
rms [Tue, 9 Feb 1993 23:47:23 +0000 (23:47 +0000)]
entered into RCS

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

31 years agoInitial revision
rms [Tue, 9 Feb 1993 23:47:17 +0000 (23:47 +0000)]
Initial revision

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

31 years ago(setup_incoming_promotions): New function.
kenner [Tue, 9 Feb 1993 23:45:34 +0000 (23:45 +0000)]
(setup_incoming_promotions): New function.
(combine_instructions): Add calls to setup_incoming_promotions.

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

31 years agoDeclare promoted_input_arg.
kenner [Tue, 9 Feb 1993 23:45:06 +0000 (23:45 +0000)]
Declare promoted_input_arg.

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

31 years ago(promoted_input_arg): New function.
kenner [Tue, 9 Feb 1993 23:44:25 +0000 (23:44 +0000)]
(promoted_input_arg): New function.

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

31 years ago * fixincludes: Fix logic about when to duplicate entries under the
brendan [Tue, 9 Feb 1993 19:05:03 +0000 (19:05 +0000)]
    * fixincludes: Fix logic about when to duplicate entries under the
        `FILE' link.

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

31 years ago(main): Fix lineno of "does not end in newline" message.
rms [Tue, 9 Feb 1993 18:50:33 +0000 (18:50 +0000)]
(main): Fix lineno of "does not end in newline" message.
(finclude): Likewise.

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

31 years agoFix integer overflows
meissner [Tue, 9 Feb 1993 17:06:09 +0000 (17:06 +0000)]
Fix integer overflows

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

31 years agoUndefine ABS; some POSIX systems define it as 1.
kenner [Tue, 9 Feb 1993 10:46:08 +0000 (10:46 +0000)]
Undefine ABS; some POSIX systems define it as 1.

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

31 years ago(combine_instructions): When calling set_nonzero_bits_and_sign_copies,
kenner [Tue, 9 Feb 1993 10:45:36 +0000 (10:45 +0000)]
(combine_instructions): When calling set_nonzero_bits_and_sign_copies,
set things up so that we can call get_last value; call
record_dead_and_set_regs in loop.
(set_nonzero_bits_and_sign_copies): Handle paradoxical SET.

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

31 years ago(size_in_bytes): Add 2nd arg to force_fit_type.
rms [Tue, 9 Feb 1993 06:13:46 +0000 (06:13 +0000)]
(size_in_bytes): Add 2nd arg to force_fit_type.

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

31 years ago(compile_file): Don't flag global register variables as unused.
hassey [Mon, 8 Feb 1993 15:17:53 +0000 (15:17 +0000)]
(compile_file): Don't flag global register variables as unused.

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

31 years ago(extendsidi2): Use correct mnemonic for cwtl opcode.
jrv [Mon, 8 Feb 1993 14:09:00 +0000 (14:09 +0000)]
(extendsidi2): Use correct mnemonic for cwtl opcode.

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

31 years agoAllow passing nonaligned BLKmode structs in regs.
kenner [Mon, 8 Feb 1993 10:51:58 +0000 (10:51 +0000)]
Allow passing nonaligned BLKmode structs in regs.
(struct arg_data): New fields aligned_regs and n_aligned_regs.
(expand_call): Set and use these fields when required.
(store_one_arg): Don't pass reg to emit_push_insn if we have previously
formed aligned registers.

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

31 years ago(emit_push_insn): If REG is zero, don't set regs here.
kenner [Mon, 8 Feb 1993 10:49:27 +0000 (10:49 +0000)]
(emit_push_insn): If REG is zero, don't set regs here.

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

31 years ago(MUST_PASS_IN_STACK_BAD_ALIGN): Deleted.
kenner [Mon, 8 Feb 1993 10:49:05 +0000 (10:49 +0000)]
(MUST_PASS_IN_STACK_BAD_ALIGN): Deleted.
(MUST_PASS_IN_STACK): No problem anymore with nonaligned structs.

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

31 years ago(emit_store_flag): Add missing arg to convert_move.
rms [Mon, 8 Feb 1993 04:34:45 +0000 (04:34 +0000)]
(emit_store_flag): Add missing arg to convert_move.

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

31 years ago(struct arg_data): New field MODE.
kenner [Sun, 7 Feb 1993 21:12:57 +0000 (21:12 +0000)]
(struct arg_data): New field MODE.
(expand_call, store_one_arg): Use it to ensure that all args get
promoted if requested, not just those passed in registers.

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

31 years ago(yylex): At eof, if binding levels not popped,
rms [Sun, 7 Feb 1993 18:15:41 +0000 (18:15 +0000)]
(yylex): At eof, if binding levels not popped,
imagine some close-braces to pop them.

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

31 years ago(fold): Call force_fit_type with two parameters.
rms [Sun, 7 Feb 1993 17:24:37 +0000 (17:24 +0000)]
(fold): Call force_fit_type with two parameters.

(force_fit_type): Don't examine the tree until
it is known to an INTEGER_CST.  If it isn't, just return.

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

31 years ago(movqi): For special case of moving byte
rms [Sun, 7 Feb 1993 01:24:09 +0000 (01:24 +0000)]
(movqi): For special case of moving byte
to stack, push into low byte and then copy to high byte.
For case of moving to/from address reg, exchange it with d0.

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

31 years ago(expand_expr_stmt): Bypass fetching a volatile value if it is VOIDmode.
rms [Sat, 6 Feb 1993 01:02:25 +0000 (01:02 +0000)]
(expand_expr_stmt): Bypass fetching a volatile value if it is VOIDmode.

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

31 years agoInitial revision
wilson [Fri, 5 Feb 1993 23:50:44 +0000 (23:50 +0000)]
Initial revision

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

31 years ago(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
wilson [Fri, 5 Feb 1993 23:42:43 +0000 (23:42 +0000)]
(i[34]86sol2):  New abbrev for i[34]86-unknown-solaris2.

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

31 years ago(__do_global_ctors_aux): Use FORCE_INIT_SECTION_ALIGN
wilson [Fri, 5 Feb 1993 23:41:52 +0000 (23:41 +0000)]
(__do_global_ctors_aux):  Use FORCE_INIT_SECTION_ALIGN
to avoid Solaris 2, x86 linker bug.

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

31 years ago(EXTRA_CONSTAINTS): Delete 'R' support.
wilson [Fri, 5 Feb 1993 23:37:09 +0000 (23:37 +0000)]
(EXTRA_CONSTAINTS): Delete 'R' support.
(CONST_OK_FOR_LETTER_P): Correct 'K' comment.

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

31 years ago(CEIL): Delete.
wilson [Fri, 5 Feb 1993 23:35:32 +0000 (23:35 +0000)]
(CEIL): Delete.
(restore_referenced_regs): New var NUMREGS.  Pass NUMREGS to
insert_save_restore instead of using using CEIL.

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

31 years ago(true_dependence, anti_dependence, output_dependence):
wilson [Fri, 5 Feb 1993 23:33:36 +0000 (23:33 +0000)]
(true_dependence, anti_dependence, output_dependence):
Assume that MEM_IN_STRUCT_P QImode varying addresses can overlap a
non-MEM_IN_STRUCT_P fixed address.

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

31 years ago(legitimate_address_p): Accept either REG or SUBREG where
wilson [Fri, 5 Feb 1993 23:31:30 +0000 (23:31 +0000)]
(legitimate_address_p): Accept either REG or SUBREG where
a register is valid in an address.

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

31 years ago(finclude): Error if try to include a directory.
wilson [Fri, 5 Feb 1993 23:26:54 +0000 (23:26 +0000)]
(finclude): Error if try to include a directory.
(S_ISDIR): Add a default definition.

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

31 years ago(build_c_cast): Bypass default_conversion when casting to void.
rms [Fri, 5 Feb 1993 23:00:46 +0000 (23:00 +0000)]
(build_c_cast): Bypass default_conversion when casting to void.

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

31 years agoAdd some prototypes.
rms [Fri, 5 Feb 1993 22:56:37 +0000 (22:56 +0000)]
Add some prototypes.

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

31 years ago * toplev.c (lang_options): Remove `-fSOS' and `-fno-SOS'.
brendan [Fri, 5 Feb 1993 18:33:46 +0000 (18:33 +0000)]
* toplev.c (lang_options): Remove `-fSOS' and `-fno-SOS'.

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

31 years ago(emit_library_call, emit_library_call_value):
rms [Wed, 3 Feb 1993 23:26:51 +0000 (23:26 +0000)]
(emit_library_call, emit_library_call_value):
Handle STACK_BOUNDARY when using push insns.

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

31 years ago(init_objc): Use xrealoc, not realloc.
rms [Wed, 3 Feb 1993 23:23:22 +0000 (23:23 +0000)]
(init_objc): Use xrealoc, not realloc.

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

31 years agoFix typos.
rms [Wed, 3 Feb 1993 01:48:09 +0000 (01:48 +0000)]
Fix typos.

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

31 years ago(assemble_zeros): Output nothing rather than empty skip.
rms [Wed, 3 Feb 1993 00:16:18 +0000 (00:16 +0000)]
(assemble_zeros): Output nothing rather than empty skip.

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

31 years agoComment fixes.
rms [Tue, 2 Feb 1993 23:38:03 +0000 (23:38 +0000)]
Comment fixes.

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

31 years ago(build_conditional_expr): Always convert and check
rms [Tue, 2 Feb 1993 23:37:23 +0000 (23:37 +0000)]
(build_conditional_expr): Always convert and check
both result operands even if condition is constant.

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

31 years agoAdd some braces for clarity.
rms [Tue, 2 Feb 1993 23:35:04 +0000 (23:35 +0000)]
Add some braces for clarity.

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

31 years ago(stmp-fixincludes): Don't run FIXINCLUDES if it is Makefile.in.
rms [Tue, 2 Feb 1993 23:10:57 +0000 (23:10 +0000)]
(stmp-fixincludes): Don't run FIXINCLUDES if it is Makefile.in.

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

31 years ago(pushdecl): DECL_EXTERNAL implies TREE_PUBLIC, so test just the latter.
rms [Tue, 2 Feb 1993 22:54:34 +0000 (22:54 +0000)]
(pushdecl): DECL_EXTERNAL implies TREE_PUBLIC, so test just the latter.

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

31 years ago(int_reg_class_contents): Make unsigned to avoid signed integer overflow.
rms [Tue, 2 Feb 1993 22:25:11 +0000 (22:25 +0000)]
(int_reg_class_contents): Make unsigned to avoid signed integer overflow.
(init_reg_sets): Avoid signed integer overflow.

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

31 years ago(parse_escape): Support \E and \e like cc1:
rms [Tue, 2 Feb 1993 22:14:40 +0000 (22:14 +0000)]
(parse_escape):  Support \E and \e like cc1:
they mean \033, and they generate a warning if pedantic.

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

31 years ago(install-headers-cpio): Delete spurious parens from around the whole command.
rms [Tue, 2 Feb 1993 21:39:02 +0000 (21:39 +0000)]
(install-headers-cpio): Delete spurious parens from around the whole command.
(install-headers-tar): Delete parens around the "source" tar cmd.

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

31 years ago(INSTALL_TARGET): Delete.
wilson [Tue, 2 Feb 1993 20:17:24 +0000 (20:17 +0000)]
(INSTALL_TARGET): Delete.

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

31 years ago * Makefile.in (gcc.o): Depend upon config.status, so any changes
brendan [Tue, 2 Feb 1993 19:18:03 +0000 (19:18 +0000)]
    * Makefile.in (gcc.o): Depend upon config.status, so any changes
        in prefix will be communicated to the build process.
        (cccp.o): Likewise.

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

31 years ago(cmov): Use @ for output.
tege [Tue, 2 Feb 1993 12:10:28 +0000 (12:10 +0000)]
(cmov): Use @ for output.

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

31 years ago(constant_expression_warning): Suppress duplicate warnings.
rms [Tue, 2 Feb 1993 04:40:43 +0000 (04:40 +0000)]
(constant_expression_warning): Suppress duplicate warnings.
(convert_and_check, overflow_warning, unsigned_conversion_warning):
New functions.  Prototypes added to c-tree.h.

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

31 years ago(parser_build_binary_op): Warn about overflows and
rms [Tue, 2 Feb 1993 04:40:04 +0000 (04:40 +0000)]
(parser_build_binary_op): Warn about overflows and
conversions of out-of-range constants in parser-built binary expressions.
(build_conditional_expr): Check conversions in if-then-else expressions.
(build_c_cast): Ignore any integer overflow caused by a cast.
(convert_for_assignment): Warn if source had overflow in folding.
(process_init_constructor): Report overflows in array initializer indexes.

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

31 years ago(unary_expr): Warn about overflows in parser-built unary expressions.
rms [Tue, 2 Feb 1993 04:39:14 +0000 (04:39 +0000)]
(unary_expr): Warn about overflows in parser-built unary expressions.

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

31 years ago(finish_decl, grokdeclarator, finish_struct): Report
rms [Tue, 2 Feb 1993 04:38:30 +0000 (04:38 +0000)]
(finish_decl, grokdeclarator, finish_struct): Report
overflows in storage sizes.
(build_enumerator): Report overflows in enumerators.

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

31 years ago(same_sign): Removed.
rms [Tue, 2 Feb 1993 04:37:37 +0000 (04:37 +0000)]
(same_sign): Removed.
(lshift_double): Don't report arithmetic overflow, since the
C standard doesn't seem to require it here.
(force_fit_type): Accept new parameter specifying whether a signed
overflow has already occurred.  Yield overflow indication.
All callers changed.
(neg_double): Don't report overflow when -0 yields 0.
(const_binop): Propagate operand overflow for warnings.
Don't report overflow when -1 + 1 yields 0.

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

31 years ago(expand_builtin): Report overflow if __builtin_args_info
rms [Tue, 2 Feb 1993 04:26:15 +0000 (04:26 +0000)]
(expand_builtin): Report overflow if __builtin_args_info
arg exceeds one word.
Fix punctuation of error messages.

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

31 years ago(iorsi3): Add CC_STATUS_INIT if use bset.
rms [Mon, 1 Feb 1993 16:58:37 +0000 (16:58 +0000)]
(iorsi3): Add CC_STATUS_INIT if use bset.

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

31 years ago(simplify_and_const_int): Never consider bits outside of MODE.
kenner [Sun, 31 Jan 1993 22:44:48 +0000 (22:44 +0000)]
(simplify_and_const_int): Never consider bits outside of MODE.

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

31 years ago * (build_module_descriptor): fix call to start_function
dje [Sun, 31 Jan 1993 20:24:19 +0000 (20:24 +0000)]
* (build_module_descriptor): fix call to start_function

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

31 years ago(zvdep32): Handle 5 bit immediates for operand 1.
tege [Sun, 31 Jan 1993 18:07:14 +0000 (18:07 +0000)]
(zvdep32): Handle 5 bit immediates for operand 1.
(ashlsi3): Likewise.
(and + ashift): New combine pattern.

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

31 years agoInclude gvarargs.h before system headers.
rms [Sun, 31 Jan 1993 17:43:09 +0000 (17:43 +0000)]
Include gvarargs.h before system headers.

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

31 years ago * (build_compound_expr): insert missing return
dje [Sat, 30 Jan 1993 23:46:58 +0000 (23:46 +0000)]
* (build_compound_expr): insert missing return

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

31 years ago of the comparison.
law [Sat, 30 Jan 1993 21:10:29 +0000 (21:10 +0000)]
of the comparison.
(cmpXf insns): Allow 0.0 for either operand of the
comparison.  Update output template to handle 0.0 as one
of the operands.
(movsi insn, fp->fp case): Update constraints and template to
allow store of zero into an FP register.
(movhi insn, fp->fp case): Likewise.
(movqi insn, fp->fp case): Likewise.
(movdi insn, fp->fp case): Likewise.
(movDF const_double pattern): Do not apply this pattern
if the const_double is zero.
(movdf insn, fp->fp and gr->gr cases): Update constraints
and output template to allow store of zero into a FP or GR.
Update condition string to allow zero as operand 1.
(movsf insn, fp->fp and gr->gr cases): Likewise.  Also allow
store of zero into a memory location.

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

31 years ago * pa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize.
law [Sat, 30 Jan 1993 21:10:07 +0000 (21:10 +0000)]
* pa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize.
(LEGITIMATE_CONSTANT_P): Allow 0.0.
(CONST_COSTS, case CONST_DOUBLE): fp0.0 is free when
not used in a SET expression.

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

31 years ago * pa.c (reg_or_0_operand): Use CONST0_RTX instead of
law [Sat, 30 Jan 1993 21:09:51 +0000 (21:09 +0000)]
* pa.c (reg_or_0_operand): Use CONST0_RTX instead of
const0_rtx.
(reg_or_0_or_nonsymb_mem_operand): New function.
(emit_move_sequence): Copying CONST0_RTX into any
register can be done directly.  Use CONST0_RTX instead
of const0_rtx.
(output_fp_move_double): Handle copying a CONST0_RTX
into FP or integer registers.
(print_operand): Handle "%r0" for DFmode and SFmode
values too.

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

31 years agoAdd many prototypes from bill@cygnus.com.
rms [Sat, 30 Jan 1993 19:59:11 +0000 (19:59 +0000)]
Add many prototypes from bill@cygnus.com.

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

31 years ago * c-decl.c (c_build_type_variant): Moved to c-common.c.
niklas [Sat, 30 Jan 1993 06:06:30 +0000 (06:06 +0000)]
* c-decl.c (c_build_type_variant): Moved to c-common.c.

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

31 years ago * c-common.c (c_build_type_variant): Moved here from c-decl.c.
niklas [Sat, 30 Jan 1993 06:06:09 +0000 (06:06 +0000)]
* c-common.c (c_build_type_variant): Moved here from c-decl.c.
Redirected the TYPE_MAIN_VARIANT to the "real" main variant.
Build the possibly new array type on the permanent obstack if it
        the original type was permanent.
(permanent_obstack): Added extern declaration.

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

31 years ago(force_fit_type): Abort if T not INTEGER_CST.
rms [Sat, 30 Jan 1993 01:57:54 +0000 (01:57 +0000)]
(force_fit_type): Abort if T not INTEGER_CST.

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

31 years ago(size_in_bytes): Only call force_fit_type for an INTEGER_CST.
rms [Sat, 30 Jan 1993 01:56:57 +0000 (01:56 +0000)]
(size_in_bytes): Only call force_fit_type for an INTEGER_CST.

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

31 years ago * reload.c (find_reloads_toplev): When handling a (subreg (reg))
law [Fri, 29 Jan 1993 17:09:30 +0000 (17:09 +0000)]
* reload.c (find_reloads_toplev): When handling a (subreg (reg))
where (reg) will be replaced by a memory reference, if the memory
address is invalid for the mode of the subreg, then search the
memory address for reloads.

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

31 years ago * pa.h (FIXED_REGISTERS): %r31 is not fixed.
law [Fri, 29 Jan 1993 17:07:33 +0000 (17:07 +0000)]
* pa.h (FIXED_REGISTERS): %r31 is not fixed.

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

31 years ago(compare_for_stack_reg): Properly swap operands of a COMPARE.
jrv [Fri, 29 Jan 1993 05:48:47 +0000 (05:48 +0000)]
(compare_for_stack_reg): Properly swap operands of a COMPARE.

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

31 years ago * pa.md (iorsi3): Split into two patterns, a named "iorsi3" which
law [Thu, 28 Jan 1993 18:59:42 +0000 (18:59 +0000)]
* pa.md (iorsi3): Split into two patterns, a named "iorsi3" which
only accepts registers, and a combiner pattern which accepts a
restricted set of constant integers for one term.

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

31 years ago * pa.c (ior_operand): Do not accept registers.
law [Thu, 28 Jan 1993 18:59:15 +0000 (18:59 +0000)]
* pa.c (ior_operand): Do not accept registers.

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

31 years ago * pa.h (LEGITIMIZE_ADDRESS): Delete cases which can never happen.
law [Thu, 28 Jan 1993 18:56:26 +0000 (18:56 +0000)]
* pa.h (LEGITIMIZE_ADDRESS): Delete cases which can never happen.

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

31 years ago * pa.h (CPP_SPEC for OLD_CC): Delete.
law [Thu, 28 Jan 1993 18:53:11 +0000 (18:53 +0000)]
* pa.h (CPP_SPEC for OLD_CC): Delete.
(CC1_SPEC for OLD_CC): Likewise.
(MODES_TIEABLE_P): Simplify.
(ASM_OUTPUT_ADDR_VEC_ELT): Fix comment.
(leaf_function): Delete unused variable.
(HARD_REGNO_MODE_OK): Delete old useless version.
(FIRST_PARM_OFFSET): Likewise.
(FIRST_PARM_CALLER_OFFSET): Likewise.
(EXPAND_BUILTIN_SAVEREGS): Likewise.
(ASM_OUTPUT_REG_PUSH): Likewise.
(ASM_OUTPUT_REG_POP): Likewise

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

31 years agoprint_operand accepts %/ for REGISTER_PREFIX.
ian [Thu, 28 Jan 1993 15:55:26 +0000 (15:55 +0000)]
print_operand accepts %/ for REGISTER_PREFIX.

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

31 years agoUse %/ before register names in 68000 version of umul_ppmm.
ian [Thu, 28 Jan 1993 15:55:26 +0000 (15:55 +0000)]
Use %/ before register names in 68000 version of umul_ppmm.

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

31 years agoRemove 29050-specific variants of patterns generating loadm that have
kenner [Thu, 28 Jan 1993 12:30:12 +0000 (12:30 +0000)]
Remove 29050-specific variants of patterns generating loadm that have
earlyclobber.  This was put in for some very old version of the '050,
which isn't used anymore, that had a bug.

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

31 years agochange /include and -I values from [.config] to [.config.] (this
kenner [Thu, 28 Jan 1993 11:55:47 +0000 (11:55 +0000)]
change /include and -I values from [.config] to [.config.] (this
trailing period works with GNU C's preprocessor but not with VAX C's).

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

31 years agochange instances of [.config] to [.config.vax].
kenner [Thu, 28 Jan 1993 11:54:18 +0000 (11:54 +0000)]
change instances of [.config] to [.config.vax].

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

31 years ago(init_fixtab, init_optabs): Fix typos in QFmode and HFmode
kenner [Thu, 28 Jan 1993 11:48:47 +0000 (11:48 +0000)]
(init_fixtab, init_optabs): Fix typos in QFmode and HFmode
initialization.

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

31 years ago(simplify_relation_operation): We can compute the result of a
kenner [Thu, 28 Jan 1993 00:23:36 +0000 (00:23 +0000)]
(simplify_relation_operation): We can compute the result of a
comparison of CONST_INTs no matter what mode the computation is to be
done in.

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

31 years ago(emit_store_flag): Swap operands if first is a constant and second is not.
kenner [Thu, 28 Jan 1993 00:23:02 +0000 (00:23 +0000)]
(emit_store_flag): Swap operands if first is a constant and second is not.
Abort if compare_from_rtx didn't return an rtx with the code we expect.

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

31 years ago(compare_from_rtx): Only swap operand if first is a constant and
kenner [Thu, 28 Jan 1993 00:22:17 +0000 (00:22 +0000)]
(compare_from_rtx): Only swap operand if first is a constant and
second is not.

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

31 years ago(init_decl_processing): Make the arrays 200 long instead of 10 to
kenner [Thu, 28 Jan 1993 00:21:30 +0000 (00:21 +0000)]
(init_decl_processing): Make the arrays 200 long instead of 10 to
leave more room for most names.

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

31 years ago(declare_function_name): If char_array_type_node isn't large enough
kenner [Thu, 28 Jan 1993 00:21:01 +0000 (00:21 +0000)]
(declare_function_name): If char_array_type_node isn't large enough
for the name, make a larger type.

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

31 years ago(put_var_into_stack, fixup_var_refs_insns): Minor cleanups.
kenner [Wed, 27 Jan 1993 18:27:18 +0000 (18:27 +0000)]
(put_var_into_stack, fixup_var_refs_insns): Minor cleanups.
(fixup_var_refs_1, case SET): Correctly check for simple insns that don't
need fixups.

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

31 years ago(includedir): Use local_prefix.
rms [Wed, 27 Jan 1993 18:11:43 +0000 (18:11 +0000)]
(includedir): Use local_prefix.

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

31 years ago * pa.c (check_fp_mov): Delete unused function
law [Wed, 27 Jan 1993 17:06:08 +0000 (17:06 +0000)]
* pa.c (check_fp_mov): Delete unused function
(register_or_short_operand): Likewise
(eq_or_neq): Likewise
(gen_compare_reg): Likewise
(reverse_relop): Likewise
(frame_base)name): Delete unused variable.

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

31 years ago * pa-ghpux.h (HAVE_ATEXIT): Delete. This is defined in pa.h
law [Wed, 27 Jan 1993 17:05:33 +0000 (17:05 +0000)]
* pa-ghpux.h (HAVE_ATEXIT): Delete.  This is defined in pa.h

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