Richard Kenner [Thu, 1 Jun 1995 01:07:41 +0000 (21:07 -0400)]
(const_uint32_operand): Reject negative numbers.
From-SVN: r9859
Richard Kenner [Thu, 1 Jun 1995 01:07:20 +0000 (21:07 -0400)]
(umulsi3_highpart): Pass correct number of arguments to const_uint32_operand.
(smulsi3_highpart): Likewise.
From-SVN: r9858
Richard Kenner [Thu, 1 Jun 1995 00:57:17 +0000 (20:57 -0400)]
(expand_mult_highpart): Use wide_op1 for all multiplies.
(expand_divmod): Undo Nov 12 change. Instead, add special case
for division by MIN_INT in signed TRUNC_DIV_EXPR case.
From-SVN: r9857
Richard Kenner [Thu, 1 Jun 1995 00:50:52 +0000 (20:50 -0400)]
(expand_block_move): Don't pass argument of # bytes to increment
pointers by to movstrsi expanders.
From-SVN: r9856
Richard Kenner [Thu, 1 Jun 1995 00:50:20 +0000 (20:50 -0400)]
(all movstri recognizers): Eliminate updating the pointers.
From-SVN: r9855
Richard Kenner [Thu, 1 Jun 1995 00:44:10 +0000 (20:44 -0400)]
(one_cmpldi2): New pattern.
({a,l}shrdi{3,_const}): Allow 63 as shift count.
From-SVN: r9854
Richard Kenner [Wed, 31 May 1995 22:06:21 +0000 (18:06 -0400)]
(copy_loop_body): Fix typo in call to sets_cc0_p.
From-SVN: r9853
Richard Kenner [Wed, 31 May 1995 22:01:55 +0000 (18:01 -0400)]
(output_inline_function): Don't call expand_function_end.
From-SVN: r9852
Richard Kenner [Wed, 31 May 1995 21:59:44 +0000 (17:59 -0400)]
(prepare_call_address): Only call use_reg on static_chain_rtx if it is
a REG.
From-SVN: r9851
Richard Kenner [Wed, 31 May 1995 18:56:28 +0000 (14:56 -0400)]
(LIBGCC1_TEST): New null definition.
From-SVN: r9850
Richard Kenner [Wed, 31 May 1995 18:55:37 +0000 (14:55 -0400)]
Initial revision
From-SVN: r9849
Richard Kenner [Wed, 31 May 1995 18:17:31 +0000 (14:17 -0400)]
(symbolic HIGH patterns): Likewise.
(symbolic LO_SUM pattern): Likewise.
From-SVN: r9848
Richard Kenner [Wed, 31 May 1995 18:17:12 +0000 (14:17 -0400)]
(PRINT_OPERAND_ADDRESS): Use "RR'" rather than "R'" for symbolic
addresses.
From-SVN: r9847
Richard Kenner [Wed, 31 May 1995 18:11:45 +0000 (14:11 -0400)]
(TARGET_SWITCHES): Set MASK_STRING_SET explicitly if -mno-string, so
that it can override the processor default.
From-SVN: r9846
Richard Kenner [Wed, 31 May 1995 18:11:16 +0000 (14:11 -0400)]
(rs6000_override_options): Fix typo with -mstring handling.
From-SVN: r9845
Richard Kenner [Wed, 31 May 1995 11:31:46 +0000 (07:31 -0400)]
(truthvalue_conversion, BIT_AND_EXPR): Make sure that the result has
boolean_type_node.
From-SVN: r9844
Richard Kenner [Tue, 30 May 1995 23:03:18 +0000 (19:03 -0400)]
Undefine _BSD_XXX_T_ if _GCC_XXX_T is defined on BSD Net/2 derived
systems.
From-SVN: r9843
Richard Kenner [Tue, 30 May 1995 22:52:25 +0000 (18:52 -0400)]
(decrement_and_branch_until_zero): Operand 0 constraint changed from "+g" to "+d*am".
(decrement_and_branch_until_zero): Operand 0 constraint changed from "+g"
to "+d*am".
(similar anonymous HImode pattern): Likewise.
From-SVN: r9842
Richard Kenner [Tue, 30 May 1995 12:17:18 +0000 (08:17 -0400)]
(tstdi): Use tst/subx #0 instead of neg/negx.
Allow "a" and ">" for operand 0.
From-SVN: r9841
Richard Kenner [Mon, 29 May 1995 23:24:31 +0000 (19:24 -0400)]
(addsi_lshrsi_31): Use match_dup, not constraint "1", for matching
inputs.
From-SVN: r9840
Richard Kenner [Mon, 29 May 1995 23:19:51 +0000 (19:19 -0400)]
(recog_for_combine): New parm PADDED_SCRATCHES; set it.
(try_combine): Accumulate number of scratches and update max_scratch.
(simplify_set): Add extra parm to recog_for_combine.
From-SVN: r9839
Paul Eggert [Mon, 29 May 1995 16:45:36 +0000 (12:45 -0400)]
Make-lang.in
From-SVN: r9838
Paul Eggert [Mon, 29 May 1995 16:44:40 +0000 (12:44 -0400)]
(c++.mostlyclean): Remove $(DEMANGLER_PROG).
From-SVN: r9837
Richard Kenner [Mon, 29 May 1995 16:39:54 +0000 (12:39 -0400)]
({STARTFILE,LIB,CPP}_SPEC): Handle -Xp like -posix.
From-SVN: r9836
Richard Kenner [Mon, 29 May 1995 16:39:36 +0000 (12:39 -0400)]
(X_CFLAGS): Add -Xp.
From-SVN: r9835
Richard Kenner [Mon, 29 May 1995 16:24:21 +0000 (12:24 -0400)]
(call): Put USE for r0 in CALL_INSN; call call_internal to emit insn.
(call_internal): New name for anonymous call.
(call_value, call_value_internal): Likewise.
From-SVN: r9834
Richard Kenner [Mon, 29 May 1995 12:55:44 +0000 (08:55 -0400)]
Don't include alloca.h for winnt.
From-SVN: r9833
Richard Kenner [Mon, 29 May 1995 12:55:31 +0000 (08:55 -0400)]
Include alpha/xm-alpha.h, then winnt/xm-winnt.h.
(POSIX): Undefine.
From-SVN: r9832
Richard Kenner [Mon, 29 May 1995 12:55:16 +0000 (08:55 -0400)]
Protect most definitions with #ifndef.
From-SVN: r9831
Richard Kenner [Sun, 28 May 1995 22:53:22 +0000 (18:53 -0400)]
(21064:Windows_NT:50:3): New case.
From-SVN: r9830
Richard Kenner [Sun, 28 May 1995 22:48:30 +0000 (18:48 -0400)]
Properly use $(srcdir) for files that have it in their reference as a target of a rule.
Properly use $(srcdir) for files that have it in their reference as a target
of a rule.
(libgcc1.a): Add missing RANLIB_TEST use.
From-SVN: r9829
Richard Kenner [Sun, 28 May 1995 22:33:50 +0000 (18:33 -0400)]
(expand_computed_goto): Call do_pending_stack_adjust.
From-SVN: r9828
Torbjorn Granlund [Sun, 28 May 1995 22:08:02 +0000 (22:08 +0000)]
(divmodhi4, udivmodhi4): Use "dmsK" for operand 2.
From-SVN: r9827
Mike Stump [Sat, 27 May 1995 00:15:16 +0000 (00:15 +0000)]
73rd Cygnus<->FSF merge
From-SVN: r9826
Richard Kenner [Fri, 26 May 1995 21:01:15 +0000 (17:01 -0400)]
Fix bogus recursive <stdlib.h> in NEWS-OS 4.0C.
From-SVN: r9825
Michael Meissner [Fri, 26 May 1995 15:03:12 +0000 (15:03 +0000)]
Fix problem initializing bitfields to enums.
From-SVN: r9824
Richard Kenner [Thu, 25 May 1995 21:37:38 +0000 (17:37 -0400)]
Allow white space between `#' and `if' when looking for lines to
patch.
From-SVN: r9823
Richard Kenner [Thu, 25 May 1995 21:35:55 +0000 (17:35 -0400)]
Add `sel', `tahoe', `r3000', `r4000' to the list of pre-ANSI symbols
that need to be surrounded with __ __.
From-SVN: r9822
Richard Kenner [Thu, 25 May 1995 21:27:36 +0000 (17:27 -0400)]
(PRECOMPUTE_SELECTORS, struct soffset): Use #ifdef __sparc__, not
sparc.
From-SVN: r9821
Michael Meissner [Thu, 25 May 1995 15:55:33 +0000 (15:55 +0000)]
fix typo
From-SVN: r9820
Michael Meissner [Thu, 25 May 1995 15:42:32 +0000 (15:42 +0000)]
If cross compiler or if -nostdlib, do not pass -YP to linker.
From-SVN: r9819
Richard Kenner [Thu, 25 May 1995 11:56:00 +0000 (07:56 -0400)]
(addsi_lshrsi_31, ashldi_const, ashrdi_const, lshrdi_const): Replace
`mov' with `move'.
From-SVN: r9818
Richard Kenner [Thu, 25 May 1995 11:35:27 +0000 (07:35 -0400)]
(L_eh, i386): Remove in-line comments in assembly code--the '#'
character is not valid for the SYSV as.
From-SVN: r9817
Richard Kenner [Thu, 25 May 1995 11:28:44 +0000 (07:28 -0400)]
(BC_ALL): Restore it from May 22 change; vms uses it.
(STAGESTUFF): Use it.
From-SVN: r9816
Richard Kenner [Thu, 25 May 1995 11:11:49 +0000 (07:11 -0400)]
(alpha_emit_set_const): Don't call expand_binop for other than add if
SImode and can't create pseudos.
From-SVN: r9815
Jim Wilson [Thu, 25 May 1995 01:41:18 +0000 (18:41 -0700)]
(reemit_notes): New function.
(schedule_block): Call reemit_notes twice. Reorganize code for
handling SCHED_GROUP_P insns, so that reemit_notes works.
From-SVN: r9814
Jim Wilson [Thu, 25 May 1995 01:38:04 +0000 (18:38 -0700)]
(shiftcosts, genshifty_op): Add SH3 support.
From-SVN: r9813
Jim Wilson [Thu, 25 May 1995 01:37:39 +0000 (18:37 -0700)]
(ashlsi3, lshrsi3): Add SH3 support.
(ashlsi3_d, ashrsi3_d, lshrsi3_d): New patterns for SH3.
(ashrsi2_31): Remove r/!r constraint.
From-SVN: r9812
Jason Merrill [Wed, 24 May 1995 21:46:55 +0000 (21:46 +0000)]
*** empty log message ***
From-SVN: r9811
Richard Kenner [Wed, 24 May 1995 20:49:36 +0000 (16:49 -0400)]
(libgcc2.a): Handle case of separate srcdir.
From-SVN: r9810
Richard Kenner [Wed, 24 May 1995 20:01:04 +0000 (16:01 -0400)]
(strstr, strncmp, strlen): Remove declarations.
From-SVN: r9809
Doug Evans [Wed, 24 May 1995 19:58:12 +0000 (19:58 +0000)]
(LINK_SPEC): Don't pass "-e start" if nostartfiles rather than nostdlib.
From-SVN: r9808
Richard Kenner [Wed, 24 May 1995 19:55:47 +0000 (15:55 -0400)]
decl.c
decl2.c
method.c
From-SVN: r9807
Richard Kenner [Wed, 24 May 1995 19:53:53 +0000 (15:53 -0400)]
(largest_union_member): Check simple_cst_equal result against 0.
From-SVN: r9806
Doug Evans [Wed, 24 May 1995 19:50:38 +0000 (19:50 +0000)]
(FUNCTION_ARG_BOUNDARY): Use GET_MODE_BITSIZE.
From-SVN: r9805
Richard Kenner [Wed, 24 May 1995 19:47:11 +0000 (15:47 -0400)]
(finish_anon_union): Check simple_cst_equal result against 0.
From-SVN: r9804
Richard Kenner [Wed, 24 May 1995 19:46:27 +0000 (15:46 -0400)]
(duplicate_decls): Check simple_cst_equal result against 0.
From-SVN: r9803
Richard Kenner [Wed, 24 May 1995 19:41:37 +0000 (15:41 -0400)]
(type_list_equal, simple_cst_list_equal, index_type_equal):
Check for simple_cst_equal return value of -1.
From-SVN: r9802
Jason Merrill [Wed, 24 May 1995 19:41:29 +0000 (19:41 +0000)]
*** empty log message ***
From-SVN: r9801
H.J. Lu [Wed, 24 May 1995 18:41:43 +0000 (14:41 -0400)]
Make-lang.in
From-SVN: r9800
Michael Meissner [Wed, 24 May 1995 18:41:08 +0000 (18:41 +0000)]
Strip leading * from names.
From-SVN: r9799
H.J. Lu [Wed, 24 May 1995 18:40:42 +0000 (14:40 -0400)]
(cxxmain.o): Replace single quotes with backslashes.
From-SVN: r9798
Michael Meissner [Wed, 24 May 1995 16:52:13 +0000 (16:52 +0000)]
Provide start, _start for gld to use as start address.
From-SVN: r9797
Michael Meissner [Wed, 24 May 1995 16:52:13 +0000 (16:52 +0000)]
make compatible with new rs6000 change.
From-SVN: r9796
Michael Meissner [Wed, 24 May 1995 14:40:43 +0000 (14:40 +0000)]
Make -mstring more like -mmultiple; Emit correct stabs on V.4; Emit correct cpp flags on little endian eabi
From-SVN: r9795
Jason Merrill [Wed, 24 May 1995 08:21:04 +0000 (08:21 +0000)]
*** empty log message ***
From-SVN: r9794
Doug Evans [Wed, 24 May 1995 02:20:13 +0000 (02:20 +0000)]
(LINK_SPEC): Don't pass "-e start" if nostartfiles rather than nostdlib.
From-SVN: r9793
Doug Evans [Wed, 24 May 1995 02:17:46 +0000 (02:17 +0000)]
(CROSS_LINK_SPEC): ENDFILE_SPEC moved to -nostartfiles.
From-SVN: r9792
Doug Evans [Wed, 24 May 1995 01:10:42 +0000 (01:10 +0000)]
(crtend.o): Remove crufty -o.
From-SVN: r9791
Doug Evans [Tue, 23 May 1995 23:54:00 +0000 (23:54 +0000)]
(link_command_spec): Move ENDFILE_SPEC from -nostdlib to -nostartfiles.
From-SVN: r9790
Richard Kenner [Tue, 23 May 1995 23:12:13 +0000 (19:12 -0400)]
(hash_rtx): Avoid warning on int-to-pointer conversion.
(output_fpops): Cast args to bcopy to char *.
From-SVN: r9789
Jim Wilson [Tue, 23 May 1995 22:49:30 +0000 (15:49 -0700)]
(negsi2-2): Change output pattern to #.
From-SVN: r9788
Jim Wilson [Tue, 23 May 1995 22:00:52 +0000 (15:00 -0700)]
(get_fnaddr): Add = to output contraint.
From-SVN: r9787
Jim Wilson [Tue, 23 May 1995 22:00:04 +0000 (15:00 -0700)]
(mips_finalize_pic): Delete declaration.
(FINALIZE_PIC): Delete.
(INIT_EXPANDERS): Clear embedded_pic_fnaddr_rtx.
From-SVN: r9786
Jim Wilson [Tue, 23 May 1995 21:59:19 +0000 (14:59 -0700)]
(embedded_pic_offset): Output RTL to initialize embedded_pic_fnaddr_rtx.
(embedded_pic_offset): Output RTL to initialize
embedded_pic_fnaddr_rtx.
(mips_finalize_pic): Delete.
From-SVN: r9785
Jim Wilson [Tue, 23 May 1995 21:38:27 +0000 (14:38 -0700)]
(shift_amounts): Correct entry for shifts by 29.
From-SVN: r9784
Jim Wilson [Tue, 23 May 1995 21:37:52 +0000 (14:37 -0700)]
(sett): New pattern.
(movsi_i): Change source constraint for move to T reg to be 'z'.
From-SVN: r9783
Jim Wilson [Tue, 23 May 1995 21:19:14 +0000 (14:19 -0700)]
(STARTFILE_SPEC): Define to null string.
From-SVN: r9782
Jim Wilson [Tue, 23 May 1995 21:18:51 +0000 (14:18 -0700)]
Correct typo in comment.
From-SVN: r9781
Jim Wilson [Tue, 23 May 1995 21:01:25 +0000 (14:01 -0700)]
(MIPS_CPU_DEFAULT): Delete.
From-SVN: r9780
Jim Wilson [Tue, 23 May 1995 20:59:57 +0000 (13:59 -0700)]
(override_options): Delete #ifdef MIPS_CPU_DEFAULT code.
Add #ifdef MIPS_CPU_DEFAULT_STRING code before the first
mips_cpu_string test.
From-SVN: r9779
Richard Kenner [Tue, 23 May 1995 18:33:04 +0000 (14:33 -0400)]
(initialize_builtins): Add missing parm to timestamp call.
From-SVN: r9778
Richard Kenner [Tue, 23 May 1995 11:27:14 +0000 (07:27 -0400)]
(install-libobjc): Don't depend on libobjc.a.
From-SVN: r9777
Richard Kenner [Tue, 23 May 1995 11:22:29 +0000 (07:22 -0400)]
Objc shift/reduce conflicts now 48.
(parm): Use setspecs/restore here.
(parmlist_or_identifiers): Not here.
From-SVN: r9776
Michael Meissner [Tue, 23 May 1995 01:54:01 +0000 (01:54 +0000)]
Use -oformat to set link output format, not -m.
From-SVN: r9775
Doug Evans [Mon, 22 May 1995 23:30:17 +0000 (23:30 +0000)]
(movsf_h8300h): Add missing post-inc case to constraints.
From-SVN: r9774
Richard Kenner [Mon, 22 May 1995 23:15:56 +0000 (19:15 -0400)]
(mystrstr): Replacement for strstr.
From-SVN: r9773
Richard Kenner [Mon, 22 May 1995 23:11:12 +0000 (19:11 -0400)]
Update comments.
From-SVN: r9772
Richard Kenner [Mon, 22 May 1995 22:57:06 +0000 (18:57 -0400)]
Set new variables into Makefile.
Build winnt.obj.
Edit CCCP definition.
From-SVN: r9771
Richard Kenner [Mon, 22 May 1995 22:55:23 +0000 (18:55 -0400)]
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
Richard Kenner [Mon, 22 May 1995 21:40:39 +0000 (17:40 -0400)]
Make-lang.in
Makefile.in
From-SVN: r9769
Richard Kenner [Mon, 22 May 1995 21:38:14 +0000 (17:38 -0400)]
(../cc1plus): Use $(exeext) in name of executable.
From-SVN: r9768
Richard Kenner [Mon, 22 May 1995 21:37:40 +0000 (17:37 -0400)]
(g++, g++-cross, cc1plus, DEMANGLER_PROG):
Use $@ instead of output name so works even if have .exe.
(cxxmain.o): Use cp if ln -s fails.
(c++.install-man): Use $(exeext) in executable names.
(c++.mostlyclean, stage[1-4]): Use $(objext) in object file names.
From-SVN: r9767
Richard Kenner [Mon, 22 May 1995 21:10:06 +0000 (17:10 -0400)]
(HAVE_OBJECT_SUFFIX): New macro.
(process_command): Convert x.o to x.foo for OBJECT_SUFFIX of ".foo".
(do_spec_1): Avoid shadow variable "i" and always use for loop var.
From-SVN: r9766
Richard Kenner [Mon, 22 May 1995 21:03:30 +0000 (17:03 -0400)]
(finish_decl_top_level): Removed; no longer used.
From-SVN: r9765
Richard Kenner [Mon, 22 May 1995 21:02:40 +0000 (17:02 -0400)]
Numerous formatting changes.
(NULLT): Deleted; all uses changed to NULL_TREE.
(get_{static,object}_reference, objc_add_static_instance):
Use push_obstacks instead of saving obstacks manually.
(build_{selector,class}_reference_decl): Likewise.
(build_objc_string_decl, build_protocol_reference): Likewise.
(comp_{method,proto}_with_proto): Likewise.
(create_builtin_decl, synth_module_prologue): Set DECL_ARTIFICIAL for internal
objects.
(build_{selector,class}_reference_decl, add_objc_decls): Likewise.
(generate_objc_symtab_decl, build_module_descriptor): Likewise.
(build_protocol_reference): Likewise.
(build_objc_string_decl, synch_forward_declarations): Likewise.
Delete call to end_temporary_allocation.
(generate_static_references, generate_strings): Likewise.
(build_selector_translation_table, generate_category): Likewise.
(generate_{ivars,protocol}_list, build_protocol_reference): Likewise.
(build_objc_string_object): If next_runtime, put everything in
permanent obstack.
(objc_add_static_instance): Use build_decl instead of start_decl
and finish_decl_top_level.
(build_{class_reference,objc_string}_decl): Clear DECL_CONTEXT.
(start_class): Exit with FATAL_EXIT_CODE, not 1.
(add_objc_decls): Don't set DECL_IN_SYSTEM_HEADER.
From-SVN: r9764
Michael Meissner [Mon, 22 May 1995 18:57:01 +0000 (18:57 +0000)]
Add -mno-toc; Support block moves if -mno-string.
From-SVN: r9763
Richard Kenner [Mon, 22 May 1995 11:10:37 +0000 (07:10 -0400)]
(valid_machine_attribute): Handle attribute on pointer-to-function
types.
From-SVN: r9762
Jim Wilson [Sun, 21 May 1995 21:21:54 +0000 (14:21 -0700)]
(HAVE_STRERROR): Remove.
Use __start as entry point. Ifdef some paths on CROSS_COMPILE.
From-SVN: r9761
Richard Kenner [Sun, 21 May 1995 12:39:16 +0000 (08:39 -0400)]
(datadef, fndef, ivar_decl, mydecls): Restore declspec_stack since setspecs is used.
(datadef, fndef, ivar_decl, mydecls): Restore declspec_stack since
setspecs is used.
(parmlist_or_identifiers): Use setspecs before parsing parms and
restore after parsing parms.
From-SVN: r9760