Jeff Law [Fri, 12 May 1995 20:51:46 +0000 (14:51 -0600)]
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
Richard Kenner [Fri, 12 May 1995 20:51:16 +0000 (16:51 -0400)]
(HARD_REGNO_MODE_OK): Don't allow d7/a0 as DImode reg pair.
From-SVN: r9664
Richard Kenner [Fri, 12 May 1995 20:50:49 +0000 (16:50 -0400)]
(output_scc_di): New function.
(extend_operator) : Allow DImode target.
From-SVN: r9663
Richard Kenner [Fri, 12 May 1995 20:42:36 +0000 (16:42 -0400)]
Use <> in #include.
From-SVN: r9662
Ken Raeburn [Fri, 12 May 1995 20:23:47 +0000 (20:23 +0000)]
(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
Richard Kenner [Fri, 12 May 1995 20:06:17 +0000 (16:06 -0400)]
#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
Richard Kenner [Fri, 12 May 1995 20:03:37 +0000 (16:03 -0400)]
(do_include): Cast alloca's value.
From-SVN: r9659
Richard Kenner [Fri, 12 May 1995 19:54:00 +0000 (15:54 -0400)]
(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
Richard Kenner [Fri, 12 May 1995 19:53:36 +0000 (15:53 -0400)]
(myparm): Handle attributes.
From-SVN: r9657
Michael Meissner [Fri, 12 May 1995 19:45:00 +0000 (19:45 +0000)]
fix typo
From-SVN: r9656
Richard Kenner [Fri, 12 May 1995 18:39:59 +0000 (14:39 -0400)]
(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
Richard Kenner [Fri, 12 May 1995 18:39:32 +0000 (14:39 -0400)]
(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
Doug Evans [Fri, 12 May 1995 18:25:51 +0000 (18:25 +0000)]
(movsicc): New pattern.
(movsfcc, movdfcc, *movsicc_insn, *movsfcc_hard_insn): Likewise.
(*movsfcc_soft_insn, movdfcc_insn): Likewise.
(*movdf_soft_insn): Rewrite.
From-SVN: r9653
Doug Evans [Fri, 12 May 1995 18:24:51 +0000 (18:24 +0000)]
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
Doug Evans [Fri, 12 May 1995 18:23:56 +0000 (18:23 +0000)]
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
Richard Kenner [Fri, 12 May 1995 18:20:43 +0000 (14:20 -0400)]
(simplify_shift_const): Don't change SHIFT_MODE for LSHIFTRT either.
From-SVN: r9650
Doug Evans [Fri, 12 May 1995 17:34:39 +0000 (17:34 +0000)]
(movsi matcher): Fix typo in type attribute.
From-SVN: r9649
Michael Meissner [Fri, 12 May 1995 17:34:13 +0000 (17:34 +0000)]
Set -malign-loops= default to 2.
From-SVN: r9648
Michael Meissner [Fri, 12 May 1995 17:22:04 +0000 (17:22 +0000)]
Add better support for passing args in registers; Add loop/jump/function alignment overrides; add decrement_and_branch until 0
From-SVN: r9647
Richard Kenner [Fri, 12 May 1995 16:48:07 +0000 (12:48 -0400)]
(unroll_loop): Don't move reg if used in copy_end and that is a
JUMP_INSN.
From-SVN: r9646
Doug Evans [Fri, 12 May 1995 16:30:52 +0000 (16:30 +0000)]
Initial revision
From-SVN: r9645
Doug Evans [Fri, 12 May 1995 15:49:42 +0000 (15:49 +0000)]
(vxworks29k): New alias.
From-SVN: r9644
Doug Evans [Fri, 12 May 1995 15:35:12 +0000 (15:35 +0000)]
Initial revision
From-SVN: r9643
Jim Wilson [Fri, 12 May 1995 15:16:31 +0000 (08:16 -0700)]
(check_dbra_loop): When reversing loop when
no_use_except_counting is false, there must be only one biv.
From-SVN: r9642
Richard Kenner [Fri, 12 May 1995 11:36:50 +0000 (07:36 -0400)]
(unroll_loop): Only use local_regno for pseudos.
From-SVN: r9641
Richard Kenner [Fri, 12 May 1995 11:13:25 +0000 (07:13 -0400)]
(write_test_expr, case MATCH_DUP): Use operands[N] instead of JUMP_LABEL (which may not be set).
(write_test_expr, case MATCH_DUP): Use operands[N] instead of
JUMP_LABEL (which may not be set).
(walk_attr_value, case MATCH_DUP): Set must_extract.
From-SVN: r9640
Richard Kenner [Fri, 12 May 1995 11:09:47 +0000 (07:09 -0400)]
(push_parm_decl): Pass any attributes to decl_attributes.
From-SVN: r9639
Richard Kenner [Fri, 12 May 1995 11:08:56 +0000 (07:08 -0400)]
Adjust number of shift/reduce conflicts.
(parm): Support attributes.
From-SVN: r9638
Per Bothner [Fri, 12 May 1995 08:13:44 +0000 (01:13 -0700)]
Fix reporting of unterminated strings.
From-SVN: r9637
Jim Wilson [Fri, 12 May 1995 06:19:57 +0000 (23:19 -0700)]
(MD_STARTFILE_PREFIX, MD_EXEC_PREFIX,
STARTFILE_SPEC, LINK_SPEC): Define.
From-SVN: r9636
Per Bothner [Fri, 12 May 1995 02:33:33 +0000 (19:33 -0700)]
cpplib.c (line_for_error): Make it work; add extra parameter.
* cpplib.c (line_for_error): Make it work; add extra parameter.
(skip_quoted_string, cpp_get_token): Update calls to line_for_error.
(macroexpand): Remember initial line so we can report it if the
call is unterminated. Also, simplify error logic slightly.
(do_include): Cast alloca return value, to avoid pcc warning.
From-SVN: r9635
Per Bothner [Fri, 12 May 1995 02:18:36 +0000 (19:18 -0700)]
* cppexp.c (parse_number): Cleanup some Cygnus crud for MPW.
From-SVN: r9634
Torbjorn Granlund [Fri, 12 May 1995 01:39:52 +0000 (01:39 +0000)]
OK, this is what I really wanted to install...
From-SVN: r9633
Torbjorn Granlund [Fri, 12 May 1995 01:36:45 +0000 (01:36 +0000)]
(i960_output_ldconst): Let split_double handle DImode.
(i960_print_operand): Use REAL_VALUE_TO_DECIMAL for decimal strings.
(i960_output_double, i960_output_float): Likewise; also change arg
VALUE from `double' to `REAL_VALUE_TYPE'.
From-SVN: r9632
Per Bothner [Fri, 12 May 1995 01:10:55 +0000 (18:10 -0700)]
* cpperror.c (cpp_print_containing_files): Remove some Cygnus-local stuff.
From-SVN: r9631
Doug Evans [Fri, 12 May 1995 01:06:03 +0000 (01:06 +0000)]
(link_command_spec): Make -nostdlib no longer imply -nostartfiles.
From-SVN: r9630
Per Bothner [Fri, 12 May 1995 00:19:09 +0000 (17:19 -0700)]
Recognize PCs running Solaris2. Also, some cleaning up for CRAYs.
From-SVN: r9629
Richard Kenner [Thu, 11 May 1995 23:27:13 +0000 (19:27 -0400)]
(nested_function, notype_nested_function): Allow old-style arg
definitions (use xdecls).
From-SVN: r9628
Richard Kenner [Thu, 11 May 1995 23:26:45 +0000 (19:26 -0400)]
(grokdeclarator): Use PARM_FLAG to see if should make PARM_DECL.
From-SVN: r9627
Richard Kenner [Thu, 11 May 1995 22:48:51 +0000 (18:48 -0400)]
(convert_and_check): Don't diagnose overflow in constant expression
merely because conversion overflowed.
From-SVN: r9626
Richard Kenner [Thu, 11 May 1995 22:43:43 +0000 (18:43 -0400)]
(finish_struct): Properly update DECL_PACKED.
From-SVN: r9625
Jason Merrill [Thu, 11 May 1995 21:36:16 +0000 (21:36 +0000)]
70th Cygnus<->FSF merge
From-SVN: r9624
Jason Merrill [Thu, 11 May 1995 19:25:36 +0000 (19:25 +0000)]
*** empty log message ***
From-SVN: r9623
Jim Wilson [Thu, 11 May 1995 18:42:41 +0000 (11:42 -0700)]
Initial revision
From-SVN: r9622
Jim Wilson [Thu, 11 May 1995 18:34:32 +0000 (11:34 -0700)]
(LOCAL_LABEL_PREFIX, USER_LABEL_PREFIX): Define.
(PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, ASM_OUTPUT_LABEL_REF,
ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use them.
From-SVN: r9621
Jim Wilson [Thu, 11 May 1995 18:31:37 +0000 (11:31 -0700)]
(mips_output_lineno): Use LOCAL_LABEL_PREFIX.
From-SVN: r9620
Jim Wilson [Thu, 11 May 1995 18:21:22 +0000 (11:21 -0700)]
(output_decl): Don't output DIE for struct or union type
with no name or with ERROR_MARK for the fields.
From-SVN: r9619
Michael Meissner [Thu, 11 May 1995 13:46:51 +0000 (13:46 +0000)]
Eliminate dead code caused by last patch
From-SVN: r9618
Michael Meissner [Thu, 11 May 1995 13:37:44 +0000 (13:37 +0000)]
Do not segfault if SUBREG uses something other than REG.
From-SVN: r9617
Richard Kenner [Thu, 11 May 1995 10:44:14 +0000 (06:44 -0400)]
(do_jump, case EX_EXPR, NE_EXPR): Fix typo for complex.
From-SVN: r9616
Michael Meissner [Wed, 10 May 1995 21:37:55 +0000 (21:37 +0000)]
Little endian support.
From-SVN: r9615
Michael Meissner [Wed, 10 May 1995 20:30:43 +0000 (20:30 +0000)]
Do not build -mmultiple/-mno-multiple libgcc.a variants
From-SVN: r9614
Michael Meissner [Wed, 10 May 1995 18:26:30 +0000 (18:26 +0000)]
Add little endian PowerPC support.
From-SVN: r9613
Doug Evans [Wed, 10 May 1995 18:22:00 +0000 (18:22 +0000)]
* Makefile.in (libgcc1-test): Tell the user to ignore warnings.
From-SVN: r9612
Doug Evans [Wed, 10 May 1995 18:21:05 +0000 (18:21 +0000)]
* libgcc1-test.c (main_without__main): Renamed from `main'.
From-SVN: r9611
Richard Kenner [Wed, 10 May 1995 14:33:50 +0000 (10:33 -0400)]
Add declarations of static functions.
(unroll_loop): Renumber reg local to loop for each unrolled iteration.
From-SVN: r9610
Richard Kenner [Wed, 10 May 1995 12:31:01 +0000 (08:31 -0400)]
(alpha_set_emit_const): Cleanups to work properly when run on 32-bit
host.
From-SVN: r9609
Richard Kenner [Wed, 10 May 1995 12:26:52 +0000 (08:26 -0400)]
(out_file, md_file, tm_file, {build,host}_xm_file):
New symbols, to be overridden by configure.
(insn-*): Use $(md_file), not md.
(aux-output.o): Use $(out_file), not aux-output.c.
($(MD_FILE)): Rework to use new conventions.
(gen*.o, bi-*.o): Depend on $(build_xm_file), not hconfig.h.
(scan.o, fix-header.o, scan-decls.o): Likewise.
(distclean): Adjust files removed for new convention.
From jason@cygnus.com:
(STAGESTUFF): Add underscore.c.
(underscore.c): Rename temporary files to begin with 'tmp-' so that they will
be removed by 'make mostlyclean'.
From-SVN: r9608
Jason Merrill [Wed, 10 May 1995 05:49:16 +0000 (05:49 +0000)]
(LIBGCC_SPEC): Do link with libgcc when -shared.
From-SVN: r9607
Mike Stump [Wed, 10 May 1995 02:58:06 +0000 (02:58 +0000)]
69th Cygnus<->FSF merge
From-SVN: r9606
Mike Stump [Wed, 10 May 1995 02:22:23 +0000 (02:22 +0000)]
* toplev.c (lang_options): Add new flag -ffor-scope.
From-SVN: r9605
Richard Kenner [Tue, 9 May 1995 23:11:43 +0000 (19:11 -0400)]
(objc_init_statics): Fix missing part of last change.
From-SVN: r9604
Richard Kenner [Tue, 9 May 1995 22:25:08 +0000 (18:25 -0400)]
Use <xxx> in #include.
From-SVN: r9603
Richard Kenner [Tue, 9 May 1995 22:20:29 +0000 (18:20 -0400)]
Use <xxx> for #include.
From-SVN: r9602
Richard Kenner [Tue, 9 May 1995 22:09:20 +0000 (18:09 -0400)]
Use <xx> in #include.
From-SVN: r9601
Michael Meissner [Tue, 9 May 1995 20:22:38 +0000 (20:22 +0000)]
Add powerpc little endian support; Add powerpc variants; Add pentium variants
From-SVN: r9600
Jason Merrill [Tue, 9 May 1995 19:42:41 +0000 (19:42 +0000)]
*** empty log message ***
From-SVN: r9599
Jim Wilson [Tue, 9 May 1995 18:07:54 +0000 (11:07 -0700)]
(__ashrsi3, __ashlsi3, __lshrsi3): Use .byte instead
of .word offsets in switch table.
From-SVN: r9598
Richard Kenner [Tue, 9 May 1995 15:44:43 +0000 (11:44 -0400)]
(__objc_send_initialize): Call superclass if object does not implement
+initialize.
From-SVN: r9597
Jason Merrill [Tue, 9 May 1995 10:22:18 +0000 (10:22 +0000)]
*** empty log message ***
From-SVN: r9596
Jason Merrill [Tue, 9 May 1995 10:21:13 +0000 (10:21 +0000)]
AIX shared libraries
From-SVN: r9595
Jason Merrill [Tue, 9 May 1995 10:06:32 +0000 (10:06 +0000)]
(declare_hidden_char_array): Mark decl artificial.
From-SVN: r9594
Richard Kenner [Mon, 8 May 1995 22:13:53 +0000 (18:13 -0400)]
(_objc_load_callback): Add declaration.
From-SVN: r9593
Richard Kenner [Mon, 8 May 1995 22:13:33 +0000 (18:13 -0400)]
(_objc_load_callback): Add declaration.
(__objc_exec_class): Call _objc_load_callback after every Class or Category
is added.
From-SVN: r9592
Richard Kenner [Mon, 8 May 1995 21:59:41 +0000 (17:59 -0400)]
(expand_expr, case INDIRECT_REF): Set RTX_UNCHANGING_P if both
TREE_READONLY and TREE_STATIC set.
From-SVN: r9591
Richard Kenner [Mon, 8 May 1995 21:56:12 +0000 (17:56 -0400)]
(convert_for_assignment): Don't give errors about adding const or
volatile unless both sides point to functions.
From-SVN: r9590
Jason Merrill [Mon, 8 May 1995 00:51:46 +0000 (00:51 +0000)]
(expand_call): Improve -Winline warnings.
From-SVN: r9589
Richard Kenner [Sun, 7 May 1995 21:28:23 +0000 (17:28 -0400)]
Add support for win32's stdcall functions.
From-SVN: r9588
Richard Kenner [Sun, 7 May 1995 21:27:58 +0000 (17:27 -0400)]
Use "go32" instead of "msdos" for future expansion.
Add ^M to end of each line.
From-SVN: r9587
Jason Merrill [Sun, 7 May 1995 10:28:12 +0000 (10:28 +0000)]
DECL_ARTIFICIAL
From-SVN: r9586
Jason Merrill [Sun, 7 May 1995 10:28:12 +0000 (10:28 +0000)]
(expand_function_end): Don't warn about unused
anonymous or artificial parms.
From-SVN: r9585
Richard Kenner [Fri, 5 May 1995 23:14:07 +0000 (19:14 -0400)]
(process_init_element): Don't clear_momentary if constructor_stack is
not empty.
From-SVN: r9584
Richard Kenner [Fri, 5 May 1995 21:36:40 +0000 (17:36 -0400)]
(do_jump): Fix error in last change.
From-SVN: r9583
Richard Kenner [Fri, 5 May 1995 20:54:10 +0000 (16:54 -0400)]
(SHELL): Now /bin/sh.
From-SVN: r9582
Jeff Law [Fri, 5 May 1995 18:55:27 +0000 (12:55 -0600)]
pa.c (emit_move_sequence): Force problematical constants into memory during the reload pass when...
* pa.c (emit_move_sequence): Force problematical constants
into memory during the reload pass when generating PIC.
From-SVN: r9581
Richard Kenner [Fri, 5 May 1995 18:51:56 +0000 (14:51 -0400)]
(build_binary_op): Also warn about ordered comparison of pointer with
zero if -Wall.
From-SVN: r9580
Doug Evans [Fri, 5 May 1995 17:32:07 +0000 (17:32 +0000)]
NXConstantString.h renamed to NXConstStr.h.
From-SVN: r9579
Richard Kenner [Fri, 5 May 1995 11:10:06 +0000 (07:10 -0400)]
(emdnorm, toe64, etoe64): Significand of Intel long double denormals
is shifted down one bit.
From-SVN: r9578
Richard Kenner [Fri, 5 May 1995 11:03:41 +0000 (07:03 -0400)]
(do_jump, case EQ_EXPR, NE_EXPR): Properly compare complex.
From-SVN: r9577
Richard Kenner [Fri, 5 May 1995 09:50:51 +0000 (05:50 -0400)]
Add more NetBSD cases: atrai, sun3*, and mac68k.
From-SVN: r9576
Richard Kenner [Thu, 4 May 1995 22:01:21 +0000 (18:01 -0400)]
NXConstantString renamed to NXConstStr.
From-SVN: r9575
Richard Kenner [Thu, 4 May 1995 21:37:30 +0000 (17:37 -0400)]
Initial revision
From-SVN: r9574
Jason Merrill [Thu, 4 May 1995 21:25:31 +0000 (21:25 +0000)]
Make collect demangle
From-SVN: r9573
Jim Wilson [Thu, 4 May 1995 18:14:53 +0000 (11:14 -0700)]
(plain_type): Pass additional argument to plain_type_1.
(plain_type_1): New parameter level. Increment it when making
recursive calls. Force the type to void_type_mode before starting
a 7th level of recursion.
From-SVN: r9572
Jim Wilson [Thu, 4 May 1995 18:12:10 +0000 (11:12 -0700)]
(general_movsrc_operand, general_movdst_operand): Delete
references to POST_DEC and PRE_INC.
From-SVN: r9571
Jim Wilson [Thu, 4 May 1995 18:11:46 +0000 (11:11 -0700)]
Clean up whitespace, comments, etc.
(TARGET_SH, RTL_BIT, DT_BIT, C_BIT, R_BIT, TARGET_DUMP_RTL,
TARGET_DUMP_R, TARGET_CDUMP): Delete.
(TARGET_SWITCHES): Delete -mR, -mc, -mr options.
(CONST_DOUBLE_OK_FOR_LETTER_P): Delete 'G' contraint.
(FUNCTION_VALUE): Simplify.
(REG_OK_FOR_PRE_POST_P, IS_INDEX): Delete.
(BASE_REGISTER_RTX_P, INDEX_REGISTER_RTX_P): Rewrite to allow
SUBREGs.
(GO_IF_LEGITIMATE_INDEX): Delete unused REGNO argument.
(GO_IF_LEGITIMATE_ADDRESS): Use BASE_REGISTER_RTX_P instead of
REG_OK_FOR_PRE_POST_P. Don't accept PRE_INC or POST_DEC addresses.
(PREDICATE_CODES, PROMOTE_MODE): Define.
From-SVN: r9570
Michael Meissner [Wed, 3 May 1995 18:49:09 +0000 (18:49 +0000)]
Fix abs not to use powerpc instructions on -mcpu=common
From-SVN: r9569
Richard Kenner [Wed, 3 May 1995 12:48:50 +0000 (08:48 -0400)]
(gen_aux_info_file): Use strerror #ifdef HAVE_STRERROR.
From-SVN: r9568
Jeff Law [Wed, 3 May 1995 05:07:56 +0000 (23:07 -0600)]
pa.c (output_call): Fix typo/thinko in last change.
* pa.c (output_call): Fix typo/thinko in last change.
(output_function_epilogue): Align the data section before
emitting deferred plabels.
From Torbjorn:
* pa.c (before functions): Declare deferred_plabels and
n_deferred_plabels.
(output_call): When generating pic, don't use LP and RP. Use 32 bit
plabel instead.
(output_function_epilogue): Output plabels accumulated in output_call.
From-SVN: r9567
Mike Stump [Tue, 2 May 1995 21:54:39 +0000 (21:54 +0000)]
small tweak
From-SVN: r9566