Roland McGrath [Wed, 26 Jul 1995 12:18:04 +0000 (12:18 +0000)]
(STAGESTUFF): Add stamp-crtS.
(crtbeginS.o, crtendS.o, stamp-crtS): New rules; just like crtbegin.o et
al, but compiled using -fPIC.
From-SVN: r10160
Richard Kenner [Wed, 26 Jul 1995 12:11:46 +0000 (08:11 -0400)]
Fixed typos ('bhos' -> 'bhis').
From-SVN: r10159
Richard Kenner [Wed, 26 Jul 1995 12:05:29 +0000 (08:05 -0400)]
(reload1.o): Depends on real.h.
From-SVN: r10158
Richard Kenner [Wed, 26 Jul 1995 12:04:12 +0000 (08:04 -0400)]
(real.h): Include it.
From-SVN: r10157
Richard Kenner [Wed, 26 Jul 1995 12:03:31 +0000 (08:03 -0400)]
(LEGITIMATE_PIC_OPERAND_P): Reject CONST_DOUBLE with MEM with invalid
pic address.
From-SVN: r10156
Richard Kenner [Wed, 26 Jul 1995 11:58:10 +0000 (07:58 -0400)]
(MULTILIB_DIRS): Provide default if not defined.
(multilib_defaults): New static variable.
(default_arg): New static function.
(set_multilib_dir): Ignore default arguments.
(print_multilib_info): Ignore entries which use default arguments.
From-SVN: r10155
Michael Meissner [Tue, 25 Jul 1995 14:17:45 +0000 (14:17 +0000)]
store LR in caller's frame, not current frame for V.4
From-SVN: r10154
Michael Meissner [Sat, 22 Jul 1995 02:50:21 +0000 (02:50 +0000)]
Initialize r13 to be _SDA_BASE_.
From-SVN: r10153
Michael Meissner [Fri, 21 Jul 1995 18:15:38 +0000 (18:15 +0000)]
V.4 support.
From-SVN: r10152
Richard Kenner [Fri, 21 Jul 1995 17:22:56 +0000 (13:22 -0400)]
(main): Don't define sbrk #ifdef __alpha__.
From-SVN: r10151
Richard Kenner [Tue, 18 Jul 1995 23:28:02 +0000 (19:28 -0400)]
(do_include): Prefix -H output lines with spaces, not dots.
(output_dots): Remove.
From-SVN: r10150
Richard Kenner [Tue, 18 Jul 1995 23:23:30 +0000 (19:23 -0400)]
(default_compilers, cpp): Specify -lang-c89 if -ansi is given.
This turns off C++ comment recognition.
From-SVN: r10149
Richard Kenner [Tue, 18 Jul 1995 23:22:48 +0000 (19:22 -0400)]
(main): cplusplus_comments now defaults to 1.
But clear it if -traditional or the new option -lang-c89 is given.
From-SVN: r10148
Richard Kenner [Tue, 18 Jul 1995 23:16:31 +0000 (19:16 -0400)]
(va_arg): Add support for 128 bit long double type.
From-SVN: r10147
Richard Kenner [Tue, 18 Jul 1995 23:11:10 +0000 (19:11 -0400)]
(decl_attributes, case A_ALIGNED): Handle is_type case properly.
From-SVN: r10146
Richard Kenner [Tue, 18 Jul 1995 23:02:49 +0000 (19:02 -0400)]
(fold, case CONVERT_EXPR): Don't merge conversions if outer is to
handle a type with differing precision.
From-SVN: r10145
Richard Kenner [Mon, 17 Jul 1995 18:37:31 +0000 (14:37 -0400)]
(HAVE_VPRINTF): Define.
From-SVN: r10144
Richard Kenner [Mon, 17 Jul 1995 18:37:13 +0000 (14:37 -0400)]
(HAVE_ATEXIT): Define.
From-SVN: r10143
Richard Kenner [Mon, 17 Jul 1995 18:28:37 +0000 (14:28 -0400)]
({unsigned,signed}_type): Handle intXX_type_node types.
From-SVN: r10142
Richard Kenner [Mon, 17 Jul 1995 17:38:58 +0000 (13:38 -0400)]
(sbrk): Add declaration.
From-SVN: r10141
Richard Kenner [Mon, 17 Jul 1995 16:54:50 +0000 (12:54 -0400)]
(convert_to_integer): If TYPE is a enumeral type or if its precision is not the same as the size of its mode...
(convert_to_integer): If TYPE is a enumeral type or if its precision
is not the same as the size of its mode, convert in two steps.
From-SVN: r10140
Richard Kenner [Mon, 17 Jul 1995 10:41:04 +0000 (06:41 -0400)]
(tstdi, cmpdi): Use match_scratch, not match_operand.
From-SVN: r10139
Richard Kenner [Fri, 14 Jul 1995 23:23:27 +0000 (19:23 -0400)]
(lookup_field): Change name comparison to match what field_decl_cmp
does.
From-SVN: r10138
Richard Kenner [Fri, 14 Jul 1995 23:22:57 +0000 (19:22 -0400)]
(field_decl_cmp): Rewritten to make sure that a null name always sorts
low against other names.
From-SVN: r10137
Richard Kenner [Fri, 14 Jul 1995 23:15:58 +0000 (19:15 -0400)]
(struct temp_slot): New fields base_offset, full_size.
(assign_stack_temp): For !FRAME_GROWS_DOWNWARD, set p->size to size.
Set new fields base_offset and full_size.
(combine_temp_slots): Use new fields base_offset and full_size instead
of slot and size.
From-SVN: r10136
Richard Kenner [Fri, 14 Jul 1995 22:46:08 +0000 (18:46 -0400)]
(movsi): Convert a CONST_DOUBLE into a CONST_INT of the low part.
From-SVN: r10135
Richard Kenner [Fri, 14 Jul 1995 22:30:44 +0000 (18:30 -0400)]
(main): Reword dwarf/c++/-g warning.
From-SVN: r10134
Richard Kenner [Fri, 14 Jul 1995 22:19:22 +0000 (18:19 -0400)]
(expand_start_stmt_expr): Force stack adjust before NO_DEFER_POP.
From-SVN: r10133
Richard Kenner [Fri, 14 Jul 1995 22:18:57 +0000 (18:18 -0400)]
(NO_DEFER_POP): Remove last change.
From-SVN: r10132
Richard Kenner [Fri, 14 Jul 1995 22:18:14 +0000 (18:18 -0400)]
(stor_expr): Force stack adjust before NO_DEFER_POP.
(expand_expr, case COND_EXPR): Likewise.
From-SVN: r10131
Richard Kenner [Fri, 14 Jul 1995 12:27:10 +0000 (08:27 -0400)]
(find_splittable_{regs,givs}, final_[bg]iv_value): Use loop_number_exit_count instead of loop_number_exit_labels.
(find_splittable_{regs,givs}, final_[bg]iv_value): Use loop_number_exit_count
instead of loop_number_exit_labels.
(reg_dead_after_loop): Check loop_number_exit_count, and fail if the count
doesn't match loop_number_exit_labels.
From-SVN: r10130
Richard Kenner [Fri, 14 Jul 1995 12:23:39 +0000 (08:23 -0400)]
(loop_number_exit_count): Declare it.
From-SVN: r10129
Richard Kenner [Fri, 14 Jul 1995 12:21:01 +0000 (08:21 -0400)]
(loop_number_exit_count): New global variable.
(loop_optimize): Allocate space for it.
(find_and_verify_loops, mark_loop_jump): Set it.
(strength_reduce, check_dbra_loop): Use loop_number_exit_count instead
of loop_number_exit_labels.
From-SVN: r10128
Richard Kenner [Fri, 14 Jul 1995 12:15:00 +0000 (08:15 -0400)]
(cse_insn): Ifdef out code that pre-truncates src_folded.
From-SVN: r10127
Richard Kenner [Fri, 14 Jul 1995 12:08:47 +0000 (08:08 -0400)]
(sethi_di_sp64): Return null string at end.
From-SVN: r10126
Richard Kenner [Fri, 14 Jul 1995 12:05:18 +0000 (08:05 -0400)]
Modify all patterns which handle stores to memory to also check current_function_varargs and current_function_stdarg.
Modify all patterns which handle stores to memory to also check
current_function_varargs and current_function_stdarg. q
From-SVN: r10125
Richard Kenner [Fri, 14 Jul 1995 12:03:43 +0000 (08:03 -0400)]
(current_function_stdarg): Declare it.
From-SVN: r10124
Richard Kenner [Fri, 14 Jul 1995 12:03:09 +0000 (08:03 -0400)]
(current_function_stdarg): New global variable.
(push_function_context_to): Save it.
(pop_function_context_from): Restore it.
(assign_parms): Set it.
(init_function_start): Clear it.
From-SVN: r10123
Richard Kenner [Fri, 14 Jul 1995 12:02:43 +0000 (08:02 -0400)]
(struct function): Add stdarg field.
From-SVN: r10122
Richard Kenner [Fri, 14 Jul 1995 11:58:23 +0000 (07:58 -0400)]
(fill_simple_delay_slots): When trying to take instruction from after the branch, don't continue past target label.
(fill_simple_delay_slots): When trying to take instruction from after
the branch, don't continue past target label. Local variables
passed_label and target_uses are no longer necessary.
From-SVN: r10121
Richard Kenner [Thu, 13 Jul 1995 23:29:52 +0000 (19:29 -0400)]
(output_bb): Fix error in long backwards branch with nullified delay
slot.
From-SVN: r10120
Richard Kenner [Thu, 13 Jul 1995 23:26:03 +0000 (19:26 -0400)]
(SHIFT_COUNT_TRUNCATED): Use #ifdef not #if.
From-SVN: r10119
Richard Kenner [Tue, 11 Jul 1995 00:16:27 +0000 (20:16 -0400)]
(rescan): Don't address outside of array when preprocessing C++
comments.
From-SVN: r10118
Richard Kenner [Tue, 11 Jul 1995 00:09:09 +0000 (20:09 -0400)]
(expand_block_move): Remove #if 0 conditionals against using larger
block moves.
From-SVN: r10117
Richard Kenner [Tue, 11 Jul 1995 00:05:41 +0000 (20:05 -0400)]
(EXTRA_PARTS): Copy milli.exp to release dir.
(milli.exp): Copy to build dir from machine dependend dir.
From-SVN: r10116
Richard Kenner [Tue, 11 Jul 1995 00:03:06 +0000 (20:03 -0400)]
(matcher for (shiftable_op (cond-exp) (reg))): If shiftable_op is
minus, then subtract from zero when cond fails.
From-SVN: r10115
Richard Kenner [Mon, 10 Jul 1995 23:58:17 +0000 (19:58 -0400)]
(SELECT_SECTION): Use TREE_CODE_CLASS instead of directly referencing
tree_code_type.
From-SVN: r10114
Richard Kenner [Mon, 10 Jul 1995 23:54:16 +0000 (19:54 -0400)]
(reverse_def_dec_list): Delete const qualifiers from local variables,
and delete casts which were casting away const.
From-SVN: r10113
Richard Kenner [Mon, 10 Jul 1995 23:47:26 +0000 (19:47 -0400)]
(finish_file): Add missing parm to start_function call.
From-SVN: r10112
Richard Kenner [Mon, 10 Jul 1995 23:44:22 +0000 (19:44 -0400)]
(jump_optimize): Pass outer_code arg to rtx_cost.
From-SVN: r10111
Richard Kenner [Mon, 10 Jul 1995 23:40:05 +0000 (19:40 -0400)]
(assemble_name, bc_assemble_integer): Call bc_emit_labelref with
proper args.
From-SVN: r10110
Richard Kenner [Mon, 10 Jul 1995 23:14:25 +0000 (19:14 -0400)]
(setjmp_args_warning): Remove bogus arg.
From-SVN: r10109
Richard Kenner [Mon, 10 Jul 1995 22:20:39 +0000 (18:20 -0400)]
(p{fatal,error}_with_name, perror_exec): Quote filename.
From-SVN: r10108
Richard Kenner [Mon, 10 Jul 1995 22:12:43 +0000 (18:12 -0400)]
(STARTFILE_SPEC): Handle -Xp.
From-SVN: r10107
Per Bothner [Wed, 5 Jul 1995 06:44:23 +0000 (23:44 -0700)]
cpphash.h (enum node_type): Remove unneeded and non-standard forward declaration.
* cpphash.h (enum node_type): Remove unneeded and non-standard
forward declaration.
From-SVN: r10106
Richard Kenner [Sun, 2 Jul 1995 02:28:19 +0000 (22:28 -0400)]
(MULTILIB_*, LIBGCC, INSTALL_LIBGCC): Delete.
From-SVN: r10105
Richard Kenner [Sun, 2 Jul 1995 01:29:27 +0000 (21:29 -0400)]
(LINK_SPEC): Revert March 16 change. Do not add -R for each -L.
From-SVN: r10104
Richard Kenner [Sun, 2 Jul 1995 01:27:00 +0000 (21:27 -0400)]
(libcompare): Verify that file name extensions are valid.
Put files with invalid extensions last in the sort.
From-SVN: r10103
Richard Kenner [Sun, 2 Jul 1995 00:15:29 +0000 (20:15 -0400)]
(integrate_decl_tree): Set DECL_ABTRACT_ORIGIN before pushdecl call
for local variables.
From-SVN: r10102
Richard Kenner [Sat, 1 Jul 1995 15:57:25 +0000 (11:57 -0400)]
(output_line_command): If not emitting #line directives delay
returning until after adjust_position has been called.
From-SVN: r10101
Brendan Kehoe [Sat, 1 Jul 1995 15:12:57 +0000 (15:12 +0000)]
call.c (convert_harshness): Add QUAL_CODE when we're faced with const vs non-const for void conversions.
* call.c (convert_harshness): Add QUAL_CODE when we're faced with
const vs non-const for void conversions.
From-SVN: r10100
Mike Stump [Sat, 1 Jul 1995 15:03:53 +0000 (15:03 +0000)]
cleanup after kenner
From-SVN: r10099
Richard Kenner [Sat, 1 Jul 1995 14:12:02 +0000 (10:12 -0400)]
(decode_field_reference): New parm PAND_MASK.
(unextend): New parm MASK.
(fold_truthop): Pass new parms to decode_field_reference and unextend.
From-SVN: r10098
Richard Kenner [Sat, 1 Jul 1995 12:13:21 +0000 (08:13 -0400)]
(mov{si,sf,df}cc): Call gen_compare_reg to generate the condition code
register.
From-SVN: r10097
Richard Kenner [Sat, 1 Jul 1995 11:36:37 +0000 (07:36 -0400)]
(__va_tsize): Use __extension__ to avoid warning on use of `long
long'.
From-SVN: r10096
Richard Kenner [Sat, 1 Jul 1995 11:18:02 +0000 (07:18 -0400)]
(NO_DEFER_POP): Do any pending stack adjusts.
From-SVN: r10095
Richard Kenner [Sat, 1 Jul 1995 10:55:03 +0000 (06:55 -0400)]
(register_operand): Disallow subreg of reg not allowed to change size.
From-SVN: r10094
Mike Stump [Thu, 29 Jun 1995 18:55:15 +0000 (14:55 -0400)]
mrs@cygnus.com
From-SVN: r10093
Mike Stump [Thu, 29 Jun 1995 18:51:50 +0000 (14:51 -0400)]
(BOOL_TYPE_SIZE): Fix broken SLOW_BYTE_ACCESS check.
From-SVN: r10092
Richard Kenner [Thu, 29 Jun 1995 10:02:46 +0000 (06:02 -0400)]
(reload addsi3): New pattern to avoid reload lossage with register
eliminations.
From-SVN: r10091
Richard Kenner [Thu, 29 Jun 1995 09:51:43 +0000 (05:51 -0400)]
(output_cbranch): When checking for a jump to the given insn's delay slot...
(output_cbranch): When checking for a jump to the given insn's delay
slot, handle the case where JUMP_LABEL for the given insn does not
point to the first label in a series of labels.
(output_bb, output_dbra, output_movb): Likewise.
From-SVN: r10090
Richard Kenner [Wed, 28 Jun 1995 22:04:43 +0000 (18:04 -0400)]
(call expanders): Reload the PIC register from the fixed callee saved register.
(call expanders): Reload the PIC register from the fixed callee saved
register. Don't try to save the PIC register before the call.
From-SVN: r10089
Richard Kenner [Wed, 28 Jun 1995 22:04:16 +0000 (18:04 -0400)]
(hppa_save_pic_table_rtx): Delete variable.
(hppa_expand_prologue): For PIC generation, copy the PIC register into
a fixed callee register at the end of the prologue of non-leaf
functions.
From-SVN: r10088
Richard Kenner [Wed, 28 Jun 1995 22:03:47 +0000 (18:03 -0400)]
(PIC_OFFEST_TABLE_REGNUM_SAVED): Define to %r4.
(CONDITIONAL_REGISTER_USAGE): Make it fixed when compiling PIC code.
(INIT_EXPANDERS): Delete.
From-SVN: r10087
Richard Kenner [Wed, 28 Jun 1995 22:01:09 +0000 (18:01 -0400)]
(ASM_SPEC): Removed -h flag.
From-SVN: r10086
Richard Kenner [Wed, 28 Jun 1995 21:57:23 +0000 (17:57 -0400)]
(AIX4): More robust release numbering discovery.
From-SVN: r10083
Richard Kenner [Wed, 28 Jun 1995 21:53:55 +0000 (17:53 -0400)]
(progname): Remove definition from here.
From-SVN: r10082
Richard Kenner [Wed, 28 Jun 1995 21:29:39 +0000 (17:29 -0400)]
(final_scan_insn): Fix error in last change.
From-SVN: r10081
Richard Kenner [Wed, 28 Jun 1995 21:01:52 +0000 (17:01 -0400)]
(CPP_SPEC): Remove CPU name synonyms.
(ASM_SPEC): Set assembler target according to compiler target.
From-SVN: r10080
Richard Kenner [Wed, 28 Jun 1995 21:00:59 +0000 (17:00 -0400)]
(CPP_SPEC): Remove CPU name synonyms.
From-SVN: r10079
Richard Kenner [Wed, 28 Jun 1995 20:58:45 +0000 (16:58 -0400)]
(CPP_SPEC): Remove CPU name synonyms.
(ASM_SPEC): Likewise.
From-SVN: r10078
Richard Kenner [Wed, 28 Jun 1995 20:57:30 +0000 (16:57 -0400)]
(processor_target_table): Remove CPU name synonyms.
From-SVN: r10077
Jason Merrill [Wed, 28 Jun 1995 20:54:28 +0000 (16:54 -0400)]
jason@cygnus.com
From-SVN: r10076
Jason Merrill [Wed, 28 Jun 1995 20:53:02 +0000 (16:53 -0400)]
(cplus_expand_expr): Don't mess with temp slots.
From-SVN: r10075
Jason Merrill [Wed, 28 Jun 1995 20:40:23 +0000 (16:40 -0400)]
mrs@cygnus.com.
From-SVN: r10074
Jason Merrill [Wed, 28 Jun 1995 20:37:51 +0000 (16:37 -0400)]
(tsubst, PARM_TYPE): Propagate DECL_ARTIFICIAL.
From-SVN: r10073
Richard Kenner [Wed, 28 Jun 1995 20:25:47 +0000 (16:25 -0400)]
(INSTALL_HEADERS_DIR): Delete; done by configure.
From-SVN: r10072
Richard Kenner [Wed, 28 Jun 1995 20:10:43 +0000 (16:10 -0400)]
(alloca): Extern decl added for non-GNU compiler.
From-SVN: r10071
Richard Kenner [Wed, 28 Jun 1995 20:08:29 +0000 (16:08 -0400)]
(reg_set_p_1): Now static; add extra parm.
From-SVN: r10070
Richard Kenner [Wed, 28 Jun 1995 20:02:59 +0000 (16:02 -0400)]
Delete redundant forward decls.
(expand_anon_union_decl): Correctly call expand_decl.
From-SVN: r10069
Richard Kenner [Wed, 28 Jun 1995 19:48:17 +0000 (15:48 -0400)]
(strip_off_ending): Strip off any ending; don't pretend we know what
valid endings are.
From-SVN: r10068
Richard Kenner [Wed, 28 Jun 1995 19:24:21 +0000 (15:24 -0400)]
(ASM_OUTPUT_SECTION_NAME): Don't crash if DECL is null.
From-SVN: r10067
Richard Kenner [Wed, 28 Jun 1995 15:31:07 +0000 (11:31 -0400)]
({load,store}_multiple): Don't use indirect_operand in define_insn;
use explicit MEM of register_operand instead.
From-SVN: r10066
Richard Kenner [Tue, 27 Jun 1995 23:09:37 +0000 (19:09 -0400)]
(fold_truthop): Commute unextend and convert on l_const and r_const.
From-SVN: r10065
Richard Kenner [Tue, 27 Jun 1995 20:42:57 +0000 (16:42 -0400)]
(decl_attributes, case A_CONSTRUCTOR, A_DESTRUCTOR): Set TREE_USED.
From-SVN: r10064
Michael Meissner [Tue, 27 Jun 1995 18:41:38 +0000 (18:41 +0000)]
Do not test overflow bit for decrement_and_branch
From-SVN: r10063
Richard Kenner [Tue, 27 Jun 1995 16:39:46 +0000 (12:39 -0400)]
(final_scan_insn): Don't call alter_cond unless condition is on cc0.
From-SVN: r10062
Richard Kenner [Tue, 27 Jun 1995 11:58:20 +0000 (07:58 -0400)]
(expand_expr, TARGET_EXPR): Only use original_target if !ignore.
From-SVN: r10061
Richard Kenner [Tue, 27 Jun 1995 11:27:14 +0000 (07:27 -0400)]
(expand_asm_operands): Handle input operands that may not be in a
register.
From-SVN: r10060
Richard Kenner [Mon, 26 Jun 1995 23:23:01 +0000 (19:23 -0400)]
(L_dvmd_tls): Renamed from L_divmodsi_tools.
From-SVN: r10059