Gavin Romig-Koch
1d5d552e7b
mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY, [...]): New.
...
* config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
(GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
CONDITIONAL_REGISTER_USEAGE): Use them.
* config/mips/mips.c (mips_move_1word,mips_move_2words,
gen_conditional_branch,override_options) : Use them.
* config/mips/mips.md : Use them.
From-SVN: r30199
1999-10-26 20:29:35 +00:00
Richard Henderson
044bdac117
* i386.md (zero_extendqihi2): Use SImode register name with andl.
...
From-SVN: r30198
1999-10-26 13:10:28 -07:00
Richard Henderson
cd8cee7b53
integrate.c (function_cannot_inline_p): Don't allow inlining if setjmp is used.
...
* integrate.c (function_cannot_inline_p): Don't allow inlining
if setjmp is used.
From-SVN: r30197
1999-10-26 12:36:18 -07:00
Kaveh R. Ghazi
ec0ce6e261
c-parse.in (cast_expr): Constify.
...
* c-parse.in (cast_expr): Constify.
* cccp.c (special_symbol): Likewise.
* cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
* dwarf2out.c (base_type_die): Likewise.
* global.c (allocno_compare): Likewise.
* local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
* regclass.c (fix_register): Likewise.
* rtl.h (fix_register): Likewise.
* stupid.c (stupid_reg_compare): Likewise.
* toplev.c (decode_f_option): Likewise.
* tree.c (build_complex_type): Likewise.
From-SVN: r30196
1999-10-26 18:13:38 +00:00
Richard Earnshaw
d8d79d1588
* output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
...
From-SVN: r30195
1999-10-26 17:44:42 +00:00
Bernd Schmidt
67e61fe7f3
Small reload cleanups
...
From-SVN: r30193
1999-10-26 13:45:31 +00:00
Marc Espie
35f86a5003
Makefile.in (AR_FOR_TARGET, [...]): Fix target name substitution.
...
* Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
substitution.
From-SVN: r30190
1999-10-26 02:51:50 -06:00
Mark Mitchell
2af0ac2840
tree.h (BLOCK_TYPE_TAGS): Remove.
...
* tree.h (BLOCK_TYPE_TAGS): Remove.
(BLOCK_END_NOTE): Likewise.
(BLOCK_LIVE_RANGE_FLAG): Likewise.
(BLOCK_LIVE_RANGE_START): Likewise.
(BLOCK_LIVE_RANGE_END): Likewise.
(tree_block): Remove live_range_flag, live_range_var_flag, and
type_tags. Remove end_note, live_range_start, and live_range_end.
(remember_end_note): Remove prototype.
* tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
* c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
remember_end_note.
* ggc-common.c (ggc_mark_tree_children): Don't mark
BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
* integrate.c (adjust_copied_decl_tree): Remove.
* print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
* stmt.c (last_block_end_note): Remove.
(init_stmt): Don't add a GC root for it.
(expand_fixup): Don't set it.
(remember_end_note): Remove.
(expand_end_bindings): Don't set last_block_end_note.
* ch-tree.h (remember_end_note): Remove prototype.
* decl.c (poplevel): Don't call remember_end_note.
* decl.c (poplevel): Don't set BLOCK_TYPE_TAGS. Don't call
remember_end_note.
* com.c (poplevel): Don't call remember_end_note.
* decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
remember_end_note.
From-SVN: r30188
1999-10-26 08:34:46 +00:00
Jeff Law
ce7cbc7639
Daily bump.
...
From-SVN: r30187
1999-10-26 01:45:07 -06:00
Jeff Law
608b12276c
Also make sure to define DIR_SEPARATOR if it wasn't previously defined.
...
From-SVN: r30186
1999-10-26 00:59:43 -06:00
Geoff Keating
3306eb80e9
expmed.c (extract_bit_field): Allow for the case of non-integer objects that are smaller than a word (like...
...
* expmed.c (extract_bit_field): Allow for the case of non-integer
objects that are smaller than a word (like SFmode on a 64-bit
machine).
From-SVN: r30185
1999-10-26 00:48:38 -06:00
Jeffrey A Law
543c94cc93
* gcc.c-torture/compile/991026-1.c: New test.
...
From-SVN: r30184
1999-10-26 00:47:05 -06:00
Bernd Schmidt
c2b4b17147
reload1.c (reload_reg_free_for_value_p): Show RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER reloads.
...
* reload1.c (reload_reg_free_for_value_p): Show
RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
reloads.
From-SVN: r30183
1999-10-26 00:43:36 -06:00
Jeffrey A Law
c2897436c3
collect2.c (IS_DIR_SEPARATOR): Define.
...
* collect2.c (IS_DIR_SEPARATOR): Define.
(prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
From-SVN: r30182
1999-10-26 00:03:19 -06:00
Geoff Keating
7f6dae2a45
loop.c (basic_induction_var): A non-integer variable which is being set by a paradoxical subreg is probably...
...
* loop.c (basic_induction_var): A non-integer variable which is
being set by a paradoxical subreg is probably not a biv.
From-SVN: r30181
1999-10-25 23:56:15 -06:00
Herman A.J. ten Brugge
7146dfdd90
* prefix.c (translate_name) Check for empty prefix string.
...
From-SVN: r30180
1999-10-25 23:54:13 -06:00
Andreas Schwab
1722c704a2
* configure: Fix quoting inside arguments of eval.
...
From-SVN: r30179
1999-10-25 23:47:42 -06:00
Jeffrey A Law
92bcb3808e
som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static functions too.
...
* som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
functions too.
From-SVN: r30178
1999-10-25 23:43:52 -06:00
Andreas Schwab
9799e470fb
Makefile.in (CPP_CROSS_NAME): New variable.
...
* Makefile.in (CPP_CROSS_NAME): New variable.
(install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
xcpp.
(uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
names of the files to be uninstalled.
From-SVN: r30177
1999-10-25 23:12:14 -06:00
Jeffrey A Law
4525e22851
haifa-sched.c (add_dependence): Update the true dependency cache the first time we add a true dependence to the...
...
* haifa-sched.c (add_dependence): Update the true dependency
cache the first time we add a true dependence to the LOG_LINKS chain.
From-SVN: r30176
1999-10-25 23:05:00 -06:00
Jim Kingdon
a82cecdad5
cplus-dem.c: Move declarations of standard_symbol_characters and hp_symbol_characters inside...
...
* cplus-dem.c: Move declarations of standard_symbol_characters and
hp_symbol_characters inside #ifdef MAIN to avoid compiler
warnings.
From-SVN: r30175
1999-10-25 22:30:08 -06:00
Jim Kingdon
a36335da46
* fold-const.c (fold): Fix comment.
...
From-SVN: r30174
1999-10-25 22:27:50 -06:00
Kaveh R. Ghazi
a996cbd49c
dbxout.c (lastfile, [...]): Constify a char*.
...
* dbxout.c (lastfile, cwd, dbxout_type_method_1,
dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
dbxout_start_new_source_file, dbxout_source_file,
dbxout_source_line, dbxout_finish, dbxout_type_fields,
dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
Constify a char*.
(dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
(dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
(dbxout_block): Initialize variable `blocknum'.
* dbxout.h (dbxout_init, dbxout_finish,
dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
dbxout_args, dbxout_source_line): Constify a char*.
* dwarfout.c (dwarf_tag_name, dwarf_attr_name,
dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
dwarf_fund_type_name, name_attribute, stmt_list_attribute,
low_pc_attribute, high_pc_attribute, body_begin_attribute,
body_end_attribute, comp_dir_attribute, sf_names_attribute,
src_info_attribute, mac_info_attribute, producer_attribute,
lookup_filename, generate_macinfo_entry, fundamental_type_code,
dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
dwarfout_undef): Constify a char*.
(add_incomplete_type, retry_incomplete_types): Add prototypes.
* dwarfout.h (dwarfout_define, dwarfout_undef,
dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
From-SVN: r30173
1999-10-26 02:54:22 +00:00
Gavin Romig-Koch
ea09f03262
mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
...
* config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
(MULTILIB_ISA_DEFAULT): New.
(MULTILIB_DEFAULTS): Use it.
* config/mips/mips.c (): Remove the now unnecessary definition
of MIPS_ISA_DEFAULT.
* config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
unnecessary definition.
From-SVN: r30171
1999-10-25 21:44:39 +00:00
Richard Earnshaw
f12c5ef37a
* arm.md (pic_load_addr): Add constraints to operand 1.
...
From-SVN: r30170
1999-10-25 21:11:18 +00:00
Jeffrey A Law
2ca129355b
arm.c (arm_override_options): Correct initialization of arm_fast_multiply...
...
* arm.c (arm_override_options): Correct initialization of
arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
arm_is_strong, and arm_is_6_or_7.
From-SVN: r30169
1999-10-25 13:24:40 -06:00
Bruce Korb
627dba375c
oops - typo
...
From-SVN: r30166
1999-10-25 16:11:12 +00:00
Bruce Korb
dc994a6d48
Provide a means for specifying -D options to AutoGen
...
From-SVN: r30165
1999-10-25 16:05:08 +00:00
Jeff Law
311dc497fc
Daily bump.
...
From-SVN: r30163
1999-10-25 01:45:06 -06:00
Jeffrey A Law
5948776913
loop.c (note_set_pseudo_multiple_uses_retval): New variable.
...
* loop.c (note_set_pseudo_multiple_uses_retval): New variable.
(note_set_pseudo_multiple_uses): New function.
(check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
if a pseudo set in the loop exit is used elsewhere.
From-SVN: r30155
1999-10-25 00:44:04 -06:00
Mark Mitchell
f9c4f105d5
decl.c (push_overloaded_decl_1): Use pushdecl.
...
* decl.c (push_overloaded_decl_1): Use pushdecl.
* decl.c (auto_function): Replace #ifdef'd __inline with just
plain inline.
* lex.c (my_get_run_time): Likeise.
(yyprint): Likewise.
(identifier_type): Likewise.
* method.c (start_squangling): Likewise.
(end_squangling): Likewise.
(icat): Likewise.
(old_backref_index): Likewise.
(flush_repeats): Likewise.
(issue_ktype): Likewise.
* parse.y (empty_parms): Likewise.
* parse.c: Regenerated.
From-SVN: r30154
1999-10-25 06:38:42 +00:00
Mark Mitchell
20819a093e
* i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
...
From-SVN: r30153
1999-10-25 06:30:37 +00:00
Richard Henderson
ad678cb0ed
i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into a single load-address pattern.
...
* i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
a single load-address pattern.
From-SVN: r30152
1999-10-24 21:04:49 -07:00
Mark Mitchell
f77e39fc59
haifa-sched.c (schedule_insns): Don't assign LUIDs differently depending on whether or not line-number notes...
...
* haifa-sched.c (schedule_insns): Don't assign LUIDs differently
depending on whether or not line-number notes are present.
From-SVN: r30151
1999-10-25 01:34:16 +00:00
Kaveh R. Ghazi
4b79993fd5
cccp.c (progname, [...]): Constify a char*.
...
* cccp.c (progname, file_buf, default_include, include_file,
macrodef, definition, hashval, wchar_type, user_label_prefix,
directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
expand_to_temp_buffer, is_system_include, base_name,
absolute_filename, read_name_map, open_include_file,
record_control_macro, check_precompiled, check_preconditions,
pcfinclude, pass_thru_directive, create_definition,
check_macro_name, comp_def_part, collect_expansion,
check_assertion, read_token_list, assertion_install,
assertion_lookup, eval_if_expression, conditional_skip,
validate_else, skip_quoted_string, quote_string, macarg1,
error_from_errno, install, lookup, hashf, dump_defn_1,
perror_with_name, pfatal_with_name, main, trigraph_pcp,
check_white_space, rescan, handle_directive, monthnames,
special_symbol, do_include, remap_include_file, write_output,
arglist, do_assert, do_unassert, do_line, do_error, do_once,
do_ident, do_sccs, do_xifdef, skip_if_group,
output_line_directive, macroexpand, macarg, change_newlines,
initialize_builtins, make_definition): Constify a char*.
* pcp.h (stringdef): Likewise.
From-SVN: r30150
1999-10-25 00:33:56 +00:00
Richard Henderson
65c8a03d5c
unroll.c (copy_loop_body): Examine SET_DEST of single_set not of pattern.
...
* unroll.c (copy_loop_body): Examine SET_DEST of single_set
not of pattern.
From-SVN: r30149
1999-10-24 13:31:26 -07:00
Richard Henderson
0bae01847e
Revert unintended change to copy_loop_body.
...
From-SVN: r30148
1999-10-24 13:25:28 -07:00
Graham Stott
ac6067399c
alias.c: Include ggc.h.
...
* alias.c: Include ggc.h.
(reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
(record_set): Verify enough room in reg_base_value.
(init_alias_analysis): Allocate reg_base_value with xcalloc.
Register it as a GC root.
(end_alias_analysis): Free reg_base_value. Remove it as a GC root.
* Makefile.in (alias.o): Depend on ggc.h.
* unroll.c (unroll_loop): Verify the insn before a barrier
is a JUMP_INSN before checking JUMP_LABEL.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r30147
1999-10-24 13:20:00 -07:00
Kaveh R. Ghazi
9d73cc12c3
bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
...
* mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
* mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
* mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
* mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
* mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
* mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
From-SVN: r30146
1999-10-24 19:48:51 +00:00
Kaveh R. Ghazi
7751947bd4
output.h (ctors_section, [...]): Prototype.
...
* output.h (ctors_section, dtors_section, bss_section): Prototype.
* alpha/alpha-interix.h (text_section): Delete prototype.
* alpha/elf.h (text_section): Likewise.
* arm/linux-elf.h (text_section): Likewise.
* arm/linux-telf.h (text_section): Likewise.
* c4x/c4x.h (text_section): Likewise.
* dsp16xx/dsp16xx.h (bss_section): Likewise.
* elfos.h (text_section): Likewise.
* i386/aix386ng.h (text_section): Likewise.
* i386/i386-interix.h (text_section): Likewise.
* i386/sco5.h (text_section): Likewise.
* i386/svr3gas.h (text_section): Likewise.
* nextstep.h (text_section): Likewise.
* psos.h (text_section): Likewise.
* ptx4.h (text_section): Likewise.
* svr3.h (text_section): Likewise.
* svr4.h (text_section, ctors_section, dtors_section): Likewise.
From-SVN: r30145
1999-10-24 19:38:53 +00:00
Kaveh R. Ghazi
36f0e0a60c
final.c (peephole): Delete prototype.
...
* final.c (peephole): Delete prototype.
* gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
(pre_insert_copies): Remove unused variable `bb'.
* genrecog.c (debug_decision_0, debug_decision_list, main): Add
prototypes.
* output.h (peephole): Add prototype.
From-SVN: r30144
1999-10-24 19:23:11 +00:00
Mark Mitchell
87bb6e4ba4
iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to -O0.
...
* config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
-O0.
From-SVN: r30143
1999-10-24 17:36:47 +00:00
Jeff Law
bcc58682bf
Daily bump.
...
From-SVN: r30142
1999-10-24 01:45:06 -06:00
Jeffrey A Law
ee90ff50c2
* gcc.c-torture/execute/991023-1.c: New test.
...
From-SVN: r30141
1999-10-23 23:37:24 -06:00
Mark Mitchell
f120f9018d
integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT for inlined declarations.
...
* integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
for inlined declarations.
From-SVN: r30140
1999-10-24 04:08:16 +00:00
Manfred Hollstein
ea1e32f66f
* POTFILES.in: Track files recently added/deleted/moved.
...
From-SVN: r30139
1999-10-23 16:38:23 +00:00
Zack Weinberg
ed38f5d5d8
hashtab.c (find_hash_table_entry): When returning a DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
...
1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
* hashtab.c (find_hash_table_entry): When returning a
DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
(clear_hash_table_slot): New function which deletes an entry
by its position in the table, not its value.
(traverse_hash_table): New function which calls a hook
function for every live entry in the table.
* hashtab.h: Give hash_table_t a struct tag. Add prototypes
for clear_hash_table_slot and traverse_hash_table. Correct
prototype of all_hash_table_collisions.
From-SVN: r30138
1999-10-23 15:56:52 +00:00
Jeff Law
5e481b31ee
Daily bump.
...
From-SVN: r30137
1999-10-23 01:45:06 -06:00
Jason Merrill
ecb2452b82
regen
...
From-SVN: r30136
1999-10-22 23:20:47 -04:00
Jeffrey A Law
6ab589e0c9
arm.c (logical_binary_operator): New fucntion.
...
* arm.c (logical_binary_operator): New fucntion.
* arm.h (logical_binary_operator): Declare it.
(PREDICATE_CODES): Handle logical_binary_operator.
* arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
output constraints. Add appropriate splitters.
(anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
(iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
(xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
From-SVN: r30135
1999-10-22 18:09:29 -06:00