1 2002-02-17 Philipp Thomas <pthomas@suse.de>
3 * config/i386/i386.h: Don't mark empty strings for translation.
5 2002-02-16 H.J. Lu <hjl@gnu.org>
7 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
9 2002-02-16 Zack Weinberg <zack@codesourcery.com>
11 * cppinit.c (merge_include_chains): Check for brack being
12 NULL before attempting to merge it with qtail.
14 2002-02-16 Andrew Cagney <ac131313@redhat.com>
16 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
19 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
21 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
23 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
25 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
26 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
27 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
29 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
31 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
32 now only if !TARGET_FIX.
33 (*movsi_nt_vms_fix): New pattern.
35 2002-02-16 Douglas B Rupp <rupp@gnat.com>
37 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
38 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
39 (alpha_sa_mask, alpha_sa_size): Reflect above change.
40 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
41 (alpha_start_function, alpha_expand_epilogue): Likewise.
42 (unicosmk_gen_dsib): Likewise.
44 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
46 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
48 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
50 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
51 check_and_change_labels, s390_final_chunkify): Delete.
52 (s390_split_branches, s390_chunkify_pool): New functions.
53 (s390_function_prologue): Call them.
55 * config/s390/s390.h (S390_REL_MAX): Delete.
56 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
58 * config/s390/s390.md (cjump, icjump, jump): Fix length
59 attribute calculation.
62 2002-02-15 David Edelsohn <edelsohn@gnu.org>
64 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
65 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
67 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
69 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
70 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
71 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
73 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
75 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
77 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
79 * reload.c (find_dummy_reload): Check that an output register
80 is valid for its mode.
82 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
84 * combine.c (known_cond): After replacing the REG of a SUBREG, try
87 * function.c (assign_parms): Demote promoted argument passed by
88 transparent reference.
90 2001-02-14 Joel Sherrill <joel@OARcorp.com>
92 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
93 -Acpu() and -Amachine() to eliminate warnings.
95 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
97 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
99 2002-02-14 Kazu Hirata <kazu@hxi.com>
101 * config/h8300/h8300-protos.h: Update the prototype for
103 * config/h8300/h8300.c (const_costs): Treat SET as a little
104 more expensive operation.
105 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
106 reference to const_costs.
108 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
110 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
112 2002-02-14 Jakub Jelinek <jakub@redhat.com>
115 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
116 use arguments from newtype.
118 2002-02-13 Eric Christopher <echristo@redhat.com>
120 * config/mips/mips.c (override_options): Add check for march/mipsX
121 on the same command line. Fix error message in cpu processing.
122 Remove architecture and ISA checks.
124 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
126 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
128 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
130 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
132 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
134 ("*movv8hi_internal1"): Same.
135 ("*movv16qi_internal1"): Same.
136 ("*movv4sf_internal1"): Same.
138 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
139 not push_reload for altivec modes.
141 2002-02-13 Joel Sherrill <joel@OARcorp.com>
143 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
144 all RTEMS targets including removal of #includes from config/*/rtems*.h
145 file and adding them to tm_file setting. Added xm_defines=POSIX to
147 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
148 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
149 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
150 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
151 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
152 config/m68k/rtemself.h: Ditto.
153 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
154 config/mips/rtems64.h: Ditto.
155 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
156 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
158 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
159 config/sparc/rtemself.h: Ditto.
160 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
161 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
162 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
164 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
165 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
166 target made more similar to i386-elf.
167 * config/i386/t-rtems-i386: Added soft float support and multilibs.
168 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
169 be similar to config/m68k/t-m68kelf.
170 * gthr-rtems.h: Encapsulate with extern "C" for C++.
172 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
174 * regmove.c (kill_value): Handle subregs.
176 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
178 * i386.md (mul patterns): Allow memory operand to be first;
179 add expanders where needed; fix constraints.
180 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
181 Allow memory operand to be the first.
183 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
186 2002-02-13 Jakub Jelinek <jakub@redhat.com>
189 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
192 2002-02-13 Jakub Jelinek <jakub@redhat.com>
194 PR optimization/5547:
195 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
196 all valid IA-32 address modes involving non-scaled %ebx and
197 GOT/GOTOFF as displacement.
199 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
201 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
202 after emitting ltorg insns.
204 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
205 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
206 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
207 *abssf2): Fix "op_type" attribute.
209 2002-02-13 Douglas B Rupp <rupp@gnat.com>
211 * mkconfig.sh: Avoid using a subshell redirect.
212 ($output.T): Change to $(output)T.
213 (ENABLE_NLS): Remove unneeded undef.
215 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
216 * config/alpha/x-vms (libsubdir): Define.
218 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
219 register frame procedures. Optimize retrieving context.
221 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
222 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
223 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
225 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
227 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
228 Make same change as for find_base_value.
230 2002-02-13 Kazu Hirata <kazu@hxi.com>
232 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
233 of QImode and SImode.
235 2002-02-13 Kazu Hirata <kazu@hxi.com>
237 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
238 length computation of movsi.
239 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
241 2002-02-13 Kazu Hirata <kazu@hxi.com>
243 * config/h8300/h8300.md (subqi3): Tighten the predicate for
244 operands[2] to register_operand.
246 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
248 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
250 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
252 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
253 for altivec_lvx* and altivec_stvx*.
254 ("*movv4si_internal"): Add constraint for loading from GPRs.
255 ("*movv8hi_internal1"): Same.
256 ("*movv16qi_internal1"): Same.
257 ("*movv4sf_internal1"): Same.
259 * config/rs6000/rs6000.c (altivec_register_operand): New.
261 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
262 altivec_register_operand.
264 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
266 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
269 2002-02-13 Stan Shebs <shebs@apple.com>
271 * c-typeck.c (digest_init): Handle vectors.
272 (really_start_incremental_init): Same.
273 (pop_init_level): Same.
274 (process_init_element): Same.
276 * varasm.c (output_constant): Same.
278 * expr.c (clear_storage): Same.
279 (store_constructor): Same.
281 2002-02-12 Eric Christopher <echristo@redhat.com>
283 * explow.c (hard_function_value): Add comment explaining
284 signed/unsigned comparison.
286 2002-02-12 Jakub Jelinek <jakub@redhat.com>
288 * jump.c (never_reached_warning): Add finish argument.
289 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
291 * rtl.h (never_reached_warning): Adjust prototype.
292 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
293 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
294 never_reached_warning.
296 2002-02-12 Graham Stott <grahams@redhat.com>
298 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
300 2002-02-12 Kazu Hirata <kazu@hxi.com>
302 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
303 logical shifts on H8/300.
304 (shift_alg_si): Improve several shifts on H8/300.
305 (get_shift_alg): Likewise.
307 2002-02-12 Graham Stott <grahams@redhat.com>
309 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
311 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
313 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
314 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
316 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
318 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
319 non-CONST_INT through default_assemble_integer.
320 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
321 <case 8>: Abort for CONST_DOUBLE.
323 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
325 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
327 * config/pa/pa-linux.h (LIB_SPEC): Delete.
328 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
330 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
332 * config/stormy16/stormy16.md (zero_extendqihi2): New.
334 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
336 * regrename.c (regrename_optimize): Don't accept a
337 part-clobbered register if the replaced register is not part
340 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
341 take padding into account when computing the argument value.
343 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
345 * combine.c (try_combine): Apply substitutions in
346 CALL_INSN_FUNCTION_USAGE too.
348 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
350 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
351 __builtin_altivec_abs*.
354 * config/rs6000/rs6000.h (rs6000_builtins): Add
355 ALTIVEC_BUILTIN_ABS*.
357 * config/rs6000/altivec.h: Use const char for builtins expecting
359 (vec_abs): New versions for C and C++.
362 2002-02-10 Kazu Hirata <kazu@hxi.com>
364 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
367 2002-02-10 Kazu Hirata <kazu@hxi.com>
369 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
370 constant definition from h8300.md.
371 (FRAME_POINTER_REGNUM): Likewise.
372 * config/h8300/h8300.md (define_constants): Add FP_REG.
374 2002-02-10 Kazu Hirata <kazu@hxi.com>
376 * config/h8300/h8300.c (print_operand): Remove redundant code.
378 2002-02-10 Kazu Hirata <kazu@hxi.com>
380 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
381 * config/h8300/h8300.c (byte_reg): Make it static.
383 2002-02-10 Richard Henderson <rth@redhat.com>
386 * c-typeck.c (incomplete_type_error): Handle flexible array members.
388 2002-02-10 Richard Henderson <rth@redhat.com>
391 * tree.c (append_random_chars): Don't abort if main_input_filename
394 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
396 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
398 2002-02-10 Kazu Hirata <kazu@hxi.com>
400 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
403 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
405 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
406 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
408 2002-02-09 David O'Brien <obrien@FreeBSD.org>
410 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
412 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
414 2002-02-09 Kazu Hirata <kazu@hxi.com>
416 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
417 a half of an SImode register on H8/300.
419 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
421 * i386.md (movdi_2): Add missing '!'.
423 2002-02-09 Kazu Hirata <kazu@hxi.com>
425 * config/h8300/h8300.h: Fix formatting. Remove commented-out
428 2002-02-09 Kazu Hirata <kazu@hxi.com>
430 * config/h8300/h8300.md (length): Correct the distance valid
431 for the short branch.
433 2002-02-09 Kazu Hirata <kazu@hxi.com>
435 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
437 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
439 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
441 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
444 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
448 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
449 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
450 (sh_cannot_modify_jumps_p): New function.
451 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
452 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
453 (sh_ms_bitfield_layout_p): New function.
454 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
455 Zack Weinberg <zack@codesourcery.com>
456 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
457 expand_simple_binop instead of expand_binop.
458 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
459 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
460 use of .quad and .uaquad.
461 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
462 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
463 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
464 * config/sh/sh.md (movdi_const, movdi_const_32bit,
465 movdi_const_16bit): Make sure all CONSTs have modes.
466 (sym2PIC): Ditto, but by adjusting all callers.
467 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
468 if the prologue calls the SHmedia argument decoder or register
470 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
471 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
472 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
473 (sh_expand_epilogue): Don't emit USE of return target register.
474 (prepare_move_operands): Legitimize DImode PIC addresses.
475 (sh_media_register_for_return): Skip tr0, used to initialize the
477 (sh_expand_prologue): Remove explicit USE of return register.
478 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
479 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
480 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
481 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
482 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
484 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
485 (MOVI_SHORI_BASE_OPERAND_P): New.
486 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
487 (EXTRA_CONSTRAINT_T): Define in terms of them.
488 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
489 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
490 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
491 alternatives supporting TARGET_REGS.
492 (UNSPEC_GOTPLT): New constant.
493 (movdi split): Move incrementing of LABEL_NUSES...
494 (movdi_const, movdi_const_32bit): Here. Use
495 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
496 (movdi_const_16bit): New.
497 (call, call_value) [flag_pic]: Use GOTPLT.
498 (call_pop, call_value_pop): New expands.
499 (call_pop_compact, call_pop_rettramp): New insns.
500 (call_value_pop_compact, call_value_pop_rettramp): New insns.
501 (sibcall) [flag_pic]: Use GOT.
502 (builtint_setjmp_receiver): Remove bogus, unused expand.
503 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
504 (*pt, *ptb, ptrel): New insns.
505 (sym2GOT): Handle DImode GOT.
506 (sym2GOTPLT, symGOTPLT2reg): New expands.
507 (sym2PIC): New expand.
508 (shcompact_return_tramp): Use GOTPLT to return trampoline.
509 (shcompact_return_tramp_i): Use return register explicitly.
510 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
511 disable flag_reorder_blocks.
512 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
513 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
514 clobbers, for clarity.
515 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
516 restoring of r0 in macl as MAYBE_DEAD.
517 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
518 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
519 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
520 alter_subreg all over.
521 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
522 reload, instead of emitting instructions that would require
524 (casesi_load_media): Add missing modes.
525 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
526 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
527 as used if the argument decoder is called.
528 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
529 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
530 Pmode, then extend it to DImode if necessary.
531 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
532 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
533 constants in FPU-enabled SHmedia, let them be loaded from memory.
534 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
535 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
536 Adjust whitespace in assembly output templates.
537 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
538 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
539 mode of if_then_else.
540 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
541 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
543 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
544 Joern Rennecke <amylaar@redhat.com>
545 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
546 (SUBTARGET_CPP_PTR_SPEC): New.
547 (SUBTARGET_CPP_SPEC): Remove.
548 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
549 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
550 Fix typo in previous checkin.
551 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
552 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
553 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
554 Alexandre Oliva <aoliva@redhat.com>
555 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
556 what single FP register can hold for SHmedia target.
557 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
558 Alexandre Oliva <aoliva@redhat.com>
559 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
560 Do not split into SUBREG.
561 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
562 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
563 and added new functions as specified in SH5 ABI r9.
564 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
565 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
567 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
568 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
569 gen_consttable_4 and gen_consttable_8. Emit multiple labels
570 and consttable_window_ends.
571 2001-06-03 Graham Stott <grahams@redhat,com>
572 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
573 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
574 * config/sh/sh.c (print_operand): Handle floating-point pair,
575 vector and matrix registers.
576 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
577 vector modes into account.
578 * config/sh/sh.md (movv2sf): Split move between registers into
580 (movv4sf, movv16sf): Introduce insns that get split only after
582 * config/sh/shmedia.h: Fix Copyright dates.
583 * config/sh/ushmedia.h: Likewise. Move loop counter
584 declarations into conditionals that uses them.
585 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
587 * config/sh/sshmedia.h: Fix Copyright dates.
588 (sh_media_PUTCFG): Fix constraints.
589 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
590 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
591 ptrmemfunc_vbit_in_delta for SH5.
592 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
593 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
594 * invoke.texi: Likewise.
595 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
596 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
597 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
598 GCC_pop_shmedia_regs_nofpu): New global symbols.
599 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
600 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
601 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
602 compact function with nonlocal labels.
603 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
604 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
605 (initial_elimination_offset): Account for their stack space.
606 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
607 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
608 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
609 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
610 least one of the operands to be a register.
611 (movv2sf): Likewise. Renamed to movv2sf_i.
612 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
613 prepare_move_operands() before emitting SHmedia insns.
614 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
615 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
616 Don't save nor initialize r12. Don't mis-align the stack.
617 Pad the code with a nop.
618 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
620 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
621 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
622 [__SHMEDIA__]: Implement.
623 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
624 * config/sh/sh.md: Set latency of `pt' closer to reality.
625 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
626 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
627 Set move, load and store type attributes.
628 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
629 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
631 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
632 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
633 * config/sh/sh.c (sh_media_register_for_return): New function.
634 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
635 branch-target register.
636 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
637 * config/sh/sh.md (return_media_i): Use any call-clobbered
638 branch-target register.
639 (return_media): If r18 wasn't copied in the prologue, copy it
641 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
642 Clear class FP0_REGS.
643 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
645 2001-03-08 DJ Delorie <dj@redhat.com>
646 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
647 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
648 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
649 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
650 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
651 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
652 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
653 return value correctly for call_cookie.
654 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
655 * config/sh/crt1.asm (start): Modified so as to call
656 ___setup_argv_and_call_main.
657 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
658 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
660 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
661 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
662 (STRIP_NAME_ENCODING): Use it.
663 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
664 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
665 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
666 prepare_scc_operands().
667 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
668 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
669 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
670 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
671 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
672 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
673 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
674 used in shcompact_incoming_args.
675 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
677 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
679 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
681 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
682 Simplify. Adjust. Add sanity check.
683 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
685 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
687 (udivsi3, divsi3): Use them.
688 (force_mode_for_call): New insn.
689 (call, call_value, sibcall_value): Emit it before SHcompact
691 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
692 * config/sh/sh.md (call, call_value, sibcall): Make sure the
693 call cookie is non-NULL before taking its value.
694 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
695 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
696 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
697 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
699 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
700 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
701 temporary for stack adjusts. Use MACL and MACH to pass
702 arguments to shcompact_incoming_args.
703 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
705 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
706 (nested_trampoline): Load static chain address into r1.
707 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
708 2001-01-07 Alexandre Oliva <aoliva@redhat.com
709 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
710 fp_arith_reg_operand().
711 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
712 * config/sh/sh.md (casesi): Sign-extend the first two operands,
713 and use signed compares for them.
714 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
715 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
716 ones properly aligned.
717 (find_barrier): Account for extra alignment needed for 8-byte wide
719 (machine_dependent_reorg): Require a label for the second 4-byte
720 constant after an 8-byte one.
721 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
723 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
724 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
725 last_float when switching float modes.
726 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
727 auto-increment for general-purpose registers.
728 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
730 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
732 * config/sh/sh.c (sh_builtin_saveregs): Support using all
733 registers for varargs.
734 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
735 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
736 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
737 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
738 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
739 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
740 call_cookie accordingly.
741 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
742 (SHCOMPACT_BYREF): Likewise.
743 (SHCOMPACT_FORCE_ON_STACK): New macro.
744 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
745 (sh_builtin_saveregs): Likewise.
746 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
747 shcompact_incoming_args): Use new shift values. Support
748 sequences of consecutive and non-consecutive pushes/pops.
749 * config/sh/sh.md (return): Don't explicitly use PR_REG.
750 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
751 * config/sh/sh.h (TEXT_SECTION): Define.
752 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
753 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
754 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
755 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
756 return values on FPU-enabled SHmedia.
757 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
759 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
760 value is returned in a non-FP reg and is not returned by
762 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
764 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
765 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
766 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
767 quad-aligned to be passed by callee-copy reference.
768 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
769 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
770 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
771 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
772 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
773 copying low-numbered FP regs to r7 and r8.
774 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
775 FP regs to general-purpose regs only if the copy was passed on the
777 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
778 copying FP reg to r9.
779 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
780 copy FP regs to general-purpose regs only in outgoing calls.
781 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
782 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
784 * config/sh/sh.h (struct sh_args): Document all fields.
785 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
786 passed partially on the stack should not consider making
788 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
789 stack_regs only for incoming calls. When passing FP args,
790 make sure there are FP regs available before modifying
792 (SHCOMPACT_BYREF): Pass double args in general-purpose
793 registers by reference.
794 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
795 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
796 attempt to generate sibcalls if the caller got any arguments
798 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
799 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
800 to 8-byte boundaries.
801 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
802 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
803 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
805 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
806 for the offsets to have the ISA bit set.
807 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
808 invocation. Use beq instead of bgt to mark end of sequence of
810 (shcompact_incoming_args): Fix store of r2. Use beq instead of
811 bgt to mark end of sequence of stores.
812 * config/sh/sh.c (arith_operand): Don't check whether
813 CONST_OK_FOR_J for now.
814 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
815 instead of long for conversion.
816 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
817 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
818 before passing it to fprintf.
819 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
820 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
821 Call set_fpscr before reading/writing SR.
822 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
824 * config/sh/lib1funcs.asm: Add `.align 2' directives before
826 (FMOVD_WORKS): Define on SH5 with FPU.
827 (set_fpscr): Define on SH5. Remove separate _fpscr_values
829 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
831 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
832 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
834 (ia_main_table): Ditto.
835 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
836 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
837 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
838 the definitions from sh.h.
839 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
841 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
842 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
843 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
844 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
845 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
846 Increment LABEL_NUSES.
848 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
850 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
852 * config/sh/elf.h (SIZE_TYPE): Likewise.
853 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
854 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
855 shcompact_incoming_args): Load switch table addresses using
857 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
858 (NO_BUILTIN_SIZE_TYPE): Define.
859 (SIZE_TYPE): Don't define.
860 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
861 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
862 definition of __SH5__=32 for -m5-compact-nofpu.
863 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
865 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
866 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
867 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
868 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
869 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
870 (INSN_LENGTH_ALIGNMENT): Likewise.
871 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
872 * config/sh/sh.md (call, call_value, sibcall): Simplify
873 copying of non-branch-target register.
874 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
875 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
876 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
877 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
878 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
879 floating-point values as structs.
880 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
881 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
882 general-purpose register.
883 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
884 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
885 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
886 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
887 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
888 (ENCODE_SECTION_INFO): Enclose variables and constants in
890 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
891 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
892 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
893 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
894 only for LABEL_REFs. For SYMBOL_REFs, prepend
895 SH_DATALABEL_ENCODING to the symbol name.
896 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
898 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
899 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
901 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
902 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
903 (DATALABEL_REF_P): Don't require CONST.
904 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
906 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
907 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
909 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
910 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
911 Use shallow_copy_rtx and PUT_MODE to change the mode of
912 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
913 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
914 on SHmedia using GENERAL_REGs.
915 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
916 bltu_media_i): Fix reversion of conditions.
917 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
918 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
919 * config/sh/sh.c (output_far_jump): Save r13 in macl.
920 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
921 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
922 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
923 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
924 (GCC_nested_trampoline): Likewise.
925 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
926 * config/sh/sh.c (gen_datalabel_ref): Define.
927 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
928 (INITIALIZE_TRAMPOLINE): Likewise.
929 (TRAMPOLINE_ADJUST_ADDRESS): Define.
930 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
931 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
932 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
933 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
934 (ic_invalidate): Adjust for SH5.
935 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
936 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
938 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
939 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
940 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
941 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
942 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
943 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
944 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
945 * config/sh/sh.c (target_reg_operand): Match only target-branch
946 registers and pseudos that aren't virtual registers.
947 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
948 Copy operands that don't match target_reg_operand to pseudos.
949 (call_media, call_value_media, sibcall_media): Use
950 target_reg_operand instead of target_operand.
951 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
952 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
953 * config/sh/sh.c (target_reg_operand): Match hardware registers
954 other than branch-target registers.
955 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
956 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
957 (fpscr_values) [SH5 == 32]: Define.
958 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
959 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
960 Handle function addresses coming in SUBREGs.
961 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
962 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
963 shcompact_return_trampoline): Use datalabel where appropriate.
964 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
965 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
966 general-purpose register to copy one branch-target register to
968 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
969 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
970 SYMBOL_REFs with VOIDmode.
971 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
972 bltu_media_i): New insns.
973 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
974 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
975 (INIT_CUMULATIVE_ARGS): Likewise.
976 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
977 * machmode.def (V16SFmode): New mode.
978 * c-common.c (type_for_mode): Support V2SF and V16SF.
979 * tree.c (build_common_tree_nodes_2): Likewise.
980 * tree.h (tree_index): Likewise.
981 * calls.c (emit_call_1): Take args_so_far. Adjust all
982 callers. Introduce CALL_POPS_ARGS.
983 * tm.texi (CALL_POPS_ARGS): Document.
984 * config/sh/crt1.asm: Implement in SHmedia mode.
985 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
986 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
987 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
988 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
989 Implement divsi and udivsi in SHmedia mode. Introduce
990 SHcompact trampolines.
991 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
993 (regno_reg_class): Rewrite.
994 (fp_reg_names): Remove.
995 (sh_register_names, sh_additional_register_names): New.
996 (print_operand): Added `u'. Support SUBREGs in addresses.
997 Add parentheses around shifted CONSTs.
998 (output_file_start): Output .mode and .abi directives.
999 (shiftcosts, addsubcosts, multcosts): Adjust.
1000 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
1001 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
1002 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
1003 bytes, not registers. Take into account the need for the
1004 SHcompact incoming args trampoline. Adjust all callers.
1005 (sh_expand_prologue): Take stack_regs into account. Call
1006 incoming args trampoline. Keep stack aligned as per SH5 ABI.
1007 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
1008 stack aligned as per SH5 ABI.
1009 (sh_builtin_saveregs): Support SH5 ABI.
1010 (sh_build_va_list, sh_va_start): Likewise.
1011 (initial_elimination_offset): Take alignment into account.
1012 Compute location of PR according to the SH5 stack frame.
1013 (arith_reg_operand): Reject branch-target registers.
1014 (shmedia_6bit_operand): New.
1015 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
1016 (target_reg_operand): Match DImode only. Accept SUBREGs.
1017 (target_operand): New.
1018 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
1019 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
1020 SIBCALL_REGS for SHmedia.
1021 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
1022 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
1023 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
1024 (TARGET_SWITCHES): New SH5 flags.
1025 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
1026 VALID_REGISTER_P to disable unsupported registers.
1027 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
1028 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
1029 (FUNCTION_ARG_PADDING): Define.
1030 (FASTEST_ALIGNMENT): Adjust.
1031 (SH_REGISTER_NAMES_INITIALIZER): New.
1032 (sh_register_names): Declare.
1033 (DEBUG_REGISTER_NAMES): Define.
1034 (REGISTER_NAMES): Define based on sh_register_names.
1035 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
1036 (sh_additional_register_names): Declare.
1037 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
1038 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
1039 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
1040 (REGISTER_NATURAL_MODE): Define.
1041 (FIRST_PSEUDO_REGISTER): Adjust.
1042 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
1043 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
1044 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
1045 (VECTOR_MODE_SUPPORTED_P): Define.
1046 (REG_CLASS_CONTENTS): Adjust.
1047 (SMALL_REGISTER_CLASSES): Adjust.
1048 (REG_ALLOC_ORDER): Adjust.
1049 (INDEX_REG_CLASS): Adjust.
1050 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
1051 (CONST_OK_FOR_LETTER_P): Adjust.
1052 (PREFERRED_RELOAD_CLASS): Adjust.
1053 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
1054 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
1055 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
1056 (FIRST_FP_PARM_REG): Adjust.
1057 (CALL_POPS_ARGS): Define.
1058 (FUNCTION_ARG_REGNO_P): Adjust.
1059 (struct sh_args): New fields.
1060 (GET_SH_ARG_CLASS): Adjust.
1061 (INIT_CUMULATIVE_ARGS): Adjust.
1062 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
1063 (FUNCTION_ARG_ADVANCE): Adjust.
1064 (FUNCTION_ARG): Adjust.
1065 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
1066 (FUNCTION_ARG_CALLEE_COPIES): Define.
1067 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
1068 (STRICT_ARGUMENT_NAMING): Define.
1069 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
1070 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
1071 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
1072 (SETUP_INCOMING_VARARGS): Adjust.
1073 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
1074 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
1075 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
1076 (SUBREG_OK_FOR_INDEX_P): Adjust.
1077 (EXTRA_CONSTRAINT_S): Update.
1078 (EXTRA_CONSTRAINT_T): New.
1079 (EXTRA_CONSTRAINT): Adjust.
1080 (GO_IF_LEGITIMATE_INDEX): Adjust.
1081 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
1082 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
1084 (MAX_MOVE_MAX): Define.
1086 (CONST_COSTS): Adjust.
1087 (REGISTER_MOVE_COST): Adjust.
1088 (BRANCH_COST): Adjust.
1089 (TEXT_SECTION_ASM_OP): Adjust.
1090 (DBX_REGISTER_NUMBER): Adjust.
1091 (ASM_OUTPUT_DOUBLE_INT): New.
1092 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
1093 (PREDICATE_CODES): Adjust.
1094 (PROMOTE_MODE): Adjust.
1095 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
1096 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
1097 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
1098 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
1099 (DR0_REG, DR2_REG, DR4_REG): Renumber.
1100 (TR0_REG, TR1_REG, TR2_REG): New.
1101 (XD0_REG): Renumber.
1102 (UNSPEC_COMPACT_ARGS): New.
1103 (type): Added pt and ptabs.
1104 (length): Default to 4 on SHmedia. Default pt length to 12
1105 and 20 on SHmedia32 and SHmedia64, respectively.
1106 (pt): New function unit.
1107 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
1108 Add whitespace between operands of SHmedia instructions.
1110 (adddi3_media, addsi3_media): Adjust constraints.
1111 (subsi3) [SHmedia]: Force operand 1 into a register.
1112 (udivsi3_i1_media, udivsi3_i4_media): New.
1113 (udivsi3): Support SHmedia.
1114 (divsi3_i1_media, divsi3_i4_media): New.
1115 (divsi3): Support SHmedia.
1116 (anddi3, iordi3, xordi3): Adjust constraints.
1117 (zero_extendhidi2, zero_extendqidi2): New.
1118 (extendsidi2, extendhidi2, extendqidi2): New.
1119 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
1120 (pop_e, pop_fpul, pop_4): Likewise.
1121 (movsi_media): Support FP and BT registers.
1122 (movsi_media_nofpu): New. Adjust splits to DImode.
1123 (lduw, ldub): Renamed to zero_extend* above.
1124 (movqi_media): Fix typo.
1125 (movdi_media): Support FP and BT registers.
1126 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
1127 (movdi_const_32bit): New.
1128 (shori_media): Require immediate operand. Use `u' for output.
1129 (movdf_media, movsf_media): Simplified.
1130 (movdf_media_nofpu, movsf_media_nofpu): New.
1131 (movdf, movsf): Adjust
1132 (movv2sf, movv2sf, movv16sf): New.
1133 (beq_media, beq_media_i): Adjust constraints. Don't use
1134 scratch BT register.
1135 (bne_media, bne_media_i): Likewise.
1136 (bgt_media, bgt_media_i): Likewise.
1137 (bge_media, bge_media_i): Likewise.
1138 (bgtu_media, bgtu_media_i): Likewise.
1139 (bgeu_media, bgeu_media_i): Likewise.
1140 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
1141 bunordered): Emit jump insn. Force operands to registers when
1143 (jump_media, jump): Simplify.
1144 (call_compact, call_compact_rettramp): New.
1145 (call_value_compact, call_value_compact_rettramp): New.
1146 (call_media, call_value_media): Simplify.
1147 (sibcall_compact, sibcall_media): New.
1148 (call, call_value): Adjust for SHmedia and SHcompact.
1149 (sibcall, sibcall_value, untyped_call): Likewise.
1150 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
1151 (indirect_jump): Adjust for SHmedia.
1152 (casesi_jump_media): New.
1153 (nop): Re-enable for SHmedia.
1154 (call_site): Restrict to SH1.
1155 (casesi): Adjust for SHmedia.
1156 (casesi_shift_media, casesi_load_media): New.
1157 (return): Explicitly use PR register. Call return trampoline
1159 (return_i): Explicitly use PR register.
1160 (shcompact_return_tramp, shcompact_return_tramp_i): New.
1161 (return_media): Adjust.
1162 (shcompact_incoming_args): New.
1164 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
1165 (movstrsi): Disable on SH5.
1166 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
1167 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
1168 (subsf3, subsf3_media): Likewise.
1169 (mulsf3, mulsf3_media, mac_media): Likewise.
1170 (divsf3, divsf3_media): Likewise.
1171 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
1172 (floatsisf2, fux_truncsfsi2): Likewise.
1173 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
1175 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
1176 (cmpunsf_media, cmpsf): Likewise.
1177 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
1178 (abssf2, abssf2_media): Likewise.
1179 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
1180 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
1181 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
1182 (floatsidf2, fix_truncdfsi2): Likewise.
1183 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
1185 (cmpeqdf_media, cmpgtdf_media): Likewise.
1186 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
1187 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
1188 (absdf2, absdf2_media): Likewise.
1189 (extendsfdf2, extendsfdf2_media): Likewise.
1190 (truncsfdf2, truncsfdf2_media): Likewise.
1191 * config/sh/sh64.h: New file.
1192 * config/sh/t-sh64: New file.
1193 * config/sh/shmedia.h: New file.
1194 * config/sh/ushmedia.h: New file.
1195 * config/sh/sshmedia.h: New file.
1196 * configure.in: Added sh64-*-elf.
1197 * configure: Rebuilt.
1198 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
1199 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
1200 (reg_class_from_letter): Use `b' for TARGET_REGS.
1201 (print_operand): Support `%M', `%m', `AND' and
1202 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
1203 (andcosts): Adjust for SHmedia.
1204 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
1206 (target_reg_operand): New function.
1207 * config/sh/sh-protos.h (target_reg_operand): Declare.
1208 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
1209 FP registers on SH5.
1210 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
1212 (TARGET_REGISTER_P): New macro.
1213 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
1214 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
1215 (EXTRA_CONSTRAINT_S): New macro.
1216 (EXTRA_CONSTRAINT): Adjust.
1217 (FLOAT_TYPE_SIZE): Define to 32.
1218 (Pmode): DImode on SHmedia.
1219 (CONST_COSTS): Adjust for SHmedia literals.
1220 (PREDICATE_CODES): Added target_reg_operand.
1221 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
1222 * config/sh/sh.md: Remove all attrs from SHmedia insns.
1223 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
1224 (cmpdi): Accept SHmedia.
1225 (movdicc_false, movdicc_true): New insns.
1226 (movdicc): New expand.
1227 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
1229 (addsi3_media): Match `S' constraint.
1230 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
1231 (negdi2): Expand for SHmedia.
1232 (one_cmpldi2): New expand.
1233 (zero_extendsidi2): Change from expand to insn.
1234 (extendsidi2): Add constraints.
1235 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
1236 LD/ST address. Fix SI immediate loading split.
1237 (movhi_media, movqi_media, lduw, ldub): New insns.
1238 (movhi, movqi): Accept SHmedia.
1239 (shori_media, movdi_media): Relax input constraints. Split
1241 (movdf_media, movsf_media): New insn. New split to movdi.
1242 (movdf, movsf): Match on SHmedia.
1243 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
1244 bgeu_media): New insns and splits. New insns with `_i' suffix.
1245 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
1246 (bunordered): New expand.
1247 (jump_compact): Renamed from `jump'.
1248 (jump_media): New insn.
1250 (call_media, call_value_media): New insns.
1251 (call, call_value): Adjust.
1252 (indirect_jump_compact): Renamed from `indirect_jump'.
1253 (indirect_jump_media): New insn.
1254 (indirect_jump): New expand.
1255 (untyped_call, return): Accept SHmedia.
1256 (return_media): New insn.
1257 (prologue, epilogue, blockage): Accept SHmedia.
1258 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
1259 (sunordered): New expand.
1260 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
1261 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
1262 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
1263 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
1264 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
1265 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
1266 abssf2_media): New insns.
1267 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
1268 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
1269 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
1270 floatdidf2, floatsidf2_media, fix_truncdfdi2,
1271 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
1272 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
1273 absdf2_media): New insns.
1274 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
1275 (extendsfdf2_media, truncdfsf2_media): New insns.
1276 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
1277 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
1278 * config/sh/sh.h (CONST_OK_FOR_J): Document.
1279 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
1280 * config/sh/sh.md (adddi3): New expand.
1281 (adddi3_media, adddi3z_media): New insns.
1282 (adddi3_compact): Renamed from adddi3.
1283 (addsi3_media): Use add.l r63 to add constant zero.
1284 (subdi3): New expand.
1285 (subdi3_media): New insn.
1286 (subdi3_compact): Renamed from subdi3.
1287 (mulsidi3): New expand.
1288 (mulsidi3_media): New insn.
1289 (mulsidi3_compact): Renamed from mulsidi3.
1290 (umulsidi3): New expand.
1291 (umulsidi3_media): New insn.
1292 (umulsidi3_compact): Renamed from umulsidi3.
1293 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
1294 (ashlsi3, ashrsi3, lshrsi3): Use them.
1295 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
1296 (ashldi3, ashrdi3, lshrdi3): Use them.
1297 (zero_extendsidi2): New expand.
1298 (extendsidi2): New insn.
1299 (movsi_media): New insn. Split to movdi to load constants.
1300 (movsi): Enable for shmedia.
1301 (movdi_media): New insn. Use shori_media to load wide constants.
1302 (short_media): New insn.
1303 (movdi): Enable for shmedia.
1304 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
1305 * config/sh/sh.h (CPP_SPEC): Added `m5'.
1306 (SUBTARGET_CPP_SPEC): Added `!m5'.
1307 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
1308 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
1309 to all other SH variants.
1310 (TARGET_DEFAULT): Set to SH1_BIT.
1311 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
1312 (BITS_PER_WORD): Raise to 64 on shmedia.
1313 (MAX_BITS_PER_WORD): Change to 64.
1314 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
1315 (INT_TYPE_SIZE): Keep as 32.
1316 (UNITS_PER_WORD): Raise to 8 on shmedia.
1317 (MIN_UNITS_PER_WORD): Keep as 4.
1318 (POINTER_SIZE): Raise to 64 on shmedia.
1319 (CONST_OK_FOR_J): New macro.
1320 (CONST_OK_FOR_LETTER_P): Use it.
1321 (processor_type): Add PROCESSOR_SH5.
1322 * config/sh/sh.md: Conditionalize all expands, insns and
1323 splits to TARGET_SH1.
1325 (addsi3_compact): Renamed from...
1326 (addsi3): Now an expand.
1327 (addsi3_media, subsi3_media): New insns.
1328 (subsi3): Don't negate constants with SHmedia.
1330 * hooks.c: New file.
1331 * hooks.h: New file.
1332 * Makefile.in (HOOKS_H): New.
1333 (TARGET_DEF_H): Added $(HOOKS_H).
1334 (OBJS): Added hooks.o.
1335 (cfgcleanup.o, bb-reorder.o): Added target.h.
1336 (hooks.o): Added dependencies.
1337 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
1338 (TARGET_INITIALIZER): this.
1339 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
1340 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
1341 * bb-reorder.c: Include target.h.
1342 (reorder_basic_blocks): Skip if cannot modify jumps.
1343 * cfgcleanup.c: Include target.h.
1344 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
1346 2002-02-08 Chris Demetriou <cgd@broadcom.com>
1348 * config/mips/mips.md (casesi_internal, casesi_internal_di):
1349 Protect jump delay slot instructions with .set noreorder and
1352 2002-02-08 Chris Demetriou <cgd@broadcom.com>
1354 * config/mips/mips.md (casesi_internal_di): Calculate
1355 the index into the target offset table correctly.
1357 2002-02-08 Richard Henderson <rth@redhat.com>
1359 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
1360 * final.c (output_addr_const): Accept and discard SUBREG.
1361 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
1362 mark them unknown instead.
1363 (simplify_subtraction): Handle RTX_UNKNOWN.
1364 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
1366 2002-02-08 David Edelsohn <edelsohn@gnu.org>
1368 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
1370 2002-02-08 Richard Henderson <rth@redhat.com>
1372 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
1374 2002-02-08 Andreas Jaeger <aj@suse.de>
1376 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
1377 * config/i386/t-linux64: New file.
1379 2002-02-08 Jakub Jelinek <jakub@redhat.com>
1381 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
1382 * c-parse.in (compstmt): Clear last_expr_type.
1384 2002-02-07 Richard Henderson <rth@redhat.com>
1386 * loop.c (strength_reduce): Sink final_value when not
1389 2002-02-07 David O'Brien <obrien@FreeBSD.org>
1391 * config/sparc/freebsd.h: Fix mismatched spec {.
1393 2002-02-07 Richard Henderson <rth@redhat.com>
1395 * cfgrtl.c: Include recog.h and insn-config.h.
1396 (keep_with_call_p): Fix general_operand invocation.
1397 * Makefile.in (cfgrtl.o): Update dependencies.
1399 2002-02-07 Kazu Hirata <kazu@hxi.com>
1401 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
1402 comment. Accept HImode only if TARGET_H8300.
1404 2002-02-07 Eric Christopher <echristo@redhat.com>
1406 * config/mips/crtn.asm: Cleanup #ifdefs.
1408 2002-02-07 Eric Christopher <echristo@redhat.com>
1410 * config/mips/crti.asm: Add changes for mips16. mips16 uses
1411 register 7 as RA instead of $31.
1412 * config/mips/crtn.asm: Ditto.
1413 * config/mips/mips.c (mips_move_2words): Add case for
1414 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
1415 (compute_frame_size): Fix typo.
1416 (save_restore_insns): Ditto. Make documentation about using
1417 register $7 as return register more precise.
1418 (mips_expand_epilogue): Fix comment. Add code to work around not
1419 being able to add to the stack pointer directly.
1420 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
1421 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
1424 2002-02-07 Tom Rix <trix@redhat.com>
1426 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
1427 immediates in ldu and stdu DS opcode field.
1428 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
1429 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
1430 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
1432 2002-02-07 Jeff Sturm <jsturm@one-point.com>
1434 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
1435 offset for stack bias.
1437 2002-02-07 H.J. Lu <hjl@gnu.org>
1439 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
1441 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
1443 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
1445 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
1447 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
1448 * i386.c (x86_order_regs_for_local_alloc): New global function.
1449 * i386.h (REG_ALLOC_ORDER): CLeanup.
1450 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
1452 2002-02-07 Richard Henderson <rth@redhat.com>
1454 PR optimization/2463
1455 * alias.c (find_base_value): Recall base values for fixed hard regs.
1456 * loop.c (loop_regs_update): Don't use single_set on non-insns.
1458 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
1460 * config/mips/mips.md (define_delay) [mips16]: Adjust required
1463 2002-02-06 Richard Henderson <rth@redhat.com>
1466 * stmt.c (resolve_operand_name_1): Take more care with mixed
1467 named and unnamed operands.
1469 2002-02-06 Janis Johnson <janis187@us.ibm.com>
1470 Jan Hubicka <jh@suse.cz>
1472 * loop.c (remove_constant_addition): Avoid clobbering a shared
1475 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
1477 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
1478 * config/s390/t-linux64: New file.
1479 * config/s390/libgcc-glibc.ver: New file.
1481 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
1483 * config/s390/linux64.h: Delete file.
1484 * config/s390/s390x.h: New file.
1485 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
1486 as target header file.
1487 * config/s390/linux.h (TARGET_VERSION): Define depending on
1488 DEFAULT_TARGET_64BIT.
1489 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
1490 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1491 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
1492 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
1493 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
1494 (EXTRA_SPEC): New define.
1495 * config/s390/s390.h (TARGET_VERSION): Define depending on
1496 DEFAULT_TARGET_64BIT.
1497 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
1499 2002-02-06 Jason Merrill <jason@redhat.com>
1501 * c-decl.c (finish_function): Warn about a non-void function with
1502 no return statement and no abnormal exit.
1503 (current_function_returns_abnormally): New variable.
1504 (start_function): Clear it.
1505 (struct c_language_function): Add returns_abnormally.
1506 (push_c_function_context): Save it.
1507 (pop_c_function_context): Restore it.
1508 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
1509 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
1510 an explicit return type.
1511 * c-tree.h: Declare current_function_returns_abnormally.
1512 (C_FUNCTION_IMPLICIT_INT): New macro.
1513 * c-typeck.c (build_function_call): Set it.
1514 (c_expand_return): Set current_function_returns_value even if the
1517 2002-02-06 Jakub Jelinek <jakub@redhat.com>
1520 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
1521 unsafe for reevaluation.
1523 2002-02-06 Jakub Jelinek <jakub@redhat.com>
1526 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
1527 EXPR_STMT, but COMPOUND_STMT, recurse into it.
1529 2002-02-06 Richard Henderson <rth@redhat.com>
1531 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
1532 be a general_operand. Dest for function value must be a pseudo.
1534 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
1536 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
1537 as SYMBOL_REFs from the constant pool.
1539 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1541 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
1542 passed by invisible reference.
1544 2002-02-05 Richard Henderson <rth@redhat.com>
1546 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
1548 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
1550 Implement using "base addresses" in insn operands as default.
1551 * config/mmix/mmix.c (mmix_conditional_register_usage): if
1552 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
1553 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
1554 used to read the rtx value.
1555 (mmix_target_asm_function_epilogue): Fix spacing.
1556 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
1557 (mmix_legitimate_address): Ditto.
1558 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
1559 should be loaded with a GETA insn. Don't allocate needless extra
1560 char for nul termination and fix misleading comment.
1561 (mmix_print_operand_address): Handle constants if
1562 TARGET_BASE_ADDRESSES.
1563 (mmix_output_register_setting): Use base addressing if
1564 TARGET_BASE_ADDRESSES and the number of insns is 3.
1565 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
1566 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
1567 to use R as constraint, add LDA to match s.
1568 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
1569 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
1570 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
1571 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
1572 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
1573 order with other fixed registers.
1574 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
1575 other parameter/call-clobbered registers.
1576 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
1577 -mbase-addresses, -mno-base-addresses.
1578 (MMIX Options): Ditto.
1580 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
1582 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
1584 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
1586 * config/rs6000/altivec.h: Change elem to _S_elem.
1588 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
1590 * config/netbsd.h (WCHAR_TYPE): Define.
1591 (WCHAR_TYPE_SIZE): Ditto.
1593 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
1594 (WCHAR_UNSIGNED): Ditto.
1595 (WCHAR_TYPE_SIZE): Ditto.
1597 * config/arm/netbsd.h: Likewise.
1598 * config/i386/netbsd-elf.h: Likewise.
1599 * config/i386/netbsd.h: Likewise.
1600 * config/m68k/netbsd-elf.h: Likewise.
1601 * config/m68k/netbsd.h: Likewise.
1602 * config/ns32k/netbsd.h: Likewise.
1603 * config/sparc/netbsd.h: Likewise.
1604 * config/vax/netbsd.: Likewise.
1606 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
1608 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
1609 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
1610 (TARGET_INITIALIZER): this.
1611 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
1612 (BITFIELD_NBYTES_LIMITED): Markup fix.
1613 * tree.h (default_ms_bitfield_layout_p): Declare.
1614 (record_layout_info): Added prev_field.
1615 * tree.c (default_ms_bitfield_layout_p): New fn.
1616 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
1617 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
1618 * stor-layout.c: Include target.h.
1619 (start_record_layout): Initialize prev_field.
1620 (place_field): Handle MS bit-field layout, and disregard
1621 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
1622 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
1623 * Makefile.in (stor-layout.o): Adjust dependencies.
1625 2002-02-05 Jason Merrill <jason@redhat.com>
1627 * c-typeck.c (convert_for_assignment): Don't allow conversions
1628 between pointers and references. Only allow lvalues to convert to
1631 * c-decl.c (finish_function): Warn about a non-void function with
1632 no return statement and no abnormal exit.
1633 (current_function_returns_abnormally): New variable.
1634 (start_function): Clear it.
1635 (struct c_language_function): Add returns_abnormally.
1636 (push_c_function_context): Save it.
1637 (pop_c_function_context): Restore it.
1638 * c-tree.h: Declare current_function_returns_abnormally.
1639 * c-typeck.c (build_function_call): Set it.
1641 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
1643 2002-02-05 Andreas Jaeger <aj@suse.de>
1645 * crtstuff.c: Fix comments.
1647 2002-02-05 Richard Henderson <rth@redhat.com>
1650 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
1651 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
1654 * config/mips/mips.c (function_arg): Handle TImode.
1655 (function_arg_advance): Likewise.
1657 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
1659 * config/rs6000/altivec.h (vec_step_help): Rename to
1662 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
1664 * config/rs6000/altivec.h: Fix typos.
1666 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
1668 * config/arm/netbsd.h: Correct a comment.
1670 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
1672 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
1673 building void typed builtins.
1675 * config/rs6000/altivec.h (vec_ld*): Fix typos.
1676 (vec_step): Implement for C++.
1678 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1680 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
1682 2002-02-04 Richard Henderson <rth@redhat.com>
1684 * combine.c (nonzero_bits): Re-introduce special case for
1685 sp/fp/ap wrt REGNO_POINTER_ALIGN.
1687 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
1689 * doc/extend.texi: Warn about unsupported usage of altivec
1692 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
1693 (altivec_predicate_*): New.
1695 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
1696 Add C++ version of vec_*() functions.
1698 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
1699 (bdesc_2arg): Remove altivec predicates.
1700 (altivec_expand_builtin): Handle predicates.
1701 (altivec_init_builtins): Handle predicates.
1702 (altivec_expand_predicate_builtin): New.
1704 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1706 * pa.c (DO_FRAME_NOTES): Move forward.
1707 (store_reg): Revise handling of frame notes.
1708 (load_reg): Likewise.
1709 (set_reg_plus_d): Likewise.
1710 (hppa_expand_prologue): Likewise.
1711 (hppa_expand_epilogue): Likewise.
1713 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1715 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
1717 2002-02-04 Jakub Jelinek <jakub@redhat.com>
1719 PR c/4475, c++/3780:
1720 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
1721 * c-common.h (SWITCH_TYPE): Define.
1722 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
1723 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
1724 Rename spareness variable to sparseness.
1725 (expand_end_case_type): Renamed from expand_end_case, use orig_type
1726 if non-NULL instead of TREE_TYPE (orig_index).
1727 * tree.h (expand_end_case_type): Renamed from expand_end_case.
1728 (expand_end_case): Define using expand_end_case_type.
1729 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
1730 to expand_end_case_type.
1731 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
1733 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1735 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
1736 (BIGGEST_ALIGNMENT): Change to 128.
1738 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1740 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
1742 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1744 * pa.md (call_internal_reg_64bit): Remove unused variable.
1746 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
1748 * config/arm/arm.h (machine_function): Add uses_anonymous_args
1750 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
1751 * config/arm/arm.c (current_function_anonymous_args): Delete,
1752 replace uses with cfun->machine->uses_anonymous_args.
1753 (arm_reorg): Do not reset uses_anonymous_args.
1755 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
1756 any geenral register.
1758 2001-02-04 Bernd Schmidt <bernds@redhat.com>
1760 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
1763 2002-02-04 Richard Henderson <rth@redhat.com>
1765 * combine.c (force_to_mode): Remove STACK_BIAS code.
1766 (nonzero_bits): Likewise. Replace sp/fp special case with
1767 REGNO_POINTER_ALIGN.
1769 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
1770 (HARD_FRAME_POINTER_REGNUM): New.
1771 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
1772 (FIXED_REGS, CALL_USED_REGS): Update.
1773 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
1774 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
1775 (HARD_REGNO_NREGS): Update for SFP.
1776 (STACK_POINTER_OFFSET): Include bias here ...
1777 (FIRST_PARM_OFFSET): ... not here.
1778 (STACK_BIAS): Remove.
1779 (INIT_EXPANDERS): New.
1780 (STARTING_FRAME_OFFSET): Do not include bias.
1781 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
1782 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
1783 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
1784 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
1785 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
1786 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
1787 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
1788 (MUST_SAVE_REGISTER): Likewise.
1789 (sparc_flat_function_prologue): Likewise.
1790 (sparc_flat_function_epilogue): Likewise.
1791 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
1792 (sparc_init_modes): SFP is GENERAL_REGS.
1793 (sparc_builtin_saveregs): SFP does not have bias applied.
1795 2002-02-04 Richard Henderson <rth@redhat.com>
1797 * config/alpha/alpha.c (current_function_is_thunk): Don't check
1798 current_function_is_thunk.
1799 (alpha_sa_mask): Distinguish between current_function_is_thunk
1800 called from ASM_OUTPUT_MI_THUNK and not.
1801 (alpha_does_function_need_gp): Thunks always need gp.
1802 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
1803 (alpha_output_mi_thunk_osf): New.
1804 * config/alpha/alpha-protos.h: Update.
1805 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
1807 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
1809 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
1810 function types, not when they're taken away.
1812 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
1814 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
1815 CODE_LABEL and jump table when replacing a table jump with a
1818 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1820 * config/s390/s390-protos.h (legitimize_la_operand,
1821 s390_secondary_input_reload_class, s390_plus_operand,
1822 s390_expand_plus_operand): Add prototypes.
1824 config/s390/s390.c (s390_secondary_input_reload_class,
1825 s390_plus_operand, s390_expand_plus_operand): New functions.
1827 (struct s390_address): New member 'pointer'.
1828 (s390_decompose_address): Compute it.
1829 (legitimate_la_operand_p): Use it.
1830 (legitimize_la_operand): New function.
1831 (movti, movdi, movdf splitters): Call it.
1833 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
1834 (PREDICATE_CODES): Add s390_plus_operand.
1836 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
1837 (la_ccclobber): Allow GENERAL_REGS as output operand.
1839 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
1840 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
1841 (*la_64, *la_31, reload_indi, reload_insi): ... these.
1843 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1845 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
1846 register names for regular asm () construct.
1848 2002-02-04 Jakub Jelinek <jakub@redhat.com>
1850 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
1853 2002-02-04 Jakub Jelinek <jakub@redhat.com>
1855 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
1858 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
1860 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
1861 constant pool to be identical by string address and index.
1863 2002-02-04 Anthony Green <green@redhat.com>
1865 * output.h (SECTION_OVERRIDE): Define.
1866 * varasm.c (named_section): Obey SECTION_OVERRIDE.
1868 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
1870 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
1871 by existing arm*-*-netbsd* (a.out) target.
1872 (ns32k-*-netbsdelf*): Likewise.
1873 (sparc-*-netbsdelf*): Likewise.
1874 (vax-*-netbsdelf*): Likewise.
1876 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
1878 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
1879 headers and libobjc headers.
1881 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
1883 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
1884 (_mingw.h): Remove duplicate include.
1886 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
1888 * config.gcc: Set cpu_type to m68k for 68010, as well.
1889 (m68010-*-netbsdelf*): New...
1890 (m68k*-*-netbsdelf*): ...targets.
1891 * config/m68k/netbsd-elf.h: New file.
1893 2002-02-02 Kazu Hirata <kazu@hxi.com>
1895 * config/h8300/h8300.c (hand_list): Move inside function_arg.
1897 2002-02-02 Kazu Hirata <kazu@hxi.com>
1899 * config/h8300/h8300.c (h8_push_ops): Move inside
1901 (h8_pop_ops): Likewise.
1902 (h8_move_ops): Likewise.
1904 2002-02-02 Kazu Hirata <kazu@hxi.com>
1906 * config/h8300/h8300.c (os_task): Make it static.
1907 (monitor): Likewise.
1908 (pragma_saveall): Likewise.
1910 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
1912 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
1913 constant is a valid sign-extension for Pmode.
1915 2002-02-02 Kazu Hirata <kazu@hxi.com>
1917 * config/h8300/h8300.c: Fix formatting.
1919 2002-02-02 Kazu Hirata <kazu@hxi.com>
1921 * config/h8300/h8300.md: Fix formatting.
1923 2002-02-02 Kazu Hirata <kazu@hxi.com>
1925 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
1926 predicates of operands[1]. Split the patterns for each
1929 2002-02-02 Kazu Hirata <kazu@hxi.com>
1931 * config/h8300/h8300.md (xor patterns): Tighten the predicates
1932 of operands[1] to register_operand.
1934 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
1936 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
1937 * cpphash.c (_cpp_init_hashtable): Similarly.
1938 * cppinit.c (cpp_create_reader): Default the signed_char flag.
1939 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
1940 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
1941 (cpp_handle_option): Handle the new options.
1942 * cpplex.c (cpp_interpret_charconst): Use new flag.
1943 * cpplib.h (struct cpp_options): New member signed_char.
1944 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
1945 (cpp_options): Handle -fsigned-char and -funsigned-char.
1946 (static_specs): Remove signed_char_spec.
1947 (do_spec1): Don't handle %c.
1948 * system.h: Poison SIGNED_CHAR_SPEC.
1949 * tradcif.y (yylex): Use flag_signed_char.
1950 * tradcpp.h (flag_signed_char): New.
1951 * tradcpp.c (flag_signed_char): New.
1952 (main): Handle new command-line options.
1953 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
1955 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
1956 * avr/avr.h: Remove old comments.
1957 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
1958 (CC1_SPEC): Pass -fsigned-char if -mic*.
1959 (SIGNED_CHAR_SPEC): Remove.
1961 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
1963 2002-02-01 Eric Christopher <echristo@redhat.com>
1965 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
1966 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
1967 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
1968 (ASM_OUTPUT_REG_POP): Ditto.
1970 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
1972 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
1975 2002-02-02 Jakub Jelinek <jakub@redhat.com>
1977 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
1979 2002-02-02 Jakub Jelinek <jakub@redhat.com>
1982 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
1985 2002-02-01 Janis Johnson <janis187@us.ibm.com>
1987 * cfganal.c: Include tm_p.h.
1988 (keep_with_call_p): Fix the test that determines if a register holds
1989 the return value of a call.
1991 2002-02-01 DJ Delorie <dj@redhat.com>
1993 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
1994 we are given conflicting registers, switch to the other one we
1995 had allocated for us.
1996 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
1997 as TImode so we know when the "other" register is available.
1999 2002-02-01 David O'Brien <obrien@FreeBSD.org>
2001 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
2004 2002-02-01 Janis Johnson <janis187@us.ibm.com>
2006 * cfganal.c (keep_with_call_p): New function.
2007 (flow_call_edges_add): Prevent splitting a block between a call and
2008 a single-set instruction that should be kept in the same block.
2010 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
2012 * doc/install.texi (avr): Update outdated URL.
2014 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
2016 * config/stormy16/stormy16.md (pushqi): New.
2020 (movhi): Remove stack operands.
2022 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
2023 nonimmediate_nonstack_operand.
2024 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
2026 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
2029 2002-01-31 Jason Merrill <jason@redhat.com>
2031 * Makefile.in (c-parse.c): Handle .output file.
2032 * objc/Make-lang.in (objc-parse.c): Likewise.
2034 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
2036 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
2037 the -me[lb] option is given. Don't output the default flag
2040 2002-01-31 Zack Weinberg <zack@codesourcery.com>
2042 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
2043 the primary source file; this has not been done yet.
2044 * c-decl.c (c_expand_body): Reset input_filename from
2045 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
2047 2002-01-31 Kazu Hirata <kazu@hxi.com>
2049 * rtlanal.c (subreg_regno_offset): Do not use
2050 SUBREG_REGNO_OFFSET.
2051 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
2052 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
2054 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2056 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
2057 version rather than GNATS version in --version output.
2059 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
2061 * ifcvt.c (noce_process_if_block): Make a copy of the destination
2062 when copying back from a temporary.
2064 2002-01-30 Richard Henderson <rth@redhat.com>
2066 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
2067 and new_dest are the same.
2069 2002-01-30 Richard Henderson <rth@redhat.com>
2072 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
2073 * rtl.c (note_insn_name): Update.
2074 * emit-rtl.c (remove_unnecessary_notes): Kill it.
2075 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
2076 to perform loop rotation.
2077 (expand_exit_loop_top_cond): New.
2078 * tree.h (expand_exit_loop_top_cond): Declare it.
2079 * c-semantics.c (genrtl_while_stmt): Use it.
2080 (genrtl_for_stmt): Likewise.
2082 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
2084 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
2085 arguments to 64-bit boundaries on 64-bit ABIs.
2087 2002-01-30 Steve Ellcey <sje@cup.hp.com>
2089 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
2091 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2093 * c-decl.c (grokdeclarator): Handle type being a typedef for an
2096 2002-01-30 David O'Brien <obrien@FreeBSD.org>
2098 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2099 * config/sparc/sparc_bi.h: Remove file.
2100 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
2102 2002-01-30 Richard Henderson <rth@redhat.com>
2104 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
2106 2002-01-30 Zack Weinberg <zack@codesourcery.com>
2108 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
2110 2002-01-30 Jason Merrill <jason@redhat.com>
2112 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
2113 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
2114 (reg_save): Use DW_CFA_offset_extended_sf instead.
2116 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
2118 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2120 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
2123 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
2125 * rs6000.md ("*call_value_local32"): Remove constraints.
2126 ("*call_value_local64"): Same.
2127 ("*call_value_indirect_nonlocal_aix32"): Same.
2128 ("*call_value_nonlocal_aix32"): Same.
2129 ("*call_value_indirect_nonlocal_aix64"): Same.
2130 ("*call_value_nonlocal_aix64"): Same.
2131 ("*call_value_nonlocal_sysv"): Same.
2133 2002-01-29 Richard Henderson <rth@redhat.com>
2135 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
2137 2002-01-29 Richard Henderson <rth@redhat.com>
2139 * expr.c (force_operand): Ignore flag_pic for detecting pic
2141 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
2142 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
2143 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
2144 instead of open-coded loop.
2145 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
2146 be fixed when in use.
2148 2002-01-29 Richard Henderson <rth@redhat.com>
2150 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
2151 * sched-rgn.c (propagate_deps): Update them.
2152 * sched-deps.c (sched_analyze_insn): Update them. Flush the
2153 clobbers list when either gets too long.
2155 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2157 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
2158 and INDEX_REGS the same as GENERAL_REGS.
2159 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
2161 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2163 * tree.c (build_nonstandard_integer_type): Correct prototype.
2165 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
2167 * config/s390/s390.md (movstrsico, movstrdix_64,
2168 movstrsix_31): Remove, replace by ...
2169 (movstrdi_short, movstrsi_short, movstrdi_long,
2170 movstrsi_long): ... these. New.
2171 (movstrdi, movstrsi): Adapt.
2173 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
2174 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
2175 Remove unnecessary CC clobber.
2176 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
2177 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
2179 (divmoddi4): Don't partially initialize TImode register.
2181 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
2183 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
2185 2002-01-29 Richard Henderson <rth@redhat.com>
2187 * flow.c (print_rtl_and_abort): Remove.
2188 (print_rtl_and_abort_fcn): Remove.
2189 (verify_local_live_at_start): Use dump_bb instead.
2190 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
2191 (verify_wide_reg_1): Return 2 on mode test failure.
2193 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2195 PR c/3325, c/3326, c/2511, c/3347
2196 * c-decl.c (enum_decl_context): Remove BITFIELD.
2197 (grokdeclarator): Take bitfield width as an input.
2198 Ensure bitfields are given the correct type. Perform
2199 bitfield width validation with build_bitfield_integer_type
2200 rather than waiting for finish_struct.
2201 (grok_typename, grok_typename_in_parm_context, start_decl,
2202 push_parmdecl, grokfield, start_function): Update calls to
2204 (build_bitfield_integer_type): New function.
2205 (finish_struct): Move bitfield validation to grokdeclarator
2206 and build_bitfield_integer_type.
2207 * tree.c (build_nonstandard_integer_type): New function.
2208 * tree.h (build_nonstandard_integer_type): New prototype.
2210 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
2212 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2215 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
2216 don't ignore unrecognized -W* options.
2217 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
2218 * cpplib.h (cpp_handle_option): Adjust prototype.
2219 * c-decl.c (c_decode_options): Pass 0 as last argument to
2223 * gcc.c (cpp_unique_options): Split from cpp_options.
2224 (cpp_options): Source cpp_unique_options.
2225 (default_compilers): Use cpp_unique_options instead of cpp_options
2226 when used together with cc1_options.
2227 (static_specs): Add cpp_unique_options.
2228 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
2229 when used together with cc1_options.
2231 2002-01-29 Kazu Hirata <kazu@hxi.com>
2233 * config/h8300/h8300-protos.h: Update the prototype of
2235 * config/h8300/h8300.c (output_a_shift): Remove an unused
2236 argument 'insn'. Remove redundant code.
2237 * config/h8300/h8300.md: Adust to the new prototype of
2240 2002-01-29 Kazu Hirata <kazu@hxi.com>
2242 * config/h8300/h8300-protos.h: Update the prototypes of
2243 emit_a_rotate and expand_a_rotate.
2244 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
2245 first argument to 'enum rtx_code'.
2246 (expand_a_rotate): Likewise.
2248 2002-01-28 Kazu Hirata <kazu@hxi.com>
2250 * config/h8300/h8300-protos.h: Update the prototype of
2252 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
2254 * config/h8300/h8300.md: Adjust to the new prototype.
2256 2002-01-28 Kazu Hirata <kazu@hxi.com>
2258 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
2261 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
2263 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
2264 is a fixed register before returning pic_offset_table_rtx.
2265 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
2266 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
2268 2002-01-28 Jason Merrill <jason@redhat.com>
2270 * dwarf2.h: Sync with src version.
2272 2002-01-28 Paul Koning <pkoning@equallogic.com>
2274 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
2276 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
2277 * doc/extend.texi (__builtin_prefetch): Update documentation:
2278 first argument is now const void ptr.
2280 2002-01-28 Kazu Hirata <kazu@hxi.com>
2282 * config/h8300/h8300-protos.h: Remove an unused prototype.
2284 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
2286 * toplev.c (lang_independent_init): Round up identifier size.
2288 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
2290 * config.gcc: Revert previous change.
2292 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
2294 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
2296 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
2298 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
2299 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
2300 other non-elf netbsd config frags.
2301 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
2302 collect2 will does that.
2303 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
2304 shared-lib frobbing will work.
2306 2002-01-28 Kazu Hirata <kazu@hxi.com>
2308 * config/h8300/h8300.h: Fix formatting.
2309 * config/h8300/h8300.md: Likewise.
2311 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
2313 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
2314 the old, removed AAA_standards fix.
2315 * fixinc/fixincl.x: Rebuilt.
2317 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
2319 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
2320 atexit call in crtbegin, hooked in after call to frame_dummy;
2321 register EH before registering __fini__start.
2323 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
2325 * config/rs6000/altivec.h: Remove spurious semicolons.
2327 2002-01-27 Kazu Hirata <kazu@hxi.com>
2329 * config/h8300/h8300.md: Replace dead bit extraction patterns
2330 with ones that work.
2332 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2334 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
2335 if not STRICT_ALIGNMENT.
2336 * rtl.h (MEM_ALIGN): Likewise.
2338 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
2340 * doc/invoke.texi (-fdump-translation-unit): Revert this
2341 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
2343 2002-01-27 Kazu Hirata <kazu@hxi.com>
2345 * config/h8300/h8300.md (define_constants): New.
2346 (anonymous patterns) Use defined constants appropriately.
2348 2002-01-27 Kazu Hirata <kazu@hxi.com>
2350 * config/h8300/h8300.c (function_arg): Remove redundant code.
2352 2002-01-26 Richard Henderson <rth@redhat.com>
2354 * sched-deps.c (reg_pending_uses_head): New.
2355 (reg_pending_barrier): Rename from reg_pending_sets_all.
2356 (find_insn_list): Don't mark inline.
2357 (find_insn_mem_list): Remove.
2358 (add_dependence_list, add_dependence_list_and_free): New.
2359 (flush_pending_lists): Replace only_write param with separate
2360 for_read and for_write parameters. Update all callers. Use
2361 add_dependence_list_and_free.
2362 (sched_analyze_1): Do not add reg dependencies here; just set
2363 the pending bits. Use add_dependence_list.
2364 (sched_analyze_2): Likewise.
2365 (sched_analyze_insn): Replace schedule_barrier_found with
2366 reg_pending_barrier. Add all dependencies for pending reg
2367 uses, sets, and clobbers.
2368 (sched_analyze): Don't add reg dependencies for calls, just
2369 set pending bits. Use regs_invalidated_by_call. Treat
2370 sched_before_next_call as a normal list, not a fake insn.
2371 (init_deps): No funny init for sched_before_next_call.
2372 (free_deps): Free pending mems lists. Don't zero reg_last.
2373 (init_deps_global): Init reg_pending_uses.
2374 (finish_deps_global): Free it.
2375 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
2376 (find_insn_mem_list): Remove.
2377 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
2378 (propagate_deps): Use them. Zero temp mem lists.
2380 2002-01-26 Richard Henderson <rth@redhat.com>
2382 * Makefile.in (CRTSTUFF_CFLAGS): New.
2383 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
2384 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
2385 crtstuff.c instead of alpha assembly version.
2386 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
2387 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
2388 not FORCE_{INIT,FINI}_SECTION_ALIGN.
2389 (__do_global_dtors_aux): Mark used.
2390 (frame_dummy, __do_global_ctors_aux): Mark used.
2391 (fini_dummy, init_dummy): Remove.
2393 * config/alpha/crtbegin.asm: Remove file.
2394 * config/alpha/crtend.asm: Remove file.
2395 * config/alpha/t-crtbe: Remove file.
2396 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
2397 (LINK_EH_SPEC): New.
2399 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
2400 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
2401 calling constructors.
2402 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
2404 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
2405 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
2406 CRT_END_INIT_DUMMY hack.
2407 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
2408 FORCE_{INIT,FINI}_SECTION_ALIGN.
2410 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
2411 FORCE_{INIT,FINI}_SECTION_ALIGN.
2413 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
2414 invocation sequence.
2415 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
2417 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
2418 (FORCE_CODE_SECTION_ALIGN): New.
2420 2002-01-26 Richard Henderson <rth@redhat.com>
2422 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
2424 2002-01-26 Richard Henderson <rth@redhat.com>
2426 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
2427 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
2429 2002-01-26 Kazu Hirata <kazu@hxi.com>
2431 * config/h8300/h8300.md: Remove bit extraction patterns that
2432 cannot be triggered.
2433 Restrict each bit extraction pattern to a variant on which the
2436 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
2438 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
2440 2002-01-26 Kazu Hirata <kazu@hxi.com>
2442 * config/h8300/h8300.md: Remove bit test patterns that cannot
2444 Restrict each bit test pattern to a variant on which the
2447 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2449 * builtins.c (expand_builtin_strncat): Remove redundant check for
2452 2002-01-25 David O'Brien <obrien@FreeBSD.org>
2454 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
2456 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
2459 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
2461 * dbxout.c (dbxout_init): Use assemble_name rather than just
2462 stripping off the first character.
2463 (dbxout_source_file): Likewise.
2465 2002-01-25 DJ Delorie <dj@redhat.com>
2467 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
2468 using rtx_equal_p, not by comparing pointers.
2470 2002-01-25 Steve Ellcey <sje@cup.hp.com>
2472 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
2473 for PIC_OFFSET_TABLE_REGNUM.
2474 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
2476 2002-01-25 David O'Brien <obrien@FreeBSD.org>
2478 * config.gcc (x86_64-*-freebsd*): New target.
2479 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
2481 (i[34567]86-*-freebsd*): Don't include svr4.h.
2482 * config/i386/freebsd64.h: New file.
2484 2002-01-25 Douglas B Rupp <rupp@gnat.com>
2486 * config/alpha/x-vms (version): Make static.
2488 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
2489 in previous checkin.
2491 * Makefile.in (install-headers-cp): New target.
2492 * config.gcc (alpha-dec-*vms*): Install headers with
2495 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
2497 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
2500 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2502 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
2503 of compare_tree_int.
2504 (expand_builtin_strncat): Likewise.
2505 * c-decl.c (finish_struct): Use tree_low_cst.
2506 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
2507 * tree.c (compare_tree_int): Likewise.
2509 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
2511 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
2512 adjustments even if they are implemented by more than two insns.
2514 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
2516 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
2517 * df.h (struct ref): Kill B.
2518 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
2520 * basic-block.h (PROP_EQUAL_NOTES): New flag.
2521 * flow.c (propagate_one_insn): Use it.
2522 (mark_used_regs): Handle NIL.
2524 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
2526 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
2529 2002-01-25 David Edelsohn <edelsohn@gnu.org>
2531 * rs6000.md (prefetch): Make address V4SI mode so that the address
2532 is restricted to legitimate form for instruction.
2534 2002-01-25 Bob Wilson <bob.wilson@acm.org>
2536 * doc/install.texi (xtensa-*-elf): New target.
2537 (xtensa-*-linux*): New target.
2538 * doc/contrib.texi: Add myself.
2540 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
2542 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
2543 purpose register to hold an SImode (or smaller) value.
2545 2002-01-25 Jakub Jelinek <jakub@redhat.com>
2547 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
2549 * crtstuff.c: Likewise.
2551 2002-01-25 Kazu Hirata <kazu@hxi.com>
2553 * config/h8300/h8300.md (negation patterns): Tighten
2554 predicates to register_operand.
2556 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
2558 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
2561 * builtins.c (expand_builtin_prefetch): Same.
2563 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2565 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
2568 2002-01-24 Kazu Hirata <kazu@hxi.com>
2570 * config/h8300/h8300.c (print_operand): Remove support for
2571 operand character 'A'.
2572 * config/h8300/h8300.md (three anonymous patterns): Replace
2573 operand character 'A' with either 'T' or 'S'.
2575 2002-01-24 Kazu Hirata <kazu@hxi.com>
2577 * config/h8300/h8300.c (print_operand): Remove support for
2578 operand character 'U'.
2580 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
2582 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
2584 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
2586 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
2587 values to be assigned to the stack pointer.
2589 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
2591 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
2592 to const_double needs to be done right for big-endian systems.
2594 2002-01-24 Jason Merrill <jason@redhat.com>
2597 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
2598 to can_throw_internal.
2600 2002-01-23 Richard Henderson <rth@redhat.com>
2602 * fold-const.c (fold): Change UINT_MAX test to check vs precision
2603 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
2605 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2607 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
2608 (symGOT2reg): Use them, then set as GOT value as unchanging.
2609 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
2610 as a temporary, if possible.
2611 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
2612 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
2614 2002-01-23 Kazu Hirata <kazu@hxi.com>
2616 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
2617 accept to accept 0x80 as operands[2].
2619 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2621 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
2623 2002-01-23 Richard Henderson <rth@redhat.com>
2625 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
2627 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
2629 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
2630 (parmlist_or_identifiers_1): Verify that only a parmlist follows
2633 2002-01-23 Richard Henderson <rth@redhat.com>
2635 * expr.c (move_by_pieces_1): Extend size before negation.
2637 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
2638 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
2639 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
2640 * config/m68k/t-m68kelf: Likewise.
2642 2002-01-23 Bob Wilson <bob.wilson@acm.org>
2644 * config/xtensa/elf.h: New file.
2645 * config/xtensa/lib1funcs.asm: New file.
2646 * config/xtensa/lib2funcs.S: New file.
2647 * config/xtensa/linux.h: New file.
2648 * config/xtensa/t-xtensa: New file.
2649 * config/xtensa/xtensa-config.h: New file.
2650 * config/xtensa/xtensa-protos.h: New file.
2651 * config/xtensa/xtensa.c: New file.
2652 * config/xtensa/xtensa.h: New file.
2653 * config/xtensa/xtensa.md: New file.
2654 * config.gcc (xtensa-*-elf*): New target.
2655 (xtensa-*-linux*): New target.
2656 * cse.c (canon_hash): Compare rtx pointers instead of register
2657 numbers. This is required for the Xtensa port.
2658 * integrate.c (copy_insn_list): Handle case where the static
2659 chain is in memory and the memory address has to be copied to
2661 * doc/invoke.texi (Option Summary): Add Xtensa options.
2662 (Xtensa Options): New node.
2663 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
2665 2002-01-23 Zack Weinberg <zack@codesourcery.com>
2667 * diagnostic.c (internal_error): Do ICE suppression only
2668 when ENABLE_CHECKING is not defined.
2670 * c-typeck.c (require_complete_type): Return error_mark_node
2671 if type is error_mark_node.
2673 2002-01-23 Janis Johnson <janis187@us.ibm.com>
2675 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
2676 -Os and issue a warning.
2678 2002-01-23 Zack Weinberg <zack@codesourcery.com>
2680 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
2681 current (lack of) need for host configuration by hand.
2683 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
2684 references. Documentation of some target macros moved from
2685 hostconfig.texi to tm.texi.
2687 2002-01-23 Will Cohen <wcohen@redhat.com>
2689 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
2692 2002-01-23 Kazu Hirata <kazu@hxi.com>
2694 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
2697 2002-01-23 Jason Merrill <jason@redhat.com>
2699 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
2701 * function.c (assign_parms): Don't put args of inline functions
2702 into registers when not optimizing.
2704 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
2706 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
2707 (prologue_use): New pattern.
2708 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
2709 preference to gen_rtx_USE.
2710 (thumb_expand_prologue): Use gen_prologue_use in preference to
2712 (thumb_expand_epilogue): Use gen_prologue_use in preference to
2715 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
2717 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
2719 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
2722 * doc/extend.texi: Correct documentation of __alignof__.
2724 2002-01-22 Zack Weinberg <zack@codesourcery.com>
2726 * params.h: Rename arguments of DEFPARAM so that it will be
2727 recognized as a translation keyword.
2729 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
2731 * extend.texi: Document altivec functions.
2732 Fix N-bit adjectives in X86 builtin documentation.
2734 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
2736 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
2737 auto_inc_dec values.
2739 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
2741 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
2743 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
2745 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
2747 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
2749 2002-01-22 Richard Henderson <rth@redhat.com>
2751 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
2752 copy_insn not copy_rtx.
2754 2002-01-23 Alan Modra <amodra@bigpond.net.au>
2756 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
2757 "nonzero" as that might add "1" bits. Ensure "constop" is
2758 properly sign extened.
2759 (force_to_mode): Tweak for sign extended constop.
2761 2002-01-22 Richard Henderson <rth@redhat.com>
2763 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
2764 for_each_rtx instead of assuming we're already looking at the MEM.
2765 (split_small_symbolic_mem_operand): Likewise.
2766 * config/alpha/alpha.h (PREDICATE_CODES): Update.
2767 * config/alpha/alpha.md (small symbolic memory splitters): Update.
2769 2002-01-22 Richard Henderson <rth@redhat.com>
2771 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
2772 sequence number for the literal.
2773 (divmoddi_internal_er): Likewise.
2775 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
2778 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
2779 in LIBICONV variable.
2780 * configure: Regenerated.
2782 2002-01-22 Krister Walfridsson <cato@df.lth.se>
2784 * dependence.c (build_def_use): Remove array_idx.
2786 * dwarfout.c (last_filename): Remove.
2787 (output_compile_unit_die): Remove last_filename.
2789 2002-01-22 Roger Sayle <roger@eyesopen.com>
2790 Richard Henderson <rth@redhat.com>
2793 * fold-const.c (fold): Optimize unsigned comparisons against
2794 UINT_MAX (and similar unsigned constants).
2796 2002-01-22 Janis Johnson <janis187@us.ibm.com>
2798 * Makefile.in (loop.o): Depend on OPTABS_H.
2799 * loop.c (emit_prefetch_instructions): Check the prefetch operand
2800 against the predicate.
2803 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
2804 for the address operand.
2806 2002-01-22 Richard Henderson <rth@redhat.com>
2808 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
2810 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
2813 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
2816 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
2818 * config.gcc (x86_64-*-netbsd*): New target.
2819 * config/i386/netbsd64.h: New file.
2821 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
2823 * regrename.c (kill_value): Fix typo.
2825 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
2827 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2829 * config/rs6000/rs6000.h: Same.
2831 * function.c (instantiate_virtual_regs): Remove
2832 STARTING_FRAME_PHASE.
2833 (assign_stack_local_1): Same.
2834 Calculate frame phase.
2836 2002-01-22 Nick Clifton <nickc@redhat.com>
2838 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
2839 variable declaration to outer scope in order to simplify
2841 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
2842 arm_hard_regno_mode_ok.
2843 * config/arm/arm-protos.h: Add a prototype for
2844 arm_hard_regno_mode_ok.
2845 * config/arm/arm.c (soft_df_operand): Remove now redundant
2846 check for DImode values using IP_REGNUM.
2847 (nonimmediate_soft_df_operand): Remove now redundant check for
2848 DImode values using IP_REGNUM.
2849 (arm_hard_regno_mode_ok): New function. New check: make sure
2850 that DImode values are not stored in IP_REGNUM.
2852 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
2854 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
2856 2002-01-22 Jason Merrill <jason@redhat.com>
2858 * c-semantics.c (genrtl_compound_stmt): Only check nesting
2859 consistency if this COMPOUND_STMT is scoped.
2861 2002-01-22 Kazu Hirata <kazu@hxi.com>
2863 * predict.c: Fix formatting.
2864 * print-tree.c: Likewise.
2865 * protoize.c: Likewise.
2868 * sbitmap.h: Likewise.
2870 * sched-deps.c: Likewise.
2871 * sched-vis.c: Likewise.
2872 * sdbout.c: Likewise.
2873 * sibcall.c: Likewise.
2875 * ssa-ccp.c: Likewise.
2876 * ssa-dce.c: Likewise.
2878 * stor-layout.c: Likewise.
2879 * system.h: Likewise.
2881 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2883 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
2884 if fits in bounds of base type.
2886 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
2887 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
2888 (add_bound_info, default): If can't find a context, make a
2890 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
2892 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
2894 * c-typeck.c (parser_build_binary_op): If result from
2895 build_binary_op is ERROR_MARK just return error_mark_node without
2898 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
2900 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
2901 Split a.out-specific bits into...
2902 * config/netbsd-aout.h: ...this.
2903 * config/netbsd-elf.h: New file.
2904 * config/alpha/netbsd-elf.h: Remove.
2905 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
2906 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
2907 (STARTFILE_SPEC): Remove redundant definition.
2908 (ENDFILE_SPEC): Likewise.
2909 (LINK_SPEC): Likewise.
2910 (CPP_SPEC): Likewise.
2911 (ASM_SPEC): Likewise.
2912 (LIB_SPEC): Likewise.
2913 (SWITCH_TAKES_ARG): Likewise.
2914 (TARGET_MEM_FUNCTIONS): Likewise.
2915 (CPP_PREDEFINES): Redefine.
2916 (ASM_FINAL_SPEC): Remove redefinition.
2917 (ASM_COMMENT_START): Redefine.
2918 (FUNCTION_PROFILER): Define.
2919 (TARGET_VERSION): Redefine.
2920 Comment and formatting cleanup.
2921 * config/i386/netbsd.h: Include <netbsd-aout.h>.
2922 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
2923 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
2924 big- or little-endian.
2925 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
2926 * config.gcc (*-*-netbsd*): Add definitions common to all
2928 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
2929 gnu_ld definitions. Add netbsd-elf.h to and remove
2930 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
2931 tmake_file, and don't lose previous tmake_file contents.
2932 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
2933 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
2934 gnu_ld definitions. Add netbsd-elf.h to tm_file.
2935 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
2936 (mipsel-*-netbsd*): Rename this to...
2937 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
2938 mips/little.h to tm_file for mips*el-*.
2939 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
2940 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
2941 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
2943 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
2945 * pa-protos.h (reg_before_reload_operand): New function prototype.
2946 * pa.c (reg_before_reload_operand): New function implementation.
2947 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
2950 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2952 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
2954 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
2956 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
2957 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
2958 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
2959 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
2960 (ENDFILE_SPEC): Undefine.
2961 (STARTFILE_SPEC): Redefine for PA.
2963 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2965 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
2967 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
2969 * config.gcc: Add entries to supported PowerPC --with-cpu
2972 2002-01-21 Jakub Jelinek <jakub@redhat.com>
2974 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
2975 true for 64-bit mode only SSE registers in 32-bit mode.
2977 2002-01-21 Kazu Hirata <kazu@hxi.com>
2979 * unwind-dw2.c: Fix formatting.
2980 * unwind-dw2-fde.c: Likewise.
2981 * unwind-dw2-fde.h: Likewise.
2982 * unwind-pe.h: Likewise.
2983 * varasm.c: Likewise.
2984 * varray.h: Likewise.
2986 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
2988 Remove workaround for register stack overwrite bug in mmix.
2989 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
2990 support for TARGET_REG_STACK_FILL_BUG.
2991 * config/mmix/mmix.h: Remove member has_call_without_parameters.
2992 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
2994 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
2995 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
2996 -mno-reg-stack-fill-bug-workaround.
2997 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
2998 machine member has_call_without_parameters.
2999 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
3000 -mreg-stack-fill-bug-workaround and
3001 -mno-reg-stack-fill-bug-workaround.
3002 (MMIX Options): Ditto.
3004 2002-01-21 Kazu Hirata <kazu@hxi.com>
3006 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
3008 Remove redundant code.
3010 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
3012 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
3013 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3014 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
3015 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
3016 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
3017 out target macro definitions and non-target-specific comments
3018 mostly taken from old versions of the manual.
3020 2002-01-20 Kazu Hirata <kazu@hxi.com>
3022 * config/h8300/h8300.h: Fix comment formatting.
3023 * config/ia64/aix.h: Likewise.
3024 * config/ia64/ia64-protos.h: Likewise.
3025 * config/ia64/ia64.c: Likewise.
3026 * config/ia64/ia64.h: Likewise.
3027 * config/ia64/ia64intrin.h: Likewise.
3028 * config/ia64/linux.h: Likewise.
3029 * config/ia64/unwind-aix.c: Likewise.
3030 * config/ia64/unwind-ia64.c: Likewise.
3032 2002-01-20 Kazu Hirata <kazu@hxi.com>
3034 * config/h8300/h8300.c: Revise comments about shift code.
3036 2002-01-20 Kazu Hirata <kazu@hxi.com>
3038 * config/h8300/h8300.c (function_arg): Update a comment.
3040 2002-01-20 Kazu Hirata <kazu@hxi.com>
3042 * config/h8300/h8300.md: Update the comments at the beginning
3045 2002-01-20 Kazu Hirata <kazu@hxi.com>
3047 * config/i370/i370.c: Fix comment formatting.
3048 * config/i370/i370.h: Likewise.
3049 * config/i370/i370.md: Likewise.
3050 * config/i370/linux.h: Likewise.
3052 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3054 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
3056 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
3057 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
3060 2002-01-20 Graham Stott <grahams@redhat.com>
3062 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
3064 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
3066 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
3068 2002-01-19 Tom Rix <trix@redhat.com>
3070 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
3072 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
3074 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
3076 * function.c (assign_stack_local_1): Adjust x_frame_offset with
3077 STARTING_FRAME_PHASE.
3078 (STARTING_FRAME_PHASE): New.
3079 (instantiate_virtual_regs): Check saneness of
3080 STARTING_FRAME_PHASE.
3082 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
3084 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
3086 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
3088 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
3090 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
3091 be used for bootstrapping GCC 3.0.
3093 2002-01-18 Kazu Hirata <kazu@hxi.com>
3095 * config/h8300/h8300.md: Fix an insn length.
3097 2002-01-18 Kazu Hirata <kazu@hxi.com>
3099 * bitmap.h: Fix comment formatting.
3100 * combine.c: Likewise.
3101 * cppfiles.c: Likewise.
3102 * c-pragma.h: Likewise.
3103 * c-typeck.c: Likewise.
3105 * dwarf2out.c: Likewise.
3106 * function.c: Likewise.
3108 * genattrtab.c: Likewise.
3109 * gthr-win32.h: Likewise.
3110 * haifa-sched.c: Likewise.
3111 * predict.c: Likewise.
3112 * rtlanal.c: Likewise.
3114 * unwind-dw2-fde.h: Likewise.
3115 * unwind-pe.h: Likewise.
3116 * vmsdbgout.c: Likewise.
3118 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3120 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
3121 if type_required and passed decl.
3123 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
3125 * config.gcc (cpu_type): Include altivec.h in powerpc
3129 * config/rs6000/altivec.h: New.
3131 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3133 * doc/install.texi (*-ibm-aix*): Update assembler and exception
3134 handling information.
3135 * doc/trouble.texi (Interoperation): Add libstdc++ information
3137 (Misunderstandings): Add template instantiation and static template
3138 member information for AIX.
3140 2002-01-17 Jason Merrill <jason@redhat.com>
3142 * dbxout.c (dbxout_type): Support const and volatile.
3144 * except.c (add_partial_entry): Remove backwards compatibility code.
3145 (end_protect_partials): Likewise.
3147 2002-01-17 Jakub Jelinek <jakub@redhat.com>
3149 * config/ia64/ia64.md (prologue_use): New.
3150 * config/ia64/ia64.c (ia64_expand_prologue): Use
3151 gen_prologue_use instead of gen_rtx_USE.
3152 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
3153 as CODE_FOR_pred_rel_mutex.
3154 (ia64_sched_reorder2): Likewise.
3156 2002-01-16 Eric Christopher <echristo@redhat.com>
3158 * config/mips/r3900.h: Reformat.
3159 (SUBTARGET_CPP_SIZE_SPEC): Remove.
3160 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
3161 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
3162 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
3163 * config/mips/t-elf: Remove mips3 multilib.
3165 2002-01-16 H.J. Lu <hjl@gnu.org>
3167 * config/mips/linux.h: Include "mips/abi64.h".
3169 2002-01-16 H.J. Lu <hjl@gnu.org>
3171 * config/mips/t-linux: New.
3173 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
3175 * config/mips/linux.h: Don't include "gofast.h".
3176 (INIT_SUBTARGET_OPTABS): Removed.
3178 2002-01-16 Kazu Hirata <kazu@hxi.com>
3180 * config/h8300/h8300-protos.h: Replace emit_a_shift with
3182 * config/h8300/h8300.c: Likewise.
3183 * config/h8300/h8300.md: Likewise.
3185 2002-01-16 Kazu Hirata <kazu@hxi.com>
3187 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
3188 spaces after an opcode name.
3189 (pushqi1_h8300hs): Likewise.
3190 (pushhi1_h8300hs): Likewise.
3192 2002-01-16 Kazu Hirata <kazu@hxi.com>
3194 * doc/extend.texi: Replace "option" with "attribute"
3197 2002-01-16 Jakub Jelinek <jakub@redhat.com>
3199 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
3200 (and:DI () (const_int -8)).
3201 (split_small_symbolic_mem_operand): Split
3202 (mem (and:DI () (const_int -8)).
3204 2002-01-16 Jakub Jelinek <jakub@redhat.com>
3207 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
3208 same way as TYPE_IMUL.
3209 (ultrasparc_sched_reorder): Likewise.
3210 * config/sparc/sparc.md (type): Add comment to update
3211 ultrasparc_sched_reorder when making changes.
3213 2002-01-16 Kazu Hirata <kazu@hxi.com>
3215 * doc/invoke.texi: Change the dump file name of block
3216 reordering pass from 28.bbro to 29.bbro.
3219 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
3221 * i386.md (minsf splitter): Fix pasto.
3223 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
3225 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
3226 to frame pointer initialisation instruction.
3227 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
3228 initialisation instruction.
3229 (soft_df_operand): Do not accept the IP register.
3230 (nonimmediate_soft_df_operand): Do not accept the IP register.
3232 2002-01-16 Jakub Jelinek <jakub@redhat.com>
3235 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
3236 MASK_V8 being both set.
3238 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
3240 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
3241 insn for GOT register; add REG_MAYBE_DEAD notes instead.
3242 config/s390/s390.md (call, call_value): Add GOT register to
3243 CALL_INSN_FUNCTION_USAGE where needed.
3244 (call_exp, call_value_exp): New.
3246 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
3248 * config/arm/arm.c: General formatting tidy up.
3250 2002-01-16 Graham Stott <grahams@redhat.com>
3252 * calls.c (try_to_integrate): Use "(size_t)" intermediate
3253 cast and when casting an integer literal to "rtx" pointer.
3254 (expand_call): Likewise.
3255 * flow.c (try_pre_increment): Likewise.
3256 (find_use_as_address): Likewise.
3257 * integrate.c (expand_iline_function): Likewise.
3258 * regmove.c (try_auto_increment): Likewise.
3260 2002-01-16 Graham Stott <grahams@redhat.com>
3262 * sched-rgn.c (passed): Use sbitmap_free.
3265 (in_queue): Likewise.
3266 (in_stack): Likewise.
3268 2002-01-15 Eric Christopher <echristo@redhat.com>
3270 * flow.c (propagate_one_insn): Change to use fatal_insn.
3272 2002-01-15 Kazu Hirata <kazu@hxi.com>
3274 * expmed.c (extract_fixed_bit_field): Remove unused code.
3275 * system.h: Poison SLOW_ZERO_EXTEND.
3276 * doc/tm.texi: Remove.
3277 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
3278 * config/arm/arm.h: Likewise.
3279 * config/avr/avr.h: Likewise.
3280 * config/clipper/clipper.h: Likewise.
3281 * config/convex/convex.h: Likewise.
3282 * config/d30v/d30v.h: Likewise.
3283 * config/dsp16xx/dsp16xx.h: Likewise.
3284 * config/elxsi/elxsi.h: Likewise.
3285 * config/fr30/fr30.h: Likewise.
3286 * config/h8300/h8300.h: Likewise.
3287 * config/i370/i370.h: Likewise.
3288 * config/i386/i386.h: Likewise.
3289 * config/m68k/m68k.h: Likewise.
3290 * config/mips/mips.h: Likewise.
3291 * config/ns32k/ns32k.h: Likewise.
3292 * config/pdp11/pdp11.h: Likewise.
3293 * config/pj/pj.h: Likewise.
3294 * config/s390/s390.h: Likewise.
3295 * config/sh/sh.h: Likewise.
3296 * config/stormy16/stormy16.h: Likewise.
3297 * config/v850/v850.h: Likewise.
3298 * config/vax/vax.h: Likewise.
3299 * config/we32k/we32k.h: Likewise.
3301 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
3303 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
3304 (altivec_lvsl): Change constraint to b.
3305 (altivec_lvsr): Same.
3306 (altivec_lvebx): Same.
3307 (altivec_lvehx): Same.
3308 (altivec_lvewx): Same.
3309 (altivec_lvxl): Same.
3310 (altivec_lvx): Same.
3311 (altivec_stvx): Add parallel.
3312 (altivec_stvxl): Same.
3313 (altivec_stvehx): Same.
3314 (altivec_stvebx): Same.
3315 (altivec_stvebx): Same.
3317 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
3319 * config.gcc: Change altivec.h to altivec-defs.h.
3321 * config/rs6000/altivec.h: Delete.
3323 * config/rs6000/altivec-defs.h: Add.
3325 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3327 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
3330 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
3331 less than or equal to eight bytes.
3333 * vax.md (andsi3): Remove constraints and change SET destination
3334 operand type to nonimmediate_operand.
3335 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
3336 when it is a CONST_INT.
3338 2002-01-15 Jason Merrill <jason@redhat.com>
3340 * c-common.def (FILE_STMT): New code.
3341 * c-common.c (statement_code_p): It's a statement.
3342 * c-common.h (stmt_tree_s): Add x_last_filename.
3343 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
3344 (last_expr_filename): New macro.
3345 * c-semantics.c (begin_stmt_tree): Initialize it.
3346 (add_stmt): If the filename changed, also insert a
3348 (expand_stmt): Handle seeing one.
3350 2002-01-15 Eric Christopher <echristo@redhat.com>
3352 * flow.c (propagate_one_insn): Add error message and print out
3355 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
3357 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
3358 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
3359 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
3360 TRAMPOLINE_ALIGNMENT.
3361 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
3363 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
3364 PCC_BITFIELD_TYPE_MATTERS.
3365 * config/interix.h (STDC_VALUE): Remove. Use
3366 STDC_0_IN_SYSTEM_HEADERS.
3367 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
3368 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
3369 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
3371 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
3373 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
3374 not work on this platform currently.
3376 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
3378 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
3379 readonly_warning in _().
3381 2002-01-15 Douglas B Rupp <rupp@gnat.com>
3383 * gcc.c (delete_if_ordinary): Backout previous change.
3385 2002-01-15 Kazu Hirata <kazu@hxi.com>
3387 * config/h8300/h8300.c (print_operand): Remove support for
3388 unused operand characters.
3390 * read-rtl.c: Fix formatting.
3392 * recog.c: Likewise.
3393 * regclass.c: Likewise.
3394 * regmove.c: Likewise.
3395 * reg-stack.c: Likewise.
3396 * reload1.c: Likewise.
3397 * rtlanal.c: Likewise.
3399 2002-01-15 Kazu Hirata <kazu@hxi.com>
3401 * config/i386/i386.c: Fix formatting.
3403 2002-01-15 Jakub Jelinek <jakub@redhat.com>
3405 * c-typeck.c (process_init_element): Don't save_expr
3406 COMPOUND_LITERAL_EXPR if just its initializer will be used.
3408 2002-01-15 David Edelsohn <edelsohn@gnu.org>
3410 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
3411 emit optional traceback table if optimize_size or TARGET_ELF.
3412 * config/rs6000/rs6000.md (prefetch): New.
3414 2002-01-15 Andreas Jaeger <aj@suse.de>
3416 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
3418 2002-01-15 Kazu Hirata <kazu@hxi.com>
3420 * mips-tfile.c: Fix formatting.
3422 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
3424 * unroll.c (final_reg_note_copy): Fix previous commit.
3426 2002-01-14 Kazu Hirata <kazu@hxi.com>
3428 * config/h8300/h8300-protos.h: Remove the prototype for
3430 * config/h8300/h8300.c (eq_operator): Remove.
3432 2002-01-14 Richard Henderson <rth@redhat.com>
3434 * config/i386/i386.md (prefetch): Tidy.
3435 (prefetch_3dnow): Fix locality operand.
3437 2002-01-14 Richard Henderson <rth@redhat.com>
3439 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
3440 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
3442 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
3444 * reload1.c (reload_combine): Pass reg_sum replacement through
3445 copy_rtx in loop performing multiple changes.
3447 2002-01-14 Jakub Jelinek <jakub@redhat.com>
3449 * except.c (remove_unreachable_regions): New.
3450 (free_eh_status): Clear exception_handler_labels.
3451 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
3452 (find_exception_handler_labels): Don't add the same label more than
3454 (remove_exception_handler_label): Don't die if
3455 find_exception_handler_labels hasn't been called for the current
3458 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
3460 * toplev.c (rest_of_compilation): Rebuild jump labels after
3463 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
3465 * doc/extend.texi: Move documentation of X86 built-in functions
3467 * doc/invoke.texi: From here.
3468 * doc/sourcebuild.texi: Document location of documentation for
3469 machine built-in functions.
3471 2002-01-13 Christopher Faylor <cgf@redhat.com>
3473 * cppfiles.c (TEST_THRESHOLD): New macro.
3474 (SHOULD_MMAP): Ditto.
3475 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
3478 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
3480 * unroll.c (final_reg_note_copy): Properly handle
3482 (unroll_loops): Fix LOOP_CONDITION heuristics.
3484 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
3486 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
3487 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
3489 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
3491 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
3494 2002-01-14 Tom Rix <trix@redhat.com>
3496 * config/rs6000/rs6000.md: Fix typo with sradi.
3498 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
3500 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
3501 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
3502 (clrstrdi, clrstrsi): Adapt callers.
3504 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
3506 (movti splitter): Never use register 0 as base register.
3508 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
3510 * combine.c (simplify_shift_const): Always generate new rtx
3511 for shift expression instead of reusing given expression.
3513 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3515 * config/alpha/alpha.c (alpha_expand_mov): Don't call
3516 alpha_legitimize_address unless mode is Pmode.
3518 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
3520 * doc/md.texi (Modifiers): Document the '*' constraint for the
3523 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
3524 * doc/extend.texi (Function Attributes): 'interrupt' is valid
3527 2002-01-13 Richard Henderson <rth@redhat.com>
3529 * reload.c (find_reloads): Use a hard reg destination as reload reg
3530 for an input reload of the source.
3532 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3534 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
3537 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
3539 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
3540 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
3542 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
3544 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3546 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
3548 2002-01-12 Tom Rix <trix@redhat.com>
3550 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
3553 2002-01-12 Richard Henderson <rth@redhat.com>
3555 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
3557 * doc/invoke.texi: Update Alpha options.
3559 * doc/invoke.texi: Update i386 built-in function lists.
3561 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
3563 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
3564 referencing outside.
3566 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3568 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
3569 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
3570 offsets, and change line folding.
3571 * optabs.c (expand_binop): Remove warnings.
3572 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
3574 2002-01-12 Graham Stott <grahams@redhat.com>
3576 * attribs.c (handle_deprecated_attribute): constify WHAT.
3577 * diagnostic.c (warn_deprecated_use): Add braces, fixes
3578 dangling else warning and constify WHAT.
3579 * except.h (struct function, struct inline_remap): Move
3580 struct tag forward defs before all prototypes.
3581 (duplicate_eh_regions): Whitespace.
3583 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
3585 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
3586 MODE_BASE_REG_CLASS.
3587 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
3589 2002-01-12 Richard Henderson <rth@redhat.com>
3591 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
3592 (ix86_expand_vector_move): New.
3593 (bdesc_2arg): Remove andps, andnps, orps, xorps.
3594 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
3595 Remove old prefetch builtins. Special case the logicals removed above.
3596 (ix86_expand_builtin): Likewise.
3597 (safe_vector_operand): Use V4SFmode, not TImode.
3598 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
3599 (ix86_expand_timode_binop_builtin): New.
3600 * config/i386/i386-protos.h: Update.
3601 * config/i386/i386.h (enum ix86_builtins): Update.
3602 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
3603 Use ix86_expand_vector_move in vector move expanders.
3604 (movti_internal, movti_rex64): Add xorps alternative.
3605 (sse_clrv4sf): Rename and adjust from sse_clrti.
3606 (prefetch): Don't work so hard.
3607 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
3608 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
3609 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
3611 2002-01-11 Richard Henderson <rth@redhat.com>
3613 * config/i386/mmintrin.h: New file.
3614 * config/i386/xmmintrin.h: New file.
3615 * config.gcc (i?86-*-*): Add extra_headers.
3616 * simplify-rtx.c (simplify_unary_operation): Handle saturating
3618 (simplify_binary_operation): Handle saturating arithmetic codes.
3619 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
3620 not the lowpart subreg.
3621 (ix86_expand_builtin): Return a TImode dummy register instead of 0
3623 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
3625 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3627 * conflict.c (conflict_graph_compute): Free regsets when finished.
3628 * ssa.c (compute_coalesced_reg_partition): Likewise.
3630 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3632 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
3633 every where we allocate a register.
3635 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3637 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
3638 * lcm.c (compute_earliest, compute_farthest): Likewise.
3640 2002-01-11 Janis Johnson <janis187@us.ibm.com>
3642 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
3644 2002-01-11 Janis Johnson <janis187@us.ibm.com>
3646 * doc/rtl.texi (Insns): Fix 2 typos.
3648 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3650 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
3651 options. Use @table @gcctabopt for MMIX options. Add index
3652 entries for MMIX options. Start new paragraph with first
3653 heading of the machine-dependent options.
3655 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
3658 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
3659 * combine.c (force_to_mode): Same.
3660 * reload1.c (clear_reload_reg_in_use): Same.
3662 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
3664 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
3667 2002-01-11 Andreas Jaeger <aj@suse.de>,
3668 Brad Lucier <lucier@math.purdue.edu>
3670 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
3673 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
3675 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
3676 Protect with IN_LIBGCC.
3677 (LINK_EH_SPEC): Add required trailing space.
3679 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
3681 * c-tree.h: Move function declarations so that they are listed
3682 under the filename which contains them.
3683 (check_identifier, finish_decl_top_level,
3684 lookup_name_current_level_global, shadow_record_fields): Remove.
3686 2002-01-11 Andreas Jaeger <aj@suse.de>
3688 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
3691 2002-01-10 Richard Henderson <rth@redhat.com>
3693 * config/alpha/alpha.c (print_operand): Add 'J'.
3694 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
3695 new operand with the sequence number for the lituse. When splitting
3696 the insns, use gen_movdi_er_high_g and generate a sequence number.
3697 (gen_movdi_er_high_g): Print the sequence number if non-zero.
3699 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
3701 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
3702 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
3704 (altivec_expand_builtin): Same.
3705 (altivec_expand_stv_builtin): New.
3707 * config/rs6000/rs6000.h (rs6000_builtins): Same.
3709 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
3710 ("altivec_lvehx"): New.
3711 ("altivec_lvewx"): New.
3712 ("altivec_lvxl"): New.
3713 ("altivec_lvx"): New.
3714 ("altivec_stvx"): New.
3715 ("altivec_stvebx"): New.
3716 ("altivec_stvehx"): New.
3717 ("altivec_stvewx"): New.
3718 ("altivec_stvxl"): New.
3720 2002-01-10 Richard Henderson <rth@redhat.com>
3722 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
3723 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
3724 care not to delete instructions twice.
3726 2002-01-10 Zack Weinberg <zack@codesourcery.com>
3728 * toplev.c: Don't declare environ (it's not used anywhere).
3729 * configure.in: Don't check for declaration of environ.
3730 * config/i386/xm-mingw32.h: Don't #define environ.
3731 * config.in, configure: Regenerate.
3733 2002-01-10 Zack Weinberg <zack@codesourcery.com>
3735 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
3736 * configure: Regenerate.
3738 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
3739 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
3740 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
3742 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
3743 LIMITS_H_TEST here, not in m68k/x-next.
3744 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
3745 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
3747 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
3748 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
3749 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
3751 * config/i386/x-djgpp: Renamed i386/t-djgpp.
3752 * config/m88k/x-dolph: Renamed m88k/t-dolph.
3753 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
3754 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
3755 replacement of quadlib.asm with quadlib.c.
3757 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
3758 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
3759 config/rs6000/xm-beos.h: Delete file.
3761 * config.gcc: Update to match above changes.
3763 2002-01-10 Kazu Hirata <kazu@hxi.com>
3765 * config/h8300/h8300.h: Fix comment typos.
3766 * config/h8300/h8300.md: Likewise.
3767 * config/h8300/lib1funcs.asm: Likewise.
3769 2002-01-10 Dale Johannesen <dalej@apple.com>
3771 PR optimization/5269
3772 * unroll.c (precondition_loop_p): Make *increment be the correct
3773 sign when n_iterations known, to avoid confusing caller.
3775 2002-01-10 Kazu Hirata <kazu@hxi.com>
3777 * doc/extend.texi (deprecated): Fix a typo.
3779 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
3781 * basic-block.h (update_br_prob_note): Declare.
3782 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
3783 (try_forward_edges): Care negative frequencies and update note.
3784 (outgoing_edges_match): Tweek conditional merging heuristics.
3785 (try_crossjump_to_edge): use update_br_prob_note.
3786 * cfglayout.c (fixup_reorder_chain): Likewise.
3787 * cfrtl.c (update_br_prob_note): New.
3788 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
3790 * i386.c (ix86_decompose_address): Return -1 if address contains
3792 (legitimate_address_p): Require ix86_decompose_address to return 1.
3794 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
3795 (cprop_insn): Likewise.
3797 2002-01-10 Kazu Hirata <kazu@hxi.com>
3799 * toplev.c: Fix formatting.
3801 * tree-dump.c: Likewise.
3802 * unroll.c: Likewise.
3803 * unwind-dw2.c: Likewise.
3804 * unwind-dw2-fde.c: Likewise.
3805 * unwind-dw2-fde-glibc.c: Likewise.
3806 * unwind-sjlj.c: Likewise.
3808 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3810 * doc/invoke.texi: Document PDP-11 options.
3812 2002-01-10 Kazu Hirata <kazu@hxi.com>
3814 * config/h8300/h8300.h: Fix formatting.
3816 2002-01-10 Ira Ruben <ira@apple.com>
3818 Add __attribute__ ((deprecated)).
3819 * extend.texi: Document __attribute__ ((deprecated)).
3820 * invoke.texi: Document -Wno-deprecated-declarations.
3821 * testsuite/g++.dg/other/deprecated.C: New C++ test.
3822 * testsuite/gcc.dg/deprecated.c: New C test.
3823 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
3824 (c_common_attribute_table): Add "deprecated" entry.
3825 (handle_deprecated_attribute): New function.
3826 * c-decl.c (deprecated_states): New enum.
3827 deprecated_state: State of "deprecated" handling.
3828 (start_decl): Set deprecated_state based on attributes.
3829 (grokdeclarator): Test for deprecated uses, propagate attribute.
3830 * c-typeck.c (build_component_ref): Test for deprecated fields.
3831 (build_external_ref): Test for deprecated primaries.
3832 * diagnostic.c (warn_deprecated_use) New function to issue
3833 warnings about __attribute__ ((depricated)) references.
3834 * flags.h (warn_deprecated_decl): Extern declared for
3835 -W[no-]deprecated-declarations option.
3836 * print-tree.c (print_node): Show deprecated flag status.
3837 * toplev.c (warn_deprecated_decl): Defined.
3838 (W_options): Added "deprecated-declaration".
3839 * toplev.h (warn_deprecated_use): Extern declared.
3840 * tree.h (struct tree_common): Define deprecated_flag.
3841 (TREE_DEPRECATED): New macro to access flag.
3842 * cp/call.c (build_call): Test for deprecated calls.
3843 * cp/class.c (add_implicitly_declared_members): Set global
3844 flag to tell grokdeclarator to not issue deprecated warnings.
3845 * cp/cp-tree.h: Add extern for adding_implicit_members.
3846 * cp/decl.c (deprecated_states): New enum.
3847 (start_decl): Set deprecated_state based on attributes.
3848 (grokdeclarator): Test for deprecated uses, propagate attribute.
3849 * cp/lex.c (do_identifier): Test for deprecated primaries.
3850 * cp/typeck.c (build_component_ref): Test for deprecated fields.
3852 2002-01-10 Ira Ruben <ira@apple.com>
3854 Fix to assign attributes to inline member functions.
3855 * cp/decl.c (start_method): Handle attrlist.
3857 2002-01-10 Kazu Hirata <kazu@hxi.com>
3859 * combine.c (expand_field_assignment): Use subreg_lsb().
3861 2002-01-10 David Edelsohn <edelsohn@gnu.org>
3863 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
3864 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
3865 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
3866 Recurse for any operand of AND as long as constant is non-zero.
3868 2002-01-10 Kazu Hirata <kazu@hxi.com>
3870 * config/h8300/h8300.md: Remove constraints from expanders.
3872 2002-01-10 Kazu Hirata <kazu@hxi.com>
3874 * varasm.c: Fix formatting.
3875 * varray.c: Likewise.
3876 * vmsdbgout.c: Likewise.
3877 * xcoffout.c: Likewise.
3879 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
3881 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
3882 update edge probabilities to match.
3884 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3886 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
3888 * doc/languages.texi, doc/sourcebuild.texi: New files.
3889 * doc/configfiles.texi: Make a subsubsection. Update.
3890 * doc/configterms.texi: Add @node. Remove warning that this isn't
3891 instructions for building GCC.
3892 * doc/makefile.texi: Make a subsection.
3893 * doc/gccint.texi: Update.
3895 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
3897 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
3899 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
3901 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
3903 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
3905 * optabs.c (expand_fix): Look for wider integer modes first.
3907 * i386.md (mov?f): Avoid the fake const double trick for medium
3909 (min?f*/max?f*): Prohibit memory operands for i387 variant.
3910 (fop_df_4): Disable for SSE compilation.
3912 2002-01-10 Graham Stott <grahams@redhat.com>
3914 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
3915 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
3917 2002-01-10 Richard Henderson <rth@redhat.com>
3919 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
3921 2002-01-10 Richard Henderson <rth@redhat.com>
3923 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
3924 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
3926 2002-01-10 Kazu Hirata <kazu@hxi.com>
3928 * combine.c (can_combine_p): Fix a comment typo.
3930 2002-01-09 Zack Weinberg <zack@codesourcery.com>
3932 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
3933 empty list correctly. Change loop index $t to $f for
3934 consistency with rest of Makefile.
3936 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
3938 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
3939 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
3941 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
3942 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
3943 (altivec_init_builtins): Same.
3944 (altivec_expand_unop_builtin): Return NULL_RTX on error.
3945 (altivec_expand_binop_builtin): Same.
3946 (altivec_expand_ternop_builtin): Same.
3949 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
3950 ("altivec_vctuxs"): Fix typo.
3951 ("altivec_vnmsubfp"): Same.
3952 ("altivec_dssall"): New.
3953 ("altivec_mfvscr"): New.
3954 ("altivec_dss"): New.
3955 ("altivec_lvsl"): New.
3956 ("altivec_lvsr"): New.
3957 ("altivec_dstt"): New.
3958 ("altivec_dstst"): New.
3959 ("altivec_dststt"): New.
3960 ("altivec_dst"): New.
3962 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
3963 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
3965 2002-01-09 Richard Henderson <rth@redhat.com>
3967 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
3969 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
3971 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
3973 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
3975 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
3977 2002-01-09 Kazu Hirata <kazu@hxi.com>
3979 * read-rtl.c: Fix formatting.
3981 * regclass.c: Likewise.
3982 * regrename.c: Likewise.
3983 * reg-stack.c: Likewise.
3984 * reload1.c: Likewise.
3985 * reload.c: Likewise.
3988 2002-01-09 Kazu Hirata <kazu@hxi.com>
3990 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
3991 to extract items in the expr_list chain.
3993 2002-01-09 Richard Henderson <rth@redhat.com>
3995 * config/vax/vax.c (vax_rtx_cost): Never abort.
3997 * config/vax/vax.h (REAL_ARITHMETIC): Define.
3999 2002-01-09 Jan Hubicka <jh@suse.cz>
4001 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
4003 2002-01-09 Richard Henderson <rth@redhat.com>
4005 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
4006 Unify code from various alternatives.
4008 2002-01-09 Richard Henderson <rth@redhat.com>
4010 * regrename.c (copy_value): Ignore the copy if the source register
4011 is present in the value chain with a narrower mode.
4013 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4015 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
4016 for the c4x target. Also improve layout.
4018 2002-01-09 Richard Henderson <rth@redhat.com>
4020 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
4021 * config/m32r/m32r.md (and ior xor splitters): Swap operands
4022 to match insn patterns.
4024 2002-01-09 Richard Henderson <rth@redhat.com>
4026 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
4027 (copyprop_hardreg_forward_1): Likewise.
4029 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
4031 * pa.md (decrement_and_branch_until_zero): Change predicate for
4032 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
4034 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4036 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
4037 gets undefined. For Darwin.
4039 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4041 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
4043 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4045 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
4047 2002-01-08 Richard Henderson <rth@redhat.com>
4049 * regrename.c (copy_value): Ignore overlapping copies.
4051 2002-01-08 Richard Henderson <rth@redhat.com>
4053 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
4054 as needed to avoid shared structure.
4056 2002-01-08 Kazu Hirata <kazu@hxi.com>
4058 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
4061 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4063 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
4064 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
4065 documentation of obsolete macros.
4066 * system.h: Poison these macros.
4067 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
4068 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
4069 config/c4x/c4x.h, config/clipper/clipper.h,
4070 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
4071 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
4072 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
4073 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
4074 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
4075 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
4076 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
4077 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
4078 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
4079 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
4080 config/sparc/sparc.h, config/stormy16/stormy16.h,
4081 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
4082 definitions and commented out definitions of obsolete macros.
4083 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
4084 of MAX_INT_TYPE_SIZE.
4086 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4088 * config/s390/s390.c (s390_preferred_reload_class): Never
4089 return ADDR_REGS if it isn't a subset of the given class.
4090 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
4091 FP_REGS, but all superclasses as well.
4093 * config/s390/s390.c (s390_function_profiler): Fix thinko.
4095 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
4096 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
4097 must not be a const_int.
4099 2002-01-08 Richard Henderson <rth@redhat.com>
4101 * Makefile.in (toplev.o): Depend on options.h.
4102 (gcc.o): Depend on specs.h.
4104 2002-01-08 Jakub Jelinek <jakub@redhat.com>
4106 * expr.c (store_expr): Convert VOIDmode constants back to target's
4109 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4111 * doc/invoke.texi: Markup gcc as @command. Refer to
4112 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
4113 of http://gcc.gnu.org/thanks.html.
4115 2002-01-08 Dale Johannesen <dalej@apple.com>
4117 * config/rs6000/rs6000.md: Add missing int register
4118 target case to movdf_low.
4120 2002-01-08 Zack Weinberg <zack@codesourcery.com>
4122 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
4123 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
4124 (cppinit.o): Depend on except.h.
4125 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
4126 s-specs): New rules.
4128 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
4129 Don't create specs.h/options.h/gencheck.h here. Remove
4130 unnecessary variable settings from last argument of AC_OUTPUT.
4131 * config.in, configure: Regenerate.
4132 * intl.c: Hardcode package name as "gcc".
4134 * cppinit.c: Include except.h.
4135 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
4137 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
4138 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
4139 (!)USING_SJLJ_EXCEPTIONS.
4140 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
4142 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4144 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
4145 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
4146 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
4147 documentation of obsolete macros.
4148 * system.h: Poison these macros.
4149 * config/d30v/d30v.h, config/ns32k/encore.h,
4150 config/stormy16/stormy16.h: Remove definitions and commented out
4151 definitions of obsolete macros.
4153 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
4155 * objc/objc-act.c (handle_class_ref): Mark the declaration of
4156 %sobjc_class_ref_%s as used - to prevent unwanted compiler
4159 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4161 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
4162 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
4163 to insn adjusting stack/frame pointer.
4164 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
4165 accept operands that cause the insn to be non-splittable.
4167 2002-01-08 Graham Stott <grahams@redhat.com>
4169 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
4170 (C_TYPE_FIELDS_VOLATILE): Likewise.
4171 (C_TYPE_BEING_DEFINED): Likewise.
4172 (C_IS_RESERVED_WORD): Likewise.
4173 (C_TYPE_VARIABLE_SIZE): Likewise.
4174 (C_DECL_VARIABLE_SIZE): Likewise.
4175 (C_MISSING_PROTOTYPE_WARNED): Likewise.
4176 (C_SET_EXP_ORIGINAL_CODE): Likewise.
4177 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
4179 (C_DECL_ANTICIPATED): Likewise.
4180 (c_build_type_variant): Add parenthesis.
4182 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4184 * gcc.c (option_map): Remove --version.
4185 (process_command): Handle -fversion following the GNU Coding
4186 Standards. Partially addresses PR other/704.
4188 2002-01-08 Graham Stott <grahams@redhat.com>
4190 * combine.c (combine_instructions): Fix typo.
4192 2002-01-08 Graham Stott <grahams@redhat.com>
4194 * debug.h: Use "tree" and "rtx" throughout.
4196 * debug.c: Likewise.
4198 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
4200 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
4201 constant pool, use the pool's version of the symbol instead.
4203 2002-01-07 Richard Henderson <rth@redhat.com>
4205 * regrename.c (find_oldest_value_reg): Ignore the value chain if
4206 the original register was copied in a mode with a fewer number of
4207 hard registers than the desired mode.
4208 (copyprop_hardreg_forward_1): Likewise.
4209 (debug_value_data): Fix loop test.
4210 * toplev.c (parse_options_and_default_flags): Reenable
4211 -fcprop-registers at -O1.
4213 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
4215 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
4216 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
4218 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
4221 * config/rs6000/rs6000.md: Add altivec predicate patterns.
4223 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
4225 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
4226 (pa_output_function_prologue): Output local label at the beginning of
4227 the prologue when profiling.
4228 (hppa_profile_hook): Use the local label rather than the function label.
4229 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
4231 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
4233 * config/rs6000/rs6000.c (print_operand): Remove extra space.
4234 (altivec_expand_unop_builtin): Fix thinko.
4235 (altivec_expand_binop_builtin): Same.
4236 (altivec_expand_ternop_builtin): Same.
4237 (altivec_expand_builtin): Same.
4239 2002-01-07 Richard Henderson <rth@redhat.com>
4241 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
4243 2002-01-07 Jason Merrill <jason@redhat.com>
4245 * unwind-dw2.c (execute_cfa_program): Use < again.
4247 2002-01-07 Jakub Jelinek <jakub@redhat.com>
4249 * predict.c (combine_predictions_for_insn): Avoid division by zero.
4251 2002-01-07 Jakub Jelinek <jakub@redhat.com>
4253 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
4254 Don't allow -1 - x -> ~x simplifications in the first pass.
4256 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
4258 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
4260 (altivec_expand_binop_builtin): Same.
4261 (altivec_expand_unop_builtin): Same.
4262 (print_operand): Fix typo.
4263 (bdesc_1arg): Add vupk* variants.
4265 * rs6000.h (rs6000_builtins): Add vupk* enums.
4267 * rs6000.md: Add altivec_vupk* variants.
4269 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
4271 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
4272 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
4273 and last update dates.
4275 2002-01-07 Janis Johnson <janis187@us.ibm.com>
4277 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
4279 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
4281 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
4282 * config/avr/avr.h (CPP_SPEC): Likewise.
4283 (LINK_SPEC): Likewise.
4284 (CRT_BINUTILS_SPECS): Likewise.
4285 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
4286 * doc/invoke.texi (AVR Options): Document them.
4288 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
4290 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
4293 2002-01-07 Graham Stott <grahams@redhat.com>
4295 * config/i386/i386.h: Update copyright date.
4296 (HALF_PIC_PTR): Add parenthesis.
4297 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
4298 (CONSTANT_ALIGNMENT): Add parenthesis.
4299 (DATA_ALIGNMENT): Likewise.
4300 (LOCAL_ALIGNMENT): Likewise.
4301 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
4302 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
4303 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
4304 (HARD_REGNO_NREGS): Add paranethesis.
4305 (VALID_SSE_REG_MODE): Whitespace.
4306 (VALID_MMX_REG_MODE): Whitespace.
4307 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
4308 (ix86_hard_regno_mode_ok): Add parenthesis.
4309 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
4310 (RETURN_IN_MEMORY): Whitespace.
4311 (N_REG_CLASSES): Add parenthesis.
4312 (INTEGER_CLASS_P): Add parenthesis and wrap.
4313 (FLOAT_CLASS_P): Likewise.
4314 (SSE_CLASS_P): Likewise.
4315 (MMX_CLASS_P): Likewise.
4316 (MAYBE_INTEGER_CLASS_P): Likewise.
4317 (MAYBE_FLOAT_CLASS_P): Likewise.
4318 (MAYBE_SSE_CLASS_P): Likewise.
4319 (MAYBE_MMX_CLASS_P): Likewise.
4320 (Q_CLASS_P): Likewise.
4321 (GENERAL_REGNO_P): Uppercase macro parameter.
4322 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
4323 (FP_REGNO_P): Likewise.
4324 (ANY_FP_REGNO_P): Uppercase macro parameter.
4325 (SSE_REGNO_P): Likewise.
4326 (SSE_REGNO): Likewise.
4327 (SSE_REG_P): Likewise.
4328 (SSE_FLOAT_MODE_P): Likewise.
4329 (MMX_REGNO_P): Likewise.
4330 (MMX_REG_P):Likewise.
4331 (STACK_REG_P): Likewise.
4332 (NON_STACK_REG_P): Likewise.
4333 (STACK_TOP_P): Likewise.
4334 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
4335 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
4336 (SECONDARY_MEMORY_NEEDED): Likewise.
4337 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
4338 (MD_ASM_CLOBBERS): Whitespace and wrap.
4339 (MUST_PASS_IN_STACK): Whitespace and wrap.
4340 (RETURN_POPS_ARGS): Add parenthesis.
4341 (INIT_CUMULATIVE_ARGS): Likewise.
4342 (FUNCTION_ARG): Likewise.
4343 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
4344 (SETUP_INCOMING_VARARGS): Likewise.
4345 (BUILD_VA_LIST_TYPE): Add parenthesis.
4346 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
4348 (EXPAND_BUILTIN_VA_ARG): Likewise.
4349 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
4350 (INITIALIZE_TRAMPOLINE): Add parenthesis.
4351 (INITIAL_ELIMINATION_OFFSET): Likewise.
4352 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
4353 (REGNO_OK_FOR_BASE_P): Likewise.
4354 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
4355 (REGNO_OK_FOR_DIREG_P): Likewise.
4356 (REG_OK_FOR_INDEX_P): Whitespace.
4357 (REG_OK_FOR_BASE_P): Whitespace.
4358 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
4360 (FIND_BASE_TERM): Fix typo.
4361 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
4362 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
4363 (SYMBOLIC_CONST; Whitespace.
4364 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
4365 (ENCODE_SECTION_INFO): Whitespace.
4366 (FINALIZE_PIC): Remove do { ... } while (0).
4367 (PROMOTE_MODE): Wrap in do { ... } while (0).
4368 (CONST_COSTS): Whitespace.
4369 (RTX_COSTS): Add paramethesis, whitespace and wrap.
4370 (REGISTER_MOVE_COST): Add parenthesis.
4371 (MEMORY_MOVE_COST): Likewise.
4372 (EXTRA_CC_MODES): Whitespace.
4373 (SELECT_CC_MODE): Add parenthesis and whitespace.
4374 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
4375 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
4376 (ASM_OUTPUT_LABEL): Add paramethesis.
4377 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
4378 (ASM_OUTPUT_REG_POP): Likewise.
4379 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
4380 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
4382 * config/i386/i386.c: Update copyright.
4383 (CHECK_STACK_LIMIT): Add parenthesis.
4384 (AT_BP): Uppercase macro parameter.
4385 (x86_64_int_parameter_registers): Constify.
4386 (x86_64_int_return_registers): Likewise.
4387 (ix86_compare_op0): Use rtx.
4388 (construct_container): Constify INTREG parameter.
4389 (function_arg): Use rtx.
4391 * diagnostic.h: Update copyright date.
4392 (output_buffer_state): Add parenthesis.
4393 (output_buffer_format_args): Likewise.
4395 * combine.c (combine_instructions): Replace XEXP (links, 0)
4398 2002-01-06 H.J. Lu <hjl@gnu.org>
4400 * cfgcleanup.c (thread_jump): Fix 2 typos.
4402 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
4404 * config.gcc: Add support for --enable-altivec.
4406 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
4408 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
4410 2002-01-06 Jakub Jelinek <jakub@redhat.com>
4412 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
4413 __objc_class_name_*.
4415 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
4417 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
4419 2002-01-06 Richard Henderson <rth@redhat.com>
4421 * reorg.c (emit_delay_sequence): Remove death notes, not merely
4422 nop them out. Increment label reference count for REG_LABEL.
4423 (fill_slots_from_thread): Frob label reference count around
4424 delete_related_insns.
4426 2002-01-05 Richard Henderson <rth@redhat.com>
4428 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
4431 2002-01-05 Richard Henderson <rth@redhat.com>
4433 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
4434 * integrate.c (output_inline_function): Likewise.
4435 * toplev.c (rest_of_compilation): Do it here instead. Move call
4436 to remove_unnecessary_notes after emitting abstract instance.
4437 Force an emitted nested function to have its parent emited as well.
4438 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
4440 (rtl_for_decl_location): Do not look at reload data structures
4441 before reload has run.
4443 2002-01-05 Kazu Hirata <kazu@hxi.com>
4445 * cse.c: Fix formatting.
4446 * dwarf2asm.c: Likewise.
4447 * dwarf2out.c: Likewise.
4448 * explow.c: Likewise.
4449 * expmed.c: Likewise.
4450 * function.c: Likewise.
4452 * gencheck.c: Likewise.
4453 * genrecog.c: Likewise.
4454 * ggc-common.c: Likewise.
4455 * ggc-page.c: Likewise.
4456 * global.c: Likewise.
4458 2002-01-05 Kazu Hirata <kazu@hxi.com>
4460 * combine.c: Fix formatting.
4462 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
4465 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
4467 2002-01-05 David Edelsohn <edelsohn@gnu.org>
4469 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
4470 as 1 for __powerpc64__ as well.
4472 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
4474 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
4477 2002-01-05 Daniel Berlin <dan@dberlin.org>
4479 * lcm.c: Revert change, due to performance regression it causes on
4480 SPEC because it's slightly more conservative (sigh, I hate
4483 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
4485 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
4487 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
4489 * doc/cppinternals.texi: Update.
4491 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
4493 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
4494 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
4496 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
4497 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
4498 kludge for pre-october-14th mmix versions to handle new-found bug
4499 with PUSHJ/PUSHGO and the register stack.
4500 * config/mmix/mmix.h (struct machine_function): Rename member
4501 has_call_value_without_parameters to has_call_without_parameters.
4502 All referers changed.
4503 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
4504 TARGET_MASK_BRANCH_PREDICT): New macros.
4505 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
4506 -mno-reg-stack-fill-bug-workaround.
4507 * config/mmix/mmix.md ("call"): Set struct machine member
4508 has_call_without_parameters.
4510 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
4512 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
4514 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
4516 * cfgcleanup.c: Include tm_p.h
4517 (mark_effect): Fix handling of hard register; fix handling of SET
4519 2002-01-04 Kazu Hirata <kazu@hxi.com>
4521 * config/h8300/h8300.md (anonymous patterns): Check that
4522 operands are registers before using REGNO on them.
4524 2002-01-03 Roland McGrath <roland@frob.com>
4526 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
4528 2002-01-04 Jakub Jelinek <jakub@redhat.com>
4530 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
4531 * c-common.h (genrtl_expr_stmt_value): Likewise.
4532 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
4533 (expand_expr_stmt_value): Add maybe_last argument.
4534 Don't warn about statement with no effect if it is the last statement
4535 in expression statement.
4536 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
4537 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
4538 expand_expr_stmt_value.
4539 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
4540 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
4541 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
4542 as maybe_last to expand_expr_stmt_value.
4544 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
4546 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
4547 be passed in, do not build it.
4548 (c_begin_if_stmt): New function.
4549 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
4550 * c-common.h (c_expand_start_cond): Update prototype.
4551 (c_begin_if_stmt): Prototype new function.
4552 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
4553 * c-parse.in (if_prefix): Use c_begin_if_stmt,
4554 c_begin_while_stmt and c_finish_while_stmt_cond.
4556 2002-01-04 William Cohen <wcohen@redhat.com>
4558 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
4559 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
4560 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
4561 * config/pa/som.h (ASM_FILE_START): Likewise.
4563 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
4565 * lcm.c: Include df.h.
4566 Add available_transfer_function prototype.
4567 (compute_available): Rework to use iterative dataflow framework.
4568 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
4569 with bb_info in df.h
4570 (available_transfer_function): New function.
4572 * Makefile.in (lcm.o): add df.h to dependencies.
4574 2002-01-04 Richard Henderson <rth@redhat.com>
4576 * config/alpha/alpha.c (some_operand): Accept HIGH.
4577 (input_operand): Likewise; accept simple references to globals.
4578 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
4579 (alpha_const_double_ok_for_letter_p): Likewise.
4580 (alpha_extra_constraint): Likewise.
4581 (alpha_preferred_reload_class): Likewise. Do not force
4582 symbolic constants to memory.
4583 (alpha_legitimate_address_p): Accept simple references
4584 to small_symbolic_operand.
4585 (alpha_legitimize_address): New arg scratch. Be prepared to be
4586 called when no_new_pseudos. Emit simple symbolic references.
4587 Split integers into low, high, and rest.
4588 (alpha_expand_mov): Use alpha_legitimize_address.
4589 (some_small_symbolic_mem_operand): New.
4590 (split_small_symbolic_mem_operand): New.
4591 * config/alpha/alpha-protos.h: Update.
4592 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
4593 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
4594 (EXTRA_CONSTRAINT): Likewise.
4595 (PREFERRED_RELOAD_CLASS): Likewise.
4596 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
4597 (PREDICATE_CODES): Update.
4598 * config/alpha/alpha.md: New post-reload splitters to convert
4599 simplfied symbolic operands to the form that references $29.
4600 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
4601 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
4603 2002-01-03 Richard Henderson <rth@redhat.com>
4605 * local-alloc.c (function_invariant_p): Update commentary.
4607 2002-01-04 H.J. Lu <hjl@gnu.org>
4609 * toplev.c (rest_of_compilation): Fix a typo when calling
4612 2002-01-03 Kazu Hirata <kazu@hxi.com>
4614 * c-common.c: Fix formatting.
4615 * diagnostic.c: Likewise.
4616 * doloop.c: Likewise.
4617 * dwarf2out.c: Likewise.
4619 2002-01-03 Kazu Hirata <kazu@hxi.com>
4621 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
4622 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
4624 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
4626 * cpperror.c: Update comments and copyright.
4627 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
4628 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
4630 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
4632 * collect2.c (main): Use strcmp when testing for "-shared".
4634 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
4636 * cppmacro.c: Don't include intl.h. Update comments.
4637 (new_number_token): Allocate enough buffer for 64-bit unsigned
4638 integers; update prototype.
4639 * cppmain.c: Update comments.
4641 2002-01-03 William Cohen <wcohen@redhat.com>
4643 * function.h (struct function): Add profile.
4644 (current_function_profile): New.
4645 doc/extend.texi: Update documentation.
4646 * final.c (final_start_function): Use current_function_profile
4647 instead of profile_flag.
4648 (profile_after_prologue): Likewise.
4649 * function.c (expand_function_start): Likewise.
4650 (expand_function_start): Likewise.
4651 * config/alpha/alpha.c (direct_call_operand):
4652 (alpha_does_function_need_gp): Likewise.
4653 (alpha_expand_prologue): Likewise.
4654 * config/arm/arm.c (arm_expand_prologue): Likewise.
4655 thumb_expand_prologue: Likewise.
4656 * config/d30v/d30v.c (d30v_stack_info): Likewise.
4657 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
4658 (fr30_expand_prologue): Likewise.
4659 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
4660 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
4661 * config/i386/i386.h (FINALIZE_PIC): Likewise.
4662 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
4663 * config/i960/i960.c (i960_output_function_prologue): Likewise.
4664 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
4665 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
4666 (m32r_expand_prologue): Likewise.
4667 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
4668 (m88k_expand_prologue): Likewise.
4669 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
4670 * config/mips/mips.c (compute_frame_size): Likewise.
4671 (mips_expand_prologue): Likewise.
4672 (mips_can_use_return_insn): Likewise.
4673 * config/pa/elf.h (ASM_FILE_START): Likewise.
4674 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
4675 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
4676 * config/pa/som.h (ASM_FILE_START): Likewise.
4677 * config/romp/romp.c (romp_using_r14): Likewise.
4678 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
4679 (rs6000_stack_info): Likewise.
4680 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
4681 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
4682 * config/v850/v850.c (compute_register_save_size): Likewise.
4684 2002-01-03 Jakub Jelinek <jakub@redhat.com>
4686 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
4687 gen_lowpart_common fails, use gen_lowpart_SUBREG.
4689 2002-01-03 Turly O'Connor <turly@apple.com>
4691 * darwin.c (machopic_output_possible_stub_label): Don't generate
4692 stub routines for pseudo-stubs which we've just defined.
4694 2002-01-03 Kazu Hirata <kazu@hxi.com>
4696 * builtins.c: Fix formatting.
4697 * c-typeck.c: Likewise.
4698 * combine.c: Likewise.
4702 2002-01-03 Andreas Schwab <schwab@suse.de>
4704 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
4705 and return true if _cpp_push_next_buffer pushed a new include
4707 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
4708 _cpp_pop_file_buffer did not push a new file.
4709 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
4711 2002-01-02 Eric Christopher <echristo@redhat.com>
4713 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
4714 FIND_REG_INC_NOTE call. Update copyright.
4715 * loop.c (canonicalize_condition): Ditto.
4716 * reorg.c (delete_scheduled_jump): Ditto.
4718 2002-01-03 Kazu Hirata <kazu@hxi.com>
4720 * gcse.c: Fix formatting.
4722 2002-01-03 Graham Stott <grahams@redhat.com>
4724 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
4725 forward defs for struct tags rtx_def, union_tree, rtvec_def
4726 also output corresponding typedefs for rtx, tree, and rtvec.
4728 * system.h: Move forward defs for struct tags rtx_def, union_tree,
4729 rtvec_def along with corresponding typedefs for rtx, tree, and
4730 rtvec to config.h, hconfig.h, tconfig.h.
4732 2002-01-03 Graham Stott <grahams@redhat.com>
4734 * tree.h: Update copyright date.
4735 (IS_EXPR_CODE_CLASS): Add parenthesis.
4736 (TREE_SET_CODE): Add whitespace.
4737 (TREE_CHECK): Add parenthesis.
4738 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
4739 (CST_OR_CONSTRUCTOR_CHECK):
4740 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
4741 (TREE_SYMBOL_REFERENCED): Whitespace.
4742 (INT_CST_LT): Likewise.
4743 (INT_CST_LT_UNSIGNED): Likewise.
4744 (tree_real_cst): Unwrap comment.
4745 (tree_string): Likewise.
4746 (tree_complex): Likewise.
4747 (IDENTIFIER_POINTER): correct cast.
4748 (SAVE_EXPR_CONTEXT): Whitespace.
4749 (EXPR_WFL_FILENAME_NODE): Likewise.
4750 (EXPR_WFL_FILENAME): Remove parenthesis.
4751 (DECL_ORIGIN): Add parenthesis.
4752 (DECL_FROM_INLINE): Use NULL_TREE.
4753 (build_int_2): Whitespace.
4754 (build_type_variant): Add parenthesis.
4756 * gcc/jcf-parse.c: Update copyright date.
4757 (yyparse): Constify resource_filename.
4759 2002-01-03 Graham Stott <grahams@redhat.com>
4761 * rtl.h: Update copyright date.
4762 (RTL_CHECK1): Wrap long line.
4763 (RTL_CHECK2): Likewise.
4764 (RTL_CHECKC1): Wrap long line and whitespace.
4765 (RTL_CHECKC2): Likewise.
4766 (XWINT): Whitespace.
4772 (XBITMAP): Likewise.
4783 (X0BITMAP): Likewise.
4785 (X0BBDEF): Likewise.
4786 (X0ADVFLAGS): Likewise.
4787 (X0CSELIB): Likewise.
4788 (X0MEMATTR): Likewise.
4796 (XCBITMAP): Likewise.
4798 (XCBBDEF): Likewise.
4799 (XCADVFLAGS): Likewise.
4800 (XCCSELIB): Likewise.
4802 (INSN_UID): Likewise.
4803 (PREV_INSN): Likewise.
4804 (PATTERN): Likewise.
4805 (INSN_CODE): Likewise.
4806 (PUT_REG_NOTE_KIND): Likewise.
4807 (CODE_LABEL_NUMBER): Likewise.
4808 (NOTE_SOURCE_FILE): Likewise.
4809 (NOTE_BLOCK): Likewise.
4810 (NOTE_EH_HANDLER): Likewise.
4811 (NOTE_RANGE_INFO): Likewise.
4812 (NOTE_LIVE_INFO): Likewise.
4813 (NOTE_BASIC_BLOCK): Likewise.
4814 (NOTE_EXPECTED_VALUE): Likewise.
4815 (NOTE_LINE_NUMBER): Likewise.
4816 (LABEL_NAME): Likewise.
4817 (LABEL_NUSES): Likewise.
4818 (LABEL_ALTERNATE_NAME): Likewise.
4819 (ADDRESSOF_DECL): Likewise.
4820 (JUMP_LABEL): Likewise.
4821 (LABEL_NEXTREF): Likewise.
4823 (ORIGINAL_REGNO: Likewise.
4824 (HARD_REGISTER_NUM_P): Add parenthesis.
4825 (SUBREG_REG): Whitespace.
4826 (SUBREG_BYTE): Likewise.
4827 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
4828 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
4829 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
4830 (ASM_OPERANDS_INPUT_VEC): Likewise.
4831 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
4832 (ASM_OPERANDS_INPUT): Likewise.
4833 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
4834 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
4835 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
4836 (ASM_OPERANDS_INPUT_MODE): Likewise.
4837 (ASM_OPERANDS_SOURCE_FILE): Likewise.
4838 (ASM_OPERANDS_SOURCE_LINE): Likewise.
4839 (MEM_SET_IN_STRUCT_P): Minor reformat.
4840 (TRAP_CONDITION): Whitespace.
4841 (TRAP_CODE): Likewise.
4842 (COND_EXEC_TEST): Likewise.
4843 (COND_EXEC_CODE): Likewise.
4844 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
4845 (PHI_NODE_P): Add parenthesis.
4846 (plus_constant): Whitespace and add parenthesis.
4848 2002-01-03 Kazu Hirata <kazu@hxi.com>
4850 * config/avr/avr.c: Fix comment typos.
4851 * config/c4x/c4x.md: Likewise.
4852 * config/dsp16xx/dsp16xx.h: Likewise.
4853 * config/dsp16xx/dsp16xx.md: Likewise.
4854 * config/i386/i386.md: Likewise.
4855 * config/ia64/ia64.c: Likewise.
4856 * config/m32r/m32r.h: Likewise.
4857 * config/m68hc11/m68hc11.md: Likewise.
4858 * config/mmix/mmix.c: Likewise.
4859 * config/mn10200/mn10200.c: Likewise.
4860 * config/romp/romp.c: Likewise.
4861 * config/sh/sh.c: Likewise.
4862 * config/stormy16/stormy16.c: Likewise.
4863 * config/stormy16/stormy16.h: Likewise.
4864 * config/stormy16/stormy16.md: Likewise.
4866 2002-01-03 Graham Stott <grahams@redhat.com>
4868 * loop.h: Update copyright date.
4869 (LOOP_MOVABLES): Fix typo.
4870 (LOOP_REGS): Likewise.
4871 (LOOP_IVS): Likewise.
4873 2002-01-03 Graham Stott <grahams@redhat.com>
4875 * cppinit.c: Update copyright date.
4876 Don't include output.h
4877 * Makefile.in: Update copyright date.
4880 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
4883 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
4884 (-pthread) Add to RS/6000 options.
4886 2002-01-02 Kazu Hirata <kazu@hxi.com>
4888 * except.c: Fix comment typos.
4890 * varasm.c: Likewise.
4891 * doc/tm.texi: Fix a typo.
4893 2002-01-02 Jakub Jelinek <jakub@redhat.com>
4895 * c-typeck.c (output_init_element): Allow initializing static storage
4896 duration objects with compound literals.
4898 2002-01-02 Richard Henderson <rth@redhat.com>
4900 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
4903 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4905 * gcc.c (default_compilers): Const-ify.
4906 * mips-tdump.c (stab_names): Likewise.
4907 * mips-tfile.c (map_coff_types, map_coff_storage,
4908 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
4909 pseudo_ops_t, pseudo_ops): Likewise.
4910 * protoize.c (default_include): Likewise
4912 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
4913 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
4914 Add array size in declaration.
4915 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
4916 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
4917 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
4918 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
4919 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
4920 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
4921 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
4922 emtens, make_nan): Const-ify.
4923 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
4924 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
4926 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
4928 * config.gcc (ia64-*-*): Set extra_headers.
4929 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
4930 * config/alpha/t-osf: Remove.
4931 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
4933 2002-01-02 David Edelsohn <edelsohn@gnu.org>
4935 * config/rs6000/t-aix43: Revert previous change.
4937 2002-01-02 Jason Merrill <jason@redhat.com>
4939 * c-decl.c (c_expand_body): Call outlining_inline_function when
4940 emitting an inline function out of line.
4942 2002-01-02 Richard Henderson <rth@redhat.com>
4944 * dwarf2out.c (limbo_die_node): Add created_for member.
4945 (new_die): New argument created_for. Update all callers.
4946 (mark_limbo_die_list): New.
4947 (dwarf2out_init): Register limbo_die_list as a root.
4948 (dwarf2out_finish): Force insert limbo dies into their function
4951 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
4954 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
4956 2002-01-02 Kazu Hirata <kazu@hxi.com>
4958 * config/h8300/fixunssfsi.c: Update copyright.
4961 * config/h8300/h8300.c: Update copyright.
4964 2002-01-02 Kazu Hirata <kazu@hxi.com>
4966 * config/romp/romp.c: Fix comment formatting.
4967 * config/romp/romp.h: Likewise.
4968 * config/romp/romp.md: Likewise.
4969 * config/s390/s390.c: Likewise.
4970 * config/stormy16/stormy16.c: Likewise.
4971 * config/stormy16/stormy16.h: Likewise.
4973 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
4975 * c-common.h (genrtl_expr_stmt_value): Declare.
4976 * c-semantics.c (genrtl_goto_stmt): Redirect to...
4977 (genrtl_goto_stmt_value): ... this new function. Pass new
4978 argument down to expand_expr_stmt_value, taking
4979 TREE_ADDRESSABLE into account.
4980 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
4981 STMT_EXPR as addressable, i.e., one whose result we want.
4982 * expr.c (expand_expr): Don't save expression statement value
4983 of labeled_blocks or loop_exprs.
4984 * stmt.c (expand_expr_stmt): Redirect to...
4985 (expand_expr_stmt_value): ... this new function. Use new
4986 argument to tell whether to save expression value.
4987 (expand_end_stmt_expr): Reset last_expr_type and
4988 last_expr_value if we don't have either.
4989 * tree-inline.c (declare_return_variable): Mark its use
4990 statement as addressable.
4991 * tree.h: Document new use of TREE_ADDRESSABLE.
4992 (expand_expr_stmt_value): Declare.
4994 2002-01-01 Tom Rix <trix@redhat.com>
4996 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
4997 rs6000_emit_allocate_stack.
4999 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
5001 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
5002 ${srcdir}/ginclude/ to every entry in extra_headers.
5003 * configure: Regenerate.
5004 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
5005 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
5006 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
5007 * ginclude/proto.h: Rename to config/convex/proto.h.
5009 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5011 * attribs.c (handle_vector_size_attribute): Use host_integerp
5012 and tree_int_cst; remove warnings.
5013 * caller-save.c (insert_restore): Add cast to get rid of warning.
5014 (insert_save): Likewise.
5015 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
5016 * regmove.c (find_matches): Add temporary var to kill a warning.
5018 2002-01-01 Douglas B Rupp <rupp@gnat.com>
5020 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
5021 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
5022 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
5023 (vms-dwarf2eh.o): Add Makefile rule.
5024 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
5025 * config/alpha/vms-dwarf2eh.asm: New file.
5027 * gcc.c (delete_if_ordinary): Delete all versions.
5029 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
5031 * config/mmix/mmix.md: Update FIXME to not mention
5033 (MMIX_rJ_REGNUM): New define_constants constant.
5034 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
5035 "*movdicc_real"): Adjust contraints formatting.
5036 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
5037 for branch prediction.
5038 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
5040 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
5041 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
5042 number. Delete related FIXMEs.
5043 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
5044 from number to MMIX_rJ_REGNUM.
5045 (TARGET_MASK_BRANCH_PREDICT): New.
5046 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
5047 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
5048 value. Add -mbranch-predict and -mno-branch-predict.
5049 (TARGET_VERSION): Drop date.
5050 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
5051 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
5052 for finding out global symbols.
5053 (mmix_asm_output_labelref): Revert condition for global symbol.
5054 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
5055 (mmix_print_operand_punct_valid_p): A '+' is valid.
5057 See ChangeLog.6 for earlier changes.