platform/upstream/gcc.git
31 years ago(process_init_constructor): Test warn_missing_braces.
Richard Stallman [Sat, 13 Feb 1993 09:17:25 +0000 (09:17 +0000)]
(process_init_constructor): Test warn_missing_braces.

From-SVN: r3470

31 years ago(build_indirect_ref): If arg is void *, just warn.
Richard Stallman [Sat, 13 Feb 1993 05:41:28 +0000 (05:41 +0000)]
(build_indirect_ref): If arg is void *, just warn.

From-SVN: r3469

31 years ago* make setup_incoming_promotions static
Doug Evans [Sat, 13 Feb 1993 00:39:55 +0000 (00:39 +0000)]
* make setup_incoming_promotions static

From-SVN: r3468

31 years agoFix typos in comment.
Per Bothner [Fri, 12 Feb 1993 21:03:32 +0000 (13:03 -0800)]
Fix typos in comment.

From-SVN: r3467

31 years ago(rotlsi3): Fix typo, rotate was rotatert in rtl template.
Torbjorn Granlund [Fri, 12 Feb 1993 16:27:41 +0000 (16:27 +0000)]
(rotlsi3): Fix typo, rotate was rotatert in rtl template.

From-SVN: r3466

31 years ago(reposition_prologue_and_epilogue_notes): Allow
John Hassey [Fri, 12 Feb 1993 15:52:54 +0000 (15:52 +0000)]
(reposition_prologue_and_epilogue_notes): Allow
for zero length prologue and epilogue list.

From-SVN: r3465

31 years ago(yylex): For wide char constant, use wchar_type_node.
Richard Stallman [Fri, 12 Feb 1993 07:36:00 +0000 (07:36 +0000)]
(yylex): For wide char constant, use wchar_type_node.

Swallow any preprocessing number as a (possibly erroneous) number.

From-SVN: r3464

31 years ago(find_a_file): Always reject "./ld".
Richard Kenner [Thu, 11 Feb 1993 19:41:46 +0000 (14:41 -0500)]
(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].

From-SVN: r3463

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

From-SVN: r3462

31 years ago(putenv): New function, copied from gcc.c.
Richard Kenner [Thu, 11 Feb 1993 10:55:22 +0000 (05:55 -0500)]
(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].

From-SVN: r3461

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

From-SVN: r3460

