1 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com>
3 * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
5 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
7 * config/avr/avr.c (avr_regs_to_save): New function. Also check
8 for fixed registers, possibly used for global register variables.
9 (initial_elimination_offset, avr_output_function_prologue,
10 avr_output_function_epilogue): Move common code to avr_regs_to_save.
12 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
14 * Makefile.in: Update for cpptrad.c.
15 * cpphash.h (struct cpp_buffer): New members for buffer
17 (struct cpp_reader): New members for traditional output.
18 (_cpp_read_logical_line, _cpp_overlay_buffer): New.
19 * cppinit.c (cpp_create_reader): Set trad_line.
20 (cpp_destroy): Free trad_out_base if used.
21 (cpp_read_main_file): Overlay an empty buffer if traditional.
22 (cpp_finish_options): Don't do builtins.
23 (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
24 (cpp_handle_option): Handle it.
25 * cpplex.c (continue_after_nul): New.
26 (_cpp_lex_direct): Use handle_nul.
27 * cpplib.h (struct cpp_options): New traditional option.
28 * cpptrad.c: New file.
30 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
32 * c-common.c (c_common_init_options): Use C89 for Objective-C,
33 and set the options flag.
34 * cppinit.c (lang_flags): Remove objc.
35 (lang_defaults): Remove OBJC and OBJCXX.
37 (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
38 (cpp_handle_option): Remove -+ and -lang-objc++.
39 For ObjC, just set a flag.
41 * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
43 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
45 * doc/install.texi (Specific, mips-sgi-irix6): Document need to
46 bootstrap with -mips3.
48 2002-05-17 Kazu Hirata <kazu@cs.umass.edu>
50 * final.c: Fix formatting.
51 * fix-header.c: Likewise.
53 * fold-const.c: Likewise.
54 * function.c: Likewise.
56 2002-05-17 David S. Miller <davem@redhat.com>
58 PR c/6689, PR optimization/6615
59 * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
60 and make it a pointer to rtx. Update comments.
61 (update_equiv_regs): When scanning for equivalences, record
62 address of SET_SRC (set) in reg_equiv[].src_p. Dereference
63 it while making the equiv replacements.
65 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
67 * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
69 2002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp>
71 * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
72 when encoding visibility into SYMBOL_REF_FLAG.
74 2002-05-17 Richard Sandiford <rsandifo@redhat.com>
76 * expr.c (force_operand): Fix reversed move.
78 2002-05-17 Kurt Wall <kwall@kurtwerks.com>
80 * doc/install.texi (Testing): Mention two common DejaGnu warnings
83 2002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
85 * doc/install.texi (Final install): Recommend to install into a
86 "clean" target directory.
88 2002-05-17 Richard Henderson <rth@redhat.com>
90 * config/ia64/ia64.md: Use braced strings instead of quoted strings
91 for code blocks. Tidy whitespace.
93 2002-05-17 Richard Henderson <rth@redhat.com>
95 * hooks.c (hook_tree_bool_false): New.
96 * hooks.h: Declare it.
97 * target-def.h (TARGET_ASM_SELECT_SECTION): New.
98 (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
99 * target.h (select_section, unique_section): New.
100 (in_small_data_p): New.
101 * varasm.c (resolve_unique_section): Use hooks instead of macros.
102 (variable_section, output_constant_def_contents): Likewise.
103 (default_select_section, default_unique_section): New.
104 (categorize_decl_for_section, default_elf_select_section): New.
105 * output.h: Declare them.
107 * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
108 (TARGET_ASM_SELECT_SECTION): New.
109 (SELECT_SECTION): Move ...
110 * config/darwin.c (machopic_select_section): ... here.
111 * config/darwin-protos.h: Update.
113 * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
114 (SELECT_SECTION): Move ...
115 * config/nextstep.c (nextstep_select_section): ... here.
116 * config/nextstep-protos.h: Update.
118 * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
119 (TARGET_ASM_SELECT_SECTION): New.
120 * config/svr3.h (SELECT_SECTION): Remove.
122 * config/alpha/alpha.c (unicosmk_unique_section): Make static.
123 (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
124 (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
125 (alpha_encode_section_info): Use it.
126 * config/alpha/alpha-protos.h: Update.
127 * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
128 (SELECT_SECTION, UNIQUE_SECTION): Remove.
129 (TARGET_ASM_SELECT_SECTION): New.
130 * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
132 * config/arm/pe.h (UNIQUE_SECTION): Remove.
133 (TARGET_ASM_UNIQUE_SECTION): New.
135 * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
136 (avr_unique_section): Rename from unique_section; make static.
137 * config/avr/avr-protos.h: Update.
138 * config/avr/avr.h (UNIQUE_SECTION): Remove.
140 * config/c4x/c4x.h (SELECT_SECTION): Remove.
142 * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
143 (TARGET_ASM_UNIQUE_SECTION): New.
144 * config/i386/i386-interix.h: Likewise.
145 * config/i386/win32.h: Likewise.
146 * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
147 * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
148 * config/i386/sco5.h (SELECT_SECTION): Remove.
149 (TARGET_ASM_SELECT_SECTION): New.
150 * config/i386/svr3gas.h (SELECT_SECTION): Remove.
152 * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
153 instead of SELECT_SECTION.
154 * config/m68k/dpx2.h: Likewise.
155 * config/rs6000/lynx.h: Likewise.
157 * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
158 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
159 * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
160 (ia64_in_small_data_p): New.
161 (ia64_encode_section_info): Use it. Reorganize overlarge conditional.
162 (ia64_aix_select_section, ia64_aix_unique_section): New.
163 * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
164 (SELECT_SECTION, UNIQUE_SECTION): Remove.
166 * config/m32r/m32r.h (SELECT_SECTION): Remove.
167 (TARGET_ASM_SELECT_SECTION): New.
168 * config/m32r/m32r.c (m32r_select_section): Take align argument.
169 * config/m32r/m32r-protos.h: Update.
171 * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
172 (SELECT_SECTION): Move ...
173 * config/m88k/m88k.c (m88k_select_section): ... here.
175 * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
176 * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
177 * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
178 (mcore_unique_section): Make static.
179 * config/mcore/mcore-protos.h: Update.
181 * config/mips/elf.h (UNIQUE_SECTION): Remove.
182 (TARGET_ASM_UNIQUE_SECTION): New.
183 * config/mips/elf64.h: Likewise.
184 * config/mips/iris6gld.h: Likewise.
185 * config/mips/linux.h: Likewise.
186 * config/mips/mips-protos.h: Update.
187 * config/mips/mips.c (mips_select_section): Add align argument.
188 * config/mips/mips.h (SELECT_SECTION): Remove.
189 (TARGET_ASM_SELECT_SECTION): New.
191 * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
192 * config/mmix/mmix.c (mmix_select_section): Remove.
193 (mmix_unique_section): Remove.
194 * config/mmix/mmix-protos.h: Update.
196 * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
197 (SELECT_SECTION): Move ...
198 * config/pa/pa.c (pa_select_section): ... here.
199 * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
201 * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
202 from rs6000_select_section and make static.
203 (rs6000_elf_unique_section): Similarly.
204 (rs6000_xcoff_select_section): From xcoff.h.
205 (rs6000_xcoff_unique_section): Likewise.
206 * config/rs6000/rs6000-protos.h: Update.
207 * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
208 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
209 * config/rs6000/xcoff.h: Likewise.
211 * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
212 (SELECT_SECTION): Move ...
213 * config/sparc/sparc.c (sparc_aout_select_section): ... here.
215 * config/v850/v850.h (SELECT_SECTION): Move ...
216 * config/v850/v850.c (v850_select_section): ... here.
217 (TARGET_ASM_SELECT_SECTION): New.
219 * config/vax/vms.h (SELECT_SECTION): Move ...
220 * config/vax/vax.c (vms_select_section): ... here.
221 (TARGET_ASM_SELECT_SECTION): New.
223 * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
224 for the target hooks.
226 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
228 * config/arm/arm.c (emit_multi_reg_push): Do not set
229 RTX_FRAME_RELATED_P on the SEQUENCE.
231 2002-05-16 Richard Henderson <rth@redhat.com>
233 * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
234 splitting. Use split_all_insns; update_life_info_in_dirty_blocks.
236 2002-05-16 Richard Henderson <rth@redhat.com>
238 * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
240 * config/ia64/ia64.c (saveable_obstack): Do not declare.
242 2002-05-16 Richard Henderson <rth@redhat.com>
244 * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
245 cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
246 conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
247 gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
248 local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
249 recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
250 reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
251 sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
252 Revert "Basic block renumbering removal", and two followup patches.
254 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
256 * lcm.c (optimize_mode_switching): Revert previous change.
258 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
260 * sched-rgn.c (schedule_insns): Initialize large_region_blocks
261 with only extant block numbers.
263 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
265 * lcm.c (optimize_mode_switching): Fix typo.
267 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
269 * flow.c (calculate_global_regs_live): Queue blocks in program order.
271 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
273 * doc/install.texi (Configuration): Document PWDCMD.
275 2002-05-16 Dale Johannesen <dalej@apple.com>
277 * combine.c (cant_combine_insn_p): Reenable combinations
278 involving hard regs unless CLASS_LIKELY_SPILLED_P.
280 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
282 * c-common.c (cb_register_builtins): Handle more built-ins
283 here rather than in gcc.c specs.
284 * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
285 (cpp_options): Pass -O flags even when only preprocessing.
286 * toplev.c (set_fast_math_flags): New prototype.
287 (fast_math_flags_set_p): New.
288 (set_no_fast_math_flags): Remove.
289 (decode_f_option): Update.
290 * toplev.h (set_fast_math_flags): Update.
291 (fast_math_flags_set_p): New.
292 (set_no_fast_math_flags): Remove.
294 * c4x/c4x.c (c4x_override_options): Update.
296 2002-05-16 Zack Weinberg <zack@codesourcery.com>
298 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
300 (builtin_define_with_value): Can now wrap the expansion in
301 quotation marks if such is wanted.
302 (cb_register_builtins): Update calls to builtin_define_with_value.
303 Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
305 (c_common_init): Set options->stdc_0_in_system_headers.
306 * c-lex.h: Update prototype of builtin_define_with_value.
307 * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
310 * cppinit.c (VERS, ULP, C, X): Kill.
311 (builtin_array): Remove entries for __VERSION__,
312 __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
313 __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not
315 (init_builtins): Kill off a bunch of now-dead code.
316 (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
317 -fno-leading-underscore.
318 (cpp_handle_option): Remove code to set user_label_prefix.
319 (cpp_post_options): Likewise.
321 * cpplib.h (struct cpp_options): Remove user_label_prefix.
322 (stdc_0_in_system_headers): New.
323 * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
324 stdc_0_in_system_headers) too to decide the value of __STDC__.
326 * tradcpp.c (user_label_prefix): Kill.
327 (main): Remove code handling -f(no-)leading-underscore.
328 (initialize_builtins): Don't define __REGISTER_PREFIX__
329 or __USER_LABEL_PREFIX__.
330 (install_value): Wrap compound statement in dummy loop so the
331 macro works properly in an if statement.
334 2002-05-16 Janis Johnson <janis187@us.ibm.com>
336 * loop.h (struct loop_info): Add member has_prefetch.
337 * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
338 (prescan_loop): Initialize has_prefetch.
339 (struct prefetch_info): Change prefetch_in_loop and
340 prefetch_before_loop from bit fields to ints.
341 (emit_prefetch_instructions): Several small fixes.
342 (check_dbra_loop): Don't reverse loop that uses prefetch.
344 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
346 * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
347 * configure.in: Likewise.
348 * fixinc/check.tpl: Likewise.
349 * fixinc/fixinc.dgux: Likewise.
350 * fixinc/fixinc.svr4: Likewise.
351 * fixinc/fixinc.winnt: Likewise.
352 * fixinc/fixincl.sh: Likewise.
353 * fixproto: Likewise.
354 * configure: Regenerate.
356 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
358 Basic block renumbering removal:
359 * basic_block.h (struct basic_block_def): Renamed index to sindex,
360 added prev_bb and next_bb fields.
361 (n_basic_blocks): Renamed to num_basic_blocks.
362 (last_basic_block): New, index of last basic block.
363 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
364 traversing basic block chain.
365 (BLOCK_NUM): index -> sindex.
366 (create_basic_block_structure, create_basic_block): Declaration changed.
367 (debug_num2bb): Declare.
368 (expunge_block_nocompact): Declaration removed.
369 (link_block, unlink_block, compact_blocks): Declare.
370 * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
371 * cfg.c (entry_exit_blocks): Initialize new fields.
372 (clear_edges, alloc_block, expunge_block, cached_make_edge,
373 redirect_edge_pred, dump_flow_info, dump_edge_info,
374 alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
375 free_aux_for_edges): Modified.
376 (link_block, unlink_block, compact_blocks, debug_num2bb): New.
377 (expunge_block_nocompact): Removed.
378 * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
379 find_unreachable_blocks, create_edge_list, print_edge_list,
380 verify_edge_list, flow_edge_list_print, remove_fake_successors,
381 remove_fake_edges, flow_reverse_top_sort_order_compute,
382 flow_depth_first_order_compute, flow_preorder_transversal_compute,
383 flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
384 flow_dfs_compute_reverse_execute): Modified.
385 * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
386 find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
388 * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
389 merge_blocks_move_predecessor_nojumps,
390 merge_blocks_move_successor_nojumps, merge_blocks,
391 outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
392 try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
393 * cfglayout.c (skip_insns_after_block, label_for_bb,
394 record_effective_endpoints, scope_to_insns_finalize,
395 fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
396 fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
397 cfg_layout_duplicate_bb): Modified.
398 * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
399 flow_loop_entry_edges_find, flow_loop_exit_edges_find,
400 flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
401 flow_loops_find, flow_loop_outside_edge_p): Modified.
402 * cfgrtl.c (create_basic_block_structure, create_basic_block,
403 flow_delete_block, compute_bb_for_insn, split_block,
404 try_redirect_by_replacing_jump, redirect_edge_and_branch,
405 force_nonfallthru_and_redirect, tidy_fallthru_edge,
406 back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
407 commit_edge_insertions, commit_edge_insertions_watch_calls,
408 dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
409 purge_all_dead_edges): Modified.
410 * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
411 try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
412 get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
414 * conflict.c (conflict_graph_compute): Modified.
415 * df.c (FOR_ALL_BBS): Removed.
416 (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
417 df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
418 df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
419 * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
420 * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
421 calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
422 * final.c (compute_alignments, final_scan_insn): Modified.
423 * flow.c (verify_local_live_at_start, update_life_info,
424 update_life_info_in_dirty_blocks, free_basic_block_vars,
425 delete_noop_moves, calculate_global_regs_live,
426 initialize_uninitialized_subregs, allocate_bb_life_data,
427 regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
428 mark_used_reg, count_or_remove_death_notes): Modified.
429 * function.c (thread_prologue_and_epilogue_insns): Modified.
430 * gcse.c (struct null_pointer_info): Change typo of current_block
432 (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
433 oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
434 compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
435 alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
436 expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
437 classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
438 one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
439 pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
440 pre_delete, one_pre_gcse_pass, compute_transpout,
441 invalidate_nonnull_info, delete_null_pointer_checks_1,
442 free_code_hoist_mem, compute_code_hoist_vbeinout,
443 hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
444 compute_ld_motion_mems, store_ops_ok, find_moveable_store,
445 compute_store_table, build_store_vectors, insert_insn_start_bb,
446 insert_store, replace_store_insn, free_store_memory, store_motion):
448 * global.c (global_alloc, global_conflicts, mark_elimination,
449 build_insn_chain): Modified.
450 * graph.c (print_rtl_graph_with_bb): Modified.
451 * haifa-sched.c (sched_init): Modified.
452 * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
453 (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
454 if_convert): Modified.
455 * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
456 compute_insert_delete, pre_edge_lcm, compute_available,
457 compute_farthest, compute_nearerout, compute_rev_insert_delete,
458 pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
460 * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
461 * loop.c (loop_dump_aux): Modified.
462 * predict.c (combine_predictions_for_insn, estimate_probability,
463 last_basic_block_p, process_note_prediction, process_note_predictions,
464 note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
465 expensive_function_p, estimate_bb_frequencies,
466 compute_function_frequency): Modified.
467 * print-rtl.c (print_rtx): Modified.
468 * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
469 get_exec_counts, compute_branch_probabilities, compute_checksum,
470 branch_prob, find_spanning_tree): Modified.
471 * recog.c (split_all_insns, peephole2_optimize): Modified.
472 * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
473 convert_regs_1, convert_regs_2, convert_regs): Modified.
474 * regclass.c (scan_one_insn, regclass): Modified.
475 * regmove.c (mark_flags_life_zones, regmove_optimize,
476 combine_stack_adjustments): Modified.
477 * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
478 * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
479 * reorg.c (dbr_schedule): Modified.
480 * resource.c (find_basic_block, init_resource_info): Modified.
481 * sbitmap.c (sbitmap_intersection_of_succs,
482 sbitmap_intersection_of_preds, sbitmap_union_of_succs,
483 sbitmap_union_of_preds): Modified.
484 * sched-deps.c (init_dependency_caches): Modified.
485 * sched-ebb.c (schedule_ebbs): Modified.
486 * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
487 find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
488 * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
489 * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
490 ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
491 ssa_const_prop): Modified.
492 * ssa-dce.c (set_control_dependent_block_to_edge_map_,
493 find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
494 * ssa.c (remove_phi_alternative, find_evaluations,
495 compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
496 insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
497 make_regs_equivalent_over_bad_edges,
498 make_equivalent_phi_alternatives_equival,
499 compute_conservative_reg_partition,
500 coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
501 rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
504 2002-05-16 Mark Mitchell <mark@codesourcery.com>
506 * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
508 2002-05-16 Nick Clifton <nickc@cambridge.redhat.com>
510 * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
511 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
512 (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
513 calling CONSTANT_POOL_ADDRESS_P.
514 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
515 to decide whether to define __arm__ or __thumb.
516 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
517 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
519 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
521 * config/arc/arc.h (CPP_PREDEFINES): Remove.
523 (TARGET_CPU_CPP_BUILTINS): New.
525 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
527 * cpphash.h (cpp_macro): Move here, and make expansion a union.
528 * cppmacro.c (cpp_macro): Remove.
529 (enter_macro_context, replace_args, warn_of_redefinition,
530 _cpp_create_definition, cpp_macro_definition): Update.
532 2002-05-16 Jason Merrill <jason@redhat.com>
534 * config/mips/mips.c (mips_output_external): Don't do sdata
535 optimization for a variable with DECL_COMDAT set.
537 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
539 * config/rs6000/altivec.h: Cleanups for tighter typechecking.
540 Cleanups for accepting modifiers on pointers.
542 Allow long pointers as well as int pointers.
544 2002-05-15 Richard Henderson <rth@redhat.com>
546 * varasm.c (merge_weak): Remove special case for extern and common.
548 2002-05-15 Matt Hiller <hiller@redhat.com>
550 * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
552 * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
553 * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
554 * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
555 * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
556 * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
557 * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
559 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
561 * reload1.c (forget_old_reloads_1): Do not use subreg offset.
563 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
565 * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
566 ("altivec_mfvscr"): Read from VSCR.
568 Add vscr sets for the following insns: altivec_vctuxs,
569 altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
570 altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
571 altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
572 altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
573 altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
574 altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
575 altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
576 altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
577 altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
578 altivec_vsum2sws, altivec_vsumsws.
580 * config/rs6000/rs6000.h: Add VSCR fixed register.
581 (CALL_REALLY_USED_REGISTERS): Add vscr.
582 (CALL_USED_REGISTERS): Same.
583 (FIXED_REGISTERS): Same.
584 (REG_ALLOC_ORDER): Same.
585 (reg_class): Add VSCR_REGS.
586 (REG_CLASS_NAMES): Same.
587 (REG_CLASS_CONTENTS): Same.
589 (REGISTER_NAMES): Add vscr.
590 (DEBUG_REGISTER_NAMES): Same.
591 (ADDITIONAL_REGISTER_NAMES): Same.
592 (FIRST_PSEUDO_REGISTER): Increment.
593 (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
595 2002-05-15 Jakub Jelinek <jakub@redhat.com>
597 * fold-const.c (fold): Fix a typo.
599 2002-05-15 Eric Botcazou <ebotcazou@multimania.com>
601 * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
602 comparison against the highest or lowest integer value before
603 the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
604 transformation and that of an unsigned comparison against 0
607 2002-05-15 Richard Henderson <rth@redhat.com>
609 * varasm.c (merge_weak): Error for any weakening after definition.
610 Adjust weakening after use warning to catch more cases.
611 (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
612 * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
614 Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz>
616 * invoke.texi (-malign-double): Re-add lost warning.
618 * i386-protos.h (x86_output_mi_thunk): Declare.
619 * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
620 * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
622 * dwarf2out.c (output_call_frame_info): Do not skip unwind info
623 when flag_asynchronous_unwind_tables is set.
625 * flags.h (flag_reorder_functions): Declare.
626 * function.c (prepare_function_start): Initialize frequnecy.
627 * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
628 * Makefile.in (predict.o): Add dependency on target.h and params.h
629 * defaults.h (HOT_TEXT_SECTION_NAME,
630 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
631 * predict.c (choose_function_section): New function.
632 (estimate_bb_frequencies): Use it.
633 * toplev.c (flag_reorder_functions): New global variable.
634 (lang_independent_options): New.
635 (parse_options_and_default_flags): Set.
636 * varasm.c (assemble_start_function): Bypass functdion alignment
637 for never executed functions.
638 * invoke.texi (-freorder-blocks, -freorder-functions): Document.
639 (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
640 * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
643 Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz>
645 * predict.c: Inlude profile.h
646 (MIN_COUNT): Rename to MIN_COUNT_FRACTION
647 (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
648 Use the information about maximal counter in the program.
650 Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz>
652 * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
653 probably_never_executed_bb_p): New functions.
654 * cfgcleanup.c (outgoing_edges_match): Use them.
655 * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
656 (maybe_hot_bb_p, probably_cold_bb_p,
657 probably_never_executed_bb_p): New functions.
659 * function.h (function): Add new field function_frequency.
660 * predict.c (compute_function_frequency): New function.
661 (estimate_probability): Call it.
663 2002-03-09 Jakub Jelinek <jakub@redhat.com>
665 PR optimization/5172, optimization/5200
666 * gcse.c (gcse_main): Disable store_motion.
668 2002-05-14 Zack Weinberg <zack@codesourcery.com>
670 * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
671 (c_common_nodes_and_builtins): Use it.
672 (builtin_define_with_value): New function.
673 (cb_register_builtins): Define __SIZE_TYPE__,
674 __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
675 using builtin_define_with_value. Use consistent notation when
676 defining __GXX_WEAK__.
677 (WCHAR_TYPE_SIZE): Don't redefine.
678 (combine_strings): Don't use WCHAR_TYPE_SIZE.
680 * cppdefault.h: Don't provide defaults for SIZE_TYPE,
681 PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
682 * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
683 * tradcpp.c (initialize_builtins): Likewise.
684 * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
686 * c-lex.h (builtin_define_with_value): Prototype.
687 * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
688 NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
689 * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
691 * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
692 config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
693 config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
694 config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
695 config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
696 config/sparc/linux64.h, config/sparc/netbsd-elf.h,
697 config/sparc/sol2-bi.h, config/sparc/sparc.h:
698 Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references
699 to __SIZE_TYPE__ etc from all spec strings. When this makes
700 extra specs empty, delete them.
702 2002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
704 * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
705 for PA8000 or generating dwarf2 call frame information.
706 (output_call): Remove DO_FRAME_NOTES check from return pointer
708 (following_call): Return 0 when scheduling for PA8000 or generating
709 dwarf2 call frame information. Revise comment.
711 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
714 * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
715 and __IEEE_FP_INEXACT as appropriate.
716 (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
717 (CPP_SPEC): Remove ieee defines.
718 * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
720 2002-05-14 Richard Henderson <rth@redhat.com>
722 * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
723 (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
725 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
727 * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
729 (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
730 CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
731 CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
732 CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
733 (EXTRA_SPECS): Update.
734 * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
735 arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
736 arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
737 define TARGET_OS_CPP_BUILTINS if necessary.
739 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
741 * gcc.c (cpp_options): Must pass -m* and -f* options
742 to the front end even when only preprocessing.
743 (cc1_options): Remove redundant -lang-c.
744 * tradcpp.c (main): Ignore -m options.
746 * lang-specs.h: Similarly.
748 2002-05-14 Vladimir Makarov <vmakarov@redhat.com>
750 * genautomata.c (transform_3): Add code for transformation
751 `(A,B,...)+C -> A+C,B,...'.
753 Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz>
755 * final.c (end_final): Do not output profile_arcs constructor, when
756 no functions are instrumented.
758 Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz>
760 * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
762 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
764 * doc/install.texi: Remove special markup originally required for
765 HTML generation with texi2html.
767 2002-05-14 Andreas Schwab <schwab@suse.de>
769 * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
771 (UNIQUE_SECTION): Define to get small data correctly.
773 * varasm.c (resolve_unique_section): Add third parameter
774 flag_function_or_data_sections and use it instead of
775 flag_function_sections.
776 (assemble_start_function): Pass flag_function_sections.
777 (asm_emit_uninitialised): Pass flag_data_sections.
778 (assemble_variable): Likewise.
780 2002-05-14 Richard Henderson <rth@redhat.com>
782 * config/i386/i386.md: Use define_constants for unspec numbers.
783 * config/i386/i386.c: Likewise.
785 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
787 * doc/contrib.texi: Update my entry.
789 2002-05-13 Mark Mitchell <mark@codesourcery.com>
791 * fixinc/inclhack.def (winidss_valist): Limit applicability.
792 * fixinc/fixincl.x: Regenerated.
793 * fixinc/tests/base/math.h: Update.
794 * fixinc/tests/base/testing.h: Likewise.
796 2002-05-13 Zack Weinberg <zack@codesourcery.com>
798 * genattr.c (gen_attr): Don't emit a comma after the last
801 2002-05-13 Richard Henderson <rth@redhat.com>
803 * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
805 * recog.c (peephole2_optimize): Likewise.
807 2002-05-13 Andris Pavenis <pavenis@lanet.lv>
809 * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
812 2002-05-13 Jeffrey A Law (law@redhat.com)
814 * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
815 Update prototype and callers.
816 (propagate_one_insn): Stack pointer adjustments kill MEMs on
817 the mem_set_list which reference the stack pointer, as do
818 calls to constant functions as they may clobber outgoing
821 * i386.c (ia32_multipass_dfa_lookahead): Prototype.
823 * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
824 (ia32_multipass_dfa_lookahead): New function.
826 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
828 * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
829 (translate_options): Remove 'V'.
830 (process_command): Similarly.
832 * invoke.texi: Remove documentation of 'V'.
834 2002-05-13 Ulrich Weigand <uweigand@de.ibm.com>
836 * config/s390/linux.h: Revert 2002-04-22 changes.
838 2002-05-13 Scott Marks <SMarks@mobile-mind.com>
840 * config/fr30/fr30.md: Only allow splits of immediate loads
841 if the destination is a register.
843 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
845 * Makefile.in (c-common.o, cppinit.o): Update.
846 * c-common.c: Include except.h.
847 (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
848 Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
849 * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
850 * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
851 CPP_PREDEFINES): Handle here.
853 * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
854 alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
855 alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
856 TARGET_OS_CPP_BUILTINS.
857 * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
858 (CPP_SPEC, EXTRA_SPECS): Update.
859 (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
860 CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
861 CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
862 CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
863 CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
865 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
866 (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
868 2002-05-12 Zack Weinberg <zack@codesourcery.com>
870 * emit-rtl.c (global_rtl): Update comment.
871 (const_double_htab, const_double_htab_hash,
872 const_double_htab_hash, lookup_const_double): New.
873 (const_int_htab_hash, const_int_htab_eq): Remove const
874 qualifiers, which cause tons of warnings with RTL checking on.
875 (gen_rtx_CONST_DOUBLE): Deleted.
876 (const_double_from_real_value): New function - bears some
877 resemblance to the former immed_real_const_1.
878 (immed_double_const): Moved here from varasm.c and
880 (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
881 (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
882 (gen_rtx): Use immed_double_const.
883 (init_emit_once): Initialize the const_double_htab. Use
884 REAL_VALUE_FROM_INT where possible. Can now use
885 CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
886 * varasm.c (struct varasm_status): Remove x_const_double_chain.
887 (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
888 (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
889 (init_varasm_status, mark_varasm_status): Don't touch
890 x_const_double_chain.
892 * output.h: Delete prototype for clear_const_double_mem.
893 * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading
894 '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype
895 const_double_from_real_value, not immed_real_const_1, and use
896 it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro
898 * rtl.h (CONST_DOUBLE_CHAIN): Kill.
899 (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
900 (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
901 (gen_rtx_REG): Second arg is unsigned.
903 * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
904 (excluded_rtx): New, return true for CONST_DOUBLE.
905 (genmacro): Write nothing for excluded codes.
906 * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
907 * expr.c (expand_expr): Likewise.
908 * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
910 * toplev.c (rest_of_compilation): Don't call
911 clear_const_double_mem.
913 * config/rs6000/rs6000.c (rs6000_float_const): Delete.
914 (rs6000_hash_constant): Remove CONST_DOUBLE special case.
915 (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
916 * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
917 * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
918 * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
919 config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
920 * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
922 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
924 * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
926 2002-05-12 Tom Tromey <tromey@redhat.com>
928 * tree.h (copy_node): Don't mention TREE_PERMANENT.
930 2002-05-12 Zack Weinberg <zack@codesourcery.com>
932 * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
933 (scan_comma_elt): New function. Accepts whitespace in comma lists.
934 * gensupport.h: Prototype new routines.
935 * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary
937 * genattrtab.c (n_comma_elts): Moved to gensupport.c.
938 (next_comma_elt): Use scan_comma_elt.
940 * config/i386/i386.md: Use new attribute notation to break up
941 long lines in define_attr forms.
943 2002-05-12 Richard Henderson <rth@redhat.com>
945 * expr.c (compress_float_constant): New.
946 (emit_move_insn): Use it.
947 (float_extend_from_mem): New.
948 (init_expr_once): Initialize it.
949 * real.c (exact_real_truncate): New.
951 * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
952 dropped into memory; penalize for size.
953 (RTX_COSTS): FLOAT_EXTEND is free.
954 * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
955 extenddfxf2, extenddftf2): Accept constants and drop them to memory.
957 2002-05-12 Richard Henderson <rth@redhat.com>
959 * profile.h (profile_info): Add missing extern to declaration.
960 * profile.c (profile_info): Define it.
962 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
964 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
965 used for DImode and TImode.
967 2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
969 * cpplex.c (_cpp_lex_direct): When in a directive at EOF
972 2002-05-11 Zack Weinberg <zack@codesourcery.com>
974 * config/rs6000/rs6000.c (rs6000_default_long_calls,
975 rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
976 (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
977 (rs6000_override_options): Handle -m(no-)longcall.
978 (init_cumulative_args, output_mi_thunk): Check for both
979 longcall and shortcall attributes on the function.
980 (rs6000_attribute_table): Add "shortcall".
981 (rs6000_handle_longcall_attribute): Update comment.
982 (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
983 altivec_expand_ternop_builtin): Add default clauses to switches
986 * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
987 rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS.
988 (TARGET_OPTIONS): Add longcall and no-longcall.
990 * config/rs6000/rs6000.md (call_nonlocal_sysv,
991 call_value_nonlocal_sysv): Split by alternatives. One pair
992 accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
993 the call cookie. The other pair accepts only LR/CTR and has
996 * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
997 Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
999 * config/rs6000/rs6000-c.c: New file.
1000 * config/rs6000/t-rs6000-c-rule: New file.
1001 * config/rs6000/rs6000-protos.c: Add multiple-include guard.
1002 Prototype rs6000_pragma_longcall.
1004 * doc/extend.texi: Document shortcall attribute.
1005 * doc/invoke.texi: Document -mlongcall, -mno-longcall.
1007 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1009 * reorg.c (dbr_schedule): Remove unnecessary test.
1011 Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz>
1013 * i386.md (testsi to testqi spliters): New.
1015 2002-01-14 Josef Zlomek <zlomek@matfyz.cz>
1017 cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
1019 Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
1021 * basic-block.h: New flag EDGE_CAN_FALLTHRU
1022 * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
1023 that can be made fallthru.
1025 Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz>
1027 * cfglayout.c (cleanup_unconditional_jumps): New static function.
1028 (cfg_layout_initialize): Use it.
1030 2002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl>
1032 * config/avr/avr.c (avr_mcu_types): Update supported devices.
1033 * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
1034 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1036 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
1038 * dbxout.c: Fix formatting.
1039 * dependence.c: Likewise.
1041 * diagnostic.c: Likewise.
1042 * doloop.c: Likewise.
1043 * dominance.c: Likewise.
1044 * doschk.c: Likewise.
1045 * dwarf2asm.c: Likewise.
1046 * dwarf2out.c: Likewise.
1047 * dwarfout.c: Likewise.
1049 2002-05-10 Richard Henderson <rth@redhat.com>
1051 * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct.
1052 Convert integers constants as needed. Replace "nwords" field with
1054 (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
1055 * function.h: Fix typo in comment.
1056 * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
1058 2002-05-10 Roger Sayle <roger@eyesopen.com>
1060 * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
1061 into the equivalent (signed char)c > 0.
1063 2002-05-10 Janis Johnson <janis187@us.ibm.com>
1065 * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
1066 (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
1067 (struct prefetch_info): Fix spelling of member bytes_accessed.
1068 (emit_prefetch_instructions): Make dump messages more regular;
1069 restructure code to add more dump messages; use new macros for
1070 heuristics. (There are no code generation changes in any of this).
1072 2002-05-10 David S. Miller <davem@redhat.com>
1074 * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
1075 (struct rtx_def): Update unchanging flag comment.
1076 * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
1077 * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
1078 to be handled to INSN too.
1079 (dbr_schedule): Likewise.
1080 * resource.c (next_insn_no_annul): Likewise.
1082 * cse.c (rtx_cost): Remove multiplication by power of 2 special
1085 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1087 * doc/install.texi (Specific, *-*-solaris2*): Update passus on
1088 setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
1089 (possibly) work around broken /bin/sh.
1091 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1093 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
1094 . as N64/N32 libgcc_s.so subdirs.
1096 2002-05-10 David S. Miller <davem@redhat.com>
1098 * config/sparc/sparc.md: Use define_constants for unspec numbers.
1100 * rtl.h (struct rtx_def): Document unchanging and in_struct flags
1102 (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
1104 (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
1105 * doc/rtl.texi: Document these macros more accurately.
1106 * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
1107 JUMP_INSNs and CALL_INSNs.
1108 * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
1109 or INSN_FROM_TARGET_P if the code is appropriate.
1111 2002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
1113 * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
1114 before using SYMBOL_REF_FLAG (addr).
1116 * config/avr/avr-protos.h (avr_io_address_p): Declare.
1117 * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
1118 Make non-static. Update all callers.
1119 * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
1120 New insns to clear/set/test a single bit in I/O address space.
1122 2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1124 * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
1126 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1128 * Makefile.in: Update.
1129 * c-common.c (flag_iso, flag_undef, cb_register_builtins,
1130 builtin_define_std): New.
1131 (c_common_init): Register CPP builtins callback.
1132 * c-common.h (flag_iso, flag_undef): New.
1133 * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
1134 * c-lex.c: Don't include target.h.
1135 (cb_register_builtins): Move to c-common.c.
1136 (init_c_lex): Don't register hook here.
1137 * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
1138 (cpp_define, cpp_assert): Remove.
1139 * gcc.c (cc1_options): Pass -undef to front end.
1140 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
1141 (TARGET_INITIALIZER): Update.
1142 * target.h (struct cpp_reader): Don't predeclare.
1143 (struct gcc_target): Remove cpp builtin hook.
1144 * tree.c (default_register_cpp_builtins): Remove.
1148 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1150 * cppexp.c (_cpp_expand_op_stack): Set op_limit.
1152 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1154 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
1155 (SHLIB_LINK, SHLIB_INSTALL): Adjust.
1157 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1159 * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
1160 * config/sparc/libgcc-sparc-glibc.ver: New file.
1161 * config/cris/t-linux (SHLIB_MAPFILES): Remove.
1162 * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
1164 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1167 * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
1168 * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
1169 shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
1171 * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
1172 * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
1173 * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1174 * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1176 2002-05-09 Richard Henderson <rth@redhat.com>
1178 * config/ia64/ia64.md: Use define_constants for unspec numbers.
1179 * config/ia64/ia64.c: Likewise.
1181 2002-05-09 Richard Sandiford <rsandifo@redhat.com>
1183 * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
1184 (save_restore_insns): Likewise.
1185 (mips_expand_prologue, mips_expand_epilogue): Update callers.
1186 (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
1188 Thu May 9 11:50:09 2002 Jeffrey A Law (law@cygnus.com)
1190 * athlon.md, k6.md, pentium.md, ppro.md): New files.
1191 * i386.md: Move scheduling information into new files.
1193 * i386.md (type attribute): Add "rotate" for rotate insns.
1194 (rotate insns): Set type to "rotate".
1195 (various attributes and function units): Treat rotate like shift.
1196 (pent_pair attribute): Only rotates by one bit position are
1198 (sbb insns): Explicitly set pent_pair attribute on a couple
1199 that were missing it.
1201 Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
1203 * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
1204 make sure that buffer starts on odd word address.
1205 (sh_va_arg): Skip odd fp registers when reading a double precision
1208 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1210 * tree.h (preserve_data, object_permanent_p, type_precision):
1213 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1215 * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
1216 * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
1218 * cpp.texi: Update for removal of obsolete features.
1220 Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz>
1221 Jeffrey A Law (law@redhat.com)
1223 * i386.c (ia32_use_dfa_pipeline_interface): New function. Use
1224 the DFA interface for Pentium processors.
1225 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
1226 (attr_pent_pair, ix86_pent_find_pair): Remove.
1227 (ix86_sched_reorder_pentium): Remove.
1228 (ix86_sched_reorder): Remove reordering for Pentium.
1229 * i386.md (Pentium scheduling): Rewrite using DFA description.
1231 Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz>
1233 * cfganal.c (can_fallthru): Fix fast path.
1234 * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
1235 with edges to the next block.
1237 Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz>
1238 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
1240 * final.c (end_final): Use C trees to output data structures for profiling.
1242 * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
1243 (profile.o): New dependency profile.h
1244 (final.o): New dependency profile.h
1245 * profile.h: New file. New global structure profile_info.
1246 * final.h (count_edges_instrumented_now): Declare.
1247 (current_function_cfg_checksum): Declare.
1248 (function_list): New structure.
1249 (functions_head, functions_tail): New static variables.
1250 (end_final): Emits more data, removed some -ax stuff.
1251 (final): Stores function names and chcksums.
1252 * gcov-io.h (__write_gcov_string): New function.
1253 (__read_gcov_string): New function.
1254 * gcov.c (read_profile): New function.
1255 (create_program_flow_graph): Uses read_profile instead of reading
1257 (read_files): Removed da_file checking, it's done by read_profile now.
1258 * libgcc2.c (bb_function_info): New structure.
1259 (bb): New field in structure, removed some -ax stuff.
1260 (__bb_exit_func): Changed structure of da_file.
1261 * profile.c (count_edges_instrumented_now): New global variable.
1262 (current_function_cfg_checksum): New global variable.
1263 (max_counter_in_program): New global variable.
1264 (get_exec_counts): New function.
1265 (compute_checksum): New function.
1266 (instrument_edges): Sets count_edges_instrumented_now.
1267 (compute_branch_probabilities): Uses get_exec_counts instead of
1269 (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
1270 (init_branch_prob): Removed da_file checking, done in get_exec_counts
1272 (end_branch_prob): Removed da_file checking, done in get_exec_counts
1274 * gcov.texi: Updated information about gcov file format.
1276 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
1278 * sbitmap.c: Fix formatting.
1280 * scan-decls.c: Likewise.
1281 * sched-deps.c: Likewise.
1282 * sched-ebb.c: Likewise.
1283 * sched-rgn.c: Likewise.
1284 * sched-vis.c: Likewise.
1285 * sdbout.c: Likewise.
1286 * sibcall.c: Likewise.
1287 * simplify-rtx.c: Likewise.
1289 * ssa-ccp.c: Likewise.
1290 * ssa-dce.c: Likewise.
1292 * stor-layout.c: Likewise.
1293 * stringpool.c: Likewise.
1295 2002-05-09 David S. Miller <davem@redhat.com>
1297 * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
1299 2002-05-07 David S. Miller <davem@redhat.com>
1301 * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
1302 * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
1303 * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
1304 library implementation clobbers the output before the inputs
1305 are fully consumed, use stack temporary for the output.
1307 2002-05-09 Jason Thorpe <thorpej@wasabisystems.com>
1309 * config/netbsd.h (CPP_SPEC): Remove.
1310 * config/i386/netbsd-elf.h (CPP_SPEC): Define.
1311 * config/i386/netbsd.h (CPP_SPEC): Define.
1312 * config/ns32k/netbsd.h (CPP_SPEC): Define.
1313 * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
1314 * config/sparc/netbsd.h (CPP_SPEC): Define.
1315 * config/vax/netbsd.h (CPP_SPEC): Define.
1317 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
1319 * read-rtl.c: Fix formatting.
1321 * recog.c: Likewise.
1322 * regclass.c: Likewise.
1323 * regmove.c: Likewise.
1324 * reg-stack.c: Likewise.
1325 * reload1.c: Likewise.
1326 * reload.c: Likewise.
1327 * resource.c: Likewise.
1328 * rtlanal.c: Likewise.
1330 * rtl-error.c: Likewise.
1332 2002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
1334 * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
1335 * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
1337 2002-05-08 Bernd Schmidt <bernds@redhat.com>
1339 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
1340 use __SSE2__ macro instead.
1341 * config/i386/xmmintrin.h: Likewise.
1343 2002-05-08 Janis Johnson <janis187@us.ibm.com>
1345 * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
1346 and use it in all invocations of these macros. Clean up comments.
1347 * rtl.c (rtl_check_failed_flag): Add an argument for the name
1348 of the flag access macro whose check failed.
1349 * doc/rtl.texi (Flags): Document additional flag uses.
1351 2002-05-08 Robert Spier <rspier@pobox.com>
1352 Neil Booth <neil@daikokuya.demon.co.uk>
1354 PR preprocessor/6521
1355 * cppfiles.c (handle_missing_header): Don't do anything
1356 different for <> includes.
1358 * cppopts.texi: Update documentation for -MG.
1360 2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk>
1362 * cpplex.c (cpp_interpret_charconst): Truncate as well as
1365 * cpp.texi: Clarify multichar charconst valuation.
1367 2002-05-08 Mark Mitchell <mark@codesourcery.com>
1369 * doc/invoke.texi: Document -mwindiss option.
1371 2002-05-08 Jason Merrill <jason@redhat.com>
1373 * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
1375 * dwarf2out.c (gen_type_die): Abort on broken recursion.
1378 * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
1381 2002-05-08 Nick Clifton <nickc@cambridge.redhat.com>
1383 * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
1384 little-endian multilibs to override arm/thumb multilibs.
1385 Do not build hardware floating point multilibs, nor apcs-26
1386 multilibs for the Thumb.
1388 2002-05-08 Mark Mitchell <mark@codesourcery.com>
1391 * varasm.c (mark_weak): New function.
1392 (merge_weak): Use it. Do not call declare_weak.
1393 (declare_weak): Use merge_weak.
1395 Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz>
1397 * cse.c (dead_libcall_p): Update counts.
1398 (delete_trivially_dead_insns): Update call of dead_libcall_p.
1400 Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz>
1402 * cfglayout.c (function_tail_eff_head): Rename to ...
1403 (function_footer): ... this one.
1404 (unlink_insn_chain): New functions.
1405 (label_for_bb): Only call block_label and emit debug message.
1406 (record_effective_endpoints): Actually unlink the headers and footers.
1407 (fixup_reorder_cahin): Re-insert the unlinked sequences.
1408 (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
1409 * cfglayout.h (struct reorder_block_def): New fields footer/header;
1410 remove eff_head/eff_end.
1411 * rtl.h (set_first_insn): Declare.
1412 * emit-rtl.c (set_first_insn): New function.
1414 * cfglayout.c (fixup_reorder_chain): Dump duplicated
1415 (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
1416 cfg_layout_duplicate_bb): New global function.
1417 (duplicate_insn_chain): New static function.
1418 * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
1419 cfg_layout_duplicate_bb): Declare.
1420 (struct reorder_block_def): Add "original" field.
1421 * emit-rtl.c (emit_copy_of_insn_after): New function.
1422 * rtl.h (emit_copy_of_insn_after): Declare.
1424 * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
1425 (fixup_reorder_chain): properly handle edges to exit block.
1427 Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1428 Jan Hubicka <jh@suse.cz>
1430 * basic-block.h (note_prediction_to_br_prob): declare.
1431 * c-semantics.c: Inlucde predit.h
1432 (expand_stmt): predict GOTO_STMT as not taken.
1433 * cfgcleanup.c: (delete_unreachable_blocks): Make global.
1434 (cleanup_cfg): Do not free tail_recursion_list.
1435 * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
1436 (flow_delete_block): Kill predictions past end of basic block.
1437 * output.h (delete_unreachable_blocks): Declare.
1438 * predict.c (predicted_by_p, process_note_predictions,
1439 process_note_prediction, last_block_p): New function.
1440 (estimate_probability): Bypass loop on PRED_CONTINUE;
1441 do not handle noreturn heuristics; kill PRED_RETURN; add
1443 * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
1444 PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
1445 * predict.h (IS_TAKEN): New constant.
1446 * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
1447 * rtl.c (NOTE_INSN_PREDICTION): New.
1448 * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
1450 (insn_note): add NOTE_INSN_PREDICTION.
1451 * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
1452 CFG; free tail_recursion_label_list.
1453 * stmt.c: Include predict.h;
1454 (return_prediction): New.
1455 (expand_value_return): Use it.
1456 * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
1458 2002-05-08 Richard Sandiford <rsandifo@redhat.com>
1460 * config/mips/mips.md: Name the unspecs with define_constant.
1461 (*HILO_delay): Rename to 'hilo_delay' (no star).
1462 (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
1463 (reload_outdi, reload_outsi): Likewise.
1465 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
1467 * toplev.c: Fix formatting.
1469 2002-05-07 Janis Johnson <janis187@us.ibm.com>
1471 * config.in (ENABLE_RTL_FLAG_CHECKING): New.
1472 * configure.in (ac_rtlflag_checking): New.
1473 * doc/install.texi (--enable-checking): Document RTL flag checking.
1475 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
1477 * c-common.c (c_common_init): Set options->unsigned_wchar.
1478 * cppinit.c (cpp_create_reader): Default unsigned_wchar,
1479 group target dependencies.
1480 (init_builtins, cpp_handle_option): Update.
1481 * cpplex.c (cpp_interpret_charconst): Update.
1482 * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
1483 signed_char to unsigned_char, group target dependencies.
1484 * defaults.h (WCHAR_UNSIGNED): Remove.
1485 * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
1487 * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
1488 i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
1489 i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
1490 i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
1491 sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
1493 * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
1495 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1497 * fixinc/inclhack.def (windiss_math1): New fix.
1498 (windiss_math2): Likewise.
1499 (windiss_valist): Likewise.
1500 * fixinc/fixincl.x: Regenerated.
1502 2002-05-07 Andreas Jaeger <aj@suse.de>
1504 * genautomata.c (output_internal_min_issue_delay_func): Add
1505 ATTRIBUTE_UNUSED to avoid warning with empty dfa.
1506 (output_internal_trans_func): Likewise.
1508 Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com)
1510 * pa.c (hppa_profile_hook): Use force_reg to get the address
1511 of the profile hook into an appropriate pseudo register.
1513 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1515 * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
1516 (LINK_START_SPEC): Handle it.
1517 (LINK_OS_SPEC): Likewise.
1518 (CPP_SPEC): Likewise.
1519 (STARTFILE_SPEC): Likewise.
1520 (LIB_SPEC): Likewise.
1521 (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on
1523 (CRTSAVRES_DEFAULT_SPEC): New macro.
1524 (LIB_WINDISS_SPEC): New macro.
1525 (CPP_OS_WINDISS_SPEC): Likewise.
1526 (STARTFILE_WINDISS_SPEC): Likewise.
1527 (ENDFILE_WINDISS_SPEC): Likewise.
1528 (LINK_START_WINDISS_SPEC): Likewise.
1529 (LINK_OS_WINDISS_SPEC): Likewise.
1530 * config/rs6000/windiss.h: New file.
1532 2002-05-07 Aldy Hernandez <aldyh@redhat.com>
1534 * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
1536 2002-05-06 David S. Miller <davem@redhat.com>
1538 * config/sparc/sparc.md (shift insns): Do not mask off
1539 second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
1542 2002-05-06 Richard Henderson <rth@redhat.com>
1545 * expr.c (highest_pow2_factor_for_type): New.
1546 (expand_assignment): Use it.
1548 2002-05-06 Aldy Hernandez <aldyh@redhat.com>
1550 * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
1552 ("altivec_mfvscr"): Same.
1554 2002-05-06 Janis Johnson <janis187@us.ibm.com>
1556 * rtl.h (struct rtx_def): Update comments.
1557 (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare.
1558 (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use
1559 RTL_FLAG_CHECK macros with list of expected RTL codes.
1560 * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
1561 (rtl_check_failed_flag): New.
1562 * reload1.c (reload): Use REG macro before changing rtx to MEM.
1563 (reload_cse_noop_set_p): Check rtx code before using access macro.
1564 * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
1565 before using access macro.
1567 2002-05-06 Janis Johnson <janis187@us.ibm.com>
1569 * doc/rtl.texi (Flags): Update to reflect current usage.
1571 2002-05-06 Roger Sayle <roger@eyesopen.com>
1574 * fold-const.c (sign_bit_p): New function.
1575 (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
1576 (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
1577 Reapply fold when converting (A & C) == C into (A & C) != 0.
1578 (fold_binary_op_with_conditional_arg): Fix typo in comment.
1580 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
1582 * c-common.c (warn_multichar): New.
1583 (c_common_init): Set CPP's warn_multichar.
1584 * c-common.h (warn_multichar): New.
1585 * c-decl.c (warn_multichar): Remove.
1586 * c-lex.c (lex_charconst): Update.
1587 * c-tree.h (warn_multichar): Remove.
1588 * cppexp.c (eval_token): Sign-extend charconst value.
1589 * cppinit.c (cpp_create_reader): Set warn_multichar.
1590 * cpplex.c (cpp_interpret_charconst): Don't sign-extend
1591 each character. Update prototype. Sign-extend the result.
1592 * cpplib.h: Fix conditions.
1593 (struct cpp_options): Add new warning flag.
1594 (cpp_interpret_charconst): Update prototype.
1596 * cpp.texi: Update documentation.
1598 2002-05-06 Vladimir Makarov <vmakarov@redhat.com>
1600 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
1601 Fix typo in usage of allof instead of unit.
1603 2002-05-06 Richard Henderson <rth@redhat.com>
1605 * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
1606 and any jump or call for IN.
1608 2002-05-06 Bernd Schmidt <bernds@redhat.com>
1610 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
1612 * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
1614 2002-05-06 Roger Sayle <roger@eyesopen.com>
1616 * fold-const.c (lshift-double): Cast the high word to an unsigned
1617 HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
1618 (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
1619 avoid compiler warning. (fold): Remove redundant code from
1620 BIT_AND_EXPR as integer operands are canonicalized to be arg1.
1622 2002-05-06 Jeff Law <law@redhat.com>
1624 * pa-protos.h (hppa_fpstore_bypass_p): Declare.
1625 * pa.c (pa_adjust_cost): Remove all true dependency cost
1626 adjustments. Also remove support for non-DFA scheduling.
1627 * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
1628 to adjust true dependency costs. Update various comments.
1629 (7100lc, 7200, 7300 scheduling): Simplify by combining the
1630 FP ALU & MPY units into a single unit.
1632 2002-05-06 Catherine Moore <clm@redhat.com>
1634 * config/v850/v850.c (compute_register_save_size): Make sure
1635 to count all of the registers that will be saved.
1637 Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz>
1639 * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
1641 2002-05-06 David S. Miller <davem@redhat.com>
1643 * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
1644 allow result to overlap input operands in memory.
1646 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
1649 * cpp.texi: Update multichar charconst docs.
1651 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
1653 * cpplex.c (cpp_interpret_charconst): Sign-extend each
1654 character. Don't ignore excess characters. Treat
1655 multicharacter character constants as signed.
1656 (cpp_parse_escape): Clarify diagnostic.
1658 2002-05-05 Jakub Jelinek <jakub@redhat.com>
1660 * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
1661 use add instead of shift.
1662 (ashldi3_sp64): Likewise.
1663 (ashlsi3_const1, ashldi3_const1): Remove.
1664 * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
1665 * config/sparc/sparc.c (const1_operand): New.
1667 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
1669 * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
1671 2002-05-05 Jakub Jelinek <jakub@redhat.com>
1674 * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
1676 2002-05-05 Richard Henderson <rth@redhat.com>
1678 * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
1679 memory latency adjustments.
1680 (alpha_variable_issue): Remove.
1681 (alpha_use_dfa_pipeline_interface): New.
1682 (alpha_multipass_dfa_lookahead): New.
1683 * config/alpha/alpha.md: Remove define_function_unit scheduling;
1684 include new dfa scheduling.
1685 (attr type): Add none.
1687 * config/alpha/ev4.md: New.
1688 * config/alpha/ev5.md: New.
1689 * config/alpha/ev6.md: New.
1691 2002-05-05 David S. Miller <davem@redhat.com>
1693 * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
1695 2002-05-05 Kazu Hirata <kazu@cs.umass.edu>
1697 * cse.c: Fix formatting.
1698 * emit-rtl.c: Likewise.
1700 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
1702 * genautomata.c (initiate_states): Add additional guard to
1703 initialize `units_array'.
1705 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
1707 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
1708 process_unit_to_form_the_same_automaton_unit_lists,
1709 form_the_same_automaton_unit_lists
1710 check_unit_distributions_to_automata): New prototypes and
1712 (check_automata): Rename it into `check_automata_insn_issues'.
1713 (unit_decl): New fields `the_same_automaton_unit' and
1714 `the_same_automaton_message_reported_p'.
1715 (unit_decl_t): New typedef.
1716 (the_same_automaton_lists): New gloval variable.
1717 (unit_regexp, unit_set_el, units_array, units_cmp,
1718 output_get_cpu_unit_code_func): Use the typedef.
1719 (evaluate_max_reserv_cycles): Increment
1720 `description->max_insn_reserv_cycles'.
1721 (initiate_states): Don't increment `max_cycles_num'.
1722 (transform_insn_regexps): Move code around transformation of
1723 regexps from `generate'.
1724 (generate): Remove call of `transform_insn_regexps'.
1725 (expand_automata): Call `transform_insn_regexps' and
1726 `check_unit_distributions_to_automata'. Check errors before
1729 * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
1730 automaton `ultrasparc3_1'.
1732 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
1734 * c-common.c (c_common_init): Set up CPP arithmetic.
1735 * cppinit.c (cpp_create_reader): Default CPP arithmetic to
1736 something reasonable for the host.
1737 (sanity_checks): Add checks.
1738 (cpp_read_main_file): Call sanity_checks() from here...
1739 (cpp_post_options): ... not here.
1740 * cpplex.c (cpp_interpret_charconst): Get max_chars right.
1741 * cpplib.h (struct cpp_options): New member int_precision.
1743 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1745 * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
1747 2002-05-04 David S. Miller <davem@redhat.com>
1749 * config/sparc/linux.h, config/sparc/linux64.h
1750 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
1752 * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
1754 * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
1756 * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
1759 2002-05-05 Tim Josling <tej@melbpc.org.au>
1761 * treelang; New directory for new sample language treelang.
1763 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
1765 * Makefile.in (c-lex.o): Update.
1766 * c-lex.c: Include target.h.
1767 (cb_register_builtins): New.
1768 (init_c_lex): Set builtins callback.
1769 * c-lex.h (cpp_define, cpp_assert): New prototypes.
1770 * cppinit.c (init_builtins): Use callback, including for
1772 * cpplib.h (struct cpp_callbacks): New member.
1773 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
1774 (TARGET_INITIALIZER): Update.
1775 * target.h (struct gcc_target): New hook.
1776 * tree.c (default_register_cpp_builtins): New.
1777 * tree.h (default_register_cpp_builtins): New.
1779 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
1781 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
1783 * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
1784 (cpp_post_options): Move sanity checks to...
1785 (sanity_checks): New.
1786 * cpplex.c (maybe_read_ucs): Fix prototype.
1787 (parse_string, cpp_parse_escape): Cast for %c format specifier.
1788 * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
1791 2002-05-04 Bernd Schmidt <bernds@redhat.com>
1793 * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
1794 builtins. Use V2DI patterns instead of TI for logical operations.
1795 (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
1796 Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
1797 (ix86_expand_builtins): Change the pattern used for movntdq.
1798 * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
1799 sse2_nandv2di3): New patterns.
1800 (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
1802 (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
1803 (cvtdq2pd): Correct mode on operand 1.
1804 (sse2_umulsidi3): Describe without unspec.
1805 (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
1807 (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
1808 (ashlv2di3): Likewise, from sse2_ashlv2di3.
1809 (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
1810 ashlv4si3, ashlv2di3): Use SImode for shift count.
1811 (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
1812 lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
1814 * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
1816 (__m128i, __m128d): New macros.
1817 (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
1818 _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
1819 _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
1820 _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
1821 _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
1822 _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
1823 _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
1824 _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
1825 _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
1826 _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
1827 _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
1828 _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
1829 _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
1830 _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
1831 _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
1832 _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
1833 _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
1834 _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
1835 _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
1836 _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
1837 _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
1838 _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
1839 _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
1840 _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
1841 _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
1842 _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
1843 _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
1844 _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
1845 _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
1846 _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
1847 _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
1848 _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
1849 _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
1850 _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
1851 _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
1852 _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
1853 _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
1855 (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
1856 _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
1858 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
1860 * dwarf2out.c: Fix formatting.
1861 * varasm.c: Likewise.
1863 2002-05-04 David Edelsohn <edelsohn@gnu.org>
1866 * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
1867 clobber and use result as temporary value.
1869 Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz>
1871 * expr.c (force_operand): Use expand_simple_* to handle more
1874 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
1876 * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
1878 (lex_charconst): Update for change in prototype of
1879 cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT
1881 * cpphash.h (BITS_PER_CPPCHAR_T): New.
1882 * cppinit.c (cpp_create_reader): Initialize them for no
1883 change in semantics.
1884 (cpp_post_options): Add sanity checks.
1885 * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
1886 and truncation issues. Calculate in type cppchar_t.
1887 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
1888 (cpp_interpret_charconst): Calculate in type cppchar_t. Handle
1889 run-time dependent precision correctly. Return whether the
1890 result is signed or not.
1891 * cpplib.c (dequote_string): Use cppchar_t; update.
1892 * cpplib.h (cppchar_signed_t): New.
1893 struct cpp_options): New precision members.
1894 (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
1895 * cppexp.c (eval_token): Update.
1897 2002-05-03 David S. Miller <davem@redhat.com>
1899 * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
1900 * config/sparc/sparc.c (sparc_rtx_costs): New function
1901 implementing RTX_COSTS and CONST_COSTS.
1902 * config/sparc/sparc.h (CONST_COSTS): Delete.
1903 (RTX_COSTS_CASES): Define.
1904 (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
1907 * config/sparc/sparc.md (DFA schedulers): Split out...
1908 * config/sparc/cypress.md, config/sparc/hypersparc.md,
1909 config/sparc/sparclet.md, config/sparc/supersparc.md,
1910 config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
1912 * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
1913 checks on it, always defined for Sparc.
1915 * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
1916 Tweak, and add more detailed comments.
1918 2002-05-03 Zack Weinberg <zack@codesourcery.com>
1920 * Re-apply patch accidentally reverted with
1921 DFA scheduler merge: remove all rules and variables to slurp
1922 source files out of libiberty and rebuild them with HOST_CC.
1923 ($(HOST_PREFIX_1)varray.o): New rule.
1924 (genattrtab rule): Word wrap.
1926 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
1928 * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
1929 (CPP_SUBTARGET_SPEC): Define.
1930 (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
1931 cpp_subtarget specs.
1932 (CPP_SPEC): Redefine to include %(cpp_subtarget).
1934 2002-05-03 David S. Miller <davem@redhat.com>
1936 * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
1937 * target.h (struct gcc_target): Delete cycle_display member.
1939 * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
1940 (rtx_needs_barrier): Delete reference to cycle_display unspec.
1941 (ia64_sched_reorder2): Mention need for cycle display handling
1942 once such notes exist.
1944 2002-05-03 Richard Henderson <rth@redhat.com>
1946 * real.c (etoasc): Strip most trailing zeros for clarity.
1947 * sched-vis.c: Include real.h.
1948 (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
1949 * Makefile.in (sched-vis.o): Add real.h.
1951 2002-05-03 David S. Miller <davem@redhat.com>
1953 * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
1956 2002-05-03 Aldy Hernandez <aldyh@redhat.com>
1958 * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
1959 when we get an out of range literal.
1960 (altivec_expand_ternop_builtin): Same.
1961 (altivec_expand_unop_builtin): Same.
1962 (altivec_expand_builtin): Same, for dss.
1963 (altivec_expand_builtin): Use trees instead of rtl when
1964 determining literal argument validity.
1966 2002-05-03 David S. Miller <davem@redhat.com>
1968 Delete cycle display scheduling hook.
1969 * config/ia64/ia64.c (ia64_cycle_display,
1970 TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
1971 (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
1972 and use emit_insn_before instead of ia64_emit_insn_before.
1973 * config/ia64/ia64.md (unspec usage): Delete cycle display.
1974 (cycle_display): Delete insn pattern.
1975 * config/sparc/sparc.md (unspec usage): Delete cycle display.
1976 (cycle_display): Delete insn pattern.
1977 * config/sparc/sparc.c (sparc_cycle_display,
1978 TARGET_SCHED_CYCLE_DISPLAY): Delete.
1979 * doc/md.texi (cycle_display): Don't mention.
1980 * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
1982 2002-05-03 Richard Henderson <rth@redhat.com>
1984 * recog.c (store_data_bypass_p, if_test_bypass_p): New.
1985 * recog.h: Declare them.
1987 * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
1988 * config/sparc/sparc.md: Use store_data_bypass_p instead.
1989 * config/sparc/sparc-protos.h: Update.
1991 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
1993 * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
1994 -D__arch64__. Add -D_LP64.
1995 (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
1997 (CPP_ARCH64_SPEC): Likewise.
1998 (NO_BUILTIN_PTRDIFF_TYPE): Undef.
1999 (NO_BUILTIN_SIZE_TYPE): Undef.
2001 2002-05-03 Vladimir Makarov <vmakarov@redhat.com>
2003 * genautomata.c (min_issue_delay_pass_states): Change return type
2005 (min_issue_delay_pass_states): Change the algorithm.
2006 (min_issue_delay): Set up min_insn_issue_delay for the state.
2007 (output_min_issue_delay_table): Interchange the nested loops and
2008 and initiate min_insn_issue_delay for states.
2010 Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz>
2012 * cfgcleanup.c (try_optimize_cfg): Call merge_block only when
2015 Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
2017 * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
2020 2002-05-03 Richard Henderson <rth@redhat.com>
2023 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
2024 noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
2025 noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
2026 code before JUMP, not EARLIEST.
2028 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
2030 * c-format.c (check_format_info_main): Don't check for presence of
2031 parameter for * width until after operand number has been read,
2032 and only check for it if format parameters are available.
2035 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2037 * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
2038 (LINK_SPEC): Undef before defining.
2040 2002-05-03 Jakub Jelinek <jakub@redhat.com>
2042 PR preprocessor/6489
2043 * tradcpp.c (fixup_newlines): New.
2044 (main, finclude): Use it.
2046 2002-05-03 Richard Sandiford <rsandifo@redhat.com>
2048 * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
2049 * config/mips/mips.c (mips_unique_section): Strip encoding from
2052 2002-05-03 Jakub Jelinek <jakub@redhat.com>
2054 * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
2057 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2059 * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
2060 (Specific): Removed buildstats references.
2061 (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
2062 (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
2063 Accomodate Solaris versions beyond 8.
2064 (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
2065 (Specific, *-*-solaris2.8): Removed, obsolete.
2067 2002-05-03 Jakub Jelinek <jakub@redhat.com>
2070 * config/sparc/sparc.h (leaf_reg_remap): Remove const.
2071 (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
2072 fill leaf_reg_remap with identity.
2073 * config/sparc/sparc.c (leaf_reg_remap): Remove const.
2075 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2077 * config/h8300/crti.asm: Remove trailing spaces.
2078 * config/h8300/h8300.c: Likewise.
2079 * config/h8300/lib1funcs.asm: Likewise.
2081 2002-05-02 Jason Merrill <jason@redhat.com>
2083 * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
2084 * c-decl.c (c_init_decl_processing): Use it.
2085 * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
2086 * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
2087 * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
2089 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2091 * regrename.c: Fix formatting.
2094 Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz>
2096 * i386.md (attribute memory): Handle compares properly.
2098 Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz>
2100 * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
2103 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
2105 * function.c: Fix formatting.
2107 2002-05-02 Jan Hubicka <jh@suse.cz>
2109 * haifa-sched.c (schedule_insn): Print table of instructions and
2111 (sched_block): Do not print ready list at verbosity level 1.
2112 * sched-vis.c (print_insn): Make global.
2113 * sched-ebb.c (ebb_print_insn): Rename from...
2114 (print_insn): ... this one.
2115 * sched-int.h (print_insn): Declare
2117 2002-05-02 Richard Henderson <rth@redhat.com>
2119 * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
2120 emitted by cycle_display.
2122 2002-05-02 Loren J. Rittle <ljrittle@acm.org>
2124 * doc/install.texi (*-*-freebsd*): Update to latest status.
2126 2002-05-02 Jakub Jelinek <jakub@redhat.com>
2129 * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
2130 * config/float-sparc.h: Assume 128-bit long double if
2131 __LONG_DOUBLE_128__ is defined.
2133 2002-05-02 Vladimir Makarov <vmakarov@redhat.com>
2135 * genattrtab.c (write_function_unit_info): Add a dummy element
2136 when num_units == 0.
2138 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2140 * predict.c: (propagate_freq, estimate_bb_frequencies): Use
2141 TYPE_MODE (double_type_node) instead of DFmode.
2143 Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz>
2145 * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
2147 * toplev.c (rest_of_compilation): Revert Richard's patch.
2149 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
2151 * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
2153 2002-05-02 Catherine Moore <clm@redhat.com>
2155 * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
2157 2002-05-02 Kazu Hirata <kazu@hxi.com>
2159 * combine.c: Fix comment typos.
2161 * genautomata.c: Likewise.
2165 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
2167 * doc/install.texi: State GNAT version requirements.
2169 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
2171 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
2172 of the frame pointer or arg pointer register which strict register
2173 checking is not enabled.
2175 2002-05-02 Aldy Hernandez <aldyh@redhat.com>
2177 * gcc.dg/altivec-8.c: New.
2179 * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
2180 PRE_INC and PRE_DEC for altivec modes.
2182 2002-05-01 Bruce Korb <bkorb@gnu.org>
2184 * fixinc/check.tpl(set-writable): make sure the function exists first
2185 * fixinc/inclhack.def(alpha_assert): fix test_text
2186 * fixinc/tests/base/assert.h: add in missing result
2188 2002-05-01 Jeff Law <law@redhat.com>
2190 * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
2193 2002-05-01 Joel Brobecker <brobecker@gnat.com>
2195 * dbxout.c (dbxout_type): Emit size information for range types,
2196 as well, but only when using GDB extensions.
2198 2002-05-01 Richard Henderson <rth@redhat.com>
2200 * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
2201 target-independent gnu binutils date test.
2203 2002-05-01 Richard Henderson <rth@redhat.com>
2205 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
2206 info before expunging the block.
2208 2002-05-01 Jakub Jelinek <jakub@redhat.com>
2210 * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
2211 (cpp_post_options): ...but here. Disable -dD, -dN and -dI when
2212 -M -or -MM is in effect.
2214 2002-05-01 Zack Weinberg <zack@codesourcery.com>
2216 * config.gcc: Correct test of --enable-obsolete. Obsolete all
2217 A29k configurations.
2218 * doc/install.texi: Update to match.
2220 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2223 * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
2224 for duplicates. Always loop over whole list.
2226 Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2228 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
2230 2002-05-01 Joel Sherrill <joel@OARcorp.com>
2232 * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
2235 2002-05-01 Joel Sherrill <joel@OARcorp.com>
2237 * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
2239 2002-05-01 David Edelsohn <edelsohn@gnu.org>
2241 * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
2242 (nabs_nopower): Same.
2243 (floatdisf2): New pattern.
2244 (absdi2): Convert to define_insn_and_split.
2249 (fix_trunctfdi2): Same.
2250 (fix_trunctfsi2): Same.
2252 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk>
2254 * doc/install.texi: Update Texinfo version requirement
2257 2002-05-01 Jakub Jelinek <jakub@redhat.com>
2259 PR target/6512, PR target/5628
2260 * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
2261 when memory is not aligned.
2262 (movdf_insn_v9only_vis): Likewise.
2263 * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
2264 temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
2265 (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
2267 2002-05-01 Aldy Hernandez <aldyh@redhat.com>
2269 * gcc.dg/altivec-7.c: New.
2271 * config/rs6000/altivec.h: Cleanup.
2273 2002-04-30 Aldy Hernandez <aldyh@redhat.com>
2275 * doc/invoke.texi (Option Summary): Add -mvrsave=.
2276 (RS/6000 and PowerPC Options): Document -mvrsave=.
2278 * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
2279 (rs6000_altivec_vrsave_string): Same.
2280 (rs6000_override_options): Call rs6000_parse_vrsave_option.
2281 (rs6000_parse_vrsave_option): New.
2282 (rs6000_stack_info): Only generate vrsave instructions when
2283 TARGET_ALTIVEC_VRSAVE.
2285 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
2286 (rs6000_altivec_vrsave_string): Define extern.
2287 (rs6000_altivec_vrsave): Same.
2288 (TARGET_ALTIVEC_VRSAVE): New.
2290 2002-04-30 Richard Henderson <rth@redhat.com>
2293 * toplev.c (rest_of_compilation): Don't run cross-jump before
2296 2002-04-30 Tom Rix <trix@redhat.com>
2298 * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
2299 check which_alternative.
2301 2002-04-30 Kazu Hirata <kazu@hxi.com>
2303 * cpplex.c: Fix comment formatting.
2304 * function.c: Likewise.
2305 * integrate.c: Likewise.
2306 * regrename.c: Likewise.
2307 * sibcall.c: Likewise.
2308 * simplify-rtx.c: Likewise.
2309 * tree-inline.c: Likewise.
2311 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2313 * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
2314 hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
2315 hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
2316 hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
2317 * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
2318 * pa/x-ada: New file. Define ADA_CFLAGS.
2320 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com>
2322 * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
2323 from MMIX_LAST_REGISTER_FILE_REGNUM.
2324 (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
2325 (struct machine_function): New member highest_saved_stack_register
2326 previously static variable in mmix.c.
2327 (MACHINE_DEPENDENT_REORG): Define.
2328 * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
2329 (MMIX_OUTPUT_REGNO): New.
2330 (mmix_target_asm_function_prologue): Move calculation of last used
2331 saved-stack-register into...
2332 (mmix_machine_dependent_reorg): New function. Update to also handle
2334 (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
2335 register names, simplify somewhat by new variable regno.
2336 <case 'p'>: Remove fixed FIXME. Always emit highest used saved
2338 (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
2339 emitting register names.
2340 (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
2341 (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
2343 * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
2346 * config/mmix/mmix.md ("divmoddi4"): Update head comment.
2348 2002-04-30 Richard Henderson <rth@redhat.com>
2350 * config/sparc/sparc.c (emit_soft_tfmode_libcall,
2351 emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
2352 emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
2353 emit_tfmode_cvt): New.
2354 * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
2355 trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
2356 fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
2357 addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
2358 * config/sparc/sparc-protos.h: Update.
2360 2002-04-30 Janis Johnson <janis187@us.ibm.com>
2362 * install.texi (Final install): Add to the list of info to include
2363 in a report of a successful bootstrap, and add link to 3.1 list.
2365 Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz>
2367 * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
2368 (mode): Add vector modes
2369 (i387): Kill attribute.
2370 (unit): New attribute.
2371 (length_immediate): Grok new types.
2372 (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
2373 (modrm): Use "unit".
2374 (memory): Handle MMX/SSE properly.
2375 (scheduling descriptions): Kill uses of fop1.
2376 (sse, mmx, fp patterns): Set type and mode properly.
2378 Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@cygnus.com)
2380 * pa.c (override_options): Default to PA8000 scheduling.
2381 * doc/invoke.texi (HP-PA options): Mention newly added 7300
2382 scheduling parameter.
2384 * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
2385 handling of double precision multiplies.
2387 * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
2388 fpdiv and fpsqrt instructions.
2389 (7200 & 7300 scheduling): Fix typo in handling of
2390 store-load and store-store penalties.
2392 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2394 * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
2395 mips. Add two missing commas.
2397 2002-04-30 Paolo Carlini <pcarlini@unitus.it>
2399 * doc/contrib.texi (Contributors): Update Paolo Carlini's
2400 and Benjamin Kosnik's entries.
2402 2002-04-29 David S. Miller <davem@redhat.com>
2404 * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
2405 SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
2406 * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
2407 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
2409 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2411 * combine.c (find_split_point): Use gen_int_mode.
2413 2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
2415 Merging code from dfa-branch:
2417 2002-04-24 Vladimir Makarov <vmakarov@redhat.com>
2419 * genautomata.c (output_reserv_sets): Fix typo.
2421 2002-04-23 Vladimir Makarov <vmakarov@redhat.com>
2423 * genautomata.c (output_reserv_sets): Remove
2424 next_cycle_output_flag.
2426 Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com)
2428 * sched-rgn.c (init_ready_list): Make the DFA code handle
2429 USE/CLOBBER insns in the same way as the traditional
2431 (new_ready): Similarly..
2433 2002-04-17 Vladimir Makarov <vmakarov@redhat.com>
2435 * haifa-sched.c (schedule_block): Change the DFA state only after
2438 Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com)
2440 * pa.c (hppa_use_dfa_pipeline_interface): New function.
2441 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
2442 (override_options): Add PA7300 scheduling support.
2443 (pa_adjust_cost): Update various comments. Properly
2444 handle anti and output dependencies when using the
2446 (pa_issue_rate): Add PA7300 scheduling support.
2447 (pa_can_combine_p): Call extract_insn before calling
2448 constrain_operands (taken from mainline tree).
2449 * pa.h (enum processor_type): Add PROCESSOR_PA7300.
2450 * pa.md (cpu attr): Add 7300. Rewrite pipeline
2451 descriptions using DFA descriptions. Add PA7300
2454 2002-03-30 David S. Miller <davem@redhat.com>
2456 Add UltraSPARC-III DFA scheduling support.
2457 * config/sparc/sparc.md (define_attr type): Add fpcrmove.
2458 Update FP conditional move on register insn patterns to use it, as
2460 (define_attr cpu): Add ultrasparc3.
2461 (define_attr us3load_type): New, update integer load patterns to
2462 set it, as appropriate.
2463 (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
2464 (rest): Add UltraSPARC3 scheduling description.
2465 * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
2466 (PROCESSOR_ULTRASPARC3): New.
2467 ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
2468 ({ASM,CPP}_CPU_SPEC): Likewise.
2469 (REGISTER_MOVE_COST): Likewise.
2470 (RTX_COSTS): Likewise.
2471 * config/sparc/sparc.c (sparc_override_options,
2472 sparc_initialize_trampoline, sparc64_initialize_trampoline,
2473 sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
2474 sparc_issue_rate): Likewise.
2475 * config/sparc/sol2.h: Likewise.
2476 * config/sparc/sol2-sld-64.h: Likewise.
2477 * config/sparc/linux64.h: Likewise.
2479 2002-03-22 Vladimir Makarov <vmakarov@redhat.com>
2481 * doc/md.texi: Add comments about usage the latency time for the
2482 different dependencies and about case when two or more conditions
2483 in different define_insn_reservations returns TRUE for an insn.
2485 * doc/md.texi: Add reference for automaton based pipeline
2488 2002-03-04 Vladimir Makarov <vmakarov@redhat.com>
2490 * doc/passes.texi: Add missed information about genattrtab.
2492 2002-03-01 Vladimir Makarov <vmakarov@redhat.com>
2494 * genautomata.c (output_automata_list_transition_code): Check
2495 automata_list on NULL.
2497 2002-02-28 Vladimir Makarov <vmakarov@redhat.com>
2499 * genautomata.c (output_insn_code_cases,
2500 output_automata_list_min_issue_delay_code,
2501 output_automata_list_transition_code,
2502 output_automata_list_state_alts_code): Comment the functions.
2504 2002-02-22 Vladimir Makarov <vmakarov@redhat.com>
2506 * genautomata.c (automata_list_el_t): New typedef.
2507 (get_free_automata_list_el,free_automata_list_el,
2508 free_automata_list, automata_list_hash, automata_list_eq_p,
2509 initiate_automata_lists, automata_list_start, automata_list_add,
2510 automata_list_finish, finish_automata_lists,
2511 output_insn_code_cases, output_automata_list_min_issue_delay_code,
2512 output_automata_list_transition_code,
2513 output_automata_list_state_alts_code, add_automaton_state,
2514 form_important_insn_automata_lists): New functions and prototypes.
2515 (insn_reserv_decl): Add members important_automata_list and
2517 (ainsn): Add members important_p.
2518 (automata_list_el): New structure.
2519 (first_free_automata_list_el, current_automata_list,
2520 automata_list_table): New global variables.
2521 (create_ainsns): Initiate member important_p.
2522 (output_internal_min_issue_delay_func): Generate the switch and
2523 call output_insn_code_cases.
2524 (output_internal_trans_func, output_internal_state_alts_func):
2526 (generate): Call initiate_automata_lists.
2527 (automaton_states): New global variable.
2528 (expand_automata): Call form_important_insn_automata_lists.
2529 (write_automata): Call finish_automata_lists.
2531 2002-02-21 Vladimir Makarov <vmakarov@redhat.com>
2533 * genautomata.c (add_excls, add_presence_absence): Check that
2534 cpu units in the sets belong the same automaton.
2536 * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
2537 about that cpu units in the sets belong the same automaton.
2539 * doc/md.texi: Ditto.
2541 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com>
2542 Nitin Gupta <niting@noida.hcltech.com>
2544 * config/sh/sh.c (sh_use_dfa_interface): New function.
2546 (sh_issue_rate): New Function.
2547 TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
2548 TARGET_SCHED_ISSUE_RATE: define.
2550 * config/sh/sh.md: Add DFA based pipeline description for SH4.
2552 (define_attr insn_class): New attribute used for DFA
2554 (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
2555 (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
2556 cmpeqdi_t): Likewise.
2558 (add,addc1,addsi3,subc,subc1,*subsi3_internal,
2559 negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
2561 (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
2563 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
2565 * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
2568 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
2570 * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
2571 (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
2573 (output_dfa_start_func): Initiate new variable insn_codes_length,
2574 (write_automata): Output definition of the new variable.
2576 2001-10-02 David S. Miller <davem@redhat.com>
2578 * haifa-sched.c (advance_one_cycle): New function.
2579 (schedule_block): Use it.
2580 (queue_to_ready): Use it, and also make sure to advance the DFA
2581 state on all stall cycles, not just those where insn_queue links
2584 2001-10-02 Richard Sandiford <rsandifo@redhat.com>
2586 * haifa-sched.c (max_issue): Remove last_p argument. Only return
2587 non-zero if the highest-priority instruction could be scheduled.
2588 (choose_ready): Remove last argument from max_issue call.
2590 2001-09-28 David S. Miller <davem@redhat.com>
2592 * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
2593 ultrasparc and 3 for other multi-issue sparcs.
2595 2001-09-27 David S. Miller <davem@redhat.com>
2597 * config/sparc/sparc.md (cycle_display): New pattern.
2598 * config/sparc/sparc.c (sparc_cycle_display): New.
2599 (TARGET_SCHED_CYCLE_DISPLAY): Set it.
2601 2001-09-25 David S. Miller <davem@redhat.com>
2603 Convert all of Sparc scheduling to DFA
2604 * config/sparc/sparc.md: Kill all define_function_unit
2605 directives and replace with DFA equivalent.
2606 * config/sparc/sparc.c (ultrasparc_adjust_cost,
2607 mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
2608 ultra_fpmode_conflict_exists, ultra_find_type,
2609 ultra_build_types_avail, ultra_flush_pipeline,
2610 ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
2611 ultrasparc_variable_issue, ultrasparc_sched_init,
2612 sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
2613 ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
2614 ultra_cur_hist, ultra_cycles_elapsed): Kill.
2615 (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
2616 ultrasparc_store_bypass_p): New.
2617 * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
2620 2001-09-24 David S. Miller <davem@redhat.com>
2622 * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
2623 ready->vec[foo] not ready[foo].
2625 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
2627 * doc/md.texi: Correct examples for define_insn_reservations
2630 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
2632 * genautomata.c (create_automata): Print message about creation of
2634 (generate): Remove printing meease about creation of
2637 2001-09-05 David S. Miller <davem@redhat.com>
2639 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
2640 * config/sparc/linux64.h: Likewise.
2642 2001-08-31 Vladimir Makarov <vmakarov@redhat.com>
2644 * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
2645 schedule_block, sched_init, sched_finish): Add missed calls of
2646 use_dfa_pipeline_interface.
2648 * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
2651 * sched-vis.c (get_visual_tbl_length): Ditto.
2653 2001-08-27 Richard Henderson <rth@redhat.com>
2655 * genattr.c (main): Emit state_t even when not doing scheduling.
2657 2001-08-27 Richard Henderson <rth@redhat.com>
2659 * genautomata.c (expand_automata): Always create a description.
2661 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
2663 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
2664 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
2665 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
2668 * genattr.c (main): New variable num_insn_reservations. Increase
2669 it if there is DEFINE_INSN_RESERVATION. Output automaton based
2670 pipeline hazard recognizer interface.
2672 * genattrtab.h: New file.
2674 * genattrtab.c: Include genattrtab.h.
2675 (attr_printf, check_attr_test, make_internal_attr,
2676 make_numeric_value): Move protypes into genattrtab.h. Define them
2678 (num_dfa_decls): New global variable.
2679 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
2680 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
2681 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
2682 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
2684 * genautomata.c: New file.
2686 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
2688 * sched-int.h: (curr_state): Add the external definition for
2689 automaton pipeline interface.
2690 (haifa_insn_data): Add comments for members blockage and units.
2692 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
2693 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
2694 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
2695 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
2696 TARGET_SCHED_DFA_POST_CYCLE_INSN,
2697 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
2698 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
2700 (TARGET_SCHED): Use the new macros.
2702 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
2703 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
2704 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
2705 dfa_bubble): New members in gcc_target.sched.
2707 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
2708 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
2709 (insn_queue): Redefine it as pointer to array.
2710 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
2712 (max_insn_queue_index_macro_value): New variable.
2713 (curr_state, dfa_state_size, ready_try): New varaibles for
2714 automaton interface.
2715 (ready_element, ready_remove, max_issue): New function prototypes
2716 for automaton interface.
2717 (choose_ready): New function prototype.
2718 (insn_unit, blockage_range): Add comments.
2719 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
2720 FUNCTION_UNITS_SIZE == 0.
2721 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
2722 actual_hazard, potential_hazard): Add comments.
2723 (insn_cost): Use cost -1 as undefined value. Remove
2724 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
2726 (ready_element, ready_remove): New functions for automaton
2728 (schedule_insn): Add new code for automaton pipeline interface.
2729 (queue_to_ready): Add new code for automaton pipeline interface.
2730 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
2731 (debug_ready_list): Print newline when the queue is empty.
2732 (max_issue): New function for automaton pipeline interface.
2733 (choose_ready): New function.
2734 (schedule_block): Add new code for automaton pipeline interface.
2735 Print ready list before scheduling each insn.
2736 (sched_init): Add new code for automaton pipeline interface.
2737 Initiate insn cost by -1.
2738 (sched_finish): Free the current automaton state and finalize
2739 automaton pipeline interface.
2741 * sched-rgn.c: Include target.h.
2742 (init_ready_list, new_ready, debug_dependencies): Add new code for
2743 automaton pipeline interface.
2745 * sched-vis.c: Include target.h.
2746 (get_visual_tbl_length): Add code for automaton interface.
2747 (target_units, print_block_visualization): Add comments.
2749 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
2750 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
2751 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
2752 (getruntime.o, genautomata.o): New entries.
2753 (genattrtab.o): Add new dependency file genattrtab.h.
2754 (genattrtab): Add new dependencies. Link it with `libm.a'.
2755 (getruntime.o, hashtab.o): New entries for canadian cross.
2757 * doc/md.texi: Description of automaton based model.
2759 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
2761 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
2762 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
2763 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
2764 TARGET_SCHED_DFA_POST_CYCLE_INSN,
2765 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
2766 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
2767 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
2769 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
2770 MAX_DFA_ISSUE_RATE): New macro descriptions.
2772 * doc/contrib.texi: Add dfa based scheduler contribution.
2774 * doc/gcc.texi: Add more information about genattrtab.
2776 Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2778 * reload1.c (eliminate_regs, case SUBREG): Fix typo in
2779 adjust_address_nv call.
2781 2002-04-29 Janis Johnson <janis187@us.ibm.com>
2783 * doc/install.texi (Testing): Provide additional information, and
2784 a stronger encouragement, for running the testsuites.
2786 2002-04-29 DJ Delorie <dj@redhat.com>
2788 * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
2789 given in upper case.
2791 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2793 * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
2794 Solaris 2 <widec.h> if missing.
2795 * fixinc/fixincl.x: Regenerate.
2796 * fixinc/tests/base/widec.h: New file.
2798 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com>
2800 * toplev.c (f_options): Add "profile" switch so that
2801 -fno-profile can be used to disable -p.
2803 2002-04-29 Bernd Schmidt <bernds@redhat.com>
2805 * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
2807 * tree.c (build_common_tree_nodes_2): Likewise.
2808 * tree.h (enum tree_index): Likewise.
2809 (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
2811 * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
2813 (init_mmx_sse_builtins): Initialize SSE2 builtins.
2814 (ix86_expand_builtin): Add support for SSE2 builtins.
2815 * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
2816 (VALID_SSE_REG_MODE): Use it.
2817 (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
2818 (enum ix86_builtins): Add SSE2 builtins.
2819 * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
2820 movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
2821 addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
2822 divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
2823 sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
2824 vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
2825 vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
2826 sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
2827 cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
2828 cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
2829 cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
2830 ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
2831 subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
2832 mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
2833 sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
2834 sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
2835 sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
2836 gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
2837 ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
2838 ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
2839 sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
2840 sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
2841 sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
2842 sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
2843 sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
2844 sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
2845 lfence_insn): New patterns.
2846 (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
2847 sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
2849 Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz>
2851 * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
2853 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2855 * doc/contrib.texi (Contributors): Add Paolo Carlini and
2857 Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
2858 Refer to Objective-C instead of ObjC, SPARC instead of sparc,
2859 and CPU instead of cpu.
2861 Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
2863 * toplev.c (flag_if_conversion, flag_if_conversion2): New static
2865 (lang_independent_options): Add -fif-conversion, -fif-conversion2
2866 (rest_of_compilation): Do if conversion only when asked for.
2867 (parse_options_and_default_flags): Set new variables to 1 for -O1
2868 * invoke.texi (-fif-conversion, -fif-conversion2): Document.
2870 Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz>
2872 * i386.c (dbx64_register_map): Fix typo.
2874 Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz>
2876 * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
2877 real_one_half, real_bb_freq_max): New static variables.
2878 (debug_profile_bbauxs): Kill.
2879 (process_note_predictions): Kill unused variable.
2880 (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
2882 (propagate_freq): Use REAL_ARITHMETICS.
2883 (estimate_bb_frequencies): Likevise; init new static variables.
2884 * Makefile.in (predict.o): Add dependency on real.h
2886 2002-04-28 David S. Miller <davem@redhat.com>
2889 * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
2890 64-bit TARGET_V9. Do not use prefetch page, use prefetch for
2891 several {reads,writes} instead.
2892 * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
2895 2002-04-27 David S. Miller <davem@redhat.com>
2898 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
2901 * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
2902 including signal.h and sys/ucontext.h, not needed.
2904 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com>
2906 * varasm.c (output_constant_def): Correct test for not calling
2907 ENCODE_SECTION_INFO for INTEGER_CST.
2909 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk>
2911 * cppexp.c (lex): Move some code to _cpp_parse_expr, but
2912 keep most cases as function eval_token.
2913 (eval_token): New function.
2914 (_cpp_parse_expr): Read token here for improved diagnostics.
2915 Don't use op_as_text. Detect bad ':' here.
2916 (reduce): Don't detect bad ':' here.
2917 (op_as_text): Remove.
2918 * cpphash.h (_cpp_test_assertion): Change prototype.
2919 * cpplib.c (_cpp_test_assertion): Change prototype.
2921 2002-04-28 Richard Henderson <rth@redhat.com>
2924 * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
2925 (ggc_mark_rtx_children): New.
2927 2002-04-28 Jakub Jelinek <jakub@redhat.com>
2930 * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
2931 after call peepholes for UltraSPARC.
2932 (call + jump 64-bit peepholes): Remove.
2934 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2937 * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
2938 result as temporary value.
2940 2002-04-28 Jakub Jelinek <jakub@redhat.com>
2943 * toplev.c (rest_of_compilation): Only run regrename and copy
2944 propagation if optimizing.
2946 2002-04-28 Jakub Jelinek <jakub@redhat.com>
2948 PR optimization/6475
2949 * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
2950 register of REGNO_DECL (i).
2951 * Makefile.in (reload1.o): Add $(TREE_H).
2953 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk>
2955 * cppexp.c (lex): Update to use state.skip_eval.
2956 (struct op): Remove prio and flags members.
2957 (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
2958 SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
2959 (LEFT_ASSOC): New macro.
2960 (optab): New table of operator priorities and flags.
2962 (_cpp_parse_expr): Clean up logic. Return bool. Use a
2963 malloc-ed parser stack.
2964 (reduce): New; reduce the operator stack.
2965 (_cpp_expand_op_stack): Expand the operator stack as necessary.
2966 * cpphash.h (struct op): Predeclare.
2967 (struct cpp_reader): New members op_stack, op_limit.
2968 (struct lexer_state): New member skip_eval.
2969 (_cpp_parse_expr): Update.
2970 (_cpp_expand_op_stack): New.
2971 * cpplib.c (do_if): Update.
2972 * cppinit.c (cpp_create_reader): Create op stack.
2973 (cpp_destroy): And destroy it.
2974 * cpplib.h (CPP_LAST_CPP_OP): Correct.
2975 (TTYPE_TABLE): Correct.
2977 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2980 * c-decl.c (duplicate_decls): Call merge_weak.
2981 * c-pragma.c (apply_pragma_weak): Warn about misuse.
2982 * output.h (merge_weak): Prototype merge_weak.
2983 * varasm.c (merge_weak): New function.
2984 (declare_weak): Make sure we don't give an error on VAR_DECLs.
2985 Mark RTL with SYMBOL_REF_WEAK.
2987 2002-04-27 Kurt Garloff <garloff@suse.de>
2989 * tree-inline.c (inlinable_function_p): Improve heuristics
2990 by using a smoother function to cut down allowable inlinable size.
2991 * param.def: Add parameters max-inline-insns-single,
2992 max-inline-slope, min-inline-insns that determine the exact
2993 shape of the above function.
2994 * param.h: Likewise.
2996 2002-04-26 Richard Henderson <rth@redhat.com>
2998 * c-parse.in (malloced_yyss, malloced_yyvs): New.
2999 (yyoverflow): Re-add. Set them.
3000 (free_parser_stacks): New.
3001 * c-common.h: Declare it.
3002 * c-lex.c (c_common_parse_file): Call it.
3004 2002-04-26 Richard Henderson <rth@redhat.com>
3006 * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
3007 for fallthru search.
3009 2002-04-26 Eric Christopher <echristo@redhat.com>
3011 PR optimization/3700
3012 * config/mips/mips.c (mips_issue_rate): Define. New function.
3013 (TARGET_SCHED_ISSUE_RATE): Use.
3015 2002-04-25 David S. Miller <davem@redhat.com>
3018 * reorg.c (optimize_skip): Do not allow exception causing
3019 instructions to be considered for delay slots.
3020 (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
3021 (relax_delay_slots): Do not try to consider exception causing
3022 instructions as redundant.
3024 2002-04-26 Richard Henderson <rth@redhat.com>
3027 * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
3029 2002-04-26 Mark Mitchell <mark@codesourcery.com>
3032 * config/i386/i386.md (untyped_call): Return the value in a float
3033 register if TARGET_FLOAT_RETURNS_IN_80387, not just if
3036 2002-04-26 Alexandre Oliva <aoliva@redhat.com>
3038 * tree.c (tree_int_cst_lt): Compare constants whose types differ
3039 in unsigned-ness correctly.
3041 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
3043 * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
3044 portable runtime model.
3046 2002-04-26 Richard Henderson <rth@redhat.com>
3048 * c-parse.in (yyoverflow): Revert.
3050 2002-04-26 David Edelsohn <edelsohn@gnu.org>
3051 Richard Henderson <rth@redhat.com>
3053 * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
3054 result as temporary value.
3056 2002-04-26 Richard Henderson <rth@redhat.com>
3059 * c-common.c (fix_string_type): Split out of ...
3060 (combine_strings): ... here. Take a varray, not a tree list.
3061 (c_expand_builtin_printf): Use fix_string_type.
3062 * c-common.h: Update decls.
3063 * c-parse.in (string): Remove. Update all uses to use STRING
3064 instead, and not call combine_strings.
3067 * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
3068 (build_asm_stmt): Likewise.
3069 * objc/objc-act.c (my_build_string): Use fix_string_type.
3070 (build_objc_string_object): Build varray for combine_strings.
3072 2002-04-26 Bo Thorsen <bo@suse.co.uk>
3074 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
3077 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk>
3079 * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
3080 (HAVE_NO_R_OPERAND): Remove.
3081 (HAVE_VALUE): Remove.
3082 (op_to_prio): Update.
3083 (UNARY): Don't alter flags.
3084 (_cpp_parse_expr): want_value used to indicate whether
3085 a number or unary operator is expected next. Distinguish
3086 unary and binary +/-.
3087 (op_as_text): Update for unary operators.
3089 2002-04-25 Richard Henderson <rth@redhat.com>
3092 * c-parse.in (yyoverflow): New.
3094 2002-04-25 Richard Henderson <rth@redhat.com>
3097 * c-common.c (shorten_compare): Simplfy conditions leading to
3098 the generation of a warning.
3100 2002-04-25 Richard Henderson <rth@redhat.com>
3103 * expmed.c (extract_bit_field): Fall through to generic code rather
3104 than aborting on subreg special case.
3106 2002-04-25 David S. Miller <davem@redhat.com>
3108 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
3109 for DECL being NULL.
3111 2002-04-25 Steve Christiansen <smc@us.ibm.com>
3113 * doc/md.texi (Machine Constraints): Add IA-64 constraints.
3115 2002-04-25 Eric Botcazou <ebotcazou@multimania.com>
3117 * c-decl.c (grokdeclarator): Remove outdated ??? note
3118 on invalid declaration of flexible array members.
3120 2002-04-25 Richard Henderson <rth@redhat.com>
3122 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
3124 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
3126 * config/s390/s390.c (s390_emit_epilogue): Always restore registers
3127 needed by the compiler, even if they are used as global regs.
3129 2002-04-25 Matt Hiller <hiller@redhat.com>
3131 * mips.c (mips_class_max_nregs, mips_register_move_cost): New
3133 * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
3134 of the corresponding functions.
3135 * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
3138 2002-04-25 Matt Hiller <hiller@redhat.com>
3140 * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
3142 (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
3143 (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
3144 registers, adjust comment accordingly.
3145 (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
3146 reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
3147 DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
3148 for coprocessor registers.
3149 (ADDITIONAL_REGISTER_NAMES): Include
3150 ALL_COP_ADDITIONAL_REGISTER_NAMES.
3152 (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
3153 COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
3154 COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
3155 COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
3156 COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
3158 (mips_char_to_class): Adjust comment to include coprocessor
3161 * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
3163 (mips_reg_names, mips_regno_to_class): Include coprocessor
3165 (mips_sw_reg_names): Ditto, make non-static.
3166 (mips_move_1word): Handle moves to and from coprocessor registers.
3167 (mips_move_2words): Handle moves to and from coprocessor
3169 (mips_class_max_nregs, mips_register_move_cost): Handle
3170 coprocessor register classes.
3171 (override_options): Initialize mips_char_to_class and
3172 mips_hard_regno_mode_ok properly for coprocessor registers.
3174 * config/mips/mips.md (movdi_internal, movdi_internal2,
3175 movsi_internal1, movsi_internal2): Add constraint-sets for
3176 coprocessor registers.
3177 * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
3178 * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
3180 * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
3181 * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
3183 * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
3184 * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
3186 * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
3187 * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
3190 * doc/tm.texi: Document feature.
3192 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
3194 * integrate.c (function_attribute_inlinable_p): Simplify.
3195 Check the table pointer is not NULL.
3197 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl>
3199 * doc/c-tree.texi: Fix typo in introduction.
3201 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
3203 * c-common.h (c_common_parse_file): Update.
3204 * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
3205 * c-lex.c (YYDEBUG): Get from c-lex.h.
3206 (c_common_parse_file): Update.
3207 * c-lex.h (YYDEBUG, yydebug): New.
3208 * c-parse.in (YYDEBUG): Get from c-lex.h.
3209 (c_set_yydebug): Remove.
3210 * c-tree.h (c_set_yydebug): Remove.
3211 * langhooks-def.h (lhd_do_nothing_i): New.
3212 (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
3213 (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
3214 * langhooks.c (lhd_do_nothing_i): New.
3215 (lhd_set_yydebug): Remove.
3216 * langhooks.h (struct lang_hooks): Update.
3217 * toplev.c (set_yydebug): New.
3218 (compile_file): Update call to parse_file hook.
3219 (decode_d_option): Update.
3221 * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
3223 Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com>
3225 * loop.c (load_mems): Don't change the interface of called functions.
3227 * calls.c (expand_call): Take current_function_pretend_args_size
3228 into account when setting argblock for sibcalls.
3230 2002-04-24 Matt Hiller <hiller@redhat.com>
3232 * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
3235 * cpplex.c (skip_line_comment): Process comment one multibyte
3236 character at a time rather than one char at a time, if
3238 (parse_string): Process string one multibyte character at a time
3239 rather than one char at a time, if appropriate.
3240 * c-lex.c (lex_string): Lex and copy multibyte strings
3242 * cpplib.h (cppchar_t): Change to unsigned.
3244 2002-04-24 Richard Henderson <rth@redhat.com>
3247 * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
3250 Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com>
3252 * sh.c (sh_va_arg): If argument was passed by reference,
3253 dereference the pointer.
3255 * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
3257 * sh.md (divsi3_i4_media): Use match_operand for input values
3258 rather than hard registers.
3259 (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
3260 unnecessarily through hard registers. Keep copies of pseudo
3261 registers outside of the libcall sequence.
3263 * sh.md (casesi_shift_media): Add modes.
3265 * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
3268 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
3270 * attribs.c (c_common_attribute_table): Move table and handlers
3272 (format_attribute_table, lang_attribute_table,
3273 lang_attribute_common): Remove.
3274 (init_attributes): Replace NULL pointers with pointers to the
3276 (handle_packed_attribute, handle_nocommon_attribute,
3277 handle_common_attribute, handle_noreturn_attribute,
3278 handle_noinline_attribute, handle_always_inline_attribute,
3279 handle_used_attribute, handle_unused_attribute,
3280 handle_const_attribute, handle_transparent_union_attribute,
3281 handle_constructor_attribute, handle_destructor_attribute,
3282 handle_mode_attribute, handle_section_attribute,
3283 handle_aligned_attribute, handle_weak_attribute,
3284 handle_alias_attribute, handle_visibility_attribute,
3285 handle_no_instrument_function_attribute, handle_malloc_attribute,
3286 handle_no_limit_stack_attribute, handle_pure_attribute,
3287 handle_deprecated_attribute, handle_vector_size_attribute,
3288 vector_size_helper): Move to c-common.c.
3289 * c-common.c (c_common_attribute_table,
3290 handle_packed_attribute, handle_nocommon_attribute,
3291 handle_common_attribute, handle_noreturn_attribute,
3292 handle_noinline_attribute, handle_always_inline_attribute,
3293 handle_used_attribute, handle_unused_attribute,
3294 handle_const_attribute, handle_transparent_union_attribute,
3295 handle_constructor_attribute, handle_destructor_attribute,
3296 handle_mode_attribute, handle_section_attribute,
3297 handle_aligned_attribute, handle_weak_attribute,
3298 handle_alias_attribute, handle_visibility_attribute,
3299 handle_no_instrument_function_attribute, handle_malloc_attribute,
3300 handle_no_limit_stack_attribute, handle_pure_attribute,
3301 handle_deprecated_attribute, handle_vector_size_attribute,
3302 vector_size_helper): Move from attribs.c.
3303 * c-common.h (c_common_attribute_table,
3304 c_common_format_attribute_table): New.
3305 * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
3306 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
3307 * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
3308 LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
3309 (LANG_HOOKS_INITIALIZER): Update.
3310 * langhooks.h (struct lang_hooks): 3 new attribute hooks.
3311 * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
3312 * target.h: Update comment.
3313 * tree.c (default_target_attribute_table): Remove.
3314 * tree.h (default_target_attribute_table, format_attribute_table,
3315 lang_attribute_table, lang_attribute_common): Remove.
3317 * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
3318 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
3320 2002-04-24 Jason Merrill <jason@redhat.com>
3322 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
3323 * dwarf2out.c (dwarf_attr_name): Support it.
3324 (gen_array_type_die): Emit it.
3325 (lookup_type_die): No special handling for VECTOR_TYPE.
3326 (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
3328 2002-04-24 Richard Henderson <rth@redhat.com>
3330 * config/mips/mips.md (movdi_usd): Renumber.
3332 2002-04-24 David S. Miller <davem@redhat.com>
3335 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
3336 32-bit Sparc and current_function_returns_struct is true.
3338 Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz>
3340 * loop.c (canonicalize_condition): Use gen_int_mode.
3342 2002-04-24 Aldy Hernandez <aldyh@redhat.com>
3344 * config/rs6000/altivec.h: Cleanup file. Add non individual
3366 (vec_vcmpequb): New.
3367 (vec_vcmpequh): New.
3368 (vec_vcmpequw): New.
3369 (vec_vcmpeqfp): New.
3370 (vec_vcmpgefp): New.
3371 (vec_vcmpgtub): New.
3372 (vec_vcmpgtsb): New.
3373 (vec_vcmpgtuh): New.
3374 (vec_vcmpgtsh): New.
3375 (vec_vcmpgtuw): New.
3376 (vec_vcmpgtsw): New.
3377 (vec_vcmpgtfp): New.
3378 (vec_vcmpgefp): New.
3383 (vec_vexptefp): New.
3388 (vec_lde): Add vector float variant.
3393 (vec_vmhaddshs): New.
3415 (vec_vmladduhm): New.
3416 (vec_vmhraddshs): New.
3418 (vec_vmsummbm): New.
3419 (vec_vmsumuhm): New.
3420 (vec_vmsumshm): New.
3421 (vec_vmsumuhs): New.
3422 (vec_vmsumshs): New.
3431 (vec_vnmsubfp): New.
3449 (vec_vrsqrtefp): New.
3460 (vec_vspltisb): New.
3461 (vec_vspltish): New.
3462 (vec_vspltisw): New.
3487 (vec_vsum4ubs): New.
3488 (vec_vsum4sbs): New.
3489 (vec_vsum4shs): New.
3490 (vec_vsum2sws): New.
3501 2002-04-23 Eric Botcazou <ebotcazou@multimania.com>
3504 * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
3505 added literals from substracted literals.
3506 (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
3507 (fold) [associate]: Preserve MINUS_EXPR if needed.
3509 2002-04-23 Zack Weinberg <zack@codesourcery.com>
3511 * doc/install.texi: Clarify which versions of alpha*-dec-osf*
3514 2002-04-23 Tom Tromey <tromey@redhat.com>
3516 * gcc.c: Added --resource. For PR java/6314.
3518 2002-04-23 David O'Brien <obrien@FreeBSD.org>
3520 * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
3521 * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
3524 2002-04-23 David O'Brien <obrien@FreeBSD.org>
3526 * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
3528 Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz>
3530 * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
3532 (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
3533 (ix86_expand_clrstr): Fix typo.
3534 * loop.c (gen_load_of_final_value): New.
3535 (loop_givs_rescan, strength_reduce, check_dbra_loop):
3538 2002-04-23 Roger Sayle <roger@eyesopen.com>
3540 * builtins.c (builtin_memset_gen_str): New function.
3541 (expand_builtin_memset): Optimize the case of constant length, but
3544 2002-04-23 Aldy Hernandez <aldyh@redhat.com>
3546 * config/rs6000/altivec.h (vec_step): Remove extraneous
3548 (vec_ctu): Cast return.
3550 2002-04-23 Alan Modra <amodra@bigpond.net.au>
3553 * function.h: (struct function): Add profile_label_no field.
3554 (current_function_profile_label_no): Define.
3555 * function.c: (profile_label_no): New static var.
3556 (expand_function_start): Increment it, and copy to
3557 current_function_profile_label_no.
3558 * output.h (profile_label_no): Delete.
3559 * final.c (profile_label_no): Delete.
3560 (profile_function): Use current_function_profile_label_no.
3561 (final_end_function): Don't increment profile_label_no here.
3562 * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
3563 profile_label_no with current_function_profile_label_no.
3564 * config/pa/pa.c (current_function_number): Delete.
3565 (pa_output_function_prologue): Don't output profile label here.
3566 (hppa_profile_hook): Use label_no param rather than
3567 current_function_number.
3568 (FUNC_BEGIN_PROLOG_LABEL): Move to ..
3569 * config/pa/pa.h: .. here.
3570 (FUNCTION_PROFILER): Output profile label here.
3572 2002-04-22 Eric Christopher <echristo@redhat.com>
3574 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
3575 patch of 2002-04-09 due to binutils issues.
3576 (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
3578 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
3580 * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
3581 constraint to 'o' for m=r and r=m alternatives.
3582 ("*movv8hi_internal1"): Same.
3583 ("*movv16qi_internal1"): Same.
3584 ("*movv4sf_internal1"): Same.
3586 2002-04-22 Janis Johnson <janis187@us.ibm.com>
3588 * rtl.h (RTX_FLAG): New macro.
3589 * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
3590 * final.c (alter_subreg): Use macro to access rtx flag.
3591 * integrate.c (copy_rtx_and_substitute): Use new access macro.
3592 * print-rtl.c (print_rtx): Use new access macro.
3594 * cse.c (insert): Check rtx code before accessing flag.
3596 * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
3597 ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
3598 (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
3599 convert_const_symbol_ref, make_canonical, make_alternative_compare,
3600 evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
3601 simplify_test_exp, optimize_attrs, simplify_by_exploding,
3602 find_and_mark_used_attributes, unmark_used_attributes,
3603 add_values_to_cover, simplify_with_current_value,
3604 simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
3605 copy_rtx_unchanging, main): Use new access macros.
3607 2002-04-22 Tom Rix <trix@redhat.com>
3609 * expmed.c (init_expmed): Generate shifted constant once.
3611 2002-04-22 Zack Weinberg <zack@codesourcery.com>
3613 * c-lex.c (lex_charconst): Call convert to get constant in
3614 proper type; don't just smash the type field.
3617 * config.gcc: Add list of obsolete configurations. Disallow
3618 building these without --enable-obsolete.
3619 * doc/install.texi: Document --enable-obsolete and obsoletion
3620 policy. Mention obsoletion of individual targets in
3623 2002-04-22 Richard Henderson <rth@redhat.com>
3625 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
3627 2002-04-22 Mark Mitchell <mark@codesourcery.com>
3630 * function.c (fixup_memory_subreg): Add promoted_mode parameter.
3631 (walk_fixup_memory_subreg): Likewise.
3632 (fixup_var_refs_insn): Adjust accordingly.
3633 (fixup_var_refs_1): Likewise.
3635 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
3637 * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
3638 LIBPATH_ARCH64_SPEC): Define.
3639 (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
3640 (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
3641 (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
3642 (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
3644 2002-04-22 Joel Sherrill <joel@OARcorp.com>
3646 * gthr-rtems.h: Correct prototypes to remove warnings.
3648 2002-04-22 Richard Henderson <rth@redhat.com>
3651 * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
3653 * gcse.c (free_insn_expr_list_list): New.
3654 (clear_modify_mem_tables): Use it. Fix bit set usage.
3655 (canon_list_insert): Use EXPR_LISTs for expressions.
3656 (record_last_mem_set_info): Factor BLOCK_NUM (insn).
3658 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk>
3660 * cppfiles.c (_cpp_pop_file_buffer): Return void. Move
3661 file change and include code to _cpp_pop_buffer.
3662 * cpphash.h (struct pending_option): Predeclare.
3663 (struct cpp_reader): New member next_include_file.
3664 (_cpp_pop_file_buffer): Update.
3665 (_cpp_push_next_buffer): Update, rename.
3666 * cppinit.c (cpp_destroy): Free include chain and pending here.
3667 (cpp_finish_options): Simplify.
3668 (_cpp_push_next_buffer): Rename and clean up.
3669 * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
3671 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
3673 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
3675 * config/rs6000/altivec.h (vec_xor): Add variant for both args
3676 being vector signed int.
3678 (vec_xor): Add variant for both args being vector signed char.
3679 Remove redundant variant.
3682 2002-04-21 David S. Miller <davem@redhat.com>
3684 * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
3685 compare mode in output RTL.
3687 2002-04-22 David Edelsohn <edelsohn@gnu.org>
3689 * config/rs6000/rs6000.c (rs6000_override_options): Correct
3690 style and formatting of previous patch.
3692 2002-04-22 Alan Modra <amodra@bigpond.net.au>
3694 * config/rs6000/rs6000.c (rs6000_override_options): Always clear
3695 flag_pic for ABI_AIX.
3697 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
3699 * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
3700 * cppfiles.c (read_include_file): Similarly.
3701 * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
3702 uxstrdup ustrchr, ufputs): Similarly.
3703 * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
3704 * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
3705 cpp_ideq, parse_identifier, parse_number): Similarly.
3706 * cpplib.c (struct directive, dequote_string, D, run_directive,
3707 cpp_push_buffer): Similarly.
3708 * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
3709 _cpp_create_definition, check_trad_stringification,
3710 cpp_macro_definition): Similarly.
3712 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
3714 * cppmacro.c (funlike_invocation_p): Don't step back
3717 2002-04-21 David Edelsohn <edelsohn@gnu.org>
3719 * config/rs6000/rs6000.c (output_profile_hook): Do not increment
3722 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk>
3724 * doc/invoke.texi: Remove Chill references.
3725 * doc/gcc.texi: Update last modified date.
3727 2002-04-20 Kazu Hirata <kazu@hxi.com>
3729 * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
3730 push and pop. Replace add.l with add.w.
3732 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
3734 * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
3735 multiply instructions for H8/300H case.
3737 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
3739 * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
3740 Bum three instructions from each routine.
3742 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk>
3744 * Makefile.in: Update.
3745 * decl.c (push_c_function_context, pop_c_function_context,
3746 mark_c_function_context): Rename for consistency.
3747 * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
3748 * c-tree.h (push_c_function_context, pop_c_function_context,
3749 mark_c_function_context): Rename for consistency.
3750 * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
3751 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
3752 * function.c (init_lang_status, save_lang_status,
3753 restore_lang_status, mark_lang_status, free_lang_status):
3754 Move to langhooks.h.
3755 (push_function_context_to, pop_function_context_from,
3756 free_after_parsing, prepare_function_start, ggc_mark_struct_function):
3758 * function.h (init_lang_status, save_lang_status,
3759 restore_lang_status, mark_lang_status, free_lang_status):
3760 Move to langhooks.h.
3761 * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
3762 LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
3763 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
3764 LANG_HOOKS_FUNCTION_INITIALIZER): New.
3765 (LANG_HOOKS_INITIALIZER): Update.
3766 (lhd_do_nothing_f): New.
3767 * langhooks.h (struct lang_hooks_for_functions): New.
3768 (struct lang_hooks): New hooks.
3769 * langhooks.c (lhd_do_nothing_f): New.
3771 * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
3772 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
3774 2002-04-19 David S. Miller <davem@redhat.com>
3776 * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
3777 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
3779 2002-04-19 Jakub Jelinek <jakub@redhat.com>
3781 PR optimization/3756
3782 * config/i386/i386.c (ix86_expand_int_movcc): Optimize
3783 x = ((int) y < 0) ? cst1 : cst2.
3785 2002-04-19 Jakub Jelinek <jakub@redhat.com>
3788 * function.c: Reapply patch for c/6358.
3789 (expand_function_end): Copy decl_rtl's mode, not
3790 current_function_return_rtx mode.
3792 2002-04-19 Joel Sherrill <joel@OARcorp.com>
3794 * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
3797 2002-04-19 Tom Tromey <tromey@redhat.com>
3799 * doc/install.texi (Specific): Update status of Solaris 2.8.
3802 2002-04-19 Andreas Schwab <schwab@suse.de>
3804 * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
3805 (PUT_REAL): Restore old definition.
3807 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
3808 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3810 * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
3811 binutils 2.11.2 and higher generate smaller binaries than Sun's
3814 2002-04-19 Mark Mitchell <mark@codesourcery.com>
3817 * toplev.c (rest_of_compilation): Do not defer functions for which
3818 TREE_SYMBOL_REFERENCED has already been set.
3820 Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz>
3822 * i386.md (movsi_1, movhi_1): Force reload to use more flexible
3825 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk>
3827 * builtins.c: Include langhooks.h.
3828 (lang_type_promotes_to): Remove.
3829 (expand_builtin_va_arg): Use new hook.
3830 * c-common.c (c_common_nodes_and_builtins): Don't set hook.
3831 (simple_type_promotes_to): Move to c-typeck.c.
3832 * c-common.h (simple_type_promotes_to): Remove.
3833 * c-decl.c (duplicate_decls, grokdeclarator): Update.
3834 * c-format.c: Include langhooks.h.
3835 (check_format_types): Update.
3836 * c-tree.h (c_type_promotes_to): New.
3837 * c-typeck.c (c_type_promotes_to): Move from c-common.c.
3838 (type_lists_compatible_p): Update.
3839 * langhooks-def.h (lhd_type_promotes_to): New.
3840 (LANG_HOOKS_TYPE_PROMOTES_TO): New.
3841 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
3842 * langhooks.c (lhd_type_promotes_to): New.
3843 * langhooks.h (struct lang_hooks_for_types): New hook.
3844 * tree.h (lang_type_promotes_to): Remove.
3846 * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
3848 2002-04-18 Richard Henderson <rth@redhat.com>
3850 * function.c: Revert patch for c/6358.
3852 2002-04-18 Richard Henderson <rth@redhat.com>
3854 * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
3855 blocks. Handle multiple references to the TRAP block. Handle
3856 non-adjacent THEN and OTHER blocks.
3858 2002-04-18 Richard Henderson <rth@redhat.com>
3860 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
3861 crash with no type for by-mode libcalls.
3863 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
3865 2002-04-18 Bob Wilson <bob.wilson@acm.org>
3867 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3868 __xtensa_nonlocal_goto): Use a syscall instructions to flush
3869 the register windows.
3871 2002-04-18 Zack Weinberg <zack@codesourcery.com>
3873 * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
3874 appropriate. Document need for extended precision even when
3875 MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
3876 based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
3877 REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
3878 instead of relying on later syntax error when REAL_WIDTH > 5.
3879 * real.c: Define NE based only on whether or not we have a
3880 full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
3881 Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
3882 define GET_REAL and PUT_REAL as simple memcpy operations; no
3883 need to byteswap or round.
3884 Use #error instead of #ifdef-ing out the entire file, for
3885 prompt error detection.
3887 * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
3889 2002-04-18 David S. Miller <davem@redhat.com>
3891 * config/sparc/sparc.h (BRANCH_COST): Define.
3893 * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
3896 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
3898 * flow.c (update_life_info): Ignore return value of cleanup_cfg.
3899 Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
3900 propagate_block calls after relaxation loop using new variable
3901 stabilized_prop_flags.
3903 2002-04-18 Richard Henderson <rth@redhat.com>
3905 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
3906 (ia64_va_arg): Expect variable sized types by reference.
3907 * config/ia64/ia64-protos.h: Update.
3908 * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
3909 ia64_function_arg_pass_by_reference.
3911 2002-04-18 Richard Henderson <rth@redhat.com>
3913 * ifcvt.c: Include except.h.
3914 (block_has_only_trap): Break out from find_cond_trap.
3915 (find_cond_trap): Use it. Always delete the trap block.
3916 (merge_if_block): Allow then block null. Be less simplistic about
3917 what insns can end a block.
3918 * Makefile.in (ifcvt.o): Depend on except.h.
3920 * config/ia64/ia64.md (trap, conditional_trap): New.
3922 2002-04-18 Jakub Jelinek <jakub@redhat.com>
3925 * function.c (assign_parms): Assign hard current_function_return_rtx
3927 (expand_function_end): ...not here.
3929 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
3931 * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
3932 * c-tree.h (c_incomplete_type_error): New.
3933 * c-typeck.c (require_complete_type, build_component_ref): Update.
3934 (incomplete_type_error): Rename.
3935 * langhooks-def.h (lhd_incomplete_type_error): New.
3936 (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
3937 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
3938 * langhooks.c (lhd_incomplete_type_error): New.
3939 * langhooks.h (struct lang_hooks_for_types): New hook.
3940 * tree.c (size_in_bytes): Use new hook.
3941 * tree.h (incomplete_type_error): Remove.
3943 * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
3945 2002-04-18 Zack Weinberg <zack@codesourcery.com>
3947 * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
3948 TARGET_FLOAT_FORMAT blocks.
3950 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3952 * doc/install.texi (Downloading the source): Do not mention Chill
3953 any longer, but mention Ada.
3954 (Configuration): Do not mention Chill any longer.
3956 2002-04-18 Hans-Peter Nilsson <hp@axis.com>
3958 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
3960 Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz>
3962 * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
3965 2002-04-18 Jakub Jelinek <jakub@redhat.com>
3967 * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
3968 instead of unsigned_type.
3970 Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
3972 * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
3973 * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
3976 2002-04-18 Bernd Schmidt <bernds@redhat.com>
3978 * attribs.c (vector_type_node_list): New static variable.
3979 (handle_vector_size_attribute): Use it to avoid generating a
3980 new type node each time we are called.
3982 * combine.c (subst): Avoid trying to make a vector mode subreg of
3983 an integer constant.
3984 (gen_lowpart_for_combine): Likewise.
3986 2002-04-18 Roger Sayle <roger@eyesopen.com>
3987 Jakub Jelinek <jakub@redhat.com>
3989 * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
3990 for integer constant c (if x has unsigned type or sign bit is not
3991 set in c). This folds the zero/sign extension into the bit-wise and
3994 2002-04-18 Jakub Jelinek <jakub@redhat.com>
3997 * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
4000 2002-04-17 NIIBE Yutaka <gniibe@m17n.org>
4002 * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
4004 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
4006 * gcc.c (read_specs): Detect and fail if an attempt is made to
4007 rename a spec string to an already existing string.
4009 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
4011 * config/s390/s390.c (legitimize_pic_address): Do not generate
4012 illegal address constant without CONST.
4014 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4016 * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
4017 * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
4019 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
4021 PR optimization/6305
4022 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
4023 to make sure previous reloads are taken into account. Generate
4024 better code if one operand is an in-range immediate constant.
4026 2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
4028 * doc/install.texi (Building): libgcj requires GNU make.
4030 2002-04-17 Jakub Jelinek <jakub@redhat.com>
4033 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
4034 even if hard quad and register is not floating.
4035 (movtf reg<-mem split): Disallow splitting if hard quad and
4036 register is floating.
4037 (movtf mem<-reg split): Likewise.
4038 * config/sparc/sparc.c (fp_register_operand): New predicate.
4039 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
4041 2002-04-17 Zack Weinberg <zack@codesourcery.com>
4043 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
4044 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
4045 (unprotoize.o): Ditto. Build from protoize.c. Define
4046 UNPROTOIZE on command line.
4047 * protoize.c: Include cppdefault.h. Delete include_defaults.
4048 (in_system_include_dir): Use cpp_include_defaults (defined in
4050 * unprotoize.c: Delete file.
4052 2002-04-17 Aldy Hernandez <aldyh@redhat.com>
4054 * config/rs6000/altivec.h (vec_ld): Add array variants.
4058 2002-04-17 Alan Matsuoka <alanm@redhat.com>
4059 Aldy Hernandez <aldyh@redhat.com>
4061 * config/rs6000/altivec.h: Define __ALTIVEC__.
4068 Add parentheses to all macro arguments.
4070 2002-04-16 Richard Henderson <rth@redhat.com>
4073 * except.c (remove_eh_handler): Insert inner regions at beginning
4074 of sibling chain. Refactor expressions.
4076 2002-04-16 Richard Henderson <rth@redhat.com>
4078 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
4079 * config/sparc/sol2-gas-bi.h: New file.
4080 * config.gcc (sparc*-solaris): Add it as needed.
4081 * configure.in (AS_SPARC64_FLAG): Remove check.
4082 * config.in, configure: Regenerate.
4084 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
4086 2002-04-16 Richard Henderson <rth@redhat.com>
4088 * config/mips/mips.c (override_options): Don't override N32 for
4092 * config/mips/mips.md (can_delay): Split out of existing define_delays.
4093 (HILO_delay): Set can_delay false.
4095 2002-04-16 Dale Johannesen <dalej@apple.com>
4097 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
4098 instruction addresses.
4099 (rs6000_output_function_epilogue): Likewise.
4101 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
4103 * c-parse.in (poplevel, compstmt_start,
4104 compstmt_primary_start): Add ending ';', in accordance
4107 2002-04-16 Richard Henderson <rth@redhat.com>
4109 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
4110 Adjust tm_file order to get TARGET_DEFAULT set properly.
4111 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
4112 * doc/install.texi (sparc-solaris): Update.
4114 2002-04-16 Dale Johannesen <dalej@apple.com>
4116 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
4117 comparison operands do not match each other or if modes of
4118 conditions do not match result.
4120 2002-04-16 Hartmut Penner <hpenner@de.ibm.com>
4123 * config/s390/s390.md (mulsidi3): Set both subregs of the
4126 2002-04-16 Aldy Hernandez <aldyh@redhat.com>
4128 * config/rs6000/altivec.h (vec_addc): Type check.
4130 2002-04-16 Jakub Jelinek <jakub@redhat.com>
4133 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
4135 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
4137 2002-04-15 Richard Henderson <rth@redhat.com>
4139 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
4140 call_really_used_regs too.
4142 2002-04-15 Richard Henderson <rth@redhat.com>
4144 * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
4146 2002-04-15 David S. Miller <davem@redhat.com>
4148 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
4151 2002-04-16 Jakub Jelinek <jakub@redhat.com>
4154 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
4155 CONST_VECTOR is { 0, ... 0 }.
4157 2002-04-15 Loren J. Rittle <ljrittle@acm.org>
4159 * doc/install.texi (Installing GCC: Configuration): Clarify
4160 the only supported ways to configure gcc.
4162 2002-04-15 Roland McGrath <roland@frob.com>
4164 * config.gcc (alpha*-*-gnu*): New target configuration.
4165 * config/alpha/gnu.h: New file for it.
4166 * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
4168 2002-04-16 Mark Mitchell <mark@codesourcery.com>
4170 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
4171 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
4172 * tree.h (expand_start_stmt_expr): Update prototype.
4173 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
4174 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
4175 on the STMT_EXPR created for the inline function.
4177 2002-04-15 Richard Henderson <rth@redhat.com>
4179 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
4180 config/i386/linux-aout.h, config/i386/linux-oldld.h,
4181 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
4182 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
4183 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
4184 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
4185 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
4186 Define __gnu_linux__, not gnu_linux.
4187 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
4189 2002-04-15 Mark Mitchell <mark@codesourcery.com>
4191 Remove Chill front end.
4192 * gcc.c (default_compilers): Remove Chill entries.
4193 * ch: Remove directory.
4194 * doc/frontends.texi: Remove information about Chill.
4195 * doc/sourcebuild.texi: Likewise.
4196 * doc/standards.texi: Likewise.
4198 2002-04-15 Douglas B Rupp <rupp@gnat.com>
4200 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
4201 (LONGLONG_STANDALONE): Define.
4203 2002-04-15 David S. Miller <davem@redhat.com>
4205 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
4206 Call emit_library_call with LCT_NORMAL.
4207 (sparc_initialize_trampoline): Use LCT_foo instead of
4208 magic constant in emit_library_call invocations.
4209 (sparc64_initialize_trampoline): Likewise.
4210 (sparc_profile_hook): Likewise.
4211 * config/sparc/sparc.md: Likewise.
4213 * config/sparc/sparc.c (sparc_extra_constraint_check):
4214 Fix type of argument 'c'.
4215 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
4218 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4220 * diagnostic.h (output_buffer_state): Redefine.
4221 (output_format_decoder): New macro.
4222 (output_prefixing_rule): Likewise.
4223 (output_line_cutoff): Likewise.
4224 (diagnostic_format_decoder): Adjust.
4225 (diagnostic_prefixing_rule): Likewise.
4226 (diagnostic_line_cutoff): Likewise.
4227 (diagnostic_state): Likewise.
4228 (diagnostic_kind_count): Likewise.
4229 (diagnostic_buffer): Now a macro.
4231 * diagnostic.c (diagnostic_buffer): Remove definition.
4232 (output_is_line_wrapping): Adjust.
4233 (set_real_maximum_length): Likewise.
4234 (output_set_maximum_length): Likewise.
4235 (init_output_buffer): Likewise.
4236 (lhd_print_error_function): Likewise.
4237 (output_do_verbatim): Likewise.
4239 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
4241 * cpperror.c (print_location): Don't print include chain
4243 (cpp_begin_message): Update to use DL_ macros.
4244 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
4245 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
4246 cpp_notice, cpp_notice_from_errno): Remove.
4247 (cpp_error, cpp_error_with_line): Update to take a diagnostic
4250 * cppexp.c (CPP_ICE): Remove.
4251 (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
4252 lex, integer_overflow, _cpp_parse_expr): Update.
4253 * cppfiles.c (read_include_file, find_include_file,
4254 handle_missing_header, _cpp_read_file, remap_filename): Update.
4255 * cpphash.h (enum error_type): Remove.
4256 (_cpp_begin_message): Update.
4257 * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
4258 cpp_handle_option, cpp_post_options): Update.
4259 * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
4260 skip_whitespace, parse_identifier, parse_slow, parse_string,
4261 _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
4262 cpp_interpret_charconst): Update.
4263 * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
4264 lex_macro_node, do_undef, glue_header_name, parse_include,
4265 do_include_common, read_flag, do_line, do_linemarker, do_ident,
4266 cpp_register_pragma, do_pragma_once, do_pragma_system_header,
4267 do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
4268 do_elif, do_endif, parse_answer, parse_assertion, do_assert,
4269 _cpp_pop_buffer, do_diagnostic): Update.
4270 * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
4271 DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
4272 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
4273 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
4274 cpp_notice, cpp_notice_from_errno): Remove.
4275 (cpp_error, cpp_error_with_line): Update to take a diagnostic
4278 * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
4279 collect_args, enter_macro_context, save_parameter, parse_params,
4280 _cpp_create_definition, check_trad_stringification,
4281 cpp_macro_definition): Update.
4282 * cppmain.c (cpp_preprocess_file): Update.
4283 * fix-header.c (read_scan_file): Update.
4285 2002-04-14 Andreas Schwab <schwab@suse.de>
4287 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
4289 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
4291 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
4293 2002-04-13 Mark Mitchell <mark@codesourcery.com>
4295 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
4298 2002-04-13 Hans-Peter Nilsson <hp@axis.com>
4300 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
4302 2002-04-13 Joel Sherrill <joel@OARcorp.com>
4304 * config/sparc/t-elf: Enable v8 multilibs. Impacts
4305 sparc-elf and sparc-rtems targets.
4307 2002-04-13 Mark Mitchell <mark@codesourcery.com>
4309 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
4310 defined, and __gnu_hurd__ wherever __GNU__ is defined.
4311 * arm/linux-elf.h: Likewise.
4312 * cris/aout.h: Likewise.
4313 * cris/linux.h: Likewise.
4314 * i370/linux.h: Likewise.
4315 * i386/gnu.h: Likewise.
4316 * i386/linux-aout.h: Likewise.
4317 * i386/linux-oldld.h: Likewise.
4318 * i386/linux.h: Likewise.
4319 * i386/linux64.h: Likewise.
4320 * ia64/linux.h: Likewise.
4321 * m68k/linux-aout.h: Likewise.
4322 * m68k/linux.h: Likewise.
4323 * mips/linux.h: Likewise.
4324 * pa/pa-linux.h: Likewise.
4325 * pj/linux.h: Likewise.
4326 * rs6000/sysv4.h: Likewise.
4327 * s390/linux.h: Likewise.
4328 * sh/linux.h: Likewise.
4329 * sparc/linux-aout.h: Likewise.
4330 * sparc/linux.h: Likewise.
4331 * sparc/linux64.h: Likewise.
4332 * xtensa/linux.h: Likewise.
4334 2002-04-13 Richard Sandiford <rsandifo@redhat.com>
4336 * stmt.c (check_unique_operand_names): Expect operand names to
4337 be strings rather than identifiers. Use simple_cst_equal to
4339 (resolve_operand_name_1): Make same identifier to string change here.
4340 * c-parse.in (asm_operand): Convert a named operand into a string.
4341 * cp/parse.y (asm_operand): Likewise.
4343 2002-04-13 Andreas Schwab <schwab@suse.de>
4345 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
4347 2002-04-12 Mark Mitchell <mark@codesourcery.com>
4349 Revert these changes:
4351 2002-04-06 Mark Mitchell <mark@codesourcery.com>
4354 * stor-layout.c (layout_decl): Reset the RTL for the decl.
4356 2002-04-12 Richard Henderson <rth@redhat.com>
4358 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
4359 (sparc*-*-solaris): Clean up header files.
4360 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
4361 and plan on generating 64-bit code.
4362 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
4363 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
4364 * config/sparc/sol2-sld-64.h: Rename ...
4365 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
4366 for AS_SPARC64_FLAG not defined.
4367 * config/sparc/sol2-gld-bi.h: New.
4368 * config/sparc/sol2-sld.h: Remove.
4369 * config/sparc/sol26-sld.h: New.
4370 * config/sparc/sol2.h: Tidy comments.
4371 * doc/install.texi: Document sparc-solaris configury changes.
4373 2002-04-12 Richard Henderson <rth@redhat.com>
4375 * recog.c (offsettable_address_p): Match the logic in adjust_address.
4377 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
4378 in 64-bit mode only. Use only for 32-bit or MEDLOW.
4380 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4382 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
4384 Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
4386 * pa.c (pa_can_combine_p): Call extract_insn before calling
4389 2002-04-12 Douglas B Rupp <rupp@gnat.com>
4391 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
4392 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
4393 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
4394 (CPP_PREDEFINES): Handle __declspec.
4395 * config/i386/t-interix (USER_H): Remove.
4397 2002-04-12 DJ Delorie <dj@redhat.com>
4399 * integrate.c (compare_blocks): Make comparisons safe for when
4400 sizeof(int) < sizeof(char *).
4401 (find_block): Likewise.
4403 2002-04-12 Jan Hubicka <jh@suse.cz>
4404 David Edelsohn <edelsohn@gnu.org>
4406 * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
4408 (symbol_ref_operand): New.
4409 * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
4410 * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
4412 2002-04-12 Andreas Schwab <schwab@suse.de>
4414 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
4415 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
4416 overrides the definition in config/svr4.h.
4418 2002-04-12 Eric Norum <eric.norum@usask.ca>
4420 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
4421 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
4422 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
4423 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
4424 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
4425 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
4426 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
4427 definitions to config/rtems.h and make the targets more similar.
4429 Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4431 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
4432 POINTERS_EXTEND_UNSIGNED.
4433 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
4434 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
4436 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
4439 Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
4441 * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
4442 depends on TARGET_SHMEDIA, not TARGET_SH5.
4444 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
4446 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
4447 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
4449 Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
4451 * sh.c (broken_move): Constant 0. / 1. load is OK if there is
4454 2002-04-12 Andreas Schwab <schwab@suse.de>
4456 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
4458 2002-04-12 Richard Henderson <rth@redhat.com>
4461 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
4463 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
4464 modes spanning multiple hard regs.
4466 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
4468 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
4470 * pa.c (pa_output_function_prologue): Don't accumulate the total
4471 number of code bytes when using TARGET_64BIT, or gas, SOM and not
4472 the portable runtime.
4473 (output_deferred_plabels): Handle 64bit plabels.
4474 (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
4475 generating pic code using the GAS assembler for object formats that
4476 are not SOM (ie., ELF32 and ELF64).
4477 (output_millicode_call): Check attribute type if attribute length is 28.
4478 Likewise use $PIC_pcrel$0. Only call get_attr_length and
4479 dbr_sequence_length once.
4480 (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
4481 dbr_sequence_length once.
4482 * pa.h (TARGET_SOM): Define if not defined.
4483 * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
4484 with GAS and not SOM.
4485 (jump, call_internal_reg, call_value_internal_reg): Likewise.
4486 * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
4488 2002-04-11 David O'Brien <obrien@FreeBSD.org>
4490 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
4491 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
4492 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
4493 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
4494 elfos.h and dbxelf.h values are fine now.
4495 * config/i386/freebsd.h, config/alpha/freebsd.h
4496 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
4498 2002-04-11 David O'Brien <obrien@FreeBSD.org>
4500 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
4501 or set Acpu or Amachine. Reformat.
4502 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
4504 (LINK_SPEC): Do not need to undef.
4505 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
4506 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
4507 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
4509 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
4510 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
4511 (LINK_SPEC): Do not need to undef.
4512 (DONT_USE_BUILTIN_SETJMP): Do not define.
4513 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
4514 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
4515 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
4516 Remove trailing spaces.
4517 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
4518 __ELF__, or set Acpu or Amachine. Reformat.
4519 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
4522 2002-04-11 David O'Brien <obrien@FreeBSD.org>
4524 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
4525 all other *-*-freebsd* targets.
4527 2002-04-11 Richard Henderson <rth@redhat.com>
4529 * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
4531 2002-04-11 David O'Brien <obrien@FreeBSD.org>
4533 * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
4534 Include {cpu}/{cpu}.h thru tm_file.
4535 (alpha*-*-linux*ecoff): Remove target.
4536 * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
4537 (LINK_SPEC): Remove, is not OS independent.
4538 * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
4539 (LINK_SPEC): Do not need to #undef any longer.
4540 * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
4542 * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
4544 (LINK_SPEC): Moved here from alpha/elf.h.
4545 * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
4547 * config/alpha/linux-ecoff.h: Remove.
4548 * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
4549 (CPP_SPEC): Define _POSIX_SOURCE as needed.
4550 (CPP_SUBTARGET_SPEC): Do not define.
4551 (LINK_SPEC): Do not need to #undef any longer.
4552 * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
4553 * config/alpha/vms.h: Likewise.
4555 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
4557 * doc/extend.texi: Remove old claim that typedefs cannot have
4558 an alignment attribute.
4560 2002-04-11 Jakub Jelinek <jakub@redhat.com>
4562 PR optimization/6177
4563 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
4564 bitpos is 0 and bitsize CONCAT size.
4566 2002-04-11 Jakub Jelinek <jakub@redhat.com>
4569 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
4571 2002-04-10 David O'Brien <obrien@FreeBSD.org>
4573 * config/alpha/freebsd.h: Minor reformatting.
4574 (CPP_SPEC): Define ELF and add cpp_subtarget.
4575 (ASM_SPEC): No longer needed.
4577 2002-04-11 Richard Henderson <rth@redhat.com>
4579 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
4580 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
4581 (dimode mem/zero splitter): New.
4583 2002-04-11 Hans-Peter Nilsson <hp@axis.com>
4585 * config/cris/cris.c (cris_override_options): Tweak error message
4586 for PIC not implemented.
4588 * config/cris/cris.h: Tweak comments related to parameter-passing.
4590 * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
4592 2002-04-10 Richard Henderson <rth@redhat.com>
4594 * except.c (add_ehl_entry): Allow duplicates after landing pad
4597 2002-04-10 David Edelsohn <edelsohn@gnu.org>
4599 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
4601 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
4603 * c-decl.c (c_init_decl_processing): Move generation of
4604 decls for g77_integer_type_node and friends from here ...
4605 * c-common.c (c_common_nodes_and_builtins): ... to here.
4607 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
4609 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
4610 is only used as frame pointer when frame_pointer_needed is true.
4612 2002-04-10 Richard Earnshaw <rearnsha@arm.com>
4615 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
4616 for the fact that the pool entry uses two words.
4617 (movdf_hard_insn): Similarly. Also, ADR instruction can span
4619 (movdf_soft_insn): Similarly.
4620 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
4621 for the fact that the pool entry uses three words.
4623 2002-04-10 Richard Sandiford <rsandifo@redhat.com>
4625 * config/mips/mips.c (mips_va_arg): When using the struct version
4626 of the EABI va_list, allow arguments in the register save area to
4627 take up less room than a stack argument.
4629 2002-04-10 Richard Henderson <rth@redhat.com>
4631 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
4632 if EXPAND_INITIALIZER.
4634 2002-04-09 Richard Henderson <rth@redhat.com>
4636 * config/alpha/alpha.md (movdi_er_maybe_g): New.
4637 * config/alpha/alpha.c (alpha_expand_mov): Use it.
4639 2002-04-10 Alan Modra <amodra@bigpond.net.au>
4641 PR optimization/6233
4642 * rtlanal.c (pure_call_p): New function.
4643 * rtl.h (pure_call_p): Declare.
4644 * loop.c (prescan_loop): Use it to set has_nonconst_call.
4645 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
4647 2002-04-09 Eric Christopher <echristo@redhat.com>
4649 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
4650 information to .comm directive.
4652 2002-04-09 Richard Henderson <rth@redhat.com>
4655 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
4657 2002-04-09 Richard Henderson <rth@redhat.com>
4659 * basic-block.h (flow_delete_block_noexpunge): Declare.
4660 (expunge_block_nocompact): Declare.
4661 * cfg.c (expunge_block_nocompact): Split out from ...
4662 (expunge_block): ... here.
4663 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
4664 (flow_delete_block_noexpunge): Split out from ...
4665 (flow_delete_block): ... here.
4666 * cfgcleanup.c (delete_unreachable_blocks): Compact while
4667 removing dead blocks.
4668 * except.c (exception_handler_labels): Remove.
4669 (exception_handler_label_map): New.
4670 (struct eh_region): Add aka member.
4671 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
4672 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
4673 (for_each_eh_label, for_each_eh_label_1): New.
4674 (init_eh): Register exception_handler_label_map.
4675 (free_eh_status): Use free_region.
4676 (find_exception_handler_labels): Use the map, not the list.
4677 (remove_exception_handler_label): Likewise.
4678 (maybe_remove_eh_handler): Likewise.
4679 (remove_eh_handler): Use the region aka bitmap.
4680 * except.h (exception_handler_labels): Remove.
4681 (for_each_eh_label): Declare.
4682 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
4683 * loop.c (invalidate_loops_containing_label): New.
4684 (find_and_verify_loops): Use it. Use for_each_eh_label.
4685 * sched-rgn.c (is_cfg_nonregular): Use
4686 current_function_has_exception_handlers.
4688 2002-04-09 Richard Henderson <rth@redhat.com>
4690 * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
4691 sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
4692 Do not return changed status.
4693 (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
4694 sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
4695 New functions that do return changed status.
4696 * sbitmap.h: Update decls.
4697 * gcse.c, lcm.c: Use _cg functions as needed.
4699 Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
4701 * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
4702 (sh64-*-elf*, sh-*-rtemself*): Likewise.
4703 * config/sh/embed_bb.c: New file.
4704 * config/sh/embed-elf.h: New file.
4705 * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
4706 if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
4707 (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
4709 (SUBTARGET_CPP_PTR_SPEC): Don't define.
4710 (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
4711 Add subtarget_asm_endian_spec.
4712 (ASM_SPEC): Use subtarget_asm_endian_spec.
4713 (SUBTARGET_ASM_ENDIAN_SPEC): Define.
4714 (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
4715 (WCHAR_UNSIGNED): Define.
4716 (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
4717 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
4718 (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
4720 * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
4721 (sh_adjust_cost): Likewise.
4722 sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
4724 (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
4725 (WCHAR_TYPE_SIZE): Likewise.
4726 (ASM_SPEC): Use subtarget_asm_endian_spec.
4727 (SH_ELF_WCHAR_TYPE): #undef/ #define.
4728 (MAX_WCHAR_TYPE_SIZE): Don't #undef.
4729 * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
4730 (MAX_WCHAR_TYPE_SIZE): Don't #define .
4731 (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
4732 (USER_LABEL_PREFIX): Don't #undef /#define .
4733 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
4734 * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
4735 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
4736 (ASM_SPEC): Likewise.
4737 (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
4738 (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
4739 * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
4740 (LIB2FUNCS_EXTRA): Define.
4741 * t-sh64 (LIB2FUNCS_EXTRA): Define.
4742 * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
4743 (LIB1ASMFUNCS_CACHE): Define.
4744 (LIB2FUNCS_EXTRA): Redefine empty.
4746 2002-04-08 Richard Henderson <rth@redhat.com>
4748 * reorg.c (get_branch_condition): Use reversed_comparison_code.
4750 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4752 * config/m68hc11/larith.asm (__map_data_section): Fix condition
4753 and optimize for size.
4754 (__do_global_ctors): Fix pointer comparison.
4755 (__do_global_dtors): Likewise.
4757 2002-04-09 David S. Miller <davem@redhat.com>
4759 * config/sparc/sparc.c (sparc_extra_constraint_check): New
4760 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
4761 allow reloading pseudos.
4762 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
4763 * config/sparc/sparc-protos.h: Declare it.
4765 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
4766 unsigned comparison warning.
4767 (output_restore_regs): Mark leaf_function as unused.
4769 Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4771 * expr.c (is_aligning_offset): New function.
4772 (expand_expr, case COMPONENT_EXPR): Call it.
4774 2002-04-08 David S. Miller <davem@redhat.com>
4777 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
4779 Make init_priority work on Sparc when using GNU ld.
4780 * config/sparc/linux.h, config/sparc/linux64.h,
4781 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
4782 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
4783 * config/sparc/sol2-gld.h: New file to do the same.
4784 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
4785 sparc/sol2-gld.h to tm_file.
4787 PR optimization/4328
4788 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
4789 * doc/md.texi: Document it.
4790 * config/sparc/sparc.md (movdi_insn_sp64_novis,
4791 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
4792 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
4793 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
4794 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
4796 2002-04-08 Andreas Jaeger <aj@suse.de>
4798 * stmt.c (expand_asm_operands): Revert last patch from Richard
4801 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4803 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
4804 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
4806 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4808 * doc/contrib.texi (Contributors): Add David O'Brien.
4810 2002-04-08 Alan Modra <amodra@bigpond.net.au>
4812 * configure.in (auto-build.h): Use target_alias and build_alias
4813 when running configure.
4814 (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
4815 (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
4816 * configure: Regenerate.
4818 2002-04-07 David S. Miller <davem@redhat.com>
4820 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
4822 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
4825 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
4826 generating 32-bit pic code.
4828 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
4830 * cppinit.c (cpp_create_reader): Initialize
4831 discard_comments_in_macro_exp.
4832 (COMMAND_LINE_OPTIONS): Add "-CC" option.
4833 (cpp_handle_option): Handle "-CC" option.
4834 * cpplex.c (save_comment): If saving a C++ comment in
4835 a directive, convert it to a C comment.
4836 (_cpp_lex_direct): Pass second comment start character to
4837 save_comment to indicate comment type.
4838 * cpplib.c (_cpp_handle_directive): If processing
4839 a "#define" directive and discard_comments_in_macro_exp
4840 is false, re-enable saving of comments.
4841 (lex_macro_node): If discard_comments_in_macro_exp is false,
4842 discard any comments before the macro identifier.
4843 * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
4845 * cppmacro.c (cpp_get_token): If expanding a macro while
4846 processing a directive, discard any comments we might encounter.
4847 (parse_params): If discard_comments_in_macro_exp is false,
4848 ignore comments in the macro parameter list.
4849 * gcc.c (cpp_unique_options): Add "-CC" option.
4850 (option_map): Map "--comments-in-macros" to "-CC".
4851 * doc/cppopts.texi: Document "-CC" option.
4852 * f/lang-specs.h: Add "-CC" option.
4853 * testsuite/gcc.dg/cpp/maccom1.c: New test.
4854 * testsuite/gcc.dg/cpp/maccom2.c: New test.
4855 * testsuite/gcc.dg/cpp/maccom3.c: New test.
4856 * testsuite/gcc.dg/cpp/maccom4.c: New test.
4857 * testsuite/gcc.dg/cpp/maccom5.c: New test.
4858 * testsuite/gcc.dg/cpp/maccom6.c: New test.
4860 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
4863 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
4865 2002-04-06 Mark Mitchell <mark@codesourcery.com>
4868 * stor-layout.c (layout_decl): Reset the RTL for the decl.
4871 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
4872 RTX_UNCHANGING_P for the functions arguments when a tail call
4875 2002-04-06 Jason Merrill <jason@redhat.com>
4877 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
4878 (parse_options_and_default_flags): Set them appropriately.
4879 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
4881 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
4883 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
4886 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
4889 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
4890 types come in by-reference. Fix typo in comment.
4892 2002-04-05 David S. Miller <davem@redhat.com>
4894 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
4895 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
4896 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
4897 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
4899 2002-04-05 David S. Miller <davem@redhat.com>
4901 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
4902 are not going to emit return instructions, emit at least a nop
4903 for the sake of sane backtraces.
4905 2002-04-05 Richard Henderson <rth@redhat.com>
4907 * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
4909 2002-04-05 Jakub Jeilnek <jakub@redhat.com>
4911 * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
4913 2002-04-05 Alexandre Oliva <aoliva@redhat.com>
4915 * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
4916 ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
4917 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
4919 2002-04-05 Andreas Schwab <schwab@suse.de>
4921 * c-convert.c: Include c-common.h.
4922 * Makefile.in (c-convert.o): Updated.
4924 2002-04-05 Jakub Jelinek <jakub@redhat.com>
4926 * mklibgcc.in: Use separate libgcc.map for each multilib.
4927 * Makefile.in (distclean): Don't remove libgcc.map here.
4929 2002-04-05 Jakub Jelinek <jakub@redhat.com>
4931 * Makefile.in (s-mlib): Handle --disable-multilib by separate
4932 genmultilib invocation.
4934 2002-04-04 Richard Sandiford <rsandifo@redhat.com>
4936 * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
4937 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
4938 to num_gprs for symmetry.
4939 * config/mips/mips.c: Adjust accordingly.
4941 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4943 * c-common.c (truthvalue_conversion): Rename, update.
4944 * c-common.h (c_common_truthvalue_conversion): New.
4945 * c-convert.c (convert): Update.
4946 * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4947 * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
4948 * c-typeck.c (build_binary_op, build_unary_op,
4949 build_conditional_expr): Update.
4950 * fold-const.c (constant_boolean_node, fold): Use langhook.
4951 * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
4952 * langhooks.h (struct lang_hooks): New hook.
4953 * stmt.c (expand_decl_cleanup): Use langhook.
4954 * tree.h (truthvalue_conversion): Remove.
4956 * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4958 2002-04-05 Alan Modra <amodra@bigpond.net.au>
4960 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
4961 Add rules to make null object file.
4963 2002-04-04 Jim Blandy <jimb@redhat.com>
4965 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
4966 macro formal parameter names.
4968 2002-04-04 David S. Miller <davem@redhat.com>
4970 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
4972 2002-04-04 Richard Henderson <rth@redhat.com>
4975 * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
4976 Support copies into and out of memory. Don't accept allows_reg
4977 and allows_mem as gospel.
4979 2002-04-04 Richard Henderson <rth@redhat.com>
4982 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
4983 (write_dependence_p): Likewise.
4985 2002-04-04 Richard Henderson <rth@redhat.com>
4987 * predict.c (estimate_bb_frequencies): Do frequency calculation
4988 with a volatile temporary.
4990 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
4992 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
4994 2002-04-04 Jakub Jelinek <jakub@redhat.com>
4997 * final.c (final_start_function): Don't bump profile_label_no here...
4998 (final_end_function): ...but here.
5000 2002-04-04 Jakub Jelinek <jakub@redhat.com>
5002 * config/sparc/sparc.md (pic): New attribute.
5003 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
5005 (split after do_builtin_setjmp_setup): New.
5007 2002-04-04 Jakub Jelinek <jakub@redhat.com>
5010 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
5013 2002-04-04 Jakub Jelinek <jakub@redhat.com>
5015 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
5016 UNITS_PER_WORD for zero sized aggregates.
5018 2002-04-03 David S. Miller <davem@redhat.com>
5020 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
5021 one-character spec for this, just use %(link_gcc_c_sequence).
5023 2002-04-03 David S. Miller <davem@redhat.com>
5025 * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
5028 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
5030 * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
5031 (DWARF_FRAME_RETURN_COLUMN): Move.
5032 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5033 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
5034 * pa.c (except.h, predict.h): Include.
5036 (store_reg_modify, set_reg_plus_d): Revise prototypes.
5037 (output_ascii): Add cast.
5038 (store_reg_modify): Revise to add frame notes.
5039 (set_reg_plus_d): Likewise.
5040 (compute_frame_size): Include space for eh data registers in frame if
5041 the current function calls eh_return.
5042 (hppa_expand_prologue): Ensure register %r2 is saved if the current
5043 function calls eh_return. Save eh data registers if the current
5044 function calls eh_return. Fix code to add frame notes. Emit
5045 blockage to prevent insns with frame notes being scheduled in the
5046 delay slot of calls.
5047 (hppa_expand_epilogue): Restore eh data registers and do final stack
5048 adjustment if the current function calls eh_return. Don't add frame
5050 (output_call): Revise for change in length of call insn. Don't do
5051 return pointer adjustment for an unconditional jump in the delay slot
5052 of a call when using frame notes.
5053 * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
5054 (EH_RETURN_HANDLER_RTX): Use saved value on stack.
5055 (ARG_POINTER_CFA_OFFSET): Define.
5056 * pa.md (return_external_pic): New pattern.
5057 (prologue): Correct formatting. Use return_external_pic if current
5058 function calls eh_return.
5059 (call_internal_symref, call_value_internal_symref,
5060 sibcall_internal_symref, sibcall_value_internal_symref): Change default
5061 lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
5063 (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
5065 * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
5066 list of targets to check using "nop" insn.
5067 * configure: Rebuilt.
5069 2002-04-04 Alan Modra <amodra@bigpond.net.au>
5071 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
5073 2002-04-03 David S. Miller <davem@redhat.com>
5075 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
5076 library sequence passed to the linker.
5077 (LINK_COMMAND_SPEC): Use it.
5078 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
5079 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
5080 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
5082 2002-04-03 Jason Merrill <jason@redhat.com>
5084 * except.c (struct eh_status): Remove protect_list.
5085 (begin_protect_partials, end_protect_partials): Remove.
5086 (add_partial_entry): Remove.
5087 * except.h: Remove prototypes.
5089 * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
5090 expand_decl_cleanup_eh.
5093 * tree.h (CLEANUP_EH_ONLY): New macro.
5094 * stmt.c (expand_decl_cleanup_eh): New fn.
5095 (expand_cleanups): Check CLEANUP_EH_ONLY.
5096 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
5097 Use expand_decl_cleanup_eh.
5098 (expand_stmt): Adjust.
5099 * c-common.h: Adjust prototype.
5101 2002-04-04 Hans-Peter Nilsson <hp@axis.com>
5103 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
5104 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
5105 (cris_target_asm_function_epilogue): Ditto.
5106 (cris_initial_frame_pointer_offset): Ditto.
5107 (cris_simple_epilogue): Ditto.
5108 (cris_expand_builtin_va_arg): Variable-size types come in
5111 2002-04-03 David S. Miller <davem@redhat.com>
5113 * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
5115 (set_fast_math): Correct 'fsr' type.
5117 2002-04-03 Richard Henderson <rth@redhat.com>
5120 * langhooks.h (lang_hooks.decls.warn_unused_global): New.
5121 * toplev.c (check_global_declarations): Use it.
5122 * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
5123 (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5124 (LANG_HOOKS_DECLS): Add it.
5125 * langhooks.c (lhd_warn_unused_global_decl): New.
5126 * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5127 * c-objc-common.c (c_warn_unused_global_decl): New.
5128 * c-tree.h (c_warn_unused_global_decl): Declare.
5129 * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5131 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
5133 * langhooks-def.h (lhd_set_decl_assembler_name,
5134 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
5135 (LANG_HOOKS_INITIALIZER): Update.
5136 * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
5137 * langhooks.h (struct lang_hooks): New hook.
5138 * tree.c (set_decl_assembler_name): Move to langhooks.c.
5139 (lang_set_decl_assembler_name): Remove.
5140 (init_obstacks): Don't set hook.
5141 (decl_assembler_name): New function.
5142 * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
5143 (decl_assembler_name): New.
5144 (lang_set_decl_assembler_name): Remove.
5146 2002-04-03 Jakub Jelinek <jakub@redhat.com>
5148 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
5149 works properly with .hidden symbols.
5150 * configure: Rebuilt.
5151 * config.in: Rebuilt.
5152 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
5153 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
5154 properly with .hidden symbols.
5156 2002-04-03 Jakub Jelinek <jakub@redhat.com>
5159 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
5162 2002-04-03 Richard Henderson <rth@redhat.com>
5165 * sched-rgn.c (sets_likely_spilled): New.
5166 (sets_likely_spilled_1): New.
5167 (add_branch_dependences): Use it.
5169 2002-04-02 Richard Henderson <rth@redhat.com>
5172 * loop.h (LOOP_FIRST_PASS): New.
5173 * loop.c (strength_reduce): Mind it when deciding to unroll.
5174 * toplev.c (rest_of_compilation): Set it.
5176 2002-04-02 David S. Miller <davem@redhat.com>
5178 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
5179 mems_ok_for_ldd_peep when the order of the loads being examined
5181 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
5182 existing comment to increase comprehension of this situation.
5184 2002-04-02 Zack Weinberg <zack@codesourcery.com>
5186 * config/sh/sh.md: Don't use union real_extract.
5188 2002-04-02 Richard Henderson <rth@redhat.com>
5190 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
5192 2002-04-02 David O'Brien <obrien@FreeBSD.org>
5194 * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
5195 i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
5196 i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
5197 i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
5198 i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
5199 i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
5200 i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
5201 i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
5202 i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
5203 i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
5204 i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
5205 i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
5206 i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
5207 i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
5208 Include as many configury headers via tm_file as possible. This
5209 includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
5210 * config/openbsd-oldgas.h: New file.
5211 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
5212 config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
5213 config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
5214 config/i386/i386-coff.h, config/i386/i386-interix.h,
5215 config/i386/iscdbx.h, config/i386/linux-aout.h,
5216 config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
5217 config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
5218 config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
5219 config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
5220 config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
5221 config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
5222 config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
5223 config/i386/vxi386.h: Do not directly include configury headers.
5224 * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
5225 Directly include configury headers that are no longer automatically
5226 included by the above headers.
5227 * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
5228 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
5229 config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
5230 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
5231 config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
5232 config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
5233 config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
5234 (TARGET_VERSION): Define.
5235 * config/i386/beos-elf.h, config/i386/freebsd.h,
5236 config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
5237 config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
5238 config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
5239 config/i386/sco5.h, config/i386/sysv4.h
5240 (TARGET_VERSION): Do not need to protect.
5241 * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
5242 * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
5243 config/i386/freebsd-aout.h, config/i386/i386-aout.h,
5244 config/i386/i386-interix.h, config/i386/linux-aout.h,
5245 config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
5246 config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
5247 (YES_UNDERSCORES): Do not define - not needed.
5248 * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
5249 ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
5250 USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
5251 * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
5252 (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
5253 USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
5254 * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
5255 * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
5257 2002-04-02 Eric Botcazou <ebotcazou@multimania.com>
5258 Richard Henderson <rth@redhat.com>
5261 * function.c (assign_temp): Accept either type or decl argument.
5262 Detect variables whose size is too large to fit into an integer.
5263 * stmt.c (expand_decl): Pass the decl, not the type.
5265 2002-04-02 David O'Brien <obrien@FreeBSD.org>
5267 * protoize.c: Match include directory usage with cppdefault.c.
5269 2002-04-03 Jeffrey A Law (law@redhat.com)
5270 Hans-Peter Nilsson <hp@bitrange.com>
5272 * combine.c (simplify_comparison): Avoid narrowing a comparison
5273 with a paradoxical subreg when doing so would drop signficant bits.
5275 2002-04-02 Steve Ellcey <sje@cup.hp.com>
5277 * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
5278 if POINTERS_EXTEND_UNSIGNED is defined.
5280 2002-04-02 Richard Henderson <rth@redhat.com>
5283 * local-alloc.c (contains_replace_regs): LO_SUM may contain
5286 2002-04-02 Richard Henderson <rth@redhat.com>
5288 * doc/standards.texi: Document required freestanding libc entry points.
5290 2002-04-02 Alan Modra <amodra@bigpond.net.au>
5292 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
5293 associated splitter. Remove MQ constraint.
5294 (ctrdi_internal4): Correct CCmode clobber.
5296 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
5298 * milli64.S ($$dyncall): New function.
5299 * t-linux (LIB1ASMFUNCS): Revise module list.
5300 (LIB1ASMSRC): Use pa/milli64.S.
5302 2002-04-02 Richard Henderson <rth@redhat.com>
5304 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
5305 rename solaris_sys_varargs_h.
5307 Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5309 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
5310 the same mode as its component.
5312 2002-04-02 Richard Henderson <rth@redhat.com>
5315 * final.c (this_is_asm_operands): Export.
5316 * output.h (this_is_asm_operands): Declare.
5317 * config/i386/i386.c (print_operand): Error odd asm operands.
5319 2002-04-02 Richard Henderson <rth@redhat.com>
5322 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
5324 2002-04-01 Richard Henderson <rth@redhat.com>
5327 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
5328 * fixinc/fixincl.x: Rebuild.
5330 2002-04-01 Richard Henderson <rth@redhat.com>
5332 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
5333 (atomic_alloc, atomic_free): New.
5334 (SIZE, MASK_FOR, PTR_IN): New.
5335 (emergency_reg_state, emergency_reg_state_free): New.
5336 (emergency_labeled_state, emergency_labeled_state_free): New.
5337 (reg_state_alloced, labeled_state_alloced): New.
5338 (alloc_reg_state, free_reg_state): New.
5339 (alloc_label_state, free_label_state, free_label_states): New.
5340 (push, pop, dup_state_stack, free_state_stack): Use them.
5341 (desc_label_state): Likewise.
5342 (uw_frame_state_for): Free label states and state stack.
5343 (uw_update_reg_address): Eliminate warnings.
5345 2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
5347 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
5348 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
5350 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
5352 * c-decl.c (grokdeclarator): Update.
5353 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
5354 * c-tree.h (c_mark_addressable): New.
5355 * c-typeck.c (default_function_array_conversion, build_unary_op,
5356 build_array_ref, convert_for_assignment): Update.
5357 (mark_addressable): Rename.
5358 * calls.c (try_to_integrate, expand_call): Use langhook.
5359 * expr.c (expand_expr): Use langhook.
5360 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
5361 * langhooks.h (struct lang_hooks): New hook.
5362 * stmt.c (expand_asm_operands): Use langhook.
5363 * tree.h (mark_addressable): Remove.
5365 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
5367 2002-04-01 Bob Wilson <bob.wilson@acm.org>
5369 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
5372 2002-04-01 Bob Wilson <bob.wilson@acm.org>
5374 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
5375 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
5377 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
5379 * c-common.c (unsigned_conversion_warning, convert_and_check,
5380 unsigned_type, signed_type, shorten_compare,
5381 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
5382 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
5383 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
5385 * c-decl.c (grokdeclarator): Update.
5386 * c-format.c (check_format_types): Update.
5387 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
5388 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
5389 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
5390 * convert.c (convert_to_integer): Use new hooks.
5391 * expmed.c (make_tree): Use new hooks.
5392 * expr.c (store_expr): Use new hooks.
5393 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
5394 all_ones_mask_p, unextend, fold): Use new hooks.
5395 * langhooks.h (struct lang_hooks_for_types): New hooks.
5396 * tree.h (signed_or_unsigned_type, signed_type,
5397 unsigned_type): Remove.
5399 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
5400 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
5402 2002-03-31 Richard Henderson <rth@redhat.com>
5404 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
5405 (desc_frgr_mem): Fix reference to f16-f31.
5407 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5409 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
5410 RTVEC_ELT): Const-ify.
5411 * varray.h (VARRAY_CHECK): Const-ify.
5412 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
5413 ggc_mark_rtvec, ggc_mark): Const-ify.
5415 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
5417 * diagnostic.c: Include langhooks-def.h.
5418 * Makefile.in (diagnostic.o): Update.
5420 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
5422 * c-common.c (c_unsafe_for_reeval): Rename.
5423 * c-common.h (c_unsafe_for_reeval): Rename.
5424 * c-decl.c (finish_incomplete_decl): Rename.
5425 (c_init_decl_processing): Don't set langhook.
5426 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
5427 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
5428 * c-objc-common.c (c_objc_common_init): Don't set langhook.
5429 * c-tree.h (finish_incomplete_decl): Rename.
5430 * langhooks-def.h (lhd_unsafe_for_reeval): New.
5431 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
5432 (LANG_HOOKS_INITIALIZER): Update.
5433 * langhooks.c (lhd_unsafe_For_reeval): New.
5434 * langhooks.h (struct langhooks): New hooks.
5435 * toplev.c (incomplete_decl_finalize_hook): Remove.
5436 (wrapup_global_declarations): Update.
5437 * tree.c (lang_unsafe_for_reeval): Remove.
5438 (unsafe_for_reeval): Update.
5439 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
5442 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
5443 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
5445 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
5447 * diagnostic.c (print_error_function): Remove.
5448 (default_print_error_function): Rename.
5449 (report_error_function): Update.
5450 * diagnostic.h (print_error_function): Remove.
5451 (default_print_error_function): Remove.
5452 * langhooks-def.h (struct diagnostic_context): Predeclare.
5453 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
5454 (LANG_HOOKS_INITIALIZER): Update.
5455 * langhooks.h (struct diagnostic context): Predeclare.
5456 (struct lang_hooks): New hook.
5458 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5460 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
5461 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
5463 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
5464 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
5465 of PIC_OFFSET_TABLE_REGNUM thruout.
5466 * config/rs6000/rs6000.md: Likewise.
5467 * config/rs6000/darwin.h: Likewise.
5469 Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5471 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
5472 unsigned HOST_WIDE_INT, not unsigned int.
5474 2002-03-31 Jakub Jelinek <jakub@redhat.com>
5476 PR middle-end/6096, middle-end/6098, middle-end/6099
5477 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
5479 (fill_slots_from_thread): Likewise.
5481 2002-03-31 Jakub Jelinek <jakub@redhat.com>
5483 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
5484 floating fields in float regs.
5485 (function_arg_record_value_2): Likewise.
5487 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
5489 * config/mmix/mmix.md (define_constants): Remove misleading
5490 FIXME. Add MMIX_fp_rO_OFFSET.
5491 ("nonlocal_goto_receiver"): Don't have stack-frame address of
5492 saved rO as part of the pattern. Remove FIXME.
5493 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
5494 here, at output-time.
5496 2002-03-31 Jakub Jelinek <jakub@redhat.com>
5499 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
5501 (output_v9branch): Likewise.
5503 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
5505 * gcc.c: Revert previous patch for now.
5506 * config/i386/djgpp.h: Likewise.
5508 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
5510 * config/mmix/crti.asm (_init): Register _fini with atexit.
5511 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
5513 2002-03-31 Richard Henderson <rth@redhat.com>
5516 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
5517 (ASM_OUTPUT_DEF_FROM_DECLS): New.
5519 2002-03-31 Richard Henderson <rth@redhat.com>
5521 * libgcc2.c (__bb_exit_func): Make static.
5523 * config/alpha/alpha.md (trap): New.
5525 2002-03-31 Richard Henderson <rth@redhat.com>
5527 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
5528 promoted argument types; build trap.
5529 (expand_builtin_trap): New.
5530 (expand_builtin): Use it.
5531 * stmt.c (expand_nl_goto_receivers): Likewise.
5532 * expr.h (expand_builtin_trap): Declare.
5533 * libfuncs.h (LTI_abort, abort_libfunc): New.
5534 * optabs.c (init_optabs): Init abort_libfunc.
5536 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
5538 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
5539 (LINK_COMMAND_SPEC): ... from here.
5540 (init_gcc_specs): Duplicate it here too, omitting
5541 shared_name in the second copy.
5542 (init_spec): Test for duplicate
5543 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
5545 2002-03-30 David S. Miller <davem@redhat.com>
5547 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
5548 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
5550 2002-03-30 Roger Sayle <roger@eyesopen.com>
5551 Richard Henderson <rth@redhat.com>
5553 * regmove.c (combine_stack_adjustments_for_block): Avoid
5554 emitting a stack adjustment of zero bytes. Let delete_insn
5557 2002-03-30 Richard Henderson <rth@redhat.com>
5559 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
5560 (sparc_emitting_epilogue): New.
5561 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
5562 * config/sparc/sparc-protos.h: Update.
5563 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
5564 (TARGET_SWITCHES): Update.
5565 * config/sparc/sparc.md (return): Remove.
5566 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
5567 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
5568 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
5569 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
5570 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
5571 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
5572 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
5573 Remove MASK_EPILOGUE.
5574 * doc/invoke.texi: Update.
5576 2002-03-30 Daniel Berlin <dan@dberlin.org>
5578 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
5579 CPP will start the file for us.
5581 2002-03-30 Richard Henderson <rth@redhat.com>
5584 * config/ia64/ia64.c (group_barrier_needed_p): Special case
5585 prologue_allocate_stack.
5586 (ia64_single_set): Use insn codes for recognition of special
5587 cases, not rtl matching.
5588 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
5590 Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
5592 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
5594 2002-03-30 Richard Henderson <rth@redhat.com>
5597 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
5598 or -fomit-frame-pointer with profiling.
5599 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
5600 (FUNCTION_PROFILER): Do nothing.
5601 (PROFILE_HOOK): New.
5602 * config/sparc/sparc.c (sparc_override_options): Don't check
5603 code models for profiling.
5604 (sparc_function_profiler): Remove.
5605 (sparc_profile_hook): New.
5606 * config/sparc/sparc-protos.h: Update.
5608 2002-03-30 Jakub Jelinek <jakub@redhat.com>
5610 PR optimization/6086
5611 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
5612 of SUBREG of volatile MEM or because the MEM was mode dependent,
5613 return CLOBBER instead of unmodified SUBREG.
5615 Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
5617 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
5618 when not optimizing.
5620 * toplev.c (rest_of_compilation): Cann mark_constant_function
5621 only when optimizing.
5623 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
5626 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
5627 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
5628 (try_optimize_cfg): clear all AUX fields.
5630 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
5631 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
5632 (ix86_address_cost): Be prepared for SUBREGed registers.
5633 (legitimate_address_p): Accept SUBREGed registers.
5635 2002-03-29 Richard Henderson <rth@redhat.com>
5638 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
5640 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5642 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
5643 for aggregate and TFmode types.
5645 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
5647 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
5649 2002-03-29 Richard Henderson <rth@redhat.com>
5652 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
5653 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
5655 2002-03-29 Richard Henderson <rth@redhat.com>
5658 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
5659 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
5660 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
5661 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
5663 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
5665 2002-03-29 Dale Johannesen <dalej@apple.com>
5667 * loop.c (combine_movables): Do allow combination of pseudos.
5669 2002-03-29 Loren J. Rittle <ljrittle@acm.org>
5671 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
5672 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
5673 No functional change except ...
5674 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
5675 * doc/install.texi (*-*-freebsd*): Document port configuration.
5677 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
5679 * Makefile.in (convert.o, calls.o, expmed.o): Update.
5680 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
5682 * builtin-types.def (BT_PTRMODE): Update.
5683 * c-common.c (type_for_size): Rename c_common_type_for_size.
5684 (type_for_mode): Similarly.
5685 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
5687 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
5688 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
5689 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
5691 * c-typeck.c (common_type, comptypes, default_conversion):
5693 * calls.c: Include langhooks.h.
5694 (emit_library_call_value_1): Use new hooks. Avoid redundant
5696 * convert.c: Include langhooks.h
5697 (convert_to_pointer, convert_to_integer): Use new hooks.
5698 * except.c (init_eh): Similarly.
5699 * expmed.c: Include langhooks.h.
5700 (expand_mult_add): Use new hooks.
5701 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
5702 try_casesi): Similarly.
5703 * fold-const.c (optimize_bit_field_compare, make_range,
5704 decode_field_reference, fold_truthop, fold): Similarly.
5705 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
5706 put_var_into_stack): Similarly.
5707 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
5708 LANG_HOOKS_TYPE_FOR_SIZE): New.
5709 (LANG_HOOKS_TYPES_INITIALIZER): Update.
5710 * langhooks.h (lang_hooks_for_types): New hooks.
5711 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
5712 * tree.c (get_unwidened, get_narrower): Similarly.
5713 * tree.h (type_for_mode, type_for_size): Remove.
5714 * varasm.c (force_const_mem): Use new hooks.
5715 * utils2.c (nonbinary_modular_operation): Update.
5717 * objc-act.c (handle_impent): Update.
5718 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
5721 2002-03-29 Steve Ellcey <sje@cup.hp.com>
5723 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
5724 * config/ia64/ia64.c (basereg_operand): New.
5725 * config/ia64/ia64-protos.h (basereg_operand): Declare.
5726 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
5728 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
5730 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
5731 unwind information when frame_pointer_needed.
5732 (mmix_assemble_integer): Tweak wording in comment.
5734 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
5736 * Makefile.in (except.o): Update.
5737 * except.c: Include langhooks.h.
5738 (init_eh): Use langhook.
5739 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
5740 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
5741 (LANG_HOOKS_INITIALIZER): Update.
5742 * langhooks.h (lang_hooks_for_types): New.
5743 (struct lang_hooks): Add it.
5744 * tree.c (make_lang_type_fn, make_lang_type): Remove.
5745 * tree.h (make_lang_type_fn, make_lang_type): Remove.
5747 * alpha/alpha.c: Include langhooks.h.
5748 (alpha_build_va_list): Use langhook.
5749 * d30v/d30v.c: Include langhooks.h.
5750 (d30v_build_va_list): Use langhook.
5751 * i386/i386.c: Include langhooks.h.
5752 (ix86_build_va_list): Use langhook.
5753 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
5754 * s390/s390.c: Include langhooks.h.
5755 (s390_build_va_list): Use langhook.
5756 * stormy16/stormy16.c: Include langhooks.h.
5757 (stormy16_build_va_list): Use langhook.
5759 2002-03-29 Jakub Jelinek <jakub@redhat.com>
5762 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
5764 (length): Compute variable length for branches/calls/jumps here.
5765 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
5766 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
5767 define branch_type attribute.
5768 (divsi3_sp32): Maximum length is 6 not 7.
5769 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
5770 call_address_untyped_struct_value_sp32,
5771 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
5772 * config/sparc/sparc.c (empty_delay_slot): New function.
5773 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
5774 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
5776 2002-03-29 Jakub Jelinek <jakub@redhat.com>
5778 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
5779 nonzero_bits if not needed.
5780 (nonzero_bits) [XOR]: Likewise.
5781 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
5782 reg_last_set_mode and mode are both MODE_INT, but not equal.
5783 (record_value_for_reg): Compute reg_last_set_nonzero_bits
5784 in nonzero_bits_mode for MODE_INT modes.
5786 2002-03-28 Richard Henderson <rth@redhat.com>
5789 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
5790 to GAS. Correct drift between alternatives.
5792 2002-03-28 Richard Henderson <rth@redhat.com>
5795 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
5797 2002-03-28 Alexandre Oliva <aoliva@redhat.com>
5799 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
5800 emulation to the linker.
5802 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
5804 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
5805 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
5807 Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
5809 * combine.c (simplify_and_const_int): Make sure to apply mask
5810 when force_to_mode returns a constant integer. PR3311.
5812 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
5814 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
5816 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5818 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
5819 and Objective-C Dialect Options.
5821 2002-03-28 Richard Henderson <rth@redhat.com>
5823 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
5824 comparison should be done vs !=0 not >0 return code. Tidy cases.
5826 2002-03-28 Richard Henderson <rth@redhat.com>
5828 * c-decl.c (finish_function): New arg can_defer_p. Pass it
5829 on to c_expand_body.
5830 * c-tree.h (finish_function): Update decl.
5831 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
5833 Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
5835 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
5837 Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
5839 * rtlanal.c: Include flags.h
5840 (may_trap_p): Do not mark FP operations if trapping
5841 if !flag_trapping_math
5842 * Makefile.in (rtlanal.o): Add dependency on flag.h
5843 * ifcvt.c (noce_operand_ok): Avoid the lameness.
5845 2002-03-27 Zack Weinberg <zack@codesourcery.com>
5847 * mips.md: Use dconst1, not 1.0, as first argument of
5848 REAL_VALUE_LDEXP. Don't use union real_extract.
5850 2002-03-28 Alan Modra <amodra@bigpond.net.au>
5852 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
5853 rather than $target. Heed program_prefix and
5854 program_transform_name. Search for gas in cross-compiler case too.
5855 "test -x" rather than "test -f".
5856 (gcc_cv_ld): Likewise.
5857 (gcc_cv_nm): Heed program_prefix and program_transform_name.
5858 (gcc_cv_objdump): Likewise.
5859 * configure: Regenerate.
5861 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
5863 * Makefile.in (attribs.o): Update.
5864 * attribs.c: Include langhooks.h.
5865 (decl_attributes): Use langhook.
5866 * c-decl.c (insert_default_attributes): Rename.
5867 * c-tree.h (c_insert_default_attributes): New.
5868 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
5869 (LANG_HOOKS_INITIALIZER): Update.
5870 * langhooks.h (struct lang_hooks): New hook.
5871 * tree.h (insert_default_attributes): Remove.
5873 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
5875 2002-03-27 Andreas Schwab <schwab@suse.de>
5877 * config/i386/i386.c (classify_argument): Also check for
5880 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5882 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
5885 Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
5887 * i960.md (ret): Set PC.
5888 (nonlocal_goto): Fix expander.
5889 * builtins.c (epxand_builin_longjmp): Check that we've emitted
5892 Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
5894 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
5897 Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5899 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
5900 assigning to BLOCK_FOR_INSN directly.
5902 Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
5904 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
5906 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
5908 * c-common.c (c_expand_expr): Fix prototype.
5909 * c-common.h (c_expand_expr): Always declare, update.
5910 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
5911 * c-objc-common.c (c_objc_common_init): No global hook.
5912 * expr.c (expand_expr): Use langhook.
5913 * expr.h (enum expand_modifier): Conditionally declare.
5914 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
5915 (LANG_HOOKS_INITIALIZER): Update.
5916 * langhooks.c (lhd_expand_expr): New.
5917 * langhooks.h (struct lang_hooks): New hook.
5918 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
5919 (lang_independent_init): Don't default hook.
5921 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
5923 2002-03-27 Richard Henderson <rth@redhat.com>
5926 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
5927 TARGET_CONST_GP. Simplify conditions.
5929 2002-03-27 Richard Henderson <rth@redhat.com>
5931 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
5932 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
5933 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
5935 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
5937 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
5938 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
5939 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
5940 Remove unnecessary masks.
5941 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
5942 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
5943 -mwindows, -mdll switches and their negations.
5945 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
5947 * gcc-common.c (lang_mark_false_label_stack): Remove.
5948 * ggc.h (lang_mark_false_label_stack): Similarly.
5950 2002-03-26 Vladimir Makarov <vmakarov@redhat.com>
5952 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
5954 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
5955 or __rtems_ is defined.
5957 2002-03-26 Richard Henderson <rth@redhat.com>
5959 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
5960 if a non-trivial load was emitted.
5961 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
5962 in high+extra+low case.
5964 2002-03-26 Richard Henderson <rth@redhat.com>
5966 * config.gcc (sparc*-solaris): Use float_format=sparc.
5968 2002-03-26 Richard Henderson <rth@redhat.com>
5970 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
5971 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
5972 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
5973 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
5974 (WINT_TYPE_SIZE): Fix at 32.
5976 2002-03-26 Richard Henderson <rth@redhat.com>
5978 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
5979 until after eh landing pad generation.
5980 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
5981 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
5983 2002-03-26 Richard Henderson <rth@redhat.com>
5985 * expr.h (ADD_PARM_SIZE): One more convert for INC.
5987 2002-03-26 Phil Edwards <pme@gcc.gnu.org>
5989 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
5990 and warning switches.
5991 (cc1_options): Likewise.
5993 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
5995 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
5996 Restore more of the signal context. Set no_reg_stack_frame.
5997 * config/ia64/unwind-ia64.c (unw_state_record):
5998 Add no_reg_stack_frame, comments.
5999 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
6000 (uw_update_context): Adjust bsp when unwinding from leaf,
6001 but not signal frame.
6003 2002-03-26 David Edelsohn <edelsohn@gnu.org>
6005 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
6007 2002-03-26 Bob Wilson <bob.wilson@acm.org>
6009 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
6011 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
6014 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
6015 "Add a pool_range attribute", which was lost during the ARM/Thumb
6018 2002-03-26 Bob Wilson <bob.wilson@acm.org>
6020 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
6021 a register into the MAC16 accumulator.
6023 2002-03-26 Andrew Cagney <ac131313@redhat.com>
6025 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
6026 (Warning Options): Document -Wswitch-enum.
6027 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
6029 (warn_switch_enum): Define variables.
6030 * flags.h (warn_switch_enum): Declare variables.
6031 * stmt.c (expand_end_case_type): When warn_switch_enum /
6032 -Wswitch-enum, perform switch checks.
6035 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
6037 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
6038 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
6039 (reload_muladdsi_compare0_scratch): Delete.
6041 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
6043 * doc/install.texi (*-*-freebsd*): Update.
6045 2002-03-26 Richard Henderson <rth@redhat.com>
6047 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
6048 (SUB_PARM_SIZE): Cast DEC to ssizetype.
6050 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
6051 types from the normal argument frame.
6053 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
6054 variable sized objects by reference.
6055 (sparc_va_arg): Receive them by reference too.
6057 2002-03-26 Hartmut Penner <hpenner@de.ibm.com>
6059 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
6060 code to not restoring global registers.
6062 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
6064 * Makefile.in (ggc-common.o): Update.
6065 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
6066 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6067 * c-tree.h (c_mark_tree): New.
6068 * ggc-common.c: Include langhooks.h.
6069 (gcc_mark_trees): Use new langhook.
6070 * ggc-callbacks.c: Delete file.
6071 * ggc.h (lang_mark_tree): Remove.
6072 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
6073 (LANG_HOOKS_INITIALIZER): Update.
6074 * langhooks.h (struct lang_hooks): New hook.
6076 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6078 2002-03-25 Zack Weinberg <zack@codesourcery.com>
6080 * doc/cpp.texi: Exclude entire Top node from printed manual.
6081 Move option index after directive index. Insert page breaks
6082 before GFDL and concept index. Index environment variables
6083 with command line options.
6084 * doc/cppenv.texi: Use @vtable for environment variable list.
6085 Add paragraph explaining semantics of empty elements in path
6086 variables. Exclude a cross-reference to Fishkill from the
6087 manpage. Remove an unnecessary cross-reference of the entry
6088 right above the referer. Don't use @anchor in text that goes
6090 * doc/cppopts.texi: Cross-reference the environment variables
6091 section, not the specific environment variable, for consistency.
6093 2002-03-25 Richard Henderson <rth@redhat.com>
6095 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
6096 anywhere in the block. Don't refer to insns that have been
6097 removed from the chain. Iterate backward through the new insns.
6098 Don't refer to edges that have been removed.
6100 2002-03-26 Alan Modra <amodra@bigpond.net.au>
6102 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
6103 test for overflow of constant.
6105 2002-03-25 Richard Earnshaw <rearnsha@arm.com>
6108 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
6109 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
6110 these patterns on arm_archv4.
6112 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
6114 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
6117 2002-03-25 Zack Weinberg <zack@codesourcery.com>
6119 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
6120 float_handled, float_handler, float_signal, set_float_handler,
6121 and do_float_handler. Set handler for SIGFPE to crash_signal.
6122 * toplev.h: Don't prototype do_float_handler.
6124 * c-lex.c: Fold parse_float into lex_number. Make warning
6125 about portability of hex float constants more informative, and
6126 don't issue it on top of a syntax error.
6127 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
6129 * real.h: Define REAL_VALUE_ABS here...
6130 * simplify-rtx.c: ... not here. Fold check_fold_consts,
6131 simplify_unary_real, simplify_binary_real, and
6132 simplify_binary_is2orm1 into their callers.
6133 * tree.c: Fold build_real_from_int_cst_1 into caller.
6135 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
6137 * tsystem.h: Include float.h here...
6138 * libgcc2.c: ... not here.
6140 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
6142 Fixes for: PR bootstrap/3591, target/5676
6143 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
6144 defined. Do not disable exceptions or rtti.
6145 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
6146 mcore.h. Disable exceptions and rtti, since they are not
6149 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
6151 * c-decl.c (maybe_build_cleanup): Remove.
6152 * expr.c (expand_expr): Use langhook.
6153 * langhooks-def.h (lhd_return_null_tree,
6154 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
6155 (LANGHOOKS_INITIALIZER): Update.
6156 * langhooks.c (lhd_return_null_tree): New.
6157 * langhooks.h (struct lang_hooks): New hook.
6158 * tree-inline.c (initialize_inlined_parameters): Use langhook.
6159 * tree.h (maybe_build_cleanup): Remove.
6161 2002-03-25 Jakub Jelinek <jakub@redhat.com>
6163 * regrename.c (build_def_use): Move recog_memoized
6164 before extract_insn.
6166 2002-03-25 Jakub Jelinek <jakub@redhat.com>
6169 * expr.c (emit_group_store): Handle storing into CONCAT.
6171 2002-03-25 Jakub Jelinek <jakub@redhat.com>
6173 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
6174 corresponding MATCH_DUP.
6176 2002-03-24 Richard Henderson <rth@redhat.com>
6178 * unroll.c (unroll_loop): Zero label_map.
6180 * gcse.c: Include except.h.
6181 * Makefile.in (gcse.o): Update.
6183 2002-03-24 Richard Henderson <rth@redhat.com>
6185 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
6186 Do resolve_unique_section before shared data clause.
6188 2002-03-24 Richard Henderson <rth@redhat.com>
6190 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
6192 2002-03-24 Richard Henderson <rth@redhat.com>
6194 * recog.c (peephole2_optimize): Split blocks when EH insns are
6195 generated in the middle of a block. Do global life update if
6198 2002-03-24 Richard Henderson <rth@redhat.com>
6200 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
6202 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
6205 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
6206 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
6207 (init_dependency_output): Don't make no_output decision here.
6209 2002-03-24 Andrew Cagney <ac131313@redhat.com>
6211 * stmt.c (check_for_full_enumeration_handling): Remove tests of
6212 warn_switch. Update description.
6213 (expand_end_case_type): Call check_for_full_enumeration_handling
6216 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6218 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
6219 (m68hc11_split_move): Call it to see if the source and destination
6220 operands use the same direction auto inc/dec mode, otherwise make the
6221 source an offsetable memory operand and generate an add.
6223 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6225 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
6226 register for operand 2.
6227 ("*subsi3_zero_extendqi"): Likewise.
6228 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
6229 bits so that it is compatible with a pop.
6230 ("*andhi3_gen"): Likewise.
6231 ("xorhi3"): Likewise.
6233 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
6235 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
6237 (cpp_post_options): ... not here.
6239 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
6240 Aldy Hernandez <aldyh@redhat.com>
6242 Removal of separate preprocessor cpp0.
6244 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
6245 cpp0, install-common): Update.
6246 * c-common.c (flag_preprocess_only): New.
6247 (c_common_init): Preprocess for -E.
6248 * c-common.h (flag_preprocess_only): New.
6249 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
6250 * c-objc-common.c (c_init_decl_processing): Exit quickly
6251 for NULL return from c_common_init.
6252 * cpplib.h (cpp_preprocess_file): New.
6253 * cppmain.c (main, general_init, pfile, progname): Remove.
6254 (do_preprocessing): Rename cpp_preprocess_file, don't call
6255 cpp_finish. Don't close stdout here.
6256 (setup_callbacks): Update prototype.
6257 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
6259 * tradcpp.c (main): Ignore -quiet.
6261 * lang-specs.h (default_compilers): Preprocess with cc1obj.
6263 2002-03-24 Richard Henderson <rth@redhat.com>
6265 PR optimization/5742
6266 * machmode.def: Add inner mode field to complex modes.
6267 * config/mips/mips.c (mips_function_value): Always define. Add
6268 new argument to handle libcalls.
6269 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
6270 (FUNCTION_VALUE): Likewise.
6271 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
6272 * config/mips/mips-protos.h: Update.
6274 2002-03-23 Richard Henderson <rth@redhat.com>
6276 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
6277 * config/sparc/sparc-protos.h: Update.
6278 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
6280 2002-03-23 Richard Henderson <rth@redhat.com>
6282 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
6283 _start or _init begins the text segment.
6285 2002-03-23 David Edelsohn <edelsohn@gnu.org>
6287 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
6288 not HOST_WIDEST_INT.
6289 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
6291 2002-03-23 Richard Earnshaw <rearnsha@arm.com>
6294 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
6295 operand argument to output_return_instruction.
6296 * arm.c (arm_print_operand, case 'd'): If the operand is
6297 const_true_rtx then just return.
6298 (arm_print_operand, case 'D'): If the operand is const_true_rtx
6301 2002-03-23 Andrew Cagney <ac131313@redhat.com>
6303 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
6304 (Warning Options): Document -Wswitch-default.
6305 * toplev.c (W_options): Add -Wswitch-default. Update comment on
6307 (warn_switch_default): Define variable.
6308 (warn_switch): Update comment.
6309 * flags.h (warn_switch_default): Declare variable.
6310 (warn_switch): Update comment.
6311 * stmt.c (expand_end_case): Check for and, when
6312 warn_switch_no_default, warn of a missing default case.
6314 2002-03-23 Alan Modra <amodra@bigpond.net.au>
6316 * real.h (N): Special case 128 bit doubles.
6318 * combine.c (simplify_comparison): When widening modes, ignore
6319 sign extension on CONST_INTs.
6321 2002-03-22 Bob Wilson <bob.wilson@acm.org>
6323 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
6324 passed to adjust_address. Fix comment formatting.
6327 2002-03-22 Zack Weinberg <zack@codesourcery.com>
6329 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
6330 Always make REAL_VALUE_TYPE a struct containing an array of
6331 HOST_WIDE_INT, not a double. Tidy up the code deciding how
6332 big it is. Don't declare or use union real_extract.
6334 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
6335 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
6336 (print_operand), config/arm/arm.c (output_move_double),
6337 config/arm/arm.md (consttable_4, consttable_8),
6338 config/romp/romp.c (output_fpops), config/s390/s390.h
6339 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
6340 (xtensa_output_literal): Don't use union real_extract.
6342 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
6343 (sfmode_constant_to_ulong), config/ns32k/merlin.h
6344 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
6345 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
6346 (PRINT_OPERAND): Don't use local version of union
6349 * config/convex/convex.c (check_float_value), config/vax/vax.c
6350 (vax_float_literal), config/m88k/m88k.md (divdf3),
6351 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
6352 config/pdp11/pdp11.c (output_move_quad): Don't do host
6353 arithmetic on target floating point quantities.
6355 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
6356 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
6358 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
6359 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
6361 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
6362 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
6364 * print-rtl.c (print_rtx): Disable code which needs
6365 floating-point emulator.
6366 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
6367 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
6368 depending on HOST_FLOAT_FORMAT to be defined properly.
6370 * config/1750a/1750a.c (get_double, float_label): Delete.
6371 (print_operand): Delete huge commented-out chunk. Use
6372 REAL_VALUE_TO_DECIMAL.
6373 * config/1750a/1750a-protos.h: Delete prototypes of deleted
6375 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
6377 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
6378 Use REAL_VALUE_TO_DECIMAL as ELF version does.
6379 * config/m88k/m88k.c (real_power_of_2_operand,
6380 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
6381 real_extract out of the union; run the input through
6382 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
6383 from that into the union.
6384 * config/pdp11/pdp11.c (output_move_double): Rearrange
6385 parentheses to make automatic indenter happy.
6387 * doc/tm.texi (Cross-compilation): Rename node to "Floating
6388 Point" and rewrite to describe current situation. Also adjust
6389 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
6391 * doc/rtl.texi: Adjust cross reference.
6393 2002-03-22 Bob Wilson <bob.wilson@acm.org>
6395 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
6396 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
6397 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
6398 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
6399 prevent use of sp as a reload register.
6400 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
6401 non_acc_reg_operand.
6402 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
6403 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
6404 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
6405 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
6407 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
6409 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
6410 * cpplex.c (unterminated): Delete.
6411 (parse_string): No string literal may extend over multiple
6412 lines. Suppress the error when preprocessing assembly.
6413 * cppmain.c (scan_translation_unit): Strings are single-line.
6415 * doc/cpp.texi: Update to match.
6417 2002-03-22 Jakub Jelinek <jakub@redhat.com>
6419 PR optimization/5854
6420 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
6422 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
6423 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
6424 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
6425 const0 if scratch register was not allocated.
6426 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
6427 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
6429 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
6430 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
6431 with GEN_INT (...) everywhere. Remove constraints in define_split
6433 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
6434 require scratch register for setting 0 into regs/non-pushable memory.
6436 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
6438 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
6439 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
6441 2002-03-22 Phil Edwards <pme@gcc.gnu.org>
6443 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
6444 * cppinit.c (cpp_create_reader): On by default.
6445 (cpp_handle_option): Handle -W[no-]endif-labels.
6446 (cpp_post_options): Also enable if -pedantic.
6447 * cpplib.c (do_else): Use it.
6448 (do_endif): Likewise.
6449 * doc/cppopts.texi: Document new option.
6450 * doc/invoke.texi: Document new option.
6452 2002-03-22 Lars Brinkhoff <lars@nocrew.org>
6454 * config/i386/i386.c, config/i386/i386.md: Change all occurences
6455 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
6457 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
6459 * flow.c (calculate_global_regs_live): Clear aux fields of
6462 2002-03-22 Jakub Jelinek <jakub@redhat.com>
6464 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
6465 REG or MEM subregs, pass rtx * instead of rtx to it.
6466 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
6467 rtx * instead of rtx to alter_subreg.
6468 * config/m32r/m32r.c (gen_split_move_double): Likewise.
6469 * config/pj/pj.c (pj_output_rval): Likewise.
6471 2002-03-22 Richard Henderson <rth@redhat.com>
6474 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
6475 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
6476 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
6477 (ia64_expand_prologue): Look at int_regs, not words, for number
6478 of incomming int regs.
6480 2002-03-22 Andrew MacLeod <amacleod@redhat.com>
6482 * expr.c (expand_expr): A RESULT_DECL is part of a call.
6484 Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
6486 * toplev.c (flag_loop_optimize, flag_crossjumping):
6487 New static variables.
6488 (rest_of_compilation): Conditionalize crossjumping and
6490 (parse_options_and_default_flags): Default loop_optimize and
6492 (lang_independent_options): Add -fcrossjumping and -floop-optimize
6493 * invoke.texi (crossjumping, loop-optimize): Document.
6495 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6497 * real.c (eiisneg): Move outside #ifdef NANS.
6499 Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
6501 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
6502 frequencies match; avoid match on different loop depths.
6503 (try_crossjump_to_bb): Kill tests that no longer brings time
6505 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
6507 (split_edge): Likewise.
6509 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
6512 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
6513 * cfgrtl.c: Include insn-config.h
6514 (split_block) Dirtify block in presence of conditional execution
6516 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6518 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
6519 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
6520 (function_arg): Constify CUMULATIVE_ARGS.
6521 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
6522 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
6523 (UNITS_PER_DOUBLE): New macro.
6524 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
6525 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
6526 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
6527 fp_regs and stack_words.
6528 (EABI_FLOAT_VARARGS_P): New macro.
6529 * config/mips/mips.c (struct mips_arg_info): New.
6530 (mips_arg_info): New function.
6531 (function_arg_advance): Use it. Add adjustment instructions here
6532 rather than in function_arg.
6533 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
6534 for VOIDmode at the beginning of the function.
6535 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
6536 (function_arg_pass_by_reference): Likewise.
6537 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
6538 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
6539 (mips_va_start): Likewise. Use the new stack_words field of
6540 CUMULATIVE_ARGS to set up overflow area. Reformat.
6541 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
6542 doubles and other types, aligning the overflow pointer for non-doubles
6543 too. Remove some code duplication. Replace hard-coded constants.
6545 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6547 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
6548 (CLASS_UNITS): Undefine.
6549 (CLASS_MAX_NREGS): Use FP_INC.
6550 * config/mips/mips.c (compute_frame_size): Likewise.
6551 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
6553 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
6555 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
6556 prototype, and handle lexing numbers and identifiers.
6557 (parse_identifier): Update to new form of parse_slow.
6558 (parse_number): Fast path only, use parse_slow otherwise.
6559 (_cpp_lex_direct): Update calls to parse_number.
6561 2002-03-21 DJ Delorie <dj@redhat.com>
6563 * bb-reorder.c (make_reorder_chain_1): Protect against
6564 when redundant edges are omitted.
6565 * predict.c (dump_prediction): Likewise.
6567 2002-03-21 Richard Henderson <rth@redhat.com>
6570 * fixinc/inclhack.def (solaris_stdio_tag): New.
6571 * fixinc/fixincl.x: Regenerate.
6573 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
6576 * c-typeck.c (process_init_element): Flag non-static
6577 initialization of a flexible array member as illegal.
6579 2002-03-22 Alan Modra <amodra@bigpond.net.au>
6581 * config/rs6000/t-linux64: New.
6582 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
6583 t-ppccomm. Use t-rs6000 and t-linux64.
6584 (powerpc64-*-gnu* <tmake_file>): Likewise.
6585 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
6586 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
6587 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
6589 2002-03-21 Aldy Hernandez <aldyh@redhat.com>
6591 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
6592 flag_really_no_inline instead of optimize == 0.
6594 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
6596 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
6598 * flags.h (flag_really_no_inline): New.
6600 * c-common.c (c_common_post_options): Initialize
6601 flag_really_no_inline.
6603 * toplev.c (flag_really_no_inline): New.
6605 2002-03-21 Jakub Jelinek <jakub@redhat.com>
6607 * config/avr/avr.md (length): Fix length computation for
6608 conditional branches.
6610 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
6612 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
6613 sdbout.o, profile.o): Update.
6614 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
6616 * c-common.h (gettags): Move here from tree.h.
6617 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
6618 insert_block, getdecls, kept_level_p, global_bindings_p): New.
6619 * dbxout.c (dbxout_init): Use getdecls langhook.
6620 * expr.c (expand_expr): Use insert_block langhook.
6621 * fold-const.c: Include langhooks.h.
6622 (fold_range_test, fold_binary_op_with_conditional_arg,
6623 fold): Use global_bindings_p langhook.
6624 * integrate.c (expand_inline_function): Use insert_block langhook.
6625 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
6626 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
6627 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
6628 LANG_HOOKS_GETDECLS): New.
6629 (LANG_HOOKS_INITIALIZER): Update.
6630 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
6632 * langhooks.h (struct lang_hooks_for_decls): New.
6633 (struct lang_hooks): Update.
6634 * profile.c: Include langhooks.h.
6635 (output_func_start_profiler): Use new langhooks.
6636 * sdbout.c: Include langhooks.h.
6637 (sdbout_init, sdbout_finish): Use getdecls langhook.
6638 * stmt.c: Include langhooks.h.
6639 (expand_fixup, fixup_gotos): Use new langhooks.
6640 * stor-layout.c: Include langhooks.h.
6641 (variable_size): Use global_bindings_p langhook.
6642 * toplev.c (compile_file): Use getdecls langhook.
6643 * tree-inline.c (remap_block): Use insert_block langhook.
6644 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
6645 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
6647 2002-03-21 Richard Henderson <rth@redhat.com>
6649 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
6650 constants in .data when -fpic.
6652 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6654 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
6657 2002-03-21 Tom Tromey <tromey@redhat.com>
6659 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
6661 Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6663 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
6665 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
6667 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
6668 Richard Henderson <rth@redhat.com>
6671 * c-common.c (c_expand_expr): Preserve result of a statement
6672 expression if needed.
6674 2002-03-21 Jakub Jelinek <jakub@redhat.com>
6677 * genrecog.c (maybe_both_true_mode): Remove.
6678 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
6679 * machmode.def (Pmode): Likewise.
6681 Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
6683 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
6684 (nonlocal_mentioned_p_1): New function.
6685 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
6686 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
6687 (mark_constant_function): Recognize pure functions.
6688 * rtl.h (global_reg_mentioned_p): New prototype.
6689 * rtlanal.c (global_reg_mentioned_p,
6690 global_reg_mentioned_p_1): New function.
6692 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6694 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
6696 * fixinc/fixincl.x: Regenerate.
6698 2002-03-20 Jason Merrill <jason@redhat.com>
6700 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
6702 2002-03-20 Michael Meissner <meissner@redhat.com>
6704 * doc/invoke.texi (Optimize Options): Document that -O2 sets
6707 2002-03-20 Bob Wilson <bob.wilson@acm.org>
6709 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
6710 ".literal_position" directive before the constant pool.
6712 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6714 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
6715 Add Craig Rodrigues.
6716 Add Brad Lucier to testers.
6718 2002-03-20 Jakub Jelinek <jakub@redhat.com>
6721 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
6723 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
6724 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
6725 instead of insn_extract.
6727 2002-03-20 Jakub Jelinek <jakub@redhat.com>
6730 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
6732 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
6733 stmt if some case has been output.
6735 2002-03-20 Jakub Jelinek <jakub@redhat.com>
6738 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
6739 movsfcc_1, movdfcc_1): Add %O2.
6740 * config/i386/i386.c (print_operand): Handle %ON.
6741 Print . before float condition codes in Sun as cmov syntax.
6742 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
6743 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
6746 2002-03-20 Philip Blundell <pb@nexus.co.uk>
6748 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
6749 return instruction if PC was popped.
6751 2002-03-20 Bob Wilson <bob.wilson@acm.org>
6753 * config/xtensa/xtensa.md: Remove unused type attributes.
6754 (adddi_carry, subddi_carry): Change type attribute to "multi".
6756 2002-03-19 Dale Johannesen <dalej@apple.com>
6758 PR optimization/5999, middle-end/5731
6759 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
6760 multiplications by reciprocals.
6762 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
6764 * Makefile.in: Update.
6765 * c-common.c: Include langhooks.h.
6766 (inline_forbidden_p): Use new hook.
6767 * diagnostic.c: Include langhooks.h.
6768 (format_with_decl, announce_function,
6769 default_print_error_function): Use new hook.
6770 * dwarf2out.c (dwarf2_name): Use new hook.
6771 * function.c: Include langhooks.h.
6772 (init_function_start): Use new hook.
6773 * langhooks-def.h (lhd_decl_printable_name): New.
6774 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
6775 (LANGHOOKS_INITIALIZER): Update.
6776 * langhooks.c (lhd_decl_printable_name): New.
6777 * langhooks.h (struct lang_hooks): New hook.
6778 * toplev.c (decl_name, decl_printable_name): Remove.
6779 (open_dump_file): Use new hook.
6780 (process_options): Remove old hook.
6781 * tree.h (decl_printable_name): Remove.
6783 * objc-act.c (objc_init): Remove old hook.
6784 (objc_printable_name): Export.
6785 * objc-act.h (objc_printable_name): New.
6786 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
6788 2002-03-19 Jim Blandy <jimb@redhat.com>
6790 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
6791 the start_source_file debug hook, not the current line number.
6793 2002-03-19 Richard Henderson <rth@redhat.com>
6795 * flow.c (EH_USES): Provide default.
6796 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
6797 * doc/tm.texi (EH_USES): New.
6799 * config/ia64/ia64.c (ia64_eh_uses): New.
6800 * config/ia64/ia64-protos.h: Update.
6801 * config/ia64/ia64.h (EH_USES): New.
6803 2002-03-19 Richard Henderson <rth@redhat.com>
6805 * varasm.c (output_constant_def): Fix stupid typo.
6807 2002-03-19 Richard Henderson <rth@redhat.com>
6810 * except.c (current_function_has_exception_handlers): New.
6811 * except.h: Declare it.
6812 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
6813 Combine tests that disable all sibcalls for the function.
6815 2002-03-19 Olivier Hainque <hainque@act-europe.fr>
6817 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
6820 2002-03-19 Richard Henderson <rth@redhat.com>
6823 * config/ia64/ia64.c: Revert 2002-03-01 patch.
6824 * config/ia64/ia64.h (INIT_EXPANDERS): New.
6826 2002-03-19 Jim Blandy <jimb@redhat.com>
6828 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
6829 name, even if the replacement list contains no tokens, as required
6832 2002-03-19 Jason Merrill <jason@redhat.com>
6834 * varasm.c (globalize_decl): Get the name from the RTL, not
6835 DECL_ASSEMBLER_NAME.
6837 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
6839 2002-03-19 Bob Wilson <bob.wilson@acm.org>
6841 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
6842 subdi_carry): Define.
6844 2002-03-19 David Edelsohn <edelsohn@gnu.org>
6846 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
6847 about -fpic/-fPIC if extra_warnings set.
6849 2002-03-19 David Edelsohn <edelsohn@gnu.org>
6851 * expr.c (expand_expr): Sign-extend CONST_INT generated from
6852 TREE_STRING_POINTER.
6853 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
6855 Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6857 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
6858 in favor of SP if FRAME_POINTER_REQUIRED is false.
6860 2002-03-19 Lars Brinkhoff <lars@nocrew.org>
6862 * emit-rtl.c (gen_int_mode): New function.
6863 * rtl.h: Prototype for it.
6864 * combine.c (make_extraction, simplify_comparison), expmed.c
6865 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
6866 (convert_modes, store_field), optabs.c (expand_fix),
6867 simplify-rtx.c (neg_const_int, simplify_unary_real),
6869 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
6870 Use it instead of GEN_INT (trunc_int_for_mode (...)).
6872 2002-03-19 Jakub Jelinek <jakub@redhat.com>
6875 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
6876 convert_parm_for_inlining.
6877 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
6879 * langhooks-def.h: Likewise.
6880 * objc/objc-lang.c: Likewise.
6881 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
6883 * tree-inline.c (initialize_inlined_parameters):
6884 Call convert_parm_for_inlining lang hook if needed.
6885 * c-typeck.c (c_convert_parm_for_inlining): New function.
6886 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
6888 2002-03-18 Mark Mitchell <mark@codesourcery.com>
6890 * calls.c (precompute_arguments): Do not assume that temporaries
6891 can be destroyed after expanding the argument.
6892 (expand_call): Likewise.
6894 2002-03-15 Eric Christopher <echristo@redhat.com>
6896 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
6897 Fix register preference on last change.
6898 * config/mips/mips.c (mips_return_in_memory): New function.
6899 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
6900 * config/mips/mips-protos.h: Declare.
6901 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
6902 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
6904 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
6906 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
6908 (anddi3, iorsi3): Likewise.
6910 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
6911 use %gprel for symbols that are going to be placed in linkonce
6914 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
6915 RETURN_ADDRESS_POINTER_REGNUM to $ra.
6916 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
6917 not needed. Disregard leaf_function_p().
6918 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
6919 mips16 frame pointer.
6920 * config/mips/mips.md (store ra): Only to small SP offsets.
6921 2001-08-22 Graham Stott <grahams@redhat.com>
6922 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
6923 return a REG rtx for the return address register.
6925 2002-03-18 Bob Wilson <bob.wilson@acm.org>
6927 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
6928 constant-pool addresses as "mode-dependent".
6929 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
6931 2002-03-18 Jakub Jelinek <jakub@redhat.com>
6934 * expr.c (emit_group_load): Use extract_bit_field if
6935 needed for CONCAT arguments.
6937 2002-03-18 Richard Earnshaw <rearnsha@arm.com>
6940 * arm.md (tablejump): Make this a define_expand. For PIC add the
6941 offset to the base of the table.
6942 (thumb_tablejump): Matcher for Thumb tablejump insn.
6943 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
6944 as the difference of two labels.
6945 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
6946 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
6948 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
6949 * arm.c (get_jump_table_size): If the table is not in the text
6950 section, return zero.
6952 2002-03-18 Bernd Schmidt <bernds@redhat.com>
6954 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
6956 (arm_reload_out_hi): Use gen_lowpart instead of
6957 gen_rtx_SUBREG to access QImode components.
6958 * config/arm/arm.md: Disable zero_extend split for QImode
6959 subregs in BIG_ENDIAN mode.
6960 (storehi_bigend): Match use of least significant byte.
6961 (storeinthi): Remove extraneous SUBREG.
6962 Add missing construction of operands[2].
6963 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
6964 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
6965 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
6967 2002-03-18 Aldy Hernandez <aldyh@redhat.com>
6969 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
6972 2002-03-17 Richard Henderson <rth@redhat.com>
6974 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
6977 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
6979 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
6980 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
6982 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6984 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
6986 * predict.c (estimate_bb_frequencies): Delete unused variables.
6988 2002-03-17 Richard Henderson <rth@redhat.com>
6990 * config/ia64/ia64.c (ia64_attribute_table): Move before
6991 targetm definition. Make static.
6993 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
6995 * c-common.h (yyparse, c_common_parse_file): New.
6996 * c-lang.c: Include c-common.h.
6997 (LANG_HOOKS_PARSE_FILE): Redefine.
6998 * c-lex.c: Include c-common.h.
6999 (yyparse): Rename c_common_parse_file. Call yyparse.
7000 * c-parse.in (yyparse): Remove macro.
7001 * c-tree.h (yyparse_1): Remove.
7002 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
7003 (LANG_HOOKS_INITIALIZER): Update.
7004 * langhooks.h (struct lang_hoooks): New hook parse_file.
7005 * toplev.c (compile_file): Use parse_file hook.
7006 * tree.h (yyparse): Remove.
7007 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
7009 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
7011 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
7012 float_truncate, not fix.
7013 ("*truncdfsf2_real"): Ditto.
7014 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
7016 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
7018 2002-03-16 Alexandre Oliva <aoliva@redhat.com>
7020 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
7021 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
7022 where appropriate. Make the second reference to
7023 leaf_function_p a function call, as intended. Reindented.
7025 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
7026 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
7028 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
7029 add register to non-constant into sp.
7031 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
7032 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
7033 (mips16_gp_pseudo_rtx): Lose.
7034 (INIT_EXPANDERS): Deleted.
7035 * config/mips/mips.c (mips_init_machine_status): New.
7036 (mips_free_machine_status): New.
7037 (mips_mark_machine_status): New.
7038 (override_options): Set them.
7039 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
7040 (struct machine_function): ... new. Replaced all references.
7041 (mips_add_gc_roots): Don't mark them.
7042 (embedded_pic_fnaddr_reg): New, extracted from...
7043 (embedded_pic_offset): ... here.
7044 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
7047 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
7049 * cppinit.c: Revert -MD removal.
7051 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7053 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
7054 soft registers by default for 68HC12.
7055 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
7056 when compiling with -fomit-frame-pointer.
7057 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
7058 (expand_epilogue): Likewise.
7059 (m68hc11_gen_rotate): Use exg when rotating by 8.
7061 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7063 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
7064 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
7065 (splits): Remove unused add splits.
7066 ("*addhi3_68hc12"): Tune constraints.
7067 ("addhi_sp"): Try to use X instead of Y in all cases and if the
7068 constant fits in 8-bits and D is dead use abx/aby instructions.
7069 ("*addhi3"): Remove extern declaration of ix_reg.
7070 ("*subsi3"): Optimize and provide new split.
7071 ("subhi3"): Cleanup.
7072 ("*subhi3_sp"): Avoid saving X if we know it is dead.
7073 (arith splits): For 68hc12 save the address register on the stack
7074 and do the arithmetic operation with a pop.
7076 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7078 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
7079 allocating QImode in address registers.
7080 ("*movqi_m68hc11"): Likewise.
7082 Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
7084 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
7086 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
7088 * cppinit.c (print_help): Display -MD and -MMD.
7089 Don't display usage string. Update assertion syntax and
7091 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
7092 (cpp_handle_option): Update.
7094 2002-03-15 Chris Demetriou <cgd@broadcom.com>
7096 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
7097 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
7098 and define it so that regardless of target CPU size,
7099 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
7100 of "int" rather than "long."
7102 2002-03-15 Richard Henderson <rth@redhat.com>
7104 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
7107 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7109 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
7110 ("tstqi" split): Avoid using memory for tstqi on address register.
7111 (splits): Remove constraints.
7112 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
7113 ("cmpdf", "cmpsf"): Remove since not used.
7114 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
7115 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
7117 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7119 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
7120 ("neghi2"): Tighten constraints.
7121 ("one_cmplsi2"): Optimize and simplify split.
7122 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
7124 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7126 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
7127 and split of AND operation to clear the upper bits.
7128 ("*logicalsi3_zextqi"): Likewise.
7129 ("*logicallhi3_zexthi_ashift8"): Likewise.
7130 ("*logicalsi3_silshr16"): Likewise.
7131 ("logicalsi3_silshl16"): Likewise.
7132 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
7134 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7136 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
7137 (m68hc11_indirect_p): New function.
7138 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
7139 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
7141 (asm_print_register): Likewise.
7142 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
7143 (m68hc11_indirect_p): Declare.
7144 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
7145 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
7146 (TARGET_SWITCHES): New option -mrelax.
7147 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
7149 ("iorsi3", "xorsi3"): Likewise.
7150 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
7151 ("*andhi3_mem"): New to handle destination in memory with bclr
7152 and a scratch register.
7153 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
7154 ("*andhi3_const"): New when operand2 is constant.
7155 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
7156 ("*andhi3_gen"): Cleanup of the old "andhi3".
7157 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
7158 ("xorqi3"): Update constraints.
7160 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7162 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
7163 for reg_equiv_memory_loc when the operand is a register that does
7164 not get a hard register (stack location).
7165 (tst_operand): After reload, accept all memory operand.
7166 (symbolic_memory_operand): Fix detection of symbolic references.
7167 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
7168 accept symbols and any constant.
7170 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7172 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
7173 note on the insn that sets the soft frame register.
7174 (must_parenthesize): ix and iy are also reserved names.
7175 (print_operand_address): One more place where parenthesis are required
7176 to avoid confusion with register names.
7177 (m68hc11_gen_movhi): Allow push of stack pointer.
7178 (m68hc11_check_z_replacement): Fix handling of parallel with a
7180 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
7181 the replacement register is.
7182 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
7183 and D8_REGS classes.
7184 (MODES_TIEABLE_P): All modes are tieable except QImode.
7186 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7188 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
7189 (___subdi3): Likewise.
7190 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
7191 (__map_data_section): Optimize 68hc11 case.
7193 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7195 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
7196 than a shift to avoid adding a register with itself.
7197 (m68hc11_memory_move_cost): Take into account NO_REGS.
7198 (m68hc11_register_move_cost): Update and use memory move cost
7200 (m68hc11_address_cost): Make cost of valid offset not 0 so that
7201 it gives more opportunities to cse to optimize.
7202 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
7203 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
7205 2002-03-15 Mark Mitchell <mark@codesourcery.com>
7207 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
7208 * c-common.def (CLEANUP_STMT): New tree node.
7209 * c-common.h (CLEANUP_DECL): New macro.
7210 (CLEANUP_EXPR): Likewise.
7211 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
7212 * expr.c (expand_expr): Tidy.
7213 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
7214 * tree-inline.c (initialize_inlined_parameters): Clean up
7215 new local variables.
7217 2002-03-15 Jakub Jelinek <jakub@redhat.com>
7220 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
7221 before movrXX only, use reg_overlap_mentioned_p.
7222 Only special case NE if just one insn can be generated.
7224 2002-03-15 Jason Merrill <jason@redhat.com>
7226 * varasm.c (assemble_variable): Call resolve_unique_section before
7227 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
7230 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
7233 * arm.md (split pattern for thumb shiftable immediates): Add comment
7234 explaining non-obvious test.
7236 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
7239 * arm.md (movaddr, movaddr_insn): Delete.
7241 2002-03-15 Jason Merrill <jason@redhat.com>
7243 * toplev.c (wrapup_global_declarations): Clarify variable handling.
7244 -fkeep-static-consts doesn't apply to comdats.
7246 2002-03-14 Richard Henderson <rth@redhat.com>
7248 * c-decl.c: Include c-pragma.h.
7249 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
7250 (finish_function): Tidy.
7251 * c-pragma.c: Include c-common.h.
7252 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
7253 (handle_pragma_weak): Use them.
7254 (init_pragma): Register pending_weaks.
7255 * c-pragma.h (maybe_apply_pragma_weak): Declare.
7256 * print-tree.c (print_node): Print DECL_WEAK.
7257 * varasm.c (mark_weak_decls): Remove.
7258 (remove_from_pending_weak_list): Remove.
7260 (asm_emit_uninitialised): Call globalize_decl for weak commons.
7261 (weak_decls): Make a tree_list.
7262 (declare_weak): Cons weak_decls directly.
7263 (globalize_decl): Remove weak_decls elements directly.
7264 (weak_finish): Simplify weak_decls walk. Don't weaken unused
7265 symbols. Don't pretend to handle aliases.
7266 (init_varasm_once): Update weak_decls registry.
7267 * Makefile.in: Update dependencies.
7269 2002-03-14 Richard Henderson <rth@redhat.com>
7272 * config/ia64/ia64.c: Include tm_p.h last.
7273 (gen_nop_type): Remove duplicate definition.
7274 (cycle_end_fill_slots): Set sched_data for second L slot.
7275 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
7276 (nop_cycles_until): Fix typos.
7278 2002-03-15 Jakub Jelinek <jakub@redhat.com>
7280 PR optimization/5891
7281 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
7283 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
7285 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
7286 descriptors correctly.
7288 2002-03-14 Michael Meissner <meissner@redhat.com>
7290 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
7291 100, allowing MAX_UNROLLED_INSNS to be overridden.
7293 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
7296 * unroll.c (params.h): Include.
7297 (MAX_UNROLLED_INSNS): Delete, now in params.h.
7299 * doc/invoke.texi (--param max-unroll-insns): Document.
7301 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
7303 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
7305 * arm.md: Fix warnings about constraints in peepholes and splits.
7307 2002-03-14 Zack Weinberg <zack@codesourcery.com>
7309 * cpphash.h (struct lexer_state): Remove line_extension member.
7310 * cpplib.c (dequote_string, do_linemarker): New functions.
7311 (linemarker_dir): New data object.
7312 (DIRECTIVE_TABLE): No longer need to interpret #line in
7313 preprocessed source. Delete obsolete comment about return
7315 (end_directive, directive_diagnostics, _cpp_handle_directive):
7316 Don't muck with line_extension.
7317 (directive_diagnostics): No need to issue warnings for
7319 (_cpp_handle_directive): Issue warnings for linemarkers here,
7320 when appropriate. Dispatch linemarkers to do_linemarker, not
7322 (do_line): Code to handle linemarkers split out to do_linemarker.
7323 Convert escape sequences in filename argument, both places.
7325 * cppmacro.c (quote_string): Rename cpp_quote_string and
7326 export. All callers changed.
7327 * cpplib.h (cpp_quote_string): Prototype.
7328 * cppmain.c (print_line): Call cpp_quote_string on to_file
7331 * doc/cpp.texi: Document that escapes are now interpreted in
7332 #line and in linemarkers, and that non-printing characters are
7333 converted to octal escapes when linemarkers are generated.
7335 Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
7337 * emit-rtl.c (try_split): Use delete_insns.
7338 * recog.c (split_all_insns): Fix terminating condition.
7340 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
7341 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7344 * arm.c (arm_output_epilogue): Fix floating-point register save
7345 adjustment when using a frame pointer.
7347 2002-03-14 Richard Sandiford <rsandifo@redhat.com>
7349 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
7350 * config/mips/mips.c (compute_frame_size): Retrofit them here.
7351 (save_restore_insns, mips_expand_epilogue): And here.
7352 (build_mips16_call_stub): And here.
7353 (mips_function_value): Use the new macros to decide whether a single
7354 or complex float can be returned in floating-point registers. Return
7355 a parallel rtx in the complex case.
7357 Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
7359 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
7360 call after liveness analysis.
7362 * recog.c (split_insn): Use delete_insn_and_edges.
7364 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
7365 instructions to have branch prediction notes.
7366 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
7368 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
7370 * configure.in: Don't pass -Wno-long-long to a ADA compiler
7371 that doesn't support it.
7372 * configure: Regenerate.
7374 2002-03-13 Jakub Jelinek <jakub@redhat.com>
7377 * config/sparc/sparc.md (normal_branch, inverted_branch,
7378 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
7379 inverted_fp_branch): Adjust calls to output_cbranch.
7380 Set length attribute.
7381 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
7382 output_v9branch. Set length attribute.
7383 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
7385 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
7386 (output_cbranch): Likewise. Handle far branches.
7387 (output_v9branch): Handle far branches.
7388 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
7390 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
7391 noov_compare64_op predicates.
7393 2002-03-13 Jason Merrill <jason@redhat.com>
7395 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
7396 into the function and constify it.
7397 * gthr-dce.h, gthr-solaris.h: Likewise.
7399 2002-03-13 David Edelsohn <edelsohn@gnu.org>
7401 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
7402 * config/rs6000/rs6000.c (rs6000_va_arg): Use
7403 std_expand_builtin_va_arg if not ABI_V4.
7405 2002-03-13 Jason Merrill <jason@redhat.com>
7407 * varasm.c (globalize_decl): New fn.
7408 (assemble_start_function): Use it.
7409 (asm_emit_uninitialized): Use it.
7410 (assemble_alias): Use it.
7411 (assemble_variable): Use it.
7413 2002-03-13 Hans-Peter Nilsson <hp@axis.com>
7415 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
7416 2002-03-12 internal visibility change.
7417 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
7418 visibility into SYMBOL_REF_FLAG.
7420 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7422 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
7423 VOIDmode operand. Add compile-time optimization for constant results.
7425 2002-03-12 Jason Merrill <jason@redhat.com>
7427 * c-typeck.c (convert_for_assignment): Don't allow conversions
7428 between pointers and references. Only allow lvalues to convert to
7431 2002-03-13 Hartmut Penner <hpenner@de.ibm.com>
7433 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
7434 before prologue, to avoid scheduling problems.
7436 2002-03-13 Jakub Jelinek <jakub@redhat.com>
7438 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
7439 (ELIMINABLE_REGS): Add sfp->sp.
7440 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
7442 2002-03-13 Jakub Jelinek <jakub@redhat.com>
7444 PR optimization/5892
7445 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
7447 2002-03-13 Jakub Jelinek <jakub@redhat.com>
7449 * loop.c (basic_induction_var): Don't call convert_modes if mode
7450 classes are different.
7452 2002-03-12 Richard Henderson <rth@redhat.com>
7454 PR optimization/5901
7455 * function.c (reposition_prologue_and_epilogue_notes): Position
7456 the markers after/before the last/first insn not deleted.
7458 2002-03-12 Richard Henderson <rth@redhat.com>
7460 PR optimization/5878
7461 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
7462 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
7463 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
7465 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
7466 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
7467 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
7469 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
7470 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
7471 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
7472 also. Don't set it if not flag_pic.
7473 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
7474 to be INVALID_REGNUM when not used.
7476 2002-03-13 Aldy Hernandez <aldyh@redhat.com>
7478 * expmed.c (store_bit_field): Reset alias set for memory.
7479 (extract_bit_field): Same.
7481 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7483 * c-common.c (c_tree_code_type, c_tree_code_length,
7484 c_tree_code_name, add_c_tree_codes): Delete.
7485 * c-common.h (add_c_tree_codes): Delete.
7486 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
7488 * c-objc-common.c (c_objc_common_init): Don't call
7489 add_c_tree_codes, instead set lang_unsafe_for_reeval.
7490 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
7491 objc_tree_code_name, add_objc_tree_codes): Delete.
7492 (objc_init): Don't call add_objc_tree_codes.
7493 * objc/objc-lang.c (tree_code_type, tree_code_length,
7494 tree_code_name): Define.
7495 * toplev.c (lang_independent_init): Don't set
7496 tree_code_length[IDENTIFIER_NODE].
7497 * tree.c (tree_code_type, tree_code_length, tree_code_name):
7498 Delete definitions, moved to language front-ends.
7499 * tree.def (IDENTIFIER_NODE): Hardwire the length.
7500 * tree.h (tree_code_type, tree_code_length, tree_code_name):
7502 (tree_code_length): Change type to unsigned char.
7504 2002-03-12 Richard Henderson <rth@redhat.com>
7506 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
7507 internal visibility change.
7509 2002-03-12 Bob Wilson <bob.wilson@acm.org>
7511 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
7512 validize_mem() instead of change_address to avoid clobbering
7515 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
7517 * c-lex.h (position_after_whitespace): Remove.
7519 2002-03-12 Jakub Jelinek <jakub@redhat.com>
7521 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
7522 (lex_string): Use unsigned char pointers.
7524 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7526 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
7527 is not a valid memory_operand.
7529 2002-03-12 Bob Wilson <bob.wilson@acm.org>
7531 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
7532 * config/xtensa/lib1funcs.asm: Fix copyright to include
7533 special case for libgcc files.
7534 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
7535 (__divsi3): Likewise.
7536 (__umodsi3): Likewise.
7537 (__modsi3): Likewise.
7538 * config/xtensa/lib2funcs.S: Fix copyright to include
7539 special case for libgcc files.
7541 2002-03-12 Tom Rix <trix@redhat.com>
7543 * collect2.c (resolve_lib_name): Move outside of
7544 OBJECT_FORMAT_COFF ifdef.
7545 (ignore_library): Same.
7547 2002-03-12 Bob Wilson <bob.wilson@acm.org>
7549 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
7551 2002-03-12 Bob Wilson <bob.wilson@acm.org>
7553 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
7554 to function_section before writing out the constant pool.
7556 2002-03-12 David Edelsohn <edelsohn@gnu.org>
7558 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
7560 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
7562 2002-03-12 Alan Modra <amodra@bigpond.net.au>
7564 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
7568 (cmpsi splitter): Likewise.
7569 (modsi3): Fail if <= 0.
7570 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
7571 redundant test when HOST_BITS_PER_WIDE_INT != 32.
7572 (reg_or_sub_cint64_operand): Likewise.
7573 (num_insns_constant_wide): Optimize sign extension.
7574 (rs6000_legitimize_address): Likewise.
7576 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
7578 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
7579 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
7581 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
7583 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
7584 address calculation.
7586 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7588 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
7589 scratch register to DImode / TImode.
7590 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
7591 register used does not overlap the target.
7593 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7595 * Makefile.in (debug.o): Depend on debug.h.
7596 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
7597 * debug.c (do_nothing_debug_hooks): Likewise.
7598 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
7599 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
7600 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
7601 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
7602 * dwarfout.c (dwarf_debug_hooks): Likewise.
7603 * integrate.c (output_inline_function): Likewise.
7604 * objc/objc-act.c (synth_module_prologue): Likewise.
7605 * sdbout.c (sdb_debug_hooks): Likewise.
7606 * toplev.c (debug_hooks): Likewise.
7607 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
7609 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7611 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
7612 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
7613 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
7614 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
7615 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
7616 * defaults.h (POINTER_SIZE): Define.
7617 * doc/tm.texi (POINTER_SIZE): Document default.
7619 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7621 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
7623 2002-03-11 Richard Henderson <rth@redhat.com>
7625 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
7626 if rebuild_label_notes_after_reload.
7628 2002-03-12 Hans-Peter Nilsson <hp@axis.com>
7630 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
7631 emit pic register load if "internal" visibility.
7632 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
7633 (cris_expand_builtin_va_arg): Do all computations on trees.
7635 2002-03-11 Richard Henderson <rth@redhat.com>
7637 * rtlanal.c: Include recog.h.
7638 (keep_with_call_p): Fix thinko.
7639 * Makefile.in (rtlanal.o): Update dependencies.
7641 2002-03-11 Chris Meyer <cmeyer@gatan.com>
7643 * genflags.c (gen_insn): Use IS_VSPACE.
7644 * genoutput.c (output_insn_data): Likewise.
7645 (process_template): Likewise.
7647 2002-03-11 Richard Henderson <rth@redhat.com>
7649 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
7651 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
7653 * Makefile.in: Update.
7654 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
7655 Update documentation.
7656 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
7657 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
7659 2002-03-11 Zack Weinberg <zack@codesourcery.com>
7661 * Makefile.in: Give texi2pod its input file as a command line
7662 argument, not on stdin.
7664 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
7665 Daniel Berlin <dan@dberlin.org>
7667 C++ alias analysis improvement.
7668 * alias.c (record_component_aliases): Record aliases for base
7671 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
7673 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
7675 2002-03-11 Douglas B Rupp <rupp@gnat.com>
7677 * toplev.c (vms_fopen): Remove, not needed.
7679 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
7681 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
7683 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
7684 for FP, already done later.
7686 * toplev.c (debug_args): Add entry for VMS_DEBUG.
7687 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
7689 2002-03-11 Richard Sandiford <rsandifo@redhat.com>
7691 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
7692 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
7693 LARGEST_EXPONENT_IS_NORMAL for the given mode.
7694 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
7695 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
7696 (ediv, emul, eldexp, esqrt): Likewise.
7697 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
7698 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
7699 (saturate): New function.
7700 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
7701 (make_nan): Use a saturation value instead of a NaN if
7702 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
7703 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
7704 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
7705 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
7706 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
7707 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
7708 !ROUND_TOWARDS_ZERO.
7709 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
7710 (ROUND_TOWARDS_ZERO): Document.
7712 2002-03-11 Andreas Jaeger <aj@suse.de>
7714 * cfg.c (dump_flow_info): Remove unused variable.
7716 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
7718 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
7719 computations on trees.
7721 2002-03-10 Richard Henderson <rth@redhat.com>
7724 * reload.c (copy_replacements_1): New.
7725 (copy_replacements): Use it to recurse through the rtx.
7727 2002-03-10 Richard Henderson <rth@redhat.com>
7729 * loop.c (strength_reduce): Compute number of iterations as
7730 unsigned HOST_WIDE_INT.
7732 2002-03-10 Richard Henderson <rth@redhat.com>
7734 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
7735 to move away from the end of the block.
7737 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
7739 PR preprocessor/5899
7740 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
7742 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7744 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
7746 * attribs.c (decl_attributes): Fix signed/unsigned warning.
7748 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
7750 * config/mmix/mmix.c: Improve comments.
7751 (mmix_target_asm_function_prologue): Drop variable
7752 empty_stack_frame. Don't allocate unused slot above fp.
7753 (mmix_target_asm_function_epilogue): Mirror prologue changes.
7754 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
7755 brace in first column.
7756 (enum reg_class): Ditto.
7757 (FIRST_PARM_OFFSET): Now 0.
7758 (USER_LABEL_PREFIX): Remove #if 0:d definition.
7760 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7762 * combine.c (make_extraction): Fix error in last change.
7764 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7766 * c4x.c (c4x_fp_reglist): Const-ify.
7767 * cris.c (cris_print_operand): Likewise.
7768 * i386.c (ix86_va_arg): Likewise.
7769 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
7770 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
7771 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
7772 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
7773 * mcore.h (regno_reg_class): Likewise.
7774 * mips.c (gen_int_relational): Likewise.
7775 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
7776 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
7777 * pdp11.c (move_costs): Likewise.
7778 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
7779 * s390.c (s390_branch_condition_mnemonic, regclass_map):
7781 * s390.h (regclass_map): Likewise.
7782 * sh.c (shift_amounts): Likewise.
7783 * sh.md (rotlsi3): Likewise.
7785 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
7787 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
7788 (ne0+5): Use new clobber to generate proper shift pattern.
7789 Patch by Michael Matz <matz@kde.org>.
7791 2002-03-09 Andreas Schwab <schwab@suse.de>
7793 * gcc.c (validate_all_switches): Also handle `%W{...}'.
7795 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
7797 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
7799 2002-03-09 Jakub Jelinek <jakub@redhat.com>
7802 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
7803 even for non-representable constants.
7805 Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7807 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
7808 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
7809 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
7810 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
7811 (pop_function_context): Compute MAY_SHARE parameter for
7813 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
7814 (gen_mem_addressof): Call fixup_var_refs with new parm.
7816 * combine.c (make_extraction): Don't make extension of CONST_INT.
7818 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
7820 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
7821 in o32 and o64 ABIs.
7822 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
7823 but getting fixed-size structs passed in registers regardless of
7824 padding in o32 and o64 ABIs.
7826 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
7827 offset before loading address of argument passed by transparent
7830 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
7832 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
7834 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
7836 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
7837 marker such that registers after it are saved.
7839 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7841 * sparc.c (arith_4096_operand): Fix error in last change.
7843 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
7845 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
7848 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
7850 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
7853 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
7855 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
7857 Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
7859 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
7860 removed; fix return value.
7861 * combine.c (combine_instructions): Dirtify blocks where we failed to
7862 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
7863 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
7865 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7867 * gcse.c (insert_insn_end_bb): Fix typo in last change.
7869 Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
7871 * recog.c (peephole2_optimize): Re-distribute EH edges.
7873 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
7875 * expr.c (expand_expr): Use unsave lang hook.
7876 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
7877 (LANG_HOOKS_INITIALIZER): Update.
7878 * langhooks.h (struct lang_hooks): New hook unsave.
7879 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
7880 (unsave_expr_1): Remove unused lang_unsave_expr_now.
7881 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
7882 (unsave_expr_now): Remove.
7883 * tree.h (unsave_expr_now, lang_unsave,
7884 lang_unsave_expr_now): Remove.
7887 2002-03-08 Andreas Jaeger <aj@suse.de>
7889 * flow.c (propagate_block_delete_insn): Remove unused variable.
7891 2002-03-08 Kazu Hirata <kazu@hxi.com>
7893 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
7894 insn length for memory load/store.
7896 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
7898 * doc/install.texi (--with-libiconv-prefix): Document.
7900 2002-03-08 Michael Y. Brukman <myb2@cornell.edu>
7902 * doc/sourcebuild.texi: Fix typo.
7904 2002-03-08 Jakub Jelinek <jakub@redhat.com>
7907 * builtins.c (std_expand_builtin_va_arg): Do all computations on
7910 Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7912 * rtl.c (copy_most_rtx): Move from here ...
7913 * emit-rtl.c (copy_most_rtx): ... to here.
7915 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
7917 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
7918 SUBTARGET_CPP_SIZE_SPEC.
7919 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
7921 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
7923 2002-03-07 Matt Hiller <hiller@redhat.com>
7925 * gensupport.c (first_dir_md_include): Renamed from include;
7926 change all references.
7927 (last_dir_md_include): Renamed from last_include; change all
7929 (init_md_reader): Unconditionally initialize base_dir whether or
7930 not filename is a relative path.
7932 2002-03-07 Alexandre Oliva <aoliva@redhat.com>
7934 * config/fp-bit.c (_unord_f2): Compile it in even if
7935 US_SOFTWARE_GOFAST is enabled.
7937 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
7938 NULL_RTX. Set all HFmode operations as NULL_RTX.
7939 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
7940 NULL_RTX, try reversing the comparison and the operands.
7942 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
7944 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
7945 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
7948 Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
7950 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
7952 Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
7954 * basic-block.h (fixup_abnormal_edges): Declare.
7955 * reload1.c (fixup_abnormal_edges): New function.
7956 * reg-stack.c (convert_regs): Use it.
7958 * gcse.c (insert_insn_end_bb): Handle trapping insns.
7960 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
7962 2002-03-07 Richard Sandiford <rsandifo@redhat.com>
7964 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
7965 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
7966 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
7967 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
7968 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
7969 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
7970 unless x and y could be infinite.
7971 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
7972 Check that the common type of both arguments is a real, even for
7973 targets without unordered comparisons. Allow an integer argument
7974 to be compared against a real.
7975 (expand_tree_builtin): Use expand_unordered_cmp.
7976 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
7977 * cse.c (fold_rtx): Likewise. Fix indentation.
7978 * fold-const.c (fold_real_zero_addition_p): New.
7979 (fold): Use it, and the new HONOR_... macros.
7980 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
7981 * jump.c (reversed_comparison_code_parts): After searching for
7982 the true comparison mode, use HONOR_NANS to decide whether it
7983 can be safely reversed.
7984 (reverse_condition_maybe_unordered): Remove IEEE check.
7985 * simplify-rtx.c (simplify_binary_operation): Use the new macros
7986 to decide which simplifications are valid. Allow the following
7987 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
7988 and (a - -b) to (a + b).
7989 (simplify_relational_operation): Use HONOR_NANS.
7990 * doc/tm.texi: Document the MODE_HAS_... macros.
7992 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
7994 * combine.c (simplify_comparison): If simplifying a logical shift
7995 right and compare with constant, force the comparison to unsigned.
7997 2002-03-07 Aldy Hernandez <aldyh@redhat.com>
7999 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
8001 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
8003 (alt_reg_names): Remove % for vrsave.
8005 2002-03-06 Richard Henderson <rth@redhat.com>
8007 PR optimization/5844
8008 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
8009 if used indicates we've already emitted one copy of an operand.
8010 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
8011 (gen_split): Supply a non-null used.
8013 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
8015 * reload1.c (reload): Unshare all rtl after reload is done.
8017 * simplify-rtx.c (simplify_plus_minus): Do not abort,
8018 but simply fail if the expression is too complex to simplify.
8019 (simplify_gen_binary): Handle simplify_plus_minus failures.
8021 Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
8023 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
8024 consistently call delete_trivially_dead_insns after CSE and GCSE;
8025 fix DFI_life dumping; do jump threading after liveness; do crossjumping
8026 after liveness2; update comment in last crossjumping.
8027 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
8029 Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
8031 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
8032 after completing fast dead code elimination.
8034 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
8037 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
8039 * version.c: Fix misplaced leading blanks on first line.
8041 Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
8043 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
8045 Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
8047 * cfgcleanup.c (mentions_nonequal_regs): New function.
8048 (thread_jump): Use it.
8049 * toplev.c (rest_of_compilation): Run jump threading after
8052 2002-03-06 Jakub Jelinek <jakub@redhat.com>
8054 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
8057 Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
8059 * predict.c (estimate_bb_frequencies): Do not reload the
8060 frequencies from notes.
8062 Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
8064 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
8065 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
8067 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
8068 delete_noop_moves): Return indeger.
8069 * flow.c (ndead): New variable.
8070 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
8071 BB argument; update callers.
8072 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
8073 (life_analysis): Do not call purge_all_dead_edges.
8074 (update_life_info): Return number of deleted insns; print statistics.
8075 (update_life_info_in_dirty_blocks): likewise.
8076 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
8077 return number of insns deleted.
8079 * cse.c: Include timevar.h
8080 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
8081 iterate until stabilizes; print statistics; return number of killed
8083 * Makefile.in: (cse.o): Add timevar.h dependency
8084 * rtl.h (delete_trivially_dead_insns): New.
8085 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
8086 * toplev.c (rest_of_compilation): Update callers.
8088 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
8089 (try_optimize_cfg): Do not update liveness.
8090 (cleanup-cfg): Loop until try_optimize_cfg and dead code
8091 removal stabilizes; use delete_trivially_dead_insns.
8093 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
8095 2002-03-05 Zack Weinberg <zack@codesourcery.com>
8097 * cppmain.c (setup_callbacks): Disable #pragma and #ident
8098 callbacks when processing assembly language.
8100 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
8102 * pa.h (ASM_FILE_END): Define.
8103 * som.h (ASM_FILE_END): Delete.
8105 * pa.c (function_arg): Don't pass floats in general registers in
8106 indirect calls if TARGET_ELF32.
8108 2002-03-05 Richard Henderson <rth@redhat.com>
8110 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
8112 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
8114 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
8116 2002-03-05 Jakub Jelinek <jakub@redhat.com>
8118 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
8119 -r command line. Don't hide any symbols if not building
8122 Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
8124 * cfg.c (dump_flow_info): Warn about profile mismatches.
8125 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
8126 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
8128 2002-03-05 Jakub Jelinek <jakub@redhat.com>
8130 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
8131 wide volatile memory by parts.
8133 2002-03-05 Jakub Jelinek <jakub@redhat.com>
8135 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
8138 2002-03-05 Richard Henderson <rth@redhat.com>
8140 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
8142 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
8144 * toplev.c (documented_lang_options): Document more
8145 language-specific options.
8146 * doc/invoke.texi (Warning Options): Correct documentation for
8147 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
8148 * c-decl.c (c_decode_option): Use a table to handle warning options.
8150 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
8152 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
8153 parameter to mmix_encode_section_info.
8154 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
8155 relocatably. Always produce ELF, not mmo if linking relocatably.
8156 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
8157 first is non-zero, don't add symbol prefix.
8158 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
8159 prototype accordingly.
8161 2002-03-04 Krister Walfridsson <cato@df.lth.se>
8163 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
8165 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
8167 * configure.in: Increase required makeinfo version to 4.1.
8168 * configure: Regenerate.
8170 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
8172 * .cvsignore: Remove *.info* and genrtl*; these files are generated
8175 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
8177 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
8178 * doc/invoke.texi: Fix @math uses.
8180 Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
8182 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
8185 2002-03-03 Aldy Hernandez <aldyh@redhat.com>
8187 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
8188 (powerpc-*-eabisimaltivec*): Same.
8190 * config/rs6000/t-ppcendian: New.
8192 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8194 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
8195 nonimmediate_src_operand and nonimmediate_lsrc_operand to
8196 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
8198 2002-03-03 Richard Henderson <rth@redhat.com>
8200 * toplev.c (rest_of_decl_compilation): Revert last two changes.
8202 2002-03-03 Zack Weinberg <zack@codesourcery.com>
8204 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
8205 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
8206 tree.c, config/m68k/m68k.c:
8207 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
8208 REAL_ARITHMETIC blocks unconditional. Delete some further
8209 #ifdef blocks predicated on REAL_ARITHMETIC.
8210 * flags.h, toplev.c: Delete remaining references to
8213 * doc/invoke.texi: Remove documentation of -fpretend-float.
8214 * doc/tm.texi: Describe the various REAL_* macros as provided by
8215 real.h, not by the target configuration files.
8217 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
8218 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
8219 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
8220 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
8221 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
8222 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
8223 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
8224 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
8225 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
8226 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
8227 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
8228 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
8229 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
8230 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
8231 config/xtensa/xtensa.h:
8232 Do not define, undefine, or mention in comments any of
8233 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
8234 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
8235 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
8236 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
8237 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
8238 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
8239 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
8240 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
8241 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
8243 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8245 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
8246 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
8247 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
8248 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
8249 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
8250 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
8252 * defaults.h (BITS_PER_WORD): Define.
8253 * doc/tm.texi (BITS_PER_WORD): Document default value.
8255 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
8256 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
8257 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
8259 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8261 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
8262 lieu of explicit sizeof/sizeof.
8263 * i386.c (override_options, ix86_init_mmx_sse_builtins,
8264 ix86_expand_builtin): Likewise.
8265 * mips.c (mips_add_gc_roots): Likewise.
8266 * mmix.c (mmix_output_condition): Likewise.
8267 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
8268 altivec_init_builtins): Likewise.
8269 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
8270 * cppexp.c (Nsuff, parse_number): Likewise.
8271 * cppinit.c (builtin_array_end): Likewise.
8272 * gcc.c (n_default_compilers, process_command): Likewise.
8273 * genpreds.c (output_predicate_decls): Likewise.
8274 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
8275 * lcm.c (N_ENTITIES): Likewise.
8276 * stor-layout.c (set_sizetype): Likewise.
8278 2002-03-03 Richard Henderson <rth@redhat.com>
8280 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
8281 for types or labels.
8283 2002-03-03 Richard Henderson <rth@redhat.com>
8285 * c-decl.c (start_decl): Initialized variables are not common.
8287 2002-03-02 Per Bothner <per@bothner.com>
8289 * gcc.c (option_map): Suport new --bootclasspath option.
8290 --CLASSPATH is now just an alias for --classpath.
8292 2002-03-02 Richard Henderson <rth@redhat.com>
8294 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
8295 load if "internal" visibility.
8296 * doc/extend.texi: Document visibility meanings.
8298 2002-03-02 Richard Henderson <rth@redhat.com>
8300 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
8301 to functions as well.
8303 2002-03-02 Richard Henderson <rth@redhat.com>
8305 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
8306 (handle_visibility_attribute): Don't call assemble_visibility.
8307 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
8308 without asmspec. Invoke assemble_alias when needed.
8309 * varasm.c (maybe_assemble_visibility): New.
8310 (assemble_start_function, assemble_variable, assemble_alias): Use it.
8312 2002-03-02 Richard Henderson <rth@redhat.com>
8314 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
8315 invoke ENCODE_SECTION_INFO with first call flag.
8317 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
8318 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
8319 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
8320 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
8321 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
8322 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
8323 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
8324 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
8325 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
8326 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
8327 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
8328 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
8329 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
8330 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
8331 config/mcore/mcore-protos.h, config/mcore/mcore.c,
8332 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
8333 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
8334 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
8335 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
8336 config/sh/sh.h, config/sparc/sparc.h,
8337 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
8338 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
8339 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
8340 FIRST argument. As needed, examine it and do nothing.
8342 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
8343 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
8344 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
8346 * config/arm/t-pe (pe.o): Add dependencies.
8348 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8350 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
8351 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
8352 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
8353 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
8354 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
8355 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
8356 * defaults.h (BITS_PER_UNIT): Define.
8357 * doc/tm.texi (BITS_PER_UNIT): Document default value.
8359 2002-03-02 Kazu Hirata <kazu@hxi.com>
8361 * config/h8300/h8300-protos.h: Add a prototype for
8362 compute_a_shift_length.
8363 * config/h8300/h8300.c (h8300_asm_insn_count): New.
8364 (compute_a_shift_length): Likewise.
8365 (h8300_adjust_insn_length): Do not adjust insn length of shift
8367 * config/h8300/h8300.md (anonymous shift patterns): Use
8368 compute_a_shift_length.
8370 Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8372 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
8375 * emit-rtl.c (offset_address): Call update_temp_slot_address.
8377 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8379 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
8380 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
8381 * flags.h (flag_zero_initialized_in_bss): Declare.
8382 * toplev.c (flag_zero_initialized_in_bss): New flag.
8383 (lang_independent_options): Add flag_zero_initialized_in_bss.
8384 * tree.c (initializer_zerop): New function.
8385 * tree.h (initializer_zerop): Declare.
8386 * varasm.c (assemble_variable): If we can emit bss, put zero
8387 initializers in the bss section.
8389 2002-03-02 Alan Modra <amodra@bigpond.net.au>
8391 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
8392 like more than one symbol per .weak directive.
8394 2002-03-01 Richard Henderson <rth@redhat.com>
8396 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
8397 adjust argument_pointer by pretend_args_size.
8398 (ia64_va_start): Adjust va_start address by -pretend_args_size.
8400 2002-03-01 Kazu Hirata <kazu@hxi.com>
8402 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
8404 Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
8406 * toplev.c (rest_of_compilation): Delete dead jumptables before
8408 * flow.c (delete_dead_jumptables): Make global.
8409 * rtl.h (delete_dead_jumptables): Declare.
8411 2002-03-01 David Edelsohn <edelsohn@gnu.org>
8413 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
8414 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
8415 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
8417 2002-03-01 Kazu Hirata <kazu@hxi.com>
8419 * config/h8300/h8300-protos.h: Fix formatting.
8420 * config/h8300/h8300.c: Likewise.
8421 * config/h8300/h8300.h: Likewise.
8423 2002-03-01 Kazu Hirata <kazu@hxi.com>
8425 * config/h8300/h8300.c (print_operand): Support 16-bit
8427 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
8429 2002-02-28 Richard Henderson <rth@redhat.com>
8431 * expmed.c (store_bit_field): Prevent generation of CONCATs;
8432 pun complex values as integers; use gen_lowpart instead of
8434 (extract_bit_field): Likewise.
8436 2002-03-01 Alan Modra <amodra@bigpond.net.au>
8437 David Edelsohn <edelsohn@gnu.org>
8439 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
8440 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
8441 (SUPPORTS_WEAK): Likewise.
8442 * output.h (add_weak): Add tree param.
8443 * varasm.c (add_weak): Likewise. Save decl.
8444 (struct weak_syms): Add decl field.
8445 (mark_weak_decls): New function.
8446 (init_varasm_once): ggc_add_root mark_weak_decls.
8447 (assemble_start_function): Use ASM_WEAKEN_DECL.
8448 (assemble_variable): Likewise.
8449 (assemble_alias): Likewise.
8450 (declare_weak): Pass decl to add_weak.
8451 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
8452 (remove_from_pending_weak_list): Declare and define for
8454 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
8455 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
8456 * defaults.h (SUPPORTS_WEAK): Likewise.
8457 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
8458 .weak for code sym. Do emit .size for descriptor sym.
8459 (ASM_DECLARE_FUNCTION_SIZE): Define.
8460 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
8461 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
8462 .lglobl unless TARGET_XCOFF. Formatting fixes.
8463 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
8465 (HANDLE_PRAGMA_WEAK): Remove.
8466 (ASM_WEAKEN_LABEL): Remove.
8467 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
8469 2002-03-01 Jason Merrill <jason@redhat.com>
8471 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
8472 (TARGET_EXPR_CLEANUP): New macro.
8474 2002-02-28 Steve Ellcey <sje@cup.hp.com>
8476 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
8477 to take ptr_extend into account as third type of extension.
8478 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
8479 fields used by SUBREG_PROMOTED_UNSIGNED_P.
8480 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
8481 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
8482 * calls.c (precompute_arguments): Use new macro.
8483 (expand_call): Ditto.
8484 * combine.c (nonzero_bits): Ditto.
8485 (record_promoted_value): Ditto.
8486 * expr.c (store_expr): Ditto.
8487 (expand_expr): Ditto.
8488 * function.c (assign_parms): Ditto.
8490 2002-02-28 Alexandre Oliva <aoliva@redhat.com>
8492 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
8493 override -shared and -shared-libgcc.
8495 2002-02-28 David O'Brien <obrien@FreeBSD.org>
8497 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
8499 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
8502 2002-02-28 Richard Henderson <rth@redhat.com>
8504 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
8505 4 cycle latency from MM producers.
8506 (ia64_internal_sched_reorder): Likewise with pipeline flush.
8508 2002-02-28 Jakub Jelinek <jakub@redhat.com>
8510 * mklibgcc.in: Don't use GNU make extension.
8512 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
8514 * c-parse.in (STATIC): New terminal.
8515 (scspec): New non-terminal. Update productions accordingly.
8516 (program): Remove bogus ifc / end ifc.
8517 (array_declarator): Simplify production using STATIC.
8519 2002-02-28 Jim Meyering <meyering@lucent.com>
8521 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
8522 \a still means TARGET_BELL.
8524 2002-02-28 Richard Henderson <rth@redhat.com>
8526 * haifa-sched.c (sched_emit_insn): New.
8527 (schedule_block): Use last_scheduled_insn to track last insn.
8528 * sched-int.h (sched_emit_insn): Prototype.
8529 * config/ia64/ia64.c (last_issued): Remove.
8530 (ia64_variable_issue): Don't set it.
8531 (nop_cycles_until): Use sched_emit_insn.
8533 2002-02-28 Andrew MacLeod <amacleod@redhat.com>
8535 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
8538 2002-02-28 Kazu Hirata <kazu@hxi.com>
8540 * config/h8300/h8300.c: Fix formatting.
8541 * config/h8300/h8300.h: Likewise.
8543 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
8545 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
8546 which may overwrite the high byte of the frame pointer.
8548 2002-02-28 Bo Thorsen <bo@suse.de>
8550 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
8551 (STARTFILE_SPEC): Add 64 bit files.
8552 (ENDFILE_SPEC): Likewise.
8554 2002-02-28 Jason Merrill <jason@redhat.com>
8556 * c-decl.c (finish_function): Only warn about missing return
8557 statement with -Wreturn-type.
8559 Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
8561 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
8563 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
8564 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
8566 Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
8568 * basic-block.h (BB_REACHABLE): Renumber.
8569 (BB_DIRTY, BB_NEW): New flags.
8570 (clear_bb_flags): Declare.
8571 (update_life_info_in_dirty_blocks): Declare.
8572 * cfg.c (clear_bb_flags): New function.
8573 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
8574 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
8575 reorder_insns, emit_insn_after): Mark block as dirty.
8576 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
8577 (update_life_info_in_dirty_blocks): New function.
8578 * recog.c (apply_change_group): Dirtify block.
8580 * cse.c (cse_insn): Reorder emitting of jump insn to keep
8582 * gcse.c (delete_null_pointer_checks): Likewise.
8584 * toplev.c (dump_file_index): Move cse2 after bp,
8586 (dump_file_info): Similary.
8587 (rest_of_compilation): Avoid most of CFG rebuilds;
8588 do first if converision after null pointer checks, do cse2
8589 after branch prediction; avoid full liveness rebuild after
8590 initializing subregs.
8591 * invoke.texi (-d options): Document -du, renumber.
8593 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
8594 (notice_new_block): Do not set BB_UPDATE_LIFE.
8595 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
8596 merge_blocks_move_successor_nojumps, merge_blocks,
8597 try_crossjump_to_edge): Likewise.
8598 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
8599 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
8600 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
8601 (merge_of_block): Do not use life_data_ok.
8602 (find_if_case_1): Do not use SET_UPDATE_LIFE.
8603 (if_convert): Use BB_DIRTY mechanizm to update life.
8604 * lcm.c (optimize_mode_switching): Update
8605 update_life_info_in_dirty_blocks
8607 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
8609 * Makefile.in (integrate.o): Update.
8610 * c-decl.c (copy_lang_decl): Rename.
8611 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
8612 * integrate.c: Include langhooks.h.
8613 (copy_decl_for_inlining): Update to use langhook.
8614 * langhooks-def.h (lhd_do_nothing_t,
8615 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
8616 (LANG_HOOKS_INITIALIZER): Update.
8617 * langhooks.c (lhd_do_nothing_t): New.
8618 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
8619 * tree.h (copy_lang_decl): Remove.
8621 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
8623 2002-02-27 Andrew MacLeod <amacleod@redhat.com>
8625 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
8626 POST_DEC, and POST_MODIFY.
8628 2002-02-27 Zack Weinberg <zack@codesourcery.com>
8630 * c-typeck.c (digest_init): Remove unused parameter; all
8633 2002-02-27 Geoffrey Keating <geoffk@redhat.com>
8635 * expmed.c (expand_shift): Correctly test for low part of a
8638 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
8640 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
8641 insn UIDs with insn addresses.
8643 2002-02-27 Zack Weinberg <zack@codesourcery.com>
8645 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
8646 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
8647 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
8648 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
8649 gcc.c, toplev.c: Delete code implementing -traditional mode.
8651 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
8652 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
8653 Document removal of -traditional mode for compilation, and
8654 remove documentation only relevant to that mode.
8656 * config/nextstep.h, config/ptx4.h, config/svr4.h,
8657 config/convex/convex.h, config/d30v/d30v.h,
8658 config/i386/dgux.h, config/i386/osf1elf.h,
8659 config/i386/osfelf.h, config/i386/osfrose.h,
8660 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
8661 config/m68k/hp310.h, config/m88k/dgux.h,
8662 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
8663 config/m88k/m88k.h, config/m88k/openbsd.h,
8664 config/mips/abi64.h, config/mips/osfrose.h,
8665 config/mips/svr4-5.h, config/mips/svr4-t.h,
8666 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
8667 config/stormy16/stormy16.h: Remove all references to
8668 -traditional from target specs. Delete all mention of the
8669 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
8670 delete a couple of commented-out definitions of
8671 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
8674 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
8675 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
8677 2002-02-27 Zack Weinberg <zack@codesourcery.com>
8679 * mklibgcc.in: Don't use \n in a line subject to
8680 interpretation by echo.
8682 2002-02-27 Graham Stott <grahams@redhat.com>
8684 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
8687 * loop.c (prescan_loop): Handle PARALLEL.
8689 * unroll.c (loop_iterations): Return 0 if the add_val for
8692 * final.c (output_operand_lossage): Constify PFX_STR.
8694 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
8696 Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
8698 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
8699 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
8701 Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
8703 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
8705 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
8707 * cpplex.c (_cpp_lex_token): Handle directives in macro
8709 * cpplib.c (_cpp_handle_directive): Save and restore state
8710 if parsing macro args when entering a directive.
8711 * cppmacro.c (collect_args): No need to handle directives
8713 (enter_macro_context, replace_args): Use the original macro
8714 definition in case it was redefined whilst collecting arguments.
8718 2002-02-26 David Edelsohn <edelsohn@gnu.org>
8720 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
8721 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
8722 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
8724 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
8725 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
8726 (load_toc_v4_PIC_2): Same.
8728 2002-02-26 Alan Modra <amodra@bigpond.net.au>
8730 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
8732 2002-02-26 Richard Henderson <rth@redhat.com>
8734 * config/alpha/alpha.md (ashldi_se): Re-enable.
8736 2002-02-26 Richard Henderson <rth@redhat.com>
8738 * config/alpha/alpha.c (alpha_encode_section_info): Examine
8739 MODULE_LOCAL_P; improve commentary.
8741 2002-02-26 Zack Weinberg <zack@codesourcery.com>
8743 * doc/cpp.texi: Clarify documentation of relationship between
8746 2002-02-26 Kazu Hirata <kazu@hxi.com>
8748 * config/h8300/h8300-protos.h: Update the prototype for
8749 compute_logical_op_length. Add the prototype for
8750 compute_logical_op_cc.
8751 * config/h8300/h8300.c (compute_logical_op_length): Figure out
8753 (compute_logical_op_cc): New.
8754 * config/h8300/h8300.md: Combine all the logical op patterns
8755 in HImode and SImode. Use compute_logical_op_cc.
8757 2002-02-26 Kelley Cook <kelleycook@comcast.net>
8759 * config/i386/i386.c (print_operand): Don't append ATT-style
8760 length suffixs to x87 opcodes when in Intel mode.
8762 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
8764 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
8765 (init_emit_once): Update calls.
8766 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
8767 (init_syntax_once): Prototype.
8769 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
8771 * pa-linux.h (LIB_SPEC): Update definition.
8772 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
8774 2002-02-26 Richard Henderson <rth@redhat.com>
8776 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
8777 if we emitted a stop bit.
8779 2002-02-26 Jakub Jelinek <jakub@redhat.com>
8781 * configure.in (libgcc_visibility): Substitute.
8782 * configure: Rebuilt.
8783 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
8784 defined symbols .hidden.
8786 2002-02-26 Jakub Jelinek <jakub@redhat.com>
8788 * attribs.c (c_common_attribute_table): Add visibility.
8789 (handle_visibility_attribute): New function.
8790 * varasm.c (assemble_visibility): New function.
8791 * output.h (assemble_visibility): Add prototype.
8792 * tree.h (MODULE_LOCAL_P): Define.
8793 * crtstuff.c (__dso_handle): Use visibility attribute.
8794 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
8795 for MODULE_LOCAL_P symbols too.
8796 * config/ia64/ia64.c (ia64_encode_section_info): Handle
8797 MODULE_LOCAL_P symbols the same way as local symbols.
8798 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
8799 into .sdata/.sbss by the user.
8800 * doc/extend.texi (Function Attributes): Document visibility
8803 2002-02-26 Jakub Jelinek <jakub@redhat.com>
8806 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
8807 STRING_CST initializer spanning the whole variable without
8809 If expand_expr returned MEM, don't use it.
8811 2002-02-26 Alexandre Oliva <aoliva@redhat.com>
8813 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
8814 generate a die for the lexical block.
8816 2002-02-26 Kazu Hirata <kazu@hxi.com>
8818 * config/h8300/h8300-protos.h: Add a prototype for
8819 compute_logical_op_length.
8820 * config/h8300/h8300.c (compute_logical_op_length): New.
8821 * config/h8300/h8300.md (anonymous logical patterns): Use
8822 compute_logical_op_length for length.
8824 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
8826 * dwarf2out.c (modified_type_die): Do not call type_main_variant
8828 (gen_type_die): Same.
8830 * attribs.c (handle_vector_size_attribute): Set debug information.
8832 2002-02-26 Daniel Egger <degger@fhm.edu>
8834 * config/rs6000/rs6000.md: Swap define_insn attributes to
8835 fix incorrect generation of merge high instructions instead
8838 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
8840 * c-typeck.c (really_start_incremental_init): Use
8841 bitsize_zero_node for vectors.
8843 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
8845 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
8846 ("*set_vrsave_internal"): Same.
8848 2002-02-25 Richard Henderson <rth@redhat.com>
8850 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
8851 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
8853 2002-02-25 Jakub Jelinek <jakub@redhat.com>
8856 * config/i386/i386.c (ix86_return_pops_args): Only pop
8857 fake structure return argument if it was passed on the stack.
8859 2002-02-25 Jason Merrill <jason@redhat.com>
8861 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
8864 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
8866 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
8867 link with shared_name only.
8868 * doc/invoke.texi (Link Options): Document new behavior.
8870 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
8872 * c-typeck.c (push_init_level): Handle vectors.
8874 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
8876 * config/sparc/sparc.c (const64_high_operand): Zero-extend
8877 operands of SPARC_SETHI_P.
8878 (input_operand): Likewise.
8879 (sparc_emit_set_const32): Likewise.
8880 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
8881 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
8882 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
8883 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
8884 (movdi_insn_sp64_vis): Likewise.
8885 (movdi split, movdf split): Use SETHI32.
8886 * doc/md.texi: Document SPARC constraints L, M and N.
8888 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
8890 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
8891 ("*set_vrsave_internal"): use mfspr for Darwin.
8893 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
8894 gen_get_vrsave_internal.
8896 Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8898 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
8900 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
8902 * cpplex.c (cpp_interpret_charconst): Get signedness or
8903 otherwise of wide character constants correct.
8904 * cppexp.c (lex): Get signedness of wide charconsts correct.
8906 Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8908 * optabs.c (widen_operand): Only call convert_modes for
8909 promoted SUBREG if signedness matches.
8910 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
8912 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
8914 * cpplib.c (glue_header_name): Use local buffer to build up
8917 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
8919 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
8921 2002-02-23 Kazu Hirata <kazu@hxi.com>
8923 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
8924 H8/300[HS] separately.
8925 * config/h8300/h8300.md: Remove the early clobber constraint
8926 from bit field patterns.
8928 2002-02-23 Kazu Hirata <kazu@hxi.com>
8930 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
8932 (mulhisi3): Likewise.
8933 (umulqisi3): Likewise.
8934 (umulhisi3): Likewise.
8936 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
8938 * cppinit.c (output_deps): Correct test for stdout output.
8939 (init_dependency_output): Cure warning.
8941 Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8943 * expr.c (store_expr): When converting expression to promoted
8944 equivalent type, allow using SUBREG_REG of TARGET as the target
8945 of the expansion of EXP.
8946 * loop.c (basic_induction_var, case SUBREG): Always look inside.
8947 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
8948 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
8949 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
8950 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
8952 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
8954 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
8955 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
8956 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
8958 2002-02-23 Jakub Jelinek <jakub@redhat.com>
8960 PR optimization/5747
8961 * loop.c (scan_loop): Update reg info if move_movables created new
8964 2002-02-23 David Edelsohn <edelsohn@gnu.org>
8966 * gcc.c (init_gcc_spec): Revert last change.
8968 2002-02-23 David Edelsohn <edelsohn@gnu.org>
8970 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
8971 gpc_reg_operand constraint.
8973 2002-02-23 Alan Modra <amodra@bigpond.net.au>
8975 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
8976 Simplify comparison of `low'.
8977 (add_operand): Fix formatting.
8978 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
8979 (mask_operand): Disallow mask to wrap in 64-bit mode.
8980 (rs6000_stack_info): Remove redundant test setting push_p.
8981 (output_toc): Fix formatting.
8982 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
8983 cc_reg_not_cr0_operand constraint.
8984 (booldi3, boolcdi3 splitters): Same.
8986 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
8988 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
8990 2002-02-22 David Edelsohn <edelsohn@gnu.org>
8992 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
8993 gcc invoked with -shared-libgcc.
8995 2002-02-22 Jakub Jelinek <jakub@redhat.com>
8998 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
8999 decl if any of elements was TREE_USED.
9001 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
9003 * config/sparc/sol2.h: Don't include sys/mman.h.
9004 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
9005 (arith_4096_operand): Don't throw high bits away.
9006 (const64_operand): Take sign extension of CONST_INTs into account.
9007 (const64_high_operand, sparc_emit_set_const32): Likewise.
9008 (GEN_HIGHINT64): Likewise.
9009 (sparc_emit_set_const64_quick1): Likewise.
9010 (const64_is_2insns): Likewise.
9011 (print_operand): Use trunc_int_for_mode for sign extension.
9012 * config/sparc/sparc.h (SMALL_INT32): Likewise.
9013 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
9014 chars. Assume CONST_INT is already properly sign-extended.
9015 (movdi split): Sign-extend each SImode part.
9016 (andsi3 split): Don't mask high bits off, so that result
9017 remains properly sign-extend.
9018 (iorsi3 split): Likewise.
9019 (xorsi3 split): Likewise.
9021 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
9023 * fold-const.c (fold): Fix typo in comments.
9025 2002-02-21 Diego Novillo <dnovillo@redhat.com>
9027 * Makefile.in (langhooks.o): Update dependencies.
9029 2002-02-21 Diego Novillo <dnovillo@redhat.com>
9031 * langhooks.c: Include flags.h.
9033 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
9035 * testsuite/gcc.dg/attr-alwaysinline.c: New.
9037 * c-common.c (c_common_post_options): Set inline trees by
9040 * doc/extend.texi (Function Attributes): Document always_inline
9042 Update documentation about inlining when not optimizing.
9044 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
9046 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
9047 unless DECL_ALWAYS_INLINE.
9049 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
9050 unless DECL_ALWAYS_INLINE.
9051 (c_disregard_inline_limits): Disregard if always_inline set.
9053 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
9054 Disregard if always_inline set.
9055 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
9056 unless DECL_ALWAYS_INLINE.
9058 * attribs.c (handle_always_inline_attribute): New.
9059 (c_common_attribute_table): Add always_inline.
9061 * config/rs6000/altivec.h: Add prototypes for builtins
9062 requiring the always_inline attribute.
9064 2002-02-21 Eric Christopher <echristo@redhat.com>
9066 * expmed.c (store_bit_field): Try to simplify the subreg
9067 before generating a new one when when the mode size of
9068 value is less than maxmode.
9070 2002-02-21 Richard Henderson <rth@redhat.com>
9072 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
9073 than gen_rtx_PLUS to form the sum.
9074 * explow.c (force_reg): Rearrange to not allocate new pseudo
9075 when force_operand returns a register.
9076 * expr.c (expand_assignment): Allow offset_rtx expansion to
9077 return a sum. Do not force addresses into registers.
9078 (expand_expr): Likewise.
9079 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
9080 to canonicalize arithmetic that didn't simpify.
9081 (simplify_plus_minus): New argument force; update
9082 all callers. Don't split CONST unless we can do something with it,
9083 and wouldn't lose the constness of the operands.
9085 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
9086 that we generated earlier.
9088 2002-02-21 Tom Tromey <tromey@redhat.com>
9090 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9091 (output_line_info): Use constant `1', with a long explanatory
9093 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
9095 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
9097 * jump.c (redirect_jump): If old label has no UID, don't try to
9100 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
9102 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
9103 If input is constant, do shifts at compile time.
9105 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
9107 * doc/extend.texi: Fix some more overfull hboxes.
9109 2002-02-21 Jakub Jelinek <jakub@redhat.com>
9111 PR optimization/4994
9112 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
9115 2002-02-21 Jakub Jelinek <jakub@redhat.com>
9118 * expr.h (expand_and): Add mode argument.
9119 * expmed.c (expand_and): Add mode argument.
9120 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
9121 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
9122 * except.c (expand_builtin_extract_return_addr): Likewise.
9123 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
9124 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
9125 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
9126 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
9127 * config/c4x/c4x.md: Use GEN_INT (x) instead of
9128 gen_rtx (CONST_INT, VOIDmode, x).
9130 2002-02-21 Jakub Jelinek <jakub@redhat.com>
9133 * stmt.c (warn_if_unused_value): Move side effects test once more.
9135 2002-02-20 Torbjorn Granlund <tege@swox.com>
9137 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
9138 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
9140 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
9142 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
9143 SUBREG or ZERO_EXTEND.
9145 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
9147 * sh.h (current_function_anonymous_args): Remove.
9148 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
9149 of current_function_varargs and current_function_stdarg is set.
9150 * sh.c (sh_expand_prologue): Check current_function_varargs /
9151 current_function_stdarg / TARGET_SH5 instead of
9152 current_function_anonymous_args.
9154 * sh64.h (TARGET_VERSION): Define.
9156 2002-02-20 David Edelsohn <edelsohn@gnu.org>
9158 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
9159 VRSAVE_REGNO on TARGET_ALTIVEC.
9161 2002-02-20 Alan Modra <amodra@bigpond.net.au>
9163 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
9164 bits of SImode const_int.
9165 (includes_rshift_p): Likewise.
9166 (print_operand): Call mask_operand and mask64_operand with correct
9168 (rs6000_output_function_epilogue): Pad traceback table to word.
9169 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
9170 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
9171 mask64_operand with correct mode.
9172 (FUNCTION_ARG_REGNO_P): Correct parentheses.
9174 2002-02-20 Jakub Jelinek <jakub@redhat.com>
9177 * varasm.c (get_pool_constant_mark): New.
9178 * rtl.h (get_pool_constant_mark): Add prototype.
9179 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
9180 be represented if it has not been output.
9182 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
9184 * combine.c (do_SUBST): Sanity check substitutions of
9185 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
9186 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
9187 CONST_INT into its operand.
9188 (known_cond): Likewise, for ZERO_EXTEND.
9189 * simplify-rtx.c (simplify_unary_operation): Fix condition to
9190 allow for simplification of wide modes. Reject CONST_INTs in
9191 ZERO_EXTEND when their actual mode is not given.
9193 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
9195 * c-decl.c (pushdecl): If no global declaration is found for an
9196 extern declaration in block scope, try a limbo one.
9198 2002-02-20 Jakub Jelinek <jakub@redhat.com>
9201 * c-common.c (pointer_int_sum): Moved from...
9202 * c-typeck.c (pointer_int_sum): ...here.
9203 * c-common.h (pointer_int_sum): Add prototype.
9205 2002-02-20 Jakub Jelinek <jakub@redhat.com>
9208 * c-decl.c (duplicate_decls): Return 0 if issued error about
9211 2002-02-20 Roger Sayle <roger@eyesopen.com>
9212 Jakub Jelinek <jakub@redhat.com>
9215 * tree.c (host_integerp): Ensure that the constant integer is
9216 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
9217 when pos is zero or non-zero respectively. Clarify comment.
9218 * c-format.c (check_format_info_recurse): Fix host_integerp
9219 usage; the pos argument should be zero when assigning to a
9220 signed HOST_WIDE_INT.
9222 2002-02-20 Richard Henderson <rth@redhat.com>
9224 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
9225 of the operand, rather than assuming TImode.
9226 (ix86_expand_binop_builtin): Cope with commutative patterns
9227 using nonimmediate_operand for both operands.
9228 (ix86_expand_timode_binop_builtin): Likewise.
9229 (ix86_expand_store_builtin): Validate operand 1.
9230 (ix86_expand_unop1_builtin): Likewise.
9232 2002-02-20 Philip Blundell <philb@gnu.org>
9235 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
9237 2002-02-20 Richard Henderson <rth@redhat.com>
9240 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
9242 2002-02-20 Tom Tromey <tromey@redhat.com>
9244 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9245 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9246 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9247 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9248 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
9251 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
9253 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
9254 for (const_int 0) in X not just INTVAL.
9256 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
9258 * doc/extend.texi: Avoid or reduce overfull hboxes.
9260 2002-02-20 Diego Novillo <dnovillo@redhat.com>
9262 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
9263 operations if the field does not start at a mode boundary.
9265 2001-02-20 Joel Sherrill <joel@OARcorp.com>
9267 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
9268 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
9269 Also done for -Acpu and -Amachine.
9271 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
9273 * cppinit.c (init_dependency_output): Take deps output file
9274 from -o if none given with -MF. Suppress normal output.
9275 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
9276 * doc/cpp.texi, doc/invoke.texi: Update.
9278 2002-02-19 Zack Weinberg <zack@codesourcery.com>
9280 * toplev.c (output_quoted_string): Write unprintable
9281 characters with octal escapes.
9283 2002-02-19 David Edelsohn <edelsohn@gnu.org>
9285 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
9286 really_call_used[VRSAVE_REGNO] if not Altivec.
9288 2002-02-19 Alan Modra <amodra@bigpond.net.au>
9290 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
9292 (constant_pool_expr_1): Fix formatting.
9293 (rs6000_legitimize_reload_address): Likewise.
9295 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9297 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
9298 now that we have one.
9300 2002-02-19 Zack Weinberg <zack@codesourcery.com>
9302 * tree.h (struct tree_common): Remove aux. Add unused_0 at
9303 end of first block of bitfields (which was only seven bits);
9304 rename dummy to unused_1; remove comment which is no longer true.
9306 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
9308 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
9310 2002-02-19 Philip Blundell <pb@nexus.co.uk>
9313 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
9317 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
9318 arm_is_longcall_p rather than inspecting call-type cookie
9320 (call_value_insn) [TARGET_THUMB]: Likewise.
9322 2002-02-19 Graham Stott <grahams@redhat.com>
9324 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
9326 2002-02-19 David Edelsohn <edelsohn@gnu.org>
9328 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
9329 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
9330 (FP_SAVE_INLINE): Delete.
9332 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
9333 * config/rs6000/eabi.asm: Remove ABI save restore routines.
9334 * config/rs6000/t-ppccomm: Build crtsavres.o.
9335 * config/rs6000/crtsavres.asm: New file.
9337 2002-02-19 Philip Blundell <philb@gnu.org>
9339 * config/arm/arm.c (use_return_insn): Don't reject interrupt
9341 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
9342 (output_return_instruction): Allow interrupt functions to return with
9343 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
9344 (arm_expand_prologue): Subtract 4 before stacking LR in an
9347 2002-02-19 Philip Blundell <pb@nexus.co.uk>
9349 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
9350 decl, not just FUNCTION_DECL.
9351 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
9352 (arm_assemble_integer): Likewise.
9353 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
9356 2002-02-19 matthew green <mrg@eterna.com.au>
9358 * config.gcc (sparc-*-netbsdelf*): Enable target.
9359 (sparc64-*-netbsd*): New target.
9360 * config/sparc/netbsd-elf.h: New file.
9361 * config/sparc/t-netbsd64: New file.
9363 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
9365 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
9367 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
9369 * doc/invoke.texi: explicitly list the style guidelines that
9370 -Weffc++ checks for.
9372 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
9374 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
9376 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
9379 * gcc.c (cpp_unique_options): Treat -o as indicating object file
9380 only if not -E. If -E, pass -o through to the preprocessor.
9382 2002-02-19 Kazu Hirata <kazu@hxi.com>
9384 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
9385 register number with an appropriate macro.
9387 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9389 * doc/rtl.texi (Constants): Close @code tag.
9391 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
9393 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
9394 ("mmx_uavgv4hi3"): Same.
9395 ("pmulhrwv4hi3"): Same.
9397 * tree-inline.c (walk_tree): Handle vectors.
9399 * c-common.c (constant_expression_warning): Handle vectors.
9400 (overflow_warning): Same.
9402 * sched-deps.c (sched_analyze_2): Handle vectors.
9404 * rtlanal.c (rtx_unstable_p): Handle vectors.
9405 (rtx_varies_p): Same.
9406 (count_occurrences): Same.
9407 (regs_set_between_p): Same.
9408 (modified_between_p): Same.
9409 (modified_in_p): Same.
9410 (volatile_insn_p): Same.
9411 (volatile_refs_p): Same.
9412 (side_effects_p): Same.
9414 (inequality_comparisons_p): Same.
9415 (replace_regs): Same.
9416 (computed_jump_p_1): Same.
9418 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
9420 (inner_mode_array): New.
9421 (copy_rtx): Handle vectors.
9422 (copy_most_rtx): Same.
9423 (rtx_equal_p): Same.
9424 (get_mode_alignment): Adjust for vectors.
9426 * resource.c (mark_referenced_resources): Handle vectors.
9427 (mark_set_resources): Same.
9429 * reload1.c (eliminate_regs): Handle vectors.
9430 (elimination_effects): Same.
9431 (scan_paradoxical_subregs): Same.
9433 * reload.c (subst_reg_equivs): Handle vectors.
9435 * regrename.c (scan_rtx): Handle vectors.
9437 * regclass.c (reg_scan_mark_refs): Handle vectors.
9439 * recog.c (find_single_use_1): Handle vectors.
9441 * local-alloc.c (equiv_init_varies_p): Handle vectors.
9442 (contains_replace_regs): Same.
9443 (memref_referenced_p): Same.
9445 * integrate.c (copy_rtx_and_substitute): Handle vectors.
9446 (subst_constants): Same.
9448 * genattrtab.c (attr_copy_rtx): Handle vectors.
9449 (encode_units_mask): Same.
9450 (clear_struct_flag): Same.
9451 (count_sub_rtxs): Same.
9453 * gcse.c (want_to_gcse_p): Handle vectors.
9454 (oprs_unchanged_p): Same.
9455 (hash_expr_1): Same.
9456 (oprs_not_set_p): Same.
9457 (expr_killed_p): Same.
9458 (compute_transp): Same.
9459 (store_ops_ok): Same.
9461 * function.c (purge_addressof_1): Do not allow paradoxical subregs
9463 (fixup_var_refs_1): Same.
9464 (instantiate_virtual_regs_1): Same.
9466 * fold-const.c (operand_equal_p): Handle vectors.
9468 (rtl_expr_nonnegative_p): Same.
9470 * flow.c (mark_used_regs): Handle vectors.
9472 * df.c (df_uses_record): Handle vectors.
9474 * cselib.c (cselib_subst_to_values): Handle vectors.
9475 (cselib_mem_conflict_p): Same.
9478 * cse.c (canon_reg): Handle vectors.
9480 (cse_process_notes): Same.
9481 (count_reg_usage): Same.
9484 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
9486 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
9488 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
9489 (gen_rtx): Handle CONST_VECTOR.
9490 (gen_const_vector_0): New.
9491 (copy_rtx_if_shared): CONST_VECTORs can be shared.
9492 (reset_used_flags): Same.
9493 (copy_insn_1): Same.
9494 (initializer_constant_valid_p): Handle VECTOR_CST.
9496 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
9498 * doc/rtl.texi (Constants): Document const_vector.
9499 (CONST0_RTX): Update for vectors.
9500 (RTL sharing): Same.
9502 * print-tree.c (print_node): Add case for VECTOR_CST.
9504 * tree.h (TREE_VECTOR_CST_ELTS): New.
9505 (struct tree_vector): New.
9506 (union tree_node): Add vector node.
9507 (build_vector): Add prototype.
9509 * tree.def (VECTOR_CST): New.
9511 * tree.c (build_vector): New.
9513 * expmed.c (make_tree): Handle CONST_VECTOR.
9515 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
9516 (CONST_VECTOR_ELT): New.
9517 (CONST_VECTOR_NUNITS): New.
9519 * machmode.h (GET_MODE_INNER): New.
9520 (DEF_MACHMODE): Accept 8th arg.
9522 * machmode.def: Add 8th argument for vector inner mode.
9523 Add inner vector modes for vectors.
9525 * rtl.def (VEC_CONST): Remove.
9526 (CONST_VECTOR): New.
9528 * expr.c (clear_storage): Allow vectors.
9529 (is_zeros_p): Handle VECTOR_CST.
9531 * varasm.c (output_constant_pool): Handle vectors.
9532 (rtx_const): Add veclo and vechi fields.
9533 (kind): Add RTX_VECTOR.
9534 (decode_rtx_const): Add case for vector.
9536 * config/rs6000/rs6000-protos.h: Add zero_constant.
9538 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
9539 constants. Force easy vector constants into memory.
9540 (easy_vector_constant): New.
9541 (emit_easy_vector_constant): New.
9542 (rs6000_legitimize_reload_address): Do not generate bad reloads on
9545 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
9547 ("altivec_lvxl"): Same.
9548 (altivec_lvebx): Same.
9549 (altivec_lvehx): Same.
9550 (altivec_lvewx): Same.
9551 ("*movv4si_const0"): New.
9552 ("*movv4sf_const0"): New.
9553 ("*movv8hi_const0"): New.
9554 ("*movv16qi_const0"): New.
9556 2002-02-18 Kazu Hirata <kazu@hxi.com>
9558 * config/h8300/h8300.c (notice_update_cc): Use
9561 2002-02-18 Kazu Hirata <kazu@hxi.com>
9563 * config/h8300/h8300.md (divmod patterns): Change the
9564 constraints for operands[1] to register_operand.
9566 2002-02-18 Kazu Hirata <kazu@hxi.com>
9568 * config/h8300/h8300-protos.h: Remove the prototype for
9570 * config/h8300/h8300.c (p_operand): Remove.
9571 * config/h8300/h8300.md: Replace p_operand with
9574 2002-02-18 Philip Blundell <pb@nexus.co.uk>
9576 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
9578 (output_return_instruction): Allow use of LDR to unstack
9579 return addresss even for interrupt handlers or when
9580 interworking. If compiling for ARMv5, use interworking-safe
9581 return instructions by default. Remove duplicated code and
9582 lengthy "strcat" sequences.
9584 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9586 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
9587 (LINK_EH_SPEC): Define.
9588 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
9590 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
9592 * config/s390/s390.c (s390_emit_prologue): Do not set the
9593 frame_related flag for call-clobbered registers.
9595 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
9597 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
9598 (construct_container): Fix handling of SSE operands.
9599 (ix86_expand_builtin): Fix handling of 64bit pointers.
9600 (mmx_maskmovq_rex): New pattern.
9602 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
9604 * regrename.c (kill_set_value): Handle subregs properly.
9606 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
9608 * objc/objc-act.c (handle_impent): Remove leading '*'
9609 from objc_class_name.
9611 2002-02-17 Richard Henderson <rth@redhat.com>
9613 * config/alpha/alpha.c (some_small_symbolic_operand,
9614 some_small_symbolic_operand_1, split_small_symbolic_operand,
9615 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
9616 Handle small SYMBOL_REFs anywhere, not just inside memories.
9617 * config/alpha/alpha-protos.h: Update.
9618 * config/alpha/alpha.h (PREDICATE_CODES): Update.
9619 * config/alpha/alpha.md (small symbolic operand splitter): Update.
9621 2002-02-17 Roland McGrath <roland@frob.com>
9623 * config.gcc (powerpc-*-gnu-gnualtivec*,
9624 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
9625 * config/rs6000/gnu.h: New file.
9626 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
9627 Grok "gnu" in rs6000_abi_name.
9628 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
9629 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
9630 Grok -mcall-gnu analogous to -mcall-linux et al.
9631 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
9632 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
9633 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
9635 2002-02-17 Jakub Jelinek <jakub@redhat.com>
9638 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
9641 2002-02-17 Philipp Thomas <pthomas@suse.de>
9643 * config/cris/cris.h: Undefine STARTFILE_SPEC and
9644 ENDFILE_SPEC before (re)defining them.
9646 2002-02-17 Kazu Hirata <kazu@hxi.com>
9648 * config/h8300/h8300.c: Fix formatting.
9649 * config/h8300/h8300.h: Likewise.
9651 2002-02-17 Philipp Thomas <pthomas@suse.de>
9653 * doc/tm.texi: Explain why empty strings should not be
9654 marked for translation.
9656 2002-02-17 Philipp Thomas <pthomas@suse.de>
9658 * final.c (output_operand_lossage): Changed to accept
9659 printf style arguments. Change calls where necessary.
9660 * output.h (output_operand_lossage): Change declaration
9661 accordingly. Update copyright.
9662 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
9663 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
9664 Update copyright date where necessary.
9666 * config/i386/i386.c (print_operand): Likewise. Remove use of
9669 * config/cris/cris.c (cris_operand_lossage): Likewise.
9670 Rename parameter so that exgettext recognizes it as
9671 translatable message.
9672 (LOSE_AND_RETURN): Rename parameter to msgid.
9674 2002-02-17 Kazu Hirata <kazu@hxi.com>
9676 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
9677 hard coded register number with an appropriate macro.
9678 (HARD_REGNO_MODE_OK): Likewise.
9679 (ARG_POINTER_REGNUM): Likewise.
9680 (STATIC_CHAIN_REGNUM): Likewise.
9681 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
9682 * config/h8300/h8300.md (define_constants): Define more
9685 2002-02-17 Philipp Thomas <pthomas@suse.de>
9687 * config/i386/i386.h: Don't mark empty strings for translation.
9689 2002-02-16 H.J. Lu <hjl@gnu.org>
9691 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
9693 2002-02-16 Zack Weinberg <zack@codesourcery.com>
9695 * cppinit.c (merge_include_chains): Check for brack being
9696 NULL before attempting to merge it with qtail.
9698 2002-02-16 Andrew Cagney <ac131313@redhat.com>
9700 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
9703 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
9705 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
9707 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
9709 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
9710 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
9711 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
9713 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9715 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
9716 now only if !TARGET_FIX.
9717 (*movsi_nt_vms_fix): New pattern.
9719 2002-02-16 Douglas B Rupp <rupp@gnat.com>
9721 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
9722 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
9723 (alpha_sa_mask, alpha_sa_size): Reflect above change.
9724 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
9725 (alpha_start_function, alpha_expand_epilogue): Likewise.
9726 (unicosmk_gen_dsib): Likewise.
9728 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9730 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
9732 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
9734 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
9735 check_and_change_labels, s390_final_chunkify): Delete.
9736 (s390_split_branches, s390_chunkify_pool): New functions.
9737 (s390_function_prologue): Call them.
9739 * config/s390/s390.h (S390_REL_MAX): Delete.
9740 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
9742 * config/s390/s390.md (cjump, icjump, jump): Fix length
9743 attribute calculation.
9746 2002-02-15 David Edelsohn <edelsohn@gnu.org>
9748 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
9749 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
9751 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
9753 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
9754 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
9755 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
9757 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
9759 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
9761 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
9763 * reload.c (find_dummy_reload): Check that an output register
9764 is valid for its mode.
9766 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
9768 * combine.c (known_cond): After replacing the REG of a SUBREG, try
9771 * function.c (assign_parms): Demote promoted argument passed by
9772 transparent reference.
9774 2001-02-14 Joel Sherrill <joel@OARcorp.com>
9776 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
9777 -Acpu() and -Amachine() to eliminate warnings.
9779 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
9781 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
9783 2002-02-14 Kazu Hirata <kazu@hxi.com>
9785 * config/h8300/h8300-protos.h: Update the prototype for
9787 * config/h8300/h8300.c (const_costs): Treat SET as a little
9788 more expensive operation.
9789 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
9790 reference to const_costs.
9792 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
9794 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
9796 2002-02-14 Jakub Jelinek <jakub@redhat.com>
9799 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
9800 use arguments from newtype.
9802 2002-02-13 Eric Christopher <echristo@redhat.com>
9804 * config/mips/mips.c (override_options): Add check for march/mipsX
9805 on the same command line. Fix error message in cpu processing.
9806 Remove architecture and ISA checks.
9808 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
9810 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
9812 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
9814 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
9816 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
9818 ("*movv8hi_internal1"): Same.
9819 ("*movv16qi_internal1"): Same.
9820 ("*movv4sf_internal1"): Same.
9822 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
9823 not push_reload for altivec modes.
9825 2002-02-13 Joel Sherrill <joel@OARcorp.com>
9827 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
9828 all RTEMS targets including removal of #includes from config/*/rtems*.h
9829 file and adding them to tm_file setting. Added xm_defines=POSIX to
9831 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
9832 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
9833 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
9834 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
9835 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
9836 config/m68k/rtemself.h: Ditto.
9837 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
9838 config/mips/rtems64.h: Ditto.
9839 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
9840 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
9842 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
9843 config/sparc/rtemself.h: Ditto.
9844 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
9845 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
9846 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
9848 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
9849 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
9850 target made more similar to i386-elf.
9851 * config/i386/t-rtems-i386: Added soft float support and multilibs.
9852 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
9853 be similar to config/m68k/t-m68kelf.
9854 * gthr-rtems.h: Encapsulate with extern "C" for C++.
9856 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
9858 * regmove.c (kill_value): Handle subregs.
9860 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
9862 * i386.md (mul patterns): Allow memory operand to be first;
9863 add expanders where needed; fix constraints.
9864 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
9865 Allow memory operand to be the first.
9867 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
9870 2002-02-13 Jakub Jelinek <jakub@redhat.com>
9873 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
9876 2002-02-13 Jakub Jelinek <jakub@redhat.com>
9878 PR optimization/5547:
9879 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
9880 all valid IA-32 address modes involving non-scaled %ebx and
9881 GOT/GOTOFF as displacement.
9883 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
9885 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
9886 after emitting ltorg insns.
9888 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
9889 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
9890 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
9891 *abssf2): Fix "op_type" attribute.
9893 2002-02-13 Douglas B Rupp <rupp@gnat.com>
9895 * mkconfig.sh: Avoid using a subshell redirect.
9896 ($output.T): Change to $(output)T.
9897 (ENABLE_NLS): Remove unneeded undef.
9899 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
9900 * config/alpha/x-vms (libsubdir): Define.
9902 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
9903 register frame procedures. Optimize retrieving context.
9905 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
9906 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
9907 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
9909 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9911 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
9912 Make same change as for find_base_value.
9914 2002-02-13 Kazu Hirata <kazu@hxi.com>
9916 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
9917 of QImode and SImode.
9919 2002-02-13 Kazu Hirata <kazu@hxi.com>
9921 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
9922 length computation of movsi.
9923 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
9925 2002-02-13 Kazu Hirata <kazu@hxi.com>
9927 * config/h8300/h8300.md (subqi3): Tighten the predicate for
9928 operands[2] to register_operand.
9930 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
9932 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
9934 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
9936 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
9937 for altivec_lvx* and altivec_stvx*.
9938 ("*movv4si_internal"): Add constraint for loading from GPRs.
9939 ("*movv8hi_internal1"): Same.
9940 ("*movv16qi_internal1"): Same.
9941 ("*movv4sf_internal1"): Same.
9943 * config/rs6000/rs6000.c (altivec_register_operand): New.
9945 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
9946 altivec_register_operand.
9948 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
9950 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
9953 2002-02-13 Stan Shebs <shebs@apple.com>
9955 * c-typeck.c (digest_init): Handle vectors.
9956 (really_start_incremental_init): Same.
9957 (pop_init_level): Same.
9958 (process_init_element): Same.
9960 * varasm.c (output_constant): Same.
9962 * expr.c (clear_storage): Same.
9963 (store_constructor): Same.
9965 2002-02-12 Eric Christopher <echristo@redhat.com>
9967 * explow.c (hard_function_value): Add comment explaining
9968 signed/unsigned comparison.
9970 2002-02-12 Jakub Jelinek <jakub@redhat.com>
9972 * jump.c (never_reached_warning): Add finish argument.
9973 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
9974 real insn after end.
9975 * rtl.h (never_reached_warning): Adjust prototype.
9976 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
9977 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
9978 never_reached_warning.
9980 2002-02-12 Graham Stott <grahams@redhat.com>
9982 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
9984 2002-02-12 Kazu Hirata <kazu@hxi.com>
9986 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
9987 logical shifts on H8/300.
9988 (shift_alg_si): Improve several shifts on H8/300.
9989 (get_shift_alg): Likewise.
9991 2002-02-12 Graham Stott <grahams@redhat.com>
9993 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
9995 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9997 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
9998 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
10000 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
10002 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
10003 non-CONST_INT through default_assemble_integer.
10004 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
10005 <case 8>: Abort for CONST_DOUBLE.
10007 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
10009 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
10011 * config/pa/pa-linux.h (LIB_SPEC): Delete.
10012 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
10014 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
10016 * config/stormy16/stormy16.md (zero_extendqihi2): New.
10018 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
10020 * regrename.c (regrename_optimize): Don't accept a
10021 part-clobbered register if the replaced register is not part
10024 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
10025 take padding into account when computing the argument value.
10027 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
10029 * combine.c (try_combine): Apply substitutions in
10030 CALL_INSN_FUNCTION_USAGE too.
10032 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
10034 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
10035 __builtin_altivec_abs*.
10038 * config/rs6000/rs6000.h (rs6000_builtins): Add
10039 ALTIVEC_BUILTIN_ABS*.
10041 * config/rs6000/altivec.h: Use const char for builtins expecting
10043 (vec_abs): New versions for C and C++.
10046 2002-02-10 Kazu Hirata <kazu@hxi.com>
10048 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
10051 2002-02-10 Kazu Hirata <kazu@hxi.com>
10053 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
10054 constant definition from h8300.md.
10055 (FRAME_POINTER_REGNUM): Likewise.
10056 * config/h8300/h8300.md (define_constants): Add FP_REG.
10058 2002-02-10 Kazu Hirata <kazu@hxi.com>
10060 * config/h8300/h8300.c (print_operand): Remove redundant code.
10062 2002-02-10 Kazu Hirata <kazu@hxi.com>
10064 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
10065 * config/h8300/h8300.c (byte_reg): Make it static.
10067 2002-02-10 Richard Henderson <rth@redhat.com>
10070 * c-typeck.c (incomplete_type_error): Handle flexible array members.
10072 2002-02-10 Richard Henderson <rth@redhat.com>
10075 * tree.c (append_random_chars): Don't abort if main_input_filename
10078 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
10080 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
10082 2002-02-10 Kazu Hirata <kazu@hxi.com>
10084 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
10085 (pushhi1): Likewise.
10087 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
10089 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
10090 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
10092 2002-02-09 David O'Brien <obrien@FreeBSD.org>
10094 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
10096 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
10098 2002-02-09 Kazu Hirata <kazu@hxi.com>
10100 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
10101 a half of an SImode register on H8/300.
10103 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
10105 * i386.md (movdi_2): Add missing '!'.
10107 2002-02-09 Kazu Hirata <kazu@hxi.com>
10109 * config/h8300/h8300.h: Fix formatting. Remove commented-out
10112 2002-02-09 Kazu Hirata <kazu@hxi.com>
10114 * config/h8300/h8300.md (length): Correct the distance valid
10115 for the short branch.
10117 2002-02-09 Kazu Hirata <kazu@hxi.com>
10119 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
10121 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
10123 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
10124 registers in SImode.
10125 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
10128 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
10131 Contribute sh64-elf.
10132 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
10133 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
10134 (sh_cannot_modify_jumps_p): New function.
10135 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
10136 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
10137 (sh_ms_bitfield_layout_p): New function.
10138 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
10139 Zack Weinberg <zack@codesourcery.com>
10140 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
10141 expand_simple_binop instead of expand_binop.
10142 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
10143 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
10144 use of .quad and .uaquad.
10145 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
10146 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
10147 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
10148 * config/sh/sh.md (movdi_const, movdi_const_32bit,
10149 movdi_const_16bit): Make sure all CONSTs have modes.
10150 (sym2PIC): Ditto, but by adjusting all callers.
10151 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
10152 if the prologue calls the SHmedia argument decoder or register
10154 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
10155 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
10156 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
10157 (sh_expand_epilogue): Don't emit USE of return target register.
10158 (prepare_move_operands): Legitimize DImode PIC addresses.
10159 (sh_media_register_for_return): Skip tr0, used to initialize the
10161 (sh_expand_prologue): Remove explicit USE of return register.
10162 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
10163 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
10164 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
10165 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
10166 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
10167 EXTRA_CONSTRAINT_T.
10168 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
10169 (MOVI_SHORI_BASE_OPERAND_P): New.
10170 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
10171 (EXTRA_CONSTRAINT_T): Define in terms of them.
10172 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
10173 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
10174 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
10175 alternatives supporting TARGET_REGS.
10176 (UNSPEC_GOTPLT): New constant.
10177 (movdi split): Move incrementing of LABEL_NUSES...
10178 (movdi_const, movdi_const_32bit): Here. Use
10179 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
10180 (movdi_const_16bit): New.
10181 (call, call_value) [flag_pic]: Use GOTPLT.
10182 (call_pop, call_value_pop): New expands.
10183 (call_pop_compact, call_pop_rettramp): New insns.
10184 (call_value_pop_compact, call_value_pop_rettramp): New insns.
10185 (sibcall) [flag_pic]: Use GOT.
10186 (builtint_setjmp_receiver): Remove bogus, unused expand.
10187 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
10188 (*pt, *ptb, ptrel): New insns.
10189 (sym2GOT): Handle DImode GOT.
10190 (sym2GOTPLT, symGOTPLT2reg): New expands.
10191 (sym2PIC): New expand.
10192 (shcompact_return_tramp): Use GOTPLT to return trampoline.
10193 (shcompact_return_tramp_i): Use return register explicitly.
10194 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
10195 disable flag_reorder_blocks.
10196 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
10197 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
10198 clobbers, for clarity.
10199 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
10200 restoring of r0 in macl as MAYBE_DEAD.
10201 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
10202 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
10203 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
10204 alter_subreg all over.
10205 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
10206 reload, instead of emitting instructions that would require
10208 (casesi_load_media): Add missing modes.
10209 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
10210 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
10211 as used if the argument decoder is called.
10212 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10213 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
10214 Pmode, then extend it to DImode if necessary.
10215 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
10216 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
10217 constants in FPU-enabled SHmedia, let them be loaded from memory.
10218 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10219 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
10220 Adjust whitespace in assembly output templates.
10221 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
10222 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
10223 mode of if_then_else.
10224 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
10225 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
10227 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
10228 Joern Rennecke <amylaar@redhat.com>
10229 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
10230 (SUBTARGET_CPP_PTR_SPEC): New.
10231 (SUBTARGET_CPP_SPEC): Remove.
10232 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
10233 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
10234 Fix typo in previous checkin.
10235 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
10236 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
10237 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
10238 Alexandre Oliva <aoliva@redhat.com>
10239 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
10240 what single FP register can hold for SHmedia target.
10241 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
10242 Alexandre Oliva <aoliva@redhat.com>
10243 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
10244 Do not split into SUBREG.
10245 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
10246 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
10247 and added new functions as specified in SH5 ABI r9.
10248 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
10249 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
10251 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
10252 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
10253 gen_consttable_4 and gen_consttable_8. Emit multiple labels
10254 and consttable_window_ends.
10255 2001-06-03 Graham Stott <grahams@redhat,com>
10256 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
10257 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
10258 * config/sh/sh.c (print_operand): Handle floating-point pair,
10259 vector and matrix registers.
10260 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
10261 vector modes into account.
10262 * config/sh/sh.md (movv2sf): Split move between registers into
10264 (movv4sf, movv16sf): Introduce insns that get split only after
10266 * config/sh/shmedia.h: Fix Copyright dates.
10267 * config/sh/ushmedia.h: Likewise. Move loop counter
10268 declarations into conditionals that uses them.
10269 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
10271 * config/sh/sshmedia.h: Fix Copyright dates.
10272 (sh_media_PUTCFG): Fix constraints.
10273 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
10274 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
10275 ptrmemfunc_vbit_in_delta for SH5.
10276 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
10277 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
10278 * invoke.texi: Likewise.
10279 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
10280 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
10281 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
10282 GCC_pop_shmedia_regs_nofpu): New global symbols.
10283 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
10284 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
10285 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
10286 compact function with nonlocal labels.
10287 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
10288 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
10289 (initial_elimination_offset): Account for their stack space.
10290 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
10291 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
10292 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
10293 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
10294 least one of the operands to be a register.
10295 (movv2sf): Likewise. Renamed to movv2sf_i.
10296 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
10297 prepare_move_operands() before emitting SHmedia insns.
10298 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
10299 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
10300 Don't save nor initialize r12. Don't mis-align the stack.
10301 Pad the code with a nop.
10302 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
10304 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10305 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
10306 [__SHMEDIA__]: Implement.
10307 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
10308 * config/sh/sh.md: Set latency of `pt' closer to reality.
10309 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
10310 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
10311 Set move, load and store type attributes.
10312 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
10313 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
10315 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
10316 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
10317 * config/sh/sh.c (sh_media_register_for_return): New function.
10318 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
10319 branch-target register.
10320 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
10321 * config/sh/sh.md (return_media_i): Use any call-clobbered
10322 branch-target register.
10323 (return_media): If r18 wasn't copied in the prologue, copy it
10325 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
10326 Clear class FP0_REGS.
10327 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
10329 2001-03-08 DJ Delorie <dj@redhat.com>
10330 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
10331 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
10332 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
10333 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
10334 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
10335 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
10336 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
10337 return value correctly for call_cookie.
10338 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10339 * config/sh/crt1.asm (start): Modified so as to call
10340 ___setup_argv_and_call_main.
10341 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
10342 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
10344 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
10345 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
10346 (STRIP_NAME_ENCODING): Use it.
10347 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
10348 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
10349 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
10350 prepare_scc_operands().
10351 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
10352 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
10353 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
10354 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
10355 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
10356 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
10357 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
10358 used in shcompact_incoming_args.
10359 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
10361 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
10363 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
10364 Adjust accordingly.
10365 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
10366 Simplify. Adjust. Add sanity check.
10367 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
10369 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
10371 (udivsi3, divsi3): Use them.
10372 (force_mode_for_call): New insn.
10373 (call, call_value, sibcall_value): Emit it before SHcompact
10375 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
10376 * config/sh/sh.md (call, call_value, sibcall): Make sure the
10377 call cookie is non-NULL before taking its value.
10378 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
10379 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
10380 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
10381 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
10383 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
10384 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
10385 temporary for stack adjusts. Use MACL and MACH to pass
10386 arguments to shcompact_incoming_args.
10387 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
10389 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
10390 (nested_trampoline): Load static chain address into r1.
10391 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
10392 2001-01-07 Alexandre Oliva <aoliva@redhat.com
10393 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
10394 fp_arith_reg_operand().
10395 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
10396 * config/sh/sh.md (casesi): Sign-extend the first two operands,
10397 and use signed compares for them.
10398 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
10399 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
10400 ones properly aligned.
10401 (find_barrier): Account for extra alignment needed for 8-byte wide
10403 (machine_dependent_reorg): Require a label for the second 4-byte
10404 constant after an 8-byte one.
10405 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
10407 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
10408 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
10409 last_float when switching float modes.
10410 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
10411 auto-increment for general-purpose registers.
10412 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
10414 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
10416 * config/sh/sh.c (sh_builtin_saveregs): Support using all
10417 registers for varargs.
10418 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
10419 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
10420 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
10421 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
10422 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
10423 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
10424 call_cookie accordingly.
10425 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
10426 (SHCOMPACT_BYREF): Likewise.
10427 (SHCOMPACT_FORCE_ON_STACK): New macro.
10428 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
10429 (sh_builtin_saveregs): Likewise.
10430 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
10431 shcompact_incoming_args): Use new shift values. Support
10432 sequences of consecutive and non-consecutive pushes/pops.
10433 * config/sh/sh.md (return): Don't explicitly use PR_REG.
10434 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
10435 * config/sh/sh.h (TEXT_SECTION): Define.
10436 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
10437 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
10438 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
10439 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
10440 return values on FPU-enabled SHmedia.
10441 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
10442 FPU-enabled SHmedia.
10443 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
10444 value is returned in a non-FP reg and is not returned by
10446 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
10448 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
10449 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
10450 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
10451 quad-aligned to be passed by callee-copy reference.
10452 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
10453 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
10454 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
10455 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
10456 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
10457 copying low-numbered FP regs to r7 and r8.
10458 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
10459 FP regs to general-purpose regs only if the copy was passed on the
10461 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
10462 copying FP reg to r9.
10463 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
10464 copy FP regs to general-purpose regs only in outgoing calls.
10465 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
10466 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
10468 * config/sh/sh.h (struct sh_args): Document all fields.
10469 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
10470 passed partially on the stack should not consider making
10472 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
10473 stack_regs only for incoming calls. When passing FP args,
10474 make sure there are FP regs available before modifying
10476 (SHCOMPACT_BYREF): Pass double args in general-purpose
10477 registers by reference.
10478 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
10479 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
10480 attempt to generate sibcalls if the caller got any arguments
10482 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
10483 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
10484 to 8-byte boundaries.
10485 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
10486 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
10487 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
10488 stored in the stack.
10489 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
10490 for the offsets to have the ISA bit set.
10491 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
10492 invocation. Use beq instead of bgt to mark end of sequence of
10494 (shcompact_incoming_args): Fix store of r2. Use beq instead of
10495 bgt to mark end of sequence of stores.
10496 * config/sh/sh.c (arith_operand): Don't check whether
10497 CONST_OK_FOR_J for now.
10498 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
10499 instead of long for conversion.
10500 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
10501 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
10502 before passing it to fprintf.
10503 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
10504 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
10505 Call set_fpscr before reading/writing SR.
10506 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
10508 * config/sh/lib1funcs.asm: Add `.align 2' directives before
10510 (FMOVD_WORKS): Define on SH5 with FPU.
10511 (set_fpscr): Define on SH5. Remove separate _fpscr_values
10513 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
10515 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
10516 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
10518 (ia_main_table): Ditto.
10519 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
10520 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
10521 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
10522 the definitions from sh.h.
10523 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
10525 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
10526 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
10527 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
10528 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
10529 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
10530 Increment LABEL_NUSES.
10532 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
10534 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
10536 * config/sh/elf.h (SIZE_TYPE): Likewise.
10537 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
10538 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
10539 shcompact_incoming_args): Load switch table addresses using
10541 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
10542 (NO_BUILTIN_SIZE_TYPE): Define.
10543 (SIZE_TYPE): Don't define.
10544 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
10545 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
10546 definition of __SH5__=32 for -m5-compact-nofpu.
10547 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
10549 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
10550 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
10551 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
10552 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
10553 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
10554 (INSN_LENGTH_ALIGNMENT): Likewise.
10555 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
10556 * config/sh/sh.md (call, call_value, sibcall): Simplify
10557 copying of non-branch-target register.
10558 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
10559 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
10560 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
10561 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
10562 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
10563 floating-point values as structs.
10564 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
10565 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
10566 general-purpose register.
10567 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
10568 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
10569 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
10570 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
10571 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
10572 (ENCODE_SECTION_INFO): Enclose variables and constants in
10574 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
10575 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
10576 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
10577 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
10578 only for LABEL_REFs. For SYMBOL_REFs, prepend
10579 SH_DATALABEL_ENCODING to the symbol name.
10580 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
10582 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
10583 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
10585 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
10586 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
10587 (DATALABEL_REF_P): Don't require CONST.
10588 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
10590 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
10591 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
10593 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
10594 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
10595 Use shallow_copy_rtx and PUT_MODE to change the mode of
10596 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
10597 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
10598 on SHmedia using GENERAL_REGs.
10599 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
10600 bltu_media_i): Fix reversion of conditions.
10601 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
10602 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
10603 * config/sh/sh.c (output_far_jump): Save r13 in macl.
10604 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
10605 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
10606 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10607 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
10608 (GCC_nested_trampoline): Likewise.
10609 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
10610 * config/sh/sh.c (gen_datalabel_ref): Define.
10611 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
10612 (INITIALIZE_TRAMPOLINE): Likewise.
10613 (TRAMPOLINE_ADJUST_ADDRESS): Define.
10614 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
10615 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
10616 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
10617 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
10618 (ic_invalidate): Adjust for SH5.
10619 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
10620 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
10621 _nested_trampoline.
10622 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
10623 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
10624 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
10625 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
10626 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
10627 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
10628 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
10629 * config/sh/sh.c (target_reg_operand): Match only target-branch
10630 registers and pseudos that aren't virtual registers.
10631 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
10632 Copy operands that don't match target_reg_operand to pseudos.
10633 (call_media, call_value_media, sibcall_media): Use
10634 target_reg_operand instead of target_operand.
10635 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
10636 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
10637 * config/sh/sh.c (target_reg_operand): Match hardware registers
10638 other than branch-target registers.
10639 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
10640 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
10641 (fpscr_values) [SH5 == 32]: Define.
10642 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
10643 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
10644 Handle function addresses coming in SUBREGs.
10645 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
10646 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
10647 shcompact_return_trampoline): Use datalabel where appropriate.
10648 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
10649 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
10650 general-purpose register to copy one branch-target register to
10652 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
10653 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
10654 SYMBOL_REFs with VOIDmode.
10655 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
10656 bltu_media_i): New insns.
10657 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
10658 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
10659 (INIT_CUMULATIVE_ARGS): Likewise.
10660 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10661 * machmode.def (V16SFmode): New mode.
10662 * c-common.c (type_for_mode): Support V2SF and V16SF.
10663 * tree.c (build_common_tree_nodes_2): Likewise.
10664 * tree.h (tree_index): Likewise.
10665 * calls.c (emit_call_1): Take args_so_far. Adjust all
10666 callers. Introduce CALL_POPS_ARGS.
10667 * tm.texi (CALL_POPS_ARGS): Document.
10668 * config/sh/crt1.asm: Implement in SHmedia mode.
10669 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
10670 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
10671 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
10672 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
10673 Implement divsi and udivsi in SHmedia mode. Introduce
10674 SHcompact trampolines.
10675 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
10677 (regno_reg_class): Rewrite.
10678 (fp_reg_names): Remove.
10679 (sh_register_names, sh_additional_register_names): New.
10680 (print_operand): Added `u'. Support SUBREGs in addresses.
10681 Add parentheses around shifted CONSTs.
10682 (output_file_start): Output .mode and .abi directives.
10683 (shiftcosts, addsubcosts, multcosts): Adjust.
10684 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
10685 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
10686 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
10687 bytes, not registers. Take into account the need for the
10688 SHcompact incoming args trampoline. Adjust all callers.
10689 (sh_expand_prologue): Take stack_regs into account. Call
10690 incoming args trampoline. Keep stack aligned as per SH5 ABI.
10691 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
10692 stack aligned as per SH5 ABI.
10693 (sh_builtin_saveregs): Support SH5 ABI.
10694 (sh_build_va_list, sh_va_start): Likewise.
10695 (initial_elimination_offset): Take alignment into account.
10696 Compute location of PR according to the SH5 stack frame.
10697 (arith_reg_operand): Reject branch-target registers.
10698 (shmedia_6bit_operand): New.
10699 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
10700 (target_reg_operand): Match DImode only. Accept SUBREGs.
10701 (target_operand): New.
10702 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
10703 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
10704 SIBCALL_REGS for SHmedia.
10705 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
10706 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
10707 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
10708 (TARGET_SWITCHES): New SH5 flags.
10709 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
10710 VALID_REGISTER_P to disable unsupported registers.
10711 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
10712 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
10713 (FUNCTION_ARG_PADDING): Define.
10714 (FASTEST_ALIGNMENT): Adjust.
10715 (SH_REGISTER_NAMES_INITIALIZER): New.
10716 (sh_register_names): Declare.
10717 (DEBUG_REGISTER_NAMES): Define.
10718 (REGISTER_NAMES): Define based on sh_register_names.
10719 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
10720 (sh_additional_register_names): Declare.
10721 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
10722 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
10723 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
10724 (REGISTER_NATURAL_MODE): Define.
10725 (FIRST_PSEUDO_REGISTER): Adjust.
10726 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
10727 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
10728 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
10729 (VECTOR_MODE_SUPPORTED_P): Define.
10730 (REG_CLASS_CONTENTS): Adjust.
10731 (SMALL_REGISTER_CLASSES): Adjust.
10732 (REG_ALLOC_ORDER): Adjust.
10733 (INDEX_REG_CLASS): Adjust.
10734 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
10735 (CONST_OK_FOR_LETTER_P): Adjust.
10736 (PREFERRED_RELOAD_CLASS): Adjust.
10737 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
10738 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
10739 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
10740 (FIRST_FP_PARM_REG): Adjust.
10741 (CALL_POPS_ARGS): Define.
10742 (FUNCTION_ARG_REGNO_P): Adjust.
10743 (struct sh_args): New fields.
10744 (GET_SH_ARG_CLASS): Adjust.
10745 (INIT_CUMULATIVE_ARGS): Adjust.
10746 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
10747 (FUNCTION_ARG_ADVANCE): Adjust.
10748 (FUNCTION_ARG): Adjust.
10749 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
10750 (FUNCTION_ARG_CALLEE_COPIES): Define.
10751 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
10752 (STRICT_ARGUMENT_NAMING): Define.
10753 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
10754 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
10755 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
10756 (SETUP_INCOMING_VARARGS): Adjust.
10757 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
10758 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
10759 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
10760 (SUBREG_OK_FOR_INDEX_P): Adjust.
10761 (EXTRA_CONSTRAINT_S): Update.
10762 (EXTRA_CONSTRAINT_T): New.
10763 (EXTRA_CONSTRAINT): Adjust.
10764 (GO_IF_LEGITIMATE_INDEX): Adjust.
10765 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
10766 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
10767 (MOVE_MAX): Adjust.
10768 (MAX_MOVE_MAX): Define.
10770 (CONST_COSTS): Adjust.
10771 (REGISTER_MOVE_COST): Adjust.
10772 (BRANCH_COST): Adjust.
10773 (TEXT_SECTION_ASM_OP): Adjust.
10774 (DBX_REGISTER_NUMBER): Adjust.
10775 (ASM_OUTPUT_DOUBLE_INT): New.
10776 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
10777 (PREDICATE_CODES): Adjust.
10778 (PROMOTE_MODE): Adjust.
10779 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
10780 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
10781 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
10782 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
10783 (DR0_REG, DR2_REG, DR4_REG): Renumber.
10784 (TR0_REG, TR1_REG, TR2_REG): New.
10785 (XD0_REG): Renumber.
10786 (UNSPEC_COMPACT_ARGS): New.
10787 (type): Added pt and ptabs.
10788 (length): Default to 4 on SHmedia. Default pt length to 12
10789 and 20 on SHmedia32 and SHmedia64, respectively.
10790 (pt): New function unit.
10791 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
10792 Add whitespace between operands of SHmedia instructions.
10794 (adddi3_media, addsi3_media): Adjust constraints.
10795 (subsi3) [SHmedia]: Force operand 1 into a register.
10796 (udivsi3_i1_media, udivsi3_i4_media): New.
10797 (udivsi3): Support SHmedia.
10798 (divsi3_i1_media, divsi3_i4_media): New.
10799 (divsi3): Support SHmedia.
10800 (anddi3, iordi3, xordi3): Adjust constraints.
10801 (zero_extendhidi2, zero_extendqidi2): New.
10802 (extendsidi2, extendhidi2, extendqidi2): New.
10803 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
10804 (pop_e, pop_fpul, pop_4): Likewise.
10805 (movsi_media): Support FP and BT registers.
10806 (movsi_media_nofpu): New. Adjust splits to DImode.
10807 (lduw, ldub): Renamed to zero_extend* above.
10808 (movqi_media): Fix typo.
10809 (movdi_media): Support FP and BT registers.
10810 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
10811 (movdi_const_32bit): New.
10812 (shori_media): Require immediate operand. Use `u' for output.
10813 (movdf_media, movsf_media): Simplified.
10814 (movdf_media_nofpu, movsf_media_nofpu): New.
10815 (movdf, movsf): Adjust
10816 (movv2sf, movv2sf, movv16sf): New.
10817 (beq_media, beq_media_i): Adjust constraints. Don't use
10818 scratch BT register.
10819 (bne_media, bne_media_i): Likewise.
10820 (bgt_media, bgt_media_i): Likewise.
10821 (bge_media, bge_media_i): Likewise.
10822 (bgtu_media, bgtu_media_i): Likewise.
10823 (bgeu_media, bgeu_media_i): Likewise.
10824 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
10825 bunordered): Emit jump insn. Force operands to registers when
10827 (jump_media, jump): Simplify.
10828 (call_compact, call_compact_rettramp): New.
10829 (call_value_compact, call_value_compact_rettramp): New.
10830 (call_media, call_value_media): Simplify.
10831 (sibcall_compact, sibcall_media): New.
10832 (call, call_value): Adjust for SHmedia and SHcompact.
10833 (sibcall, sibcall_value, untyped_call): Likewise.
10834 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
10835 (indirect_jump): Adjust for SHmedia.
10836 (casesi_jump_media): New.
10837 (nop): Re-enable for SHmedia.
10838 (call_site): Restrict to SH1.
10839 (casesi): Adjust for SHmedia.
10840 (casesi_shift_media, casesi_load_media): New.
10841 (return): Explicitly use PR register. Call return trampoline
10843 (return_i): Explicitly use PR register.
10844 (shcompact_return_tramp, shcompact_return_tramp_i): New.
10845 (return_media): Adjust.
10846 (shcompact_incoming_args): New.
10847 (epilogue): Adjust.
10848 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
10849 (movstrsi): Disable on SH5.
10850 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
10851 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
10852 (subsf3, subsf3_media): Likewise.
10853 (mulsf3, mulsf3_media, mac_media): Likewise.
10854 (divsf3, divsf3_media): Likewise.
10855 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
10856 (floatsisf2, fux_truncsfsi2): Likewise.
10857 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
10859 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
10860 (cmpunsf_media, cmpsf): Likewise.
10861 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
10862 (abssf2, abssf2_media): Likewise.
10863 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
10864 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
10865 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
10866 (floatsidf2, fix_truncdfsi2): Likewise.
10867 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
10869 (cmpeqdf_media, cmpgtdf_media): Likewise.
10870 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
10871 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
10872 (absdf2, absdf2_media): Likewise.
10873 (extendsfdf2, extendsfdf2_media): Likewise.
10874 (truncsfdf2, truncsfdf2_media): Likewise.
10875 * config/sh/sh64.h: New file.
10876 * config/sh/t-sh64: New file.
10877 * config/sh/shmedia.h: New file.
10878 * config/sh/ushmedia.h: New file.
10879 * config/sh/sshmedia.h: New file.
10880 * configure.in: Added sh64-*-elf.
10881 * configure: Rebuilt.
10882 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
10883 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
10884 (reg_class_from_letter): Use `b' for TARGET_REGS.
10885 (print_operand): Support `%M', `%m', `AND' and
10886 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
10887 (andcosts): Adjust for SHmedia.
10888 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
10890 (target_reg_operand): New function.
10891 * config/sh/sh-protos.h (target_reg_operand): Declare.
10892 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
10893 FP registers on SH5.
10894 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
10896 (TARGET_REGISTER_P): New macro.
10897 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
10898 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
10899 (EXTRA_CONSTRAINT_S): New macro.
10900 (EXTRA_CONSTRAINT): Adjust.
10901 (FLOAT_TYPE_SIZE): Define to 32.
10902 (Pmode): DImode on SHmedia.
10903 (CONST_COSTS): Adjust for SHmedia literals.
10904 (PREDICATE_CODES): Added target_reg_operand.
10905 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
10906 * config/sh/sh.md: Remove all attrs from SHmedia insns.
10907 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
10908 (cmpdi): Accept SHmedia.
10909 (movdicc_false, movdicc_true): New insns.
10910 (movdicc): New expand.
10911 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
10913 (addsi3_media): Match `S' constraint.
10914 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
10915 (negdi2): Expand for SHmedia.
10916 (one_cmpldi2): New expand.
10917 (zero_extendsidi2): Change from expand to insn.
10918 (extendsidi2): Add constraints.
10919 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
10920 LD/ST address. Fix SI immediate loading split.
10921 (movhi_media, movqi_media, lduw, ldub): New insns.
10922 (movhi, movqi): Accept SHmedia.
10923 (shori_media, movdi_media): Relax input constraints. Split
10924 symbolic constants.
10925 (movdf_media, movsf_media): New insn. New split to movdi.
10926 (movdf, movsf): Match on SHmedia.
10927 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
10928 bgeu_media): New insns and splits. New insns with `_i' suffix.
10929 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
10930 (bunordered): New expand.
10931 (jump_compact): Renamed from `jump'.
10932 (jump_media): New insn.
10933 (jump): New expand.
10934 (call_media, call_value_media): New insns.
10935 (call, call_value): Adjust.
10936 (indirect_jump_compact): Renamed from `indirect_jump'.
10937 (indirect_jump_media): New insn.
10938 (indirect_jump): New expand.
10939 (untyped_call, return): Accept SHmedia.
10940 (return_media): New insn.
10941 (prologue, epilogue, blockage): Accept SHmedia.
10942 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
10943 (sunordered): New expand.
10944 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
10945 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
10946 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
10947 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
10948 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
10949 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
10950 abssf2_media): New insns.
10951 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
10952 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
10953 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
10954 floatdidf2, floatsidf2_media, fix_truncdfdi2,
10955 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
10956 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
10957 absdf2_media): New insns.
10958 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
10959 (extendsfdf2_media, truncdfsf2_media): New insns.
10960 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
10961 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
10962 * config/sh/sh.h (CONST_OK_FOR_J): Document.
10963 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
10964 * config/sh/sh.md (adddi3): New expand.
10965 (adddi3_media, adddi3z_media): New insns.
10966 (adddi3_compact): Renamed from adddi3.
10967 (addsi3_media): Use add.l r63 to add constant zero.
10968 (subdi3): New expand.
10969 (subdi3_media): New insn.
10970 (subdi3_compact): Renamed from subdi3.
10971 (mulsidi3): New expand.
10972 (mulsidi3_media): New insn.
10973 (mulsidi3_compact): Renamed from mulsidi3.
10974 (umulsidi3): New expand.
10975 (umulsidi3_media): New insn.
10976 (umulsidi3_compact): Renamed from umulsidi3.
10977 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
10978 (ashlsi3, ashrsi3, lshrsi3): Use them.
10979 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
10980 (ashldi3, ashrdi3, lshrdi3): Use them.
10981 (zero_extendsidi2): New expand.
10982 (extendsidi2): New insn.
10983 (movsi_media): New insn. Split to movdi to load constants.
10984 (movsi): Enable for shmedia.
10985 (movdi_media): New insn. Use shori_media to load wide constants.
10986 (short_media): New insn.
10987 (movdi): Enable for shmedia.
10988 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
10989 * config/sh/sh.h (CPP_SPEC): Added `m5'.
10990 (SUBTARGET_CPP_SPEC): Added `!m5'.
10991 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
10992 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
10993 to all other SH variants.
10994 (TARGET_DEFAULT): Set to SH1_BIT.
10995 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
10996 (BITS_PER_WORD): Raise to 64 on shmedia.
10997 (MAX_BITS_PER_WORD): Change to 64.
10998 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
10999 (INT_TYPE_SIZE): Keep as 32.
11000 (UNITS_PER_WORD): Raise to 8 on shmedia.
11001 (MIN_UNITS_PER_WORD): Keep as 4.
11002 (POINTER_SIZE): Raise to 64 on shmedia.
11003 (CONST_OK_FOR_J): New macro.
11004 (CONST_OK_FOR_LETTER_P): Use it.
11005 (processor_type): Add PROCESSOR_SH5.
11006 * config/sh/sh.md: Conditionalize all expands, insns and
11007 splits to TARGET_SH1.
11009 (addsi3_compact): Renamed from...
11010 (addsi3): Now an expand.
11011 (addsi3_media, subsi3_media): New insns.
11012 (subsi3): Don't negate constants with SHmedia.
11014 * hooks.c: New file.
11015 * hooks.h: New file.
11016 * Makefile.in (HOOKS_H): New.
11017 (TARGET_DEF_H): Added $(HOOKS_H).
11018 (OBJS): Added hooks.o.
11019 (cfgcleanup.o, bb-reorder.o): Added target.h.
11020 (hooks.o): Added dependencies.
11021 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
11022 (TARGET_INITIALIZER): this.
11023 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
11024 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
11025 * bb-reorder.c: Include target.h.
11026 (reorder_basic_blocks): Skip if cannot modify jumps.
11027 * cfgcleanup.c: Include target.h.
11028 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
11030 2002-02-08 Chris Demetriou <cgd@broadcom.com>
11032 * config/mips/mips.md (casesi_internal, casesi_internal_di):
11033 Protect jump delay slot instructions with .set noreorder and
11036 2002-02-08 Chris Demetriou <cgd@broadcom.com>
11038 * config/mips/mips.md (casesi_internal_di): Calculate
11039 the index into the target offset table correctly.
11041 2002-02-08 Richard Henderson <rth@redhat.com>
11043 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
11044 * final.c (output_addr_const): Accept and discard SUBREG.
11045 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
11046 mark them unknown instead.
11047 (simplify_subtraction): Handle RTX_UNKNOWN.
11048 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
11050 2002-02-08 David Edelsohn <edelsohn@gnu.org>
11052 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
11054 2002-02-08 Richard Henderson <rth@redhat.com>
11056 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
11058 2002-02-08 Andreas Jaeger <aj@suse.de>
11060 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
11061 * config/i386/t-linux64: New file.
11063 2002-02-08 Jakub Jelinek <jakub@redhat.com>
11065 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
11066 * c-parse.in (compstmt): Clear last_expr_type.
11068 2002-02-07 Richard Henderson <rth@redhat.com>
11070 * loop.c (strength_reduce): Sink final_value when not
11073 2002-02-07 David O'Brien <obrien@FreeBSD.org>
11075 * config/sparc/freebsd.h: Fix mismatched spec {.
11077 2002-02-07 Richard Henderson <rth@redhat.com>
11079 * cfgrtl.c: Include recog.h and insn-config.h.
11080 (keep_with_call_p): Fix general_operand invocation.
11081 * Makefile.in (cfgrtl.o): Update dependencies.
11083 2002-02-07 Kazu Hirata <kazu@hxi.com>
11085 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
11086 comment. Accept HImode only if TARGET_H8300.
11088 2002-02-07 Eric Christopher <echristo@redhat.com>
11090 * config/mips/crtn.asm: Cleanup #ifdefs.
11092 2002-02-07 Eric Christopher <echristo@redhat.com>
11094 * config/mips/crti.asm: Add changes for mips16. mips16 uses
11095 register 7 as RA instead of $31.
11096 * config/mips/crtn.asm: Ditto.
11097 * config/mips/mips.c (mips_move_2words): Add case for
11098 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
11099 (compute_frame_size): Fix typo.
11100 (save_restore_insns): Ditto. Make documentation about using
11101 register $7 as return register more precise.
11102 (mips_expand_epilogue): Fix comment. Add code to work around not
11103 being able to add to the stack pointer directly.
11104 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
11105 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
11108 2002-02-07 Tom Rix <trix@redhat.com>
11110 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
11111 immediates in ldu and stdu DS opcode field.
11112 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
11113 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
11114 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
11116 2002-02-07 Jeff Sturm <jsturm@one-point.com>
11118 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
11119 offset for stack bias.
11121 2002-02-07 H.J. Lu <hjl@gnu.org>
11123 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
11125 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
11127 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
11129 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
11131 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
11132 * i386.c (x86_order_regs_for_local_alloc): New global function.
11133 * i386.h (REG_ALLOC_ORDER): CLeanup.
11134 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
11136 2002-02-07 Richard Henderson <rth@redhat.com>
11138 PR optimization/2463
11139 * alias.c (find_base_value): Recall base values for fixed hard regs.
11140 * loop.c (loop_regs_update): Don't use single_set on non-insns.
11142 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
11144 * config/mips/mips.md (define_delay) [mips16]: Adjust required
11147 2002-02-06 Richard Henderson <rth@redhat.com>
11150 * stmt.c (resolve_operand_name_1): Take more care with mixed
11151 named and unnamed operands.
11153 2002-02-06 Janis Johnson <janis187@us.ibm.com>
11154 Jan Hubicka <jh@suse.cz>
11156 * loop.c (remove_constant_addition): Avoid clobbering a shared
11159 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
11161 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
11162 * config/s390/t-linux64: New file.
11163 * config/s390/libgcc-glibc.ver: New file.
11165 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
11167 * config/s390/linux64.h: Delete file.
11168 * config/s390/s390x.h: New file.
11169 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
11170 as target header file.
11171 * config/s390/linux.h (TARGET_VERSION): Define depending on
11172 DEFAULT_TARGET_64BIT.
11173 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
11174 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
11175 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
11176 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
11177 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
11178 (EXTRA_SPEC): New define.
11179 * config/s390/s390.h (TARGET_VERSION): Define depending on
11180 DEFAULT_TARGET_64BIT.
11181 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
11183 2002-02-06 Jason Merrill <jason@redhat.com>
11185 * c-decl.c (finish_function): Warn about a non-void function with
11186 no return statement and no abnormal exit.
11187 (current_function_returns_abnormally): New variable.
11188 (start_function): Clear it.
11189 (struct c_language_function): Add returns_abnormally.
11190 (push_c_function_context): Save it.
11191 (pop_c_function_context): Restore it.
11192 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
11193 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
11194 an explicit return type.
11195 * c-tree.h: Declare current_function_returns_abnormally.
11196 (C_FUNCTION_IMPLICIT_INT): New macro.
11197 * c-typeck.c (build_function_call): Set it.
11198 (c_expand_return): Set current_function_returns_value even if the
11199 value is erroneous.
11201 2002-02-06 Jakub Jelinek <jakub@redhat.com>
11204 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
11205 unsafe for reevaluation.
11207 2002-02-06 Jakub Jelinek <jakub@redhat.com>
11210 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
11211 EXPR_STMT, but COMPOUND_STMT, recurse into it.
11213 2002-02-06 Richard Henderson <rth@redhat.com>
11215 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
11216 be a general_operand. Dest for function value must be a pseudo.
11218 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
11220 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
11221 as SYMBOL_REFs from the constant pool.
11223 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
11225 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
11226 passed by invisible reference.
11228 2002-02-05 Richard Henderson <rth@redhat.com>
11230 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
11232 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
11234 Implement using "base addresses" in insn operands as default.
11235 * config/mmix/mmix.c (mmix_conditional_register_usage): if
11236 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
11237 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
11238 used to read the rtx value.
11239 (mmix_target_asm_function_epilogue): Fix spacing.
11240 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
11241 (mmix_legitimate_address): Ditto.
11242 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
11243 should be loaded with a GETA insn. Don't allocate needless extra
11244 char for nul termination and fix misleading comment.
11245 (mmix_print_operand_address): Handle constants if
11246 TARGET_BASE_ADDRESSES.
11247 (mmix_output_register_setting): Use base addressing if
11248 TARGET_BASE_ADDRESSES and the number of insns is 3.
11249 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
11250 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
11251 to use R as constraint, add LDA to match s.
11252 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
11253 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
11254 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
11255 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
11256 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
11257 order with other fixed registers.
11258 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
11259 other parameter/call-clobbered registers.
11260 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
11261 -mbase-addresses, -mno-base-addresses.
11262 (MMIX Options): Ditto.
11264 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
11266 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
11268 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
11270 * config/rs6000/altivec.h: Change elem to _S_elem.
11272 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
11274 * config/netbsd.h (WCHAR_TYPE): Define.
11275 (WCHAR_TYPE_SIZE): Ditto.
11276 (WINT_TYPE): Ditto.
11277 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
11278 (WCHAR_UNSIGNED): Ditto.
11279 (WCHAR_TYPE_SIZE): Ditto.
11280 (WINT_TYPE): Ditto.
11281 * config/arm/netbsd.h: Likewise.
11282 * config/i386/netbsd-elf.h: Likewise.
11283 * config/i386/netbsd.h: Likewise.
11284 * config/m68k/netbsd-elf.h: Likewise.
11285 * config/m68k/netbsd.h: Likewise.
11286 * config/ns32k/netbsd.h: Likewise.
11287 * config/sparc/netbsd.h: Likewise.
11288 * config/vax/netbsd.: Likewise.
11290 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
11292 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
11293 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
11294 (TARGET_INITIALIZER): this.
11295 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
11296 (BITFIELD_NBYTES_LIMITED): Markup fix.
11297 * tree.h (default_ms_bitfield_layout_p): Declare.
11298 (record_layout_info): Added prev_field.
11299 * tree.c (default_ms_bitfield_layout_p): New fn.
11300 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
11301 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
11302 * stor-layout.c: Include target.h.
11303 (start_record_layout): Initialize prev_field.
11304 (place_field): Handle MS bit-field layout, and disregard
11305 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
11306 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
11307 * Makefile.in (stor-layout.o): Adjust dependencies.
11309 2002-02-05 Jason Merrill <jason@redhat.com>
11311 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
11313 2002-02-05 Andreas Jaeger <aj@suse.de>
11315 * crtstuff.c: Fix comments.
11317 2002-02-05 Richard Henderson <rth@redhat.com>
11320 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
11321 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
11324 * config/mips/mips.c (function_arg): Handle TImode.
11325 (function_arg_advance): Likewise.
11327 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
11329 * config/rs6000/altivec.h (vec_step_help): Rename to
11332 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
11334 * config/rs6000/altivec.h: Fix typos.
11336 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
11338 * config/arm/netbsd.h: Correct a comment.
11340 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
11342 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
11343 building void typed builtins.
11345 * config/rs6000/altivec.h (vec_ld*): Fix typos.
11346 (vec_step): Implement for C++.
11348 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11350 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
11352 2002-02-04 Richard Henderson <rth@redhat.com>
11354 * combine.c (nonzero_bits): Re-introduce special case for
11355 sp/fp/ap wrt REGNO_POINTER_ALIGN.
11357 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
11359 * doc/extend.texi: Warn about unsupported usage of altivec
11362 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
11363 (altivec_predicate_*): New.
11365 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
11366 Add C++ version of vec_*() functions.
11368 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
11369 (bdesc_2arg): Remove altivec predicates.
11370 (altivec_expand_builtin): Handle predicates.
11371 (altivec_init_builtins): Handle predicates.
11372 (altivec_expand_predicate_builtin): New.
11374 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11376 * pa.c (DO_FRAME_NOTES): Move forward.
11377 (store_reg): Revise handling of frame notes.
11378 (load_reg): Likewise.
11379 (set_reg_plus_d): Likewise.
11380 (hppa_expand_prologue): Likewise.
11381 (hppa_expand_epilogue): Likewise.
11383 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11385 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
11387 2002-02-04 Jakub Jelinek <jakub@redhat.com>
11389 PR c/4475, c++/3780:
11390 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
11391 * c-common.h (SWITCH_TYPE): Define.
11392 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
11393 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
11394 Rename spareness variable to sparseness.
11395 (expand_end_case_type): Renamed from expand_end_case, use orig_type
11396 if non-NULL instead of TREE_TYPE (orig_index).
11397 * tree.h (expand_end_case_type): Renamed from expand_end_case.
11398 (expand_end_case): Define using expand_end_case_type.
11399 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
11400 to expand_end_case_type.
11401 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
11403 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11405 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
11406 (BIGGEST_ALIGNMENT): Change to 128.
11408 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11410 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
11412 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11414 * pa.md (call_internal_reg_64bit): Remove unused variable.
11416 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
11418 * config/arm/arm.h (machine_function): Add uses_anonymous_args
11420 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
11421 * config/arm/arm.c (current_function_anonymous_args): Delete,
11422 replace uses with cfun->machine->uses_anonymous_args.
11423 (arm_reorg): Do not reset uses_anonymous_args.
11425 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
11426 any geenral register.
11428 2001-02-04 Bernd Schmidt <bernds@redhat.com>s
11430 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
11433 2002-02-04 Richard Henderson <rth@redhat.com>
11435 * combine.c (force_to_mode): Remove STACK_BIAS code.
11436 (nonzero_bits): Likewise. Replace sp/fp special case with
11437 REGNO_POINTER_ALIGN.
11439 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
11440 (HARD_FRAME_POINTER_REGNUM): New.
11441 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
11442 (FIXED_REGS, CALL_USED_REGS): Update.
11443 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
11444 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
11445 (HARD_REGNO_NREGS): Update for SFP.
11446 (STACK_POINTER_OFFSET): Include bias here ...
11447 (FIRST_PARM_OFFSET): ... not here.
11448 (STACK_BIAS): Remove.
11449 (INIT_EXPANDERS): New.
11450 (STARTING_FRAME_OFFSET): Do not include bias.
11451 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11452 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
11453 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
11454 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
11455 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
11456 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
11457 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
11458 (MUST_SAVE_REGISTER): Likewise.
11459 (sparc_flat_function_prologue): Likewise.
11460 (sparc_flat_function_epilogue): Likewise.
11461 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
11462 (sparc_init_modes): SFP is GENERAL_REGS.
11463 (sparc_builtin_saveregs): SFP does not have bias applied.
11465 2002-02-04 Richard Henderson <rth@redhat.com>
11467 * config/alpha/alpha.c (current_function_is_thunk): Don't check
11468 current_function_is_thunk.
11469 (alpha_sa_mask): Distinguish between current_function_is_thunk
11470 called from ASM_OUTPUT_MI_THUNK and not.
11471 (alpha_does_function_need_gp): Thunks always need gp.
11472 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
11473 (alpha_output_mi_thunk_osf): New.
11474 * config/alpha/alpha-protos.h: Update.
11475 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
11477 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
11479 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
11480 function types, not when they're taken away.
11482 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
11484 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
11485 CODE_LABEL and jump table when replacing a table jump with a
11488 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11490 * config/s390/s390-protos.h (legitimize_la_operand,
11491 s390_secondary_input_reload_class, s390_plus_operand,
11492 s390_expand_plus_operand): Add prototypes.
11494 config/s390/s390.c (s390_secondary_input_reload_class,
11495 s390_plus_operand, s390_expand_plus_operand): New functions.
11497 (struct s390_address): New member 'pointer'.
11498 (s390_decompose_address): Compute it.
11499 (legitimate_la_operand_p): Use it.
11500 (legitimize_la_operand): New function.
11501 (movti, movdi, movdf splitters): Call it.
11503 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
11504 (PREDICATE_CODES): Add s390_plus_operand.
11506 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
11507 (la_ccclobber): Allow GENERAL_REGS as output operand.
11509 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
11510 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
11511 (*la_64, *la_31, reload_indi, reload_insi): ... these.
11513 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11515 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
11516 register names for regular asm () construct.
11518 2002-02-04 Jakub Jelinek <jakub@redhat.com>
11520 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
11523 2002-02-04 Jakub Jelinek <jakub@redhat.com>
11525 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
11528 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
11530 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
11531 constant pool to be identical by string address and index.
11533 2002-02-04 Anthony Green <green@redhat.com>
11535 * output.h (SECTION_OVERRIDE): Define.
11536 * varasm.c (named_section): Obey SECTION_OVERRIDE.
11538 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
11540 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
11541 by existing arm*-*-netbsd* (a.out) target.
11542 (ns32k-*-netbsdelf*): Likewise.
11543 (sparc-*-netbsdelf*): Likewise.
11544 (vax-*-netbsdelf*): Likewise.
11546 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
11548 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
11549 headers and libobjc headers.
11551 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
11553 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
11554 (_mingw.h): Remove duplicate include.
11556 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
11558 * config.gcc: Set cpu_type to m68k for 68010, as well.
11559 (m68010-*-netbsdelf*): New...
11560 (m68k*-*-netbsdelf*): ...targets.
11561 * config/m68k/netbsd-elf.h: New file.
11563 2002-02-02 Kazu Hirata <kazu@hxi.com>
11565 * config/h8300/h8300.c (hand_list): Move inside function_arg.
11567 2002-02-02 Kazu Hirata <kazu@hxi.com>
11569 * config/h8300/h8300.c (h8_push_ops): Move inside
11571 (h8_pop_ops): Likewise.
11572 (h8_move_ops): Likewise.
11574 2002-02-02 Kazu Hirata <kazu@hxi.com>
11576 * config/h8300/h8300.c (os_task): Make it static.
11577 (monitor): Likewise.
11578 (pragma_saveall): Likewise.
11580 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
11582 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
11583 constant is a valid sign-extension for Pmode.
11585 2002-02-02 Kazu Hirata <kazu@hxi.com>
11587 * config/h8300/h8300.c: Fix formatting.
11589 2002-02-02 Kazu Hirata <kazu@hxi.com>
11591 * config/h8300/h8300.md: Fix formatting.
11593 2002-02-02 Kazu Hirata <kazu@hxi.com>
11595 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
11596 predicates of operands[1]. Split the patterns for each
11599 2002-02-02 Kazu Hirata <kazu@hxi.com>
11601 * config/h8300/h8300.md (xor patterns): Tighten the predicates
11602 of operands[1] to register_operand.
11604 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
11606 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
11607 * cpphash.c (_cpp_init_hashtable): Similarly.
11608 * cppinit.c (cpp_create_reader): Default the signed_char flag.
11609 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
11610 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
11611 (cpp_handle_option): Handle the new options.
11612 * cpplex.c (cpp_interpret_charconst): Use new flag.
11613 * cpplib.h (struct cpp_options): New member signed_char.
11614 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
11615 (cpp_options): Handle -fsigned-char and -funsigned-char.
11616 (static_specs): Remove signed_char_spec.
11617 (do_spec1): Don't handle %c.
11618 * system.h: Poison SIGNED_CHAR_SPEC.
11619 * tradcif.y (yylex): Use flag_signed_char.
11620 * tradcpp.h (flag_signed_char): New.
11621 * tradcpp.c (flag_signed_char): New.
11622 (main): Handle new command-line options.
11623 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
11625 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
11626 * avr/avr.h: Remove old comments.
11627 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
11628 (CC1_SPEC): Pass -fsigned-char if -mic*.
11629 (SIGNED_CHAR_SPEC): Remove.
11631 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
11633 2002-02-01 Eric Christopher <echristo@redhat.com>
11635 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
11636 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
11637 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
11638 (ASM_OUTPUT_REG_POP): Ditto.
11640 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
11642 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
11645 2002-02-02 Jakub Jelinek <jakub@redhat.com>
11647 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
11649 2002-02-02 Jakub Jelinek <jakub@redhat.com>
11652 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
11655 2002-02-01 Janis Johnson <janis187@us.ibm.com>
11657 * cfganal.c: Include tm_p.h.
11658 (keep_with_call_p): Fix the test that determines if a register holds
11659 the return value of a call.
11661 2002-02-01 DJ Delorie <dj@redhat.com>
11663 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
11664 we are given conflicting registers, switch to the other one we
11665 had allocated for us.
11666 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
11667 as TImode so we know when the "other" register is available.
11669 2002-02-01 David O'Brien <obrien@FreeBSD.org>
11671 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
11674 2002-02-01 Janis Johnson <janis187@us.ibm.com>
11676 * cfganal.c (keep_with_call_p): New function.
11677 (flow_call_edges_add): Prevent splitting a block between a call and
11678 a single-set instruction that should be kept in the same block.
11680 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11682 * doc/install.texi (avr): Update outdated URL.
11684 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
11686 * config/stormy16/stormy16.md (pushqi): New.
11690 (movhi): Remove stack operands.
11692 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
11693 nonimmediate_nonstack_operand.
11694 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
11696 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
11699 2002-01-31 Jason Merrill <jason@redhat.com>
11701 * Makefile.in (c-parse.c): Handle .output file.
11702 * objc/Make-lang.in (objc-parse.c): Likewise.
11704 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
11706 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
11707 the -me[lb] option is given. Don't output the default flag
11710 2002-01-31 Zack Weinberg <zack@codesourcery.com>
11712 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
11713 the primary source file; this has not been done yet.
11714 * c-decl.c (c_expand_body): Reset input_filename from
11715 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
11717 2002-01-31 Kazu Hirata <kazu@hxi.com>
11719 * rtlanal.c (subreg_regno_offset): Do not use
11720 SUBREG_REGNO_OFFSET.
11721 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
11722 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
11724 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11726 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
11727 version rather than GNATS version in --version output.
11729 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
11731 * ifcvt.c (noce_process_if_block): Make a copy of the destination
11732 when copying back from a temporary.
11734 2002-01-30 Richard Henderson <rth@redhat.com>
11736 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
11737 and new_dest are the same.
11739 2002-01-30 Richard Henderson <rth@redhat.com>
11742 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
11743 * rtl.c (note_insn_name): Update.
11744 * emit-rtl.c (remove_unnecessary_notes): Kill it.
11745 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
11746 to perform loop rotation.
11747 (expand_exit_loop_top_cond): New.
11748 * tree.h (expand_exit_loop_top_cond): Declare it.
11749 * c-semantics.c (genrtl_while_stmt): Use it.
11750 (genrtl_for_stmt): Likewise.
11752 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
11754 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
11755 arguments to 64-bit boundaries on 64-bit ABIs.
11757 2002-01-30 Steve Ellcey <sje@cup.hp.com>
11759 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
11761 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11763 * c-decl.c (grokdeclarator): Handle type being a typedef for an
11766 2002-01-30 David O'Brien <obrien@FreeBSD.org>
11768 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
11769 * config/sparc/sparc_bi.h: Remove file.
11770 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
11772 2002-01-30 Richard Henderson <rth@redhat.com>
11774 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
11776 2002-01-30 Zack Weinberg <zack@codesourcery.com>
11778 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
11780 2002-01-30 Jason Merrill <jason@redhat.com>
11782 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
11783 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
11784 (reg_save): Use DW_CFA_offset_extended_sf instead.
11786 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
11788 2002-01-29 Jakub Jelinek <jakub@redhat.com>
11790 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
11793 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
11795 * rs6000.md ("*call_value_local32"): Remove constraints.
11796 ("*call_value_local64"): Same.
11797 ("*call_value_indirect_nonlocal_aix32"): Same.
11798 ("*call_value_nonlocal_aix32"): Same.
11799 ("*call_value_indirect_nonlocal_aix64"): Same.
11800 ("*call_value_nonlocal_aix64"): Same.
11801 ("*call_value_nonlocal_sysv"): Same.
11803 2002-01-29 Richard Henderson <rth@redhat.com>
11805 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
11807 2002-01-29 Richard Henderson <rth@redhat.com>
11809 * expr.c (force_operand): Ignore flag_pic for detecting pic
11811 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
11812 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
11813 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
11814 instead of open-coded loop.
11815 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
11816 be fixed when in use.
11818 2002-01-29 Richard Henderson <rth@redhat.com>
11820 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
11821 * sched-rgn.c (propagate_deps): Update them.
11822 * sched-deps.c (sched_analyze_insn): Update them. Flush the
11823 clobbers list when either gets too long.
11825 2002-01-29 Jakub Jelinek <jakub@redhat.com>
11827 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
11828 and INDEX_REGS the same as GENERAL_REGS.
11829 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
11831 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
11833 * tree.c (build_nonstandard_integer_type): Correct prototype.
11835 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
11837 * config/s390/s390.md (movstrsico, movstrdix_64,
11838 movstrsix_31): Remove, replace by ...
11839 (movstrdi_short, movstrsi_short, movstrdi_long,
11840 movstrsi_long): ... these. New.
11841 (movstrdi, movstrsi): Adapt.
11843 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
11844 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
11845 Remove unnecessary CC clobber.
11846 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
11847 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
11849 (divmoddi4): Don't partially initialize TImode register.
11851 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
11853 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
11855 2002-01-29 Richard Henderson <rth@redhat.com>
11857 * flow.c (print_rtl_and_abort): Remove.
11858 (print_rtl_and_abort_fcn): Remove.
11859 (verify_local_live_at_start): Use dump_bb instead.
11860 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
11861 (verify_wide_reg_1): Return 2 on mode test failure.
11863 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
11865 PR c/3325, c/3326, c/2511, c/3347
11866 * c-decl.c (enum_decl_context): Remove BITFIELD.
11867 (grokdeclarator): Take bitfield width as an input.
11868 Ensure bitfields are given the correct type. Perform
11869 bitfield width validation with build_bitfield_integer_type
11870 rather than waiting for finish_struct.
11871 (grok_typename, grok_typename_in_parm_context, start_decl,
11872 push_parmdecl, grokfield, start_function): Update calls to
11874 (build_bitfield_integer_type): New function.
11875 (finish_struct): Move bitfield validation to grokdeclarator
11876 and build_bitfield_integer_type.
11877 * tree.c (build_nonstandard_integer_type): New function.
11878 * tree.h (build_nonstandard_integer_type): New prototype.
11880 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
11882 2002-01-29 Jakub Jelinek <jakub@redhat.com>
11885 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
11886 don't ignore unrecognized -W* options.
11887 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
11888 * cpplib.h (cpp_handle_option): Adjust prototype.
11889 * c-decl.c (c_decode_options): Pass 0 as last argument to
11893 * gcc.c (cpp_unique_options): Split from cpp_options.
11894 (cpp_options): Source cpp_unique_options.
11895 (default_compilers): Use cpp_unique_options instead of cpp_options
11896 when used together with cc1_options.
11897 (static_specs): Add cpp_unique_options.
11898 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
11899 when used together with cc1_options.
11901 2002-01-29 Kazu Hirata <kazu@hxi.com>
11903 * config/h8300/h8300-protos.h: Update the prototype of
11905 * config/h8300/h8300.c (output_a_shift): Remove an unused
11906 argument 'insn'. Remove redundant code.
11907 * config/h8300/h8300.md: Adust to the new prototype of
11910 2002-01-29 Kazu Hirata <kazu@hxi.com>
11912 * config/h8300/h8300-protos.h: Update the prototypes of
11913 emit_a_rotate and expand_a_rotate.
11914 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
11915 first argument to 'enum rtx_code'.
11916 (expand_a_rotate): Likewise.
11918 2002-01-28 Kazu Hirata <kazu@hxi.com>
11920 * config/h8300/h8300-protos.h: Update the prototype of
11922 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
11924 * config/h8300/h8300.md: Adjust to the new prototype.
11926 2002-01-28 Kazu Hirata <kazu@hxi.com>
11928 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
11931 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
11933 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
11934 is a fixed register before returning pic_offset_table_rtx.
11935 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
11936 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
11938 2002-01-28 Jason Merrill <jason@redhat.com>
11940 * dwarf2.h: Sync with src version.
11942 2002-01-28 Paul Koning <pkoning@equallogic.com>
11944 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
11945 BT_FN_VOID_PTR_VAR.
11946 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
11947 * doc/extend.texi (__builtin_prefetch): Update documentation:
11948 first argument is now const void ptr.
11950 2002-01-28 Kazu Hirata <kazu@hxi.com>
11952 * config/h8300/h8300-protos.h: Remove an unused prototype.
11954 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
11956 * toplev.c (lang_independent_init): Round up identifier size.
11958 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
11960 * config.gcc: Revert previous change.
11962 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
11964 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
11966 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
11968 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
11969 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
11970 other non-elf netbsd config frags.
11971 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
11972 collect2 will does that.
11973 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
11974 shared-lib frobbing will work.
11976 2002-01-28 Kazu Hirata <kazu@hxi.com>
11978 * config/h8300/h8300.h: Fix formatting.
11979 * config/h8300/h8300.md: Likewise.
11981 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
11983 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
11984 the old, removed AAA_standards fix.
11985 * fixinc/fixincl.x: Rebuilt.
11987 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
11989 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
11990 atexit call in crtbegin, hooked in after call to frame_dummy;
11991 register EH before registering __fini__start.
11993 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
11995 * config/rs6000/altivec.h: Remove spurious semicolons.
11997 2002-01-27 Kazu Hirata <kazu@hxi.com>
11999 * config/h8300/h8300.md: Replace dead bit extraction patterns
12000 with ones that work.
12002 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12004 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
12005 if not STRICT_ALIGNMENT.
12006 * rtl.h (MEM_ALIGN): Likewise.
12008 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
12010 * doc/invoke.texi (-fdump-translation-unit): Revert this
12011 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
12013 2002-01-27 Kazu Hirata <kazu@hxi.com>
12015 * config/h8300/h8300.md (define_constants): New.
12016 (anonymous patterns) Use defined constants appropriately.
12018 2002-01-27 Kazu Hirata <kazu@hxi.com>
12020 * config/h8300/h8300.c (function_arg): Remove redundant code.
12022 2002-01-26 Richard Henderson <rth@redhat.com>
12024 * sched-deps.c (reg_pending_uses_head): New.
12025 (reg_pending_barrier): Rename from reg_pending_sets_all.
12026 (find_insn_list): Don't mark inline.
12027 (find_insn_mem_list): Remove.
12028 (add_dependence_list, add_dependence_list_and_free): New.
12029 (flush_pending_lists): Replace only_write param with separate
12030 for_read and for_write parameters. Update all callers. Use
12031 add_dependence_list_and_free.
12032 (sched_analyze_1): Do not add reg dependencies here; just set
12033 the pending bits. Use add_dependence_list.
12034 (sched_analyze_2): Likewise.
12035 (sched_analyze_insn): Replace schedule_barrier_found with
12036 reg_pending_barrier. Add all dependencies for pending reg
12037 uses, sets, and clobbers.
12038 (sched_analyze): Don't add reg dependencies for calls, just
12039 set pending bits. Use regs_invalidated_by_call. Treat
12040 sched_before_next_call as a normal list, not a fake insn.
12041 (init_deps): No funny init for sched_before_next_call.
12042 (free_deps): Free pending mems lists. Don't zero reg_last.
12043 (init_deps_global): Init reg_pending_uses.
12044 (finish_deps_global): Free it.
12045 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
12046 (find_insn_mem_list): Remove.
12047 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
12048 (propagate_deps): Use them. Zero temp mem lists.
12050 2002-01-26 Richard Henderson <rth@redhat.com>
12052 * Makefile.in (CRTSTUFF_CFLAGS): New.
12053 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
12054 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
12055 crtstuff.c instead of alpha assembly version.
12056 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
12057 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
12058 not FORCE_{INIT,FINI}_SECTION_ALIGN.
12059 (__do_global_dtors_aux): Mark used.
12060 (frame_dummy, __do_global_ctors_aux): Mark used.
12061 (fini_dummy, init_dummy): Remove.
12063 * config/alpha/crtbegin.asm: Remove file.
12064 * config/alpha/crtend.asm: Remove file.
12065 * config/alpha/t-crtbe: Remove file.
12066 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
12067 (LINK_EH_SPEC): New.
12069 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
12070 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
12071 calling constructors.
12072 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
12074 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
12075 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
12076 CRT_END_INIT_DUMMY hack.
12077 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
12078 FORCE_{INIT,FINI}_SECTION_ALIGN.
12080 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
12081 FORCE_{INIT,FINI}_SECTION_ALIGN.
12083 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
12084 invocation sequence.
12085 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
12087 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
12088 (FORCE_CODE_SECTION_ALIGN): New.
12090 2002-01-26 Richard Henderson <rth@redhat.com>
12092 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
12094 2002-01-26 Richard Henderson <rth@redhat.com>
12096 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
12097 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
12099 2002-01-26 Kazu Hirata <kazu@hxi.com>
12101 * config/h8300/h8300.md: Remove bit extraction patterns that
12102 cannot be triggered.
12103 Restrict each bit extraction pattern to a variant on which the
12106 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
12108 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
12110 2002-01-26 Kazu Hirata <kazu@hxi.com>
12112 * config/h8300/h8300.md: Remove bit test patterns that cannot
12114 Restrict each bit test pattern to a variant on which the
12117 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12119 * builtins.c (expand_builtin_strncat): Remove redundant check for
12122 2002-01-25 David O'Brien <obrien@FreeBSD.org>
12124 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
12126 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
12129 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
12131 * dbxout.c (dbxout_init): Use assemble_name rather than just
12132 stripping off the first character.
12133 (dbxout_source_file): Likewise.
12135 2002-01-25 DJ Delorie <dj@redhat.com>
12137 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
12138 using rtx_equal_p, not by comparing pointers.
12140 2002-01-25 Steve Ellcey <sje@cup.hp.com>
12142 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
12143 for PIC_OFFSET_TABLE_REGNUM.
12144 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
12146 2002-01-25 David O'Brien <obrien@FreeBSD.org>
12148 * config.gcc (x86_64-*-freebsd*): New target.
12149 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
12151 (i[34567]86-*-freebsd*): Don't include svr4.h.
12152 * config/i386/freebsd64.h: New file.
12154 2002-01-25 Douglas B Rupp <rupp@gnat.com>
12156 * config/alpha/x-vms (version): Make static.
12158 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
12159 in previous checkin.
12161 * Makefile.in (install-headers-cp): New target.
12162 * config.gcc (alpha-dec-*vms*): Install headers with
12165 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
12167 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
12170 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12172 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
12173 of compare_tree_int.
12174 (expand_builtin_strncat): Likewise.
12175 * c-decl.c (finish_struct): Use tree_low_cst.
12176 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
12177 * tree.c (compare_tree_int): Likewise.
12179 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
12181 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
12182 adjustments even if they are implemented by more than two insns.
12184 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
12186 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
12187 * df.h (struct ref): Kill B.
12188 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
12190 * basic-block.h (PROP_EQUAL_NOTES): New flag.
12191 * flow.c (propagate_one_insn): Use it.
12192 (mark_used_regs): Handle NIL.
12194 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
12196 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
12199 2002-01-25 David Edelsohn <edelsohn@gnu.org>
12201 * rs6000.md (prefetch): Make address V4SI mode so that the address
12202 is restricted to legitimate form for instruction.
12204 2002-01-25 Bob Wilson <bob.wilson@acm.org>
12206 * doc/install.texi (xtensa-*-elf): New target.
12207 (xtensa-*-linux*): New target.
12208 * doc/contrib.texi: Add myself.
12210 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
12212 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
12213 purpose register to hold an SImode (or smaller) value.
12215 2002-01-25 Jakub Jelinek <jakub@redhat.com>
12217 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
12219 * crtstuff.c: Likewise.
12221 2002-01-25 Kazu Hirata <kazu@hxi.com>
12223 * config/h8300/h8300.md (negation patterns): Tighten
12224 predicates to register_operand.
12226 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
12228 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
12231 * builtins.c (expand_builtin_prefetch): Same.
12233 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
12235 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
12238 2002-01-24 Kazu Hirata <kazu@hxi.com>
12240 * config/h8300/h8300.c (print_operand): Remove support for
12241 operand character 'A'.
12242 * config/h8300/h8300.md (three anonymous patterns): Replace
12243 operand character 'A' with either 'T' or 'S'.
12245 2002-01-24 Kazu Hirata <kazu@hxi.com>
12247 * config/h8300/h8300.c (print_operand): Remove support for
12248 operand character 'U'.
12250 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
12252 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
12254 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
12256 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
12257 values to be assigned to the stack pointer.
12259 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
12261 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
12262 to const_double needs to be done right for big-endian systems.
12264 2002-01-24 Jason Merrill <jason@redhat.com>
12267 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
12268 to can_throw_internal.
12270 2002-01-23 Richard Henderson <rth@redhat.com>
12272 * fold-const.c (fold): Change UINT_MAX test to check vs precision
12273 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
12275 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
12277 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
12278 (symGOT2reg): Use them, then set as GOT value as unchanging.
12279 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
12280 as a temporary, if possible.
12281 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
12282 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
12284 2002-01-23 Kazu Hirata <kazu@hxi.com>
12286 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
12287 accept to accept 0x80 as operands[2].
12289 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
12291 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
12293 2002-01-23 Richard Henderson <rth@redhat.com>
12295 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
12297 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
12299 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
12300 (parmlist_or_identifiers_1): Verify that only a parmlist follows
12303 2002-01-23 Richard Henderson <rth@redhat.com>
12305 * expr.c (move_by_pieces_1): Extend size before negation.
12307 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
12308 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
12309 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
12310 * config/m68k/t-m68kelf: Likewise.
12312 2002-01-23 Bob Wilson <bob.wilson@acm.org>
12314 * config/xtensa/elf.h: New file.
12315 * config/xtensa/lib1funcs.asm: New file.
12316 * config/xtensa/lib2funcs.S: New file.
12317 * config/xtensa/linux.h: New file.
12318 * config/xtensa/t-xtensa: New file.
12319 * config/xtensa/xtensa-config.h: New file.
12320 * config/xtensa/xtensa-protos.h: New file.
12321 * config/xtensa/xtensa.c: New file.
12322 * config/xtensa/xtensa.h: New file.
12323 * config/xtensa/xtensa.md: New file.
12324 * config.gcc (xtensa-*-elf*): New target.
12325 (xtensa-*-linux*): New target.
12326 * cse.c (canon_hash): Compare rtx pointers instead of register
12327 numbers. This is required for the Xtensa port.
12328 * integrate.c (copy_insn_list): Handle case where the static
12329 chain is in memory and the memory address has to be copied to
12331 * doc/invoke.texi (Option Summary): Add Xtensa options.
12332 (Xtensa Options): New node.
12333 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
12335 2002-01-23 Zack Weinberg <zack@codesourcery.com>
12337 * diagnostic.c (internal_error): Do ICE suppression only
12338 when ENABLE_CHECKING is not defined.
12340 * c-typeck.c (require_complete_type): Return error_mark_node
12341 if type is error_mark_node.
12343 2002-01-23 Janis Johnson <janis187@us.ibm.com>
12345 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
12346 -Os and issue a warning.
12348 2002-01-23 Zack Weinberg <zack@codesourcery.com>
12350 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
12351 current (lack of) need for host configuration by hand.
12353 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
12354 references. Documentation of some target macros moved from
12355 hostconfig.texi to tm.texi.
12357 2002-01-23 Will Cohen <wcohen@redhat.com>
12359 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
12362 2002-01-23 Kazu Hirata <kazu@hxi.com>
12364 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
12367 2002-01-23 Jason Merrill <jason@redhat.com>
12369 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
12371 * function.c (assign_parms): Don't put args of inline functions
12372 into registers when not optimizing.
12374 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
12376 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
12377 (prologue_use): New pattern.
12378 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
12379 preference to gen_rtx_USE.
12380 (thumb_expand_prologue): Use gen_prologue_use in preference to
12382 (thumb_expand_epilogue): Use gen_prologue_use in preference to
12385 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
12387 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
12389 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
12392 * doc/extend.texi: Correct documentation of __alignof__.
12394 2002-01-22 Zack Weinberg <zack@codesourcery.com>
12396 * params.h: Rename arguments of DEFPARAM so that it will be
12397 recognized as a translation keyword.
12399 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
12401 * extend.texi: Document altivec functions.
12402 Fix N-bit adjectives in X86 builtin documentation.
12404 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
12406 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
12407 auto_inc_dec values.
12409 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
12411 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
12413 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
12415 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
12417 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
12419 2002-01-22 Richard Henderson <rth@redhat.com>
12421 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
12422 copy_insn not copy_rtx.
12424 2002-01-23 Alan Modra <amodra@bigpond.net.au>
12426 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
12427 "nonzero" as that might add "1" bits. Ensure "constop" is
12428 properly sign extened.
12429 (force_to_mode): Tweak for sign extended constop.
12431 2002-01-22 Richard Henderson <rth@redhat.com>
12433 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
12434 for_each_rtx instead of assuming we're already looking at the MEM.
12435 (split_small_symbolic_mem_operand): Likewise.
12436 * config/alpha/alpha.h (PREDICATE_CODES): Update.
12437 * config/alpha/alpha.md (small symbolic memory splitters): Update.
12439 2002-01-22 Richard Henderson <rth@redhat.com>
12441 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
12442 sequence number for the literal.
12443 (divmoddi_internal_er): Likewise.
12445 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
12448 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
12449 in LIBICONV variable.
12450 * configure: Regenerated.
12452 2002-01-22 Krister Walfridsson <cato@df.lth.se>
12454 * dependence.c (build_def_use): Remove array_idx.
12456 * dwarfout.c (last_filename): Remove.
12457 (output_compile_unit_die): Remove last_filename.
12459 2002-01-22 Roger Sayle <roger@eyesopen.com>
12460 Richard Henderson <rth@redhat.com>
12463 * fold-const.c (fold): Optimize unsigned comparisons against
12464 UINT_MAX (and similar unsigned constants).
12466 2002-01-22 Janis Johnson <janis187@us.ibm.com>
12468 * Makefile.in (loop.o): Depend on OPTABS_H.
12469 * loop.c (emit_prefetch_instructions): Check the prefetch operand
12470 against the predicate.
12473 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
12474 for the address operand.
12476 2002-01-22 Richard Henderson <rth@redhat.com>
12478 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
12480 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
12483 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
12484 preprocessor flags.
12486 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
12488 * config.gcc (x86_64-*-netbsd*): New target.
12489 * config/i386/netbsd64.h: New file.
12491 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
12493 * regrename.c (kill_value): Fix typo.
12495 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
12497 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
12499 * config/rs6000/rs6000.h: Same.
12501 * function.c (instantiate_virtual_regs): Remove
12502 STARTING_FRAME_PHASE.
12503 (assign_stack_local_1): Same.
12504 Calculate frame phase.
12506 2002-01-22 Nick Clifton <nickc@redhat.com>
12508 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
12509 variable declaration to outer scope in order to simplify
12511 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
12512 arm_hard_regno_mode_ok.
12513 * config/arm/arm-protos.h: Add a prototype for
12514 arm_hard_regno_mode_ok.
12515 * config/arm/arm.c (soft_df_operand): Remove now redundant
12516 check for DImode values using IP_REGNUM.
12517 (nonimmediate_soft_df_operand): Remove now redundant check for
12518 DImode values using IP_REGNUM.
12519 (arm_hard_regno_mode_ok): New function. New check: make sure
12520 that DImode values are not stored in IP_REGNUM.
12522 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
12524 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
12526 2002-01-22 Jason Merrill <jason@redhat.com>
12528 * c-semantics.c (genrtl_compound_stmt): Only check nesting
12529 consistency if this COMPOUND_STMT is scoped.
12531 2002-01-22 Kazu Hirata <kazu@hxi.com>
12533 * predict.c: Fix formatting.
12534 * print-tree.c: Likewise.
12535 * protoize.c: Likewise.
12536 * real.h: Likewise.
12538 * sbitmap.h: Likewise.
12539 * scan.c: Likewise.
12540 * sched-deps.c: Likewise.
12541 * sched-vis.c: Likewise.
12542 * sdbout.c: Likewise.
12543 * sibcall.c: Likewise.
12545 * ssa-ccp.c: Likewise.
12546 * ssa-dce.c: Likewise.
12547 * stmt.c: Likewise.
12548 * stor-layout.c: Likewise.
12549 * system.h: Likewise.
12551 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12553 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
12554 if fits in bounds of base type.
12556 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
12557 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
12558 (add_bound_info, default): If can't find a context, make a
12560 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
12562 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
12564 * c-typeck.c (parser_build_binary_op): If result from
12565 build_binary_op is ERROR_MARK just return error_mark_node without
12566 further processing.
12568 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
12570 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
12571 Split a.out-specific bits into...
12572 * config/netbsd-aout.h: ...this.
12573 * config/netbsd-elf.h: New file.
12574 * config/alpha/netbsd-elf.h: Remove.
12575 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
12576 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
12577 (STARTFILE_SPEC): Remove redundant definition.
12578 (ENDFILE_SPEC): Likewise.
12579 (LINK_SPEC): Likewise.
12580 (CPP_SPEC): Likewise.
12581 (ASM_SPEC): Likewise.
12582 (LIB_SPEC): Likewise.
12583 (SWITCH_TAKES_ARG): Likewise.
12584 (TARGET_MEM_FUNCTIONS): Likewise.
12585 (CPP_PREDEFINES): Redefine.
12586 (ASM_FINAL_SPEC): Remove redefinition.
12587 (ASM_COMMENT_START): Redefine.
12588 (FUNCTION_PROFILER): Define.
12589 (TARGET_VERSION): Redefine.
12590 Comment and formatting cleanup.
12591 * config/i386/netbsd.h: Include <netbsd-aout.h>.
12592 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
12593 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
12594 big- or little-endian.
12595 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
12596 * config.gcc (*-*-netbsd*): Add definitions common to all
12598 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
12599 gnu_ld definitions. Add netbsd-elf.h to and remove
12600 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
12601 tmake_file, and don't lose previous tmake_file contents.
12602 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
12603 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
12604 gnu_ld definitions. Add netbsd-elf.h to tm_file.
12605 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
12606 (mipsel-*-netbsd*): Rename this to...
12607 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
12608 mips/little.h to tm_file for mips*el-*.
12609 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
12610 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
12611 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
12613 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
12615 * pa-protos.h (reg_before_reload_operand): New function prototype.
12616 * pa.c (reg_before_reload_operand): New function implementation.
12617 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
12618 contraints to "*m".
12620 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12622 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
12624 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
12626 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
12627 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
12628 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
12629 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
12630 (ENDFILE_SPEC): Undefine.
12631 (STARTFILE_SPEC): Redefine for PA.
12633 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12635 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
12637 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
12639 * config.gcc: Add entries to supported PowerPC --with-cpu
12642 2002-01-21 Jakub Jelinek <jakub@redhat.com>
12644 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
12645 true for 64-bit mode only SSE registers in 32-bit mode.
12647 2002-01-21 Kazu Hirata <kazu@hxi.com>
12649 * unwind-dw2.c: Fix formatting.
12650 * unwind-dw2-fde.c: Likewise.
12651 * unwind-dw2-fde.h: Likewise.
12652 * unwind-pe.h: Likewise.
12653 * varasm.c: Likewise.
12654 * varray.h: Likewise.
12656 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
12658 Remove workaround for register stack overwrite bug in mmix.
12659 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
12660 support for TARGET_REG_STACK_FILL_BUG.
12661 * config/mmix/mmix.h: Remove member has_call_without_parameters.
12662 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
12664 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
12665 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
12666 -mno-reg-stack-fill-bug-workaround.
12667 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
12668 machine member has_call_without_parameters.
12669 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
12670 -mreg-stack-fill-bug-workaround and
12671 -mno-reg-stack-fill-bug-workaround.
12672 (MMIX Options): Ditto.
12674 2002-01-21 Kazu Hirata <kazu@hxi.com>
12676 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
12678 Remove redundant code.
12680 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
12682 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
12683 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
12684 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
12685 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
12686 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
12687 out target macro definitions and non-target-specific comments
12688 mostly taken from old versions of the manual.
12690 2002-01-20 Kazu Hirata <kazu@hxi.com>
12692 * config/h8300/h8300.h: Fix comment formatting.
12693 * config/ia64/aix.h: Likewise.
12694 * config/ia64/ia64-protos.h: Likewise.
12695 * config/ia64/ia64.c: Likewise.
12696 * config/ia64/ia64.h: Likewise.
12697 * config/ia64/ia64intrin.h: Likewise.
12698 * config/ia64/linux.h: Likewise.
12699 * config/ia64/unwind-aix.c: Likewise.
12700 * config/ia64/unwind-ia64.c: Likewise.
12702 2002-01-20 Kazu Hirata <kazu@hxi.com>
12704 * config/h8300/h8300.c: Revise comments about shift code.
12706 2002-01-20 Kazu Hirata <kazu@hxi.com>
12708 * config/h8300/h8300.c (function_arg): Update a comment.
12710 2002-01-20 Kazu Hirata <kazu@hxi.com>
12712 * config/h8300/h8300.md: Update the comments at the beginning
12715 2002-01-20 Kazu Hirata <kazu@hxi.com>
12717 * config/i370/i370.c: Fix comment formatting.
12718 * config/i370/i370.h: Likewise.
12719 * config/i370/i370.md: Likewise.
12720 * config/i370/linux.h: Likewise.
12722 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12724 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
12726 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
12727 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
12728 in incomplete case.
12730 2002-01-20 Graham Stott <grahams@redhat.com>
12732 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
12734 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
12736 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
12738 2002-01-19 Tom Rix <trix@redhat.com>
12740 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
12742 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
12744 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
12746 * function.c (assign_stack_local_1): Adjust x_frame_offset with
12747 STARTING_FRAME_PHASE.
12748 (STARTING_FRAME_PHASE): New.
12749 (instantiate_virtual_regs): Check saneness of
12750 STARTING_FRAME_PHASE.
12752 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
12754 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
12756 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
12758 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
12760 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
12761 be used for bootstrapping GCC 3.0.
12763 2002-01-18 Kazu Hirata <kazu@hxi.com>
12765 * config/h8300/h8300.md: Fix an insn length.
12767 2002-01-18 Kazu Hirata <kazu@hxi.com>
12769 * bitmap.h: Fix comment formatting.
12770 * combine.c: Likewise.
12771 * cppfiles.c: Likewise.
12772 * c-pragma.h: Likewise.
12773 * c-typeck.c: Likewise.
12775 * dwarf2out.c: Likewise.
12776 * function.c: Likewise.
12778 * genattrtab.c: Likewise.
12779 * gthr-win32.h: Likewise.
12780 * haifa-sched.c: Likewise.
12781 * predict.c: Likewise.
12782 * rtlanal.c: Likewise.
12784 * unwind-dw2-fde.h: Likewise.
12785 * unwind-pe.h: Likewise.
12786 * vmsdbgout.c: Likewise.
12788 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12790 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
12791 if type_required and passed decl.
12793 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
12795 * config.gcc (cpu_type): Include altivec.h in powerpc
12799 * config/rs6000/altivec.h: New.
12801 2002-01-17 David Edelsohn <edelsohn@gnu.org>
12803 * doc/install.texi (*-ibm-aix*): Update assembler and exception
12804 handling information.
12805 * doc/trouble.texi (Interoperation): Add libstdc++ information
12807 (Misunderstandings): Add template instantiation and static template
12808 member information for AIX.
12810 2002-01-17 Jason Merrill <jason@redhat.com>
12812 * dbxout.c (dbxout_type): Support const and volatile.
12814 * except.c (add_partial_entry): Remove backwards compatibility code.
12815 (end_protect_partials): Likewise.
12817 2002-01-17 Jakub Jelinek <jakub@redhat.com>
12819 * config/ia64/ia64.md (prologue_use): New.
12820 * config/ia64/ia64.c (ia64_expand_prologue): Use
12821 gen_prologue_use instead of gen_rtx_USE.
12822 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
12823 as CODE_FOR_pred_rel_mutex.
12824 (ia64_sched_reorder2): Likewise.
12826 2002-01-16 Eric Christopher <echristo@redhat.com>
12828 * config/mips/r3900.h: Reformat.
12829 (SUBTARGET_CPP_SIZE_SPEC): Remove.
12830 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
12831 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
12832 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
12833 * config/mips/t-elf: Remove mips3 multilib.
12835 2002-01-16 H.J. Lu <hjl@gnu.org>
12837 * config/mips/linux.h: Include "mips/abi64.h".
12839 2002-01-16 H.J. Lu <hjl@gnu.org>
12841 * config/mips/t-linux: New.
12843 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
12845 * config/mips/linux.h: Don't include "gofast.h".
12846 (INIT_SUBTARGET_OPTABS): Removed.
12848 2002-01-16 Kazu Hirata <kazu@hxi.com>
12850 * config/h8300/h8300-protos.h: Replace emit_a_shift with
12852 * config/h8300/h8300.c: Likewise.
12853 * config/h8300/h8300.md: Likewise.
12855 2002-01-16 Kazu Hirata <kazu@hxi.com>
12857 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
12858 spaces after an opcode name.
12859 (pushqi1_h8300hs): Likewise.
12860 (pushhi1_h8300hs): Likewise.
12862 2002-01-16 Kazu Hirata <kazu@hxi.com>
12864 * doc/extend.texi: Replace "option" with "attribute"
12867 2002-01-16 Jakub Jelinek <jakub@redhat.com>
12869 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
12870 (and:DI () (const_int -8)).
12871 (split_small_symbolic_mem_operand): Split
12872 (mem (and:DI () (const_int -8)).
12874 2002-01-16 Jakub Jelinek <jakub@redhat.com>
12877 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
12878 same way as TYPE_IMUL.
12879 (ultrasparc_sched_reorder): Likewise.
12880 * config/sparc/sparc.md (type): Add comment to update
12881 ultrasparc_sched_reorder when making changes.
12883 2002-01-16 Kazu Hirata <kazu@hxi.com>
12885 * doc/invoke.texi: Change the dump file name of block
12886 reordering pass from 28.bbro to 29.bbro.
12887 Mention -dk option.
12889 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
12891 * i386.md (minsf splitter): Fix pasto.
12893 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
12895 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
12896 to frame pointer initialisation instruction.
12897 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
12898 initialisation instruction.
12899 (soft_df_operand): Do not accept the IP register.
12900 (nonimmediate_soft_df_operand): Do not accept the IP register.
12902 2002-01-16 Jakub Jelinek <jakub@redhat.com>
12905 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
12906 MASK_V8 being both set.
12908 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
12910 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
12911 insn for GOT register; add REG_MAYBE_DEAD notes instead.
12912 config/s390/s390.md (call, call_value): Add GOT register to
12913 CALL_INSN_FUNCTION_USAGE where needed.
12914 (call_exp, call_value_exp): New.
12916 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
12918 * config/arm/arm.c: General formatting tidy up.
12920 2002-01-16 Graham Stott <grahams@redhat.com>
12922 * calls.c (try_to_integrate): Use "(size_t)" intermediate
12923 cast and when casting an integer literal to "rtx" pointer.
12924 (expand_call): Likewise.
12925 * flow.c (try_pre_increment): Likewise.
12926 (find_use_as_address): Likewise.
12927 * integrate.c (expand_iline_function): Likewise.
12928 * regmove.c (try_auto_increment): Likewise.
12930 2002-01-16 Graham Stott <grahams@redhat.com>
12932 * sched-rgn.c (passed): Use sbitmap_free.
12933 (header): Likewise.
12935 (in_queue): Likewise.
12936 (in_stack): Likewise.
12938 2002-01-15 Eric Christopher <echristo@redhat.com>
12940 * flow.c (propagate_one_insn): Change to use fatal_insn.
12942 2002-01-15 Kazu Hirata <kazu@hxi.com>
12944 * expmed.c (extract_fixed_bit_field): Remove unused code.
12945 * system.h: Poison SLOW_ZERO_EXTEND.
12946 * doc/tm.texi: Remove.
12947 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
12948 * config/arm/arm.h: Likewise.
12949 * config/avr/avr.h: Likewise.
12950 * config/clipper/clipper.h: Likewise.
12951 * config/convex/convex.h: Likewise.
12952 * config/d30v/d30v.h: Likewise.
12953 * config/dsp16xx/dsp16xx.h: Likewise.
12954 * config/elxsi/elxsi.h: Likewise.
12955 * config/fr30/fr30.h: Likewise.
12956 * config/h8300/h8300.h: Likewise.
12957 * config/i370/i370.h: Likewise.
12958 * config/i386/i386.h: Likewise.
12959 * config/m68k/m68k.h: Likewise.
12960 * config/mips/mips.h: Likewise.
12961 * config/ns32k/ns32k.h: Likewise.
12962 * config/pdp11/pdp11.h: Likewise.
12963 * config/pj/pj.h: Likewise.
12964 * config/s390/s390.h: Likewise.
12965 * config/sh/sh.h: Likewise.
12966 * config/stormy16/stormy16.h: Likewise.
12967 * config/v850/v850.h: Likewise.
12968 * config/vax/vax.h: Likewise.
12969 * config/we32k/we32k.h: Likewise.
12971 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
12973 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
12974 (altivec_lvsl): Change constraint to b.
12975 (altivec_lvsr): Same.
12976 (altivec_lvebx): Same.
12977 (altivec_lvehx): Same.
12978 (altivec_lvewx): Same.
12979 (altivec_lvxl): Same.
12980 (altivec_lvx): Same.
12981 (altivec_stvx): Add parallel.
12982 (altivec_stvxl): Same.
12983 (altivec_stvehx): Same.
12984 (altivec_stvebx): Same.
12985 (altivec_stvebx): Same.
12987 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
12989 * config.gcc: Change altivec.h to altivec-defs.h.
12991 * config/rs6000/altivec.h: Delete.
12993 * config/rs6000/altivec-defs.h: Add.
12995 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
12997 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
13000 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
13001 less than or equal to eight bytes.
13003 * vax.md (andsi3): Remove constraints and change SET destination
13004 operand type to nonimmediate_operand.
13005 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
13006 when it is a CONST_INT.
13008 2002-01-15 Jason Merrill <jason@redhat.com>
13010 * c-common.def (FILE_STMT): New code.
13011 * c-common.c (statement_code_p): It's a statement.
13012 * c-common.h (stmt_tree_s): Add x_last_filename.
13013 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
13014 (last_expr_filename): New macro.
13015 * c-semantics.c (begin_stmt_tree): Initialize it.
13016 (add_stmt): If the filename changed, also insert a
13018 (expand_stmt): Handle seeing one.
13020 2002-01-15 Eric Christopher <echristo@redhat.com>
13022 * flow.c (propagate_one_insn): Add error message and print out
13023 insn for debugging.
13025 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
13027 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
13028 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
13029 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
13030 TRAMPOLINE_ALIGNMENT.
13031 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
13033 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
13034 PCC_BITFIELD_TYPE_MATTERS.
13035 * config/interix.h (STDC_VALUE): Remove. Use
13036 STDC_0_IN_SYSTEM_HEADERS.
13037 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
13038 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
13039 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
13041 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
13043 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
13044 not work on this platform currently.
13046 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
13048 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
13049 readonly_warning in _().
13051 2002-01-15 Douglas B Rupp <rupp@gnat.com>
13053 * gcc.c (delete_if_ordinary): Backout previous change.
13055 2002-01-15 Kazu Hirata <kazu@hxi.com>
13057 * config/h8300/h8300.c (print_operand): Remove support for
13058 unused operand characters.
13060 * read-rtl.c: Fix formatting.
13061 * real.c: Likewise.
13062 * recog.c: Likewise.
13063 * regclass.c: Likewise.
13064 * regmove.c: Likewise.
13065 * reg-stack.c: Likewise.
13066 * reload1.c: Likewise.
13067 * rtlanal.c: Likewise.
13069 2002-01-15 Kazu Hirata <kazu@hxi.com>
13071 * config/i386/i386.c: Fix formatting.
13073 2002-01-15 Jakub Jelinek <jakub@redhat.com>
13075 * c-typeck.c (process_init_element): Don't save_expr
13076 COMPOUND_LITERAL_EXPR if just its initializer will be used.
13078 2002-01-15 David Edelsohn <edelsohn@gnu.org>
13080 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
13081 emit optional traceback table if optimize_size or TARGET_ELF.
13082 * config/rs6000/rs6000.md (prefetch): New.
13084 2002-01-15 Andreas Jaeger <aj@suse.de>
13086 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
13088 2002-01-15 Kazu Hirata <kazu@hxi.com>
13090 * mips-tfile.c: Fix formatting.
13092 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
13094 * unroll.c (final_reg_note_copy): Fix previous commit.
13096 2002-01-14 Kazu Hirata <kazu@hxi.com>
13098 * config/h8300/h8300-protos.h: Remove the prototype for
13100 * config/h8300/h8300.c (eq_operator): Remove.
13102 2002-01-14 Richard Henderson <rth@redhat.com>
13104 * config/i386/i386.md (prefetch): Tidy.
13105 (prefetch_3dnow): Fix locality operand.
13107 2002-01-14 Richard Henderson <rth@redhat.com>
13109 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
13110 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
13112 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
13114 * reload1.c (reload_combine): Pass reg_sum replacement through
13115 copy_rtx in loop performing multiple changes.
13117 2002-01-14 Jakub Jelinek <jakub@redhat.com>
13119 * except.c (remove_unreachable_regions): New.
13120 (free_eh_status): Clear exception_handler_labels.
13121 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
13122 (find_exception_handler_labels): Don't add the same label more than
13124 (remove_exception_handler_label): Don't die if
13125 find_exception_handler_labels hasn't been called for the current
13128 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
13130 * toplev.c (rest_of_compilation): Rebuild jump labels after
13133 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
13135 * doc/extend.texi: Move documentation of X86 built-in functions
13137 * doc/invoke.texi: From here.
13138 * doc/sourcebuild.texi: Document location of documentation for
13139 machine built-in functions.
13141 2002-01-13 Christopher Faylor <cgf@redhat.com>
13143 * cppfiles.c (TEST_THRESHOLD): New macro.
13144 (SHOULD_MMAP): Ditto.
13145 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
13148 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
13150 * unroll.c (final_reg_note_copy): Properly handle
13152 (unroll_loops): Fix LOOP_CONDITION heuristics.
13154 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
13156 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
13157 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
13159 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
13161 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
13164 2002-01-14 Tom Rix <trix@redhat.com>
13166 * config/rs6000/rs6000.md: Fix typo with sradi.
13168 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
13170 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
13171 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
13172 (clrstrdi, clrstrsi): Adapt callers.
13174 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
13176 (movti splitter): Never use register 0 as base register.
13178 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
13180 * combine.c (simplify_shift_const): Always generate new rtx
13181 for shift expression instead of reusing given expression.
13183 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13185 * config/alpha/alpha.c (alpha_expand_mov): Don't call
13186 alpha_legitimize_address unless mode is Pmode.
13188 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
13190 * doc/md.texi (Modifiers): Document the '*' constraint for the
13193 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
13194 * doc/extend.texi (Function Attributes): 'interrupt' is valid
13197 2002-01-13 Richard Henderson <rth@redhat.com>
13199 * reload.c (find_reloads): Use a hard reg destination as reload reg
13200 for an input reload of the source.
13202 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13204 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
13207 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
13209 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
13210 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
13212 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
13214 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13216 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
13218 2002-01-12 Tom Rix <trix@redhat.com>
13220 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
13223 2002-01-12 Richard Henderson <rth@redhat.com>
13225 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
13227 * doc/invoke.texi: Update Alpha options.
13229 * doc/invoke.texi: Update i386 built-in function lists.
13231 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
13233 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
13234 referencing outside.
13236 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13238 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
13239 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
13240 offsets, and change line folding.
13241 * optabs.c (expand_binop): Remove warnings.
13242 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
13244 2002-01-12 Graham Stott <grahams@redhat.com>
13246 * attribs.c (handle_deprecated_attribute): constify WHAT.
13247 * diagnostic.c (warn_deprecated_use): Add braces, fixes
13248 dangling else warning and constify WHAT.
13249 * except.h (struct function, struct inline_remap): Move
13250 struct tag forward defs before all prototypes.
13251 (duplicate_eh_regions): Whitespace.
13253 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
13255 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
13256 MODE_BASE_REG_CLASS.
13257 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
13259 2002-01-12 Richard Henderson <rth@redhat.com>
13261 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
13262 (ix86_expand_vector_move): New.
13263 (bdesc_2arg): Remove andps, andnps, orps, xorps.
13264 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
13265 Remove old prefetch builtins. Special case the logicals removed above.
13266 (ix86_expand_builtin): Likewise.
13267 (safe_vector_operand): Use V4SFmode, not TImode.
13268 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
13269 (ix86_expand_timode_binop_builtin): New.
13270 * config/i386/i386-protos.h: Update.
13271 * config/i386/i386.h (enum ix86_builtins): Update.
13272 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
13273 Use ix86_expand_vector_move in vector move expanders.
13274 (movti_internal, movti_rex64): Add xorps alternative.
13275 (sse_clrv4sf): Rename and adjust from sse_clrti.
13276 (prefetch): Don't work so hard.
13277 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
13278 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
13279 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
13281 2002-01-11 Richard Henderson <rth@redhat.com>
13283 * config/i386/mmintrin.h: New file.
13284 * config/i386/xmmintrin.h: New file.
13285 * config.gcc (i?86-*-*): Add extra_headers.
13286 * simplify-rtx.c (simplify_unary_operation): Handle saturating
13288 (simplify_binary_operation): Handle saturating arithmetic codes.
13289 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
13290 not the lowpart subreg.
13291 (ix86_expand_builtin): Return a TImode dummy register instead of 0
13293 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
13295 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13297 * conflict.c (conflict_graph_compute): Free regsets when finished.
13298 * ssa.c (compute_coalesced_reg_partition): Likewise.
13300 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13302 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
13303 every where we allocate a register.
13305 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13307 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
13308 * lcm.c (compute_earliest, compute_farthest): Likewise.
13310 2002-01-11 Janis Johnson <janis187@us.ibm.com>
13312 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
13314 2002-01-11 Janis Johnson <janis187@us.ibm.com>
13316 * doc/rtl.texi (Insns): Fix 2 typos.
13318 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
13320 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
13321 options. Use @table @gcctabopt for MMIX options. Add index
13322 entries for MMIX options. Start new paragraph with first
13323 heading of the machine-dependent options.
13325 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
13328 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
13329 * combine.c (force_to_mode): Same.
13330 * reload1.c (clear_reload_reg_in_use): Same.
13332 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
13334 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
13337 2002-01-11 Andreas Jaeger <aj@suse.de>,
13338 Brad Lucier <lucier@math.purdue.edu>
13340 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
13343 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
13345 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
13346 Protect with IN_LIBGCC.
13347 (LINK_EH_SPEC): Add required trailing space.
13349 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
13351 * c-tree.h: Move function declarations so that they are listed
13352 under the filename which contains them.
13353 (check_identifier, finish_decl_top_level,
13354 lookup_name_current_level_global, shadow_record_fields): Remove.
13356 2002-01-11 Andreas Jaeger <aj@suse.de>
13358 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
13361 2002-01-10 Richard Henderson <rth@redhat.com>
13363 * config/alpha/alpha.c (print_operand): Add 'J'.
13364 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
13365 new operand with the sequence number for the lituse. When splitting
13366 the insns, use gen_movdi_er_high_g and generate a sequence number.
13367 (gen_movdi_er_high_g): Print the sequence number if non-zero.
13369 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
13371 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
13372 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
13374 (altivec_expand_builtin): Same.
13375 (altivec_expand_stv_builtin): New.
13377 * config/rs6000/rs6000.h (rs6000_builtins): Same.
13379 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
13380 ("altivec_lvehx"): New.
13381 ("altivec_lvewx"): New.
13382 ("altivec_lvxl"): New.
13383 ("altivec_lvx"): New.
13384 ("altivec_stvx"): New.
13385 ("altivec_stvebx"): New.
13386 ("altivec_stvehx"): New.
13387 ("altivec_stvewx"): New.
13388 ("altivec_stvxl"): New.
13390 2002-01-10 Richard Henderson <rth@redhat.com>
13392 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
13393 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
13394 care not to delete instructions twice.
13396 2002-01-10 Zack Weinberg <zack@codesourcery.com>
13398 * toplev.c: Don't declare environ (it's not used anywhere).
13399 * configure.in: Don't check for declaration of environ.
13400 * config/i386/xm-mingw32.h: Don't #define environ.
13401 * config.in, configure: Regenerate.
13403 2002-01-10 Zack Weinberg <zack@codesourcery.com>
13405 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
13406 * configure: Regenerate.
13408 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
13409 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
13410 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
13412 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
13413 LIMITS_H_TEST here, not in m68k/x-next.
13414 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
13415 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
13417 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
13418 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
13419 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
13421 * config/i386/x-djgpp: Renamed i386/t-djgpp.
13422 * config/m88k/x-dolph: Renamed m88k/t-dolph.
13423 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
13424 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
13425 replacement of quadlib.asm with quadlib.c.
13427 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
13428 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
13429 config/rs6000/xm-beos.h: Delete file.
13431 * config.gcc: Update to match above changes.
13433 2002-01-10 Kazu Hirata <kazu@hxi.com>
13435 * config/h8300/h8300.h: Fix comment typos.
13436 * config/h8300/h8300.md: Likewise.
13437 * config/h8300/lib1funcs.asm: Likewise.
13439 2002-01-10 Dale Johannesen <dalej@apple.com>
13441 PR optimization/5269
13442 * unroll.c (precondition_loop_p): Make *increment be the correct
13443 sign when n_iterations known, to avoid confusing caller.
13445 2002-01-10 Kazu Hirata <kazu@hxi.com>
13447 * doc/extend.texi (deprecated): Fix a typo.
13449 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
13451 * basic-block.h (update_br_prob_note): Declare.
13452 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
13453 (try_forward_edges): Care negative frequencies and update note.
13454 (outgoing_edges_match): Tweek conditional merging heuristics.
13455 (try_crossjump_to_edge): use update_br_prob_note.
13456 * cfglayout.c (fixup_reorder_chain): Likewise.
13457 * cfrtl.c (update_br_prob_note): New.
13458 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
13460 * i386.c (ix86_decompose_address): Return -1 if address contains
13462 (legitimate_address_p): Require ix86_decompose_address to return 1.
13464 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
13465 (cprop_insn): Likewise.
13467 2002-01-10 Kazu Hirata <kazu@hxi.com>
13469 * toplev.c: Fix formatting.
13470 * tree.c: Likewise.
13471 * tree-dump.c: Likewise.
13472 * unroll.c: Likewise.
13473 * unwind-dw2.c: Likewise.
13474 * unwind-dw2-fde.c: Likewise.
13475 * unwind-dw2-fde-glibc.c: Likewise.
13476 * unwind-sjlj.c: Likewise.
13478 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
13480 * doc/invoke.texi: Document PDP-11 options.
13482 2002-01-10 Kazu Hirata <kazu@hxi.com>
13484 * config/h8300/h8300.h: Fix formatting.
13486 2002-01-10 Ira Ruben <ira@apple.com>
13488 Add __attribute__ ((deprecated)).
13489 * extend.texi: Document __attribute__ ((deprecated)).
13490 * invoke.texi: Document -Wno-deprecated-declarations.
13491 * testsuite/g++.dg/other/deprecated.C: New C++ test.
13492 * testsuite/gcc.dg/deprecated.c: New C test.
13493 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
13494 (c_common_attribute_table): Add "deprecated" entry.
13495 (handle_deprecated_attribute): New function.
13496 * c-decl.c (deprecated_states): New enum.
13497 deprecated_state: State of "deprecated" handling.
13498 (start_decl): Set deprecated_state based on attributes.
13499 (grokdeclarator): Test for deprecated uses, propagate attribute.
13500 * c-typeck.c (build_component_ref): Test for deprecated fields.
13501 (build_external_ref): Test for deprecated primaries.
13502 * diagnostic.c (warn_deprecated_use) New function to issue
13503 warnings about __attribute__ ((depricated)) references.
13504 * flags.h (warn_deprecated_decl): Extern declared for
13505 -W[no-]deprecated-declarations option.
13506 * print-tree.c (print_node): Show deprecated flag status.
13507 * toplev.c (warn_deprecated_decl): Defined.
13508 (W_options): Added "deprecated-declaration".
13509 * toplev.h (warn_deprecated_use): Extern declared.
13510 * tree.h (struct tree_common): Define deprecated_flag.
13511 (TREE_DEPRECATED): New macro to access flag.
13512 * cp/call.c (build_call): Test for deprecated calls.
13513 * cp/class.c (add_implicitly_declared_members): Set global
13514 flag to tell grokdeclarator to not issue deprecated warnings.
13515 * cp/cp-tree.h: Add extern for adding_implicit_members.
13516 * cp/decl.c (deprecated_states): New enum.
13517 (start_decl): Set deprecated_state based on attributes.
13518 (grokdeclarator): Test for deprecated uses, propagate attribute.
13519 * cp/lex.c (do_identifier): Test for deprecated primaries.
13520 * cp/typeck.c (build_component_ref): Test for deprecated fields.
13522 2002-01-10 Ira Ruben <ira@apple.com>
13524 Fix to assign attributes to inline member functions.
13525 * cp/decl.c (start_method): Handle attrlist.
13527 2002-01-10 Kazu Hirata <kazu@hxi.com>
13529 * combine.c (expand_field_assignment): Use subreg_lsb().
13531 2002-01-10 David Edelsohn <edelsohn@gnu.org>
13533 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
13534 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
13535 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
13536 Recurse for any operand of AND as long as constant is non-zero.
13538 2002-01-10 Kazu Hirata <kazu@hxi.com>
13540 * config/h8300/h8300.md: Remove constraints from expanders.
13542 2002-01-10 Kazu Hirata <kazu@hxi.com>
13544 * varasm.c: Fix formatting.
13545 * varray.c: Likewise.
13546 * vmsdbgout.c: Likewise.
13547 * xcoffout.c: Likewise.
13549 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
13551 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
13552 update edge probabilities to match.
13554 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
13556 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
13558 * doc/languages.texi, doc/sourcebuild.texi: New files.
13559 * doc/configfiles.texi: Make a subsubsection. Update.
13560 * doc/configterms.texi: Add @node. Remove warning that this isn't
13561 instructions for building GCC.
13562 * doc/makefile.texi: Make a subsection.
13563 * doc/gccint.texi: Update.
13565 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
13567 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
13569 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
13571 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
13573 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
13575 * optabs.c (expand_fix): Look for wider integer modes first.
13577 * i386.md (mov?f): Avoid the fake const double trick for medium
13579 (min?f*/max?f*): Prohibit memory operands for i387 variant.
13580 (fop_df_4): Disable for SSE compilation.
13582 2002-01-10 Graham Stott <grahams@redhat.com>
13584 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
13585 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
13587 2002-01-10 Richard Henderson <rth@redhat.com>
13589 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
13591 2002-01-10 Richard Henderson <rth@redhat.com>
13593 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
13594 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
13596 2002-01-10 Kazu Hirata <kazu@hxi.com>
13598 * combine.c (can_combine_p): Fix a comment typo.
13600 2002-01-09 Zack Weinberg <zack@codesourcery.com>
13602 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
13603 empty list correctly. Change loop index $t to $f for
13604 consistency with rest of Makefile.
13606 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
13608 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
13609 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
13611 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
13612 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
13613 (altivec_init_builtins): Same.
13614 (altivec_expand_unop_builtin): Return NULL_RTX on error.
13615 (altivec_expand_binop_builtin): Same.
13616 (altivec_expand_ternop_builtin): Same.
13619 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
13620 ("altivec_vctuxs"): Fix typo.
13621 ("altivec_vnmsubfp"): Same.
13622 ("altivec_dssall"): New.
13623 ("altivec_mfvscr"): New.
13624 ("altivec_dss"): New.
13625 ("altivec_lvsl"): New.
13626 ("altivec_lvsr"): New.
13627 ("altivec_dstt"): New.
13628 ("altivec_dstst"): New.
13629 ("altivec_dststt"): New.
13630 ("altivec_dst"): New.
13632 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
13633 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
13635 2002-01-09 Richard Henderson <rth@redhat.com>
13637 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
13639 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
13641 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
13643 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
13645 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
13647 2002-01-09 Kazu Hirata <kazu@hxi.com>
13649 * read-rtl.c: Fix formatting.
13650 * real.c: Likewise.
13651 * regclass.c: Likewise.
13652 * regrename.c: Likewise.
13653 * reg-stack.c: Likewise.
13654 * reload1.c: Likewise.
13655 * reload.c: Likewise.
13658 2002-01-09 Kazu Hirata <kazu@hxi.com>
13660 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
13661 to extract items in the expr_list chain.
13663 2002-01-09 Richard Henderson <rth@redhat.com>
13665 * config/vax/vax.c (vax_rtx_cost): Never abort.
13667 * config/vax/vax.h (REAL_ARITHMETIC): Define.
13669 2002-01-09 Jan Hubicka <jh@suse.cz>
13671 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
13673 2002-01-09 Richard Henderson <rth@redhat.com>
13675 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
13676 Unify code from various alternatives.
13678 2002-01-09 Richard Henderson <rth@redhat.com>
13680 * regrename.c (copy_value): Ignore the copy if the source register
13681 is present in the value chain with a narrower mode.
13683 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13685 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
13686 for the c4x target. Also improve layout.
13688 2002-01-09 Richard Henderson <rth@redhat.com>
13690 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
13691 * config/m32r/m32r.md (and ior xor splitters): Swap operands
13692 to match insn patterns.
13694 2002-01-09 Richard Henderson <rth@redhat.com>
13696 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
13697 (copyprop_hardreg_forward_1): Likewise.
13699 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
13701 * pa.md (decrement_and_branch_until_zero): Change predicate for
13702 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
13704 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13706 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
13707 gets undefined. For Darwin.
13709 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13711 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
13713 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13715 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
13717 2002-01-08 Richard Henderson <rth@redhat.com>
13719 * regrename.c (copy_value): Ignore overlapping copies.
13721 2002-01-08 Richard Henderson <rth@redhat.com>
13723 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
13724 as needed to avoid shared structure.
13726 2002-01-08 Kazu Hirata <kazu@hxi.com>
13728 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
13731 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
13733 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
13734 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
13735 documentation of obsolete macros.
13736 * system.h: Poison these macros.
13737 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
13738 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
13739 config/c4x/c4x.h, config/clipper/clipper.h,
13740 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
13741 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
13742 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
13743 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
13744 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
13745 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
13746 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
13747 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
13748 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
13749 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
13750 config/sparc/sparc.h, config/stormy16/stormy16.h,
13751 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
13752 definitions and commented out definitions of obsolete macros.
13753 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
13754 of MAX_INT_TYPE_SIZE.
13756 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
13758 * config/s390/s390.c (s390_preferred_reload_class): Never
13759 return ADDR_REGS if it isn't a subset of the given class.
13760 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
13761 FP_REGS, but all superclasses as well.
13763 * config/s390/s390.c (s390_function_profiler): Fix thinko.
13765 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
13766 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
13767 must not be a const_int.
13769 2002-01-08 Richard Henderson <rth@redhat.com>
13771 * Makefile.in (toplev.o): Depend on options.h.
13772 (gcc.o): Depend on specs.h.
13774 2002-01-08 Jakub Jelinek <jakub@redhat.com>
13776 * expr.c (store_expr): Convert VOIDmode constants back to target's
13779 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13781 * doc/invoke.texi: Markup gcc as @command. Refer to
13782 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
13783 of http://gcc.gnu.org/thanks.html.
13785 2002-01-08 Dale Johannesen <dalej@apple.com>
13787 * config/rs6000/rs6000.md: Add missing int register
13788 target case to movdf_low.
13790 2002-01-08 Zack Weinberg <zack@codesourcery.com>
13792 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
13793 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
13794 (cppinit.o): Depend on except.h.
13795 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
13796 s-specs): New rules.
13798 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
13799 Don't create specs.h/options.h/gencheck.h here. Remove
13800 unnecessary variable settings from last argument of AC_OUTPUT.
13801 * config.in, configure: Regenerate.
13802 * intl.c: Hardcode package name as "gcc".
13804 * cppinit.c: Include except.h.
13805 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
13807 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
13808 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
13809 (!)USING_SJLJ_EXCEPTIONS.
13810 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
13812 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
13814 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
13815 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
13816 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
13817 documentation of obsolete macros.
13818 * system.h: Poison these macros.
13819 * config/d30v/d30v.h, config/ns32k/encore.h,
13820 config/stormy16/stormy16.h: Remove definitions and commented out
13821 definitions of obsolete macros.
13823 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
13825 * objc/objc-act.c (handle_class_ref): Mark the declaration of
13826 %sobjc_class_ref_%s as used - to prevent unwanted compiler
13829 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
13831 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
13832 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
13833 to insn adjusting stack/frame pointer.
13834 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
13835 accept operands that cause the insn to be non-splittable.
13837 2002-01-08 Graham Stott <grahams@redhat.com>
13839 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
13840 (C_TYPE_FIELDS_VOLATILE): Likewise.
13841 (C_TYPE_BEING_DEFINED): Likewise.
13842 (C_IS_RESERVED_WORD): Likewise.
13843 (C_TYPE_VARIABLE_SIZE): Likewise.
13844 (C_DECL_VARIABLE_SIZE): Likewise.
13845 (C_MISSING_PROTOTYPE_WARNED): Likewise.
13846 (C_SET_EXP_ORIGINAL_CODE): Likewise.
13847 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
13849 (C_DECL_ANTICIPATED): Likewise.
13850 (c_build_type_variant): Add parenthesis.
13852 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
13854 * gcc.c (option_map): Remove --version.
13855 (process_command): Handle -fversion following the GNU Coding
13856 Standards. Partially addresses PR other/704.
13858 2002-01-08 Graham Stott <grahams@redhat.com>
13860 * combine.c (combine_instructions): Fix typo.
13862 2002-01-08 Graham Stott <grahams@redhat.com>
13864 * debug.h: Use "tree" and "rtx" throughout.
13866 * debug.c: Likewise.
13868 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
13870 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
13871 constant pool, use the pool's version of the symbol instead.
13873 2002-01-07 Richard Henderson <rth@redhat.com>
13875 * regrename.c (find_oldest_value_reg): Ignore the value chain if
13876 the original register was copied in a mode with a fewer number of
13877 hard registers than the desired mode.
13878 (copyprop_hardreg_forward_1): Likewise.
13879 (debug_value_data): Fix loop test.
13880 * toplev.c (parse_options_and_default_flags): Reenable
13881 -fcprop-registers at -O1.
13883 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
13885 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
13886 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
13888 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
13891 * config/rs6000/rs6000.md: Add altivec predicate patterns.
13893 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
13895 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
13896 (pa_output_function_prologue): Output local label at the beginning of
13897 the prologue when profiling.
13898 (hppa_profile_hook): Use the local label rather than the function label.
13899 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
13901 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
13903 * config/rs6000/rs6000.c (print_operand): Remove extra space.
13904 (altivec_expand_unop_builtin): Fix thinko.
13905 (altivec_expand_binop_builtin): Same.
13906 (altivec_expand_ternop_builtin): Same.
13907 (altivec_expand_builtin): Same.
13909 2002-01-07 Richard Henderson <rth@redhat.com>
13911 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
13913 2002-01-07 Jason Merrill <jason@redhat.com>
13915 * unwind-dw2.c (execute_cfa_program): Use < again.
13917 2002-01-07 Jakub Jelinek <jakub@redhat.com>
13919 * predict.c (combine_predictions_for_insn): Avoid division by zero.
13921 2002-01-07 Jakub Jelinek <jakub@redhat.com>
13923 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
13924 Don't allow -1 - x -> ~x simplifications in the first pass.
13926 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
13928 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
13930 (altivec_expand_binop_builtin): Same.
13931 (altivec_expand_unop_builtin): Same.
13932 (print_operand): Fix typo.
13933 (bdesc_1arg): Add vupk* variants.
13935 * rs6000.h (rs6000_builtins): Add vupk* enums.
13937 * rs6000.md: Add altivec_vupk* variants.
13939 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
13941 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
13942 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
13943 and last update dates.
13945 2002-01-07 Janis Johnson <janis187@us.ibm.com>
13947 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
13949 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
13951 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
13952 * config/avr/avr.h (CPP_SPEC): Likewise.
13953 (LINK_SPEC): Likewise.
13954 (CRT_BINUTILS_SPECS): Likewise.
13955 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
13956 * doc/invoke.texi (AVR Options): Document them.
13958 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
13960 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
13963 2002-01-07 Graham Stott <grahams@redhat.com>
13965 * config/i386/i386.h: Update copyright date.
13966 (HALF_PIC_PTR): Add parenthesis.
13967 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
13968 (CONSTANT_ALIGNMENT): Add parenthesis.
13969 (DATA_ALIGNMENT): Likewise.
13970 (LOCAL_ALIGNMENT): Likewise.
13971 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
13972 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
13973 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
13974 (HARD_REGNO_NREGS): Add paranethesis.
13975 (VALID_SSE_REG_MODE): Whitespace.
13976 (VALID_MMX_REG_MODE): Whitespace.
13977 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
13978 (ix86_hard_regno_mode_ok): Add parenthesis.
13979 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
13980 (RETURN_IN_MEMORY): Whitespace.
13981 (N_REG_CLASSES): Add parenthesis.
13982 (INTEGER_CLASS_P): Add parenthesis and wrap.
13983 (FLOAT_CLASS_P): Likewise.
13984 (SSE_CLASS_P): Likewise.
13985 (MMX_CLASS_P): Likewise.
13986 (MAYBE_INTEGER_CLASS_P): Likewise.
13987 (MAYBE_FLOAT_CLASS_P): Likewise.
13988 (MAYBE_SSE_CLASS_P): Likewise.
13989 (MAYBE_MMX_CLASS_P): Likewise.
13990 (Q_CLASS_P): Likewise.
13991 (GENERAL_REGNO_P): Uppercase macro parameter.
13992 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
13993 (FP_REGNO_P): Likewise.
13994 (ANY_FP_REGNO_P): Uppercase macro parameter.
13995 (SSE_REGNO_P): Likewise.
13996 (SSE_REGNO): Likewise.
13997 (SSE_REG_P): Likewise.
13998 (SSE_FLOAT_MODE_P): Likewise.
13999 (MMX_REGNO_P): Likewise.
14000 (MMX_REG_P):Likewise.
14001 (STACK_REG_P): Likewise.
14002 (NON_STACK_REG_P): Likewise.
14003 (STACK_TOP_P): Likewise.
14004 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
14005 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
14006 (SECONDARY_MEMORY_NEEDED): Likewise.
14007 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
14008 (MD_ASM_CLOBBERS): Whitespace and wrap.
14009 (MUST_PASS_IN_STACK): Whitespace and wrap.
14010 (RETURN_POPS_ARGS): Add parenthesis.
14011 (INIT_CUMULATIVE_ARGS): Likewise.
14012 (FUNCTION_ARG): Likewise.
14013 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
14014 (SETUP_INCOMING_VARARGS): Likewise.
14015 (BUILD_VA_LIST_TYPE): Add parenthesis.
14016 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
14018 (EXPAND_BUILTIN_VA_ARG): Likewise.
14019 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
14020 (INITIALIZE_TRAMPOLINE): Add parenthesis.
14021 (INITIAL_ELIMINATION_OFFSET): Likewise.
14022 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
14023 (REGNO_OK_FOR_BASE_P): Likewise.
14024 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
14025 (REGNO_OK_FOR_DIREG_P): Likewise.
14026 (REG_OK_FOR_INDEX_P): Whitespace.
14027 (REG_OK_FOR_BASE_P): Whitespace.
14028 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
14030 (FIND_BASE_TERM): Fix typo.
14031 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
14032 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
14033 (SYMBOLIC_CONST; Whitespace.
14034 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
14035 (ENCODE_SECTION_INFO): Whitespace.
14036 (FINALIZE_PIC): Remove do { ... } while (0).
14037 (PROMOTE_MODE): Wrap in do { ... } while (0).
14038 (CONST_COSTS): Whitespace.
14039 (RTX_COSTS): Add paramethesis, whitespace and wrap.
14040 (REGISTER_MOVE_COST): Add parenthesis.
14041 (MEMORY_MOVE_COST): Likewise.
14042 (EXTRA_CC_MODES): Whitespace.
14043 (SELECT_CC_MODE): Add parenthesis and whitespace.
14044 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
14045 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
14046 (ASM_OUTPUT_LABEL): Add paramethesis.
14047 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
14048 (ASM_OUTPUT_REG_POP): Likewise.
14049 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
14050 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
14052 * config/i386/i386.c: Update copyright.
14053 (CHECK_STACK_LIMIT): Add parenthesis.
14054 (AT_BP): Uppercase macro parameter.
14055 (x86_64_int_parameter_registers): Constify.
14056 (x86_64_int_return_registers): Likewise.
14057 (ix86_compare_op0): Use rtx.
14058 (construct_container): Constify INTREG parameter.
14059 (function_arg): Use rtx.
14061 * diagnostic.h: Update copyright date.
14062 (output_buffer_state): Add parenthesis.
14063 (output_buffer_format_args): Likewise.
14065 * combine.c (combine_instructions): Replace XEXP (links, 0)
14068 2002-01-06 H.J. Lu <hjl@gnu.org>
14070 * cfgcleanup.c (thread_jump): Fix 2 typos.
14072 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
14074 * config.gcc: Add support for --enable-altivec.
14076 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
14078 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
14080 2002-01-06 Jakub Jelinek <jakub@redhat.com>
14082 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
14083 __objc_class_name_*.
14085 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
14087 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
14089 2002-01-06 Richard Henderson <rth@redhat.com>
14091 * reorg.c (emit_delay_sequence): Remove death notes, not merely
14092 nop them out. Increment label reference count for REG_LABEL.
14093 (fill_slots_from_thread): Frob label reference count around
14094 delete_related_insns.
14096 2002-01-05 Richard Henderson <rth@redhat.com>
14098 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
14101 2002-01-05 Richard Henderson <rth@redhat.com>
14103 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
14104 * integrate.c (output_inline_function): Likewise.
14105 * toplev.c (rest_of_compilation): Do it here instead. Move call
14106 to remove_unnecessary_notes after emitting abstract instance.
14107 Force an emitted nested function to have its parent emited as well.
14108 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
14110 (rtl_for_decl_location): Do not look at reload data structures
14111 before reload has run.
14113 2002-01-05 Kazu Hirata <kazu@hxi.com>
14115 * cse.c: Fix formatting.
14116 * dwarf2asm.c: Likewise.
14117 * dwarf2out.c: Likewise.
14118 * explow.c: Likewise.
14119 * expmed.c: Likewise.
14120 * function.c: Likewise.
14121 * gcov.c: Likewise.
14122 * gencheck.c: Likewise.
14123 * genrecog.c: Likewise.
14124 * ggc-common.c: Likewise.
14125 * ggc-page.c: Likewise.
14126 * global.c: Likewise.
14128 2002-01-05 Kazu Hirata <kazu@hxi.com>
14130 * combine.c: Fix formatting.
14132 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
14135 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
14137 2002-01-05 David Edelsohn <edelsohn@gnu.org>
14139 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
14140 as 1 for __powerpc64__ as well.
14142 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
14144 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
14147 2002-01-05 Daniel Berlin <dan@dberlin.org>
14149 * lcm.c: Revert change, due to performance regression it causes on
14150 SPEC because it's slightly more conservative (sigh, I hate
14153 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
14155 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
14157 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
14159 * doc/cppinternals.texi: Update.
14161 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
14163 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
14164 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
14166 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
14167 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
14168 kludge for pre-october-14th mmix versions to handle new-found bug
14169 with PUSHJ/PUSHGO and the register stack.
14170 * config/mmix/mmix.h (struct machine_function): Rename member
14171 has_call_value_without_parameters to has_call_without_parameters.
14172 All referers changed.
14173 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
14174 TARGET_MASK_BRANCH_PREDICT): New macros.
14175 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
14176 -mno-reg-stack-fill-bug-workaround.
14177 * config/mmix/mmix.md ("call"): Set struct machine member
14178 has_call_without_parameters.
14180 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
14182 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
14184 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
14186 * cfgcleanup.c: Include tm_p.h
14187 (mark_effect): Fix handling of hard register; fix handling of SET
14189 2002-01-04 Kazu Hirata <kazu@hxi.com>
14191 * config/h8300/h8300.md (anonymous patterns): Check that
14192 operands are registers before using REGNO on them.
14194 2002-01-03 Roland McGrath <roland@frob.com>
14196 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
14198 2002-01-04 Jakub Jelinek <jakub@redhat.com>
14200 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
14201 * c-common.h (genrtl_expr_stmt_value): Likewise.
14202 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
14203 (expand_expr_stmt_value): Add maybe_last argument.
14204 Don't warn about statement with no effect if it is the last statement
14205 in expression statement.
14206 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
14207 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
14208 expand_expr_stmt_value.
14209 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
14210 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
14211 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
14212 as maybe_last to expand_expr_stmt_value.
14214 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
14216 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
14217 be passed in, do not build it.
14218 (c_begin_if_stmt): New function.
14219 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
14220 * c-common.h (c_expand_start_cond): Update prototype.
14221 (c_begin_if_stmt): Prototype new function.
14222 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
14223 * c-parse.in (if_prefix): Use c_begin_if_stmt,
14224 c_begin_while_stmt and c_finish_while_stmt_cond.
14226 2002-01-04 William Cohen <wcohen@redhat.com>
14228 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
14229 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
14230 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
14231 * config/pa/som.h (ASM_FILE_START): Likewise.
14233 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
14235 * lcm.c: Include df.h.
14236 Add available_transfer_function prototype.
14237 (compute_available): Rework to use iterative dataflow framework.
14238 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
14239 with bb_info in df.h
14240 (available_transfer_function): New function.
14242 * Makefile.in (lcm.o): add df.h to dependencies.
14244 2002-01-04 Richard Henderson <rth@redhat.com>
14246 * config/alpha/alpha.c (some_operand): Accept HIGH.
14247 (input_operand): Likewise; accept simple references to globals.
14248 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
14249 (alpha_const_double_ok_for_letter_p): Likewise.
14250 (alpha_extra_constraint): Likewise.
14251 (alpha_preferred_reload_class): Likewise. Do not force
14252 symbolic constants to memory.
14253 (alpha_legitimate_address_p): Accept simple references
14254 to small_symbolic_operand.
14255 (alpha_legitimize_address): New arg scratch. Be prepared to be
14256 called when no_new_pseudos. Emit simple symbolic references.
14257 Split integers into low, high, and rest.
14258 (alpha_expand_mov): Use alpha_legitimize_address.
14259 (some_small_symbolic_mem_operand): New.
14260 (split_small_symbolic_mem_operand): New.
14261 * config/alpha/alpha-protos.h: Update.
14262 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
14263 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
14264 (EXTRA_CONSTRAINT): Likewise.
14265 (PREFERRED_RELOAD_CLASS): Likewise.
14266 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
14267 (PREDICATE_CODES): Update.
14268 * config/alpha/alpha.md: New post-reload splitters to convert
14269 simplfied symbolic operands to the form that references $29.
14270 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
14271 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
14273 2002-01-03 Richard Henderson <rth@redhat.com>
14275 * local-alloc.c (function_invariant_p): Update commentary.
14277 2002-01-04 H.J. Lu <hjl@gnu.org>
14279 * toplev.c (rest_of_compilation): Fix a typo when calling
14282 2002-01-03 Kazu Hirata <kazu@hxi.com>
14284 * c-common.c: Fix formatting.
14285 * diagnostic.c: Likewise.
14286 * doloop.c: Likewise.
14287 * dwarf2out.c: Likewise.
14289 2002-01-03 Kazu Hirata <kazu@hxi.com>
14291 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
14292 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
14294 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
14296 * cpperror.c: Update comments and copyright.
14297 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
14298 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
14300 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
14302 * collect2.c (main): Use strcmp when testing for "-shared".
14304 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
14306 * cppmacro.c: Don't include intl.h. Update comments.
14307 (new_number_token): Allocate enough buffer for 64-bit unsigned
14308 integers; update prototype.
14309 * cppmain.c: Update comments.
14311 2002-01-03 William Cohen <wcohen@redhat.com>
14313 * function.h (struct function): Add profile.
14314 (current_function_profile): New.
14315 doc/extend.texi: Update documentation.
14316 * final.c (final_start_function): Use current_function_profile
14317 instead of profile_flag.
14318 (profile_after_prologue): Likewise.
14319 * function.c (expand_function_start): Likewise.
14320 (expand_function_start): Likewise.
14321 * config/alpha/alpha.c (direct_call_operand):
14322 (alpha_does_function_need_gp): Likewise.
14323 (alpha_expand_prologue): Likewise.
14324 * config/arm/arm.c (arm_expand_prologue): Likewise.
14325 thumb_expand_prologue: Likewise.
14326 * config/d30v/d30v.c (d30v_stack_info): Likewise.
14327 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
14328 (fr30_expand_prologue): Likewise.
14329 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
14330 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
14331 * config/i386/i386.h (FINALIZE_PIC): Likewise.
14332 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
14333 * config/i960/i960.c (i960_output_function_prologue): Likewise.
14334 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
14335 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
14336 (m32r_expand_prologue): Likewise.
14337 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
14338 (m88k_expand_prologue): Likewise.
14339 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
14340 * config/mips/mips.c (compute_frame_size): Likewise.
14341 (mips_expand_prologue): Likewise.
14342 (mips_can_use_return_insn): Likewise.
14343 * config/pa/elf.h (ASM_FILE_START): Likewise.
14344 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
14345 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
14346 * config/pa/som.h (ASM_FILE_START): Likewise.
14347 * config/romp/romp.c (romp_using_r14): Likewise.
14348 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
14349 (rs6000_stack_info): Likewise.
14350 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
14351 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
14352 * config/v850/v850.c (compute_register_save_size): Likewise.
14354 2002-01-03 Jakub Jelinek <jakub@redhat.com>
14356 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
14357 gen_lowpart_common fails, use gen_lowpart_SUBREG.
14359 2002-01-03 Turly O'Connor <turly@apple.com>
14361 * darwin.c (machopic_output_possible_stub_label): Don't generate
14362 stub routines for pseudo-stubs which we've just defined.
14364 2002-01-03 Kazu Hirata <kazu@hxi.com>
14366 * builtins.c: Fix formatting.
14367 * c-typeck.c: Likewise.
14368 * combine.c: Likewise.
14369 * expr.c: Likewise.
14370 * loop.c: Likewise.
14372 2002-01-03 Andreas Schwab <schwab@suse.de>
14374 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
14375 and return true if _cpp_push_next_buffer pushed a new include
14377 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
14378 _cpp_pop_file_buffer did not push a new file.
14379 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
14381 2002-01-02 Eric Christopher <echristo@redhat.com>
14383 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
14384 FIND_REG_INC_NOTE call. Update copyright.
14385 * loop.c (canonicalize_condition): Ditto.
14386 * reorg.c (delete_scheduled_jump): Ditto.
14388 2002-01-03 Kazu Hirata <kazu@hxi.com>
14390 * gcse.c: Fix formatting.
14392 2002-01-03 Graham Stott <grahams@redhat.com>
14394 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
14395 forward defs for struct tags rtx_def, union_tree, rtvec_def
14396 also output corresponding typedefs for rtx, tree, and rtvec.
14398 * system.h: Move forward defs for struct tags rtx_def, union_tree,
14399 rtvec_def along with corresponding typedefs for rtx, tree, and
14400 rtvec to config.h, hconfig.h, tconfig.h.
14402 2002-01-03 Graham Stott <grahams@redhat.com>
14404 * tree.h: Update copyright date.
14405 (IS_EXPR_CODE_CLASS): Add parenthesis.
14406 (TREE_SET_CODE): Add whitespace.
14407 (TREE_CHECK): Add parenthesis.
14408 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
14409 (CST_OR_CONSTRUCTOR_CHECK):
14410 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
14411 (TREE_SYMBOL_REFERENCED): Whitespace.
14412 (INT_CST_LT): Likewise.
14413 (INT_CST_LT_UNSIGNED): Likewise.
14414 (tree_real_cst): Unwrap comment.
14415 (tree_string): Likewise.
14416 (tree_complex): Likewise.
14417 (IDENTIFIER_POINTER): correct cast.
14418 (SAVE_EXPR_CONTEXT): Whitespace.
14419 (EXPR_WFL_FILENAME_NODE): Likewise.
14420 (EXPR_WFL_FILENAME): Remove parenthesis.
14421 (DECL_ORIGIN): Add parenthesis.
14422 (DECL_FROM_INLINE): Use NULL_TREE.
14423 (build_int_2): Whitespace.
14424 (build_type_variant): Add parenthesis.
14426 * gcc/jcf-parse.c: Update copyright date.
14427 (yyparse): Constify resource_filename.
14429 2002-01-03 Graham Stott <grahams@redhat.com>
14431 * rtl.h: Update copyright date.
14432 (RTL_CHECK1): Wrap long line.
14433 (RTL_CHECK2): Likewise.
14434 (RTL_CHECKC1): Wrap long line and whitespace.
14435 (RTL_CHECKC2): Likewise.
14436 (XWINT): Whitespace.
14442 (XBITMAP): Likewise.
14444 (XBBDEF): Likewise.
14446 (X0WINT): Likewise.
14448 (X0UINT): Likewise.
14452 (X0MODE): Likewise.
14453 (X0BITMAP): Likewise.
14454 (X0TREE): Likewise.
14455 (X0BBDEF): Likewise.
14456 (X0ADVFLAGS): Likewise.
14457 (X0CSELIB): Likewise.
14458 (X0MEMATTR): Likewise.
14459 (XCWINT): Likewise.
14461 (XCUINT): Likewise.
14465 (XCMODE): Likewise.
14466 (XCBITMAP): Likewise.
14467 (XCTREE): Likewise.
14468 (XCBBDEF): Likewise.
14469 (XCADVFLAGS): Likewise.
14470 (XCCSELIB): Likewise.
14471 (XC2EXP): Likewise.
14472 (INSN_UID): Likewise.
14473 (PREV_INSN): Likewise.
14474 (PATTERN): Likewise.
14475 (INSN_CODE): Likewise.
14476 (PUT_REG_NOTE_KIND): Likewise.
14477 (CODE_LABEL_NUMBER): Likewise.
14478 (NOTE_SOURCE_FILE): Likewise.
14479 (NOTE_BLOCK): Likewise.
14480 (NOTE_EH_HANDLER): Likewise.
14481 (NOTE_RANGE_INFO): Likewise.
14482 (NOTE_LIVE_INFO): Likewise.
14483 (NOTE_BASIC_BLOCK): Likewise.
14484 (NOTE_EXPECTED_VALUE): Likewise.
14485 (NOTE_LINE_NUMBER): Likewise.
14486 (LABEL_NAME): Likewise.
14487 (LABEL_NUSES): Likewise.
14488 (LABEL_ALTERNATE_NAME): Likewise.
14489 (ADDRESSOF_DECL): Likewise.
14490 (JUMP_LABEL): Likewise.
14491 (LABEL_NEXTREF): Likewise.
14493 (ORIGINAL_REGNO: Likewise.
14494 (HARD_REGISTER_NUM_P): Add parenthesis.
14495 (SUBREG_REG): Whitespace.
14496 (SUBREG_BYTE): Likewise.
14497 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
14498 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
14499 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
14500 (ASM_OPERANDS_INPUT_VEC): Likewise.
14501 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
14502 (ASM_OPERANDS_INPUT): Likewise.
14503 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
14504 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
14505 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
14506 (ASM_OPERANDS_INPUT_MODE): Likewise.
14507 (ASM_OPERANDS_SOURCE_FILE): Likewise.
14508 (ASM_OPERANDS_SOURCE_LINE): Likewise.
14509 (MEM_SET_IN_STRUCT_P): Minor reformat.
14510 (TRAP_CONDITION): Whitespace.
14511 (TRAP_CODE): Likewise.
14512 (COND_EXEC_TEST): Likewise.
14513 (COND_EXEC_CODE): Likewise.
14514 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
14515 (PHI_NODE_P): Add parenthesis.
14516 (plus_constant): Whitespace and add parenthesis.
14518 2002-01-03 Kazu Hirata <kazu@hxi.com>
14520 * config/avr/avr.c: Fix comment typos.
14521 * config/c4x/c4x.md: Likewise.
14522 * config/dsp16xx/dsp16xx.h: Likewise.
14523 * config/dsp16xx/dsp16xx.md: Likewise.
14524 * config/i386/i386.md: Likewise.
14525 * config/ia64/ia64.c: Likewise.
14526 * config/m32r/m32r.h: Likewise.
14527 * config/m68hc11/m68hc11.md: Likewise.
14528 * config/mmix/mmix.c: Likewise.
14529 * config/mn10200/mn10200.c: Likewise.
14530 * config/romp/romp.c: Likewise.
14531 * config/sh/sh.c: Likewise.
14532 * config/stormy16/stormy16.c: Likewise.
14533 * config/stormy16/stormy16.h: Likewise.
14534 * config/stormy16/stormy16.md: Likewise.
14536 2002-01-03 Graham Stott <grahams@redhat.com>
14538 * loop.h: Update copyright date.
14539 (LOOP_MOVABLES): Fix typo.
14540 (LOOP_REGS): Likewise.
14541 (LOOP_IVS): Likewise.
14543 2002-01-03 Graham Stott <grahams@redhat.com>
14545 * cppinit.c: Update copyright date.
14546 Don't include output.h
14547 * Makefile.in: Update copyright date.
14550 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
14553 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
14554 (-pthread) Add to RS/6000 options.
14556 2002-01-02 Kazu Hirata <kazu@hxi.com>
14558 * except.c: Fix comment typos.
14559 * loop.c: Likewise.
14560 * varasm.c: Likewise.
14561 * doc/tm.texi: Fix a typo.
14563 2002-01-02 Jakub Jelinek <jakub@redhat.com>
14565 * c-typeck.c (output_init_element): Allow initializing static storage
14566 duration objects with compound literals.
14568 2002-01-02 Richard Henderson <rth@redhat.com>
14570 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
14573 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14575 * gcc.c (default_compilers): Const-ify.
14576 * mips-tdump.c (stab_names): Likewise.
14577 * mips-tfile.c (map_coff_types, map_coff_storage,
14578 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
14579 pseudo_ops_t, pseudo_ops): Likewise.
14580 * protoize.c (default_include): Likewise
14582 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
14583 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
14584 Add array size in declaration.
14585 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
14586 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
14587 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
14588 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
14589 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
14590 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
14591 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
14592 emtens, make_nan): Const-ify.
14593 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
14594 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
14596 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
14598 * config.gcc (ia64-*-*): Set extra_headers.
14599 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
14600 * config/alpha/t-osf: Remove.
14601 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
14603 2002-01-02 David Edelsohn <edelsohn@gnu.org>
14605 * config/rs6000/t-aix43: Revert previous change.
14607 2002-01-02 Jason Merrill <jason@redhat.com>
14609 * c-decl.c (c_expand_body): Call outlining_inline_function when
14610 emitting an inline function out of line.
14612 2002-01-02 Richard Henderson <rth@redhat.com>
14614 * dwarf2out.c (limbo_die_node): Add created_for member.
14615 (new_die): New argument created_for. Update all callers.
14616 (mark_limbo_die_list): New.
14617 (dwarf2out_init): Register limbo_die_list as a root.
14618 (dwarf2out_finish): Force insert limbo dies into their function
14621 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
14624 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
14626 2002-01-02 Kazu Hirata <kazu@hxi.com>
14628 * config/h8300/fixunssfsi.c: Update copyright.
14631 * config/h8300/h8300.c: Update copyright.
14632 Eliminate warnings.
14634 2002-01-02 Kazu Hirata <kazu@hxi.com>
14636 * config/romp/romp.c: Fix comment formatting.
14637 * config/romp/romp.h: Likewise.
14638 * config/romp/romp.md: Likewise.
14639 * config/s390/s390.c: Likewise.
14640 * config/stormy16/stormy16.c: Likewise.
14641 * config/stormy16/stormy16.h: Likewise.
14643 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
14645 * c-common.h (genrtl_expr_stmt_value): Declare.
14646 * c-semantics.c (genrtl_goto_stmt): Redirect to...
14647 (genrtl_goto_stmt_value): ... this new function. Pass new
14648 argument down to expand_expr_stmt_value, taking
14649 TREE_ADDRESSABLE into account.
14650 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
14651 STMT_EXPR as addressable, i.e., one whose result we want.
14652 * expr.c (expand_expr): Don't save expression statement value
14653 of labeled_blocks or loop_exprs.
14654 * stmt.c (expand_expr_stmt): Redirect to...
14655 (expand_expr_stmt_value): ... this new function. Use new
14656 argument to tell whether to save expression value.
14657 (expand_end_stmt_expr): Reset last_expr_type and
14658 last_expr_value if we don't have either.
14659 * tree-inline.c (declare_return_variable): Mark its use
14660 statement as addressable.
14661 * tree.h: Document new use of TREE_ADDRESSABLE.
14662 (expand_expr_stmt_value): Declare.
14664 2002-01-01 Tom Rix <trix@redhat.com>
14666 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
14667 rs6000_emit_allocate_stack.
14669 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
14671 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
14672 ${srcdir}/ginclude/ to every entry in extra_headers.
14673 * configure: Regenerate.
14674 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
14675 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
14676 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
14677 * ginclude/proto.h: Rename to config/convex/proto.h.
14679 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14681 * attribs.c (handle_vector_size_attribute): Use host_integerp
14682 and tree_int_cst; remove warnings.
14683 * caller-save.c (insert_restore): Add cast to get rid of warning.
14684 (insert_save): Likewise.
14685 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
14686 * regmove.c (find_matches): Add temporary var to kill a warning.
14688 2002-01-01 Douglas B Rupp <rupp@gnat.com>
14690 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
14691 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
14692 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
14693 (vms-dwarf2eh.o): Add Makefile rule.
14694 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
14695 * config/alpha/vms-dwarf2eh.asm: New file.
14697 * gcc.c (delete_if_ordinary): Delete all versions.
14699 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
14701 * config/mmix/mmix.md: Update FIXME to not mention
14703 (MMIX_rJ_REGNUM): New define_constants constant.
14704 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
14705 "*movdicc_real"): Adjust contraints formatting.
14706 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
14707 for branch prediction.
14708 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
14710 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
14711 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
14712 number. Delete related FIXMEs.
14713 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
14714 from number to MMIX_rJ_REGNUM.
14715 (TARGET_MASK_BRANCH_PREDICT): New.
14716 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
14717 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
14718 value. Add -mbranch-predict and -mno-branch-predict.
14719 (TARGET_VERSION): Drop date.
14720 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
14721 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
14722 for finding out global symbols.
14723 (mmix_asm_output_labelref): Revert condition for global symbol.
14724 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
14725 (mmix_print_operand_punct_valid_p): A '+' is valid.
14727 See ChangeLog.6 for earlier changes.