1 2002-02-17 Philipp Thomas <pthomas@suse.de>
3 * final.c (output_operand_lossage): Changed to accept
4 printf style arguments. Change calls where necessary.
5 * output.h (output_operand_lossage): Change declaration
6 accordingly. Update copyright.
7 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
8 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
9 Update copyright date where necessary.
11 * config/i386/i386.c (print_operand): Likewise. Remove use of
14 * config/cris/cris.c (cris_operand_lossage): Likewise.
15 Rename parameter so that exgettext recognizes it as
17 (LOSE_AND_RETURN): Rename parameter to msgid.
19 2002-02-17 Kazu Hirata <kazu@hxi.com>
21 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
22 hard coded register number with an appropriate macro.
23 (HARD_REGNO_MODE_OK): Likewise.
24 (ARG_POINTER_REGNUM): Likewise.
25 (STATIC_CHAIN_REGNUM): Likewise.
26 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
27 * config/h8300/h8300.md (define_constants): Define more
30 2002-02-17 Philipp Thomas <pthomas@suse.de>
32 * config/i386/i386.h: Don't mark empty strings for translation.
34 2002-02-16 H.J. Lu <hjl@gnu.org>
36 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
38 2002-02-16 Zack Weinberg <zack@codesourcery.com>
40 * cppinit.c (merge_include_chains): Check for brack being
41 NULL before attempting to merge it with qtail.
43 2002-02-16 Andrew Cagney <ac131313@redhat.com>
45 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
48 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
50 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
52 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
54 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
55 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
56 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
58 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
60 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
61 now only if !TARGET_FIX.
62 (*movsi_nt_vms_fix): New pattern.
64 2002-02-16 Douglas B Rupp <rupp@gnat.com>
66 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
67 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
68 (alpha_sa_mask, alpha_sa_size): Reflect above change.
69 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
70 (alpha_start_function, alpha_expand_epilogue): Likewise.
71 (unicosmk_gen_dsib): Likewise.
73 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
75 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
77 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
79 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
80 check_and_change_labels, s390_final_chunkify): Delete.
81 (s390_split_branches, s390_chunkify_pool): New functions.
82 (s390_function_prologue): Call them.
84 * config/s390/s390.h (S390_REL_MAX): Delete.
85 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
87 * config/s390/s390.md (cjump, icjump, jump): Fix length
88 attribute calculation.
91 2002-02-15 David Edelsohn <edelsohn@gnu.org>
93 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
94 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
96 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
98 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
99 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
100 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
102 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
104 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
106 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
108 * reload.c (find_dummy_reload): Check that an output register
109 is valid for its mode.
111 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
113 * combine.c (known_cond): After replacing the REG of a SUBREG, try
116 * function.c (assign_parms): Demote promoted argument passed by
117 transparent reference.
119 2001-02-14 Joel Sherrill <joel@OARcorp.com>
121 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
122 -Acpu() and -Amachine() to eliminate warnings.
124 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
126 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
128 2002-02-14 Kazu Hirata <kazu@hxi.com>
130 * config/h8300/h8300-protos.h: Update the prototype for
132 * config/h8300/h8300.c (const_costs): Treat SET as a little
133 more expensive operation.
134 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
135 reference to const_costs.
137 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
139 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
141 2002-02-14 Jakub Jelinek <jakub@redhat.com>
144 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
145 use arguments from newtype.
147 2002-02-13 Eric Christopher <echristo@redhat.com>
149 * config/mips/mips.c (override_options): Add check for march/mipsX
150 on the same command line. Fix error message in cpu processing.
151 Remove architecture and ISA checks.
153 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
155 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
157 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
159 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
161 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
163 ("*movv8hi_internal1"): Same.
164 ("*movv16qi_internal1"): Same.
165 ("*movv4sf_internal1"): Same.
167 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
168 not push_reload for altivec modes.
170 2002-02-13 Joel Sherrill <joel@OARcorp.com>
172 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
173 all RTEMS targets including removal of #includes from config/*/rtems*.h
174 file and adding them to tm_file setting. Added xm_defines=POSIX to
176 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
177 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
178 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
179 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
180 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
181 config/m68k/rtemself.h: Ditto.
182 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
183 config/mips/rtems64.h: Ditto.
184 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
185 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
187 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
188 config/sparc/rtemself.h: Ditto.
189 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
190 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
191 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
193 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
194 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
195 target made more similar to i386-elf.
196 * config/i386/t-rtems-i386: Added soft float support and multilibs.
197 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
198 be similar to config/m68k/t-m68kelf.
199 * gthr-rtems.h: Encapsulate with extern "C" for C++.
201 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
203 * regmove.c (kill_value): Handle subregs.
205 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
207 * i386.md (mul patterns): Allow memory operand to be first;
208 add expanders where needed; fix constraints.
209 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
210 Allow memory operand to be the first.
212 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
215 2002-02-13 Jakub Jelinek <jakub@redhat.com>
218 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
221 2002-02-13 Jakub Jelinek <jakub@redhat.com>
223 PR optimization/5547:
224 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
225 all valid IA-32 address modes involving non-scaled %ebx and
226 GOT/GOTOFF as displacement.
228 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
230 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
231 after emitting ltorg insns.
233 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
234 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
235 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
236 *abssf2): Fix "op_type" attribute.
238 2002-02-13 Douglas B Rupp <rupp@gnat.com>
240 * mkconfig.sh: Avoid using a subshell redirect.
241 ($output.T): Change to $(output)T.
242 (ENABLE_NLS): Remove unneeded undef.
244 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
245 * config/alpha/x-vms (libsubdir): Define.
247 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
248 register frame procedures. Optimize retrieving context.
250 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
251 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
252 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
254 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
256 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
257 Make same change as for find_base_value.
259 2002-02-13 Kazu Hirata <kazu@hxi.com>
261 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
262 of QImode and SImode.
264 2002-02-13 Kazu Hirata <kazu@hxi.com>
266 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
267 length computation of movsi.
268 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
270 2002-02-13 Kazu Hirata <kazu@hxi.com>
272 * config/h8300/h8300.md (subqi3): Tighten the predicate for
273 operands[2] to register_operand.
275 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
277 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
279 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
281 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
282 for altivec_lvx* and altivec_stvx*.
283 ("*movv4si_internal"): Add constraint for loading from GPRs.
284 ("*movv8hi_internal1"): Same.
285 ("*movv16qi_internal1"): Same.
286 ("*movv4sf_internal1"): Same.
288 * config/rs6000/rs6000.c (altivec_register_operand): New.
290 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
291 altivec_register_operand.
293 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
295 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
298 2002-02-13 Stan Shebs <shebs@apple.com>
300 * c-typeck.c (digest_init): Handle vectors.
301 (really_start_incremental_init): Same.
302 (pop_init_level): Same.
303 (process_init_element): Same.
305 * varasm.c (output_constant): Same.
307 * expr.c (clear_storage): Same.
308 (store_constructor): Same.
310 2002-02-12 Eric Christopher <echristo@redhat.com>
312 * explow.c (hard_function_value): Add comment explaining
313 signed/unsigned comparison.
315 2002-02-12 Jakub Jelinek <jakub@redhat.com>
317 * jump.c (never_reached_warning): Add finish argument.
318 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
320 * rtl.h (never_reached_warning): Adjust prototype.
321 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
322 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
323 never_reached_warning.
325 2002-02-12 Graham Stott <grahams@redhat.com>
327 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
329 2002-02-12 Kazu Hirata <kazu@hxi.com>
331 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
332 logical shifts on H8/300.
333 (shift_alg_si): Improve several shifts on H8/300.
334 (get_shift_alg): Likewise.
336 2002-02-12 Graham Stott <grahams@redhat.com>
338 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
340 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
342 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
343 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
345 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
347 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
348 non-CONST_INT through default_assemble_integer.
349 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
350 <case 8>: Abort for CONST_DOUBLE.
352 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
354 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
356 * config/pa/pa-linux.h (LIB_SPEC): Delete.
357 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
359 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
361 * config/stormy16/stormy16.md (zero_extendqihi2): New.
363 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
365 * regrename.c (regrename_optimize): Don't accept a
366 part-clobbered register if the replaced register is not part
369 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
370 take padding into account when computing the argument value.
372 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
374 * combine.c (try_combine): Apply substitutions in
375 CALL_INSN_FUNCTION_USAGE too.
377 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
379 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
380 __builtin_altivec_abs*.
383 * config/rs6000/rs6000.h (rs6000_builtins): Add
384 ALTIVEC_BUILTIN_ABS*.
386 * config/rs6000/altivec.h: Use const char for builtins expecting
388 (vec_abs): New versions for C and C++.
391 2002-02-10 Kazu Hirata <kazu@hxi.com>
393 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
396 2002-02-10 Kazu Hirata <kazu@hxi.com>
398 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
399 constant definition from h8300.md.
400 (FRAME_POINTER_REGNUM): Likewise.
401 * config/h8300/h8300.md (define_constants): Add FP_REG.
403 2002-02-10 Kazu Hirata <kazu@hxi.com>
405 * config/h8300/h8300.c (print_operand): Remove redundant code.
407 2002-02-10 Kazu Hirata <kazu@hxi.com>
409 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
410 * config/h8300/h8300.c (byte_reg): Make it static.
412 2002-02-10 Richard Henderson <rth@redhat.com>
415 * c-typeck.c (incomplete_type_error): Handle flexible array members.
417 2002-02-10 Richard Henderson <rth@redhat.com>
420 * tree.c (append_random_chars): Don't abort if main_input_filename
423 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
425 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
427 2002-02-10 Kazu Hirata <kazu@hxi.com>
429 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
432 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
434 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
435 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
437 2002-02-09 David O'Brien <obrien@FreeBSD.org>
439 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
441 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
443 2002-02-09 Kazu Hirata <kazu@hxi.com>
445 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
446 a half of an SImode register on H8/300.
448 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
450 * i386.md (movdi_2): Add missing '!'.
452 2002-02-09 Kazu Hirata <kazu@hxi.com>
454 * config/h8300/h8300.h: Fix formatting. Remove commented-out
457 2002-02-09 Kazu Hirata <kazu@hxi.com>
459 * config/h8300/h8300.md (length): Correct the distance valid
460 for the short branch.
462 2002-02-09 Kazu Hirata <kazu@hxi.com>
464 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
466 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
468 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
470 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
473 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
477 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
478 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
479 (sh_cannot_modify_jumps_p): New function.
480 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
481 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
482 (sh_ms_bitfield_layout_p): New function.
483 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
484 Zack Weinberg <zack@codesourcery.com>
485 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
486 expand_simple_binop instead of expand_binop.
487 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
488 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
489 use of .quad and .uaquad.
490 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
491 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
492 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
493 * config/sh/sh.md (movdi_const, movdi_const_32bit,
494 movdi_const_16bit): Make sure all CONSTs have modes.
495 (sym2PIC): Ditto, but by adjusting all callers.
496 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
497 if the prologue calls the SHmedia argument decoder or register
499 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
500 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
501 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
502 (sh_expand_epilogue): Don't emit USE of return target register.
503 (prepare_move_operands): Legitimize DImode PIC addresses.
504 (sh_media_register_for_return): Skip tr0, used to initialize the
506 (sh_expand_prologue): Remove explicit USE of return register.
507 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
508 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
509 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
510 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
511 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
513 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
514 (MOVI_SHORI_BASE_OPERAND_P): New.
515 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
516 (EXTRA_CONSTRAINT_T): Define in terms of them.
517 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
518 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
519 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
520 alternatives supporting TARGET_REGS.
521 (UNSPEC_GOTPLT): New constant.
522 (movdi split): Move incrementing of LABEL_NUSES...
523 (movdi_const, movdi_const_32bit): Here. Use
524 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
525 (movdi_const_16bit): New.
526 (call, call_value) [flag_pic]: Use GOTPLT.
527 (call_pop, call_value_pop): New expands.
528 (call_pop_compact, call_pop_rettramp): New insns.
529 (call_value_pop_compact, call_value_pop_rettramp): New insns.
530 (sibcall) [flag_pic]: Use GOT.
531 (builtint_setjmp_receiver): Remove bogus, unused expand.
532 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
533 (*pt, *ptb, ptrel): New insns.
534 (sym2GOT): Handle DImode GOT.
535 (sym2GOTPLT, symGOTPLT2reg): New expands.
536 (sym2PIC): New expand.
537 (shcompact_return_tramp): Use GOTPLT to return trampoline.
538 (shcompact_return_tramp_i): Use return register explicitly.
539 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
540 disable flag_reorder_blocks.
541 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
542 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
543 clobbers, for clarity.
544 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
545 restoring of r0 in macl as MAYBE_DEAD.
546 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
547 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
548 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
549 alter_subreg all over.
550 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
551 reload, instead of emitting instructions that would require
553 (casesi_load_media): Add missing modes.
554 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
555 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
556 as used if the argument decoder is called.
557 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
558 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
559 Pmode, then extend it to DImode if necessary.
560 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
561 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
562 constants in FPU-enabled SHmedia, let them be loaded from memory.
563 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
564 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
565 Adjust whitespace in assembly output templates.
566 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
567 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
568 mode of if_then_else.
569 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
570 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
572 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
573 Joern Rennecke <amylaar@redhat.com>
574 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
575 (SUBTARGET_CPP_PTR_SPEC): New.
576 (SUBTARGET_CPP_SPEC): Remove.
577 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
578 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
579 Fix typo in previous checkin.
580 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
581 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
582 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
583 Alexandre Oliva <aoliva@redhat.com>
584 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
585 what single FP register can hold for SHmedia target.
586 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
587 Alexandre Oliva <aoliva@redhat.com>
588 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
589 Do not split into SUBREG.
590 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
591 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
592 and added new functions as specified in SH5 ABI r9.
593 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
594 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
596 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
597 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
598 gen_consttable_4 and gen_consttable_8. Emit multiple labels
599 and consttable_window_ends.
600 2001-06-03 Graham Stott <grahams@redhat,com>
601 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
602 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
603 * config/sh/sh.c (print_operand): Handle floating-point pair,
604 vector and matrix registers.
605 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
606 vector modes into account.
607 * config/sh/sh.md (movv2sf): Split move between registers into
609 (movv4sf, movv16sf): Introduce insns that get split only after
611 * config/sh/shmedia.h: Fix Copyright dates.
612 * config/sh/ushmedia.h: Likewise. Move loop counter
613 declarations into conditionals that uses them.
614 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
616 * config/sh/sshmedia.h: Fix Copyright dates.
617 (sh_media_PUTCFG): Fix constraints.
618 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
619 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
620 ptrmemfunc_vbit_in_delta for SH5.
621 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
622 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
623 * invoke.texi: Likewise.
624 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
625 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
626 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
627 GCC_pop_shmedia_regs_nofpu): New global symbols.
628 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
629 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
630 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
631 compact function with nonlocal labels.
632 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
633 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
634 (initial_elimination_offset): Account for their stack space.
635 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
636 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
637 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
638 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
639 least one of the operands to be a register.
640 (movv2sf): Likewise. Renamed to movv2sf_i.
641 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
642 prepare_move_operands() before emitting SHmedia insns.
643 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
644 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
645 Don't save nor initialize r12. Don't mis-align the stack.
646 Pad the code with a nop.
647 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
649 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
650 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
651 [__SHMEDIA__]: Implement.
652 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
653 * config/sh/sh.md: Set latency of `pt' closer to reality.
654 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
655 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
656 Set move, load and store type attributes.
657 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
658 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
660 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
661 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
662 * config/sh/sh.c (sh_media_register_for_return): New function.
663 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
664 branch-target register.
665 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
666 * config/sh/sh.md (return_media_i): Use any call-clobbered
667 branch-target register.
668 (return_media): If r18 wasn't copied in the prologue, copy it
670 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
671 Clear class FP0_REGS.
672 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
674 2001-03-08 DJ Delorie <dj@redhat.com>
675 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
676 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
677 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
678 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
679 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
680 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
681 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
682 return value correctly for call_cookie.
683 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
684 * config/sh/crt1.asm (start): Modified so as to call
685 ___setup_argv_and_call_main.
686 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
687 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
689 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
690 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
691 (STRIP_NAME_ENCODING): Use it.
692 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
693 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
694 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
695 prepare_scc_operands().
696 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
697 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
698 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
699 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
700 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
701 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
702 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
703 used in shcompact_incoming_args.
704 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
706 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
708 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
710 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
711 Simplify. Adjust. Add sanity check.
712 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
714 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
716 (udivsi3, divsi3): Use them.
717 (force_mode_for_call): New insn.
718 (call, call_value, sibcall_value): Emit it before SHcompact
720 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
721 * config/sh/sh.md (call, call_value, sibcall): Make sure the
722 call cookie is non-NULL before taking its value.
723 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
724 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
725 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
726 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
728 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
729 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
730 temporary for stack adjusts. Use MACL and MACH to pass
731 arguments to shcompact_incoming_args.
732 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
734 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
735 (nested_trampoline): Load static chain address into r1.
736 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
737 2001-01-07 Alexandre Oliva <aoliva@redhat.com
738 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
739 fp_arith_reg_operand().
740 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
741 * config/sh/sh.md (casesi): Sign-extend the first two operands,
742 and use signed compares for them.
743 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
744 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
745 ones properly aligned.
746 (find_barrier): Account for extra alignment needed for 8-byte wide
748 (machine_dependent_reorg): Require a label for the second 4-byte
749 constant after an 8-byte one.
750 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
752 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
753 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
754 last_float when switching float modes.
755 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
756 auto-increment for general-purpose registers.
757 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
759 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
761 * config/sh/sh.c (sh_builtin_saveregs): Support using all
762 registers for varargs.
763 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
764 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
765 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
766 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
767 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
768 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
769 call_cookie accordingly.
770 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
771 (SHCOMPACT_BYREF): Likewise.
772 (SHCOMPACT_FORCE_ON_STACK): New macro.
773 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
774 (sh_builtin_saveregs): Likewise.
775 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
776 shcompact_incoming_args): Use new shift values. Support
777 sequences of consecutive and non-consecutive pushes/pops.
778 * config/sh/sh.md (return): Don't explicitly use PR_REG.
779 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
780 * config/sh/sh.h (TEXT_SECTION): Define.
781 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
782 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
783 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
784 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
785 return values on FPU-enabled SHmedia.
786 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
788 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
789 value is returned in a non-FP reg and is not returned by
791 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
793 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
794 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
795 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
796 quad-aligned to be passed by callee-copy reference.
797 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
798 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
799 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
800 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
801 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
802 copying low-numbered FP regs to r7 and r8.
803 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
804 FP regs to general-purpose regs only if the copy was passed on the
806 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
807 copying FP reg to r9.
808 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
809 copy FP regs to general-purpose regs only in outgoing calls.
810 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
811 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
813 * config/sh/sh.h (struct sh_args): Document all fields.
814 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
815 passed partially on the stack should not consider making
817 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
818 stack_regs only for incoming calls. When passing FP args,
819 make sure there are FP regs available before modifying
821 (SHCOMPACT_BYREF): Pass double args in general-purpose
822 registers by reference.
823 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
824 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
825 attempt to generate sibcalls if the caller got any arguments
827 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
828 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
829 to 8-byte boundaries.
830 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
831 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
832 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
834 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
835 for the offsets to have the ISA bit set.
836 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
837 invocation. Use beq instead of bgt to mark end of sequence of
839 (shcompact_incoming_args): Fix store of r2. Use beq instead of
840 bgt to mark end of sequence of stores.
841 * config/sh/sh.c (arith_operand): Don't check whether
842 CONST_OK_FOR_J for now.
843 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
844 instead of long for conversion.
845 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
846 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
847 before passing it to fprintf.
848 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
849 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
850 Call set_fpscr before reading/writing SR.
851 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
853 * config/sh/lib1funcs.asm: Add `.align 2' directives before
855 (FMOVD_WORKS): Define on SH5 with FPU.
856 (set_fpscr): Define on SH5. Remove separate _fpscr_values
858 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
860 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
861 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
863 (ia_main_table): Ditto.
864 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
865 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
866 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
867 the definitions from sh.h.
868 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
870 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
871 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
872 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
873 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
874 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
875 Increment LABEL_NUSES.
877 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
879 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
881 * config/sh/elf.h (SIZE_TYPE): Likewise.
882 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
883 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
884 shcompact_incoming_args): Load switch table addresses using
886 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
887 (NO_BUILTIN_SIZE_TYPE): Define.
888 (SIZE_TYPE): Don't define.
889 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
890 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
891 definition of __SH5__=32 for -m5-compact-nofpu.
892 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
894 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
895 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
896 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
897 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
898 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
899 (INSN_LENGTH_ALIGNMENT): Likewise.
900 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
901 * config/sh/sh.md (call, call_value, sibcall): Simplify
902 copying of non-branch-target register.
903 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
904 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
905 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
906 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
907 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
908 floating-point values as structs.
909 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
910 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
911 general-purpose register.
912 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
913 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
914 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
915 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
916 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
917 (ENCODE_SECTION_INFO): Enclose variables and constants in
919 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
920 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
921 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
922 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
923 only for LABEL_REFs. For SYMBOL_REFs, prepend
924 SH_DATALABEL_ENCODING to the symbol name.
925 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
927 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
928 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
930 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
931 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
932 (DATALABEL_REF_P): Don't require CONST.
933 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
935 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
936 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
938 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
939 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
940 Use shallow_copy_rtx and PUT_MODE to change the mode of
941 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
942 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
943 on SHmedia using GENERAL_REGs.
944 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
945 bltu_media_i): Fix reversion of conditions.
946 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
947 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
948 * config/sh/sh.c (output_far_jump): Save r13 in macl.
949 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
950 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
951 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
952 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
953 (GCC_nested_trampoline): Likewise.
954 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
955 * config/sh/sh.c (gen_datalabel_ref): Define.
956 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
957 (INITIALIZE_TRAMPOLINE): Likewise.
958 (TRAMPOLINE_ADJUST_ADDRESS): Define.
959 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
960 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
961 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
962 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
963 (ic_invalidate): Adjust for SH5.
964 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
965 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
967 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
968 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
969 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
970 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
971 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
972 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
973 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
974 * config/sh/sh.c (target_reg_operand): Match only target-branch
975 registers and pseudos that aren't virtual registers.
976 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
977 Copy operands that don't match target_reg_operand to pseudos.
978 (call_media, call_value_media, sibcall_media): Use
979 target_reg_operand instead of target_operand.
980 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
981 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
982 * config/sh/sh.c (target_reg_operand): Match hardware registers
983 other than branch-target registers.
984 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
985 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
986 (fpscr_values) [SH5 == 32]: Define.
987 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
988 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
989 Handle function addresses coming in SUBREGs.
990 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
991 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
992 shcompact_return_trampoline): Use datalabel where appropriate.
993 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
994 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
995 general-purpose register to copy one branch-target register to
997 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
998 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
999 SYMBOL_REFs with VOIDmode.
1000 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1001 bltu_media_i): New insns.
1002 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
1003 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
1004 (INIT_CUMULATIVE_ARGS): Likewise.
1005 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
1006 * machmode.def (V16SFmode): New mode.
1007 * c-common.c (type_for_mode): Support V2SF and V16SF.
1008 * tree.c (build_common_tree_nodes_2): Likewise.
1009 * tree.h (tree_index): Likewise.
1010 * calls.c (emit_call_1): Take args_so_far. Adjust all
1011 callers. Introduce CALL_POPS_ARGS.
1012 * tm.texi (CALL_POPS_ARGS): Document.
1013 * config/sh/crt1.asm: Implement in SHmedia mode.
1014 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
1015 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
1016 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
1017 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
1018 Implement divsi and udivsi in SHmedia mode. Introduce
1019 SHcompact trampolines.
1020 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
1022 (regno_reg_class): Rewrite.
1023 (fp_reg_names): Remove.
1024 (sh_register_names, sh_additional_register_names): New.
1025 (print_operand): Added `u'. Support SUBREGs in addresses.
1026 Add parentheses around shifted CONSTs.
1027 (output_file_start): Output .mode and .abi directives.
1028 (shiftcosts, addsubcosts, multcosts): Adjust.
1029 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
1030 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
1031 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
1032 bytes, not registers. Take into account the need for the
1033 SHcompact incoming args trampoline. Adjust all callers.
1034 (sh_expand_prologue): Take stack_regs into account. Call
1035 incoming args trampoline. Keep stack aligned as per SH5 ABI.
1036 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
1037 stack aligned as per SH5 ABI.
1038 (sh_builtin_saveregs): Support SH5 ABI.
1039 (sh_build_va_list, sh_va_start): Likewise.
1040 (initial_elimination_offset): Take alignment into account.
1041 Compute location of PR according to the SH5 stack frame.
1042 (arith_reg_operand): Reject branch-target registers.
1043 (shmedia_6bit_operand): New.
1044 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
1045 (target_reg_operand): Match DImode only. Accept SUBREGs.
1046 (target_operand): New.
1047 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
1048 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
1049 SIBCALL_REGS for SHmedia.
1050 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
1051 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
1052 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
1053 (TARGET_SWITCHES): New SH5 flags.
1054 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
1055 VALID_REGISTER_P to disable unsupported registers.
1056 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
1057 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
1058 (FUNCTION_ARG_PADDING): Define.
1059 (FASTEST_ALIGNMENT): Adjust.
1060 (SH_REGISTER_NAMES_INITIALIZER): New.
1061 (sh_register_names): Declare.
1062 (DEBUG_REGISTER_NAMES): Define.
1063 (REGISTER_NAMES): Define based on sh_register_names.
1064 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
1065 (sh_additional_register_names): Declare.
1066 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
1067 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
1068 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
1069 (REGISTER_NATURAL_MODE): Define.
1070 (FIRST_PSEUDO_REGISTER): Adjust.
1071 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
1072 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
1073 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
1074 (VECTOR_MODE_SUPPORTED_P): Define.
1075 (REG_CLASS_CONTENTS): Adjust.
1076 (SMALL_REGISTER_CLASSES): Adjust.
1077 (REG_ALLOC_ORDER): Adjust.
1078 (INDEX_REG_CLASS): Adjust.
1079 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
1080 (CONST_OK_FOR_LETTER_P): Adjust.
1081 (PREFERRED_RELOAD_CLASS): Adjust.
1082 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
1083 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
1084 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
1085 (FIRST_FP_PARM_REG): Adjust.
1086 (CALL_POPS_ARGS): Define.
1087 (FUNCTION_ARG_REGNO_P): Adjust.
1088 (struct sh_args): New fields.
1089 (GET_SH_ARG_CLASS): Adjust.
1090 (INIT_CUMULATIVE_ARGS): Adjust.
1091 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
1092 (FUNCTION_ARG_ADVANCE): Adjust.
1093 (FUNCTION_ARG): Adjust.
1094 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
1095 (FUNCTION_ARG_CALLEE_COPIES): Define.
1096 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
1097 (STRICT_ARGUMENT_NAMING): Define.
1098 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
1099 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
1100 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
1101 (SETUP_INCOMING_VARARGS): Adjust.
1102 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
1103 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
1104 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
1105 (SUBREG_OK_FOR_INDEX_P): Adjust.
1106 (EXTRA_CONSTRAINT_S): Update.
1107 (EXTRA_CONSTRAINT_T): New.
1108 (EXTRA_CONSTRAINT): Adjust.
1109 (GO_IF_LEGITIMATE_INDEX): Adjust.
1110 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
1111 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
1113 (MAX_MOVE_MAX): Define.
1115 (CONST_COSTS): Adjust.
1116 (REGISTER_MOVE_COST): Adjust.
1117 (BRANCH_COST): Adjust.
1118 (TEXT_SECTION_ASM_OP): Adjust.
1119 (DBX_REGISTER_NUMBER): Adjust.
1120 (ASM_OUTPUT_DOUBLE_INT): New.
1121 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
1122 (PREDICATE_CODES): Adjust.
1123 (PROMOTE_MODE): Adjust.
1124 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
1125 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
1126 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
1127 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
1128 (DR0_REG, DR2_REG, DR4_REG): Renumber.
1129 (TR0_REG, TR1_REG, TR2_REG): New.
1130 (XD0_REG): Renumber.
1131 (UNSPEC_COMPACT_ARGS): New.
1132 (type): Added pt and ptabs.
1133 (length): Default to 4 on SHmedia. Default pt length to 12
1134 and 20 on SHmedia32 and SHmedia64, respectively.
1135 (pt): New function unit.
1136 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
1137 Add whitespace between operands of SHmedia instructions.
1139 (adddi3_media, addsi3_media): Adjust constraints.
1140 (subsi3) [SHmedia]: Force operand 1 into a register.
1141 (udivsi3_i1_media, udivsi3_i4_media): New.
1142 (udivsi3): Support SHmedia.
1143 (divsi3_i1_media, divsi3_i4_media): New.
1144 (divsi3): Support SHmedia.
1145 (anddi3, iordi3, xordi3): Adjust constraints.
1146 (zero_extendhidi2, zero_extendqidi2): New.
1147 (extendsidi2, extendhidi2, extendqidi2): New.
1148 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
1149 (pop_e, pop_fpul, pop_4): Likewise.
1150 (movsi_media): Support FP and BT registers.
1151 (movsi_media_nofpu): New. Adjust splits to DImode.
1152 (lduw, ldub): Renamed to zero_extend* above.
1153 (movqi_media): Fix typo.
1154 (movdi_media): Support FP and BT registers.
1155 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
1156 (movdi_const_32bit): New.
1157 (shori_media): Require immediate operand. Use `u' for output.
1158 (movdf_media, movsf_media): Simplified.
1159 (movdf_media_nofpu, movsf_media_nofpu): New.
1160 (movdf, movsf): Adjust
1161 (movv2sf, movv2sf, movv16sf): New.
1162 (beq_media, beq_media_i): Adjust constraints. Don't use
1163 scratch BT register.
1164 (bne_media, bne_media_i): Likewise.
1165 (bgt_media, bgt_media_i): Likewise.
1166 (bge_media, bge_media_i): Likewise.
1167 (bgtu_media, bgtu_media_i): Likewise.
1168 (bgeu_media, bgeu_media_i): Likewise.
1169 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
1170 bunordered): Emit jump insn. Force operands to registers when
1172 (jump_media, jump): Simplify.
1173 (call_compact, call_compact_rettramp): New.
1174 (call_value_compact, call_value_compact_rettramp): New.
1175 (call_media, call_value_media): Simplify.
1176 (sibcall_compact, sibcall_media): New.
1177 (call, call_value): Adjust for SHmedia and SHcompact.
1178 (sibcall, sibcall_value, untyped_call): Likewise.
1179 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
1180 (indirect_jump): Adjust for SHmedia.
1181 (casesi_jump_media): New.
1182 (nop): Re-enable for SHmedia.
1183 (call_site): Restrict to SH1.
1184 (casesi): Adjust for SHmedia.
1185 (casesi_shift_media, casesi_load_media): New.
1186 (return): Explicitly use PR register. Call return trampoline
1188 (return_i): Explicitly use PR register.
1189 (shcompact_return_tramp, shcompact_return_tramp_i): New.
1190 (return_media): Adjust.
1191 (shcompact_incoming_args): New.
1193 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
1194 (movstrsi): Disable on SH5.
1195 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
1196 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
1197 (subsf3, subsf3_media): Likewise.
1198 (mulsf3, mulsf3_media, mac_media): Likewise.
1199 (divsf3, divsf3_media): Likewise.
1200 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
1201 (floatsisf2, fux_truncsfsi2): Likewise.
1202 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
1204 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
1205 (cmpunsf_media, cmpsf): Likewise.
1206 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
1207 (abssf2, abssf2_media): Likewise.
1208 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
1209 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
1210 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
1211 (floatsidf2, fix_truncdfsi2): Likewise.
1212 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
1214 (cmpeqdf_media, cmpgtdf_media): Likewise.
1215 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
1216 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
1217 (absdf2, absdf2_media): Likewise.
1218 (extendsfdf2, extendsfdf2_media): Likewise.
1219 (truncsfdf2, truncsfdf2_media): Likewise.
1220 * config/sh/sh64.h: New file.
1221 * config/sh/t-sh64: New file.
1222 * config/sh/shmedia.h: New file.
1223 * config/sh/ushmedia.h: New file.
1224 * config/sh/sshmedia.h: New file.
1225 * configure.in: Added sh64-*-elf.
1226 * configure: Rebuilt.
1227 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
1228 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
1229 (reg_class_from_letter): Use `b' for TARGET_REGS.
1230 (print_operand): Support `%M', `%m', `AND' and
1231 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
1232 (andcosts): Adjust for SHmedia.
1233 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
1235 (target_reg_operand): New function.
1236 * config/sh/sh-protos.h (target_reg_operand): Declare.
1237 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
1238 FP registers on SH5.
1239 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
1241 (TARGET_REGISTER_P): New macro.
1242 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
1243 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
1244 (EXTRA_CONSTRAINT_S): New macro.
1245 (EXTRA_CONSTRAINT): Adjust.
1246 (FLOAT_TYPE_SIZE): Define to 32.
1247 (Pmode): DImode on SHmedia.
1248 (CONST_COSTS): Adjust for SHmedia literals.
1249 (PREDICATE_CODES): Added target_reg_operand.
1250 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
1251 * config/sh/sh.md: Remove all attrs from SHmedia insns.
1252 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
1253 (cmpdi): Accept SHmedia.
1254 (movdicc_false, movdicc_true): New insns.
1255 (movdicc): New expand.
1256 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
1258 (addsi3_media): Match `S' constraint.
1259 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
1260 (negdi2): Expand for SHmedia.
1261 (one_cmpldi2): New expand.
1262 (zero_extendsidi2): Change from expand to insn.
1263 (extendsidi2): Add constraints.
1264 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
1265 LD/ST address. Fix SI immediate loading split.
1266 (movhi_media, movqi_media, lduw, ldub): New insns.
1267 (movhi, movqi): Accept SHmedia.
1268 (shori_media, movdi_media): Relax input constraints. Split
1270 (movdf_media, movsf_media): New insn. New split to movdi.
1271 (movdf, movsf): Match on SHmedia.
1272 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
1273 bgeu_media): New insns and splits. New insns with `_i' suffix.
1274 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
1275 (bunordered): New expand.
1276 (jump_compact): Renamed from `jump'.
1277 (jump_media): New insn.
1279 (call_media, call_value_media): New insns.
1280 (call, call_value): Adjust.
1281 (indirect_jump_compact): Renamed from `indirect_jump'.
1282 (indirect_jump_media): New insn.
1283 (indirect_jump): New expand.
1284 (untyped_call, return): Accept SHmedia.
1285 (return_media): New insn.
1286 (prologue, epilogue, blockage): Accept SHmedia.
1287 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
1288 (sunordered): New expand.
1289 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
1290 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
1291 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
1292 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
1293 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
1294 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
1295 abssf2_media): New insns.
1296 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
1297 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
1298 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
1299 floatdidf2, floatsidf2_media, fix_truncdfdi2,
1300 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
1301 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
1302 absdf2_media): New insns.
1303 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
1304 (extendsfdf2_media, truncdfsf2_media): New insns.
1305 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
1306 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
1307 * config/sh/sh.h (CONST_OK_FOR_J): Document.
1308 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
1309 * config/sh/sh.md (adddi3): New expand.
1310 (adddi3_media, adddi3z_media): New insns.
1311 (adddi3_compact): Renamed from adddi3.
1312 (addsi3_media): Use add.l r63 to add constant zero.
1313 (subdi3): New expand.
1314 (subdi3_media): New insn.
1315 (subdi3_compact): Renamed from subdi3.
1316 (mulsidi3): New expand.
1317 (mulsidi3_media): New insn.
1318 (mulsidi3_compact): Renamed from mulsidi3.
1319 (umulsidi3): New expand.
1320 (umulsidi3_media): New insn.
1321 (umulsidi3_compact): Renamed from umulsidi3.
1322 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
1323 (ashlsi3, ashrsi3, lshrsi3): Use them.
1324 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
1325 (ashldi3, ashrdi3, lshrdi3): Use them.
1326 (zero_extendsidi2): New expand.
1327 (extendsidi2): New insn.
1328 (movsi_media): New insn. Split to movdi to load constants.
1329 (movsi): Enable for shmedia.
1330 (movdi_media): New insn. Use shori_media to load wide constants.
1331 (short_media): New insn.
1332 (movdi): Enable for shmedia.
1333 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
1334 * config/sh/sh.h (CPP_SPEC): Added `m5'.
1335 (SUBTARGET_CPP_SPEC): Added `!m5'.
1336 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
1337 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
1338 to all other SH variants.
1339 (TARGET_DEFAULT): Set to SH1_BIT.
1340 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
1341 (BITS_PER_WORD): Raise to 64 on shmedia.
1342 (MAX_BITS_PER_WORD): Change to 64.
1343 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
1344 (INT_TYPE_SIZE): Keep as 32.
1345 (UNITS_PER_WORD): Raise to 8 on shmedia.
1346 (MIN_UNITS_PER_WORD): Keep as 4.
1347 (POINTER_SIZE): Raise to 64 on shmedia.
1348 (CONST_OK_FOR_J): New macro.
1349 (CONST_OK_FOR_LETTER_P): Use it.
1350 (processor_type): Add PROCESSOR_SH5.
1351 * config/sh/sh.md: Conditionalize all expands, insns and
1352 splits to TARGET_SH1.
1354 (addsi3_compact): Renamed from...
1355 (addsi3): Now an expand.
1356 (addsi3_media, subsi3_media): New insns.
1357 (subsi3): Don't negate constants with SHmedia.
1359 * hooks.c: New file.
1360 * hooks.h: New file.
1361 * Makefile.in (HOOKS_H): New.
1362 (TARGET_DEF_H): Added $(HOOKS_H).
1363 (OBJS): Added hooks.o.
1364 (cfgcleanup.o, bb-reorder.o): Added target.h.
1365 (hooks.o): Added dependencies.
1366 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
1367 (TARGET_INITIALIZER): this.
1368 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
1369 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
1370 * bb-reorder.c: Include target.h.
1371 (reorder_basic_blocks): Skip if cannot modify jumps.
1372 * cfgcleanup.c: Include target.h.
1373 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
1375 2002-02-08 Chris Demetriou <cgd@broadcom.com>
1377 * config/mips/mips.md (casesi_internal, casesi_internal_di):
1378 Protect jump delay slot instructions with .set noreorder and
1381 2002-02-08 Chris Demetriou <cgd@broadcom.com>
1383 * config/mips/mips.md (casesi_internal_di): Calculate
1384 the index into the target offset table correctly.
1386 2002-02-08 Richard Henderson <rth@redhat.com>
1388 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
1389 * final.c (output_addr_const): Accept and discard SUBREG.
1390 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
1391 mark them unknown instead.
1392 (simplify_subtraction): Handle RTX_UNKNOWN.
1393 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
1395 2002-02-08 David Edelsohn <edelsohn@gnu.org>
1397 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
1399 2002-02-08 Richard Henderson <rth@redhat.com>
1401 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
1403 2002-02-08 Andreas Jaeger <aj@suse.de>
1405 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
1406 * config/i386/t-linux64: New file.
1408 2002-02-08 Jakub Jelinek <jakub@redhat.com>
1410 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
1411 * c-parse.in (compstmt): Clear last_expr_type.
1413 2002-02-07 Richard Henderson <rth@redhat.com>
1415 * loop.c (strength_reduce): Sink final_value when not
1418 2002-02-07 David O'Brien <obrien@FreeBSD.org>
1420 * config/sparc/freebsd.h: Fix mismatched spec {.
1422 2002-02-07 Richard Henderson <rth@redhat.com>
1424 * cfgrtl.c: Include recog.h and insn-config.h.
1425 (keep_with_call_p): Fix general_operand invocation.
1426 * Makefile.in (cfgrtl.o): Update dependencies.
1428 2002-02-07 Kazu Hirata <kazu@hxi.com>
1430 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
1431 comment. Accept HImode only if TARGET_H8300.
1433 2002-02-07 Eric Christopher <echristo@redhat.com>
1435 * config/mips/crtn.asm: Cleanup #ifdefs.
1437 2002-02-07 Eric Christopher <echristo@redhat.com>
1439 * config/mips/crti.asm: Add changes for mips16. mips16 uses
1440 register 7 as RA instead of $31.
1441 * config/mips/crtn.asm: Ditto.
1442 * config/mips/mips.c (mips_move_2words): Add case for
1443 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
1444 (compute_frame_size): Fix typo.
1445 (save_restore_insns): Ditto. Make documentation about using
1446 register $7 as return register more precise.
1447 (mips_expand_epilogue): Fix comment. Add code to work around not
1448 being able to add to the stack pointer directly.
1449 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
1450 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
1453 2002-02-07 Tom Rix <trix@redhat.com>
1455 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
1456 immediates in ldu and stdu DS opcode field.
1457 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
1458 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
1459 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
1461 2002-02-07 Jeff Sturm <jsturm@one-point.com>
1463 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
1464 offset for stack bias.
1466 2002-02-07 H.J. Lu <hjl@gnu.org>
1468 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
1470 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
1472 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
1474 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
1476 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
1477 * i386.c (x86_order_regs_for_local_alloc): New global function.
1478 * i386.h (REG_ALLOC_ORDER): CLeanup.
1479 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
1481 2002-02-07 Richard Henderson <rth@redhat.com>
1483 PR optimization/2463
1484 * alias.c (find_base_value): Recall base values for fixed hard regs.
1485 * loop.c (loop_regs_update): Don't use single_set on non-insns.
1487 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
1489 * config/mips/mips.md (define_delay) [mips16]: Adjust required
1492 2002-02-06 Richard Henderson <rth@redhat.com>
1495 * stmt.c (resolve_operand_name_1): Take more care with mixed
1496 named and unnamed operands.
1498 2002-02-06 Janis Johnson <janis187@us.ibm.com>
1499 Jan Hubicka <jh@suse.cz>
1501 * loop.c (remove_constant_addition): Avoid clobbering a shared
1504 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
1506 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
1507 * config/s390/t-linux64: New file.
1508 * config/s390/libgcc-glibc.ver: New file.
1510 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
1512 * config/s390/linux64.h: Delete file.
1513 * config/s390/s390x.h: New file.
1514 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
1515 as target header file.
1516 * config/s390/linux.h (TARGET_VERSION): Define depending on
1517 DEFAULT_TARGET_64BIT.
1518 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
1519 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1520 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
1521 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
1522 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
1523 (EXTRA_SPEC): New define.
1524 * config/s390/s390.h (TARGET_VERSION): Define depending on
1525 DEFAULT_TARGET_64BIT.
1526 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
1528 2002-02-06 Jason Merrill <jason@redhat.com>
1530 * c-decl.c (finish_function): Warn about a non-void function with
1531 no return statement and no abnormal exit.
1532 (current_function_returns_abnormally): New variable.
1533 (start_function): Clear it.
1534 (struct c_language_function): Add returns_abnormally.
1535 (push_c_function_context): Save it.
1536 (pop_c_function_context): Restore it.
1537 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
1538 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
1539 an explicit return type.
1540 * c-tree.h: Declare current_function_returns_abnormally.
1541 (C_FUNCTION_IMPLICIT_INT): New macro.
1542 * c-typeck.c (build_function_call): Set it.
1543 (c_expand_return): Set current_function_returns_value even if the
1546 2002-02-06 Jakub Jelinek <jakub@redhat.com>
1549 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
1550 unsafe for reevaluation.
1552 2002-02-06 Jakub Jelinek <jakub@redhat.com>
1555 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
1556 EXPR_STMT, but COMPOUND_STMT, recurse into it.
1558 2002-02-06 Richard Henderson <rth@redhat.com>
1560 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
1561 be a general_operand. Dest for function value must be a pseudo.
1563 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
1565 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
1566 as SYMBOL_REFs from the constant pool.
1568 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1570 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
1571 passed by invisible reference.
1573 2002-02-05 Richard Henderson <rth@redhat.com>
1575 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
1577 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
1579 Implement using "base addresses" in insn operands as default.
1580 * config/mmix/mmix.c (mmix_conditional_register_usage): if
1581 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
1582 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
1583 used to read the rtx value.
1584 (mmix_target_asm_function_epilogue): Fix spacing.
1585 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
1586 (mmix_legitimate_address): Ditto.
1587 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
1588 should be loaded with a GETA insn. Don't allocate needless extra
1589 char for nul termination and fix misleading comment.
1590 (mmix_print_operand_address): Handle constants if
1591 TARGET_BASE_ADDRESSES.
1592 (mmix_output_register_setting): Use base addressing if
1593 TARGET_BASE_ADDRESSES and the number of insns is 3.
1594 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
1595 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
1596 to use R as constraint, add LDA to match s.
1597 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
1598 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
1599 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
1600 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
1601 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
1602 order with other fixed registers.
1603 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
1604 other parameter/call-clobbered registers.
1605 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
1606 -mbase-addresses, -mno-base-addresses.
1607 (MMIX Options): Ditto.
1609 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
1611 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
1613 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
1615 * config/rs6000/altivec.h: Change elem to _S_elem.
1617 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
1619 * config/netbsd.h (WCHAR_TYPE): Define.
1620 (WCHAR_TYPE_SIZE): Ditto.
1622 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
1623 (WCHAR_UNSIGNED): Ditto.
1624 (WCHAR_TYPE_SIZE): Ditto.
1626 * config/arm/netbsd.h: Likewise.
1627 * config/i386/netbsd-elf.h: Likewise.
1628 * config/i386/netbsd.h: Likewise.
1629 * config/m68k/netbsd-elf.h: Likewise.
1630 * config/m68k/netbsd.h: Likewise.
1631 * config/ns32k/netbsd.h: Likewise.
1632 * config/sparc/netbsd.h: Likewise.
1633 * config/vax/netbsd.: Likewise.
1635 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
1637 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
1638 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
1639 (TARGET_INITIALIZER): this.
1640 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
1641 (BITFIELD_NBYTES_LIMITED): Markup fix.
1642 * tree.h (default_ms_bitfield_layout_p): Declare.
1643 (record_layout_info): Added prev_field.
1644 * tree.c (default_ms_bitfield_layout_p): New fn.
1645 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
1646 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
1647 * stor-layout.c: Include target.h.
1648 (start_record_layout): Initialize prev_field.
1649 (place_field): Handle MS bit-field layout, and disregard
1650 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
1651 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
1652 * Makefile.in (stor-layout.o): Adjust dependencies.
1654 2002-02-05 Jason Merrill <jason@redhat.com>
1656 * c-typeck.c (convert_for_assignment): Don't allow conversions
1657 between pointers and references. Only allow lvalues to convert to
1660 * c-decl.c (finish_function): Warn about a non-void function with
1661 no return statement and no abnormal exit.
1662 (current_function_returns_abnormally): New variable.
1663 (start_function): Clear it.
1664 (struct c_language_function): Add returns_abnormally.
1665 (push_c_function_context): Save it.
1666 (pop_c_function_context): Restore it.
1667 * c-tree.h: Declare current_function_returns_abnormally.
1668 * c-typeck.c (build_function_call): Set it.
1670 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
1672 2002-02-05 Andreas Jaeger <aj@suse.de>
1674 * crtstuff.c: Fix comments.
1676 2002-02-05 Richard Henderson <rth@redhat.com>
1679 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
1680 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
1683 * config/mips/mips.c (function_arg): Handle TImode.
1684 (function_arg_advance): Likewise.
1686 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
1688 * config/rs6000/altivec.h (vec_step_help): Rename to
1691 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
1693 * config/rs6000/altivec.h: Fix typos.
1695 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
1697 * config/arm/netbsd.h: Correct a comment.
1699 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
1701 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
1702 building void typed builtins.
1704 * config/rs6000/altivec.h (vec_ld*): Fix typos.
1705 (vec_step): Implement for C++.
1707 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1709 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
1711 2002-02-04 Richard Henderson <rth@redhat.com>
1713 * combine.c (nonzero_bits): Re-introduce special case for
1714 sp/fp/ap wrt REGNO_POINTER_ALIGN.
1716 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
1718 * doc/extend.texi: Warn about unsupported usage of altivec
1721 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
1722 (altivec_predicate_*): New.
1724 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
1725 Add C++ version of vec_*() functions.
1727 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
1728 (bdesc_2arg): Remove altivec predicates.
1729 (altivec_expand_builtin): Handle predicates.
1730 (altivec_init_builtins): Handle predicates.
1731 (altivec_expand_predicate_builtin): New.
1733 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1735 * pa.c (DO_FRAME_NOTES): Move forward.
1736 (store_reg): Revise handling of frame notes.
1737 (load_reg): Likewise.
1738 (set_reg_plus_d): Likewise.
1739 (hppa_expand_prologue): Likewise.
1740 (hppa_expand_epilogue): Likewise.
1742 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1744 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
1746 2002-02-04 Jakub Jelinek <jakub@redhat.com>
1748 PR c/4475, c++/3780:
1749 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
1750 * c-common.h (SWITCH_TYPE): Define.
1751 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
1752 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
1753 Rename spareness variable to sparseness.
1754 (expand_end_case_type): Renamed from expand_end_case, use orig_type
1755 if non-NULL instead of TREE_TYPE (orig_index).
1756 * tree.h (expand_end_case_type): Renamed from expand_end_case.
1757 (expand_end_case): Define using expand_end_case_type.
1758 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
1759 to expand_end_case_type.
1760 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
1762 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1764 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
1765 (BIGGEST_ALIGNMENT): Change to 128.
1767 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1769 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
1771 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1773 * pa.md (call_internal_reg_64bit): Remove unused variable.
1775 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
1777 * config/arm/arm.h (machine_function): Add uses_anonymous_args
1779 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
1780 * config/arm/arm.c (current_function_anonymous_args): Delete,
1781 replace uses with cfun->machine->uses_anonymous_args.
1782 (arm_reorg): Do not reset uses_anonymous_args.
1784 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
1785 any geenral register.
1787 2001-02-04 Bernd Schmidt <bernds@redhat.com>
1789 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
1792 2002-02-04 Richard Henderson <rth@redhat.com>
1794 * combine.c (force_to_mode): Remove STACK_BIAS code.
1795 (nonzero_bits): Likewise. Replace sp/fp special case with
1796 REGNO_POINTER_ALIGN.
1798 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
1799 (HARD_FRAME_POINTER_REGNUM): New.
1800 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
1801 (FIXED_REGS, CALL_USED_REGS): Update.
1802 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
1803 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
1804 (HARD_REGNO_NREGS): Update for SFP.
1805 (STACK_POINTER_OFFSET): Include bias here ...
1806 (FIRST_PARM_OFFSET): ... not here.
1807 (STACK_BIAS): Remove.
1808 (INIT_EXPANDERS): New.
1809 (STARTING_FRAME_OFFSET): Do not include bias.
1810 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
1811 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
1812 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
1813 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
1814 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
1815 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
1816 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
1817 (MUST_SAVE_REGISTER): Likewise.
1818 (sparc_flat_function_prologue): Likewise.
1819 (sparc_flat_function_epilogue): Likewise.
1820 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
1821 (sparc_init_modes): SFP is GENERAL_REGS.
1822 (sparc_builtin_saveregs): SFP does not have bias applied.
1824 2002-02-04 Richard Henderson <rth@redhat.com>
1826 * config/alpha/alpha.c (current_function_is_thunk): Don't check
1827 current_function_is_thunk.
1828 (alpha_sa_mask): Distinguish between current_function_is_thunk
1829 called from ASM_OUTPUT_MI_THUNK and not.
1830 (alpha_does_function_need_gp): Thunks always need gp.
1831 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
1832 (alpha_output_mi_thunk_osf): New.
1833 * config/alpha/alpha-protos.h: Update.
1834 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
1836 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
1838 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
1839 function types, not when they're taken away.
1841 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
1843 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
1844 CODE_LABEL and jump table when replacing a table jump with a
1847 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1849 * config/s390/s390-protos.h (legitimize_la_operand,
1850 s390_secondary_input_reload_class, s390_plus_operand,
1851 s390_expand_plus_operand): Add prototypes.
1853 config/s390/s390.c (s390_secondary_input_reload_class,
1854 s390_plus_operand, s390_expand_plus_operand): New functions.
1856 (struct s390_address): New member 'pointer'.
1857 (s390_decompose_address): Compute it.
1858 (legitimate_la_operand_p): Use it.
1859 (legitimize_la_operand): New function.
1860 (movti, movdi, movdf splitters): Call it.
1862 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
1863 (PREDICATE_CODES): Add s390_plus_operand.
1865 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
1866 (la_ccclobber): Allow GENERAL_REGS as output operand.
1868 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
1869 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
1870 (*la_64, *la_31, reload_indi, reload_insi): ... these.
1872 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1874 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
1875 register names for regular asm () construct.
1877 2002-02-04 Jakub Jelinek <jakub@redhat.com>
1879 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
1882 2002-02-04 Jakub Jelinek <jakub@redhat.com>
1884 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
1887 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
1889 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
1890 constant pool to be identical by string address and index.
1892 2002-02-04 Anthony Green <green@redhat.com>
1894 * output.h (SECTION_OVERRIDE): Define.
1895 * varasm.c (named_section): Obey SECTION_OVERRIDE.
1897 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
1899 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
1900 by existing arm*-*-netbsd* (a.out) target.
1901 (ns32k-*-netbsdelf*): Likewise.
1902 (sparc-*-netbsdelf*): Likewise.
1903 (vax-*-netbsdelf*): Likewise.
1905 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
1907 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
1908 headers and libobjc headers.
1910 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
1912 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
1913 (_mingw.h): Remove duplicate include.
1915 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
1917 * config.gcc: Set cpu_type to m68k for 68010, as well.
1918 (m68010-*-netbsdelf*): New...
1919 (m68k*-*-netbsdelf*): ...targets.
1920 * config/m68k/netbsd-elf.h: New file.
1922 2002-02-02 Kazu Hirata <kazu@hxi.com>
1924 * config/h8300/h8300.c (hand_list): Move inside function_arg.
1926 2002-02-02 Kazu Hirata <kazu@hxi.com>
1928 * config/h8300/h8300.c (h8_push_ops): Move inside
1930 (h8_pop_ops): Likewise.
1931 (h8_move_ops): Likewise.
1933 2002-02-02 Kazu Hirata <kazu@hxi.com>
1935 * config/h8300/h8300.c (os_task): Make it static.
1936 (monitor): Likewise.
1937 (pragma_saveall): Likewise.
1939 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
1941 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
1942 constant is a valid sign-extension for Pmode.
1944 2002-02-02 Kazu Hirata <kazu@hxi.com>
1946 * config/h8300/h8300.c: Fix formatting.
1948 2002-02-02 Kazu Hirata <kazu@hxi.com>
1950 * config/h8300/h8300.md: Fix formatting.
1952 2002-02-02 Kazu Hirata <kazu@hxi.com>
1954 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
1955 predicates of operands[1]. Split the patterns for each
1958 2002-02-02 Kazu Hirata <kazu@hxi.com>
1960 * config/h8300/h8300.md (xor patterns): Tighten the predicates
1961 of operands[1] to register_operand.
1963 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
1965 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
1966 * cpphash.c (_cpp_init_hashtable): Similarly.
1967 * cppinit.c (cpp_create_reader): Default the signed_char flag.
1968 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
1969 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
1970 (cpp_handle_option): Handle the new options.
1971 * cpplex.c (cpp_interpret_charconst): Use new flag.
1972 * cpplib.h (struct cpp_options): New member signed_char.
1973 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
1974 (cpp_options): Handle -fsigned-char and -funsigned-char.
1975 (static_specs): Remove signed_char_spec.
1976 (do_spec1): Don't handle %c.
1977 * system.h: Poison SIGNED_CHAR_SPEC.
1978 * tradcif.y (yylex): Use flag_signed_char.
1979 * tradcpp.h (flag_signed_char): New.
1980 * tradcpp.c (flag_signed_char): New.
1981 (main): Handle new command-line options.
1982 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
1984 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
1985 * avr/avr.h: Remove old comments.
1986 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
1987 (CC1_SPEC): Pass -fsigned-char if -mic*.
1988 (SIGNED_CHAR_SPEC): Remove.
1990 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
1992 2002-02-01 Eric Christopher <echristo@redhat.com>
1994 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
1995 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
1996 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
1997 (ASM_OUTPUT_REG_POP): Ditto.
1999 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
2001 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
2004 2002-02-02 Jakub Jelinek <jakub@redhat.com>
2006 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
2008 2002-02-02 Jakub Jelinek <jakub@redhat.com>
2011 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
2014 2002-02-01 Janis Johnson <janis187@us.ibm.com>
2016 * cfganal.c: Include tm_p.h.
2017 (keep_with_call_p): Fix the test that determines if a register holds
2018 the return value of a call.
2020 2002-02-01 DJ Delorie <dj@redhat.com>
2022 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
2023 we are given conflicting registers, switch to the other one we
2024 had allocated for us.
2025 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
2026 as TImode so we know when the "other" register is available.
2028 2002-02-01 David O'Brien <obrien@FreeBSD.org>
2030 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
2033 2002-02-01 Janis Johnson <janis187@us.ibm.com>
2035 * cfganal.c (keep_with_call_p): New function.
2036 (flow_call_edges_add): Prevent splitting a block between a call and
2037 a single-set instruction that should be kept in the same block.
2039 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
2041 * doc/install.texi (avr): Update outdated URL.
2043 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
2045 * config/stormy16/stormy16.md (pushqi): New.
2049 (movhi): Remove stack operands.
2051 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
2052 nonimmediate_nonstack_operand.
2053 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
2055 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
2058 2002-01-31 Jason Merrill <jason@redhat.com>
2060 * Makefile.in (c-parse.c): Handle .output file.
2061 * objc/Make-lang.in (objc-parse.c): Likewise.
2063 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
2065 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
2066 the -me[lb] option is given. Don't output the default flag
2069 2002-01-31 Zack Weinberg <zack@codesourcery.com>
2071 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
2072 the primary source file; this has not been done yet.
2073 * c-decl.c (c_expand_body): Reset input_filename from
2074 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
2076 2002-01-31 Kazu Hirata <kazu@hxi.com>
2078 * rtlanal.c (subreg_regno_offset): Do not use
2079 SUBREG_REGNO_OFFSET.
2080 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
2081 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
2083 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2085 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
2086 version rather than GNATS version in --version output.
2088 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
2090 * ifcvt.c (noce_process_if_block): Make a copy of the destination
2091 when copying back from a temporary.
2093 2002-01-30 Richard Henderson <rth@redhat.com>
2095 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
2096 and new_dest are the same.
2098 2002-01-30 Richard Henderson <rth@redhat.com>
2101 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
2102 * rtl.c (note_insn_name): Update.
2103 * emit-rtl.c (remove_unnecessary_notes): Kill it.
2104 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
2105 to perform loop rotation.
2106 (expand_exit_loop_top_cond): New.
2107 * tree.h (expand_exit_loop_top_cond): Declare it.
2108 * c-semantics.c (genrtl_while_stmt): Use it.
2109 (genrtl_for_stmt): Likewise.
2111 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
2113 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
2114 arguments to 64-bit boundaries on 64-bit ABIs.
2116 2002-01-30 Steve Ellcey <sje@cup.hp.com>
2118 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
2120 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2122 * c-decl.c (grokdeclarator): Handle type being a typedef for an
2125 2002-01-30 David O'Brien <obrien@FreeBSD.org>
2127 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2128 * config/sparc/sparc_bi.h: Remove file.
2129 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
2131 2002-01-30 Richard Henderson <rth@redhat.com>
2133 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
2135 2002-01-30 Zack Weinberg <zack@codesourcery.com>
2137 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
2139 2002-01-30 Jason Merrill <jason@redhat.com>
2141 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
2142 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
2143 (reg_save): Use DW_CFA_offset_extended_sf instead.
2145 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
2147 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2149 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
2152 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
2154 * rs6000.md ("*call_value_local32"): Remove constraints.
2155 ("*call_value_local64"): Same.
2156 ("*call_value_indirect_nonlocal_aix32"): Same.
2157 ("*call_value_nonlocal_aix32"): Same.
2158 ("*call_value_indirect_nonlocal_aix64"): Same.
2159 ("*call_value_nonlocal_aix64"): Same.
2160 ("*call_value_nonlocal_sysv"): Same.
2162 2002-01-29 Richard Henderson <rth@redhat.com>
2164 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
2166 2002-01-29 Richard Henderson <rth@redhat.com>
2168 * expr.c (force_operand): Ignore flag_pic for detecting pic
2170 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
2171 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
2172 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
2173 instead of open-coded loop.
2174 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
2175 be fixed when in use.
2177 2002-01-29 Richard Henderson <rth@redhat.com>
2179 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
2180 * sched-rgn.c (propagate_deps): Update them.
2181 * sched-deps.c (sched_analyze_insn): Update them. Flush the
2182 clobbers list when either gets too long.
2184 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2186 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
2187 and INDEX_REGS the same as GENERAL_REGS.
2188 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
2190 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2192 * tree.c (build_nonstandard_integer_type): Correct prototype.
2194 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
2196 * config/s390/s390.md (movstrsico, movstrdix_64,
2197 movstrsix_31): Remove, replace by ...
2198 (movstrdi_short, movstrsi_short, movstrdi_long,
2199 movstrsi_long): ... these. New.
2200 (movstrdi, movstrsi): Adapt.
2202 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
2203 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
2204 Remove unnecessary CC clobber.
2205 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
2206 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
2208 (divmoddi4): Don't partially initialize TImode register.
2210 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
2212 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
2214 2002-01-29 Richard Henderson <rth@redhat.com>
2216 * flow.c (print_rtl_and_abort): Remove.
2217 (print_rtl_and_abort_fcn): Remove.
2218 (verify_local_live_at_start): Use dump_bb instead.
2219 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
2220 (verify_wide_reg_1): Return 2 on mode test failure.
2222 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2224 PR c/3325, c/3326, c/2511, c/3347
2225 * c-decl.c (enum_decl_context): Remove BITFIELD.
2226 (grokdeclarator): Take bitfield width as an input.
2227 Ensure bitfields are given the correct type. Perform
2228 bitfield width validation with build_bitfield_integer_type
2229 rather than waiting for finish_struct.
2230 (grok_typename, grok_typename_in_parm_context, start_decl,
2231 push_parmdecl, grokfield, start_function): Update calls to
2233 (build_bitfield_integer_type): New function.
2234 (finish_struct): Move bitfield validation to grokdeclarator
2235 and build_bitfield_integer_type.
2236 * tree.c (build_nonstandard_integer_type): New function.
2237 * tree.h (build_nonstandard_integer_type): New prototype.
2239 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
2241 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2244 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
2245 don't ignore unrecognized -W* options.
2246 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
2247 * cpplib.h (cpp_handle_option): Adjust prototype.
2248 * c-decl.c (c_decode_options): Pass 0 as last argument to
2252 * gcc.c (cpp_unique_options): Split from cpp_options.
2253 (cpp_options): Source cpp_unique_options.
2254 (default_compilers): Use cpp_unique_options instead of cpp_options
2255 when used together with cc1_options.
2256 (static_specs): Add cpp_unique_options.
2257 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
2258 when used together with cc1_options.
2260 2002-01-29 Kazu Hirata <kazu@hxi.com>
2262 * config/h8300/h8300-protos.h: Update the prototype of
2264 * config/h8300/h8300.c (output_a_shift): Remove an unused
2265 argument 'insn'. Remove redundant code.
2266 * config/h8300/h8300.md: Adust to the new prototype of
2269 2002-01-29 Kazu Hirata <kazu@hxi.com>
2271 * config/h8300/h8300-protos.h: Update the prototypes of
2272 emit_a_rotate and expand_a_rotate.
2273 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
2274 first argument to 'enum rtx_code'.
2275 (expand_a_rotate): Likewise.
2277 2002-01-28 Kazu Hirata <kazu@hxi.com>
2279 * config/h8300/h8300-protos.h: Update the prototype of
2281 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
2283 * config/h8300/h8300.md: Adjust to the new prototype.
2285 2002-01-28 Kazu Hirata <kazu@hxi.com>
2287 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
2290 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
2292 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
2293 is a fixed register before returning pic_offset_table_rtx.
2294 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
2295 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
2297 2002-01-28 Jason Merrill <jason@redhat.com>
2299 * dwarf2.h: Sync with src version.
2301 2002-01-28 Paul Koning <pkoning@equallogic.com>
2303 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
2305 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
2306 * doc/extend.texi (__builtin_prefetch): Update documentation:
2307 first argument is now const void ptr.
2309 2002-01-28 Kazu Hirata <kazu@hxi.com>
2311 * config/h8300/h8300-protos.h: Remove an unused prototype.
2313 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
2315 * toplev.c (lang_independent_init): Round up identifier size.
2317 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
2319 * config.gcc: Revert previous change.
2321 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
2323 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
2325 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
2327 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
2328 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
2329 other non-elf netbsd config frags.
2330 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
2331 collect2 will does that.
2332 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
2333 shared-lib frobbing will work.
2335 2002-01-28 Kazu Hirata <kazu@hxi.com>
2337 * config/h8300/h8300.h: Fix formatting.
2338 * config/h8300/h8300.md: Likewise.
2340 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
2342 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
2343 the old, removed AAA_standards fix.
2344 * fixinc/fixincl.x: Rebuilt.
2346 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
2348 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
2349 atexit call in crtbegin, hooked in after call to frame_dummy;
2350 register EH before registering __fini__start.
2352 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
2354 * config/rs6000/altivec.h: Remove spurious semicolons.
2356 2002-01-27 Kazu Hirata <kazu@hxi.com>
2358 * config/h8300/h8300.md: Replace dead bit extraction patterns
2359 with ones that work.
2361 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2363 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
2364 if not STRICT_ALIGNMENT.
2365 * rtl.h (MEM_ALIGN): Likewise.
2367 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
2369 * doc/invoke.texi (-fdump-translation-unit): Revert this
2370 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
2372 2002-01-27 Kazu Hirata <kazu@hxi.com>
2374 * config/h8300/h8300.md (define_constants): New.
2375 (anonymous patterns) Use defined constants appropriately.
2377 2002-01-27 Kazu Hirata <kazu@hxi.com>
2379 * config/h8300/h8300.c (function_arg): Remove redundant code.
2381 2002-01-26 Richard Henderson <rth@redhat.com>
2383 * sched-deps.c (reg_pending_uses_head): New.
2384 (reg_pending_barrier): Rename from reg_pending_sets_all.
2385 (find_insn_list): Don't mark inline.
2386 (find_insn_mem_list): Remove.
2387 (add_dependence_list, add_dependence_list_and_free): New.
2388 (flush_pending_lists): Replace only_write param with separate
2389 for_read and for_write parameters. Update all callers. Use
2390 add_dependence_list_and_free.
2391 (sched_analyze_1): Do not add reg dependencies here; just set
2392 the pending bits. Use add_dependence_list.
2393 (sched_analyze_2): Likewise.
2394 (sched_analyze_insn): Replace schedule_barrier_found with
2395 reg_pending_barrier. Add all dependencies for pending reg
2396 uses, sets, and clobbers.
2397 (sched_analyze): Don't add reg dependencies for calls, just
2398 set pending bits. Use regs_invalidated_by_call. Treat
2399 sched_before_next_call as a normal list, not a fake insn.
2400 (init_deps): No funny init for sched_before_next_call.
2401 (free_deps): Free pending mems lists. Don't zero reg_last.
2402 (init_deps_global): Init reg_pending_uses.
2403 (finish_deps_global): Free it.
2404 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
2405 (find_insn_mem_list): Remove.
2406 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
2407 (propagate_deps): Use them. Zero temp mem lists.
2409 2002-01-26 Richard Henderson <rth@redhat.com>
2411 * Makefile.in (CRTSTUFF_CFLAGS): New.
2412 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
2413 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
2414 crtstuff.c instead of alpha assembly version.
2415 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
2416 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
2417 not FORCE_{INIT,FINI}_SECTION_ALIGN.
2418 (__do_global_dtors_aux): Mark used.
2419 (frame_dummy, __do_global_ctors_aux): Mark used.
2420 (fini_dummy, init_dummy): Remove.
2422 * config/alpha/crtbegin.asm: Remove file.
2423 * config/alpha/crtend.asm: Remove file.
2424 * config/alpha/t-crtbe: Remove file.
2425 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
2426 (LINK_EH_SPEC): New.
2428 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
2429 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
2430 calling constructors.
2431 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
2433 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
2434 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
2435 CRT_END_INIT_DUMMY hack.
2436 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
2437 FORCE_{INIT,FINI}_SECTION_ALIGN.
2439 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
2440 FORCE_{INIT,FINI}_SECTION_ALIGN.
2442 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
2443 invocation sequence.
2444 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
2446 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
2447 (FORCE_CODE_SECTION_ALIGN): New.
2449 2002-01-26 Richard Henderson <rth@redhat.com>
2451 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
2453 2002-01-26 Richard Henderson <rth@redhat.com>
2455 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
2456 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
2458 2002-01-26 Kazu Hirata <kazu@hxi.com>
2460 * config/h8300/h8300.md: Remove bit extraction patterns that
2461 cannot be triggered.
2462 Restrict each bit extraction pattern to a variant on which the
2465 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
2467 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
2469 2002-01-26 Kazu Hirata <kazu@hxi.com>
2471 * config/h8300/h8300.md: Remove bit test patterns that cannot
2473 Restrict each bit test pattern to a variant on which the
2476 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2478 * builtins.c (expand_builtin_strncat): Remove redundant check for
2481 2002-01-25 David O'Brien <obrien@FreeBSD.org>
2483 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
2485 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
2488 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
2490 * dbxout.c (dbxout_init): Use assemble_name rather than just
2491 stripping off the first character.
2492 (dbxout_source_file): Likewise.
2494 2002-01-25 DJ Delorie <dj@redhat.com>
2496 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
2497 using rtx_equal_p, not by comparing pointers.
2499 2002-01-25 Steve Ellcey <sje@cup.hp.com>
2501 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
2502 for PIC_OFFSET_TABLE_REGNUM.
2503 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
2505 2002-01-25 David O'Brien <obrien@FreeBSD.org>
2507 * config.gcc (x86_64-*-freebsd*): New target.
2508 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
2510 (i[34567]86-*-freebsd*): Don't include svr4.h.
2511 * config/i386/freebsd64.h: New file.
2513 2002-01-25 Douglas B Rupp <rupp@gnat.com>
2515 * config/alpha/x-vms (version): Make static.
2517 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
2518 in previous checkin.
2520 * Makefile.in (install-headers-cp): New target.
2521 * config.gcc (alpha-dec-*vms*): Install headers with
2524 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
2526 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
2529 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2531 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
2532 of compare_tree_int.
2533 (expand_builtin_strncat): Likewise.
2534 * c-decl.c (finish_struct): Use tree_low_cst.
2535 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
2536 * tree.c (compare_tree_int): Likewise.
2538 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
2540 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
2541 adjustments even if they are implemented by more than two insns.
2543 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
2545 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
2546 * df.h (struct ref): Kill B.
2547 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
2549 * basic-block.h (PROP_EQUAL_NOTES): New flag.
2550 * flow.c (propagate_one_insn): Use it.
2551 (mark_used_regs): Handle NIL.
2553 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
2555 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
2558 2002-01-25 David Edelsohn <edelsohn@gnu.org>
2560 * rs6000.md (prefetch): Make address V4SI mode so that the address
2561 is restricted to legitimate form for instruction.
2563 2002-01-25 Bob Wilson <bob.wilson@acm.org>
2565 * doc/install.texi (xtensa-*-elf): New target.
2566 (xtensa-*-linux*): New target.
2567 * doc/contrib.texi: Add myself.
2569 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
2571 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
2572 purpose register to hold an SImode (or smaller) value.
2574 2002-01-25 Jakub Jelinek <jakub@redhat.com>
2576 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
2578 * crtstuff.c: Likewise.
2580 2002-01-25 Kazu Hirata <kazu@hxi.com>
2582 * config/h8300/h8300.md (negation patterns): Tighten
2583 predicates to register_operand.
2585 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
2587 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
2590 * builtins.c (expand_builtin_prefetch): Same.
2592 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2594 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
2597 2002-01-24 Kazu Hirata <kazu@hxi.com>
2599 * config/h8300/h8300.c (print_operand): Remove support for
2600 operand character 'A'.
2601 * config/h8300/h8300.md (three anonymous patterns): Replace
2602 operand character 'A' with either 'T' or 'S'.
2604 2002-01-24 Kazu Hirata <kazu@hxi.com>
2606 * config/h8300/h8300.c (print_operand): Remove support for
2607 operand character 'U'.
2609 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
2611 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
2613 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
2615 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
2616 values to be assigned to the stack pointer.
2618 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
2620 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
2621 to const_double needs to be done right for big-endian systems.
2623 2002-01-24 Jason Merrill <jason@redhat.com>
2626 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
2627 to can_throw_internal.
2629 2002-01-23 Richard Henderson <rth@redhat.com>
2631 * fold-const.c (fold): Change UINT_MAX test to check vs precision
2632 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
2634 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2636 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
2637 (symGOT2reg): Use them, then set as GOT value as unchanging.
2638 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
2639 as a temporary, if possible.
2640 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
2641 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
2643 2002-01-23 Kazu Hirata <kazu@hxi.com>
2645 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
2646 accept to accept 0x80 as operands[2].
2648 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2650 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
2652 2002-01-23 Richard Henderson <rth@redhat.com>
2654 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
2656 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
2658 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
2659 (parmlist_or_identifiers_1): Verify that only a parmlist follows
2662 2002-01-23 Richard Henderson <rth@redhat.com>
2664 * expr.c (move_by_pieces_1): Extend size before negation.
2666 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
2667 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
2668 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
2669 * config/m68k/t-m68kelf: Likewise.
2671 2002-01-23 Bob Wilson <bob.wilson@acm.org>
2673 * config/xtensa/elf.h: New file.
2674 * config/xtensa/lib1funcs.asm: New file.
2675 * config/xtensa/lib2funcs.S: New file.
2676 * config/xtensa/linux.h: New file.
2677 * config/xtensa/t-xtensa: New file.
2678 * config/xtensa/xtensa-config.h: New file.
2679 * config/xtensa/xtensa-protos.h: New file.
2680 * config/xtensa/xtensa.c: New file.
2681 * config/xtensa/xtensa.h: New file.
2682 * config/xtensa/xtensa.md: New file.
2683 * config.gcc (xtensa-*-elf*): New target.
2684 (xtensa-*-linux*): New target.
2685 * cse.c (canon_hash): Compare rtx pointers instead of register
2686 numbers. This is required for the Xtensa port.
2687 * integrate.c (copy_insn_list): Handle case where the static
2688 chain is in memory and the memory address has to be copied to
2690 * doc/invoke.texi (Option Summary): Add Xtensa options.
2691 (Xtensa Options): New node.
2692 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
2694 2002-01-23 Zack Weinberg <zack@codesourcery.com>
2696 * diagnostic.c (internal_error): Do ICE suppression only
2697 when ENABLE_CHECKING is not defined.
2699 * c-typeck.c (require_complete_type): Return error_mark_node
2700 if type is error_mark_node.
2702 2002-01-23 Janis Johnson <janis187@us.ibm.com>
2704 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
2705 -Os and issue a warning.
2707 2002-01-23 Zack Weinberg <zack@codesourcery.com>
2709 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
2710 current (lack of) need for host configuration by hand.
2712 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
2713 references. Documentation of some target macros moved from
2714 hostconfig.texi to tm.texi.
2716 2002-01-23 Will Cohen <wcohen@redhat.com>
2718 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
2721 2002-01-23 Kazu Hirata <kazu@hxi.com>
2723 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
2726 2002-01-23 Jason Merrill <jason@redhat.com>
2728 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
2730 * function.c (assign_parms): Don't put args of inline functions
2731 into registers when not optimizing.
2733 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
2735 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
2736 (prologue_use): New pattern.
2737 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
2738 preference to gen_rtx_USE.
2739 (thumb_expand_prologue): Use gen_prologue_use in preference to
2741 (thumb_expand_epilogue): Use gen_prologue_use in preference to
2744 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
2746 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
2748 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
2751 * doc/extend.texi: Correct documentation of __alignof__.
2753 2002-01-22 Zack Weinberg <zack@codesourcery.com>
2755 * params.h: Rename arguments of DEFPARAM so that it will be
2756 recognized as a translation keyword.
2758 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
2760 * extend.texi: Document altivec functions.
2761 Fix N-bit adjectives in X86 builtin documentation.
2763 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
2765 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
2766 auto_inc_dec values.
2768 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
2770 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
2772 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
2774 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
2776 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
2778 2002-01-22 Richard Henderson <rth@redhat.com>
2780 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
2781 copy_insn not copy_rtx.
2783 2002-01-23 Alan Modra <amodra@bigpond.net.au>
2785 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
2786 "nonzero" as that might add "1" bits. Ensure "constop" is
2787 properly sign extened.
2788 (force_to_mode): Tweak for sign extended constop.
2790 2002-01-22 Richard Henderson <rth@redhat.com>
2792 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
2793 for_each_rtx instead of assuming we're already looking at the MEM.
2794 (split_small_symbolic_mem_operand): Likewise.
2795 * config/alpha/alpha.h (PREDICATE_CODES): Update.
2796 * config/alpha/alpha.md (small symbolic memory splitters): Update.
2798 2002-01-22 Richard Henderson <rth@redhat.com>
2800 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
2801 sequence number for the literal.
2802 (divmoddi_internal_er): Likewise.
2804 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
2807 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
2808 in LIBICONV variable.
2809 * configure: Regenerated.
2811 2002-01-22 Krister Walfridsson <cato@df.lth.se>
2813 * dependence.c (build_def_use): Remove array_idx.
2815 * dwarfout.c (last_filename): Remove.
2816 (output_compile_unit_die): Remove last_filename.
2818 2002-01-22 Roger Sayle <roger@eyesopen.com>
2819 Richard Henderson <rth@redhat.com>
2822 * fold-const.c (fold): Optimize unsigned comparisons against
2823 UINT_MAX (and similar unsigned constants).
2825 2002-01-22 Janis Johnson <janis187@us.ibm.com>
2827 * Makefile.in (loop.o): Depend on OPTABS_H.
2828 * loop.c (emit_prefetch_instructions): Check the prefetch operand
2829 against the predicate.
2832 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
2833 for the address operand.
2835 2002-01-22 Richard Henderson <rth@redhat.com>
2837 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
2839 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
2842 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
2845 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
2847 * config.gcc (x86_64-*-netbsd*): New target.
2848 * config/i386/netbsd64.h: New file.
2850 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
2852 * regrename.c (kill_value): Fix typo.
2854 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
2856 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2858 * config/rs6000/rs6000.h: Same.
2860 * function.c (instantiate_virtual_regs): Remove
2861 STARTING_FRAME_PHASE.
2862 (assign_stack_local_1): Same.
2863 Calculate frame phase.
2865 2002-01-22 Nick Clifton <nickc@redhat.com>
2867 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
2868 variable declaration to outer scope in order to simplify
2870 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
2871 arm_hard_regno_mode_ok.
2872 * config/arm/arm-protos.h: Add a prototype for
2873 arm_hard_regno_mode_ok.
2874 * config/arm/arm.c (soft_df_operand): Remove now redundant
2875 check for DImode values using IP_REGNUM.
2876 (nonimmediate_soft_df_operand): Remove now redundant check for
2877 DImode values using IP_REGNUM.
2878 (arm_hard_regno_mode_ok): New function. New check: make sure
2879 that DImode values are not stored in IP_REGNUM.
2881 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
2883 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
2885 2002-01-22 Jason Merrill <jason@redhat.com>
2887 * c-semantics.c (genrtl_compound_stmt): Only check nesting
2888 consistency if this COMPOUND_STMT is scoped.
2890 2002-01-22 Kazu Hirata <kazu@hxi.com>
2892 * predict.c: Fix formatting.
2893 * print-tree.c: Likewise.
2894 * protoize.c: Likewise.
2897 * sbitmap.h: Likewise.
2899 * sched-deps.c: Likewise.
2900 * sched-vis.c: Likewise.
2901 * sdbout.c: Likewise.
2902 * sibcall.c: Likewise.
2904 * ssa-ccp.c: Likewise.
2905 * ssa-dce.c: Likewise.
2907 * stor-layout.c: Likewise.
2908 * system.h: Likewise.
2910 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2912 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
2913 if fits in bounds of base type.
2915 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
2916 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
2917 (add_bound_info, default): If can't find a context, make a
2919 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
2921 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
2923 * c-typeck.c (parser_build_binary_op): If result from
2924 build_binary_op is ERROR_MARK just return error_mark_node without
2927 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
2929 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
2930 Split a.out-specific bits into...
2931 * config/netbsd-aout.h: ...this.
2932 * config/netbsd-elf.h: New file.
2933 * config/alpha/netbsd-elf.h: Remove.
2934 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
2935 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
2936 (STARTFILE_SPEC): Remove redundant definition.
2937 (ENDFILE_SPEC): Likewise.
2938 (LINK_SPEC): Likewise.
2939 (CPP_SPEC): Likewise.
2940 (ASM_SPEC): Likewise.
2941 (LIB_SPEC): Likewise.
2942 (SWITCH_TAKES_ARG): Likewise.
2943 (TARGET_MEM_FUNCTIONS): Likewise.
2944 (CPP_PREDEFINES): Redefine.
2945 (ASM_FINAL_SPEC): Remove redefinition.
2946 (ASM_COMMENT_START): Redefine.
2947 (FUNCTION_PROFILER): Define.
2948 (TARGET_VERSION): Redefine.
2949 Comment and formatting cleanup.
2950 * config/i386/netbsd.h: Include <netbsd-aout.h>.
2951 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
2952 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
2953 big- or little-endian.
2954 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
2955 * config.gcc (*-*-netbsd*): Add definitions common to all
2957 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
2958 gnu_ld definitions. Add netbsd-elf.h to and remove
2959 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
2960 tmake_file, and don't lose previous tmake_file contents.
2961 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
2962 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
2963 gnu_ld definitions. Add netbsd-elf.h to tm_file.
2964 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
2965 (mipsel-*-netbsd*): Rename this to...
2966 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
2967 mips/little.h to tm_file for mips*el-*.
2968 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
2969 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
2970 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
2972 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
2974 * pa-protos.h (reg_before_reload_operand): New function prototype.
2975 * pa.c (reg_before_reload_operand): New function implementation.
2976 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
2979 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2981 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
2983 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
2985 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
2986 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
2987 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
2988 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
2989 (ENDFILE_SPEC): Undefine.
2990 (STARTFILE_SPEC): Redefine for PA.
2992 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2994 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
2996 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
2998 * config.gcc: Add entries to supported PowerPC --with-cpu
3001 2002-01-21 Jakub Jelinek <jakub@redhat.com>
3003 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
3004 true for 64-bit mode only SSE registers in 32-bit mode.
3006 2002-01-21 Kazu Hirata <kazu@hxi.com>
3008 * unwind-dw2.c: Fix formatting.
3009 * unwind-dw2-fde.c: Likewise.
3010 * unwind-dw2-fde.h: Likewise.
3011 * unwind-pe.h: Likewise.
3012 * varasm.c: Likewise.
3013 * varray.h: Likewise.
3015 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
3017 Remove workaround for register stack overwrite bug in mmix.
3018 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
3019 support for TARGET_REG_STACK_FILL_BUG.
3020 * config/mmix/mmix.h: Remove member has_call_without_parameters.
3021 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
3023 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
3024 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
3025 -mno-reg-stack-fill-bug-workaround.
3026 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
3027 machine member has_call_without_parameters.
3028 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
3029 -mreg-stack-fill-bug-workaround and
3030 -mno-reg-stack-fill-bug-workaround.
3031 (MMIX Options): Ditto.
3033 2002-01-21 Kazu Hirata <kazu@hxi.com>
3035 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
3037 Remove redundant code.
3039 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
3041 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
3042 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3043 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
3044 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
3045 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
3046 out target macro definitions and non-target-specific comments
3047 mostly taken from old versions of the manual.
3049 2002-01-20 Kazu Hirata <kazu@hxi.com>
3051 * config/h8300/h8300.h: Fix comment formatting.
3052 * config/ia64/aix.h: Likewise.
3053 * config/ia64/ia64-protos.h: Likewise.
3054 * config/ia64/ia64.c: Likewise.
3055 * config/ia64/ia64.h: Likewise.
3056 * config/ia64/ia64intrin.h: Likewise.
3057 * config/ia64/linux.h: Likewise.
3058 * config/ia64/unwind-aix.c: Likewise.
3059 * config/ia64/unwind-ia64.c: Likewise.
3061 2002-01-20 Kazu Hirata <kazu@hxi.com>
3063 * config/h8300/h8300.c: Revise comments about shift code.
3065 2002-01-20 Kazu Hirata <kazu@hxi.com>
3067 * config/h8300/h8300.c (function_arg): Update a comment.
3069 2002-01-20 Kazu Hirata <kazu@hxi.com>
3071 * config/h8300/h8300.md: Update the comments at the beginning
3074 2002-01-20 Kazu Hirata <kazu@hxi.com>
3076 * config/i370/i370.c: Fix comment formatting.
3077 * config/i370/i370.h: Likewise.
3078 * config/i370/i370.md: Likewise.
3079 * config/i370/linux.h: Likewise.
3081 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3083 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
3085 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
3086 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
3089 2002-01-20 Graham Stott <grahams@redhat.com>
3091 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
3093 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
3095 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
3097 2002-01-19 Tom Rix <trix@redhat.com>
3099 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
3101 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
3103 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
3105 * function.c (assign_stack_local_1): Adjust x_frame_offset with
3106 STARTING_FRAME_PHASE.
3107 (STARTING_FRAME_PHASE): New.
3108 (instantiate_virtual_regs): Check saneness of
3109 STARTING_FRAME_PHASE.
3111 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
3113 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
3115 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
3117 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
3119 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
3120 be used for bootstrapping GCC 3.0.
3122 2002-01-18 Kazu Hirata <kazu@hxi.com>
3124 * config/h8300/h8300.md: Fix an insn length.
3126 2002-01-18 Kazu Hirata <kazu@hxi.com>
3128 * bitmap.h: Fix comment formatting.
3129 * combine.c: Likewise.
3130 * cppfiles.c: Likewise.
3131 * c-pragma.h: Likewise.
3132 * c-typeck.c: Likewise.
3134 * dwarf2out.c: Likewise.
3135 * function.c: Likewise.
3137 * genattrtab.c: Likewise.
3138 * gthr-win32.h: Likewise.
3139 * haifa-sched.c: Likewise.
3140 * predict.c: Likewise.
3141 * rtlanal.c: Likewise.
3143 * unwind-dw2-fde.h: Likewise.
3144 * unwind-pe.h: Likewise.
3145 * vmsdbgout.c: Likewise.
3147 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3149 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
3150 if type_required and passed decl.
3152 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
3154 * config.gcc (cpu_type): Include altivec.h in powerpc
3158 * config/rs6000/altivec.h: New.
3160 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3162 * doc/install.texi (*-ibm-aix*): Update assembler and exception
3163 handling information.
3164 * doc/trouble.texi (Interoperation): Add libstdc++ information
3166 (Misunderstandings): Add template instantiation and static template
3167 member information for AIX.
3169 2002-01-17 Jason Merrill <jason@redhat.com>
3171 * dbxout.c (dbxout_type): Support const and volatile.
3173 * except.c (add_partial_entry): Remove backwards compatibility code.
3174 (end_protect_partials): Likewise.
3176 2002-01-17 Jakub Jelinek <jakub@redhat.com>
3178 * config/ia64/ia64.md (prologue_use): New.
3179 * config/ia64/ia64.c (ia64_expand_prologue): Use
3180 gen_prologue_use instead of gen_rtx_USE.
3181 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
3182 as CODE_FOR_pred_rel_mutex.
3183 (ia64_sched_reorder2): Likewise.
3185 2002-01-16 Eric Christopher <echristo@redhat.com>
3187 * config/mips/r3900.h: Reformat.
3188 (SUBTARGET_CPP_SIZE_SPEC): Remove.
3189 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
3190 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
3191 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
3192 * config/mips/t-elf: Remove mips3 multilib.
3194 2002-01-16 H.J. Lu <hjl@gnu.org>
3196 * config/mips/linux.h: Include "mips/abi64.h".
3198 2002-01-16 H.J. Lu <hjl@gnu.org>
3200 * config/mips/t-linux: New.
3202 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
3204 * config/mips/linux.h: Don't include "gofast.h".
3205 (INIT_SUBTARGET_OPTABS): Removed.
3207 2002-01-16 Kazu Hirata <kazu@hxi.com>
3209 * config/h8300/h8300-protos.h: Replace emit_a_shift with
3211 * config/h8300/h8300.c: Likewise.
3212 * config/h8300/h8300.md: Likewise.
3214 2002-01-16 Kazu Hirata <kazu@hxi.com>
3216 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
3217 spaces after an opcode name.
3218 (pushqi1_h8300hs): Likewise.
3219 (pushhi1_h8300hs): Likewise.
3221 2002-01-16 Kazu Hirata <kazu@hxi.com>
3223 * doc/extend.texi: Replace "option" with "attribute"
3226 2002-01-16 Jakub Jelinek <jakub@redhat.com>
3228 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
3229 (and:DI () (const_int -8)).
3230 (split_small_symbolic_mem_operand): Split
3231 (mem (and:DI () (const_int -8)).
3233 2002-01-16 Jakub Jelinek <jakub@redhat.com>
3236 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
3237 same way as TYPE_IMUL.
3238 (ultrasparc_sched_reorder): Likewise.
3239 * config/sparc/sparc.md (type): Add comment to update
3240 ultrasparc_sched_reorder when making changes.
3242 2002-01-16 Kazu Hirata <kazu@hxi.com>
3244 * doc/invoke.texi: Change the dump file name of block
3245 reordering pass from 28.bbro to 29.bbro.
3248 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
3250 * i386.md (minsf splitter): Fix pasto.
3252 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
3254 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
3255 to frame pointer initialisation instruction.
3256 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
3257 initialisation instruction.
3258 (soft_df_operand): Do not accept the IP register.
3259 (nonimmediate_soft_df_operand): Do not accept the IP register.
3261 2002-01-16 Jakub Jelinek <jakub@redhat.com>
3264 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
3265 MASK_V8 being both set.
3267 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
3269 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
3270 insn for GOT register; add REG_MAYBE_DEAD notes instead.
3271 config/s390/s390.md (call, call_value): Add GOT register to
3272 CALL_INSN_FUNCTION_USAGE where needed.
3273 (call_exp, call_value_exp): New.
3275 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
3277 * config/arm/arm.c: General formatting tidy up.
3279 2002-01-16 Graham Stott <grahams@redhat.com>
3281 * calls.c (try_to_integrate): Use "(size_t)" intermediate
3282 cast and when casting an integer literal to "rtx" pointer.
3283 (expand_call): Likewise.
3284 * flow.c (try_pre_increment): Likewise.
3285 (find_use_as_address): Likewise.
3286 * integrate.c (expand_iline_function): Likewise.
3287 * regmove.c (try_auto_increment): Likewise.
3289 2002-01-16 Graham Stott <grahams@redhat.com>
3291 * sched-rgn.c (passed): Use sbitmap_free.
3294 (in_queue): Likewise.
3295 (in_stack): Likewise.
3297 2002-01-15 Eric Christopher <echristo@redhat.com>
3299 * flow.c (propagate_one_insn): Change to use fatal_insn.
3301 2002-01-15 Kazu Hirata <kazu@hxi.com>
3303 * expmed.c (extract_fixed_bit_field): Remove unused code.
3304 * system.h: Poison SLOW_ZERO_EXTEND.
3305 * doc/tm.texi: Remove.
3306 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
3307 * config/arm/arm.h: Likewise.
3308 * config/avr/avr.h: Likewise.
3309 * config/clipper/clipper.h: Likewise.
3310 * config/convex/convex.h: Likewise.
3311 * config/d30v/d30v.h: Likewise.
3312 * config/dsp16xx/dsp16xx.h: Likewise.
3313 * config/elxsi/elxsi.h: Likewise.
3314 * config/fr30/fr30.h: Likewise.
3315 * config/h8300/h8300.h: Likewise.
3316 * config/i370/i370.h: Likewise.
3317 * config/i386/i386.h: Likewise.
3318 * config/m68k/m68k.h: Likewise.
3319 * config/mips/mips.h: Likewise.
3320 * config/ns32k/ns32k.h: Likewise.
3321 * config/pdp11/pdp11.h: Likewise.
3322 * config/pj/pj.h: Likewise.
3323 * config/s390/s390.h: Likewise.
3324 * config/sh/sh.h: Likewise.
3325 * config/stormy16/stormy16.h: Likewise.
3326 * config/v850/v850.h: Likewise.
3327 * config/vax/vax.h: Likewise.
3328 * config/we32k/we32k.h: Likewise.
3330 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
3332 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
3333 (altivec_lvsl): Change constraint to b.
3334 (altivec_lvsr): Same.
3335 (altivec_lvebx): Same.
3336 (altivec_lvehx): Same.
3337 (altivec_lvewx): Same.
3338 (altivec_lvxl): Same.
3339 (altivec_lvx): Same.
3340 (altivec_stvx): Add parallel.
3341 (altivec_stvxl): Same.
3342 (altivec_stvehx): Same.
3343 (altivec_stvebx): Same.
3344 (altivec_stvebx): Same.
3346 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
3348 * config.gcc: Change altivec.h to altivec-defs.h.
3350 * config/rs6000/altivec.h: Delete.
3352 * config/rs6000/altivec-defs.h: Add.
3354 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3356 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
3359 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
3360 less than or equal to eight bytes.
3362 * vax.md (andsi3): Remove constraints and change SET destination
3363 operand type to nonimmediate_operand.
3364 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
3365 when it is a CONST_INT.
3367 2002-01-15 Jason Merrill <jason@redhat.com>
3369 * c-common.def (FILE_STMT): New code.
3370 * c-common.c (statement_code_p): It's a statement.
3371 * c-common.h (stmt_tree_s): Add x_last_filename.
3372 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
3373 (last_expr_filename): New macro.
3374 * c-semantics.c (begin_stmt_tree): Initialize it.
3375 (add_stmt): If the filename changed, also insert a
3377 (expand_stmt): Handle seeing one.
3379 2002-01-15 Eric Christopher <echristo@redhat.com>
3381 * flow.c (propagate_one_insn): Add error message and print out
3384 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
3386 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
3387 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
3388 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
3389 TRAMPOLINE_ALIGNMENT.
3390 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
3392 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
3393 PCC_BITFIELD_TYPE_MATTERS.
3394 * config/interix.h (STDC_VALUE): Remove. Use
3395 STDC_0_IN_SYSTEM_HEADERS.
3396 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
3397 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
3398 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
3400 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
3402 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
3403 not work on this platform currently.
3405 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
3407 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
3408 readonly_warning in _().
3410 2002-01-15 Douglas B Rupp <rupp@gnat.com>
3412 * gcc.c (delete_if_ordinary): Backout previous change.
3414 2002-01-15 Kazu Hirata <kazu@hxi.com>
3416 * config/h8300/h8300.c (print_operand): Remove support for
3417 unused operand characters.
3419 * read-rtl.c: Fix formatting.
3421 * recog.c: Likewise.
3422 * regclass.c: Likewise.
3423 * regmove.c: Likewise.
3424 * reg-stack.c: Likewise.
3425 * reload1.c: Likewise.
3426 * rtlanal.c: Likewise.
3428 2002-01-15 Kazu Hirata <kazu@hxi.com>
3430 * config/i386/i386.c: Fix formatting.
3432 2002-01-15 Jakub Jelinek <jakub@redhat.com>
3434 * c-typeck.c (process_init_element): Don't save_expr
3435 COMPOUND_LITERAL_EXPR if just its initializer will be used.
3437 2002-01-15 David Edelsohn <edelsohn@gnu.org>
3439 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
3440 emit optional traceback table if optimize_size or TARGET_ELF.
3441 * config/rs6000/rs6000.md (prefetch): New.
3443 2002-01-15 Andreas Jaeger <aj@suse.de>
3445 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
3447 2002-01-15 Kazu Hirata <kazu@hxi.com>
3449 * mips-tfile.c: Fix formatting.
3451 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
3453 * unroll.c (final_reg_note_copy): Fix previous commit.
3455 2002-01-14 Kazu Hirata <kazu@hxi.com>
3457 * config/h8300/h8300-protos.h: Remove the prototype for
3459 * config/h8300/h8300.c (eq_operator): Remove.
3461 2002-01-14 Richard Henderson <rth@redhat.com>
3463 * config/i386/i386.md (prefetch): Tidy.
3464 (prefetch_3dnow): Fix locality operand.
3466 2002-01-14 Richard Henderson <rth@redhat.com>
3468 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
3469 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
3471 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
3473 * reload1.c (reload_combine): Pass reg_sum replacement through
3474 copy_rtx in loop performing multiple changes.
3476 2002-01-14 Jakub Jelinek <jakub@redhat.com>
3478 * except.c (remove_unreachable_regions): New.
3479 (free_eh_status): Clear exception_handler_labels.
3480 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
3481 (find_exception_handler_labels): Don't add the same label more than
3483 (remove_exception_handler_label): Don't die if
3484 find_exception_handler_labels hasn't been called for the current
3487 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
3489 * toplev.c (rest_of_compilation): Rebuild jump labels after
3492 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
3494 * doc/extend.texi: Move documentation of X86 built-in functions
3496 * doc/invoke.texi: From here.
3497 * doc/sourcebuild.texi: Document location of documentation for
3498 machine built-in functions.
3500 2002-01-13 Christopher Faylor <cgf@redhat.com>
3502 * cppfiles.c (TEST_THRESHOLD): New macro.
3503 (SHOULD_MMAP): Ditto.
3504 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
3507 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
3509 * unroll.c (final_reg_note_copy): Properly handle
3511 (unroll_loops): Fix LOOP_CONDITION heuristics.
3513 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
3515 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
3516 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
3518 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
3520 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
3523 2002-01-14 Tom Rix <trix@redhat.com>
3525 * config/rs6000/rs6000.md: Fix typo with sradi.
3527 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
3529 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
3530 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
3531 (clrstrdi, clrstrsi): Adapt callers.
3533 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
3535 (movti splitter): Never use register 0 as base register.
3537 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
3539 * combine.c (simplify_shift_const): Always generate new rtx
3540 for shift expression instead of reusing given expression.
3542 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3544 * config/alpha/alpha.c (alpha_expand_mov): Don't call
3545 alpha_legitimize_address unless mode is Pmode.
3547 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
3549 * doc/md.texi (Modifiers): Document the '*' constraint for the
3552 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
3553 * doc/extend.texi (Function Attributes): 'interrupt' is valid
3556 2002-01-13 Richard Henderson <rth@redhat.com>
3558 * reload.c (find_reloads): Use a hard reg destination as reload reg
3559 for an input reload of the source.
3561 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3563 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
3566 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
3568 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
3569 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
3571 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
3573 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3575 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
3577 2002-01-12 Tom Rix <trix@redhat.com>
3579 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
3582 2002-01-12 Richard Henderson <rth@redhat.com>
3584 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
3586 * doc/invoke.texi: Update Alpha options.
3588 * doc/invoke.texi: Update i386 built-in function lists.
3590 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
3592 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
3593 referencing outside.
3595 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3597 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
3598 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
3599 offsets, and change line folding.
3600 * optabs.c (expand_binop): Remove warnings.
3601 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
3603 2002-01-12 Graham Stott <grahams@redhat.com>
3605 * attribs.c (handle_deprecated_attribute): constify WHAT.
3606 * diagnostic.c (warn_deprecated_use): Add braces, fixes
3607 dangling else warning and constify WHAT.
3608 * except.h (struct function, struct inline_remap): Move
3609 struct tag forward defs before all prototypes.
3610 (duplicate_eh_regions): Whitespace.
3612 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
3614 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
3615 MODE_BASE_REG_CLASS.
3616 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
3618 2002-01-12 Richard Henderson <rth@redhat.com>
3620 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
3621 (ix86_expand_vector_move): New.
3622 (bdesc_2arg): Remove andps, andnps, orps, xorps.
3623 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
3624 Remove old prefetch builtins. Special case the logicals removed above.
3625 (ix86_expand_builtin): Likewise.
3626 (safe_vector_operand): Use V4SFmode, not TImode.
3627 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
3628 (ix86_expand_timode_binop_builtin): New.
3629 * config/i386/i386-protos.h: Update.
3630 * config/i386/i386.h (enum ix86_builtins): Update.
3631 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
3632 Use ix86_expand_vector_move in vector move expanders.
3633 (movti_internal, movti_rex64): Add xorps alternative.
3634 (sse_clrv4sf): Rename and adjust from sse_clrti.
3635 (prefetch): Don't work so hard.
3636 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
3637 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
3638 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
3640 2002-01-11 Richard Henderson <rth@redhat.com>
3642 * config/i386/mmintrin.h: New file.
3643 * config/i386/xmmintrin.h: New file.
3644 * config.gcc (i?86-*-*): Add extra_headers.
3645 * simplify-rtx.c (simplify_unary_operation): Handle saturating
3647 (simplify_binary_operation): Handle saturating arithmetic codes.
3648 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
3649 not the lowpart subreg.
3650 (ix86_expand_builtin): Return a TImode dummy register instead of 0
3652 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
3654 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3656 * conflict.c (conflict_graph_compute): Free regsets when finished.
3657 * ssa.c (compute_coalesced_reg_partition): Likewise.
3659 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3661 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
3662 every where we allocate a register.
3664 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3666 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
3667 * lcm.c (compute_earliest, compute_farthest): Likewise.
3669 2002-01-11 Janis Johnson <janis187@us.ibm.com>
3671 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
3673 2002-01-11 Janis Johnson <janis187@us.ibm.com>
3675 * doc/rtl.texi (Insns): Fix 2 typos.
3677 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3679 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
3680 options. Use @table @gcctabopt for MMIX options. Add index
3681 entries for MMIX options. Start new paragraph with first
3682 heading of the machine-dependent options.
3684 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
3687 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
3688 * combine.c (force_to_mode): Same.
3689 * reload1.c (clear_reload_reg_in_use): Same.
3691 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
3693 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
3696 2002-01-11 Andreas Jaeger <aj@suse.de>,
3697 Brad Lucier <lucier@math.purdue.edu>
3699 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
3702 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
3704 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
3705 Protect with IN_LIBGCC.
3706 (LINK_EH_SPEC): Add required trailing space.
3708 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
3710 * c-tree.h: Move function declarations so that they are listed
3711 under the filename which contains them.
3712 (check_identifier, finish_decl_top_level,
3713 lookup_name_current_level_global, shadow_record_fields): Remove.
3715 2002-01-11 Andreas Jaeger <aj@suse.de>
3717 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
3720 2002-01-10 Richard Henderson <rth@redhat.com>
3722 * config/alpha/alpha.c (print_operand): Add 'J'.
3723 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
3724 new operand with the sequence number for the lituse. When splitting
3725 the insns, use gen_movdi_er_high_g and generate a sequence number.
3726 (gen_movdi_er_high_g): Print the sequence number if non-zero.
3728 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
3730 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
3731 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
3733 (altivec_expand_builtin): Same.
3734 (altivec_expand_stv_builtin): New.
3736 * config/rs6000/rs6000.h (rs6000_builtins): Same.
3738 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
3739 ("altivec_lvehx"): New.
3740 ("altivec_lvewx"): New.
3741 ("altivec_lvxl"): New.
3742 ("altivec_lvx"): New.
3743 ("altivec_stvx"): New.
3744 ("altivec_stvebx"): New.
3745 ("altivec_stvehx"): New.
3746 ("altivec_stvewx"): New.
3747 ("altivec_stvxl"): New.
3749 2002-01-10 Richard Henderson <rth@redhat.com>
3751 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
3752 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
3753 care not to delete instructions twice.
3755 2002-01-10 Zack Weinberg <zack@codesourcery.com>
3757 * toplev.c: Don't declare environ (it's not used anywhere).
3758 * configure.in: Don't check for declaration of environ.
3759 * config/i386/xm-mingw32.h: Don't #define environ.
3760 * config.in, configure: Regenerate.
3762 2002-01-10 Zack Weinberg <zack@codesourcery.com>
3764 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
3765 * configure: Regenerate.
3767 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
3768 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
3769 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
3771 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
3772 LIMITS_H_TEST here, not in m68k/x-next.
3773 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
3774 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
3776 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
3777 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
3778 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
3780 * config/i386/x-djgpp: Renamed i386/t-djgpp.
3781 * config/m88k/x-dolph: Renamed m88k/t-dolph.
3782 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
3783 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
3784 replacement of quadlib.asm with quadlib.c.
3786 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
3787 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
3788 config/rs6000/xm-beos.h: Delete file.
3790 * config.gcc: Update to match above changes.
3792 2002-01-10 Kazu Hirata <kazu@hxi.com>
3794 * config/h8300/h8300.h: Fix comment typos.
3795 * config/h8300/h8300.md: Likewise.
3796 * config/h8300/lib1funcs.asm: Likewise.
3798 2002-01-10 Dale Johannesen <dalej@apple.com>
3800 PR optimization/5269
3801 * unroll.c (precondition_loop_p): Make *increment be the correct
3802 sign when n_iterations known, to avoid confusing caller.
3804 2002-01-10 Kazu Hirata <kazu@hxi.com>
3806 * doc/extend.texi (deprecated): Fix a typo.
3808 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
3810 * basic-block.h (update_br_prob_note): Declare.
3811 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
3812 (try_forward_edges): Care negative frequencies and update note.
3813 (outgoing_edges_match): Tweek conditional merging heuristics.
3814 (try_crossjump_to_edge): use update_br_prob_note.
3815 * cfglayout.c (fixup_reorder_chain): Likewise.
3816 * cfrtl.c (update_br_prob_note): New.
3817 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
3819 * i386.c (ix86_decompose_address): Return -1 if address contains
3821 (legitimate_address_p): Require ix86_decompose_address to return 1.
3823 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
3824 (cprop_insn): Likewise.
3826 2002-01-10 Kazu Hirata <kazu@hxi.com>
3828 * toplev.c: Fix formatting.
3830 * tree-dump.c: Likewise.
3831 * unroll.c: Likewise.
3832 * unwind-dw2.c: Likewise.
3833 * unwind-dw2-fde.c: Likewise.
3834 * unwind-dw2-fde-glibc.c: Likewise.
3835 * unwind-sjlj.c: Likewise.
3837 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3839 * doc/invoke.texi: Document PDP-11 options.
3841 2002-01-10 Kazu Hirata <kazu@hxi.com>
3843 * config/h8300/h8300.h: Fix formatting.
3845 2002-01-10 Ira Ruben <ira@apple.com>
3847 Add __attribute__ ((deprecated)).
3848 * extend.texi: Document __attribute__ ((deprecated)).
3849 * invoke.texi: Document -Wno-deprecated-declarations.
3850 * testsuite/g++.dg/other/deprecated.C: New C++ test.
3851 * testsuite/gcc.dg/deprecated.c: New C test.
3852 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
3853 (c_common_attribute_table): Add "deprecated" entry.
3854 (handle_deprecated_attribute): New function.
3855 * c-decl.c (deprecated_states): New enum.
3856 deprecated_state: State of "deprecated" handling.
3857 (start_decl): Set deprecated_state based on attributes.
3858 (grokdeclarator): Test for deprecated uses, propagate attribute.
3859 * c-typeck.c (build_component_ref): Test for deprecated fields.
3860 (build_external_ref): Test for deprecated primaries.
3861 * diagnostic.c (warn_deprecated_use) New function to issue
3862 warnings about __attribute__ ((depricated)) references.
3863 * flags.h (warn_deprecated_decl): Extern declared for
3864 -W[no-]deprecated-declarations option.
3865 * print-tree.c (print_node): Show deprecated flag status.
3866 * toplev.c (warn_deprecated_decl): Defined.
3867 (W_options): Added "deprecated-declaration".
3868 * toplev.h (warn_deprecated_use): Extern declared.
3869 * tree.h (struct tree_common): Define deprecated_flag.
3870 (TREE_DEPRECATED): New macro to access flag.
3871 * cp/call.c (build_call): Test for deprecated calls.
3872 * cp/class.c (add_implicitly_declared_members): Set global
3873 flag to tell grokdeclarator to not issue deprecated warnings.
3874 * cp/cp-tree.h: Add extern for adding_implicit_members.
3875 * cp/decl.c (deprecated_states): New enum.
3876 (start_decl): Set deprecated_state based on attributes.
3877 (grokdeclarator): Test for deprecated uses, propagate attribute.
3878 * cp/lex.c (do_identifier): Test for deprecated primaries.
3879 * cp/typeck.c (build_component_ref): Test for deprecated fields.
3881 2002-01-10 Ira Ruben <ira@apple.com>
3883 Fix to assign attributes to inline member functions.
3884 * cp/decl.c (start_method): Handle attrlist.
3886 2002-01-10 Kazu Hirata <kazu@hxi.com>
3888 * combine.c (expand_field_assignment): Use subreg_lsb().
3890 2002-01-10 David Edelsohn <edelsohn@gnu.org>
3892 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
3893 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
3894 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
3895 Recurse for any operand of AND as long as constant is non-zero.
3897 2002-01-10 Kazu Hirata <kazu@hxi.com>
3899 * config/h8300/h8300.md: Remove constraints from expanders.
3901 2002-01-10 Kazu Hirata <kazu@hxi.com>
3903 * varasm.c: Fix formatting.
3904 * varray.c: Likewise.
3905 * vmsdbgout.c: Likewise.
3906 * xcoffout.c: Likewise.
3908 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
3910 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
3911 update edge probabilities to match.
3913 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3915 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
3917 * doc/languages.texi, doc/sourcebuild.texi: New files.
3918 * doc/configfiles.texi: Make a subsubsection. Update.
3919 * doc/configterms.texi: Add @node. Remove warning that this isn't
3920 instructions for building GCC.
3921 * doc/makefile.texi: Make a subsection.
3922 * doc/gccint.texi: Update.
3924 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
3926 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
3928 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
3930 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
3932 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
3934 * optabs.c (expand_fix): Look for wider integer modes first.
3936 * i386.md (mov?f): Avoid the fake const double trick for medium
3938 (min?f*/max?f*): Prohibit memory operands for i387 variant.
3939 (fop_df_4): Disable for SSE compilation.
3941 2002-01-10 Graham Stott <grahams@redhat.com>
3943 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
3944 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
3946 2002-01-10 Richard Henderson <rth@redhat.com>
3948 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
3950 2002-01-10 Richard Henderson <rth@redhat.com>
3952 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
3953 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
3955 2002-01-10 Kazu Hirata <kazu@hxi.com>
3957 * combine.c (can_combine_p): Fix a comment typo.
3959 2002-01-09 Zack Weinberg <zack@codesourcery.com>
3961 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
3962 empty list correctly. Change loop index $t to $f for
3963 consistency with rest of Makefile.
3965 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
3967 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
3968 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
3970 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
3971 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
3972 (altivec_init_builtins): Same.
3973 (altivec_expand_unop_builtin): Return NULL_RTX on error.
3974 (altivec_expand_binop_builtin): Same.
3975 (altivec_expand_ternop_builtin): Same.
3978 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
3979 ("altivec_vctuxs"): Fix typo.
3980 ("altivec_vnmsubfp"): Same.
3981 ("altivec_dssall"): New.
3982 ("altivec_mfvscr"): New.
3983 ("altivec_dss"): New.
3984 ("altivec_lvsl"): New.
3985 ("altivec_lvsr"): New.
3986 ("altivec_dstt"): New.
3987 ("altivec_dstst"): New.
3988 ("altivec_dststt"): New.
3989 ("altivec_dst"): New.
3991 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
3992 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
3994 2002-01-09 Richard Henderson <rth@redhat.com>
3996 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
3998 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
4000 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
4002 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
4004 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
4006 2002-01-09 Kazu Hirata <kazu@hxi.com>
4008 * read-rtl.c: Fix formatting.
4010 * regclass.c: Likewise.
4011 * regrename.c: Likewise.
4012 * reg-stack.c: Likewise.
4013 * reload1.c: Likewise.
4014 * reload.c: Likewise.
4017 2002-01-09 Kazu Hirata <kazu@hxi.com>
4019 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
4020 to extract items in the expr_list chain.
4022 2002-01-09 Richard Henderson <rth@redhat.com>
4024 * config/vax/vax.c (vax_rtx_cost): Never abort.
4026 * config/vax/vax.h (REAL_ARITHMETIC): Define.
4028 2002-01-09 Jan Hubicka <jh@suse.cz>
4030 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
4032 2002-01-09 Richard Henderson <rth@redhat.com>
4034 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
4035 Unify code from various alternatives.
4037 2002-01-09 Richard Henderson <rth@redhat.com>
4039 * regrename.c (copy_value): Ignore the copy if the source register
4040 is present in the value chain with a narrower mode.
4042 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4044 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
4045 for the c4x target. Also improve layout.
4047 2002-01-09 Richard Henderson <rth@redhat.com>
4049 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
4050 * config/m32r/m32r.md (and ior xor splitters): Swap operands
4051 to match insn patterns.
4053 2002-01-09 Richard Henderson <rth@redhat.com>
4055 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
4056 (copyprop_hardreg_forward_1): Likewise.
4058 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
4060 * pa.md (decrement_and_branch_until_zero): Change predicate for
4061 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
4063 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4065 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
4066 gets undefined. For Darwin.
4068 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4070 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
4072 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4074 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
4076 2002-01-08 Richard Henderson <rth@redhat.com>
4078 * regrename.c (copy_value): Ignore overlapping copies.
4080 2002-01-08 Richard Henderson <rth@redhat.com>
4082 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
4083 as needed to avoid shared structure.
4085 2002-01-08 Kazu Hirata <kazu@hxi.com>
4087 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
4090 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4092 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
4093 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
4094 documentation of obsolete macros.
4095 * system.h: Poison these macros.
4096 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
4097 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
4098 config/c4x/c4x.h, config/clipper/clipper.h,
4099 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
4100 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
4101 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
4102 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
4103 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
4104 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
4105 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
4106 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
4107 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
4108 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
4109 config/sparc/sparc.h, config/stormy16/stormy16.h,
4110 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
4111 definitions and commented out definitions of obsolete macros.
4112 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
4113 of MAX_INT_TYPE_SIZE.
4115 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4117 * config/s390/s390.c (s390_preferred_reload_class): Never
4118 return ADDR_REGS if it isn't a subset of the given class.
4119 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
4120 FP_REGS, but all superclasses as well.
4122 * config/s390/s390.c (s390_function_profiler): Fix thinko.
4124 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
4125 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
4126 must not be a const_int.
4128 2002-01-08 Richard Henderson <rth@redhat.com>
4130 * Makefile.in (toplev.o): Depend on options.h.
4131 (gcc.o): Depend on specs.h.
4133 2002-01-08 Jakub Jelinek <jakub@redhat.com>
4135 * expr.c (store_expr): Convert VOIDmode constants back to target's
4138 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4140 * doc/invoke.texi: Markup gcc as @command. Refer to
4141 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
4142 of http://gcc.gnu.org/thanks.html.
4144 2002-01-08 Dale Johannesen <dalej@apple.com>
4146 * config/rs6000/rs6000.md: Add missing int register
4147 target case to movdf_low.
4149 2002-01-08 Zack Weinberg <zack@codesourcery.com>
4151 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
4152 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
4153 (cppinit.o): Depend on except.h.
4154 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
4155 s-specs): New rules.
4157 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
4158 Don't create specs.h/options.h/gencheck.h here. Remove
4159 unnecessary variable settings from last argument of AC_OUTPUT.
4160 * config.in, configure: Regenerate.
4161 * intl.c: Hardcode package name as "gcc".
4163 * cppinit.c: Include except.h.
4164 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
4166 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
4167 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
4168 (!)USING_SJLJ_EXCEPTIONS.
4169 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
4171 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4173 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
4174 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
4175 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
4176 documentation of obsolete macros.
4177 * system.h: Poison these macros.
4178 * config/d30v/d30v.h, config/ns32k/encore.h,
4179 config/stormy16/stormy16.h: Remove definitions and commented out
4180 definitions of obsolete macros.
4182 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
4184 * objc/objc-act.c (handle_class_ref): Mark the declaration of
4185 %sobjc_class_ref_%s as used - to prevent unwanted compiler
4188 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4190 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
4191 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
4192 to insn adjusting stack/frame pointer.
4193 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
4194 accept operands that cause the insn to be non-splittable.
4196 2002-01-08 Graham Stott <grahams@redhat.com>
4198 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
4199 (C_TYPE_FIELDS_VOLATILE): Likewise.
4200 (C_TYPE_BEING_DEFINED): Likewise.
4201 (C_IS_RESERVED_WORD): Likewise.
4202 (C_TYPE_VARIABLE_SIZE): Likewise.
4203 (C_DECL_VARIABLE_SIZE): Likewise.
4204 (C_MISSING_PROTOTYPE_WARNED): Likewise.
4205 (C_SET_EXP_ORIGINAL_CODE): Likewise.
4206 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
4208 (C_DECL_ANTICIPATED): Likewise.
4209 (c_build_type_variant): Add parenthesis.
4211 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4213 * gcc.c (option_map): Remove --version.
4214 (process_command): Handle -fversion following the GNU Coding
4215 Standards. Partially addresses PR other/704.
4217 2002-01-08 Graham Stott <grahams@redhat.com>
4219 * combine.c (combine_instructions): Fix typo.
4221 2002-01-08 Graham Stott <grahams@redhat.com>
4223 * debug.h: Use "tree" and "rtx" throughout.
4225 * debug.c: Likewise.
4227 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
4229 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
4230 constant pool, use the pool's version of the symbol instead.
4232 2002-01-07 Richard Henderson <rth@redhat.com>
4234 * regrename.c (find_oldest_value_reg): Ignore the value chain if
4235 the original register was copied in a mode with a fewer number of
4236 hard registers than the desired mode.
4237 (copyprop_hardreg_forward_1): Likewise.
4238 (debug_value_data): Fix loop test.
4239 * toplev.c (parse_options_and_default_flags): Reenable
4240 -fcprop-registers at -O1.
4242 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
4244 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
4245 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
4247 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
4250 * config/rs6000/rs6000.md: Add altivec predicate patterns.
4252 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
4254 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
4255 (pa_output_function_prologue): Output local label at the beginning of
4256 the prologue when profiling.
4257 (hppa_profile_hook): Use the local label rather than the function label.
4258 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
4260 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
4262 * config/rs6000/rs6000.c (print_operand): Remove extra space.
4263 (altivec_expand_unop_builtin): Fix thinko.
4264 (altivec_expand_binop_builtin): Same.
4265 (altivec_expand_ternop_builtin): Same.
4266 (altivec_expand_builtin): Same.
4268 2002-01-07 Richard Henderson <rth@redhat.com>
4270 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
4272 2002-01-07 Jason Merrill <jason@redhat.com>
4274 * unwind-dw2.c (execute_cfa_program): Use < again.
4276 2002-01-07 Jakub Jelinek <jakub@redhat.com>
4278 * predict.c (combine_predictions_for_insn): Avoid division by zero.
4280 2002-01-07 Jakub Jelinek <jakub@redhat.com>
4282 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
4283 Don't allow -1 - x -> ~x simplifications in the first pass.
4285 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
4287 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
4289 (altivec_expand_binop_builtin): Same.
4290 (altivec_expand_unop_builtin): Same.
4291 (print_operand): Fix typo.
4292 (bdesc_1arg): Add vupk* variants.
4294 * rs6000.h (rs6000_builtins): Add vupk* enums.
4296 * rs6000.md: Add altivec_vupk* variants.
4298 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
4300 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
4301 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
4302 and last update dates.
4304 2002-01-07 Janis Johnson <janis187@us.ibm.com>
4306 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
4308 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
4310 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
4311 * config/avr/avr.h (CPP_SPEC): Likewise.
4312 (LINK_SPEC): Likewise.
4313 (CRT_BINUTILS_SPECS): Likewise.
4314 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
4315 * doc/invoke.texi (AVR Options): Document them.
4317 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
4319 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
4322 2002-01-07 Graham Stott <grahams@redhat.com>
4324 * config/i386/i386.h: Update copyright date.
4325 (HALF_PIC_PTR): Add parenthesis.
4326 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
4327 (CONSTANT_ALIGNMENT): Add parenthesis.
4328 (DATA_ALIGNMENT): Likewise.
4329 (LOCAL_ALIGNMENT): Likewise.
4330 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
4331 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
4332 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
4333 (HARD_REGNO_NREGS): Add paranethesis.
4334 (VALID_SSE_REG_MODE): Whitespace.
4335 (VALID_MMX_REG_MODE): Whitespace.
4336 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
4337 (ix86_hard_regno_mode_ok): Add parenthesis.
4338 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
4339 (RETURN_IN_MEMORY): Whitespace.
4340 (N_REG_CLASSES): Add parenthesis.
4341 (INTEGER_CLASS_P): Add parenthesis and wrap.
4342 (FLOAT_CLASS_P): Likewise.
4343 (SSE_CLASS_P): Likewise.
4344 (MMX_CLASS_P): Likewise.
4345 (MAYBE_INTEGER_CLASS_P): Likewise.
4346 (MAYBE_FLOAT_CLASS_P): Likewise.
4347 (MAYBE_SSE_CLASS_P): Likewise.
4348 (MAYBE_MMX_CLASS_P): Likewise.
4349 (Q_CLASS_P): Likewise.
4350 (GENERAL_REGNO_P): Uppercase macro parameter.
4351 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
4352 (FP_REGNO_P): Likewise.
4353 (ANY_FP_REGNO_P): Uppercase macro parameter.
4354 (SSE_REGNO_P): Likewise.
4355 (SSE_REGNO): Likewise.
4356 (SSE_REG_P): Likewise.
4357 (SSE_FLOAT_MODE_P): Likewise.
4358 (MMX_REGNO_P): Likewise.
4359 (MMX_REG_P):Likewise.
4360 (STACK_REG_P): Likewise.
4361 (NON_STACK_REG_P): Likewise.
4362 (STACK_TOP_P): Likewise.
4363 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
4364 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
4365 (SECONDARY_MEMORY_NEEDED): Likewise.
4366 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
4367 (MD_ASM_CLOBBERS): Whitespace and wrap.
4368 (MUST_PASS_IN_STACK): Whitespace and wrap.
4369 (RETURN_POPS_ARGS): Add parenthesis.
4370 (INIT_CUMULATIVE_ARGS): Likewise.
4371 (FUNCTION_ARG): Likewise.
4372 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
4373 (SETUP_INCOMING_VARARGS): Likewise.
4374 (BUILD_VA_LIST_TYPE): Add parenthesis.
4375 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
4377 (EXPAND_BUILTIN_VA_ARG): Likewise.
4378 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
4379 (INITIALIZE_TRAMPOLINE): Add parenthesis.
4380 (INITIAL_ELIMINATION_OFFSET): Likewise.
4381 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
4382 (REGNO_OK_FOR_BASE_P): Likewise.
4383 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
4384 (REGNO_OK_FOR_DIREG_P): Likewise.
4385 (REG_OK_FOR_INDEX_P): Whitespace.
4386 (REG_OK_FOR_BASE_P): Whitespace.
4387 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
4389 (FIND_BASE_TERM): Fix typo.
4390 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
4391 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
4392 (SYMBOLIC_CONST; Whitespace.
4393 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
4394 (ENCODE_SECTION_INFO): Whitespace.
4395 (FINALIZE_PIC): Remove do { ... } while (0).
4396 (PROMOTE_MODE): Wrap in do { ... } while (0).
4397 (CONST_COSTS): Whitespace.
4398 (RTX_COSTS): Add paramethesis, whitespace and wrap.
4399 (REGISTER_MOVE_COST): Add parenthesis.
4400 (MEMORY_MOVE_COST): Likewise.
4401 (EXTRA_CC_MODES): Whitespace.
4402 (SELECT_CC_MODE): Add parenthesis and whitespace.
4403 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
4404 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
4405 (ASM_OUTPUT_LABEL): Add paramethesis.
4406 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
4407 (ASM_OUTPUT_REG_POP): Likewise.
4408 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
4409 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
4411 * config/i386/i386.c: Update copyright.
4412 (CHECK_STACK_LIMIT): Add parenthesis.
4413 (AT_BP): Uppercase macro parameter.
4414 (x86_64_int_parameter_registers): Constify.
4415 (x86_64_int_return_registers): Likewise.
4416 (ix86_compare_op0): Use rtx.
4417 (construct_container): Constify INTREG parameter.
4418 (function_arg): Use rtx.
4420 * diagnostic.h: Update copyright date.
4421 (output_buffer_state): Add parenthesis.
4422 (output_buffer_format_args): Likewise.
4424 * combine.c (combine_instructions): Replace XEXP (links, 0)
4427 2002-01-06 H.J. Lu <hjl@gnu.org>
4429 * cfgcleanup.c (thread_jump): Fix 2 typos.
4431 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
4433 * config.gcc: Add support for --enable-altivec.
4435 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
4437 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
4439 2002-01-06 Jakub Jelinek <jakub@redhat.com>
4441 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
4442 __objc_class_name_*.
4444 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
4446 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
4448 2002-01-06 Richard Henderson <rth@redhat.com>
4450 * reorg.c (emit_delay_sequence): Remove death notes, not merely
4451 nop them out. Increment label reference count for REG_LABEL.
4452 (fill_slots_from_thread): Frob label reference count around
4453 delete_related_insns.
4455 2002-01-05 Richard Henderson <rth@redhat.com>
4457 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
4460 2002-01-05 Richard Henderson <rth@redhat.com>
4462 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
4463 * integrate.c (output_inline_function): Likewise.
4464 * toplev.c (rest_of_compilation): Do it here instead. Move call
4465 to remove_unnecessary_notes after emitting abstract instance.
4466 Force an emitted nested function to have its parent emited as well.
4467 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
4469 (rtl_for_decl_location): Do not look at reload data structures
4470 before reload has run.
4472 2002-01-05 Kazu Hirata <kazu@hxi.com>
4474 * cse.c: Fix formatting.
4475 * dwarf2asm.c: Likewise.
4476 * dwarf2out.c: Likewise.
4477 * explow.c: Likewise.
4478 * expmed.c: Likewise.
4479 * function.c: Likewise.
4481 * gencheck.c: Likewise.
4482 * genrecog.c: Likewise.
4483 * ggc-common.c: Likewise.
4484 * ggc-page.c: Likewise.
4485 * global.c: Likewise.
4487 2002-01-05 Kazu Hirata <kazu@hxi.com>
4489 * combine.c: Fix formatting.
4491 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
4494 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
4496 2002-01-05 David Edelsohn <edelsohn@gnu.org>
4498 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
4499 as 1 for __powerpc64__ as well.
4501 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
4503 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
4506 2002-01-05 Daniel Berlin <dan@dberlin.org>
4508 * lcm.c: Revert change, due to performance regression it causes on
4509 SPEC because it's slightly more conservative (sigh, I hate
4512 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
4514 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
4516 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
4518 * doc/cppinternals.texi: Update.
4520 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
4522 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
4523 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
4525 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
4526 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
4527 kludge for pre-october-14th mmix versions to handle new-found bug
4528 with PUSHJ/PUSHGO and the register stack.
4529 * config/mmix/mmix.h (struct machine_function): Rename member
4530 has_call_value_without_parameters to has_call_without_parameters.
4531 All referers changed.
4532 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
4533 TARGET_MASK_BRANCH_PREDICT): New macros.
4534 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
4535 -mno-reg-stack-fill-bug-workaround.
4536 * config/mmix/mmix.md ("call"): Set struct machine member
4537 has_call_without_parameters.
4539 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
4541 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
4543 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
4545 * cfgcleanup.c: Include tm_p.h
4546 (mark_effect): Fix handling of hard register; fix handling of SET
4548 2002-01-04 Kazu Hirata <kazu@hxi.com>
4550 * config/h8300/h8300.md (anonymous patterns): Check that
4551 operands are registers before using REGNO on them.
4553 2002-01-03 Roland McGrath <roland@frob.com>
4555 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
4557 2002-01-04 Jakub Jelinek <jakub@redhat.com>
4559 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
4560 * c-common.h (genrtl_expr_stmt_value): Likewise.
4561 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
4562 (expand_expr_stmt_value): Add maybe_last argument.
4563 Don't warn about statement with no effect if it is the last statement
4564 in expression statement.
4565 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
4566 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
4567 expand_expr_stmt_value.
4568 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
4569 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
4570 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
4571 as maybe_last to expand_expr_stmt_value.
4573 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
4575 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
4576 be passed in, do not build it.
4577 (c_begin_if_stmt): New function.
4578 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
4579 * c-common.h (c_expand_start_cond): Update prototype.
4580 (c_begin_if_stmt): Prototype new function.
4581 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
4582 * c-parse.in (if_prefix): Use c_begin_if_stmt,
4583 c_begin_while_stmt and c_finish_while_stmt_cond.
4585 2002-01-04 William Cohen <wcohen@redhat.com>
4587 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
4588 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
4589 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
4590 * config/pa/som.h (ASM_FILE_START): Likewise.
4592 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
4594 * lcm.c: Include df.h.
4595 Add available_transfer_function prototype.
4596 (compute_available): Rework to use iterative dataflow framework.
4597 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
4598 with bb_info in df.h
4599 (available_transfer_function): New function.
4601 * Makefile.in (lcm.o): add df.h to dependencies.
4603 2002-01-04 Richard Henderson <rth@redhat.com>
4605 * config/alpha/alpha.c (some_operand): Accept HIGH.
4606 (input_operand): Likewise; accept simple references to globals.
4607 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
4608 (alpha_const_double_ok_for_letter_p): Likewise.
4609 (alpha_extra_constraint): Likewise.
4610 (alpha_preferred_reload_class): Likewise. Do not force
4611 symbolic constants to memory.
4612 (alpha_legitimate_address_p): Accept simple references
4613 to small_symbolic_operand.
4614 (alpha_legitimize_address): New arg scratch. Be prepared to be
4615 called when no_new_pseudos. Emit simple symbolic references.
4616 Split integers into low, high, and rest.
4617 (alpha_expand_mov): Use alpha_legitimize_address.
4618 (some_small_symbolic_mem_operand): New.
4619 (split_small_symbolic_mem_operand): New.
4620 * config/alpha/alpha-protos.h: Update.
4621 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
4622 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
4623 (EXTRA_CONSTRAINT): Likewise.
4624 (PREFERRED_RELOAD_CLASS): Likewise.
4625 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
4626 (PREDICATE_CODES): Update.
4627 * config/alpha/alpha.md: New post-reload splitters to convert
4628 simplfied symbolic operands to the form that references $29.
4629 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
4630 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
4632 2002-01-03 Richard Henderson <rth@redhat.com>
4634 * local-alloc.c (function_invariant_p): Update commentary.
4636 2002-01-04 H.J. Lu <hjl@gnu.org>
4638 * toplev.c (rest_of_compilation): Fix a typo when calling
4641 2002-01-03 Kazu Hirata <kazu@hxi.com>
4643 * c-common.c: Fix formatting.
4644 * diagnostic.c: Likewise.
4645 * doloop.c: Likewise.
4646 * dwarf2out.c: Likewise.
4648 2002-01-03 Kazu Hirata <kazu@hxi.com>
4650 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
4651 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
4653 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
4655 * cpperror.c: Update comments and copyright.
4656 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
4657 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
4659 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
4661 * collect2.c (main): Use strcmp when testing for "-shared".
4663 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
4665 * cppmacro.c: Don't include intl.h. Update comments.
4666 (new_number_token): Allocate enough buffer for 64-bit unsigned
4667 integers; update prototype.
4668 * cppmain.c: Update comments.
4670 2002-01-03 William Cohen <wcohen@redhat.com>
4672 * function.h (struct function): Add profile.
4673 (current_function_profile): New.
4674 doc/extend.texi: Update documentation.
4675 * final.c (final_start_function): Use current_function_profile
4676 instead of profile_flag.
4677 (profile_after_prologue): Likewise.
4678 * function.c (expand_function_start): Likewise.
4679 (expand_function_start): Likewise.
4680 * config/alpha/alpha.c (direct_call_operand):
4681 (alpha_does_function_need_gp): Likewise.
4682 (alpha_expand_prologue): Likewise.
4683 * config/arm/arm.c (arm_expand_prologue): Likewise.
4684 thumb_expand_prologue: Likewise.
4685 * config/d30v/d30v.c (d30v_stack_info): Likewise.
4686 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
4687 (fr30_expand_prologue): Likewise.
4688 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
4689 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
4690 * config/i386/i386.h (FINALIZE_PIC): Likewise.
4691 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
4692 * config/i960/i960.c (i960_output_function_prologue): Likewise.
4693 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
4694 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
4695 (m32r_expand_prologue): Likewise.
4696 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
4697 (m88k_expand_prologue): Likewise.
4698 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
4699 * config/mips/mips.c (compute_frame_size): Likewise.
4700 (mips_expand_prologue): Likewise.
4701 (mips_can_use_return_insn): Likewise.
4702 * config/pa/elf.h (ASM_FILE_START): Likewise.
4703 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
4704 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
4705 * config/pa/som.h (ASM_FILE_START): Likewise.
4706 * config/romp/romp.c (romp_using_r14): Likewise.
4707 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
4708 (rs6000_stack_info): Likewise.
4709 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
4710 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
4711 * config/v850/v850.c (compute_register_save_size): Likewise.
4713 2002-01-03 Jakub Jelinek <jakub@redhat.com>
4715 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
4716 gen_lowpart_common fails, use gen_lowpart_SUBREG.
4718 2002-01-03 Turly O'Connor <turly@apple.com>
4720 * darwin.c (machopic_output_possible_stub_label): Don't generate
4721 stub routines for pseudo-stubs which we've just defined.
4723 2002-01-03 Kazu Hirata <kazu@hxi.com>
4725 * builtins.c: Fix formatting.
4726 * c-typeck.c: Likewise.
4727 * combine.c: Likewise.
4731 2002-01-03 Andreas Schwab <schwab@suse.de>
4733 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
4734 and return true if _cpp_push_next_buffer pushed a new include
4736 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
4737 _cpp_pop_file_buffer did not push a new file.
4738 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
4740 2002-01-02 Eric Christopher <echristo@redhat.com>
4742 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
4743 FIND_REG_INC_NOTE call. Update copyright.
4744 * loop.c (canonicalize_condition): Ditto.
4745 * reorg.c (delete_scheduled_jump): Ditto.
4747 2002-01-03 Kazu Hirata <kazu@hxi.com>
4749 * gcse.c: Fix formatting.
4751 2002-01-03 Graham Stott <grahams@redhat.com>
4753 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
4754 forward defs for struct tags rtx_def, union_tree, rtvec_def
4755 also output corresponding typedefs for rtx, tree, and rtvec.
4757 * system.h: Move forward defs for struct tags rtx_def, union_tree,
4758 rtvec_def along with corresponding typedefs for rtx, tree, and
4759 rtvec to config.h, hconfig.h, tconfig.h.
4761 2002-01-03 Graham Stott <grahams@redhat.com>
4763 * tree.h: Update copyright date.
4764 (IS_EXPR_CODE_CLASS): Add parenthesis.
4765 (TREE_SET_CODE): Add whitespace.
4766 (TREE_CHECK): Add parenthesis.
4767 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
4768 (CST_OR_CONSTRUCTOR_CHECK):
4769 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
4770 (TREE_SYMBOL_REFERENCED): Whitespace.
4771 (INT_CST_LT): Likewise.
4772 (INT_CST_LT_UNSIGNED): Likewise.
4773 (tree_real_cst): Unwrap comment.
4774 (tree_string): Likewise.
4775 (tree_complex): Likewise.
4776 (IDENTIFIER_POINTER): correct cast.
4777 (SAVE_EXPR_CONTEXT): Whitespace.
4778 (EXPR_WFL_FILENAME_NODE): Likewise.
4779 (EXPR_WFL_FILENAME): Remove parenthesis.
4780 (DECL_ORIGIN): Add parenthesis.
4781 (DECL_FROM_INLINE): Use NULL_TREE.
4782 (build_int_2): Whitespace.
4783 (build_type_variant): Add parenthesis.
4785 * gcc/jcf-parse.c: Update copyright date.
4786 (yyparse): Constify resource_filename.
4788 2002-01-03 Graham Stott <grahams@redhat.com>
4790 * rtl.h: Update copyright date.
4791 (RTL_CHECK1): Wrap long line.
4792 (RTL_CHECK2): Likewise.
4793 (RTL_CHECKC1): Wrap long line and whitespace.
4794 (RTL_CHECKC2): Likewise.
4795 (XWINT): Whitespace.
4801 (XBITMAP): Likewise.
4812 (X0BITMAP): Likewise.
4814 (X0BBDEF): Likewise.
4815 (X0ADVFLAGS): Likewise.
4816 (X0CSELIB): Likewise.
4817 (X0MEMATTR): Likewise.
4825 (XCBITMAP): Likewise.
4827 (XCBBDEF): Likewise.
4828 (XCADVFLAGS): Likewise.
4829 (XCCSELIB): Likewise.
4831 (INSN_UID): Likewise.
4832 (PREV_INSN): Likewise.
4833 (PATTERN): Likewise.
4834 (INSN_CODE): Likewise.
4835 (PUT_REG_NOTE_KIND): Likewise.
4836 (CODE_LABEL_NUMBER): Likewise.
4837 (NOTE_SOURCE_FILE): Likewise.
4838 (NOTE_BLOCK): Likewise.
4839 (NOTE_EH_HANDLER): Likewise.
4840 (NOTE_RANGE_INFO): Likewise.
4841 (NOTE_LIVE_INFO): Likewise.
4842 (NOTE_BASIC_BLOCK): Likewise.
4843 (NOTE_EXPECTED_VALUE): Likewise.
4844 (NOTE_LINE_NUMBER): Likewise.
4845 (LABEL_NAME): Likewise.
4846 (LABEL_NUSES): Likewise.
4847 (LABEL_ALTERNATE_NAME): Likewise.
4848 (ADDRESSOF_DECL): Likewise.
4849 (JUMP_LABEL): Likewise.
4850 (LABEL_NEXTREF): Likewise.
4852 (ORIGINAL_REGNO: Likewise.
4853 (HARD_REGISTER_NUM_P): Add parenthesis.
4854 (SUBREG_REG): Whitespace.
4855 (SUBREG_BYTE): Likewise.
4856 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
4857 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
4858 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
4859 (ASM_OPERANDS_INPUT_VEC): Likewise.
4860 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
4861 (ASM_OPERANDS_INPUT): Likewise.
4862 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
4863 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
4864 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
4865 (ASM_OPERANDS_INPUT_MODE): Likewise.
4866 (ASM_OPERANDS_SOURCE_FILE): Likewise.
4867 (ASM_OPERANDS_SOURCE_LINE): Likewise.
4868 (MEM_SET_IN_STRUCT_P): Minor reformat.
4869 (TRAP_CONDITION): Whitespace.
4870 (TRAP_CODE): Likewise.
4871 (COND_EXEC_TEST): Likewise.
4872 (COND_EXEC_CODE): Likewise.
4873 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
4874 (PHI_NODE_P): Add parenthesis.
4875 (plus_constant): Whitespace and add parenthesis.
4877 2002-01-03 Kazu Hirata <kazu@hxi.com>
4879 * config/avr/avr.c: Fix comment typos.
4880 * config/c4x/c4x.md: Likewise.
4881 * config/dsp16xx/dsp16xx.h: Likewise.
4882 * config/dsp16xx/dsp16xx.md: Likewise.
4883 * config/i386/i386.md: Likewise.
4884 * config/ia64/ia64.c: Likewise.
4885 * config/m32r/m32r.h: Likewise.
4886 * config/m68hc11/m68hc11.md: Likewise.
4887 * config/mmix/mmix.c: Likewise.
4888 * config/mn10200/mn10200.c: Likewise.
4889 * config/romp/romp.c: Likewise.
4890 * config/sh/sh.c: Likewise.
4891 * config/stormy16/stormy16.c: Likewise.
4892 * config/stormy16/stormy16.h: Likewise.
4893 * config/stormy16/stormy16.md: Likewise.
4895 2002-01-03 Graham Stott <grahams@redhat.com>
4897 * loop.h: Update copyright date.
4898 (LOOP_MOVABLES): Fix typo.
4899 (LOOP_REGS): Likewise.
4900 (LOOP_IVS): Likewise.
4902 2002-01-03 Graham Stott <grahams@redhat.com>
4904 * cppinit.c: Update copyright date.
4905 Don't include output.h
4906 * Makefile.in: Update copyright date.
4909 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
4912 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
4913 (-pthread) Add to RS/6000 options.
4915 2002-01-02 Kazu Hirata <kazu@hxi.com>
4917 * except.c: Fix comment typos.
4919 * varasm.c: Likewise.
4920 * doc/tm.texi: Fix a typo.
4922 2002-01-02 Jakub Jelinek <jakub@redhat.com>
4924 * c-typeck.c (output_init_element): Allow initializing static storage
4925 duration objects with compound literals.
4927 2002-01-02 Richard Henderson <rth@redhat.com>
4929 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
4932 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4934 * gcc.c (default_compilers): Const-ify.
4935 * mips-tdump.c (stab_names): Likewise.
4936 * mips-tfile.c (map_coff_types, map_coff_storage,
4937 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
4938 pseudo_ops_t, pseudo_ops): Likewise.
4939 * protoize.c (default_include): Likewise
4941 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
4942 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
4943 Add array size in declaration.
4944 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
4945 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
4946 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
4947 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
4948 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
4949 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
4950 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
4951 emtens, make_nan): Const-ify.
4952 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
4953 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
4955 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
4957 * config.gcc (ia64-*-*): Set extra_headers.
4958 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
4959 * config/alpha/t-osf: Remove.
4960 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
4962 2002-01-02 David Edelsohn <edelsohn@gnu.org>
4964 * config/rs6000/t-aix43: Revert previous change.
4966 2002-01-02 Jason Merrill <jason@redhat.com>
4968 * c-decl.c (c_expand_body): Call outlining_inline_function when
4969 emitting an inline function out of line.
4971 2002-01-02 Richard Henderson <rth@redhat.com>
4973 * dwarf2out.c (limbo_die_node): Add created_for member.
4974 (new_die): New argument created_for. Update all callers.
4975 (mark_limbo_die_list): New.
4976 (dwarf2out_init): Register limbo_die_list as a root.
4977 (dwarf2out_finish): Force insert limbo dies into their function
4980 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
4983 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
4985 2002-01-02 Kazu Hirata <kazu@hxi.com>
4987 * config/h8300/fixunssfsi.c: Update copyright.
4990 * config/h8300/h8300.c: Update copyright.
4993 2002-01-02 Kazu Hirata <kazu@hxi.com>
4995 * config/romp/romp.c: Fix comment formatting.
4996 * config/romp/romp.h: Likewise.
4997 * config/romp/romp.md: Likewise.
4998 * config/s390/s390.c: Likewise.
4999 * config/stormy16/stormy16.c: Likewise.
5000 * config/stormy16/stormy16.h: Likewise.
5002 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
5004 * c-common.h (genrtl_expr_stmt_value): Declare.
5005 * c-semantics.c (genrtl_goto_stmt): Redirect to...
5006 (genrtl_goto_stmt_value): ... this new function. Pass new
5007 argument down to expand_expr_stmt_value, taking
5008 TREE_ADDRESSABLE into account.
5009 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
5010 STMT_EXPR as addressable, i.e., one whose result we want.
5011 * expr.c (expand_expr): Don't save expression statement value
5012 of labeled_blocks or loop_exprs.
5013 * stmt.c (expand_expr_stmt): Redirect to...
5014 (expand_expr_stmt_value): ... this new function. Use new
5015 argument to tell whether to save expression value.
5016 (expand_end_stmt_expr): Reset last_expr_type and
5017 last_expr_value if we don't have either.
5018 * tree-inline.c (declare_return_variable): Mark its use
5019 statement as addressable.
5020 * tree.h: Document new use of TREE_ADDRESSABLE.
5021 (expand_expr_stmt_value): Declare.
5023 2002-01-01 Tom Rix <trix@redhat.com>
5025 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
5026 rs6000_emit_allocate_stack.
5028 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
5030 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
5031 ${srcdir}/ginclude/ to every entry in extra_headers.
5032 * configure: Regenerate.
5033 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
5034 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
5035 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
5036 * ginclude/proto.h: Rename to config/convex/proto.h.
5038 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5040 * attribs.c (handle_vector_size_attribute): Use host_integerp
5041 and tree_int_cst; remove warnings.
5042 * caller-save.c (insert_restore): Add cast to get rid of warning.
5043 (insert_save): Likewise.
5044 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
5045 * regmove.c (find_matches): Add temporary var to kill a warning.
5047 2002-01-01 Douglas B Rupp <rupp@gnat.com>
5049 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
5050 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
5051 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
5052 (vms-dwarf2eh.o): Add Makefile rule.
5053 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
5054 * config/alpha/vms-dwarf2eh.asm: New file.
5056 * gcc.c (delete_if_ordinary): Delete all versions.
5058 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
5060 * config/mmix/mmix.md: Update FIXME to not mention
5062 (MMIX_rJ_REGNUM): New define_constants constant.
5063 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
5064 "*movdicc_real"): Adjust contraints formatting.
5065 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
5066 for branch prediction.
5067 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
5069 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
5070 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
5071 number. Delete related FIXMEs.
5072 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
5073 from number to MMIX_rJ_REGNUM.
5074 (TARGET_MASK_BRANCH_PREDICT): New.
5075 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
5076 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
5077 value. Add -mbranch-predict and -mno-branch-predict.
5078 (TARGET_VERSION): Drop date.
5079 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
5080 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
5081 for finding out global symbols.
5082 (mmix_asm_output_labelref): Revert condition for global symbol.
5083 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
5084 (mmix_print_operand_punct_valid_p): A '+' is valid.
5086 See ChangeLog.6 for earlier changes.