1 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
3 * jump.c (redirect_jump): If old label has no UID, don't try to
6 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
8 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
9 If input is constant, do shifts at compile time.
11 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
13 * doc/extend.texi: Fix some more overfull hboxes.
15 2002-02-21 Jakub Jelinek <jakub@redhat.com>
18 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
21 2002-02-21 Jakub Jelinek <jakub@redhat.com>
24 * expr.h (expand_and): Add mode argument.
25 * expmed.c (expand_and): Add mode argument.
26 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
27 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
28 * except.c (expand_builtin_extract_return_addr): Likewise.
29 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
30 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
31 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
32 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
33 * config/c4x/c4x.md: Use GEN_INT (x) instead of
34 gen_rtx (CONST_INT, VOIDmode, x).
36 2002-02-21 Jakub Jelinek <jakub@redhat.com>
39 * stmt.c (warn_if_unused_value): Move side effects test once more.
41 2002-02-20 Torbjorn Granlund <tege@swox.com>
43 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
44 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
46 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
48 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
49 SUBREG or ZERO_EXTEND.
51 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
53 * sh.h (current_function_anonymous_args): Remove.
54 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
55 of current_function_varargs and current_function_stdarg is set.
56 * sh.c (sh_expand_prologue): Check current_function_varargs /
57 current_function_stdarg / TARGET_SH5 instead of
58 current_function_anonymous_args.
60 * sh64.h (TARGET_VERSION): Define.
62 2002-02-20 David Edelsohn <edelsohn@gnu.org>
64 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
65 VRSAVE_REGNO on TARGET_ALTIVEC.
67 2002-02-20 Alan Modra <amodra@bigpond.net.au>
69 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
70 bits of SImode const_int.
71 (includes_rshift_p): Likewise.
72 (print_operand): Call mask_operand and mask64_operand with correct
74 (rs6000_output_function_epilogue): Pad traceback table to word.
75 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
76 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
77 mask64_operand with correct mode.
78 (FUNCTION_ARG_REGNO_P): Correct parentheses.
80 2002-02-20 Jakub Jelinek <jakub@redhat.com>
83 * varasm.c (get_pool_constant_mark): New.
84 * rtl.h (get_pool_constant_mark): Add prototype.
85 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
86 be represented if it has not been output.
88 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
90 * combine.c (do_SUBST): Sanity check substitutions of
91 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
92 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
93 CONST_INT into its operand.
94 (known_cond): Likewise, for ZERO_EXTEND.
95 * simplify-rtx.c (simplify_unary_operation): Fix condition to
96 allow for simplification of wide modes. Reject CONST_INTs in
97 ZERO_EXTEND when their actual mode is not given.
99 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
101 * c-decl.c (pushdecl): If no global declaration is found for an
102 extern declaration in block scope, try a limbo one.
104 2002-02-20 Jakub Jelinek <jakub@redhat.com>
107 * c-common.c (pointer_int_sum): Moved from...
108 * c-typeck.c (pointer_int_sum): ...here.
109 * c-common.h (pointer_int_sum): Add prototype.
111 2002-02-20 Jakub Jelinek <jakub@redhat.com>
114 * c-decl.c (duplicate_decls): Return 0 if issued error about
117 2002-02-20 Roger Sayle <roger@eyesopen.com>
118 Jakub Jelinek <jakub@redhat.com>
121 * tree.c (host_integerp): Ensure that the constant integer is
122 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
123 when pos is zero or non-zero respectively. Clarify comment.
124 * c-format.c (check_format_info_recurse): Fix host_integerp
125 usage; the pos argument should be zero when assigning to a
126 signed HOST_WIDE_INT.
128 2002-02-20 Richard Henderson <rth@redhat.com>
130 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
131 of the operand, rather than assuming TImode.
132 (ix86_expand_binop_builtin): Cope with commutative patterns
133 using nonimmediate_operand for both operands.
134 (ix86_expand_timode_binop_builtin): Likewise.
135 (ix86_expand_store_builtin): Validate operand 1.
136 (ix86_expand_unop1_builtin): Likewise.
138 2002-02-20 Philip Blundell <philb@gnu.org>
141 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
143 2002-02-20 Richard Henderson <rth@redhat.com>
146 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
148 2002-02-20 Tom Tromey <tromey@redhat.com>
150 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
151 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
152 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
153 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
154 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
157 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
159 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
160 for (const_int 0) in X not just INTVAL.
162 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
164 * doc/extend.texi: Avoid or reduce overfull hboxes.
166 2002-02-20 Diego Novillo <dnovillo@redhat.com>
168 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
169 operations if the field does not start at a mode boundary.
171 2001-02-20 Joel Sherrill <joel@OARcorp.com>
173 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
174 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
175 Also done for -Acpu and -Amachine.
177 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
179 * cppinit.c (init_dependency_output): Take deps output file
180 from -o if none given with -MF. Suppress normal output.
181 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
182 * doc/cpp.texi, doc/invoke.texi: Update.
184 2002-02-19 Zack Weinberg <zack@codesourcery.com>
186 * toplev.c (output_quoted_string): Write unprintable
187 characters with octal escapes.
189 2002-02-19 David Edelsohn <edelsohn@gnu.org>
191 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
192 really_call_used[VRSAVE_REGNO] if not Altivec.
194 2002-02-19 Alan Modra <amodra@bigpond.net.au>
196 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
198 (constant_pool_expr_1): Fix formatting.
199 (rs6000_legitimize_reload_address): Likewise.
201 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
203 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
204 now that we have one.
206 2002-02-19 Zack Weinberg <zack@codesourcery.com>
208 * tree.h (struct tree_common): Remove aux. Add unused_0 at
209 end of first block of bitfields (which was only seven bits);
210 rename dummy to unused_1; remove comment which is no longer true.
212 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
214 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
216 2002-02-19 Philip Blundell <pb@nexus.co.uk>
219 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
223 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
224 arm_is_longcall_p rather than inspecting call-type cookie
226 (call_value_insn) [TARGET_THUMB]: Likewise.
228 2002-02-19 Graham Stott <grahams@redhat.com>
230 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
232 2002-02-19 David Edelsohn <edelsohn@gnu.org>
234 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
235 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
236 (FP_SAVE_INLINE): Delete.
238 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
239 * config/rs6000/eabi.asm: Remove ABI save restore routines.
240 * config/rs6000/t-ppccomm: Build crtsavres.o.
241 * config/rs6000/crtsavres.asm: New file.
243 2002-02-19 Philip Blundell <philb@gnu.org>
245 * config/arm/arm.c (use_return_insn): Don't reject interrupt
247 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
248 (output_return_instruction): Allow interrupt functions to return with
249 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
250 (arm_expand_prologue): Subtract 4 before stacking LR in an
253 2002-02-19 Philip Blundell <pb@nexus.co.uk>
255 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
256 decl, not just FUNCTION_DECL.
257 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
258 (arm_assemble_integer): Likewise.
259 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
262 2002-02-19 matthew green <mrg@eterna.com.au>
264 * config.gcc (sparc-*-netbsdelf*): Enable target.
265 (sparc64-*-netbsd*): New target.
266 * config/sparc/netbsd-elf.h: New file.
267 * config/sparc/t-netbsd64: New file.
269 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
271 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
273 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
275 * doc/invoke.texi: explicitly list the style guidelines that
278 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
280 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
282 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
285 * gcc.c (cpp_unique_options): Treat -o as indicating object file
286 only if not -E. If -E, pass -o through to the preprocessor.
288 2002-02-19 Kazu Hirata <kazu@hxi.com>
290 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
291 register number with an appropriate macro.
293 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
295 * doc/rtl.texi (Constants): Close @code tag.
297 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
299 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
300 ("mmx_uavgv4hi3"): Same.
301 ("pmulhrwv4hi3"): Same.
303 * tree-inline.c (walk_tree): Handle vectors.
305 * c-common.c (constant_expression_warning): Handle vectors.
306 (overflow_warning): Same.
308 * sched-deps.c (sched_analyze_2): Handle vectors.
310 * rtlanal.c (rtx_unstable_p): Handle vectors.
311 (rtx_varies_p): Same.
312 (count_occurrences): Same.
313 (regs_set_between_p): Same.
314 (modified_between_p): Same.
315 (modified_in_p): Same.
316 (volatile_insn_p): Same.
317 (volatile_refs_p): Same.
318 (side_effects_p): Same.
320 (inequality_comparisons_p): Same.
321 (replace_regs): Same.
322 (computed_jump_p_1): Same.
324 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
326 (inner_mode_array): New.
327 (copy_rtx): Handle vectors.
328 (copy_most_rtx): Same.
330 (get_mode_alignment): Adjust for vectors.
332 * resource.c (mark_referenced_resources): Handle vectors.
333 (mark_set_resources): Same.
335 * reload1.c (eliminate_regs): Handle vectors.
336 (elimination_effects): Same.
337 (scan_paradoxical_subregs): Same.
339 * reload.c (subst_reg_equivs): Handle vectors.
341 * regrename.c (scan_rtx): Handle vectors.
343 * regclass.c (reg_scan_mark_refs): Handle vectors.
345 * recog.c (find_single_use_1): Handle vectors.
347 * local-alloc.c (equiv_init_varies_p): Handle vectors.
348 (contains_replace_regs): Same.
349 (memref_referenced_p): Same.
351 * integrate.c (copy_rtx_and_substitute): Handle vectors.
352 (subst_constants): Same.
354 * genattrtab.c (attr_copy_rtx): Handle vectors.
355 (encode_units_mask): Same.
356 (clear_struct_flag): Same.
357 (count_sub_rtxs): Same.
359 * gcse.c (want_to_gcse_p): Handle vectors.
360 (oprs_unchanged_p): Same.
362 (oprs_not_set_p): Same.
363 (expr_killed_p): Same.
364 (compute_transp): Same.
365 (store_ops_ok): Same.
367 * function.c (purge_addressof_1): Do not allow paradoxical subregs
369 (fixup_var_refs_1): Same.
370 (instantiate_virtual_regs_1): Same.
372 * fold-const.c (operand_equal_p): Handle vectors.
374 (rtl_expr_nonnegative_p): Same.
376 * flow.c (mark_used_regs): Handle vectors.
378 * df.c (df_uses_record): Handle vectors.
380 * cselib.c (cselib_subst_to_values): Handle vectors.
381 (cselib_mem_conflict_p): Same.
384 * cse.c (canon_reg): Handle vectors.
386 (cse_process_notes): Same.
387 (count_reg_usage): Same.
390 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
392 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
394 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
395 (gen_rtx): Handle CONST_VECTOR.
396 (gen_const_vector_0): New.
397 (copy_rtx_if_shared): CONST_VECTORs can be shared.
398 (reset_used_flags): Same.
400 (initializer_constant_valid_p): Handle VECTOR_CST.
402 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
404 * doc/rtl.texi (Constants): Document const_vector.
405 (CONST0_RTX): Update for vectors.
408 * print-tree.c (print_node): Add case for VECTOR_CST.
410 * tree.h (TREE_VECTOR_CST_ELTS): New.
411 (struct tree_vector): New.
412 (union tree_node): Add vector node.
413 (build_vector): Add prototype.
415 * tree.def (VECTOR_CST): New.
417 * tree.c (build_vector): New.
419 * expmed.c (make_tree): Handle CONST_VECTOR.
421 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
422 (CONST_VECTOR_ELT): New.
423 (CONST_VECTOR_NUNITS): New.
425 * machmode.h (GET_MODE_INNER): New.
426 (DEF_MACHMODE): Accept 8th arg.
428 * machmode.def: Add 8th argument for vector inner mode.
429 Add inner vector modes for vectors.
431 * rtl.def (VEC_CONST): Remove.
434 * expr.c (clear_storage): Allow vectors.
435 (is_zeros_p): Handle VECTOR_CST.
437 * varasm.c (output_constant_pool): Handle vectors.
438 (rtx_const): Add veclo and vechi fields.
439 (kind): Add RTX_VECTOR.
440 (decode_rtx_const): Add case for vector.
442 * config/rs6000/rs6000-protos.h: Add zero_constant.
444 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
445 constants. Force easy vector constants into memory.
446 (easy_vector_constant): New.
447 (emit_easy_vector_constant): New.
448 (rs6000_legitimize_reload_address): Do not generate bad reloads on
451 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
453 ("altivec_lvxl"): Same.
454 (altivec_lvebx): Same.
455 (altivec_lvehx): Same.
456 (altivec_lvewx): Same.
457 ("*movv4si_const0"): New.
458 ("*movv4sf_const0"): New.
459 ("*movv8hi_const0"): New.
460 ("*movv16qi_const0"): New.
462 2002-02-18 Kazu Hirata <kazu@hxi.com>
464 * config/h8300/h8300.c (notice_update_cc): Use
467 2002-02-18 Kazu Hirata <kazu@hxi.com>
469 * config/h8300/h8300.md (divmod patterns): Change the
470 constraints for operands[1] to register_operand.
472 2002-02-18 Kazu Hirata <kazu@hxi.com>
474 * config/h8300/h8300-protos.h: Remove the prototype for
476 * config/h8300/h8300.c (p_operand): Remove.
477 * config/h8300/h8300.md: Replace p_operand with
480 2002-02-18 Philip Blundell <pb@nexus.co.uk>
482 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
484 (output_return_instruction): Allow use of LDR to unstack
485 return addresss even for interrupt handlers or when
486 interworking. If compiling for ARMv5, use interworking-safe
487 return instructions by default. Remove duplicated code and
488 lengthy "strcat" sequences.
490 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
492 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
493 (LINK_EH_SPEC): Define.
494 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
496 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
498 * config/s390/s390.c (s390_emit_prologue): Do not set the
499 frame_related flag for call-clobbered registers.
501 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
503 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
504 (construct_container): Fix handling of SSE operands.
505 (ix86_expand_builtin): Fix handling of 64bit pointers.
506 (mmx_maskmovq_rex): New pattern.
508 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
510 * regrename.c (kill_set_value): Handle subregs properly.
512 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
514 * objc/objc-act.c (handle_impent): Remove leading '*'
515 from objc_class_name.
517 2002-02-17 Richard Henderson <rth@redhat.com>
519 * config/alpha/alpha.c (some_small_symbolic_operand,
520 some_small_symbolic_operand_1, split_small_symbolic_operand,
521 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
522 Handle small SYMBOL_REFs anywhere, not just inside memories.
523 * config/alpha/alpha-protos.h: Update.
524 * config/alpha/alpha.h (PREDICATE_CODES): Update.
525 * config/alpha/alpha.md (small symbolic operand splitter): Update.
527 2002-02-17 Roland McGrath <roland@frob.com>
529 * config.gcc (powerpc-*-gnu-gnualtivec*,
530 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
531 * config/rs6000/gnu.h: New file.
532 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
533 Grok "gnu" in rs6000_abi_name.
534 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
535 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
536 Grok -mcall-gnu analogous to -mcall-linux et al.
537 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
538 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
539 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
541 2002-02-17 Jakub Jelinek <jakub@redhat.com>
544 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
547 2002-02-17 Philipp Thomas <pthomas@suse.de>
549 * config/cris/cris.h: Undefine STARTFILE_SPEC and
550 ENDFILE_SPEC before (re)defining them.
552 2002-02-17 Kazu Hirata <kazu@hxi.com>
554 * config/h8300/h8300.c: Fix formatting.
555 * config/h8300/h8300.h: Likewise.
557 2002-02-17 Philipp Thomas <pthomas@suse.de>
559 * doc/tm.texi: Explain why empty strings should not be
560 marked for translation.
562 2002-02-17 Philipp Thomas <pthomas@suse.de>
564 * final.c (output_operand_lossage): Changed to accept
565 printf style arguments. Change calls where necessary.
566 * output.h (output_operand_lossage): Change declaration
567 accordingly. Update copyright.
568 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
569 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
570 Update copyright date where necessary.
572 * config/i386/i386.c (print_operand): Likewise. Remove use of
575 * config/cris/cris.c (cris_operand_lossage): Likewise.
576 Rename parameter so that exgettext recognizes it as
577 translatable message.
578 (LOSE_AND_RETURN): Rename parameter to msgid.
580 2002-02-17 Kazu Hirata <kazu@hxi.com>
582 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
583 hard coded register number with an appropriate macro.
584 (HARD_REGNO_MODE_OK): Likewise.
585 (ARG_POINTER_REGNUM): Likewise.
586 (STATIC_CHAIN_REGNUM): Likewise.
587 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
588 * config/h8300/h8300.md (define_constants): Define more
591 2002-02-17 Philipp Thomas <pthomas@suse.de>
593 * config/i386/i386.h: Don't mark empty strings for translation.
595 2002-02-16 H.J. Lu <hjl@gnu.org>
597 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
599 2002-02-16 Zack Weinberg <zack@codesourcery.com>
601 * cppinit.c (merge_include_chains): Check for brack being
602 NULL before attempting to merge it with qtail.
604 2002-02-16 Andrew Cagney <ac131313@redhat.com>
606 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
609 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
611 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
613 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
615 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
616 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
617 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
619 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
621 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
622 now only if !TARGET_FIX.
623 (*movsi_nt_vms_fix): New pattern.
625 2002-02-16 Douglas B Rupp <rupp@gnat.com>
627 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
628 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
629 (alpha_sa_mask, alpha_sa_size): Reflect above change.
630 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
631 (alpha_start_function, alpha_expand_epilogue): Likewise.
632 (unicosmk_gen_dsib): Likewise.
634 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
636 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
638 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
640 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
641 check_and_change_labels, s390_final_chunkify): Delete.
642 (s390_split_branches, s390_chunkify_pool): New functions.
643 (s390_function_prologue): Call them.
645 * config/s390/s390.h (S390_REL_MAX): Delete.
646 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
648 * config/s390/s390.md (cjump, icjump, jump): Fix length
649 attribute calculation.
652 2002-02-15 David Edelsohn <edelsohn@gnu.org>
654 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
655 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
657 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
659 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
660 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
661 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
663 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
665 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
667 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
669 * reload.c (find_dummy_reload): Check that an output register
670 is valid for its mode.
672 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
674 * combine.c (known_cond): After replacing the REG of a SUBREG, try
677 * function.c (assign_parms): Demote promoted argument passed by
678 transparent reference.
680 2001-02-14 Joel Sherrill <joel@OARcorp.com>
682 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
683 -Acpu() and -Amachine() to eliminate warnings.
685 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
687 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
689 2002-02-14 Kazu Hirata <kazu@hxi.com>
691 * config/h8300/h8300-protos.h: Update the prototype for
693 * config/h8300/h8300.c (const_costs): Treat SET as a little
694 more expensive operation.
695 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
696 reference to const_costs.
698 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
700 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
702 2002-02-14 Jakub Jelinek <jakub@redhat.com>
705 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
706 use arguments from newtype.
708 2002-02-13 Eric Christopher <echristo@redhat.com>
710 * config/mips/mips.c (override_options): Add check for march/mipsX
711 on the same command line. Fix error message in cpu processing.
712 Remove architecture and ISA checks.
714 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
716 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
718 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
720 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
722 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
724 ("*movv8hi_internal1"): Same.
725 ("*movv16qi_internal1"): Same.
726 ("*movv4sf_internal1"): Same.
728 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
729 not push_reload for altivec modes.
731 2002-02-13 Joel Sherrill <joel@OARcorp.com>
733 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
734 all RTEMS targets including removal of #includes from config/*/rtems*.h
735 file and adding them to tm_file setting. Added xm_defines=POSIX to
737 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
738 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
739 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
740 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
741 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
742 config/m68k/rtemself.h: Ditto.
743 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
744 config/mips/rtems64.h: Ditto.
745 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
746 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
748 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
749 config/sparc/rtemself.h: Ditto.
750 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
751 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
752 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
754 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
755 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
756 target made more similar to i386-elf.
757 * config/i386/t-rtems-i386: Added soft float support and multilibs.
758 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
759 be similar to config/m68k/t-m68kelf.
760 * gthr-rtems.h: Encapsulate with extern "C" for C++.
762 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
764 * regmove.c (kill_value): Handle subregs.
766 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
768 * i386.md (mul patterns): Allow memory operand to be first;
769 add expanders where needed; fix constraints.
770 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
771 Allow memory operand to be the first.
773 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
776 2002-02-13 Jakub Jelinek <jakub@redhat.com>
779 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
782 2002-02-13 Jakub Jelinek <jakub@redhat.com>
784 PR optimization/5547:
785 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
786 all valid IA-32 address modes involving non-scaled %ebx and
787 GOT/GOTOFF as displacement.
789 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
791 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
792 after emitting ltorg insns.
794 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
795 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
796 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
797 *abssf2): Fix "op_type" attribute.
799 2002-02-13 Douglas B Rupp <rupp@gnat.com>
801 * mkconfig.sh: Avoid using a subshell redirect.
802 ($output.T): Change to $(output)T.
803 (ENABLE_NLS): Remove unneeded undef.
805 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
806 * config/alpha/x-vms (libsubdir): Define.
808 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
809 register frame procedures. Optimize retrieving context.
811 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
812 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
813 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
815 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
817 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
818 Make same change as for find_base_value.
820 2002-02-13 Kazu Hirata <kazu@hxi.com>
822 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
823 of QImode and SImode.
825 2002-02-13 Kazu Hirata <kazu@hxi.com>
827 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
828 length computation of movsi.
829 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
831 2002-02-13 Kazu Hirata <kazu@hxi.com>
833 * config/h8300/h8300.md (subqi3): Tighten the predicate for
834 operands[2] to register_operand.
836 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
838 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
840 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
842 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
843 for altivec_lvx* and altivec_stvx*.
844 ("*movv4si_internal"): Add constraint for loading from GPRs.
845 ("*movv8hi_internal1"): Same.
846 ("*movv16qi_internal1"): Same.
847 ("*movv4sf_internal1"): Same.
849 * config/rs6000/rs6000.c (altivec_register_operand): New.
851 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
852 altivec_register_operand.
854 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
856 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
859 2002-02-13 Stan Shebs <shebs@apple.com>
861 * c-typeck.c (digest_init): Handle vectors.
862 (really_start_incremental_init): Same.
863 (pop_init_level): Same.
864 (process_init_element): Same.
866 * varasm.c (output_constant): Same.
868 * expr.c (clear_storage): Same.
869 (store_constructor): Same.
871 2002-02-12 Eric Christopher <echristo@redhat.com>
873 * explow.c (hard_function_value): Add comment explaining
874 signed/unsigned comparison.
876 2002-02-12 Jakub Jelinek <jakub@redhat.com>
878 * jump.c (never_reached_warning): Add finish argument.
879 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
881 * rtl.h (never_reached_warning): Adjust prototype.
882 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
883 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
884 never_reached_warning.
886 2002-02-12 Graham Stott <grahams@redhat.com>
888 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
890 2002-02-12 Kazu Hirata <kazu@hxi.com>
892 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
893 logical shifts on H8/300.
894 (shift_alg_si): Improve several shifts on H8/300.
895 (get_shift_alg): Likewise.
897 2002-02-12 Graham Stott <grahams@redhat.com>
899 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
901 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
903 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
904 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
906 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
908 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
909 non-CONST_INT through default_assemble_integer.
910 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
911 <case 8>: Abort for CONST_DOUBLE.
913 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
915 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
917 * config/pa/pa-linux.h (LIB_SPEC): Delete.
918 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
920 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
922 * config/stormy16/stormy16.md (zero_extendqihi2): New.
924 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
926 * regrename.c (regrename_optimize): Don't accept a
927 part-clobbered register if the replaced register is not part
930 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
931 take padding into account when computing the argument value.
933 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
935 * combine.c (try_combine): Apply substitutions in
936 CALL_INSN_FUNCTION_USAGE too.
938 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
940 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
941 __builtin_altivec_abs*.
944 * config/rs6000/rs6000.h (rs6000_builtins): Add
945 ALTIVEC_BUILTIN_ABS*.
947 * config/rs6000/altivec.h: Use const char for builtins expecting
949 (vec_abs): New versions for C and C++.
952 2002-02-10 Kazu Hirata <kazu@hxi.com>
954 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
957 2002-02-10 Kazu Hirata <kazu@hxi.com>
959 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
960 constant definition from h8300.md.
961 (FRAME_POINTER_REGNUM): Likewise.
962 * config/h8300/h8300.md (define_constants): Add FP_REG.
964 2002-02-10 Kazu Hirata <kazu@hxi.com>
966 * config/h8300/h8300.c (print_operand): Remove redundant code.
968 2002-02-10 Kazu Hirata <kazu@hxi.com>
970 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
971 * config/h8300/h8300.c (byte_reg): Make it static.
973 2002-02-10 Richard Henderson <rth@redhat.com>
976 * c-typeck.c (incomplete_type_error): Handle flexible array members.
978 2002-02-10 Richard Henderson <rth@redhat.com>
981 * tree.c (append_random_chars): Don't abort if main_input_filename
984 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
986 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
988 2002-02-10 Kazu Hirata <kazu@hxi.com>
990 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
993 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
995 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
996 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
998 2002-02-09 David O'Brien <obrien@FreeBSD.org>
1000 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
1002 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
1004 2002-02-09 Kazu Hirata <kazu@hxi.com>
1006 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
1007 a half of an SImode register on H8/300.
1009 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
1011 * i386.md (movdi_2): Add missing '!'.
1013 2002-02-09 Kazu Hirata <kazu@hxi.com>
1015 * config/h8300/h8300.h: Fix formatting. Remove commented-out
1018 2002-02-09 Kazu Hirata <kazu@hxi.com>
1020 * config/h8300/h8300.md (length): Correct the distance valid
1021 for the short branch.
1023 2002-02-09 Kazu Hirata <kazu@hxi.com>
1025 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
1027 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
1029 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
1030 registers in SImode.
1031 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
1034 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
1037 Contribute sh64-elf.
1038 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
1039 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
1040 (sh_cannot_modify_jumps_p): New function.
1041 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
1042 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
1043 (sh_ms_bitfield_layout_p): New function.
1044 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
1045 Zack Weinberg <zack@codesourcery.com>
1046 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
1047 expand_simple_binop instead of expand_binop.
1048 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
1049 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
1050 use of .quad and .uaquad.
1051 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
1052 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
1053 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1054 * config/sh/sh.md (movdi_const, movdi_const_32bit,
1055 movdi_const_16bit): Make sure all CONSTs have modes.
1056 (sym2PIC): Ditto, but by adjusting all callers.
1057 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
1058 if the prologue calls the SHmedia argument decoder or register
1060 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1061 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
1062 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
1063 (sh_expand_epilogue): Don't emit USE of return target register.
1064 (prepare_move_operands): Legitimize DImode PIC addresses.
1065 (sh_media_register_for_return): Skip tr0, used to initialize the
1067 (sh_expand_prologue): Remove explicit USE of return register.
1068 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
1069 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
1070 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
1071 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
1072 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
1074 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
1075 (MOVI_SHORI_BASE_OPERAND_P): New.
1076 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
1077 (EXTRA_CONSTRAINT_T): Define in terms of them.
1078 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
1079 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
1080 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
1081 alternatives supporting TARGET_REGS.
1082 (UNSPEC_GOTPLT): New constant.
1083 (movdi split): Move incrementing of LABEL_NUSES...
1084 (movdi_const, movdi_const_32bit): Here. Use
1085 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
1086 (movdi_const_16bit): New.
1087 (call, call_value) [flag_pic]: Use GOTPLT.
1088 (call_pop, call_value_pop): New expands.
1089 (call_pop_compact, call_pop_rettramp): New insns.
1090 (call_value_pop_compact, call_value_pop_rettramp): New insns.
1091 (sibcall) [flag_pic]: Use GOT.
1092 (builtint_setjmp_receiver): Remove bogus, unused expand.
1093 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
1094 (*pt, *ptb, ptrel): New insns.
1095 (sym2GOT): Handle DImode GOT.
1096 (sym2GOTPLT, symGOTPLT2reg): New expands.
1097 (sym2PIC): New expand.
1098 (shcompact_return_tramp): Use GOTPLT to return trampoline.
1099 (shcompact_return_tramp_i): Use return register explicitly.
1100 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
1101 disable flag_reorder_blocks.
1102 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1103 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
1104 clobbers, for clarity.
1105 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
1106 restoring of r0 in macl as MAYBE_DEAD.
1107 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1108 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
1109 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
1110 alter_subreg all over.
1111 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
1112 reload, instead of emitting instructions that would require
1114 (casesi_load_media): Add missing modes.
1115 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
1116 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
1117 as used if the argument decoder is called.
1118 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
1119 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
1120 Pmode, then extend it to DImode if necessary.
1121 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
1122 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
1123 constants in FPU-enabled SHmedia, let them be loaded from memory.
1124 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
1125 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
1126 Adjust whitespace in assembly output templates.
1127 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
1128 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
1129 mode of if_then_else.
1130 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
1131 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
1133 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
1134 Joern Rennecke <amylaar@redhat.com>
1135 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
1136 (SUBTARGET_CPP_PTR_SPEC): New.
1137 (SUBTARGET_CPP_SPEC): Remove.
1138 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
1139 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1140 Fix typo in previous checkin.
1141 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
1142 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
1143 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
1144 Alexandre Oliva <aoliva@redhat.com>
1145 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
1146 what single FP register can hold for SHmedia target.
1147 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
1148 Alexandre Oliva <aoliva@redhat.com>
1149 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1150 Do not split into SUBREG.
1151 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
1152 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
1153 and added new functions as specified in SH5 ABI r9.
1154 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
1155 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
1157 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
1158 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
1159 gen_consttable_4 and gen_consttable_8. Emit multiple labels
1160 and consttable_window_ends.
1161 2001-06-03 Graham Stott <grahams@redhat,com>
1162 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
1163 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
1164 * config/sh/sh.c (print_operand): Handle floating-point pair,
1165 vector and matrix registers.
1166 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
1167 vector modes into account.
1168 * config/sh/sh.md (movv2sf): Split move between registers into
1170 (movv4sf, movv16sf): Introduce insns that get split only after
1172 * config/sh/shmedia.h: Fix Copyright dates.
1173 * config/sh/ushmedia.h: Likewise. Move loop counter
1174 declarations into conditionals that uses them.
1175 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
1177 * config/sh/sshmedia.h: Fix Copyright dates.
1178 (sh_media_PUTCFG): Fix constraints.
1179 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
1180 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
1181 ptrmemfunc_vbit_in_delta for SH5.
1182 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
1183 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
1184 * invoke.texi: Likewise.
1185 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
1186 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
1187 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
1188 GCC_pop_shmedia_regs_nofpu): New global symbols.
1189 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
1190 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
1191 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
1192 compact function with nonlocal labels.
1193 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
1194 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
1195 (initial_elimination_offset): Account for their stack space.
1196 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
1197 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
1198 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
1199 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
1200 least one of the operands to be a register.
1201 (movv2sf): Likewise. Renamed to movv2sf_i.
1202 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
1203 prepare_move_operands() before emitting SHmedia insns.
1204 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
1205 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
1206 Don't save nor initialize r12. Don't mis-align the stack.
1207 Pad the code with a nop.
1208 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
1210 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1211 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
1212 [__SHMEDIA__]: Implement.
1213 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
1214 * config/sh/sh.md: Set latency of `pt' closer to reality.
1215 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
1216 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
1217 Set move, load and store type attributes.
1218 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
1219 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
1221 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
1222 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
1223 * config/sh/sh.c (sh_media_register_for_return): New function.
1224 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
1225 branch-target register.
1226 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
1227 * config/sh/sh.md (return_media_i): Use any call-clobbered
1228 branch-target register.
1229 (return_media): If r18 wasn't copied in the prologue, copy it
1231 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
1232 Clear class FP0_REGS.
1233 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
1235 2001-03-08 DJ Delorie <dj@redhat.com>
1236 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
1237 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
1238 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
1239 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
1240 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
1241 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1242 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
1243 return value correctly for call_cookie.
1244 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1245 * config/sh/crt1.asm (start): Modified so as to call
1246 ___setup_argv_and_call_main.
1247 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
1248 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
1250 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
1251 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
1252 (STRIP_NAME_ENCODING): Use it.
1253 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
1254 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
1255 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
1256 prepare_scc_operands().
1257 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
1258 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
1259 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
1260 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
1261 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
1262 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
1263 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
1264 used in shcompact_incoming_args.
1265 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
1267 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
1269 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
1271 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
1272 Simplify. Adjust. Add sanity check.
1273 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
1275 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
1277 (udivsi3, divsi3): Use them.
1278 (force_mode_for_call): New insn.
1279 (call, call_value, sibcall_value): Emit it before SHcompact
1281 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
1282 * config/sh/sh.md (call, call_value, sibcall): Make sure the
1283 call cookie is non-NULL before taking its value.
1284 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
1285 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
1286 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1287 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
1289 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
1290 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
1291 temporary for stack adjusts. Use MACL and MACH to pass
1292 arguments to shcompact_incoming_args.
1293 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
1295 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
1296 (nested_trampoline): Load static chain address into r1.
1297 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
1298 2001-01-07 Alexandre Oliva <aoliva@redhat.com
1299 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
1300 fp_arith_reg_operand().
1301 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
1302 * config/sh/sh.md (casesi): Sign-extend the first two operands,
1303 and use signed compares for them.
1304 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
1305 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
1306 ones properly aligned.
1307 (find_barrier): Account for extra alignment needed for 8-byte wide
1309 (machine_dependent_reorg): Require a label for the second 4-byte
1310 constant after an 8-byte one.
1311 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
1313 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
1314 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
1315 last_float when switching float modes.
1316 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
1317 auto-increment for general-purpose registers.
1318 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
1320 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
1322 * config/sh/sh.c (sh_builtin_saveregs): Support using all
1323 registers for varargs.
1324 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
1325 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
1326 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
1327 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
1328 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
1329 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
1330 call_cookie accordingly.
1331 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
1332 (SHCOMPACT_BYREF): Likewise.
1333 (SHCOMPACT_FORCE_ON_STACK): New macro.
1334 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
1335 (sh_builtin_saveregs): Likewise.
1336 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1337 shcompact_incoming_args): Use new shift values. Support
1338 sequences of consecutive and non-consecutive pushes/pops.
1339 * config/sh/sh.md (return): Don't explicitly use PR_REG.
1340 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
1341 * config/sh/sh.h (TEXT_SECTION): Define.
1342 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
1343 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
1344 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
1345 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
1346 return values on FPU-enabled SHmedia.
1347 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
1348 FPU-enabled SHmedia.
1349 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
1350 value is returned in a non-FP reg and is not returned by
1352 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
1354 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
1355 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
1356 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
1357 quad-aligned to be passed by callee-copy reference.
1358 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
1359 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
1360 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
1361 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
1362 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
1363 copying low-numbered FP regs to r7 and r8.
1364 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
1365 FP regs to general-purpose regs only if the copy was passed on the
1367 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
1368 copying FP reg to r9.
1369 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
1370 copy FP regs to general-purpose regs only in outgoing calls.
1371 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1372 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
1374 * config/sh/sh.h (struct sh_args): Document all fields.
1375 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
1376 passed partially on the stack should not consider making
1378 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
1379 stack_regs only for incoming calls. When passing FP args,
1380 make sure there are FP regs available before modifying
1382 (SHCOMPACT_BYREF): Pass double args in general-purpose
1383 registers by reference.
1384 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
1385 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
1386 attempt to generate sibcalls if the caller got any arguments
1388 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
1389 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
1390 to 8-byte boundaries.
1391 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
1392 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
1393 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
1394 stored in the stack.
1395 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
1396 for the offsets to have the ISA bit set.
1397 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
1398 invocation. Use beq instead of bgt to mark end of sequence of
1400 (shcompact_incoming_args): Fix store of r2. Use beq instead of
1401 bgt to mark end of sequence of stores.
1402 * config/sh/sh.c (arith_operand): Don't check whether
1403 CONST_OK_FOR_J for now.
1404 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
1405 instead of long for conversion.
1406 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
1407 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
1408 before passing it to fprintf.
1409 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
1410 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
1411 Call set_fpscr before reading/writing SR.
1412 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
1414 * config/sh/lib1funcs.asm: Add `.align 2' directives before
1416 (FMOVD_WORKS): Define on SH5 with FPU.
1417 (set_fpscr): Define on SH5. Remove separate _fpscr_values
1419 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
1421 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
1422 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
1424 (ia_main_table): Ditto.
1425 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
1426 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
1427 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
1428 the definitions from sh.h.
1429 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
1431 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
1432 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
1433 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1434 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
1435 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
1436 Increment LABEL_NUSES.
1438 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
1440 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
1442 * config/sh/elf.h (SIZE_TYPE): Likewise.
1443 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1444 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1445 shcompact_incoming_args): Load switch table addresses using
1447 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1448 (NO_BUILTIN_SIZE_TYPE): Define.
1449 (SIZE_TYPE): Don't define.
1450 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1451 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
1452 definition of __SH5__=32 for -m5-compact-nofpu.
1453 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
1455 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
1456 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
1457 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
1458 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
1459 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
1460 (INSN_LENGTH_ALIGNMENT): Likewise.
1461 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1462 * config/sh/sh.md (call, call_value, sibcall): Simplify
1463 copying of non-branch-target register.
1464 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1465 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
1466 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
1467 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1468 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
1469 floating-point values as structs.
1470 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
1471 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
1472 general-purpose register.
1473 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
1474 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
1475 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
1476 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
1477 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
1478 (ENCODE_SECTION_INFO): Enclose variables and constants in
1480 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
1481 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
1482 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
1483 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
1484 only for LABEL_REFs. For SYMBOL_REFs, prepend
1485 SH_DATALABEL_ENCODING to the symbol name.
1486 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
1488 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
1489 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
1491 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
1492 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
1493 (DATALABEL_REF_P): Don't require CONST.
1494 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
1496 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
1497 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
1499 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
1500 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
1501 Use shallow_copy_rtx and PUT_MODE to change the mode of
1502 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
1503 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
1504 on SHmedia using GENERAL_REGs.
1505 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1506 bltu_media_i): Fix reversion of conditions.
1507 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
1508 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
1509 * config/sh/sh.c (output_far_jump): Save r13 in macl.
1510 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
1511 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
1512 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1513 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
1514 (GCC_nested_trampoline): Likewise.
1515 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
1516 * config/sh/sh.c (gen_datalabel_ref): Define.
1517 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
1518 (INITIALIZE_TRAMPOLINE): Likewise.
1519 (TRAMPOLINE_ADJUST_ADDRESS): Define.
1520 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
1521 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
1522 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
1523 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
1524 (ic_invalidate): Adjust for SH5.
1525 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
1526 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
1528 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
1529 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
1530 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
1531 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
1532 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
1533 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
1534 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
1535 * config/sh/sh.c (target_reg_operand): Match only target-branch
1536 registers and pseudos that aren't virtual registers.
1537 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1538 Copy operands that don't match target_reg_operand to pseudos.
1539 (call_media, call_value_media, sibcall_media): Use
1540 target_reg_operand instead of target_operand.
1541 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
1542 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
1543 * config/sh/sh.c (target_reg_operand): Match hardware registers
1544 other than branch-target registers.
1545 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
1546 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
1547 (fpscr_values) [SH5 == 32]: Define.
1548 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
1549 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1550 Handle function addresses coming in SUBREGs.
1551 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
1552 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1553 shcompact_return_trampoline): Use datalabel where appropriate.
1554 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
1555 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
1556 general-purpose register to copy one branch-target register to
1558 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
1559 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
1560 SYMBOL_REFs with VOIDmode.
1561 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1562 bltu_media_i): New insns.
1563 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
1564 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
1565 (INIT_CUMULATIVE_ARGS): Likewise.
1566 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
1567 * machmode.def (V16SFmode): New mode.
1568 * c-common.c (type_for_mode): Support V2SF and V16SF.
1569 * tree.c (build_common_tree_nodes_2): Likewise.
1570 * tree.h (tree_index): Likewise.
1571 * calls.c (emit_call_1): Take args_so_far. Adjust all
1572 callers. Introduce CALL_POPS_ARGS.
1573 * tm.texi (CALL_POPS_ARGS): Document.
1574 * config/sh/crt1.asm: Implement in SHmedia mode.
1575 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
1576 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
1577 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
1578 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
1579 Implement divsi and udivsi in SHmedia mode. Introduce
1580 SHcompact trampolines.
1581 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
1583 (regno_reg_class): Rewrite.
1584 (fp_reg_names): Remove.
1585 (sh_register_names, sh_additional_register_names): New.
1586 (print_operand): Added `u'. Support SUBREGs in addresses.
1587 Add parentheses around shifted CONSTs.
1588 (output_file_start): Output .mode and .abi directives.
1589 (shiftcosts, addsubcosts, multcosts): Adjust.
1590 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
1591 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
1592 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
1593 bytes, not registers. Take into account the need for the
1594 SHcompact incoming args trampoline. Adjust all callers.
1595 (sh_expand_prologue): Take stack_regs into account. Call
1596 incoming args trampoline. Keep stack aligned as per SH5 ABI.
1597 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
1598 stack aligned as per SH5 ABI.
1599 (sh_builtin_saveregs): Support SH5 ABI.
1600 (sh_build_va_list, sh_va_start): Likewise.
1601 (initial_elimination_offset): Take alignment into account.
1602 Compute location of PR according to the SH5 stack frame.
1603 (arith_reg_operand): Reject branch-target registers.
1604 (shmedia_6bit_operand): New.
1605 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
1606 (target_reg_operand): Match DImode only. Accept SUBREGs.
1607 (target_operand): New.
1608 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
1609 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
1610 SIBCALL_REGS for SHmedia.
1611 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
1612 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
1613 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
1614 (TARGET_SWITCHES): New SH5 flags.
1615 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
1616 VALID_REGISTER_P to disable unsupported registers.
1617 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
1618 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
1619 (FUNCTION_ARG_PADDING): Define.
1620 (FASTEST_ALIGNMENT): Adjust.
1621 (SH_REGISTER_NAMES_INITIALIZER): New.
1622 (sh_register_names): Declare.
1623 (DEBUG_REGISTER_NAMES): Define.
1624 (REGISTER_NAMES): Define based on sh_register_names.
1625 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
1626 (sh_additional_register_names): Declare.
1627 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
1628 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
1629 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
1630 (REGISTER_NATURAL_MODE): Define.
1631 (FIRST_PSEUDO_REGISTER): Adjust.
1632 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
1633 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
1634 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
1635 (VECTOR_MODE_SUPPORTED_P): Define.
1636 (REG_CLASS_CONTENTS): Adjust.
1637 (SMALL_REGISTER_CLASSES): Adjust.
1638 (REG_ALLOC_ORDER): Adjust.
1639 (INDEX_REG_CLASS): Adjust.
1640 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
1641 (CONST_OK_FOR_LETTER_P): Adjust.
1642 (PREFERRED_RELOAD_CLASS): Adjust.
1643 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
1644 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
1645 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
1646 (FIRST_FP_PARM_REG): Adjust.
1647 (CALL_POPS_ARGS): Define.
1648 (FUNCTION_ARG_REGNO_P): Adjust.
1649 (struct sh_args): New fields.
1650 (GET_SH_ARG_CLASS): Adjust.
1651 (INIT_CUMULATIVE_ARGS): Adjust.
1652 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
1653 (FUNCTION_ARG_ADVANCE): Adjust.
1654 (FUNCTION_ARG): Adjust.
1655 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
1656 (FUNCTION_ARG_CALLEE_COPIES): Define.
1657 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
1658 (STRICT_ARGUMENT_NAMING): Define.
1659 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
1660 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
1661 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
1662 (SETUP_INCOMING_VARARGS): Adjust.
1663 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
1664 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
1665 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
1666 (SUBREG_OK_FOR_INDEX_P): Adjust.
1667 (EXTRA_CONSTRAINT_S): Update.
1668 (EXTRA_CONSTRAINT_T): New.
1669 (EXTRA_CONSTRAINT): Adjust.
1670 (GO_IF_LEGITIMATE_INDEX): Adjust.
1671 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
1672 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
1674 (MAX_MOVE_MAX): Define.
1676 (CONST_COSTS): Adjust.
1677 (REGISTER_MOVE_COST): Adjust.
1678 (BRANCH_COST): Adjust.
1679 (TEXT_SECTION_ASM_OP): Adjust.
1680 (DBX_REGISTER_NUMBER): Adjust.
1681 (ASM_OUTPUT_DOUBLE_INT): New.
1682 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
1683 (PREDICATE_CODES): Adjust.
1684 (PROMOTE_MODE): Adjust.
1685 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
1686 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
1687 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
1688 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
1689 (DR0_REG, DR2_REG, DR4_REG): Renumber.
1690 (TR0_REG, TR1_REG, TR2_REG): New.
1691 (XD0_REG): Renumber.
1692 (UNSPEC_COMPACT_ARGS): New.
1693 (type): Added pt and ptabs.
1694 (length): Default to 4 on SHmedia. Default pt length to 12
1695 and 20 on SHmedia32 and SHmedia64, respectively.
1696 (pt): New function unit.
1697 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
1698 Add whitespace between operands of SHmedia instructions.
1700 (adddi3_media, addsi3_media): Adjust constraints.
1701 (subsi3) [SHmedia]: Force operand 1 into a register.
1702 (udivsi3_i1_media, udivsi3_i4_media): New.
1703 (udivsi3): Support SHmedia.
1704 (divsi3_i1_media, divsi3_i4_media): New.
1705 (divsi3): Support SHmedia.
1706 (anddi3, iordi3, xordi3): Adjust constraints.
1707 (zero_extendhidi2, zero_extendqidi2): New.
1708 (extendsidi2, extendhidi2, extendqidi2): New.
1709 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
1710 (pop_e, pop_fpul, pop_4): Likewise.
1711 (movsi_media): Support FP and BT registers.
1712 (movsi_media_nofpu): New. Adjust splits to DImode.
1713 (lduw, ldub): Renamed to zero_extend* above.
1714 (movqi_media): Fix typo.
1715 (movdi_media): Support FP and BT registers.
1716 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
1717 (movdi_const_32bit): New.
1718 (shori_media): Require immediate operand. Use `u' for output.
1719 (movdf_media, movsf_media): Simplified.
1720 (movdf_media_nofpu, movsf_media_nofpu): New.
1721 (movdf, movsf): Adjust
1722 (movv2sf, movv2sf, movv16sf): New.
1723 (beq_media, beq_media_i): Adjust constraints. Don't use
1724 scratch BT register.
1725 (bne_media, bne_media_i): Likewise.
1726 (bgt_media, bgt_media_i): Likewise.
1727 (bge_media, bge_media_i): Likewise.
1728 (bgtu_media, bgtu_media_i): Likewise.
1729 (bgeu_media, bgeu_media_i): Likewise.
1730 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
1731 bunordered): Emit jump insn. Force operands to registers when
1733 (jump_media, jump): Simplify.
1734 (call_compact, call_compact_rettramp): New.
1735 (call_value_compact, call_value_compact_rettramp): New.
1736 (call_media, call_value_media): Simplify.
1737 (sibcall_compact, sibcall_media): New.
1738 (call, call_value): Adjust for SHmedia and SHcompact.
1739 (sibcall, sibcall_value, untyped_call): Likewise.
1740 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
1741 (indirect_jump): Adjust for SHmedia.
1742 (casesi_jump_media): New.
1743 (nop): Re-enable for SHmedia.
1744 (call_site): Restrict to SH1.
1745 (casesi): Adjust for SHmedia.
1746 (casesi_shift_media, casesi_load_media): New.
1747 (return): Explicitly use PR register. Call return trampoline
1749 (return_i): Explicitly use PR register.
1750 (shcompact_return_tramp, shcompact_return_tramp_i): New.
1751 (return_media): Adjust.
1752 (shcompact_incoming_args): New.
1754 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
1755 (movstrsi): Disable on SH5.
1756 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
1757 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
1758 (subsf3, subsf3_media): Likewise.
1759 (mulsf3, mulsf3_media, mac_media): Likewise.
1760 (divsf3, divsf3_media): Likewise.
1761 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
1762 (floatsisf2, fux_truncsfsi2): Likewise.
1763 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
1765 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
1766 (cmpunsf_media, cmpsf): Likewise.
1767 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
1768 (abssf2, abssf2_media): Likewise.
1769 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
1770 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
1771 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
1772 (floatsidf2, fix_truncdfsi2): Likewise.
1773 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
1775 (cmpeqdf_media, cmpgtdf_media): Likewise.
1776 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
1777 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
1778 (absdf2, absdf2_media): Likewise.
1779 (extendsfdf2, extendsfdf2_media): Likewise.
1780 (truncsfdf2, truncsfdf2_media): Likewise.
1781 * config/sh/sh64.h: New file.
1782 * config/sh/t-sh64: New file.
1783 * config/sh/shmedia.h: New file.
1784 * config/sh/ushmedia.h: New file.
1785 * config/sh/sshmedia.h: New file.
1786 * configure.in: Added sh64-*-elf.
1787 * configure: Rebuilt.
1788 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
1789 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
1790 (reg_class_from_letter): Use `b' for TARGET_REGS.
1791 (print_operand): Support `%M', `%m', `AND' and
1792 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
1793 (andcosts): Adjust for SHmedia.
1794 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
1796 (target_reg_operand): New function.
1797 * config/sh/sh-protos.h (target_reg_operand): Declare.
1798 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
1799 FP registers on SH5.
1800 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
1802 (TARGET_REGISTER_P): New macro.
1803 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
1804 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
1805 (EXTRA_CONSTRAINT_S): New macro.
1806 (EXTRA_CONSTRAINT): Adjust.
1807 (FLOAT_TYPE_SIZE): Define to 32.
1808 (Pmode): DImode on SHmedia.
1809 (CONST_COSTS): Adjust for SHmedia literals.
1810 (PREDICATE_CODES): Added target_reg_operand.
1811 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
1812 * config/sh/sh.md: Remove all attrs from SHmedia insns.
1813 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
1814 (cmpdi): Accept SHmedia.
1815 (movdicc_false, movdicc_true): New insns.
1816 (movdicc): New expand.
1817 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
1819 (addsi3_media): Match `S' constraint.
1820 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
1821 (negdi2): Expand for SHmedia.
1822 (one_cmpldi2): New expand.
1823 (zero_extendsidi2): Change from expand to insn.
1824 (extendsidi2): Add constraints.
1825 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
1826 LD/ST address. Fix SI immediate loading split.
1827 (movhi_media, movqi_media, lduw, ldub): New insns.
1828 (movhi, movqi): Accept SHmedia.
1829 (shori_media, movdi_media): Relax input constraints. Split
1831 (movdf_media, movsf_media): New insn. New split to movdi.
1832 (movdf, movsf): Match on SHmedia.
1833 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
1834 bgeu_media): New insns and splits. New insns with `_i' suffix.
1835 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
1836 (bunordered): New expand.
1837 (jump_compact): Renamed from `jump'.
1838 (jump_media): New insn.
1840 (call_media, call_value_media): New insns.
1841 (call, call_value): Adjust.
1842 (indirect_jump_compact): Renamed from `indirect_jump'.
1843 (indirect_jump_media): New insn.
1844 (indirect_jump): New expand.
1845 (untyped_call, return): Accept SHmedia.
1846 (return_media): New insn.
1847 (prologue, epilogue, blockage): Accept SHmedia.
1848 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
1849 (sunordered): New expand.
1850 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
1851 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
1852 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
1853 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
1854 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
1855 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
1856 abssf2_media): New insns.
1857 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
1858 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
1859 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
1860 floatdidf2, floatsidf2_media, fix_truncdfdi2,
1861 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
1862 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
1863 absdf2_media): New insns.
1864 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
1865 (extendsfdf2_media, truncdfsf2_media): New insns.
1866 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
1867 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
1868 * config/sh/sh.h (CONST_OK_FOR_J): Document.
1869 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
1870 * config/sh/sh.md (adddi3): New expand.
1871 (adddi3_media, adddi3z_media): New insns.
1872 (adddi3_compact): Renamed from adddi3.
1873 (addsi3_media): Use add.l r63 to add constant zero.
1874 (subdi3): New expand.
1875 (subdi3_media): New insn.
1876 (subdi3_compact): Renamed from subdi3.
1877 (mulsidi3): New expand.
1878 (mulsidi3_media): New insn.
1879 (mulsidi3_compact): Renamed from mulsidi3.
1880 (umulsidi3): New expand.
1881 (umulsidi3_media): New insn.
1882 (umulsidi3_compact): Renamed from umulsidi3.
1883 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
1884 (ashlsi3, ashrsi3, lshrsi3): Use them.
1885 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
1886 (ashldi3, ashrdi3, lshrdi3): Use them.
1887 (zero_extendsidi2): New expand.
1888 (extendsidi2): New insn.
1889 (movsi_media): New insn. Split to movdi to load constants.
1890 (movsi): Enable for shmedia.
1891 (movdi_media): New insn. Use shori_media to load wide constants.
1892 (short_media): New insn.
1893 (movdi): Enable for shmedia.
1894 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
1895 * config/sh/sh.h (CPP_SPEC): Added `m5'.
1896 (SUBTARGET_CPP_SPEC): Added `!m5'.
1897 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
1898 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
1899 to all other SH variants.
1900 (TARGET_DEFAULT): Set to SH1_BIT.
1901 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
1902 (BITS_PER_WORD): Raise to 64 on shmedia.
1903 (MAX_BITS_PER_WORD): Change to 64.
1904 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
1905 (INT_TYPE_SIZE): Keep as 32.
1906 (UNITS_PER_WORD): Raise to 8 on shmedia.
1907 (MIN_UNITS_PER_WORD): Keep as 4.
1908 (POINTER_SIZE): Raise to 64 on shmedia.
1909 (CONST_OK_FOR_J): New macro.
1910 (CONST_OK_FOR_LETTER_P): Use it.
1911 (processor_type): Add PROCESSOR_SH5.
1912 * config/sh/sh.md: Conditionalize all expands, insns and
1913 splits to TARGET_SH1.
1915 (addsi3_compact): Renamed from...
1916 (addsi3): Now an expand.
1917 (addsi3_media, subsi3_media): New insns.
1918 (subsi3): Don't negate constants with SHmedia.
1920 * hooks.c: New file.
1921 * hooks.h: New file.
1922 * Makefile.in (HOOKS_H): New.
1923 (TARGET_DEF_H): Added $(HOOKS_H).
1924 (OBJS): Added hooks.o.
1925 (cfgcleanup.o, bb-reorder.o): Added target.h.
1926 (hooks.o): Added dependencies.
1927 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
1928 (TARGET_INITIALIZER): this.
1929 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
1930 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
1931 * bb-reorder.c: Include target.h.
1932 (reorder_basic_blocks): Skip if cannot modify jumps.
1933 * cfgcleanup.c: Include target.h.
1934 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
1936 2002-02-08 Chris Demetriou <cgd@broadcom.com>
1938 * config/mips/mips.md (casesi_internal, casesi_internal_di):
1939 Protect jump delay slot instructions with .set noreorder and
1942 2002-02-08 Chris Demetriou <cgd@broadcom.com>
1944 * config/mips/mips.md (casesi_internal_di): Calculate
1945 the index into the target offset table correctly.
1947 2002-02-08 Richard Henderson <rth@redhat.com>
1949 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
1950 * final.c (output_addr_const): Accept and discard SUBREG.
1951 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
1952 mark them unknown instead.
1953 (simplify_subtraction): Handle RTX_UNKNOWN.
1954 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
1956 2002-02-08 David Edelsohn <edelsohn@gnu.org>
1958 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
1960 2002-02-08 Richard Henderson <rth@redhat.com>
1962 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
1964 2002-02-08 Andreas Jaeger <aj@suse.de>
1966 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
1967 * config/i386/t-linux64: New file.
1969 2002-02-08 Jakub Jelinek <jakub@redhat.com>
1971 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
1972 * c-parse.in (compstmt): Clear last_expr_type.
1974 2002-02-07 Richard Henderson <rth@redhat.com>
1976 * loop.c (strength_reduce): Sink final_value when not
1979 2002-02-07 David O'Brien <obrien@FreeBSD.org>
1981 * config/sparc/freebsd.h: Fix mismatched spec {.
1983 2002-02-07 Richard Henderson <rth@redhat.com>
1985 * cfgrtl.c: Include recog.h and insn-config.h.
1986 (keep_with_call_p): Fix general_operand invocation.
1987 * Makefile.in (cfgrtl.o): Update dependencies.
1989 2002-02-07 Kazu Hirata <kazu@hxi.com>
1991 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
1992 comment. Accept HImode only if TARGET_H8300.
1994 2002-02-07 Eric Christopher <echristo@redhat.com>
1996 * config/mips/crtn.asm: Cleanup #ifdefs.
1998 2002-02-07 Eric Christopher <echristo@redhat.com>
2000 * config/mips/crti.asm: Add changes for mips16. mips16 uses
2001 register 7 as RA instead of $31.
2002 * config/mips/crtn.asm: Ditto.
2003 * config/mips/mips.c (mips_move_2words): Add case for
2004 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
2005 (compute_frame_size): Fix typo.
2006 (save_restore_insns): Ditto. Make documentation about using
2007 register $7 as return register more precise.
2008 (mips_expand_epilogue): Fix comment. Add code to work around not
2009 being able to add to the stack pointer directly.
2010 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
2011 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
2014 2002-02-07 Tom Rix <trix@redhat.com>
2016 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
2017 immediates in ldu and stdu DS opcode field.
2018 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
2019 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
2020 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
2022 2002-02-07 Jeff Sturm <jsturm@one-point.com>
2024 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
2025 offset for stack bias.
2027 2002-02-07 H.J. Lu <hjl@gnu.org>
2029 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
2031 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
2033 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
2035 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
2037 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
2038 * i386.c (x86_order_regs_for_local_alloc): New global function.
2039 * i386.h (REG_ALLOC_ORDER): CLeanup.
2040 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
2042 2002-02-07 Richard Henderson <rth@redhat.com>
2044 PR optimization/2463
2045 * alias.c (find_base_value): Recall base values for fixed hard regs.
2046 * loop.c (loop_regs_update): Don't use single_set on non-insns.
2048 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
2050 * config/mips/mips.md (define_delay) [mips16]: Adjust required
2053 2002-02-06 Richard Henderson <rth@redhat.com>
2056 * stmt.c (resolve_operand_name_1): Take more care with mixed
2057 named and unnamed operands.
2059 2002-02-06 Janis Johnson <janis187@us.ibm.com>
2060 Jan Hubicka <jh@suse.cz>
2062 * loop.c (remove_constant_addition): Avoid clobbering a shared
2065 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2067 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
2068 * config/s390/t-linux64: New file.
2069 * config/s390/libgcc-glibc.ver: New file.
2071 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2073 * config/s390/linux64.h: Delete file.
2074 * config/s390/s390x.h: New file.
2075 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
2076 as target header file.
2077 * config/s390/linux.h (TARGET_VERSION): Define depending on
2078 DEFAULT_TARGET_64BIT.
2079 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
2080 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
2081 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
2082 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
2083 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
2084 (EXTRA_SPEC): New define.
2085 * config/s390/s390.h (TARGET_VERSION): Define depending on
2086 DEFAULT_TARGET_64BIT.
2087 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
2089 2002-02-06 Jason Merrill <jason@redhat.com>
2091 * c-decl.c (finish_function): Warn about a non-void function with
2092 no return statement and no abnormal exit.
2093 (current_function_returns_abnormally): New variable.
2094 (start_function): Clear it.
2095 (struct c_language_function): Add returns_abnormally.
2096 (push_c_function_context): Save it.
2097 (pop_c_function_context): Restore it.
2098 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
2099 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
2100 an explicit return type.
2101 * c-tree.h: Declare current_function_returns_abnormally.
2102 (C_FUNCTION_IMPLICIT_INT): New macro.
2103 * c-typeck.c (build_function_call): Set it.
2104 (c_expand_return): Set current_function_returns_value even if the
2107 2002-02-06 Jakub Jelinek <jakub@redhat.com>
2110 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
2111 unsafe for reevaluation.
2113 2002-02-06 Jakub Jelinek <jakub@redhat.com>
2116 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
2117 EXPR_STMT, but COMPOUND_STMT, recurse into it.
2119 2002-02-06 Richard Henderson <rth@redhat.com>
2121 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
2122 be a general_operand. Dest for function value must be a pseudo.
2124 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
2126 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
2127 as SYMBOL_REFs from the constant pool.
2129 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
2131 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
2132 passed by invisible reference.
2134 2002-02-05 Richard Henderson <rth@redhat.com>
2136 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
2138 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
2140 Implement using "base addresses" in insn operands as default.
2141 * config/mmix/mmix.c (mmix_conditional_register_usage): if
2142 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
2143 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
2144 used to read the rtx value.
2145 (mmix_target_asm_function_epilogue): Fix spacing.
2146 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
2147 (mmix_legitimate_address): Ditto.
2148 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
2149 should be loaded with a GETA insn. Don't allocate needless extra
2150 char for nul termination and fix misleading comment.
2151 (mmix_print_operand_address): Handle constants if
2152 TARGET_BASE_ADDRESSES.
2153 (mmix_output_register_setting): Use base addressing if
2154 TARGET_BASE_ADDRESSES and the number of insns is 3.
2155 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
2156 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
2157 to use R as constraint, add LDA to match s.
2158 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
2159 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
2160 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
2161 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
2162 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
2163 order with other fixed registers.
2164 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
2165 other parameter/call-clobbered registers.
2166 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
2167 -mbase-addresses, -mno-base-addresses.
2168 (MMIX Options): Ditto.
2170 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2172 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
2174 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
2176 * config/rs6000/altivec.h: Change elem to _S_elem.
2178 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
2180 * config/netbsd.h (WCHAR_TYPE): Define.
2181 (WCHAR_TYPE_SIZE): Ditto.
2183 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
2184 (WCHAR_UNSIGNED): Ditto.
2185 (WCHAR_TYPE_SIZE): Ditto.
2187 * config/arm/netbsd.h: Likewise.
2188 * config/i386/netbsd-elf.h: Likewise.
2189 * config/i386/netbsd.h: Likewise.
2190 * config/m68k/netbsd-elf.h: Likewise.
2191 * config/m68k/netbsd.h: Likewise.
2192 * config/ns32k/netbsd.h: Likewise.
2193 * config/sparc/netbsd.h: Likewise.
2194 * config/vax/netbsd.: Likewise.
2196 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
2198 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
2199 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
2200 (TARGET_INITIALIZER): this.
2201 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
2202 (BITFIELD_NBYTES_LIMITED): Markup fix.
2203 * tree.h (default_ms_bitfield_layout_p): Declare.
2204 (record_layout_info): Added prev_field.
2205 * tree.c (default_ms_bitfield_layout_p): New fn.
2206 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
2207 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
2208 * stor-layout.c: Include target.h.
2209 (start_record_layout): Initialize prev_field.
2210 (place_field): Handle MS bit-field layout, and disregard
2211 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
2212 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
2213 * Makefile.in (stor-layout.o): Adjust dependencies.
2215 2002-02-05 Jason Merrill <jason@redhat.com>
2217 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
2219 2002-02-05 Andreas Jaeger <aj@suse.de>
2221 * crtstuff.c: Fix comments.
2223 2002-02-05 Richard Henderson <rth@redhat.com>
2226 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
2227 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
2230 * config/mips/mips.c (function_arg): Handle TImode.
2231 (function_arg_advance): Likewise.
2233 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2235 * config/rs6000/altivec.h (vec_step_help): Rename to
2238 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2240 * config/rs6000/altivec.h: Fix typos.
2242 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
2244 * config/arm/netbsd.h: Correct a comment.
2246 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2248 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
2249 building void typed builtins.
2251 * config/rs6000/altivec.h (vec_ld*): Fix typos.
2252 (vec_step): Implement for C++.
2254 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2256 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
2258 2002-02-04 Richard Henderson <rth@redhat.com>
2260 * combine.c (nonzero_bits): Re-introduce special case for
2261 sp/fp/ap wrt REGNO_POINTER_ALIGN.
2263 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2265 * doc/extend.texi: Warn about unsupported usage of altivec
2268 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
2269 (altivec_predicate_*): New.
2271 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
2272 Add C++ version of vec_*() functions.
2274 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
2275 (bdesc_2arg): Remove altivec predicates.
2276 (altivec_expand_builtin): Handle predicates.
2277 (altivec_init_builtins): Handle predicates.
2278 (altivec_expand_predicate_builtin): New.
2280 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2282 * pa.c (DO_FRAME_NOTES): Move forward.
2283 (store_reg): Revise handling of frame notes.
2284 (load_reg): Likewise.
2285 (set_reg_plus_d): Likewise.
2286 (hppa_expand_prologue): Likewise.
2287 (hppa_expand_epilogue): Likewise.
2289 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2291 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
2293 2002-02-04 Jakub Jelinek <jakub@redhat.com>
2295 PR c/4475, c++/3780:
2296 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
2297 * c-common.h (SWITCH_TYPE): Define.
2298 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
2299 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
2300 Rename spareness variable to sparseness.
2301 (expand_end_case_type): Renamed from expand_end_case, use orig_type
2302 if non-NULL instead of TREE_TYPE (orig_index).
2303 * tree.h (expand_end_case_type): Renamed from expand_end_case.
2304 (expand_end_case): Define using expand_end_case_type.
2305 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
2306 to expand_end_case_type.
2307 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
2309 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2311 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
2312 (BIGGEST_ALIGNMENT): Change to 128.
2314 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2316 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
2318 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2320 * pa.md (call_internal_reg_64bit): Remove unused variable.
2322 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
2324 * config/arm/arm.h (machine_function): Add uses_anonymous_args
2326 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
2327 * config/arm/arm.c (current_function_anonymous_args): Delete,
2328 replace uses with cfun->machine->uses_anonymous_args.
2329 (arm_reorg): Do not reset uses_anonymous_args.
2331 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
2332 any geenral register.
2334 2001-02-04 Bernd Schmidt <bernds@redhat.com>
2336 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
2339 2002-02-04 Richard Henderson <rth@redhat.com>
2341 * combine.c (force_to_mode): Remove STACK_BIAS code.
2342 (nonzero_bits): Likewise. Replace sp/fp special case with
2343 REGNO_POINTER_ALIGN.
2345 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
2346 (HARD_FRAME_POINTER_REGNUM): New.
2347 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
2348 (FIXED_REGS, CALL_USED_REGS): Update.
2349 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
2350 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
2351 (HARD_REGNO_NREGS): Update for SFP.
2352 (STACK_POINTER_OFFSET): Include bias here ...
2353 (FIRST_PARM_OFFSET): ... not here.
2354 (STACK_BIAS): Remove.
2355 (INIT_EXPANDERS): New.
2356 (STARTING_FRAME_OFFSET): Do not include bias.
2357 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
2358 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
2359 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
2360 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
2361 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
2362 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
2363 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
2364 (MUST_SAVE_REGISTER): Likewise.
2365 (sparc_flat_function_prologue): Likewise.
2366 (sparc_flat_function_epilogue): Likewise.
2367 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
2368 (sparc_init_modes): SFP is GENERAL_REGS.
2369 (sparc_builtin_saveregs): SFP does not have bias applied.
2371 2002-02-04 Richard Henderson <rth@redhat.com>
2373 * config/alpha/alpha.c (current_function_is_thunk): Don't check
2374 current_function_is_thunk.
2375 (alpha_sa_mask): Distinguish between current_function_is_thunk
2376 called from ASM_OUTPUT_MI_THUNK and not.
2377 (alpha_does_function_need_gp): Thunks always need gp.
2378 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
2379 (alpha_output_mi_thunk_osf): New.
2380 * config/alpha/alpha-protos.h: Update.
2381 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
2383 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
2385 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
2386 function types, not when they're taken away.
2388 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
2390 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
2391 CODE_LABEL and jump table when replacing a table jump with a
2394 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2396 * config/s390/s390-protos.h (legitimize_la_operand,
2397 s390_secondary_input_reload_class, s390_plus_operand,
2398 s390_expand_plus_operand): Add prototypes.
2400 config/s390/s390.c (s390_secondary_input_reload_class,
2401 s390_plus_operand, s390_expand_plus_operand): New functions.
2403 (struct s390_address): New member 'pointer'.
2404 (s390_decompose_address): Compute it.
2405 (legitimate_la_operand_p): Use it.
2406 (legitimize_la_operand): New function.
2407 (movti, movdi, movdf splitters): Call it.
2409 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
2410 (PREDICATE_CODES): Add s390_plus_operand.
2412 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
2413 (la_ccclobber): Allow GENERAL_REGS as output operand.
2415 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
2416 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
2417 (*la_64, *la_31, reload_indi, reload_insi): ... these.
2419 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2421 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
2422 register names for regular asm () construct.
2424 2002-02-04 Jakub Jelinek <jakub@redhat.com>
2426 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
2429 2002-02-04 Jakub Jelinek <jakub@redhat.com>
2431 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
2434 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
2436 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
2437 constant pool to be identical by string address and index.
2439 2002-02-04 Anthony Green <green@redhat.com>
2441 * output.h (SECTION_OVERRIDE): Define.
2442 * varasm.c (named_section): Obey SECTION_OVERRIDE.
2444 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
2446 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
2447 by existing arm*-*-netbsd* (a.out) target.
2448 (ns32k-*-netbsdelf*): Likewise.
2449 (sparc-*-netbsdelf*): Likewise.
2450 (vax-*-netbsdelf*): Likewise.
2452 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
2454 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
2455 headers and libobjc headers.
2457 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
2459 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
2460 (_mingw.h): Remove duplicate include.
2462 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
2464 * config.gcc: Set cpu_type to m68k for 68010, as well.
2465 (m68010-*-netbsdelf*): New...
2466 (m68k*-*-netbsdelf*): ...targets.
2467 * config/m68k/netbsd-elf.h: New file.
2469 2002-02-02 Kazu Hirata <kazu@hxi.com>
2471 * config/h8300/h8300.c (hand_list): Move inside function_arg.
2473 2002-02-02 Kazu Hirata <kazu@hxi.com>
2475 * config/h8300/h8300.c (h8_push_ops): Move inside
2477 (h8_pop_ops): Likewise.
2478 (h8_move_ops): Likewise.
2480 2002-02-02 Kazu Hirata <kazu@hxi.com>
2482 * config/h8300/h8300.c (os_task): Make it static.
2483 (monitor): Likewise.
2484 (pragma_saveall): Likewise.
2486 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
2488 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
2489 constant is a valid sign-extension for Pmode.
2491 2002-02-02 Kazu Hirata <kazu@hxi.com>
2493 * config/h8300/h8300.c: Fix formatting.
2495 2002-02-02 Kazu Hirata <kazu@hxi.com>
2497 * config/h8300/h8300.md: Fix formatting.
2499 2002-02-02 Kazu Hirata <kazu@hxi.com>
2501 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
2502 predicates of operands[1]. Split the patterns for each
2505 2002-02-02 Kazu Hirata <kazu@hxi.com>
2507 * config/h8300/h8300.md (xor patterns): Tighten the predicates
2508 of operands[1] to register_operand.
2510 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
2512 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
2513 * cpphash.c (_cpp_init_hashtable): Similarly.
2514 * cppinit.c (cpp_create_reader): Default the signed_char flag.
2515 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
2516 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
2517 (cpp_handle_option): Handle the new options.
2518 * cpplex.c (cpp_interpret_charconst): Use new flag.
2519 * cpplib.h (struct cpp_options): New member signed_char.
2520 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
2521 (cpp_options): Handle -fsigned-char and -funsigned-char.
2522 (static_specs): Remove signed_char_spec.
2523 (do_spec1): Don't handle %c.
2524 * system.h: Poison SIGNED_CHAR_SPEC.
2525 * tradcif.y (yylex): Use flag_signed_char.
2526 * tradcpp.h (flag_signed_char): New.
2527 * tradcpp.c (flag_signed_char): New.
2528 (main): Handle new command-line options.
2529 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
2531 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
2532 * avr/avr.h: Remove old comments.
2533 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
2534 (CC1_SPEC): Pass -fsigned-char if -mic*.
2535 (SIGNED_CHAR_SPEC): Remove.
2537 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
2539 2002-02-01 Eric Christopher <echristo@redhat.com>
2541 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
2542 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
2543 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
2544 (ASM_OUTPUT_REG_POP): Ditto.
2546 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
2548 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
2551 2002-02-02 Jakub Jelinek <jakub@redhat.com>
2553 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
2555 2002-02-02 Jakub Jelinek <jakub@redhat.com>
2558 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
2561 2002-02-01 Janis Johnson <janis187@us.ibm.com>
2563 * cfganal.c: Include tm_p.h.
2564 (keep_with_call_p): Fix the test that determines if a register holds
2565 the return value of a call.
2567 2002-02-01 DJ Delorie <dj@redhat.com>
2569 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
2570 we are given conflicting registers, switch to the other one we
2571 had allocated for us.
2572 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
2573 as TImode so we know when the "other" register is available.
2575 2002-02-01 David O'Brien <obrien@FreeBSD.org>
2577 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
2580 2002-02-01 Janis Johnson <janis187@us.ibm.com>
2582 * cfganal.c (keep_with_call_p): New function.
2583 (flow_call_edges_add): Prevent splitting a block between a call and
2584 a single-set instruction that should be kept in the same block.
2586 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
2588 * doc/install.texi (avr): Update outdated URL.
2590 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
2592 * config/stormy16/stormy16.md (pushqi): New.
2596 (movhi): Remove stack operands.
2598 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
2599 nonimmediate_nonstack_operand.
2600 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
2602 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
2605 2002-01-31 Jason Merrill <jason@redhat.com>
2607 * Makefile.in (c-parse.c): Handle .output file.
2608 * objc/Make-lang.in (objc-parse.c): Likewise.
2610 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
2612 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
2613 the -me[lb] option is given. Don't output the default flag
2616 2002-01-31 Zack Weinberg <zack@codesourcery.com>
2618 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
2619 the primary source file; this has not been done yet.
2620 * c-decl.c (c_expand_body): Reset input_filename from
2621 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
2623 2002-01-31 Kazu Hirata <kazu@hxi.com>
2625 * rtlanal.c (subreg_regno_offset): Do not use
2626 SUBREG_REGNO_OFFSET.
2627 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
2628 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
2630 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2632 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
2633 version rather than GNATS version in --version output.
2635 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
2637 * ifcvt.c (noce_process_if_block): Make a copy of the destination
2638 when copying back from a temporary.
2640 2002-01-30 Richard Henderson <rth@redhat.com>
2642 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
2643 and new_dest are the same.
2645 2002-01-30 Richard Henderson <rth@redhat.com>
2648 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
2649 * rtl.c (note_insn_name): Update.
2650 * emit-rtl.c (remove_unnecessary_notes): Kill it.
2651 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
2652 to perform loop rotation.
2653 (expand_exit_loop_top_cond): New.
2654 * tree.h (expand_exit_loop_top_cond): Declare it.
2655 * c-semantics.c (genrtl_while_stmt): Use it.
2656 (genrtl_for_stmt): Likewise.
2658 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
2660 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
2661 arguments to 64-bit boundaries on 64-bit ABIs.
2663 2002-01-30 Steve Ellcey <sje@cup.hp.com>
2665 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
2667 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2669 * c-decl.c (grokdeclarator): Handle type being a typedef for an
2672 2002-01-30 David O'Brien <obrien@FreeBSD.org>
2674 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2675 * config/sparc/sparc_bi.h: Remove file.
2676 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
2678 2002-01-30 Richard Henderson <rth@redhat.com>
2680 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
2682 2002-01-30 Zack Weinberg <zack@codesourcery.com>
2684 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
2686 2002-01-30 Jason Merrill <jason@redhat.com>
2688 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
2689 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
2690 (reg_save): Use DW_CFA_offset_extended_sf instead.
2692 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
2694 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2696 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
2699 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
2701 * rs6000.md ("*call_value_local32"): Remove constraints.
2702 ("*call_value_local64"): Same.
2703 ("*call_value_indirect_nonlocal_aix32"): Same.
2704 ("*call_value_nonlocal_aix32"): Same.
2705 ("*call_value_indirect_nonlocal_aix64"): Same.
2706 ("*call_value_nonlocal_aix64"): Same.
2707 ("*call_value_nonlocal_sysv"): Same.
2709 2002-01-29 Richard Henderson <rth@redhat.com>
2711 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
2713 2002-01-29 Richard Henderson <rth@redhat.com>
2715 * expr.c (force_operand): Ignore flag_pic for detecting pic
2717 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
2718 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
2719 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
2720 instead of open-coded loop.
2721 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
2722 be fixed when in use.
2724 2002-01-29 Richard Henderson <rth@redhat.com>
2726 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
2727 * sched-rgn.c (propagate_deps): Update them.
2728 * sched-deps.c (sched_analyze_insn): Update them. Flush the
2729 clobbers list when either gets too long.
2731 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2733 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
2734 and INDEX_REGS the same as GENERAL_REGS.
2735 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
2737 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2739 * tree.c (build_nonstandard_integer_type): Correct prototype.
2741 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
2743 * config/s390/s390.md (movstrsico, movstrdix_64,
2744 movstrsix_31): Remove, replace by ...
2745 (movstrdi_short, movstrsi_short, movstrdi_long,
2746 movstrsi_long): ... these. New.
2747 (movstrdi, movstrsi): Adapt.
2749 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
2750 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
2751 Remove unnecessary CC clobber.
2752 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
2753 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
2755 (divmoddi4): Don't partially initialize TImode register.
2757 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
2759 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
2761 2002-01-29 Richard Henderson <rth@redhat.com>
2763 * flow.c (print_rtl_and_abort): Remove.
2764 (print_rtl_and_abort_fcn): Remove.
2765 (verify_local_live_at_start): Use dump_bb instead.
2766 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
2767 (verify_wide_reg_1): Return 2 on mode test failure.
2769 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2771 PR c/3325, c/3326, c/2511, c/3347
2772 * c-decl.c (enum_decl_context): Remove BITFIELD.
2773 (grokdeclarator): Take bitfield width as an input.
2774 Ensure bitfields are given the correct type. Perform
2775 bitfield width validation with build_bitfield_integer_type
2776 rather than waiting for finish_struct.
2777 (grok_typename, grok_typename_in_parm_context, start_decl,
2778 push_parmdecl, grokfield, start_function): Update calls to
2780 (build_bitfield_integer_type): New function.
2781 (finish_struct): Move bitfield validation to grokdeclarator
2782 and build_bitfield_integer_type.
2783 * tree.c (build_nonstandard_integer_type): New function.
2784 * tree.h (build_nonstandard_integer_type): New prototype.
2786 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
2788 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2791 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
2792 don't ignore unrecognized -W* options.
2793 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
2794 * cpplib.h (cpp_handle_option): Adjust prototype.
2795 * c-decl.c (c_decode_options): Pass 0 as last argument to
2799 * gcc.c (cpp_unique_options): Split from cpp_options.
2800 (cpp_options): Source cpp_unique_options.
2801 (default_compilers): Use cpp_unique_options instead of cpp_options
2802 when used together with cc1_options.
2803 (static_specs): Add cpp_unique_options.
2804 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
2805 when used together with cc1_options.
2807 2002-01-29 Kazu Hirata <kazu@hxi.com>
2809 * config/h8300/h8300-protos.h: Update the prototype of
2811 * config/h8300/h8300.c (output_a_shift): Remove an unused
2812 argument 'insn'. Remove redundant code.
2813 * config/h8300/h8300.md: Adust to the new prototype of
2816 2002-01-29 Kazu Hirata <kazu@hxi.com>
2818 * config/h8300/h8300-protos.h: Update the prototypes of
2819 emit_a_rotate and expand_a_rotate.
2820 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
2821 first argument to 'enum rtx_code'.
2822 (expand_a_rotate): Likewise.
2824 2002-01-28 Kazu Hirata <kazu@hxi.com>
2826 * config/h8300/h8300-protos.h: Update the prototype of
2828 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
2830 * config/h8300/h8300.md: Adjust to the new prototype.
2832 2002-01-28 Kazu Hirata <kazu@hxi.com>
2834 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
2837 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
2839 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
2840 is a fixed register before returning pic_offset_table_rtx.
2841 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
2842 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
2844 2002-01-28 Jason Merrill <jason@redhat.com>
2846 * dwarf2.h: Sync with src version.
2848 2002-01-28 Paul Koning <pkoning@equallogic.com>
2850 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
2852 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
2853 * doc/extend.texi (__builtin_prefetch): Update documentation:
2854 first argument is now const void ptr.
2856 2002-01-28 Kazu Hirata <kazu@hxi.com>
2858 * config/h8300/h8300-protos.h: Remove an unused prototype.
2860 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
2862 * toplev.c (lang_independent_init): Round up identifier size.
2864 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
2866 * config.gcc: Revert previous change.
2868 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
2870 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
2872 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
2874 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
2875 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
2876 other non-elf netbsd config frags.
2877 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
2878 collect2 will does that.
2879 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
2880 shared-lib frobbing will work.
2882 2002-01-28 Kazu Hirata <kazu@hxi.com>
2884 * config/h8300/h8300.h: Fix formatting.
2885 * config/h8300/h8300.md: Likewise.
2887 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
2889 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
2890 the old, removed AAA_standards fix.
2891 * fixinc/fixincl.x: Rebuilt.
2893 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
2895 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
2896 atexit call in crtbegin, hooked in after call to frame_dummy;
2897 register EH before registering __fini__start.
2899 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
2901 * config/rs6000/altivec.h: Remove spurious semicolons.
2903 2002-01-27 Kazu Hirata <kazu@hxi.com>
2905 * config/h8300/h8300.md: Replace dead bit extraction patterns
2906 with ones that work.
2908 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2910 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
2911 if not STRICT_ALIGNMENT.
2912 * rtl.h (MEM_ALIGN): Likewise.
2914 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
2916 * doc/invoke.texi (-fdump-translation-unit): Revert this
2917 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
2919 2002-01-27 Kazu Hirata <kazu@hxi.com>
2921 * config/h8300/h8300.md (define_constants): New.
2922 (anonymous patterns) Use defined constants appropriately.
2924 2002-01-27 Kazu Hirata <kazu@hxi.com>
2926 * config/h8300/h8300.c (function_arg): Remove redundant code.
2928 2002-01-26 Richard Henderson <rth@redhat.com>
2930 * sched-deps.c (reg_pending_uses_head): New.
2931 (reg_pending_barrier): Rename from reg_pending_sets_all.
2932 (find_insn_list): Don't mark inline.
2933 (find_insn_mem_list): Remove.
2934 (add_dependence_list, add_dependence_list_and_free): New.
2935 (flush_pending_lists): Replace only_write param with separate
2936 for_read and for_write parameters. Update all callers. Use
2937 add_dependence_list_and_free.
2938 (sched_analyze_1): Do not add reg dependencies here; just set
2939 the pending bits. Use add_dependence_list.
2940 (sched_analyze_2): Likewise.
2941 (sched_analyze_insn): Replace schedule_barrier_found with
2942 reg_pending_barrier. Add all dependencies for pending reg
2943 uses, sets, and clobbers.
2944 (sched_analyze): Don't add reg dependencies for calls, just
2945 set pending bits. Use regs_invalidated_by_call. Treat
2946 sched_before_next_call as a normal list, not a fake insn.
2947 (init_deps): No funny init for sched_before_next_call.
2948 (free_deps): Free pending mems lists. Don't zero reg_last.
2949 (init_deps_global): Init reg_pending_uses.
2950 (finish_deps_global): Free it.
2951 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
2952 (find_insn_mem_list): Remove.
2953 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
2954 (propagate_deps): Use them. Zero temp mem lists.
2956 2002-01-26 Richard Henderson <rth@redhat.com>
2958 * Makefile.in (CRTSTUFF_CFLAGS): New.
2959 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
2960 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
2961 crtstuff.c instead of alpha assembly version.
2962 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
2963 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
2964 not FORCE_{INIT,FINI}_SECTION_ALIGN.
2965 (__do_global_dtors_aux): Mark used.
2966 (frame_dummy, __do_global_ctors_aux): Mark used.
2967 (fini_dummy, init_dummy): Remove.
2969 * config/alpha/crtbegin.asm: Remove file.
2970 * config/alpha/crtend.asm: Remove file.
2971 * config/alpha/t-crtbe: Remove file.
2972 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
2973 (LINK_EH_SPEC): New.
2975 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
2976 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
2977 calling constructors.
2978 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
2980 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
2981 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
2982 CRT_END_INIT_DUMMY hack.
2983 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
2984 FORCE_{INIT,FINI}_SECTION_ALIGN.
2986 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
2987 FORCE_{INIT,FINI}_SECTION_ALIGN.
2989 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
2990 invocation sequence.
2991 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
2993 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
2994 (FORCE_CODE_SECTION_ALIGN): New.
2996 2002-01-26 Richard Henderson <rth@redhat.com>
2998 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
3000 2002-01-26 Richard Henderson <rth@redhat.com>
3002 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
3003 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
3005 2002-01-26 Kazu Hirata <kazu@hxi.com>
3007 * config/h8300/h8300.md: Remove bit extraction patterns that
3008 cannot be triggered.
3009 Restrict each bit extraction pattern to a variant on which the
3012 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
3014 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
3016 2002-01-26 Kazu Hirata <kazu@hxi.com>
3018 * config/h8300/h8300.md: Remove bit test patterns that cannot
3020 Restrict each bit test pattern to a variant on which the
3023 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3025 * builtins.c (expand_builtin_strncat): Remove redundant check for
3028 2002-01-25 David O'Brien <obrien@FreeBSD.org>
3030 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
3032 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
3035 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
3037 * dbxout.c (dbxout_init): Use assemble_name rather than just
3038 stripping off the first character.
3039 (dbxout_source_file): Likewise.
3041 2002-01-25 DJ Delorie <dj@redhat.com>
3043 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
3044 using rtx_equal_p, not by comparing pointers.
3046 2002-01-25 Steve Ellcey <sje@cup.hp.com>
3048 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
3049 for PIC_OFFSET_TABLE_REGNUM.
3050 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
3052 2002-01-25 David O'Brien <obrien@FreeBSD.org>
3054 * config.gcc (x86_64-*-freebsd*): New target.
3055 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
3057 (i[34567]86-*-freebsd*): Don't include svr4.h.
3058 * config/i386/freebsd64.h: New file.
3060 2002-01-25 Douglas B Rupp <rupp@gnat.com>
3062 * config/alpha/x-vms (version): Make static.
3064 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
3065 in previous checkin.
3067 * Makefile.in (install-headers-cp): New target.
3068 * config.gcc (alpha-dec-*vms*): Install headers with
3071 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
3073 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
3076 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3078 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
3079 of compare_tree_int.
3080 (expand_builtin_strncat): Likewise.
3081 * c-decl.c (finish_struct): Use tree_low_cst.
3082 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
3083 * tree.c (compare_tree_int): Likewise.
3085 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
3087 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
3088 adjustments even if they are implemented by more than two insns.
3090 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
3092 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
3093 * df.h (struct ref): Kill B.
3094 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
3096 * basic-block.h (PROP_EQUAL_NOTES): New flag.
3097 * flow.c (propagate_one_insn): Use it.
3098 (mark_used_regs): Handle NIL.
3100 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
3102 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
3105 2002-01-25 David Edelsohn <edelsohn@gnu.org>
3107 * rs6000.md (prefetch): Make address V4SI mode so that the address
3108 is restricted to legitimate form for instruction.
3110 2002-01-25 Bob Wilson <bob.wilson@acm.org>
3112 * doc/install.texi (xtensa-*-elf): New target.
3113 (xtensa-*-linux*): New target.
3114 * doc/contrib.texi: Add myself.
3116 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
3118 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
3119 purpose register to hold an SImode (or smaller) value.
3121 2002-01-25 Jakub Jelinek <jakub@redhat.com>
3123 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
3125 * crtstuff.c: Likewise.
3127 2002-01-25 Kazu Hirata <kazu@hxi.com>
3129 * config/h8300/h8300.md (negation patterns): Tighten
3130 predicates to register_operand.
3132 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
3134 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
3137 * builtins.c (expand_builtin_prefetch): Same.
3139 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3141 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
3144 2002-01-24 Kazu Hirata <kazu@hxi.com>
3146 * config/h8300/h8300.c (print_operand): Remove support for
3147 operand character 'A'.
3148 * config/h8300/h8300.md (three anonymous patterns): Replace
3149 operand character 'A' with either 'T' or 'S'.
3151 2002-01-24 Kazu Hirata <kazu@hxi.com>
3153 * config/h8300/h8300.c (print_operand): Remove support for
3154 operand character 'U'.
3156 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
3158 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
3160 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
3162 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
3163 values to be assigned to the stack pointer.
3165 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
3167 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
3168 to const_double needs to be done right for big-endian systems.
3170 2002-01-24 Jason Merrill <jason@redhat.com>
3173 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
3174 to can_throw_internal.
3176 2002-01-23 Richard Henderson <rth@redhat.com>
3178 * fold-const.c (fold): Change UINT_MAX test to check vs precision
3179 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
3181 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3183 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
3184 (symGOT2reg): Use them, then set as GOT value as unchanging.
3185 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
3186 as a temporary, if possible.
3187 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
3188 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
3190 2002-01-23 Kazu Hirata <kazu@hxi.com>
3192 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
3193 accept to accept 0x80 as operands[2].
3195 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3197 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
3199 2002-01-23 Richard Henderson <rth@redhat.com>
3201 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
3203 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
3205 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
3206 (parmlist_or_identifiers_1): Verify that only a parmlist follows
3209 2002-01-23 Richard Henderson <rth@redhat.com>
3211 * expr.c (move_by_pieces_1): Extend size before negation.
3213 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
3214 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
3215 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
3216 * config/m68k/t-m68kelf: Likewise.
3218 2002-01-23 Bob Wilson <bob.wilson@acm.org>
3220 * config/xtensa/elf.h: New file.
3221 * config/xtensa/lib1funcs.asm: New file.
3222 * config/xtensa/lib2funcs.S: New file.
3223 * config/xtensa/linux.h: New file.
3224 * config/xtensa/t-xtensa: New file.
3225 * config/xtensa/xtensa-config.h: New file.
3226 * config/xtensa/xtensa-protos.h: New file.
3227 * config/xtensa/xtensa.c: New file.
3228 * config/xtensa/xtensa.h: New file.
3229 * config/xtensa/xtensa.md: New file.
3230 * config.gcc (xtensa-*-elf*): New target.
3231 (xtensa-*-linux*): New target.
3232 * cse.c (canon_hash): Compare rtx pointers instead of register
3233 numbers. This is required for the Xtensa port.
3234 * integrate.c (copy_insn_list): Handle case where the static
3235 chain is in memory and the memory address has to be copied to
3237 * doc/invoke.texi (Option Summary): Add Xtensa options.
3238 (Xtensa Options): New node.
3239 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
3241 2002-01-23 Zack Weinberg <zack@codesourcery.com>
3243 * diagnostic.c (internal_error): Do ICE suppression only
3244 when ENABLE_CHECKING is not defined.
3246 * c-typeck.c (require_complete_type): Return error_mark_node
3247 if type is error_mark_node.
3249 2002-01-23 Janis Johnson <janis187@us.ibm.com>
3251 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
3252 -Os and issue a warning.
3254 2002-01-23 Zack Weinberg <zack@codesourcery.com>
3256 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
3257 current (lack of) need for host configuration by hand.
3259 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
3260 references. Documentation of some target macros moved from
3261 hostconfig.texi to tm.texi.
3263 2002-01-23 Will Cohen <wcohen@redhat.com>
3265 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
3268 2002-01-23 Kazu Hirata <kazu@hxi.com>
3270 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
3273 2002-01-23 Jason Merrill <jason@redhat.com>
3275 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
3277 * function.c (assign_parms): Don't put args of inline functions
3278 into registers when not optimizing.
3280 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
3282 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
3283 (prologue_use): New pattern.
3284 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
3285 preference to gen_rtx_USE.
3286 (thumb_expand_prologue): Use gen_prologue_use in preference to
3288 (thumb_expand_epilogue): Use gen_prologue_use in preference to
3291 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
3293 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
3295 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
3298 * doc/extend.texi: Correct documentation of __alignof__.
3300 2002-01-22 Zack Weinberg <zack@codesourcery.com>
3302 * params.h: Rename arguments of DEFPARAM so that it will be
3303 recognized as a translation keyword.
3305 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
3307 * extend.texi: Document altivec functions.
3308 Fix N-bit adjectives in X86 builtin documentation.
3310 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
3312 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
3313 auto_inc_dec values.
3315 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
3317 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
3319 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
3321 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
3323 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
3325 2002-01-22 Richard Henderson <rth@redhat.com>
3327 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
3328 copy_insn not copy_rtx.
3330 2002-01-23 Alan Modra <amodra@bigpond.net.au>
3332 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
3333 "nonzero" as that might add "1" bits. Ensure "constop" is
3334 properly sign extened.
3335 (force_to_mode): Tweak for sign extended constop.
3337 2002-01-22 Richard Henderson <rth@redhat.com>
3339 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
3340 for_each_rtx instead of assuming we're already looking at the MEM.
3341 (split_small_symbolic_mem_operand): Likewise.
3342 * config/alpha/alpha.h (PREDICATE_CODES): Update.
3343 * config/alpha/alpha.md (small symbolic memory splitters): Update.
3345 2002-01-22 Richard Henderson <rth@redhat.com>
3347 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
3348 sequence number for the literal.
3349 (divmoddi_internal_er): Likewise.
3351 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
3354 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
3355 in LIBICONV variable.
3356 * configure: Regenerated.
3358 2002-01-22 Krister Walfridsson <cato@df.lth.se>
3360 * dependence.c (build_def_use): Remove array_idx.
3362 * dwarfout.c (last_filename): Remove.
3363 (output_compile_unit_die): Remove last_filename.
3365 2002-01-22 Roger Sayle <roger@eyesopen.com>
3366 Richard Henderson <rth@redhat.com>
3369 * fold-const.c (fold): Optimize unsigned comparisons against
3370 UINT_MAX (and similar unsigned constants).
3372 2002-01-22 Janis Johnson <janis187@us.ibm.com>
3374 * Makefile.in (loop.o): Depend on OPTABS_H.
3375 * loop.c (emit_prefetch_instructions): Check the prefetch operand
3376 against the predicate.
3379 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
3380 for the address operand.
3382 2002-01-22 Richard Henderson <rth@redhat.com>
3384 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
3386 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
3389 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
3392 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
3394 * config.gcc (x86_64-*-netbsd*): New target.
3395 * config/i386/netbsd64.h: New file.
3397 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
3399 * regrename.c (kill_value): Fix typo.
3401 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
3403 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
3405 * config/rs6000/rs6000.h: Same.
3407 * function.c (instantiate_virtual_regs): Remove
3408 STARTING_FRAME_PHASE.
3409 (assign_stack_local_1): Same.
3410 Calculate frame phase.
3412 2002-01-22 Nick Clifton <nickc@redhat.com>
3414 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
3415 variable declaration to outer scope in order to simplify
3417 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
3418 arm_hard_regno_mode_ok.
3419 * config/arm/arm-protos.h: Add a prototype for
3420 arm_hard_regno_mode_ok.
3421 * config/arm/arm.c (soft_df_operand): Remove now redundant
3422 check for DImode values using IP_REGNUM.
3423 (nonimmediate_soft_df_operand): Remove now redundant check for
3424 DImode values using IP_REGNUM.
3425 (arm_hard_regno_mode_ok): New function. New check: make sure
3426 that DImode values are not stored in IP_REGNUM.
3428 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
3430 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
3432 2002-01-22 Jason Merrill <jason@redhat.com>
3434 * c-semantics.c (genrtl_compound_stmt): Only check nesting
3435 consistency if this COMPOUND_STMT is scoped.
3437 2002-01-22 Kazu Hirata <kazu@hxi.com>
3439 * predict.c: Fix formatting.
3440 * print-tree.c: Likewise.
3441 * protoize.c: Likewise.
3444 * sbitmap.h: Likewise.
3446 * sched-deps.c: Likewise.
3447 * sched-vis.c: Likewise.
3448 * sdbout.c: Likewise.
3449 * sibcall.c: Likewise.
3451 * ssa-ccp.c: Likewise.
3452 * ssa-dce.c: Likewise.
3454 * stor-layout.c: Likewise.
3455 * system.h: Likewise.
3457 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3459 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
3460 if fits in bounds of base type.
3462 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
3463 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
3464 (add_bound_info, default): If can't find a context, make a
3466 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
3468 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
3470 * c-typeck.c (parser_build_binary_op): If result from
3471 build_binary_op is ERROR_MARK just return error_mark_node without
3474 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
3476 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
3477 Split a.out-specific bits into...
3478 * config/netbsd-aout.h: ...this.
3479 * config/netbsd-elf.h: New file.
3480 * config/alpha/netbsd-elf.h: Remove.
3481 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
3482 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
3483 (STARTFILE_SPEC): Remove redundant definition.
3484 (ENDFILE_SPEC): Likewise.
3485 (LINK_SPEC): Likewise.
3486 (CPP_SPEC): Likewise.
3487 (ASM_SPEC): Likewise.
3488 (LIB_SPEC): Likewise.
3489 (SWITCH_TAKES_ARG): Likewise.
3490 (TARGET_MEM_FUNCTIONS): Likewise.
3491 (CPP_PREDEFINES): Redefine.
3492 (ASM_FINAL_SPEC): Remove redefinition.
3493 (ASM_COMMENT_START): Redefine.
3494 (FUNCTION_PROFILER): Define.
3495 (TARGET_VERSION): Redefine.
3496 Comment and formatting cleanup.
3497 * config/i386/netbsd.h: Include <netbsd-aout.h>.
3498 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
3499 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
3500 big- or little-endian.
3501 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
3502 * config.gcc (*-*-netbsd*): Add definitions common to all
3504 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
3505 gnu_ld definitions. Add netbsd-elf.h to and remove
3506 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
3507 tmake_file, and don't lose previous tmake_file contents.
3508 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
3509 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
3510 gnu_ld definitions. Add netbsd-elf.h to tm_file.
3511 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
3512 (mipsel-*-netbsd*): Rename this to...
3513 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
3514 mips/little.h to tm_file for mips*el-*.
3515 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
3516 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
3517 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
3519 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
3521 * pa-protos.h (reg_before_reload_operand): New function prototype.
3522 * pa.c (reg_before_reload_operand): New function implementation.
3523 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
3526 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3528 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
3530 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
3532 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
3533 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
3534 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
3535 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
3536 (ENDFILE_SPEC): Undefine.
3537 (STARTFILE_SPEC): Redefine for PA.
3539 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3541 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
3543 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
3545 * config.gcc: Add entries to supported PowerPC --with-cpu
3548 2002-01-21 Jakub Jelinek <jakub@redhat.com>
3550 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
3551 true for 64-bit mode only SSE registers in 32-bit mode.
3553 2002-01-21 Kazu Hirata <kazu@hxi.com>
3555 * unwind-dw2.c: Fix formatting.
3556 * unwind-dw2-fde.c: Likewise.
3557 * unwind-dw2-fde.h: Likewise.
3558 * unwind-pe.h: Likewise.
3559 * varasm.c: Likewise.
3560 * varray.h: Likewise.
3562 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
3564 Remove workaround for register stack overwrite bug in mmix.
3565 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
3566 support for TARGET_REG_STACK_FILL_BUG.
3567 * config/mmix/mmix.h: Remove member has_call_without_parameters.
3568 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
3570 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
3571 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
3572 -mno-reg-stack-fill-bug-workaround.
3573 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
3574 machine member has_call_without_parameters.
3575 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
3576 -mreg-stack-fill-bug-workaround and
3577 -mno-reg-stack-fill-bug-workaround.
3578 (MMIX Options): Ditto.
3580 2002-01-21 Kazu Hirata <kazu@hxi.com>
3582 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
3584 Remove redundant code.
3586 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
3588 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
3589 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3590 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
3591 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
3592 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
3593 out target macro definitions and non-target-specific comments
3594 mostly taken from old versions of the manual.
3596 2002-01-20 Kazu Hirata <kazu@hxi.com>
3598 * config/h8300/h8300.h: Fix comment formatting.
3599 * config/ia64/aix.h: Likewise.
3600 * config/ia64/ia64-protos.h: Likewise.
3601 * config/ia64/ia64.c: Likewise.
3602 * config/ia64/ia64.h: Likewise.
3603 * config/ia64/ia64intrin.h: Likewise.
3604 * config/ia64/linux.h: Likewise.
3605 * config/ia64/unwind-aix.c: Likewise.
3606 * config/ia64/unwind-ia64.c: Likewise.
3608 2002-01-20 Kazu Hirata <kazu@hxi.com>
3610 * config/h8300/h8300.c: Revise comments about shift code.
3612 2002-01-20 Kazu Hirata <kazu@hxi.com>
3614 * config/h8300/h8300.c (function_arg): Update a comment.
3616 2002-01-20 Kazu Hirata <kazu@hxi.com>
3618 * config/h8300/h8300.md: Update the comments at the beginning
3621 2002-01-20 Kazu Hirata <kazu@hxi.com>
3623 * config/i370/i370.c: Fix comment formatting.
3624 * config/i370/i370.h: Likewise.
3625 * config/i370/i370.md: Likewise.
3626 * config/i370/linux.h: Likewise.
3628 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3630 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
3632 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
3633 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
3636 2002-01-20 Graham Stott <grahams@redhat.com>
3638 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
3640 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
3642 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
3644 2002-01-19 Tom Rix <trix@redhat.com>
3646 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
3648 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
3650 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
3652 * function.c (assign_stack_local_1): Adjust x_frame_offset with
3653 STARTING_FRAME_PHASE.
3654 (STARTING_FRAME_PHASE): New.
3655 (instantiate_virtual_regs): Check saneness of
3656 STARTING_FRAME_PHASE.
3658 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
3660 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
3662 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
3664 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
3666 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
3667 be used for bootstrapping GCC 3.0.
3669 2002-01-18 Kazu Hirata <kazu@hxi.com>
3671 * config/h8300/h8300.md: Fix an insn length.
3673 2002-01-18 Kazu Hirata <kazu@hxi.com>
3675 * bitmap.h: Fix comment formatting.
3676 * combine.c: Likewise.
3677 * cppfiles.c: Likewise.
3678 * c-pragma.h: Likewise.
3679 * c-typeck.c: Likewise.
3681 * dwarf2out.c: Likewise.
3682 * function.c: Likewise.
3684 * genattrtab.c: Likewise.
3685 * gthr-win32.h: Likewise.
3686 * haifa-sched.c: Likewise.
3687 * predict.c: Likewise.
3688 * rtlanal.c: Likewise.
3690 * unwind-dw2-fde.h: Likewise.
3691 * unwind-pe.h: Likewise.
3692 * vmsdbgout.c: Likewise.
3694 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3696 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
3697 if type_required and passed decl.
3699 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
3701 * config.gcc (cpu_type): Include altivec.h in powerpc
3705 * config/rs6000/altivec.h: New.
3707 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3709 * doc/install.texi (*-ibm-aix*): Update assembler and exception
3710 handling information.
3711 * doc/trouble.texi (Interoperation): Add libstdc++ information
3713 (Misunderstandings): Add template instantiation and static template
3714 member information for AIX.
3716 2002-01-17 Jason Merrill <jason@redhat.com>
3718 * dbxout.c (dbxout_type): Support const and volatile.
3720 * except.c (add_partial_entry): Remove backwards compatibility code.
3721 (end_protect_partials): Likewise.
3723 2002-01-17 Jakub Jelinek <jakub@redhat.com>
3725 * config/ia64/ia64.md (prologue_use): New.
3726 * config/ia64/ia64.c (ia64_expand_prologue): Use
3727 gen_prologue_use instead of gen_rtx_USE.
3728 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
3729 as CODE_FOR_pred_rel_mutex.
3730 (ia64_sched_reorder2): Likewise.
3732 2002-01-16 Eric Christopher <echristo@redhat.com>
3734 * config/mips/r3900.h: Reformat.
3735 (SUBTARGET_CPP_SIZE_SPEC): Remove.
3736 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
3737 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
3738 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
3739 * config/mips/t-elf: Remove mips3 multilib.
3741 2002-01-16 H.J. Lu <hjl@gnu.org>
3743 * config/mips/linux.h: Include "mips/abi64.h".
3745 2002-01-16 H.J. Lu <hjl@gnu.org>
3747 * config/mips/t-linux: New.
3749 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
3751 * config/mips/linux.h: Don't include "gofast.h".
3752 (INIT_SUBTARGET_OPTABS): Removed.
3754 2002-01-16 Kazu Hirata <kazu@hxi.com>
3756 * config/h8300/h8300-protos.h: Replace emit_a_shift with
3758 * config/h8300/h8300.c: Likewise.
3759 * config/h8300/h8300.md: Likewise.
3761 2002-01-16 Kazu Hirata <kazu@hxi.com>
3763 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
3764 spaces after an opcode name.
3765 (pushqi1_h8300hs): Likewise.
3766 (pushhi1_h8300hs): Likewise.
3768 2002-01-16 Kazu Hirata <kazu@hxi.com>
3770 * doc/extend.texi: Replace "option" with "attribute"
3773 2002-01-16 Jakub Jelinek <jakub@redhat.com>
3775 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
3776 (and:DI () (const_int -8)).
3777 (split_small_symbolic_mem_operand): Split
3778 (mem (and:DI () (const_int -8)).
3780 2002-01-16 Jakub Jelinek <jakub@redhat.com>
3783 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
3784 same way as TYPE_IMUL.
3785 (ultrasparc_sched_reorder): Likewise.
3786 * config/sparc/sparc.md (type): Add comment to update
3787 ultrasparc_sched_reorder when making changes.
3789 2002-01-16 Kazu Hirata <kazu@hxi.com>
3791 * doc/invoke.texi: Change the dump file name of block
3792 reordering pass from 28.bbro to 29.bbro.
3795 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
3797 * i386.md (minsf splitter): Fix pasto.
3799 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
3801 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
3802 to frame pointer initialisation instruction.
3803 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
3804 initialisation instruction.
3805 (soft_df_operand): Do not accept the IP register.
3806 (nonimmediate_soft_df_operand): Do not accept the IP register.
3808 2002-01-16 Jakub Jelinek <jakub@redhat.com>
3811 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
3812 MASK_V8 being both set.
3814 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
3816 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
3817 insn for GOT register; add REG_MAYBE_DEAD notes instead.
3818 config/s390/s390.md (call, call_value): Add GOT register to
3819 CALL_INSN_FUNCTION_USAGE where needed.
3820 (call_exp, call_value_exp): New.
3822 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
3824 * config/arm/arm.c: General formatting tidy up.
3826 2002-01-16 Graham Stott <grahams@redhat.com>
3828 * calls.c (try_to_integrate): Use "(size_t)" intermediate
3829 cast and when casting an integer literal to "rtx" pointer.
3830 (expand_call): Likewise.
3831 * flow.c (try_pre_increment): Likewise.
3832 (find_use_as_address): Likewise.
3833 * integrate.c (expand_iline_function): Likewise.
3834 * regmove.c (try_auto_increment): Likewise.
3836 2002-01-16 Graham Stott <grahams@redhat.com>
3838 * sched-rgn.c (passed): Use sbitmap_free.
3841 (in_queue): Likewise.
3842 (in_stack): Likewise.
3844 2002-01-15 Eric Christopher <echristo@redhat.com>
3846 * flow.c (propagate_one_insn): Change to use fatal_insn.
3848 2002-01-15 Kazu Hirata <kazu@hxi.com>
3850 * expmed.c (extract_fixed_bit_field): Remove unused code.
3851 * system.h: Poison SLOW_ZERO_EXTEND.
3852 * doc/tm.texi: Remove.
3853 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
3854 * config/arm/arm.h: Likewise.
3855 * config/avr/avr.h: Likewise.
3856 * config/clipper/clipper.h: Likewise.
3857 * config/convex/convex.h: Likewise.
3858 * config/d30v/d30v.h: Likewise.
3859 * config/dsp16xx/dsp16xx.h: Likewise.
3860 * config/elxsi/elxsi.h: Likewise.
3861 * config/fr30/fr30.h: Likewise.
3862 * config/h8300/h8300.h: Likewise.
3863 * config/i370/i370.h: Likewise.
3864 * config/i386/i386.h: Likewise.
3865 * config/m68k/m68k.h: Likewise.
3866 * config/mips/mips.h: Likewise.
3867 * config/ns32k/ns32k.h: Likewise.
3868 * config/pdp11/pdp11.h: Likewise.
3869 * config/pj/pj.h: Likewise.
3870 * config/s390/s390.h: Likewise.
3871 * config/sh/sh.h: Likewise.
3872 * config/stormy16/stormy16.h: Likewise.
3873 * config/v850/v850.h: Likewise.
3874 * config/vax/vax.h: Likewise.
3875 * config/we32k/we32k.h: Likewise.
3877 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
3879 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
3880 (altivec_lvsl): Change constraint to b.
3881 (altivec_lvsr): Same.
3882 (altivec_lvebx): Same.
3883 (altivec_lvehx): Same.
3884 (altivec_lvewx): Same.
3885 (altivec_lvxl): Same.
3886 (altivec_lvx): Same.
3887 (altivec_stvx): Add parallel.
3888 (altivec_stvxl): Same.
3889 (altivec_stvehx): Same.
3890 (altivec_stvebx): Same.
3891 (altivec_stvebx): Same.
3893 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
3895 * config.gcc: Change altivec.h to altivec-defs.h.
3897 * config/rs6000/altivec.h: Delete.
3899 * config/rs6000/altivec-defs.h: Add.
3901 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3903 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
3906 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
3907 less than or equal to eight bytes.
3909 * vax.md (andsi3): Remove constraints and change SET destination
3910 operand type to nonimmediate_operand.
3911 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
3912 when it is a CONST_INT.
3914 2002-01-15 Jason Merrill <jason@redhat.com>
3916 * c-common.def (FILE_STMT): New code.
3917 * c-common.c (statement_code_p): It's a statement.
3918 * c-common.h (stmt_tree_s): Add x_last_filename.
3919 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
3920 (last_expr_filename): New macro.
3921 * c-semantics.c (begin_stmt_tree): Initialize it.
3922 (add_stmt): If the filename changed, also insert a
3924 (expand_stmt): Handle seeing one.
3926 2002-01-15 Eric Christopher <echristo@redhat.com>
3928 * flow.c (propagate_one_insn): Add error message and print out
3931 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
3933 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
3934 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
3935 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
3936 TRAMPOLINE_ALIGNMENT.
3937 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
3939 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
3940 PCC_BITFIELD_TYPE_MATTERS.
3941 * config/interix.h (STDC_VALUE): Remove. Use
3942 STDC_0_IN_SYSTEM_HEADERS.
3943 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
3944 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
3945 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
3947 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
3949 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
3950 not work on this platform currently.
3952 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
3954 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
3955 readonly_warning in _().
3957 2002-01-15 Douglas B Rupp <rupp@gnat.com>
3959 * gcc.c (delete_if_ordinary): Backout previous change.
3961 2002-01-15 Kazu Hirata <kazu@hxi.com>
3963 * config/h8300/h8300.c (print_operand): Remove support for
3964 unused operand characters.
3966 * read-rtl.c: Fix formatting.
3968 * recog.c: Likewise.
3969 * regclass.c: Likewise.
3970 * regmove.c: Likewise.
3971 * reg-stack.c: Likewise.
3972 * reload1.c: Likewise.
3973 * rtlanal.c: Likewise.
3975 2002-01-15 Kazu Hirata <kazu@hxi.com>
3977 * config/i386/i386.c: Fix formatting.
3979 2002-01-15 Jakub Jelinek <jakub@redhat.com>
3981 * c-typeck.c (process_init_element): Don't save_expr
3982 COMPOUND_LITERAL_EXPR if just its initializer will be used.
3984 2002-01-15 David Edelsohn <edelsohn@gnu.org>
3986 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
3987 emit optional traceback table if optimize_size or TARGET_ELF.
3988 * config/rs6000/rs6000.md (prefetch): New.
3990 2002-01-15 Andreas Jaeger <aj@suse.de>
3992 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
3994 2002-01-15 Kazu Hirata <kazu@hxi.com>
3996 * mips-tfile.c: Fix formatting.
3998 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
4000 * unroll.c (final_reg_note_copy): Fix previous commit.
4002 2002-01-14 Kazu Hirata <kazu@hxi.com>
4004 * config/h8300/h8300-protos.h: Remove the prototype for
4006 * config/h8300/h8300.c (eq_operator): Remove.
4008 2002-01-14 Richard Henderson <rth@redhat.com>
4010 * config/i386/i386.md (prefetch): Tidy.
4011 (prefetch_3dnow): Fix locality operand.
4013 2002-01-14 Richard Henderson <rth@redhat.com>
4015 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
4016 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
4018 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
4020 * reload1.c (reload_combine): Pass reg_sum replacement through
4021 copy_rtx in loop performing multiple changes.
4023 2002-01-14 Jakub Jelinek <jakub@redhat.com>
4025 * except.c (remove_unreachable_regions): New.
4026 (free_eh_status): Clear exception_handler_labels.
4027 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
4028 (find_exception_handler_labels): Don't add the same label more than
4030 (remove_exception_handler_label): Don't die if
4031 find_exception_handler_labels hasn't been called for the current
4034 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
4036 * toplev.c (rest_of_compilation): Rebuild jump labels after
4039 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
4041 * doc/extend.texi: Move documentation of X86 built-in functions
4043 * doc/invoke.texi: From here.
4044 * doc/sourcebuild.texi: Document location of documentation for
4045 machine built-in functions.
4047 2002-01-13 Christopher Faylor <cgf@redhat.com>
4049 * cppfiles.c (TEST_THRESHOLD): New macro.
4050 (SHOULD_MMAP): Ditto.
4051 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
4054 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
4056 * unroll.c (final_reg_note_copy): Properly handle
4058 (unroll_loops): Fix LOOP_CONDITION heuristics.
4060 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
4062 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
4063 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
4065 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
4067 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
4070 2002-01-14 Tom Rix <trix@redhat.com>
4072 * config/rs6000/rs6000.md: Fix typo with sradi.
4074 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
4076 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
4077 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
4078 (clrstrdi, clrstrsi): Adapt callers.
4080 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
4082 (movti splitter): Never use register 0 as base register.
4084 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
4086 * combine.c (simplify_shift_const): Always generate new rtx
4087 for shift expression instead of reusing given expression.
4089 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4091 * config/alpha/alpha.c (alpha_expand_mov): Don't call
4092 alpha_legitimize_address unless mode is Pmode.
4094 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
4096 * doc/md.texi (Modifiers): Document the '*' constraint for the
4099 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
4100 * doc/extend.texi (Function Attributes): 'interrupt' is valid
4103 2002-01-13 Richard Henderson <rth@redhat.com>
4105 * reload.c (find_reloads): Use a hard reg destination as reload reg
4106 for an input reload of the source.
4108 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4110 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
4113 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
4115 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4116 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4118 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
4120 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4122 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
4124 2002-01-12 Tom Rix <trix@redhat.com>
4126 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
4129 2002-01-12 Richard Henderson <rth@redhat.com>
4131 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
4133 * doc/invoke.texi: Update Alpha options.
4135 * doc/invoke.texi: Update i386 built-in function lists.
4137 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
4139 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
4140 referencing outside.
4142 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4144 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
4145 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
4146 offsets, and change line folding.
4147 * optabs.c (expand_binop): Remove warnings.
4148 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
4150 2002-01-12 Graham Stott <grahams@redhat.com>
4152 * attribs.c (handle_deprecated_attribute): constify WHAT.
4153 * diagnostic.c (warn_deprecated_use): Add braces, fixes
4154 dangling else warning and constify WHAT.
4155 * except.h (struct function, struct inline_remap): Move
4156 struct tag forward defs before all prototypes.
4157 (duplicate_eh_regions): Whitespace.
4159 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
4161 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
4162 MODE_BASE_REG_CLASS.
4163 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
4165 2002-01-12 Richard Henderson <rth@redhat.com>
4167 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
4168 (ix86_expand_vector_move): New.
4169 (bdesc_2arg): Remove andps, andnps, orps, xorps.
4170 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
4171 Remove old prefetch builtins. Special case the logicals removed above.
4172 (ix86_expand_builtin): Likewise.
4173 (safe_vector_operand): Use V4SFmode, not TImode.
4174 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
4175 (ix86_expand_timode_binop_builtin): New.
4176 * config/i386/i386-protos.h: Update.
4177 * config/i386/i386.h (enum ix86_builtins): Update.
4178 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
4179 Use ix86_expand_vector_move in vector move expanders.
4180 (movti_internal, movti_rex64): Add xorps alternative.
4181 (sse_clrv4sf): Rename and adjust from sse_clrti.
4182 (prefetch): Don't work so hard.
4183 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
4184 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
4185 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
4187 2002-01-11 Richard Henderson <rth@redhat.com>
4189 * config/i386/mmintrin.h: New file.
4190 * config/i386/xmmintrin.h: New file.
4191 * config.gcc (i?86-*-*): Add extra_headers.
4192 * simplify-rtx.c (simplify_unary_operation): Handle saturating
4194 (simplify_binary_operation): Handle saturating arithmetic codes.
4195 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
4196 not the lowpart subreg.
4197 (ix86_expand_builtin): Return a TImode dummy register instead of 0
4199 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
4201 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4203 * conflict.c (conflict_graph_compute): Free regsets when finished.
4204 * ssa.c (compute_coalesced_reg_partition): Likewise.
4206 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4208 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
4209 every where we allocate a register.
4211 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4213 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
4214 * lcm.c (compute_earliest, compute_farthest): Likewise.
4216 2002-01-11 Janis Johnson <janis187@us.ibm.com>
4218 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
4220 2002-01-11 Janis Johnson <janis187@us.ibm.com>
4222 * doc/rtl.texi (Insns): Fix 2 typos.
4224 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4226 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
4227 options. Use @table @gcctabopt for MMIX options. Add index
4228 entries for MMIX options. Start new paragraph with first
4229 heading of the machine-dependent options.
4231 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
4234 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
4235 * combine.c (force_to_mode): Same.
4236 * reload1.c (clear_reload_reg_in_use): Same.
4238 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
4240 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
4243 2002-01-11 Andreas Jaeger <aj@suse.de>,
4244 Brad Lucier <lucier@math.purdue.edu>
4246 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
4249 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
4251 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
4252 Protect with IN_LIBGCC.
4253 (LINK_EH_SPEC): Add required trailing space.
4255 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
4257 * c-tree.h: Move function declarations so that they are listed
4258 under the filename which contains them.
4259 (check_identifier, finish_decl_top_level,
4260 lookup_name_current_level_global, shadow_record_fields): Remove.
4262 2002-01-11 Andreas Jaeger <aj@suse.de>
4264 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
4267 2002-01-10 Richard Henderson <rth@redhat.com>
4269 * config/alpha/alpha.c (print_operand): Add 'J'.
4270 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
4271 new operand with the sequence number for the lituse. When splitting
4272 the insns, use gen_movdi_er_high_g and generate a sequence number.
4273 (gen_movdi_er_high_g): Print the sequence number if non-zero.
4275 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
4277 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
4278 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
4280 (altivec_expand_builtin): Same.
4281 (altivec_expand_stv_builtin): New.
4283 * config/rs6000/rs6000.h (rs6000_builtins): Same.
4285 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
4286 ("altivec_lvehx"): New.
4287 ("altivec_lvewx"): New.
4288 ("altivec_lvxl"): New.
4289 ("altivec_lvx"): New.
4290 ("altivec_stvx"): New.
4291 ("altivec_stvebx"): New.
4292 ("altivec_stvehx"): New.
4293 ("altivec_stvewx"): New.
4294 ("altivec_stvxl"): New.
4296 2002-01-10 Richard Henderson <rth@redhat.com>
4298 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
4299 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
4300 care not to delete instructions twice.
4302 2002-01-10 Zack Weinberg <zack@codesourcery.com>
4304 * toplev.c: Don't declare environ (it's not used anywhere).
4305 * configure.in: Don't check for declaration of environ.
4306 * config/i386/xm-mingw32.h: Don't #define environ.
4307 * config.in, configure: Regenerate.
4309 2002-01-10 Zack Weinberg <zack@codesourcery.com>
4311 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
4312 * configure: Regenerate.
4314 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
4315 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
4316 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
4318 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
4319 LIMITS_H_TEST here, not in m68k/x-next.
4320 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
4321 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
4323 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
4324 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
4325 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
4327 * config/i386/x-djgpp: Renamed i386/t-djgpp.
4328 * config/m88k/x-dolph: Renamed m88k/t-dolph.
4329 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
4330 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
4331 replacement of quadlib.asm with quadlib.c.
4333 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
4334 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
4335 config/rs6000/xm-beos.h: Delete file.
4337 * config.gcc: Update to match above changes.
4339 2002-01-10 Kazu Hirata <kazu@hxi.com>
4341 * config/h8300/h8300.h: Fix comment typos.
4342 * config/h8300/h8300.md: Likewise.
4343 * config/h8300/lib1funcs.asm: Likewise.
4345 2002-01-10 Dale Johannesen <dalej@apple.com>
4347 PR optimization/5269
4348 * unroll.c (precondition_loop_p): Make *increment be the correct
4349 sign when n_iterations known, to avoid confusing caller.
4351 2002-01-10 Kazu Hirata <kazu@hxi.com>
4353 * doc/extend.texi (deprecated): Fix a typo.
4355 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
4357 * basic-block.h (update_br_prob_note): Declare.
4358 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
4359 (try_forward_edges): Care negative frequencies and update note.
4360 (outgoing_edges_match): Tweek conditional merging heuristics.
4361 (try_crossjump_to_edge): use update_br_prob_note.
4362 * cfglayout.c (fixup_reorder_chain): Likewise.
4363 * cfrtl.c (update_br_prob_note): New.
4364 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
4366 * i386.c (ix86_decompose_address): Return -1 if address contains
4368 (legitimate_address_p): Require ix86_decompose_address to return 1.
4370 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
4371 (cprop_insn): Likewise.
4373 2002-01-10 Kazu Hirata <kazu@hxi.com>
4375 * toplev.c: Fix formatting.
4377 * tree-dump.c: Likewise.
4378 * unroll.c: Likewise.
4379 * unwind-dw2.c: Likewise.
4380 * unwind-dw2-fde.c: Likewise.
4381 * unwind-dw2-fde-glibc.c: Likewise.
4382 * unwind-sjlj.c: Likewise.
4384 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4386 * doc/invoke.texi: Document PDP-11 options.
4388 2002-01-10 Kazu Hirata <kazu@hxi.com>
4390 * config/h8300/h8300.h: Fix formatting.
4392 2002-01-10 Ira Ruben <ira@apple.com>
4394 Add __attribute__ ((deprecated)).
4395 * extend.texi: Document __attribute__ ((deprecated)).
4396 * invoke.texi: Document -Wno-deprecated-declarations.
4397 * testsuite/g++.dg/other/deprecated.C: New C++ test.
4398 * testsuite/gcc.dg/deprecated.c: New C test.
4399 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
4400 (c_common_attribute_table): Add "deprecated" entry.
4401 (handle_deprecated_attribute): New function.
4402 * c-decl.c (deprecated_states): New enum.
4403 deprecated_state: State of "deprecated" handling.
4404 (start_decl): Set deprecated_state based on attributes.
4405 (grokdeclarator): Test for deprecated uses, propagate attribute.
4406 * c-typeck.c (build_component_ref): Test for deprecated fields.
4407 (build_external_ref): Test for deprecated primaries.
4408 * diagnostic.c (warn_deprecated_use) New function to issue
4409 warnings about __attribute__ ((depricated)) references.
4410 * flags.h (warn_deprecated_decl): Extern declared for
4411 -W[no-]deprecated-declarations option.
4412 * print-tree.c (print_node): Show deprecated flag status.
4413 * toplev.c (warn_deprecated_decl): Defined.
4414 (W_options): Added "deprecated-declaration".
4415 * toplev.h (warn_deprecated_use): Extern declared.
4416 * tree.h (struct tree_common): Define deprecated_flag.
4417 (TREE_DEPRECATED): New macro to access flag.
4418 * cp/call.c (build_call): Test for deprecated calls.
4419 * cp/class.c (add_implicitly_declared_members): Set global
4420 flag to tell grokdeclarator to not issue deprecated warnings.
4421 * cp/cp-tree.h: Add extern for adding_implicit_members.
4422 * cp/decl.c (deprecated_states): New enum.
4423 (start_decl): Set deprecated_state based on attributes.
4424 (grokdeclarator): Test for deprecated uses, propagate attribute.
4425 * cp/lex.c (do_identifier): Test for deprecated primaries.
4426 * cp/typeck.c (build_component_ref): Test for deprecated fields.
4428 2002-01-10 Ira Ruben <ira@apple.com>
4430 Fix to assign attributes to inline member functions.
4431 * cp/decl.c (start_method): Handle attrlist.
4433 2002-01-10 Kazu Hirata <kazu@hxi.com>
4435 * combine.c (expand_field_assignment): Use subreg_lsb().
4437 2002-01-10 David Edelsohn <edelsohn@gnu.org>
4439 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
4440 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
4441 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
4442 Recurse for any operand of AND as long as constant is non-zero.
4444 2002-01-10 Kazu Hirata <kazu@hxi.com>
4446 * config/h8300/h8300.md: Remove constraints from expanders.
4448 2002-01-10 Kazu Hirata <kazu@hxi.com>
4450 * varasm.c: Fix formatting.
4451 * varray.c: Likewise.
4452 * vmsdbgout.c: Likewise.
4453 * xcoffout.c: Likewise.
4455 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
4457 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
4458 update edge probabilities to match.
4460 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4462 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
4464 * doc/languages.texi, doc/sourcebuild.texi: New files.
4465 * doc/configfiles.texi: Make a subsubsection. Update.
4466 * doc/configterms.texi: Add @node. Remove warning that this isn't
4467 instructions for building GCC.
4468 * doc/makefile.texi: Make a subsection.
4469 * doc/gccint.texi: Update.
4471 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
4473 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
4475 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
4477 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
4479 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
4481 * optabs.c (expand_fix): Look for wider integer modes first.
4483 * i386.md (mov?f): Avoid the fake const double trick for medium
4485 (min?f*/max?f*): Prohibit memory operands for i387 variant.
4486 (fop_df_4): Disable for SSE compilation.
4488 2002-01-10 Graham Stott <grahams@redhat.com>
4490 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
4491 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
4493 2002-01-10 Richard Henderson <rth@redhat.com>
4495 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
4497 2002-01-10 Richard Henderson <rth@redhat.com>
4499 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
4500 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
4502 2002-01-10 Kazu Hirata <kazu@hxi.com>
4504 * combine.c (can_combine_p): Fix a comment typo.
4506 2002-01-09 Zack Weinberg <zack@codesourcery.com>
4508 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
4509 empty list correctly. Change loop index $t to $f for
4510 consistency with rest of Makefile.
4512 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
4514 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
4515 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4517 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
4518 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
4519 (altivec_init_builtins): Same.
4520 (altivec_expand_unop_builtin): Return NULL_RTX on error.
4521 (altivec_expand_binop_builtin): Same.
4522 (altivec_expand_ternop_builtin): Same.
4525 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
4526 ("altivec_vctuxs"): Fix typo.
4527 ("altivec_vnmsubfp"): Same.
4528 ("altivec_dssall"): New.
4529 ("altivec_mfvscr"): New.
4530 ("altivec_dss"): New.
4531 ("altivec_lvsl"): New.
4532 ("altivec_lvsr"): New.
4533 ("altivec_dstt"): New.
4534 ("altivec_dstst"): New.
4535 ("altivec_dststt"): New.
4536 ("altivec_dst"): New.
4538 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
4539 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4541 2002-01-09 Richard Henderson <rth@redhat.com>
4543 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
4545 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
4547 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
4549 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
4551 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
4553 2002-01-09 Kazu Hirata <kazu@hxi.com>
4555 * read-rtl.c: Fix formatting.
4557 * regclass.c: Likewise.
4558 * regrename.c: Likewise.
4559 * reg-stack.c: Likewise.
4560 * reload1.c: Likewise.
4561 * reload.c: Likewise.
4564 2002-01-09 Kazu Hirata <kazu@hxi.com>
4566 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
4567 to extract items in the expr_list chain.
4569 2002-01-09 Richard Henderson <rth@redhat.com>
4571 * config/vax/vax.c (vax_rtx_cost): Never abort.
4573 * config/vax/vax.h (REAL_ARITHMETIC): Define.
4575 2002-01-09 Jan Hubicka <jh@suse.cz>
4577 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
4579 2002-01-09 Richard Henderson <rth@redhat.com>
4581 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
4582 Unify code from various alternatives.
4584 2002-01-09 Richard Henderson <rth@redhat.com>
4586 * regrename.c (copy_value): Ignore the copy if the source register
4587 is present in the value chain with a narrower mode.
4589 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4591 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
4592 for the c4x target. Also improve layout.
4594 2002-01-09 Richard Henderson <rth@redhat.com>
4596 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
4597 * config/m32r/m32r.md (and ior xor splitters): Swap operands
4598 to match insn patterns.
4600 2002-01-09 Richard Henderson <rth@redhat.com>
4602 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
4603 (copyprop_hardreg_forward_1): Likewise.
4605 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
4607 * pa.md (decrement_and_branch_until_zero): Change predicate for
4608 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
4610 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4612 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
4613 gets undefined. For Darwin.
4615 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4617 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
4619 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4621 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
4623 2002-01-08 Richard Henderson <rth@redhat.com>
4625 * regrename.c (copy_value): Ignore overlapping copies.
4627 2002-01-08 Richard Henderson <rth@redhat.com>
4629 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
4630 as needed to avoid shared structure.
4632 2002-01-08 Kazu Hirata <kazu@hxi.com>
4634 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
4637 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4639 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
4640 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
4641 documentation of obsolete macros.
4642 * system.h: Poison these macros.
4643 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
4644 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
4645 config/c4x/c4x.h, config/clipper/clipper.h,
4646 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
4647 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
4648 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
4649 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
4650 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
4651 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
4652 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
4653 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
4654 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
4655 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
4656 config/sparc/sparc.h, config/stormy16/stormy16.h,
4657 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
4658 definitions and commented out definitions of obsolete macros.
4659 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
4660 of MAX_INT_TYPE_SIZE.
4662 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4664 * config/s390/s390.c (s390_preferred_reload_class): Never
4665 return ADDR_REGS if it isn't a subset of the given class.
4666 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
4667 FP_REGS, but all superclasses as well.
4669 * config/s390/s390.c (s390_function_profiler): Fix thinko.
4671 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
4672 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
4673 must not be a const_int.
4675 2002-01-08 Richard Henderson <rth@redhat.com>
4677 * Makefile.in (toplev.o): Depend on options.h.
4678 (gcc.o): Depend on specs.h.
4680 2002-01-08 Jakub Jelinek <jakub@redhat.com>
4682 * expr.c (store_expr): Convert VOIDmode constants back to target's
4685 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4687 * doc/invoke.texi: Markup gcc as @command. Refer to
4688 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
4689 of http://gcc.gnu.org/thanks.html.
4691 2002-01-08 Dale Johannesen <dalej@apple.com>
4693 * config/rs6000/rs6000.md: Add missing int register
4694 target case to movdf_low.
4696 2002-01-08 Zack Weinberg <zack@codesourcery.com>
4698 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
4699 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
4700 (cppinit.o): Depend on except.h.
4701 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
4702 s-specs): New rules.
4704 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
4705 Don't create specs.h/options.h/gencheck.h here. Remove
4706 unnecessary variable settings from last argument of AC_OUTPUT.
4707 * config.in, configure: Regenerate.
4708 * intl.c: Hardcode package name as "gcc".
4710 * cppinit.c: Include except.h.
4711 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
4713 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
4714 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
4715 (!)USING_SJLJ_EXCEPTIONS.
4716 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
4718 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4720 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
4721 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
4722 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
4723 documentation of obsolete macros.
4724 * system.h: Poison these macros.
4725 * config/d30v/d30v.h, config/ns32k/encore.h,
4726 config/stormy16/stormy16.h: Remove definitions and commented out
4727 definitions of obsolete macros.
4729 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
4731 * objc/objc-act.c (handle_class_ref): Mark the declaration of
4732 %sobjc_class_ref_%s as used - to prevent unwanted compiler
4735 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4737 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
4738 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
4739 to insn adjusting stack/frame pointer.
4740 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
4741 accept operands that cause the insn to be non-splittable.
4743 2002-01-08 Graham Stott <grahams@redhat.com>
4745 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
4746 (C_TYPE_FIELDS_VOLATILE): Likewise.
4747 (C_TYPE_BEING_DEFINED): Likewise.
4748 (C_IS_RESERVED_WORD): Likewise.
4749 (C_TYPE_VARIABLE_SIZE): Likewise.
4750 (C_DECL_VARIABLE_SIZE): Likewise.
4751 (C_MISSING_PROTOTYPE_WARNED): Likewise.
4752 (C_SET_EXP_ORIGINAL_CODE): Likewise.
4753 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
4755 (C_DECL_ANTICIPATED): Likewise.
4756 (c_build_type_variant): Add parenthesis.
4758 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4760 * gcc.c (option_map): Remove --version.
4761 (process_command): Handle -fversion following the GNU Coding
4762 Standards. Partially addresses PR other/704.
4764 2002-01-08 Graham Stott <grahams@redhat.com>
4766 * combine.c (combine_instructions): Fix typo.
4768 2002-01-08 Graham Stott <grahams@redhat.com>
4770 * debug.h: Use "tree" and "rtx" throughout.
4772 * debug.c: Likewise.
4774 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
4776 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
4777 constant pool, use the pool's version of the symbol instead.
4779 2002-01-07 Richard Henderson <rth@redhat.com>
4781 * regrename.c (find_oldest_value_reg): Ignore the value chain if
4782 the original register was copied in a mode with a fewer number of
4783 hard registers than the desired mode.
4784 (copyprop_hardreg_forward_1): Likewise.
4785 (debug_value_data): Fix loop test.
4786 * toplev.c (parse_options_and_default_flags): Reenable
4787 -fcprop-registers at -O1.
4789 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
4791 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
4792 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
4794 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
4797 * config/rs6000/rs6000.md: Add altivec predicate patterns.
4799 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
4801 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
4802 (pa_output_function_prologue): Output local label at the beginning of
4803 the prologue when profiling.
4804 (hppa_profile_hook): Use the local label rather than the function label.
4805 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
4807 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
4809 * config/rs6000/rs6000.c (print_operand): Remove extra space.
4810 (altivec_expand_unop_builtin): Fix thinko.
4811 (altivec_expand_binop_builtin): Same.
4812 (altivec_expand_ternop_builtin): Same.
4813 (altivec_expand_builtin): Same.
4815 2002-01-07 Richard Henderson <rth@redhat.com>
4817 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
4819 2002-01-07 Jason Merrill <jason@redhat.com>
4821 * unwind-dw2.c (execute_cfa_program): Use < again.
4823 2002-01-07 Jakub Jelinek <jakub@redhat.com>
4825 * predict.c (combine_predictions_for_insn): Avoid division by zero.
4827 2002-01-07 Jakub Jelinek <jakub@redhat.com>
4829 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
4830 Don't allow -1 - x -> ~x simplifications in the first pass.
4832 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
4834 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
4836 (altivec_expand_binop_builtin): Same.
4837 (altivec_expand_unop_builtin): Same.
4838 (print_operand): Fix typo.
4839 (bdesc_1arg): Add vupk* variants.
4841 * rs6000.h (rs6000_builtins): Add vupk* enums.
4843 * rs6000.md: Add altivec_vupk* variants.
4845 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
4847 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
4848 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
4849 and last update dates.
4851 2002-01-07 Janis Johnson <janis187@us.ibm.com>
4853 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
4855 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
4857 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
4858 * config/avr/avr.h (CPP_SPEC): Likewise.
4859 (LINK_SPEC): Likewise.
4860 (CRT_BINUTILS_SPECS): Likewise.
4861 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
4862 * doc/invoke.texi (AVR Options): Document them.
4864 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
4866 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
4869 2002-01-07 Graham Stott <grahams@redhat.com>
4871 * config/i386/i386.h: Update copyright date.
4872 (HALF_PIC_PTR): Add parenthesis.
4873 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
4874 (CONSTANT_ALIGNMENT): Add parenthesis.
4875 (DATA_ALIGNMENT): Likewise.
4876 (LOCAL_ALIGNMENT): Likewise.
4877 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
4878 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
4879 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
4880 (HARD_REGNO_NREGS): Add paranethesis.
4881 (VALID_SSE_REG_MODE): Whitespace.
4882 (VALID_MMX_REG_MODE): Whitespace.
4883 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
4884 (ix86_hard_regno_mode_ok): Add parenthesis.
4885 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
4886 (RETURN_IN_MEMORY): Whitespace.
4887 (N_REG_CLASSES): Add parenthesis.
4888 (INTEGER_CLASS_P): Add parenthesis and wrap.
4889 (FLOAT_CLASS_P): Likewise.
4890 (SSE_CLASS_P): Likewise.
4891 (MMX_CLASS_P): Likewise.
4892 (MAYBE_INTEGER_CLASS_P): Likewise.
4893 (MAYBE_FLOAT_CLASS_P): Likewise.
4894 (MAYBE_SSE_CLASS_P): Likewise.
4895 (MAYBE_MMX_CLASS_P): Likewise.
4896 (Q_CLASS_P): Likewise.
4897 (GENERAL_REGNO_P): Uppercase macro parameter.
4898 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
4899 (FP_REGNO_P): Likewise.
4900 (ANY_FP_REGNO_P): Uppercase macro parameter.
4901 (SSE_REGNO_P): Likewise.
4902 (SSE_REGNO): Likewise.
4903 (SSE_REG_P): Likewise.
4904 (SSE_FLOAT_MODE_P): Likewise.
4905 (MMX_REGNO_P): Likewise.
4906 (MMX_REG_P):Likewise.
4907 (STACK_REG_P): Likewise.
4908 (NON_STACK_REG_P): Likewise.
4909 (STACK_TOP_P): Likewise.
4910 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
4911 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
4912 (SECONDARY_MEMORY_NEEDED): Likewise.
4913 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
4914 (MD_ASM_CLOBBERS): Whitespace and wrap.
4915 (MUST_PASS_IN_STACK): Whitespace and wrap.
4916 (RETURN_POPS_ARGS): Add parenthesis.
4917 (INIT_CUMULATIVE_ARGS): Likewise.
4918 (FUNCTION_ARG): Likewise.
4919 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
4920 (SETUP_INCOMING_VARARGS): Likewise.
4921 (BUILD_VA_LIST_TYPE): Add parenthesis.
4922 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
4924 (EXPAND_BUILTIN_VA_ARG): Likewise.
4925 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
4926 (INITIALIZE_TRAMPOLINE): Add parenthesis.
4927 (INITIAL_ELIMINATION_OFFSET): Likewise.
4928 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
4929 (REGNO_OK_FOR_BASE_P): Likewise.
4930 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
4931 (REGNO_OK_FOR_DIREG_P): Likewise.
4932 (REG_OK_FOR_INDEX_P): Whitespace.
4933 (REG_OK_FOR_BASE_P): Whitespace.
4934 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
4936 (FIND_BASE_TERM): Fix typo.
4937 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
4938 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
4939 (SYMBOLIC_CONST; Whitespace.
4940 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
4941 (ENCODE_SECTION_INFO): Whitespace.
4942 (FINALIZE_PIC): Remove do { ... } while (0).
4943 (PROMOTE_MODE): Wrap in do { ... } while (0).
4944 (CONST_COSTS): Whitespace.
4945 (RTX_COSTS): Add paramethesis, whitespace and wrap.
4946 (REGISTER_MOVE_COST): Add parenthesis.
4947 (MEMORY_MOVE_COST): Likewise.
4948 (EXTRA_CC_MODES): Whitespace.
4949 (SELECT_CC_MODE): Add parenthesis and whitespace.
4950 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
4951 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
4952 (ASM_OUTPUT_LABEL): Add paramethesis.
4953 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
4954 (ASM_OUTPUT_REG_POP): Likewise.
4955 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
4956 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
4958 * config/i386/i386.c: Update copyright.
4959 (CHECK_STACK_LIMIT): Add parenthesis.
4960 (AT_BP): Uppercase macro parameter.
4961 (x86_64_int_parameter_registers): Constify.
4962 (x86_64_int_return_registers): Likewise.
4963 (ix86_compare_op0): Use rtx.
4964 (construct_container): Constify INTREG parameter.
4965 (function_arg): Use rtx.
4967 * diagnostic.h: Update copyright date.
4968 (output_buffer_state): Add parenthesis.
4969 (output_buffer_format_args): Likewise.
4971 * combine.c (combine_instructions): Replace XEXP (links, 0)
4974 2002-01-06 H.J. Lu <hjl@gnu.org>
4976 * cfgcleanup.c (thread_jump): Fix 2 typos.
4978 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
4980 * config.gcc: Add support for --enable-altivec.
4982 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
4984 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
4986 2002-01-06 Jakub Jelinek <jakub@redhat.com>
4988 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
4989 __objc_class_name_*.
4991 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
4993 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
4995 2002-01-06 Richard Henderson <rth@redhat.com>
4997 * reorg.c (emit_delay_sequence): Remove death notes, not merely
4998 nop them out. Increment label reference count for REG_LABEL.
4999 (fill_slots_from_thread): Frob label reference count around
5000 delete_related_insns.
5002 2002-01-05 Richard Henderson <rth@redhat.com>
5004 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
5007 2002-01-05 Richard Henderson <rth@redhat.com>
5009 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
5010 * integrate.c (output_inline_function): Likewise.
5011 * toplev.c (rest_of_compilation): Do it here instead. Move call
5012 to remove_unnecessary_notes after emitting abstract instance.
5013 Force an emitted nested function to have its parent emited as well.
5014 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
5016 (rtl_for_decl_location): Do not look at reload data structures
5017 before reload has run.
5019 2002-01-05 Kazu Hirata <kazu@hxi.com>
5021 * cse.c: Fix formatting.
5022 * dwarf2asm.c: Likewise.
5023 * dwarf2out.c: Likewise.
5024 * explow.c: Likewise.
5025 * expmed.c: Likewise.
5026 * function.c: Likewise.
5028 * gencheck.c: Likewise.
5029 * genrecog.c: Likewise.
5030 * ggc-common.c: Likewise.
5031 * ggc-page.c: Likewise.
5032 * global.c: Likewise.
5034 2002-01-05 Kazu Hirata <kazu@hxi.com>
5036 * combine.c: Fix formatting.
5038 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
5041 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
5043 2002-01-05 David Edelsohn <edelsohn@gnu.org>
5045 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
5046 as 1 for __powerpc64__ as well.
5048 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
5050 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
5053 2002-01-05 Daniel Berlin <dan@dberlin.org>
5055 * lcm.c: Revert change, due to performance regression it causes on
5056 SPEC because it's slightly more conservative (sigh, I hate
5059 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
5061 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
5063 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
5065 * doc/cppinternals.texi: Update.
5067 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
5069 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
5070 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
5072 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
5073 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
5074 kludge for pre-october-14th mmix versions to handle new-found bug
5075 with PUSHJ/PUSHGO and the register stack.
5076 * config/mmix/mmix.h (struct machine_function): Rename member
5077 has_call_value_without_parameters to has_call_without_parameters.
5078 All referers changed.
5079 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
5080 TARGET_MASK_BRANCH_PREDICT): New macros.
5081 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
5082 -mno-reg-stack-fill-bug-workaround.
5083 * config/mmix/mmix.md ("call"): Set struct machine member
5084 has_call_without_parameters.
5086 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
5088 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
5090 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
5092 * cfgcleanup.c: Include tm_p.h
5093 (mark_effect): Fix handling of hard register; fix handling of SET
5095 2002-01-04 Kazu Hirata <kazu@hxi.com>
5097 * config/h8300/h8300.md (anonymous patterns): Check that
5098 operands are registers before using REGNO on them.
5100 2002-01-03 Roland McGrath <roland@frob.com>
5102 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
5104 2002-01-04 Jakub Jelinek <jakub@redhat.com>
5106 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
5107 * c-common.h (genrtl_expr_stmt_value): Likewise.
5108 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
5109 (expand_expr_stmt_value): Add maybe_last argument.
5110 Don't warn about statement with no effect if it is the last statement
5111 in expression statement.
5112 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
5113 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
5114 expand_expr_stmt_value.
5115 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
5116 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
5117 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
5118 as maybe_last to expand_expr_stmt_value.
5120 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
5122 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
5123 be passed in, do not build it.
5124 (c_begin_if_stmt): New function.
5125 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5126 * c-common.h (c_expand_start_cond): Update prototype.
5127 (c_begin_if_stmt): Prototype new function.
5128 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5129 * c-parse.in (if_prefix): Use c_begin_if_stmt,
5130 c_begin_while_stmt and c_finish_while_stmt_cond.
5132 2002-01-04 William Cohen <wcohen@redhat.com>
5134 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
5135 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5136 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5137 * config/pa/som.h (ASM_FILE_START): Likewise.
5139 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
5141 * lcm.c: Include df.h.
5142 Add available_transfer_function prototype.
5143 (compute_available): Rework to use iterative dataflow framework.
5144 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
5145 with bb_info in df.h
5146 (available_transfer_function): New function.
5148 * Makefile.in (lcm.o): add df.h to dependencies.
5150 2002-01-04 Richard Henderson <rth@redhat.com>
5152 * config/alpha/alpha.c (some_operand): Accept HIGH.
5153 (input_operand): Likewise; accept simple references to globals.
5154 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
5155 (alpha_const_double_ok_for_letter_p): Likewise.
5156 (alpha_extra_constraint): Likewise.
5157 (alpha_preferred_reload_class): Likewise. Do not force
5158 symbolic constants to memory.
5159 (alpha_legitimate_address_p): Accept simple references
5160 to small_symbolic_operand.
5161 (alpha_legitimize_address): New arg scratch. Be prepared to be
5162 called when no_new_pseudos. Emit simple symbolic references.
5163 Split integers into low, high, and rest.
5164 (alpha_expand_mov): Use alpha_legitimize_address.
5165 (some_small_symbolic_mem_operand): New.
5166 (split_small_symbolic_mem_operand): New.
5167 * config/alpha/alpha-protos.h: Update.
5168 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
5169 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
5170 (EXTRA_CONSTRAINT): Likewise.
5171 (PREFERRED_RELOAD_CLASS): Likewise.
5172 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
5173 (PREDICATE_CODES): Update.
5174 * config/alpha/alpha.md: New post-reload splitters to convert
5175 simplfied symbolic operands to the form that references $29.
5176 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
5177 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
5179 2002-01-03 Richard Henderson <rth@redhat.com>
5181 * local-alloc.c (function_invariant_p): Update commentary.
5183 2002-01-04 H.J. Lu <hjl@gnu.org>
5185 * toplev.c (rest_of_compilation): Fix a typo when calling
5188 2002-01-03 Kazu Hirata <kazu@hxi.com>
5190 * c-common.c: Fix formatting.
5191 * diagnostic.c: Likewise.
5192 * doloop.c: Likewise.
5193 * dwarf2out.c: Likewise.
5195 2002-01-03 Kazu Hirata <kazu@hxi.com>
5197 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
5198 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
5200 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
5202 * cpperror.c: Update comments and copyright.
5203 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
5204 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
5206 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
5208 * collect2.c (main): Use strcmp when testing for "-shared".
5210 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
5212 * cppmacro.c: Don't include intl.h. Update comments.
5213 (new_number_token): Allocate enough buffer for 64-bit unsigned
5214 integers; update prototype.
5215 * cppmain.c: Update comments.
5217 2002-01-03 William Cohen <wcohen@redhat.com>
5219 * function.h (struct function): Add profile.
5220 (current_function_profile): New.
5221 doc/extend.texi: Update documentation.
5222 * final.c (final_start_function): Use current_function_profile
5223 instead of profile_flag.
5224 (profile_after_prologue): Likewise.
5225 * function.c (expand_function_start): Likewise.
5226 (expand_function_start): Likewise.
5227 * config/alpha/alpha.c (direct_call_operand):
5228 (alpha_does_function_need_gp): Likewise.
5229 (alpha_expand_prologue): Likewise.
5230 * config/arm/arm.c (arm_expand_prologue): Likewise.
5231 thumb_expand_prologue: Likewise.
5232 * config/d30v/d30v.c (d30v_stack_info): Likewise.
5233 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
5234 (fr30_expand_prologue): Likewise.
5235 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
5236 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
5237 * config/i386/i386.h (FINALIZE_PIC): Likewise.
5238 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
5239 * config/i960/i960.c (i960_output_function_prologue): Likewise.
5240 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
5241 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
5242 (m32r_expand_prologue): Likewise.
5243 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
5244 (m88k_expand_prologue): Likewise.
5245 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
5246 * config/mips/mips.c (compute_frame_size): Likewise.
5247 (mips_expand_prologue): Likewise.
5248 (mips_can_use_return_insn): Likewise.
5249 * config/pa/elf.h (ASM_FILE_START): Likewise.
5250 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5251 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5252 * config/pa/som.h (ASM_FILE_START): Likewise.
5253 * config/romp/romp.c (romp_using_r14): Likewise.
5254 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
5255 (rs6000_stack_info): Likewise.
5256 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
5257 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
5258 * config/v850/v850.c (compute_register_save_size): Likewise.
5260 2002-01-03 Jakub Jelinek <jakub@redhat.com>
5262 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
5263 gen_lowpart_common fails, use gen_lowpart_SUBREG.
5265 2002-01-03 Turly O'Connor <turly@apple.com>
5267 * darwin.c (machopic_output_possible_stub_label): Don't generate
5268 stub routines for pseudo-stubs which we've just defined.
5270 2002-01-03 Kazu Hirata <kazu@hxi.com>
5272 * builtins.c: Fix formatting.
5273 * c-typeck.c: Likewise.
5274 * combine.c: Likewise.
5278 2002-01-03 Andreas Schwab <schwab@suse.de>
5280 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
5281 and return true if _cpp_push_next_buffer pushed a new include
5283 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
5284 _cpp_pop_file_buffer did not push a new file.
5285 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
5287 2002-01-02 Eric Christopher <echristo@redhat.com>
5289 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
5290 FIND_REG_INC_NOTE call. Update copyright.
5291 * loop.c (canonicalize_condition): Ditto.
5292 * reorg.c (delete_scheduled_jump): Ditto.
5294 2002-01-03 Kazu Hirata <kazu@hxi.com>
5296 * gcse.c: Fix formatting.
5298 2002-01-03 Graham Stott <grahams@redhat.com>
5300 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
5301 forward defs for struct tags rtx_def, union_tree, rtvec_def
5302 also output corresponding typedefs for rtx, tree, and rtvec.
5304 * system.h: Move forward defs for struct tags rtx_def, union_tree,
5305 rtvec_def along with corresponding typedefs for rtx, tree, and
5306 rtvec to config.h, hconfig.h, tconfig.h.
5308 2002-01-03 Graham Stott <grahams@redhat.com>
5310 * tree.h: Update copyright date.
5311 (IS_EXPR_CODE_CLASS): Add parenthesis.
5312 (TREE_SET_CODE): Add whitespace.
5313 (TREE_CHECK): Add parenthesis.
5314 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
5315 (CST_OR_CONSTRUCTOR_CHECK):
5316 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
5317 (TREE_SYMBOL_REFERENCED): Whitespace.
5318 (INT_CST_LT): Likewise.
5319 (INT_CST_LT_UNSIGNED): Likewise.
5320 (tree_real_cst): Unwrap comment.
5321 (tree_string): Likewise.
5322 (tree_complex): Likewise.
5323 (IDENTIFIER_POINTER): correct cast.
5324 (SAVE_EXPR_CONTEXT): Whitespace.
5325 (EXPR_WFL_FILENAME_NODE): Likewise.
5326 (EXPR_WFL_FILENAME): Remove parenthesis.
5327 (DECL_ORIGIN): Add parenthesis.
5328 (DECL_FROM_INLINE): Use NULL_TREE.
5329 (build_int_2): Whitespace.
5330 (build_type_variant): Add parenthesis.
5332 * gcc/jcf-parse.c: Update copyright date.
5333 (yyparse): Constify resource_filename.
5335 2002-01-03 Graham Stott <grahams@redhat.com>
5337 * rtl.h: Update copyright date.
5338 (RTL_CHECK1): Wrap long line.
5339 (RTL_CHECK2): Likewise.
5340 (RTL_CHECKC1): Wrap long line and whitespace.
5341 (RTL_CHECKC2): Likewise.
5342 (XWINT): Whitespace.
5348 (XBITMAP): Likewise.
5359 (X0BITMAP): Likewise.
5361 (X0BBDEF): Likewise.
5362 (X0ADVFLAGS): Likewise.
5363 (X0CSELIB): Likewise.
5364 (X0MEMATTR): Likewise.
5372 (XCBITMAP): Likewise.
5374 (XCBBDEF): Likewise.
5375 (XCADVFLAGS): Likewise.
5376 (XCCSELIB): Likewise.
5378 (INSN_UID): Likewise.
5379 (PREV_INSN): Likewise.
5380 (PATTERN): Likewise.
5381 (INSN_CODE): Likewise.
5382 (PUT_REG_NOTE_KIND): Likewise.
5383 (CODE_LABEL_NUMBER): Likewise.
5384 (NOTE_SOURCE_FILE): Likewise.
5385 (NOTE_BLOCK): Likewise.
5386 (NOTE_EH_HANDLER): Likewise.
5387 (NOTE_RANGE_INFO): Likewise.
5388 (NOTE_LIVE_INFO): Likewise.
5389 (NOTE_BASIC_BLOCK): Likewise.
5390 (NOTE_EXPECTED_VALUE): Likewise.
5391 (NOTE_LINE_NUMBER): Likewise.
5392 (LABEL_NAME): Likewise.
5393 (LABEL_NUSES): Likewise.
5394 (LABEL_ALTERNATE_NAME): Likewise.
5395 (ADDRESSOF_DECL): Likewise.
5396 (JUMP_LABEL): Likewise.
5397 (LABEL_NEXTREF): Likewise.
5399 (ORIGINAL_REGNO: Likewise.
5400 (HARD_REGISTER_NUM_P): Add parenthesis.
5401 (SUBREG_REG): Whitespace.
5402 (SUBREG_BYTE): Likewise.
5403 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
5404 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
5405 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
5406 (ASM_OPERANDS_INPUT_VEC): Likewise.
5407 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
5408 (ASM_OPERANDS_INPUT): Likewise.
5409 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
5410 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
5411 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
5412 (ASM_OPERANDS_INPUT_MODE): Likewise.
5413 (ASM_OPERANDS_SOURCE_FILE): Likewise.
5414 (ASM_OPERANDS_SOURCE_LINE): Likewise.
5415 (MEM_SET_IN_STRUCT_P): Minor reformat.
5416 (TRAP_CONDITION): Whitespace.
5417 (TRAP_CODE): Likewise.
5418 (COND_EXEC_TEST): Likewise.
5419 (COND_EXEC_CODE): Likewise.
5420 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
5421 (PHI_NODE_P): Add parenthesis.
5422 (plus_constant): Whitespace and add parenthesis.
5424 2002-01-03 Kazu Hirata <kazu@hxi.com>
5426 * config/avr/avr.c: Fix comment typos.
5427 * config/c4x/c4x.md: Likewise.
5428 * config/dsp16xx/dsp16xx.h: Likewise.
5429 * config/dsp16xx/dsp16xx.md: Likewise.
5430 * config/i386/i386.md: Likewise.
5431 * config/ia64/ia64.c: Likewise.
5432 * config/m32r/m32r.h: Likewise.
5433 * config/m68hc11/m68hc11.md: Likewise.
5434 * config/mmix/mmix.c: Likewise.
5435 * config/mn10200/mn10200.c: Likewise.
5436 * config/romp/romp.c: Likewise.
5437 * config/sh/sh.c: Likewise.
5438 * config/stormy16/stormy16.c: Likewise.
5439 * config/stormy16/stormy16.h: Likewise.
5440 * config/stormy16/stormy16.md: Likewise.
5442 2002-01-03 Graham Stott <grahams@redhat.com>
5444 * loop.h: Update copyright date.
5445 (LOOP_MOVABLES): Fix typo.
5446 (LOOP_REGS): Likewise.
5447 (LOOP_IVS): Likewise.
5449 2002-01-03 Graham Stott <grahams@redhat.com>
5451 * cppinit.c: Update copyright date.
5452 Don't include output.h
5453 * Makefile.in: Update copyright date.
5456 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
5459 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
5460 (-pthread) Add to RS/6000 options.
5462 2002-01-02 Kazu Hirata <kazu@hxi.com>
5464 * except.c: Fix comment typos.
5466 * varasm.c: Likewise.
5467 * doc/tm.texi: Fix a typo.
5469 2002-01-02 Jakub Jelinek <jakub@redhat.com>
5471 * c-typeck.c (output_init_element): Allow initializing static storage
5472 duration objects with compound literals.
5474 2002-01-02 Richard Henderson <rth@redhat.com>
5476 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
5479 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5481 * gcc.c (default_compilers): Const-ify.
5482 * mips-tdump.c (stab_names): Likewise.
5483 * mips-tfile.c (map_coff_types, map_coff_storage,
5484 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
5485 pseudo_ops_t, pseudo_ops): Likewise.
5486 * protoize.c (default_include): Likewise
5488 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
5489 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
5490 Add array size in declaration.
5491 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
5492 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
5493 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
5494 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
5495 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
5496 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
5497 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
5498 emtens, make_nan): Const-ify.
5499 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
5500 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
5502 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
5504 * config.gcc (ia64-*-*): Set extra_headers.
5505 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
5506 * config/alpha/t-osf: Remove.
5507 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
5509 2002-01-02 David Edelsohn <edelsohn@gnu.org>
5511 * config/rs6000/t-aix43: Revert previous change.
5513 2002-01-02 Jason Merrill <jason@redhat.com>
5515 * c-decl.c (c_expand_body): Call outlining_inline_function when
5516 emitting an inline function out of line.
5518 2002-01-02 Richard Henderson <rth@redhat.com>
5520 * dwarf2out.c (limbo_die_node): Add created_for member.
5521 (new_die): New argument created_for. Update all callers.
5522 (mark_limbo_die_list): New.
5523 (dwarf2out_init): Register limbo_die_list as a root.
5524 (dwarf2out_finish): Force insert limbo dies into their function
5527 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
5530 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
5532 2002-01-02 Kazu Hirata <kazu@hxi.com>
5534 * config/h8300/fixunssfsi.c: Update copyright.
5537 * config/h8300/h8300.c: Update copyright.
5540 2002-01-02 Kazu Hirata <kazu@hxi.com>
5542 * config/romp/romp.c: Fix comment formatting.
5543 * config/romp/romp.h: Likewise.
5544 * config/romp/romp.md: Likewise.
5545 * config/s390/s390.c: Likewise.
5546 * config/stormy16/stormy16.c: Likewise.
5547 * config/stormy16/stormy16.h: Likewise.
5549 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
5551 * c-common.h (genrtl_expr_stmt_value): Declare.
5552 * c-semantics.c (genrtl_goto_stmt): Redirect to...
5553 (genrtl_goto_stmt_value): ... this new function. Pass new
5554 argument down to expand_expr_stmt_value, taking
5555 TREE_ADDRESSABLE into account.
5556 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
5557 STMT_EXPR as addressable, i.e., one whose result we want.
5558 * expr.c (expand_expr): Don't save expression statement value
5559 of labeled_blocks or loop_exprs.
5560 * stmt.c (expand_expr_stmt): Redirect to...
5561 (expand_expr_stmt_value): ... this new function. Use new
5562 argument to tell whether to save expression value.
5563 (expand_end_stmt_expr): Reset last_expr_type and
5564 last_expr_value if we don't have either.
5565 * tree-inline.c (declare_return_variable): Mark its use
5566 statement as addressable.
5567 * tree.h: Document new use of TREE_ADDRESSABLE.
5568 (expand_expr_stmt_value): Declare.
5570 2002-01-01 Tom Rix <trix@redhat.com>
5572 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
5573 rs6000_emit_allocate_stack.
5575 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
5577 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
5578 ${srcdir}/ginclude/ to every entry in extra_headers.
5579 * configure: Regenerate.
5580 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
5581 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
5582 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
5583 * ginclude/proto.h: Rename to config/convex/proto.h.
5585 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5587 * attribs.c (handle_vector_size_attribute): Use host_integerp
5588 and tree_int_cst; remove warnings.
5589 * caller-save.c (insert_restore): Add cast to get rid of warning.
5590 (insert_save): Likewise.
5591 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
5592 * regmove.c (find_matches): Add temporary var to kill a warning.
5594 2002-01-01 Douglas B Rupp <rupp@gnat.com>
5596 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
5597 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
5598 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
5599 (vms-dwarf2eh.o): Add Makefile rule.
5600 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
5601 * config/alpha/vms-dwarf2eh.asm: New file.
5603 * gcc.c (delete_if_ordinary): Delete all versions.
5605 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
5607 * config/mmix/mmix.md: Update FIXME to not mention
5609 (MMIX_rJ_REGNUM): New define_constants constant.
5610 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
5611 "*movdicc_real"): Adjust contraints formatting.
5612 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
5613 for branch prediction.
5614 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
5616 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
5617 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
5618 number. Delete related FIXMEs.
5619 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
5620 from number to MMIX_rJ_REGNUM.
5621 (TARGET_MASK_BRANCH_PREDICT): New.
5622 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
5623 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
5624 value. Add -mbranch-predict and -mno-branch-predict.
5625 (TARGET_VERSION): Drop date.
5626 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
5627 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
5628 for finding out global symbols.
5629 (mmix_asm_output_labelref): Revert condition for global symbol.
5630 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
5631 (mmix_print_operand_punct_valid_p): A '+' is valid.
5633 See ChangeLog.6 for earlier changes.