9671 Commits

Author SHA1 Message Date
Richard Kenner
0abd492b81 Initial revision
From-SVN: r9699
1995-05-15 23:05:24 -04:00
Richard Kenner
e787a350fd (CHECK_FLOAT_VALUE): Fix misspelling of OVERFLOW parameter.
From-SVN: r9698
1995-05-15 22:36:03 -04:00
Jason Merrill
daefd78b4c Update weak symbol support
From-SVN: r9697
1995-05-16 01:02:59 +00:00
Jason Merrill
27a2e668fd Define strstr.
From-SVN: r9696
1995-05-16 00:57:31 +00:00
Richard Kenner
8bd57699c8 (out_object_file): Use in place of aux-output.o.
From-SVN: r9695
1995-05-15 19:32:33 -04:00
Richard Kenner
7cd5f0b28f (const_binop): Don't pass OVERFLOW to force_fit_type if type is
unsigned.

From-SVN: r9694
1995-05-15 19:01:31 -04:00
Richard Kenner
7db4b14915 (VALID_MACHINE_{DECL,TYPE_ATTRIBUTE): Fix typo.
From-SVN: r9693
1995-05-15 18:54:26 -04:00
Richard Kenner
98e34a948b (CHECK_FLOAT_VALUE): Fix misspelled use of parameter.
From-SVN: r9692
1995-05-15 18:51:19 -04:00
Richard Kenner
3cae95aff8 (spec_reg_operand): Fix misspelling of `default:'.
From-SVN: r9691
1995-05-15 18:48:22 -04:00
Richard Kenner
59bff24a80 (alloca): Extern decl added for non-GNU compiler.
From-SVN: r9690
1995-05-15 18:36:36 -04:00
Richard Kenner
253b5120f8 (b{eq,ne,ge,lt}0_di): Fixed for non-MOTOROLA syntax.
From-SVN: r9689
1995-05-15 18:35:27 -04:00
Per Bothner
98c748b895 * config.guess: Recognize Cray90 (from Pete TerMaat).
From-SVN: r9688
1995-05-15 14:49:34 -07:00
Per Bothner
1519594d5a cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* skipping hspace, not before.
* cppexp.c (cpp_reader):  Test for '#' (start of assertion) *after*
skipping hspace, not before.

From-SVN: r9687
1995-05-15 13:42:04 -07:00
Richard Kenner
bc9cc2868d Construct options.h and specs.h to #include all
"*/lang-{options|specs}.h" files found.

From-SVN: r9686
1995-05-15 08:13:50 -04:00
Doug Evans
b10ed55576 (movsicc, case NE): Don't generate unrecognizable insn.
(movdicc, case NE): Likewise.

From-SVN: r9685
1995-05-15 01:32:32 +00:00
Jim Wilson
ba68fc32bc (unroll_loop): Make local_regno have size max_reg_before_loop.
(unroll_loop): Make local_regno have size
max_reg_before_loop.  Don't do local register optimization if
copy_end has no INSN_LUID.

From-SVN: r9684
1995-05-14 12:44:30 -07:00
Richard Kenner
0ad228e654 (start_method_def): Mark _self as possibly unused.
From-SVN: r9683
1995-05-14 11:38:31 -04:00
Richard Kenner
2a95de178c (lang_options): Remove entries for Ada, C++, and Fortran; include
options.h instead.

From-SVN: r9682
1995-05-14 10:38:16 -04:00
Richard Kenner
1346ae41e6 (default_compilers): Remove entries for Ada, C++, Chill, and Fortran;
#include specs.h instead.

From-SVN: r9681
1995-05-14 10:37:53 -04:00
Richard Kenner
c40d5de468 (lang_{specs,options}_files): New variables.
(gcc.o): Depends on $(lang_specs_files).
(toplev.o): Depends on $(lang_options_file); merge two dep lists.
(distclean): Remove spes.h and options.

From-SVN: r9680
1995-05-14 10:36:25 -04:00
Richard Kenner
7ab7b00662 lang-options.h
lang-specs.h

From-SVN: r9679
1995-05-14 10:27:14 -04:00
Richard Kenner
6ef471dc8a Initial revision
From-SVN: r9678
1995-05-14 10:25:51 -04:00
Jim Wilson
9923a30d5c (back_branch_in_range_p): No longer static.
From-SVN: r9677
1995-05-13 07:57:49 -07:00
Jim Wilson
09dcbd74f9 (back_branch_in_range_p): Declare.
From-SVN: r9676
1995-05-13 07:57:22 -07:00
Jim Wilson
5031afa79c (record_giv): When computing replaceable, use
back_branch_in_range_p instead of looking for branches to named
labels.

From-SVN: r9675
1995-05-13 07:56:44 -07:00
Richard Kenner
bdaae9a01a (simplify_shift_count, case LSHIFTRT): Don't merge shifts of different
modes if first is any right shift.

From-SVN: r9674
1995-05-13 06:46:49 -04:00
Richard Earnshaw
e98b85444c Add configuration for semi-hosted ARM.
From-SVN: r9673
1995-05-13 09:37:50 +00:00
Richard Earnshaw
7a830785f4 Initial revision
From-SVN: r9672
1995-05-13 09:35:22 +00:00
Doug Evans
2aec79e2e1 (find_basic_blocks): Only perform n_basic_blocks sanity check on first pass...
(find_basic_blocks): Only perform n_basic_blocks sanity
check on first pass, and on second pass ensure it has the correct value.

From-SVN: r9671
1995-05-13 01:51:10 +00:00
Doug Evans
64c01f8071 (build_binary_op): Warn when ~unsigned is compared against unsigned...
(build_binary_op): Warn when ~unsigned is compared
against unsigned, and type promotions result in an unexpected answer.

From-SVN: r9670
1995-05-12 23:22:34 +00:00
Roland McGrath
2a6f449e66 Contents replaced with old i386/gnuelf.h.
From-SVN: r9669
1995-05-12 23:10:11 +00:00
Richard Kenner
36427b78ad (layout_type...
(layout_type, case ARRAY_TYPE): Compute length using MAX of length and
zero if sizetype signed and neither bound constant.

From-SVN: r9668
1995-05-12 18:31:57 -04:00
Ken Raeburn
74a35b2b7d (__IMMEDIATE_PREFIX__): Default to #.
(IMM): New macro.
(all code): Use IMM macro instead of hardcoding # for immediate operands.

From-SVN: r9667
1995-05-12 21:28:15 +00:00
Richard Kenner
31e033e928 (tstdi, cmpdi, addsi_lshrsi_31, ashldi_extsi): New patterns.
(extendqidi2, extendhidi2, extendsidi2): Allow "general_operand" instead
of "register_operand" 0.
(adddid_sexthishl32, subdid_sexthishl32, subdi_dishl32): Likewise.
(adddi_dilshr32): Operand 0 constraint changed from "ro" to "do";
Code generation fixed.
(adddi_mem, subdi_mem): Fixed for "<" and ">" operand 0.
(adddi3, subdi3): Operand 2 constraint changed from "ao" to "*ao"
(ashldi_sexthi, ashrdi_const32): Allow only "register_operand"
instead of "general_operand" 0.
(ash[lr]di_const, ash[lr]di3): Allow also 8 and 16 as shift count.
(subreg1ashrdi_const32): Pattern deleted.
(subreghi1ashrdi_const32, subregsi1ashrdi_const32): New pattern.
(lshrsi_31): New implementation.
(scc0_di, scc_di, beq0_di, bne0_di, bge0_di, blt0_di): New patterns.

From-SVN: r9666
1995-05-12 16:51:53 -04:00
Jeff Law
ff0a4409da pa.md (bb patterns): Fix bugs in length computation exposed by recent branch shortening and...
* pa.md (bb patterns): Fix bugs in length computation exposed by
	recent branch shortening and genattrtab changes.

From-SVN: r9665
1995-05-12 14:51:46 -06:00
Richard Kenner
71380ac692 (HARD_REGNO_MODE_OK): Don't allow d7/a0 as DImode reg pair.
From-SVN: r9664
1995-05-12 16:51:16 -04:00
Richard Kenner
c59c3b1c80 (output_scc_di): New function.
(extend_operator) : Allow DImode target.

From-SVN: r9663
1995-05-12 16:50:49 -04:00
Richard Kenner
096b9fea8d Use <> in #include.
From-SVN: r9662
1995-05-12 16:42:36 -04:00
Ken Raeburn
a9ce110c91 (enum node_type): Add T_IMMEDIATE_PREFIX_TYPE.
(special_symbol): Handle it; emit value of IMMEDIATE_PREFIX.
(IMMEDIATE_PREFIX): Default to empty string.
(initialize_builtins): Install __IMMEDIATE_PREFIX__ builtin, parallel to
__REGISTER_PREFIX__.

From-SVN: r9661
1995-05-12 20:23:47 +00:00
Richard Kenner
27027a6034 #if VMS, don't define `stat' macro to be VMS_stat.
#if VMS, don't define `stat' macro to be VMS_stat.
Compare enums explicitly to 0 to work around VAX C bug.

From-SVN: r9660
1995-05-12 16:06:17 -04:00
Richard Kenner
5583c64f59 (do_include): Cast alloca's value.
From-SVN: r9659
1995-05-12 16:03:37 -04:00
Richard Kenner
fc55cc66b2 (unused_list): New variable.
(build_tmp_function_decl): Call push_parm_decl with new format.
(start_class): Initialize unused_list.
(start_method_def): Call push_parm_decl with new format and mark _cmp as
possibly unused.

From-SVN: r9658
1995-05-12 15:54:00 -04:00
Richard Kenner
f6999fed2e (myparm): Handle attributes.
From-SVN: r9657
1995-05-12 15:53:36 -04:00
Michael Meissner
5eb9a4c394 fix typo
From-SVN: r9656
1995-05-12 19:45:00 +00:00
Richard Kenner
efe7d0213a (TPU makefile.in): Reorganize and reformat code.
Make generated .opt files have more consistent format (all comma
separated, excess whitespace eliminated);
(additional_compiler): New routine.
(process_makefile): Use it to handle cc1plus via cp/Make-lang.in.

From-SVN: r9655
1995-05-12 14:39:59 -04:00
Richard Kenner
a3c1ce7bb9 (bc_loop): Process comma-separated list rather than space-separated one;
restore .h suffix stripped by vmsconfig;
(loop1): More robust handling of directory prefix on file names.

From-SVN: r9654
1995-05-12 14:39:32 -04:00
Doug Evans
e7c3cc847f (movsicc): New pattern.
(movsfcc, movdfcc, *movsicc_insn, *movsfcc_hard_insn): Likewise.
(*movsfcc_soft_insn, movdfcc_insn): Likewise.
(*movdf_soft_insn): Rewrite.

From-SVN: r9653
1995-05-12 18:25:51 +00:00
Doug Evans
f313930195 Replace ARM_REG_PREFIX with REGISTER_PREFIX.
Replace ARM_COMMENT_CHAR with ASM_COMMENT_START.
(arm_asm_output_label): Use USER_LABEL_PREFIX.
(soft_df_operand): New function.

From-SVN: r9652
1995-05-12 18:24:51 +00:00
Doug Evans
c383667d4f Replace ARM_REG_PREFIX with REGISTER_PREFIX.
Replace ARM_COMMENT_CHAR with ASM_COMMENT_START.
(REGISTER_PREFIX): Define.
(USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Define.
(SECONDARY_OUTPUT_RELOAD_CLASS): Handle DFmodes only if TARGET_HARD_FLOAT.
(PREDICATE_CODES): Add soft_df_operand.

From-SVN: r9651
1995-05-12 18:23:56 +00:00
Richard Kenner
f6789c7753 (simplify_shift_const): Don't change SHIFT_MODE for LSHIFTRT either.
From-SVN: r9650
1995-05-12 14:20:43 -04:00