31 years ago(version_string): Declare.
Richard Kenner [Wed, 10 Feb 1993 21:13:53 +0000 (16:13 -0500)]
(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.

From-SVN: r3459

31 years ago(call insns): Always reload gp after a full call.
Richard Kenner [Wed, 10 Feb 1993 21:12:51 +0000 (16:12 -0500)]
(call insns): Always reload gp after a full call.

Use current_file_function_operand to see when we can use BSR.

From-SVN: r3458

31 years ago(ASM_OUTPUT_LOOP_ALIGN): Enable, now that assembler fixed.
Richard Kenner [Wed, 10 Feb 1993 21:12:20 +0000 (16:12 -0500)]
(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.

From-SVN: r3457

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

From-SVN: r3456

31 years ago(duplicate_decls): Silently accept harmless mismatch
Richard Stallman [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.

From-SVN: r3455

31 years agoalpha.md (fix_truncdfdi2, [...]): Use `cvttqc', not `cvttq', to avoid rounding up.
Brendan Kehoe [Wed, 10 Feb 1993 03:16:37 +0000 (22:16 -0500)]
alpha.md (fix_truncdfdi2, [...]): Use `cvttqc', not `cvttq', to avoid rounding up.

        * alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not
        `cvttq', to avoid rounding up.

From-SVN: r3454

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

From-SVN: r3453

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

From-SVN: r3452

31 years ago(setup_incoming_promotions): New function.
Richard Kenner [Tue, 9 Feb 1993 23:45:34 +0000 (18:45 -0500)]
(setup_incoming_promotions): New function.

(combine_instructions): Add calls to setup_incoming_promotions.

From-SVN: r3451

31 years agoDeclare promoted_input_arg.
Richard Kenner [Tue, 9 Feb 1993 23:45:06 +0000 (18:45 -0500)]
Declare promoted_input_arg.

From-SVN: r3450

31 years ago(promoted_input_arg): New function.
Richard Kenner [Tue, 9 Feb 1993 23:44:25 +0000 (18:44 -0500)]
(promoted_input_arg): New function.

From-SVN: r3449

31 years agofixincludes: Fix logic about when to duplicate entries under the `FILE' link.
Brendan Kehoe [Tue, 9 Feb 1993 19:05:03 +0000 (14:05 -0500)]
fixincludes: Fix logic about when to duplicate entries under the `FILE' link.

        * fixincludes: Fix logic about when to duplicate entries under the
        `FILE' link.

From-SVN: r3448

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

(finclude): Likewise.

From-SVN: r3447

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

From-SVN: r3446

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

From-SVN: r3445

31 years ago(combine_instructions): When calling set_nonzero_bits_and_sign_copies,
Richard Kenner [Tue, 9 Feb 1993 10:45:36 +0000 (05:45 -0500)]
(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.

From-SVN: r3444

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

From-SVN: r3443

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

From-SVN: r3442

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

From-SVN: r3441

31 years agoAllow passing nonaligned BLKmode structs in regs.
Richard Kenner [Mon, 8 Feb 1993 10:51:58 +0000 (05:51 -0500)]
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.

From-SVN: r3440

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

From-SVN: r3439

31 years ago(MUST_PASS_IN_STACK_BAD_ALIGN): Deleted.
Richard Kenner [Mon, 8 Feb 1993 10:49:05 +0000 (05:49 -0500)]
(MUST_PASS_IN_STACK_BAD_ALIGN): Deleted.

(MUST_PASS_IN_STACK): No problem anymore with nonaligned structs.

From-SVN: r3438

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

From-SVN: r3437

31 years ago(struct arg_data): New field MODE.
Richard Kenner [Sun, 7 Feb 1993 21:12:57 +0000 (16:12 -0500)]
(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.

From-SVN: r3436

31 years ago(yylex): At eof, if binding levels not popped,
Richard Stallman [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.

From-SVN: r3435

31 years ago(fold): Call force_fit_type with two parameters.
Richard Stallman [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.

From-SVN: r3434

31 years ago(movqi): For special case of moving byte to stack, push into low byte and then copy...
Richard Stallman [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.

(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.

From-SVN: r3433

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

From-SVN: r3432

31 years agoInitial revision
Jim Wilson [Fri, 5 Feb 1993 23:50:44 +0000 (15:50 -0800)]
Initial revision

From-SVN: r3431

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

From-SVN: r3430

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

From-SVN: r3429

31 years ago(EXTRA_CONSTAINTS): Delete 'R' support.
Jim Wilson [Fri, 5 Feb 1993 23:37:09 +0000 (15:37 -0800)]
(EXTRA_CONSTAINTS): Delete 'R' support.

(CONST_OK_FOR_LETTER_P): Correct 'K' comment.

From-SVN: r3428

31 years ago(CEIL): Delete.
Jim Wilson [Fri, 5 Feb 1993 23:35:32 +0000 (15:35 -0800)]
(CEIL): Delete.

(restore_referenced_regs): New var NUMREGS.  Pass NUMREGS to
insert_save_restore instead of using using CEIL.

From-SVN: r3427

31 years ago(true_dependence, anti_dependence, output_dependence):
Jim Wilson [Fri, 5 Feb 1993 23:33:36 +0000 (15:33 -0800)]
(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.

From-SVN: r3426

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

From-SVN: r3425

31 years ago(finclude): Error if try to include a directory.
Jim Wilson [Fri, 5 Feb 1993 23:26:54 +0000 (15:26 -0800)]
(finclude): Error if try to include a directory.

(S_ISDIR): Add a default definition.

From-SVN: r3424

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

From-SVN: r3423

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

From-SVN: r3422

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

From-SVN: r3421

31 years ago(emit_library_call, emit_library_call_value):
Richard Stallman [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.

From-SVN: r3420

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

From-SVN: r3419

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

From-SVN: r3418

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

From-SVN: r3417

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

From-SVN: r3416

31 years ago(build_conditional_expr): Always convert and check
Richard Stallman [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.

From-SVN: r3415

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

From-SVN: r3414

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

From-SVN: r3413

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

From-SVN: r3412

31 years ago(int_reg_class_contents): Make unsigned to avoid signed integer overflow.
Richard Stallman [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.

From-SVN: r3411

31 years ago(parse_escape): Support \E and \e like cc1:
Richard Stallman [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.

From-SVN: r3410

31 years ago(install-headers-cpio): Delete spurious parens from around the whole command.
Richard Stallman [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.

From-SVN: r3409

31 years ago(INSTALL_TARGET): Delete.
Jim Wilson [Tue, 2 Feb 1993 20:17:24 +0000 (12:17 -0800)]
(INSTALL_TARGET): Delete.

From-SVN: r3408

31 years agoMakefile.in (gcc.o): Depend upon config.status...
Brendan Kehoe [Tue, 2 Feb 1993 19:18:03 +0000 (14:18 -0500)]
Makefile.in (gcc.o): Depend upon config.status...

        * Makefile.in (gcc.o): Depend upon config.status, so any changes
        in prefix will be communicated to the build process.
        (cccp.o): Likewise.

From-SVN: r3407

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

From-SVN: r3406

31 years ago(constant_expression_warning): Suppress duplicate warnings.
Richard Stallman [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.

From-SVN: r3405

31 years ago(parser_build_binary_op): Warn about overflows and conversions of out-of-range...
Richard Stallman [Tue, 2 Feb 1993 04:40:04 +0000 (04:40 +0000)]
(parser_build_binary_op): Warn about overflows and conversions of out-of-range...

(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.

From-SVN: r3404

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

From-SVN: r3403

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

(finish_decl, grokdeclarator, finish_struct): Report
overflows in storage sizes.
(build_enumerator): Report overflows in enumerators.

From-SVN: r3402

31 years ago(same_sign): Removed.
Richard Stallman [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.

From-SVN: r3401

31 years ago(expand_builtin): Report overflow if __builtin_args_info arg exceeds one word.
Richard Stallman [Tue, 2 Feb 1993 04:26:15 +0000 (04:26 +0000)]
(expand_builtin): Report overflow if __builtin_args_info arg exceeds one word.

(expand_builtin): Report overflow if __builtin_args_info
arg exceeds one word.
Fix punctuation of error messages.

From-SVN: r3400

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

From-SVN: r3399

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

From-SVN: r3398

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

From-SVN: r3397

31 years ago(zvdep32): Handle 5 bit immediates for operand 1.
Torbjorn Granlund [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.

From-SVN: r3396

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

From-SVN: r3395

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

From-SVN: r3394

31 years agoof the comparison.
Jeff Law [Sat, 30 Jan 1993 21:10:29 +0000 (14:10 -0700)]
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.

From-SVN: r3393

31 years agopa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize.
Jeff Law [Sat, 30 Jan 1993 21:10:07 +0000 (14:10 -0700)]
pa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize.

* 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.

From-SVN: r3392

31 years agopa.c (reg_or_0_operand): Use CONST0_RTX instead of const0_rtx.
Jeff Law [Sat, 30 Jan 1993 21:09:51 +0000 (14:09 -0700)]
pa.c (reg_or_0_operand): Use CONST0_RTX instead of const0_rtx.

* 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.

From-SVN: r3391

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

From-SVN: r3390

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

From-SVN: r3389

31 years agoc-common.c (c_build_type_variant): Moved here from c-decl.c.
Niklas Hallqvist [Sat, 30 Jan 1993 06:06:09 +0000 (06:06 +0000)]
c-common.c (c_build_type_variant): Moved here from c-decl.c.

* 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.

From-SVN: r3388

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

From-SVN: r3387

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

From-SVN: r3386

31 years agoreload.c (find_reloads_toplev): When handling a (subreg (reg)) where (reg) will be...
Jeff Law [Fri, 29 Jan 1993 17:09:30 +0000 (10:09 -0700)]
reload.c (find_reloads_toplev): When handling a (subreg (reg)) where (reg) will be replaced by a memory...

* 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.

From-SVN: r3385

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

From-SVN: r3384

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

From-SVN: r3383

31 years agopa.md (iorsi3): Split into two patterns...
Jeff Law [Thu, 28 Jan 1993 18:59:42 +0000 (11:59 -0700)]
pa.md (iorsi3): Split into two patterns...

* 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.

From-SVN: r3382

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

From-SVN: r3381

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

From-SVN: r3380

31 years agopa.h (CPP_SPEC for OLD_CC): Delete.
Jeff Law [Thu, 28 Jan 1993 18:53:11 +0000 (11:53 -0700)]
pa.h (CPP_SPEC for OLD_CC): Delete.

* 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

From-SVN: r3379

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

From-SVN: r3378

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

From-SVN: r3377

31 years agoRemove 29050-specific variants of patterns generating loadm that have earlyclobber.
Richard Kenner [Thu, 28 Jan 1993 12:30:12 +0000 (07:30 -0500)]
Remove 29050-specific variants of patterns generating loadm that have earlyclobber.

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.

From-SVN: r3376

31 years agochange /include and -I values from [.config] to [.config.] (this trailing...
Richard Kenner [Thu, 28 Jan 1993 11:55:47 +0000 (06:55 -0500)]
change /include and -I values from [.config] to [.config.] (this trailing...

change /include and -I values from [.config] to [.config.] (this
trailing period works with GNU C's preprocessor but not with VAX C's).

From-SVN: r3375

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

From-SVN: r3374

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

From-SVN: r3373

31 years ago(simplify_relation_operation): We can compute the result of a comparison of...
Richard Kenner [Thu, 28 Jan 1993 00:23:36 +0000 (19:23 -0500)]
(simplify_relation_operation): We can compute the result of a comparison of...

(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.

From-SVN: r3372

31 years ago(emit_store_flag): Swap operands if first is a constant and second is not.
Richard Kenner [Thu, 28 Jan 1993 00:23:02 +0000 (19:23 -0500)]
(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.

From-SVN: r3371