Doug Evans [Tue, 2 May 1995 20:53:50 +0000 (20:53 +0000)]
(jump_optimize, can_reach_end determination): A barrier can
follow the return insn.
From-SVN: r9564
Mike Stump [Tue, 2 May 1995 19:39:17 +0000 (19:39 +0000)]
fold-const.c (fold): Ensure that we don't alter the expression's type when folding CLEANUP_POINT_EXPRs.
* fold-const.c (fold): Ensure that we don't alter the expression's
type when folding CLEANUP_POINT_EXPRs.
From-SVN: r9563
Michael Meissner [Tue, 2 May 1995 17:41:19 +0000 (17:41 +0000)]
If expensive optimizations, use different pseudos when making store flag insns.
From-SVN: r9562
Jeffrey A. Law [Tue, 2 May 1995 05:27:01 +0000 (23:27 -0600)]
pa.c (hppa_expand_epilogue): Correctly handle restore of %rp for functions with a stack size of exactly...
Tue May 2 01:25:29 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
* pa.c (hppa_expand_epilogue): Correctly handle restore of %rp
for functions with a stack size of exactly 8kbytes and no frame
pointer.
From-SVN: r9561
Jim Wilson [Mon, 1 May 1995 23:50:11 +0000 (16:50 -0700)]
(sdbout_one_type): Don't switch to text section if
in function with section attribute.
From-SVN: r9560
Jim Wilson [Mon, 1 May 1995 23:43:28 +0000 (16:43 -0700)]
(combine_instrutions): Set subst_prev_insn to zero.
(try_combine, undo_all): Likewise.
(get_last_value): Return zero if subst_prev_insn set.
From-SVN: r9559
Jim Wilson [Mon, 1 May 1995 23:38:38 +0000 (16:38 -0700)]
(INIT_TARGET_OPTABS): Move INIT_SUBTARGET_OPTABS to end.
From-SVN: r9558
Jim Wilson [Mon, 1 May 1995 23:35:37 +0000 (16:35 -0700)]
(install-dir): chmod a+rx all newly created directories.
From-SVN: r9557
Jim Wilson [Mon, 1 May 1995 23:26:28 +0000 (16:26 -0700)]
(expand_expr, case SAVE_EXPR): Handle the case where
mode is VOIDmode.
From-SVN: r9556
Mike Stump [Mon, 1 May 1995 21:36:30 +0000 (21:36 +0000)]
68th Cygnus<->FSF merge
From-SVN: r9555
Per Bothner [Sun, 30 Apr 1995 21:43:12 +0000 (14:43 -0700)]
Improve cleaning up. See hangeLog.
From-SVN: r9554
Per Bothner [Sun, 30 Apr 1995 21:43:12 +0000 (14:43 -0700)]
* cppmain.c (main): Remove commented-out code that used PARSE_GETC.
From-SVN: r9553
Per Bothner [Sun, 30 Apr 1995 21:43:12 +0000 (14:43 -0700)]
Bunch of fixes. See ChangeLog.
From-SVN: r9552
Per Bothner [Sun, 30 Apr 1995 21:43:12 +0000 (14:43 -0700)]
Remove PARSE_GETC. Add comment about "@ ".
From-SVN: r9551
Richard Kenner [Sun, 30 Apr 1995 12:11:09 +0000 (08:11 -0400)]
(va_arg): Don't assume __va_rounded_size (char) has the value of 4.
From-SVN: r9550
Richard Kenner [Sun, 30 Apr 1995 12:00:18 +0000 (08:00 -0400)]
(NOTICE_UPDATE_CC): Correctly handle aob insns.
From-SVN: r9549
Richard Kenner [Sun, 30 Apr 1995 11:22:58 +0000 (07:22 -0400)]
(expand_expr, case CONSTRUCTOR): Don't set target to zero if more then one word.
(expand_expr, case CONSTRUCTOR): Don't set target to zero if more then one
word.
Pass size and alignment to move_by_pieces_ninsns in bytes, not bits.
From-SVN: r9548
Richard Kenner [Sun, 30 Apr 1995 11:19:15 +0000 (07:19 -0400)]
(cse_insn): Properly set IN_MEMORY for SET_DEST.
From-SVN: r9547
Richard Kenner [Sun, 30 Apr 1995 11:16:51 +0000 (07:16 -0400)]
(substitute_in_expr): Preserve TREE_READONLY.
From-SVN: r9546
Richard Kenner [Sun, 30 Apr 1995 11:13:38 +0000 (07:13 -0400)]
(enum attrs): Add A_UNUSED.
(init_attributes): Initialize it.
(decl_attributes, case A_UNUSED): New case.
From-SVN: r9545
Richard Kenner [Sat, 29 Apr 1995 19:44:14 +0000 (15:44 -0400)]
(do_include): Re-fix minor memory leak by using alloca instead of
xmalloc and free.
From-SVN: r9544
Richard Kenner [Sat, 29 Apr 1995 19:41:47 +0000 (15:41 -0400)]
(macarg): Except for reporting error...
(macarg): Except for reporting error, treat unterminated macro call as
if it were terminated, since `macroexpand' relies on *argptr being
filled in.
From-SVN: r9543
Torbjorn Granlund [Sat, 29 Apr 1995 10:07:29 +0000 (10:07 +0000)]
(output_mul_insn): Simplify, it is never called with UNSIGNEDP set.
From-SVN: r9542
Torbjorn Granlund [Sat, 29 Apr 1995 10:06:54 +0000 (10:06 +0000)]
(divsi3, udivsi3, modsi3, umodsi3): Simplify.
(ashlsi3): Clean up indentation and commentary.
From-SVN: r9541
Jason Merrill [Fri, 28 Apr 1995 19:46:40 +0000 (19:46 +0000)]
Tweak line numbers in output
From-SVN: r9540
Stan Cox [Fri, 28 Apr 1995 17:04:06 +0000 (17:04 +0000)]
(ENDFILE_SPEC, LIB_SPEC) Fix crtbegin and crtend
From-SVN: r9539
Stan Cox [Fri, 28 Apr 1995 17:04:06 +0000 (17:04 +0000)]
(umulsidi3) Doesn't work for 88110 with mod/div changes
,.
From-SVN: r9538
Stan Cox [Fri, 28 Apr 1995 17:04:06 +0000 (17:04 +0000)]
(FRAME_POINTER_REQUIRED) Add -momit-leaf-frame-pointer
From-SVN: r9537
Stan Cox [Fri, 28 Apr 1995 17:04:06 +0000 (17:04 +0000)]
(symbolic_operand) Put relocatable pic constants in data
From-SVN: r9536
Stan Cox [Fri, 28 Apr 1995 17:04:06 +0000 (17:04 +0000)]
(GCC_FOR_TARGET) tdesc gets mixed up for crtbegin/crtend
From-SVN: r9535
Richard Kenner [Fri, 28 Apr 1995 14:40:50 +0000 (10:40 -0400)]
(pop_init_level, output_init_element): Pass require_constant_* to
digest_init.
From-SVN: r9534
Richard Kenner [Fri, 28 Apr 1995 14:38:02 +0000 (10:38 -0400)]
(mov[sd]i and splits): Change call to alpha_emit_set_const.
From-SVN: r9533
Richard Kenner [Fri, 28 Apr 1995 14:37:45 +0000 (10:37 -0400)]
(alpha_emit_set_const): Add declaration.
From-SVN: r9532
Richard Kenner [Fri, 28 Apr 1995 14:37:27 +0000 (10:37 -0400)]
(alpha_emit_set_const): Now returns rtx and take MODE arg.
Rework to use a new pseudo for intermediate values if high opt level.
Also use expand_{bin,un}op.
From-SVN: r9531
Richard Kenner [Fri, 28 Apr 1995 10:36:36 +0000 (06:36 -0400)]
(stack_result): Fix bug in last change.
From-SVN: r9530
Doug Evans [Fri, 28 Apr 1995 07:34:26 +0000 (07:34 +0000)]
(sys_nerr): Really declare ifndef HAVE_STRERROR.
From-SVN: r9529
Doug Evans [Fri, 28 Apr 1995 05:07:47 +0000 (05:07 +0000)]
(*): Update calls to start_decl, finish_struct (pass NULLs for attributes).
From-SVN: r9528
Doug Evans [Fri, 28 Apr 1995 02:04:32 +0000 (02:04 +0000)]
sparc.md (tablejump): Only if ! TARGET_MEDANY.
* sparc/sparc.md (tablejump): Only if ! TARGET_MEDANY.
(casesi): New pattern for TARGET_MEDANY case.
From-SVN: r9527
Doug Evans [Fri, 28 Apr 1995 01:52:40 +0000 (01:52 +0000)]
* typeck.c (common_type): Call lookup_attribute instead of value_member.
From-SVN: r9526
Doug Evans [Fri, 28 Apr 1995 01:12:58 +0000 (01:12 +0000)]
(RETURN_POPS_ARGS): Call lookup_attribute.
(ENCODE_SECTION_INFO): Likewise.
(CPP_PREDEFINES): Use __stdcall__, __cdecl__.
(VALID_MACHINE_DECL_ATTRIBUTE): Call is_attribute_p.
`args' must be NULL.
From-SVN: r9525
Doug Evans [Fri, 28 Apr 1995 01:11:28 +0000 (01:11 +0000)]
(common_type): Call lookup_attribute instead of value_member.
From-SVN: r9524
Richard Kenner [Fri, 28 Apr 1995 01:10:25 +0000 (21:10 -0400)]
New anonymous patterns to combine insert with arbitrary ashift, ashiftrt,
lshiftrt, or zero_extract. (Based on patch from John Brooks <jbrooks@ea.com>.)
(ashlsi3): Remove extraneous operand processing.
From-SVN: r9523
Doug Evans [Fri, 28 Apr 1995 01:09:12 +0000 (01:09 +0000)]
(decl_attributes): Always continue if attribute not found.
From-SVN: r9522
Jim Wilson [Fri, 28 Apr 1995 01:08:43 +0000 (18:08 -0700)]
(ashiftrt_r4_*): Rewrite for efficiency.
(ashrsi3, lshrsi3, lshrsi3): Add.
From-SVN: r9521
Doug Evans [Fri, 28 Apr 1995 01:08:30 +0000 (01:08 +0000)]
(attribute_hash_list): New function.
(build_type_attribute_variant): Call it.
(valid_machine_attribute): Handle attributes with arguments.
(is_attribute_p): New function.
(lookup_attribute): New function.
(attribute_in_list): Deleted.
(attribute_list_contained): Check TREE_PURPOSE and TREE_VALUE.
From-SVN: r9520
Doug Evans [Fri, 28 Apr 1995 01:07:33 +0000 (01:07 +0000)]
(valid_machine_attribute): Add prototype.
(is_attribute_p, lookup_attribute): Likewise.
From-SVN: r9519
Jim Wilson [Fri, 28 Apr 1995 01:07:22 +0000 (18:07 -0700)]
(LIB1ASMFUNCS): Add new functions.
(LIBGCC2_CFLAGS): Delete.
(LIB2FUNCS_EXTRA): Remove deleted files.
(ashlsi3.c, ashrsi3.c, lshrsi3.c): Remove rules for deleted files.
From-SVN: r9518
Jim Wilson [Fri, 28 Apr 1995 01:06:19 +0000 (18:06 -0700)]
Clean up white space.
From-SVN: r9517
Jim Wilson [Thu, 27 Apr 1995 22:50:50 +0000 (15:50 -0700)]
(expand_return): When returning BLKmode structure...
(expand_return): When returning BLKmode structure, use
operand_subword instead of doing arithmetic on the register number.
Also, for structures smaller than word_mode, copy it into a word_mode
temporary and then subreg it.
From-SVN: r9516
Jim Wilson [Thu, 27 Apr 1995 22:46:53 +0000 (15:46 -0700)]
Delete two define_peepholes which print `bad peephole'.
From-SVN: r9515
Torbjorn Granlund [Thu, 27 Apr 1995 20:18:13 +0000 (20:18 +0000)]
(shorten_branches): For non-optimizing compiles, break after first pass.
From-SVN: r9514
Torbjorn Granlund [Thu, 27 Apr 1995 20:17:35 +0000 (20:17 +0000)]
(rest_of_compilation): Call shorten_branches even when !optimize.
From-SVN: r9513
Richard Kenner [Thu, 27 Apr 1995 18:40:02 +0000 (14:40 -0400)]
Update comments.
From-SVN: r9512
Michael Meissner [Thu, 27 Apr 1995 18:35:38 +0000 (18:35 +0000)]
Support for pre-BFD versions of Linux ld.
From-SVN: r9511
Richard Kenner [Thu, 27 Apr 1995 18:31:14 +0000 (14:31 -0400)]
(do_include): Fix minor memory leak.
From-SVN: r9510
Richard Kenner [Thu, 27 Apr 1995 18:28:46 +0000 (14:28 -0400)]
(struct argdata): Remove unused `comments' member.
(macarg): Don't set `comments' member.
From-SVN: r9509
Michael Meissner [Thu, 27 Apr 1995 18:27:28 +0000 (18:27 +0000)]
Support for pre-BFD versions of Linux ld.
From-SVN: r9508
Richard Kenner [Thu, 27 Apr 1995 15:43:23 +0000 (11:43 -0400)]
Don't include <sys/stat.h> twice.
(cpp_grow_buffer, init_parse_file): Cast {xmalloc,xrealloc} for token_buffer
to U_CHAR* instead of char*.
From-SVN: r9507
Richard Kenner [Thu, 27 Apr 1995 15:42:46 +0000 (11:42 -0400)]
Don't include <sys/stat.h> twice.
From-SVN: r9506
Richard Kenner [Thu, 27 Apr 1995 13:22:29 +0000 (09:22 -0400)]
(i[34]86:*:3.2:*) test for /usr/options/cb.name before calling uname.
From-SVN: r9505
Richard Kenner [Thu, 27 Apr 1995 12:56:36 +0000 (08:56 -0400)]
(valid_machine_attribute): Update last change.
From-SVN: r9504
Richard Kenner [Thu, 27 Apr 1995 12:05:51 +0000 (08:05 -0400)]
Initial revision
From-SVN: r9503
Richard Kenner [Thu, 27 Apr 1995 11:08:53 +0000 (07:08 -0400)]
(collect_expansion): Assume leading white space already removed.
Don't allocate unnecessary space for expansion.
From-SVN: r9502
Richard Kenner [Thu, 27 Apr 1995 11:03:46 +0000 (07:03 -0400)]
(deps_output): Don't generate overly long output lines.
Do not invoke self recursively with spacer == 0; this simplifies the code a
bit.
From-SVN: r9501
Richard Kenner [Wed, 26 Apr 1995 23:18:37 +0000 (19:18 -0400)]
(OBJC_VERSION): Version 7.
(build_objc_string_object): Build a full declaration if not using the next
runtime.
(objc_add_static_instance): New function.
(init_module_descriptor): Add reference to static instances table.
(build_module_descriptor): Add field for static instances table.
(get_objc_string_decl): New function.
(generate_static_references): New function.
(finish_objc): Call generate_static_references if needed.
From-SVN: r9500
Richard Kenner [Wed, 26 Apr 1995 23:17:42 +0000 (19:17 -0400)]
(finish_decl_top_level): New function.
From-SVN: r9499
Richard Kenner [Wed, 26 Apr 1995 23:17:07 +0000 (19:17 -0400)]
(finish_decl_top): New declaration.
From-SVN: r9498
Richard Kenner [Wed, 26 Apr 1995 23:16:05 +0000 (19:16 -0400)]
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.
From-SVN: r9497
Richard Kenner [Wed, 26 Apr 1995 23:08:38 +0000 (19:08 -0400)]
(OBJC_O): Added bare-bones implementation of NXConstantString.
From-SVN: r9496
Richard Kenner [Wed, 26 Apr 1995 23:08:15 +0000 (19:08 -0400)]
Initial revision
From-SVN: r9495
Richard Kenner [Wed, 26 Apr 1995 23:07:00 +0000 (19:07 -0400)]
Changed Class * to Class in order to match NEXTSTEP and OpenStep runtime.
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.
(OBJC_VERSION): Version 7.
(objc_init_statics): New function.
(__objc_exec_class): Invoke objc_init_statics if needed.
From-SVN: r9494
Richard Kenner [Wed, 26 Apr 1995 23:05:45 +0000 (19:05 -0400)]
Changed Class * to Class in order to match NEXTSTEP and OpenStep runtime.
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.
(objc_static_instances): New struct to record static instances of a certain
class.
(objc_module): New tag STATICS to point to the table of objc_statics_instances.
From-SVN: r9493
Richard Kenner [Wed, 26 Apr 1995 22:19:38 +0000 (18:19 -0400)]
(ashrsi2_31): Don't use dead_or_set_p after reload.
From-SVN: r9492
Richard Kenner [Wed, 26 Apr 1995 22:16:50 +0000 (18:16 -0400)]
Remove bad peepholes that improperly use dead_or_set_p.
From-SVN: r9491
Richard Kenner [Wed, 26 Apr 1995 22:04:28 +0000 (18:04 -0400)]
Treat _MACHINE_ANSI_H_ like _ANSI_H_.
From-SVN: r9490
Richard Kenner [Wed, 26 Apr 1995 21:56:19 +0000 (17:56 -0400)]
(expand_function_end): Warn about unused parms if both -Wunused and -W.
From-SVN: r9489
Richard Kenner [Wed, 26 Apr 1995 21:25:21 +0000 (17:25 -0400)]
(print_node): Print TYPE_PACKED.
From-SVN: r9488
Richard Kenner [Wed, 26 Apr 1995 21:24:51 +0000 (17:24 -0400)]
Update number of shift/reduce conflicts.
(structsp): Pass attribute arg to finish_struct.
Support attributes on enums and pass to finish_enum.
From-SVN: r9487
Richard Kenner [Wed, 26 Apr 1995 21:24:01 +0000 (17:24 -0400)]
(finish_struct): Add ATTRIBUTES argument, call decl_attributes and set DECL_PACKED from TYPE_PACKED.
(finish_struct): Add ATTRIBUTES argument, call decl_attributes and set
DECL_PACKED from TYPE_PACKED.
(finish_enum): Add ATTRIBUTES argument, call decl_attributes, and make enum
narrow if TYPE_PACKED.
From-SVN: r9486
Richard Kenner [Wed, 26 Apr 1995 21:23:10 +0000 (17:23 -0400)]
(init_attributes): Don't require decl for A_PACKED.
(decl_attributes, case A_PACKED): Set TYPE_PACKED for type.
From-SVN: r9485
Richard Kenner [Wed, 26 Apr 1995 21:22:41 +0000 (17:22 -0400)]
(finish_enum, finish_struct): Add ATTRIBUTES argument.
From-SVN: r9484
Richard Kenner [Wed, 26 Apr 1995 21:22:19 +0000 (17:22 -0400)]
(TYPE_PARSE_INFO): Delete unused field.
(TYPE_PACKED): Add new macro.
(struct tree_type): Delete unused field `parse_info'.
Add new field `packed_flag'.
From-SVN: r9483
Michael Meissner [Wed, 26 Apr 1995 20:45:43 +0000 (20:45 +0000)]
Support Linux elf and a.out systems; Add parisc support
From-SVN: r9482
Jim Wilson [Wed, 26 Apr 1995 19:16:21 +0000 (12:16 -0700)]
(NEGTF2_LIBCALL): Define.
(INIT_TARGET_OPTABS): Add support for all TFmode *_LIBCALL macros.
From-SVN: r9481
Jim Wilson [Wed, 26 Apr 1995 19:13:00 +0000 (12:13 -0700)]
(init_optabs): Delete all uses of undocumented TImode and
TFmode *_LIBCALL macros.
From-SVN: r9480
Jim Wilson [Wed, 26 Apr 1995 18:08:54 +0000 (11:08 -0700)]
(simplify_rtx, case TRUNCATE): Add. Use force_to_mode.
(force_to_mode, case AND): Allow some simplifications when GET_MODE (x)
has more bits than HOST_BITS_PER_WIDE_INT.
From-SVN: r9479
Jim Wilson [Wed, 26 Apr 1995 18:06:52 +0000 (11:06 -0700)]
(truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND
of a TRUNCATE.
From-SVN: r9478
Doug Evans [Wed, 26 Apr 1995 17:01:05 +0000 (17:01 +0000)]
(memop): Deleted.
(splittable_symbolic_memory_operand): New function.
(splittable_immediate_memory_operand): New function.
From-SVN: r9477
Doug Evans [Wed, 26 Apr 1995 16:59:55 +0000 (16:59 +0000)]
(memop define_splits): Rewrite to not use memop.
Preserve MEM_IN_STRUCT_P, MEM_VOLATILE_P, RTX_UNCHANGING_P bits.
From-SVN: r9476
Richard Kenner [Wed, 26 Apr 1995 16:29:48 +0000 (12:29 -0400)]
(expand_builtin, case BUILT_IN_CONSTANT_P): A pointer to a string
constant is a constant.
From-SVN: r9475
Richard Kenner [Wed, 26 Apr 1995 16:28:49 +0000 (12:28 -0400)]
(init_decl_processing): Don't give builtin__constant_p an argument
type.
From-SVN: r9474
Richard Kenner [Wed, 26 Apr 1995 14:27:47 +0000 (10:27 -0400)]
(CRAY*Y-MP:*:*:*): New entry.
From-SVN: r9473
Richard Kenner [Wed, 26 Apr 1995 12:35:12 +0000 (08:35 -0400)]
(output_init_element): Constructor is not simple if a bitfield is
being assigned a non-integer.
From-SVN: r9472
Richard Kenner [Wed, 26 Apr 1995 12:04:28 +0000 (08:04 -0400)]
(push_init_level): Update constructor_depth when we push spelling
level.
From-SVN: r9471
Richard Kenner [Wed, 26 Apr 1995 02:48:27 +0000 (22:48 -0400)]
(alpha_builtin_saveregs): Refine last change to work for both stdarg
and varargs.
From-SVN: r9470
Jeff Law [Tue, 25 Apr 1995 23:49:45 +0000 (17:49 -0600)]
pa.c (emit_move_sequence): Handle function label arithmetic for PIC code generation too.
* pa.c (emit_move_sequence): Handle function label arithmetic for
PIC code generation too.
From-SVN: r9469
Jim Wilson [Tue, 25 Apr 1995 23:36:38 +0000 (16:36 -0700)]
(struct move_by_pieces): Add to_struct and from_struct fields.
(move_by_pieces): Set to_struct and from_struct fields.
(move_by_pieces_1): Set MEM_IN_STRUCT_P of to1 and from1.
(expand_builtin, case BUILT_IN_MEMCPY): New variable type.
Set MEM_IN_STRUCT_P of src_mem and dest_mem.
From-SVN: r9468
Jim Wilson [Tue, 25 Apr 1995 23:21:32 +0000 (16:21 -0700)]
(clean): Delete libgcc1-asm.a.
From-SVN: r9467
Jim Wilson [Tue, 25 Apr 1995 23:18:01 +0000 (16:18 -0700)]
(CPP_SPEC): Define.
From-SVN: r9466
Jim Wilson [Tue, 25 Apr 1995 23:11:10 +0000 (16:11 -0700)]
(pushdecl): Don't test DECL_EXTERNAL when deciding whether
to register a duplicate decl in the current block.
From-SVN: r9465