Richard Stallman [Wed, 3 Nov 1993 21:18:49 +0000 (21:18 +0000)]
(output_move_double): More of previous change.
From-SVN: r5988
Richard Stallman [Wed, 3 Nov 1993 21:16:16 +0000 (21:16 +0000)]
(output_move_double): Fix up the test for overlap
of source address with operands[0].
From-SVN: r5987
Torbjorn Granlund [Wed, 3 Nov 1993 21:09:55 +0000 (21:09 +0000)]
(REGISTER_MOVE_COST): Decrease cost for move from
SHIFT_REGS to avoid regclass overflow.
From-SVN: r5986
Richard Stallman [Wed, 3 Nov 1993 20:36:59 +0000 (20:36 +0000)]
(regclass): Consider commutativity even when
one arg is a constant.
From-SVN: r5985
Richard Stallman [Wed, 3 Nov 1993 20:24:18 +0000 (20:24 +0000)]
(expand_divmod): Use target as copy_to_suggested_reg
argument only if it has the same mode as op0.
From-SVN: r5984
Richard Stallman [Wed, 3 Nov 1993 20:11:16 +0000 (20:11 +0000)]
(safe_write, safe_read): Really use arg DESC.
From-SVN: r5983
Richard Stallman [Wed, 3 Nov 1993 20:09:56 +0000 (20:09 +0000)]
(safe_read): New function.
(main, finclude, check_precompiled): Use safe_read.
From-SVN: r5982
Richard Stallman [Wed, 3 Nov 1993 20:09:12 +0000 (20:09 +0000)]
(check_format_info): Make warning nicer for mismatch of int vs long, etc.
Don't warn if field width is an unsigned int.
From-SVN: r5981
Richard Stallman [Wed, 3 Nov 1993 20:08:08 +0000 (20:08 +0000)]
(exit): Fix declaration of _exit.
From-SVN: r5980
Richard Stallman [Wed, 3 Nov 1993 09:48:51 +0000 (09:48 +0000)]
(dbxout_type): Print `-2' instead of `
0037777777776' for an enumeration constant whose value is -2...
(dbxout_type): Print `-2' instead of `
0037777777776'
for an enumeration constant whose value is -2;
otherwise, GDB 4.11 rejects the type.
From-SVN: r5979
Per Bothner [Wed, 3 Nov 1993 08:14:02 +0000 (00:14 -0800)]
Make more robust in two places.
From-SVN: r5978
Richard Stallman [Tue, 2 Nov 1993 23:06:29 +0000 (23:06 +0000)]
(safe_read): New function.
(process_aux_info_file, edit_file): Use safe_read.
From-SVN: r5977
Richard Stallman [Tue, 2 Nov 1993 23:05:13 +0000 (23:05 +0000)]
(do_spec_1): Use spec_version for %v, not version_string.
Distinguish %v1 and %v2.
(default_compilers): For __GNUC_MINOR__, use %v2.
For __GNUC__ and __GNUG__, use %v1.
From-SVN: r5976
Ian Lance Taylor [Tue, 2 Nov 1993 19:33:52 +0000 (19:33 +0000)]
Don't fix /**/ in X11 files; unnecessary
From-SVN: r5975
Richard Stallman [Tue, 2 Nov 1993 19:26:16 +0000 (19:26 +0000)]
(sys/stat.h) Fix fchmod prototype, first arg is int, not char * [AIX 3.2.4].
(rpc/svc.h): Avoid nested comments [Ultrix 4.3].
(stdio.h, stdlib.h): Fixed getopt prototypes to match POSIX.2
[DEC Alpha OSF/1 1.3].
Fix <sys/limits.h> like <limits.h>.
From-SVN: r5974
Richard Kenner [Tue, 2 Nov 1993 12:19:58 +0000 (07:19 -0500)]
(init_optabs): Function `ffs' takes `int', not mode that is
BITS_PER_WORD wide.
From-SVN: r5973
Richard Stallman [Tue, 2 Nov 1993 08:30:37 +0000 (08:30 +0000)]
(edit_file): Use safe_write.
(safe_write): New subroutine.
From-SVN: r5972
Richard Stallman [Tue, 2 Nov 1993 07:53:45 +0000 (07:53 +0000)]
Include tconfig.h.
From-SVN: r5971
Richard Stallman [Tue, 2 Nov 1993 04:15:40 +0000 (04:15 +0000)]
Unquote 'f' in #define _IO.
Unquote 'f' in #define _IO. Fix elf.h like
elf_abi.h. For Irix 5.
From-SVN: r5970
Richard Stallman [Tue, 2 Nov 1993 03:21:17 +0000 (03:21 +0000)]
(setjmp.h): Don't require siglongjmp and sigsetjmp.
They need sigjmp_buf, and are missing on many systems.
From-SVN: r5969
Richard Kenner [Mon, 1 Nov 1993 23:52:43 +0000 (18:52 -0500)]
Add set_attr for "length" when we are going to split an insn at output time.
From-SVN: r5968
Richard Kenner [Mon, 1 Nov 1993 23:35:01 +0000 (18:35 -0500)]
(bdn/bdz): Fix typo in checking for when we need to split.
From-SVN: r5967
Richard Kenner [Mon, 1 Nov 1993 20:44:25 +0000 (15:44 -0500)]
(mulsi3): Make alternatives be "mq" and "no_mq" instead of "power" and "powerpc".
(mulsi3): Make alternatives be "mq" and "no_mq" instead of "power" and
"powerpc". Only allow one pattern (either with or without the clobber
of MQ) to match.
From-SVN: r5966
Richard Stallman [Mon, 1 Nov 1993 20:22:53 +0000 (20:22 +0000)]
(stmp-fixproto): Print a notice that warnings and errors from fixproto are normal.
(stmp-fixproto): Print a notice that warnings and errors
from fixproto are normal.
(distdir): Avoid spurious output from gcc.texi version number check.
(diff): New target.
From-SVN: r5965
Ian Lance Taylor [Mon, 1 Nov 1993 20:19:12 +0000 (20:19 +0000)]
Don't remove /**/ from X11/xmd.h.
From-SVN: r5964
Richard Stallman [Mon, 1 Nov 1993 17:44:19 +0000 (17:44 +0000)]
(divhisi3, udivhisi3, modhisi3, umodhi3): Comment out.
(divhisi3, udivhisi3, modhisi3, umodhi3 recognizers): Comment out.
From-SVN: r5963
Richard Kenner [Mon, 1 Nov 1993 12:38:45 +0000 (07:38 -0500)]
(expand_decl_init): If CONST_DECL, don't generate any code, but call
expand_expr if DECL_INITIAL is a constant.
From-SVN: r5962
Torbjorn Granlund [Mon, 1 Nov 1993 11:18:32 +0000 (11:18 +0000)]
(synth_mult): When factoring T, break from loop after first factor.
(expand_mult): Increase max cost to 12 again.
From-SVN: r5961
Richard Stallman [Mon, 1 Nov 1993 07:07:46 +0000 (07:07 +0000)]
(safe_write): New function.
(write_output): Use safe_write.
From-SVN: r5960
Richard Stallman [Mon, 1 Nov 1993 06:38:43 +0000 (06:38 +0000)]
(do_ident): Substitute macros and output here.
(directive_table): Turn off the pass_thru field for #ident.
From-SVN: r5959
Richard Stallman [Sun, 31 Oct 1993 23:26:07 +0000 (23:26 +0000)]
(extzv, and its recognizer): If width is 32, don't set CC_NOT_NEGATIVE.
If width is variable, clear the CC status.
From-SVN: r5958
Richard Stallman [Sun, 31 Oct 1993 20:19:31 +0000 (20:19 +0000)]
(shorten_compare): Undo previous change.
Instead, just suppress warnings if both args are constant.
From-SVN: r5957
Jim Wilson [Sun, 31 Oct 1993 18:33:12 +0000 (10:33 -0800)]
(do_store_flag): For equality test of a single bit, use
subtarget instead of target in calls.
From-SVN: r5956
Richard Stallman [Sun, 31 Oct 1993 18:11:13 +0000 (18:11 +0000)]
(output_move_double): Extend the special case
for *--sp = sp[N] to handle 12 bytes as well as 8 bytes.
From-SVN: r5955
Richard Stallman [Sun, 31 Oct 1993 03:13:52 +0000 (03:13 +0000)]
(shorten_compare): Do nothing if both args constant.
From-SVN: r5954
Richard Stallman [Sun, 31 Oct 1993 03:04:16 +0000 (03:04 +0000)]
(convert_move): When extending to multi-word register
via its low word, clobber the whole thing.
From-SVN: r5953
Richard Stallman [Sun, 31 Oct 1993 02:47:34 +0000 (02:47 +0000)]
Re-add hitachi to list of companies not to treat as OS names.
From-SVN: r5952
Richard Stallman [Sat, 30 Oct 1993 22:11:45 +0000 (22:11 +0000)]
(output_move_double): Extend the special case
for *--sp = sp[N] to handle 12 bytes as well as 8 bytes.
From-SVN: r5951
Richard Kenner [Sat, 30 Oct 1993 21:19:15 +0000 (17:19 -0400)]
Initial revision
From-SVN: r5950
Richard Kenner [Sat, 30 Oct 1993 21:17:31 +0000 (17:17 -0400)]
Add H3050/RX support.
From-SVN: r5949
Richard Stallman [Sat, 30 Oct 1993 20:33:33 +0000 (20:33 +0000)]
(output_dbra): Fix argument number in addi at end.
From-SVN: r5948
Richard Stallman [Sat, 30 Oct 1993 20:30:46 +0000 (20:30 +0000)]
(mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT.
From-SVN: r5947
Richard Kenner [Sat, 30 Oct 1993 16:10:53 +0000 (12:10 -0400)]
Remove duplicately-installed change.
From-SVN: r5946
Richard Stallman [Sat, 30 Oct 1993 15:42:52 +0000 (15:42 +0000)]
(enum built_in_function): Added END_BUILTINS to delimit
standard from language-specific builtins.
From-SVN: r5945
Richard Stallman [Sat, 30 Oct 1993 08:34:05 +0000 (08:34 +0000)]
(convert_and_check): Don't warn converting 0xff
to a signed char, etc., unless pedantic.
From-SVN: r5944
Richard Stallman [Sat, 30 Oct 1993 08:33:30 +0000 (08:33 +0000)]
(finish_function): If rest_of_compilation set DECL_INITIAL
to null, leave it null.
From-SVN: r5943
Richard Stallman [Sat, 30 Oct 1993 08:33:12 +0000 (08:33 +0000)]
(rest_of_compilation): When an `extern inline' is not really inline...
(rest_of_compilation): When an `extern inline' is not
really inline, clear DECL_INITIAL so we don't complain about
a subsequent non-extern definition.
From-SVN: r5942
Richard Stallman [Sat, 30 Oct 1993 07:40:59 +0000 (07:40 +0000)]
(mainversion): New variable.
(distdir): Use mainversion when verifying gcc.texi has been updated.
From-SVN: r5941
Richard Stallman [Sat, 30 Oct 1993 06:04:50 +0000 (06:04 +0000)]
(assign_parms): If parmreg is a CONCAT, handle the
case where stack_parm is 0.
From-SVN: r5940
Richard Stallman [Sat, 30 Oct 1993 06:04:18 +0000 (06:04 +0000)]
(store_bit_field): When calling operand_subword_force,
if VALUE has a non-void mode, pass that mode.
From-SVN: r5939
Richard Stallman [Sat, 30 Oct 1993 06:03:36 +0000 (06:03 +0000)]
(do_jump): Use do_jump_by_parts_equality for complex compares.
From-SVN: r5938
Richard Stallman [Sat, 30 Oct 1993 05:50:56 +0000 (05:50 +0000)]
(HAVE_PUTENV): Defined.
From-SVN: r5937
Richard Stallman [Sat, 30 Oct 1993 03:09:02 +0000 (03:09 +0000)]
(sys/stat.h): Don't change definitions into
prototypes if they may already be in prototype form.
From-SVN: r5936
Richard Stallman [Fri, 29 Oct 1993 20:51:28 +0000 (20:51 +0000)]
(LIB_SPEC): Use -lieee if -mieee-fp.
From-SVN: r5935
Richard Stallman [Fri, 29 Oct 1993 20:43:16 +0000 (20:43 +0000)]
Fix indentation.
From-SVN: r5934
Richard Kenner [Fri, 29 Oct 1993 17:04:11 +0000 (13:04 -0400)]
(LINK_SPEC): Pass -no_unresolved if -call_shared.
From-SVN: r5933
Richard Kenner [Fri, 29 Oct 1993 16:55:00 +0000 (12:55 -0400)]
(addsf3, subsf3, mulsf3, divsf3): Put POWERPC first, then POWER.
From-SVN: r5932
Richard Kenner [Fri, 29 Oct 1993 16:52:48 +0000 (12:52 -0400)]
({DBX,SDB,MIPS}_DEBUGGING_INFO): Turn off until working.
From-SVN: r5931
Richard Kenner [Fri, 29 Oct 1993 16:15:08 +0000 (12:15 -0400)]
Define HAVE_PUTENV for AIX PS/2.
From-SVN: r5930
Richard Kenner [Fri, 29 Oct 1993 15:49:33 +0000 (11:49 -0400)]
Add support for coff-based ctor/dtor handling.
From-SVN: r5929
Richard Kenner [Fri, 29 Oct 1993 11:52:14 +0000 (07:52 -0400)]
(gen-protos.o, scan.o, fix-header.o, scan-decls.o):
Add rule to compile using $(HOST_CC).
Show using hconfig.h.
From-SVN: r5928
Richard Kenner [Fri, 29 Oct 1993 01:33:07 +0000 (21:33 -0400)]
(check_methods_accessible): Fix bug in -Wno-protocol.
(check_methods_accessible): Fix bug in -Wno-protocol. Reset chain to
bottom class for each search.
From-SVN: r5927
Richard Kenner [Fri, 29 Oct 1993 01:30:29 +0000 (21:30 -0400)]
(init): Remove extraneous pop_momentary in error case.
From-SVN: r5926
Richard Kenner [Thu, 28 Oct 1993 22:43:31 +0000 (18:43 -0400)]
(ENCODE_SECTION_INFO): Use DECL_RTL for DECLs.
From-SVN: r5925
Torbjorn Granlund [Thu, 28 Oct 1993 00:58:04 +0000 (00:58 +0000)]
(emit_move_sequence): Fix typo, `Pmode' was `mode'.
From-SVN: r5924
Richard Stallman [Wed, 27 Oct 1993 23:35:43 +0000 (23:35 +0000)]
(NO_DOLLAR_IN_LABEL): Undefined.
From-SVN: r5923
Richard Stallman [Wed, 27 Oct 1993 23:22:38 +0000 (23:22 +0000)]
(cse_insn): When using src_related, copy the rtx.
Likewise for src_eqv_here.
From-SVN: r5922
Richard Stallman [Wed, 27 Oct 1993 21:42:09 +0000 (21:42 +0000)]
(output_pending_init_elements): Don't crash if
constructor_unfilled_fields is 0.
(build_c_cast): When making union constructor,
copy TREE_CONSTANT from the given value.
(initializer_constant_valid_p): Special handling for "constant"
union constructor.
From-SVN: r5921
Richard Kenner [Wed, 27 Oct 1993 21:24:53 +0000 (17:24 -0400)]
(define_function_unit): Add missing blank lines.
From-SVN: r5920
Richard Stallman [Wed, 27 Oct 1993 18:15:53 +0000 (18:15 +0000)]
(bsd/sys/wait.h): Undo previous change.
From-SVN: r5919
Richard Stallman [Wed, 27 Oct 1993 18:05:30 +0000 (18:05 +0000)]
(ASM_OUTPUT_INTERNAL_LABEL): #if 0 deleted, to reenable these.
(ASM_GENERATE_INTERNAL_LABEL)
(ASM_OUTPUT_INTERNAL_LABEL): #if 0 deleted, to reenable these.
(NO_DOT_IN_LABEL): Defined.
From-SVN: r5918
Richard Stallman [Wed, 27 Oct 1993 06:40:44 +0000 (06:40 +0000)]
(print_node_brief): Use unsigned char to print
the bytes of a real constant.
From-SVN: r5917
Richard Stallman [Wed, 27 Oct 1993 06:39:01 +0000 (06:39 +0000)]
(expand_assignment): Use duplicate instead of dup as bytecode op.
(bc_expand_expr): Likewise.
(bc_expand_constructor): Likewise.
(emit_move_insn_1): Don't call group_insns when X is a CONCAT.
(emit_move_insn_1, case CONJ_EXPR and COMPLEX_EXPR): Likewise.
From-SVN: r5916
Richard Stallman [Wed, 27 Oct 1993 06:14:56 +0000 (06:14 +0000)]
Rename dup to duplicate.
From-SVN: r5915
Richard Stallman [Wed, 27 Oct 1993 04:01:32 +0000 (04:01 +0000)]
(NO_DOLLAR_IN_LABEL): Defined.
From-SVN: r5914
Richard Kenner [Wed, 27 Oct 1993 01:53:53 +0000 (21:53 -0400)]
Include hconfig.h.
From-SVN: r5913
Richard Kenner [Wed, 27 Oct 1993 01:53:30 +0000 (21:53 -0400)]
Include hconfig.h.
Remove unused #ifdef OLD.
From-SVN: r5912
Richard Kenner [Wed, 27 Oct 1993 01:52:20 +0000 (21:52 -0400)]
Delete duplicate definition of "buf".
Include hconfig.h.
From-SVN: r5911
Richard Stallman [Wed, 27 Oct 1993 01:49:41 +0000 (01:49 +0000)]
(deduced.h): Add -I. and -I$(srcdir).
From-SVN: r5910
Richard Stallman [Tue, 26 Oct 1993 23:32:59 +0000 (23:32 +0000)]
Initial revision
From-SVN: r5909
Richard Stallman [Tue, 26 Oct 1993 23:30:07 +0000 (23:30 +0000)]
Treat __PARAGON__ like __SVR4__.
(va_dcl) [__PARAGON__]: Declare va_alist.
From-SVN: r5908
Richard Stallman [Tue, 26 Oct 1993 23:29:45 +0000 (23:29 +0000)]
(___builtin_saveregs): New alternative for __PARAGON__.
From-SVN: r5907
Richard Stallman [Tue, 26 Oct 1993 23:29:24 +0000 (23:29 +0000)]
[__i860__]: Add to little-endian conditional.
From-SVN: r5906
Richard Stallman [Tue, 26 Oct 1993 23:28:00 +0000 (23:28 +0000)]
(paragon): New alias.
From-SVN: r5905
Richard Kenner [Tue, 26 Oct 1993 23:05:26 +0000 (19:05 -0400)]
(rs6000_override_options): Support -mcpu=rsc1.
From-SVN: r5904
Richard Stallman [Tue, 26 Oct 1993 23:01:56 +0000 (23:01 +0000)]
(CC): Move a " to avoid shell error.
From-SVN: r5903
Richard Kenner [Tue, 26 Oct 1993 22:58:16 +0000 (18:58 -0400)]
(movsi): Can copy a TOC address into a register.
From-SVN: r5902
Richard Stallman [Tue, 26 Oct 1993 19:17:55 +0000 (19:17 +0000)]
(gen-protos, fix_header): Add $(HOST_CFLAGS) and $(HOST_LDFLAGS).
From-SVN: r5901
Richard Stallman [Tue, 26 Oct 1993 19:11:25 +0000 (19:11 +0000)]
(fix-header.o): Depend on fix-header.c.
(scan-decls.o): New target.
(gen-protos.o, scan.o): New targets.
(deduced.h): Pass GCC source dir to scan-types.sh.
From-SVN: r5900
Richard Stallman [Tue, 26 Oct 1993 19:04:27 +0000 (19:04 +0000)]
(default_compilers): Define __GNUC_MINOR__, using %v.
(do_spec_1): Implement %v.
From-SVN: r5899
Jim Wilson [Tue, 26 Oct 1993 17:43:53 +0000 (10:43 -0700)]
(OLDCC): Add -XNh1500.
From-SVN: r5898
Richard Stallman [Tue, 26 Oct 1993 17:39:52 +0000 (17:39 +0000)]
(init_expmed): Use register 10000, not FIRST_PSEUDO_REGISTER that gets special treatment in rtx_cost.
(init_expmed): Use register 10000, not FIRST_PSEUDO_REGISTER
that gets special treatment in rtx_cost.
(expand_mult): Decrease max cost to 8.
From-SVN: r5897
Richard Stallman [Tue, 26 Oct 1993 17:03:37 +0000 (17:03 +0000)]
Fix NeXT <sys/wait.h> problem in <bsd/sys/wait.h>
as well, since that is where the file is in NeXTStep 3.0.
From-SVN: r5896
Richard Stallman [Tue, 26 Oct 1993 17:00:09 +0000 (17:00 +0000)]
(build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, set common.
From-SVN: r5895
Richard Stallman [Tue, 26 Oct 1993 08:51:01 +0000 (08:51 +0000)]
[__NeXT__]: Don't declare setjmp or longjmp.
From-SVN: r5894
Richard Stallman [Tue, 26 Oct 1993 08:26:08 +0000 (08:26 +0000)]
(build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR,
don't shorten when divisor might be -1.
From-SVN: r5893
Richard Stallman [Tue, 26 Oct 1993 06:52:18 +0000 (06:52 +0000)]
(signal.h): Add prototypes only for kill and raise.
Not for the POSIX signal functions.
(sys/resource.h): Delete special handling for this file.
From-SVN: r5892
Richard Stallman [Tue, 26 Oct 1993 06:41:41 +0000 (06:41 +0000)]
(push_init_level): Align here for element of record.
(process_init_element): Not here (was before call to push_init_level).
From-SVN: r5891
Richard Stallman [Tue, 26 Oct 1993 02:56:57 +0000 (02:56 +0000)]
(scan_decls): When reading parameter list,
handle whitespace differently, and keep track of line number.
From-SVN: r5890
Richard Stallman [Tue, 26 Oct 1993 02:48:04 +0000 (02:48 +0000)]
(scan_string, skip_spaces): Add newline before fn name.
From-SVN: r5889