1 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com>
3 * config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
5 2002-06-02 Tom Tromey <tromey@redhat.com>
7 * fixinc/fixincl.x: Rebuilt.
8 * fixinc/inclhack.def (thread_keyword): Match `*__thread'.
10 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
13 * i370.h (TARGET_CPU_CPP_BUILTINS): Use.
14 * linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES.
18 Mon Jun 3 00:18:20 CEST 2002 Jan Hubicka <jh@suse.cz>
20 * final.c (final): Allow notes to not have computed addresses;
21 kill no longer needed STACK_REGS ifdef.
23 2002-06-02 Richard Henderson <rth@redhat.com>
25 * gcse.c (bypass_conditional_jumps): Fix typo last change.
27 Sun Jun 2 23:02:11 CEST 2002 Jan Hubicka <jh@suse.cz>
29 * loop.c (emit_prefetch_instructions): Properly place the address
32 Sun Jun 2 22:56:48 CEST 2002 Jan Hubicka <jh@suse.cz>
34 * basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill.
35 (set_block_for_insn): Turn into macro.
36 * cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn.
37 * cfglayout.c (insn_scopes): Kill.
38 (scope_to_insns_initialize): Do not use insn_scopes.
39 (scope_to_insns_finalize): Likewise.
40 (duplicate_insn_chain): Likewise.
41 (cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes.
42 * cfgrtl.c (basic_block_for_insn): Kill.
43 (delete_insn_and_edges, delete_insn_chain_and_edges): Simplify.
44 (create_basic_block_structure): Use reorder_insns.
45 (compute_bb_for_insn): Do not use basic_block_for_insn.
46 (merge_blocks_nomove): Likewise.
47 (update_bb_for_insn): Likewise.
48 (verify_flow_info): Likewise.
49 (set_block_for_insn): Kill.
50 * combine.c (try_combine): Update gen_rtx_INSN call.
51 * emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call.
52 (mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear
54 (add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify.
55 (emit_note_before, emit_note_after, emit_line_note_after, emit_note):
57 (emit_insns_after): Simplify.
58 (emit_copy_of_insn_after): Copy scope.
59 * final.c (final_start_function): Lower scopes.
60 * flow.c (check_function_return_warnings): Do not rely on deleted insn.
61 * integrate.c (copy_insn_list): Cope scopes.
62 * jump.c (duplicate_loop_exit_test): LIkewise; simplify.
63 * loop.c (loop_optimize): Do not care block notes.
64 * print-rtl.c (print_rtx): Print BB.
65 * recog.c (apply_change_group): Simplify.
66 * rtl.c (copy_rtx): Handle 'B'.
67 * rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields.
68 * rtl.h (Field accessors): Update indexes.
69 * sched-ebb.c (schedule_ebbs): Do not lower notes.
70 * sched-rgn.c (schedule_insns): Likewise.
71 * toplev.c (rest_of_compilation): Lower notes.
72 * unroll.c (unroll_loop): Do not care scoping notes.
73 (copy_loop_body): Copy scopes.
75 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
78 * elf.h: Use TARGET_OS_CPP_BUILTINS rather than
81 * h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC,
82 EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove.
83 (TARGET_CPU_CPP_BUILTINS): Use.
85 2002-06-02 Richard Henderson <rth@redhat.com>
87 * alias.c: Include target.h.
88 (mark_constant_function): Use targetm.binds_local_p instead
89 of checking TREE_PUBLIC ourselves.
90 * Makefile.in (alias.o): Add TARGET_H.
92 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
94 * c-lex.c: Update copyright and file description.
96 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
98 * config/fr30/fr30.h: Update to new CPP macros.
100 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
102 * config/dsp16xx/dsp16xx.h: Update to new CPP macros.
104 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
105 Zack Weinberg <zack@codesourcery.com>
107 * c-common.c (c_common_init): Override cpplib's default
108 warn_long_long setting.
109 * c-lex.c (lex_number): Replace with interpret_integer,
110 interpret_float, narrowest_unsigned_type and
111 narrowest_signed_type, taking advantage of the new
112 cpplib functionality.
113 * cpperror.c (_cpp_begin_message): If a warning is turned
114 into an error, avoid printing "warning:".
115 * cppexp.c (cpp_num_sign_extend): New.
116 * cppinit.c: Update comment.
117 * cpplib.h (cpp_num_sign_extend): New.
118 * tree.h: Update comment.
120 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
122 * diagnostic.h (struct diagnostic_context): Add new member
124 (internal_error_function): Remove declaration.
125 * diagnostic.c (internal_error_function): Remove definition..
126 (internal_error): Adjust use.
128 2002-06-02 Richard Henderson <rth@redhat.com>
130 * rtl.h (CC0_P): New.
131 * gcse.c (cprop_jump): Use it with single_set. Tweak dump text.
132 (cprop_insn): Allow any mode register; use CC0_P. CSE out single_set.
133 (bypass_block): Save old dest block for dump text.
134 (bypass_conditional_jumps): Allow any mode register; use CC0_P.
135 Allow only true SET insns, not single_set.
137 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
139 * diagnostic.c (diagnostic_finish): Rename to output_flush.
140 (clear_disgnostic_info): Rename to output_clear_data. Use false
141 instead of 0 for boolean value.
142 Adjust function call throughout.
144 Sun Jun 2 19:15:27 CEST 2002 Jan Hubicka <jh@suse.cz>
146 * cfgrtl.c (commit_one_edge_insertion): Fix warning.
147 * gcse.c (bypass_conditional_jumps): CSE out single_set call.
149 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
151 * d30v.h (CPP_PREDEFINES): Replace with
152 (TARGET_CPU_CPP_BUILTINS): New.
154 2002-06-02 Roger Sayle <roger@eyesopen.com>
156 * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
158 Sun Jun 2 12:11:52 CEST 2002 Jan Hubicka <jh@suse.cz>
160 * gcse.c (bypass_conditional_jumps): Use single set to obtain set.
162 2002-06-02 Richard Henderson <rth@redhat.com>
164 * rtlanal.c (volatile_refs_p): Not automatically true for CALL.
166 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
168 Support for C++ constructors/destructors.
169 * config/avr/avr.c (avr_output_function_epilogue): Jump to exit()
170 instead of looping if main() returns.
171 (asm_file_start): Output global symbols that cause .data and .bss
172 initialization code to be linked in, unconditionally for now.
173 (avr_asm_out_ctor, avr_asm_out_dtor): New functions.
174 * config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New.
175 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
177 * config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections.
178 (__tablejump__): New.
179 (__do_copy_data, __do_clear_bss): New.
180 (__do_global_ctors, __do_global_dtors): New.
181 * config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss,
184 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
186 * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
187 (CPP_SPEC, CPP_PREDEFINES): Kill.
188 * c4x/rtems.h (CPP_PREDEFINES): Kill.
189 (TARGET_OS_CPP_BUILTINS): New.
191 Sat Jun 1 23:29:51 CEST 2002 Jan Hubicka <jh@suse.cz>
193 * Makefile.in (tracer.o): New.
194 * params.def (TRACER_*): New options.
195 * rtl.h (tracer): Declare.
196 * timevar.def (TV_TRACER): New.
197 * toplev.c (dump_file_index): Add DFI_tracer.
198 (dump_file_info): Add tracer.
200 (lang_indepdenent_options): Add tracer.
201 (rest_of_compilation): Call tracer.
202 * tracer.c: New file.
203 * invoke.texi (-ftracer): Document.
204 (--param tracer-*): Document.
206 2002-06-01 Daniel Berlin <dberlin@dberlin.org>
208 * tree-inline.c (expand_call_inline): Make the statement
209 expression we generate have a COMPOUND_STMT.
211 2002-06-01 Roger Sayle <roger@eyesopen.com>
213 * gcse.c (cprop_cc0_jump): Function deleted.
214 (cprop_jump): Take an additional argument which is the possibly
215 NULL cc setting insn immediately before the conditional jump.
216 When a MODE_CC set is present, substitute it into the JUMP_INSN
217 before attempting the constant propagation.
218 (cprop_insn): Recognize cc setters followed by conditional jumps
219 as a special case. Use cprop_jump instead of cprop_cc0_jump.
220 (cprop_one_pass): Call bypass_conditional_jumps if altering jumps.
221 (find_bypass_set): New function based upon find_avail_set used by
222 cprop, but finds constant expressions available at the end of
224 (bypass_block): New function. Given a basic block that begins
225 with a conditional jump and multiple incoming edges, perform
226 the jump bypass optimization.
227 (bypass_conditional_jumps): New function. Call bypass_block with
228 each suitable basic block in the CFG using a simple single pass.
230 2002-06-01 Roger Sayle <roger@eyesopen.com>
232 * tree.c (real_minus_onep): New function to test for -1.0.
233 * fold-const.c (fold) [MULT_EXPR]: Optimize -1.0*x into -x.
235 2002-06-01 Roger Sayle <roger@eyesopen.com>
237 * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
238 and "!p && !q" into "(p|q) == 0" under suitable conditions.
240 2002-06-01 Andreas Jaeger <aj@suse.de>
242 * cppexp.c (cpp_classify_number): Cast precission to int for
243 correct printf format.
245 2002-06-01 Marek Michalkiewicz <marekm@amelek.gda.pl>
247 * config/avr/avr.c (avr_mcu_types): Remove devices that were once
248 expected, but don't really exist: atmega83, atmega85, attiny10.
249 * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld
250 emulations for all devices.
251 (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10.
252 * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85.
254 2002-06-01 Kazu Hirata <kazu@cs.umass.edu>
256 * config/h8300/h8300-protos.h: Add a prototype for
257 h8300_shift_needs_scratch_p.
258 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New.
259 * config/h8300/h8300.h (OK_FOR_R): New.
260 (OK_FOR_S): Likewise.
261 (OK_FOR_T): Likewise.
262 (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T.
263 * config/h8300/h8300.md (anonymous shift patterns): Use
264 constraints R, S, and T.
266 Sat Jun 1 11:23:22 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
268 * basic-block.h (struct basic_block_def): New field loop_father.
269 (BB_VISITED): New flag.
270 (struct loop): New field pred, removed field shared.
271 (struct loops): New field parray.
272 (LOOP_EXITS_DOMS): Removed.
273 (flow_loop_tree_node_add, flow_loop_tree_node_remove,
274 flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body,
275 dfs_enumerate_from, loop_preheader_edge, loop_latch_edge,
276 add_bb_to_loop, remove_bb_from_loops, find_common_loop,
277 verify_loop_structure): Declare.
278 * cfg.c (entry_exit_blocks): Initialize loop_father field.
279 * cfganal.c (dfs_enumerate_from): New function.
280 * cfgloop.c (HEAVY_EDGE_RATIO): New constant.
281 (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
282 flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p,
283 flow_loop_dump, flow_loops_dump, flow_loops_free,
284 flow_loop_tree_node_add, flow_loop_level_compute,
285 flow_loops_level_compute, flow_loop_scan, flow_loops_update,
286 flow_loop_outside_edge_p): Modified for new infrastructure.
287 (make_forwarder_block, canonicalize_loop_headers, glb_enum_p,
288 redirect_edge_with_latch_update, flow_loop_free): New static functions.
289 (flow_loop_tree_node_remove, flow_bb_inside_loop_p,
290 get_loop_body, add_bb_to_loop, remove_bb_from_loops,
291 find_common_loop, verify_loop_structure, loop_latch_edge,
292 loop_preheader_edge): New functions.
293 (flow_loops_cfg_dump): Do not show dominators, as this information
294 does not remain up to date long.
295 (flow_loops_find): Store results in new format.
296 * predict.c (propagate_freq, estimate_probability,
297 estimate_loops_at_level, estimate_bb_frequencies): Use new loop
300 2002-06-01 Alan Lehotsky <apl@alum.mit.edu>
302 * except.c (nothrow_function_p): Walk epilogue delay list
303 checking the insn, not the chain for potential throws.
305 2002-05-31 Zack Weinberg <zack@codesourcery.com>
307 * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
308 (install): Refer to install-cpp directly.
309 (uninstall-cpp): Folded into uninstall rule.
310 * configure.in: Delete all code relating to --disable-cpp.
311 * configure: Regenerate.
312 * config/t-install-cpp: Delete.
314 2002-05-31 Richard Henderson <rth@redhat.com>
316 * configure.in (HAVE_AS_TLS): Add alpha tests.
317 * configure: Rebuild.
318 * config/alpha/alpha.c (TARGET_AS_TLS): New.
319 (alpha_tls_size, alpha_tls_size_string): New.
320 (overide_options): Set it. Always install machine_status hooks.
321 (input_operand): Accept got tls predicates.
322 (local_symbol_p): Merge into ...
323 (local_symbolic_operand): ... here. Reject tls symbols.
324 (global_symbolic_operand): Likewise.
325 (tls_symbolic_operand_1, dtp16_symbolic_operand): New.
326 (dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
327 (tp16_symbolic_operand, tp32_symbolic_operand): New.
328 (gottp_symbolic_operand, tls_symbolic_operand_type): New.
329 (alpha_encode_section_info): Handle TLS symbols.
330 (alpha_strip_name_encoding): Likewise.
331 (alpha_legitimate_address_p): Likewise.
332 (alpha_legitimize_address): Likewise.
333 (alpha_expand_mov): Early exit to avoid nop moves.
334 (struct machine_function): Move from unicosmk.h. Add some_ld_name.
335 (alpha_init_machine_status, alpha_mark_machine_status,
336 alpha_free_machine_status): Always define.
337 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
338 (print_operand, print_operand_address): Add TLS relocs.
339 * config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
340 (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
341 (TARGET_SWITCHES): Add -mtls-kernel.
342 (alpha_tls_size, alpha_tls_size_string): New.
343 (TARGET_OPTIONS): Add -mtls-size=.
344 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
345 REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
346 (ASM_OUTPUT_LABELREF): Skip %.
347 (PRINT_OPERAND_PUNCT_VALID_P): Add &.
348 (PREDICATE_CODES): Update.
349 * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
350 UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
351 UNSPEC_TP, UNSPECV_SET_TP): New.
352 (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
353 adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
354 set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
355 movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
356 (call_value_osf_2_er): Accept anything as op4.
357 * config/alpha/alpha-protos.h: Update.
358 * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.
360 2002-05-31 Zack Weinberg <zack@codesourcery.com>
362 * cppinit.c (append_include_chain): Always pay attention to
363 cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED
366 2002-05-31 Kazu Hirata <kazu@cs.umass.edu>
368 * target.h: Fix formatting.
369 * timevar.h: Likewise.
371 * toplev.c: Likewise.
372 * toplev.h: Likewise.
374 * tree-dump.h: Likewise.
376 * tree-inline.h: Likewise.
377 * unroll.c: Likewise.
378 * unwind-dw2.c: Likewise.
379 * unwind-dw2-fde.c: Likewise.
380 * unwind-dw2-fde-glibc.c: Likewise.
381 * unwind-dw2-fde.h: Likewise.
382 * unwind.h: Likewise.
383 * unwind-sjlj.c: Likewise.
384 * varasm.c: Likewise.
385 * varray.h: Likewise.
386 * vmsdbg.h: Likewise.
387 * vmsdbgout.c: Likewise.
388 * xcoffout.h: Likewise.
390 2002-05-31 Igor Shevlyakov <igor@microunity.com>
392 * expr.c (compare_from_rtx): Generate comparison between op0 and op1
393 rather than cc0 and 0 in a case when HAVE_cc0 is not defined.
395 2002-05-31 Matthew Woodcraft <mattheww@chiark.greenend.org.uk>
397 * gcc.c (cpp_unique_options): Remove "-d" options.
398 (cpp_debug_options): New spec string.
399 (default_compilers): Use it.
400 * objc/lang-specs.h: Likewise.
402 2002-05-31 Nathanael Nerode <neroden@twcny.rr.com>
404 * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
405 BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature.
406 * gcc/mklibgcc.in: Likewise.
407 * gcc/config/arc/t-arc: Likewise.
408 * gcc/configure.in: Likewise.
409 * gcc/configure: Regenerate.
411 2002-05-31 Stan Shebs <shebs@apple.com>
412 Turly O'Connor <turly@apple.com>
414 * c-decl.c (struct binding_level): Change int field n_incomplete
415 to tree list incomplete_list.
416 (clear_binding_level): Init field with NULL.
417 (pushdecl): Add incomplete type to list.
418 (mark_binding_level): Mark the incomplete list.
419 (finish_struct): Scan the incomplete list for types instead
420 of all decls in the current binding level.
422 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
424 * pa.c (output_millicode_call): Add missing '%' characters.
425 (output_call): Likewise.
427 2002-05-31 David Edelsohn <edelsohn@gnu.org>
429 * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
430 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
432 2002-05-31 Alan Lehotsky <apl@alum.mit.edu>
434 * varasm.c (mark_constant_pool): Walk epilogue delay list
435 checking the insn, not the chain for potential constants.
437 Fri May 31 12:38:43 2002 J"orn Rennecke <joern.rennecke@superh.com>
439 * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
441 Fri May 31 13:50:19 CEST 2002 Jan Hubicka <jh@suse.cz>
443 * i386.c (classify_argument): Properly handle base types.
445 * dwarf2out.c (expand_builin_init_dwarf_reg_sizes):
446 Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo
449 Fri May 31 13:37:54 CEST 2002 Jan Hubicka <jh@suse.cz>
451 * gcse.c (gcse_emit_move_after): New.
452 (pre_delete, hoist_store): Use it.
454 * reload1.c (emit_input_reload_insns): Use constrain_operands
455 instead of constraint_accepts_reg_p to verify optimization.
456 (constraint_accepts_reg_p): Kill
458 * reload1.c (reload_cse_delete_noop_set): Kill.
459 (reload_cse_simplify): use delte_insn_and_edges.
461 2002-05-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
463 * cfgloop.c (flow_loops_find): Initialize first and last fields
466 2002-05-31 Neil Booth <neil@daikokuya.demon.co.uk>
468 * c-common.c (builtin_define_std): Correct logic.
470 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
472 * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
473 (output_call): Likewise.
475 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
477 * pa.c: Move output.h include after tree.h include.
478 (pa_asm_output_mi_thunk): Constify identifier lab.
480 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
482 * config/ns32k/ns32k.h: Define named constants for the
483 bits in target_flags and use them.
484 * config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants.
486 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
488 * config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0
489 architecture and pa/pa-7100.h for PA1.1 architecture, respectively.
490 * pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select
491 default scheduling model.
492 * pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000".
493 * pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling.
494 * pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling.
495 * doc/install.texi (hppa*-*-*): Document default scheduling.
497 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
499 * pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
501 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
503 * config.gcc (ns32k-*-netbsd*): Set tm_file to
504 "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
505 * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
506 netbsd.h, or netbsd-aout.h.
508 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
510 * longlong.h (count_trailing_zeros): Add missing \, and clean up
511 whitespace in __ns32000__ case.
513 2002-05-31 Aldy Hernandez <aldyh@redhat.com>
515 * expr.c (expand_expr): Output partially zeroed out vectors with
518 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
520 * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
522 (shl*-*-netbsdelf*): New targets.
523 * config/sh/netbsd-elf.h: New file.
525 2002-05-30 Richard Henderson <rth@redhat.com>
526 Eric Botcazou <ebotcazou@multimania.com>
529 * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
530 to unsigned int for op1 comparisons. Use gen_int_mode.
532 2002-05-30 Eric Botcazou <ebotcazou@multimania.com>
534 * expmed.c (const_mult_add_overflow_p): New.
535 * expr.h: Declare it.
536 * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
537 Don't eliminate the biv if the giv has a constant multiplier and
538 the rhs argument of the comparison does satisfy the predicate.
539 Use expand_mult_add to compute the replacement constant.
541 2002-05-30 Osku Salerma <osku@iki.fi>
543 * c-common.c (c_common_attribute_table): Add "may_alias" entry.
544 (c_common_get_alias_set): Handle it.
545 * doc/extend.texi: Document it.
547 2002-05-30 Richard Henderson <rth@redhat.com>
549 * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
550 * toplev.c (process_options): Don't check it.
551 * doc/tm.texi: Don't document it.
552 * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
553 (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
554 * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
555 frame pointer optimization if current_function_profile.
557 2002-05-30 Kazu Hirata <kazu@cs.umass.edu>
559 * langhooks.c: Fix formatting.
560 * langhooks.h: Likewise.
562 * libgcc2.c: Likewise.
564 * local-alloc.c: Likewise.
568 2002-05-30 Marc Espie <espie@openbsd.org>
570 * config.gcc (sparc64-*-openbsd*): New.
571 * config/sparc/openbsd1-64.h: New.
572 * config/sparc/openbsd64.h: New.
574 2002-05-30 Jeff Law <law@redhat.com>
576 * flow.c (propagate_one_insn): Revise yesterday's patch. Delete
577 a dead insn with a REG_RETVAL note when the entire libcall is not
578 dead and remove the associated REG_LIBCALL note at the same time.
580 Thu May 30 19:54:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
582 * lcm.c (output.h): #include.
583 (compute_earliest): Remove hack to treat renumbered EXIT_BLOCK
584 as an ordinary block.
585 (optimize_mode_switching): Don't pretend that the exit block is
586 an ordinary block, or handle sucessors of entry block specially.
587 Instead, split edges from entry block and to exit block, and
588 put a computing definition on the thus gained post-entry-block,
589 and a need on the pre-exit-block.
591 Thu May 30 20:28:01 CEST 2002 Jan Hubicka <jh@suse.cz>
593 * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
594 * rtl.texi: Document 'B'
596 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
598 * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
600 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
602 2002-05-30 Aldy Hernandez <aldyh@redhat.com>
604 * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return
605 const0_rtx instead of NULL_RTX when in error.
606 (altivec_expand_abs_builtin): Same.
607 (rs6000_expand_binop_builtin): Same.
608 (altivec_expand_predicate_builtin): Same.
609 (altivec_expand_stv_builtin): Same.
610 (rs6000_expand_ternop_builtin): Same.
611 (altivec_expand_builtin): Same.
613 2002-05-29 David S. Miller <davem@redhat.com>
615 * rtl.h (clear_emit_caches): Delete.
616 * integrate.c (output_inline_function): Don't call it.
617 * emit-rtl.c (restore_emit_status, init_emit): Likewise.
618 (clear_emit_caches): Delete definition.
619 (SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise.
621 2002-05-30 Hans-Peter Nilsson <hp@bitrange.com>
623 * config/mmix/mmix.c: Include real.h.
624 (mmix_constant_address_p): Remove redundant test before switch.
626 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
628 * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
629 only if not already defined.
631 2002-05-29 Kazu Hirata <kazu@cs.umass.edu>
633 * config/h8300/h8300-protos.h: Remove prototypes for
634 ok_for_bclr and small_power_of_two.
635 * config/h8300/h8300.c (small_power_of_two): Remove.
636 (ok_for_blcr): Likewise.
637 (fix_bit_operand): Make WHAT deal with an integer instead of a
638 constraint character.
639 * config/h8300/h8300.h (CONST_OK_FOR_O): Remove.
640 (CONST_OK_FOR_P): Likewise.
641 (CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or
642 CONST_OK_FOR_P any more.
643 * config/h8300/h8300.md (andqi3): Adjust to the new prototype
648 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
650 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
651 (CPP_PREDEFINES): Make sure this is undefined.
652 (CPP_SPEC): Place -D__mips=1 at the beginning of the spec,
653 since it is no longer in CPP_PREDEFINES. Don't -U__MIPSEL__
654 or -U__MIPSEB__ before defining one or the other. Instead,
655 use %(subtarget_endian_default) if neither -EB nor -EL are
657 (SUBTARGET_EXTRA_SPECS): Define.
658 (SUBTARGET_CPP_SPEC): Remove __LONG64 handling. Use
661 2002-05-29 Hans-Peter Nilsson <hp@axis.com>
663 * doc/md.texi (Patterns): Note pattern condition pitfall
666 2002-05-29 Aldy Hernandez <aldyh@redhat.com>
668 * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins
669 when TARGET_ALTIVEC. Move handling of generic unary, binary, and
670 ternary operations from here...
671 (rs6000_expand_builtin): ...to here.
672 New argument expandedp.
673 Change all instances of altivec_expand_binop_builtin to
674 rs6000_expand_binop_builtin.
675 (altivec_expand_unop_builtin): Rename to
676 rs6000_expand_unop_builtin.
677 (altivec_expand_binop_builtin): Rename to
678 rs6000_expand_binop_builtin.
679 (altivec_expand_ternop_builtin): Rename to
680 rs6000_expand_ternop_builtin.
682 2002-05-29 Richard Henderson <rth@redhat.com>
684 * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
685 (TARGET_BI_ARCH): Likewise.
686 * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
687 (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
688 (TARGET_64BIT_DEFAULT): Default to 0.
689 (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.
691 2002-05-29 Richard Henderson <rth@redhat.com>
693 * config/i386/i386.c (USE_HIDDEN_LINKONCE): New.
694 (get_pc_thunk_name): New.
695 (output_set_got): Use it.
696 (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks
697 into linkonce sections.
699 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
701 * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
702 (CPP_PREDEFINES): Make sure this is undefined.
703 (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
704 (CPP_SUBTARGET_SPEC): Don't provide different versions for
705 default-32 and default-64. Just always use %(netbsd_cpp_spec).
706 (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
707 cpp_subtarget_spec64. Add netbsd_cpp_spec.
708 * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
709 (CPP_PREDEFINES): Make sure this is undefined.
710 (SUBTARGET_EXTRA_SPECS): Define.
711 (CPP_SPEC): Use %(netbsd_cpp_spec).
713 2002-05-29 Jeff Law <law@redhat.com>
715 * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon.
717 * flow.c (propagate_one_insn): Do not remove a dead insn if it
718 contains a REG_RETVAL note.
720 * haifa-sched (sched_analyze): Remove another useless clearing
721 of SCHED_GROUP_P I missed yesterday.
723 * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
724 * pa.c (pa_asm_output_mi_thunk): New function.
725 * pa-protos.h (pa_asm_output_mi_thunk): Declare.
727 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
728 Marek Michalkiewicz <marekm@amelek.gda.pl>
730 * config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New.
731 (avr_asm_only_p): Make non-static.
732 (enum avr_arch): Remove.
733 (avr_arch_types): New.
734 (avr_mcu_types): Update.
735 (avr_override_options): Use avr_arch_types table instead of switch.
736 * avr.h (CPP_PREDEFINES): Die.
737 (avr_base_arch_macro, avr_extra_arch_macro): New.
738 (TARGET_CPU_CPP_BUILTINS): New.
739 (CPP_SPEC, EXTRA_SPECS): Simplify.
740 (CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC,
743 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
745 * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
746 NETBSD_OS_CPP_BUILTINS_AOUT.
747 (SUBTARGET_EXTRA_SPECS): Define.
748 (CPP_SPEC): Use %(netbsd_cpp_spec).
750 2002-05-29 Richard Henderson <rth@redhat.com>
752 * config/i386/i386.c (ix86_output_function_epilogue): New.
753 (TARGET_ASM_FUNCTION_EPILOGUE): New.
754 (pic_label_name): Remove.
755 (pic_labels_used): New.
756 (ix86_asm_file_end): Emit one pc load stub for each register used.
757 (output_set_got): Generate deep pc load to any register.
758 (ix86_select_alt_pic_regnum): New.
759 (ix86_save_reg): Don't save pic register if we can find a valid
760 call-clobbered replacement.
761 (ix86_expand_prologue): If we found a valid replacement, renumber
762 pic_offset_table_rtx.
763 * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at
764 pic_offset_table_rtx after reload.
765 (REAL_PIC_OFFSET_TABLE_REGNUM): New.
766 * config/i386/i386.md (set_got): Make insn, not expander.
767 (set_got_nopic, set_got_deep, set_got_nodeep): Remove.
769 2002-05-29 Richard Henderson <rth@redhat.com>
771 * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
772 alignment for alloca.
774 2002-05-29 Richard Henderson <rth@redhat.com>
776 * config/i386/i386.c (output_pic_addr_const): Lowercase rip.
777 (print_operand_address): Only add rip for symbolic addresses
778 for which we do not have another relocation type.
780 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
782 * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
783 (EXTRA_SPECS): Add netbsd_cpp_spec.
784 (CPP_SPEC): Use %(netbsd_cpp_spec).
785 (CPP_PREDEFINES): Remove.
786 * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
787 (EXTRA_SPECS): Define.
788 (CPP_SPEC): Use %(netbsd_cpp_spec).
789 (CPP_PREDEFINES): Remove.
791 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
794 * cppmacro.c (cpp_macro_definition): Reserve space for terminating
797 2002-05-29 Eric Christopher <echristo@redhat.com>
799 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for
800 mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
802 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
804 * config/fr30/fr30.md: Remove previous restriction on splits.
805 Enforce conformance through gen_lowpart and cont_int_operand.
806 * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss"
807 as the assembler does not support ".bss".
809 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
811 * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
812 (CPP_PREDEFINES): Remove.
813 (SUBTARGET_EXTRA_SPECS): Define.
814 (CPP_SPEC): Use %(netbsd_cpp_spec).
815 * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
816 (CPP_PREDEFINES): Remove.
817 (SUBTARGET_EXTRA_SPECS): Define.
818 (CPP_SPEC): Use %(netbsd_cpp_spec).
819 * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
820 (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
821 (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
823 (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).
825 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
826 Zack Weinberg <zack@codesourcery.com>
828 * cppexp.c (cpp_num): Move to cpplib.h.
830 (interpret_float_suffix, interpret_int_suffix): New.
831 (struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove.
832 (cpp_classify_number, cpp_interpret_integer): New.
833 (interpret_number): Remove.
834 (eval_token): Update to use new routines.
835 * cpphash.h (cpp_num_part): Move to cpplib.h.
836 * cppinit.c (cpp_post_options): Set warn_long_long.
837 * cpplib.h (struct cpp_options): Add warn_long_long.
838 (cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID,
839 CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL,
840 CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX,
841 CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number,
842 cpp_interpret_integer): New.
844 2002-05-29 Joel Sherrill <joel@OARcorp.com>
846 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
848 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
850 * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
851 NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
852 (CPP_SUBTARGET_SPEC): Define.
853 (SUBTARGET_EXTRA_SPECS): Define.
856 2002-05-29 Chris Lattner <sabre@nondot.org>
858 * ssa.c (rename_insn_1): Rename uses of undefined registers to
859 prevent confusion if/when the register is defined.
861 2002-05-29 Hans-Peter Nilsson <hp@axis.com>
864 * config/cris/cris.md: Fix typos and thinkos in comments.
865 ("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4,
867 ("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto.
868 ("*mov_sideqi_mem"): Similar, but for operand 3.
869 ("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto.
870 (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
871 Remove spurious mode specifier on operand 2.
873 2002-05-29 Kazu Hirata <kazu@cs.umass.edu>
875 * config/h8300/h8300-protos.h: Remove the prototype for
877 Add prototypes for single_one_operand and single_zero_operand.
878 * config/h8300/h8300.c (o_operand): Remove.
879 (single_one_operand): New.
880 (single_zero_operand): Likewise.
881 (print_operand): For 'V' operand, and the operand with 0xff.
882 For 'V' and 'W' operands, do not and the bit position with 7.
883 * config/h8300/h8300.md (various anonymous patterns): Replace
884 use of exact_log2 with single_one_operand/single_zero_operand.
886 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
888 * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
890 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
892 * config/s390/s390.c (legitimate_pic_operand_p): Do not
893 accept symbolic LARL operands.
894 (s390_emit_epilogue): Do not set FRAME_RELATED_P on
897 2002-05-29 Hartmut Penner <hpenner@de.ibm.com>
899 * config/s390/s390.md (cmpstr_64/31): Mark whole
900 input registers as used.
902 2002-05-28 Richard Henderson <rth@redhat.com>
904 * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
905 not current_function_uses_pic_offset_table and
906 current_function_uses_const_pool; examine current_function_profile.
907 (ix86_expand_prologue): Likewise. Add pic_offset_table_rtx as
908 input to blockage if needed.
909 (ix86_expand_call): Do not set current_function_uses_pic_offset_table.
910 (legitimize_pic_address): Likewise. Set regs_ever_live for
911 pic_offset_table_rtx when invoked during reload.
912 * config/i386/i386.h (FINALIZE_PIC): Remove.
913 * config/i386/i386.md (tablejump): Reformat. Do not set
914 current_function_uses_pic_offset_table.
915 (tls_global_dynamic, tls_local_dynamic_base): Likewise.
916 (blockage): Accept anything as operand 0.
918 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com>
920 * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
921 common CPP built-ins for all NetBSD a.out targets.
922 * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define
923 common CPP built-ins for all NetBSD ELF targets.
924 * config/netbsd.h: Add missing notice.
925 (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins
926 for all NetBSD targets.
927 (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins
928 for all NetBSD targets using an LP64 code model.
929 (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all
932 2002-05-28 Richard Henderson <rth@redhat.com>
934 * flow.c (update_life_info_in_dirty_blocks): Only do a partial
935 update if UPDATE_LIFE_LOCAL.
937 2002-05-28 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
939 * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
941 Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
942 Jason R. Thorpe <thorpej@wasabisystems.com>
944 config/sh reorganization to factor out endianness and coff:
946 * config/sh/little.h: New file.
947 * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already
948 defined, define to 0 to select big-endian.
949 (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT.
950 (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
951 * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
952 * config/sh/t-be: New file.
953 * config/sh/t-le: New file.
955 * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h.
956 (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise.
957 (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise.
958 (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise.
959 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
960 (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
961 (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted.
962 (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise.
963 (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise.
964 (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and
965 CPP_DEFAULT_CPU_SPEC. Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL,
966 SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC.
967 (LINK_SPEC): Define to SH_LINK_SPEC.
968 (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define.
969 (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise.
970 (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
971 (CPP_SPEC): Reduce to %(subtarget_cpp_spec).
972 (TARGET_ENDIAN_DEFAULT): Define if not already defined.
973 * config/sh/coff.h: New file.
974 (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section
975 (TARGET_OBJFMT_CPP_BUILTINS): Define.
976 * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start.
977 (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise.
978 (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise.
979 (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise.
980 (PTRDIFF_TYPE): Likewise.
981 ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include.
982 (CPP_PREDEFINES): Don't define.
983 (TARGET_OBJFMT_CPP_BUILTINS): Define.
984 (LINK_SPEC): Define to SH_LINK_SPEC.
985 (LINK_EMUL_PREFIX): Redefine.
986 * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases.
987 (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition.
988 (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise.
989 (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise.
990 (TARGET_OS_CPP_BUILTINS): Define.
991 (TARGET_DEFAULT): Redefine.
992 (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
993 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove.
994 (LINK_SPEC): Don't redefine.
995 (LINK_DEFAULT_CPU_EMUL): Redefine.
996 (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
997 * sh.c (sh_asm_named_section): Don't declare / define.
998 * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option.
999 * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h.
1000 (sh64-*-elf* tm_file): Likewise.
1001 (sh-*-rtemself* tm_file): Likewise.
1002 (sh-*-linux* tm_file): Likewise. Add sh/little.h.
1003 (sh-*-linux* tmake_file): Add sh/t-le.
1004 (sh-*-rtems* tm_file): Add sh/coff.h
1005 (sh-*-* tm_file): Likewise.
1007 Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
1009 * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using
1010 CONSTANT_POOL_ADDRESS_P.
1012 * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define.
1014 2002-05-28 David Edelsohn <edelsohn@gnu.org>
1015 Jeff Law <law@redhat.com>
1017 * optabs.c (expand_binop): Fix nwords sign warnings.
1018 generate pseudo for add_optab.
1020 * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
1021 * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.
1023 2002-05-28 Marc Espie <espie@openbsd.org>
1025 * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove,
1026 inherited from gas.h.
1027 (ASM_QUAD): Undef. OpenBSD does not support it.
1029 2002-05-28 Danny Smith <dannysmith@users.sourceforge.net>
1031 * doc/install.texi (binaries): Change mingw binaries
1032 link to www.mingw.org.
1034 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1036 * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
1038 2002-05-28 Richard Henderson <rth@redhat.com>
1040 * config/i386/i386.c (ix86_compute_frame_layout): Do not add
1041 bottom alignment for leaf functions.
1043 2002-05-28 Zack Weinberg <zack@codesourcery.com>
1045 * config/pa/milli32.S, config/pa/lib1funcs.asm,
1046 config/sparc/sol2-g1.asm: Delete unused files.
1048 2002-05-28 Richard Henderson <rth@redhat.com>
1050 * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
1052 * flow.c (calculate_global_regs_live): Rename call_used to
1053 invalidated_by_call. Initialize from regs_invalidated_by_call
1054 instead of call_used_regs.
1056 * varasm.c (default_binds_local_p): Check TREE_PUBLIC before
1059 2002-05-28 Zack Weinberg <zack@codesourcery.com>
1061 * tree.h: Don't include real.h.
1062 Forward-declare struct realvaluetype.
1063 (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not
1065 (TREE_REAL_CST_PTR): New accessor.
1066 (TREE_REAL_CST): Update.
1067 * real.h: Include machmode.h.
1068 (realvaluetype): Make it struct realvaluetype, not a typedef.
1069 (build_real): Prototype here.
1071 * tree.c: Include real.h.
1072 (build_real): Allocate the REAL_VALUE_TYPE as a separate
1073 object in GC memory, set TREE_REAL_CST_PTR to point to it.
1074 (build_real_from_int_cst): Use build_real.
1075 * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a
1078 * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c,
1079 fold-const.c, print-tree.c, real.c: Include real.h.
1080 * Makefile.in: Update dependency lists.
1082 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1084 * basic-block.h (last_basic_block): Declare.
1085 (expunge_block_nocompact): Declaration removed.
1086 (compact_blocks): Declare.
1087 * cfg.c (last_basic_block): New variable.
1088 (expunge_block_nocompact): Removed.
1089 (expunge_block): Do not compact basic blocks.
1090 (compact_blocks): New.
1091 * cfganal.c (flow_call_edges_add): Use the fact that bb indices no
1093 * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set
1095 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change
1096 real positions of blocks.
1097 (delete_unreachable_blocks): Simplified -- quadratic behavior now
1099 (cleanup_cfg): Compact blocks.
1100 * cfgrtl.c (create_basic_block): Insert basic blocks to the end of
1101 basic_block_info varray.
1102 (flow_delete_block): Comment update.
1103 (back_edge_of_syntactic_loop_p): Modify position check code.
1104 (verify_flow_info): Update checking.
1105 * flow.c (calculate_global_regs_live): Use FOR_EACH_BB.
1106 * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
1107 (find_if_case_1, find_if_case_2, if_convert): Use the fact that bb
1108 indices no longer change.
1109 * lcm.c (optimize_mode_switching): Replace n_basic_blocks with
1111 * predict.c (estimate_bb_frequencies): Remove unneccessary code.
1112 * profile.c (branch_prob): Compact blocks.
1113 * sched-rgn.c (find_rgns): Replace n_basic_blocks with
1116 2002-05-28 Kazu Hirata <kazu@cs.umass.edu>
1118 * config/h8300/h8300.md (two anonymous patterns): New.
1120 2002-05-28 David S. Miller <davem@redhat.com>
1122 * config/sparc/sparc.md (cpu): Tidy.
1123 (type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and
1125 (in_call_delay): Delete reference to 'return' type.
1126 (eligible_for_return_delay, in_return_delay, define_delay
1127 referencing those): Delete.
1128 (rest of file): Use new type attributes as appropriate.
1129 * config/sparc/sparc-protos.h (eligible_for_return_delay): Delete.
1130 * config/sparc/sparc.c (eligible_for_return_delay): Likewise.
1131 * config/sparc/ultra1_2.md (us1_single): New reservation.
1132 (us1_ialuX): Likewise.
1133 * config/sparc/ultra3.md (us3_single): Likewise.
1134 (us3_ialuX): Likewise.
1135 (us3_imul, us3_idiv): Tweak.
1137 2002-05-28 Richard Henderson <rth@redhat.com>
1139 * config/alpha/alpha.c (alpha_in_small_data_p): Return false for
1142 2002-05-28 Richard Henderson <rth@redhat.com>
1144 * config.gcc: Obsolete mn10200.
1146 2002-05-28 Neil Booth <neil@daikokuya.demon.co.uk>
1148 * cppexp.c (interpret_number): Optimize for single-digit
1149 and less-than-half-precision cases.
1150 (num_trim, num_positive, num_div_op): Cast constants.
1152 2002-05-27 Bo Thorsen <bo@suse.de>
1154 * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the
1155 3.1 branch. The file was made by Jakub Jelinek.
1156 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
1157 support so multilib doesn't break. And don't define this at all
1158 when -Dinhibit_libc is used.
1159 (MULTILIB_DEFAULTS): Always set default to 64 bit compilation.
1160 * config/i386/t-linux64: Implement full multilib support. Patch
1161 originally done by Andreas Jaeger and Jakub Jelinek.
1163 2002-05-27 Roger Sayle <roger@eyesopen.com>
1165 * c-common.c: Add support for __attribute__((nothrow)) to specify
1166 that a function cannot throw an exception (using TREE_NOTHROW).
1167 (handle_nothrow_attribute): New function to process this attribute.
1169 * doc/extend.texi: Document the new nothrow function attribute.
1171 2002-05-27 H.J. Lu (hjl@gnu.org)
1173 * cppexp.c (num_trim): Use 1UL instead of 1 for long int.
1174 (num_positive): Likewise.
1175 (num_div_op): Likewise.
1177 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
1179 * c-common.c (c_common_init): Always use intmax_t.
1181 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
1183 * c-common.c (c_common_init): Use intmax_t for now.
1185 2002-05-24 Andrew Haley <aph@redhat.com>
1187 * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c
1188 if T is a boolean type.
1190 2002-05-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1192 * basic-block.h (last_basic_block): Defined as synonym for
1194 * cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute,
1195 flow_depth_first_order_compute, flow_preorder_transversal_compute,
1196 flow_dfs_compute_reverse_init): Replaced relevant occurences of
1197 n_basic_blocks with last_basic_block.
1198 * cfgbuild.c (make_edges): Likewise.
1199 * cfgloop.c (flow_loop_scan, flow_loops_find): Likewise.
1200 * cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise.
1201 * combine.c (combine_instructions): Likewise.
1202 * df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap,
1203 iterative_dataflow_bitmap): Likewise.
1204 * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
1205 calc_idoms, idoms_to_doms): Likewise.
1206 * flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars):
1208 * gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties,
1209 compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass,
1210 one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p,
1211 one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1,
1212 delete_null_pointer_checks, compute_code_hoist_vbeinout,
1213 hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
1214 compute_store_table, build_store_vectors): Likewise.
1215 * haifa-sched.c (sched_init): Likewise.
1216 * ifcvt.c (if_convert): Likewise.
1217 * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
1218 pre_edge_lcm, compute_available, compute_nearerout,
1219 compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching):
1221 * predict.c (estimate_probability, process_note_prediction,
1222 note_prediction_to_br_prob): Likewise.
1223 * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise.
1224 * recog.c (split_all_insns, peephole2_optimize): Likewise.
1225 * regrename.c (copyprop_hardreg_forward): Likewise.
1226 * resource.c (init_resource_info): Likewise.
1227 * sched-rgn.c (build_control_flow, find_rgns, compute_trg_info,
1228 init_regions, schedule_insns): Likewise.
1229 * ssa-ccp.c (ssa_const_prop): Likewise.
1230 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
1231 * ssa.c (compute_dominance_frontiers,
1232 compute_iterated_dominance_frontiers, convert_to_ssa): Likewise.
1234 * df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code)
1235 * gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector
1238 Mon May 27 14:28:12 CEST 2002 Jan Hubicka <jh@suse.cz>
1240 * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge):
1242 * rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store,
1243 hoist_insn_after, hoist_insn_to_edge): New.
1245 Mon May 27 12:14:02 CEST 2002 Jan Hubicka <jh@suse.cz>
1247 * basic-block.h (PEOP_SCAN_DEAD_STORES): New.
1248 (PROP_FINAL): Include.
1249 * flow.c (life_analysis, update_life_info,
1250 init_propagate_block_info, mark_set_1, mark_used_rgs):
1251 Support SCAN_DEAD_STORE.
1253 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
1255 * c-common.c (c_common_init): Set CPP arithmetic precision.
1256 * cppexp.c (cpp_num_part): Move typedef ...
1257 * cpphash.h: ...here; make unsigned HOST_WIDE_INT.
1258 * cppinit.c (cpp_create_reader): Default to host long arithmetic.
1259 (sanity_checks): Update.
1261 2002-05-26 Geoffrey Keating <geoffk@redhat.com>
1263 * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
1264 (mkheaders): New rule.
1265 (install-mkheaders): New rule.
1266 * configure.in (all_outputs): Add mkheaders.
1267 * configure: Regenerate.
1268 * mkheaders.in: New file.
1270 2002-05-26 Jakub Jelinek <jakub@redhat.com>
1272 * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
1274 2002-05-26 Andreas Jaeger <aj@suse.de>
1276 * cfg.c (dump_flow_info): Remove extra argument to fprintf.
1278 2002-05-26 Neil Booth <neil@daikokuya.demon.co.uk>
1280 * cppexp.c (possible_sum_sign, integer_overflow, left_shift,
1281 right_shift): Remove.
1282 (cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART,
1284 (struct op): Use cpp_num.
1285 (num_zerop, num_eq, num_positive, num_greater_freq, num_trim,
1286 num_part_mul, num_unary_op, num_binary_op, num_negate,
1287 num_bitwise_op, num_inequality_op, num_equality_op, num_mul,
1288 num_div_op, num_lshift, num_rshift, append_digit): New.
1289 (interpret_number, parse_defined, eval_token, reduce): Update
1290 for two-integer arithmetic.
1291 (binary_handler): New typedef.
1293 (COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete.
1294 (_cpp_parse_expr, reduce): Update to handle two-integers.
1295 * cpplib.c (_cpp_test_assertion): Back up on CPP_EOF.
1297 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl>
1299 * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare.
1300 * config/avr/avr.c (jump_over_one_insn_p): Take length of the
1301 branch insn into account, do not assume 1.
1302 (avr_out_sbxx_branch): New function. Optimize cases of skipping
1303 over single word insn. Handle upper half of I/O space too.
1304 * config/avr/avr.md (*sbrx_branch): Use it.
1305 (*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise.
1306 (*sbix_branch, *sbix_branch_bit7): Likewise.
1307 (*sbix_branch_tmp, *sbix_branch_tmp_bit7): New.
1308 Use RTL peepholes to optimize register operand sign tests.
1310 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl>
1312 * config/avr/avr.c (avr_asm_only_p): New variable.
1313 (avr_override_options): Set it here if AVR1.
1314 (asm_file_start): Test it here, report an error if set.
1316 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1318 * alias.c: Fix formatting.
1319 * attribs.c: Likewise.
1320 * bb-reorder.c: Likewise.
1321 * bitmap.c: Likewise.
1322 * bitmap.h: Likewise.
1323 * builtins.c: Likewise.
1325 Sun May 26 14:00:44 CEST 2002 Jan Hubicka <jh@suse.cz>
1327 * reload.c (find_valid_class): Accept new argument DEST,
1328 choose class accordingly.
1329 (push_reload): Update callers.
1331 2002-05-26 Andreas Jaeger <aj@suse.de>
1333 * combine.c (combine_instructions): Do not indent #if for
1336 2002-05-25 Richard Henderson <rth@redhat.com>
1338 * c-pragma.c (apply_pragma_weak): Convert value identifier to
1339 string for decl_attributes.
1340 (handle_pragma_weak): Call assemble_alias if we're modifying
1343 2002-05-25 Richard Henderson <rth@redhat.com>
1346 * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
1347 using rtl instead of fprintf.
1348 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
1349 * config/sparc/sparc-protos.h: Update.
1351 2002-05-25 Neil Booth <neil@daikokuya.demon.co.uk>
1353 * Makefile.in (C_COMMON_H): Fix.
1354 Update other targets.
1355 * c-common.c: Don't include c-lex.h.
1356 (builtin_define_with_value): Make static and prototype.
1357 (builtin_define_std): Move from c-lex.h.
1358 * c-common.h (init_c_lex): Move from c-lex.h.
1359 * c-decl.c: Don't include c-lex.h.
1360 (make_pointer_declarator): Move from c-parse.in.
1361 * c-lex.c: Don't include c-lex.h.
1363 * c-parse.in: Don't include c-lex.h; include c-pragma.h.
1364 (make_pointer_declarator): Move to c-decl.c.
1365 * c-pragma.c: Don't include c-lex.h.
1366 * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h.
1367 * c-tree.h (make_pointer_declarator): New.
1369 * passes.texi, tm.texi: Update.
1371 * Make-lang.in: Update and correct.
1372 * objc-act.c: Don't include c-lex.h or cpplib.h.
1374 * treetree.c: Don't include c-lex.h.
1376 * darwin-c.c: Don't include c-lex.h.
1377 * c4x/c4x-c.c: Don't include c-lex.h.
1378 * c4x/t-c4x: Update.
1379 * i370/i370-c.c: Don't include c-lex.h.
1380 * i370/t-i370: Update.
1381 * i960/i960-c.c: Don't include c-lex.h.
1382 * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h.
1383 * i960/t-960bare: Update.
1384 * i960/t-vxworks: Update.
1385 * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h.
1386 * rs6000/t-darwin: Update.
1387 * rs6000/t-rs6000-c-rule: Update.
1388 * v850/v850-c.c: Don't include c-lex.h.
1389 * v850/v850.c: Don't include c-lex.h or cpplib.h.
1392 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
1394 * tree.def: Fix typos.
1395 * doc/install.texi: Likewise.
1397 2002-05-25 Richard Henderson <rth@redhat.com>
1399 * configure.in (HAVE_AS_TLS): Add ia64 test.
1400 * configure: Rebuild.
1401 * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New.
1402 (override_options): Set it.
1403 (TARGET_HAVE_TLS): New.
1404 (sdata_symbolic_operand): Look for 's'.
1405 (tls_symbolic_operand): New.
1406 (ia64_expand_load_address): Abort for tls symbols.
1407 (gen_tls_get_addr): New.
1408 (gen_thread_pointer): New.
1409 (ia64_expand_move): Split out from movdi. Handle tls symbols.
1410 (rtx_needs_barrier): Add new unspecs.
1411 (ia64_encode_section_info): Handle tls symbols.
1412 (ia64_strip_name_encoding): Strip two encoding chars.
1413 * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New.
1414 (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New.
1415 (TARGET_OPTIONS): Add tls-size.
1416 (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR.
1417 * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL,
1418 UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New.
1419 (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move.
1420 (movsf, movdf): Likewise.
1421 (movdi_symbolic): Use match_scratch. Don't split if we won't
1422 have a scratch availiable.
1423 (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22,
1424 add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel,
1425 load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New.
1426 * config/ia64/ia64-protos.h: Update.
1427 * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use
1428 sdata_symbolic_operand.
1429 (ASM_OUTPUT_LABELREF): Strip two characters.
1431 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
1433 * combine.c (simplify_set): Remove an unnecessary subreg.
1435 2002-05-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
1437 * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
1439 * config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New.
1441 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1443 * toplev.c (output_clean_symbol_name): Fix another thinko. Gosh.
1445 2002-05-25 Roger Sayle <roger@eyesopen.com>
1447 * simplify-rtx.c (simplify_gen_relational): Simplify the RTX
1448 (cond (compare x y) 0) into the equivalent (cond x y).
1450 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1452 * toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko.
1454 2002-05-24 Zack Weinberg <zack@codesourcery.com>
1456 * config.gcc: Remove all stanzas for previously obsoleted
1457 systems. Where necessary, add explicit error stanzas to
1458 prevent removed systems from being misidentified as something
1459 else. Begin a fresh obsoletions list, with the systems that
1460 were reprieved last round.
1461 * doc/install.texi: Remove all mention of dead targets.
1462 * fixinc/mkfixinc.sh: Likewise.
1464 * config/arm/arm.h: Bit 31 of target_flags is no longer
1467 * config/1750a/1750a-protos.h, config/1750a/1750a.c,
1468 config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
1469 config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
1470 config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
1471 config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
1472 config/alpha/osf12.h, config/alpha/osf2or3.h,
1473 config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
1474 config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
1475 config/clipper/clipper-protos.h, config/clipper/clipper.c,
1476 config/clipper/clipper.h, config/clipper/clipper.md,
1477 config/clipper/clix.h, config/convex/convex-protos.h,
1478 config/convex/convex.c, config/convex/convex.h,
1479 config/convex/convex.md, config/convex/fixinc.convex,
1480 config/convex/proto.h, config/elxsi/elxsi-protos.h,
1481 config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
1482 config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
1483 config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
1484 config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
1485 config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
1486 config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
1487 config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
1488 config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
1489 config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
1490 config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
1491 config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
1492 config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
1493 config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
1494 config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
1495 config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
1496 config/m68k/altos3068.h, config/m68k/apollo68.h,
1497 config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
1498 config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
1499 config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
1500 config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
1501 config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
1502 config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
1503 config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
1504 config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
1505 config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
1506 config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
1507 config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
1508 config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
1509 config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
1510 config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
1511 config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
1512 config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
1513 config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
1514 config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
1515 config/mips/dec-osf1.h, config/mips/elflorion.h,
1516 config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
1517 config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
1518 config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
1519 config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
1520 config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
1521 config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
1522 config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
1523 config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
1524 config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
1525 config/ns32k/pc532-min.h, config/ns32k/pc532.h,
1526 config/ns32k/sequent.h, config/ns32k/tek6000.h,
1527 config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
1528 config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
1529 config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
1530 config/sparc/rtems.h, config/we32k/we32k-protos.h,
1531 config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
1534 2002-05-24 Richard Henderson <rth@redhat.com>
1536 * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
1537 * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC.
1538 * config/i386/i386.c (tls_model_chars): Add leading space.
1539 (tls_symbolic_operand): Don't bias by 1.
1540 (legitimize_address): Don't unbias by 1.
1542 2002-05-24 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
1544 * lcm.c (optimize_mode_switching): Change bb used as indices
1547 2002-05-24 Richard Henderson <rth@redhat.com>
1549 * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
1550 of update_life_info_in_dirty_blocks.
1552 2002-05-24 Jakub Jelinek <jakub@redhat.com>
1555 * final.c (get_mem_expr_from_op): Return 0 if op is NULL.
1557 2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk>
1559 PR preprocessor/6780
1560 * cppmacro.c (enter_macro_context): Clear state.angled_headers.
1562 2002-05-24 Jim Blandy <jimb@redhat.com>
1564 * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
1565 entry with a type code of zero, marking the end of the compilation
1568 2002-05-24 Richard Henderson <rth@redhat.com>
1570 * varasm.c (asm_output_bss): Always output one byte.
1571 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
1573 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1575 * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
1578 2002-05-24 Andreas Jaeger <aj@suse.de>
1580 * ggc-page.c (alloc_page): Cast variables of type size_t to
1581 unsigned long, adjust printf format string.
1582 (ggc_alloc): Likewise.
1583 (ggc_print_statistics): Likewise.
1584 (ggc_print_statistics): Correct printf format string for SCALE to
1587 2002-05-24 Danny Smith <dannysmith@users.sourceforge.net>
1589 * config/i386/mingw32.h (CPP_SPEC): Remove -remap.
1591 2002-05-23 Gabriel Dos Reis <gdr@codesourcery.com>
1592 Zack Weinberg <zack@codesourcery.com>
1594 * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output
1596 * dwarf2out.c (lookup_filename): Properly quote filename in .file
1597 directive in assembly file.
1598 * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
1599 * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
1600 * config/pj/pj.h (ASM_FILE_START): Likewise.
1601 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1602 * config/avr/avr.c (asm_file_end): Likewise.
1603 * toplev.c (output_quoted_string): Handle possibly signed plain
1605 * toplev.h (output_clean_symbol_name): Declare
1606 * toplev.c (output_clean_symbol_name): Define.
1607 * config/alpha/alpha.c (unicosmk_output_module_name): Use it.
1608 * config/1750a/1750a.h (ASM_FILE_START): Likewise.
1610 2002-05-24 Alan Modra <amodra@bigpond.net.au>
1612 * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
1614 2002-05-23 Vladimir Makarov <vmakarov@redhat.com>
1616 * genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4
1617 of size of unsigned.
1619 2002-05-23 Richard Henderson <rth@redhat.com>
1621 * configure.in (HAVE_AS_TLS): New test.
1622 * config.in, configure: Rebuild.
1623 * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS.
1624 (ix86_tls_dialect_string, ix86_tls_dialect): New.
1625 (override_options): Set it.
1626 (tls_model_chars, tls_symbolic_operand): New.
1627 (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New.
1628 (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New.
1629 (local_exec_symbolic_operand): New.
1630 (get_pic_label_name): Merge into output_set_got.
1631 (ix86_asm_file_end): Emit pic_label_name if defined.
1632 (legitimate_constant_p, constant_address_p): New.
1633 (legitimate_pic_operand_p): New.
1634 (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF.
1635 (legitimate_address_p): Likewise.
1636 (ix86_encode_section_info): Rename from i386_; handle tls decls.
1637 (ix86_strip_name_encoding): New.
1638 (get_thread_pointer): New.
1639 (legitimize_address): Handle tls symbols.
1640 (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF.
1642 (struct machine_function): Add some_ld_name.
1643 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it.
1644 (print_operand) [&]: Use it. Handle UNSPEC_TP.
1645 (output_addr_const_extra): New.
1646 (maybe_get_pool_constant): New.
1647 (ix86_split_to_parts): Use it.
1648 (ix86_expand_move): Handle tls symbols.
1649 (ix86_tls_get_addr): New.
1650 * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New.
1651 (TARGET_OPTIONS): Add tls-dialect.
1652 (CONSTANT_ADDRESS_P): Use new out-of-line function.
1653 (LEGITIMATE_CONSTANT_P): Likewise.
1654 (LEGITIMATE_PIC_OPERAND_P): Likewise.
1655 (TARGET_STRIP_NAME_ENCODING): New.
1656 (ASM_OUTPUT_LABELREF): New.
1657 (PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
1658 (OUTPUT_ADDR_CONST_EXTRA): New.
1659 (PREDICATE_CODES): Update.
1660 (ix86_tls_dialect, ix86_tls_dialect_string): New.
1661 * config/i386/i386.md: Regroup and renumber unspec constants.
1662 (tls_global_dynamic_gnu, tls_global_dynamic_sun): New.
1663 (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New.
1664 (tls_global_dynamic, tls_local_dynamic_base): New.
1665 (tls_local_dynamic_once): New.
1666 * config/i386/i386-protos.h: Update.
1668 2002-05-23 Richard Henderson <rth@redhat.com>
1670 * genemit.c (gen_insn): Print file:lineno comment before function.
1672 * gensupport.c (struct queue_elem): Add filename member.
1673 (queue_pattern): Initialize it; update all callers.
1674 (process_include): Don't free filename.
1675 (read_md_rtx): Set read_rtx_filename.
1677 2002-05-23 Hans Boehm <Hans_Boehm@hp.com>
1679 * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K pages.
1681 2002-05-23 Richard Henderson <rth@redhat.com>
1683 * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.
1685 2002-05-23 Richard Henderson <rth@redhat.com>
1687 * doc/extend.texi (C++98 Thread-Local Edits): Update with
1688 commentary from Mark.
1690 2002-05-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1692 * bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
1693 Use FOR_EACH_BB macros to iterate over basic block chain.
1694 * cfg.c (clear_edges, clear_bb_flags, dump_flow_info,
1695 alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges):
1697 * cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add,
1698 find_unreachable_blocks, create_edge_list, verify_edge_list,
1699 remove_fake_edges, add_noreturn_fake_exit_edges,
1700 flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute):
1702 * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
1703 find_sub_basic_blocks): Likewise.
1704 * cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks):
1706 * cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps):
1708 * cfgloop.c (flow_loops_cfg_dump, flow_loops_find):
1710 * cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges,
1711 commit_edge_insertions, commit_edge_insertions_watch_calls,
1712 print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise.
1713 * combine.c (combine_instructions, reg_dead_at_p): Likewise.
1714 * conflict.c (conflict_graph_compute): Likewise.
1715 * df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
1716 df_modified_p, df_refs_unlink, df_dump): Likewise.
1717 * dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise.
1718 * final.c (compute_alignments): Likewise.
1719 * flow.c (update_life_info, update_life_info_in_dirty_blocks,
1720 delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data,
1721 count_or_remove_death_notes): Likewise.
1722 * gcse.c (oprs_unchanged_p, record_last_reg_set_info,
1723 compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill,
1724 classic_gcse, compute_transp, cprop, compute_pre_data,
1725 compute_transpout, invalidate_nonnull_info,
1726 delete_null_pointer_checks_1, delete_null_pointer_checks,
1727 compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems,
1728 compute_store_table, build_store_vectors, store_motion): Likewise.
1729 * global.c (global_conflicts, mark_elimination): Likewise.
1730 * graph.c (print_rtl_graph_with_bb): Likewise.
1731 * haifa-sched.c (sched_init): Likewise.
1732 * ifcvt.c (if_convert): Likewise.
1733 * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
1734 compute_available, compute_nearerout, compute_rev_insert_delete,
1735 optimize_mode_switching): Likewise.
1736 * local-alloc.c (local_alloc, update_equiv_regs): Likewise.
1737 * predict.c (estimate_probability, note_prediction_to_br_prob,
1738 propagate_freq, counts_to_freqs, expensive_function_p,
1739 estimate_bb_frequencies): Likewise.
1740 * profile.c (instrument_edges, get_exec_counts,
1741 compute_branch_probabilities, compute_checksum, branch_prob,
1742 find_spanning_tree): Likewise.
1743 * recog.c (split_all_insns, peephole2_optimize): Likewise.
1744 * reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs):
1746 * regclass.c (scan_one_insn, regclass): Likewise.
1747 * regmove.c (mark_flags_life_zones, regmove_optimize,
1748 record_stack_memrefs): Likewise.
1749 * regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise.
1750 * reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise.
1751 * resource.c (find_basic_block): Likewise.
1752 * sched-ebb.c (schedule_ebbs): Likewise.
1753 * sched-rgn.c (is_cfg_nonregular, build_control_flow,
1754 find_single_block_region, find_rgns, schedule_insns)
1755 * sibcall.c (optimize_sibling_and_tail_recursive_call)
1756 * ssa-ccp.c (optimize_unexecutable_edges,
1757 ssa_ccp_df_delete_unreachable_insns): Likewise.
1758 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
1759 * ssa.c (find_evaluations, compute_dominance_frontiers_1,
1760 rename_block, convert_to_ssa, compute_conservative_reg_partition,
1761 compute_coalesced_reg_partition, rename_equivalent_regs,
1762 convert_from_ssa): Likewise.
1763 * config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue,
1764 process_for_unwind_directive): Likewise.
1766 * df.c (FOR_ALL_BBS): Removed.
1767 * gcse.c (struct null_pointer_info): Type of current_block field
1769 (struct reg_avail_info): Type of last_bb field changed.
1770 * config/ia64/ia64.c (block_num): Removed.
1771 (need_copy_state): Type changed.
1774 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
1776 * cppinit.c (mark_named_operators): Split out from init_builtins.
1777 (cpp_finish_options): Call it from here instead.
1779 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com>
1781 * builtin-attrs.def: Update copyright years.
1782 (ATTR_NONNULL): New attribute identifier.
1783 (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New
1784 attribute tree lists.
1785 (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the
1787 (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use...
1788 (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg
1789 attribute lists. Chain the appropriate nonnull attribute.
1790 * c-format.c (check_format_arg): Remove null format string
1792 * testsuite/gcc.dg/format/null-1.c: New test.
1794 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1796 * Makefile.in (ADAC): Define.
1798 (.SUFFIXES): Move before language makefile fragments.
1799 (STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC.
1801 2002-05-23 Mark Mitchell <mark@codesourcery.com>
1803 * varasm.c (make_decl_rtl): Don't allow weak variables to be
1806 Thu May 23 19:43:41 CEST 2002 Jan Hubicka <jh@suse.cz>
1808 * cfg.c (dump_flow_info): Print results of
1809 maybe_hot/probably_never_executed predicates.
1810 * toplev.c (open_dump_file): Print function frequency.
1812 2002-05-23 David S. Miller <davem@redhat.com>
1814 * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use
1817 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com>
1819 * c-common.c (warn_nonnull): Declare.
1820 (c_common_attribute_table): Add "nonnull" attribute.
1821 (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p,
1822 check_nonnull_arg, get_nonnull_operand, check_function_arguments,
1823 check_function_arguments_recurse): New functions.
1824 * c-common.h (warn_nonnull): Declare extern.
1825 (check_function_arguments, check_function_arguments_recurse): New
1827 * c-decl.c (c_decode_option): Add -Wnonnull option.
1828 * c-format.c (set_Wformat): Set warn_nonnull if enabling
1830 (format_check_context): New structure.
1831 (check_format_info_recurse): Remove recursion and rename to...
1832 (check_format_arg): ...this. Update comment.
1833 (check_format_info): Use check_function_arguments_recurse.
1834 * c-typeck.c (build_function_call): Call check_function_arguments
1835 instead of check_function_format.
1836 * doc/extend.texi: Document "nonnull" attribute.
1837 * doc/invoke.texi: Docuemnt -Wnonnull option.
1838 * testsuite/gcc.dg/nonnull-1.c: New test.
1839 * testsuite/gcc.dg/nonnull-2.c: New test.
1841 2002-05-23 David S. Miller <davem@redhat.com>
1843 * basic-block.h (CLEANUP_NO_INSN_DEL): Define it.
1844 * cfgcleanup.c (cleanup_cfg): If it is set do not
1845 attempt to delete trivially dead insns.
1846 * except.c (finish_eh_generation): Pass it to cleanup_cfg.
1847 * toplev.c (rest_of_compilation): Document non-trivial aspect
1848 the RTL before optimize_save_area_alloca is run.
1850 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
1852 * c-lex.c (indent_level): Remove.
1853 (cb_file_change, c_lex): Remove indent level handling.
1854 * c-lex.h (indent_level): Remove.
1855 * input.h (struct file_stack): Remove indent_level.
1856 * toplev.c (push_srcloc): Remove indent_level handling.
1858 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1861 * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
1862 of x in constraints for clarity.
1863 (sse_mov?fcc split): abort if op2 == op3.
1864 (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
1865 sse_movsfcc_const0_4): Add earlyclobber.
1866 (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
1867 sse_movdfcc_const0_4): Likewise. Use DFmode, not SFmode.
1868 Use Y instead of x in constraints.
1870 2002-05-23 Richard Henderson <rth@redhat.com>
1872 * doc/extend.texi (C99 Thread-Local Edits): New subsection.
1873 (C++98 Thread-Local Edits): New subsection.
1875 * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace.
1876 (ix86_arch): Set type to enum processor_type.
1878 * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
1879 LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.
1881 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1883 * configure.in: Fix as version test for binutils 2.12.1 releases
1885 * configure: Rebuilt.
1887 2002-05-23 Richard Henderson <rth@redhat.com>
1889 * config/i386/i386.c (get_pic_label_name): New.
1890 (load_pic_register): Remove.
1891 (output_set_got): New.
1892 (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD.
1893 * config/i386/i386.md (UNSPEC_SET_GOT): New.
1894 (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove.
1895 (prologue_set_got, prologue_get_pc): Remove.
1896 (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New.
1897 (builtin_setjmp_receiver): Use gen_set_got.
1898 * config/i386/i386-protos.h: Update.
1900 Thu May 23 09:22:23 CEST 2002 Jan Hubicka <jh@suse.cz>
1902 * gcse.c (hash_expr): Do not use alias set for hashing.
1904 2002-05-22 Kevin Buettner <kevinb@redhat.com>
1906 * dbxout.c (dbxout_class_name_qualifiers): New function.
1907 (dbxout_symbol): Output class/struct qualifiers for a .stabs entry.
1909 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
1911 * cpperror.c (_cpp_begin_message): No special casing
1913 * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
1914 (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
1915 * cpplib.c (do_include_common): Use DL_ERROR.
1916 * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
1918 * fix-header.c (read_scan_file): Update.
1920 2002-05-22 Richard Henderson <rth@redhat.com>
1922 * config/i386/i386.c (ix86_expand_call): New function, extracted
1923 from md call patterns. Add pic_offset_table_rtx to
1924 CALL_INSN_FUNCTION_USAGE when needed.
1925 * config/i386/i386.md (call_pop, call): Use ix86_expand_call.
1926 (call_value_pop, call_value, untyped_call): Likewise.
1927 (call_exp, call_value_exp): Remove.
1928 * config/i386/i386-protos.h: Update.
1930 2002-05-22 Richard Henderson <rth@redhat.com>
1932 * varasm.c (default_section_type_flags): Check for VAR_DECL
1933 before using DECL_THREAD_LOCAL.
1935 2002-05-22 David Edelsohn <edelsohn@gnu.org>
1937 * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
1938 (STARTFILE_SPEC): Delete PE crt0.o.
1939 * config/rs6000/aix51.h: Same.
1940 * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
1941 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
1942 function descriptor symbol. Use RS6000_OUTPUT_BASENAME.
1943 (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
1944 * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.
1946 2002-05-22 Richard Henderson <rth@redhat.com>
1948 * varasm.c (default_section_type_flags): Handle tls data and
1950 (default_unique_section): Handle tls sections.
1952 2002-05-23 Alan Modra <amodra@bigpond.net.au>
1954 * configure.in (CROSS): Define NATIVE_CROSS.
1955 * configure: Regenerate.
1956 * gcc.c (STARTFILE_PREFIX_SPEC): Define.
1957 (startfile_prefix_spec): New var.
1958 (static_specs): Add startfile_prefix_spec.
1959 (do_spec_2): Split out from..
1961 (main): Process startfile_prefix_spec.
1962 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
1964 (STARTFILE_PREFIX_SPEC): Define.
1965 (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
1968 2002-05-22 Kazu Hirata <kazu@cs.umass.edu>
1970 * cpperror.c: Fix formatting.
1971 * cppexp.c: Likewise.
1972 * cppfiles.c: Likewise.
1973 * cpphash.c: Likewise.
1974 * cpphash.h: Likewise.
1975 * cppinit.c: Likewise.
1976 * cpplex.c: Likewise.
1977 * cpplib.c: Likewise.
1978 * cppmacro.c: Likewise.
1979 * cppmain.c: Likewise.
1980 * cppspec.c: Likewise.
1982 2002-05-22 Jakub Jelinek <jakub@redhat.com>
1984 * combine.c (force_to_mode): Use gen_int_mode.
1985 Don't clear CONST_INT bits outside of mode.
1987 2002-05-22 Richard Henderson <rth@redhat.com>
1989 * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
1990 * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
1992 2002-05-22 Jakub Jelinek <jakub@redhat.com>
1995 * emit-rtl.c (widen_memory_access): Only call compare_tree_int
1996 if DECL_SIZE_UNIT is INTEGER_CST.
1998 2002-05-22 Richard Henderson <rth@redhat.com>
2000 * flow.c (life_analysis): Delete broken reg_label check.
2002 2002-05-22 Richard Henderson <rth@redhat.com>
2004 * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
2005 * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
2007 Wed May 22 18:39:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
2009 * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
2010 (embed-bb.c): New rule.
2011 * t-sh64 (LIB2FUNCS_EXTRA): Don't change.
2012 * config/sh/embed_bb.c: Delete.
2014 Wed May 22 18:25:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
2016 * c-common.c (cb_register_builtins): Don't indent '#' of #define.
2018 2002-05-22 Kazu Hirata <kazu@cs.umass.edu>
2020 * config/h8300/h8300.md (*andorqi3): New.
2022 2002-05-22 Neil Booth <neil@daikokuya.demon.co.uk>
2024 PR preprocessor/6517
2025 * Makefile.in: Update.
2026 * c-common.c (c_common_post_options): Add preprocessor
2027 errors to the error count.
2028 * c-lang.c (c_post_options): Kill.
2029 (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
2030 * hooks.h: Add header guards.
2031 * langhooks-def.h: Include hooks.h.
2032 (LANG_HOOKS_POST_OPTIONS): Update.
2033 * langhooks.h (struct lang_hooks): Update post_options.
2034 * toplev.c (parse_options_and_default_flags): Update.
2036 * objc-lang.c (objc_post_options): Kill.
2037 (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
2039 2002-05-21 Bruce Korb <bkorb@gnu.org>
2041 * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check
2042 * fixinc/inclhack.def(thread_keyword): use c_fix = format.
2043 * fixinc/fixincl.x: regen.
2045 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
2047 * cfgbuild.c: Fix formatting.
2049 * cfgcleanup.c: Likewise.
2050 * cfglayout.c: Likewise.
2051 * cfgloop.c: Likewise.
2052 * cfgrtl.c: Likewise.
2054 2002-05-21 Richard Henderson <rth@redhat.com>
2056 * c-common.h (enum rid): Add RID_THREAD.
2057 * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
2058 (grokdeclarator): Grok __thread.
2059 * c-parse.in (reswords): Add __thread.
2060 (rid_to_yy): Add RID_THREAD.
2062 * tree.h (DECL_THREAD_LOCAL): New.
2063 (struct tree_decl): Add thread_local_flag.
2064 * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
2065 * tree.c (staticp): TLS variables are not static.
2067 * target-def.h (TARGET_HAVE_TLS): New.
2068 * target.h (have_tls): New.
2069 * output.h (SECTION_TLS): New.
2070 * varasm.c (assemble_variable): TLS variables can't be common for now.
2071 (default_section_type_flags): Handle .tdata and .tbss.
2072 (default_elf_asm_named_section): Handle SECTION_TLS.
2073 (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.
2075 * flags.h (flag_tls_default): Declare.
2076 * toplev.c (flag_tls_default): Define.
2077 (display_help): Display help for it.
2078 (decode_f_option): Set it.
2080 * doc/extend.texi (Thread-Local): New node describing language-level
2081 thread-local storage.
2082 * doc/invoke.texi (-ftls-model): Document.
2084 * fixinc/inclhack.def (thread_keyword): New.
2085 * fixinc/fixincl.x: Rebuild.
2087 2002-05-21 Jeffrey A Law <law@redhat.com>
2089 * optabs.c (expand_binop): For double-word integer multiplies,
2090 do not compute intermediate results into something that is
2091 not a register (such as a SUBREG or MEM).
2093 * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
2094 (ix86_sched_reorder): Make sure to initialize scheduling
2095 data even when there's only one insn in the ready queue.
2097 2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
2099 * genautomata.c (reserv_sets_hash_value): Fix a typo.
2101 2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
2103 * genautomata.c (reserv_sets_hash_value): Define hash_value as
2104 set_el_t. Transform the hash value into unsigned.
2105 (output_cycle_reservs): Fix bug with output of repeated `nothing'.
2106 (transform_3): Add code to process `(A,B)+(D,E)'.
2108 2002-05-21 NIIBE Yutaka <gniibe@m17n.org>
2110 * reload1.c (do_output_reload): Run delete_output_reload
2113 2002-05-21 Roger Sayle <roger@eyesopen.com>
2116 * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
2117 larger than INTEGER_CST. (store_by_pieces_1): Use it here...
2118 (can_store_by_pieces): ... and here to limit the largest mode used.
2119 Add a comment to document this function.
2121 2002-05-21 Richard Henderson <rth@redhat.com>
2123 * flow.c (life_analysis): Fix test for deleted label.
2125 2002-05-21 Neil Booth <neil@daikokuya.demon.co.uk>
2127 * doc/tm.texi: Fix typo.
2129 2002-05-21 Zack Weinberg <zack@codesourcery.com>
2131 * c-common.c (c_common_init): Set options->unsigned_char from
2133 (cb_register_builtins): Define __STRICT_ANSI__ and
2134 __CHAR_UNSIGNED__ here...
2135 * cppinit.c (init_builtins): Not here.
2136 (cpp_create_reader): unsigned_char option defaults to 0, not
2137 !DEFAULT_SIGNED_CHAR.
2138 (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
2139 and -funsigned-char.
2141 * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
2142 * cpphash.c (_cpp_init_hashtable): Don't set it.
2143 * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
2144 directly. Clarify comment.
2146 2002-05-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2148 * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to
2149 neighbouring basic blocks. Use ENTRY_BLOCK_PTR->next_bb instead of
2150 BASIC_BLOCK (0). Use EXIT_BLOCK_PTR->prev_bb instead of
2151 BASIC_BLOCK (n_basic_blocks - 1).
2152 * cfganal.c (can_fallthru, flow_call_edges_add,
2153 flow_preorder_transversal_compute): Too.
2154 * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
2155 find_sub_basic_blocks): Too.
2156 * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too.
2157 * cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
2158 fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too.
2159 * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too.
2160 * combine.c (this_basic_block): Type changed to basic_block.
2161 (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
2162 nonzero_bits, num_sign_bit_copies, get_last_value_validate,
2163 get_last_value, distribute_notes, distribute_links): Too.
2164 * final.c (compute_alignments): Too.
2165 * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too.
2166 * function.c (thread_prologue_and_epilogue_insns): Too.
2167 * gcse.c (compute_code_hoist_vbeinout): Too.
2168 * global.c (build_insn_chain): Too.
2169 * ifcvt.c (find_if_block, find_cond_trap): Too.
2170 * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too.
2171 * regmove.c (regmove_optimize): Too.
2172 * resource.c (find_basic_block): Too.
2173 * sched-ebb.c (schedule_ebbs): Too.
2174 * ssa-dce.c (find_control_dependence, find_pdom): Too.
2176 2002-05-21 Andreas Jaeger <aj@suse.de>
2178 * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
2180 2002-05-21 Richard Henderson <rth@redhat.com>
2182 * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
2183 unspec names, not numbers.
2185 2002-05-21 Joseph S. Myers <jsm28@cam.ac.uk>
2187 * doc/sourcebuild.texi: Mention snapshot-README and
2188 snapshot-index.html as needing updating for new front ends.
2190 2002-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2192 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
2193 disabling checking, and avoid multiple evaluation of RTX.
2195 2002-05-21 Richard Earnshaw <rearnsha@arm.com>
2197 * bitmap.c (bitmap_find_bit): Return early if we have the correct
2200 Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz>
2202 * profile.c (gen_edge_profiler): Set alias set before the memory is
2205 2002-05-20 David S. Miller <davem@redhat.com>
2207 * cselib.c (max_value_regs): New.
2208 (cselib_lookup, cselib_invalidate_regno): Initialize it when
2209 adding new entries to the REG_VALUES table and we are dealing with
2211 (clear_table): Initialize it.
2212 (cselib_invalidate_regno): Use it to determine which hard
2213 registers to scan when mode is not VOIDmode.
2215 2002-05-20 Duraid Madina <duraid@fl.net.au>
2217 * tradcpp.c (fixup_newlines): Use old-style function header.
2219 2002-05-20 Krister Walfridsson <cato@df.lth.se>
2221 * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
2223 2002-05-20 H.J. Lu (hjl@gnu.org)
2225 Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
2227 * config/mips/mips.h (DFMODE_NAN): Defined.
2228 (SFMODE_NAN): Likewise.
2230 2002-05-20 Dale Johannesen <dalej@apple.com>
2232 * combine.c (cant_combine_insn_p): Back out my
2235 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
2237 * params.c: Fix formatting.
2238 * params.h: Likewise.
2239 * predict.c: Likewise.
2240 * prefix.c: Likewise.
2241 * print-rtl.c: Likewise.
2242 * print-tree.c: Likewise.
2243 * profile.c: Likewise.
2245 2002-05-20 H.J. Lu (hjl@gnu.org)
2247 * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
2249 2002-05-20 Nick Clifton <nickc@cambridge.redhat.com>
2251 * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
2252 switches straight on to the assembler, do not abbreviate them.
2253 * config/arm/elf.h (ASM_SPEC): As above.
2254 * config/arm/semi.h (ASM_SPEC): As above.
2255 * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
2256 * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
2257 -mcpu=xscale on to the assembler by default.
2258 * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
2260 2002-05-20 Richard Henderson <rth@redhat.com>
2262 * cse.c (canon_hash): Reorder do_not_record test. Always
2263 allow pic_offset_table_rtx.
2265 2002-05-19 Toon Moene <toon@moene.indiv.nluug.nl>
2267 * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
2268 (expand_binop): Ditto (3 times).
2270 2002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com>
2272 * Makefile.in (distclean): Remove QMTest stuff.
2273 (QMTEST_PATH): New variable.
2274 (QMTESTFLAGS): Likewise.
2275 (QMTESTRUNFLAGS): Likewise.
2277 (QMTEST_GPP_TESTS): Likewise.
2278 (QMTEST_DIR): Likewise.
2279 (QMTEST_DIR/context): New target.
2280 (qmtest-g++): Likeise.
2281 (qmtest-gui): Likewise.
2282 (QMTEST_DIR/gpp-expected.qmr): Likewise.
2284 2002-05-19 Aldy Hernandez <aldyh@redhat.com>
2286 * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
2287 an altivec register if TARGET_ALTIVEC.
2289 * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
2290 to ALTIVEC_VECTOR_MODE.
2291 (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
2292 (rs6000_va_arg): Vectors may go in registers if they are not
2295 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
2297 * protoize.c: Fix formatting.
2299 2002-05-19 Richard Henderson <rth@redhat.com>
2301 * gensupport.c (init_include_reader): Merge into ...
2302 (process_include): ... here. Simplify composite path creation.
2303 Plug memory leaks. Fix file/line number tracking. Do not
2304 process_define_cond_exec. Return void.
2305 (process_rtx): Don't check process_include return value.
2307 2002-05-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2309 * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
2311 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
2312 traversing basic block chain.
2313 (create_basic_block_structure, create_basic_block): Declaration changed.
2314 (link_block, unlink_block): Declare.
2315 * cfg.c (entry_exit_blocks): Initialize new fields.
2316 (link_block, unlink_block): New.
2317 (expunge_block_nocompact): Unlink basic block.
2318 (dump_flow_info): Print prev_bb/next_bb fields.
2319 * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
2320 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
2321 * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
2322 * cfgrtl.c (create_basic_block_structure, create_basic_block,
2323 split_block, force_nonfallthru_and_redirect, split_edge): Modified.
2324 (verify_flow_info): Check that list agrees with numbering.
2326 2002-05-19 Neil Booth <neil@daikokuya.demon.co.uk>
2328 * c-common.c (preprocessing_asm): New macro.
2329 * c-lex.h (builtin_define, builtin_assert): Use pfile.
2333 * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
2334 (CPP_SPEC): Simplify.
2335 (TARGET_CPU_CPP_BUILTINS): Update.
2336 * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
2337 (CPP_SPEC): Simplify.
2338 * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
2339 (TARGET_OS_CPP_BUILTINS): Update.
2340 * osf.h (CPP_XFLOAT_SPEC): Kill.
2341 (TARGET_OS_CPP_BUILTINS): Update.
2342 (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
2343 * osf5.h (CPP_XFLOAT_SPEC): Kill.
2344 * vms.h (CPP_SUBTARGET_SPEC): Kill.
2345 (TARGET_OS_CPP_BUILTINS): Update.
2347 2002-05-19 Richard Henderson <rth@redhat.com>
2349 * varasm.c (default_binds_local_p): Fix typo.
2351 2002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
2353 * config/avr/avr.c (machine_dependent_reorg): Sign extend the
2354 CONST_INT operand to the correct mode after adding 1 to it.
2356 2002-05-19 Mark Mitchell <mark@codesourcery.com>
2358 * config.gcc (powerpc-wrs-windiss*): New target.
2360 2002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2362 * config/rs6000/rs6000.md (ashrdi3_no_power): New.
2365 2002-05-18 Mark Mitchell <mark@codesourcery.com>
2367 * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
2369 * config.in: Regenerated.
2370 * configure: Regenerated.
2372 2002-05-19 Richard Henderson <rth@redhat.com>
2374 * target-def.h (TARGET_BINDS_LOCAL_P): New.
2375 * target.h (struct gcc_target): Move boolean fields to the end.
2377 * varasm.c (default_binds_local_p): New.
2378 * output.h: Declare it.
2380 * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
2381 * config/cris/cris.c (cris_encode_section_info): Likewise.
2382 * config/i386/i386.c (i386_encode_section_info): Likewise.
2383 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
2384 * config/sh/sh.c (sh_encode_section_info): Likewise.
2386 * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
2387 (TARGET_BINDS_LOCAL_P): New.
2389 2002-05-19 Richard Henderson <rth@redhat.com>
2391 * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
2392 FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
2393 MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
2395 * toplev.c (display_help): Kill -a -ax help.
2397 * config/1750a/1750a.h, config/alpha/alpha.h,
2398 config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
2399 config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
2400 config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
2401 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
2403 * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
2404 * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
2406 * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
2407 (ix86_output_function_block_profiler): Kill.
2408 * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
2409 (m68hc11_function_block_profiler): Kill.
2410 * config/m68hc11/m68hc11-protos.h: Update.
2411 * config/m88k/m88k.c (output_block_profiler): Kill.
2412 (output_function_block_profiler): Kill.
2413 * config/m88k/m88k-protos.h: Update.
2415 2002-05-19 Richard Henderson <rth@redhat.com>
2417 * system.h (STRIP_NAME_ENCODING): Poison it.
2418 * output.h (STRIP_NAME_ENCODING): Remove.
2419 (default_strip_name_encoding): Declare.
2420 * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
2421 * target.h (strip_name_encoding): New.
2422 * varasm.c (default_strip_name_encoding): New.
2424 * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
2425 config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
2426 config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
2427 config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
2428 config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
2429 config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
2430 config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
2431 config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
2432 config/v850/v850.h: Use the hook, not the macro.
2434 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
2435 config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
2436 config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
2437 config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
2438 config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
2439 config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
2440 config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
2441 config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
2442 config/v850/v850.c, config/v850/v850.h:
2443 Move STRIP_NAME_ENCODING to out-of-line function and add
2444 TARGET_STRIP_NAME_ENCODING.
2446 * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
2447 config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
2448 with TARGET_STRIP_NAME_ENCODING referencing existing function;
2449 make function static.
2451 * xcoffout.c: Include target.h
2452 * Makefile.in (xcoffout.o): Update.
2454 * config/avr/avr.c (avr_encode_section_info): Correct prototype.
2455 * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
2456 * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
2457 reloc argument unused.
2458 * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
2460 * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
2461 STRIP_NAME_ENCODING docs.
2463 2002-05-19 Andreas Jaeger <aj@suse.de>
2465 * gengenrtl.c: Add prototype for excluded_rtx.
2467 * real.h: Add prototype for exact_real_truncate.
2469 2002-05-18 Richard Henderson <rth@redhat.com>
2471 * system.h (ENCODE_SECTION_INFO): Poison it.
2472 * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
2473 * target.h (encode_section_info): New.
2474 * varasm.c (make_decl_rtl, output_constant_def): Use it.
2475 * hooks.c (hook_tree_int_void): New.
2476 * hooks.h: Declare it.
2478 * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
2479 config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
2480 config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
2481 config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
2482 config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
2483 config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
2484 config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
2485 config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
2486 config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
2487 config/mcore/mcore-protos.h, config/mcore/mcore.c,
2488 config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
2489 config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
2490 config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
2491 config/stormy16/stormy16.c, config/stormy16/stormy16.h:
2492 Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
2493 referencing existing function. Make function static.
2495 * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
2496 config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
2497 config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
2498 config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
2499 config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
2500 config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
2501 config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
2502 config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
2503 config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
2504 config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
2505 config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
2506 config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
2507 config/xtensa/xtensa.c, config/xtensa/xtensa.h:
2508 Move ENCODE_SECTION_INFO to out-of-line function and add
2509 TARGET_ENCODE_SECTION_INFO.
2511 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
2512 (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
2514 * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
2516 (switch_to_section): Replace in_rdata case with in_readonly_data.
2518 * config/h8300/h8300.c (h8300_encode_label): Make static.
2519 * config/h8300/h8300-protos.h: Update.
2521 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
2522 from rs6000_encode_section_info; make static.
2523 (rs6000_xcoff_encode_section_info): New.
2525 * config/v850/v850.c (v850_encode_data_area): Make static.
2526 * config/v850/v850-protos.h: Update.
2528 * config/vax/vax.c: Include flags.h.
2529 (vms_select_section): Fix typo.
2531 * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
2532 ENCODE_SECTION_INFO docs.
2534 2002-05-18 Richard Henderson <rth@redhat.com>
2536 * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
2537 REGISTER_TARGET_PRAGMAS.
2538 * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
2540 * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
2542 2002-05-18 Richard Henderson <rth@redhat.com>
2544 * system.h (SELECT_RTX_SECTION): Poison.
2545 * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
2546 * target.h (select_rtx_section): New.
2547 * varasm.c (output_constant_pool): Use it.
2548 (default_select_rtx_section, default_elf_select_rtx_section): New.
2549 * output.h: Declare them.
2551 * config/darwin.h (SELECT_RTX_SECTION): Move ...
2552 * config/darwin.c (machopic_select_rtx_section): ... here.
2553 * config/darwin-protos.h: Update.
2555 * config/nextstep.h (SELECT_RTX_SECTION): Move ...
2556 * config/nextstep.c (machopic_select_rtx_section): ... here.
2557 (nextstep_select_section): Rename variable to avoid macro clash.
2558 * config/nextstep-protos.h: Update.
2560 * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
2561 config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
2562 config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
2563 config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
2564 config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
2565 config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
2566 config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
2567 config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
2568 config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
2569 (SELECT_RTX_SECTION): Remove.
2571 * config/darwin.h, config/elfos.h, config/nextstep.h,
2572 config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
2573 config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
2574 config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
2575 config/sparc/lynx.h, config/xtensa/xtensa.c
2576 (TARGET_ASM_SELECT_RTX_SECTION): New.
2578 * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
2579 * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
2580 * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
2581 * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
2582 (ia64_aix_select_rtx_section): New.
2583 * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
2585 * config/mips/mips.c (mips_select_rtx_section): Make static.
2586 Support ELF SHF_MERGE features.
2587 * config/mips/mips-protos.h: Update.
2588 * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
2589 * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
2590 (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
2591 make static, fall back to default_elf_select_rtx_section.
2592 * config/rs6000/rs6000-protos.h: Update.
2593 * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
2594 * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
2595 * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
2596 * config/romp/romp.c (romp_select_rtx_section): New.
2597 * config/s390/s390.c (s390_select_rtx_section): New.
2598 * config/xtensa/xtensa.c: Include output.h. Shuffle local function
2599 declarations before target macro definition.
2600 (xtensa_emit_call): Use static buffer.
2601 (xtensa_select_rtx_section): New.
2602 * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
2603 (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
2604 (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
2606 * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
2607 SELECT_RTX_SECTION docs.
2609 Sun May 19 00:24:23 CEST 2002 Jan Hubicka <jh@suse.cz>
2611 * i386.md (movsi/movdi): Fix template.
2612 (sse2 patterns): Set attributes consistently.
2614 * i386.md (pushqi2, ashrqi_*): Fix constraint.
2616 2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
2618 * optabs.c (complex_part_zero_p): New.
2619 * (expand_cmplxdiv_straight): Use it.
2620 * (expand_cmplxdiv_wide): Ditto.
2621 * (expand_binop): Ditto.
2623 2002-05-18 Richard Henderson <rth@redhat.com>
2625 * final.c (HAVE_READONLY_DATA_SECTION): New.
2626 (shorten_branches): Use it instead of ifdefs.
2627 * varasm.c (enum in_section): Add in_readonly_data.
2628 (text_section, data_section): Tidy.
2629 (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
2631 * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
2632 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
2633 (READONLY_DATA_SECTION): Don't undef.
2635 * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
2636 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
2637 config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
2639 * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
2640 config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
2641 config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
2642 config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
2644 * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
2645 config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
2646 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
2647 config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
2648 config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
2649 config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
2650 config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
2651 config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
2652 CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
2654 * config/elfos.h, config/netware.h, config/1750a/1750a.h,
2655 config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
2656 config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
2657 config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
2658 config/pa/pa64-hpux.h, config/sparc/litecoff.h
2659 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
2661 * config/elfos.h, config/netware.h, config/svr3.h,
2662 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
2663 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
2664 config/h8300/h8300.h, config/i386/i386-interix.h,
2665 config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
2666 config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
2668 * config/elfos.h, config/netware.h, config/svr3.h,
2669 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
2670 config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
2671 config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
2672 config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
2674 * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
2675 config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
2676 config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
2677 config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
2678 config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
2679 config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
2680 config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
2681 config/rs6000/sysv4.h, config/v850/v850.h
2682 (EXTRA_SECTIONS): Remove in_const/in_rdata.
2683 (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
2685 * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
2686 config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
2687 config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
2688 config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
2689 * config/alpha/alpha.c (alpha_start_function): Likewise.
2690 (alpha_write_linkage): Likewise.
2691 * config/m32r/m32r.c (m32r_select_section): Likewise.
2692 * config/m88k/m88k.c (m88k_select_section): Likewise.
2693 * config/mips/mips.c (mips_select_rtx_section): Likewise.
2694 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
2695 (rs6000_elf_select_section): Likewise.
2696 * config/v850/v850.c (v850_select_section): Likewise.
2698 * config/1750a/1750a.h, config/i860/sysv3.h
2699 (READONLY_DATA_SECTION_ASM_OP): New.
2700 READONLY_DATA_SECTION_ASM_OP.
2701 * config/i386/interix.c, config/i386/winnt.c
2702 (i386_pe_unique_section): Always use .rdata prefix.
2703 * config/pa/som.h (readonly_data): Always switch to read-only section.
2704 (READONLY_DATA_SECTION): Predicate on flag_pic.
2705 * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
2706 * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
2707 (READONLY_DATA_SECTION): Update.
2709 2002-05-18 Jason Thorpe <thorpej@wasabisystems.com>
2711 * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
2712 is used without -Wformat.
2713 * c-common.h (warn_format_zero_length): Declare extern.
2714 * c-decl.c (warn_options): Add "format-zero-length".
2715 * c-format.c (warn_format_zero_length): Declare.
2716 (set_Wformat): Set warn_format_zero_length for -Wformat.
2717 (check_format_info): Only warn about zero-length formats if
2718 warn_format_zero_length is true. Include the format type
2719 name in the warning message.
2720 * doc/invoke.texi: Document -Wformat-zero-length.
2721 * testsuite/gcc.dg/format/zero-length-1.c: New test.
2723 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
2725 * timevar.c: Fix formatting.
2726 * tlink.c: Likewise.
2727 * toplev.c: Likewise.
2728 * tree-dump.c: Likewise.
2729 * tree-inline.c: Likewise.
2731 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
2733 * cppinit.c (cpp_post_options): If preprocessed, turn off
2734 traditional. If traditional, turn off column numbers.
2735 * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
2736 * cpptrad.c (handle_newline): Update line_base.
2737 (skip_comment): Handle -Wcomment.
2739 2002-05-17 Zack Weinberg <zack@codesourcery.com>
2741 * cppinit.c (struct builtin): Remove unused fields.
2742 (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
2743 (operator_array): New - was second half of builtin_array.
2744 (init_builtins): Simplify loop over builtin_array/operator_array.
2746 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
2748 * defaults.h (UNIQUE_SECTION): Remove.
2749 * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
2751 2002-05-17 Richard Henderson <rth@redhat.com>
2753 * expr.c (init_expr_once): Don't use start/end_sequence.
2754 Use rtx_alloc instead of emit_insn.
2755 * toplev.c (lang_dependent_init): Run init_expr_once here ...
2756 (lang_independent_init): ... not here.
2758 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com>
2760 * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
2762 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
2764 * config/avr/avr.c (avr_regs_to_save): New function. Also check
2765 for fixed registers, possibly used for global register variables.
2766 (initial_elimination_offset, avr_output_function_prologue,
2767 avr_output_function_epilogue): Move common code to avr_regs_to_save.
2769 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
2771 * Makefile.in: Update for cpptrad.c.
2772 * cpphash.h (struct cpp_buffer): New members for buffer
2774 (struct cpp_reader): New members for traditional output.
2775 (_cpp_read_logical_line, _cpp_overlay_buffer): New.
2776 * cppinit.c (cpp_create_reader): Set trad_line.
2777 (cpp_destroy): Free trad_out_base if used.
2778 (cpp_read_main_file): Overlay an empty buffer if traditional.
2779 (cpp_finish_options): Don't do builtins.
2780 (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
2781 (cpp_handle_option): Handle it.
2782 * cpplex.c (continue_after_nul): New.
2783 (_cpp_lex_direct): Use handle_nul.
2784 * cpplib.h (struct cpp_options): New traditional option.
2785 * cpptrad.c: New file.
2787 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
2789 * c-common.c (c_common_init_options): Use C89 for Objective-C,
2790 and set the options flag.
2791 * cppinit.c (lang_flags): Remove objc.
2792 (lang_defaults): Remove OBJC and OBJCXX.
2794 (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
2795 (cpp_handle_option): Remove -+ and -lang-objc++.
2796 For ObjC, just set a flag.
2797 (print_help): Update.
2798 * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
2800 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2802 * doc/install.texi (Specific, mips-sgi-irix6): Document need to
2803 bootstrap with -mips3.
2805 2002-05-17 Kazu Hirata <kazu@cs.umass.edu>
2807 * final.c: Fix formatting.
2808 * fix-header.c: Likewise.
2810 * fold-const.c: Likewise.
2811 * function.c: Likewise.
2813 2002-05-17 David S. Miller <davem@redhat.com>
2815 PR c/6689, PR optimization/6615
2816 * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
2817 and make it a pointer to rtx. Update comments.
2818 (update_equiv_regs): When scanning for equivalences, record
2819 address of SET_SRC (set) in reg_equiv[].src_p. Dereference
2820 it while making the equiv replacements.
2822 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2824 * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
2826 2002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp>
2828 * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
2829 when encoding visibility into SYMBOL_REF_FLAG.
2831 2002-05-17 Richard Sandiford <rsandifo@redhat.com>
2833 * expr.c (force_operand): Fix reversed move.
2835 2002-05-17 Kurt Wall <kwall@kurtwerks.com>
2837 * doc/install.texi (Testing): Mention two common DejaGnu warnings
2838 that can be ignored.
2840 2002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2842 * doc/install.texi (Final install): Recommend to install into a
2843 "clean" target directory.
2845 2002-05-17 Richard Henderson <rth@redhat.com>
2847 * config/ia64/ia64.md: Use braced strings instead of quoted strings
2848 for code blocks. Tidy whitespace.
2850 2002-05-17 Richard Henderson <rth@redhat.com>
2852 * hooks.c (hook_tree_bool_false): New.
2853 * hooks.h: Declare it.
2854 * target-def.h (TARGET_ASM_SELECT_SECTION): New.
2855 (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
2856 * target.h (select_section, unique_section): New.
2857 (in_small_data_p): New.
2858 * varasm.c (resolve_unique_section): Use hooks instead of macros.
2859 (variable_section, output_constant_def_contents): Likewise.
2860 (default_select_section, default_unique_section): New.
2861 (categorize_decl_for_section, default_elf_select_section): New.
2862 * output.h: Declare them.
2864 * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
2865 (TARGET_ASM_SELECT_SECTION): New.
2866 (SELECT_SECTION): Move ...
2867 * config/darwin.c (machopic_select_section): ... here.
2868 * config/darwin-protos.h: Update.
2870 * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
2871 (SELECT_SECTION): Move ...
2872 * config/nextstep.c (nextstep_select_section): ... here.
2873 * config/nextstep-protos.h: Update.
2875 * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
2876 (TARGET_ASM_SELECT_SECTION): New.
2877 * config/svr3.h (SELECT_SECTION): Remove.
2879 * config/alpha/alpha.c (unicosmk_unique_section): Make static.
2880 (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
2881 (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
2882 (alpha_encode_section_info): Use it.
2883 * config/alpha/alpha-protos.h: Update.
2884 * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
2885 (SELECT_SECTION, UNIQUE_SECTION): Remove.
2886 (TARGET_ASM_SELECT_SECTION): New.
2887 * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
2889 * config/arm/pe.h (UNIQUE_SECTION): Remove.
2890 (TARGET_ASM_UNIQUE_SECTION): New.
2892 * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
2893 (avr_unique_section): Rename from unique_section; make static.
2894 * config/avr/avr-protos.h: Update.
2895 * config/avr/avr.h (UNIQUE_SECTION): Remove.
2897 * config/c4x/c4x.h (SELECT_SECTION): Remove.
2899 * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
2900 (TARGET_ASM_UNIQUE_SECTION): New.
2901 * config/i386/i386-interix.h: Likewise.
2902 * config/i386/win32.h: Likewise.
2903 * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
2904 * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
2905 * config/i386/sco5.h (SELECT_SECTION): Remove.
2906 (TARGET_ASM_SELECT_SECTION): New.
2907 * config/i386/svr3gas.h (SELECT_SECTION): Remove.
2909 * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
2910 instead of SELECT_SECTION.
2911 * config/m68k/dpx2.h: Likewise.
2912 * config/rs6000/lynx.h: Likewise.
2914 * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
2915 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
2916 * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
2917 (ia64_in_small_data_p): New.
2918 (ia64_encode_section_info): Use it. Reorganize overlarge conditional.
2919 (ia64_aix_select_section, ia64_aix_unique_section): New.
2920 * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
2921 (SELECT_SECTION, UNIQUE_SECTION): Remove.
2923 * config/m32r/m32r.h (SELECT_SECTION): Remove.
2924 (TARGET_ASM_SELECT_SECTION): New.
2925 * config/m32r/m32r.c (m32r_select_section): Take align argument.
2926 * config/m32r/m32r-protos.h: Update.
2928 * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
2929 (SELECT_SECTION): Move ...
2930 * config/m88k/m88k.c (m88k_select_section): ... here.
2932 * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
2933 * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
2934 * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
2935 (mcore_unique_section): Make static.
2936 * config/mcore/mcore-protos.h: Update.
2938 * config/mips/elf.h (UNIQUE_SECTION): Remove.
2939 (TARGET_ASM_UNIQUE_SECTION): New.
2940 * config/mips/elf64.h: Likewise.
2941 * config/mips/iris6gld.h: Likewise.
2942 * config/mips/linux.h: Likewise.
2943 * config/mips/mips-protos.h: Update.
2944 * config/mips/mips.c (mips_select_section): Add align argument.
2945 * config/mips/mips.h (SELECT_SECTION): Remove.
2946 (TARGET_ASM_SELECT_SECTION): New.
2948 * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
2949 * config/mmix/mmix.c (mmix_select_section): Remove.
2950 (mmix_unique_section): Remove.
2951 * config/mmix/mmix-protos.h: Update.
2953 * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
2954 (SELECT_SECTION): Move ...
2955 * config/pa/pa.c (pa_select_section): ... here.
2956 * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
2958 * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
2959 from rs6000_select_section and make static.
2960 (rs6000_elf_unique_section): Similarly.
2961 (rs6000_xcoff_select_section): From xcoff.h.
2962 (rs6000_xcoff_unique_section): Likewise.
2963 * config/rs6000/rs6000-protos.h: Update.
2964 * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
2965 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
2966 * config/rs6000/xcoff.h: Likewise.
2968 * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
2969 (SELECT_SECTION): Move ...
2970 * config/sparc/sparc.c (sparc_aout_select_section): ... here.
2972 * config/v850/v850.h (SELECT_SECTION): Move ...
2973 * config/v850/v850.c (v850_select_section): ... here.
2974 (TARGET_ASM_SELECT_SECTION): New.
2976 * config/vax/vms.h (SELECT_SECTION): Move ...
2977 * config/vax/vax.c (vms_select_section): ... here.
2978 (TARGET_ASM_SELECT_SECTION): New.
2980 * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
2981 for the target hooks.
2983 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
2985 * config/arm/arm.c (emit_multi_reg_push): Do not set
2986 RTX_FRAME_RELATED_P on the SEQUENCE.
2988 2002-05-16 Richard Henderson <rth@redhat.com>
2990 * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
2991 splitting. Use split_all_insns; update_life_info_in_dirty_blocks.
2993 2002-05-16 Richard Henderson <rth@redhat.com>
2995 * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
2997 * config/ia64/ia64.c (saveable_obstack): Do not declare.
2999 2002-05-16 Richard Henderson <rth@redhat.com>
3001 * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
3002 cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
3003 conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
3004 gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
3005 local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
3006 recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
3007 reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
3008 sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
3009 Revert "Basic block renumbering removal", and two followup patches.
3011 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
3013 * lcm.c (optimize_mode_switching): Revert previous change.
3015 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3017 * sched-rgn.c (schedule_insns): Initialize large_region_blocks
3018 with only extant block numbers.
3020 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
3022 * lcm.c (optimize_mode_switching): Fix typo.
3024 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3026 * flow.c (calculate_global_regs_live): Queue blocks in program order.
3028 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3030 * doc/install.texi (Configuration): Document PWDCMD.
3032 2002-05-16 Dale Johannesen <dalej@apple.com>
3034 * combine.c (cant_combine_insn_p): Reenable combinations
3035 involving hard regs unless CLASS_LIKELY_SPILLED_P.
3037 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
3039 * c-common.c (cb_register_builtins): Handle more built-ins
3040 here rather than in gcc.c specs.
3041 * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
3042 (cpp_options): Pass -O flags even when only preprocessing.
3043 * toplev.c (set_fast_math_flags): New prototype.
3044 (fast_math_flags_set_p): New.
3045 (set_no_fast_math_flags): Remove.
3046 (decode_f_option): Update.
3047 * toplev.h (set_fast_math_flags): Update.
3048 (fast_math_flags_set_p): New.
3049 (set_no_fast_math_flags): Remove.
3051 * c4x/c4x.c (c4x_override_options): Update.
3053 2002-05-16 Zack Weinberg <zack@codesourcery.com>
3055 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
3056 Default-define here.
3057 (builtin_define_with_value): Can now wrap the expansion in
3058 quotation marks if such is wanted.
3059 (cb_register_builtins): Update calls to builtin_define_with_value.
3060 Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
3062 (c_common_init): Set options->stdc_0_in_system_headers.
3063 * c-lex.h: Update prototype of builtin_define_with_value.
3064 * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
3065 and REGISTER_PREFIX.
3067 * cppinit.c (VERS, ULP, C, X): Kill.
3068 (builtin_array): Remove entries for __VERSION__,
3069 __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
3070 __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not
3072 (init_builtins): Kill off a bunch of now-dead code.
3073 (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
3074 -fno-leading-underscore.
3075 (cpp_handle_option): Remove code to set user_label_prefix.
3076 (cpp_post_options): Likewise.
3078 * cpplib.h (struct cpp_options): Remove user_label_prefix.
3079 (stdc_0_in_system_headers): New.
3080 * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
3081 stdc_0_in_system_headers) too to decide the value of __STDC__.
3083 * tradcpp.c (user_label_prefix): Kill.
3084 (main): Remove code handling -f(no-)leading-underscore.
3085 (initialize_builtins): Don't define __REGISTER_PREFIX__
3086 or __USER_LABEL_PREFIX__.
3087 (install_value): Wrap compound statement in dummy loop so the
3088 macro works properly in an if statement.
3091 2002-05-16 Janis Johnson <janis187@us.ibm.com>
3093 * loop.h (struct loop_info): Add member has_prefetch.
3094 * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
3095 (prescan_loop): Initialize has_prefetch.
3096 (struct prefetch_info): Change prefetch_in_loop and
3097 prefetch_before_loop from bit fields to ints.
3098 (emit_prefetch_instructions): Several small fixes.
3099 (check_dbra_loop): Don't reverse loop that uses prefetch.
3101 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3103 * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
3104 * configure.in: Likewise.
3105 * fixinc/check.tpl: Likewise.
3106 * fixinc/fixinc.dgux: Likewise.
3107 * fixinc/fixinc.svr4: Likewise.
3108 * fixinc/fixinc.winnt: Likewise.
3109 * fixinc/fixincl.sh: Likewise.
3110 * fixproto: Likewise.
3111 * configure: Regenerate.
3113 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3115 Basic block renumbering removal:
3116 * basic_block.h (struct basic_block_def): Renamed index to sindex,
3117 added prev_bb and next_bb fields.
3118 (n_basic_blocks): Renamed to num_basic_blocks.
3119 (last_basic_block): New, index of last basic block.
3120 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
3121 traversing basic block chain.
3122 (BLOCK_NUM): index -> sindex.
3123 (create_basic_block_structure, create_basic_block): Declaration changed.
3124 (debug_num2bb): Declare.
3125 (expunge_block_nocompact): Declaration removed.
3126 (link_block, unlink_block, compact_blocks): Declare.
3127 * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
3128 * cfg.c (entry_exit_blocks): Initialize new fields.
3129 (clear_edges, alloc_block, expunge_block, cached_make_edge,
3130 redirect_edge_pred, dump_flow_info, dump_edge_info,
3131 alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
3132 free_aux_for_edges): Modified.
3133 (link_block, unlink_block, compact_blocks, debug_num2bb): New.
3134 (expunge_block_nocompact): Removed.
3135 * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
3136 find_unreachable_blocks, create_edge_list, print_edge_list,
3137 verify_edge_list, flow_edge_list_print, remove_fake_successors,
3138 remove_fake_edges, flow_reverse_top_sort_order_compute,
3139 flow_depth_first_order_compute, flow_preorder_transversal_compute,
3140 flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
3141 flow_dfs_compute_reverse_execute): Modified.
3142 * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
3143 find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
3145 * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
3146 merge_blocks_move_predecessor_nojumps,
3147 merge_blocks_move_successor_nojumps, merge_blocks,
3148 outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
3149 try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
3150 * cfglayout.c (skip_insns_after_block, label_for_bb,
3151 record_effective_endpoints, scope_to_insns_finalize,
3152 fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
3153 fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
3154 cfg_layout_duplicate_bb): Modified.
3155 * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
3156 flow_loop_entry_edges_find, flow_loop_exit_edges_find,
3157 flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
3158 flow_loops_find, flow_loop_outside_edge_p): Modified.
3159 * cfgrtl.c (create_basic_block_structure, create_basic_block,
3160 flow_delete_block, compute_bb_for_insn, split_block,
3161 try_redirect_by_replacing_jump, redirect_edge_and_branch,
3162 force_nonfallthru_and_redirect, tidy_fallthru_edge,
3163 back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
3164 commit_edge_insertions, commit_edge_insertions_watch_calls,
3165 dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
3166 purge_all_dead_edges): Modified.
3167 * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
3168 try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
3169 get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
3171 * conflict.c (conflict_graph_compute): Modified.
3172 * df.c (FOR_ALL_BBS): Removed.
3173 (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
3174 df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
3175 df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
3176 * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
3177 * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
3178 calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
3179 * final.c (compute_alignments, final_scan_insn): Modified.
3180 * flow.c (verify_local_live_at_start, update_life_info,
3181 update_life_info_in_dirty_blocks, free_basic_block_vars,
3182 delete_noop_moves, calculate_global_regs_live,
3183 initialize_uninitialized_subregs, allocate_bb_life_data,
3184 regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
3185 mark_used_reg, count_or_remove_death_notes): Modified.
3186 * function.c (thread_prologue_and_epilogue_insns): Modified.
3187 * gcse.c (struct null_pointer_info): Change typo of current_block
3189 (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
3190 oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
3191 compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
3192 alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
3193 expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
3194 classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
3195 one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
3196 pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
3197 pre_delete, one_pre_gcse_pass, compute_transpout,
3198 invalidate_nonnull_info, delete_null_pointer_checks_1,
3199 free_code_hoist_mem, compute_code_hoist_vbeinout,
3200 hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
3201 compute_ld_motion_mems, store_ops_ok, find_moveable_store,
3202 compute_store_table, build_store_vectors, insert_insn_start_bb,
3203 insert_store, replace_store_insn, free_store_memory, store_motion):
3205 * global.c (global_alloc, global_conflicts, mark_elimination,
3206 build_insn_chain): Modified.
3207 * graph.c (print_rtl_graph_with_bb): Modified.
3208 * haifa-sched.c (sched_init): Modified.
3209 * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
3210 (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
3211 if_convert): Modified.
3212 * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
3213 compute_insert_delete, pre_edge_lcm, compute_available,
3214 compute_farthest, compute_nearerout, compute_rev_insert_delete,
3215 pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
3217 * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
3218 * loop.c (loop_dump_aux): Modified.
3219 * predict.c (combine_predictions_for_insn, estimate_probability,
3220 last_basic_block_p, process_note_prediction, process_note_predictions,
3221 note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
3222 expensive_function_p, estimate_bb_frequencies,
3223 compute_function_frequency): Modified.
3224 * print-rtl.c (print_rtx): Modified.
3225 * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
3226 get_exec_counts, compute_branch_probabilities, compute_checksum,
3227 branch_prob, find_spanning_tree): Modified.
3228 * recog.c (split_all_insns, peephole2_optimize): Modified.
3229 * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
3230 convert_regs_1, convert_regs_2, convert_regs): Modified.
3231 * regclass.c (scan_one_insn, regclass): Modified.
3232 * regmove.c (mark_flags_life_zones, regmove_optimize,
3233 combine_stack_adjustments): Modified.
3234 * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
3235 * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
3236 * reorg.c (dbr_schedule): Modified.
3237 * resource.c (find_basic_block, init_resource_info): Modified.
3238 * sbitmap.c (sbitmap_intersection_of_succs,
3239 sbitmap_intersection_of_preds, sbitmap_union_of_succs,
3240 sbitmap_union_of_preds): Modified.
3241 * sched-deps.c (init_dependency_caches): Modified.
3242 * sched-ebb.c (schedule_ebbs): Modified.
3243 * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
3244 find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
3245 * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
3246 * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
3247 ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
3248 ssa_const_prop): Modified.
3249 * ssa-dce.c (set_control_dependent_block_to_edge_map_,
3250 find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
3251 * ssa.c (remove_phi_alternative, find_evaluations,
3252 compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
3253 insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
3254 make_regs_equivalent_over_bad_edges,
3255 make_equivalent_phi_alternatives_equival,
3256 compute_conservative_reg_partition,
3257 coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
3258 rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
3261 2002-05-16 Mark Mitchell <mark@codesourcery.com>
3263 * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
3265 2002-05-16 Nick Clifton <nickc@cambridge.redhat.com>
3267 * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
3268 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
3269 (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
3270 calling CONSTANT_POOL_ADDRESS_P.
3271 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
3272 to decide whether to define __arm__ or __thumb.
3273 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
3274 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
3276 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
3278 * config/arc/arc.h (CPP_PREDEFINES): Remove.
3280 (TARGET_CPU_CPP_BUILTINS): New.
3282 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
3284 * cpphash.h (cpp_macro): Move here, and make expansion a union.
3285 * cppmacro.c (cpp_macro): Remove.
3286 (enter_macro_context, replace_args, warn_of_redefinition,
3287 _cpp_create_definition, cpp_macro_definition): Update.
3289 2002-05-16 Jason Merrill <jason@redhat.com>
3291 * config/mips/mips.c (mips_output_external): Don't do sdata
3292 optimization for a variable with DECL_COMDAT set.
3294 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
3296 * config/rs6000/altivec.h: Cleanups for tighter typechecking.
3297 Cleanups for accepting modifiers on pointers.
3298 Fix predicate typos.
3299 Allow long pointers as well as int pointers.
3301 2002-05-15 Richard Henderson <rth@redhat.com>
3303 * varasm.c (merge_weak): Remove special case for extern and common.
3305 2002-05-15 Matt Hiller <hiller@redhat.com>
3307 * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
3309 * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
3310 * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
3311 * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
3312 * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
3313 * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
3314 * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
3316 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
3318 * reload1.c (forget_old_reloads_1): Do not use subreg offset.
3320 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
3322 * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
3323 ("altivec_mfvscr"): Read from VSCR.
3325 Add vscr sets for the following insns: altivec_vctuxs,
3326 altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
3327 altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
3328 altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
3329 altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
3330 altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
3331 altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
3332 altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
3333 altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
3334 altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
3335 altivec_vsum2sws, altivec_vsumsws.
3337 * config/rs6000/rs6000.h: Add VSCR fixed register.
3338 (CALL_REALLY_USED_REGISTERS): Add vscr.
3339 (CALL_USED_REGISTERS): Same.
3340 (FIXED_REGISTERS): Same.
3341 (REG_ALLOC_ORDER): Same.
3342 (reg_class): Add VSCR_REGS.
3343 (REG_CLASS_NAMES): Same.
3344 (REG_CLASS_CONTENTS): Same.
3346 (REGISTER_NAMES): Add vscr.
3347 (DEBUG_REGISTER_NAMES): Same.
3348 (ADDITIONAL_REGISTER_NAMES): Same.
3349 (FIRST_PSEUDO_REGISTER): Increment.
3350 (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
3352 2002-05-15 Jakub Jelinek <jakub@redhat.com>
3354 * fold-const.c (fold): Fix a typo.
3356 2002-05-15 Eric Botcazou <ebotcazou@multimania.com>
3358 * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
3359 comparison against the highest or lowest integer value before
3360 the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
3361 transformation and that of an unsigned comparison against 0
3364 2002-05-15 Richard Henderson <rth@redhat.com>
3366 * varasm.c (merge_weak): Error for any weakening after definition.
3367 Adjust weakening after use warning to catch more cases.
3368 (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
3369 * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
3371 Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz>
3373 * invoke.texi (-malign-double): Re-add lost warning.
3375 * i386-protos.h (x86_output_mi_thunk): Declare.
3376 * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
3377 * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
3379 * dwarf2out.c (output_call_frame_info): Do not skip unwind info
3380 when flag_asynchronous_unwind_tables is set.
3382 * flags.h (flag_reorder_functions): Declare.
3383 * function.c (prepare_function_start): Initialize frequnecy.
3384 * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
3385 * Makefile.in (predict.o): Add dependency on target.h and params.h
3386 * defaults.h (HOT_TEXT_SECTION_NAME,
3387 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
3388 * predict.c (choose_function_section): New function.
3389 (estimate_bb_frequencies): Use it.
3390 * toplev.c (flag_reorder_functions): New global variable.
3391 (lang_independent_options): New.
3392 (parse_options_and_default_flags): Set.
3393 * varasm.c (assemble_start_function): Bypass functdion alignment
3394 for never executed functions.
3395 * invoke.texi (-freorder-blocks, -freorder-functions): Document.
3396 (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
3397 * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
3400 Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz>
3402 * predict.c: Inlude profile.h
3403 (MIN_COUNT): Rename to MIN_COUNT_FRACTION
3404 (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
3405 Use the information about maximal counter in the program.
3407 Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz>
3409 * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
3410 probably_never_executed_bb_p): New functions.
3411 * cfgcleanup.c (outgoing_edges_match): Use them.
3412 * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
3413 (maybe_hot_bb_p, probably_cold_bb_p,
3414 probably_never_executed_bb_p): New functions.
3416 * function.h (function): Add new field function_frequency.
3417 * predict.c (compute_function_frequency): New function.
3418 (estimate_probability): Call it.
3420 2002-03-09 Jakub Jelinek <jakub@redhat.com>
3422 PR optimization/5172, optimization/5200
3423 * gcse.c (gcse_main): Disable store_motion.
3425 2002-05-14 Zack Weinberg <zack@codesourcery.com>
3427 * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
3428 (c_common_nodes_and_builtins): Use it.
3429 (builtin_define_with_value): New function.
3430 (cb_register_builtins): Define __SIZE_TYPE__,
3431 __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
3432 using builtin_define_with_value. Use consistent notation when
3433 defining __GXX_WEAK__.
3434 (WCHAR_TYPE_SIZE): Don't redefine.
3435 (combine_strings): Don't use WCHAR_TYPE_SIZE.
3437 * cppdefault.h: Don't provide defaults for SIZE_TYPE,
3438 PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
3439 * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
3440 * tradcpp.c (initialize_builtins): Likewise.
3441 * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
3443 * c-lex.h (builtin_define_with_value): Prototype.
3444 * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
3445 NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
3446 * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
3448 * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
3449 config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
3450 config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
3451 config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
3452 config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
3453 config/sparc/linux64.h, config/sparc/netbsd-elf.h,
3454 config/sparc/sol2-bi.h, config/sparc/sparc.h:
3455 Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references
3456 to __SIZE_TYPE__ etc from all spec strings. When this makes
3457 extra specs empty, delete them.
3459 2002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
3461 * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
3462 for PA8000 or generating dwarf2 call frame information.
3463 (output_call): Remove DO_FRAME_NOTES check from return pointer
3465 (following_call): Return 0 when scheduling for PA8000 or generating
3466 dwarf2 call frame information. Revise comment.
3468 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
3471 * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
3472 and __IEEE_FP_INEXACT as appropriate.
3473 (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
3474 (CPP_SPEC): Remove ieee defines.
3475 * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
3477 2002-05-14 Richard Henderson <rth@redhat.com>
3479 * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
3480 (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
3482 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
3484 * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
3486 (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
3487 CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
3488 CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
3489 CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
3490 (EXTRA_SPECS): Update.
3491 * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
3492 arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
3493 arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
3494 define TARGET_OS_CPP_BUILTINS if necessary.
3496 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
3498 * gcc.c (cpp_options): Must pass -m* and -f* options
3499 to the front end even when only preprocessing.
3500 (cc1_options): Remove redundant -lang-c.
3501 * tradcpp.c (main): Ignore -m options.
3503 * lang-specs.h: Similarly.
3505 2002-05-14 Vladimir Makarov <vmakarov@redhat.com>
3507 * genautomata.c (transform_3): Add code for transformation
3508 `(A,B,...)+C -> A+C,B,...'.
3510 Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz>
3512 * final.c (end_final): Do not output profile_arcs constructor, when
3513 no functions are instrumented.
3515 Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz>
3517 * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
3519 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3521 * doc/install.texi: Remove special markup originally required for
3522 HTML generation with texi2html.
3524 2002-05-14 Andreas Schwab <schwab@suse.de>
3526 * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
3528 (UNIQUE_SECTION): Define to get small data correctly.
3530 * varasm.c (resolve_unique_section): Add third parameter
3531 flag_function_or_data_sections and use it instead of
3532 flag_function_sections.
3533 (assemble_start_function): Pass flag_function_sections.
3534 (asm_emit_uninitialised): Pass flag_data_sections.
3535 (assemble_variable): Likewise.
3537 2002-05-14 Richard Henderson <rth@redhat.com>
3539 * config/i386/i386.md: Use define_constants for unspec numbers.
3540 * config/i386/i386.c: Likewise.
3542 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
3544 * doc/contrib.texi: Update my entry.
3546 2002-05-13 Mark Mitchell <mark@codesourcery.com>
3548 * fixinc/inclhack.def (winidss_valist): Limit applicability.
3549 * fixinc/fixincl.x: Regenerated.
3550 * fixinc/tests/base/math.h: Update.
3551 * fixinc/tests/base/testing.h: Likewise.
3553 2002-05-13 Zack Weinberg <zack@codesourcery.com>
3555 * genattr.c (gen_attr): Don't emit a comma after the last
3558 2002-05-13 Richard Henderson <rth@redhat.com>
3560 * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
3562 * recog.c (peephole2_optimize): Likewise.
3564 2002-05-13 Andris Pavenis <pavenis@lanet.lv>
3566 * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
3569 2002-05-13 Jeffrey A Law (law@redhat.com)
3571 * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
3572 Update prototype and callers.
3573 (propagate_one_insn): Stack pointer adjustments kill MEMs on
3574 the mem_set_list which reference the stack pointer, as do
3575 calls to constant functions as they may clobber outgoing
3578 * i386.c (ia32_multipass_dfa_lookahead): Prototype.
3580 * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
3581 (ia32_multipass_dfa_lookahead): New function.
3583 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
3585 * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
3586 (translate_options): Remove 'V'.
3587 (process_command): Similarly.
3589 * invoke.texi: Remove documentation of 'V'.
3591 2002-05-13 Ulrich Weigand <uweigand@de.ibm.com>
3593 * config/s390/linux.h: Revert 2002-04-22 changes.
3595 2002-05-13 Scott Marks <SMarks@mobile-mind.com>
3597 * config/fr30/fr30.md: Only allow splits of immediate loads
3598 if the destination is a register.
3600 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
3602 * Makefile.in (c-common.o, cppinit.o): Update.
3603 * c-common.c: Include except.h.
3604 (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
3605 Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
3606 * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
3607 * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
3608 CPP_PREDEFINES): Handle here.
3610 * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
3611 alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
3612 alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
3613 TARGET_OS_CPP_BUILTINS.
3614 * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
3615 (CPP_SPEC, EXTRA_SPECS): Update.
3616 (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
3617 CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
3618 CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
3619 CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
3620 CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
3622 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
3623 (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
3625 2002-05-12 Zack Weinberg <zack@codesourcery.com>
3627 * emit-rtl.c (global_rtl): Update comment.
3628 (const_double_htab, const_double_htab_hash,
3629 const_double_htab_hash, lookup_const_double): New.
3630 (const_int_htab_hash, const_int_htab_eq): Remove const
3631 qualifiers, which cause tons of warnings with RTL checking on.
3632 (gen_rtx_CONST_DOUBLE): Deleted.
3633 (const_double_from_real_value): New function - bears some
3634 resemblance to the former immed_real_const_1.
3635 (immed_double_const): Moved here from varasm.c and
3637 (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
3638 (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
3639 (gen_rtx): Use immed_double_const.
3640 (init_emit_once): Initialize the const_double_htab. Use
3641 REAL_VALUE_FROM_INT where possible. Can now use
3642 CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
3643 * varasm.c (struct varasm_status): Remove x_const_double_chain.
3644 (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
3645 (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
3646 (init_varasm_status, mark_varasm_status): Don't touch
3647 x_const_double_chain.
3649 * output.h: Delete prototype for clear_const_double_mem.
3650 * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading
3651 '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype
3652 const_double_from_real_value, not immed_real_const_1, and use
3653 it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro
3655 * rtl.h (CONST_DOUBLE_CHAIN): Kill.
3656 (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
3657 (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
3658 (gen_rtx_REG): Second arg is unsigned.
3660 * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
3661 (excluded_rtx): New, return true for CONST_DOUBLE.
3662 (genmacro): Write nothing for excluded codes.
3663 * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
3664 * expr.c (expand_expr): Likewise.
3665 * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
3667 * toplev.c (rest_of_compilation): Don't call
3668 clear_const_double_mem.
3670 * config/rs6000/rs6000.c (rs6000_float_const): Delete.
3671 (rs6000_hash_constant): Remove CONST_DOUBLE special case.
3672 (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
3673 * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
3674 * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
3675 * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
3676 config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
3677 * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
3679 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3681 * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
3683 2002-05-12 Tom Tromey <tromey@redhat.com>
3685 * tree.h (copy_node): Don't mention TREE_PERMANENT.
3687 2002-05-12 Zack Weinberg <zack@codesourcery.com>
3689 * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
3690 (scan_comma_elt): New function. Accepts whitespace in comma lists.
3691 * gensupport.h: Prototype new routines.
3692 * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary
3694 * genattrtab.c (n_comma_elts): Moved to gensupport.c.
3695 (next_comma_elt): Use scan_comma_elt.
3697 * config/i386/i386.md: Use new attribute notation to break up
3698 long lines in define_attr forms.
3700 2002-05-12 Richard Henderson <rth@redhat.com>
3702 * expr.c (compress_float_constant): New.
3703 (emit_move_insn): Use it.
3704 (float_extend_from_mem): New.
3705 (init_expr_once): Initialize it.
3706 * real.c (exact_real_truncate): New.
3708 * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
3709 dropped into memory; penalize for size.
3710 (RTX_COSTS): FLOAT_EXTEND is free.
3711 * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
3712 extenddfxf2, extenddftf2): Accept constants and drop them to memory.
3714 2002-05-12 Richard Henderson <rth@redhat.com>
3716 * profile.h (profile_info): Add missing extern to declaration.
3717 * profile.c (profile_info): Define it.
3719 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
3721 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
3722 used for DImode and TImode.
3724 2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
3726 * cpplex.c (_cpp_lex_direct): When in a directive at EOF
3729 2002-05-11 Zack Weinberg <zack@codesourcery.com>
3731 * config/rs6000/rs6000.c (rs6000_default_long_calls,
3732 rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
3733 (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
3734 (rs6000_override_options): Handle -m(no-)longcall.
3735 (init_cumulative_args, output_mi_thunk): Check for both
3736 longcall and shortcall attributes on the function.
3737 (rs6000_attribute_table): Add "shortcall".
3738 (rs6000_handle_longcall_attribute): Update comment.
3739 (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
3740 altivec_expand_ternop_builtin): Add default clauses to switches
3741 to silence warnings.
3743 * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
3744 rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS.
3745 (TARGET_OPTIONS): Add longcall and no-longcall.
3747 * config/rs6000/rs6000.md (call_nonlocal_sysv,
3748 call_value_nonlocal_sysv): Split by alternatives. One pair
3749 accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
3750 the call cookie. The other pair accepts only LR/CTR and has
3753 * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
3754 Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
3756 * config/rs6000/rs6000-c.c: New file.
3757 * config/rs6000/t-rs6000-c-rule: New file.
3758 * config/rs6000/rs6000-protos.c: Add multiple-include guard.
3759 Prototype rs6000_pragma_longcall.
3761 * doc/extend.texi: Document shortcall attribute.
3762 * doc/invoke.texi: Document -mlongcall, -mno-longcall.
3764 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
3766 * reorg.c (dbr_schedule): Remove unnecessary test.
3768 Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz>
3770 * i386.md (testsi to testqi spliters): New.
3772 2002-01-14 Josef Zlomek <zlomek@matfyz.cz>
3774 cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
3776 Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
3778 * basic-block.h: New flag EDGE_CAN_FALLTHRU
3779 * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
3780 that can be made fallthru.
3782 Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz>
3784 * cfglayout.c (cleanup_unconditional_jumps): New static function.
3785 (cfg_layout_initialize): Use it.
3787 2002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl>
3789 * config/avr/avr.c (avr_mcu_types): Update supported devices.
3790 * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
3791 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
3793 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
3795 * dbxout.c: Fix formatting.
3796 * dependence.c: Likewise.
3798 * diagnostic.c: Likewise.
3799 * doloop.c: Likewise.
3800 * dominance.c: Likewise.
3801 * doschk.c: Likewise.
3802 * dwarf2asm.c: Likewise.
3803 * dwarf2out.c: Likewise.
3804 * dwarfout.c: Likewise.
3806 2002-05-10 Richard Henderson <rth@redhat.com>
3808 * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct.
3809 Convert integers constants as needed. Replace "nwords" field with
3811 (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
3812 * function.h: Fix typo in comment.
3813 * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
3815 2002-05-10 Roger Sayle <roger@eyesopen.com>
3817 * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
3818 into the equivalent (signed char)c > 0.
3820 2002-05-10 Janis Johnson <janis187@us.ibm.com>
3822 * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
3823 (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
3824 (struct prefetch_info): Fix spelling of member bytes_accessed.
3825 (emit_prefetch_instructions): Make dump messages more regular;
3826 restructure code to add more dump messages; use new macros for
3827 heuristics. (There are no code generation changes in any of this).
3829 2002-05-10 David S. Miller <davem@redhat.com>
3831 * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
3832 (struct rtx_def): Update unchanging flag comment.
3833 * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
3834 * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
3835 to be handled to INSN too.
3836 (dbr_schedule): Likewise.
3837 * resource.c (next_insn_no_annul): Likewise.
3839 * cse.c (rtx_cost): Remove multiplication by power of 2 special
3842 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3844 * doc/install.texi (Specific, *-*-solaris2*): Update passus on
3845 setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
3846 (possibly) work around broken /bin/sh.
3848 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3850 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
3851 . as N64/N32 libgcc_s.so subdirs.
3853 2002-05-10 David S. Miller <davem@redhat.com>
3855 * config/sparc/sparc.md: Use define_constants for unspec numbers.
3857 * rtl.h (struct rtx_def): Document unchanging and in_struct flags
3859 (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
3861 (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
3862 * doc/rtl.texi: Document these macros more accurately.
3863 * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
3864 JUMP_INSNs and CALL_INSNs.
3865 * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
3866 or INSN_FROM_TARGET_P if the code is appropriate.
3868 2002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
3870 * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
3871 before using SYMBOL_REF_FLAG (addr).
3873 * config/avr/avr-protos.h (avr_io_address_p): Declare.
3874 * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
3875 Make non-static. Update all callers.
3876 * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
3877 New insns to clear/set/test a single bit in I/O address space.
3879 2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3881 * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
3883 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
3885 * Makefile.in: Update.
3886 * c-common.c (flag_iso, flag_undef, cb_register_builtins,
3887 builtin_define_std): New.
3888 (c_common_init): Register CPP builtins callback.
3889 * c-common.h (flag_iso, flag_undef): New.
3890 * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
3891 * c-lex.c: Don't include target.h.
3892 (cb_register_builtins): Move to c-common.c.
3893 (init_c_lex): Don't register hook here.
3894 * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
3895 (cpp_define, cpp_assert): Remove.
3896 * gcc.c (cc1_options): Pass -undef to front end.
3897 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
3898 (TARGET_INITIALIZER): Update.
3899 * target.h (struct cpp_reader): Don't predeclare.
3900 (struct gcc_target): Remove cpp builtin hook.
3901 * tree.c (default_register_cpp_builtins): Remove.
3905 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
3907 * cppexp.c (_cpp_expand_op_stack): Set op_limit.
3909 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3911 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
3912 (SHLIB_LINK, SHLIB_INSTALL): Adjust.
3914 2002-05-09 Jakub Jelinek <jakub@redhat.com>
3916 * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
3917 * config/sparc/libgcc-sparc-glibc.ver: New file.
3918 * config/cris/t-linux (SHLIB_MAPFILES): Remove.
3919 * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
3921 2002-05-09 Jakub Jelinek <jakub@redhat.com>
3924 * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
3925 * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
3926 shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
3928 * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
3929 * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
3930 * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
3931 * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
3933 2002-05-09 Richard Henderson <rth@redhat.com>
3935 * config/ia64/ia64.md: Use define_constants for unspec numbers.
3936 * config/ia64/ia64.c: Likewise.
3938 2002-05-09 Richard Sandiford <rsandifo@redhat.com>
3940 * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
3941 (save_restore_insns): Likewise.
3942 (mips_expand_prologue, mips_expand_epilogue): Update callers.
3943 (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
3945 Thu May 9 11:50:09 2002 Jeffrey A Law (law@redhat.com)
3947 * athlon.md, k6.md, pentium.md, ppro.md): New files.
3948 * i386.md: Move scheduling information into new files.
3950 * i386.md (type attribute): Add "rotate" for rotate insns.
3951 (rotate insns): Set type to "rotate".
3952 (various attributes and function units): Treat rotate like shift.
3953 (pent_pair attribute): Only rotates by one bit position are
3955 (sbb insns): Explicitly set pent_pair attribute on a couple
3956 that were missing it.
3958 Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
3960 * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
3961 make sure that buffer starts on odd word address.
3962 (sh_va_arg): Skip odd fp registers when reading a double precision
3965 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
3967 * tree.h (preserve_data, object_permanent_p, type_precision):
3970 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
3972 * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
3973 * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
3975 * cpp.texi: Update for removal of obsolete features.
3977 Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz>
3978 Jeffrey A Law (law@redhat.com)
3980 * i386.c (ia32_use_dfa_pipeline_interface): New function. Use
3981 the DFA interface for Pentium processors.
3982 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
3983 (attr_pent_pair, ix86_pent_find_pair): Remove.
3984 (ix86_sched_reorder_pentium): Remove.
3985 (ix86_sched_reorder): Remove reordering for Pentium.
3986 * i386.md (Pentium scheduling): Rewrite using DFA description.
3988 Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz>
3990 * cfganal.c (can_fallthru): Fix fast path.
3991 * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
3992 with edges to the next block.
3994 Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz>
3995 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
3997 * final.c (end_final): Use C trees to output data structures for profiling.
3999 * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
4000 (profile.o): New dependency profile.h
4001 (final.o): New dependency profile.h
4002 * profile.h: New file. New global structure profile_info.
4003 * final.h (count_edges_instrumented_now): Declare.
4004 (current_function_cfg_checksum): Declare.
4005 (function_list): New structure.
4006 (functions_head, functions_tail): New static variables.
4007 (end_final): Emits more data, removed some -ax stuff.
4008 (final): Stores function names and chcksums.
4009 * gcov-io.h (__write_gcov_string): New function.
4010 (__read_gcov_string): New function.
4011 * gcov.c (read_profile): New function.
4012 (create_program_flow_graph): Uses read_profile instead of reading
4014 (read_files): Removed da_file checking, it's done by read_profile now.
4015 * libgcc2.c (bb_function_info): New structure.
4016 (bb): New field in structure, removed some -ax stuff.
4017 (__bb_exit_func): Changed structure of da_file.
4018 * profile.c (count_edges_instrumented_now): New global variable.
4019 (current_function_cfg_checksum): New global variable.
4020 (max_counter_in_program): New global variable.
4021 (get_exec_counts): New function.
4022 (compute_checksum): New function.
4023 (instrument_edges): Sets count_edges_instrumented_now.
4024 (compute_branch_probabilities): Uses get_exec_counts instead of
4026 (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
4027 (init_branch_prob): Removed da_file checking, done in get_exec_counts
4029 (end_branch_prob): Removed da_file checking, done in get_exec_counts
4031 * gcov.texi: Updated information about gcov file format.
4033 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
4035 * sbitmap.c: Fix formatting.
4037 * scan-decls.c: Likewise.
4038 * sched-deps.c: Likewise.
4039 * sched-ebb.c: Likewise.
4040 * sched-rgn.c: Likewise.
4041 * sched-vis.c: Likewise.
4042 * sdbout.c: Likewise.
4043 * sibcall.c: Likewise.
4044 * simplify-rtx.c: Likewise.
4046 * ssa-ccp.c: Likewise.
4047 * ssa-dce.c: Likewise.
4049 * stor-layout.c: Likewise.
4050 * stringpool.c: Likewise.
4052 2002-05-09 David S. Miller <davem@redhat.com>
4054 * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
4056 2002-05-07 David S. Miller <davem@redhat.com>
4058 * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
4059 * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
4060 * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
4061 library implementation clobbers the output before the inputs
4062 are fully consumed, use stack temporary for the output.
4064 2002-05-09 Jason Thorpe <thorpej@wasabisystems.com>
4066 * config/netbsd.h (CPP_SPEC): Remove.
4067 * config/i386/netbsd-elf.h (CPP_SPEC): Define.
4068 * config/i386/netbsd.h (CPP_SPEC): Define.
4069 * config/ns32k/netbsd.h (CPP_SPEC): Define.
4070 * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
4071 * config/sparc/netbsd.h (CPP_SPEC): Define.
4072 * config/vax/netbsd.h (CPP_SPEC): Define.
4074 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
4076 * read-rtl.c: Fix formatting.
4078 * recog.c: Likewise.
4079 * regclass.c: Likewise.
4080 * regmove.c: Likewise.
4081 * reg-stack.c: Likewise.
4082 * reload1.c: Likewise.
4083 * reload.c: Likewise.
4084 * resource.c: Likewise.
4085 * rtlanal.c: Likewise.
4087 * rtl-error.c: Likewise.
4089 2002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
4091 * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
4092 * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
4094 2002-05-08 Bernd Schmidt <bernds@redhat.com>
4096 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
4097 use __SSE2__ macro instead.
4098 * config/i386/xmmintrin.h: Likewise.
4100 2002-05-08 Janis Johnson <janis187@us.ibm.com>
4102 * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
4103 and use it in all invocations of these macros. Clean up comments.
4104 * rtl.c (rtl_check_failed_flag): Add an argument for the name
4105 of the flag access macro whose check failed.
4106 * doc/rtl.texi (Flags): Document additional flag uses.
4108 2002-05-08 Robert Spier <rspier@pobox.com>
4109 Neil Booth <neil@daikokuya.demon.co.uk>
4111 PR preprocessor/6521
4112 * cppfiles.c (handle_missing_header): Don't do anything
4113 different for <> includes.
4115 * cppopts.texi: Update documentation for -MG.
4117 2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk>
4119 * cpplex.c (cpp_interpret_charconst): Truncate as well as
4122 * cpp.texi: Clarify multichar charconst valuation.
4124 2002-05-08 Mark Mitchell <mark@codesourcery.com>
4126 * doc/invoke.texi: Document -mwindiss option.
4128 2002-05-08 Jason Merrill <jason@redhat.com>
4130 * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
4132 * dwarf2out.c (gen_type_die): Abort on broken recursion.
4135 * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
4138 2002-05-08 Nick Clifton <nickc@cambridge.redhat.com>
4140 * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
4141 little-endian multilibs to override arm/thumb multilibs.
4142 Do not build hardware floating point multilibs, nor apcs-26
4143 multilibs for the Thumb.
4145 2002-05-08 Mark Mitchell <mark@codesourcery.com>
4148 * varasm.c (mark_weak): New function.
4149 (merge_weak): Use it. Do not call declare_weak.
4150 (declare_weak): Use merge_weak.
4152 Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz>
4154 * cse.c (dead_libcall_p): Update counts.
4155 (delete_trivially_dead_insns): Update call of dead_libcall_p.
4157 Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz>
4159 * cfglayout.c (function_tail_eff_head): Rename to ...
4160 (function_footer): ... this one.
4161 (unlink_insn_chain): New functions.
4162 (label_for_bb): Only call block_label and emit debug message.
4163 (record_effective_endpoints): Actually unlink the headers and footers.
4164 (fixup_reorder_cahin): Re-insert the unlinked sequences.
4165 (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
4166 * cfglayout.h (struct reorder_block_def): New fields footer/header;
4167 remove eff_head/eff_end.
4168 * rtl.h (set_first_insn): Declare.
4169 * emit-rtl.c (set_first_insn): New function.
4171 * cfglayout.c (fixup_reorder_chain): Dump duplicated
4172 (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
4173 cfg_layout_duplicate_bb): New global function.
4174 (duplicate_insn_chain): New static function.
4175 * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
4176 cfg_layout_duplicate_bb): Declare.
4177 (struct reorder_block_def): Add "original" field.
4178 * emit-rtl.c (emit_copy_of_insn_after): New function.
4179 * rtl.h (emit_copy_of_insn_after): Declare.
4181 * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
4182 (fixup_reorder_chain): properly handle edges to exit block.
4184 Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4185 Jan Hubicka <jh@suse.cz>
4187 * basic-block.h (note_prediction_to_br_prob): declare.
4188 * c-semantics.c: Inlucde predit.h
4189 (expand_stmt): predict GOTO_STMT as not taken.
4190 * cfgcleanup.c: (delete_unreachable_blocks): Make global.
4191 (cleanup_cfg): Do not free tail_recursion_list.
4192 * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
4193 (flow_delete_block): Kill predictions past end of basic block.
4194 * output.h (delete_unreachable_blocks): Declare.
4195 * predict.c (predicted_by_p, process_note_predictions,
4196 process_note_prediction, last_block_p): New function.
4197 (estimate_probability): Bypass loop on PRED_CONTINUE;
4198 do not handle noreturn heuristics; kill PRED_RETURN; add
4200 * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
4201 PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
4202 * predict.h (IS_TAKEN): New constant.
4203 * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
4204 * rtl.c (NOTE_INSN_PREDICTION): New.
4205 * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
4207 (insn_note): add NOTE_INSN_PREDICTION.
4208 * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
4209 CFG; free tail_recursion_label_list.
4210 * stmt.c: Include predict.h;
4211 (return_prediction): New.
4212 (expand_value_return): Use it.
4213 * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
4215 2002-05-08 Richard Sandiford <rsandifo@redhat.com>
4217 * config/mips/mips.md: Name the unspecs with define_constant.
4218 (*HILO_delay): Rename to 'hilo_delay' (no star).
4219 (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
4220 (reload_outdi, reload_outsi): Likewise.
4222 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
4224 * toplev.c: Fix formatting.
4226 2002-05-07 Janis Johnson <janis187@us.ibm.com>
4228 * config.in (ENABLE_RTL_FLAG_CHECKING): New.
4229 * configure.in (ac_rtlflag_checking): New.
4230 * doc/install.texi (--enable-checking): Document RTL flag checking.
4232 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
4234 * c-common.c (c_common_init): Set options->unsigned_wchar.
4235 * cppinit.c (cpp_create_reader): Default unsigned_wchar,
4236 group target dependencies.
4237 (init_builtins, cpp_handle_option): Update.
4238 * cpplex.c (cpp_interpret_charconst): Update.
4239 * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
4240 signed_char to unsigned_char, group target dependencies.
4241 * defaults.h (WCHAR_UNSIGNED): Remove.
4242 * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
4244 * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
4245 i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
4246 i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
4247 i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
4248 sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
4250 * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
4252 2002-05-07 Mark Mitchell <mark@codesourcery.com>
4254 * fixinc/inclhack.def (windiss_math1): New fix.
4255 (windiss_math2): Likewise.
4256 (windiss_valist): Likewise.
4257 * fixinc/fixincl.x: Regenerated.
4259 2002-05-07 Andreas Jaeger <aj@suse.de>
4261 * genautomata.c (output_internal_min_issue_delay_func): Add
4262 ATTRIBUTE_UNUSED to avoid warning with empty dfa.
4263 (output_internal_trans_func): Likewise.
4265 Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com)
4267 * pa.c (hppa_profile_hook): Use force_reg to get the address
4268 of the profile hook into an appropriate pseudo register.
4270 2002-05-07 Mark Mitchell <mark@codesourcery.com>
4272 * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
4273 (LINK_START_SPEC): Handle it.
4274 (LINK_OS_SPEC): Likewise.
4275 (CPP_SPEC): Likewise.
4276 (STARTFILE_SPEC): Likewise.
4277 (LIB_SPEC): Likewise.
4278 (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on
4280 (CRTSAVRES_DEFAULT_SPEC): New macro.
4281 (LIB_WINDISS_SPEC): New macro.
4282 (CPP_OS_WINDISS_SPEC): Likewise.
4283 (STARTFILE_WINDISS_SPEC): Likewise.
4284 (ENDFILE_WINDISS_SPEC): Likewise.
4285 (LINK_START_WINDISS_SPEC): Likewise.
4286 (LINK_OS_WINDISS_SPEC): Likewise.
4287 * config/rs6000/windiss.h: New file.
4289 2002-05-07 Aldy Hernandez <aldyh@redhat.com>
4291 * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
4293 2002-05-06 David S. Miller <davem@redhat.com>
4295 * config/sparc/sparc.md (shift insns): Do not mask off
4296 second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
4299 2002-05-06 Richard Henderson <rth@redhat.com>
4302 * expr.c (highest_pow2_factor_for_type): New.
4303 (expand_assignment): Use it.
4305 2002-05-06 Aldy Hernandez <aldyh@redhat.com>
4307 * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
4309 ("altivec_mfvscr"): Same.
4311 2002-05-06 Janis Johnson <janis187@us.ibm.com>
4313 * rtl.h (struct rtx_def): Update comments.
4314 (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare.
4315 (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use
4316 RTL_FLAG_CHECK macros with list of expected RTL codes.
4317 * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
4318 (rtl_check_failed_flag): New.
4319 * reload1.c (reload): Use REG macro before changing rtx to MEM.
4320 (reload_cse_noop_set_p): Check rtx code before using access macro.
4321 * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
4322 before using access macro.
4324 2002-05-06 Janis Johnson <janis187@us.ibm.com>
4326 * doc/rtl.texi (Flags): Update to reflect current usage.
4328 2002-05-06 Roger Sayle <roger@eyesopen.com>
4331 * fold-const.c (sign_bit_p): New function.
4332 (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
4333 (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
4334 Reapply fold when converting (A & C) == C into (A & C) != 0.
4335 (fold_binary_op_with_conditional_arg): Fix typo in comment.
4337 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
4339 * c-common.c (warn_multichar): New.
4340 (c_common_init): Set CPP's warn_multichar.
4341 * c-common.h (warn_multichar): New.
4342 * c-decl.c (warn_multichar): Remove.
4343 * c-lex.c (lex_charconst): Update.
4344 * c-tree.h (warn_multichar): Remove.
4345 * cppexp.c (eval_token): Sign-extend charconst value.
4346 * cppinit.c (cpp_create_reader): Set warn_multichar.
4347 * cpplex.c (cpp_interpret_charconst): Don't sign-extend
4348 each character. Update prototype. Sign-extend the result.
4349 * cpplib.h: Fix conditions.
4350 (struct cpp_options): Add new warning flag.
4351 (cpp_interpret_charconst): Update prototype.
4353 * cpp.texi: Update documentation.
4355 2002-05-06 Vladimir Makarov <vmakarov@redhat.com>
4357 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
4358 Fix typo in usage of allof instead of unit.
4360 2002-05-06 Richard Henderson <rth@redhat.com>
4362 * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
4363 and any jump or call for IN.
4365 2002-05-06 Bernd Schmidt <bernds@redhat.com>
4367 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
4369 * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
4371 2002-05-06 Roger Sayle <roger@eyesopen.com>
4373 * fold-const.c (lshift-double): Cast the high word to an unsigned
4374 HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
4375 (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
4376 avoid compiler warning. (fold): Remove redundant code from
4377 BIT_AND_EXPR as integer operands are canonicalized to be arg1.
4379 2002-05-06 Jeff Law <law@redhat.com>
4381 * pa-protos.h (hppa_fpstore_bypass_p): Declare.
4382 * pa.c (pa_adjust_cost): Remove all true dependency cost
4383 adjustments. Also remove support for non-DFA scheduling.
4384 * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
4385 to adjust true dependency costs. Update various comments.
4386 (7100lc, 7200, 7300 scheduling): Simplify by combining the
4387 FP ALU & MPY units into a single unit.
4389 2002-05-06 Catherine Moore <clm@redhat.com>
4391 * config/v850/v850.c (compute_register_save_size): Make sure
4392 to count all of the registers that will be saved.
4394 Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz>
4396 * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
4398 2002-05-06 David S. Miller <davem@redhat.com>
4400 * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
4401 allow result to overlap input operands in memory.
4403 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
4406 * cpp.texi: Update multichar charconst docs.
4408 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
4410 * cpplex.c (cpp_interpret_charconst): Sign-extend each
4411 character. Don't ignore excess characters. Treat
4412 multicharacter character constants as signed.
4413 (cpp_parse_escape): Clarify diagnostic.
4415 2002-05-05 Jakub Jelinek <jakub@redhat.com>
4417 * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
4418 use add instead of shift.
4419 (ashldi3_sp64): Likewise.
4420 (ashlsi3_const1, ashldi3_const1): Remove.
4421 * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
4422 * config/sparc/sparc.c (const1_operand): New.
4424 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
4426 * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
4428 2002-05-05 Jakub Jelinek <jakub@redhat.com>
4431 * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
4433 2002-05-05 Richard Henderson <rth@redhat.com>
4435 * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
4436 memory latency adjustments.
4437 (alpha_variable_issue): Remove.
4438 (alpha_use_dfa_pipeline_interface): New.
4439 (alpha_multipass_dfa_lookahead): New.
4440 * config/alpha/alpha.md: Remove define_function_unit scheduling;
4441 include new dfa scheduling.
4442 (attr type): Add none.
4444 * config/alpha/ev4.md: New.
4445 * config/alpha/ev5.md: New.
4446 * config/alpha/ev6.md: New.
4448 2002-05-05 David S. Miller <davem@redhat.com>
4450 * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
4452 2002-05-05 Kazu Hirata <kazu@cs.umass.edu>
4454 * cse.c: Fix formatting.
4455 * emit-rtl.c: Likewise.
4457 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
4459 * genautomata.c (initiate_states): Add additional guard to
4460 initialize `units_array'.
4462 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
4464 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
4465 process_unit_to_form_the_same_automaton_unit_lists,
4466 form_the_same_automaton_unit_lists
4467 check_unit_distributions_to_automata): New prototypes and
4469 (check_automata): Rename it into `check_automata_insn_issues'.
4470 (unit_decl): New fields `the_same_automaton_unit' and
4471 `the_same_automaton_message_reported_p'.
4472 (unit_decl_t): New typedef.
4473 (the_same_automaton_lists): New gloval variable.
4474 (unit_regexp, unit_set_el, units_array, units_cmp,
4475 output_get_cpu_unit_code_func): Use the typedef.
4476 (evaluate_max_reserv_cycles): Increment
4477 `description->max_insn_reserv_cycles'.
4478 (initiate_states): Don't increment `max_cycles_num'.
4479 (transform_insn_regexps): Move code around transformation of
4480 regexps from `generate'.
4481 (generate): Remove call of `transform_insn_regexps'.
4482 (expand_automata): Call `transform_insn_regexps' and
4483 `check_unit_distributions_to_automata'. Check errors before
4486 * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
4487 automaton `ultrasparc3_1'.
4489 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
4491 * c-common.c (c_common_init): Set up CPP arithmetic.
4492 * cppinit.c (cpp_create_reader): Default CPP arithmetic to
4493 something reasonable for the host.
4494 (sanity_checks): Add checks.
4495 (cpp_read_main_file): Call sanity_checks() from here...
4496 (cpp_post_options): ... not here.
4497 * cpplex.c (cpp_interpret_charconst): Get max_chars right.
4498 * cpplib.h (struct cpp_options): New member int_precision.
4500 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4502 * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
4504 2002-05-04 David S. Miller <davem@redhat.com>
4506 * config/sparc/linux.h, config/sparc/linux64.h
4507 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
4509 * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
4511 * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
4513 * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
4516 2002-05-05 Tim Josling <tej@melbpc.org.au>
4518 * treelang; New directory for new sample language treelang.
4520 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
4522 * Makefile.in (c-lex.o): Update.
4523 * c-lex.c: Include target.h.
4524 (cb_register_builtins): New.
4525 (init_c_lex): Set builtins callback.
4526 * c-lex.h (cpp_define, cpp_assert): New prototypes.
4527 * cppinit.c (init_builtins): Use callback, including for
4529 * cpplib.h (struct cpp_callbacks): New member.
4530 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
4531 (TARGET_INITIALIZER): Update.
4532 * target.h (struct gcc_target): New hook.
4533 * tree.c (default_register_cpp_builtins): New.
4534 * tree.h (default_register_cpp_builtins): New.
4536 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
4538 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
4540 * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
4541 (cpp_post_options): Move sanity checks to...
4542 (sanity_checks): New.
4543 * cpplex.c (maybe_read_ucs): Fix prototype.
4544 (parse_string, cpp_parse_escape): Cast for %c format specifier.
4545 * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
4548 2002-05-04 Bernd Schmidt <bernds@redhat.com>
4550 * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
4551 builtins. Use V2DI patterns instead of TI for logical operations.
4552 (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
4553 Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
4554 (ix86_expand_builtins): Change the pattern used for movntdq.
4555 * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
4556 sse2_nandv2di3): New patterns.
4557 (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
4559 (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
4560 (cvtdq2pd): Correct mode on operand 1.
4561 (sse2_umulsidi3): Describe without unspec.
4562 (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
4564 (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
4565 (ashlv2di3): Likewise, from sse2_ashlv2di3.
4566 (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
4567 ashlv4si3, ashlv2di3): Use SImode for shift count.
4568 (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
4569 lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
4571 * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
4573 (__m128i, __m128d): New macros.
4574 (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
4575 _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
4576 _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
4577 _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
4578 _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
4579 _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
4580 _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
4581 _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
4582 _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
4583 _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
4584 _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
4585 _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
4586 _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
4587 _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
4588 _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
4589 _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
4590 _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
4591 _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
4592 _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
4593 _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
4594 _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
4595 _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
4596 _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
4597 _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
4598 _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
4599 _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
4600 _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
4601 _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
4602 _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
4603 _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
4604 _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
4605 _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
4606 _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
4607 _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
4608 _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
4609 _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
4610 _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
4612 (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
4613 _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
4615 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
4617 * dwarf2out.c: Fix formatting.
4618 * varasm.c: Likewise.
4620 2002-05-04 David Edelsohn <edelsohn@gnu.org>
4623 * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
4624 clobber and use result as temporary value.
4626 Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz>
4628 * expr.c (force_operand): Use expand_simple_* to handle more
4631 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
4633 * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
4635 (lex_charconst): Update for change in prototype of
4636 cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT
4638 * cpphash.h (BITS_PER_CPPCHAR_T): New.
4639 * cppinit.c (cpp_create_reader): Initialize them for no
4640 change in semantics.
4641 (cpp_post_options): Add sanity checks.
4642 * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
4643 and truncation issues. Calculate in type cppchar_t.
4644 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
4645 (cpp_interpret_charconst): Calculate in type cppchar_t. Handle
4646 run-time dependent precision correctly. Return whether the
4647 result is signed or not.
4648 * cpplib.c (dequote_string): Use cppchar_t; update.
4649 * cpplib.h (cppchar_signed_t): New.
4650 struct cpp_options): New precision members.
4651 (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
4652 * cppexp.c (eval_token): Update.
4654 2002-05-03 David S. Miller <davem@redhat.com>
4656 * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
4657 * config/sparc/sparc.c (sparc_rtx_costs): New function
4658 implementing RTX_COSTS and CONST_COSTS.
4659 * config/sparc/sparc.h (CONST_COSTS): Delete.
4660 (RTX_COSTS_CASES): Define.
4661 (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
4664 * config/sparc/sparc.md (DFA schedulers): Split out...
4665 * config/sparc/cypress.md, config/sparc/hypersparc.md,
4666 config/sparc/sparclet.md, config/sparc/supersparc.md,
4667 config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
4669 * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
4670 checks on it, always defined for Sparc.
4672 * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
4673 Tweak, and add more detailed comments.
4675 2002-05-03 Zack Weinberg <zack@codesourcery.com>
4677 * Re-apply patch accidentally reverted with
4678 DFA scheduler merge: remove all rules and variables to slurp
4679 source files out of libiberty and rebuild them with HOST_CC.
4680 ($(HOST_PREFIX_1)varray.o): New rule.
4681 (genattrtab rule): Word wrap.
4683 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
4685 * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
4686 (CPP_SUBTARGET_SPEC): Define.
4687 (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
4688 cpp_subtarget specs.
4689 (CPP_SPEC): Redefine to include %(cpp_subtarget).
4691 2002-05-03 David S. Miller <davem@redhat.com>
4693 * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
4694 * target.h (struct gcc_target): Delete cycle_display member.
4696 * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
4697 (rtx_needs_barrier): Delete reference to cycle_display unspec.
4698 (ia64_sched_reorder2): Mention need for cycle display handling
4699 once such notes exist.
4701 2002-05-03 Richard Henderson <rth@redhat.com>
4703 * real.c (etoasc): Strip most trailing zeros for clarity.
4704 * sched-vis.c: Include real.h.
4705 (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
4706 * Makefile.in (sched-vis.o): Add real.h.
4708 2002-05-03 David S. Miller <davem@redhat.com>
4710 * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
4713 2002-05-03 Aldy Hernandez <aldyh@redhat.com>
4715 * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
4716 when we get an out of range literal.
4717 (altivec_expand_ternop_builtin): Same.
4718 (altivec_expand_unop_builtin): Same.
4719 (altivec_expand_builtin): Same, for dss.
4720 (altivec_expand_builtin): Use trees instead of rtl when
4721 determining literal argument validity.
4723 2002-05-03 David S. Miller <davem@redhat.com>
4725 Delete cycle display scheduling hook.
4726 * config/ia64/ia64.c (ia64_cycle_display,
4727 TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
4728 (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
4729 and use emit_insn_before instead of ia64_emit_insn_before.
4730 * config/ia64/ia64.md (unspec usage): Delete cycle display.
4731 (cycle_display): Delete insn pattern.
4732 * config/sparc/sparc.md (unspec usage): Delete cycle display.
4733 (cycle_display): Delete insn pattern.
4734 * config/sparc/sparc.c (sparc_cycle_display,
4735 TARGET_SCHED_CYCLE_DISPLAY): Delete.
4736 * doc/md.texi (cycle_display): Don't mention.
4737 * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
4739 2002-05-03 Richard Henderson <rth@redhat.com>
4741 * recog.c (store_data_bypass_p, if_test_bypass_p): New.
4742 * recog.h: Declare them.
4744 * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
4745 * config/sparc/sparc.md: Use store_data_bypass_p instead.
4746 * config/sparc/sparc-protos.h: Update.
4748 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
4750 * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
4751 -D__arch64__. Add -D_LP64.
4752 (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
4754 (CPP_ARCH64_SPEC): Likewise.
4755 (NO_BUILTIN_PTRDIFF_TYPE): Undef.
4756 (NO_BUILTIN_SIZE_TYPE): Undef.
4758 2002-05-03 Vladimir Makarov <vmakarov@redhat.com>
4760 * genautomata.c (min_issue_delay_pass_states): Change return type
4762 (min_issue_delay_pass_states): Change the algorithm.
4763 (min_issue_delay): Set up min_insn_issue_delay for the state.
4764 (output_min_issue_delay_table): Interchange the nested loops and
4765 and initiate min_insn_issue_delay for states.
4767 Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz>
4769 * cfgcleanup.c (try_optimize_cfg): Call merge_block only when
4772 Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
4774 * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
4777 2002-05-03 Richard Henderson <rth@redhat.com>
4780 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
4781 noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
4782 noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
4783 code before JUMP, not EARLIEST.
4785 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
4787 * c-format.c (check_format_info_main): Don't check for presence of
4788 parameter for * width until after operand number has been read,
4789 and only check for it if format parameters are available.
4792 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
4794 * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
4795 (LINK_SPEC): Undef before defining.
4797 2002-05-03 Jakub Jelinek <jakub@redhat.com>
4799 PR preprocessor/6489
4800 * tradcpp.c (fixup_newlines): New.
4801 (main, finclude): Use it.
4803 2002-05-03 Richard Sandiford <rsandifo@redhat.com>
4805 * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
4806 * config/mips/mips.c (mips_unique_section): Strip encoding from
4809 2002-05-03 Jakub Jelinek <jakub@redhat.com>
4811 * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
4814 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4816 * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
4817 (Specific): Removed buildstats references.
4818 (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
4819 (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
4820 Accomodate Solaris versions beyond 8.
4821 (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
4822 (Specific, *-*-solaris2.8): Removed, obsolete.
4824 2002-05-03 Jakub Jelinek <jakub@redhat.com>
4827 * config/sparc/sparc.h (leaf_reg_remap): Remove const.
4828 (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
4829 fill leaf_reg_remap with identity.
4830 * config/sparc/sparc.c (leaf_reg_remap): Remove const.
4832 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
4834 * config/h8300/crti.asm: Remove trailing spaces.
4835 * config/h8300/h8300.c: Likewise.
4836 * config/h8300/lib1funcs.asm: Likewise.
4838 2002-05-02 Jason Merrill <jason@redhat.com>
4840 * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
4841 * c-decl.c (c_init_decl_processing): Use it.
4842 * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
4843 * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
4844 * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
4846 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
4848 * regrename.c: Fix formatting.
4851 Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz>
4853 * i386.md (attribute memory): Handle compares properly.
4855 Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz>
4857 * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
4860 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
4862 * function.c: Fix formatting.
4864 2002-05-02 Jan Hubicka <jh@suse.cz>
4866 * haifa-sched.c (schedule_insn): Print table of instructions and
4868 (sched_block): Do not print ready list at verbosity level 1.
4869 * sched-vis.c (print_insn): Make global.
4870 * sched-ebb.c (ebb_print_insn): Rename from...
4871 (print_insn): ... this one.
4872 * sched-int.h (print_insn): Declare
4874 2002-05-02 Richard Henderson <rth@redhat.com>
4876 * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
4877 emitted by cycle_display.
4879 2002-05-02 Loren J. Rittle <ljrittle@acm.org>
4881 * doc/install.texi (*-*-freebsd*): Update to latest status.
4883 2002-05-02 Jakub Jelinek <jakub@redhat.com>
4886 * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
4887 * config/float-sparc.h: Assume 128-bit long double if
4888 __LONG_DOUBLE_128__ is defined.
4890 2002-05-02 Vladimir Makarov <vmakarov@redhat.com>
4892 * genattrtab.c (write_function_unit_info): Add a dummy element
4893 when num_units == 0.
4895 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4897 * predict.c: (propagate_freq, estimate_bb_frequencies): Use
4898 TYPE_MODE (double_type_node) instead of DFmode.
4900 Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz>
4902 * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
4904 * toplev.c (rest_of_compilation): Revert Richard's patch.
4906 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
4908 * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
4910 2002-05-02 Catherine Moore <clm@redhat.com>
4912 * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
4914 2002-05-02 Kazu Hirata <kazu@hxi.com>
4916 * combine.c: Fix comment typos.
4918 * genautomata.c: Likewise.
4922 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
4924 * doc/install.texi: State GNAT version requirements.
4926 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
4928 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
4929 of the frame pointer or arg pointer register which strict register
4930 checking is not enabled.
4932 2002-05-02 Aldy Hernandez <aldyh@redhat.com>
4934 * gcc.dg/altivec-8.c: New.
4936 * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
4937 PRE_INC and PRE_DEC for altivec modes.
4939 2002-05-01 Bruce Korb <bkorb@gnu.org>
4941 * fixinc/check.tpl(set-writable): make sure the function exists first
4942 * fixinc/inclhack.def(alpha_assert): fix test_text
4943 * fixinc/tests/base/assert.h: add in missing result
4945 2002-05-01 Jeff Law <law@redhat.com>
4947 * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
4950 2002-05-01 Joel Brobecker <brobecker@gnat.com>
4952 * dbxout.c (dbxout_type): Emit size information for range types,
4953 as well, but only when using GDB extensions.
4955 2002-05-01 Richard Henderson <rth@redhat.com>
4957 * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
4958 target-independent gnu binutils date test.
4960 2002-05-01 Richard Henderson <rth@redhat.com>
4962 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
4963 info before expunging the block.
4965 2002-05-01 Jakub Jelinek <jakub@redhat.com>
4967 * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
4968 (cpp_post_options): ...but here. Disable -dD, -dN and -dI when
4969 -M -or -MM is in effect.
4971 2002-05-01 Zack Weinberg <zack@codesourcery.com>
4973 * config.gcc: Correct test of --enable-obsolete. Obsolete all
4974 A29k configurations.
4975 * doc/install.texi: Update to match.
4977 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4980 * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
4981 for duplicates. Always loop over whole list.
4983 Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4985 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
4987 2002-05-01 Joel Sherrill <joel@OARcorp.com>
4989 * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
4992 2002-05-01 Joel Sherrill <joel@OARcorp.com>
4994 * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
4996 2002-05-01 David Edelsohn <edelsohn@gnu.org>
4998 * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
4999 (nabs_nopower): Same.
5000 (floatdisf2): New pattern.
5001 (absdi2): Convert to define_insn_and_split.
5006 (fix_trunctfdi2): Same.
5007 (fix_trunctfsi2): Same.
5009 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk>
5011 * doc/install.texi: Update Texinfo version requirement
5014 2002-05-01 Jakub Jelinek <jakub@redhat.com>
5016 PR target/6512, PR target/5628
5017 * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
5018 when memory is not aligned.
5019 (movdf_insn_v9only_vis): Likewise.
5020 * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
5021 temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
5022 (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
5024 2002-05-01 Aldy Hernandez <aldyh@redhat.com>
5026 * gcc.dg/altivec-7.c: New.
5028 * config/rs6000/altivec.h: Cleanup.
5030 2002-04-30 Aldy Hernandez <aldyh@redhat.com>
5032 * doc/invoke.texi (Option Summary): Add -mvrsave=.
5033 (RS/6000 and PowerPC Options): Document -mvrsave=.
5035 * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
5036 (rs6000_altivec_vrsave_string): Same.
5037 (rs6000_override_options): Call rs6000_parse_vrsave_option.
5038 (rs6000_parse_vrsave_option): New.
5039 (rs6000_stack_info): Only generate vrsave instructions when
5040 TARGET_ALTIVEC_VRSAVE.
5042 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
5043 (rs6000_altivec_vrsave_string): Define extern.
5044 (rs6000_altivec_vrsave): Same.
5045 (TARGET_ALTIVEC_VRSAVE): New.
5047 2002-04-30 Richard Henderson <rth@redhat.com>
5050 * toplev.c (rest_of_compilation): Don't run cross-jump before
5053 2002-04-30 Tom Rix <trix@redhat.com>
5055 * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
5056 check which_alternative.
5058 2002-04-30 Kazu Hirata <kazu@hxi.com>
5060 * cpplex.c: Fix comment formatting.
5061 * function.c: Likewise.
5062 * integrate.c: Likewise.
5063 * regrename.c: Likewise.
5064 * sibcall.c: Likewise.
5065 * simplify-rtx.c: Likewise.
5066 * tree-inline.c: Likewise.
5068 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
5070 * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
5071 hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
5072 hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
5073 hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
5074 * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
5075 * pa/x-ada: New file. Define ADA_CFLAGS.
5077 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com>
5079 * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
5080 from MMIX_LAST_REGISTER_FILE_REGNUM.
5081 (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
5082 (struct machine_function): New member highest_saved_stack_register
5083 previously static variable in mmix.c.
5084 (MACHINE_DEPENDENT_REORG): Define.
5085 * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
5086 (MMIX_OUTPUT_REGNO): New.
5087 (mmix_target_asm_function_prologue): Move calculation of last used
5088 saved-stack-register into...
5089 (mmix_machine_dependent_reorg): New function. Update to also handle
5091 (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
5092 register names, simplify somewhat by new variable regno.
5093 <case 'p'>: Remove fixed FIXME. Always emit highest used saved
5095 (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
5096 emitting register names.
5097 (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
5098 (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
5100 * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
5103 * config/mmix/mmix.md ("divmoddi4"): Update head comment.
5105 2002-04-30 Richard Henderson <rth@redhat.com>
5107 * config/sparc/sparc.c (emit_soft_tfmode_libcall,
5108 emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
5109 emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
5110 emit_tfmode_cvt): New.
5111 * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
5112 trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
5113 fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
5114 addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
5115 * config/sparc/sparc-protos.h: Update.
5117 2002-04-30 Janis Johnson <janis187@us.ibm.com>
5119 * install.texi (Final install): Add to the list of info to include
5120 in a report of a successful bootstrap, and add link to 3.1 list.
5122 Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz>
5124 * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
5125 (mode): Add vector modes
5126 (i387): Kill attribute.
5127 (unit): New attribute.
5128 (length_immediate): Grok new types.
5129 (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
5130 (modrm): Use "unit".
5131 (memory): Handle MMX/SSE properly.
5132 (scheduling descriptions): Kill uses of fop1.
5133 (sse, mmx, fp patterns): Set type and mode properly.
5135 Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@redhat.com)
5137 * pa.c (override_options): Default to PA8000 scheduling.
5138 * doc/invoke.texi (HP-PA options): Mention newly added 7300
5139 scheduling parameter.
5141 * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
5142 handling of double precision multiplies.
5144 * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
5145 fpdiv and fpsqrt instructions.
5146 (7200 & 7300 scheduling): Fix typo in handling of
5147 store-load and store-store penalties.
5149 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5151 * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
5152 mips. Add two missing commas.
5154 2002-04-30 Paolo Carlini <pcarlini@unitus.it>
5156 * doc/contrib.texi (Contributors): Update Paolo Carlini's
5157 and Benjamin Kosnik's entries.
5159 2002-04-29 David S. Miller <davem@redhat.com>
5161 * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
5162 SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
5163 * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
5164 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
5166 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5168 * combine.c (find_split_point): Use gen_int_mode.
5170 2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
5172 Merging code from dfa-branch:
5174 2002-04-24 Vladimir Makarov <vmakarov@redhat.com>
5176 * genautomata.c (output_reserv_sets): Fix typo.
5178 2002-04-23 Vladimir Makarov <vmakarov@redhat.com>
5180 * genautomata.c (output_reserv_sets): Remove
5181 next_cycle_output_flag.
5183 Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com)
5185 * sched-rgn.c (init_ready_list): Make the DFA code handle
5186 USE/CLOBBER insns in the same way as the traditional
5188 (new_ready): Similarly..
5190 2002-04-17 Vladimir Makarov <vmakarov@redhat.com>
5192 * haifa-sched.c (schedule_block): Change the DFA state only after
5195 Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com)
5197 * pa.c (hppa_use_dfa_pipeline_interface): New function.
5198 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
5199 (override_options): Add PA7300 scheduling support.
5200 (pa_adjust_cost): Update various comments. Properly
5201 handle anti and output dependencies when using the
5203 (pa_issue_rate): Add PA7300 scheduling support.
5204 (pa_can_combine_p): Call extract_insn before calling
5205 constrain_operands (taken from mainline tree).
5206 * pa.h (enum processor_type): Add PROCESSOR_PA7300.
5207 * pa.md (cpu attr): Add 7300. Rewrite pipeline
5208 descriptions using DFA descriptions. Add PA7300
5211 2002-03-30 David S. Miller <davem@redhat.com>
5213 Add UltraSPARC-III DFA scheduling support.
5214 * config/sparc/sparc.md (define_attr type): Add fpcrmove.
5215 Update FP conditional move on register insn patterns to use it, as
5217 (define_attr cpu): Add ultrasparc3.
5218 (define_attr us3load_type): New, update integer load patterns to
5219 set it, as appropriate.
5220 (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
5221 (rest): Add UltraSPARC3 scheduling description.
5222 * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
5223 (PROCESSOR_ULTRASPARC3): New.
5224 ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
5225 ({ASM,CPP}_CPU_SPEC): Likewise.
5226 (REGISTER_MOVE_COST): Likewise.
5227 (RTX_COSTS): Likewise.
5228 * config/sparc/sparc.c (sparc_override_options,
5229 sparc_initialize_trampoline, sparc64_initialize_trampoline,
5230 sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
5231 sparc_issue_rate): Likewise.
5232 * config/sparc/sol2.h: Likewise.
5233 * config/sparc/sol2-sld-64.h: Likewise.
5234 * config/sparc/linux64.h: Likewise.
5236 2002-03-22 Vladimir Makarov <vmakarov@redhat.com>
5238 * doc/md.texi: Add comments about usage the latency time for the
5239 different dependencies and about case when two or more conditions
5240 in different define_insn_reservations returns TRUE for an insn.
5242 * doc/md.texi: Add reference for automaton based pipeline
5245 2002-03-04 Vladimir Makarov <vmakarov@redhat.com>
5247 * doc/passes.texi: Add missed information about genattrtab.
5249 2002-03-01 Vladimir Makarov <vmakarov@redhat.com>
5251 * genautomata.c (output_automata_list_transition_code): Check
5252 automata_list on NULL.
5254 2002-02-28 Vladimir Makarov <vmakarov@redhat.com>
5256 * genautomata.c (output_insn_code_cases,
5257 output_automata_list_min_issue_delay_code,
5258 output_automata_list_transition_code,
5259 output_automata_list_state_alts_code): Comment the functions.
5261 2002-02-22 Vladimir Makarov <vmakarov@redhat.com>
5263 * genautomata.c (automata_list_el_t): New typedef.
5264 (get_free_automata_list_el,free_automata_list_el,
5265 free_automata_list, automata_list_hash, automata_list_eq_p,
5266 initiate_automata_lists, automata_list_start, automata_list_add,
5267 automata_list_finish, finish_automata_lists,
5268 output_insn_code_cases, output_automata_list_min_issue_delay_code,
5269 output_automata_list_transition_code,
5270 output_automata_list_state_alts_code, add_automaton_state,
5271 form_important_insn_automata_lists): New functions and prototypes.
5272 (insn_reserv_decl): Add members important_automata_list and
5274 (ainsn): Add members important_p.
5275 (automata_list_el): New structure.
5276 (first_free_automata_list_el, current_automata_list,
5277 automata_list_table): New global variables.
5278 (create_ainsns): Initiate member important_p.
5279 (output_internal_min_issue_delay_func): Generate the switch and
5280 call output_insn_code_cases.
5281 (output_internal_trans_func, output_internal_state_alts_func):
5283 (generate): Call initiate_automata_lists.
5284 (automaton_states): New global variable.
5285 (expand_automata): Call form_important_insn_automata_lists.
5286 (write_automata): Call finish_automata_lists.
5288 2002-02-21 Vladimir Makarov <vmakarov@redhat.com>
5290 * genautomata.c (add_excls, add_presence_absence): Check that
5291 cpu units in the sets belong the same automaton.
5293 * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
5294 about that cpu units in the sets belong the same automaton.
5296 * doc/md.texi: Ditto.
5298 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com>
5299 Nitin Gupta <niting@noida.hcltech.com>
5301 * config/sh/sh.c (sh_use_dfa_interface): New function.
5303 (sh_issue_rate): New Function.
5304 TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
5305 TARGET_SCHED_ISSUE_RATE: define.
5307 * config/sh/sh.md: Add DFA based pipeline description for SH4.
5309 (define_attr insn_class): New attribute used for DFA
5311 (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
5312 (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
5313 cmpeqdi_t): Likewise.
5315 (add,addc1,addsi3,subc,subc1,*subsi3_internal,
5316 negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
5318 (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
5320 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
5322 * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
5325 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
5327 * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
5328 (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
5330 (output_dfa_start_func): Initiate new variable insn_codes_length,
5331 (write_automata): Output definition of the new variable.
5333 2001-10-02 David S. Miller <davem@redhat.com>
5335 * haifa-sched.c (advance_one_cycle): New function.
5336 (schedule_block): Use it.
5337 (queue_to_ready): Use it, and also make sure to advance the DFA
5338 state on all stall cycles, not just those where insn_queue links
5341 2001-10-02 Richard Sandiford <rsandifo@redhat.com>
5343 * haifa-sched.c (max_issue): Remove last_p argument. Only return
5344 non-zero if the highest-priority instruction could be scheduled.
5345 (choose_ready): Remove last argument from max_issue call.
5347 2001-09-28 David S. Miller <davem@redhat.com>
5349 * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
5350 ultrasparc and 3 for other multi-issue sparcs.
5352 2001-09-27 David S. Miller <davem@redhat.com>
5354 * config/sparc/sparc.md (cycle_display): New pattern.
5355 * config/sparc/sparc.c (sparc_cycle_display): New.
5356 (TARGET_SCHED_CYCLE_DISPLAY): Set it.
5358 2001-09-25 David S. Miller <davem@redhat.com>
5360 Convert all of Sparc scheduling to DFA
5361 * config/sparc/sparc.md: Kill all define_function_unit
5362 directives and replace with DFA equivalent.
5363 * config/sparc/sparc.c (ultrasparc_adjust_cost,
5364 mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
5365 ultra_fpmode_conflict_exists, ultra_find_type,
5366 ultra_build_types_avail, ultra_flush_pipeline,
5367 ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
5368 ultrasparc_variable_issue, ultrasparc_sched_init,
5369 sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
5370 ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
5371 ultra_cur_hist, ultra_cycles_elapsed): Kill.
5372 (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
5373 ultrasparc_store_bypass_p): New.
5374 * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
5377 2001-09-24 David S. Miller <davem@redhat.com>
5379 * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
5380 ready->vec[foo] not ready[foo].
5382 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
5384 * doc/md.texi: Correct examples for define_insn_reservations
5387 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
5389 * genautomata.c (create_automata): Print message about creation of
5391 (generate): Remove printing meease about creation of
5394 2001-09-05 David S. Miller <davem@redhat.com>
5396 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
5397 * config/sparc/linux64.h: Likewise.
5399 2001-08-31 Vladimir Makarov <vmakarov@redhat.com>
5401 * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
5402 schedule_block, sched_init, sched_finish): Add missed calls of
5403 use_dfa_pipeline_interface.
5405 * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
5408 * sched-vis.c (get_visual_tbl_length): Ditto.
5410 2001-08-27 Richard Henderson <rth@redhat.com>
5412 * genattr.c (main): Emit state_t even when not doing scheduling.
5414 2001-08-27 Richard Henderson <rth@redhat.com>
5416 * genautomata.c (expand_automata): Always create a description.
5418 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
5420 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
5421 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
5422 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
5425 * genattr.c (main): New variable num_insn_reservations. Increase
5426 it if there is DEFINE_INSN_RESERVATION. Output automaton based
5427 pipeline hazard recognizer interface.
5429 * genattrtab.h: New file.
5431 * genattrtab.c: Include genattrtab.h.
5432 (attr_printf, check_attr_test, make_internal_attr,
5433 make_numeric_value): Move protypes into genattrtab.h. Define them
5435 (num_dfa_decls): New global variable.
5436 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
5437 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
5438 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
5439 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
5441 * genautomata.c: New file.
5443 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
5445 * sched-int.h: (curr_state): Add the external definition for
5446 automaton pipeline interface.
5447 (haifa_insn_data): Add comments for members blockage and units.
5449 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5450 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5451 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
5452 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
5453 TARGET_SCHED_DFA_POST_CYCLE_INSN,
5454 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5455 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
5457 (TARGET_SCHED): Use the new macros.
5459 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
5460 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
5461 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
5462 dfa_bubble): New members in gcc_target.sched.
5464 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
5465 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
5466 (insn_queue): Redefine it as pointer to array.
5467 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
5469 (max_insn_queue_index_macro_value): New variable.
5470 (curr_state, dfa_state_size, ready_try): New varaibles for
5471 automaton interface.
5472 (ready_element, ready_remove, max_issue): New function prototypes
5473 for automaton interface.
5474 (choose_ready): New function prototype.
5475 (insn_unit, blockage_range): Add comments.
5476 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
5477 FUNCTION_UNITS_SIZE == 0.
5478 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
5479 actual_hazard, potential_hazard): Add comments.
5480 (insn_cost): Use cost -1 as undefined value. Remove
5481 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
5483 (ready_element, ready_remove): New functions for automaton
5485 (schedule_insn): Add new code for automaton pipeline interface.
5486 (queue_to_ready): Add new code for automaton pipeline interface.
5487 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
5488 (debug_ready_list): Print newline when the queue is empty.
5489 (max_issue): New function for automaton pipeline interface.
5490 (choose_ready): New function.
5491 (schedule_block): Add new code for automaton pipeline interface.
5492 Print ready list before scheduling each insn.
5493 (sched_init): Add new code for automaton pipeline interface.
5494 Initiate insn cost by -1.
5495 (sched_finish): Free the current automaton state and finalize
5496 automaton pipeline interface.
5498 * sched-rgn.c: Include target.h.
5499 (init_ready_list, new_ready, debug_dependencies): Add new code for
5500 automaton pipeline interface.
5502 * sched-vis.c: Include target.h.
5503 (get_visual_tbl_length): Add code for automaton interface.
5504 (target_units, print_block_visualization): Add comments.
5506 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
5507 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
5508 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
5509 (getruntime.o, genautomata.o): New entries.
5510 (genattrtab.o): Add new dependency file genattrtab.h.
5511 (genattrtab): Add new dependencies. Link it with `libm.a'.
5512 (getruntime.o, hashtab.o): New entries for canadian cross.
5514 * doc/md.texi: Description of automaton based model.
5516 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
5518 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5519 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
5520 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5521 TARGET_SCHED_DFA_POST_CYCLE_INSN,
5522 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
5523 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5524 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
5526 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
5527 MAX_DFA_ISSUE_RATE): New macro descriptions.
5529 * doc/contrib.texi: Add dfa based scheduler contribution.
5531 * doc/gcc.texi: Add more information about genattrtab.
5533 Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5535 * reload1.c (eliminate_regs, case SUBREG): Fix typo in
5536 adjust_address_nv call.
5538 2002-04-29 Janis Johnson <janis187@us.ibm.com>
5540 * doc/install.texi (Testing): Provide additional information, and
5541 a stronger encouragement, for running the testsuites.
5543 2002-04-29 DJ Delorie <dj@redhat.com>
5545 * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
5546 given in upper case.
5548 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5550 * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
5551 Solaris 2 <widec.h> if missing.
5552 * fixinc/fixincl.x: Regenerate.
5553 * fixinc/tests/base/widec.h: New file.
5555 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com>
5557 * toplev.c (f_options): Add "profile" switch so that
5558 -fno-profile can be used to disable -p.
5560 2002-04-29 Bernd Schmidt <bernds@redhat.com>
5562 * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
5564 * tree.c (build_common_tree_nodes_2): Likewise.
5565 * tree.h (enum tree_index): Likewise.
5566 (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
5568 * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
5570 (init_mmx_sse_builtins): Initialize SSE2 builtins.
5571 (ix86_expand_builtin): Add support for SSE2 builtins.
5572 * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
5573 (VALID_SSE_REG_MODE): Use it.
5574 (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
5575 (enum ix86_builtins): Add SSE2 builtins.
5576 * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
5577 movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
5578 addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
5579 divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
5580 sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
5581 vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
5582 vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
5583 sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
5584 cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
5585 cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
5586 cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
5587 ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
5588 subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
5589 mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
5590 sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
5591 sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
5592 sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
5593 gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
5594 ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
5595 ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
5596 sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
5597 sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
5598 sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
5599 sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
5600 sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
5601 sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
5602 lfence_insn): New patterns.
5603 (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
5604 sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
5606 Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz>
5608 * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
5610 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5612 * doc/contrib.texi (Contributors): Add Paolo Carlini and
5614 Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
5615 Refer to Objective-C instead of ObjC, SPARC instead of sparc,
5616 and CPU instead of cpu.
5618 Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
5620 * toplev.c (flag_if_conversion, flag_if_conversion2): New static
5622 (lang_independent_options): Add -fif-conversion, -fif-conversion2
5623 (rest_of_compilation): Do if conversion only when asked for.
5624 (parse_options_and_default_flags): Set new variables to 1 for -O1
5625 * invoke.texi (-fif-conversion, -fif-conversion2): Document.
5627 Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz>
5629 * i386.c (dbx64_register_map): Fix typo.
5631 Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz>
5633 * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
5634 real_one_half, real_bb_freq_max): New static variables.
5635 (debug_profile_bbauxs): Kill.
5636 (process_note_predictions): Kill unused variable.
5637 (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
5639 (propagate_freq): Use REAL_ARITHMETICS.
5640 (estimate_bb_frequencies): Likevise; init new static variables.
5641 * Makefile.in (predict.o): Add dependency on real.h
5643 2002-04-28 David S. Miller <davem@redhat.com>
5646 * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
5647 64-bit TARGET_V9. Do not use prefetch page, use prefetch for
5648 several {reads,writes} instead.
5649 * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
5652 2002-04-27 David S. Miller <davem@redhat.com>
5655 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
5658 * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
5659 including signal.h and sys/ucontext.h, not needed.
5661 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com>
5663 * varasm.c (output_constant_def): Correct test for not calling
5664 ENCODE_SECTION_INFO for INTEGER_CST.
5666 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk>
5668 * cppexp.c (lex): Move some code to _cpp_parse_expr, but
5669 keep most cases as function eval_token.
5670 (eval_token): New function.
5671 (_cpp_parse_expr): Read token here for improved diagnostics.
5672 Don't use op_as_text. Detect bad ':' here.
5673 (reduce): Don't detect bad ':' here.
5674 (op_as_text): Remove.
5675 * cpphash.h (_cpp_test_assertion): Change prototype.
5676 * cpplib.c (_cpp_test_assertion): Change prototype.
5678 2002-04-28 Richard Henderson <rth@redhat.com>
5681 * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
5682 (ggc_mark_rtx_children): New.
5684 2002-04-28 Jakub Jelinek <jakub@redhat.com>
5687 * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
5688 after call peepholes for UltraSPARC.
5689 (call + jump 64-bit peepholes): Remove.
5691 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5694 * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
5695 result as temporary value.
5697 2002-04-28 Jakub Jelinek <jakub@redhat.com>
5700 * toplev.c (rest_of_compilation): Only run regrename and copy
5701 propagation if optimizing.
5703 2002-04-28 Jakub Jelinek <jakub@redhat.com>
5705 PR optimization/6475
5706 * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
5707 register of REGNO_DECL (i).
5708 * Makefile.in (reload1.o): Add $(TREE_H).
5710 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk>
5712 * cppexp.c (lex): Update to use state.skip_eval.
5713 (struct op): Remove prio and flags members.
5714 (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
5715 SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
5716 (LEFT_ASSOC): New macro.
5717 (optab): New table of operator priorities and flags.
5719 (_cpp_parse_expr): Clean up logic. Return bool. Use a
5720 malloc-ed parser stack.
5721 (reduce): New; reduce the operator stack.
5722 (_cpp_expand_op_stack): Expand the operator stack as necessary.
5723 * cpphash.h (struct op): Predeclare.
5724 (struct cpp_reader): New members op_stack, op_limit.
5725 (struct lexer_state): New member skip_eval.
5726 (_cpp_parse_expr): Update.
5727 (_cpp_expand_op_stack): New.
5728 * cpplib.c (do_if): Update.
5729 * cppinit.c (cpp_create_reader): Create op stack.
5730 (cpp_destroy): And destroy it.
5731 * cpplib.h (CPP_LAST_CPP_OP): Correct.
5732 (TTYPE_TABLE): Correct.
5734 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5737 * c-decl.c (duplicate_decls): Call merge_weak.
5738 * c-pragma.c (apply_pragma_weak): Warn about misuse.
5739 * output.h (merge_weak): Prototype merge_weak.
5740 * varasm.c (merge_weak): New function.
5741 (declare_weak): Make sure we don't give an error on VAR_DECLs.
5742 Mark RTL with SYMBOL_REF_WEAK.
5744 2002-04-27 Kurt Garloff <garloff@suse.de>
5746 * tree-inline.c (inlinable_function_p): Improve heuristics
5747 by using a smoother function to cut down allowable inlinable size.
5748 * param.def: Add parameters max-inline-insns-single,
5749 max-inline-slope, min-inline-insns that determine the exact
5750 shape of the above function.
5751 * param.h: Likewise.
5753 2002-04-26 Richard Henderson <rth@redhat.com>
5755 * c-parse.in (malloced_yyss, malloced_yyvs): New.
5756 (yyoverflow): Re-add. Set them.
5757 (free_parser_stacks): New.
5758 * c-common.h: Declare it.
5759 * c-lex.c (c_common_parse_file): Call it.
5761 2002-04-26 Richard Henderson <rth@redhat.com>
5763 * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
5764 for fallthru search.
5766 2002-04-26 Eric Christopher <echristo@redhat.com>
5768 PR optimization/3700
5769 * config/mips/mips.c (mips_issue_rate): Define. New function.
5770 (TARGET_SCHED_ISSUE_RATE): Use.
5772 2002-04-25 David S. Miller <davem@redhat.com>
5775 * reorg.c (optimize_skip): Do not allow exception causing
5776 instructions to be considered for delay slots.
5777 (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
5778 (relax_delay_slots): Do not try to consider exception causing
5779 instructions as redundant.
5781 2002-04-26 Richard Henderson <rth@redhat.com>
5784 * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
5786 2002-04-26 Mark Mitchell <mark@codesourcery.com>
5789 * config/i386/i386.md (untyped_call): Return the value in a float
5790 register if TARGET_FLOAT_RETURNS_IN_80387, not just if
5793 2002-04-26 Alexandre Oliva <aoliva@redhat.com>
5795 * tree.c (tree_int_cst_lt): Compare constants whose types differ
5796 in unsigned-ness correctly.
5798 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
5800 * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
5801 portable runtime model.
5803 2002-04-26 Richard Henderson <rth@redhat.com>
5805 * c-parse.in (yyoverflow): Revert.
5807 2002-04-26 David Edelsohn <edelsohn@gnu.org>
5808 Richard Henderson <rth@redhat.com>
5810 * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
5811 result as temporary value.
5813 2002-04-26 Richard Henderson <rth@redhat.com>
5816 * c-common.c (fix_string_type): Split out of ...
5817 (combine_strings): ... here. Take a varray, not a tree list.
5818 (c_expand_builtin_printf): Use fix_string_type.
5819 * c-common.h: Update decls.
5820 * c-parse.in (string): Remove. Update all uses to use STRING
5821 instead, and not call combine_strings.
5824 * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
5825 (build_asm_stmt): Likewise.
5826 * objc/objc-act.c (my_build_string): Use fix_string_type.
5827 (build_objc_string_object): Build varray for combine_strings.
5829 2002-04-26 Bo Thorsen <bo@suse.co.uk>
5831 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
5834 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk>
5836 * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
5837 (HAVE_NO_R_OPERAND): Remove.
5838 (HAVE_VALUE): Remove.
5839 (op_to_prio): Update.
5840 (UNARY): Don't alter flags.
5841 (_cpp_parse_expr): want_value used to indicate whether
5842 a number or unary operator is expected next. Distinguish
5843 unary and binary +/-.
5844 (op_as_text): Update for unary operators.
5846 2002-04-25 Richard Henderson <rth@redhat.com>
5849 * c-parse.in (yyoverflow): New.
5851 2002-04-25 Richard Henderson <rth@redhat.com>
5854 * c-common.c (shorten_compare): Simplfy conditions leading to
5855 the generation of a warning.
5857 2002-04-25 Richard Henderson <rth@redhat.com>
5860 * expmed.c (extract_bit_field): Fall through to generic code rather
5861 than aborting on subreg special case.
5863 2002-04-25 David S. Miller <davem@redhat.com>
5865 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
5866 for DECL being NULL.
5868 2002-04-25 Steve Christiansen <smc@us.ibm.com>
5870 * doc/md.texi (Machine Constraints): Add IA-64 constraints.
5872 2002-04-25 Eric Botcazou <ebotcazou@multimania.com>
5874 * c-decl.c (grokdeclarator): Remove outdated ??? note
5875 on invalid declaration of flexible array members.
5877 2002-04-25 Richard Henderson <rth@redhat.com>
5879 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
5881 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
5883 * config/s390/s390.c (s390_emit_epilogue): Always restore registers
5884 needed by the compiler, even if they are used as global regs.
5886 2002-04-25 Matt Hiller <hiller@redhat.com>
5888 * mips.c (mips_class_max_nregs, mips_register_move_cost): New
5890 * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
5891 of the corresponding functions.
5892 * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
5895 2002-04-25 Matt Hiller <hiller@redhat.com>
5897 * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
5899 (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
5900 (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
5901 registers, adjust comment accordingly.
5902 (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
5903 reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
5904 DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
5905 for coprocessor registers.
5906 (ADDITIONAL_REGISTER_NAMES): Include
5907 ALL_COP_ADDITIONAL_REGISTER_NAMES.
5909 (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
5910 COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
5911 COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
5912 COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
5913 COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
5915 (mips_char_to_class): Adjust comment to include coprocessor
5918 * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
5920 (mips_reg_names, mips_regno_to_class): Include coprocessor
5922 (mips_sw_reg_names): Ditto, make non-static.
5923 (mips_move_1word): Handle moves to and from coprocessor registers.
5924 (mips_move_2words): Handle moves to and from coprocessor
5926 (mips_class_max_nregs, mips_register_move_cost): Handle
5927 coprocessor register classes.
5928 (override_options): Initialize mips_char_to_class and
5929 mips_hard_regno_mode_ok properly for coprocessor registers.
5931 * config/mips/mips.md (movdi_internal, movdi_internal2,
5932 movsi_internal1, movsi_internal2): Add constraint-sets for
5933 coprocessor registers.
5934 * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
5935 * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
5937 * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
5938 * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
5940 * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
5941 * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
5943 * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
5944 * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
5947 * doc/tm.texi: Document feature.
5949 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
5951 * integrate.c (function_attribute_inlinable_p): Simplify.
5952 Check the table pointer is not NULL.
5954 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl>
5956 * doc/c-tree.texi: Fix typo in introduction.
5958 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
5960 * c-common.h (c_common_parse_file): Update.
5961 * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
5962 * c-lex.c (YYDEBUG): Get from c-lex.h.
5963 (c_common_parse_file): Update.
5964 * c-lex.h (YYDEBUG, yydebug): New.
5965 * c-parse.in (YYDEBUG): Get from c-lex.h.
5966 (c_set_yydebug): Remove.
5967 * c-tree.h (c_set_yydebug): Remove.
5968 * langhooks-def.h (lhd_do_nothing_i): New.
5969 (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
5970 (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
5971 * langhooks.c (lhd_do_nothing_i): New.
5972 (lhd_set_yydebug): Remove.
5973 * langhooks.h (struct lang_hooks): Update.
5974 * toplev.c (set_yydebug): New.
5975 (compile_file): Update call to parse_file hook.
5976 (decode_d_option): Update.
5978 * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
5980 Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com>
5982 * loop.c (load_mems): Don't change the interface of called functions.
5984 * calls.c (expand_call): Take current_function_pretend_args_size
5985 into account when setting argblock for sibcalls.
5987 2002-04-24 Matt Hiller <hiller@redhat.com>
5989 * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
5992 * cpplex.c (skip_line_comment): Process comment one multibyte
5993 character at a time rather than one char at a time, if
5995 (parse_string): Process string one multibyte character at a time
5996 rather than one char at a time, if appropriate.
5997 * c-lex.c (lex_string): Lex and copy multibyte strings
5999 * cpplib.h (cppchar_t): Change to unsigned.
6001 2002-04-24 Richard Henderson <rth@redhat.com>
6004 * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
6007 Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com>
6009 * sh.c (sh_va_arg): If argument was passed by reference,
6010 dereference the pointer.
6012 * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
6014 * sh.md (divsi3_i4_media): Use match_operand for input values
6015 rather than hard registers.
6016 (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
6017 unnecessarily through hard registers. Keep copies of pseudo
6018 registers outside of the libcall sequence.
6020 * sh.md (casesi_shift_media): Add modes.
6022 * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
6025 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
6027 * attribs.c (c_common_attribute_table): Move table and handlers
6029 (format_attribute_table, lang_attribute_table,
6030 lang_attribute_common): Remove.
6031 (init_attributes): Replace NULL pointers with pointers to the
6033 (handle_packed_attribute, handle_nocommon_attribute,
6034 handle_common_attribute, handle_noreturn_attribute,
6035 handle_noinline_attribute, handle_always_inline_attribute,
6036 handle_used_attribute, handle_unused_attribute,
6037 handle_const_attribute, handle_transparent_union_attribute,
6038 handle_constructor_attribute, handle_destructor_attribute,
6039 handle_mode_attribute, handle_section_attribute,
6040 handle_aligned_attribute, handle_weak_attribute,
6041 handle_alias_attribute, handle_visibility_attribute,
6042 handle_no_instrument_function_attribute, handle_malloc_attribute,
6043 handle_no_limit_stack_attribute, handle_pure_attribute,
6044 handle_deprecated_attribute, handle_vector_size_attribute,
6045 vector_size_helper): Move to c-common.c.
6046 * c-common.c (c_common_attribute_table,
6047 handle_packed_attribute, handle_nocommon_attribute,
6048 handle_common_attribute, handle_noreturn_attribute,
6049 handle_noinline_attribute, handle_always_inline_attribute,
6050 handle_used_attribute, handle_unused_attribute,
6051 handle_const_attribute, handle_transparent_union_attribute,
6052 handle_constructor_attribute, handle_destructor_attribute,
6053 handle_mode_attribute, handle_section_attribute,
6054 handle_aligned_attribute, handle_weak_attribute,
6055 handle_alias_attribute, handle_visibility_attribute,
6056 handle_no_instrument_function_attribute, handle_malloc_attribute,
6057 handle_no_limit_stack_attribute, handle_pure_attribute,
6058 handle_deprecated_attribute, handle_vector_size_attribute,
6059 vector_size_helper): Move from attribs.c.
6060 * c-common.h (c_common_attribute_table,
6061 c_common_format_attribute_table): New.
6062 * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
6063 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
6064 * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
6065 LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
6066 (LANG_HOOKS_INITIALIZER): Update.
6067 * langhooks.h (struct lang_hooks): 3 new attribute hooks.
6068 * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
6069 * target.h: Update comment.
6070 * tree.c (default_target_attribute_table): Remove.
6071 * tree.h (default_target_attribute_table, format_attribute_table,
6072 lang_attribute_table, lang_attribute_common): Remove.
6074 * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
6075 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
6077 2002-04-24 Jason Merrill <jason@redhat.com>
6079 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
6080 * dwarf2out.c (dwarf_attr_name): Support it.
6081 (gen_array_type_die): Emit it.
6082 (lookup_type_die): No special handling for VECTOR_TYPE.
6083 (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
6085 2002-04-24 Richard Henderson <rth@redhat.com>
6087 * config/mips/mips.md (movdi_usd): Renumber.
6089 2002-04-24 David S. Miller <davem@redhat.com>
6092 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
6093 32-bit Sparc and current_function_returns_struct is true.
6095 Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz>
6097 * loop.c (canonicalize_condition): Use gen_int_mode.
6099 2002-04-24 Aldy Hernandez <aldyh@redhat.com>
6101 * config/rs6000/altivec.h: Cleanup file. Add non individual
6123 (vec_vcmpequb): New.
6124 (vec_vcmpequh): New.
6125 (vec_vcmpequw): New.
6126 (vec_vcmpeqfp): New.
6127 (vec_vcmpgefp): New.
6128 (vec_vcmpgtub): New.
6129 (vec_vcmpgtsb): New.
6130 (vec_vcmpgtuh): New.
6131 (vec_vcmpgtsh): New.
6132 (vec_vcmpgtuw): New.
6133 (vec_vcmpgtsw): New.
6134 (vec_vcmpgtfp): New.
6135 (vec_vcmpgefp): New.
6140 (vec_vexptefp): New.
6145 (vec_lde): Add vector float variant.
6150 (vec_vmhaddshs): New.
6172 (vec_vmladduhm): New.
6173 (vec_vmhraddshs): New.
6175 (vec_vmsummbm): New.
6176 (vec_vmsumuhm): New.
6177 (vec_vmsumshm): New.
6178 (vec_vmsumuhs): New.
6179 (vec_vmsumshs): New.
6188 (vec_vnmsubfp): New.
6206 (vec_vrsqrtefp): New.
6217 (vec_vspltisb): New.
6218 (vec_vspltish): New.
6219 (vec_vspltisw): New.
6244 (vec_vsum4ubs): New.
6245 (vec_vsum4sbs): New.
6246 (vec_vsum4shs): New.
6247 (vec_vsum2sws): New.
6258 2002-04-23 Eric Botcazou <ebotcazou@multimania.com>
6261 * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
6262 added literals from substracted literals.
6263 (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
6264 (fold) [associate]: Preserve MINUS_EXPR if needed.
6266 2002-04-23 Zack Weinberg <zack@codesourcery.com>
6268 * doc/install.texi: Clarify which versions of alpha*-dec-osf*
6271 2002-04-23 Tom Tromey <tromey@redhat.com>
6273 * gcc.c: Added --resource. For PR java/6314.
6275 2002-04-23 David O'Brien <obrien@FreeBSD.org>
6277 * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
6278 * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
6281 2002-04-23 David O'Brien <obrien@FreeBSD.org>
6283 * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
6285 Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz>
6287 * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
6289 (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
6290 (ix86_expand_clrstr): Fix typo.
6291 * loop.c (gen_load_of_final_value): New.
6292 (loop_givs_rescan, strength_reduce, check_dbra_loop):
6295 2002-04-23 Roger Sayle <roger@eyesopen.com>
6297 * builtins.c (builtin_memset_gen_str): New function.
6298 (expand_builtin_memset): Optimize the case of constant length, but
6301 2002-04-23 Aldy Hernandez <aldyh@redhat.com>
6303 * config/rs6000/altivec.h (vec_step): Remove extraneous
6305 (vec_ctu): Cast return.
6307 2002-04-23 Alan Modra <amodra@bigpond.net.au>
6310 * function.h: (struct function): Add profile_label_no field.
6311 (current_function_profile_label_no): Define.
6312 * function.c: (profile_label_no): New static var.
6313 (expand_function_start): Increment it, and copy to
6314 current_function_profile_label_no.
6315 * output.h (profile_label_no): Delete.
6316 * final.c (profile_label_no): Delete.
6317 (profile_function): Use current_function_profile_label_no.
6318 (final_end_function): Don't increment profile_label_no here.
6319 * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
6320 profile_label_no with current_function_profile_label_no.
6321 * config/pa/pa.c (current_function_number): Delete.
6322 (pa_output_function_prologue): Don't output profile label here.
6323 (hppa_profile_hook): Use label_no param rather than
6324 current_function_number.
6325 (FUNC_BEGIN_PROLOG_LABEL): Move to ..
6326 * config/pa/pa.h: .. here.
6327 (FUNCTION_PROFILER): Output profile label here.
6329 2002-04-22 Eric Christopher <echristo@redhat.com>
6331 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
6332 patch of 2002-04-09 due to binutils issues.
6333 (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
6335 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
6337 * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
6338 constraint to 'o' for m=r and r=m alternatives.
6339 ("*movv8hi_internal1"): Same.
6340 ("*movv16qi_internal1"): Same.
6341 ("*movv4sf_internal1"): Same.
6343 2002-04-22 Janis Johnson <janis187@us.ibm.com>
6345 * rtl.h (RTX_FLAG): New macro.
6346 * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
6347 * final.c (alter_subreg): Use macro to access rtx flag.
6348 * integrate.c (copy_rtx_and_substitute): Use new access macro.
6349 * print-rtl.c (print_rtx): Use new access macro.
6351 * cse.c (insert): Check rtx code before accessing flag.
6353 * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
6354 ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
6355 (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
6356 convert_const_symbol_ref, make_canonical, make_alternative_compare,
6357 evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
6358 simplify_test_exp, optimize_attrs, simplify_by_exploding,
6359 find_and_mark_used_attributes, unmark_used_attributes,
6360 add_values_to_cover, simplify_with_current_value,
6361 simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
6362 copy_rtx_unchanging, main): Use new access macros.
6364 2002-04-22 Tom Rix <trix@redhat.com>
6366 * expmed.c (init_expmed): Generate shifted constant once.
6368 2002-04-22 Zack Weinberg <zack@codesourcery.com>
6370 * c-lex.c (lex_charconst): Call convert to get constant in
6371 proper type; don't just smash the type field.
6374 * config.gcc: Add list of obsolete configurations. Disallow
6375 building these without --enable-obsolete.
6376 * doc/install.texi: Document --enable-obsolete and obsoletion
6377 policy. Mention obsoletion of individual targets in
6380 2002-04-22 Richard Henderson <rth@redhat.com>
6382 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
6384 2002-04-22 Mark Mitchell <mark@codesourcery.com>
6387 * function.c (fixup_memory_subreg): Add promoted_mode parameter.
6388 (walk_fixup_memory_subreg): Likewise.
6389 (fixup_var_refs_insn): Adjust accordingly.
6390 (fixup_var_refs_1): Likewise.
6392 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
6394 * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
6395 LIBPATH_ARCH64_SPEC): Define.
6396 (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
6397 (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
6398 (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
6399 (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
6401 2002-04-22 Joel Sherrill <joel@OARcorp.com>
6403 * gthr-rtems.h: Correct prototypes to remove warnings.
6405 2002-04-22 Richard Henderson <rth@redhat.com>
6408 * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
6410 * gcse.c (free_insn_expr_list_list): New.
6411 (clear_modify_mem_tables): Use it. Fix bit set usage.
6412 (canon_list_insert): Use EXPR_LISTs for expressions.
6413 (record_last_mem_set_info): Factor BLOCK_NUM (insn).
6415 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk>
6417 * cppfiles.c (_cpp_pop_file_buffer): Return void. Move
6418 file change and include code to _cpp_pop_buffer.
6419 * cpphash.h (struct pending_option): Predeclare.
6420 (struct cpp_reader): New member next_include_file.
6421 (_cpp_pop_file_buffer): Update.
6422 (_cpp_push_next_buffer): Update, rename.
6423 * cppinit.c (cpp_destroy): Free include chain and pending here.
6424 (cpp_finish_options): Simplify.
6425 (_cpp_push_next_buffer): Rename and clean up.
6426 * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
6428 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
6430 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
6432 * config/rs6000/altivec.h (vec_xor): Add variant for both args
6433 being vector signed int.
6435 (vec_xor): Add variant for both args being vector signed char.
6436 Remove redundant variant.
6439 2002-04-21 David S. Miller <davem@redhat.com>
6441 * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
6442 compare mode in output RTL.
6444 2002-04-22 David Edelsohn <edelsohn@gnu.org>
6446 * config/rs6000/rs6000.c (rs6000_override_options): Correct
6447 style and formatting of previous patch.
6449 2002-04-22 Alan Modra <amodra@bigpond.net.au>
6451 * config/rs6000/rs6000.c (rs6000_override_options): Always clear
6452 flag_pic for ABI_AIX.
6454 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
6456 * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
6457 * cppfiles.c (read_include_file): Similarly.
6458 * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
6459 uxstrdup ustrchr, ufputs): Similarly.
6460 * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
6461 * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
6462 cpp_ideq, parse_identifier, parse_number): Similarly.
6463 * cpplib.c (struct directive, dequote_string, D, run_directive,
6464 cpp_push_buffer): Similarly.
6465 * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
6466 _cpp_create_definition, check_trad_stringification,
6467 cpp_macro_definition): Similarly.
6469 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
6471 * cppmacro.c (funlike_invocation_p): Don't step back
6474 2002-04-21 David Edelsohn <edelsohn@gnu.org>
6476 * config/rs6000/rs6000.c (output_profile_hook): Do not increment
6479 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk>
6481 * doc/invoke.texi: Remove Chill references.
6482 * doc/gcc.texi: Update last modified date.
6484 2002-04-20 Kazu Hirata <kazu@hxi.com>
6486 * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
6487 push and pop. Replace add.l with add.w.
6489 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
6491 * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
6492 multiply instructions for H8/300H case.
6494 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
6496 * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
6497 Bum three instructions from each routine.
6499 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk>
6501 * Makefile.in: Update.
6502 * decl.c (push_c_function_context, pop_c_function_context,
6503 mark_c_function_context): Rename for consistency.
6504 * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
6505 * c-tree.h (push_c_function_context, pop_c_function_context,
6506 mark_c_function_context): Rename for consistency.
6507 * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
6508 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
6509 * function.c (init_lang_status, save_lang_status,
6510 restore_lang_status, mark_lang_status, free_lang_status):
6511 Move to langhooks.h.
6512 (push_function_context_to, pop_function_context_from,
6513 free_after_parsing, prepare_function_start, ggc_mark_struct_function):
6515 * function.h (init_lang_status, save_lang_status,
6516 restore_lang_status, mark_lang_status, free_lang_status):
6517 Move to langhooks.h.
6518 * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
6519 LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
6520 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
6521 LANG_HOOKS_FUNCTION_INITIALIZER): New.
6522 (LANG_HOOKS_INITIALIZER): Update.
6523 (lhd_do_nothing_f): New.
6524 * langhooks.h (struct lang_hooks_for_functions): New.
6525 (struct lang_hooks): New hooks.
6526 * langhooks.c (lhd_do_nothing_f): New.
6528 * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
6529 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
6531 2002-04-19 David S. Miller <davem@redhat.com>
6533 * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
6534 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
6536 2002-04-19 Jakub Jelinek <jakub@redhat.com>
6538 PR optimization/3756
6539 * config/i386/i386.c (ix86_expand_int_movcc): Optimize
6540 x = ((int) y < 0) ? cst1 : cst2.
6542 2002-04-19 Jakub Jelinek <jakub@redhat.com>
6545 * function.c: Reapply patch for c/6358.
6546 (expand_function_end): Copy decl_rtl's mode, not
6547 current_function_return_rtx mode.
6549 2002-04-19 Joel Sherrill <joel@OARcorp.com>
6551 * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
6554 2002-04-19 Tom Tromey <tromey@redhat.com>
6556 * doc/install.texi (Specific): Update status of Solaris 2.8.
6559 2002-04-19 Andreas Schwab <schwab@suse.de>
6561 * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
6562 (PUT_REAL): Restore old definition.
6564 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
6565 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6567 * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
6568 binutils 2.11.2 and higher generate smaller binaries than Sun's
6571 2002-04-19 Mark Mitchell <mark@codesourcery.com>
6574 * toplev.c (rest_of_compilation): Do not defer functions for which
6575 TREE_SYMBOL_REFERENCED has already been set.
6577 Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz>
6579 * i386.md (movsi_1, movhi_1): Force reload to use more flexible
6582 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk>
6584 * builtins.c: Include langhooks.h.
6585 (lang_type_promotes_to): Remove.
6586 (expand_builtin_va_arg): Use new hook.
6587 * c-common.c (c_common_nodes_and_builtins): Don't set hook.
6588 (simple_type_promotes_to): Move to c-typeck.c.
6589 * c-common.h (simple_type_promotes_to): Remove.
6590 * c-decl.c (duplicate_decls, grokdeclarator): Update.
6591 * c-format.c: Include langhooks.h.
6592 (check_format_types): Update.
6593 * c-tree.h (c_type_promotes_to): New.
6594 * c-typeck.c (c_type_promotes_to): Move from c-common.c.
6595 (type_lists_compatible_p): Update.
6596 * langhooks-def.h (lhd_type_promotes_to): New.
6597 (LANG_HOOKS_TYPE_PROMOTES_TO): New.
6598 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
6599 * langhooks.c (lhd_type_promotes_to): New.
6600 * langhooks.h (struct lang_hooks_for_types): New hook.
6601 * tree.h (lang_type_promotes_to): Remove.
6603 * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
6605 2002-04-18 Richard Henderson <rth@redhat.com>
6607 * function.c: Revert patch for c/6358.
6609 2002-04-18 Richard Henderson <rth@redhat.com>
6611 * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
6612 blocks. Handle multiple references to the TRAP block. Handle
6613 non-adjacent THEN and OTHER blocks.
6615 2002-04-18 Richard Henderson <rth@redhat.com>
6617 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
6618 crash with no type for by-mode libcalls.
6620 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
6622 2002-04-18 Bob Wilson <bob.wilson@acm.org>
6624 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6625 __xtensa_nonlocal_goto): Use a syscall instructions to flush
6626 the register windows.
6628 2002-04-18 Zack Weinberg <zack@codesourcery.com>
6630 * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
6631 appropriate. Document need for extended precision even when
6632 MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
6633 based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
6634 REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
6635 instead of relying on later syntax error when REAL_WIDTH > 5.
6636 * real.c: Define NE based only on whether or not we have a
6637 full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
6638 Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
6639 define GET_REAL and PUT_REAL as simple memcpy operations; no
6640 need to byteswap or round.
6641 Use #error instead of #ifdef-ing out the entire file, for
6642 prompt error detection.
6644 * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
6646 2002-04-18 David S. Miller <davem@redhat.com>
6648 * config/sparc/sparc.h (BRANCH_COST): Define.
6650 * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
6653 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
6655 * flow.c (update_life_info): Ignore return value of cleanup_cfg.
6656 Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
6657 propagate_block calls after relaxation loop using new variable
6658 stabilized_prop_flags.
6660 2002-04-18 Richard Henderson <rth@redhat.com>
6662 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
6663 (ia64_va_arg): Expect variable sized types by reference.
6664 * config/ia64/ia64-protos.h: Update.
6665 * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
6666 ia64_function_arg_pass_by_reference.
6668 2002-04-18 Richard Henderson <rth@redhat.com>
6670 * ifcvt.c: Include except.h.
6671 (block_has_only_trap): Break out from find_cond_trap.
6672 (find_cond_trap): Use it. Always delete the trap block.
6673 (merge_if_block): Allow then block null. Be less simplistic about
6674 what insns can end a block.
6675 * Makefile.in (ifcvt.o): Depend on except.h.
6677 * config/ia64/ia64.md (trap, conditional_trap): New.
6679 2002-04-18 Jakub Jelinek <jakub@redhat.com>
6682 * function.c (assign_parms): Assign hard current_function_return_rtx
6684 (expand_function_end): ...not here.
6686 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
6688 * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
6689 * c-tree.h (c_incomplete_type_error): New.
6690 * c-typeck.c (require_complete_type, build_component_ref): Update.
6691 (incomplete_type_error): Rename.
6692 * langhooks-def.h (lhd_incomplete_type_error): New.
6693 (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
6694 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
6695 * langhooks.c (lhd_incomplete_type_error): New.
6696 * langhooks.h (struct lang_hooks_for_types): New hook.
6697 * tree.c (size_in_bytes): Use new hook.
6698 * tree.h (incomplete_type_error): Remove.
6700 * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
6702 2002-04-18 Zack Weinberg <zack@codesourcery.com>
6704 * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
6705 TARGET_FLOAT_FORMAT blocks.
6707 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6709 * doc/install.texi (Downloading the source): Do not mention Chill
6710 any longer, but mention Ada.
6711 (Configuration): Do not mention Chill any longer.
6713 2002-04-18 Hans-Peter Nilsson <hp@axis.com>
6715 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
6717 Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz>
6719 * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
6722 2002-04-18 Jakub Jelinek <jakub@redhat.com>
6724 * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
6725 instead of unsigned_type.
6727 Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
6729 * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
6730 * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
6733 2002-04-18 Bernd Schmidt <bernds@redhat.com>
6735 * attribs.c (vector_type_node_list): New static variable.
6736 (handle_vector_size_attribute): Use it to avoid generating a
6737 new type node each time we are called.
6739 * combine.c (subst): Avoid trying to make a vector mode subreg of
6740 an integer constant.
6741 (gen_lowpart_for_combine): Likewise.
6743 2002-04-18 Roger Sayle <roger@eyesopen.com>
6744 Jakub Jelinek <jakub@redhat.com>
6746 * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
6747 for integer constant c (if x has unsigned type or sign bit is not
6748 set in c). This folds the zero/sign extension into the bit-wise and
6751 2002-04-18 Jakub Jelinek <jakub@redhat.com>
6754 * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
6757 2002-04-17 NIIBE Yutaka <gniibe@m17n.org>
6759 * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
6761 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
6763 * gcc.c (read_specs): Detect and fail if an attempt is made to
6764 rename a spec string to an already existing string.
6766 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
6768 * config/s390/s390.c (legitimize_pic_address): Do not generate
6769 illegal address constant without CONST.
6771 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6773 * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
6774 * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
6776 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
6778 PR optimization/6305
6779 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
6780 to make sure previous reloads are taken into account. Generate
6781 better code if one operand is an in-range immediate constant.
6783 2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
6785 * doc/install.texi (Building): libgcj requires GNU make.
6787 2002-04-17 Jakub Jelinek <jakub@redhat.com>
6790 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
6791 even if hard quad and register is not floating.
6792 (movtf reg<-mem split): Disallow splitting if hard quad and
6793 register is floating.
6794 (movtf mem<-reg split): Likewise.
6795 * config/sparc/sparc.c (fp_register_operand): New predicate.
6796 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
6798 2002-04-17 Zack Weinberg <zack@codesourcery.com>
6800 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
6801 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
6802 (unprotoize.o): Ditto. Build from protoize.c. Define
6803 UNPROTOIZE on command line.
6804 * protoize.c: Include cppdefault.h. Delete include_defaults.
6805 (in_system_include_dir): Use cpp_include_defaults (defined in
6807 * unprotoize.c: Delete file.
6809 2002-04-17 Aldy Hernandez <aldyh@redhat.com>
6811 * config/rs6000/altivec.h (vec_ld): Add array variants.
6815 2002-04-17 Alan Matsuoka <alanm@redhat.com>
6816 Aldy Hernandez <aldyh@redhat.com>
6818 * config/rs6000/altivec.h: Define __ALTIVEC__.
6825 Add parentheses to all macro arguments.
6827 2002-04-16 Richard Henderson <rth@redhat.com>
6830 * except.c (remove_eh_handler): Insert inner regions at beginning
6831 of sibling chain. Refactor expressions.
6833 2002-04-16 Richard Henderson <rth@redhat.com>
6835 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
6836 * config/sparc/sol2-gas-bi.h: New file.
6837 * config.gcc (sparc*-solaris): Add it as needed.
6838 * configure.in (AS_SPARC64_FLAG): Remove check.
6839 * config.in, configure: Regenerate.
6841 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
6843 2002-04-16 Richard Henderson <rth@redhat.com>
6845 * config/mips/mips.c (override_options): Don't override N32 for
6849 * config/mips/mips.md (can_delay): Split out of existing define_delays.
6850 (HILO_delay): Set can_delay false.
6852 2002-04-16 Dale Johannesen <dalej@apple.com>
6854 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
6855 instruction addresses.
6856 (rs6000_output_function_epilogue): Likewise.
6858 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
6860 * c-parse.in (poplevel, compstmt_start,
6861 compstmt_primary_start): Add ending ';', in accordance
6864 2002-04-16 Richard Henderson <rth@redhat.com>
6866 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
6867 Adjust tm_file order to get TARGET_DEFAULT set properly.
6868 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
6869 * doc/install.texi (sparc-solaris): Update.
6871 2002-04-16 Dale Johannesen <dalej@apple.com>
6873 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
6874 comparison operands do not match each other or if modes of
6875 conditions do not match result.
6877 2002-04-16 Hartmut Penner <hpenner@de.ibm.com>
6880 * config/s390/s390.md (mulsidi3): Set both subregs of the
6883 2002-04-16 Aldy Hernandez <aldyh@redhat.com>
6885 * config/rs6000/altivec.h (vec_addc): Type check.
6887 2002-04-16 Jakub Jelinek <jakub@redhat.com>
6890 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
6892 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
6894 2002-04-15 Richard Henderson <rth@redhat.com>
6896 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
6897 call_really_used_regs too.
6899 2002-04-15 Richard Henderson <rth@redhat.com>
6901 * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
6903 2002-04-15 David S. Miller <davem@redhat.com>
6905 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
6908 2002-04-16 Jakub Jelinek <jakub@redhat.com>
6911 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
6912 CONST_VECTOR is { 0, ... 0 }.
6914 2002-04-15 Loren J. Rittle <ljrittle@acm.org>
6916 * doc/install.texi (Installing GCC: Configuration): Clarify
6917 the only supported ways to configure gcc.
6919 2002-04-15 Roland McGrath <roland@frob.com>
6921 * config.gcc (alpha*-*-gnu*): New target configuration.
6922 * config/alpha/gnu.h: New file for it.
6923 * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
6925 2002-04-16 Mark Mitchell <mark@codesourcery.com>
6927 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
6928 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
6929 * tree.h (expand_start_stmt_expr): Update prototype.
6930 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
6931 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
6932 on the STMT_EXPR created for the inline function.
6934 2002-04-15 Richard Henderson <rth@redhat.com>
6936 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
6937 config/i386/linux-aout.h, config/i386/linux-oldld.h,
6938 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
6939 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
6940 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
6941 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
6942 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
6943 Define __gnu_linux__, not gnu_linux.
6944 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
6946 2002-04-15 Mark Mitchell <mark@codesourcery.com>
6948 Remove Chill front end.
6949 * gcc.c (default_compilers): Remove Chill entries.
6950 * ch: Remove directory.
6951 * doc/frontends.texi: Remove information about Chill.
6952 * doc/sourcebuild.texi: Likewise.
6953 * doc/standards.texi: Likewise.
6955 2002-04-15 Douglas B Rupp <rupp@gnat.com>
6957 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
6958 (LONGLONG_STANDALONE): Define.
6960 2002-04-15 David S. Miller <davem@redhat.com>
6962 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
6963 Call emit_library_call with LCT_NORMAL.
6964 (sparc_initialize_trampoline): Use LCT_foo instead of
6965 magic constant in emit_library_call invocations.
6966 (sparc64_initialize_trampoline): Likewise.
6967 (sparc_profile_hook): Likewise.
6968 * config/sparc/sparc.md: Likewise.
6970 * config/sparc/sparc.c (sparc_extra_constraint_check):
6971 Fix type of argument 'c'.
6972 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
6975 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6977 * diagnostic.h (output_buffer_state): Redefine.
6978 (output_format_decoder): New macro.
6979 (output_prefixing_rule): Likewise.
6980 (output_line_cutoff): Likewise.
6981 (diagnostic_format_decoder): Adjust.
6982 (diagnostic_prefixing_rule): Likewise.
6983 (diagnostic_line_cutoff): Likewise.
6984 (diagnostic_state): Likewise.
6985 (diagnostic_kind_count): Likewise.
6986 (diagnostic_buffer): Now a macro.
6988 * diagnostic.c (diagnostic_buffer): Remove definition.
6989 (output_is_line_wrapping): Adjust.
6990 (set_real_maximum_length): Likewise.
6991 (output_set_maximum_length): Likewise.
6992 (init_output_buffer): Likewise.
6993 (lhd_print_error_function): Likewise.
6994 (output_do_verbatim): Likewise.
6996 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
6998 * cpperror.c (print_location): Don't print include chain
7000 (cpp_begin_message): Update to use DL_ macros.
7001 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
7002 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
7003 cpp_notice, cpp_notice_from_errno): Remove.
7004 (cpp_error, cpp_error_with_line): Update to take a diagnostic
7007 * cppexp.c (CPP_ICE): Remove.
7008 (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
7009 lex, integer_overflow, _cpp_parse_expr): Update.
7010 * cppfiles.c (read_include_file, find_include_file,
7011 handle_missing_header, _cpp_read_file, remap_filename): Update.
7012 * cpphash.h (enum error_type): Remove.
7013 (_cpp_begin_message): Update.
7014 * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
7015 cpp_handle_option, cpp_post_options): Update.
7016 * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
7017 skip_whitespace, parse_identifier, parse_slow, parse_string,
7018 _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
7019 cpp_interpret_charconst): Update.
7020 * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
7021 lex_macro_node, do_undef, glue_header_name, parse_include,
7022 do_include_common, read_flag, do_line, do_linemarker, do_ident,
7023 cpp_register_pragma, do_pragma_once, do_pragma_system_header,
7024 do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
7025 do_elif, do_endif, parse_answer, parse_assertion, do_assert,
7026 _cpp_pop_buffer, do_diagnostic): Update.
7027 * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
7028 DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
7029 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
7030 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
7031 cpp_notice, cpp_notice_from_errno): Remove.
7032 (cpp_error, cpp_error_with_line): Update to take a diagnostic
7035 * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
7036 collect_args, enter_macro_context, save_parameter, parse_params,
7037 _cpp_create_definition, check_trad_stringification,
7038 cpp_macro_definition): Update.
7039 * cppmain.c (cpp_preprocess_file): Update.
7040 * fix-header.c (read_scan_file): Update.
7042 2002-04-14 Andreas Schwab <schwab@suse.de>
7044 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
7046 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7048 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
7050 2002-04-13 Mark Mitchell <mark@codesourcery.com>
7052 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
7055 2002-04-13 Hans-Peter Nilsson <hp@axis.com>
7057 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
7059 2002-04-13 Joel Sherrill <joel@OARcorp.com>
7061 * config/sparc/t-elf: Enable v8 multilibs. Impacts
7062 sparc-elf and sparc-rtems targets.
7064 2002-04-13 Mark Mitchell <mark@codesourcery.com>
7066 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
7067 defined, and __gnu_hurd__ wherever __GNU__ is defined.
7068 * arm/linux-elf.h: Likewise.
7069 * cris/aout.h: Likewise.
7070 * cris/linux.h: Likewise.
7071 * i370/linux.h: Likewise.
7072 * i386/gnu.h: Likewise.
7073 * i386/linux-aout.h: Likewise.
7074 * i386/linux-oldld.h: Likewise.
7075 * i386/linux.h: Likewise.
7076 * i386/linux64.h: Likewise.
7077 * ia64/linux.h: Likewise.
7078 * m68k/linux-aout.h: Likewise.
7079 * m68k/linux.h: Likewise.
7080 * mips/linux.h: Likewise.
7081 * pa/pa-linux.h: Likewise.
7082 * pj/linux.h: Likewise.
7083 * rs6000/sysv4.h: Likewise.
7084 * s390/linux.h: Likewise.
7085 * sh/linux.h: Likewise.
7086 * sparc/linux-aout.h: Likewise.
7087 * sparc/linux.h: Likewise.
7088 * sparc/linux64.h: Likewise.
7089 * xtensa/linux.h: Likewise.
7091 2002-04-13 Richard Sandiford <rsandifo@redhat.com>
7093 * stmt.c (check_unique_operand_names): Expect operand names to
7094 be strings rather than identifiers. Use simple_cst_equal to
7096 (resolve_operand_name_1): Make same identifier to string change here.
7097 * c-parse.in (asm_operand): Convert a named operand into a string.
7098 * cp/parse.y (asm_operand): Likewise.
7100 2002-04-13 Andreas Schwab <schwab@suse.de>
7102 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
7104 2002-04-12 Mark Mitchell <mark@codesourcery.com>
7106 Revert these changes:
7108 2002-04-06 Mark Mitchell <mark@codesourcery.com>
7111 * stor-layout.c (layout_decl): Reset the RTL for the decl.
7113 2002-04-12 Richard Henderson <rth@redhat.com>
7115 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
7116 (sparc*-*-solaris): Clean up header files.
7117 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
7118 and plan on generating 64-bit code.
7119 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
7120 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
7121 * config/sparc/sol2-sld-64.h: Rename ...
7122 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
7123 for AS_SPARC64_FLAG not defined.
7124 * config/sparc/sol2-gld-bi.h: New.
7125 * config/sparc/sol2-sld.h: Remove.
7126 * config/sparc/sol26-sld.h: New.
7127 * config/sparc/sol2.h: Tidy comments.
7128 * doc/install.texi: Document sparc-solaris configury changes.
7130 2002-04-12 Richard Henderson <rth@redhat.com>
7132 * recog.c (offsettable_address_p): Match the logic in adjust_address.
7134 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
7135 in 64-bit mode only. Use only for 32-bit or MEDLOW.
7137 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7139 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
7141 Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
7143 * pa.c (pa_can_combine_p): Call extract_insn before calling
7146 2002-04-12 Douglas B Rupp <rupp@gnat.com>
7148 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
7149 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
7150 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
7151 (CPP_PREDEFINES): Handle __declspec.
7152 * config/i386/t-interix (USER_H): Remove.
7154 2002-04-12 DJ Delorie <dj@redhat.com>
7156 * integrate.c (compare_blocks): Make comparisons safe for when
7157 sizeof(int) < sizeof(char *).
7158 (find_block): Likewise.
7160 2002-04-12 Jan Hubicka <jh@suse.cz>
7161 David Edelsohn <edelsohn@gnu.org>
7163 * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
7165 (symbol_ref_operand): New.
7166 * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
7167 * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
7169 2002-04-12 Andreas Schwab <schwab@suse.de>
7171 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
7172 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
7173 overrides the definition in config/svr4.h.
7175 2002-04-12 Eric Norum <eric.norum@usask.ca>
7177 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
7178 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
7179 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
7180 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
7181 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
7182 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
7183 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
7184 definitions to config/rtems.h and make the targets more similar.
7186 Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7188 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
7189 POINTERS_EXTEND_UNSIGNED.
7190 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
7191 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
7193 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
7196 Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
7198 * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
7199 depends on TARGET_SHMEDIA, not TARGET_SH5.
7201 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
7203 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
7204 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
7206 Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
7208 * sh.c (broken_move): Constant 0. / 1. load is OK if there is
7211 2002-04-12 Andreas Schwab <schwab@suse.de>
7213 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
7215 2002-04-12 Richard Henderson <rth@redhat.com>
7218 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
7220 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
7221 modes spanning multiple hard regs.
7223 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
7225 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
7227 * pa.c (pa_output_function_prologue): Don't accumulate the total
7228 number of code bytes when using TARGET_64BIT, or gas, SOM and not
7229 the portable runtime.
7230 (output_deferred_plabels): Handle 64bit plabels.
7231 (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
7232 generating pic code using the GAS assembler for object formats that
7233 are not SOM (ie., ELF32 and ELF64).
7234 (output_millicode_call): Check attribute type if attribute length is 28.
7235 Likewise use $PIC_pcrel$0. Only call get_attr_length and
7236 dbr_sequence_length once.
7237 (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
7238 dbr_sequence_length once.
7239 * pa.h (TARGET_SOM): Define if not defined.
7240 * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
7241 with GAS and not SOM.
7242 (jump, call_internal_reg, call_value_internal_reg): Likewise.
7243 * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
7245 2002-04-11 David O'Brien <obrien@FreeBSD.org>
7247 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
7248 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
7249 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
7250 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
7251 elfos.h and dbxelf.h values are fine now.
7252 * config/i386/freebsd.h, config/alpha/freebsd.h
7253 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
7255 2002-04-11 David O'Brien <obrien@FreeBSD.org>
7257 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
7258 or set Acpu or Amachine. Reformat.
7259 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
7261 (LINK_SPEC): Do not need to undef.
7262 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
7263 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
7264 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
7266 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
7267 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
7268 (LINK_SPEC): Do not need to undef.
7269 (DONT_USE_BUILTIN_SETJMP): Do not define.
7270 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
7271 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
7272 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
7273 Remove trailing spaces.
7274 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
7275 __ELF__, or set Acpu or Amachine. Reformat.
7276 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
7279 2002-04-11 David O'Brien <obrien@FreeBSD.org>
7281 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
7282 all other *-*-freebsd* targets.
7284 2002-04-11 Richard Henderson <rth@redhat.com>
7286 * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
7288 2002-04-11 David O'Brien <obrien@FreeBSD.org>
7290 * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
7291 Include {cpu}/{cpu}.h thru tm_file.
7292 (alpha*-*-linux*ecoff): Remove target.
7293 * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
7294 (LINK_SPEC): Remove, is not OS independent.
7295 * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
7296 (LINK_SPEC): Do not need to #undef any longer.
7297 * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
7299 * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
7301 (LINK_SPEC): Moved here from alpha/elf.h.
7302 * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
7304 * config/alpha/linux-ecoff.h: Remove.
7305 * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
7306 (CPP_SPEC): Define _POSIX_SOURCE as needed.
7307 (CPP_SUBTARGET_SPEC): Do not define.
7308 (LINK_SPEC): Do not need to #undef any longer.
7309 * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
7310 * config/alpha/vms.h: Likewise.
7312 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
7314 * doc/extend.texi: Remove old claim that typedefs cannot have
7315 an alignment attribute.
7317 2002-04-11 Jakub Jelinek <jakub@redhat.com>
7319 PR optimization/6177
7320 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
7321 bitpos is 0 and bitsize CONCAT size.
7323 2002-04-11 Jakub Jelinek <jakub@redhat.com>
7326 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
7328 2002-04-10 David O'Brien <obrien@FreeBSD.org>
7330 * config/alpha/freebsd.h: Minor reformatting.
7331 (CPP_SPEC): Define ELF and add cpp_subtarget.
7332 (ASM_SPEC): No longer needed.
7334 2002-04-11 Richard Henderson <rth@redhat.com>
7336 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
7337 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
7338 (dimode mem/zero splitter): New.
7340 2002-04-11 Hans-Peter Nilsson <hp@axis.com>
7342 * config/cris/cris.c (cris_override_options): Tweak error message
7343 for PIC not implemented.
7345 * config/cris/cris.h: Tweak comments related to parameter-passing.
7347 * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
7349 2002-04-10 Richard Henderson <rth@redhat.com>
7351 * except.c (add_ehl_entry): Allow duplicates after landing pad
7354 2002-04-10 David Edelsohn <edelsohn@gnu.org>
7356 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
7358 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
7360 * c-decl.c (c_init_decl_processing): Move generation of
7361 decls for g77_integer_type_node and friends from here ...
7362 * c-common.c (c_common_nodes_and_builtins): ... to here.
7364 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
7366 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
7367 is only used as frame pointer when frame_pointer_needed is true.
7369 2002-04-10 Richard Earnshaw <rearnsha@arm.com>
7372 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
7373 for the fact that the pool entry uses two words.
7374 (movdf_hard_insn): Similarly. Also, ADR instruction can span
7376 (movdf_soft_insn): Similarly.
7377 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
7378 for the fact that the pool entry uses three words.
7380 2002-04-10 Richard Sandiford <rsandifo@redhat.com>
7382 * config/mips/mips.c (mips_va_arg): When using the struct version
7383 of the EABI va_list, allow arguments in the register save area to
7384 take up less room than a stack argument.
7386 2002-04-10 Richard Henderson <rth@redhat.com>
7388 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
7389 if EXPAND_INITIALIZER.
7391 2002-04-09 Richard Henderson <rth@redhat.com>
7393 * config/alpha/alpha.md (movdi_er_maybe_g): New.
7394 * config/alpha/alpha.c (alpha_expand_mov): Use it.
7396 2002-04-10 Alan Modra <amodra@bigpond.net.au>
7398 PR optimization/6233
7399 * rtlanal.c (pure_call_p): New function.
7400 * rtl.h (pure_call_p): Declare.
7401 * loop.c (prescan_loop): Use it to set has_nonconst_call.
7402 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
7404 2002-04-09 Eric Christopher <echristo@redhat.com>
7406 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
7407 information to .comm directive.
7409 2002-04-09 Richard Henderson <rth@redhat.com>
7412 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
7414 2002-04-09 Richard Henderson <rth@redhat.com>
7416 * basic-block.h (flow_delete_block_noexpunge): Declare.
7417 (expunge_block_nocompact): Declare.
7418 * cfg.c (expunge_block_nocompact): Split out from ...
7419 (expunge_block): ... here.
7420 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
7421 (flow_delete_block_noexpunge): Split out from ...
7422 (flow_delete_block): ... here.
7423 * cfgcleanup.c (delete_unreachable_blocks): Compact while
7424 removing dead blocks.
7425 * except.c (exception_handler_labels): Remove.
7426 (exception_handler_label_map): New.
7427 (struct eh_region): Add aka member.
7428 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
7429 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
7430 (for_each_eh_label, for_each_eh_label_1): New.
7431 (init_eh): Register exception_handler_label_map.
7432 (free_eh_status): Use free_region.
7433 (find_exception_handler_labels): Use the map, not the list.
7434 (remove_exception_handler_label): Likewise.
7435 (maybe_remove_eh_handler): Likewise.
7436 (remove_eh_handler): Use the region aka bitmap.
7437 * except.h (exception_handler_labels): Remove.
7438 (for_each_eh_label): Declare.
7439 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
7440 * loop.c (invalidate_loops_containing_label): New.
7441 (find_and_verify_loops): Use it. Use for_each_eh_label.
7442 * sched-rgn.c (is_cfg_nonregular): Use
7443 current_function_has_exception_handlers.
7445 2002-04-09 Richard Henderson <rth@redhat.com>
7447 * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
7448 sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
7449 Do not return changed status.
7450 (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
7451 sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
7452 New functions that do return changed status.
7453 * sbitmap.h: Update decls.
7454 * gcse.c, lcm.c: Use _cg functions as needed.
7456 Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
7458 * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
7459 (sh64-*-elf*, sh-*-rtemself*): Likewise.
7460 * config/sh/embed_bb.c: New file.
7461 * config/sh/embed-elf.h: New file.
7462 * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
7463 if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
7464 (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
7466 (SUBTARGET_CPP_PTR_SPEC): Don't define.
7467 (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
7468 Add subtarget_asm_endian_spec.
7469 (ASM_SPEC): Use subtarget_asm_endian_spec.
7470 (SUBTARGET_ASM_ENDIAN_SPEC): Define.
7471 (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
7472 (WCHAR_UNSIGNED): Define.
7473 (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
7474 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
7475 (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
7477 * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
7478 (sh_adjust_cost): Likewise.
7479 sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
7481 (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
7482 (WCHAR_TYPE_SIZE): Likewise.
7483 (ASM_SPEC): Use subtarget_asm_endian_spec.
7484 (SH_ELF_WCHAR_TYPE): #undef/ #define.
7485 (MAX_WCHAR_TYPE_SIZE): Don't #undef.
7486 * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
7487 (MAX_WCHAR_TYPE_SIZE): Don't #define .
7488 (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
7489 (USER_LABEL_PREFIX): Don't #undef /#define .
7490 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
7491 * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
7492 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
7493 (ASM_SPEC): Likewise.
7494 (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
7495 (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
7496 * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
7497 (LIB2FUNCS_EXTRA): Define.
7498 * t-sh64 (LIB2FUNCS_EXTRA): Define.
7499 * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
7500 (LIB1ASMFUNCS_CACHE): Define.
7501 (LIB2FUNCS_EXTRA): Redefine empty.
7503 2002-04-08 Richard Henderson <rth@redhat.com>
7505 * reorg.c (get_branch_condition): Use reversed_comparison_code.
7507 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7509 * config/m68hc11/larith.asm (__map_data_section): Fix condition
7510 and optimize for size.
7511 (__do_global_ctors): Fix pointer comparison.
7512 (__do_global_dtors): Likewise.
7514 2002-04-09 David S. Miller <davem@redhat.com>
7516 * config/sparc/sparc.c (sparc_extra_constraint_check): New
7517 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
7518 allow reloading pseudos.
7519 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
7520 * config/sparc/sparc-protos.h: Declare it.
7522 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
7523 unsigned comparison warning.
7524 (output_restore_regs): Mark leaf_function as unused.
7526 Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7528 * expr.c (is_aligning_offset): New function.
7529 (expand_expr, case COMPONENT_EXPR): Call it.
7531 2002-04-08 David S. Miller <davem@redhat.com>
7534 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
7536 Make init_priority work on Sparc when using GNU ld.
7537 * config/sparc/linux.h, config/sparc/linux64.h,
7538 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
7539 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
7540 * config/sparc/sol2-gld.h: New file to do the same.
7541 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
7542 sparc/sol2-gld.h to tm_file.
7544 PR optimization/4328
7545 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
7546 * doc/md.texi: Document it.
7547 * config/sparc/sparc.md (movdi_insn_sp64_novis,
7548 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
7549 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
7550 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
7551 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
7553 2002-04-08 Andreas Jaeger <aj@suse.de>
7555 * stmt.c (expand_asm_operands): Revert last patch from Richard
7558 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7560 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
7561 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
7563 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7565 * doc/contrib.texi (Contributors): Add David O'Brien.
7567 2002-04-08 Alan Modra <amodra@bigpond.net.au>
7569 * configure.in (auto-build.h): Use target_alias and build_alias
7570 when running configure.
7571 (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
7572 (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
7573 * configure: Regenerate.
7575 2002-04-07 David S. Miller <davem@redhat.com>
7577 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
7579 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
7582 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
7583 generating 32-bit pic code.
7585 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
7587 * cppinit.c (cpp_create_reader): Initialize
7588 discard_comments_in_macro_exp.
7589 (COMMAND_LINE_OPTIONS): Add "-CC" option.
7590 (cpp_handle_option): Handle "-CC" option.
7591 * cpplex.c (save_comment): If saving a C++ comment in
7592 a directive, convert it to a C comment.
7593 (_cpp_lex_direct): Pass second comment start character to
7594 save_comment to indicate comment type.
7595 * cpplib.c (_cpp_handle_directive): If processing
7596 a "#define" directive and discard_comments_in_macro_exp
7597 is false, re-enable saving of comments.
7598 (lex_macro_node): If discard_comments_in_macro_exp is false,
7599 discard any comments before the macro identifier.
7600 * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
7602 * cppmacro.c (cpp_get_token): If expanding a macro while
7603 processing a directive, discard any comments we might encounter.
7604 (parse_params): If discard_comments_in_macro_exp is false,
7605 ignore comments in the macro parameter list.
7606 * gcc.c (cpp_unique_options): Add "-CC" option.
7607 (option_map): Map "--comments-in-macros" to "-CC".
7608 * doc/cppopts.texi: Document "-CC" option.
7609 * f/lang-specs.h: Add "-CC" option.
7610 * testsuite/gcc.dg/cpp/maccom1.c: New test.
7611 * testsuite/gcc.dg/cpp/maccom2.c: New test.
7612 * testsuite/gcc.dg/cpp/maccom3.c: New test.
7613 * testsuite/gcc.dg/cpp/maccom4.c: New test.
7614 * testsuite/gcc.dg/cpp/maccom5.c: New test.
7615 * testsuite/gcc.dg/cpp/maccom6.c: New test.
7617 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
7620 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
7622 2002-04-06 Mark Mitchell <mark@codesourcery.com>
7625 * stor-layout.c (layout_decl): Reset the RTL for the decl.
7628 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
7629 RTX_UNCHANGING_P for the functions arguments when a tail call
7632 2002-04-06 Jason Merrill <jason@redhat.com>
7634 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
7635 (parse_options_and_default_flags): Set them appropriately.
7636 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
7638 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
7640 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
7643 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
7646 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
7647 types come in by-reference. Fix typo in comment.
7649 2002-04-05 David S. Miller <davem@redhat.com>
7651 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
7652 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
7653 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
7654 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
7656 2002-04-05 David S. Miller <davem@redhat.com>
7658 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
7659 are not going to emit return instructions, emit at least a nop
7660 for the sake of sane backtraces.
7662 2002-04-05 Richard Henderson <rth@redhat.com>
7664 * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
7666 2002-04-05 Jakub Jeilnek <jakub@redhat.com>
7668 * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
7670 2002-04-05 Alexandre Oliva <aoliva@redhat.com>
7672 * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
7673 ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
7674 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
7676 2002-04-05 Andreas Schwab <schwab@suse.de>
7678 * c-convert.c: Include c-common.h.
7679 * Makefile.in (c-convert.o): Updated.
7681 2002-04-05 Jakub Jelinek <jakub@redhat.com>
7683 * mklibgcc.in: Use separate libgcc.map for each multilib.
7684 * Makefile.in (distclean): Don't remove libgcc.map here.
7686 2002-04-05 Jakub Jelinek <jakub@redhat.com>
7688 * Makefile.in (s-mlib): Handle --disable-multilib by separate
7689 genmultilib invocation.
7691 2002-04-04 Richard Sandiford <rsandifo@redhat.com>
7693 * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
7694 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
7695 to num_gprs for symmetry.
7696 * config/mips/mips.c: Adjust accordingly.
7698 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
7700 * c-common.c (truthvalue_conversion): Rename, update.
7701 * c-common.h (c_common_truthvalue_conversion): New.
7702 * c-convert.c (convert): Update.
7703 * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
7704 * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
7705 * c-typeck.c (build_binary_op, build_unary_op,
7706 build_conditional_expr): Update.
7707 * fold-const.c (constant_boolean_node, fold): Use langhook.
7708 * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
7709 * langhooks.h (struct lang_hooks): New hook.
7710 * stmt.c (expand_decl_cleanup): Use langhook.
7711 * tree.h (truthvalue_conversion): Remove.
7713 * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
7715 2002-04-05 Alan Modra <amodra@bigpond.net.au>
7717 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
7718 Add rules to make null object file.
7720 2002-04-04 Jim Blandy <jimb@redhat.com>
7722 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
7723 macro formal parameter names.
7725 2002-04-04 David S. Miller <davem@redhat.com>
7727 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
7729 2002-04-04 Richard Henderson <rth@redhat.com>
7732 * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
7733 Support copies into and out of memory. Don't accept allows_reg
7734 and allows_mem as gospel.
7736 2002-04-04 Richard Henderson <rth@redhat.com>
7739 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
7740 (write_dependence_p): Likewise.
7742 2002-04-04 Richard Henderson <rth@redhat.com>
7744 * predict.c (estimate_bb_frequencies): Do frequency calculation
7745 with a volatile temporary.
7747 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
7749 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
7751 2002-04-04 Jakub Jelinek <jakub@redhat.com>
7754 * final.c (final_start_function): Don't bump profile_label_no here...
7755 (final_end_function): ...but here.
7757 2002-04-04 Jakub Jelinek <jakub@redhat.com>
7759 * config/sparc/sparc.md (pic): New attribute.
7760 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
7762 (split after do_builtin_setjmp_setup): New.
7764 2002-04-04 Jakub Jelinek <jakub@redhat.com>
7767 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
7770 2002-04-04 Jakub Jelinek <jakub@redhat.com>
7772 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
7773 UNITS_PER_WORD for zero sized aggregates.
7775 2002-04-03 David S. Miller <davem@redhat.com>
7777 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
7778 one-character spec for this, just use %(link_gcc_c_sequence).
7780 2002-04-03 David S. Miller <davem@redhat.com>
7782 * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
7785 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
7787 * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
7788 (DWARF_FRAME_RETURN_COLUMN): Move.
7789 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
7790 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
7791 * pa.c (except.h, predict.h): Include.
7793 (store_reg_modify, set_reg_plus_d): Revise prototypes.
7794 (output_ascii): Add cast.
7795 (store_reg_modify): Revise to add frame notes.
7796 (set_reg_plus_d): Likewise.
7797 (compute_frame_size): Include space for eh data registers in frame if
7798 the current function calls eh_return.
7799 (hppa_expand_prologue): Ensure register %r2 is saved if the current
7800 function calls eh_return. Save eh data registers if the current
7801 function calls eh_return. Fix code to add frame notes. Emit
7802 blockage to prevent insns with frame notes being scheduled in the
7803 delay slot of calls.
7804 (hppa_expand_epilogue): Restore eh data registers and do final stack
7805 adjustment if the current function calls eh_return. Don't add frame
7807 (output_call): Revise for change in length of call insn. Don't do
7808 return pointer adjustment for an unconditional jump in the delay slot
7809 of a call when using frame notes.
7810 * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
7811 (EH_RETURN_HANDLER_RTX): Use saved value on stack.
7812 (ARG_POINTER_CFA_OFFSET): Define.
7813 * pa.md (return_external_pic): New pattern.
7814 (prologue): Correct formatting. Use return_external_pic if current
7815 function calls eh_return.
7816 (call_internal_symref, call_value_internal_symref,
7817 sibcall_internal_symref, sibcall_value_internal_symref): Change default
7818 lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
7820 (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
7822 * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
7823 list of targets to check using "nop" insn.
7824 * configure: Rebuilt.
7826 2002-04-04 Alan Modra <amodra@bigpond.net.au>
7828 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
7830 2002-04-03 David S. Miller <davem@redhat.com>
7832 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
7833 library sequence passed to the linker.
7834 (LINK_COMMAND_SPEC): Use it.
7835 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
7836 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
7837 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
7839 2002-04-03 Jason Merrill <jason@redhat.com>
7841 * except.c (struct eh_status): Remove protect_list.
7842 (begin_protect_partials, end_protect_partials): Remove.
7843 (add_partial_entry): Remove.
7844 * except.h: Remove prototypes.
7846 * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
7847 expand_decl_cleanup_eh.
7850 * tree.h (CLEANUP_EH_ONLY): New macro.
7851 * stmt.c (expand_decl_cleanup_eh): New fn.
7852 (expand_cleanups): Check CLEANUP_EH_ONLY.
7853 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
7854 Use expand_decl_cleanup_eh.
7855 (expand_stmt): Adjust.
7856 * c-common.h: Adjust prototype.
7858 2002-04-04 Hans-Peter Nilsson <hp@axis.com>
7860 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
7861 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
7862 (cris_target_asm_function_epilogue): Ditto.
7863 (cris_initial_frame_pointer_offset): Ditto.
7864 (cris_simple_epilogue): Ditto.
7865 (cris_expand_builtin_va_arg): Variable-size types come in
7868 2002-04-03 David S. Miller <davem@redhat.com>
7870 * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
7872 (set_fast_math): Correct 'fsr' type.
7874 2002-04-03 Richard Henderson <rth@redhat.com>
7877 * langhooks.h (lang_hooks.decls.warn_unused_global): New.
7878 * toplev.c (check_global_declarations): Use it.
7879 * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
7880 (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
7881 (LANG_HOOKS_DECLS): Add it.
7882 * langhooks.c (lhd_warn_unused_global_decl): New.
7883 * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
7884 * c-objc-common.c (c_warn_unused_global_decl): New.
7885 * c-tree.h (c_warn_unused_global_decl): Declare.
7886 * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
7888 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
7890 * langhooks-def.h (lhd_set_decl_assembler_name,
7891 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
7892 (LANG_HOOKS_INITIALIZER): Update.
7893 * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
7894 * langhooks.h (struct lang_hooks): New hook.
7895 * tree.c (set_decl_assembler_name): Move to langhooks.c.
7896 (lang_set_decl_assembler_name): Remove.
7897 (init_obstacks): Don't set hook.
7898 (decl_assembler_name): New function.
7899 * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
7900 (decl_assembler_name): New.
7901 (lang_set_decl_assembler_name): Remove.
7903 2002-04-03 Jakub Jelinek <jakub@redhat.com>
7905 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
7906 works properly with .hidden symbols.
7907 * configure: Rebuilt.
7908 * config.in: Rebuilt.
7909 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
7910 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
7911 properly with .hidden symbols.
7913 2002-04-03 Jakub Jelinek <jakub@redhat.com>
7916 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
7919 2002-04-03 Richard Henderson <rth@redhat.com>
7922 * sched-rgn.c (sets_likely_spilled): New.
7923 (sets_likely_spilled_1): New.
7924 (add_branch_dependences): Use it.
7926 2002-04-02 Richard Henderson <rth@redhat.com>
7929 * loop.h (LOOP_FIRST_PASS): New.
7930 * loop.c (strength_reduce): Mind it when deciding to unroll.
7931 * toplev.c (rest_of_compilation): Set it.
7933 2002-04-02 David S. Miller <davem@redhat.com>
7935 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
7936 mems_ok_for_ldd_peep when the order of the loads being examined
7938 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
7939 existing comment to increase comprehension of this situation.
7941 2002-04-02 Zack Weinberg <zack@codesourcery.com>
7943 * config/sh/sh.md: Don't use union real_extract.
7945 2002-04-02 Richard Henderson <rth@redhat.com>
7947 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
7949 2002-04-02 David O'Brien <obrien@FreeBSD.org>
7951 * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
7952 i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
7953 i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
7954 i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
7955 i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
7956 i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
7957 i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
7958 i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
7959 i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
7960 i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
7961 i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
7962 i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
7963 i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
7964 i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
7965 Include as many configury headers via tm_file as possible. This
7966 includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
7967 * config/openbsd-oldgas.h: New file.
7968 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
7969 config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
7970 config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
7971 config/i386/i386-coff.h, config/i386/i386-interix.h,
7972 config/i386/iscdbx.h, config/i386/linux-aout.h,
7973 config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
7974 config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
7975 config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
7976 config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
7977 config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
7978 config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
7979 config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
7980 config/i386/vxi386.h: Do not directly include configury headers.
7981 * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
7982 Directly include configury headers that are no longer automatically
7983 included by the above headers.
7984 * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
7985 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
7986 config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
7987 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
7988 config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
7989 config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
7990 config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
7991 (TARGET_VERSION): Define.
7992 * config/i386/beos-elf.h, config/i386/freebsd.h,
7993 config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
7994 config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
7995 config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
7996 config/i386/sco5.h, config/i386/sysv4.h
7997 (TARGET_VERSION): Do not need to protect.
7998 * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
7999 * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
8000 config/i386/freebsd-aout.h, config/i386/i386-aout.h,
8001 config/i386/i386-interix.h, config/i386/linux-aout.h,
8002 config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
8003 config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
8004 (YES_UNDERSCORES): Do not define - not needed.
8005 * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
8006 ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
8007 USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
8008 * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
8009 (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
8010 USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
8011 * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
8012 * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
8014 2002-04-02 Eric Botcazou <ebotcazou@multimania.com>
8015 Richard Henderson <rth@redhat.com>
8018 * function.c (assign_temp): Accept either type or decl argument.
8019 Detect variables whose size is too large to fit into an integer.
8020 * stmt.c (expand_decl): Pass the decl, not the type.
8022 2002-04-02 David O'Brien <obrien@FreeBSD.org>
8024 * protoize.c: Match include directory usage with cppdefault.c.
8026 2002-04-03 Jeffrey A Law (law@redhat.com)
8027 Hans-Peter Nilsson <hp@bitrange.com>
8029 * combine.c (simplify_comparison): Avoid narrowing a comparison
8030 with a paradoxical subreg when doing so would drop signficant bits.
8032 2002-04-02 Steve Ellcey <sje@cup.hp.com>
8034 * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
8035 if POINTERS_EXTEND_UNSIGNED is defined.
8037 2002-04-02 Richard Henderson <rth@redhat.com>
8040 * local-alloc.c (contains_replace_regs): LO_SUM may contain
8043 2002-04-02 Richard Henderson <rth@redhat.com>
8045 * doc/standards.texi: Document required freestanding libc entry points.
8047 2002-04-02 Alan Modra <amodra@bigpond.net.au>
8049 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
8050 associated splitter. Remove MQ constraint.
8051 (ctrdi_internal4): Correct CCmode clobber.
8053 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
8055 * milli64.S ($$dyncall): New function.
8056 * t-linux (LIB1ASMFUNCS): Revise module list.
8057 (LIB1ASMSRC): Use pa/milli64.S.
8059 2002-04-02 Richard Henderson <rth@redhat.com>
8061 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
8062 rename solaris_sys_varargs_h.
8064 Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8066 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
8067 the same mode as its component.
8069 2002-04-02 Richard Henderson <rth@redhat.com>
8072 * final.c (this_is_asm_operands): Export.
8073 * output.h (this_is_asm_operands): Declare.
8074 * config/i386/i386.c (print_operand): Error odd asm operands.
8076 2002-04-02 Richard Henderson <rth@redhat.com>
8079 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
8081 2002-04-01 Richard Henderson <rth@redhat.com>
8084 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
8085 * fixinc/fixincl.x: Rebuild.
8087 2002-04-01 Richard Henderson <rth@redhat.com>
8089 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
8090 (atomic_alloc, atomic_free): New.
8091 (SIZE, MASK_FOR, PTR_IN): New.
8092 (emergency_reg_state, emergency_reg_state_free): New.
8093 (emergency_labeled_state, emergency_labeled_state_free): New.
8094 (reg_state_alloced, labeled_state_alloced): New.
8095 (alloc_reg_state, free_reg_state): New.
8096 (alloc_label_state, free_label_state, free_label_states): New.
8097 (push, pop, dup_state_stack, free_state_stack): Use them.
8098 (desc_label_state): Likewise.
8099 (uw_frame_state_for): Free label states and state stack.
8100 (uw_update_reg_address): Eliminate warnings.
8102 2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
8104 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
8105 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
8107 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
8109 * c-decl.c (grokdeclarator): Update.
8110 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
8111 * c-tree.h (c_mark_addressable): New.
8112 * c-typeck.c (default_function_array_conversion, build_unary_op,
8113 build_array_ref, convert_for_assignment): Update.
8114 (mark_addressable): Rename.
8115 * calls.c (try_to_integrate, expand_call): Use langhook.
8116 * expr.c (expand_expr): Use langhook.
8117 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
8118 * langhooks.h (struct lang_hooks): New hook.
8119 * stmt.c (expand_asm_operands): Use langhook.
8120 * tree.h (mark_addressable): Remove.
8122 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
8124 2002-04-01 Bob Wilson <bob.wilson@acm.org>
8126 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
8129 2002-04-01 Bob Wilson <bob.wilson@acm.org>
8131 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
8132 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
8134 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
8136 * c-common.c (unsigned_conversion_warning, convert_and_check,
8137 unsigned_type, signed_type, shorten_compare,
8138 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
8139 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
8140 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
8142 * c-decl.c (grokdeclarator): Update.
8143 * c-format.c (check_format_types): Update.
8144 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
8145 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
8146 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
8147 * convert.c (convert_to_integer): Use new hooks.
8148 * expmed.c (make_tree): Use new hooks.
8149 * expr.c (store_expr): Use new hooks.
8150 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
8151 all_ones_mask_p, unextend, fold): Use new hooks.
8152 * langhooks.h (struct lang_hooks_for_types): New hooks.
8153 * tree.h (signed_or_unsigned_type, signed_type,
8154 unsigned_type): Remove.
8156 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
8157 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
8159 2002-03-31 Richard Henderson <rth@redhat.com>
8161 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
8162 (desc_frgr_mem): Fix reference to f16-f31.
8164 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8166 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
8167 RTVEC_ELT): Const-ify.
8168 * varray.h (VARRAY_CHECK): Const-ify.
8169 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
8170 ggc_mark_rtvec, ggc_mark): Const-ify.
8172 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
8174 * diagnostic.c: Include langhooks-def.h.
8175 * Makefile.in (diagnostic.o): Update.
8177 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
8179 * c-common.c (c_unsafe_for_reeval): Rename.
8180 * c-common.h (c_unsafe_for_reeval): Rename.
8181 * c-decl.c (finish_incomplete_decl): Rename.
8182 (c_init_decl_processing): Don't set langhook.
8183 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
8184 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
8185 * c-objc-common.c (c_objc_common_init): Don't set langhook.
8186 * c-tree.h (finish_incomplete_decl): Rename.
8187 * langhooks-def.h (lhd_unsafe_for_reeval): New.
8188 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
8189 (LANG_HOOKS_INITIALIZER): Update.
8190 * langhooks.c (lhd_unsafe_For_reeval): New.
8191 * langhooks.h (struct langhooks): New hooks.
8192 * toplev.c (incomplete_decl_finalize_hook): Remove.
8193 (wrapup_global_declarations): Update.
8194 * tree.c (lang_unsafe_for_reeval): Remove.
8195 (unsafe_for_reeval): Update.
8196 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
8199 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
8200 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
8202 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
8204 * diagnostic.c (print_error_function): Remove.
8205 (default_print_error_function): Rename.
8206 (report_error_function): Update.
8207 * diagnostic.h (print_error_function): Remove.
8208 (default_print_error_function): Remove.
8209 * langhooks-def.h (struct diagnostic_context): Predeclare.
8210 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
8211 (LANG_HOOKS_INITIALIZER): Update.
8212 * langhooks.h (struct diagnostic context): Predeclare.
8213 (struct lang_hooks): New hook.
8215 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8217 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
8218 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
8220 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
8221 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
8222 of PIC_OFFSET_TABLE_REGNUM thruout.
8223 * config/rs6000/rs6000.md: Likewise.
8224 * config/rs6000/darwin.h: Likewise.
8226 Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8228 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
8229 unsigned HOST_WIDE_INT, not unsigned int.
8231 2002-03-31 Jakub Jelinek <jakub@redhat.com>
8233 PR middle-end/6096, middle-end/6098, middle-end/6099
8234 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
8236 (fill_slots_from_thread): Likewise.
8238 2002-03-31 Jakub Jelinek <jakub@redhat.com>
8240 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
8241 floating fields in float regs.
8242 (function_arg_record_value_2): Likewise.
8244 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
8246 * config/mmix/mmix.md (define_constants): Remove misleading
8247 FIXME. Add MMIX_fp_rO_OFFSET.
8248 ("nonlocal_goto_receiver"): Don't have stack-frame address of
8249 saved rO as part of the pattern. Remove FIXME.
8250 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
8251 here, at output-time.
8253 2002-03-31 Jakub Jelinek <jakub@redhat.com>
8256 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
8258 (output_v9branch): Likewise.
8260 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
8262 * gcc.c: Revert previous patch for now.
8263 * config/i386/djgpp.h: Likewise.
8265 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
8267 * config/mmix/crti.asm (_init): Register _fini with atexit.
8268 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
8270 2002-03-31 Richard Henderson <rth@redhat.com>
8273 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
8274 (ASM_OUTPUT_DEF_FROM_DECLS): New.
8276 2002-03-31 Richard Henderson <rth@redhat.com>
8278 * libgcc2.c (__bb_exit_func): Make static.
8280 * config/alpha/alpha.md (trap): New.
8282 2002-03-31 Richard Henderson <rth@redhat.com>
8284 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
8285 promoted argument types; build trap.
8286 (expand_builtin_trap): New.
8287 (expand_builtin): Use it.
8288 * stmt.c (expand_nl_goto_receivers): Likewise.
8289 * expr.h (expand_builtin_trap): Declare.
8290 * libfuncs.h (LTI_abort, abort_libfunc): New.
8291 * optabs.c (init_optabs): Init abort_libfunc.
8293 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
8295 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
8296 (LINK_COMMAND_SPEC): ... from here.
8297 (init_gcc_specs): Duplicate it here too, omitting
8298 shared_name in the second copy.
8299 (init_spec): Test for duplicate
8300 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
8302 2002-03-30 David S. Miller <davem@redhat.com>
8304 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8305 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
8307 2002-03-30 Roger Sayle <roger@eyesopen.com>
8308 Richard Henderson <rth@redhat.com>
8310 * regmove.c (combine_stack_adjustments_for_block): Avoid
8311 emitting a stack adjustment of zero bytes. Let delete_insn
8314 2002-03-30 Richard Henderson <rth@redhat.com>
8316 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
8317 (sparc_emitting_epilogue): New.
8318 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
8319 * config/sparc/sparc-protos.h: Update.
8320 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
8321 (TARGET_SWITCHES): Update.
8322 * config/sparc/sparc.md (return): Remove.
8323 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
8324 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
8325 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
8326 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
8327 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
8328 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
8329 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
8330 Remove MASK_EPILOGUE.
8331 * doc/invoke.texi: Update.
8333 2002-03-30 Daniel Berlin <dan@dberlin.org>
8335 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
8336 CPP will start the file for us.
8338 2002-03-30 Richard Henderson <rth@redhat.com>
8341 * config/ia64/ia64.c (group_barrier_needed_p): Special case
8342 prologue_allocate_stack.
8343 (ia64_single_set): Use insn codes for recognition of special
8344 cases, not rtl matching.
8345 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
8347 Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
8349 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
8351 2002-03-30 Richard Henderson <rth@redhat.com>
8354 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
8355 or -fomit-frame-pointer with profiling.
8356 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
8357 (FUNCTION_PROFILER): Do nothing.
8358 (PROFILE_HOOK): New.
8359 * config/sparc/sparc.c (sparc_override_options): Don't check
8360 code models for profiling.
8361 (sparc_function_profiler): Remove.
8362 (sparc_profile_hook): New.
8363 * config/sparc/sparc-protos.h: Update.
8365 2002-03-30 Jakub Jelinek <jakub@redhat.com>
8367 PR optimization/6086
8368 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
8369 of SUBREG of volatile MEM or because the MEM was mode dependent,
8370 return CLOBBER instead of unmodified SUBREG.
8372 Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
8374 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
8375 when not optimizing.
8377 * toplev.c (rest_of_compilation): Cann mark_constant_function
8378 only when optimizing.
8380 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
8383 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
8384 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
8385 (try_optimize_cfg): clear all AUX fields.
8387 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
8388 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
8389 (ix86_address_cost): Be prepared for SUBREGed registers.
8390 (legitimate_address_p): Accept SUBREGed registers.
8392 2002-03-29 Richard Henderson <rth@redhat.com>
8395 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
8397 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8399 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
8400 for aggregate and TFmode types.
8402 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
8404 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
8406 2002-03-29 Richard Henderson <rth@redhat.com>
8409 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
8410 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
8412 2002-03-29 Richard Henderson <rth@redhat.com>
8415 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
8416 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
8417 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
8418 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
8420 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
8422 2002-03-29 Dale Johannesen <dalej@apple.com>
8424 * loop.c (combine_movables): Do allow combination of pseudos.
8426 2002-03-29 Loren J. Rittle <ljrittle@acm.org>
8428 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
8429 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
8430 No functional change except ...
8431 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
8432 * doc/install.texi (*-*-freebsd*): Document port configuration.
8434 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
8436 * Makefile.in (convert.o, calls.o, expmed.o): Update.
8437 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
8439 * builtin-types.def (BT_PTRMODE): Update.
8440 * c-common.c (type_for_size): Rename c_common_type_for_size.
8441 (type_for_mode): Similarly.
8442 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
8444 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
8445 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
8446 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
8448 * c-typeck.c (common_type, comptypes, default_conversion):
8450 * calls.c: Include langhooks.h.
8451 (emit_library_call_value_1): Use new hooks. Avoid redundant
8453 * convert.c: Include langhooks.h
8454 (convert_to_pointer, convert_to_integer): Use new hooks.
8455 * except.c (init_eh): Similarly.
8456 * expmed.c: Include langhooks.h.
8457 (expand_mult_add): Use new hooks.
8458 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
8459 try_casesi): Similarly.
8460 * fold-const.c (optimize_bit_field_compare, make_range,
8461 decode_field_reference, fold_truthop, fold): Similarly.
8462 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
8463 put_var_into_stack): Similarly.
8464 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
8465 LANG_HOOKS_TYPE_FOR_SIZE): New.
8466 (LANG_HOOKS_TYPES_INITIALIZER): Update.
8467 * langhooks.h (lang_hooks_for_types): New hooks.
8468 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
8469 * tree.c (get_unwidened, get_narrower): Similarly.
8470 * tree.h (type_for_mode, type_for_size): Remove.
8471 * varasm.c (force_const_mem): Use new hooks.
8472 * utils2.c (nonbinary_modular_operation): Update.
8474 * objc-act.c (handle_impent): Update.
8475 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
8478 2002-03-29 Steve Ellcey <sje@cup.hp.com>
8480 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
8481 * config/ia64/ia64.c (basereg_operand): New.
8482 * config/ia64/ia64-protos.h (basereg_operand): Declare.
8483 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
8485 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
8487 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
8488 unwind information when frame_pointer_needed.
8489 (mmix_assemble_integer): Tweak wording in comment.
8491 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
8493 * Makefile.in (except.o): Update.
8494 * except.c: Include langhooks.h.
8495 (init_eh): Use langhook.
8496 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
8497 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
8498 (LANG_HOOKS_INITIALIZER): Update.
8499 * langhooks.h (lang_hooks_for_types): New.
8500 (struct lang_hooks): Add it.
8501 * tree.c (make_lang_type_fn, make_lang_type): Remove.
8502 * tree.h (make_lang_type_fn, make_lang_type): Remove.
8504 * alpha/alpha.c: Include langhooks.h.
8505 (alpha_build_va_list): Use langhook.
8506 * d30v/d30v.c: Include langhooks.h.
8507 (d30v_build_va_list): Use langhook.
8508 * i386/i386.c: Include langhooks.h.
8509 (ix86_build_va_list): Use langhook.
8510 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
8511 * s390/s390.c: Include langhooks.h.
8512 (s390_build_va_list): Use langhook.
8513 * stormy16/stormy16.c: Include langhooks.h.
8514 (stormy16_build_va_list): Use langhook.
8516 2002-03-29 Jakub Jelinek <jakub@redhat.com>
8519 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
8521 (length): Compute variable length for branches/calls/jumps here.
8522 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
8523 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
8524 define branch_type attribute.
8525 (divsi3_sp32): Maximum length is 6 not 7.
8526 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
8527 call_address_untyped_struct_value_sp32,
8528 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
8529 * config/sparc/sparc.c (empty_delay_slot): New function.
8530 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
8531 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
8533 2002-03-29 Jakub Jelinek <jakub@redhat.com>
8535 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
8536 nonzero_bits if not needed.
8537 (nonzero_bits) [XOR]: Likewise.
8538 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
8539 reg_last_set_mode and mode are both MODE_INT, but not equal.
8540 (record_value_for_reg): Compute reg_last_set_nonzero_bits
8541 in nonzero_bits_mode for MODE_INT modes.
8543 2002-03-28 Richard Henderson <rth@redhat.com>
8546 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
8547 to GAS. Correct drift between alternatives.
8549 2002-03-28 Richard Henderson <rth@redhat.com>
8552 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
8554 2002-03-28 Alexandre Oliva <aoliva@redhat.com>
8556 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
8557 emulation to the linker.
8559 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
8561 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
8562 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
8564 Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
8566 * combine.c (simplify_and_const_int): Make sure to apply mask
8567 when force_to_mode returns a constant integer. PR3311.
8569 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
8571 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
8573 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8575 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
8576 and Objective-C Dialect Options.
8578 2002-03-28 Richard Henderson <rth@redhat.com>
8580 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
8581 comparison should be done vs !=0 not >0 return code. Tidy cases.
8583 2002-03-28 Richard Henderson <rth@redhat.com>
8585 * c-decl.c (finish_function): New arg can_defer_p. Pass it
8586 on to c_expand_body.
8587 * c-tree.h (finish_function): Update decl.
8588 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
8590 Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
8592 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
8594 Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
8596 * rtlanal.c: Include flags.h
8597 (may_trap_p): Do not mark FP operations if trapping
8598 if !flag_trapping_math
8599 * Makefile.in (rtlanal.o): Add dependency on flag.h
8600 * ifcvt.c (noce_operand_ok): Avoid the lameness.
8602 2002-03-27 Zack Weinberg <zack@codesourcery.com>
8604 * mips.md: Use dconst1, not 1.0, as first argument of
8605 REAL_VALUE_LDEXP. Don't use union real_extract.
8607 2002-03-28 Alan Modra <amodra@bigpond.net.au>
8609 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
8610 rather than $target. Heed program_prefix and
8611 program_transform_name. Search for gas in cross-compiler case too.
8612 "test -x" rather than "test -f".
8613 (gcc_cv_ld): Likewise.
8614 (gcc_cv_nm): Heed program_prefix and program_transform_name.
8615 (gcc_cv_objdump): Likewise.
8616 * configure: Regenerate.
8618 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
8620 * Makefile.in (attribs.o): Update.
8621 * attribs.c: Include langhooks.h.
8622 (decl_attributes): Use langhook.
8623 * c-decl.c (insert_default_attributes): Rename.
8624 * c-tree.h (c_insert_default_attributes): New.
8625 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
8626 (LANG_HOOKS_INITIALIZER): Update.
8627 * langhooks.h (struct lang_hooks): New hook.
8628 * tree.h (insert_default_attributes): Remove.
8630 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
8632 2002-03-27 Andreas Schwab <schwab@suse.de>
8634 * config/i386/i386.c (classify_argument): Also check for
8637 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8639 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
8642 Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
8644 * i960.md (ret): Set PC.
8645 (nonlocal_goto): Fix expander.
8646 * builtins.c (epxand_builin_longjmp): Check that we've emitted
8649 Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
8651 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
8654 Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
8656 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
8657 assigning to BLOCK_FOR_INSN directly.
8659 Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
8661 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
8663 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
8665 * c-common.c (c_expand_expr): Fix prototype.
8666 * c-common.h (c_expand_expr): Always declare, update.
8667 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
8668 * c-objc-common.c (c_objc_common_init): No global hook.
8669 * expr.c (expand_expr): Use langhook.
8670 * expr.h (enum expand_modifier): Conditionally declare.
8671 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
8672 (LANG_HOOKS_INITIALIZER): Update.
8673 * langhooks.c (lhd_expand_expr): New.
8674 * langhooks.h (struct lang_hooks): New hook.
8675 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
8676 (lang_independent_init): Don't default hook.
8678 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
8680 2002-03-27 Richard Henderson <rth@redhat.com>
8683 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
8684 TARGET_CONST_GP. Simplify conditions.
8686 2002-03-27 Richard Henderson <rth@redhat.com>
8688 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
8689 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
8690 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
8692 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
8694 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
8695 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
8696 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
8697 Remove unnecessary masks.
8698 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
8699 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
8700 -mwindows, -mdll switches and their negations.
8702 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
8704 * gcc-common.c (lang_mark_false_label_stack): Remove.
8705 * ggc.h (lang_mark_false_label_stack): Similarly.
8707 2002-03-26 Vladimir Makarov <vmakarov@redhat.com>
8709 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
8711 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
8712 or __rtems_ is defined.
8714 2002-03-26 Richard Henderson <rth@redhat.com>
8716 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
8717 if a non-trivial load was emitted.
8718 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
8719 in high+extra+low case.
8721 2002-03-26 Richard Henderson <rth@redhat.com>
8723 * config.gcc (sparc*-solaris): Use float_format=sparc.
8725 2002-03-26 Richard Henderson <rth@redhat.com>
8727 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
8728 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
8729 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
8730 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
8731 (WINT_TYPE_SIZE): Fix at 32.
8733 2002-03-26 Richard Henderson <rth@redhat.com>
8735 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
8736 until after eh landing pad generation.
8737 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
8738 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
8740 2002-03-26 Richard Henderson <rth@redhat.com>
8742 * expr.h (ADD_PARM_SIZE): One more convert for INC.
8744 2002-03-26 Phil Edwards <pme@gcc.gnu.org>
8746 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
8747 and warning switches.
8748 (cc1_options): Likewise.
8750 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
8752 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
8753 Restore more of the signal context. Set no_reg_stack_frame.
8754 * config/ia64/unwind-ia64.c (unw_state_record):
8755 Add no_reg_stack_frame, comments.
8756 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
8757 (uw_update_context): Adjust bsp when unwinding from leaf,
8758 but not signal frame.
8760 2002-03-26 David Edelsohn <edelsohn@gnu.org>
8762 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
8764 2002-03-26 Bob Wilson <bob.wilson@acm.org>
8766 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
8768 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
8771 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
8772 "Add a pool_range attribute", which was lost during the ARM/Thumb
8775 2002-03-26 Bob Wilson <bob.wilson@acm.org>
8777 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
8778 a register into the MAC16 accumulator.
8780 2002-03-26 Andrew Cagney <ac131313@redhat.com>
8782 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
8783 (Warning Options): Document -Wswitch-enum.
8784 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
8786 (warn_switch_enum): Define variables.
8787 * flags.h (warn_switch_enum): Declare variables.
8788 * stmt.c (expand_end_case_type): When warn_switch_enum /
8789 -Wswitch-enum, perform switch checks.
8792 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
8794 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
8795 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
8796 (reload_muladdsi_compare0_scratch): Delete.
8798 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
8800 * doc/install.texi (*-*-freebsd*): Update.
8802 2002-03-26 Richard Henderson <rth@redhat.com>
8804 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
8805 (SUB_PARM_SIZE): Cast DEC to ssizetype.
8807 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
8808 types from the normal argument frame.
8810 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
8811 variable sized objects by reference.
8812 (sparc_va_arg): Receive them by reference too.
8814 2002-03-26 Hartmut Penner <hpenner@de.ibm.com>
8816 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
8817 code to not restoring global registers.
8819 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
8821 * Makefile.in (ggc-common.o): Update.
8822 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
8823 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
8824 * c-tree.h (c_mark_tree): New.
8825 * ggc-common.c: Include langhooks.h.
8826 (gcc_mark_trees): Use new langhook.
8827 * ggc-callbacks.c: Delete file.
8828 * ggc.h (lang_mark_tree): Remove.
8829 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
8830 (LANG_HOOKS_INITIALIZER): Update.
8831 * langhooks.h (struct lang_hooks): New hook.
8833 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
8835 2002-03-25 Zack Weinberg <zack@codesourcery.com>
8837 * doc/cpp.texi: Exclude entire Top node from printed manual.
8838 Move option index after directive index. Insert page breaks
8839 before GFDL and concept index. Index environment variables
8840 with command line options.
8841 * doc/cppenv.texi: Use @vtable for environment variable list.
8842 Add paragraph explaining semantics of empty elements in path
8843 variables. Exclude a cross-reference to Fishkill from the
8844 manpage. Remove an unnecessary cross-reference of the entry
8845 right above the referer. Don't use @anchor in text that goes
8847 * doc/cppopts.texi: Cross-reference the environment variables
8848 section, not the specific environment variable, for consistency.
8850 2002-03-25 Richard Henderson <rth@redhat.com>
8852 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
8853 anywhere in the block. Don't refer to insns that have been
8854 removed from the chain. Iterate backward through the new insns.
8855 Don't refer to edges that have been removed.
8857 2002-03-26 Alan Modra <amodra@bigpond.net.au>
8859 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
8860 test for overflow of constant.
8862 2002-03-25 Richard Earnshaw <rearnsha@arm.com>
8865 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
8866 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
8867 these patterns on arm_archv4.
8869 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
8871 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
8874 2002-03-25 Zack Weinberg <zack@codesourcery.com>
8876 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
8877 float_handled, float_handler, float_signal, set_float_handler,
8878 and do_float_handler. Set handler for SIGFPE to crash_signal.
8879 * toplev.h: Don't prototype do_float_handler.
8881 * c-lex.c: Fold parse_float into lex_number. Make warning
8882 about portability of hex float constants more informative, and
8883 don't issue it on top of a syntax error.
8884 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
8886 * real.h: Define REAL_VALUE_ABS here...
8887 * simplify-rtx.c: ... not here. Fold check_fold_consts,
8888 simplify_unary_real, simplify_binary_real, and
8889 simplify_binary_is2orm1 into their callers.
8890 * tree.c: Fold build_real_from_int_cst_1 into caller.
8892 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
8894 * tsystem.h: Include float.h here...
8895 * libgcc2.c: ... not here.
8897 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
8899 Fixes for: PR bootstrap/3591, target/5676
8900 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
8901 defined. Do not disable exceptions or rtti.
8902 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
8903 mcore.h. Disable exceptions and rtti, since they are not
8906 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
8908 * c-decl.c (maybe_build_cleanup): Remove.
8909 * expr.c (expand_expr): Use langhook.
8910 * langhooks-def.h (lhd_return_null_tree,
8911 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
8912 (LANGHOOKS_INITIALIZER): Update.
8913 * langhooks.c (lhd_return_null_tree): New.
8914 * langhooks.h (struct lang_hooks): New hook.
8915 * tree-inline.c (initialize_inlined_parameters): Use langhook.
8916 * tree.h (maybe_build_cleanup): Remove.
8918 2002-03-25 Jakub Jelinek <jakub@redhat.com>
8920 * regrename.c (build_def_use): Move recog_memoized
8921 before extract_insn.
8923 2002-03-25 Jakub Jelinek <jakub@redhat.com>
8926 * expr.c (emit_group_store): Handle storing into CONCAT.
8928 2002-03-25 Jakub Jelinek <jakub@redhat.com>
8930 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
8931 corresponding MATCH_DUP.
8933 2002-03-24 Richard Henderson <rth@redhat.com>
8935 * unroll.c (unroll_loop): Zero label_map.
8937 * gcse.c: Include except.h.
8938 * Makefile.in (gcse.o): Update.
8940 2002-03-24 Richard Henderson <rth@redhat.com>
8942 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
8943 Do resolve_unique_section before shared data clause.
8945 2002-03-24 Richard Henderson <rth@redhat.com>
8947 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
8949 2002-03-24 Richard Henderson <rth@redhat.com>
8951 * recog.c (peephole2_optimize): Split blocks when EH insns are
8952 generated in the middle of a block. Do global life update if
8955 2002-03-24 Richard Henderson <rth@redhat.com>
8957 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
8959 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
8962 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
8963 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
8964 (init_dependency_output): Don't make no_output decision here.
8966 2002-03-24 Andrew Cagney <ac131313@redhat.com>
8968 * stmt.c (check_for_full_enumeration_handling): Remove tests of
8969 warn_switch. Update description.
8970 (expand_end_case_type): Call check_for_full_enumeration_handling
8973 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8975 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
8976 (m68hc11_split_move): Call it to see if the source and destination
8977 operands use the same direction auto inc/dec mode, otherwise make the
8978 source an offsetable memory operand and generate an add.
8980 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8982 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
8983 register for operand 2.
8984 ("*subsi3_zero_extendqi"): Likewise.
8985 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
8986 bits so that it is compatible with a pop.
8987 ("*andhi3_gen"): Likewise.
8988 ("xorhi3"): Likewise.
8990 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
8992 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
8994 (cpp_post_options): ... not here.
8996 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
8997 Aldy Hernandez <aldyh@redhat.com>
8999 Removal of separate preprocessor cpp0.
9001 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
9002 cpp0, install-common): Update.
9003 * c-common.c (flag_preprocess_only): New.
9004 (c_common_init): Preprocess for -E.
9005 * c-common.h (flag_preprocess_only): New.
9006 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
9007 * c-objc-common.c (c_init_decl_processing): Exit quickly
9008 for NULL return from c_common_init.
9009 * cpplib.h (cpp_preprocess_file): New.
9010 * cppmain.c (main, general_init, pfile, progname): Remove.
9011 (do_preprocessing): Rename cpp_preprocess_file, don't call
9012 cpp_finish. Don't close stdout here.
9013 (setup_callbacks): Update prototype.
9014 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
9016 * tradcpp.c (main): Ignore -quiet.
9018 * lang-specs.h (default_compilers): Preprocess with cc1obj.
9020 2002-03-24 Richard Henderson <rth@redhat.com>
9022 PR optimization/5742
9023 * machmode.def: Add inner mode field to complex modes.
9024 * config/mips/mips.c (mips_function_value): Always define. Add
9025 new argument to handle libcalls.
9026 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
9027 (FUNCTION_VALUE): Likewise.
9028 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
9029 * config/mips/mips-protos.h: Update.
9031 2002-03-23 Richard Henderson <rth@redhat.com>
9033 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
9034 * config/sparc/sparc-protos.h: Update.
9035 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
9037 2002-03-23 Richard Henderson <rth@redhat.com>
9039 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
9040 _start or _init begins the text segment.
9042 2002-03-23 David Edelsohn <edelsohn@gnu.org>
9044 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
9045 not HOST_WIDEST_INT.
9046 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
9048 2002-03-23 Richard Earnshaw <rearnsha@arm.com>
9051 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
9052 operand argument to output_return_instruction.
9053 * arm.c (arm_print_operand, case 'd'): If the operand is
9054 const_true_rtx then just return.
9055 (arm_print_operand, case 'D'): If the operand is const_true_rtx
9058 2002-03-23 Andrew Cagney <ac131313@redhat.com>
9060 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
9061 (Warning Options): Document -Wswitch-default.
9062 * toplev.c (W_options): Add -Wswitch-default. Update comment on
9064 (warn_switch_default): Define variable.
9065 (warn_switch): Update comment.
9066 * flags.h (warn_switch_default): Declare variable.
9067 (warn_switch): Update comment.
9068 * stmt.c (expand_end_case): Check for and, when
9069 warn_switch_no_default, warn of a missing default case.
9071 2002-03-23 Alan Modra <amodra@bigpond.net.au>
9073 * real.h (N): Special case 128 bit doubles.
9075 * combine.c (simplify_comparison): When widening modes, ignore
9076 sign extension on CONST_INTs.
9078 2002-03-22 Bob Wilson <bob.wilson@acm.org>
9080 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
9081 passed to adjust_address. Fix comment formatting.
9084 2002-03-22 Zack Weinberg <zack@codesourcery.com>
9086 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
9087 Always make REAL_VALUE_TYPE a struct containing an array of
9088 HOST_WIDE_INT, not a double. Tidy up the code deciding how
9089 big it is. Don't declare or use union real_extract.
9091 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
9092 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
9093 (print_operand), config/arm/arm.c (output_move_double),
9094 config/arm/arm.md (consttable_4, consttable_8),
9095 config/romp/romp.c (output_fpops), config/s390/s390.h
9096 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
9097 (xtensa_output_literal): Don't use union real_extract.
9099 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
9100 (sfmode_constant_to_ulong), config/ns32k/merlin.h
9101 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
9102 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
9103 (PRINT_OPERAND): Don't use local version of union
9106 * config/convex/convex.c (check_float_value), config/vax/vax.c
9107 (vax_float_literal), config/m88k/m88k.md (divdf3),
9108 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
9109 config/pdp11/pdp11.c (output_move_quad): Don't do host
9110 arithmetic on target floating point quantities.
9112 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
9113 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
9115 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
9116 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
9118 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
9119 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
9121 * print-rtl.c (print_rtx): Disable code which needs
9122 floating-point emulator.
9123 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
9124 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
9125 depending on HOST_FLOAT_FORMAT to be defined properly.
9127 * config/1750a/1750a.c (get_double, float_label): Delete.
9128 (print_operand): Delete huge commented-out chunk. Use
9129 REAL_VALUE_TO_DECIMAL.
9130 * config/1750a/1750a-protos.h: Delete prototypes of deleted
9132 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
9134 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
9135 Use REAL_VALUE_TO_DECIMAL as ELF version does.
9136 * config/m88k/m88k.c (real_power_of_2_operand,
9137 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
9138 real_extract out of the union; run the input through
9139 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
9140 from that into the union.
9141 * config/pdp11/pdp11.c (output_move_double): Rearrange
9142 parentheses to make automatic indenter happy.
9144 * doc/tm.texi (Cross-compilation): Rename node to "Floating
9145 Point" and rewrite to describe current situation. Also adjust
9146 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
9148 * doc/rtl.texi: Adjust cross reference.
9150 2002-03-22 Bob Wilson <bob.wilson@acm.org>
9152 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
9153 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
9154 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
9155 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
9156 prevent use of sp as a reload register.
9157 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
9158 non_acc_reg_operand.
9159 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
9160 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
9161 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
9162 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
9164 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
9166 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
9167 * cpplex.c (unterminated): Delete.
9168 (parse_string): No string literal may extend over multiple
9169 lines. Suppress the error when preprocessing assembly.
9170 * cppmain.c (scan_translation_unit): Strings are single-line.
9172 * doc/cpp.texi: Update to match.
9174 2002-03-22 Jakub Jelinek <jakub@redhat.com>
9176 PR optimization/5854
9177 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
9179 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
9180 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
9181 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
9182 const0 if scratch register was not allocated.
9183 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
9184 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
9186 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
9187 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
9188 with GEN_INT (...) everywhere. Remove constraints in define_split
9190 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
9191 require scratch register for setting 0 into regs/non-pushable memory.
9193 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
9195 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
9196 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
9198 2002-03-22 Phil Edwards <pme@gcc.gnu.org>
9200 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
9201 * cppinit.c (cpp_create_reader): On by default.
9202 (cpp_handle_option): Handle -W[no-]endif-labels.
9203 (cpp_post_options): Also enable if -pedantic.
9204 * cpplib.c (do_else): Use it.
9205 (do_endif): Likewise.
9206 * doc/cppopts.texi: Document new option.
9207 * doc/invoke.texi: Document new option.
9209 2002-03-22 Lars Brinkhoff <lars@nocrew.org>
9211 * config/i386/i386.c, config/i386/i386.md: Change all occurences
9212 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
9214 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
9216 * flow.c (calculate_global_regs_live): Clear aux fields of
9219 2002-03-22 Jakub Jelinek <jakub@redhat.com>
9221 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
9222 REG or MEM subregs, pass rtx * instead of rtx to it.
9223 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
9224 rtx * instead of rtx to alter_subreg.
9225 * config/m32r/m32r.c (gen_split_move_double): Likewise.
9226 * config/pj/pj.c (pj_output_rval): Likewise.
9228 2002-03-22 Richard Henderson <rth@redhat.com>
9231 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
9232 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
9233 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
9234 (ia64_expand_prologue): Look at int_regs, not words, for number
9235 of incomming int regs.
9237 2002-03-22 Andrew MacLeod <amacleod@redhat.com>
9239 * expr.c (expand_expr): A RESULT_DECL is part of a call.
9241 Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
9243 * toplev.c (flag_loop_optimize, flag_crossjumping):
9244 New static variables.
9245 (rest_of_compilation): Conditionalize crossjumping and
9247 (parse_options_and_default_flags): Default loop_optimize and
9249 (lang_independent_options): Add -fcrossjumping and -floop-optimize
9250 * invoke.texi (crossjumping, loop-optimize): Document.
9252 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9254 * real.c (eiisneg): Move outside #ifdef NANS.
9256 Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
9258 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
9259 frequencies match; avoid match on different loop depths.
9260 (try_crossjump_to_bb): Kill tests that no longer brings time
9262 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
9264 (split_edge): Likewise.
9266 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
9269 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
9270 * cfgrtl.c: Include insn-config.h
9271 (split_block) Dirtify block in presence of conditional execution
9273 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9275 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
9276 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
9277 (function_arg): Constify CUMULATIVE_ARGS.
9278 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
9279 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
9280 (UNITS_PER_DOUBLE): New macro.
9281 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
9282 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
9283 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
9284 fp_regs and stack_words.
9285 (EABI_FLOAT_VARARGS_P): New macro.
9286 * config/mips/mips.c (struct mips_arg_info): New.
9287 (mips_arg_info): New function.
9288 (function_arg_advance): Use it. Add adjustment instructions here
9289 rather than in function_arg.
9290 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
9291 for VOIDmode at the beginning of the function.
9292 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
9293 (function_arg_pass_by_reference): Likewise.
9294 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
9295 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
9296 (mips_va_start): Likewise. Use the new stack_words field of
9297 CUMULATIVE_ARGS to set up overflow area. Reformat.
9298 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
9299 doubles and other types, aligning the overflow pointer for non-doubles
9300 too. Remove some code duplication. Replace hard-coded constants.
9302 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9304 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
9305 (CLASS_UNITS): Undefine.
9306 (CLASS_MAX_NREGS): Use FP_INC.
9307 * config/mips/mips.c (compute_frame_size): Likewise.
9308 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
9310 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
9312 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
9313 prototype, and handle lexing numbers and identifiers.
9314 (parse_identifier): Update to new form of parse_slow.
9315 (parse_number): Fast path only, use parse_slow otherwise.
9316 (_cpp_lex_direct): Update calls to parse_number.
9318 2002-03-21 DJ Delorie <dj@redhat.com>
9320 * bb-reorder.c (make_reorder_chain_1): Protect against
9321 when redundant edges are omitted.
9322 * predict.c (dump_prediction): Likewise.
9324 2002-03-21 Richard Henderson <rth@redhat.com>
9327 * fixinc/inclhack.def (solaris_stdio_tag): New.
9328 * fixinc/fixincl.x: Regenerate.
9330 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
9333 * c-typeck.c (process_init_element): Flag non-static
9334 initialization of a flexible array member as illegal.
9336 2002-03-22 Alan Modra <amodra@bigpond.net.au>
9338 * config/rs6000/t-linux64: New.
9339 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
9340 t-ppccomm. Use t-rs6000 and t-linux64.
9341 (powerpc64-*-gnu* <tmake_file>): Likewise.
9342 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
9343 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
9344 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
9346 2002-03-21 Aldy Hernandez <aldyh@redhat.com>
9348 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
9349 flag_really_no_inline instead of optimize == 0.
9351 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
9353 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
9355 * flags.h (flag_really_no_inline): New.
9357 * c-common.c (c_common_post_options): Initialize
9358 flag_really_no_inline.
9360 * toplev.c (flag_really_no_inline): New.
9362 2002-03-21 Jakub Jelinek <jakub@redhat.com>
9364 * config/avr/avr.md (length): Fix length computation for
9365 conditional branches.
9367 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
9369 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
9370 sdbout.o, profile.o): Update.
9371 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
9373 * c-common.h (gettags): Move here from tree.h.
9374 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
9375 insert_block, getdecls, kept_level_p, global_bindings_p): New.
9376 * dbxout.c (dbxout_init): Use getdecls langhook.
9377 * expr.c (expand_expr): Use insert_block langhook.
9378 * fold-const.c: Include langhooks.h.
9379 (fold_range_test, fold_binary_op_with_conditional_arg,
9380 fold): Use global_bindings_p langhook.
9381 * integrate.c (expand_inline_function): Use insert_block langhook.
9382 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
9383 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
9384 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
9385 LANG_HOOKS_GETDECLS): New.
9386 (LANG_HOOKS_INITIALIZER): Update.
9387 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
9389 * langhooks.h (struct lang_hooks_for_decls): New.
9390 (struct lang_hooks): Update.
9391 * profile.c: Include langhooks.h.
9392 (output_func_start_profiler): Use new langhooks.
9393 * sdbout.c: Include langhooks.h.
9394 (sdbout_init, sdbout_finish): Use getdecls langhook.
9395 * stmt.c: Include langhooks.h.
9396 (expand_fixup, fixup_gotos): Use new langhooks.
9397 * stor-layout.c: Include langhooks.h.
9398 (variable_size): Use global_bindings_p langhook.
9399 * toplev.c (compile_file): Use getdecls langhook.
9400 * tree-inline.c (remap_block): Use insert_block langhook.
9401 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
9402 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
9404 2002-03-21 Richard Henderson <rth@redhat.com>
9406 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
9407 constants in .data when -fpic.
9409 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9411 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
9414 2002-03-21 Tom Tromey <tromey@redhat.com>
9416 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
9418 Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9420 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
9422 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
9424 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
9425 Richard Henderson <rth@redhat.com>
9428 * c-common.c (c_expand_expr): Preserve result of a statement
9429 expression if needed.
9431 2002-03-21 Jakub Jelinek <jakub@redhat.com>
9434 * genrecog.c (maybe_both_true_mode): Remove.
9435 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
9436 * machmode.def (Pmode): Likewise.
9438 Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
9440 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
9441 (nonlocal_mentioned_p_1): New function.
9442 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
9443 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
9444 (mark_constant_function): Recognize pure functions.
9445 * rtl.h (global_reg_mentioned_p): New prototype.
9446 * rtlanal.c (global_reg_mentioned_p,
9447 global_reg_mentioned_p_1): New function.
9449 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9451 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
9453 * fixinc/fixincl.x: Regenerate.
9455 2002-03-20 Jason Merrill <jason@redhat.com>
9457 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
9459 2002-03-20 Michael Meissner <meissner@redhat.com>
9461 * doc/invoke.texi (Optimize Options): Document that -O2 sets
9464 2002-03-20 Bob Wilson <bob.wilson@acm.org>
9466 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
9467 ".literal_position" directive before the constant pool.
9469 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9471 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
9472 Add Craig Rodrigues.
9473 Add Brad Lucier to testers.
9475 2002-03-20 Jakub Jelinek <jakub@redhat.com>
9478 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
9480 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
9481 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
9482 instead of insn_extract.
9484 2002-03-20 Jakub Jelinek <jakub@redhat.com>
9487 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
9489 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
9490 stmt if some case has been output.
9492 2002-03-20 Jakub Jelinek <jakub@redhat.com>
9495 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
9496 movsfcc_1, movdfcc_1): Add %O2.
9497 * config/i386/i386.c (print_operand): Handle %ON.
9498 Print . before float condition codes in Sun as cmov syntax.
9499 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
9500 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
9503 2002-03-20 Philip Blundell <pb@nexus.co.uk>
9505 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
9506 return instruction if PC was popped.
9508 2002-03-20 Bob Wilson <bob.wilson@acm.org>
9510 * config/xtensa/xtensa.md: Remove unused type attributes.
9511 (adddi_carry, subddi_carry): Change type attribute to "multi".
9513 2002-03-19 Dale Johannesen <dalej@apple.com>
9515 PR optimization/5999, middle-end/5731
9516 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
9517 multiplications by reciprocals.
9519 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
9521 * Makefile.in: Update.
9522 * c-common.c: Include langhooks.h.
9523 (inline_forbidden_p): Use new hook.
9524 * diagnostic.c: Include langhooks.h.
9525 (format_with_decl, announce_function,
9526 default_print_error_function): Use new hook.
9527 * dwarf2out.c (dwarf2_name): Use new hook.
9528 * function.c: Include langhooks.h.
9529 (init_function_start): Use new hook.
9530 * langhooks-def.h (lhd_decl_printable_name): New.
9531 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
9532 (LANGHOOKS_INITIALIZER): Update.
9533 * langhooks.c (lhd_decl_printable_name): New.
9534 * langhooks.h (struct lang_hooks): New hook.
9535 * toplev.c (decl_name, decl_printable_name): Remove.
9536 (open_dump_file): Use new hook.
9537 (process_options): Remove old hook.
9538 * tree.h (decl_printable_name): Remove.
9540 * objc-act.c (objc_init): Remove old hook.
9541 (objc_printable_name): Export.
9542 * objc-act.h (objc_printable_name): New.
9543 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
9545 2002-03-19 Jim Blandy <jimb@redhat.com>
9547 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
9548 the start_source_file debug hook, not the current line number.
9550 2002-03-19 Richard Henderson <rth@redhat.com>
9552 * flow.c (EH_USES): Provide default.
9553 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
9554 * doc/tm.texi (EH_USES): New.
9556 * config/ia64/ia64.c (ia64_eh_uses): New.
9557 * config/ia64/ia64-protos.h: Update.
9558 * config/ia64/ia64.h (EH_USES): New.
9560 2002-03-19 Richard Henderson <rth@redhat.com>
9562 * varasm.c (output_constant_def): Fix stupid typo.
9564 2002-03-19 Richard Henderson <rth@redhat.com>
9567 * except.c (current_function_has_exception_handlers): New.
9568 * except.h: Declare it.
9569 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
9570 Combine tests that disable all sibcalls for the function.
9572 2002-03-19 Olivier Hainque <hainque@act-europe.fr>
9574 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
9577 2002-03-19 Richard Henderson <rth@redhat.com>
9580 * config/ia64/ia64.c: Revert 2002-03-01 patch.
9581 * config/ia64/ia64.h (INIT_EXPANDERS): New.
9583 2002-03-19 Jim Blandy <jimb@redhat.com>
9585 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
9586 name, even if the replacement list contains no tokens, as required
9589 2002-03-19 Jason Merrill <jason@redhat.com>
9591 * varasm.c (globalize_decl): Get the name from the RTL, not
9592 DECL_ASSEMBLER_NAME.
9594 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
9596 2002-03-19 Bob Wilson <bob.wilson@acm.org>
9598 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
9599 subdi_carry): Define.
9601 2002-03-19 David Edelsohn <edelsohn@gnu.org>
9603 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
9604 about -fpic/-fPIC if extra_warnings set.
9606 2002-03-19 David Edelsohn <edelsohn@gnu.org>
9608 * expr.c (expand_expr): Sign-extend CONST_INT generated from
9609 TREE_STRING_POINTER.
9610 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
9612 Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9614 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
9615 in favor of SP if FRAME_POINTER_REQUIRED is false.
9617 2002-03-19 Lars Brinkhoff <lars@nocrew.org>
9619 * emit-rtl.c (gen_int_mode): New function.
9620 * rtl.h: Prototype for it.
9621 * combine.c (make_extraction, simplify_comparison), expmed.c
9622 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
9623 (convert_modes, store_field), optabs.c (expand_fix),
9624 simplify-rtx.c (neg_const_int, simplify_unary_real),
9626 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
9627 Use it instead of GEN_INT (trunc_int_for_mode (...)).
9629 2002-03-19 Jakub Jelinek <jakub@redhat.com>
9632 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
9633 convert_parm_for_inlining.
9634 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
9636 * langhooks-def.h: Likewise.
9637 * objc/objc-lang.c: Likewise.
9638 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
9640 * tree-inline.c (initialize_inlined_parameters):
9641 Call convert_parm_for_inlining lang hook if needed.
9642 * c-typeck.c (c_convert_parm_for_inlining): New function.
9643 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
9645 2002-03-18 Mark Mitchell <mark@codesourcery.com>
9647 * calls.c (precompute_arguments): Do not assume that temporaries
9648 can be destroyed after expanding the argument.
9649 (expand_call): Likewise.
9651 2002-03-15 Eric Christopher <echristo@redhat.com>
9653 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
9654 Fix register preference on last change.
9655 * config/mips/mips.c (mips_return_in_memory): New function.
9656 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
9657 * config/mips/mips-protos.h: Declare.
9658 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
9659 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
9661 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
9663 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
9665 (anddi3, iorsi3): Likewise.
9667 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
9668 use %gprel for symbols that are going to be placed in linkonce
9671 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
9672 RETURN_ADDRESS_POINTER_REGNUM to $ra.
9673 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
9674 not needed. Disregard leaf_function_p().
9675 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
9676 mips16 frame pointer.
9677 * config/mips/mips.md (store ra): Only to small SP offsets.
9678 2001-08-22 Graham Stott <grahams@redhat.com>
9679 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
9680 return a REG rtx for the return address register.
9682 2002-03-18 Bob Wilson <bob.wilson@acm.org>
9684 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
9685 constant-pool addresses as "mode-dependent".
9686 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
9688 2002-03-18 Jakub Jelinek <jakub@redhat.com>
9691 * expr.c (emit_group_load): Use extract_bit_field if
9692 needed for CONCAT arguments.
9694 2002-03-18 Richard Earnshaw <rearnsha@arm.com>
9697 * arm.md (tablejump): Make this a define_expand. For PIC add the
9698 offset to the base of the table.
9699 (thumb_tablejump): Matcher for Thumb tablejump insn.
9700 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
9701 as the difference of two labels.
9702 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
9703 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
9705 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
9706 * arm.c (get_jump_table_size): If the table is not in the text
9707 section, return zero.
9709 2002-03-18 Bernd Schmidt <bernds@redhat.com>
9711 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
9713 (arm_reload_out_hi): Use gen_lowpart instead of
9714 gen_rtx_SUBREG to access QImode components.
9715 * config/arm/arm.md: Disable zero_extend split for QImode
9716 subregs in BIG_ENDIAN mode.
9717 (storehi_bigend): Match use of least significant byte.
9718 (storeinthi): Remove extraneous SUBREG.
9719 Add missing construction of operands[2].
9720 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
9721 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
9722 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
9724 2002-03-18 Aldy Hernandez <aldyh@redhat.com>
9726 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
9729 2002-03-17 Richard Henderson <rth@redhat.com>
9731 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
9734 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
9736 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
9737 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
9739 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9741 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
9743 * predict.c (estimate_bb_frequencies): Delete unused variables.
9745 2002-03-17 Richard Henderson <rth@redhat.com>
9747 * config/ia64/ia64.c (ia64_attribute_table): Move before
9748 targetm definition. Make static.
9750 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
9752 * c-common.h (yyparse, c_common_parse_file): New.
9753 * c-lang.c: Include c-common.h.
9754 (LANG_HOOKS_PARSE_FILE): Redefine.
9755 * c-lex.c: Include c-common.h.
9756 (yyparse): Rename c_common_parse_file. Call yyparse.
9757 * c-parse.in (yyparse): Remove macro.
9758 * c-tree.h (yyparse_1): Remove.
9759 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
9760 (LANG_HOOKS_INITIALIZER): Update.
9761 * langhooks.h (struct lang_hoooks): New hook parse_file.
9762 * toplev.c (compile_file): Use parse_file hook.
9763 * tree.h (yyparse): Remove.
9764 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
9766 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
9768 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
9769 float_truncate, not fix.
9770 ("*truncdfsf2_real"): Ditto.
9771 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
9773 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
9775 2002-03-16 Alexandre Oliva <aoliva@redhat.com>
9777 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
9778 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
9779 where appropriate. Make the second reference to
9780 leaf_function_p a function call, as intended. Reindented.
9782 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
9783 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
9785 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
9786 add register to non-constant into sp.
9788 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
9789 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
9790 (mips16_gp_pseudo_rtx): Lose.
9791 (INIT_EXPANDERS): Deleted.
9792 * config/mips/mips.c (mips_init_machine_status): New.
9793 (mips_free_machine_status): New.
9794 (mips_mark_machine_status): New.
9795 (override_options): Set them.
9796 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
9797 (struct machine_function): ... new. Replaced all references.
9798 (mips_add_gc_roots): Don't mark them.
9799 (embedded_pic_fnaddr_reg): New, extracted from...
9800 (embedded_pic_offset): ... here.
9801 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
9804 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
9806 * cppinit.c: Revert -MD removal.
9808 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9810 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
9811 soft registers by default for 68HC12.
9812 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
9813 when compiling with -fomit-frame-pointer.
9814 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
9815 (expand_epilogue): Likewise.
9816 (m68hc11_gen_rotate): Use exg when rotating by 8.
9818 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9820 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
9821 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
9822 (splits): Remove unused add splits.
9823 ("*addhi3_68hc12"): Tune constraints.
9824 ("addhi_sp"): Try to use X instead of Y in all cases and if the
9825 constant fits in 8-bits and D is dead use abx/aby instructions.
9826 ("*addhi3"): Remove extern declaration of ix_reg.
9827 ("*subsi3"): Optimize and provide new split.
9828 ("subhi3"): Cleanup.
9829 ("*subhi3_sp"): Avoid saving X if we know it is dead.
9830 (arith splits): For 68hc12 save the address register on the stack
9831 and do the arithmetic operation with a pop.
9833 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9835 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
9836 allocating QImode in address registers.
9837 ("*movqi_m68hc11"): Likewise.
9839 Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
9841 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
9843 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
9845 * cppinit.c (print_help): Display -MD and -MMD.
9846 Don't display usage string. Update assertion syntax and
9848 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
9849 (cpp_handle_option): Update.
9851 2002-03-15 Chris Demetriou <cgd@broadcom.com>
9853 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
9854 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
9855 and define it so that regardless of target CPU size,
9856 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
9857 of "int" rather than "long."
9859 2002-03-15 Richard Henderson <rth@redhat.com>
9861 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
9864 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9866 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
9867 ("tstqi" split): Avoid using memory for tstqi on address register.
9868 (splits): Remove constraints.
9869 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
9870 ("cmpdf", "cmpsf"): Remove since not used.
9871 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
9872 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
9874 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9876 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
9877 ("neghi2"): Tighten constraints.
9878 ("one_cmplsi2"): Optimize and simplify split.
9879 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
9881 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9883 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
9884 and split of AND operation to clear the upper bits.
9885 ("*logicalsi3_zextqi"): Likewise.
9886 ("*logicallhi3_zexthi_ashift8"): Likewise.
9887 ("*logicalsi3_silshr16"): Likewise.
9888 ("logicalsi3_silshl16"): Likewise.
9889 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
9891 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9893 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
9894 (m68hc11_indirect_p): New function.
9895 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
9896 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
9898 (asm_print_register): Likewise.
9899 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
9900 (m68hc11_indirect_p): Declare.
9901 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
9902 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
9903 (TARGET_SWITCHES): New option -mrelax.
9904 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
9906 ("iorsi3", "xorsi3"): Likewise.
9907 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
9908 ("*andhi3_mem"): New to handle destination in memory with bclr
9909 and a scratch register.
9910 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
9911 ("*andhi3_const"): New when operand2 is constant.
9912 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
9913 ("*andhi3_gen"): Cleanup of the old "andhi3".
9914 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
9915 ("xorqi3"): Update constraints.
9917 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9919 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
9920 for reg_equiv_memory_loc when the operand is a register that does
9921 not get a hard register (stack location).
9922 (tst_operand): After reload, accept all memory operand.
9923 (symbolic_memory_operand): Fix detection of symbolic references.
9924 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
9925 accept symbols and any constant.
9927 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9929 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
9930 note on the insn that sets the soft frame register.
9931 (must_parenthesize): ix and iy are also reserved names.
9932 (print_operand_address): One more place where parenthesis are required
9933 to avoid confusion with register names.
9934 (m68hc11_gen_movhi): Allow push of stack pointer.
9935 (m68hc11_check_z_replacement): Fix handling of parallel with a
9937 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
9938 the replacement register is.
9939 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
9940 and D8_REGS classes.
9941 (MODES_TIEABLE_P): All modes are tieable except QImode.
9943 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9945 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
9946 (___subdi3): Likewise.
9947 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
9948 (__map_data_section): Optimize 68hc11 case.
9950 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9952 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
9953 than a shift to avoid adding a register with itself.
9954 (m68hc11_memory_move_cost): Take into account NO_REGS.
9955 (m68hc11_register_move_cost): Update and use memory move cost
9957 (m68hc11_address_cost): Make cost of valid offset not 0 so that
9958 it gives more opportunities to cse to optimize.
9959 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
9960 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
9962 2002-03-15 Mark Mitchell <mark@codesourcery.com>
9964 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
9965 * c-common.def (CLEANUP_STMT): New tree node.
9966 * c-common.h (CLEANUP_DECL): New macro.
9967 (CLEANUP_EXPR): Likewise.
9968 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
9969 * expr.c (expand_expr): Tidy.
9970 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
9971 * tree-inline.c (initialize_inlined_parameters): Clean up
9972 new local variables.
9974 2002-03-15 Jakub Jelinek <jakub@redhat.com>
9977 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
9978 before movrXX only, use reg_overlap_mentioned_p.
9979 Only special case NE if just one insn can be generated.
9981 2002-03-15 Jason Merrill <jason@redhat.com>
9983 * varasm.c (assemble_variable): Call resolve_unique_section before
9984 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
9987 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
9990 * arm.md (split pattern for thumb shiftable immediates): Add comment
9991 explaining non-obvious test.
9993 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
9996 * arm.md (movaddr, movaddr_insn): Delete.
9998 2002-03-15 Jason Merrill <jason@redhat.com>
10000 * toplev.c (wrapup_global_declarations): Clarify variable handling.
10001 -fkeep-static-consts doesn't apply to comdats.
10003 2002-03-14 Richard Henderson <rth@redhat.com>
10005 * c-decl.c: Include c-pragma.h.
10006 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
10007 (finish_function): Tidy.
10008 * c-pragma.c: Include c-common.h.
10009 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
10010 (handle_pragma_weak): Use them.
10011 (init_pragma): Register pending_weaks.
10012 * c-pragma.h (maybe_apply_pragma_weak): Declare.
10013 * print-tree.c (print_node): Print DECL_WEAK.
10014 * varasm.c (mark_weak_decls): Remove.
10015 (remove_from_pending_weak_list): Remove.
10016 (add_weak): Remove.
10017 (asm_emit_uninitialised): Call globalize_decl for weak commons.
10018 (weak_decls): Make a tree_list.
10019 (declare_weak): Cons weak_decls directly.
10020 (globalize_decl): Remove weak_decls elements directly.
10021 (weak_finish): Simplify weak_decls walk. Don't weaken unused
10022 symbols. Don't pretend to handle aliases.
10023 (init_varasm_once): Update weak_decls registry.
10024 * Makefile.in: Update dependencies.
10026 2002-03-14 Richard Henderson <rth@redhat.com>
10029 * config/ia64/ia64.c: Include tm_p.h last.
10030 (gen_nop_type): Remove duplicate definition.
10031 (cycle_end_fill_slots): Set sched_data for second L slot.
10032 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
10033 (nop_cycles_until): Fix typos.
10035 2002-03-15 Jakub Jelinek <jakub@redhat.com>
10037 PR optimization/5891
10038 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
10040 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
10042 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
10043 descriptors correctly.
10045 2002-03-14 Michael Meissner <meissner@redhat.com>
10047 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
10048 100, allowing MAX_UNROLLED_INSNS to be overridden.
10050 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
10053 * unroll.c (params.h): Include.
10054 (MAX_UNROLLED_INSNS): Delete, now in params.h.
10056 * doc/invoke.texi (--param max-unroll-insns): Document.
10058 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
10060 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
10062 * arm.md: Fix warnings about constraints in peepholes and splits.
10064 2002-03-14 Zack Weinberg <zack@codesourcery.com>
10066 * cpphash.h (struct lexer_state): Remove line_extension member.
10067 * cpplib.c (dequote_string, do_linemarker): New functions.
10068 (linemarker_dir): New data object.
10069 (DIRECTIVE_TABLE): No longer need to interpret #line in
10070 preprocessed source. Delete obsolete comment about return
10071 values of handlers.
10072 (end_directive, directive_diagnostics, _cpp_handle_directive):
10073 Don't muck with line_extension.
10074 (directive_diagnostics): No need to issue warnings for
10076 (_cpp_handle_directive): Issue warnings for linemarkers here,
10077 when appropriate. Dispatch linemarkers to do_linemarker, not
10079 (do_line): Code to handle linemarkers split out to do_linemarker.
10080 Convert escape sequences in filename argument, both places.
10082 * cppmacro.c (quote_string): Rename cpp_quote_string and
10083 export. All callers changed.
10084 * cpplib.h (cpp_quote_string): Prototype.
10085 * cppmain.c (print_line): Call cpp_quote_string on to_file
10086 before printing it.
10088 * doc/cpp.texi: Document that escapes are now interpreted in
10089 #line and in linemarkers, and that non-printing characters are
10090 converted to octal escapes when linemarkers are generated.
10092 Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
10094 * emit-rtl.c (try_split): Use delete_insns.
10095 * recog.c (split_all_insns): Fix terminating condition.
10097 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
10098 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
10101 * arm.c (arm_output_epilogue): Fix floating-point register save
10102 adjustment when using a frame pointer.
10104 2002-03-14 Richard Sandiford <rsandifo@redhat.com>
10106 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
10107 * config/mips/mips.c (compute_frame_size): Retrofit them here.
10108 (save_restore_insns, mips_expand_epilogue): And here.
10109 (build_mips16_call_stub): And here.
10110 (mips_function_value): Use the new macros to decide whether a single
10111 or complex float can be returned in floating-point registers. Return
10112 a parallel rtx in the complex case.
10114 Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
10116 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
10117 call after liveness analysis.
10119 * recog.c (split_insn): Use delete_insn_and_edges.
10121 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
10122 instructions to have branch prediction notes.
10123 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
10125 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
10127 * configure.in: Don't pass -Wno-long-long to a ADA compiler
10128 that doesn't support it.
10129 * configure: Regenerate.
10131 2002-03-13 Jakub Jelinek <jakub@redhat.com>
10134 * config/sparc/sparc.md (normal_branch, inverted_branch,
10135 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
10136 inverted_fp_branch): Adjust calls to output_cbranch.
10137 Set length attribute.
10138 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
10139 output_v9branch. Set length attribute.
10140 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
10142 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
10143 (output_cbranch): Likewise. Handle far branches.
10144 (output_v9branch): Handle far branches.
10145 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
10147 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
10148 noov_compare64_op predicates.
10150 2002-03-13 Jason Merrill <jason@redhat.com>
10152 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
10153 into the function and constify it.
10154 * gthr-dce.h, gthr-solaris.h: Likewise.
10156 2002-03-13 David Edelsohn <edelsohn@gnu.org>
10158 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
10159 * config/rs6000/rs6000.c (rs6000_va_arg): Use
10160 std_expand_builtin_va_arg if not ABI_V4.
10162 2002-03-13 Jason Merrill <jason@redhat.com>
10164 * varasm.c (globalize_decl): New fn.
10165 (assemble_start_function): Use it.
10166 (asm_emit_uninitialized): Use it.
10167 (assemble_alias): Use it.
10168 (assemble_variable): Use it.
10170 2002-03-13 Hans-Peter Nilsson <hp@axis.com>
10172 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
10173 2002-03-12 internal visibility change.
10174 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
10175 visibility into SYMBOL_REF_FLAG.
10177 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
10179 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
10180 VOIDmode operand. Add compile-time optimization for constant results.
10182 2002-03-12 Jason Merrill <jason@redhat.com>
10184 * c-typeck.c (convert_for_assignment): Don't allow conversions
10185 between pointers and references. Only allow lvalues to convert to
10188 2002-03-13 Hartmut Penner <hpenner@de.ibm.com>
10190 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
10191 before prologue, to avoid scheduling problems.
10193 2002-03-13 Jakub Jelinek <jakub@redhat.com>
10195 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
10196 (ELIMINABLE_REGS): Add sfp->sp.
10197 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
10199 2002-03-13 Jakub Jelinek <jakub@redhat.com>
10201 PR optimization/5892
10202 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
10204 2002-03-13 Jakub Jelinek <jakub@redhat.com>
10206 * loop.c (basic_induction_var): Don't call convert_modes if mode
10207 classes are different.
10209 2002-03-12 Richard Henderson <rth@redhat.com>
10211 PR optimization/5901
10212 * function.c (reposition_prologue_and_epilogue_notes): Position
10213 the markers after/before the last/first insn not deleted.
10215 2002-03-12 Richard Henderson <rth@redhat.com>
10217 PR optimization/5878
10218 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
10219 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
10220 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
10222 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
10223 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
10224 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
10226 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
10227 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
10228 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
10229 also. Don't set it if not flag_pic.
10230 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
10231 to be INVALID_REGNUM when not used.
10233 2002-03-13 Aldy Hernandez <aldyh@redhat.com>
10235 * expmed.c (store_bit_field): Reset alias set for memory.
10236 (extract_bit_field): Same.
10238 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10240 * c-common.c (c_tree_code_type, c_tree_code_length,
10241 c_tree_code_name, add_c_tree_codes): Delete.
10242 * c-common.h (add_c_tree_codes): Delete.
10243 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
10245 * c-objc-common.c (c_objc_common_init): Don't call
10246 add_c_tree_codes, instead set lang_unsafe_for_reeval.
10247 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
10248 objc_tree_code_name, add_objc_tree_codes): Delete.
10249 (objc_init): Don't call add_objc_tree_codes.
10250 * objc/objc-lang.c (tree_code_type, tree_code_length,
10251 tree_code_name): Define.
10252 * toplev.c (lang_independent_init): Don't set
10253 tree_code_length[IDENTIFIER_NODE].
10254 * tree.c (tree_code_type, tree_code_length, tree_code_name):
10255 Delete definitions, moved to language front-ends.
10256 * tree.def (IDENTIFIER_NODE): Hardwire the length.
10257 * tree.h (tree_code_type, tree_code_length, tree_code_name):
10259 (tree_code_length): Change type to unsigned char.
10261 2002-03-12 Richard Henderson <rth@redhat.com>
10263 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
10264 internal visibility change.
10266 2002-03-12 Bob Wilson <bob.wilson@acm.org>
10268 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
10269 validize_mem() instead of change_address to avoid clobbering
10272 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
10274 * c-lex.h (position_after_whitespace): Remove.
10276 2002-03-12 Jakub Jelinek <jakub@redhat.com>
10278 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
10279 (lex_string): Use unsigned char pointers.
10281 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
10283 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
10284 is not a valid memory_operand.
10286 2002-03-12 Bob Wilson <bob.wilson@acm.org>
10288 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
10289 * config/xtensa/lib1funcs.asm: Fix copyright to include
10290 special case for libgcc files.
10291 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
10292 (__divsi3): Likewise.
10293 (__umodsi3): Likewise.
10294 (__modsi3): Likewise.
10295 * config/xtensa/lib2funcs.S: Fix copyright to include
10296 special case for libgcc files.
10298 2002-03-12 Tom Rix <trix@redhat.com>
10300 * collect2.c (resolve_lib_name): Move outside of
10301 OBJECT_FORMAT_COFF ifdef.
10302 (ignore_library): Same.
10304 2002-03-12 Bob Wilson <bob.wilson@acm.org>
10306 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
10308 2002-03-12 Bob Wilson <bob.wilson@acm.org>
10310 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
10311 to function_section before writing out the constant pool.
10313 2002-03-12 David Edelsohn <edelsohn@gnu.org>
10315 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
10317 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
10319 2002-03-12 Alan Modra <amodra@bigpond.net.au>
10321 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
10322 (adddi3): Likewise.
10325 (cmpsi splitter): Likewise.
10326 (modsi3): Fail if <= 0.
10327 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
10328 redundant test when HOST_BITS_PER_WIDE_INT != 32.
10329 (reg_or_sub_cint64_operand): Likewise.
10330 (num_insns_constant_wide): Optimize sign extension.
10331 (rs6000_legitimize_address): Likewise.
10333 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
10335 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
10336 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
10338 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
10340 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
10341 address calculation.
10343 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
10345 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
10346 scratch register to DImode / TImode.
10347 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
10348 register used does not overlap the target.
10350 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10352 * Makefile.in (debug.o): Depend on debug.h.
10353 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
10354 * debug.c (do_nothing_debug_hooks): Likewise.
10355 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
10356 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
10357 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
10358 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
10359 * dwarfout.c (dwarf_debug_hooks): Likewise.
10360 * integrate.c (output_inline_function): Likewise.
10361 * objc/objc-act.c (synth_module_prologue): Likewise.
10362 * sdbout.c (sdb_debug_hooks): Likewise.
10363 * toplev.c (debug_hooks): Likewise.
10364 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
10366 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10368 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
10369 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
10370 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
10371 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
10372 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
10373 * defaults.h (POINTER_SIZE): Define.
10374 * doc/tm.texi (POINTER_SIZE): Document default.
10376 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10378 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
10380 2002-03-11 Richard Henderson <rth@redhat.com>
10382 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
10383 if rebuild_label_notes_after_reload.
10385 2002-03-12 Hans-Peter Nilsson <hp@axis.com>
10387 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
10388 emit pic register load if "internal" visibility.
10389 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
10390 (cris_expand_builtin_va_arg): Do all computations on trees.
10392 2002-03-11 Richard Henderson <rth@redhat.com>
10394 * rtlanal.c: Include recog.h.
10395 (keep_with_call_p): Fix thinko.
10396 * Makefile.in (rtlanal.o): Update dependencies.
10398 2002-03-11 Chris Meyer <cmeyer@gatan.com>
10400 * genflags.c (gen_insn): Use IS_VSPACE.
10401 * genoutput.c (output_insn_data): Likewise.
10402 (process_template): Likewise.
10404 2002-03-11 Richard Henderson <rth@redhat.com>
10406 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
10408 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
10410 * Makefile.in: Update.
10411 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
10412 Update documentation.
10413 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
10414 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
10416 2002-03-11 Zack Weinberg <zack@codesourcery.com>
10418 * Makefile.in: Give texi2pod its input file as a command line
10419 argument, not on stdin.
10421 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
10422 Daniel Berlin <dan@dberlin.org>
10424 C++ alias analysis improvement.
10425 * alias.c (record_component_aliases): Record aliases for base
10428 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
10430 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
10432 2002-03-11 Douglas B Rupp <rupp@gnat.com>
10434 * toplev.c (vms_fopen): Remove, not needed.
10436 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
10438 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
10440 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
10441 for FP, already done later.
10443 * toplev.c (debug_args): Add entry for VMS_DEBUG.
10444 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
10446 2002-03-11 Richard Sandiford <rsandifo@redhat.com>
10448 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
10449 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
10450 LARGEST_EXPONENT_IS_NORMAL for the given mode.
10451 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
10452 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
10453 (ediv, emul, eldexp, esqrt): Likewise.
10454 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
10455 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
10456 (saturate): New function.
10457 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
10458 (make_nan): Use a saturation value instead of a NaN if
10459 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
10460 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
10461 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
10462 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
10463 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
10464 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
10465 !ROUND_TOWARDS_ZERO.
10466 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
10467 (ROUND_TOWARDS_ZERO): Document.
10469 2002-03-11 Andreas Jaeger <aj@suse.de>
10471 * cfg.c (dump_flow_info): Remove unused variable.
10473 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
10475 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
10476 computations on trees.
10478 2002-03-10 Richard Henderson <rth@redhat.com>
10481 * reload.c (copy_replacements_1): New.
10482 (copy_replacements): Use it to recurse through the rtx.
10484 2002-03-10 Richard Henderson <rth@redhat.com>
10486 * loop.c (strength_reduce): Compute number of iterations as
10487 unsigned HOST_WIDE_INT.
10489 2002-03-10 Richard Henderson <rth@redhat.com>
10491 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
10492 to move away from the end of the block.
10494 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
10496 PR preprocessor/5899
10497 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
10499 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10501 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
10503 * attribs.c (decl_attributes): Fix signed/unsigned warning.
10505 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
10507 * config/mmix/mmix.c: Improve comments.
10508 (mmix_target_asm_function_prologue): Drop variable
10509 empty_stack_frame. Don't allocate unused slot above fp.
10510 (mmix_target_asm_function_epilogue): Mirror prologue changes.
10511 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
10512 brace in first column.
10513 (enum reg_class): Ditto.
10514 (FIRST_PARM_OFFSET): Now 0.
10515 (USER_LABEL_PREFIX): Remove #if 0:d definition.
10517 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10519 * combine.c (make_extraction): Fix error in last change.
10521 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10523 * c4x.c (c4x_fp_reglist): Const-ify.
10524 * cris.c (cris_print_operand): Likewise.
10525 * i386.c (ix86_va_arg): Likewise.
10526 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
10527 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
10528 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
10529 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
10530 * mcore.h (regno_reg_class): Likewise.
10531 * mips.c (gen_int_relational): Likewise.
10532 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
10533 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
10534 * pdp11.c (move_costs): Likewise.
10535 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
10536 * s390.c (s390_branch_condition_mnemonic, regclass_map):
10538 * s390.h (regclass_map): Likewise.
10539 * sh.c (shift_amounts): Likewise.
10540 * sh.md (rotlsi3): Likewise.
10542 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
10544 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
10545 (ne0+5): Use new clobber to generate proper shift pattern.
10546 Patch by Michael Matz <matz@kde.org>.
10548 2002-03-09 Andreas Schwab <schwab@suse.de>
10550 * gcc.c (validate_all_switches): Also handle `%W{...}'.
10552 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
10554 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
10556 2002-03-09 Jakub Jelinek <jakub@redhat.com>
10559 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
10560 even for non-representable constants.
10562 Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10564 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
10565 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
10566 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
10567 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
10568 (pop_function_context): Compute MAY_SHARE parameter for
10570 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
10571 (gen_mem_addressof): Call fixup_var_refs with new parm.
10573 * combine.c (make_extraction): Don't make extension of CONST_INT.
10575 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
10577 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
10578 in o32 and o64 ABIs.
10579 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
10580 but getting fixed-size structs passed in registers regardless of
10581 padding in o32 and o64 ABIs.
10583 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
10584 offset before loading address of argument passed by transparent
10587 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
10589 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
10591 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
10593 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
10594 marker such that registers after it are saved.
10596 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10598 * sparc.c (arith_4096_operand): Fix error in last change.
10600 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
10602 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
10603 defaults for MEABI.
10605 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
10607 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
10610 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
10612 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
10614 Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
10616 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
10617 removed; fix return value.
10618 * combine.c (combine_instructions): Dirtify blocks where we failed to
10619 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
10620 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
10622 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10624 * gcse.c (insert_insn_end_bb): Fix typo in last change.
10626 Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
10628 * recog.c (peephole2_optimize): Re-distribute EH edges.
10630 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
10632 * expr.c (expand_expr): Use unsave lang hook.
10633 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
10634 (LANG_HOOKS_INITIALIZER): Update.
10635 * langhooks.h (struct lang_hooks): New hook unsave.
10636 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
10637 (unsave_expr_1): Remove unused lang_unsave_expr_now.
10638 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
10639 (unsave_expr_now): Remove.
10640 * tree.h (unsave_expr_now, lang_unsave,
10641 lang_unsave_expr_now): Remove.
10644 2002-03-08 Andreas Jaeger <aj@suse.de>
10646 * flow.c (propagate_block_delete_insn): Remove unused variable.
10648 2002-03-08 Kazu Hirata <kazu@hxi.com>
10650 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
10651 insn length for memory load/store.
10653 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
10655 * doc/install.texi (--with-libiconv-prefix): Document.
10657 2002-03-08 Michael Y. Brukman <myb2@cornell.edu>
10659 * doc/sourcebuild.texi: Fix typo.
10661 2002-03-08 Jakub Jelinek <jakub@redhat.com>
10664 * builtins.c (std_expand_builtin_va_arg): Do all computations on
10667 Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10669 * rtl.c (copy_most_rtx): Move from here ...
10670 * emit-rtl.c (copy_most_rtx): ... to here.
10672 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
10674 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
10675 SUBTARGET_CPP_SIZE_SPEC.
10676 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
10678 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
10680 2002-03-07 Matt Hiller <hiller@redhat.com>
10682 * gensupport.c (first_dir_md_include): Renamed from include;
10683 change all references.
10684 (last_dir_md_include): Renamed from last_include; change all
10686 (init_md_reader): Unconditionally initialize base_dir whether or
10687 not filename is a relative path.
10689 2002-03-07 Alexandre Oliva <aoliva@redhat.com>
10691 * config/fp-bit.c (_unord_f2): Compile it in even if
10692 US_SOFTWARE_GOFAST is enabled.
10694 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
10695 NULL_RTX. Set all HFmode operations as NULL_RTX.
10696 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
10697 NULL_RTX, try reversing the comparison and the operands.
10699 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
10701 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
10702 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
10705 Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
10707 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
10709 Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
10711 * basic-block.h (fixup_abnormal_edges): Declare.
10712 * reload1.c (fixup_abnormal_edges): New function.
10713 * reg-stack.c (convert_regs): Use it.
10715 * gcse.c (insert_insn_end_bb): Handle trapping insns.
10717 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
10719 2002-03-07 Richard Sandiford <rsandifo@redhat.com>
10721 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
10722 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
10723 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
10724 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
10725 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
10726 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
10727 unless x and y could be infinite.
10728 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
10729 Check that the common type of both arguments is a real, even for
10730 targets without unordered comparisons. Allow an integer argument
10731 to be compared against a real.
10732 (expand_tree_builtin): Use expand_unordered_cmp.
10733 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
10734 * cse.c (fold_rtx): Likewise. Fix indentation.
10735 * fold-const.c (fold_real_zero_addition_p): New.
10736 (fold): Use it, and the new HONOR_... macros.
10737 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
10738 * jump.c (reversed_comparison_code_parts): After searching for
10739 the true comparison mode, use HONOR_NANS to decide whether it
10740 can be safely reversed.
10741 (reverse_condition_maybe_unordered): Remove IEEE check.
10742 * simplify-rtx.c (simplify_binary_operation): Use the new macros
10743 to decide which simplifications are valid. Allow the following
10744 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
10745 and (a - -b) to (a + b).
10746 (simplify_relational_operation): Use HONOR_NANS.
10747 * doc/tm.texi: Document the MODE_HAS_... macros.
10749 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
10751 * combine.c (simplify_comparison): If simplifying a logical shift
10752 right and compare with constant, force the comparison to unsigned.
10754 2002-03-07 Aldy Hernandez <aldyh@redhat.com>
10756 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
10758 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
10760 (alt_reg_names): Remove % for vrsave.
10762 2002-03-06 Richard Henderson <rth@redhat.com>
10764 PR optimization/5844
10765 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
10766 if used indicates we've already emitted one copy of an operand.
10767 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
10768 (gen_split): Supply a non-null used.
10770 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
10772 * reload1.c (reload): Unshare all rtl after reload is done.
10774 * simplify-rtx.c (simplify_plus_minus): Do not abort,
10775 but simply fail if the expression is too complex to simplify.
10776 (simplify_gen_binary): Handle simplify_plus_minus failures.
10778 Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
10780 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
10781 consistently call delete_trivially_dead_insns after CSE and GCSE;
10782 fix DFI_life dumping; do jump threading after liveness; do crossjumping
10783 after liveness2; update comment in last crossjumping.
10784 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
10786 Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
10788 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
10789 after completing fast dead code elimination.
10791 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
10794 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
10796 * version.c: Fix misplaced leading blanks on first line.
10798 Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
10800 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
10802 Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
10804 * cfgcleanup.c (mentions_nonequal_regs): New function.
10805 (thread_jump): Use it.
10806 * toplev.c (rest_of_compilation): Run jump threading after
10809 2002-03-06 Jakub Jelinek <jakub@redhat.com>
10811 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
10814 Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
10816 * predict.c (estimate_bb_frequencies): Do not reload the
10817 frequencies from notes.
10819 Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
10821 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
10822 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
10824 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
10825 delete_noop_moves): Return indeger.
10826 * flow.c (ndead): New variable.
10827 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
10828 BB argument; update callers.
10829 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
10830 (life_analysis): Do not call purge_all_dead_edges.
10831 (update_life_info): Return number of deleted insns; print statistics.
10832 (update_life_info_in_dirty_blocks): likewise.
10833 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
10834 return number of insns deleted.
10836 * cse.c: Include timevar.h
10837 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
10838 iterate until stabilizes; print statistics; return number of killed
10840 * Makefile.in: (cse.o): Add timevar.h dependency
10841 * rtl.h (delete_trivially_dead_insns): New.
10842 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
10843 * toplev.c (rest_of_compilation): Update callers.
10845 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
10846 (try_optimize_cfg): Do not update liveness.
10847 (cleanup-cfg): Loop until try_optimize_cfg and dead code
10848 removal stabilizes; use delete_trivially_dead_insns.
10850 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
10852 2002-03-05 Zack Weinberg <zack@codesourcery.com>
10854 * cppmain.c (setup_callbacks): Disable #pragma and #ident
10855 callbacks when processing assembly language.
10857 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
10859 * pa.h (ASM_FILE_END): Define.
10860 * som.h (ASM_FILE_END): Delete.
10862 * pa.c (function_arg): Don't pass floats in general registers in
10863 indirect calls if TARGET_ELF32.
10865 2002-03-05 Richard Henderson <rth@redhat.com>
10867 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
10869 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
10871 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
10873 2002-03-05 Jakub Jelinek <jakub@redhat.com>
10875 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
10876 -r command line. Don't hide any symbols if not building
10879 Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
10881 * cfg.c (dump_flow_info): Warn about profile mismatches.
10882 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
10883 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
10885 2002-03-05 Jakub Jelinek <jakub@redhat.com>
10887 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
10888 wide volatile memory by parts.
10890 2002-03-05 Jakub Jelinek <jakub@redhat.com>
10892 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
10895 2002-03-05 Richard Henderson <rth@redhat.com>
10897 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
10899 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
10901 * toplev.c (documented_lang_options): Document more
10902 language-specific options.
10903 * doc/invoke.texi (Warning Options): Correct documentation for
10904 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
10905 * c-decl.c (c_decode_option): Use a table to handle warning options.
10907 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
10909 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
10910 parameter to mmix_encode_section_info.
10911 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
10912 relocatably. Always produce ELF, not mmo if linking relocatably.
10913 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
10914 first is non-zero, don't add symbol prefix.
10915 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
10916 prototype accordingly.
10918 2002-03-04 Krister Walfridsson <cato@df.lth.se>
10920 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
10922 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
10924 * configure.in: Increase required makeinfo version to 4.1.
10925 * configure: Regenerate.
10927 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
10929 * .cvsignore: Remove *.info* and genrtl*; these files are generated
10932 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
10934 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
10935 * doc/invoke.texi: Fix @math uses.
10937 Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
10939 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
10942 2002-03-03 Aldy Hernandez <aldyh@redhat.com>
10944 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
10945 (powerpc-*-eabisimaltivec*): Same.
10947 * config/rs6000/t-ppcendian: New.
10949 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10951 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
10952 nonimmediate_src_operand and nonimmediate_lsrc_operand to
10953 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
10955 2002-03-03 Richard Henderson <rth@redhat.com>
10957 * toplev.c (rest_of_decl_compilation): Revert last two changes.
10959 2002-03-03 Zack Weinberg <zack@codesourcery.com>
10961 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
10962 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
10963 tree.c, config/m68k/m68k.c:
10964 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
10965 REAL_ARITHMETIC blocks unconditional. Delete some further
10966 #ifdef blocks predicated on REAL_ARITHMETIC.
10967 * flags.h, toplev.c: Delete remaining references to
10968 flag_pretend_float.
10970 * doc/invoke.texi: Remove documentation of -fpretend-float.
10971 * doc/tm.texi: Describe the various REAL_* macros as provided by
10972 real.h, not by the target configuration files.
10974 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
10975 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
10976 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
10977 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
10978 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
10979 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
10980 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
10981 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
10982 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
10983 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
10984 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
10985 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
10986 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
10987 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
10988 config/xtensa/xtensa.h:
10989 Do not define, undefine, or mention in comments any of
10990 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
10991 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
10992 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
10993 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
10994 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
10995 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
10996 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
10997 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
10998 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
11000 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11002 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
11003 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
11004 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
11005 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
11006 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
11007 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
11009 * defaults.h (BITS_PER_WORD): Define.
11010 * doc/tm.texi (BITS_PER_WORD): Document default value.
11012 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
11013 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
11014 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
11016 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11018 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
11019 lieu of explicit sizeof/sizeof.
11020 * i386.c (override_options, ix86_init_mmx_sse_builtins,
11021 ix86_expand_builtin): Likewise.
11022 * mips.c (mips_add_gc_roots): Likewise.
11023 * mmix.c (mmix_output_condition): Likewise.
11024 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
11025 altivec_init_builtins): Likewise.
11026 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
11027 * cppexp.c (Nsuff, parse_number): Likewise.
11028 * cppinit.c (builtin_array_end): Likewise.
11029 * gcc.c (n_default_compilers, process_command): Likewise.
11030 * genpreds.c (output_predicate_decls): Likewise.
11031 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
11032 * lcm.c (N_ENTITIES): Likewise.
11033 * stor-layout.c (set_sizetype): Likewise.
11035 2002-03-03 Richard Henderson <rth@redhat.com>
11037 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
11038 for types or labels.
11040 2002-03-03 Richard Henderson <rth@redhat.com>
11042 * c-decl.c (start_decl): Initialized variables are not common.
11044 2002-03-02 Per Bothner <per@bothner.com>
11046 * gcc.c (option_map): Suport new --bootclasspath option.
11047 --CLASSPATH is now just an alias for --classpath.
11049 2002-03-02 Richard Henderson <rth@redhat.com>
11051 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
11052 load if "internal" visibility.
11053 * doc/extend.texi: Document visibility meanings.
11055 2002-03-02 Richard Henderson <rth@redhat.com>
11057 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
11058 to functions as well.
11060 2002-03-02 Richard Henderson <rth@redhat.com>
11062 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
11063 (handle_visibility_attribute): Don't call assemble_visibility.
11064 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
11065 without asmspec. Invoke assemble_alias when needed.
11066 * varasm.c (maybe_assemble_visibility): New.
11067 (assemble_start_function, assemble_variable, assemble_alias): Use it.
11069 2002-03-02 Richard Henderson <rth@redhat.com>
11071 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
11072 invoke ENCODE_SECTION_INFO with first call flag.
11074 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
11075 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
11076 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
11077 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
11078 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
11079 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
11080 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
11081 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
11082 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
11083 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
11084 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
11085 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
11086 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
11087 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
11088 config/mcore/mcore-protos.h, config/mcore/mcore.c,
11089 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
11090 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
11091 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
11092 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
11093 config/sh/sh.h, config/sparc/sparc.h,
11094 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
11095 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
11096 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
11097 FIRST argument. As needed, examine it and do nothing.
11099 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
11100 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
11101 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
11103 * config/arm/t-pe (pe.o): Add dependencies.
11105 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11107 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
11108 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
11109 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
11110 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
11111 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
11112 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
11113 * defaults.h (BITS_PER_UNIT): Define.
11114 * doc/tm.texi (BITS_PER_UNIT): Document default value.
11116 2002-03-02 Kazu Hirata <kazu@hxi.com>
11118 * config/h8300/h8300-protos.h: Add a prototype for
11119 compute_a_shift_length.
11120 * config/h8300/h8300.c (h8300_asm_insn_count): New.
11121 (compute_a_shift_length): Likewise.
11122 (h8300_adjust_insn_length): Do not adjust insn length of shift
11124 * config/h8300/h8300.md (anonymous shift patterns): Use
11125 compute_a_shift_length.
11127 Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11129 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
11130 trunc_int_for_mode.
11132 * emit-rtl.c (offset_address): Call update_temp_slot_address.
11134 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11136 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
11137 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
11138 * flags.h (flag_zero_initialized_in_bss): Declare.
11139 * toplev.c (flag_zero_initialized_in_bss): New flag.
11140 (lang_independent_options): Add flag_zero_initialized_in_bss.
11141 * tree.c (initializer_zerop): New function.
11142 * tree.h (initializer_zerop): Declare.
11143 * varasm.c (assemble_variable): If we can emit bss, put zero
11144 initializers in the bss section.
11146 2002-03-02 Alan Modra <amodra@bigpond.net.au>
11148 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
11149 like more than one symbol per .weak directive.
11151 2002-03-01 Richard Henderson <rth@redhat.com>
11153 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
11154 adjust argument_pointer by pretend_args_size.
11155 (ia64_va_start): Adjust va_start address by -pretend_args_size.
11157 2002-03-01 Kazu Hirata <kazu@hxi.com>
11159 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
11161 Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
11163 * toplev.c (rest_of_compilation): Delete dead jumptables before
11165 * flow.c (delete_dead_jumptables): Make global.
11166 * rtl.h (delete_dead_jumptables): Declare.
11168 2002-03-01 David Edelsohn <edelsohn@gnu.org>
11170 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
11171 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
11172 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
11174 2002-03-01 Kazu Hirata <kazu@hxi.com>
11176 * config/h8300/h8300-protos.h: Fix formatting.
11177 * config/h8300/h8300.c: Likewise.
11178 * config/h8300/h8300.h: Likewise.
11180 2002-03-01 Kazu Hirata <kazu@hxi.com>
11182 * config/h8300/h8300.c (print_operand): Support 16-bit
11183 constant addresses.
11184 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
11186 2002-02-28 Richard Henderson <rth@redhat.com>
11188 * expmed.c (store_bit_field): Prevent generation of CONCATs;
11189 pun complex values as integers; use gen_lowpart instead of
11191 (extract_bit_field): Likewise.
11193 2002-03-01 Alan Modra <amodra@bigpond.net.au>
11194 David Edelsohn <edelsohn@gnu.org>
11196 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
11197 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
11198 (SUPPORTS_WEAK): Likewise.
11199 * output.h (add_weak): Add tree param.
11200 * varasm.c (add_weak): Likewise. Save decl.
11201 (struct weak_syms): Add decl field.
11202 (mark_weak_decls): New function.
11203 (init_varasm_once): ggc_add_root mark_weak_decls.
11204 (assemble_start_function): Use ASM_WEAKEN_DECL.
11205 (assemble_variable): Likewise.
11206 (assemble_alias): Likewise.
11207 (declare_weak): Pass decl to add_weak.
11208 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
11209 (remove_from_pending_weak_list): Declare and define for
11211 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
11212 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
11213 * defaults.h (SUPPORTS_WEAK): Likewise.
11214 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
11215 .weak for code sym. Do emit .size for descriptor sym.
11216 (ASM_DECLARE_FUNCTION_SIZE): Define.
11217 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
11218 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
11219 .lglobl unless TARGET_XCOFF. Formatting fixes.
11220 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
11221 .weak for code sym.
11222 (HANDLE_PRAGMA_WEAK): Remove.
11223 (ASM_WEAKEN_LABEL): Remove.
11224 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
11226 2002-03-01 Jason Merrill <jason@redhat.com>
11228 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
11229 (TARGET_EXPR_CLEANUP): New macro.
11231 2002-02-28 Steve Ellcey <sje@cup.hp.com>
11233 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
11234 to take ptr_extend into account as third type of extension.
11235 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
11236 fields used by SUBREG_PROMOTED_UNSIGNED_P.
11237 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
11238 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
11239 * calls.c (precompute_arguments): Use new macro.
11240 (expand_call): Ditto.
11241 * combine.c (nonzero_bits): Ditto.
11242 (record_promoted_value): Ditto.
11243 * expr.c (store_expr): Ditto.
11244 (expand_expr): Ditto.
11245 * function.c (assign_parms): Ditto.
11247 2002-02-28 Alexandre Oliva <aoliva@redhat.com>
11249 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
11250 override -shared and -shared-libgcc.
11252 2002-02-28 David O'Brien <obrien@FreeBSD.org>
11254 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
11256 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
11259 2002-02-28 Richard Henderson <rth@redhat.com>
11261 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
11262 4 cycle latency from MM producers.
11263 (ia64_internal_sched_reorder): Likewise with pipeline flush.
11265 2002-02-28 Jakub Jelinek <jakub@redhat.com>
11267 * mklibgcc.in: Don't use GNU make extension.
11269 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
11271 * c-parse.in (STATIC): New terminal.
11272 (scspec): New non-terminal. Update productions accordingly.
11273 (program): Remove bogus ifc / end ifc.
11274 (array_declarator): Simplify production using STATIC.
11276 2002-02-28 Jim Meyering <meyering@lucent.com>
11278 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
11279 \a still means TARGET_BELL.
11281 2002-02-28 Richard Henderson <rth@redhat.com>
11283 * haifa-sched.c (sched_emit_insn): New.
11284 (schedule_block): Use last_scheduled_insn to track last insn.
11285 * sched-int.h (sched_emit_insn): Prototype.
11286 * config/ia64/ia64.c (last_issued): Remove.
11287 (ia64_variable_issue): Don't set it.
11288 (nop_cycles_until): Use sched_emit_insn.
11290 2002-02-28 Andrew MacLeod <amacleod@redhat.com>
11292 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
11293 extended constants.
11295 2002-02-28 Kazu Hirata <kazu@hxi.com>
11297 * config/h8300/h8300.c: Fix formatting.
11298 * config/h8300/h8300.h: Likewise.
11300 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
11302 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
11303 which may overwrite the high byte of the frame pointer.
11305 2002-02-28 Bo Thorsen <bo@suse.de>
11307 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
11308 (STARTFILE_SPEC): Add 64 bit files.
11309 (ENDFILE_SPEC): Likewise.
11311 2002-02-28 Jason Merrill <jason@redhat.com>
11313 * c-decl.c (finish_function): Only warn about missing return
11314 statement with -Wreturn-type.
11316 Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
11318 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
11320 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
11321 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
11323 Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
11325 * basic-block.h (BB_REACHABLE): Renumber.
11326 (BB_DIRTY, BB_NEW): New flags.
11327 (clear_bb_flags): Declare.
11328 (update_life_info_in_dirty_blocks): Declare.
11329 * cfg.c (clear_bb_flags): New function.
11330 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
11331 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
11332 reorder_insns, emit_insn_after): Mark block as dirty.
11333 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
11334 (update_life_info_in_dirty_blocks): New function.
11335 * recog.c (apply_change_group): Dirtify block.
11337 * cse.c (cse_insn): Reorder emitting of jump insn to keep
11339 * gcse.c (delete_null_pointer_checks): Likewise.
11341 * toplev.c (dump_file_index): Move cse2 after bp,
11343 (dump_file_info): Similary.
11344 (rest_of_compilation): Avoid most of CFG rebuilds;
11345 do first if converision after null pointer checks, do cse2
11346 after branch prediction; avoid full liveness rebuild after
11347 initializing subregs.
11348 * invoke.texi (-d options): Document -du, renumber.
11350 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
11351 (notice_new_block): Do not set BB_UPDATE_LIFE.
11352 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
11353 merge_blocks_move_successor_nojumps, merge_blocks,
11354 try_crossjump_to_edge): Likewise.
11355 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
11356 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
11357 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
11358 (merge_of_block): Do not use life_data_ok.
11359 (find_if_case_1): Do not use SET_UPDATE_LIFE.
11360 (if_convert): Use BB_DIRTY mechanizm to update life.
11361 * lcm.c (optimize_mode_switching): Update
11362 update_life_info_in_dirty_blocks
11364 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
11366 * Makefile.in (integrate.o): Update.
11367 * c-decl.c (copy_lang_decl): Rename.
11368 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
11369 * integrate.c: Include langhooks.h.
11370 (copy_decl_for_inlining): Update to use langhook.
11371 * langhooks-def.h (lhd_do_nothing_t,
11372 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
11373 (LANG_HOOKS_INITIALIZER): Update.
11374 * langhooks.c (lhd_do_nothing_t): New.
11375 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
11376 * tree.h (copy_lang_decl): Remove.
11378 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
11380 2002-02-27 Andrew MacLeod <amacleod@redhat.com>
11382 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
11383 POST_DEC, and POST_MODIFY.
11385 2002-02-27 Zack Weinberg <zack@codesourcery.com>
11387 * c-typeck.c (digest_init): Remove unused parameter; all
11390 2002-02-27 Geoffrey Keating <geoffk@redhat.com>
11392 * expmed.c (expand_shift): Correctly test for low part of a
11395 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
11397 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
11398 insn UIDs with insn addresses.
11400 2002-02-27 Zack Weinberg <zack@codesourcery.com>
11402 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
11403 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
11404 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
11405 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
11406 gcc.c, toplev.c: Delete code implementing -traditional mode.
11408 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
11409 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
11410 Document removal of -traditional mode for compilation, and
11411 remove documentation only relevant to that mode.
11413 * config/nextstep.h, config/ptx4.h, config/svr4.h,
11414 config/convex/convex.h, config/d30v/d30v.h,
11415 config/i386/dgux.h, config/i386/osf1elf.h,
11416 config/i386/osfelf.h, config/i386/osfrose.h,
11417 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
11418 config/m68k/hp310.h, config/m88k/dgux.h,
11419 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
11420 config/m88k/m88k.h, config/m88k/openbsd.h,
11421 config/mips/abi64.h, config/mips/osfrose.h,
11422 config/mips/svr4-5.h, config/mips/svr4-t.h,
11423 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
11424 config/stormy16/stormy16.h: Remove all references to
11425 -traditional from target specs. Delete all mention of the
11426 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
11427 delete a couple of commented-out definitions of
11428 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
11431 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
11432 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
11434 2002-02-27 Zack Weinberg <zack@codesourcery.com>
11436 * mklibgcc.in: Don't use \n in a line subject to
11437 interpretation by echo.
11439 2002-02-27 Graham Stott <grahams@redhat.com>
11441 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
11444 * loop.c (prescan_loop): Handle PARALLEL.
11446 * unroll.c (loop_iterations): Return 0 if the add_val for
11449 * final.c (output_operand_lossage): Constify PFX_STR.
11451 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
11453 Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
11455 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
11456 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
11458 Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
11460 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
11462 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
11464 * cpplex.c (_cpp_lex_token): Handle directives in macro
11466 * cpplib.c (_cpp_handle_directive): Save and restore state
11467 if parsing macro args when entering a directive.
11468 * cppmacro.c (collect_args): No need to handle directives
11469 in macro arguments.
11470 (enter_macro_context, replace_args): Use the original macro
11471 definition in case it was redefined whilst collecting arguments.
11473 * cpp.texi: Update.
11475 2002-02-26 David Edelsohn <edelsohn@gnu.org>
11477 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
11478 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
11479 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
11481 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
11482 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
11483 (load_toc_v4_PIC_2): Same.
11485 2002-02-26 Alan Modra <amodra@bigpond.net.au>
11487 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
11489 2002-02-26 Richard Henderson <rth@redhat.com>
11491 * config/alpha/alpha.md (ashldi_se): Re-enable.
11493 2002-02-26 Richard Henderson <rth@redhat.com>
11495 * config/alpha/alpha.c (alpha_encode_section_info): Examine
11496 MODULE_LOCAL_P; improve commentary.
11498 2002-02-26 Zack Weinberg <zack@codesourcery.com>
11500 * doc/cpp.texi: Clarify documentation of relationship between
11501 #line and #include.
11503 2002-02-26 Kazu Hirata <kazu@hxi.com>
11505 * config/h8300/h8300-protos.h: Update the prototype for
11506 compute_logical_op_length. Add the prototype for
11507 compute_logical_op_cc.
11508 * config/h8300/h8300.c (compute_logical_op_length): Figure out
11509 code from operands.
11510 (compute_logical_op_cc): New.
11511 * config/h8300/h8300.md: Combine all the logical op patterns
11512 in HImode and SImode. Use compute_logical_op_cc.
11514 2002-02-26 Kelley Cook <kelleycook@comcast.net>
11516 * config/i386/i386.c (print_operand): Don't append ATT-style
11517 length suffixs to x87 opcodes when in Intel mode.
11519 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
11521 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
11522 (init_emit_once): Update calls.
11523 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
11524 (init_syntax_once): Prototype.
11526 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
11528 * pa-linux.h (LIB_SPEC): Update definition.
11529 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
11531 2002-02-26 Richard Henderson <rth@redhat.com>
11533 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
11534 if we emitted a stop bit.
11536 2002-02-26 Jakub Jelinek <jakub@redhat.com>
11538 * configure.in (libgcc_visibility): Substitute.
11539 * configure: Rebuilt.
11540 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
11541 defined symbols .hidden.
11543 2002-02-26 Jakub Jelinek <jakub@redhat.com>
11545 * attribs.c (c_common_attribute_table): Add visibility.
11546 (handle_visibility_attribute): New function.
11547 * varasm.c (assemble_visibility): New function.
11548 * output.h (assemble_visibility): Add prototype.
11549 * tree.h (MODULE_LOCAL_P): Define.
11550 * crtstuff.c (__dso_handle): Use visibility attribute.
11551 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
11552 for MODULE_LOCAL_P symbols too.
11553 * config/ia64/ia64.c (ia64_encode_section_info): Handle
11554 MODULE_LOCAL_P symbols the same way as local symbols.
11555 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
11556 into .sdata/.sbss by the user.
11557 * doc/extend.texi (Function Attributes): Document visibility
11560 2002-02-26 Jakub Jelinek <jakub@redhat.com>
11563 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
11564 STRING_CST initializer spanning the whole variable without
11566 If expand_expr returned MEM, don't use it.
11568 2002-02-26 Alexandre Oliva <aoliva@redhat.com>
11570 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
11571 generate a die for the lexical block.
11573 2002-02-26 Kazu Hirata <kazu@hxi.com>
11575 * config/h8300/h8300-protos.h: Add a prototype for
11576 compute_logical_op_length.
11577 * config/h8300/h8300.c (compute_logical_op_length): New.
11578 * config/h8300/h8300.md (anonymous logical patterns): Use
11579 compute_logical_op_length for length.
11581 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
11583 * dwarf2out.c (modified_type_die): Do not call type_main_variant
11585 (gen_type_die): Same.
11587 * attribs.c (handle_vector_size_attribute): Set debug information.
11589 2002-02-26 Daniel Egger <degger@fhm.edu>
11591 * config/rs6000/rs6000.md: Swap define_insn attributes to
11592 fix incorrect generation of merge high instructions instead
11595 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
11597 * c-typeck.c (really_start_incremental_init): Use
11598 bitsize_zero_node for vectors.
11600 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
11602 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
11603 ("*set_vrsave_internal"): Same.
11605 2002-02-25 Richard Henderson <rth@redhat.com>
11607 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
11608 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
11610 2002-02-25 Jakub Jelinek <jakub@redhat.com>
11613 * config/i386/i386.c (ix86_return_pops_args): Only pop
11614 fake structure return argument if it was passed on the stack.
11616 2002-02-25 Jason Merrill <jason@redhat.com>
11618 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
11621 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
11623 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
11624 link with shared_name only.
11625 * doc/invoke.texi (Link Options): Document new behavior.
11627 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
11629 * c-typeck.c (push_init_level): Handle vectors.
11631 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
11633 * config/sparc/sparc.c (const64_high_operand): Zero-extend
11634 operands of SPARC_SETHI_P.
11635 (input_operand): Likewise.
11636 (sparc_emit_set_const32): Likewise.
11637 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
11638 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
11639 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
11640 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
11641 (movdi_insn_sp64_vis): Likewise.
11642 (movdi split, movdf split): Use SETHI32.
11643 * doc/md.texi: Document SPARC constraints L, M and N.
11645 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
11647 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
11648 ("*set_vrsave_internal"): use mfspr for Darwin.
11650 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
11651 gen_get_vrsave_internal.
11653 Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11655 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
11657 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
11659 * cpplex.c (cpp_interpret_charconst): Get signedness or
11660 otherwise of wide character constants correct.
11661 * cppexp.c (lex): Get signedness of wide charconsts correct.
11663 Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11665 * optabs.c (widen_operand): Only call convert_modes for
11666 promoted SUBREG if signedness matches.
11667 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
11669 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
11671 * cpplib.c (glue_header_name): Use local buffer to build up
11674 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
11676 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
11678 2002-02-23 Kazu Hirata <kazu@hxi.com>
11680 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
11681 H8/300[HS] separately.
11682 * config/h8300/h8300.md: Remove the early clobber constraint
11683 from bit field patterns.
11685 2002-02-23 Kazu Hirata <kazu@hxi.com>
11687 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
11689 (mulhisi3): Likewise.
11690 (umulqisi3): Likewise.
11691 (umulhisi3): Likewise.
11693 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
11695 * cppinit.c (output_deps): Correct test for stdout output.
11696 (init_dependency_output): Cure warning.
11698 Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11700 * expr.c (store_expr): When converting expression to promoted
11701 equivalent type, allow using SUBREG_REG of TARGET as the target
11702 of the expansion of EXP.
11703 * loop.c (basic_induction_var, case SUBREG): Always look inside.
11704 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
11705 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
11706 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
11707 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
11709 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
11711 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
11712 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
11713 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
11715 2002-02-23 Jakub Jelinek <jakub@redhat.com>
11717 PR optimization/5747
11718 * loop.c (scan_loop): Update reg info if move_movables created new
11721 2002-02-23 David Edelsohn <edelsohn@gnu.org>
11723 * gcc.c (init_gcc_spec): Revert last change.
11725 2002-02-23 David Edelsohn <edelsohn@gnu.org>
11727 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
11728 gpc_reg_operand constraint.
11730 2002-02-23 Alan Modra <amodra@bigpond.net.au>
11732 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
11733 Simplify comparison of `low'.
11734 (add_operand): Fix formatting.
11735 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
11736 (mask_operand): Disallow mask to wrap in 64-bit mode.
11737 (rs6000_stack_info): Remove redundant test setting push_p.
11738 (output_toc): Fix formatting.
11739 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
11740 cc_reg_not_cr0_operand constraint.
11741 (booldi3, boolcdi3 splitters): Same.
11743 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
11745 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
11747 2002-02-22 David Edelsohn <edelsohn@gnu.org>
11749 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
11750 gcc invoked with -shared-libgcc.
11752 2002-02-22 Jakub Jelinek <jakub@redhat.com>
11755 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
11756 decl if any of elements was TREE_USED.
11758 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11760 * config/sparc/sol2.h: Don't include sys/mman.h.
11761 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
11762 (arith_4096_operand): Don't throw high bits away.
11763 (const64_operand): Take sign extension of CONST_INTs into account.
11764 (const64_high_operand, sparc_emit_set_const32): Likewise.
11765 (GEN_HIGHINT64): Likewise.
11766 (sparc_emit_set_const64_quick1): Likewise.
11767 (const64_is_2insns): Likewise.
11768 (print_operand): Use trunc_int_for_mode for sign extension.
11769 * config/sparc/sparc.h (SMALL_INT32): Likewise.
11770 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
11771 chars. Assume CONST_INT is already properly sign-extended.
11772 (movdi split): Sign-extend each SImode part.
11773 (andsi3 split): Don't mask high bits off, so that result
11774 remains properly sign-extend.
11775 (iorsi3 split): Likewise.
11776 (xorsi3 split): Likewise.
11778 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
11780 * fold-const.c (fold): Fix typo in comments.
11782 2002-02-21 Diego Novillo <dnovillo@redhat.com>
11784 * Makefile.in (langhooks.o): Update dependencies.
11786 2002-02-21 Diego Novillo <dnovillo@redhat.com>
11788 * langhooks.c: Include flags.h.
11790 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
11792 * testsuite/gcc.dg/attr-alwaysinline.c: New.
11794 * c-common.c (c_common_post_options): Set inline trees by
11797 * doc/extend.texi (Function Attributes): Document always_inline
11799 Update documentation about inlining when not optimizing.
11801 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
11803 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
11804 unless DECL_ALWAYS_INLINE.
11806 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
11807 unless DECL_ALWAYS_INLINE.
11808 (c_disregard_inline_limits): Disregard if always_inline set.
11810 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
11811 Disregard if always_inline set.
11812 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
11813 unless DECL_ALWAYS_INLINE.
11815 * attribs.c (handle_always_inline_attribute): New.
11816 (c_common_attribute_table): Add always_inline.
11818 * config/rs6000/altivec.h: Add prototypes for builtins
11819 requiring the always_inline attribute.
11821 2002-02-21 Eric Christopher <echristo@redhat.com>
11823 * expmed.c (store_bit_field): Try to simplify the subreg
11824 before generating a new one when when the mode size of
11825 value is less than maxmode.
11827 2002-02-21 Richard Henderson <rth@redhat.com>
11829 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
11830 than gen_rtx_PLUS to form the sum.
11831 * explow.c (force_reg): Rearrange to not allocate new pseudo
11832 when force_operand returns a register.
11833 * expr.c (expand_assignment): Allow offset_rtx expansion to
11834 return a sum. Do not force addresses into registers.
11835 (expand_expr): Likewise.
11836 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
11837 to canonicalize arithmetic that didn't simpify.
11838 (simplify_plus_minus): New argument force; update
11839 all callers. Don't split CONST unless we can do something with it,
11840 and wouldn't lose the constness of the operands.
11842 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
11843 that we generated earlier.
11845 2002-02-21 Tom Tromey <tromey@redhat.com>
11847 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11848 (output_line_info): Use constant `1', with a long explanatory
11850 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
11852 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
11854 * jump.c (redirect_jump): If old label has no UID, don't try to
11857 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
11859 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
11860 If input is constant, do shifts at compile time.
11862 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
11864 * doc/extend.texi: Fix some more overfull hboxes.
11866 2002-02-21 Jakub Jelinek <jakub@redhat.com>
11868 PR optimization/4994
11869 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
11872 2002-02-21 Jakub Jelinek <jakub@redhat.com>
11875 * expr.h (expand_and): Add mode argument.
11876 * expmed.c (expand_and): Add mode argument.
11877 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
11878 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
11879 * except.c (expand_builtin_extract_return_addr): Likewise.
11880 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
11881 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
11882 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
11883 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
11884 * config/c4x/c4x.md: Use GEN_INT (x) instead of
11885 gen_rtx (CONST_INT, VOIDmode, x).
11887 2002-02-21 Jakub Jelinek <jakub@redhat.com>
11890 * stmt.c (warn_if_unused_value): Move side effects test once more.
11892 2002-02-20 Torbjorn Granlund <tege@swox.com>
11894 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
11895 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
11897 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
11899 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
11900 SUBREG or ZERO_EXTEND.
11902 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
11904 * sh.h (current_function_anonymous_args): Remove.
11905 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
11906 of current_function_varargs and current_function_stdarg is set.
11907 * sh.c (sh_expand_prologue): Check current_function_varargs /
11908 current_function_stdarg / TARGET_SH5 instead of
11909 current_function_anonymous_args.
11911 * sh64.h (TARGET_VERSION): Define.
11913 2002-02-20 David Edelsohn <edelsohn@gnu.org>
11915 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
11916 VRSAVE_REGNO on TARGET_ALTIVEC.
11918 2002-02-20 Alan Modra <amodra@bigpond.net.au>
11920 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
11921 bits of SImode const_int.
11922 (includes_rshift_p): Likewise.
11923 (print_operand): Call mask_operand and mask64_operand with correct
11925 (rs6000_output_function_epilogue): Pad traceback table to word.
11926 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
11927 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
11928 mask64_operand with correct mode.
11929 (FUNCTION_ARG_REGNO_P): Correct parentheses.
11931 2002-02-20 Jakub Jelinek <jakub@redhat.com>
11934 * varasm.c (get_pool_constant_mark): New.
11935 * rtl.h (get_pool_constant_mark): Add prototype.
11936 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
11937 be represented if it has not been output.
11939 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
11941 * combine.c (do_SUBST): Sanity check substitutions of
11942 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
11943 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
11944 CONST_INT into its operand.
11945 (known_cond): Likewise, for ZERO_EXTEND.
11946 * simplify-rtx.c (simplify_unary_operation): Fix condition to
11947 allow for simplification of wide modes. Reject CONST_INTs in
11948 ZERO_EXTEND when their actual mode is not given.
11950 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
11952 * c-decl.c (pushdecl): If no global declaration is found for an
11953 extern declaration in block scope, try a limbo one.
11955 2002-02-20 Jakub Jelinek <jakub@redhat.com>
11958 * c-common.c (pointer_int_sum): Moved from...
11959 * c-typeck.c (pointer_int_sum): ...here.
11960 * c-common.h (pointer_int_sum): Add prototype.
11962 2002-02-20 Jakub Jelinek <jakub@redhat.com>
11965 * c-decl.c (duplicate_decls): Return 0 if issued error about
11968 2002-02-20 Roger Sayle <roger@eyesopen.com>
11969 Jakub Jelinek <jakub@redhat.com>
11972 * tree.c (host_integerp): Ensure that the constant integer is
11973 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
11974 when pos is zero or non-zero respectively. Clarify comment.
11975 * c-format.c (check_format_info_recurse): Fix host_integerp
11976 usage; the pos argument should be zero when assigning to a
11977 signed HOST_WIDE_INT.
11979 2002-02-20 Richard Henderson <rth@redhat.com>
11981 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
11982 of the operand, rather than assuming TImode.
11983 (ix86_expand_binop_builtin): Cope with commutative patterns
11984 using nonimmediate_operand for both operands.
11985 (ix86_expand_timode_binop_builtin): Likewise.
11986 (ix86_expand_store_builtin): Validate operand 1.
11987 (ix86_expand_unop1_builtin): Likewise.
11989 2002-02-20 Philip Blundell <philb@gnu.org>
11992 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
11994 2002-02-20 Richard Henderson <rth@redhat.com>
11997 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
11999 2002-02-20 Tom Tromey <tromey@redhat.com>
12001 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
12002 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
12003 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
12004 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
12005 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
12008 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
12010 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
12011 for (const_int 0) in X not just INTVAL.
12013 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
12015 * doc/extend.texi: Avoid or reduce overfull hboxes.
12017 2002-02-20 Diego Novillo <dnovillo@redhat.com>
12019 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
12020 operations if the field does not start at a mode boundary.
12022 2001-02-20 Joel Sherrill <joel@OARcorp.com>
12024 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
12025 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
12026 Also done for -Acpu and -Amachine.
12028 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
12030 * cppinit.c (init_dependency_output): Take deps output file
12031 from -o if none given with -MF. Suppress normal output.
12032 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
12033 * doc/cpp.texi, doc/invoke.texi: Update.
12035 2002-02-19 Zack Weinberg <zack@codesourcery.com>
12037 * toplev.c (output_quoted_string): Write unprintable
12038 characters with octal escapes.
12040 2002-02-19 David Edelsohn <edelsohn@gnu.org>
12042 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
12043 really_call_used[VRSAVE_REGNO] if not Altivec.
12045 2002-02-19 Alan Modra <amodra@bigpond.net.au>
12047 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
12049 (constant_pool_expr_1): Fix formatting.
12050 (rs6000_legitimize_reload_address): Likewise.
12052 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12054 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
12055 now that we have one.
12057 2002-02-19 Zack Weinberg <zack@codesourcery.com>
12059 * tree.h (struct tree_common): Remove aux. Add unused_0 at
12060 end of first block of bitfields (which was only seven bits);
12061 rename dummy to unused_1; remove comment which is no longer true.
12063 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
12065 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
12067 2002-02-19 Philip Blundell <pb@nexus.co.uk>
12070 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
12074 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
12075 arm_is_longcall_p rather than inspecting call-type cookie
12077 (call_value_insn) [TARGET_THUMB]: Likewise.
12079 2002-02-19 Graham Stott <grahams@redhat.com>
12081 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
12083 2002-02-19 David Edelsohn <edelsohn@gnu.org>
12085 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
12086 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
12087 (FP_SAVE_INLINE): Delete.
12089 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
12090 * config/rs6000/eabi.asm: Remove ABI save restore routines.
12091 * config/rs6000/t-ppccomm: Build crtsavres.o.
12092 * config/rs6000/crtsavres.asm: New file.
12094 2002-02-19 Philip Blundell <philb@gnu.org>
12096 * config/arm/arm.c (use_return_insn): Don't reject interrupt
12098 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
12099 (output_return_instruction): Allow interrupt functions to return with
12100 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
12101 (arm_expand_prologue): Subtract 4 before stacking LR in an
12102 interrupt function.
12104 2002-02-19 Philip Blundell <pb@nexus.co.uk>
12106 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
12107 decl, not just FUNCTION_DECL.
12108 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
12109 (arm_assemble_integer): Likewise.
12110 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
12113 2002-02-19 matthew green <mrg@eterna.com.au>
12115 * config.gcc (sparc-*-netbsdelf*): Enable target.
12116 (sparc64-*-netbsd*): New target.
12117 * config/sparc/netbsd-elf.h: New file.
12118 * config/sparc/t-netbsd64: New file.
12120 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
12122 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
12124 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
12126 * doc/invoke.texi: explicitly list the style guidelines that
12127 -Weffc++ checks for.
12129 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
12131 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
12133 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
12136 * gcc.c (cpp_unique_options): Treat -o as indicating object file
12137 only if not -E. If -E, pass -o through to the preprocessor.
12139 2002-02-19 Kazu Hirata <kazu@hxi.com>
12141 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
12142 register number with an appropriate macro.
12144 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12146 * doc/rtl.texi (Constants): Close @code tag.
12148 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
12150 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
12151 ("mmx_uavgv4hi3"): Same.
12152 ("pmulhrwv4hi3"): Same.
12154 * tree-inline.c (walk_tree): Handle vectors.
12156 * c-common.c (constant_expression_warning): Handle vectors.
12157 (overflow_warning): Same.
12159 * sched-deps.c (sched_analyze_2): Handle vectors.
12161 * rtlanal.c (rtx_unstable_p): Handle vectors.
12162 (rtx_varies_p): Same.
12163 (count_occurrences): Same.
12164 (regs_set_between_p): Same.
12165 (modified_between_p): Same.
12166 (modified_in_p): Same.
12167 (volatile_insn_p): Same.
12168 (volatile_refs_p): Same.
12169 (side_effects_p): Same.
12170 (may_trap_p): Same.
12171 (inequality_comparisons_p): Same.
12172 (replace_regs): Same.
12173 (computed_jump_p_1): Same.
12175 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
12177 (inner_mode_array): New.
12178 (copy_rtx): Handle vectors.
12179 (copy_most_rtx): Same.
12180 (rtx_equal_p): Same.
12181 (get_mode_alignment): Adjust for vectors.
12183 * resource.c (mark_referenced_resources): Handle vectors.
12184 (mark_set_resources): Same.
12186 * reload1.c (eliminate_regs): Handle vectors.
12187 (elimination_effects): Same.
12188 (scan_paradoxical_subregs): Same.
12190 * reload.c (subst_reg_equivs): Handle vectors.
12192 * regrename.c (scan_rtx): Handle vectors.
12194 * regclass.c (reg_scan_mark_refs): Handle vectors.
12196 * recog.c (find_single_use_1): Handle vectors.
12198 * local-alloc.c (equiv_init_varies_p): Handle vectors.
12199 (contains_replace_regs): Same.
12200 (memref_referenced_p): Same.
12202 * integrate.c (copy_rtx_and_substitute): Handle vectors.
12203 (subst_constants): Same.
12205 * genattrtab.c (attr_copy_rtx): Handle vectors.
12206 (encode_units_mask): Same.
12207 (clear_struct_flag): Same.
12208 (count_sub_rtxs): Same.
12210 * gcse.c (want_to_gcse_p): Handle vectors.
12211 (oprs_unchanged_p): Same.
12212 (hash_expr_1): Same.
12213 (oprs_not_set_p): Same.
12214 (expr_killed_p): Same.
12215 (compute_transp): Same.
12216 (store_ops_ok): Same.
12218 * function.c (purge_addressof_1): Do not allow paradoxical subregs
12220 (fixup_var_refs_1): Same.
12221 (instantiate_virtual_regs_1): Same.
12223 * fold-const.c (operand_equal_p): Handle vectors.
12225 (rtl_expr_nonnegative_p): Same.
12227 * flow.c (mark_used_regs): Handle vectors.
12229 * df.c (df_uses_record): Handle vectors.
12231 * cselib.c (cselib_subst_to_values): Handle vectors.
12232 (cselib_mem_conflict_p): Same.
12235 * cse.c (canon_reg): Handle vectors.
12237 (cse_process_notes): Same.
12238 (count_reg_usage): Same.
12239 (canon_hash): Same.
12241 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
12243 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
12245 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
12246 (gen_rtx): Handle CONST_VECTOR.
12247 (gen_const_vector_0): New.
12248 (copy_rtx_if_shared): CONST_VECTORs can be shared.
12249 (reset_used_flags): Same.
12250 (copy_insn_1): Same.
12251 (initializer_constant_valid_p): Handle VECTOR_CST.
12253 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
12255 * doc/rtl.texi (Constants): Document const_vector.
12256 (CONST0_RTX): Update for vectors.
12257 (RTL sharing): Same.
12259 * print-tree.c (print_node): Add case for VECTOR_CST.
12261 * tree.h (TREE_VECTOR_CST_ELTS): New.
12262 (struct tree_vector): New.
12263 (union tree_node): Add vector node.
12264 (build_vector): Add prototype.
12266 * tree.def (VECTOR_CST): New.
12268 * tree.c (build_vector): New.
12270 * expmed.c (make_tree): Handle CONST_VECTOR.
12272 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
12273 (CONST_VECTOR_ELT): New.
12274 (CONST_VECTOR_NUNITS): New.
12276 * machmode.h (GET_MODE_INNER): New.
12277 (DEF_MACHMODE): Accept 8th arg.
12279 * machmode.def: Add 8th argument for vector inner mode.
12280 Add inner vector modes for vectors.
12282 * rtl.def (VEC_CONST): Remove.
12283 (CONST_VECTOR): New.
12285 * expr.c (clear_storage): Allow vectors.
12286 (is_zeros_p): Handle VECTOR_CST.
12288 * varasm.c (output_constant_pool): Handle vectors.
12289 (rtx_const): Add veclo and vechi fields.
12290 (kind): Add RTX_VECTOR.
12291 (decode_rtx_const): Add case for vector.
12293 * config/rs6000/rs6000-protos.h: Add zero_constant.
12295 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
12296 constants. Force easy vector constants into memory.
12297 (easy_vector_constant): New.
12298 (emit_easy_vector_constant): New.
12299 (rs6000_legitimize_reload_address): Do not generate bad reloads on
12302 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
12304 ("altivec_lvxl"): Same.
12305 (altivec_lvebx): Same.
12306 (altivec_lvehx): Same.
12307 (altivec_lvewx): Same.
12308 ("*movv4si_const0"): New.
12309 ("*movv4sf_const0"): New.
12310 ("*movv8hi_const0"): New.
12311 ("*movv16qi_const0"): New.
12313 2002-02-18 Kazu Hirata <kazu@hxi.com>
12315 * config/h8300/h8300.c (notice_update_cc): Use
12318 2002-02-18 Kazu Hirata <kazu@hxi.com>
12320 * config/h8300/h8300.md (divmod patterns): Change the
12321 constraints for operands[1] to register_operand.
12323 2002-02-18 Kazu Hirata <kazu@hxi.com>
12325 * config/h8300/h8300-protos.h: Remove the prototype for
12327 * config/h8300/h8300.c (p_operand): Remove.
12328 * config/h8300/h8300.md: Replace p_operand with
12331 2002-02-18 Philip Blundell <pb@nexus.co.uk>
12333 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
12335 (output_return_instruction): Allow use of LDR to unstack
12336 return addresss even for interrupt handlers or when
12337 interworking. If compiling for ARMv5, use interworking-safe
12338 return instructions by default. Remove duplicated code and
12339 lengthy "strcat" sequences.
12341 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12343 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
12344 (LINK_EH_SPEC): Define.
12345 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
12347 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
12349 * config/s390/s390.c (s390_emit_prologue): Do not set the
12350 frame_related flag for call-clobbered registers.
12352 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
12354 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
12355 (construct_container): Fix handling of SSE operands.
12356 (ix86_expand_builtin): Fix handling of 64bit pointers.
12357 (mmx_maskmovq_rex): New pattern.
12359 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
12361 * regrename.c (kill_set_value): Handle subregs properly.
12363 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
12365 * objc/objc-act.c (handle_impent): Remove leading '*'
12366 from objc_class_name.
12368 2002-02-17 Richard Henderson <rth@redhat.com>
12370 * config/alpha/alpha.c (some_small_symbolic_operand,
12371 some_small_symbolic_operand_1, split_small_symbolic_operand,
12372 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
12373 Handle small SYMBOL_REFs anywhere, not just inside memories.
12374 * config/alpha/alpha-protos.h: Update.
12375 * config/alpha/alpha.h (PREDICATE_CODES): Update.
12376 * config/alpha/alpha.md (small symbolic operand splitter): Update.
12378 2002-02-17 Roland McGrath <roland@frob.com>
12380 * config.gcc (powerpc-*-gnu-gnualtivec*,
12381 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
12382 * config/rs6000/gnu.h: New file.
12383 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
12384 Grok "gnu" in rs6000_abi_name.
12385 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
12386 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
12387 Grok -mcall-gnu analogous to -mcall-linux et al.
12388 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
12389 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
12390 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
12392 2002-02-17 Jakub Jelinek <jakub@redhat.com>
12395 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
12398 2002-02-17 Philipp Thomas <pthomas@suse.de>
12400 * config/cris/cris.h: Undefine STARTFILE_SPEC and
12401 ENDFILE_SPEC before (re)defining them.
12403 2002-02-17 Kazu Hirata <kazu@hxi.com>
12405 * config/h8300/h8300.c: Fix formatting.
12406 * config/h8300/h8300.h: Likewise.
12408 2002-02-17 Philipp Thomas <pthomas@suse.de>
12410 * doc/tm.texi: Explain why empty strings should not be
12411 marked for translation.
12413 2002-02-17 Philipp Thomas <pthomas@suse.de>
12415 * final.c (output_operand_lossage): Changed to accept
12416 printf style arguments. Change calls where necessary.
12417 * output.h (output_operand_lossage): Change declaration
12418 accordingly. Update copyright.
12419 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
12420 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
12421 Update copyright date where necessary.
12423 * config/i386/i386.c (print_operand): Likewise. Remove use of
12426 * config/cris/cris.c (cris_operand_lossage): Likewise.
12427 Rename parameter so that exgettext recognizes it as
12428 translatable message.
12429 (LOSE_AND_RETURN): Rename parameter to msgid.
12431 2002-02-17 Kazu Hirata <kazu@hxi.com>
12433 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
12434 hard coded register number with an appropriate macro.
12435 (HARD_REGNO_MODE_OK): Likewise.
12436 (ARG_POINTER_REGNUM): Likewise.
12437 (STATIC_CHAIN_REGNUM): Likewise.
12438 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
12439 * config/h8300/h8300.md (define_constants): Define more
12442 2002-02-17 Philipp Thomas <pthomas@suse.de>
12444 * config/i386/i386.h: Don't mark empty strings for translation.
12446 2002-02-16 H.J. Lu <hjl@gnu.org>
12448 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
12450 2002-02-16 Zack Weinberg <zack@codesourcery.com>
12452 * cppinit.c (merge_include_chains): Check for brack being
12453 NULL before attempting to merge it with qtail.
12455 2002-02-16 Andrew Cagney <ac131313@redhat.com>
12457 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
12460 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
12462 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
12464 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
12466 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
12467 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
12468 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
12470 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12472 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
12473 now only if !TARGET_FIX.
12474 (*movsi_nt_vms_fix): New pattern.
12476 2002-02-16 Douglas B Rupp <rupp@gnat.com>
12478 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
12479 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
12480 (alpha_sa_mask, alpha_sa_size): Reflect above change.
12481 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
12482 (alpha_start_function, alpha_expand_epilogue): Likewise.
12483 (unicosmk_gen_dsib): Likewise.
12485 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12487 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
12489 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
12491 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
12492 check_and_change_labels, s390_final_chunkify): Delete.
12493 (s390_split_branches, s390_chunkify_pool): New functions.
12494 (s390_function_prologue): Call them.
12496 * config/s390/s390.h (S390_REL_MAX): Delete.
12497 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
12499 * config/s390/s390.md (cjump, icjump, jump): Fix length
12500 attribute calculation.
12503 2002-02-15 David Edelsohn <edelsohn@gnu.org>
12505 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
12506 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
12508 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
12510 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
12511 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
12512 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
12514 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
12516 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
12518 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
12520 * reload.c (find_dummy_reload): Check that an output register
12521 is valid for its mode.
12523 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
12525 * combine.c (known_cond): After replacing the REG of a SUBREG, try
12528 * function.c (assign_parms): Demote promoted argument passed by
12529 transparent reference.
12531 2001-02-14 Joel Sherrill <joel@OARcorp.com>
12533 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
12534 -Acpu() and -Amachine() to eliminate warnings.
12536 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
12538 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
12540 2002-02-14 Kazu Hirata <kazu@hxi.com>
12542 * config/h8300/h8300-protos.h: Update the prototype for
12544 * config/h8300/h8300.c (const_costs): Treat SET as a little
12545 more expensive operation.
12546 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
12547 reference to const_costs.
12549 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
12551 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
12553 2002-02-14 Jakub Jelinek <jakub@redhat.com>
12556 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
12557 use arguments from newtype.
12559 2002-02-13 Eric Christopher <echristo@redhat.com>
12561 * config/mips/mips.c (override_options): Add check for march/mipsX
12562 on the same command line. Fix error message in cpu processing.
12563 Remove architecture and ISA checks.
12565 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
12567 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
12569 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
12571 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
12573 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
12575 ("*movv8hi_internal1"): Same.
12576 ("*movv16qi_internal1"): Same.
12577 ("*movv4sf_internal1"): Same.
12579 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
12580 not push_reload for altivec modes.
12582 2002-02-13 Joel Sherrill <joel@OARcorp.com>
12584 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
12585 all RTEMS targets including removal of #includes from config/*/rtems*.h
12586 file and adding them to tm_file setting. Added xm_defines=POSIX to
12588 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
12589 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
12590 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
12591 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
12592 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
12593 config/m68k/rtemself.h: Ditto.
12594 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
12595 config/mips/rtems64.h: Ditto.
12596 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
12597 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
12599 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
12600 config/sparc/rtemself.h: Ditto.
12601 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
12602 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
12603 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
12605 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
12606 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
12607 target made more similar to i386-elf.
12608 * config/i386/t-rtems-i386: Added soft float support and multilibs.
12609 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
12610 be similar to config/m68k/t-m68kelf.
12611 * gthr-rtems.h: Encapsulate with extern "C" for C++.
12613 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
12615 * regmove.c (kill_value): Handle subregs.
12617 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
12619 * i386.md (mul patterns): Allow memory operand to be first;
12620 add expanders where needed; fix constraints.
12621 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
12622 Allow memory operand to be the first.
12624 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
12627 2002-02-13 Jakub Jelinek <jakub@redhat.com>
12630 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
12633 2002-02-13 Jakub Jelinek <jakub@redhat.com>
12635 PR optimization/5547:
12636 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
12637 all valid IA-32 address modes involving non-scaled %ebx and
12638 GOT/GOTOFF as displacement.
12640 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
12642 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
12643 after emitting ltorg insns.
12645 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
12646 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
12647 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
12648 *abssf2): Fix "op_type" attribute.
12650 2002-02-13 Douglas B Rupp <rupp@gnat.com>
12652 * mkconfig.sh: Avoid using a subshell redirect.
12653 ($output.T): Change to $(output)T.
12654 (ENABLE_NLS): Remove unneeded undef.
12656 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
12657 * config/alpha/x-vms (libsubdir): Define.
12659 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
12660 register frame procedures. Optimize retrieving context.
12662 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
12663 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
12664 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
12666 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12668 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
12669 Make same change as for find_base_value.
12671 2002-02-13 Kazu Hirata <kazu@hxi.com>
12673 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
12674 of QImode and SImode.
12676 2002-02-13 Kazu Hirata <kazu@hxi.com>
12678 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
12679 length computation of movsi.
12680 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
12682 2002-02-13 Kazu Hirata <kazu@hxi.com>
12684 * config/h8300/h8300.md (subqi3): Tighten the predicate for
12685 operands[2] to register_operand.
12687 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
12689 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
12691 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
12693 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
12694 for altivec_lvx* and altivec_stvx*.
12695 ("*movv4si_internal"): Add constraint for loading from GPRs.
12696 ("*movv8hi_internal1"): Same.
12697 ("*movv16qi_internal1"): Same.
12698 ("*movv4sf_internal1"): Same.
12700 * config/rs6000/rs6000.c (altivec_register_operand): New.
12702 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
12703 altivec_register_operand.
12705 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
12707 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
12710 2002-02-13 Stan Shebs <shebs@apple.com>
12712 * c-typeck.c (digest_init): Handle vectors.
12713 (really_start_incremental_init): Same.
12714 (pop_init_level): Same.
12715 (process_init_element): Same.
12717 * varasm.c (output_constant): Same.
12719 * expr.c (clear_storage): Same.
12720 (store_constructor): Same.
12722 2002-02-12 Eric Christopher <echristo@redhat.com>
12724 * explow.c (hard_function_value): Add comment explaining
12725 signed/unsigned comparison.
12727 2002-02-12 Jakub Jelinek <jakub@redhat.com>
12729 * jump.c (never_reached_warning): Add finish argument.
12730 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
12731 real insn after end.
12732 * rtl.h (never_reached_warning): Adjust prototype.
12733 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
12734 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
12735 never_reached_warning.
12737 2002-02-12 Graham Stott <grahams@redhat.com>
12739 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
12741 2002-02-12 Kazu Hirata <kazu@hxi.com>
12743 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
12744 logical shifts on H8/300.
12745 (shift_alg_si): Improve several shifts on H8/300.
12746 (get_shift_alg): Likewise.
12748 2002-02-12 Graham Stott <grahams@redhat.com>
12750 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
12752 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12754 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
12755 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
12757 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
12759 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
12760 non-CONST_INT through default_assemble_integer.
12761 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
12762 <case 8>: Abort for CONST_DOUBLE.
12764 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
12766 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
12768 * config/pa/pa-linux.h (LIB_SPEC): Delete.
12769 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
12771 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
12773 * config/stormy16/stormy16.md (zero_extendqihi2): New.
12775 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
12777 * regrename.c (regrename_optimize): Don't accept a
12778 part-clobbered register if the replaced register is not part
12781 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
12782 take padding into account when computing the argument value.
12784 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
12786 * combine.c (try_combine): Apply substitutions in
12787 CALL_INSN_FUNCTION_USAGE too.
12789 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
12791 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
12792 __builtin_altivec_abs*.
12795 * config/rs6000/rs6000.h (rs6000_builtins): Add
12796 ALTIVEC_BUILTIN_ABS*.
12798 * config/rs6000/altivec.h: Use const char for builtins expecting
12800 (vec_abs): New versions for C and C++.
12803 2002-02-10 Kazu Hirata <kazu@hxi.com>
12805 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
12808 2002-02-10 Kazu Hirata <kazu@hxi.com>
12810 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
12811 constant definition from h8300.md.
12812 (FRAME_POINTER_REGNUM): Likewise.
12813 * config/h8300/h8300.md (define_constants): Add FP_REG.
12815 2002-02-10 Kazu Hirata <kazu@hxi.com>
12817 * config/h8300/h8300.c (print_operand): Remove redundant code.
12819 2002-02-10 Kazu Hirata <kazu@hxi.com>
12821 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
12822 * config/h8300/h8300.c (byte_reg): Make it static.
12824 2002-02-10 Richard Henderson <rth@redhat.com>
12827 * c-typeck.c (incomplete_type_error): Handle flexible array members.
12829 2002-02-10 Richard Henderson <rth@redhat.com>
12832 * tree.c (append_random_chars): Don't abort if main_input_filename
12835 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
12837 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
12839 2002-02-10 Kazu Hirata <kazu@hxi.com>
12841 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
12842 (pushhi1): Likewise.
12844 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
12846 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
12847 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
12849 2002-02-09 David O'Brien <obrien@FreeBSD.org>
12851 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
12853 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
12855 2002-02-09 Kazu Hirata <kazu@hxi.com>
12857 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
12858 a half of an SImode register on H8/300.
12860 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
12862 * i386.md (movdi_2): Add missing '!'.
12864 2002-02-09 Kazu Hirata <kazu@hxi.com>
12866 * config/h8300/h8300.h: Fix formatting. Remove commented-out
12869 2002-02-09 Kazu Hirata <kazu@hxi.com>
12871 * config/h8300/h8300.md (length): Correct the distance valid
12872 for the short branch.
12874 2002-02-09 Kazu Hirata <kazu@hxi.com>
12876 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
12878 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
12880 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
12881 registers in SImode.
12882 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
12885 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
12888 Contribute sh64-elf.
12889 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
12890 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
12891 (sh_cannot_modify_jumps_p): New function.
12892 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
12893 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
12894 (sh_ms_bitfield_layout_p): New function.
12895 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
12896 Zack Weinberg <zack@codesourcery.com>
12897 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
12898 expand_simple_binop instead of expand_binop.
12899 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
12900 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
12901 use of .quad and .uaquad.
12902 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
12903 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
12904 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
12905 * config/sh/sh.md (movdi_const, movdi_const_32bit,
12906 movdi_const_16bit): Make sure all CONSTs have modes.
12907 (sym2PIC): Ditto, but by adjusting all callers.
12908 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
12909 if the prologue calls the SHmedia argument decoder or register
12911 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
12912 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
12913 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
12914 (sh_expand_epilogue): Don't emit USE of return target register.
12915 (prepare_move_operands): Legitimize DImode PIC addresses.
12916 (sh_media_register_for_return): Skip tr0, used to initialize the
12918 (sh_expand_prologue): Remove explicit USE of return register.
12919 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
12920 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
12921 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
12922 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
12923 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
12924 EXTRA_CONSTRAINT_T.
12925 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
12926 (MOVI_SHORI_BASE_OPERAND_P): New.
12927 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
12928 (EXTRA_CONSTRAINT_T): Define in terms of them.
12929 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
12930 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
12931 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
12932 alternatives supporting TARGET_REGS.
12933 (UNSPEC_GOTPLT): New constant.
12934 (movdi split): Move incrementing of LABEL_NUSES...
12935 (movdi_const, movdi_const_32bit): Here. Use
12936 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
12937 (movdi_const_16bit): New.
12938 (call, call_value) [flag_pic]: Use GOTPLT.
12939 (call_pop, call_value_pop): New expands.
12940 (call_pop_compact, call_pop_rettramp): New insns.
12941 (call_value_pop_compact, call_value_pop_rettramp): New insns.
12942 (sibcall) [flag_pic]: Use GOT.
12943 (builtint_setjmp_receiver): Remove bogus, unused expand.
12944 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
12945 (*pt, *ptb, ptrel): New insns.
12946 (sym2GOT): Handle DImode GOT.
12947 (sym2GOTPLT, symGOTPLT2reg): New expands.
12948 (sym2PIC): New expand.
12949 (shcompact_return_tramp): Use GOTPLT to return trampoline.
12950 (shcompact_return_tramp_i): Use return register explicitly.
12951 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
12952 disable flag_reorder_blocks.
12953 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
12954 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
12955 clobbers, for clarity.
12956 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
12957 restoring of r0 in macl as MAYBE_DEAD.
12958 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
12959 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
12960 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
12961 alter_subreg all over.
12962 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
12963 reload, instead of emitting instructions that would require
12965 (casesi_load_media): Add missing modes.
12966 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
12967 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
12968 as used if the argument decoder is called.
12969 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
12970 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
12971 Pmode, then extend it to DImode if necessary.
12972 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
12973 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
12974 constants in FPU-enabled SHmedia, let them be loaded from memory.
12975 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
12976 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
12977 Adjust whitespace in assembly output templates.
12978 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
12979 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
12980 mode of if_then_else.
12981 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
12982 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
12984 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
12985 Joern Rennecke <amylaar@redhat.com>
12986 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
12987 (SUBTARGET_CPP_PTR_SPEC): New.
12988 (SUBTARGET_CPP_SPEC): Remove.
12989 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
12990 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
12991 Fix typo in previous checkin.
12992 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
12993 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
12994 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
12995 Alexandre Oliva <aoliva@redhat.com>
12996 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
12997 what single FP register can hold for SHmedia target.
12998 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
12999 Alexandre Oliva <aoliva@redhat.com>
13000 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
13001 Do not split into SUBREG.
13002 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
13003 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
13004 and added new functions as specified in SH5 ABI r9.
13005 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
13006 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
13008 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
13009 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
13010 gen_consttable_4 and gen_consttable_8. Emit multiple labels
13011 and consttable_window_ends.
13012 2001-06-03 Graham Stott <grahams@redhat,com>
13013 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
13014 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
13015 * config/sh/sh.c (print_operand): Handle floating-point pair,
13016 vector and matrix registers.
13017 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
13018 vector modes into account.
13019 * config/sh/sh.md (movv2sf): Split move between registers into
13021 (movv4sf, movv16sf): Introduce insns that get split only after
13023 * config/sh/shmedia.h: Fix Copyright dates.
13024 * config/sh/ushmedia.h: Likewise. Move loop counter
13025 declarations into conditionals that uses them.
13026 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
13028 * config/sh/sshmedia.h: Fix Copyright dates.
13029 (sh_media_PUTCFG): Fix constraints.
13030 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
13031 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
13032 ptrmemfunc_vbit_in_delta for SH5.
13033 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
13034 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
13035 * invoke.texi: Likewise.
13036 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
13037 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
13038 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
13039 GCC_pop_shmedia_regs_nofpu): New global symbols.
13040 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
13041 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
13042 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
13043 compact function with nonlocal labels.
13044 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
13045 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
13046 (initial_elimination_offset): Account for their stack space.
13047 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
13048 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
13049 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
13050 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
13051 least one of the operands to be a register.
13052 (movv2sf): Likewise. Renamed to movv2sf_i.
13053 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
13054 prepare_move_operands() before emitting SHmedia insns.
13055 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
13056 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
13057 Don't save nor initialize r12. Don't mis-align the stack.
13058 Pad the code with a nop.
13059 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
13061 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
13062 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
13063 [__SHMEDIA__]: Implement.
13064 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
13065 * config/sh/sh.md: Set latency of `pt' closer to reality.
13066 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
13067 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
13068 Set move, load and store type attributes.
13069 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
13070 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
13072 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
13073 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
13074 * config/sh/sh.c (sh_media_register_for_return): New function.
13075 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
13076 branch-target register.
13077 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
13078 * config/sh/sh.md (return_media_i): Use any call-clobbered
13079 branch-target register.
13080 (return_media): If r18 wasn't copied in the prologue, copy it
13082 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
13083 Clear class FP0_REGS.
13084 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
13086 2001-03-08 DJ Delorie <dj@redhat.com>
13087 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
13088 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
13089 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
13090 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
13091 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
13092 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
13093 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
13094 return value correctly for call_cookie.
13095 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
13096 * config/sh/crt1.asm (start): Modified so as to call
13097 ___setup_argv_and_call_main.
13098 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
13099 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
13101 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
13102 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
13103 (STRIP_NAME_ENCODING): Use it.
13104 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
13105 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
13106 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
13107 prepare_scc_operands().
13108 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
13109 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
13110 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
13111 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
13112 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
13113 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
13114 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
13115 used in shcompact_incoming_args.
13116 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
13118 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
13120 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
13121 Adjust accordingly.
13122 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
13123 Simplify. Adjust. Add sanity check.
13124 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
13126 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
13128 (udivsi3, divsi3): Use them.
13129 (force_mode_for_call): New insn.
13130 (call, call_value, sibcall_value): Emit it before SHcompact
13132 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
13133 * config/sh/sh.md (call, call_value, sibcall): Make sure the
13134 call cookie is non-NULL before taking its value.
13135 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
13136 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
13137 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
13138 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
13140 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
13141 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
13142 temporary for stack adjusts. Use MACL and MACH to pass
13143 arguments to shcompact_incoming_args.
13144 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
13146 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
13147 (nested_trampoline): Load static chain address into r1.
13148 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
13149 2001-01-07 Alexandre Oliva <aoliva@redhat.com
13150 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
13151 fp_arith_reg_operand().
13152 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
13153 * config/sh/sh.md (casesi): Sign-extend the first two operands,
13154 and use signed compares for them.
13155 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
13156 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
13157 ones properly aligned.
13158 (find_barrier): Account for extra alignment needed for 8-byte wide
13160 (machine_dependent_reorg): Require a label for the second 4-byte
13161 constant after an 8-byte one.
13162 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
13164 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
13165 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
13166 last_float when switching float modes.
13167 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
13168 auto-increment for general-purpose registers.
13169 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
13171 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
13173 * config/sh/sh.c (sh_builtin_saveregs): Support using all
13174 registers for varargs.
13175 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
13176 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
13177 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
13178 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
13179 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
13180 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
13181 call_cookie accordingly.
13182 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
13183 (SHCOMPACT_BYREF): Likewise.
13184 (SHCOMPACT_FORCE_ON_STACK): New macro.
13185 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
13186 (sh_builtin_saveregs): Likewise.
13187 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
13188 shcompact_incoming_args): Use new shift values. Support
13189 sequences of consecutive and non-consecutive pushes/pops.
13190 * config/sh/sh.md (return): Don't explicitly use PR_REG.
13191 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
13192 * config/sh/sh.h (TEXT_SECTION): Define.
13193 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
13194 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
13195 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
13196 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
13197 return values on FPU-enabled SHmedia.
13198 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
13199 FPU-enabled SHmedia.
13200 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
13201 value is returned in a non-FP reg and is not returned by
13203 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
13205 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
13206 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
13207 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
13208 quad-aligned to be passed by callee-copy reference.
13209 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
13210 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
13211 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
13212 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
13213 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
13214 copying low-numbered FP regs to r7 and r8.
13215 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
13216 FP regs to general-purpose regs only if the copy was passed on the
13218 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
13219 copying FP reg to r9.
13220 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
13221 copy FP regs to general-purpose regs only in outgoing calls.
13222 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
13223 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
13225 * config/sh/sh.h (struct sh_args): Document all fields.
13226 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
13227 passed partially on the stack should not consider making
13229 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
13230 stack_regs only for incoming calls. When passing FP args,
13231 make sure there are FP regs available before modifying
13233 (SHCOMPACT_BYREF): Pass double args in general-purpose
13234 registers by reference.
13235 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
13236 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
13237 attempt to generate sibcalls if the caller got any arguments
13239 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
13240 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
13241 to 8-byte boundaries.
13242 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
13243 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
13244 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
13245 stored in the stack.
13246 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
13247 for the offsets to have the ISA bit set.
13248 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
13249 invocation. Use beq instead of bgt to mark end of sequence of
13251 (shcompact_incoming_args): Fix store of r2. Use beq instead of
13252 bgt to mark end of sequence of stores.
13253 * config/sh/sh.c (arith_operand): Don't check whether
13254 CONST_OK_FOR_J for now.
13255 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
13256 instead of long for conversion.
13257 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
13258 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
13259 before passing it to fprintf.
13260 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
13261 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
13262 Call set_fpscr before reading/writing SR.
13263 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
13265 * config/sh/lib1funcs.asm: Add `.align 2' directives before
13267 (FMOVD_WORKS): Define on SH5 with FPU.
13268 (set_fpscr): Define on SH5. Remove separate _fpscr_values
13270 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
13272 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
13273 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
13275 (ia_main_table): Ditto.
13276 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
13277 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
13278 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
13279 the definitions from sh.h.
13280 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
13282 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
13283 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
13284 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
13285 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
13286 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
13287 Increment LABEL_NUSES.
13289 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
13291 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
13293 * config/sh/elf.h (SIZE_TYPE): Likewise.
13294 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
13295 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
13296 shcompact_incoming_args): Load switch table addresses using
13298 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
13299 (NO_BUILTIN_SIZE_TYPE): Define.
13300 (SIZE_TYPE): Don't define.
13301 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
13302 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
13303 definition of __SH5__=32 for -m5-compact-nofpu.
13304 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
13306 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
13307 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
13308 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
13309 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
13310 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
13311 (INSN_LENGTH_ALIGNMENT): Likewise.
13312 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
13313 * config/sh/sh.md (call, call_value, sibcall): Simplify
13314 copying of non-branch-target register.
13315 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
13316 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
13317 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
13318 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
13319 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
13320 floating-point values as structs.
13321 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
13322 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
13323 general-purpose register.
13324 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
13325 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
13326 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
13327 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
13328 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
13329 (ENCODE_SECTION_INFO): Enclose variables and constants in
13331 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
13332 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
13333 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
13334 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
13335 only for LABEL_REFs. For SYMBOL_REFs, prepend
13336 SH_DATALABEL_ENCODING to the symbol name.
13337 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
13339 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
13340 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
13342 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
13343 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
13344 (DATALABEL_REF_P): Don't require CONST.
13345 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
13347 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
13348 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
13350 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
13351 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
13352 Use shallow_copy_rtx and PUT_MODE to change the mode of
13353 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
13354 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
13355 on SHmedia using GENERAL_REGs.
13356 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
13357 bltu_media_i): Fix reversion of conditions.
13358 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
13359 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
13360 * config/sh/sh.c (output_far_jump): Save r13 in macl.
13361 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
13362 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
13363 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
13364 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
13365 (GCC_nested_trampoline): Likewise.
13366 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
13367 * config/sh/sh.c (gen_datalabel_ref): Define.
13368 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
13369 (INITIALIZE_TRAMPOLINE): Likewise.
13370 (TRAMPOLINE_ADJUST_ADDRESS): Define.
13371 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
13372 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
13373 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
13374 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
13375 (ic_invalidate): Adjust for SH5.
13376 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
13377 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
13378 _nested_trampoline.
13379 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
13380 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
13381 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
13382 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
13383 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
13384 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
13385 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
13386 * config/sh/sh.c (target_reg_operand): Match only target-branch
13387 registers and pseudos that aren't virtual registers.
13388 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
13389 Copy operands that don't match target_reg_operand to pseudos.
13390 (call_media, call_value_media, sibcall_media): Use
13391 target_reg_operand instead of target_operand.
13392 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
13393 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
13394 * config/sh/sh.c (target_reg_operand): Match hardware registers
13395 other than branch-target registers.
13396 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
13397 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
13398 (fpscr_values) [SH5 == 32]: Define.
13399 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
13400 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
13401 Handle function addresses coming in SUBREGs.
13402 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
13403 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
13404 shcompact_return_trampoline): Use datalabel where appropriate.
13405 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
13406 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
13407 general-purpose register to copy one branch-target register to
13409 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
13410 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
13411 SYMBOL_REFs with VOIDmode.
13412 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
13413 bltu_media_i): New insns.
13414 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
13415 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
13416 (INIT_CUMULATIVE_ARGS): Likewise.
13417 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
13418 * machmode.def (V16SFmode): New mode.
13419 * c-common.c (type_for_mode): Support V2SF and V16SF.
13420 * tree.c (build_common_tree_nodes_2): Likewise.
13421 * tree.h (tree_index): Likewise.
13422 * calls.c (emit_call_1): Take args_so_far. Adjust all
13423 callers. Introduce CALL_POPS_ARGS.
13424 * tm.texi (CALL_POPS_ARGS): Document.
13425 * config/sh/crt1.asm: Implement in SHmedia mode.
13426 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
13427 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
13428 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
13429 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
13430 Implement divsi and udivsi in SHmedia mode. Introduce
13431 SHcompact trampolines.
13432 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
13434 (regno_reg_class): Rewrite.
13435 (fp_reg_names): Remove.
13436 (sh_register_names, sh_additional_register_names): New.
13437 (print_operand): Added `u'. Support SUBREGs in addresses.
13438 Add parentheses around shifted CONSTs.
13439 (output_file_start): Output .mode and .abi directives.
13440 (shiftcosts, addsubcosts, multcosts): Adjust.
13441 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
13442 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
13443 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
13444 bytes, not registers. Take into account the need for the
13445 SHcompact incoming args trampoline. Adjust all callers.
13446 (sh_expand_prologue): Take stack_regs into account. Call
13447 incoming args trampoline. Keep stack aligned as per SH5 ABI.
13448 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
13449 stack aligned as per SH5 ABI.
13450 (sh_builtin_saveregs): Support SH5 ABI.
13451 (sh_build_va_list, sh_va_start): Likewise.
13452 (initial_elimination_offset): Take alignment into account.
13453 Compute location of PR according to the SH5 stack frame.
13454 (arith_reg_operand): Reject branch-target registers.
13455 (shmedia_6bit_operand): New.
13456 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
13457 (target_reg_operand): Match DImode only. Accept SUBREGs.
13458 (target_operand): New.
13459 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
13460 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
13461 SIBCALL_REGS for SHmedia.
13462 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
13463 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
13464 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
13465 (TARGET_SWITCHES): New SH5 flags.
13466 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
13467 VALID_REGISTER_P to disable unsupported registers.
13468 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
13469 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
13470 (FUNCTION_ARG_PADDING): Define.
13471 (FASTEST_ALIGNMENT): Adjust.
13472 (SH_REGISTER_NAMES_INITIALIZER): New.
13473 (sh_register_names): Declare.
13474 (DEBUG_REGISTER_NAMES): Define.
13475 (REGISTER_NAMES): Define based on sh_register_names.
13476 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
13477 (sh_additional_register_names): Declare.
13478 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
13479 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
13480 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
13481 (REGISTER_NATURAL_MODE): Define.
13482 (FIRST_PSEUDO_REGISTER): Adjust.
13483 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
13484 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
13485 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
13486 (VECTOR_MODE_SUPPORTED_P): Define.
13487 (REG_CLASS_CONTENTS): Adjust.
13488 (SMALL_REGISTER_CLASSES): Adjust.
13489 (REG_ALLOC_ORDER): Adjust.
13490 (INDEX_REG_CLASS): Adjust.
13491 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
13492 (CONST_OK_FOR_LETTER_P): Adjust.
13493 (PREFERRED_RELOAD_CLASS): Adjust.
13494 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
13495 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
13496 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
13497 (FIRST_FP_PARM_REG): Adjust.
13498 (CALL_POPS_ARGS): Define.
13499 (FUNCTION_ARG_REGNO_P): Adjust.
13500 (struct sh_args): New fields.
13501 (GET_SH_ARG_CLASS): Adjust.
13502 (INIT_CUMULATIVE_ARGS): Adjust.
13503 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
13504 (FUNCTION_ARG_ADVANCE): Adjust.
13505 (FUNCTION_ARG): Adjust.
13506 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
13507 (FUNCTION_ARG_CALLEE_COPIES): Define.
13508 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
13509 (STRICT_ARGUMENT_NAMING): Define.
13510 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
13511 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
13512 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
13513 (SETUP_INCOMING_VARARGS): Adjust.
13514 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
13515 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
13516 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
13517 (SUBREG_OK_FOR_INDEX_P): Adjust.
13518 (EXTRA_CONSTRAINT_S): Update.
13519 (EXTRA_CONSTRAINT_T): New.
13520 (EXTRA_CONSTRAINT): Adjust.
13521 (GO_IF_LEGITIMATE_INDEX): Adjust.
13522 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
13523 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
13524 (MOVE_MAX): Adjust.
13525 (MAX_MOVE_MAX): Define.
13527 (CONST_COSTS): Adjust.
13528 (REGISTER_MOVE_COST): Adjust.
13529 (BRANCH_COST): Adjust.
13530 (TEXT_SECTION_ASM_OP): Adjust.
13531 (DBX_REGISTER_NUMBER): Adjust.
13532 (ASM_OUTPUT_DOUBLE_INT): New.
13533 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
13534 (PREDICATE_CODES): Adjust.
13535 (PROMOTE_MODE): Adjust.
13536 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
13537 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
13538 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
13539 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
13540 (DR0_REG, DR2_REG, DR4_REG): Renumber.
13541 (TR0_REG, TR1_REG, TR2_REG): New.
13542 (XD0_REG): Renumber.
13543 (UNSPEC_COMPACT_ARGS): New.
13544 (type): Added pt and ptabs.
13545 (length): Default to 4 on SHmedia. Default pt length to 12
13546 and 20 on SHmedia32 and SHmedia64, respectively.
13547 (pt): New function unit.
13548 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
13549 Add whitespace between operands of SHmedia instructions.
13551 (adddi3_media, addsi3_media): Adjust constraints.
13552 (subsi3) [SHmedia]: Force operand 1 into a register.
13553 (udivsi3_i1_media, udivsi3_i4_media): New.
13554 (udivsi3): Support SHmedia.
13555 (divsi3_i1_media, divsi3_i4_media): New.
13556 (divsi3): Support SHmedia.
13557 (anddi3, iordi3, xordi3): Adjust constraints.
13558 (zero_extendhidi2, zero_extendqidi2): New.
13559 (extendsidi2, extendhidi2, extendqidi2): New.
13560 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
13561 (pop_e, pop_fpul, pop_4): Likewise.
13562 (movsi_media): Support FP and BT registers.
13563 (movsi_media_nofpu): New. Adjust splits to DImode.
13564 (lduw, ldub): Renamed to zero_extend* above.
13565 (movqi_media): Fix typo.
13566 (movdi_media): Support FP and BT registers.
13567 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
13568 (movdi_const_32bit): New.
13569 (shori_media): Require immediate operand. Use `u' for output.
13570 (movdf_media, movsf_media): Simplified.
13571 (movdf_media_nofpu, movsf_media_nofpu): New.
13572 (movdf, movsf): Adjust
13573 (movv2sf, movv2sf, movv16sf): New.
13574 (beq_media, beq_media_i): Adjust constraints. Don't use
13575 scratch BT register.
13576 (bne_media, bne_media_i): Likewise.
13577 (bgt_media, bgt_media_i): Likewise.
13578 (bge_media, bge_media_i): Likewise.
13579 (bgtu_media, bgtu_media_i): Likewise.
13580 (bgeu_media, bgeu_media_i): Likewise.
13581 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
13582 bunordered): Emit jump insn. Force operands to registers when
13584 (jump_media, jump): Simplify.
13585 (call_compact, call_compact_rettramp): New.
13586 (call_value_compact, call_value_compact_rettramp): New.
13587 (call_media, call_value_media): Simplify.
13588 (sibcall_compact, sibcall_media): New.
13589 (call, call_value): Adjust for SHmedia and SHcompact.
13590 (sibcall, sibcall_value, untyped_call): Likewise.
13591 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
13592 (indirect_jump): Adjust for SHmedia.
13593 (casesi_jump_media): New.
13594 (nop): Re-enable for SHmedia.
13595 (call_site): Restrict to SH1.
13596 (casesi): Adjust for SHmedia.
13597 (casesi_shift_media, casesi_load_media): New.
13598 (return): Explicitly use PR register. Call return trampoline
13600 (return_i): Explicitly use PR register.
13601 (shcompact_return_tramp, shcompact_return_tramp_i): New.
13602 (return_media): Adjust.
13603 (shcompact_incoming_args): New.
13604 (epilogue): Adjust.
13605 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
13606 (movstrsi): Disable on SH5.
13607 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
13608 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
13609 (subsf3, subsf3_media): Likewise.
13610 (mulsf3, mulsf3_media, mac_media): Likewise.
13611 (divsf3, divsf3_media): Likewise.
13612 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
13613 (floatsisf2, fux_truncsfsi2): Likewise.
13614 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
13616 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
13617 (cmpunsf_media, cmpsf): Likewise.
13618 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
13619 (abssf2, abssf2_media): Likewise.
13620 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
13621 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
13622 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
13623 (floatsidf2, fix_truncdfsi2): Likewise.
13624 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
13626 (cmpeqdf_media, cmpgtdf_media): Likewise.
13627 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
13628 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
13629 (absdf2, absdf2_media): Likewise.
13630 (extendsfdf2, extendsfdf2_media): Likewise.
13631 (truncsfdf2, truncsfdf2_media): Likewise.
13632 * config/sh/sh64.h: New file.
13633 * config/sh/t-sh64: New file.
13634 * config/sh/shmedia.h: New file.
13635 * config/sh/ushmedia.h: New file.
13636 * config/sh/sshmedia.h: New file.
13637 * configure.in: Added sh64-*-elf.
13638 * configure: Rebuilt.
13639 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
13640 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
13641 (reg_class_from_letter): Use `b' for TARGET_REGS.
13642 (print_operand): Support `%M', `%m', `AND' and
13643 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
13644 (andcosts): Adjust for SHmedia.
13645 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
13647 (target_reg_operand): New function.
13648 * config/sh/sh-protos.h (target_reg_operand): Declare.
13649 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
13650 FP registers on SH5.
13651 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
13653 (TARGET_REGISTER_P): New macro.
13654 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
13655 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
13656 (EXTRA_CONSTRAINT_S): New macro.
13657 (EXTRA_CONSTRAINT): Adjust.
13658 (FLOAT_TYPE_SIZE): Define to 32.
13659 (Pmode): DImode on SHmedia.
13660 (CONST_COSTS): Adjust for SHmedia literals.
13661 (PREDICATE_CODES): Added target_reg_operand.
13662 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
13663 * config/sh/sh.md: Remove all attrs from SHmedia insns.
13664 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
13665 (cmpdi): Accept SHmedia.
13666 (movdicc_false, movdicc_true): New insns.
13667 (movdicc): New expand.
13668 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
13670 (addsi3_media): Match `S' constraint.
13671 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
13672 (negdi2): Expand for SHmedia.
13673 (one_cmpldi2): New expand.
13674 (zero_extendsidi2): Change from expand to insn.
13675 (extendsidi2): Add constraints.
13676 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
13677 LD/ST address. Fix SI immediate loading split.
13678 (movhi_media, movqi_media, lduw, ldub): New insns.
13679 (movhi, movqi): Accept SHmedia.
13680 (shori_media, movdi_media): Relax input constraints. Split
13681 symbolic constants.
13682 (movdf_media, movsf_media): New insn. New split to movdi.
13683 (movdf, movsf): Match on SHmedia.
13684 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
13685 bgeu_media): New insns and splits. New insns with `_i' suffix.
13686 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
13687 (bunordered): New expand.
13688 (jump_compact): Renamed from `jump'.
13689 (jump_media): New insn.
13690 (jump): New expand.
13691 (call_media, call_value_media): New insns.
13692 (call, call_value): Adjust.
13693 (indirect_jump_compact): Renamed from `indirect_jump'.
13694 (indirect_jump_media): New insn.
13695 (indirect_jump): New expand.
13696 (untyped_call, return): Accept SHmedia.
13697 (return_media): New insn.
13698 (prologue, epilogue, blockage): Accept SHmedia.
13699 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
13700 (sunordered): New expand.
13701 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
13702 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
13703 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
13704 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
13705 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
13706 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
13707 abssf2_media): New insns.
13708 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
13709 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
13710 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
13711 floatdidf2, floatsidf2_media, fix_truncdfdi2,
13712 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
13713 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
13714 absdf2_media): New insns.
13715 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
13716 (extendsfdf2_media, truncdfsf2_media): New insns.
13717 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
13718 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
13719 * config/sh/sh.h (CONST_OK_FOR_J): Document.
13720 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
13721 * config/sh/sh.md (adddi3): New expand.
13722 (adddi3_media, adddi3z_media): New insns.
13723 (adddi3_compact): Renamed from adddi3.
13724 (addsi3_media): Use add.l r63 to add constant zero.
13725 (subdi3): New expand.
13726 (subdi3_media): New insn.
13727 (subdi3_compact): Renamed from subdi3.
13728 (mulsidi3): New expand.
13729 (mulsidi3_media): New insn.
13730 (mulsidi3_compact): Renamed from mulsidi3.
13731 (umulsidi3): New expand.
13732 (umulsidi3_media): New insn.
13733 (umulsidi3_compact): Renamed from umulsidi3.
13734 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
13735 (ashlsi3, ashrsi3, lshrsi3): Use them.
13736 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
13737 (ashldi3, ashrdi3, lshrdi3): Use them.
13738 (zero_extendsidi2): New expand.
13739 (extendsidi2): New insn.
13740 (movsi_media): New insn. Split to movdi to load constants.
13741 (movsi): Enable for shmedia.
13742 (movdi_media): New insn. Use shori_media to load wide constants.
13743 (short_media): New insn.
13744 (movdi): Enable for shmedia.
13745 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
13746 * config/sh/sh.h (CPP_SPEC): Added `m5'.
13747 (SUBTARGET_CPP_SPEC): Added `!m5'.
13748 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
13749 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
13750 to all other SH variants.
13751 (TARGET_DEFAULT): Set to SH1_BIT.
13752 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
13753 (BITS_PER_WORD): Raise to 64 on shmedia.
13754 (MAX_BITS_PER_WORD): Change to 64.
13755 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
13756 (INT_TYPE_SIZE): Keep as 32.
13757 (UNITS_PER_WORD): Raise to 8 on shmedia.
13758 (MIN_UNITS_PER_WORD): Keep as 4.
13759 (POINTER_SIZE): Raise to 64 on shmedia.
13760 (CONST_OK_FOR_J): New macro.
13761 (CONST_OK_FOR_LETTER_P): Use it.
13762 (processor_type): Add PROCESSOR_SH5.
13763 * config/sh/sh.md: Conditionalize all expands, insns and
13764 splits to TARGET_SH1.
13766 (addsi3_compact): Renamed from...
13767 (addsi3): Now an expand.
13768 (addsi3_media, subsi3_media): New insns.
13769 (subsi3): Don't negate constants with SHmedia.
13771 * hooks.c: New file.
13772 * hooks.h: New file.
13773 * Makefile.in (HOOKS_H): New.
13774 (TARGET_DEF_H): Added $(HOOKS_H).
13775 (OBJS): Added hooks.o.
13776 (cfgcleanup.o, bb-reorder.o): Added target.h.
13777 (hooks.o): Added dependencies.
13778 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
13779 (TARGET_INITIALIZER): this.
13780 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
13781 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
13782 * bb-reorder.c: Include target.h.
13783 (reorder_basic_blocks): Skip if cannot modify jumps.
13784 * cfgcleanup.c: Include target.h.
13785 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
13787 2002-02-08 Chris Demetriou <cgd@broadcom.com>
13789 * config/mips/mips.md (casesi_internal, casesi_internal_di):
13790 Protect jump delay slot instructions with .set noreorder and
13793 2002-02-08 Chris Demetriou <cgd@broadcom.com>
13795 * config/mips/mips.md (casesi_internal_di): Calculate
13796 the index into the target offset table correctly.
13798 2002-02-08 Richard Henderson <rth@redhat.com>
13800 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
13801 * final.c (output_addr_const): Accept and discard SUBREG.
13802 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
13803 mark them unknown instead.
13804 (simplify_subtraction): Handle RTX_UNKNOWN.
13805 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
13807 2002-02-08 David Edelsohn <edelsohn@gnu.org>
13809 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
13811 2002-02-08 Richard Henderson <rth@redhat.com>
13813 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
13815 2002-02-08 Andreas Jaeger <aj@suse.de>
13817 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
13818 * config/i386/t-linux64: New file.
13820 2002-02-08 Jakub Jelinek <jakub@redhat.com>
13822 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
13823 * c-parse.in (compstmt): Clear last_expr_type.
13825 2002-02-07 Richard Henderson <rth@redhat.com>
13827 * loop.c (strength_reduce): Sink final_value when not
13830 2002-02-07 David O'Brien <obrien@FreeBSD.org>
13832 * config/sparc/freebsd.h: Fix mismatched spec {.
13834 2002-02-07 Richard Henderson <rth@redhat.com>
13836 * cfgrtl.c: Include recog.h and insn-config.h.
13837 (keep_with_call_p): Fix general_operand invocation.
13838 * Makefile.in (cfgrtl.o): Update dependencies.
13840 2002-02-07 Kazu Hirata <kazu@hxi.com>
13842 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
13843 comment. Accept HImode only if TARGET_H8300.
13845 2002-02-07 Eric Christopher <echristo@redhat.com>
13847 * config/mips/crtn.asm: Cleanup #ifdefs.
13849 2002-02-07 Eric Christopher <echristo@redhat.com>
13851 * config/mips/crti.asm: Add changes for mips16. mips16 uses
13852 register 7 as RA instead of $31.
13853 * config/mips/crtn.asm: Ditto.
13854 * config/mips/mips.c (mips_move_2words): Add case for
13855 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
13856 (compute_frame_size): Fix typo.
13857 (save_restore_insns): Ditto. Make documentation about using
13858 register $7 as return register more precise.
13859 (mips_expand_epilogue): Fix comment. Add code to work around not
13860 being able to add to the stack pointer directly.
13861 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
13862 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
13865 2002-02-07 Tom Rix <trix@redhat.com>
13867 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
13868 immediates in ldu and stdu DS opcode field.
13869 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
13870 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
13871 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
13873 2002-02-07 Jeff Sturm <jsturm@one-point.com>
13875 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
13876 offset for stack bias.
13878 2002-02-07 H.J. Lu <hjl@gnu.org>
13880 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
13882 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
13884 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
13886 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
13888 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
13889 * i386.c (x86_order_regs_for_local_alloc): New global function.
13890 * i386.h (REG_ALLOC_ORDER): CLeanup.
13891 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
13893 2002-02-07 Richard Henderson <rth@redhat.com>
13895 PR optimization/2463
13896 * alias.c (find_base_value): Recall base values for fixed hard regs.
13897 * loop.c (loop_regs_update): Don't use single_set on non-insns.
13899 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
13901 * config/mips/mips.md (define_delay) [mips16]: Adjust required
13904 2002-02-06 Richard Henderson <rth@redhat.com>
13907 * stmt.c (resolve_operand_name_1): Take more care with mixed
13908 named and unnamed operands.
13910 2002-02-06 Janis Johnson <janis187@us.ibm.com>
13911 Jan Hubicka <jh@suse.cz>
13913 * loop.c (remove_constant_addition): Avoid clobbering a shared
13916 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
13918 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
13919 * config/s390/t-linux64: New file.
13920 * config/s390/libgcc-glibc.ver: New file.
13922 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
13924 * config/s390/linux64.h: Delete file.
13925 * config/s390/s390x.h: New file.
13926 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
13927 as target header file.
13928 * config/s390/linux.h (TARGET_VERSION): Define depending on
13929 DEFAULT_TARGET_64BIT.
13930 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
13931 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
13932 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
13933 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
13934 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
13935 (EXTRA_SPEC): New define.
13936 * config/s390/s390.h (TARGET_VERSION): Define depending on
13937 DEFAULT_TARGET_64BIT.
13938 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
13940 2002-02-06 Jason Merrill <jason@redhat.com>
13942 * c-decl.c (finish_function): Warn about a non-void function with
13943 no return statement and no abnormal exit.
13944 (current_function_returns_abnormally): New variable.
13945 (start_function): Clear it.
13946 (struct c_language_function): Add returns_abnormally.
13947 (push_c_function_context): Save it.
13948 (pop_c_function_context): Restore it.
13949 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
13950 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
13951 an explicit return type.
13952 * c-tree.h: Declare current_function_returns_abnormally.
13953 (C_FUNCTION_IMPLICIT_INT): New macro.
13954 * c-typeck.c (build_function_call): Set it.
13955 (c_expand_return): Set current_function_returns_value even if the
13956 value is erroneous.
13958 2002-02-06 Jakub Jelinek <jakub@redhat.com>
13961 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
13962 unsafe for reevaluation.
13964 2002-02-06 Jakub Jelinek <jakub@redhat.com>
13967 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
13968 EXPR_STMT, but COMPOUND_STMT, recurse into it.
13970 2002-02-06 Richard Henderson <rth@redhat.com>
13972 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
13973 be a general_operand. Dest for function value must be a pseudo.
13975 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
13977 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
13978 as SYMBOL_REFs from the constant pool.
13980 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
13982 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
13983 passed by invisible reference.
13985 2002-02-05 Richard Henderson <rth@redhat.com>
13987 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
13989 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
13991 Implement using "base addresses" in insn operands as default.
13992 * config/mmix/mmix.c (mmix_conditional_register_usage): if
13993 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
13994 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
13995 used to read the rtx value.
13996 (mmix_target_asm_function_epilogue): Fix spacing.
13997 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
13998 (mmix_legitimate_address): Ditto.
13999 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
14000 should be loaded with a GETA insn. Don't allocate needless extra
14001 char for nul termination and fix misleading comment.
14002 (mmix_print_operand_address): Handle constants if
14003 TARGET_BASE_ADDRESSES.
14004 (mmix_output_register_setting): Use base addressing if
14005 TARGET_BASE_ADDRESSES and the number of insns is 3.
14006 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
14007 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
14008 to use R as constraint, add LDA to match s.
14009 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
14010 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
14011 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
14012 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
14013 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
14014 order with other fixed registers.
14015 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
14016 other parameter/call-clobbered registers.
14017 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
14018 -mbase-addresses, -mno-base-addresses.
14019 (MMIX Options): Ditto.
14021 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
14023 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
14025 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
14027 * config/rs6000/altivec.h: Change elem to _S_elem.
14029 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
14031 * config/netbsd.h (WCHAR_TYPE): Define.
14032 (WCHAR_TYPE_SIZE): Ditto.
14033 (WINT_TYPE): Ditto.
14034 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
14035 (WCHAR_UNSIGNED): Ditto.
14036 (WCHAR_TYPE_SIZE): Ditto.
14037 (WINT_TYPE): Ditto.
14038 * config/arm/netbsd.h: Likewise.
14039 * config/i386/netbsd-elf.h: Likewise.
14040 * config/i386/netbsd.h: Likewise.
14041 * config/m68k/netbsd-elf.h: Likewise.
14042 * config/m68k/netbsd.h: Likewise.
14043 * config/ns32k/netbsd.h: Likewise.
14044 * config/sparc/netbsd.h: Likewise.
14045 * config/vax/netbsd.: Likewise.
14047 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
14049 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
14050 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
14051 (TARGET_INITIALIZER): this.
14052 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
14053 (BITFIELD_NBYTES_LIMITED): Markup fix.
14054 * tree.h (default_ms_bitfield_layout_p): Declare.
14055 (record_layout_info): Added prev_field.
14056 * tree.c (default_ms_bitfield_layout_p): New fn.
14057 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
14058 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
14059 * stor-layout.c: Include target.h.
14060 (start_record_layout): Initialize prev_field.
14061 (place_field): Handle MS bit-field layout, and disregard
14062 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
14063 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
14064 * Makefile.in (stor-layout.o): Adjust dependencies.
14066 2002-02-05 Jason Merrill <jason@redhat.com>
14068 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
14070 2002-02-05 Andreas Jaeger <aj@suse.de>
14072 * crtstuff.c: Fix comments.
14074 2002-02-05 Richard Henderson <rth@redhat.com>
14077 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
14078 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
14081 * config/mips/mips.c (function_arg): Handle TImode.
14082 (function_arg_advance): Likewise.
14084 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
14086 * config/rs6000/altivec.h (vec_step_help): Rename to
14089 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
14091 * config/rs6000/altivec.h: Fix typos.
14093 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
14095 * config/arm/netbsd.h: Correct a comment.
14097 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
14099 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
14100 building void typed builtins.
14102 * config/rs6000/altivec.h (vec_ld*): Fix typos.
14103 (vec_step): Implement for C++.
14105 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14107 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
14109 2002-02-04 Richard Henderson <rth@redhat.com>
14111 * combine.c (nonzero_bits): Re-introduce special case for
14112 sp/fp/ap wrt REGNO_POINTER_ALIGN.
14114 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
14116 * doc/extend.texi: Warn about unsupported usage of altivec
14119 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
14120 (altivec_predicate_*): New.
14122 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
14123 Add C++ version of vec_*() functions.
14125 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
14126 (bdesc_2arg): Remove altivec predicates.
14127 (altivec_expand_builtin): Handle predicates.
14128 (altivec_init_builtins): Handle predicates.
14129 (altivec_expand_predicate_builtin): New.
14131 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
14133 * pa.c (DO_FRAME_NOTES): Move forward.
14134 (store_reg): Revise handling of frame notes.
14135 (load_reg): Likewise.
14136 (set_reg_plus_d): Likewise.
14137 (hppa_expand_prologue): Likewise.
14138 (hppa_expand_epilogue): Likewise.
14140 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
14142 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
14144 2002-02-04 Jakub Jelinek <jakub@redhat.com>
14146 PR c/4475, c++/3780:
14147 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
14148 * c-common.h (SWITCH_TYPE): Define.
14149 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
14150 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
14151 Rename spareness variable to sparseness.
14152 (expand_end_case_type): Renamed from expand_end_case, use orig_type
14153 if non-NULL instead of TREE_TYPE (orig_index).
14154 * tree.h (expand_end_case_type): Renamed from expand_end_case.
14155 (expand_end_case): Define using expand_end_case_type.
14156 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
14157 to expand_end_case_type.
14158 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
14160 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
14162 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
14163 (BIGGEST_ALIGNMENT): Change to 128.
14165 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
14167 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
14169 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
14171 * pa.md (call_internal_reg_64bit): Remove unused variable.
14173 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
14175 * config/arm/arm.h (machine_function): Add uses_anonymous_args
14177 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
14178 * config/arm/arm.c (current_function_anonymous_args): Delete,
14179 replace uses with cfun->machine->uses_anonymous_args.
14180 (arm_reorg): Do not reset uses_anonymous_args.
14182 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
14183 any geenral register.
14185 2001-02-04 Bernd Schmidt <bernds@redhat.com>s
14187 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
14190 2002-02-04 Richard Henderson <rth@redhat.com>
14192 * combine.c (force_to_mode): Remove STACK_BIAS code.
14193 (nonzero_bits): Likewise. Replace sp/fp special case with
14194 REGNO_POINTER_ALIGN.
14196 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
14197 (HARD_FRAME_POINTER_REGNUM): New.
14198 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
14199 (FIXED_REGS, CALL_USED_REGS): Update.
14200 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
14201 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
14202 (HARD_REGNO_NREGS): Update for SFP.
14203 (STACK_POINTER_OFFSET): Include bias here ...
14204 (FIRST_PARM_OFFSET): ... not here.
14205 (STACK_BIAS): Remove.
14206 (INIT_EXPANDERS): New.
14207 (STARTING_FRAME_OFFSET): Do not include bias.
14208 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
14209 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
14210 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
14211 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
14212 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
14213 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
14214 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
14215 (MUST_SAVE_REGISTER): Likewise.
14216 (sparc_flat_function_prologue): Likewise.
14217 (sparc_flat_function_epilogue): Likewise.
14218 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
14219 (sparc_init_modes): SFP is GENERAL_REGS.
14220 (sparc_builtin_saveregs): SFP does not have bias applied.
14222 2002-02-04 Richard Henderson <rth@redhat.com>
14224 * config/alpha/alpha.c (current_function_is_thunk): Don't check
14225 current_function_is_thunk.
14226 (alpha_sa_mask): Distinguish between current_function_is_thunk
14227 called from ASM_OUTPUT_MI_THUNK and not.
14228 (alpha_does_function_need_gp): Thunks always need gp.
14229 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
14230 (alpha_output_mi_thunk_osf): New.
14231 * config/alpha/alpha-protos.h: Update.
14232 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
14234 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
14236 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
14237 function types, not when they're taken away.
14239 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
14241 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
14242 CODE_LABEL and jump table when replacing a table jump with a
14245 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14247 * config/s390/s390-protos.h (legitimize_la_operand,
14248 s390_secondary_input_reload_class, s390_plus_operand,
14249 s390_expand_plus_operand): Add prototypes.
14251 config/s390/s390.c (s390_secondary_input_reload_class,
14252 s390_plus_operand, s390_expand_plus_operand): New functions.
14254 (struct s390_address): New member 'pointer'.
14255 (s390_decompose_address): Compute it.
14256 (legitimate_la_operand_p): Use it.
14257 (legitimize_la_operand): New function.
14258 (movti, movdi, movdf splitters): Call it.
14260 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
14261 (PREDICATE_CODES): Add s390_plus_operand.
14263 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
14264 (la_ccclobber): Allow GENERAL_REGS as output operand.
14266 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
14267 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
14268 (*la_64, *la_31, reload_indi, reload_insi): ... these.
14270 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14272 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
14273 register names for regular asm () construct.
14275 2002-02-04 Jakub Jelinek <jakub@redhat.com>
14277 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
14280 2002-02-04 Jakub Jelinek <jakub@redhat.com>
14282 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
14285 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
14287 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
14288 constant pool to be identical by string address and index.
14290 2002-02-04 Anthony Green <green@redhat.com>
14292 * output.h (SECTION_OVERRIDE): Define.
14293 * varasm.c (named_section): Obey SECTION_OVERRIDE.
14295 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
14297 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
14298 by existing arm*-*-netbsd* (a.out) target.
14299 (ns32k-*-netbsdelf*): Likewise.
14300 (sparc-*-netbsdelf*): Likewise.
14301 (vax-*-netbsdelf*): Likewise.
14303 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
14305 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
14306 headers and libobjc headers.
14308 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
14310 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
14311 (_mingw.h): Remove duplicate include.
14313 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
14315 * config.gcc: Set cpu_type to m68k for 68010, as well.
14316 (m68010-*-netbsdelf*): New...
14317 (m68k*-*-netbsdelf*): ...targets.
14318 * config/m68k/netbsd-elf.h: New file.
14320 2002-02-02 Kazu Hirata <kazu@hxi.com>
14322 * config/h8300/h8300.c (hand_list): Move inside function_arg.
14324 2002-02-02 Kazu Hirata <kazu@hxi.com>
14326 * config/h8300/h8300.c (h8_push_ops): Move inside
14328 (h8_pop_ops): Likewise.
14329 (h8_move_ops): Likewise.
14331 2002-02-02 Kazu Hirata <kazu@hxi.com>
14333 * config/h8300/h8300.c (os_task): Make it static.
14334 (monitor): Likewise.
14335 (pragma_saveall): Likewise.
14337 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
14339 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
14340 constant is a valid sign-extension for Pmode.
14342 2002-02-02 Kazu Hirata <kazu@hxi.com>
14344 * config/h8300/h8300.c: Fix formatting.
14346 2002-02-02 Kazu Hirata <kazu@hxi.com>
14348 * config/h8300/h8300.md: Fix formatting.
14350 2002-02-02 Kazu Hirata <kazu@hxi.com>
14352 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
14353 predicates of operands[1]. Split the patterns for each
14356 2002-02-02 Kazu Hirata <kazu@hxi.com>
14358 * config/h8300/h8300.md (xor patterns): Tighten the predicates
14359 of operands[1] to register_operand.
14361 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
14363 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
14364 * cpphash.c (_cpp_init_hashtable): Similarly.
14365 * cppinit.c (cpp_create_reader): Default the signed_char flag.
14366 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
14367 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
14368 (cpp_handle_option): Handle the new options.
14369 * cpplex.c (cpp_interpret_charconst): Use new flag.
14370 * cpplib.h (struct cpp_options): New member signed_char.
14371 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
14372 (cpp_options): Handle -fsigned-char and -funsigned-char.
14373 (static_specs): Remove signed_char_spec.
14374 (do_spec1): Don't handle %c.
14375 * system.h: Poison SIGNED_CHAR_SPEC.
14376 * tradcif.y (yylex): Use flag_signed_char.
14377 * tradcpp.h (flag_signed_char): New.
14378 * tradcpp.c (flag_signed_char): New.
14379 (main): Handle new command-line options.
14380 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
14382 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
14383 * avr/avr.h: Remove old comments.
14384 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
14385 (CC1_SPEC): Pass -fsigned-char if -mic*.
14386 (SIGNED_CHAR_SPEC): Remove.
14388 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
14390 2002-02-01 Eric Christopher <echristo@redhat.com>
14392 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
14393 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
14394 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
14395 (ASM_OUTPUT_REG_POP): Ditto.
14397 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
14399 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
14402 2002-02-02 Jakub Jelinek <jakub@redhat.com>
14404 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
14406 2002-02-02 Jakub Jelinek <jakub@redhat.com>
14409 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
14412 2002-02-01 Janis Johnson <janis187@us.ibm.com>
14414 * cfganal.c: Include tm_p.h.
14415 (keep_with_call_p): Fix the test that determines if a register holds
14416 the return value of a call.
14418 2002-02-01 DJ Delorie <dj@redhat.com>
14420 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
14421 we are given conflicting registers, switch to the other one we
14422 had allocated for us.
14423 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
14424 as TImode so we know when the "other" register is available.
14426 2002-02-01 David O'Brien <obrien@FreeBSD.org>
14428 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
14431 2002-02-01 Janis Johnson <janis187@us.ibm.com>
14433 * cfganal.c (keep_with_call_p): New function.
14434 (flow_call_edges_add): Prevent splitting a block between a call and
14435 a single-set instruction that should be kept in the same block.
14437 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
14439 * doc/install.texi (avr): Update outdated URL.
14441 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
14443 * config/stormy16/stormy16.md (pushqi): New.
14447 (movhi): Remove stack operands.
14449 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
14450 nonimmediate_nonstack_operand.
14451 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
14453 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
14456 2002-01-31 Jason Merrill <jason@redhat.com>
14458 * Makefile.in (c-parse.c): Handle .output file.
14459 * objc/Make-lang.in (objc-parse.c): Likewise.
14461 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
14463 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
14464 the -me[lb] option is given. Don't output the default flag
14467 2002-01-31 Zack Weinberg <zack@codesourcery.com>
14469 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
14470 the primary source file; this has not been done yet.
14471 * c-decl.c (c_expand_body): Reset input_filename from
14472 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
14474 2002-01-31 Kazu Hirata <kazu@hxi.com>
14476 * rtlanal.c (subreg_regno_offset): Do not use
14477 SUBREG_REGNO_OFFSET.
14478 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
14479 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
14481 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
14483 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
14484 version rather than GNATS version in --version output.
14486 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
14488 * ifcvt.c (noce_process_if_block): Make a copy of the destination
14489 when copying back from a temporary.
14491 2002-01-30 Richard Henderson <rth@redhat.com>
14493 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
14494 and new_dest are the same.
14496 2002-01-30 Richard Henderson <rth@redhat.com>
14499 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
14500 * rtl.c (note_insn_name): Update.
14501 * emit-rtl.c (remove_unnecessary_notes): Kill it.
14502 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
14503 to perform loop rotation.
14504 (expand_exit_loop_top_cond): New.
14505 * tree.h (expand_exit_loop_top_cond): Declare it.
14506 * c-semantics.c (genrtl_while_stmt): Use it.
14507 (genrtl_for_stmt): Likewise.
14509 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
14511 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
14512 arguments to 64-bit boundaries on 64-bit ABIs.
14514 2002-01-30 Steve Ellcey <sje@cup.hp.com>
14516 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
14518 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
14520 * c-decl.c (grokdeclarator): Handle type being a typedef for an
14523 2002-01-30 David O'Brien <obrien@FreeBSD.org>
14525 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
14526 * config/sparc/sparc_bi.h: Remove file.
14527 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
14529 2002-01-30 Richard Henderson <rth@redhat.com>
14531 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
14533 2002-01-30 Zack Weinberg <zack@codesourcery.com>
14535 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
14537 2002-01-30 Jason Merrill <jason@redhat.com>
14539 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
14540 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
14541 (reg_save): Use DW_CFA_offset_extended_sf instead.
14543 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
14545 2002-01-29 Jakub Jelinek <jakub@redhat.com>
14547 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
14550 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
14552 * rs6000.md ("*call_value_local32"): Remove constraints.
14553 ("*call_value_local64"): Same.
14554 ("*call_value_indirect_nonlocal_aix32"): Same.
14555 ("*call_value_nonlocal_aix32"): Same.
14556 ("*call_value_indirect_nonlocal_aix64"): Same.
14557 ("*call_value_nonlocal_aix64"): Same.
14558 ("*call_value_nonlocal_sysv"): Same.
14560 2002-01-29 Richard Henderson <rth@redhat.com>
14562 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
14564 2002-01-29 Richard Henderson <rth@redhat.com>
14566 * expr.c (force_operand): Ignore flag_pic for detecting pic
14568 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
14569 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
14570 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
14571 instead of open-coded loop.
14572 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
14573 be fixed when in use.
14575 2002-01-29 Richard Henderson <rth@redhat.com>
14577 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
14578 * sched-rgn.c (propagate_deps): Update them.
14579 * sched-deps.c (sched_analyze_insn): Update them. Flush the
14580 clobbers list when either gets too long.
14582 2002-01-29 Jakub Jelinek <jakub@redhat.com>
14584 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
14585 and INDEX_REGS the same as GENERAL_REGS.
14586 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
14588 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
14590 * tree.c (build_nonstandard_integer_type): Correct prototype.
14592 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
14594 * config/s390/s390.md (movstrsico, movstrdix_64,
14595 movstrsix_31): Remove, replace by ...
14596 (movstrdi_short, movstrsi_short, movstrdi_long,
14597 movstrsi_long): ... these. New.
14598 (movstrdi, movstrsi): Adapt.
14600 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
14601 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
14602 Remove unnecessary CC clobber.
14603 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
14604 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
14606 (divmoddi4): Don't partially initialize TImode register.
14608 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
14610 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
14612 2002-01-29 Richard Henderson <rth@redhat.com>
14614 * flow.c (print_rtl_and_abort): Remove.
14615 (print_rtl_and_abort_fcn): Remove.
14616 (verify_local_live_at_start): Use dump_bb instead.
14617 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
14618 (verify_wide_reg_1): Return 2 on mode test failure.
14620 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
14622 PR c/3325, c/3326, c/2511, c/3347
14623 * c-decl.c (enum_decl_context): Remove BITFIELD.
14624 (grokdeclarator): Take bitfield width as an input.
14625 Ensure bitfields are given the correct type. Perform
14626 bitfield width validation with build_bitfield_integer_type
14627 rather than waiting for finish_struct.
14628 (grok_typename, grok_typename_in_parm_context, start_decl,
14629 push_parmdecl, grokfield, start_function): Update calls to
14631 (build_bitfield_integer_type): New function.
14632 (finish_struct): Move bitfield validation to grokdeclarator
14633 and build_bitfield_integer_type.
14634 * tree.c (build_nonstandard_integer_type): New function.
14635 * tree.h (build_nonstandard_integer_type): New prototype.
14637 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
14639 2002-01-29 Jakub Jelinek <jakub@redhat.com>
14642 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
14643 don't ignore unrecognized -W* options.
14644 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
14645 * cpplib.h (cpp_handle_option): Adjust prototype.
14646 * c-decl.c (c_decode_options): Pass 0 as last argument to
14650 * gcc.c (cpp_unique_options): Split from cpp_options.
14651 (cpp_options): Source cpp_unique_options.
14652 (default_compilers): Use cpp_unique_options instead of cpp_options
14653 when used together with cc1_options.
14654 (static_specs): Add cpp_unique_options.
14655 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
14656 when used together with cc1_options.
14658 2002-01-29 Kazu Hirata <kazu@hxi.com>
14660 * config/h8300/h8300-protos.h: Update the prototype of
14662 * config/h8300/h8300.c (output_a_shift): Remove an unused
14663 argument 'insn'. Remove redundant code.
14664 * config/h8300/h8300.md: Adust to the new prototype of
14667 2002-01-29 Kazu Hirata <kazu@hxi.com>
14669 * config/h8300/h8300-protos.h: Update the prototypes of
14670 emit_a_rotate and expand_a_rotate.
14671 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
14672 first argument to 'enum rtx_code'.
14673 (expand_a_rotate): Likewise.
14675 2002-01-28 Kazu Hirata <kazu@hxi.com>
14677 * config/h8300/h8300-protos.h: Update the prototype of
14679 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
14681 * config/h8300/h8300.md: Adjust to the new prototype.
14683 2002-01-28 Kazu Hirata <kazu@hxi.com>
14685 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
14688 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
14690 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
14691 is a fixed register before returning pic_offset_table_rtx.
14692 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
14693 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
14695 2002-01-28 Jason Merrill <jason@redhat.com>
14697 * dwarf2.h: Sync with src version.
14699 2002-01-28 Paul Koning <pkoning@equallogic.com>
14701 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
14702 BT_FN_VOID_PTR_VAR.
14703 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
14704 * doc/extend.texi (__builtin_prefetch): Update documentation:
14705 first argument is now const void ptr.
14707 2002-01-28 Kazu Hirata <kazu@hxi.com>
14709 * config/h8300/h8300-protos.h: Remove an unused prototype.
14711 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
14713 * toplev.c (lang_independent_init): Round up identifier size.
14715 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
14717 * config.gcc: Revert previous change.
14719 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
14721 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
14723 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
14725 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
14726 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
14727 other non-elf netbsd config frags.
14728 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
14729 collect2 will does that.
14730 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
14731 shared-lib frobbing will work.
14733 2002-01-28 Kazu Hirata <kazu@hxi.com>
14735 * config/h8300/h8300.h: Fix formatting.
14736 * config/h8300/h8300.md: Likewise.
14738 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
14740 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
14741 the old, removed AAA_standards fix.
14742 * fixinc/fixincl.x: Rebuilt.
14744 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
14746 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
14747 atexit call in crtbegin, hooked in after call to frame_dummy;
14748 register EH before registering __fini__start.
14750 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
14752 * config/rs6000/altivec.h: Remove spurious semicolons.
14754 2002-01-27 Kazu Hirata <kazu@hxi.com>
14756 * config/h8300/h8300.md: Replace dead bit extraction patterns
14757 with ones that work.
14759 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14761 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
14762 if not STRICT_ALIGNMENT.
14763 * rtl.h (MEM_ALIGN): Likewise.
14765 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
14767 * doc/invoke.texi (-fdump-translation-unit): Revert this
14768 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
14770 2002-01-27 Kazu Hirata <kazu@hxi.com>
14772 * config/h8300/h8300.md (define_constants): New.
14773 (anonymous patterns) Use defined constants appropriately.
14775 2002-01-27 Kazu Hirata <kazu@hxi.com>
14777 * config/h8300/h8300.c (function_arg): Remove redundant code.
14779 2002-01-26 Richard Henderson <rth@redhat.com>
14781 * sched-deps.c (reg_pending_uses_head): New.
14782 (reg_pending_barrier): Rename from reg_pending_sets_all.
14783 (find_insn_list): Don't mark inline.
14784 (find_insn_mem_list): Remove.
14785 (add_dependence_list, add_dependence_list_and_free): New.
14786 (flush_pending_lists): Replace only_write param with separate
14787 for_read and for_write parameters. Update all callers. Use
14788 add_dependence_list_and_free.
14789 (sched_analyze_1): Do not add reg dependencies here; just set
14790 the pending bits. Use add_dependence_list.
14791 (sched_analyze_2): Likewise.
14792 (sched_analyze_insn): Replace schedule_barrier_found with
14793 reg_pending_barrier. Add all dependencies for pending reg
14794 uses, sets, and clobbers.
14795 (sched_analyze): Don't add reg dependencies for calls, just
14796 set pending bits. Use regs_invalidated_by_call. Treat
14797 sched_before_next_call as a normal list, not a fake insn.
14798 (init_deps): No funny init for sched_before_next_call.
14799 (free_deps): Free pending mems lists. Don't zero reg_last.
14800 (init_deps_global): Init reg_pending_uses.
14801 (finish_deps_global): Free it.
14802 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
14803 (find_insn_mem_list): Remove.
14804 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
14805 (propagate_deps): Use them. Zero temp mem lists.
14807 2002-01-26 Richard Henderson <rth@redhat.com>
14809 * Makefile.in (CRTSTUFF_CFLAGS): New.
14810 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
14811 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
14812 crtstuff.c instead of alpha assembly version.
14813 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
14814 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
14815 not FORCE_{INIT,FINI}_SECTION_ALIGN.
14816 (__do_global_dtors_aux): Mark used.
14817 (frame_dummy, __do_global_ctors_aux): Mark used.
14818 (fini_dummy, init_dummy): Remove.
14820 * config/alpha/crtbegin.asm: Remove file.
14821 * config/alpha/crtend.asm: Remove file.
14822 * config/alpha/t-crtbe: Remove file.
14823 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
14824 (LINK_EH_SPEC): New.
14826 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
14827 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
14828 calling constructors.
14829 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
14831 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
14832 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
14833 CRT_END_INIT_DUMMY hack.
14834 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
14835 FORCE_{INIT,FINI}_SECTION_ALIGN.
14837 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
14838 FORCE_{INIT,FINI}_SECTION_ALIGN.
14840 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
14841 invocation sequence.
14842 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
14844 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
14845 (FORCE_CODE_SECTION_ALIGN): New.
14847 2002-01-26 Richard Henderson <rth@redhat.com>
14849 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
14851 2002-01-26 Richard Henderson <rth@redhat.com>
14853 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
14854 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
14856 2002-01-26 Kazu Hirata <kazu@hxi.com>
14858 * config/h8300/h8300.md: Remove bit extraction patterns that
14859 cannot be triggered.
14860 Restrict each bit extraction pattern to a variant on which the
14863 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
14865 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
14867 2002-01-26 Kazu Hirata <kazu@hxi.com>
14869 * config/h8300/h8300.md: Remove bit test patterns that cannot
14871 Restrict each bit test pattern to a variant on which the
14874 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14876 * builtins.c (expand_builtin_strncat): Remove redundant check for
14879 2002-01-25 David O'Brien <obrien@FreeBSD.org>
14881 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
14883 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
14886 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
14888 * dbxout.c (dbxout_init): Use assemble_name rather than just
14889 stripping off the first character.
14890 (dbxout_source_file): Likewise.
14892 2002-01-25 DJ Delorie <dj@redhat.com>
14894 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
14895 using rtx_equal_p, not by comparing pointers.
14897 2002-01-25 Steve Ellcey <sje@cup.hp.com>
14899 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
14900 for PIC_OFFSET_TABLE_REGNUM.
14901 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
14903 2002-01-25 David O'Brien <obrien@FreeBSD.org>
14905 * config.gcc (x86_64-*-freebsd*): New target.
14906 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
14908 (i[34567]86-*-freebsd*): Don't include svr4.h.
14909 * config/i386/freebsd64.h: New file.
14911 2002-01-25 Douglas B Rupp <rupp@gnat.com>
14913 * config/alpha/x-vms (version): Make static.
14915 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
14916 in previous checkin.
14918 * Makefile.in (install-headers-cp): New target.
14919 * config.gcc (alpha-dec-*vms*): Install headers with
14922 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
14924 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
14927 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14929 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
14930 of compare_tree_int.
14931 (expand_builtin_strncat): Likewise.
14932 * c-decl.c (finish_struct): Use tree_low_cst.
14933 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
14934 * tree.c (compare_tree_int): Likewise.
14936 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
14938 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
14939 adjustments even if they are implemented by more than two insns.
14941 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
14943 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
14944 * df.h (struct ref): Kill B.
14945 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
14947 * basic-block.h (PROP_EQUAL_NOTES): New flag.
14948 * flow.c (propagate_one_insn): Use it.
14949 (mark_used_regs): Handle NIL.
14951 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
14953 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
14956 2002-01-25 David Edelsohn <edelsohn@gnu.org>
14958 * rs6000.md (prefetch): Make address V4SI mode so that the address
14959 is restricted to legitimate form for instruction.
14961 2002-01-25 Bob Wilson <bob.wilson@acm.org>
14963 * doc/install.texi (xtensa-*-elf): New target.
14964 (xtensa-*-linux*): New target.
14965 * doc/contrib.texi: Add myself.
14967 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
14969 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
14970 purpose register to hold an SImode (or smaller) value.
14972 2002-01-25 Jakub Jelinek <jakub@redhat.com>
14974 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
14976 * crtstuff.c: Likewise.
14978 2002-01-25 Kazu Hirata <kazu@hxi.com>
14980 * config/h8300/h8300.md (negation patterns): Tighten
14981 predicates to register_operand.
14983 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
14985 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
14988 * builtins.c (expand_builtin_prefetch): Same.
14990 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
14992 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
14995 2002-01-24 Kazu Hirata <kazu@hxi.com>
14997 * config/h8300/h8300.c (print_operand): Remove support for
14998 operand character 'A'.
14999 * config/h8300/h8300.md (three anonymous patterns): Replace
15000 operand character 'A' with either 'T' or 'S'.
15002 2002-01-24 Kazu Hirata <kazu@hxi.com>
15004 * config/h8300/h8300.c (print_operand): Remove support for
15005 operand character 'U'.
15007 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
15009 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
15011 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
15013 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
15014 values to be assigned to the stack pointer.
15016 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
15018 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
15019 to const_double needs to be done right for big-endian systems.
15021 2002-01-24 Jason Merrill <jason@redhat.com>
15024 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
15025 to can_throw_internal.
15027 2002-01-23 Richard Henderson <rth@redhat.com>
15029 * fold-const.c (fold): Change UINT_MAX test to check vs precision
15030 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
15032 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
15034 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
15035 (symGOT2reg): Use them, then set as GOT value as unchanging.
15036 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
15037 as a temporary, if possible.
15038 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
15039 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
15041 2002-01-23 Kazu Hirata <kazu@hxi.com>
15043 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
15044 accept to accept 0x80 as operands[2].
15046 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
15048 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
15050 2002-01-23 Richard Henderson <rth@redhat.com>
15052 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
15054 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
15056 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
15057 (parmlist_or_identifiers_1): Verify that only a parmlist follows
15060 2002-01-23 Richard Henderson <rth@redhat.com>
15062 * expr.c (move_by_pieces_1): Extend size before negation.
15064 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
15065 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
15066 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
15067 * config/m68k/t-m68kelf: Likewise.
15069 2002-01-23 Bob Wilson <bob.wilson@acm.org>
15071 * config/xtensa/elf.h: New file.
15072 * config/xtensa/lib1funcs.asm: New file.
15073 * config/xtensa/lib2funcs.S: New file.
15074 * config/xtensa/linux.h: New file.
15075 * config/xtensa/t-xtensa: New file.
15076 * config/xtensa/xtensa-config.h: New file.
15077 * config/xtensa/xtensa-protos.h: New file.
15078 * config/xtensa/xtensa.c: New file.
15079 * config/xtensa/xtensa.h: New file.
15080 * config/xtensa/xtensa.md: New file.
15081 * config.gcc (xtensa-*-elf*): New target.
15082 (xtensa-*-linux*): New target.
15083 * cse.c (canon_hash): Compare rtx pointers instead of register
15084 numbers. This is required for the Xtensa port.
15085 * integrate.c (copy_insn_list): Handle case where the static
15086 chain is in memory and the memory address has to be copied to
15088 * doc/invoke.texi (Option Summary): Add Xtensa options.
15089 (Xtensa Options): New node.
15090 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
15092 2002-01-23 Zack Weinberg <zack@codesourcery.com>
15094 * diagnostic.c (internal_error): Do ICE suppression only
15095 when ENABLE_CHECKING is not defined.
15097 * c-typeck.c (require_complete_type): Return error_mark_node
15098 if type is error_mark_node.
15100 2002-01-23 Janis Johnson <janis187@us.ibm.com>
15102 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
15103 -Os and issue a warning.
15105 2002-01-23 Zack Weinberg <zack@codesourcery.com>
15107 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
15108 current (lack of) need for host configuration by hand.
15110 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
15111 references. Documentation of some target macros moved from
15112 hostconfig.texi to tm.texi.
15114 2002-01-23 Will Cohen <wcohen@redhat.com>
15116 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
15119 2002-01-23 Kazu Hirata <kazu@hxi.com>
15121 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
15124 2002-01-23 Jason Merrill <jason@redhat.com>
15126 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
15128 * function.c (assign_parms): Don't put args of inline functions
15129 into registers when not optimizing.
15131 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
15133 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
15134 (prologue_use): New pattern.
15135 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
15136 preference to gen_rtx_USE.
15137 (thumb_expand_prologue): Use gen_prologue_use in preference to
15139 (thumb_expand_epilogue): Use gen_prologue_use in preference to
15142 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
15144 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
15146 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
15149 * doc/extend.texi: Correct documentation of __alignof__.
15151 2002-01-22 Zack Weinberg <zack@codesourcery.com>
15153 * params.h: Rename arguments of DEFPARAM so that it will be
15154 recognized as a translation keyword.
15156 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
15158 * extend.texi: Document altivec functions.
15159 Fix N-bit adjectives in X86 builtin documentation.
15161 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
15163 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
15164 auto_inc_dec values.
15166 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
15168 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
15170 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
15172 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
15174 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
15176 2002-01-22 Richard Henderson <rth@redhat.com>
15178 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
15179 copy_insn not copy_rtx.
15181 2002-01-23 Alan Modra <amodra@bigpond.net.au>
15183 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
15184 "nonzero" as that might add "1" bits. Ensure "constop" is
15185 properly sign extened.
15186 (force_to_mode): Tweak for sign extended constop.
15188 2002-01-22 Richard Henderson <rth@redhat.com>
15190 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
15191 for_each_rtx instead of assuming we're already looking at the MEM.
15192 (split_small_symbolic_mem_operand): Likewise.
15193 * config/alpha/alpha.h (PREDICATE_CODES): Update.
15194 * config/alpha/alpha.md (small symbolic memory splitters): Update.
15196 2002-01-22 Richard Henderson <rth@redhat.com>
15198 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
15199 sequence number for the literal.
15200 (divmoddi_internal_er): Likewise.
15202 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
15205 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
15206 in LIBICONV variable.
15207 * configure: Regenerated.
15209 2002-01-22 Krister Walfridsson <cato@df.lth.se>
15211 * dependence.c (build_def_use): Remove array_idx.
15213 * dwarfout.c (last_filename): Remove.
15214 (output_compile_unit_die): Remove last_filename.
15216 2002-01-22 Roger Sayle <roger@eyesopen.com>
15217 Richard Henderson <rth@redhat.com>
15220 * fold-const.c (fold): Optimize unsigned comparisons against
15221 UINT_MAX (and similar unsigned constants).
15223 2002-01-22 Janis Johnson <janis187@us.ibm.com>
15225 * Makefile.in (loop.o): Depend on OPTABS_H.
15226 * loop.c (emit_prefetch_instructions): Check the prefetch operand
15227 against the predicate.
15230 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
15231 for the address operand.
15233 2002-01-22 Richard Henderson <rth@redhat.com>
15235 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
15237 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
15240 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
15241 preprocessor flags.
15243 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
15245 * config.gcc (x86_64-*-netbsd*): New target.
15246 * config/i386/netbsd64.h: New file.
15248 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
15250 * regrename.c (kill_value): Fix typo.
15252 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
15254 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
15256 * config/rs6000/rs6000.h: Same.
15258 * function.c (instantiate_virtual_regs): Remove
15259 STARTING_FRAME_PHASE.
15260 (assign_stack_local_1): Same.
15261 Calculate frame phase.
15263 2002-01-22 Nick Clifton <nickc@redhat.com>
15265 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
15266 variable declaration to outer scope in order to simplify
15268 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
15269 arm_hard_regno_mode_ok.
15270 * config/arm/arm-protos.h: Add a prototype for
15271 arm_hard_regno_mode_ok.
15272 * config/arm/arm.c (soft_df_operand): Remove now redundant
15273 check for DImode values using IP_REGNUM.
15274 (nonimmediate_soft_df_operand): Remove now redundant check for
15275 DImode values using IP_REGNUM.
15276 (arm_hard_regno_mode_ok): New function. New check: make sure
15277 that DImode values are not stored in IP_REGNUM.
15279 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
15281 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
15283 2002-01-22 Jason Merrill <jason@redhat.com>
15285 * c-semantics.c (genrtl_compound_stmt): Only check nesting
15286 consistency if this COMPOUND_STMT is scoped.
15288 2002-01-22 Kazu Hirata <kazu@hxi.com>
15290 * predict.c: Fix formatting.
15291 * print-tree.c: Likewise.
15292 * protoize.c: Likewise.
15293 * real.h: Likewise.
15295 * sbitmap.h: Likewise.
15296 * scan.c: Likewise.
15297 * sched-deps.c: Likewise.
15298 * sched-vis.c: Likewise.
15299 * sdbout.c: Likewise.
15300 * sibcall.c: Likewise.
15302 * ssa-ccp.c: Likewise.
15303 * ssa-dce.c: Likewise.
15304 * stmt.c: Likewise.
15305 * stor-layout.c: Likewise.
15306 * system.h: Likewise.
15308 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15310 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
15311 if fits in bounds of base type.
15313 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
15314 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
15315 (add_bound_info, default): If can't find a context, make a
15317 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
15319 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
15321 * c-typeck.c (parser_build_binary_op): If result from
15322 build_binary_op is ERROR_MARK just return error_mark_node without
15323 further processing.
15325 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
15327 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
15328 Split a.out-specific bits into...
15329 * config/netbsd-aout.h: ...this.
15330 * config/netbsd-elf.h: New file.
15331 * config/alpha/netbsd-elf.h: Remove.
15332 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
15333 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
15334 (STARTFILE_SPEC): Remove redundant definition.
15335 (ENDFILE_SPEC): Likewise.
15336 (LINK_SPEC): Likewise.
15337 (CPP_SPEC): Likewise.
15338 (ASM_SPEC): Likewise.
15339 (LIB_SPEC): Likewise.
15340 (SWITCH_TAKES_ARG): Likewise.
15341 (TARGET_MEM_FUNCTIONS): Likewise.
15342 (CPP_PREDEFINES): Redefine.
15343 (ASM_FINAL_SPEC): Remove redefinition.
15344 (ASM_COMMENT_START): Redefine.
15345 (FUNCTION_PROFILER): Define.
15346 (TARGET_VERSION): Redefine.
15347 Comment and formatting cleanup.
15348 * config/i386/netbsd.h: Include <netbsd-aout.h>.
15349 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
15350 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
15351 big- or little-endian.
15352 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
15353 * config.gcc (*-*-netbsd*): Add definitions common to all
15355 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
15356 gnu_ld definitions. Add netbsd-elf.h to and remove
15357 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
15358 tmake_file, and don't lose previous tmake_file contents.
15359 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
15360 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
15361 gnu_ld definitions. Add netbsd-elf.h to tm_file.
15362 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
15363 (mipsel-*-netbsd*): Rename this to...
15364 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
15365 mips/little.h to tm_file for mips*el-*.
15366 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
15367 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
15368 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
15370 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
15372 * pa-protos.h (reg_before_reload_operand): New function prototype.
15373 * pa.c (reg_before_reload_operand): New function implementation.
15374 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
15375 contraints to "*m".
15377 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15379 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
15381 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
15383 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
15384 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
15385 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
15386 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
15387 (ENDFILE_SPEC): Undefine.
15388 (STARTFILE_SPEC): Redefine for PA.
15390 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15392 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
15394 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
15396 * config.gcc: Add entries to supported PowerPC --with-cpu
15399 2002-01-21 Jakub Jelinek <jakub@redhat.com>
15401 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
15402 true for 64-bit mode only SSE registers in 32-bit mode.
15404 2002-01-21 Kazu Hirata <kazu@hxi.com>
15406 * unwind-dw2.c: Fix formatting.
15407 * unwind-dw2-fde.c: Likewise.
15408 * unwind-dw2-fde.h: Likewise.
15409 * unwind-pe.h: Likewise.
15410 * varasm.c: Likewise.
15411 * varray.h: Likewise.
15413 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
15415 Remove workaround for register stack overwrite bug in mmix.
15416 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
15417 support for TARGET_REG_STACK_FILL_BUG.
15418 * config/mmix/mmix.h: Remove member has_call_without_parameters.
15419 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
15421 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
15422 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
15423 -mno-reg-stack-fill-bug-workaround.
15424 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
15425 machine member has_call_without_parameters.
15426 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
15427 -mreg-stack-fill-bug-workaround and
15428 -mno-reg-stack-fill-bug-workaround.
15429 (MMIX Options): Ditto.
15431 2002-01-21 Kazu Hirata <kazu@hxi.com>
15433 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
15435 Remove redundant code.
15437 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
15439 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
15440 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
15441 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
15442 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
15443 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
15444 out target macro definitions and non-target-specific comments
15445 mostly taken from old versions of the manual.
15447 2002-01-20 Kazu Hirata <kazu@hxi.com>
15449 * config/h8300/h8300.h: Fix comment formatting.
15450 * config/ia64/aix.h: Likewise.
15451 * config/ia64/ia64-protos.h: Likewise.
15452 * config/ia64/ia64.c: Likewise.
15453 * config/ia64/ia64.h: Likewise.
15454 * config/ia64/ia64intrin.h: Likewise.
15455 * config/ia64/linux.h: Likewise.
15456 * config/ia64/unwind-aix.c: Likewise.
15457 * config/ia64/unwind-ia64.c: Likewise.
15459 2002-01-20 Kazu Hirata <kazu@hxi.com>
15461 * config/h8300/h8300.c: Revise comments about shift code.
15463 2002-01-20 Kazu Hirata <kazu@hxi.com>
15465 * config/h8300/h8300.c (function_arg): Update a comment.
15467 2002-01-20 Kazu Hirata <kazu@hxi.com>
15469 * config/h8300/h8300.md: Update the comments at the beginning
15472 2002-01-20 Kazu Hirata <kazu@hxi.com>
15474 * config/i370/i370.c: Fix comment formatting.
15475 * config/i370/i370.h: Likewise.
15476 * config/i370/i370.md: Likewise.
15477 * config/i370/linux.h: Likewise.
15479 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15481 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
15483 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
15484 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
15485 in incomplete case.
15487 2002-01-20 Graham Stott <grahams@redhat.com>
15489 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
15491 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
15493 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
15495 2002-01-19 Tom Rix <trix@redhat.com>
15497 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
15499 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
15501 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
15503 * function.c (assign_stack_local_1): Adjust x_frame_offset with
15504 STARTING_FRAME_PHASE.
15505 (STARTING_FRAME_PHASE): New.
15506 (instantiate_virtual_regs): Check saneness of
15507 STARTING_FRAME_PHASE.
15509 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
15511 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
15513 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
15515 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
15517 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
15518 be used for bootstrapping GCC 3.0.
15520 2002-01-18 Kazu Hirata <kazu@hxi.com>
15522 * config/h8300/h8300.md: Fix an insn length.
15524 2002-01-18 Kazu Hirata <kazu@hxi.com>
15526 * bitmap.h: Fix comment formatting.
15527 * combine.c: Likewise.
15528 * cppfiles.c: Likewise.
15529 * c-pragma.h: Likewise.
15530 * c-typeck.c: Likewise.
15532 * dwarf2out.c: Likewise.
15533 * function.c: Likewise.
15535 * genattrtab.c: Likewise.
15536 * gthr-win32.h: Likewise.
15537 * haifa-sched.c: Likewise.
15538 * predict.c: Likewise.
15539 * rtlanal.c: Likewise.
15541 * unwind-dw2-fde.h: Likewise.
15542 * unwind-pe.h: Likewise.
15543 * vmsdbgout.c: Likewise.
15545 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15547 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
15548 if type_required and passed decl.
15550 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
15552 * config.gcc (cpu_type): Include altivec.h in powerpc
15556 * config/rs6000/altivec.h: New.
15558 2002-01-17 David Edelsohn <edelsohn@gnu.org>
15560 * doc/install.texi (*-ibm-aix*): Update assembler and exception
15561 handling information.
15562 * doc/trouble.texi (Interoperation): Add libstdc++ information
15564 (Misunderstandings): Add template instantiation and static template
15565 member information for AIX.
15567 2002-01-17 Jason Merrill <jason@redhat.com>
15569 * dbxout.c (dbxout_type): Support const and volatile.
15571 * except.c (add_partial_entry): Remove backwards compatibility code.
15572 (end_protect_partials): Likewise.
15574 2002-01-17 Jakub Jelinek <jakub@redhat.com>
15576 * config/ia64/ia64.md (prologue_use): New.
15577 * config/ia64/ia64.c (ia64_expand_prologue): Use
15578 gen_prologue_use instead of gen_rtx_USE.
15579 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
15580 as CODE_FOR_pred_rel_mutex.
15581 (ia64_sched_reorder2): Likewise.
15583 2002-01-16 Eric Christopher <echristo@redhat.com>
15585 * config/mips/r3900.h: Reformat.
15586 (SUBTARGET_CPP_SIZE_SPEC): Remove.
15587 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
15588 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
15589 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
15590 * config/mips/t-elf: Remove mips3 multilib.
15592 2002-01-16 H.J. Lu <hjl@gnu.org>
15594 * config/mips/linux.h: Include "mips/abi64.h".
15596 2002-01-16 H.J. Lu <hjl@gnu.org>
15598 * config/mips/t-linux: New.
15600 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
15602 * config/mips/linux.h: Don't include "gofast.h".
15603 (INIT_SUBTARGET_OPTABS): Removed.
15605 2002-01-16 Kazu Hirata <kazu@hxi.com>
15607 * config/h8300/h8300-protos.h: Replace emit_a_shift with
15609 * config/h8300/h8300.c: Likewise.
15610 * config/h8300/h8300.md: Likewise.
15612 2002-01-16 Kazu Hirata <kazu@hxi.com>
15614 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
15615 spaces after an opcode name.
15616 (pushqi1_h8300hs): Likewise.
15617 (pushhi1_h8300hs): Likewise.
15619 2002-01-16 Kazu Hirata <kazu@hxi.com>
15621 * doc/extend.texi: Replace "option" with "attribute"
15624 2002-01-16 Jakub Jelinek <jakub@redhat.com>
15626 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
15627 (and:DI () (const_int -8)).
15628 (split_small_symbolic_mem_operand): Split
15629 (mem (and:DI () (const_int -8)).
15631 2002-01-16 Jakub Jelinek <jakub@redhat.com>
15634 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
15635 same way as TYPE_IMUL.
15636 (ultrasparc_sched_reorder): Likewise.
15637 * config/sparc/sparc.md (type): Add comment to update
15638 ultrasparc_sched_reorder when making changes.
15640 2002-01-16 Kazu Hirata <kazu@hxi.com>
15642 * doc/invoke.texi: Change the dump file name of block
15643 reordering pass from 28.bbro to 29.bbro.
15644 Mention -dk option.
15646 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
15648 * i386.md (minsf splitter): Fix pasto.
15650 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
15652 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
15653 to frame pointer initialisation instruction.
15654 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
15655 initialisation instruction.
15656 (soft_df_operand): Do not accept the IP register.
15657 (nonimmediate_soft_df_operand): Do not accept the IP register.
15659 2002-01-16 Jakub Jelinek <jakub@redhat.com>
15662 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
15663 MASK_V8 being both set.
15665 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
15667 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
15668 insn for GOT register; add REG_MAYBE_DEAD notes instead.
15669 config/s390/s390.md (call, call_value): Add GOT register to
15670 CALL_INSN_FUNCTION_USAGE where needed.
15671 (call_exp, call_value_exp): New.
15673 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
15675 * config/arm/arm.c: General formatting tidy up.
15677 2002-01-16 Graham Stott <grahams@redhat.com>
15679 * calls.c (try_to_integrate): Use "(size_t)" intermediate
15680 cast and when casting an integer literal to "rtx" pointer.
15681 (expand_call): Likewise.
15682 * flow.c (try_pre_increment): Likewise.
15683 (find_use_as_address): Likewise.
15684 * integrate.c (expand_iline_function): Likewise.
15685 * regmove.c (try_auto_increment): Likewise.
15687 2002-01-16 Graham Stott <grahams@redhat.com>
15689 * sched-rgn.c (passed): Use sbitmap_free.
15690 (header): Likewise.
15692 (in_queue): Likewise.
15693 (in_stack): Likewise.
15695 2002-01-15 Eric Christopher <echristo@redhat.com>
15697 * flow.c (propagate_one_insn): Change to use fatal_insn.
15699 2002-01-15 Kazu Hirata <kazu@hxi.com>
15701 * expmed.c (extract_fixed_bit_field): Remove unused code.
15702 * system.h: Poison SLOW_ZERO_EXTEND.
15703 * doc/tm.texi: Remove.
15704 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
15705 * config/arm/arm.h: Likewise.
15706 * config/avr/avr.h: Likewise.
15707 * config/clipper/clipper.h: Likewise.
15708 * config/convex/convex.h: Likewise.
15709 * config/d30v/d30v.h: Likewise.
15710 * config/dsp16xx/dsp16xx.h: Likewise.
15711 * config/elxsi/elxsi.h: Likewise.
15712 * config/fr30/fr30.h: Likewise.
15713 * config/h8300/h8300.h: Likewise.
15714 * config/i370/i370.h: Likewise.
15715 * config/i386/i386.h: Likewise.
15716 * config/m68k/m68k.h: Likewise.
15717 * config/mips/mips.h: Likewise.
15718 * config/ns32k/ns32k.h: Likewise.
15719 * config/pdp11/pdp11.h: Likewise.
15720 * config/pj/pj.h: Likewise.
15721 * config/s390/s390.h: Likewise.
15722 * config/sh/sh.h: Likewise.
15723 * config/stormy16/stormy16.h: Likewise.
15724 * config/v850/v850.h: Likewise.
15725 * config/vax/vax.h: Likewise.
15726 * config/we32k/we32k.h: Likewise.
15728 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
15730 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
15731 (altivec_lvsl): Change constraint to b.
15732 (altivec_lvsr): Same.
15733 (altivec_lvebx): Same.
15734 (altivec_lvehx): Same.
15735 (altivec_lvewx): Same.
15736 (altivec_lvxl): Same.
15737 (altivec_lvx): Same.
15738 (altivec_stvx): Add parallel.
15739 (altivec_stvxl): Same.
15740 (altivec_stvehx): Same.
15741 (altivec_stvebx): Same.
15742 (altivec_stvebx): Same.
15744 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
15746 * config.gcc: Change altivec.h to altivec-defs.h.
15748 * config/rs6000/altivec.h: Delete.
15750 * config/rs6000/altivec-defs.h: Add.
15752 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
15754 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
15757 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
15758 less than or equal to eight bytes.
15760 * vax.md (andsi3): Remove constraints and change SET destination
15761 operand type to nonimmediate_operand.
15762 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
15763 when it is a CONST_INT.
15765 2002-01-15 Jason Merrill <jason@redhat.com>
15767 * c-common.def (FILE_STMT): New code.
15768 * c-common.c (statement_code_p): It's a statement.
15769 * c-common.h (stmt_tree_s): Add x_last_filename.
15770 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
15771 (last_expr_filename): New macro.
15772 * c-semantics.c (begin_stmt_tree): Initialize it.
15773 (add_stmt): If the filename changed, also insert a
15775 (expand_stmt): Handle seeing one.
15777 2002-01-15 Eric Christopher <echristo@redhat.com>
15779 * flow.c (propagate_one_insn): Add error message and print out
15780 insn for debugging.
15782 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
15784 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
15785 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
15786 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
15787 TRAMPOLINE_ALIGNMENT.
15788 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
15790 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
15791 PCC_BITFIELD_TYPE_MATTERS.
15792 * config/interix.h (STDC_VALUE): Remove. Use
15793 STDC_0_IN_SYSTEM_HEADERS.
15794 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
15795 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
15796 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
15798 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
15800 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
15801 not work on this platform currently.
15803 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
15805 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
15806 readonly_warning in _().
15808 2002-01-15 Douglas B Rupp <rupp@gnat.com>
15810 * gcc.c (delete_if_ordinary): Backout previous change.
15812 2002-01-15 Kazu Hirata <kazu@hxi.com>
15814 * config/h8300/h8300.c (print_operand): Remove support for
15815 unused operand characters.
15817 * read-rtl.c: Fix formatting.
15818 * real.c: Likewise.
15819 * recog.c: Likewise.
15820 * regclass.c: Likewise.
15821 * regmove.c: Likewise.
15822 * reg-stack.c: Likewise.
15823 * reload1.c: Likewise.
15824 * rtlanal.c: Likewise.
15826 2002-01-15 Kazu Hirata <kazu@hxi.com>
15828 * config/i386/i386.c: Fix formatting.
15830 2002-01-15 Jakub Jelinek <jakub@redhat.com>
15832 * c-typeck.c (process_init_element): Don't save_expr
15833 COMPOUND_LITERAL_EXPR if just its initializer will be used.
15835 2002-01-15 David Edelsohn <edelsohn@gnu.org>
15837 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
15838 emit optional traceback table if optimize_size or TARGET_ELF.
15839 * config/rs6000/rs6000.md (prefetch): New.
15841 2002-01-15 Andreas Jaeger <aj@suse.de>
15843 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
15845 2002-01-15 Kazu Hirata <kazu@hxi.com>
15847 * mips-tfile.c: Fix formatting.
15849 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
15851 * unroll.c (final_reg_note_copy): Fix previous commit.
15853 2002-01-14 Kazu Hirata <kazu@hxi.com>
15855 * config/h8300/h8300-protos.h: Remove the prototype for
15857 * config/h8300/h8300.c (eq_operator): Remove.
15859 2002-01-14 Richard Henderson <rth@redhat.com>
15861 * config/i386/i386.md (prefetch): Tidy.
15862 (prefetch_3dnow): Fix locality operand.
15864 2002-01-14 Richard Henderson <rth@redhat.com>
15866 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
15867 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
15869 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
15871 * reload1.c (reload_combine): Pass reg_sum replacement through
15872 copy_rtx in loop performing multiple changes.
15874 2002-01-14 Jakub Jelinek <jakub@redhat.com>
15876 * except.c (remove_unreachable_regions): New.
15877 (free_eh_status): Clear exception_handler_labels.
15878 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
15879 (find_exception_handler_labels): Don't add the same label more than
15881 (remove_exception_handler_label): Don't die if
15882 find_exception_handler_labels hasn't been called for the current
15885 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
15887 * toplev.c (rest_of_compilation): Rebuild jump labels after
15890 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
15892 * doc/extend.texi: Move documentation of X86 built-in functions
15894 * doc/invoke.texi: From here.
15895 * doc/sourcebuild.texi: Document location of documentation for
15896 machine built-in functions.
15898 2002-01-13 Christopher Faylor <cgf@redhat.com>
15900 * cppfiles.c (TEST_THRESHOLD): New macro.
15901 (SHOULD_MMAP): Ditto.
15902 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
15905 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
15907 * unroll.c (final_reg_note_copy): Properly handle
15909 (unroll_loops): Fix LOOP_CONDITION heuristics.
15911 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
15913 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
15914 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
15916 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
15918 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
15921 2002-01-14 Tom Rix <trix@redhat.com>
15923 * config/rs6000/rs6000.md: Fix typo with sradi.
15925 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
15927 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
15928 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
15929 (clrstrdi, clrstrsi): Adapt callers.
15931 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
15933 (movti splitter): Never use register 0 as base register.
15935 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
15937 * combine.c (simplify_shift_const): Always generate new rtx
15938 for shift expression instead of reusing given expression.
15940 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15942 * config/alpha/alpha.c (alpha_expand_mov): Don't call
15943 alpha_legitimize_address unless mode is Pmode.
15945 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
15947 * doc/md.texi (Modifiers): Document the '*' constraint for the
15950 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
15951 * doc/extend.texi (Function Attributes): 'interrupt' is valid
15954 2002-01-13 Richard Henderson <rth@redhat.com>
15956 * reload.c (find_reloads): Use a hard reg destination as reload reg
15957 for an input reload of the source.
15959 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15961 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
15964 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
15966 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
15967 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
15969 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
15971 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15973 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
15975 2002-01-12 Tom Rix <trix@redhat.com>
15977 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
15980 2002-01-12 Richard Henderson <rth@redhat.com>
15982 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
15984 * doc/invoke.texi: Update Alpha options.
15986 * doc/invoke.texi: Update i386 built-in function lists.
15988 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
15990 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
15991 referencing outside.
15993 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15995 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
15996 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
15997 offsets, and change line folding.
15998 * optabs.c (expand_binop): Remove warnings.
15999 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
16001 2002-01-12 Graham Stott <grahams@redhat.com>
16003 * attribs.c (handle_deprecated_attribute): constify WHAT.
16004 * diagnostic.c (warn_deprecated_use): Add braces, fixes
16005 dangling else warning and constify WHAT.
16006 * except.h (struct function, struct inline_remap): Move
16007 struct tag forward defs before all prototypes.
16008 (duplicate_eh_regions): Whitespace.
16010 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
16012 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
16013 MODE_BASE_REG_CLASS.
16014 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
16016 2002-01-12 Richard Henderson <rth@redhat.com>
16018 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
16019 (ix86_expand_vector_move): New.
16020 (bdesc_2arg): Remove andps, andnps, orps, xorps.
16021 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
16022 Remove old prefetch builtins. Special case the logicals removed above.
16023 (ix86_expand_builtin): Likewise.
16024 (safe_vector_operand): Use V4SFmode, not TImode.
16025 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
16026 (ix86_expand_timode_binop_builtin): New.
16027 * config/i386/i386-protos.h: Update.
16028 * config/i386/i386.h (enum ix86_builtins): Update.
16029 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
16030 Use ix86_expand_vector_move in vector move expanders.
16031 (movti_internal, movti_rex64): Add xorps alternative.
16032 (sse_clrv4sf): Rename and adjust from sse_clrti.
16033 (prefetch): Don't work so hard.
16034 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
16035 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
16036 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
16038 2002-01-11 Richard Henderson <rth@redhat.com>
16040 * config/i386/mmintrin.h: New file.
16041 * config/i386/xmmintrin.h: New file.
16042 * config.gcc (i?86-*-*): Add extra_headers.
16043 * simplify-rtx.c (simplify_unary_operation): Handle saturating
16045 (simplify_binary_operation): Handle saturating arithmetic codes.
16046 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
16047 not the lowpart subreg.
16048 (ix86_expand_builtin): Return a TImode dummy register instead of 0
16050 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
16052 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16054 * conflict.c (conflict_graph_compute): Free regsets when finished.
16055 * ssa.c (compute_coalesced_reg_partition): Likewise.
16057 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16059 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
16060 every where we allocate a register.
16062 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16064 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
16065 * lcm.c (compute_earliest, compute_farthest): Likewise.
16067 2002-01-11 Janis Johnson <janis187@us.ibm.com>
16069 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
16071 2002-01-11 Janis Johnson <janis187@us.ibm.com>
16073 * doc/rtl.texi (Insns): Fix 2 typos.
16075 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
16077 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
16078 options. Use @table @gcctabopt for MMIX options. Add index
16079 entries for MMIX options. Start new paragraph with first
16080 heading of the machine-dependent options.
16082 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
16085 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
16086 * combine.c (force_to_mode): Same.
16087 * reload1.c (clear_reload_reg_in_use): Same.
16089 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
16091 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
16094 2002-01-11 Andreas Jaeger <aj@suse.de>,
16095 Brad Lucier <lucier@math.purdue.edu>
16097 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
16100 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
16102 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
16103 Protect with IN_LIBGCC.
16104 (LINK_EH_SPEC): Add required trailing space.
16106 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
16108 * c-tree.h: Move function declarations so that they are listed
16109 under the filename which contains them.
16110 (check_identifier, finish_decl_top_level,
16111 lookup_name_current_level_global, shadow_record_fields): Remove.
16113 2002-01-11 Andreas Jaeger <aj@suse.de>
16115 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
16118 2002-01-10 Richard Henderson <rth@redhat.com>
16120 * config/alpha/alpha.c (print_operand): Add 'J'.
16121 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
16122 new operand with the sequence number for the lituse. When splitting
16123 the insns, use gen_movdi_er_high_g and generate a sequence number.
16124 (gen_movdi_er_high_g): Print the sequence number if non-zero.
16126 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
16128 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
16129 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
16131 (altivec_expand_builtin): Same.
16132 (altivec_expand_stv_builtin): New.
16134 * config/rs6000/rs6000.h (rs6000_builtins): Same.
16136 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
16137 ("altivec_lvehx"): New.
16138 ("altivec_lvewx"): New.
16139 ("altivec_lvxl"): New.
16140 ("altivec_lvx"): New.
16141 ("altivec_stvx"): New.
16142 ("altivec_stvebx"): New.
16143 ("altivec_stvehx"): New.
16144 ("altivec_stvewx"): New.
16145 ("altivec_stvxl"): New.
16147 2002-01-10 Richard Henderson <rth@redhat.com>
16149 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
16150 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
16151 care not to delete instructions twice.
16153 2002-01-10 Zack Weinberg <zack@codesourcery.com>
16155 * toplev.c: Don't declare environ (it's not used anywhere).
16156 * configure.in: Don't check for declaration of environ.
16157 * config/i386/xm-mingw32.h: Don't #define environ.
16158 * config.in, configure: Regenerate.
16160 2002-01-10 Zack Weinberg <zack@codesourcery.com>
16162 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
16163 * configure: Regenerate.
16165 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
16166 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
16167 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
16169 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
16170 LIMITS_H_TEST here, not in m68k/x-next.
16171 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
16172 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
16174 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
16175 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
16176 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
16178 * config/i386/x-djgpp: Renamed i386/t-djgpp.
16179 * config/m88k/x-dolph: Renamed m88k/t-dolph.
16180 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
16181 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
16182 replacement of quadlib.asm with quadlib.c.
16184 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
16185 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
16186 config/rs6000/xm-beos.h: Delete file.
16188 * config.gcc: Update to match above changes.
16190 2002-01-10 Kazu Hirata <kazu@hxi.com>
16192 * config/h8300/h8300.h: Fix comment typos.
16193 * config/h8300/h8300.md: Likewise.
16194 * config/h8300/lib1funcs.asm: Likewise.
16196 2002-01-10 Dale Johannesen <dalej@apple.com>
16198 PR optimization/5269
16199 * unroll.c (precondition_loop_p): Make *increment be the correct
16200 sign when n_iterations known, to avoid confusing caller.
16202 2002-01-10 Kazu Hirata <kazu@hxi.com>
16204 * doc/extend.texi (deprecated): Fix a typo.
16206 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
16208 * basic-block.h (update_br_prob_note): Declare.
16209 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
16210 (try_forward_edges): Care negative frequencies and update note.
16211 (outgoing_edges_match): Tweek conditional merging heuristics.
16212 (try_crossjump_to_edge): use update_br_prob_note.
16213 * cfglayout.c (fixup_reorder_chain): Likewise.
16214 * cfrtl.c (update_br_prob_note): New.
16215 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
16217 * i386.c (ix86_decompose_address): Return -1 if address contains
16219 (legitimate_address_p): Require ix86_decompose_address to return 1.
16221 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
16222 (cprop_insn): Likewise.
16224 2002-01-10 Kazu Hirata <kazu@hxi.com>
16226 * toplev.c: Fix formatting.
16227 * tree.c: Likewise.
16228 * tree-dump.c: Likewise.
16229 * unroll.c: Likewise.
16230 * unwind-dw2.c: Likewise.
16231 * unwind-dw2-fde.c: Likewise.
16232 * unwind-dw2-fde-glibc.c: Likewise.
16233 * unwind-sjlj.c: Likewise.
16235 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
16237 * doc/invoke.texi: Document PDP-11 options.
16239 2002-01-10 Kazu Hirata <kazu@hxi.com>
16241 * config/h8300/h8300.h: Fix formatting.
16243 2002-01-10 Ira Ruben <ira@apple.com>
16245 Add __attribute__ ((deprecated)).
16246 * extend.texi: Document __attribute__ ((deprecated)).
16247 * invoke.texi: Document -Wno-deprecated-declarations.
16248 * testsuite/g++.dg/other/deprecated.C: New C++ test.
16249 * testsuite/gcc.dg/deprecated.c: New C test.
16250 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
16251 (c_common_attribute_table): Add "deprecated" entry.
16252 (handle_deprecated_attribute): New function.
16253 * c-decl.c (deprecated_states): New enum.
16254 deprecated_state: State of "deprecated" handling.
16255 (start_decl): Set deprecated_state based on attributes.
16256 (grokdeclarator): Test for deprecated uses, propagate attribute.
16257 * c-typeck.c (build_component_ref): Test for deprecated fields.
16258 (build_external_ref): Test for deprecated primaries.
16259 * diagnostic.c (warn_deprecated_use) New function to issue
16260 warnings about __attribute__ ((depricated)) references.
16261 * flags.h (warn_deprecated_decl): Extern declared for
16262 -W[no-]deprecated-declarations option.
16263 * print-tree.c (print_node): Show deprecated flag status.
16264 * toplev.c (warn_deprecated_decl): Defined.
16265 (W_options): Added "deprecated-declaration".
16266 * toplev.h (warn_deprecated_use): Extern declared.
16267 * tree.h (struct tree_common): Define deprecated_flag.
16268 (TREE_DEPRECATED): New macro to access flag.
16269 * cp/call.c (build_call): Test for deprecated calls.
16270 * cp/class.c (add_implicitly_declared_members): Set global
16271 flag to tell grokdeclarator to not issue deprecated warnings.
16272 * cp/cp-tree.h: Add extern for adding_implicit_members.
16273 * cp/decl.c (deprecated_states): New enum.
16274 (start_decl): Set deprecated_state based on attributes.
16275 (grokdeclarator): Test for deprecated uses, propagate attribute.
16276 * cp/lex.c (do_identifier): Test for deprecated primaries.
16277 * cp/typeck.c (build_component_ref): Test for deprecated fields.
16279 2002-01-10 Ira Ruben <ira@apple.com>
16281 Fix to assign attributes to inline member functions.
16282 * cp/decl.c (start_method): Handle attrlist.
16284 2002-01-10 Kazu Hirata <kazu@hxi.com>
16286 * combine.c (expand_field_assignment): Use subreg_lsb().
16288 2002-01-10 David Edelsohn <edelsohn@gnu.org>
16290 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
16291 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
16292 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
16293 Recurse for any operand of AND as long as constant is non-zero.
16295 2002-01-10 Kazu Hirata <kazu@hxi.com>
16297 * config/h8300/h8300.md: Remove constraints from expanders.
16299 2002-01-10 Kazu Hirata <kazu@hxi.com>
16301 * varasm.c: Fix formatting.
16302 * varray.c: Likewise.
16303 * vmsdbgout.c: Likewise.
16304 * xcoffout.c: Likewise.
16306 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
16308 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
16309 update edge probabilities to match.
16311 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
16313 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
16315 * doc/languages.texi, doc/sourcebuild.texi: New files.
16316 * doc/configfiles.texi: Make a subsubsection. Update.
16317 * doc/configterms.texi: Add @node. Remove warning that this isn't
16318 instructions for building GCC.
16319 * doc/makefile.texi: Make a subsection.
16320 * doc/gccint.texi: Update.
16322 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
16324 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
16326 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
16328 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
16330 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
16332 * optabs.c (expand_fix): Look for wider integer modes first.
16334 * i386.md (mov?f): Avoid the fake const double trick for medium
16336 (min?f*/max?f*): Prohibit memory operands for i387 variant.
16337 (fop_df_4): Disable for SSE compilation.
16339 2002-01-10 Graham Stott <grahams@redhat.com>
16341 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
16342 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
16344 2002-01-10 Richard Henderson <rth@redhat.com>
16346 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
16348 2002-01-10 Richard Henderson <rth@redhat.com>
16350 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
16351 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
16353 2002-01-10 Kazu Hirata <kazu@hxi.com>
16355 * combine.c (can_combine_p): Fix a comment typo.
16357 2002-01-09 Zack Weinberg <zack@codesourcery.com>
16359 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
16360 empty list correctly. Change loop index $t to $f for
16361 consistency with rest of Makefile.
16363 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
16365 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
16366 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
16368 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
16369 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
16370 (altivec_init_builtins): Same.
16371 (altivec_expand_unop_builtin): Return NULL_RTX on error.
16372 (altivec_expand_binop_builtin): Same.
16373 (altivec_expand_ternop_builtin): Same.
16376 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
16377 ("altivec_vctuxs"): Fix typo.
16378 ("altivec_vnmsubfp"): Same.
16379 ("altivec_dssall"): New.
16380 ("altivec_mfvscr"): New.
16381 ("altivec_dss"): New.
16382 ("altivec_lvsl"): New.
16383 ("altivec_lvsr"): New.
16384 ("altivec_dstt"): New.
16385 ("altivec_dstst"): New.
16386 ("altivec_dststt"): New.
16387 ("altivec_dst"): New.
16389 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
16390 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
16392 2002-01-09 Richard Henderson <rth@redhat.com>
16394 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
16396 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
16398 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
16400 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
16402 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
16404 2002-01-09 Kazu Hirata <kazu@hxi.com>
16406 * read-rtl.c: Fix formatting.
16407 * real.c: Likewise.
16408 * regclass.c: Likewise.
16409 * regrename.c: Likewise.
16410 * reg-stack.c: Likewise.
16411 * reload1.c: Likewise.
16412 * reload.c: Likewise.
16415 2002-01-09 Kazu Hirata <kazu@hxi.com>
16417 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
16418 to extract items in the expr_list chain.
16420 2002-01-09 Richard Henderson <rth@redhat.com>
16422 * config/vax/vax.c (vax_rtx_cost): Never abort.
16424 * config/vax/vax.h (REAL_ARITHMETIC): Define.
16426 2002-01-09 Jan Hubicka <jh@suse.cz>
16428 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
16430 2002-01-09 Richard Henderson <rth@redhat.com>
16432 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
16433 Unify code from various alternatives.
16435 2002-01-09 Richard Henderson <rth@redhat.com>
16437 * regrename.c (copy_value): Ignore the copy if the source register
16438 is present in the value chain with a narrower mode.
16440 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16442 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
16443 for the c4x target. Also improve layout.
16445 2002-01-09 Richard Henderson <rth@redhat.com>
16447 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
16448 * config/m32r/m32r.md (and ior xor splitters): Swap operands
16449 to match insn patterns.
16451 2002-01-09 Richard Henderson <rth@redhat.com>
16453 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
16454 (copyprop_hardreg_forward_1): Likewise.
16456 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
16458 * pa.md (decrement_and_branch_until_zero): Change predicate for
16459 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
16461 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16463 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
16464 gets undefined. For Darwin.
16466 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16468 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
16470 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16472 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
16474 2002-01-08 Richard Henderson <rth@redhat.com>
16476 * regrename.c (copy_value): Ignore overlapping copies.
16478 2002-01-08 Richard Henderson <rth@redhat.com>
16480 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
16481 as needed to avoid shared structure.
16483 2002-01-08 Kazu Hirata <kazu@hxi.com>
16485 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
16488 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
16490 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
16491 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
16492 documentation of obsolete macros.
16493 * system.h: Poison these macros.
16494 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
16495 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
16496 config/c4x/c4x.h, config/clipper/clipper.h,
16497 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
16498 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
16499 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
16500 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
16501 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
16502 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
16503 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
16504 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
16505 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
16506 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
16507 config/sparc/sparc.h, config/stormy16/stormy16.h,
16508 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
16509 definitions and commented out definitions of obsolete macros.
16510 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
16511 of MAX_INT_TYPE_SIZE.
16513 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
16515 * config/s390/s390.c (s390_preferred_reload_class): Never
16516 return ADDR_REGS if it isn't a subset of the given class.
16517 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
16518 FP_REGS, but all superclasses as well.
16520 * config/s390/s390.c (s390_function_profiler): Fix thinko.
16522 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
16523 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
16524 must not be a const_int.
16526 2002-01-08 Richard Henderson <rth@redhat.com>
16528 * Makefile.in (toplev.o): Depend on options.h.
16529 (gcc.o): Depend on specs.h.
16531 2002-01-08 Jakub Jelinek <jakub@redhat.com>
16533 * expr.c (store_expr): Convert VOIDmode constants back to target's
16536 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16538 * doc/invoke.texi: Markup gcc as @command. Refer to
16539 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
16540 of http://gcc.gnu.org/thanks.html.
16542 2002-01-08 Dale Johannesen <dalej@apple.com>
16544 * config/rs6000/rs6000.md: Add missing int register
16545 target case to movdf_low.
16547 2002-01-08 Zack Weinberg <zack@codesourcery.com>
16549 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
16550 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
16551 (cppinit.o): Depend on except.h.
16552 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
16553 s-specs): New rules.
16555 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
16556 Don't create specs.h/options.h/gencheck.h here. Remove
16557 unnecessary variable settings from last argument of AC_OUTPUT.
16558 * config.in, configure: Regenerate.
16559 * intl.c: Hardcode package name as "gcc".
16561 * cppinit.c: Include except.h.
16562 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
16564 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
16565 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
16566 (!)USING_SJLJ_EXCEPTIONS.
16567 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
16569 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
16571 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
16572 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
16573 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
16574 documentation of obsolete macros.
16575 * system.h: Poison these macros.
16576 * config/d30v/d30v.h, config/ns32k/encore.h,
16577 config/stormy16/stormy16.h: Remove definitions and commented out
16578 definitions of obsolete macros.
16580 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
16582 * objc/objc-act.c (handle_class_ref): Mark the declaration of
16583 %sobjc_class_ref_%s as used - to prevent unwanted compiler
16586 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
16588 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
16589 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
16590 to insn adjusting stack/frame pointer.
16591 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
16592 accept operands that cause the insn to be non-splittable.
16594 2002-01-08 Graham Stott <grahams@redhat.com>
16596 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
16597 (C_TYPE_FIELDS_VOLATILE): Likewise.
16598 (C_TYPE_BEING_DEFINED): Likewise.
16599 (C_IS_RESERVED_WORD): Likewise.
16600 (C_TYPE_VARIABLE_SIZE): Likewise.
16601 (C_DECL_VARIABLE_SIZE): Likewise.
16602 (C_MISSING_PROTOTYPE_WARNED): Likewise.
16603 (C_SET_EXP_ORIGINAL_CODE): Likewise.
16604 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
16606 (C_DECL_ANTICIPATED): Likewise.
16607 (c_build_type_variant): Add parenthesis.
16609 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
16611 * gcc.c (option_map): Remove --version.
16612 (process_command): Handle -fversion following the GNU Coding
16613 Standards. Partially addresses PR other/704.
16615 2002-01-08 Graham Stott <grahams@redhat.com>
16617 * combine.c (combine_instructions): Fix typo.
16619 2002-01-08 Graham Stott <grahams@redhat.com>
16621 * debug.h: Use "tree" and "rtx" throughout.
16623 * debug.c: Likewise.
16625 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
16627 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
16628 constant pool, use the pool's version of the symbol instead.
16630 2002-01-07 Richard Henderson <rth@redhat.com>
16632 * regrename.c (find_oldest_value_reg): Ignore the value chain if
16633 the original register was copied in a mode with a fewer number of
16634 hard registers than the desired mode.
16635 (copyprop_hardreg_forward_1): Likewise.
16636 (debug_value_data): Fix loop test.
16637 * toplev.c (parse_options_and_default_flags): Reenable
16638 -fcprop-registers at -O1.
16640 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
16642 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
16643 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
16645 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
16648 * config/rs6000/rs6000.md: Add altivec predicate patterns.
16650 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
16652 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
16653 (pa_output_function_prologue): Output local label at the beginning of
16654 the prologue when profiling.
16655 (hppa_profile_hook): Use the local label rather than the function label.
16656 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
16658 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
16660 * config/rs6000/rs6000.c (print_operand): Remove extra space.
16661 (altivec_expand_unop_builtin): Fix thinko.
16662 (altivec_expand_binop_builtin): Same.
16663 (altivec_expand_ternop_builtin): Same.
16664 (altivec_expand_builtin): Same.
16666 2002-01-07 Richard Henderson <rth@redhat.com>
16668 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
16670 2002-01-07 Jason Merrill <jason@redhat.com>
16672 * unwind-dw2.c (execute_cfa_program): Use < again.
16674 2002-01-07 Jakub Jelinek <jakub@redhat.com>
16676 * predict.c (combine_predictions_for_insn): Avoid division by zero.
16678 2002-01-07 Jakub Jelinek <jakub@redhat.com>
16680 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
16681 Don't allow -1 - x -> ~x simplifications in the first pass.
16683 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
16685 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
16687 (altivec_expand_binop_builtin): Same.
16688 (altivec_expand_unop_builtin): Same.
16689 (print_operand): Fix typo.
16690 (bdesc_1arg): Add vupk* variants.
16692 * rs6000.h (rs6000_builtins): Add vupk* enums.
16694 * rs6000.md: Add altivec_vupk* variants.
16696 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
16698 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
16699 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
16700 and last update dates.
16702 2002-01-07 Janis Johnson <janis187@us.ibm.com>
16704 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
16706 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
16708 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
16709 * config/avr/avr.h (CPP_SPEC): Likewise.
16710 (LINK_SPEC): Likewise.
16711 (CRT_BINUTILS_SPECS): Likewise.
16712 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
16713 * doc/invoke.texi (AVR Options): Document them.
16715 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
16717 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
16720 2002-01-07 Graham Stott <grahams@redhat.com>
16722 * config/i386/i386.h: Update copyright date.
16723 (HALF_PIC_PTR): Add parenthesis.
16724 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
16725 (CONSTANT_ALIGNMENT): Add parenthesis.
16726 (DATA_ALIGNMENT): Likewise.
16727 (LOCAL_ALIGNMENT): Likewise.
16728 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
16729 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
16730 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
16731 (HARD_REGNO_NREGS): Add paranethesis.
16732 (VALID_SSE_REG_MODE): Whitespace.
16733 (VALID_MMX_REG_MODE): Whitespace.
16734 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
16735 (ix86_hard_regno_mode_ok): Add parenthesis.
16736 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
16737 (RETURN_IN_MEMORY): Whitespace.
16738 (N_REG_CLASSES): Add parenthesis.
16739 (INTEGER_CLASS_P): Add parenthesis and wrap.
16740 (FLOAT_CLASS_P): Likewise.
16741 (SSE_CLASS_P): Likewise.
16742 (MMX_CLASS_P): Likewise.
16743 (MAYBE_INTEGER_CLASS_P): Likewise.
16744 (MAYBE_FLOAT_CLASS_P): Likewise.
16745 (MAYBE_SSE_CLASS_P): Likewise.
16746 (MAYBE_MMX_CLASS_P): Likewise.
16747 (Q_CLASS_P): Likewise.
16748 (GENERAL_REGNO_P): Uppercase macro parameter.
16749 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
16750 (FP_REGNO_P): Likewise.
16751 (ANY_FP_REGNO_P): Uppercase macro parameter.
16752 (SSE_REGNO_P): Likewise.
16753 (SSE_REGNO): Likewise.
16754 (SSE_REG_P): Likewise.
16755 (SSE_FLOAT_MODE_P): Likewise.
16756 (MMX_REGNO_P): Likewise.
16757 (MMX_REG_P):Likewise.
16758 (STACK_REG_P): Likewise.
16759 (NON_STACK_REG_P): Likewise.
16760 (STACK_TOP_P): Likewise.
16761 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
16762 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
16763 (SECONDARY_MEMORY_NEEDED): Likewise.
16764 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
16765 (MD_ASM_CLOBBERS): Whitespace and wrap.
16766 (MUST_PASS_IN_STACK): Whitespace and wrap.
16767 (RETURN_POPS_ARGS): Add parenthesis.
16768 (INIT_CUMULATIVE_ARGS): Likewise.
16769 (FUNCTION_ARG): Likewise.
16770 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
16771 (SETUP_INCOMING_VARARGS): Likewise.
16772 (BUILD_VA_LIST_TYPE): Add parenthesis.
16773 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
16775 (EXPAND_BUILTIN_VA_ARG): Likewise.
16776 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
16777 (INITIALIZE_TRAMPOLINE): Add parenthesis.
16778 (INITIAL_ELIMINATION_OFFSET): Likewise.
16779 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
16780 (REGNO_OK_FOR_BASE_P): Likewise.
16781 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
16782 (REGNO_OK_FOR_DIREG_P): Likewise.
16783 (REG_OK_FOR_INDEX_P): Whitespace.
16784 (REG_OK_FOR_BASE_P): Whitespace.
16785 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
16787 (FIND_BASE_TERM): Fix typo.
16788 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
16789 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
16790 (SYMBOLIC_CONST; Whitespace.
16791 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
16792 (ENCODE_SECTION_INFO): Whitespace.
16793 (FINALIZE_PIC): Remove do { ... } while (0).
16794 (PROMOTE_MODE): Wrap in do { ... } while (0).
16795 (CONST_COSTS): Whitespace.
16796 (RTX_COSTS): Add paramethesis, whitespace and wrap.
16797 (REGISTER_MOVE_COST): Add parenthesis.
16798 (MEMORY_MOVE_COST): Likewise.
16799 (EXTRA_CC_MODES): Whitespace.
16800 (SELECT_CC_MODE): Add parenthesis and whitespace.
16801 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
16802 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
16803 (ASM_OUTPUT_LABEL): Add paramethesis.
16804 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
16805 (ASM_OUTPUT_REG_POP): Likewise.
16806 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
16807 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
16809 * config/i386/i386.c: Update copyright.
16810 (CHECK_STACK_LIMIT): Add parenthesis.
16811 (AT_BP): Uppercase macro parameter.
16812 (x86_64_int_parameter_registers): Constify.
16813 (x86_64_int_return_registers): Likewise.
16814 (ix86_compare_op0): Use rtx.
16815 (construct_container): Constify INTREG parameter.
16816 (function_arg): Use rtx.
16818 * diagnostic.h: Update copyright date.
16819 (output_buffer_state): Add parenthesis.
16820 (output_buffer_format_args): Likewise.
16822 * combine.c (combine_instructions): Replace XEXP (links, 0)
16825 2002-01-06 H.J. Lu <hjl@gnu.org>
16827 * cfgcleanup.c (thread_jump): Fix 2 typos.
16829 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
16831 * config.gcc: Add support for --enable-altivec.
16833 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
16835 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
16837 2002-01-06 Jakub Jelinek <jakub@redhat.com>
16839 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
16840 __objc_class_name_*.
16842 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
16844 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
16846 2002-01-06 Richard Henderson <rth@redhat.com>
16848 * reorg.c (emit_delay_sequence): Remove death notes, not merely
16849 nop them out. Increment label reference count for REG_LABEL.
16850 (fill_slots_from_thread): Frob label reference count around
16851 delete_related_insns.
16853 2002-01-05 Richard Henderson <rth@redhat.com>
16855 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
16858 2002-01-05 Richard Henderson <rth@redhat.com>
16860 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
16861 * integrate.c (output_inline_function): Likewise.
16862 * toplev.c (rest_of_compilation): Do it here instead. Move call
16863 to remove_unnecessary_notes after emitting abstract instance.
16864 Force an emitted nested function to have its parent emited as well.
16865 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
16867 (rtl_for_decl_location): Do not look at reload data structures
16868 before reload has run.
16870 2002-01-05 Kazu Hirata <kazu@hxi.com>
16872 * cse.c: Fix formatting.
16873 * dwarf2asm.c: Likewise.
16874 * dwarf2out.c: Likewise.
16875 * explow.c: Likewise.
16876 * expmed.c: Likewise.
16877 * function.c: Likewise.
16878 * gcov.c: Likewise.
16879 * gencheck.c: Likewise.
16880 * genrecog.c: Likewise.
16881 * ggc-common.c: Likewise.
16882 * ggc-page.c: Likewise.
16883 * global.c: Likewise.
16885 2002-01-05 Kazu Hirata <kazu@hxi.com>
16887 * combine.c: Fix formatting.
16889 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
16892 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
16894 2002-01-05 David Edelsohn <edelsohn@gnu.org>
16896 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
16897 as 1 for __powerpc64__ as well.
16899 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
16901 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
16904 2002-01-05 Daniel Berlin <dan@dberlin.org>
16906 * lcm.c: Revert change, due to performance regression it causes on
16907 SPEC because it's slightly more conservative (sigh, I hate
16910 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
16912 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
16914 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
16916 * doc/cppinternals.texi: Update.
16918 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
16920 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
16921 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
16923 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
16924 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
16925 kludge for pre-october-14th mmix versions to handle new-found bug
16926 with PUSHJ/PUSHGO and the register stack.
16927 * config/mmix/mmix.h (struct machine_function): Rename member
16928 has_call_value_without_parameters to has_call_without_parameters.
16929 All referers changed.
16930 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
16931 TARGET_MASK_BRANCH_PREDICT): New macros.
16932 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
16933 -mno-reg-stack-fill-bug-workaround.
16934 * config/mmix/mmix.md ("call"): Set struct machine member
16935 has_call_without_parameters.
16937 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
16939 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
16941 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
16943 * cfgcleanup.c: Include tm_p.h
16944 (mark_effect): Fix handling of hard register; fix handling of SET
16946 2002-01-04 Kazu Hirata <kazu@hxi.com>
16948 * config/h8300/h8300.md (anonymous patterns): Check that
16949 operands are registers before using REGNO on them.
16951 2002-01-03 Roland McGrath <roland@frob.com>
16953 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
16955 2002-01-04 Jakub Jelinek <jakub@redhat.com>
16957 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
16958 * c-common.h (genrtl_expr_stmt_value): Likewise.
16959 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
16960 (expand_expr_stmt_value): Add maybe_last argument.
16961 Don't warn about statement with no effect if it is the last statement
16962 in expression statement.
16963 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
16964 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
16965 expand_expr_stmt_value.
16966 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
16967 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
16968 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
16969 as maybe_last to expand_expr_stmt_value.
16971 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
16973 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
16974 be passed in, do not build it.
16975 (c_begin_if_stmt): New function.
16976 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
16977 * c-common.h (c_expand_start_cond): Update prototype.
16978 (c_begin_if_stmt): Prototype new function.
16979 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
16980 * c-parse.in (if_prefix): Use c_begin_if_stmt,
16981 c_begin_while_stmt and c_finish_while_stmt_cond.
16983 2002-01-04 William Cohen <wcohen@redhat.com>
16985 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
16986 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
16987 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
16988 * config/pa/som.h (ASM_FILE_START): Likewise.
16990 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
16992 * lcm.c: Include df.h.
16993 Add available_transfer_function prototype.
16994 (compute_available): Rework to use iterative dataflow framework.
16995 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
16996 with bb_info in df.h
16997 (available_transfer_function): New function.
16999 * Makefile.in (lcm.o): add df.h to dependencies.
17001 2002-01-04 Richard Henderson <rth@redhat.com>
17003 * config/alpha/alpha.c (some_operand): Accept HIGH.
17004 (input_operand): Likewise; accept simple references to globals.
17005 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
17006 (alpha_const_double_ok_for_letter_p): Likewise.
17007 (alpha_extra_constraint): Likewise.
17008 (alpha_preferred_reload_class): Likewise. Do not force
17009 symbolic constants to memory.
17010 (alpha_legitimate_address_p): Accept simple references
17011 to small_symbolic_operand.
17012 (alpha_legitimize_address): New arg scratch. Be prepared to be
17013 called when no_new_pseudos. Emit simple symbolic references.
17014 Split integers into low, high, and rest.
17015 (alpha_expand_mov): Use alpha_legitimize_address.
17016 (some_small_symbolic_mem_operand): New.
17017 (split_small_symbolic_mem_operand): New.
17018 * config/alpha/alpha-protos.h: Update.
17019 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
17020 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
17021 (EXTRA_CONSTRAINT): Likewise.
17022 (PREFERRED_RELOAD_CLASS): Likewise.
17023 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
17024 (PREDICATE_CODES): Update.
17025 * config/alpha/alpha.md: New post-reload splitters to convert
17026 simplfied symbolic operands to the form that references $29.
17027 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
17028 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
17030 2002-01-03 Richard Henderson <rth@redhat.com>
17032 * local-alloc.c (function_invariant_p): Update commentary.
17034 2002-01-04 H.J. Lu <hjl@gnu.org>
17036 * toplev.c (rest_of_compilation): Fix a typo when calling
17039 2002-01-03 Kazu Hirata <kazu@hxi.com>
17041 * c-common.c: Fix formatting.
17042 * diagnostic.c: Likewise.
17043 * doloop.c: Likewise.
17044 * dwarf2out.c: Likewise.
17046 2002-01-03 Kazu Hirata <kazu@hxi.com>
17048 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
17049 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
17051 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
17053 * cpperror.c: Update comments and copyright.
17054 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
17055 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
17057 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
17059 * collect2.c (main): Use strcmp when testing for "-shared".
17061 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
17063 * cppmacro.c: Don't include intl.h. Update comments.
17064 (new_number_token): Allocate enough buffer for 64-bit unsigned
17065 integers; update prototype.
17066 * cppmain.c: Update comments.
17068 2002-01-03 William Cohen <wcohen@redhat.com>
17070 * function.h (struct function): Add profile.
17071 (current_function_profile): New.
17072 doc/extend.texi: Update documentation.
17073 * final.c (final_start_function): Use current_function_profile
17074 instead of profile_flag.
17075 (profile_after_prologue): Likewise.
17076 * function.c (expand_function_start): Likewise.
17077 (expand_function_start): Likewise.
17078 * config/alpha/alpha.c (direct_call_operand):
17079 (alpha_does_function_need_gp): Likewise.
17080 (alpha_expand_prologue): Likewise.
17081 * config/arm/arm.c (arm_expand_prologue): Likewise.
17082 thumb_expand_prologue: Likewise.
17083 * config/d30v/d30v.c (d30v_stack_info): Likewise.
17084 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
17085 (fr30_expand_prologue): Likewise.
17086 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
17087 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
17088 * config/i386/i386.h (FINALIZE_PIC): Likewise.
17089 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
17090 * config/i960/i960.c (i960_output_function_prologue): Likewise.
17091 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
17092 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
17093 (m32r_expand_prologue): Likewise.
17094 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
17095 (m88k_expand_prologue): Likewise.
17096 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
17097 * config/mips/mips.c (compute_frame_size): Likewise.
17098 (mips_expand_prologue): Likewise.
17099 (mips_can_use_return_insn): Likewise.
17100 * config/pa/elf.h (ASM_FILE_START): Likewise.
17101 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
17102 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
17103 * config/pa/som.h (ASM_FILE_START): Likewise.
17104 * config/romp/romp.c (romp_using_r14): Likewise.
17105 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
17106 (rs6000_stack_info): Likewise.
17107 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
17108 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
17109 * config/v850/v850.c (compute_register_save_size): Likewise.
17111 2002-01-03 Jakub Jelinek <jakub@redhat.com>
17113 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
17114 gen_lowpart_common fails, use gen_lowpart_SUBREG.
17116 2002-01-03 Turly O'Connor <turly@apple.com>
17118 * darwin.c (machopic_output_possible_stub_label): Don't generate
17119 stub routines for pseudo-stubs which we've just defined.
17121 2002-01-03 Kazu Hirata <kazu@hxi.com>
17123 * builtins.c: Fix formatting.
17124 * c-typeck.c: Likewise.
17125 * combine.c: Likewise.
17126 * expr.c: Likewise.
17127 * loop.c: Likewise.
17129 2002-01-03 Andreas Schwab <schwab@suse.de>
17131 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
17132 and return true if _cpp_push_next_buffer pushed a new include
17134 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
17135 _cpp_pop_file_buffer did not push a new file.
17136 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
17138 2002-01-02 Eric Christopher <echristo@redhat.com>
17140 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
17141 FIND_REG_INC_NOTE call. Update copyright.
17142 * loop.c (canonicalize_condition): Ditto.
17143 * reorg.c (delete_scheduled_jump): Ditto.
17145 2002-01-03 Kazu Hirata <kazu@hxi.com>
17147 * gcse.c: Fix formatting.
17149 2002-01-03 Graham Stott <grahams@redhat.com>
17151 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
17152 forward defs for struct tags rtx_def, union_tree, rtvec_def
17153 also output corresponding typedefs for rtx, tree, and rtvec.
17155 * system.h: Move forward defs for struct tags rtx_def, union_tree,
17156 rtvec_def along with corresponding typedefs for rtx, tree, and
17157 rtvec to config.h, hconfig.h, tconfig.h.
17159 2002-01-03 Graham Stott <grahams@redhat.com>
17161 * tree.h: Update copyright date.
17162 (IS_EXPR_CODE_CLASS): Add parenthesis.
17163 (TREE_SET_CODE): Add whitespace.
17164 (TREE_CHECK): Add parenthesis.
17165 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
17166 (CST_OR_CONSTRUCTOR_CHECK):
17167 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
17168 (TREE_SYMBOL_REFERENCED): Whitespace.
17169 (INT_CST_LT): Likewise.
17170 (INT_CST_LT_UNSIGNED): Likewise.
17171 (tree_real_cst): Unwrap comment.
17172 (tree_string): Likewise.
17173 (tree_complex): Likewise.
17174 (IDENTIFIER_POINTER): correct cast.
17175 (SAVE_EXPR_CONTEXT): Whitespace.
17176 (EXPR_WFL_FILENAME_NODE): Likewise.
17177 (EXPR_WFL_FILENAME): Remove parenthesis.
17178 (DECL_ORIGIN): Add parenthesis.
17179 (DECL_FROM_INLINE): Use NULL_TREE.
17180 (build_int_2): Whitespace.
17181 (build_type_variant): Add parenthesis.
17183 * gcc/jcf-parse.c: Update copyright date.
17184 (yyparse): Constify resource_filename.
17186 2002-01-03 Graham Stott <grahams@redhat.com>
17188 * rtl.h: Update copyright date.
17189 (RTL_CHECK1): Wrap long line.
17190 (RTL_CHECK2): Likewise.
17191 (RTL_CHECKC1): Wrap long line and whitespace.
17192 (RTL_CHECKC2): Likewise.
17193 (XWINT): Whitespace.
17199 (XBITMAP): Likewise.
17201 (XBBDEF): Likewise.
17203 (X0WINT): Likewise.
17205 (X0UINT): Likewise.
17209 (X0MODE): Likewise.
17210 (X0BITMAP): Likewise.
17211 (X0TREE): Likewise.
17212 (X0BBDEF): Likewise.
17213 (X0ADVFLAGS): Likewise.
17214 (X0CSELIB): Likewise.
17215 (X0MEMATTR): Likewise.
17216 (XCWINT): Likewise.
17218 (XCUINT): Likewise.
17222 (XCMODE): Likewise.
17223 (XCBITMAP): Likewise.
17224 (XCTREE): Likewise.
17225 (XCBBDEF): Likewise.
17226 (XCADVFLAGS): Likewise.
17227 (XCCSELIB): Likewise.
17228 (XC2EXP): Likewise.
17229 (INSN_UID): Likewise.
17230 (PREV_INSN): Likewise.
17231 (PATTERN): Likewise.
17232 (INSN_CODE): Likewise.
17233 (PUT_REG_NOTE_KIND): Likewise.
17234 (CODE_LABEL_NUMBER): Likewise.
17235 (NOTE_SOURCE_FILE): Likewise.
17236 (NOTE_BLOCK): Likewise.
17237 (NOTE_EH_HANDLER): Likewise.
17238 (NOTE_RANGE_INFO): Likewise.
17239 (NOTE_LIVE_INFO): Likewise.
17240 (NOTE_BASIC_BLOCK): Likewise.
17241 (NOTE_EXPECTED_VALUE): Likewise.
17242 (NOTE_LINE_NUMBER): Likewise.
17243 (LABEL_NAME): Likewise.
17244 (LABEL_NUSES): Likewise.
17245 (LABEL_ALTERNATE_NAME): Likewise.
17246 (ADDRESSOF_DECL): Likewise.
17247 (JUMP_LABEL): Likewise.
17248 (LABEL_NEXTREF): Likewise.
17250 (ORIGINAL_REGNO: Likewise.
17251 (HARD_REGISTER_NUM_P): Add parenthesis.
17252 (SUBREG_REG): Whitespace.
17253 (SUBREG_BYTE): Likewise.
17254 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
17255 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
17256 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
17257 (ASM_OPERANDS_INPUT_VEC): Likewise.
17258 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
17259 (ASM_OPERANDS_INPUT): Likewise.
17260 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
17261 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
17262 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
17263 (ASM_OPERANDS_INPUT_MODE): Likewise.
17264 (ASM_OPERANDS_SOURCE_FILE): Likewise.
17265 (ASM_OPERANDS_SOURCE_LINE): Likewise.
17266 (MEM_SET_IN_STRUCT_P): Minor reformat.
17267 (TRAP_CONDITION): Whitespace.
17268 (TRAP_CODE): Likewise.
17269 (COND_EXEC_TEST): Likewise.
17270 (COND_EXEC_CODE): Likewise.
17271 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
17272 (PHI_NODE_P): Add parenthesis.
17273 (plus_constant): Whitespace and add parenthesis.
17275 2002-01-03 Kazu Hirata <kazu@hxi.com>
17277 * config/avr/avr.c: Fix comment typos.
17278 * config/c4x/c4x.md: Likewise.
17279 * config/dsp16xx/dsp16xx.h: Likewise.
17280 * config/dsp16xx/dsp16xx.md: Likewise.
17281 * config/i386/i386.md: Likewise.
17282 * config/ia64/ia64.c: Likewise.
17283 * config/m32r/m32r.h: Likewise.
17284 * config/m68hc11/m68hc11.md: Likewise.
17285 * config/mmix/mmix.c: Likewise.
17286 * config/mn10200/mn10200.c: Likewise.
17287 * config/romp/romp.c: Likewise.
17288 * config/sh/sh.c: Likewise.
17289 * config/stormy16/stormy16.c: Likewise.
17290 * config/stormy16/stormy16.h: Likewise.
17291 * config/stormy16/stormy16.md: Likewise.
17293 2002-01-03 Graham Stott <grahams@redhat.com>
17295 * loop.h: Update copyright date.
17296 (LOOP_MOVABLES): Fix typo.
17297 (LOOP_REGS): Likewise.
17298 (LOOP_IVS): Likewise.
17300 2002-01-03 Graham Stott <grahams@redhat.com>
17302 * cppinit.c: Update copyright date.
17303 Don't include output.h
17304 * Makefile.in: Update copyright date.
17307 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
17310 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
17311 (-pthread) Add to RS/6000 options.
17313 2002-01-02 Kazu Hirata <kazu@hxi.com>
17315 * except.c: Fix comment typos.
17316 * loop.c: Likewise.
17317 * varasm.c: Likewise.
17318 * doc/tm.texi: Fix a typo.
17320 2002-01-02 Jakub Jelinek <jakub@redhat.com>
17322 * c-typeck.c (output_init_element): Allow initializing static storage
17323 duration objects with compound literals.
17325 2002-01-02 Richard Henderson <rth@redhat.com>
17327 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
17330 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17332 * gcc.c (default_compilers): Const-ify.
17333 * mips-tdump.c (stab_names): Likewise.
17334 * mips-tfile.c (map_coff_types, map_coff_storage,
17335 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
17336 pseudo_ops_t, pseudo_ops): Likewise.
17337 * protoize.c (default_include): Likewise
17339 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
17340 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
17341 Add array size in declaration.
17342 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
17343 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
17344 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
17345 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
17346 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
17347 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
17348 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
17349 emtens, make_nan): Const-ify.
17350 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
17351 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
17353 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
17355 * config.gcc (ia64-*-*): Set extra_headers.
17356 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
17357 * config/alpha/t-osf: Remove.
17358 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
17360 2002-01-02 David Edelsohn <edelsohn@gnu.org>
17362 * config/rs6000/t-aix43: Revert previous change.
17364 2002-01-02 Jason Merrill <jason@redhat.com>
17366 * c-decl.c (c_expand_body): Call outlining_inline_function when
17367 emitting an inline function out of line.
17369 2002-01-02 Richard Henderson <rth@redhat.com>
17371 * dwarf2out.c (limbo_die_node): Add created_for member.
17372 (new_die): New argument created_for. Update all callers.
17373 (mark_limbo_die_list): New.
17374 (dwarf2out_init): Register limbo_die_list as a root.
17375 (dwarf2out_finish): Force insert limbo dies into their function
17378 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
17381 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
17383 2002-01-02 Kazu Hirata <kazu@hxi.com>
17385 * config/h8300/fixunssfsi.c: Update copyright.
17388 * config/h8300/h8300.c: Update copyright.
17389 Eliminate warnings.
17391 2002-01-02 Kazu Hirata <kazu@hxi.com>
17393 * config/romp/romp.c: Fix comment formatting.
17394 * config/romp/romp.h: Likewise.
17395 * config/romp/romp.md: Likewise.
17396 * config/s390/s390.c: Likewise.
17397 * config/stormy16/stormy16.c: Likewise.
17398 * config/stormy16/stormy16.h: Likewise.
17400 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
17402 * c-common.h (genrtl_expr_stmt_value): Declare.
17403 * c-semantics.c (genrtl_goto_stmt): Redirect to...
17404 (genrtl_goto_stmt_value): ... this new function. Pass new
17405 argument down to expand_expr_stmt_value, taking
17406 TREE_ADDRESSABLE into account.
17407 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
17408 STMT_EXPR as addressable, i.e., one whose result we want.
17409 * expr.c (expand_expr): Don't save expression statement value
17410 of labeled_blocks or loop_exprs.
17411 * stmt.c (expand_expr_stmt): Redirect to...
17412 (expand_expr_stmt_value): ... this new function. Use new
17413 argument to tell whether to save expression value.
17414 (expand_end_stmt_expr): Reset last_expr_type and
17415 last_expr_value if we don't have either.
17416 * tree-inline.c (declare_return_variable): Mark its use
17417 statement as addressable.
17418 * tree.h: Document new use of TREE_ADDRESSABLE.
17419 (expand_expr_stmt_value): Declare.
17421 2002-01-01 Tom Rix <trix@redhat.com>
17423 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
17424 rs6000_emit_allocate_stack.
17426 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
17428 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
17429 ${srcdir}/ginclude/ to every entry in extra_headers.
17430 * configure: Regenerate.
17431 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
17432 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
17433 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
17434 * ginclude/proto.h: Rename to config/convex/proto.h.
17436 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17438 * attribs.c (handle_vector_size_attribute): Use host_integerp
17439 and tree_int_cst; remove warnings.
17440 * caller-save.c (insert_restore): Add cast to get rid of warning.
17441 (insert_save): Likewise.
17442 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
17443 * regmove.c (find_matches): Add temporary var to kill a warning.
17445 2002-01-01 Douglas B Rupp <rupp@gnat.com>
17447 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
17448 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
17449 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
17450 (vms-dwarf2eh.o): Add Makefile rule.
17451 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
17452 * config/alpha/vms-dwarf2eh.asm: New file.
17454 * gcc.c (delete_if_ordinary): Delete all versions.
17456 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
17458 * config/mmix/mmix.md: Update FIXME to not mention
17460 (MMIX_rJ_REGNUM): New define_constants constant.
17461 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
17462 "*movdicc_real"): Adjust contraints formatting.
17463 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
17464 for branch prediction.
17465 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
17467 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
17468 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
17469 number. Delete related FIXMEs.
17470 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
17471 from number to MMIX_rJ_REGNUM.
17472 (TARGET_MASK_BRANCH_PREDICT): New.
17473 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
17474 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
17475 value. Add -mbranch-predict and -mno-branch-predict.
17476 (TARGET_VERSION): Drop date.
17477 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
17478 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
17479 for finding out global symbols.
17480 (mmix_asm_output_labelref): Revert condition for global symbol.
17481 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
17482 (mmix_print_operand_punct_valid_p): A '+' is valid.
17484 See ChangeLog.6 for earlier changes.