1 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
3 * c-typeck.c (really_start_incremental_init): Use
4 bitsize_zero_node for vectors.
6 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
8 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
9 ("*set_vrsave_internal"): Same.
11 2002-02-25 Richard Henderson <rth@redhat.com>
13 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
14 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
16 2002-02-25 Jakub Jelinek <jakub@redhat.com>
19 * config/i386/i386.c (ix86_return_pops_args): Only pop
20 fake structure return argument if it was passed on the stack.
22 2002-02-25 Jason Merrill <jason@redhat.com>
24 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
27 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
29 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
30 link with shared_name only.
31 * doc/invoke.texi (Link Options): Document new behavior.
33 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
35 * c-typeck.c (push_init_level): Handle vectors.
37 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
39 * config/sparc/sparc.c (const64_high_operand): Zero-extend
40 operands of SPARC_SETHI_P.
41 (input_operand): Likewise.
42 (sparc_emit_set_const32): Likewise.
43 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
44 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
45 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
46 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
47 (movdi_insn_sp64_vis): Likewise.
48 (movdi split, movdf split): Use SETHI32.
49 * doc/md.texi: Document SPARC constraints L, M and N.
51 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
53 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
54 ("*set_vrsave_internal"): use mfspr for Darwin.
56 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
57 gen_get_vrsave_internal.
59 Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
61 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
63 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
65 * cpplex.c (cpp_interpret_charconst): Get signedness or
66 otherwise of wide character constants correct.
67 * cppexp.c (lex): Get signedness of wide charconsts correct.
69 Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
71 * optabs.c (widen_operand): Only call convert_modes for
72 promoted SUBREG if signedness matches.
73 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
75 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
77 * cpplib.c (glue_header_name): Use local buffer to build up
80 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
82 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
84 2002-02-23 Kazu Hirata <kazu@hxi.com>
86 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
87 H8/300[HS] separately.
88 * config/h8300/h8300.md: Remove the early clobber constraint
89 from bit field patterns.
91 2002-02-23 Kazu Hirata <kazu@hxi.com>
93 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
96 (umulqisi3): Likewise.
97 (umulhisi3): Likewise.
99 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
101 * cppinit.c (output_deps): Correct test for stdout output.
102 (init_dependency_output): Cure warning.
104 Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
106 * expr.c (store_expr): When converting expression to promoted
107 equivalent type, allow using SUBREG_REG of TARGET as the target
108 of the expansion of EXP.
109 * loop.c (basic_induction_var, case SUBREG): Always look inside.
110 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
111 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
112 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
113 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
115 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
117 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
118 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
119 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
121 2002-02-23 Jakub Jelinek <jakub@redhat.com>
124 * loop.c (scan_loop): Update reg info if move_movables created new
127 2002-02-23 David Edelsohn <edelsohn@gnu.org>
129 * gcc.c (init_gcc_spec): Revert last change.
131 2002-02-23 David Edelsohn <edelsohn@gnu.org>
133 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
134 gpc_reg_operand constraint.
136 2002-02-23 Alan Modra <amodra@bigpond.net.au>
138 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
139 Simplify comparison of `low'.
140 (add_operand): Fix formatting.
141 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
142 (mask_operand): Disallow mask to wrap in 64-bit mode.
143 (rs6000_stack_info): Remove redundant test setting push_p.
144 (output_toc): Fix formatting.
145 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
146 cc_reg_not_cr0_operand constraint.
147 (booldi3, boolcdi3 splitters): Same.
149 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
151 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
153 2002-02-22 David Edelsohn <edelsohn@gnu.org>
155 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
156 gcc invoked with -shared-libgcc.
158 2002-02-22 Jakub Jelinek <jakub@redhat.com>
161 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
162 decl if any of elements was TREE_USED.
164 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
166 * config/sparc/sol2.h: Don't include sys/mman.h.
167 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
168 (arith_4096_operand): Don't throw high bits away.
169 (const64_operand): Take sign extension of CONST_INTs into account.
170 (const64_high_operand, sparc_emit_set_const32): Likewise.
171 (GEN_HIGHINT64): Likewise.
172 (sparc_emit_set_const64_quick1): Likewise.
173 (const64_is_2insns): Likewise.
174 (print_operand): Use trunc_int_for_mode for sign extension.
175 * config/sparc/sparc.h (SMALL_INT32): Likewise.
176 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
177 chars. Assume CONST_INT is already properly sign-extended.
178 (movdi split): Sign-extend each SImode part.
179 (andsi3 split): Don't mask high bits off, so that result
180 remains properly sign-extend.
181 (iorsi3 split): Likewise.
182 (xorsi3 split): Likewise.
184 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
186 * fold-const.c (fold): Fix typo in comments.
188 2002-02-21 Diego Novillo <dnovillo@redhat.com>
190 * Makefile.in (langhooks.o): Update dependencies.
192 2002-02-21 Diego Novillo <dnovillo@redhat.com>
194 * langhooks.c: Include flags.h.
196 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
198 * testsuite/gcc.dg/attr-alwaysinline.c: New.
200 * c-common.c (c_common_post_options): Set inline trees by
203 * doc/extend.texi (Function Attributes): Document always_inline
205 Update documentation about inlining when not optimizing.
207 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
209 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
210 unless DECL_ALWAYS_INLINE.
212 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
213 unless DECL_ALWAYS_INLINE.
214 (c_disregard_inline_limits): Disregard if always_inline set.
216 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
217 Disregard if always_inline set.
218 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
219 unless DECL_ALWAYS_INLINE.
221 * attribs.c (handle_always_inline_attribute): New.
222 (c_common_attribute_table): Add always_inline.
224 * config/rs6000/altivec.h: Add prototypes for builtins
225 requiring the always_inline attribute.
227 2002-02-21 Eric Christopher <echristo@redhat.com>
229 * expmed.c (store_bit_field): Try to simplify the subreg
230 before generating a new one when when the mode size of
231 value is less than maxmode.
233 2002-02-21 Richard Henderson <rth@redhat.com>
235 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
236 than gen_rtx_PLUS to form the sum.
237 * explow.c (force_reg): Rearrange to not allocate new pseudo
238 when force_operand returns a register.
239 * expr.c (expand_assignment): Allow offset_rtx expansion to
240 return a sum. Do not force addresses into registers.
241 (expand_expr): Likewise.
242 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
243 to canonicalize arithmetic that didn't simpify.
244 (simplify_plus_minus): New argument force; update
245 all callers. Don't split CONST unless we can do something with it,
246 and wouldn't lose the constness of the operands.
248 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
249 that we generated earlier.
251 2002-02-21 Tom Tromey <tromey@redhat.com>
253 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
254 (output_line_info): Use constant `1', with a long explanatory
256 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
258 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
260 * jump.c (redirect_jump): If old label has no UID, don't try to
263 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
265 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
266 If input is constant, do shifts at compile time.
268 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
270 * doc/extend.texi: Fix some more overfull hboxes.
272 2002-02-21 Jakub Jelinek <jakub@redhat.com>
275 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
278 2002-02-21 Jakub Jelinek <jakub@redhat.com>
281 * expr.h (expand_and): Add mode argument.
282 * expmed.c (expand_and): Add mode argument.
283 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
284 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
285 * except.c (expand_builtin_extract_return_addr): Likewise.
286 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
287 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
288 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
289 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
290 * config/c4x/c4x.md: Use GEN_INT (x) instead of
291 gen_rtx (CONST_INT, VOIDmode, x).
293 2002-02-21 Jakub Jelinek <jakub@redhat.com>
296 * stmt.c (warn_if_unused_value): Move side effects test once more.
298 2002-02-20 Torbjorn Granlund <tege@swox.com>
300 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
301 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
303 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
305 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
306 SUBREG or ZERO_EXTEND.
308 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
310 * sh.h (current_function_anonymous_args): Remove.
311 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
312 of current_function_varargs and current_function_stdarg is set.
313 * sh.c (sh_expand_prologue): Check current_function_varargs /
314 current_function_stdarg / TARGET_SH5 instead of
315 current_function_anonymous_args.
317 * sh64.h (TARGET_VERSION): Define.
319 2002-02-20 David Edelsohn <edelsohn@gnu.org>
321 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
322 VRSAVE_REGNO on TARGET_ALTIVEC.
324 2002-02-20 Alan Modra <amodra@bigpond.net.au>
326 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
327 bits of SImode const_int.
328 (includes_rshift_p): Likewise.
329 (print_operand): Call mask_operand and mask64_operand with correct
331 (rs6000_output_function_epilogue): Pad traceback table to word.
332 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
333 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
334 mask64_operand with correct mode.
335 (FUNCTION_ARG_REGNO_P): Correct parentheses.
337 2002-02-20 Jakub Jelinek <jakub@redhat.com>
340 * varasm.c (get_pool_constant_mark): New.
341 * rtl.h (get_pool_constant_mark): Add prototype.
342 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
343 be represented if it has not been output.
345 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
347 * combine.c (do_SUBST): Sanity check substitutions of
348 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
349 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
350 CONST_INT into its operand.
351 (known_cond): Likewise, for ZERO_EXTEND.
352 * simplify-rtx.c (simplify_unary_operation): Fix condition to
353 allow for simplification of wide modes. Reject CONST_INTs in
354 ZERO_EXTEND when their actual mode is not given.
356 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
358 * c-decl.c (pushdecl): If no global declaration is found for an
359 extern declaration in block scope, try a limbo one.
361 2002-02-20 Jakub Jelinek <jakub@redhat.com>
364 * c-common.c (pointer_int_sum): Moved from...
365 * c-typeck.c (pointer_int_sum): ...here.
366 * c-common.h (pointer_int_sum): Add prototype.
368 2002-02-20 Jakub Jelinek <jakub@redhat.com>
371 * c-decl.c (duplicate_decls): Return 0 if issued error about
374 2002-02-20 Roger Sayle <roger@eyesopen.com>
375 Jakub Jelinek <jakub@redhat.com>
378 * tree.c (host_integerp): Ensure that the constant integer is
379 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
380 when pos is zero or non-zero respectively. Clarify comment.
381 * c-format.c (check_format_info_recurse): Fix host_integerp
382 usage; the pos argument should be zero when assigning to a
383 signed HOST_WIDE_INT.
385 2002-02-20 Richard Henderson <rth@redhat.com>
387 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
388 of the operand, rather than assuming TImode.
389 (ix86_expand_binop_builtin): Cope with commutative patterns
390 using nonimmediate_operand for both operands.
391 (ix86_expand_timode_binop_builtin): Likewise.
392 (ix86_expand_store_builtin): Validate operand 1.
393 (ix86_expand_unop1_builtin): Likewise.
395 2002-02-20 Philip Blundell <philb@gnu.org>
398 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
400 2002-02-20 Richard Henderson <rth@redhat.com>
403 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
405 2002-02-20 Tom Tromey <tromey@redhat.com>
407 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
408 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
409 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
410 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
411 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
414 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
416 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
417 for (const_int 0) in X not just INTVAL.
419 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
421 * doc/extend.texi: Avoid or reduce overfull hboxes.
423 2002-02-20 Diego Novillo <dnovillo@redhat.com>
425 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
426 operations if the field does not start at a mode boundary.
428 2001-02-20 Joel Sherrill <joel@OARcorp.com>
430 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
431 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
432 Also done for -Acpu and -Amachine.
434 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
436 * cppinit.c (init_dependency_output): Take deps output file
437 from -o if none given with -MF. Suppress normal output.
438 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
439 * doc/cpp.texi, doc/invoke.texi: Update.
441 2002-02-19 Zack Weinberg <zack@codesourcery.com>
443 * toplev.c (output_quoted_string): Write unprintable
444 characters with octal escapes.
446 2002-02-19 David Edelsohn <edelsohn@gnu.org>
448 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
449 really_call_used[VRSAVE_REGNO] if not Altivec.
451 2002-02-19 Alan Modra <amodra@bigpond.net.au>
453 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
455 (constant_pool_expr_1): Fix formatting.
456 (rs6000_legitimize_reload_address): Likewise.
458 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
460 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
461 now that we have one.
463 2002-02-19 Zack Weinberg <zack@codesourcery.com>
465 * tree.h (struct tree_common): Remove aux. Add unused_0 at
466 end of first block of bitfields (which was only seven bits);
467 rename dummy to unused_1; remove comment which is no longer true.
469 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
471 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
473 2002-02-19 Philip Blundell <pb@nexus.co.uk>
476 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
480 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
481 arm_is_longcall_p rather than inspecting call-type cookie
483 (call_value_insn) [TARGET_THUMB]: Likewise.
485 2002-02-19 Graham Stott <grahams@redhat.com>
487 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
489 2002-02-19 David Edelsohn <edelsohn@gnu.org>
491 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
492 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
493 (FP_SAVE_INLINE): Delete.
495 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
496 * config/rs6000/eabi.asm: Remove ABI save restore routines.
497 * config/rs6000/t-ppccomm: Build crtsavres.o.
498 * config/rs6000/crtsavres.asm: New file.
500 2002-02-19 Philip Blundell <philb@gnu.org>
502 * config/arm/arm.c (use_return_insn): Don't reject interrupt
504 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
505 (output_return_instruction): Allow interrupt functions to return with
506 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
507 (arm_expand_prologue): Subtract 4 before stacking LR in an
510 2002-02-19 Philip Blundell <pb@nexus.co.uk>
512 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
513 decl, not just FUNCTION_DECL.
514 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
515 (arm_assemble_integer): Likewise.
516 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
519 2002-02-19 matthew green <mrg@eterna.com.au>
521 * config.gcc (sparc-*-netbsdelf*): Enable target.
522 (sparc64-*-netbsd*): New target.
523 * config/sparc/netbsd-elf.h: New file.
524 * config/sparc/t-netbsd64: New file.
526 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
528 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
530 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
532 * doc/invoke.texi: explicitly list the style guidelines that
535 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
537 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
539 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
542 * gcc.c (cpp_unique_options): Treat -o as indicating object file
543 only if not -E. If -E, pass -o through to the preprocessor.
545 2002-02-19 Kazu Hirata <kazu@hxi.com>
547 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
548 register number with an appropriate macro.
550 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
552 * doc/rtl.texi (Constants): Close @code tag.
554 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
556 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
557 ("mmx_uavgv4hi3"): Same.
558 ("pmulhrwv4hi3"): Same.
560 * tree-inline.c (walk_tree): Handle vectors.
562 * c-common.c (constant_expression_warning): Handle vectors.
563 (overflow_warning): Same.
565 * sched-deps.c (sched_analyze_2): Handle vectors.
567 * rtlanal.c (rtx_unstable_p): Handle vectors.
568 (rtx_varies_p): Same.
569 (count_occurrences): Same.
570 (regs_set_between_p): Same.
571 (modified_between_p): Same.
572 (modified_in_p): Same.
573 (volatile_insn_p): Same.
574 (volatile_refs_p): Same.
575 (side_effects_p): Same.
577 (inequality_comparisons_p): Same.
578 (replace_regs): Same.
579 (computed_jump_p_1): Same.
581 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
583 (inner_mode_array): New.
584 (copy_rtx): Handle vectors.
585 (copy_most_rtx): Same.
587 (get_mode_alignment): Adjust for vectors.
589 * resource.c (mark_referenced_resources): Handle vectors.
590 (mark_set_resources): Same.
592 * reload1.c (eliminate_regs): Handle vectors.
593 (elimination_effects): Same.
594 (scan_paradoxical_subregs): Same.
596 * reload.c (subst_reg_equivs): Handle vectors.
598 * regrename.c (scan_rtx): Handle vectors.
600 * regclass.c (reg_scan_mark_refs): Handle vectors.
602 * recog.c (find_single_use_1): Handle vectors.
604 * local-alloc.c (equiv_init_varies_p): Handle vectors.
605 (contains_replace_regs): Same.
606 (memref_referenced_p): Same.
608 * integrate.c (copy_rtx_and_substitute): Handle vectors.
609 (subst_constants): Same.
611 * genattrtab.c (attr_copy_rtx): Handle vectors.
612 (encode_units_mask): Same.
613 (clear_struct_flag): Same.
614 (count_sub_rtxs): Same.
616 * gcse.c (want_to_gcse_p): Handle vectors.
617 (oprs_unchanged_p): Same.
619 (oprs_not_set_p): Same.
620 (expr_killed_p): Same.
621 (compute_transp): Same.
622 (store_ops_ok): Same.
624 * function.c (purge_addressof_1): Do not allow paradoxical subregs
626 (fixup_var_refs_1): Same.
627 (instantiate_virtual_regs_1): Same.
629 * fold-const.c (operand_equal_p): Handle vectors.
631 (rtl_expr_nonnegative_p): Same.
633 * flow.c (mark_used_regs): Handle vectors.
635 * df.c (df_uses_record): Handle vectors.
637 * cselib.c (cselib_subst_to_values): Handle vectors.
638 (cselib_mem_conflict_p): Same.
641 * cse.c (canon_reg): Handle vectors.
643 (cse_process_notes): Same.
644 (count_reg_usage): Same.
647 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
649 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
651 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
652 (gen_rtx): Handle CONST_VECTOR.
653 (gen_const_vector_0): New.
654 (copy_rtx_if_shared): CONST_VECTORs can be shared.
655 (reset_used_flags): Same.
657 (initializer_constant_valid_p): Handle VECTOR_CST.
659 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
661 * doc/rtl.texi (Constants): Document const_vector.
662 (CONST0_RTX): Update for vectors.
665 * print-tree.c (print_node): Add case for VECTOR_CST.
667 * tree.h (TREE_VECTOR_CST_ELTS): New.
668 (struct tree_vector): New.
669 (union tree_node): Add vector node.
670 (build_vector): Add prototype.
672 * tree.def (VECTOR_CST): New.
674 * tree.c (build_vector): New.
676 * expmed.c (make_tree): Handle CONST_VECTOR.
678 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
679 (CONST_VECTOR_ELT): New.
680 (CONST_VECTOR_NUNITS): New.
682 * machmode.h (GET_MODE_INNER): New.
683 (DEF_MACHMODE): Accept 8th arg.
685 * machmode.def: Add 8th argument for vector inner mode.
686 Add inner vector modes for vectors.
688 * rtl.def (VEC_CONST): Remove.
691 * expr.c (clear_storage): Allow vectors.
692 (is_zeros_p): Handle VECTOR_CST.
694 * varasm.c (output_constant_pool): Handle vectors.
695 (rtx_const): Add veclo and vechi fields.
696 (kind): Add RTX_VECTOR.
697 (decode_rtx_const): Add case for vector.
699 * config/rs6000/rs6000-protos.h: Add zero_constant.
701 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
702 constants. Force easy vector constants into memory.
703 (easy_vector_constant): New.
704 (emit_easy_vector_constant): New.
705 (rs6000_legitimize_reload_address): Do not generate bad reloads on
708 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
710 ("altivec_lvxl"): Same.
711 (altivec_lvebx): Same.
712 (altivec_lvehx): Same.
713 (altivec_lvewx): Same.
714 ("*movv4si_const0"): New.
715 ("*movv4sf_const0"): New.
716 ("*movv8hi_const0"): New.
717 ("*movv16qi_const0"): New.
719 2002-02-18 Kazu Hirata <kazu@hxi.com>
721 * config/h8300/h8300.c (notice_update_cc): Use
724 2002-02-18 Kazu Hirata <kazu@hxi.com>
726 * config/h8300/h8300.md (divmod patterns): Change the
727 constraints for operands[1] to register_operand.
729 2002-02-18 Kazu Hirata <kazu@hxi.com>
731 * config/h8300/h8300-protos.h: Remove the prototype for
733 * config/h8300/h8300.c (p_operand): Remove.
734 * config/h8300/h8300.md: Replace p_operand with
737 2002-02-18 Philip Blundell <pb@nexus.co.uk>
739 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
741 (output_return_instruction): Allow use of LDR to unstack
742 return addresss even for interrupt handlers or when
743 interworking. If compiling for ARMv5, use interworking-safe
744 return instructions by default. Remove duplicated code and
745 lengthy "strcat" sequences.
747 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
749 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
750 (LINK_EH_SPEC): Define.
751 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
753 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
755 * config/s390/s390.c (s390_emit_prologue): Do not set the
756 frame_related flag for call-clobbered registers.
758 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
760 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
761 (construct_container): Fix handling of SSE operands.
762 (ix86_expand_builtin): Fix handling of 64bit pointers.
763 (mmx_maskmovq_rex): New pattern.
765 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
767 * regrename.c (kill_set_value): Handle subregs properly.
769 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
771 * objc/objc-act.c (handle_impent): Remove leading '*'
772 from objc_class_name.
774 2002-02-17 Richard Henderson <rth@redhat.com>
776 * config/alpha/alpha.c (some_small_symbolic_operand,
777 some_small_symbolic_operand_1, split_small_symbolic_operand,
778 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
779 Handle small SYMBOL_REFs anywhere, not just inside memories.
780 * config/alpha/alpha-protos.h: Update.
781 * config/alpha/alpha.h (PREDICATE_CODES): Update.
782 * config/alpha/alpha.md (small symbolic operand splitter): Update.
784 2002-02-17 Roland McGrath <roland@frob.com>
786 * config.gcc (powerpc-*-gnu-gnualtivec*,
787 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
788 * config/rs6000/gnu.h: New file.
789 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
790 Grok "gnu" in rs6000_abi_name.
791 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
792 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
793 Grok -mcall-gnu analogous to -mcall-linux et al.
794 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
795 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
796 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
798 2002-02-17 Jakub Jelinek <jakub@redhat.com>
801 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
804 2002-02-17 Philipp Thomas <pthomas@suse.de>
806 * config/cris/cris.h: Undefine STARTFILE_SPEC and
807 ENDFILE_SPEC before (re)defining them.
809 2002-02-17 Kazu Hirata <kazu@hxi.com>
811 * config/h8300/h8300.c: Fix formatting.
812 * config/h8300/h8300.h: Likewise.
814 2002-02-17 Philipp Thomas <pthomas@suse.de>
816 * doc/tm.texi: Explain why empty strings should not be
817 marked for translation.
819 2002-02-17 Philipp Thomas <pthomas@suse.de>
821 * final.c (output_operand_lossage): Changed to accept
822 printf style arguments. Change calls where necessary.
823 * output.h (output_operand_lossage): Change declaration
824 accordingly. Update copyright.
825 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
826 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
827 Update copyright date where necessary.
829 * config/i386/i386.c (print_operand): Likewise. Remove use of
832 * config/cris/cris.c (cris_operand_lossage): Likewise.
833 Rename parameter so that exgettext recognizes it as
834 translatable message.
835 (LOSE_AND_RETURN): Rename parameter to msgid.
837 2002-02-17 Kazu Hirata <kazu@hxi.com>
839 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
840 hard coded register number with an appropriate macro.
841 (HARD_REGNO_MODE_OK): Likewise.
842 (ARG_POINTER_REGNUM): Likewise.
843 (STATIC_CHAIN_REGNUM): Likewise.
844 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
845 * config/h8300/h8300.md (define_constants): Define more
848 2002-02-17 Philipp Thomas <pthomas@suse.de>
850 * config/i386/i386.h: Don't mark empty strings for translation.
852 2002-02-16 H.J. Lu <hjl@gnu.org>
854 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
856 2002-02-16 Zack Weinberg <zack@codesourcery.com>
858 * cppinit.c (merge_include_chains): Check for brack being
859 NULL before attempting to merge it with qtail.
861 2002-02-16 Andrew Cagney <ac131313@redhat.com>
863 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
866 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
868 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
870 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
872 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
873 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
874 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
876 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
878 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
879 now only if !TARGET_FIX.
880 (*movsi_nt_vms_fix): New pattern.
882 2002-02-16 Douglas B Rupp <rupp@gnat.com>
884 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
885 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
886 (alpha_sa_mask, alpha_sa_size): Reflect above change.
887 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
888 (alpha_start_function, alpha_expand_epilogue): Likewise.
889 (unicosmk_gen_dsib): Likewise.
891 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
893 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
895 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
897 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
898 check_and_change_labels, s390_final_chunkify): Delete.
899 (s390_split_branches, s390_chunkify_pool): New functions.
900 (s390_function_prologue): Call them.
902 * config/s390/s390.h (S390_REL_MAX): Delete.
903 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
905 * config/s390/s390.md (cjump, icjump, jump): Fix length
906 attribute calculation.
909 2002-02-15 David Edelsohn <edelsohn@gnu.org>
911 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
912 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
914 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
916 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
917 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
918 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
920 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
922 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
924 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
926 * reload.c (find_dummy_reload): Check that an output register
927 is valid for its mode.
929 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
931 * combine.c (known_cond): After replacing the REG of a SUBREG, try
934 * function.c (assign_parms): Demote promoted argument passed by
935 transparent reference.
937 2001-02-14 Joel Sherrill <joel@OARcorp.com>
939 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
940 -Acpu() and -Amachine() to eliminate warnings.
942 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
944 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
946 2002-02-14 Kazu Hirata <kazu@hxi.com>
948 * config/h8300/h8300-protos.h: Update the prototype for
950 * config/h8300/h8300.c (const_costs): Treat SET as a little
951 more expensive operation.
952 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
953 reference to const_costs.
955 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
957 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
959 2002-02-14 Jakub Jelinek <jakub@redhat.com>
962 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
963 use arguments from newtype.
965 2002-02-13 Eric Christopher <echristo@redhat.com>
967 * config/mips/mips.c (override_options): Add check for march/mipsX
968 on the same command line. Fix error message in cpu processing.
969 Remove architecture and ISA checks.
971 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
973 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
975 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
977 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
979 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
981 ("*movv8hi_internal1"): Same.
982 ("*movv16qi_internal1"): Same.
983 ("*movv4sf_internal1"): Same.
985 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
986 not push_reload for altivec modes.
988 2002-02-13 Joel Sherrill <joel@OARcorp.com>
990 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
991 all RTEMS targets including removal of #includes from config/*/rtems*.h
992 file and adding them to tm_file setting. Added xm_defines=POSIX to
994 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
995 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
996 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
997 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
998 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
999 config/m68k/rtemself.h: Ditto.
1000 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
1001 config/mips/rtems64.h: Ditto.
1002 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
1003 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
1005 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
1006 config/sparc/rtemself.h: Ditto.
1007 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
1008 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
1009 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
1011 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
1012 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
1013 target made more similar to i386-elf.
1014 * config/i386/t-rtems-i386: Added soft float support and multilibs.
1015 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
1016 be similar to config/m68k/t-m68kelf.
1017 * gthr-rtems.h: Encapsulate with extern "C" for C++.
1019 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
1021 * regmove.c (kill_value): Handle subregs.
1023 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
1025 * i386.md (mul patterns): Allow memory operand to be first;
1026 add expanders where needed; fix constraints.
1027 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
1028 Allow memory operand to be the first.
1030 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
1033 2002-02-13 Jakub Jelinek <jakub@redhat.com>
1036 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
1039 2002-02-13 Jakub Jelinek <jakub@redhat.com>
1041 PR optimization/5547:
1042 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
1043 all valid IA-32 address modes involving non-scaled %ebx and
1044 GOT/GOTOFF as displacement.
1046 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
1048 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
1049 after emitting ltorg insns.
1051 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
1052 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
1053 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
1054 *abssf2): Fix "op_type" attribute.
1056 2002-02-13 Douglas B Rupp <rupp@gnat.com>
1058 * mkconfig.sh: Avoid using a subshell redirect.
1059 ($output.T): Change to $(output)T.
1060 (ENABLE_NLS): Remove unneeded undef.
1062 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
1063 * config/alpha/x-vms (libsubdir): Define.
1065 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
1066 register frame procedures. Optimize retrieving context.
1068 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
1069 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
1070 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
1072 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1074 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
1075 Make same change as for find_base_value.
1077 2002-02-13 Kazu Hirata <kazu@hxi.com>
1079 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
1080 of QImode and SImode.
1082 2002-02-13 Kazu Hirata <kazu@hxi.com>
1084 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
1085 length computation of movsi.
1086 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
1088 2002-02-13 Kazu Hirata <kazu@hxi.com>
1090 * config/h8300/h8300.md (subqi3): Tighten the predicate for
1091 operands[2] to register_operand.
1093 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
1095 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
1097 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
1099 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
1100 for altivec_lvx* and altivec_stvx*.
1101 ("*movv4si_internal"): Add constraint for loading from GPRs.
1102 ("*movv8hi_internal1"): Same.
1103 ("*movv16qi_internal1"): Same.
1104 ("*movv4sf_internal1"): Same.
1106 * config/rs6000/rs6000.c (altivec_register_operand): New.
1108 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
1109 altivec_register_operand.
1111 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
1113 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
1116 2002-02-13 Stan Shebs <shebs@apple.com>
1118 * c-typeck.c (digest_init): Handle vectors.
1119 (really_start_incremental_init): Same.
1120 (pop_init_level): Same.
1121 (process_init_element): Same.
1123 * varasm.c (output_constant): Same.
1125 * expr.c (clear_storage): Same.
1126 (store_constructor): Same.
1128 2002-02-12 Eric Christopher <echristo@redhat.com>
1130 * explow.c (hard_function_value): Add comment explaining
1131 signed/unsigned comparison.
1133 2002-02-12 Jakub Jelinek <jakub@redhat.com>
1135 * jump.c (never_reached_warning): Add finish argument.
1136 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
1137 real insn after end.
1138 * rtl.h (never_reached_warning): Adjust prototype.
1139 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
1140 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
1141 never_reached_warning.
1143 2002-02-12 Graham Stott <grahams@redhat.com>
1145 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
1147 2002-02-12 Kazu Hirata <kazu@hxi.com>
1149 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
1150 logical shifts on H8/300.
1151 (shift_alg_si): Improve several shifts on H8/300.
1152 (get_shift_alg): Likewise.
1154 2002-02-12 Graham Stott <grahams@redhat.com>
1156 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
1158 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1160 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
1161 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
1163 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
1165 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
1166 non-CONST_INT through default_assemble_integer.
1167 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
1168 <case 8>: Abort for CONST_DOUBLE.
1170 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1172 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
1174 * config/pa/pa-linux.h (LIB_SPEC): Delete.
1175 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
1177 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
1179 * config/stormy16/stormy16.md (zero_extendqihi2): New.
1181 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
1183 * regrename.c (regrename_optimize): Don't accept a
1184 part-clobbered register if the replaced register is not part
1187 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
1188 take padding into account when computing the argument value.
1190 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
1192 * combine.c (try_combine): Apply substitutions in
1193 CALL_INSN_FUNCTION_USAGE too.
1195 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
1197 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
1198 __builtin_altivec_abs*.
1201 * config/rs6000/rs6000.h (rs6000_builtins): Add
1202 ALTIVEC_BUILTIN_ABS*.
1204 * config/rs6000/altivec.h: Use const char for builtins expecting
1206 (vec_abs): New versions for C and C++.
1209 2002-02-10 Kazu Hirata <kazu@hxi.com>
1211 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
1214 2002-02-10 Kazu Hirata <kazu@hxi.com>
1216 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
1217 constant definition from h8300.md.
1218 (FRAME_POINTER_REGNUM): Likewise.
1219 * config/h8300/h8300.md (define_constants): Add FP_REG.
1221 2002-02-10 Kazu Hirata <kazu@hxi.com>
1223 * config/h8300/h8300.c (print_operand): Remove redundant code.
1225 2002-02-10 Kazu Hirata <kazu@hxi.com>
1227 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
1228 * config/h8300/h8300.c (byte_reg): Make it static.
1230 2002-02-10 Richard Henderson <rth@redhat.com>
1233 * c-typeck.c (incomplete_type_error): Handle flexible array members.
1235 2002-02-10 Richard Henderson <rth@redhat.com>
1238 * tree.c (append_random_chars): Don't abort if main_input_filename
1241 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
1243 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
1245 2002-02-10 Kazu Hirata <kazu@hxi.com>
1247 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
1248 (pushhi1): Likewise.
1250 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
1252 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
1253 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
1255 2002-02-09 David O'Brien <obrien@FreeBSD.org>
1257 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
1259 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
1261 2002-02-09 Kazu Hirata <kazu@hxi.com>
1263 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
1264 a half of an SImode register on H8/300.
1266 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
1268 * i386.md (movdi_2): Add missing '!'.
1270 2002-02-09 Kazu Hirata <kazu@hxi.com>
1272 * config/h8300/h8300.h: Fix formatting. Remove commented-out
1275 2002-02-09 Kazu Hirata <kazu@hxi.com>
1277 * config/h8300/h8300.md (length): Correct the distance valid
1278 for the short branch.
1280 2002-02-09 Kazu Hirata <kazu@hxi.com>
1282 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
1284 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
1286 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
1287 registers in SImode.
1288 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
1291 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
1294 Contribute sh64-elf.
1295 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
1296 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
1297 (sh_cannot_modify_jumps_p): New function.
1298 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
1299 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
1300 (sh_ms_bitfield_layout_p): New function.
1301 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
1302 Zack Weinberg <zack@codesourcery.com>
1303 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
1304 expand_simple_binop instead of expand_binop.
1305 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
1306 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
1307 use of .quad and .uaquad.
1308 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
1309 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
1310 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1311 * config/sh/sh.md (movdi_const, movdi_const_32bit,
1312 movdi_const_16bit): Make sure all CONSTs have modes.
1313 (sym2PIC): Ditto, but by adjusting all callers.
1314 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
1315 if the prologue calls the SHmedia argument decoder or register
1317 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1318 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
1319 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
1320 (sh_expand_epilogue): Don't emit USE of return target register.
1321 (prepare_move_operands): Legitimize DImode PIC addresses.
1322 (sh_media_register_for_return): Skip tr0, used to initialize the
1324 (sh_expand_prologue): Remove explicit USE of return register.
1325 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
1326 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
1327 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
1328 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
1329 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
1331 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
1332 (MOVI_SHORI_BASE_OPERAND_P): New.
1333 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
1334 (EXTRA_CONSTRAINT_T): Define in terms of them.
1335 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
1336 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
1337 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
1338 alternatives supporting TARGET_REGS.
1339 (UNSPEC_GOTPLT): New constant.
1340 (movdi split): Move incrementing of LABEL_NUSES...
1341 (movdi_const, movdi_const_32bit): Here. Use
1342 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
1343 (movdi_const_16bit): New.
1344 (call, call_value) [flag_pic]: Use GOTPLT.
1345 (call_pop, call_value_pop): New expands.
1346 (call_pop_compact, call_pop_rettramp): New insns.
1347 (call_value_pop_compact, call_value_pop_rettramp): New insns.
1348 (sibcall) [flag_pic]: Use GOT.
1349 (builtint_setjmp_receiver): Remove bogus, unused expand.
1350 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
1351 (*pt, *ptb, ptrel): New insns.
1352 (sym2GOT): Handle DImode GOT.
1353 (sym2GOTPLT, symGOTPLT2reg): New expands.
1354 (sym2PIC): New expand.
1355 (shcompact_return_tramp): Use GOTPLT to return trampoline.
1356 (shcompact_return_tramp_i): Use return register explicitly.
1357 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
1358 disable flag_reorder_blocks.
1359 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1360 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
1361 clobbers, for clarity.
1362 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
1363 restoring of r0 in macl as MAYBE_DEAD.
1364 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1365 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
1366 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
1367 alter_subreg all over.
1368 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
1369 reload, instead of emitting instructions that would require
1371 (casesi_load_media): Add missing modes.
1372 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
1373 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
1374 as used if the argument decoder is called.
1375 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
1376 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
1377 Pmode, then extend it to DImode if necessary.
1378 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
1379 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
1380 constants in FPU-enabled SHmedia, let them be loaded from memory.
1381 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
1382 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
1383 Adjust whitespace in assembly output templates.
1384 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
1385 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
1386 mode of if_then_else.
1387 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
1388 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
1390 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
1391 Joern Rennecke <amylaar@redhat.com>
1392 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
1393 (SUBTARGET_CPP_PTR_SPEC): New.
1394 (SUBTARGET_CPP_SPEC): Remove.
1395 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
1396 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1397 Fix typo in previous checkin.
1398 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
1399 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
1400 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
1401 Alexandre Oliva <aoliva@redhat.com>
1402 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
1403 what single FP register can hold for SHmedia target.
1404 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
1405 Alexandre Oliva <aoliva@redhat.com>
1406 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1407 Do not split into SUBREG.
1408 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
1409 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
1410 and added new functions as specified in SH5 ABI r9.
1411 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
1412 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
1414 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
1415 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
1416 gen_consttable_4 and gen_consttable_8. Emit multiple labels
1417 and consttable_window_ends.
1418 2001-06-03 Graham Stott <grahams@redhat,com>
1419 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
1420 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
1421 * config/sh/sh.c (print_operand): Handle floating-point pair,
1422 vector and matrix registers.
1423 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
1424 vector modes into account.
1425 * config/sh/sh.md (movv2sf): Split move between registers into
1427 (movv4sf, movv16sf): Introduce insns that get split only after
1429 * config/sh/shmedia.h: Fix Copyright dates.
1430 * config/sh/ushmedia.h: Likewise. Move loop counter
1431 declarations into conditionals that uses them.
1432 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
1434 * config/sh/sshmedia.h: Fix Copyright dates.
1435 (sh_media_PUTCFG): Fix constraints.
1436 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
1437 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
1438 ptrmemfunc_vbit_in_delta for SH5.
1439 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
1440 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
1441 * invoke.texi: Likewise.
1442 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
1443 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
1444 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
1445 GCC_pop_shmedia_regs_nofpu): New global symbols.
1446 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
1447 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
1448 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
1449 compact function with nonlocal labels.
1450 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
1451 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
1452 (initial_elimination_offset): Account for their stack space.
1453 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
1454 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
1455 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
1456 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
1457 least one of the operands to be a register.
1458 (movv2sf): Likewise. Renamed to movv2sf_i.
1459 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
1460 prepare_move_operands() before emitting SHmedia insns.
1461 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
1462 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
1463 Don't save nor initialize r12. Don't mis-align the stack.
1464 Pad the code with a nop.
1465 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
1467 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1468 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
1469 [__SHMEDIA__]: Implement.
1470 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
1471 * config/sh/sh.md: Set latency of `pt' closer to reality.
1472 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
1473 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
1474 Set move, load and store type attributes.
1475 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
1476 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
1478 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
1479 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
1480 * config/sh/sh.c (sh_media_register_for_return): New function.
1481 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
1482 branch-target register.
1483 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
1484 * config/sh/sh.md (return_media_i): Use any call-clobbered
1485 branch-target register.
1486 (return_media): If r18 wasn't copied in the prologue, copy it
1488 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
1489 Clear class FP0_REGS.
1490 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
1492 2001-03-08 DJ Delorie <dj@redhat.com>
1493 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
1494 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
1495 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
1496 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
1497 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
1498 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1499 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
1500 return value correctly for call_cookie.
1501 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1502 * config/sh/crt1.asm (start): Modified so as to call
1503 ___setup_argv_and_call_main.
1504 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
1505 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
1507 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
1508 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
1509 (STRIP_NAME_ENCODING): Use it.
1510 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
1511 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
1512 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
1513 prepare_scc_operands().
1514 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
1515 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
1516 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
1517 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
1518 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
1519 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
1520 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
1521 used in shcompact_incoming_args.
1522 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
1524 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
1526 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
1528 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
1529 Simplify. Adjust. Add sanity check.
1530 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
1532 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
1534 (udivsi3, divsi3): Use them.
1535 (force_mode_for_call): New insn.
1536 (call, call_value, sibcall_value): Emit it before SHcompact
1538 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
1539 * config/sh/sh.md (call, call_value, sibcall): Make sure the
1540 call cookie is non-NULL before taking its value.
1541 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
1542 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
1543 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1544 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
1546 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
1547 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
1548 temporary for stack adjusts. Use MACL and MACH to pass
1549 arguments to shcompact_incoming_args.
1550 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
1552 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
1553 (nested_trampoline): Load static chain address into r1.
1554 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
1555 2001-01-07 Alexandre Oliva <aoliva@redhat.com
1556 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
1557 fp_arith_reg_operand().
1558 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
1559 * config/sh/sh.md (casesi): Sign-extend the first two operands,
1560 and use signed compares for them.
1561 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
1562 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
1563 ones properly aligned.
1564 (find_barrier): Account for extra alignment needed for 8-byte wide
1566 (machine_dependent_reorg): Require a label for the second 4-byte
1567 constant after an 8-byte one.
1568 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
1570 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
1571 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
1572 last_float when switching float modes.
1573 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
1574 auto-increment for general-purpose registers.
1575 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
1577 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
1579 * config/sh/sh.c (sh_builtin_saveregs): Support using all
1580 registers for varargs.
1581 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
1582 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
1583 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
1584 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
1585 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
1586 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
1587 call_cookie accordingly.
1588 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
1589 (SHCOMPACT_BYREF): Likewise.
1590 (SHCOMPACT_FORCE_ON_STACK): New macro.
1591 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
1592 (sh_builtin_saveregs): Likewise.
1593 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1594 shcompact_incoming_args): Use new shift values. Support
1595 sequences of consecutive and non-consecutive pushes/pops.
1596 * config/sh/sh.md (return): Don't explicitly use PR_REG.
1597 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
1598 * config/sh/sh.h (TEXT_SECTION): Define.
1599 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
1600 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
1601 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
1602 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
1603 return values on FPU-enabled SHmedia.
1604 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
1605 FPU-enabled SHmedia.
1606 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
1607 value is returned in a non-FP reg and is not returned by
1609 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
1611 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
1612 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
1613 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
1614 quad-aligned to be passed by callee-copy reference.
1615 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
1616 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
1617 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
1618 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
1619 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
1620 copying low-numbered FP regs to r7 and r8.
1621 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
1622 FP regs to general-purpose regs only if the copy was passed on the
1624 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
1625 copying FP reg to r9.
1626 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
1627 copy FP regs to general-purpose regs only in outgoing calls.
1628 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1629 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
1631 * config/sh/sh.h (struct sh_args): Document all fields.
1632 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
1633 passed partially on the stack should not consider making
1635 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
1636 stack_regs only for incoming calls. When passing FP args,
1637 make sure there are FP regs available before modifying
1639 (SHCOMPACT_BYREF): Pass double args in general-purpose
1640 registers by reference.
1641 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
1642 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
1643 attempt to generate sibcalls if the caller got any arguments
1645 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
1646 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
1647 to 8-byte boundaries.
1648 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
1649 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
1650 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
1651 stored in the stack.
1652 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
1653 for the offsets to have the ISA bit set.
1654 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
1655 invocation. Use beq instead of bgt to mark end of sequence of
1657 (shcompact_incoming_args): Fix store of r2. Use beq instead of
1658 bgt to mark end of sequence of stores.
1659 * config/sh/sh.c (arith_operand): Don't check whether
1660 CONST_OK_FOR_J for now.
1661 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
1662 instead of long for conversion.
1663 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
1664 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
1665 before passing it to fprintf.
1666 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
1667 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
1668 Call set_fpscr before reading/writing SR.
1669 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
1671 * config/sh/lib1funcs.asm: Add `.align 2' directives before
1673 (FMOVD_WORKS): Define on SH5 with FPU.
1674 (set_fpscr): Define on SH5. Remove separate _fpscr_values
1676 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
1678 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
1679 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
1681 (ia_main_table): Ditto.
1682 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
1683 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
1684 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
1685 the definitions from sh.h.
1686 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
1688 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
1689 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
1690 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1691 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
1692 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
1693 Increment LABEL_NUSES.
1695 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
1697 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
1699 * config/sh/elf.h (SIZE_TYPE): Likewise.
1700 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1701 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1702 shcompact_incoming_args): Load switch table addresses using
1704 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1705 (NO_BUILTIN_SIZE_TYPE): Define.
1706 (SIZE_TYPE): Don't define.
1707 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1708 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
1709 definition of __SH5__=32 for -m5-compact-nofpu.
1710 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
1712 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
1713 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
1714 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
1715 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
1716 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
1717 (INSN_LENGTH_ALIGNMENT): Likewise.
1718 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1719 * config/sh/sh.md (call, call_value, sibcall): Simplify
1720 copying of non-branch-target register.
1721 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1722 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
1723 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
1724 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1725 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
1726 floating-point values as structs.
1727 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
1728 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
1729 general-purpose register.
1730 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
1731 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
1732 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
1733 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
1734 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
1735 (ENCODE_SECTION_INFO): Enclose variables and constants in
1737 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
1738 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
1739 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
1740 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
1741 only for LABEL_REFs. For SYMBOL_REFs, prepend
1742 SH_DATALABEL_ENCODING to the symbol name.
1743 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
1745 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
1746 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
1748 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
1749 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
1750 (DATALABEL_REF_P): Don't require CONST.
1751 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
1753 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
1754 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
1756 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
1757 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
1758 Use shallow_copy_rtx and PUT_MODE to change the mode of
1759 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
1760 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
1761 on SHmedia using GENERAL_REGs.
1762 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1763 bltu_media_i): Fix reversion of conditions.
1764 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
1765 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
1766 * config/sh/sh.c (output_far_jump): Save r13 in macl.
1767 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
1768 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
1769 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1770 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
1771 (GCC_nested_trampoline): Likewise.
1772 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
1773 * config/sh/sh.c (gen_datalabel_ref): Define.
1774 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
1775 (INITIALIZE_TRAMPOLINE): Likewise.
1776 (TRAMPOLINE_ADJUST_ADDRESS): Define.
1777 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
1778 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
1779 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
1780 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
1781 (ic_invalidate): Adjust for SH5.
1782 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
1783 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
1785 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
1786 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
1787 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
1788 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
1789 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
1790 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
1791 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
1792 * config/sh/sh.c (target_reg_operand): Match only target-branch
1793 registers and pseudos that aren't virtual registers.
1794 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1795 Copy operands that don't match target_reg_operand to pseudos.
1796 (call_media, call_value_media, sibcall_media): Use
1797 target_reg_operand instead of target_operand.
1798 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
1799 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
1800 * config/sh/sh.c (target_reg_operand): Match hardware registers
1801 other than branch-target registers.
1802 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
1803 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
1804 (fpscr_values) [SH5 == 32]: Define.
1805 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
1806 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1807 Handle function addresses coming in SUBREGs.
1808 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
1809 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1810 shcompact_return_trampoline): Use datalabel where appropriate.
1811 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
1812 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
1813 general-purpose register to copy one branch-target register to
1815 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
1816 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
1817 SYMBOL_REFs with VOIDmode.
1818 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1819 bltu_media_i): New insns.
1820 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
1821 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
1822 (INIT_CUMULATIVE_ARGS): Likewise.
1823 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
1824 * machmode.def (V16SFmode): New mode.
1825 * c-common.c (type_for_mode): Support V2SF and V16SF.
1826 * tree.c (build_common_tree_nodes_2): Likewise.
1827 * tree.h (tree_index): Likewise.
1828 * calls.c (emit_call_1): Take args_so_far. Adjust all
1829 callers. Introduce CALL_POPS_ARGS.
1830 * tm.texi (CALL_POPS_ARGS): Document.
1831 * config/sh/crt1.asm: Implement in SHmedia mode.
1832 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
1833 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
1834 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
1835 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
1836 Implement divsi and udivsi in SHmedia mode. Introduce
1837 SHcompact trampolines.
1838 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
1840 (regno_reg_class): Rewrite.
1841 (fp_reg_names): Remove.
1842 (sh_register_names, sh_additional_register_names): New.
1843 (print_operand): Added `u'. Support SUBREGs in addresses.
1844 Add parentheses around shifted CONSTs.
1845 (output_file_start): Output .mode and .abi directives.
1846 (shiftcosts, addsubcosts, multcosts): Adjust.
1847 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
1848 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
1849 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
1850 bytes, not registers. Take into account the need for the
1851 SHcompact incoming args trampoline. Adjust all callers.
1852 (sh_expand_prologue): Take stack_regs into account. Call
1853 incoming args trampoline. Keep stack aligned as per SH5 ABI.
1854 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
1855 stack aligned as per SH5 ABI.
1856 (sh_builtin_saveregs): Support SH5 ABI.
1857 (sh_build_va_list, sh_va_start): Likewise.
1858 (initial_elimination_offset): Take alignment into account.
1859 Compute location of PR according to the SH5 stack frame.
1860 (arith_reg_operand): Reject branch-target registers.
1861 (shmedia_6bit_operand): New.
1862 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
1863 (target_reg_operand): Match DImode only. Accept SUBREGs.
1864 (target_operand): New.
1865 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
1866 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
1867 SIBCALL_REGS for SHmedia.
1868 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
1869 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
1870 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
1871 (TARGET_SWITCHES): New SH5 flags.
1872 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
1873 VALID_REGISTER_P to disable unsupported registers.
1874 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
1875 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
1876 (FUNCTION_ARG_PADDING): Define.
1877 (FASTEST_ALIGNMENT): Adjust.
1878 (SH_REGISTER_NAMES_INITIALIZER): New.
1879 (sh_register_names): Declare.
1880 (DEBUG_REGISTER_NAMES): Define.
1881 (REGISTER_NAMES): Define based on sh_register_names.
1882 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
1883 (sh_additional_register_names): Declare.
1884 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
1885 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
1886 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
1887 (REGISTER_NATURAL_MODE): Define.
1888 (FIRST_PSEUDO_REGISTER): Adjust.
1889 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
1890 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
1891 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
1892 (VECTOR_MODE_SUPPORTED_P): Define.
1893 (REG_CLASS_CONTENTS): Adjust.
1894 (SMALL_REGISTER_CLASSES): Adjust.
1895 (REG_ALLOC_ORDER): Adjust.
1896 (INDEX_REG_CLASS): Adjust.
1897 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
1898 (CONST_OK_FOR_LETTER_P): Adjust.
1899 (PREFERRED_RELOAD_CLASS): Adjust.
1900 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
1901 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
1902 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
1903 (FIRST_FP_PARM_REG): Adjust.
1904 (CALL_POPS_ARGS): Define.
1905 (FUNCTION_ARG_REGNO_P): Adjust.
1906 (struct sh_args): New fields.
1907 (GET_SH_ARG_CLASS): Adjust.
1908 (INIT_CUMULATIVE_ARGS): Adjust.
1909 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
1910 (FUNCTION_ARG_ADVANCE): Adjust.
1911 (FUNCTION_ARG): Adjust.
1912 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
1913 (FUNCTION_ARG_CALLEE_COPIES): Define.
1914 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
1915 (STRICT_ARGUMENT_NAMING): Define.
1916 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
1917 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
1918 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
1919 (SETUP_INCOMING_VARARGS): Adjust.
1920 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
1921 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
1922 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
1923 (SUBREG_OK_FOR_INDEX_P): Adjust.
1924 (EXTRA_CONSTRAINT_S): Update.
1925 (EXTRA_CONSTRAINT_T): New.
1926 (EXTRA_CONSTRAINT): Adjust.
1927 (GO_IF_LEGITIMATE_INDEX): Adjust.
1928 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
1929 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
1931 (MAX_MOVE_MAX): Define.
1933 (CONST_COSTS): Adjust.
1934 (REGISTER_MOVE_COST): Adjust.
1935 (BRANCH_COST): Adjust.
1936 (TEXT_SECTION_ASM_OP): Adjust.
1937 (DBX_REGISTER_NUMBER): Adjust.
1938 (ASM_OUTPUT_DOUBLE_INT): New.
1939 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
1940 (PREDICATE_CODES): Adjust.
1941 (PROMOTE_MODE): Adjust.
1942 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
1943 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
1944 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
1945 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
1946 (DR0_REG, DR2_REG, DR4_REG): Renumber.
1947 (TR0_REG, TR1_REG, TR2_REG): New.
1948 (XD0_REG): Renumber.
1949 (UNSPEC_COMPACT_ARGS): New.
1950 (type): Added pt and ptabs.
1951 (length): Default to 4 on SHmedia. Default pt length to 12
1952 and 20 on SHmedia32 and SHmedia64, respectively.
1953 (pt): New function unit.
1954 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
1955 Add whitespace between operands of SHmedia instructions.
1957 (adddi3_media, addsi3_media): Adjust constraints.
1958 (subsi3) [SHmedia]: Force operand 1 into a register.
1959 (udivsi3_i1_media, udivsi3_i4_media): New.
1960 (udivsi3): Support SHmedia.
1961 (divsi3_i1_media, divsi3_i4_media): New.
1962 (divsi3): Support SHmedia.
1963 (anddi3, iordi3, xordi3): Adjust constraints.
1964 (zero_extendhidi2, zero_extendqidi2): New.
1965 (extendsidi2, extendhidi2, extendqidi2): New.
1966 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
1967 (pop_e, pop_fpul, pop_4): Likewise.
1968 (movsi_media): Support FP and BT registers.
1969 (movsi_media_nofpu): New. Adjust splits to DImode.
1970 (lduw, ldub): Renamed to zero_extend* above.
1971 (movqi_media): Fix typo.
1972 (movdi_media): Support FP and BT registers.
1973 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
1974 (movdi_const_32bit): New.
1975 (shori_media): Require immediate operand. Use `u' for output.
1976 (movdf_media, movsf_media): Simplified.
1977 (movdf_media_nofpu, movsf_media_nofpu): New.
1978 (movdf, movsf): Adjust
1979 (movv2sf, movv2sf, movv16sf): New.
1980 (beq_media, beq_media_i): Adjust constraints. Don't use
1981 scratch BT register.
1982 (bne_media, bne_media_i): Likewise.
1983 (bgt_media, bgt_media_i): Likewise.
1984 (bge_media, bge_media_i): Likewise.
1985 (bgtu_media, bgtu_media_i): Likewise.
1986 (bgeu_media, bgeu_media_i): Likewise.
1987 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
1988 bunordered): Emit jump insn. Force operands to registers when
1990 (jump_media, jump): Simplify.
1991 (call_compact, call_compact_rettramp): New.
1992 (call_value_compact, call_value_compact_rettramp): New.
1993 (call_media, call_value_media): Simplify.
1994 (sibcall_compact, sibcall_media): New.
1995 (call, call_value): Adjust for SHmedia and SHcompact.
1996 (sibcall, sibcall_value, untyped_call): Likewise.
1997 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
1998 (indirect_jump): Adjust for SHmedia.
1999 (casesi_jump_media): New.
2000 (nop): Re-enable for SHmedia.
2001 (call_site): Restrict to SH1.
2002 (casesi): Adjust for SHmedia.
2003 (casesi_shift_media, casesi_load_media): New.
2004 (return): Explicitly use PR register. Call return trampoline
2006 (return_i): Explicitly use PR register.
2007 (shcompact_return_tramp, shcompact_return_tramp_i): New.
2008 (return_media): Adjust.
2009 (shcompact_incoming_args): New.
2011 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
2012 (movstrsi): Disable on SH5.
2013 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
2014 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
2015 (subsf3, subsf3_media): Likewise.
2016 (mulsf3, mulsf3_media, mac_media): Likewise.
2017 (divsf3, divsf3_media): Likewise.
2018 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
2019 (floatsisf2, fux_truncsfsi2): Likewise.
2020 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
2022 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
2023 (cmpunsf_media, cmpsf): Likewise.
2024 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
2025 (abssf2, abssf2_media): Likewise.
2026 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
2027 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
2028 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
2029 (floatsidf2, fix_truncdfsi2): Likewise.
2030 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
2032 (cmpeqdf_media, cmpgtdf_media): Likewise.
2033 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
2034 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
2035 (absdf2, absdf2_media): Likewise.
2036 (extendsfdf2, extendsfdf2_media): Likewise.
2037 (truncsfdf2, truncsfdf2_media): Likewise.
2038 * config/sh/sh64.h: New file.
2039 * config/sh/t-sh64: New file.
2040 * config/sh/shmedia.h: New file.
2041 * config/sh/ushmedia.h: New file.
2042 * config/sh/sshmedia.h: New file.
2043 * configure.in: Added sh64-*-elf.
2044 * configure: Rebuilt.
2045 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
2046 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
2047 (reg_class_from_letter): Use `b' for TARGET_REGS.
2048 (print_operand): Support `%M', `%m', `AND' and
2049 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
2050 (andcosts): Adjust for SHmedia.
2051 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
2053 (target_reg_operand): New function.
2054 * config/sh/sh-protos.h (target_reg_operand): Declare.
2055 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
2056 FP registers on SH5.
2057 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
2059 (TARGET_REGISTER_P): New macro.
2060 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
2061 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
2062 (EXTRA_CONSTRAINT_S): New macro.
2063 (EXTRA_CONSTRAINT): Adjust.
2064 (FLOAT_TYPE_SIZE): Define to 32.
2065 (Pmode): DImode on SHmedia.
2066 (CONST_COSTS): Adjust for SHmedia literals.
2067 (PREDICATE_CODES): Added target_reg_operand.
2068 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
2069 * config/sh/sh.md: Remove all attrs from SHmedia insns.
2070 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
2071 (cmpdi): Accept SHmedia.
2072 (movdicc_false, movdicc_true): New insns.
2073 (movdicc): New expand.
2074 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
2076 (addsi3_media): Match `S' constraint.
2077 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
2078 (negdi2): Expand for SHmedia.
2079 (one_cmpldi2): New expand.
2080 (zero_extendsidi2): Change from expand to insn.
2081 (extendsidi2): Add constraints.
2082 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
2083 LD/ST address. Fix SI immediate loading split.
2084 (movhi_media, movqi_media, lduw, ldub): New insns.
2085 (movhi, movqi): Accept SHmedia.
2086 (shori_media, movdi_media): Relax input constraints. Split
2088 (movdf_media, movsf_media): New insn. New split to movdi.
2089 (movdf, movsf): Match on SHmedia.
2090 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
2091 bgeu_media): New insns and splits. New insns with `_i' suffix.
2092 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
2093 (bunordered): New expand.
2094 (jump_compact): Renamed from `jump'.
2095 (jump_media): New insn.
2097 (call_media, call_value_media): New insns.
2098 (call, call_value): Adjust.
2099 (indirect_jump_compact): Renamed from `indirect_jump'.
2100 (indirect_jump_media): New insn.
2101 (indirect_jump): New expand.
2102 (untyped_call, return): Accept SHmedia.
2103 (return_media): New insn.
2104 (prologue, epilogue, blockage): Accept SHmedia.
2105 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
2106 (sunordered): New expand.
2107 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
2108 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
2109 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
2110 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
2111 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
2112 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
2113 abssf2_media): New insns.
2114 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
2115 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
2116 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
2117 floatdidf2, floatsidf2_media, fix_truncdfdi2,
2118 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
2119 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
2120 absdf2_media): New insns.
2121 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
2122 (extendsfdf2_media, truncdfsf2_media): New insns.
2123 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
2124 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
2125 * config/sh/sh.h (CONST_OK_FOR_J): Document.
2126 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
2127 * config/sh/sh.md (adddi3): New expand.
2128 (adddi3_media, adddi3z_media): New insns.
2129 (adddi3_compact): Renamed from adddi3.
2130 (addsi3_media): Use add.l r63 to add constant zero.
2131 (subdi3): New expand.
2132 (subdi3_media): New insn.
2133 (subdi3_compact): Renamed from subdi3.
2134 (mulsidi3): New expand.
2135 (mulsidi3_media): New insn.
2136 (mulsidi3_compact): Renamed from mulsidi3.
2137 (umulsidi3): New expand.
2138 (umulsidi3_media): New insn.
2139 (umulsidi3_compact): Renamed from umulsidi3.
2140 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
2141 (ashlsi3, ashrsi3, lshrsi3): Use them.
2142 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
2143 (ashldi3, ashrdi3, lshrdi3): Use them.
2144 (zero_extendsidi2): New expand.
2145 (extendsidi2): New insn.
2146 (movsi_media): New insn. Split to movdi to load constants.
2147 (movsi): Enable for shmedia.
2148 (movdi_media): New insn. Use shori_media to load wide constants.
2149 (short_media): New insn.
2150 (movdi): Enable for shmedia.
2151 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
2152 * config/sh/sh.h (CPP_SPEC): Added `m5'.
2153 (SUBTARGET_CPP_SPEC): Added `!m5'.
2154 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
2155 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
2156 to all other SH variants.
2157 (TARGET_DEFAULT): Set to SH1_BIT.
2158 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
2159 (BITS_PER_WORD): Raise to 64 on shmedia.
2160 (MAX_BITS_PER_WORD): Change to 64.
2161 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
2162 (INT_TYPE_SIZE): Keep as 32.
2163 (UNITS_PER_WORD): Raise to 8 on shmedia.
2164 (MIN_UNITS_PER_WORD): Keep as 4.
2165 (POINTER_SIZE): Raise to 64 on shmedia.
2166 (CONST_OK_FOR_J): New macro.
2167 (CONST_OK_FOR_LETTER_P): Use it.
2168 (processor_type): Add PROCESSOR_SH5.
2169 * config/sh/sh.md: Conditionalize all expands, insns and
2170 splits to TARGET_SH1.
2172 (addsi3_compact): Renamed from...
2173 (addsi3): Now an expand.
2174 (addsi3_media, subsi3_media): New insns.
2175 (subsi3): Don't negate constants with SHmedia.
2177 * hooks.c: New file.
2178 * hooks.h: New file.
2179 * Makefile.in (HOOKS_H): New.
2180 (TARGET_DEF_H): Added $(HOOKS_H).
2181 (OBJS): Added hooks.o.
2182 (cfgcleanup.o, bb-reorder.o): Added target.h.
2183 (hooks.o): Added dependencies.
2184 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
2185 (TARGET_INITIALIZER): this.
2186 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
2187 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
2188 * bb-reorder.c: Include target.h.
2189 (reorder_basic_blocks): Skip if cannot modify jumps.
2190 * cfgcleanup.c: Include target.h.
2191 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
2193 2002-02-08 Chris Demetriou <cgd@broadcom.com>
2195 * config/mips/mips.md (casesi_internal, casesi_internal_di):
2196 Protect jump delay slot instructions with .set noreorder and
2199 2002-02-08 Chris Demetriou <cgd@broadcom.com>
2201 * config/mips/mips.md (casesi_internal_di): Calculate
2202 the index into the target offset table correctly.
2204 2002-02-08 Richard Henderson <rth@redhat.com>
2206 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
2207 * final.c (output_addr_const): Accept and discard SUBREG.
2208 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
2209 mark them unknown instead.
2210 (simplify_subtraction): Handle RTX_UNKNOWN.
2211 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
2213 2002-02-08 David Edelsohn <edelsohn@gnu.org>
2215 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
2217 2002-02-08 Richard Henderson <rth@redhat.com>
2219 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
2221 2002-02-08 Andreas Jaeger <aj@suse.de>
2223 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
2224 * config/i386/t-linux64: New file.
2226 2002-02-08 Jakub Jelinek <jakub@redhat.com>
2228 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
2229 * c-parse.in (compstmt): Clear last_expr_type.
2231 2002-02-07 Richard Henderson <rth@redhat.com>
2233 * loop.c (strength_reduce): Sink final_value when not
2236 2002-02-07 David O'Brien <obrien@FreeBSD.org>
2238 * config/sparc/freebsd.h: Fix mismatched spec {.
2240 2002-02-07 Richard Henderson <rth@redhat.com>
2242 * cfgrtl.c: Include recog.h and insn-config.h.
2243 (keep_with_call_p): Fix general_operand invocation.
2244 * Makefile.in (cfgrtl.o): Update dependencies.
2246 2002-02-07 Kazu Hirata <kazu@hxi.com>
2248 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
2249 comment. Accept HImode only if TARGET_H8300.
2251 2002-02-07 Eric Christopher <echristo@redhat.com>
2253 * config/mips/crtn.asm: Cleanup #ifdefs.
2255 2002-02-07 Eric Christopher <echristo@redhat.com>
2257 * config/mips/crti.asm: Add changes for mips16. mips16 uses
2258 register 7 as RA instead of $31.
2259 * config/mips/crtn.asm: Ditto.
2260 * config/mips/mips.c (mips_move_2words): Add case for
2261 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
2262 (compute_frame_size): Fix typo.
2263 (save_restore_insns): Ditto. Make documentation about using
2264 register $7 as return register more precise.
2265 (mips_expand_epilogue): Fix comment. Add code to work around not
2266 being able to add to the stack pointer directly.
2267 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
2268 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
2271 2002-02-07 Tom Rix <trix@redhat.com>
2273 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
2274 immediates in ldu and stdu DS opcode field.
2275 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
2276 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
2277 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
2279 2002-02-07 Jeff Sturm <jsturm@one-point.com>
2281 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
2282 offset for stack bias.
2284 2002-02-07 H.J. Lu <hjl@gnu.org>
2286 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
2288 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
2290 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
2292 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
2294 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
2295 * i386.c (x86_order_regs_for_local_alloc): New global function.
2296 * i386.h (REG_ALLOC_ORDER): CLeanup.
2297 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
2299 2002-02-07 Richard Henderson <rth@redhat.com>
2301 PR optimization/2463
2302 * alias.c (find_base_value): Recall base values for fixed hard regs.
2303 * loop.c (loop_regs_update): Don't use single_set on non-insns.
2305 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
2307 * config/mips/mips.md (define_delay) [mips16]: Adjust required
2310 2002-02-06 Richard Henderson <rth@redhat.com>
2313 * stmt.c (resolve_operand_name_1): Take more care with mixed
2314 named and unnamed operands.
2316 2002-02-06 Janis Johnson <janis187@us.ibm.com>
2317 Jan Hubicka <jh@suse.cz>
2319 * loop.c (remove_constant_addition): Avoid clobbering a shared
2322 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2324 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
2325 * config/s390/t-linux64: New file.
2326 * config/s390/libgcc-glibc.ver: New file.
2328 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2330 * config/s390/linux64.h: Delete file.
2331 * config/s390/s390x.h: New file.
2332 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
2333 as target header file.
2334 * config/s390/linux.h (TARGET_VERSION): Define depending on
2335 DEFAULT_TARGET_64BIT.
2336 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
2337 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
2338 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
2339 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
2340 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
2341 (EXTRA_SPEC): New define.
2342 * config/s390/s390.h (TARGET_VERSION): Define depending on
2343 DEFAULT_TARGET_64BIT.
2344 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
2346 2002-02-06 Jason Merrill <jason@redhat.com>
2348 * c-decl.c (finish_function): Warn about a non-void function with
2349 no return statement and no abnormal exit.
2350 (current_function_returns_abnormally): New variable.
2351 (start_function): Clear it.
2352 (struct c_language_function): Add returns_abnormally.
2353 (push_c_function_context): Save it.
2354 (pop_c_function_context): Restore it.
2355 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
2356 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
2357 an explicit return type.
2358 * c-tree.h: Declare current_function_returns_abnormally.
2359 (C_FUNCTION_IMPLICIT_INT): New macro.
2360 * c-typeck.c (build_function_call): Set it.
2361 (c_expand_return): Set current_function_returns_value even if the
2364 2002-02-06 Jakub Jelinek <jakub@redhat.com>
2367 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
2368 unsafe for reevaluation.
2370 2002-02-06 Jakub Jelinek <jakub@redhat.com>
2373 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
2374 EXPR_STMT, but COMPOUND_STMT, recurse into it.
2376 2002-02-06 Richard Henderson <rth@redhat.com>
2378 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
2379 be a general_operand. Dest for function value must be a pseudo.
2381 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
2383 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
2384 as SYMBOL_REFs from the constant pool.
2386 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
2388 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
2389 passed by invisible reference.
2391 2002-02-05 Richard Henderson <rth@redhat.com>
2393 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
2395 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
2397 Implement using "base addresses" in insn operands as default.
2398 * config/mmix/mmix.c (mmix_conditional_register_usage): if
2399 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
2400 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
2401 used to read the rtx value.
2402 (mmix_target_asm_function_epilogue): Fix spacing.
2403 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
2404 (mmix_legitimate_address): Ditto.
2405 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
2406 should be loaded with a GETA insn. Don't allocate needless extra
2407 char for nul termination and fix misleading comment.
2408 (mmix_print_operand_address): Handle constants if
2409 TARGET_BASE_ADDRESSES.
2410 (mmix_output_register_setting): Use base addressing if
2411 TARGET_BASE_ADDRESSES and the number of insns is 3.
2412 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
2413 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
2414 to use R as constraint, add LDA to match s.
2415 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
2416 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
2417 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
2418 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
2419 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
2420 order with other fixed registers.
2421 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
2422 other parameter/call-clobbered registers.
2423 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
2424 -mbase-addresses, -mno-base-addresses.
2425 (MMIX Options): Ditto.
2427 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2429 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
2431 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
2433 * config/rs6000/altivec.h: Change elem to _S_elem.
2435 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
2437 * config/netbsd.h (WCHAR_TYPE): Define.
2438 (WCHAR_TYPE_SIZE): Ditto.
2440 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
2441 (WCHAR_UNSIGNED): Ditto.
2442 (WCHAR_TYPE_SIZE): Ditto.
2444 * config/arm/netbsd.h: Likewise.
2445 * config/i386/netbsd-elf.h: Likewise.
2446 * config/i386/netbsd.h: Likewise.
2447 * config/m68k/netbsd-elf.h: Likewise.
2448 * config/m68k/netbsd.h: Likewise.
2449 * config/ns32k/netbsd.h: Likewise.
2450 * config/sparc/netbsd.h: Likewise.
2451 * config/vax/netbsd.: Likewise.
2453 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
2455 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
2456 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
2457 (TARGET_INITIALIZER): this.
2458 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
2459 (BITFIELD_NBYTES_LIMITED): Markup fix.
2460 * tree.h (default_ms_bitfield_layout_p): Declare.
2461 (record_layout_info): Added prev_field.
2462 * tree.c (default_ms_bitfield_layout_p): New fn.
2463 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
2464 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
2465 * stor-layout.c: Include target.h.
2466 (start_record_layout): Initialize prev_field.
2467 (place_field): Handle MS bit-field layout, and disregard
2468 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
2469 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
2470 * Makefile.in (stor-layout.o): Adjust dependencies.
2472 2002-02-05 Jason Merrill <jason@redhat.com>
2474 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
2476 2002-02-05 Andreas Jaeger <aj@suse.de>
2478 * crtstuff.c: Fix comments.
2480 2002-02-05 Richard Henderson <rth@redhat.com>
2483 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
2484 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
2487 * config/mips/mips.c (function_arg): Handle TImode.
2488 (function_arg_advance): Likewise.
2490 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2492 * config/rs6000/altivec.h (vec_step_help): Rename to
2495 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2497 * config/rs6000/altivec.h: Fix typos.
2499 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
2501 * config/arm/netbsd.h: Correct a comment.
2503 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2505 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
2506 building void typed builtins.
2508 * config/rs6000/altivec.h (vec_ld*): Fix typos.
2509 (vec_step): Implement for C++.
2511 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2513 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
2515 2002-02-04 Richard Henderson <rth@redhat.com>
2517 * combine.c (nonzero_bits): Re-introduce special case for
2518 sp/fp/ap wrt REGNO_POINTER_ALIGN.
2520 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2522 * doc/extend.texi: Warn about unsupported usage of altivec
2525 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
2526 (altivec_predicate_*): New.
2528 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
2529 Add C++ version of vec_*() functions.
2531 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
2532 (bdesc_2arg): Remove altivec predicates.
2533 (altivec_expand_builtin): Handle predicates.
2534 (altivec_init_builtins): Handle predicates.
2535 (altivec_expand_predicate_builtin): New.
2537 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2539 * pa.c (DO_FRAME_NOTES): Move forward.
2540 (store_reg): Revise handling of frame notes.
2541 (load_reg): Likewise.
2542 (set_reg_plus_d): Likewise.
2543 (hppa_expand_prologue): Likewise.
2544 (hppa_expand_epilogue): Likewise.
2546 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2548 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
2550 2002-02-04 Jakub Jelinek <jakub@redhat.com>
2552 PR c/4475, c++/3780:
2553 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
2554 * c-common.h (SWITCH_TYPE): Define.
2555 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
2556 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
2557 Rename spareness variable to sparseness.
2558 (expand_end_case_type): Renamed from expand_end_case, use orig_type
2559 if non-NULL instead of TREE_TYPE (orig_index).
2560 * tree.h (expand_end_case_type): Renamed from expand_end_case.
2561 (expand_end_case): Define using expand_end_case_type.
2562 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
2563 to expand_end_case_type.
2564 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
2566 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2568 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
2569 (BIGGEST_ALIGNMENT): Change to 128.
2571 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2573 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
2575 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2577 * pa.md (call_internal_reg_64bit): Remove unused variable.
2579 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
2581 * config/arm/arm.h (machine_function): Add uses_anonymous_args
2583 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
2584 * config/arm/arm.c (current_function_anonymous_args): Delete,
2585 replace uses with cfun->machine->uses_anonymous_args.
2586 (arm_reorg): Do not reset uses_anonymous_args.
2588 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
2589 any geenral register.
2591 2001-02-04 Bernd Schmidt <bernds@redhat.com>
2593 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
2596 2002-02-04 Richard Henderson <rth@redhat.com>
2598 * combine.c (force_to_mode): Remove STACK_BIAS code.
2599 (nonzero_bits): Likewise. Replace sp/fp special case with
2600 REGNO_POINTER_ALIGN.
2602 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
2603 (HARD_FRAME_POINTER_REGNUM): New.
2604 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
2605 (FIXED_REGS, CALL_USED_REGS): Update.
2606 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
2607 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
2608 (HARD_REGNO_NREGS): Update for SFP.
2609 (STACK_POINTER_OFFSET): Include bias here ...
2610 (FIRST_PARM_OFFSET): ... not here.
2611 (STACK_BIAS): Remove.
2612 (INIT_EXPANDERS): New.
2613 (STARTING_FRAME_OFFSET): Do not include bias.
2614 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
2615 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
2616 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
2617 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
2618 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
2619 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
2620 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
2621 (MUST_SAVE_REGISTER): Likewise.
2622 (sparc_flat_function_prologue): Likewise.
2623 (sparc_flat_function_epilogue): Likewise.
2624 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
2625 (sparc_init_modes): SFP is GENERAL_REGS.
2626 (sparc_builtin_saveregs): SFP does not have bias applied.
2628 2002-02-04 Richard Henderson <rth@redhat.com>
2630 * config/alpha/alpha.c (current_function_is_thunk): Don't check
2631 current_function_is_thunk.
2632 (alpha_sa_mask): Distinguish between current_function_is_thunk
2633 called from ASM_OUTPUT_MI_THUNK and not.
2634 (alpha_does_function_need_gp): Thunks always need gp.
2635 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
2636 (alpha_output_mi_thunk_osf): New.
2637 * config/alpha/alpha-protos.h: Update.
2638 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
2640 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
2642 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
2643 function types, not when they're taken away.
2645 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
2647 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
2648 CODE_LABEL and jump table when replacing a table jump with a
2651 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2653 * config/s390/s390-protos.h (legitimize_la_operand,
2654 s390_secondary_input_reload_class, s390_plus_operand,
2655 s390_expand_plus_operand): Add prototypes.
2657 config/s390/s390.c (s390_secondary_input_reload_class,
2658 s390_plus_operand, s390_expand_plus_operand): New functions.
2660 (struct s390_address): New member 'pointer'.
2661 (s390_decompose_address): Compute it.
2662 (legitimate_la_operand_p): Use it.
2663 (legitimize_la_operand): New function.
2664 (movti, movdi, movdf splitters): Call it.
2666 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
2667 (PREDICATE_CODES): Add s390_plus_operand.
2669 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
2670 (la_ccclobber): Allow GENERAL_REGS as output operand.
2672 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
2673 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
2674 (*la_64, *la_31, reload_indi, reload_insi): ... these.
2676 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2678 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
2679 register names for regular asm () construct.
2681 2002-02-04 Jakub Jelinek <jakub@redhat.com>
2683 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
2686 2002-02-04 Jakub Jelinek <jakub@redhat.com>
2688 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
2691 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
2693 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
2694 constant pool to be identical by string address and index.
2696 2002-02-04 Anthony Green <green@redhat.com>
2698 * output.h (SECTION_OVERRIDE): Define.
2699 * varasm.c (named_section): Obey SECTION_OVERRIDE.
2701 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
2703 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
2704 by existing arm*-*-netbsd* (a.out) target.
2705 (ns32k-*-netbsdelf*): Likewise.
2706 (sparc-*-netbsdelf*): Likewise.
2707 (vax-*-netbsdelf*): Likewise.
2709 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
2711 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
2712 headers and libobjc headers.
2714 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
2716 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
2717 (_mingw.h): Remove duplicate include.
2719 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
2721 * config.gcc: Set cpu_type to m68k for 68010, as well.
2722 (m68010-*-netbsdelf*): New...
2723 (m68k*-*-netbsdelf*): ...targets.
2724 * config/m68k/netbsd-elf.h: New file.
2726 2002-02-02 Kazu Hirata <kazu@hxi.com>
2728 * config/h8300/h8300.c (hand_list): Move inside function_arg.
2730 2002-02-02 Kazu Hirata <kazu@hxi.com>
2732 * config/h8300/h8300.c (h8_push_ops): Move inside
2734 (h8_pop_ops): Likewise.
2735 (h8_move_ops): Likewise.
2737 2002-02-02 Kazu Hirata <kazu@hxi.com>
2739 * config/h8300/h8300.c (os_task): Make it static.
2740 (monitor): Likewise.
2741 (pragma_saveall): Likewise.
2743 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
2745 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
2746 constant is a valid sign-extension for Pmode.
2748 2002-02-02 Kazu Hirata <kazu@hxi.com>
2750 * config/h8300/h8300.c: Fix formatting.
2752 2002-02-02 Kazu Hirata <kazu@hxi.com>
2754 * config/h8300/h8300.md: Fix formatting.
2756 2002-02-02 Kazu Hirata <kazu@hxi.com>
2758 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
2759 predicates of operands[1]. Split the patterns for each
2762 2002-02-02 Kazu Hirata <kazu@hxi.com>
2764 * config/h8300/h8300.md (xor patterns): Tighten the predicates
2765 of operands[1] to register_operand.
2767 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
2769 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
2770 * cpphash.c (_cpp_init_hashtable): Similarly.
2771 * cppinit.c (cpp_create_reader): Default the signed_char flag.
2772 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
2773 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
2774 (cpp_handle_option): Handle the new options.
2775 * cpplex.c (cpp_interpret_charconst): Use new flag.
2776 * cpplib.h (struct cpp_options): New member signed_char.
2777 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
2778 (cpp_options): Handle -fsigned-char and -funsigned-char.
2779 (static_specs): Remove signed_char_spec.
2780 (do_spec1): Don't handle %c.
2781 * system.h: Poison SIGNED_CHAR_SPEC.
2782 * tradcif.y (yylex): Use flag_signed_char.
2783 * tradcpp.h (flag_signed_char): New.
2784 * tradcpp.c (flag_signed_char): New.
2785 (main): Handle new command-line options.
2786 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
2788 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
2789 * avr/avr.h: Remove old comments.
2790 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
2791 (CC1_SPEC): Pass -fsigned-char if -mic*.
2792 (SIGNED_CHAR_SPEC): Remove.
2794 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
2796 2002-02-01 Eric Christopher <echristo@redhat.com>
2798 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
2799 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
2800 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
2801 (ASM_OUTPUT_REG_POP): Ditto.
2803 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
2805 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
2808 2002-02-02 Jakub Jelinek <jakub@redhat.com>
2810 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
2812 2002-02-02 Jakub Jelinek <jakub@redhat.com>
2815 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
2818 2002-02-01 Janis Johnson <janis187@us.ibm.com>
2820 * cfganal.c: Include tm_p.h.
2821 (keep_with_call_p): Fix the test that determines if a register holds
2822 the return value of a call.
2824 2002-02-01 DJ Delorie <dj@redhat.com>
2826 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
2827 we are given conflicting registers, switch to the other one we
2828 had allocated for us.
2829 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
2830 as TImode so we know when the "other" register is available.
2832 2002-02-01 David O'Brien <obrien@FreeBSD.org>
2834 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
2837 2002-02-01 Janis Johnson <janis187@us.ibm.com>
2839 * cfganal.c (keep_with_call_p): New function.
2840 (flow_call_edges_add): Prevent splitting a block between a call and
2841 a single-set instruction that should be kept in the same block.
2843 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
2845 * doc/install.texi (avr): Update outdated URL.
2847 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
2849 * config/stormy16/stormy16.md (pushqi): New.
2853 (movhi): Remove stack operands.
2855 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
2856 nonimmediate_nonstack_operand.
2857 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
2859 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
2862 2002-01-31 Jason Merrill <jason@redhat.com>
2864 * Makefile.in (c-parse.c): Handle .output file.
2865 * objc/Make-lang.in (objc-parse.c): Likewise.
2867 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
2869 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
2870 the -me[lb] option is given. Don't output the default flag
2873 2002-01-31 Zack Weinberg <zack@codesourcery.com>
2875 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
2876 the primary source file; this has not been done yet.
2877 * c-decl.c (c_expand_body): Reset input_filename from
2878 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
2880 2002-01-31 Kazu Hirata <kazu@hxi.com>
2882 * rtlanal.c (subreg_regno_offset): Do not use
2883 SUBREG_REGNO_OFFSET.
2884 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
2885 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
2887 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2889 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
2890 version rather than GNATS version in --version output.
2892 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
2894 * ifcvt.c (noce_process_if_block): Make a copy of the destination
2895 when copying back from a temporary.
2897 2002-01-30 Richard Henderson <rth@redhat.com>
2899 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
2900 and new_dest are the same.
2902 2002-01-30 Richard Henderson <rth@redhat.com>
2905 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
2906 * rtl.c (note_insn_name): Update.
2907 * emit-rtl.c (remove_unnecessary_notes): Kill it.
2908 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
2909 to perform loop rotation.
2910 (expand_exit_loop_top_cond): New.
2911 * tree.h (expand_exit_loop_top_cond): Declare it.
2912 * c-semantics.c (genrtl_while_stmt): Use it.
2913 (genrtl_for_stmt): Likewise.
2915 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
2917 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
2918 arguments to 64-bit boundaries on 64-bit ABIs.
2920 2002-01-30 Steve Ellcey <sje@cup.hp.com>
2922 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
2924 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2926 * c-decl.c (grokdeclarator): Handle type being a typedef for an
2929 2002-01-30 David O'Brien <obrien@FreeBSD.org>
2931 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2932 * config/sparc/sparc_bi.h: Remove file.
2933 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
2935 2002-01-30 Richard Henderson <rth@redhat.com>
2937 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
2939 2002-01-30 Zack Weinberg <zack@codesourcery.com>
2941 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
2943 2002-01-30 Jason Merrill <jason@redhat.com>
2945 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
2946 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
2947 (reg_save): Use DW_CFA_offset_extended_sf instead.
2949 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
2951 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2953 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
2956 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
2958 * rs6000.md ("*call_value_local32"): Remove constraints.
2959 ("*call_value_local64"): Same.
2960 ("*call_value_indirect_nonlocal_aix32"): Same.
2961 ("*call_value_nonlocal_aix32"): Same.
2962 ("*call_value_indirect_nonlocal_aix64"): Same.
2963 ("*call_value_nonlocal_aix64"): Same.
2964 ("*call_value_nonlocal_sysv"): Same.
2966 2002-01-29 Richard Henderson <rth@redhat.com>
2968 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
2970 2002-01-29 Richard Henderson <rth@redhat.com>
2972 * expr.c (force_operand): Ignore flag_pic for detecting pic
2974 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
2975 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
2976 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
2977 instead of open-coded loop.
2978 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
2979 be fixed when in use.
2981 2002-01-29 Richard Henderson <rth@redhat.com>
2983 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
2984 * sched-rgn.c (propagate_deps): Update them.
2985 * sched-deps.c (sched_analyze_insn): Update them. Flush the
2986 clobbers list when either gets too long.
2988 2002-01-29 Jakub Jelinek <jakub@redhat.com>
2990 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
2991 and INDEX_REGS the same as GENERAL_REGS.
2992 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
2994 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2996 * tree.c (build_nonstandard_integer_type): Correct prototype.
2998 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
3000 * config/s390/s390.md (movstrsico, movstrdix_64,
3001 movstrsix_31): Remove, replace by ...
3002 (movstrdi_short, movstrsi_short, movstrdi_long,
3003 movstrsi_long): ... these. New.
3004 (movstrdi, movstrsi): Adapt.
3006 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
3007 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
3008 Remove unnecessary CC clobber.
3009 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
3010 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
3012 (divmoddi4): Don't partially initialize TImode register.
3014 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
3016 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
3018 2002-01-29 Richard Henderson <rth@redhat.com>
3020 * flow.c (print_rtl_and_abort): Remove.
3021 (print_rtl_and_abort_fcn): Remove.
3022 (verify_local_live_at_start): Use dump_bb instead.
3023 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
3024 (verify_wide_reg_1): Return 2 on mode test failure.
3026 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
3028 PR c/3325, c/3326, c/2511, c/3347
3029 * c-decl.c (enum_decl_context): Remove BITFIELD.
3030 (grokdeclarator): Take bitfield width as an input.
3031 Ensure bitfields are given the correct type. Perform
3032 bitfield width validation with build_bitfield_integer_type
3033 rather than waiting for finish_struct.
3034 (grok_typename, grok_typename_in_parm_context, start_decl,
3035 push_parmdecl, grokfield, start_function): Update calls to
3037 (build_bitfield_integer_type): New function.
3038 (finish_struct): Move bitfield validation to grokdeclarator
3039 and build_bitfield_integer_type.
3040 * tree.c (build_nonstandard_integer_type): New function.
3041 * tree.h (build_nonstandard_integer_type): New prototype.
3043 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
3045 2002-01-29 Jakub Jelinek <jakub@redhat.com>
3048 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
3049 don't ignore unrecognized -W* options.
3050 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
3051 * cpplib.h (cpp_handle_option): Adjust prototype.
3052 * c-decl.c (c_decode_options): Pass 0 as last argument to
3056 * gcc.c (cpp_unique_options): Split from cpp_options.
3057 (cpp_options): Source cpp_unique_options.
3058 (default_compilers): Use cpp_unique_options instead of cpp_options
3059 when used together with cc1_options.
3060 (static_specs): Add cpp_unique_options.
3061 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
3062 when used together with cc1_options.
3064 2002-01-29 Kazu Hirata <kazu@hxi.com>
3066 * config/h8300/h8300-protos.h: Update the prototype of
3068 * config/h8300/h8300.c (output_a_shift): Remove an unused
3069 argument 'insn'. Remove redundant code.
3070 * config/h8300/h8300.md: Adust to the new prototype of
3073 2002-01-29 Kazu Hirata <kazu@hxi.com>
3075 * config/h8300/h8300-protos.h: Update the prototypes of
3076 emit_a_rotate and expand_a_rotate.
3077 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
3078 first argument to 'enum rtx_code'.
3079 (expand_a_rotate): Likewise.
3081 2002-01-28 Kazu Hirata <kazu@hxi.com>
3083 * config/h8300/h8300-protos.h: Update the prototype of
3085 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
3087 * config/h8300/h8300.md: Adjust to the new prototype.
3089 2002-01-28 Kazu Hirata <kazu@hxi.com>
3091 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
3094 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
3096 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
3097 is a fixed register before returning pic_offset_table_rtx.
3098 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
3099 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
3101 2002-01-28 Jason Merrill <jason@redhat.com>
3103 * dwarf2.h: Sync with src version.
3105 2002-01-28 Paul Koning <pkoning@equallogic.com>
3107 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
3109 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
3110 * doc/extend.texi (__builtin_prefetch): Update documentation:
3111 first argument is now const void ptr.
3113 2002-01-28 Kazu Hirata <kazu@hxi.com>
3115 * config/h8300/h8300-protos.h: Remove an unused prototype.
3117 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
3119 * toplev.c (lang_independent_init): Round up identifier size.
3121 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
3123 * config.gcc: Revert previous change.
3125 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
3127 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
3129 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
3131 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
3132 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
3133 other non-elf netbsd config frags.
3134 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
3135 collect2 will does that.
3136 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
3137 shared-lib frobbing will work.
3139 2002-01-28 Kazu Hirata <kazu@hxi.com>
3141 * config/h8300/h8300.h: Fix formatting.
3142 * config/h8300/h8300.md: Likewise.
3144 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
3146 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
3147 the old, removed AAA_standards fix.
3148 * fixinc/fixincl.x: Rebuilt.
3150 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
3152 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
3153 atexit call in crtbegin, hooked in after call to frame_dummy;
3154 register EH before registering __fini__start.
3156 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
3158 * config/rs6000/altivec.h: Remove spurious semicolons.
3160 2002-01-27 Kazu Hirata <kazu@hxi.com>
3162 * config/h8300/h8300.md: Replace dead bit extraction patterns
3163 with ones that work.
3165 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3167 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
3168 if not STRICT_ALIGNMENT.
3169 * rtl.h (MEM_ALIGN): Likewise.
3171 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
3173 * doc/invoke.texi (-fdump-translation-unit): Revert this
3174 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
3176 2002-01-27 Kazu Hirata <kazu@hxi.com>
3178 * config/h8300/h8300.md (define_constants): New.
3179 (anonymous patterns) Use defined constants appropriately.
3181 2002-01-27 Kazu Hirata <kazu@hxi.com>
3183 * config/h8300/h8300.c (function_arg): Remove redundant code.
3185 2002-01-26 Richard Henderson <rth@redhat.com>
3187 * sched-deps.c (reg_pending_uses_head): New.
3188 (reg_pending_barrier): Rename from reg_pending_sets_all.
3189 (find_insn_list): Don't mark inline.
3190 (find_insn_mem_list): Remove.
3191 (add_dependence_list, add_dependence_list_and_free): New.
3192 (flush_pending_lists): Replace only_write param with separate
3193 for_read and for_write parameters. Update all callers. Use
3194 add_dependence_list_and_free.
3195 (sched_analyze_1): Do not add reg dependencies here; just set
3196 the pending bits. Use add_dependence_list.
3197 (sched_analyze_2): Likewise.
3198 (sched_analyze_insn): Replace schedule_barrier_found with
3199 reg_pending_barrier. Add all dependencies for pending reg
3200 uses, sets, and clobbers.
3201 (sched_analyze): Don't add reg dependencies for calls, just
3202 set pending bits. Use regs_invalidated_by_call. Treat
3203 sched_before_next_call as a normal list, not a fake insn.
3204 (init_deps): No funny init for sched_before_next_call.
3205 (free_deps): Free pending mems lists. Don't zero reg_last.
3206 (init_deps_global): Init reg_pending_uses.
3207 (finish_deps_global): Free it.
3208 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
3209 (find_insn_mem_list): Remove.
3210 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
3211 (propagate_deps): Use them. Zero temp mem lists.
3213 2002-01-26 Richard Henderson <rth@redhat.com>
3215 * Makefile.in (CRTSTUFF_CFLAGS): New.
3216 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
3217 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
3218 crtstuff.c instead of alpha assembly version.
3219 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
3220 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
3221 not FORCE_{INIT,FINI}_SECTION_ALIGN.
3222 (__do_global_dtors_aux): Mark used.
3223 (frame_dummy, __do_global_ctors_aux): Mark used.
3224 (fini_dummy, init_dummy): Remove.
3226 * config/alpha/crtbegin.asm: Remove file.
3227 * config/alpha/crtend.asm: Remove file.
3228 * config/alpha/t-crtbe: Remove file.
3229 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
3230 (LINK_EH_SPEC): New.
3232 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
3233 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
3234 calling constructors.
3235 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
3237 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
3238 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
3239 CRT_END_INIT_DUMMY hack.
3240 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
3241 FORCE_{INIT,FINI}_SECTION_ALIGN.
3243 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
3244 FORCE_{INIT,FINI}_SECTION_ALIGN.
3246 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
3247 invocation sequence.
3248 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
3250 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
3251 (FORCE_CODE_SECTION_ALIGN): New.
3253 2002-01-26 Richard Henderson <rth@redhat.com>
3255 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
3257 2002-01-26 Richard Henderson <rth@redhat.com>
3259 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
3260 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
3262 2002-01-26 Kazu Hirata <kazu@hxi.com>
3264 * config/h8300/h8300.md: Remove bit extraction patterns that
3265 cannot be triggered.
3266 Restrict each bit extraction pattern to a variant on which the
3269 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
3271 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
3273 2002-01-26 Kazu Hirata <kazu@hxi.com>
3275 * config/h8300/h8300.md: Remove bit test patterns that cannot
3277 Restrict each bit test pattern to a variant on which the
3280 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3282 * builtins.c (expand_builtin_strncat): Remove redundant check for
3285 2002-01-25 David O'Brien <obrien@FreeBSD.org>
3287 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
3289 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
3292 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
3294 * dbxout.c (dbxout_init): Use assemble_name rather than just
3295 stripping off the first character.
3296 (dbxout_source_file): Likewise.
3298 2002-01-25 DJ Delorie <dj@redhat.com>
3300 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
3301 using rtx_equal_p, not by comparing pointers.
3303 2002-01-25 Steve Ellcey <sje@cup.hp.com>
3305 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
3306 for PIC_OFFSET_TABLE_REGNUM.
3307 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
3309 2002-01-25 David O'Brien <obrien@FreeBSD.org>
3311 * config.gcc (x86_64-*-freebsd*): New target.
3312 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
3314 (i[34567]86-*-freebsd*): Don't include svr4.h.
3315 * config/i386/freebsd64.h: New file.
3317 2002-01-25 Douglas B Rupp <rupp@gnat.com>
3319 * config/alpha/x-vms (version): Make static.
3321 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
3322 in previous checkin.
3324 * Makefile.in (install-headers-cp): New target.
3325 * config.gcc (alpha-dec-*vms*): Install headers with
3328 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
3330 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
3333 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3335 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
3336 of compare_tree_int.
3337 (expand_builtin_strncat): Likewise.
3338 * c-decl.c (finish_struct): Use tree_low_cst.
3339 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
3340 * tree.c (compare_tree_int): Likewise.
3342 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
3344 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
3345 adjustments even if they are implemented by more than two insns.
3347 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
3349 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
3350 * df.h (struct ref): Kill B.
3351 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
3353 * basic-block.h (PROP_EQUAL_NOTES): New flag.
3354 * flow.c (propagate_one_insn): Use it.
3355 (mark_used_regs): Handle NIL.
3357 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
3359 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
3362 2002-01-25 David Edelsohn <edelsohn@gnu.org>
3364 * rs6000.md (prefetch): Make address V4SI mode so that the address
3365 is restricted to legitimate form for instruction.
3367 2002-01-25 Bob Wilson <bob.wilson@acm.org>
3369 * doc/install.texi (xtensa-*-elf): New target.
3370 (xtensa-*-linux*): New target.
3371 * doc/contrib.texi: Add myself.
3373 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
3375 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
3376 purpose register to hold an SImode (or smaller) value.
3378 2002-01-25 Jakub Jelinek <jakub@redhat.com>
3380 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
3382 * crtstuff.c: Likewise.
3384 2002-01-25 Kazu Hirata <kazu@hxi.com>
3386 * config/h8300/h8300.md (negation patterns): Tighten
3387 predicates to register_operand.
3389 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
3391 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
3394 * builtins.c (expand_builtin_prefetch): Same.
3396 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3398 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
3401 2002-01-24 Kazu Hirata <kazu@hxi.com>
3403 * config/h8300/h8300.c (print_operand): Remove support for
3404 operand character 'A'.
3405 * config/h8300/h8300.md (three anonymous patterns): Replace
3406 operand character 'A' with either 'T' or 'S'.
3408 2002-01-24 Kazu Hirata <kazu@hxi.com>
3410 * config/h8300/h8300.c (print_operand): Remove support for
3411 operand character 'U'.
3413 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
3415 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
3417 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
3419 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
3420 values to be assigned to the stack pointer.
3422 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
3424 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
3425 to const_double needs to be done right for big-endian systems.
3427 2002-01-24 Jason Merrill <jason@redhat.com>
3430 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
3431 to can_throw_internal.
3433 2002-01-23 Richard Henderson <rth@redhat.com>
3435 * fold-const.c (fold): Change UINT_MAX test to check vs precision
3436 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
3438 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3440 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
3441 (symGOT2reg): Use them, then set as GOT value as unchanging.
3442 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
3443 as a temporary, if possible.
3444 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
3445 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
3447 2002-01-23 Kazu Hirata <kazu@hxi.com>
3449 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
3450 accept to accept 0x80 as operands[2].
3452 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3454 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
3456 2002-01-23 Richard Henderson <rth@redhat.com>
3458 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
3460 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
3462 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
3463 (parmlist_or_identifiers_1): Verify that only a parmlist follows
3466 2002-01-23 Richard Henderson <rth@redhat.com>
3468 * expr.c (move_by_pieces_1): Extend size before negation.
3470 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
3471 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
3472 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
3473 * config/m68k/t-m68kelf: Likewise.
3475 2002-01-23 Bob Wilson <bob.wilson@acm.org>
3477 * config/xtensa/elf.h: New file.
3478 * config/xtensa/lib1funcs.asm: New file.
3479 * config/xtensa/lib2funcs.S: New file.
3480 * config/xtensa/linux.h: New file.
3481 * config/xtensa/t-xtensa: New file.
3482 * config/xtensa/xtensa-config.h: New file.
3483 * config/xtensa/xtensa-protos.h: New file.
3484 * config/xtensa/xtensa.c: New file.
3485 * config/xtensa/xtensa.h: New file.
3486 * config/xtensa/xtensa.md: New file.
3487 * config.gcc (xtensa-*-elf*): New target.
3488 (xtensa-*-linux*): New target.
3489 * cse.c (canon_hash): Compare rtx pointers instead of register
3490 numbers. This is required for the Xtensa port.
3491 * integrate.c (copy_insn_list): Handle case where the static
3492 chain is in memory and the memory address has to be copied to
3494 * doc/invoke.texi (Option Summary): Add Xtensa options.
3495 (Xtensa Options): New node.
3496 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
3498 2002-01-23 Zack Weinberg <zack@codesourcery.com>
3500 * diagnostic.c (internal_error): Do ICE suppression only
3501 when ENABLE_CHECKING is not defined.
3503 * c-typeck.c (require_complete_type): Return error_mark_node
3504 if type is error_mark_node.
3506 2002-01-23 Janis Johnson <janis187@us.ibm.com>
3508 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
3509 -Os and issue a warning.
3511 2002-01-23 Zack Weinberg <zack@codesourcery.com>
3513 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
3514 current (lack of) need for host configuration by hand.
3516 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
3517 references. Documentation of some target macros moved from
3518 hostconfig.texi to tm.texi.
3520 2002-01-23 Will Cohen <wcohen@redhat.com>
3522 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
3525 2002-01-23 Kazu Hirata <kazu@hxi.com>
3527 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
3530 2002-01-23 Jason Merrill <jason@redhat.com>
3532 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
3534 * function.c (assign_parms): Don't put args of inline functions
3535 into registers when not optimizing.
3537 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
3539 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
3540 (prologue_use): New pattern.
3541 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
3542 preference to gen_rtx_USE.
3543 (thumb_expand_prologue): Use gen_prologue_use in preference to
3545 (thumb_expand_epilogue): Use gen_prologue_use in preference to
3548 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
3550 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
3552 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
3555 * doc/extend.texi: Correct documentation of __alignof__.
3557 2002-01-22 Zack Weinberg <zack@codesourcery.com>
3559 * params.h: Rename arguments of DEFPARAM so that it will be
3560 recognized as a translation keyword.
3562 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
3564 * extend.texi: Document altivec functions.
3565 Fix N-bit adjectives in X86 builtin documentation.
3567 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
3569 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
3570 auto_inc_dec values.
3572 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
3574 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
3576 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
3578 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
3580 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
3582 2002-01-22 Richard Henderson <rth@redhat.com>
3584 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
3585 copy_insn not copy_rtx.
3587 2002-01-23 Alan Modra <amodra@bigpond.net.au>
3589 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
3590 "nonzero" as that might add "1" bits. Ensure "constop" is
3591 properly sign extened.
3592 (force_to_mode): Tweak for sign extended constop.
3594 2002-01-22 Richard Henderson <rth@redhat.com>
3596 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
3597 for_each_rtx instead of assuming we're already looking at the MEM.
3598 (split_small_symbolic_mem_operand): Likewise.
3599 * config/alpha/alpha.h (PREDICATE_CODES): Update.
3600 * config/alpha/alpha.md (small symbolic memory splitters): Update.
3602 2002-01-22 Richard Henderson <rth@redhat.com>
3604 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
3605 sequence number for the literal.
3606 (divmoddi_internal_er): Likewise.
3608 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
3611 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
3612 in LIBICONV variable.
3613 * configure: Regenerated.
3615 2002-01-22 Krister Walfridsson <cato@df.lth.se>
3617 * dependence.c (build_def_use): Remove array_idx.
3619 * dwarfout.c (last_filename): Remove.
3620 (output_compile_unit_die): Remove last_filename.
3622 2002-01-22 Roger Sayle <roger@eyesopen.com>
3623 Richard Henderson <rth@redhat.com>
3626 * fold-const.c (fold): Optimize unsigned comparisons against
3627 UINT_MAX (and similar unsigned constants).
3629 2002-01-22 Janis Johnson <janis187@us.ibm.com>
3631 * Makefile.in (loop.o): Depend on OPTABS_H.
3632 * loop.c (emit_prefetch_instructions): Check the prefetch operand
3633 against the predicate.
3636 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
3637 for the address operand.
3639 2002-01-22 Richard Henderson <rth@redhat.com>
3641 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
3643 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
3646 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
3649 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
3651 * config.gcc (x86_64-*-netbsd*): New target.
3652 * config/i386/netbsd64.h: New file.
3654 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
3656 * regrename.c (kill_value): Fix typo.
3658 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
3660 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
3662 * config/rs6000/rs6000.h: Same.
3664 * function.c (instantiate_virtual_regs): Remove
3665 STARTING_FRAME_PHASE.
3666 (assign_stack_local_1): Same.
3667 Calculate frame phase.
3669 2002-01-22 Nick Clifton <nickc@redhat.com>
3671 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
3672 variable declaration to outer scope in order to simplify
3674 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
3675 arm_hard_regno_mode_ok.
3676 * config/arm/arm-protos.h: Add a prototype for
3677 arm_hard_regno_mode_ok.
3678 * config/arm/arm.c (soft_df_operand): Remove now redundant
3679 check for DImode values using IP_REGNUM.
3680 (nonimmediate_soft_df_operand): Remove now redundant check for
3681 DImode values using IP_REGNUM.
3682 (arm_hard_regno_mode_ok): New function. New check: make sure
3683 that DImode values are not stored in IP_REGNUM.
3685 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
3687 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
3689 2002-01-22 Jason Merrill <jason@redhat.com>
3691 * c-semantics.c (genrtl_compound_stmt): Only check nesting
3692 consistency if this COMPOUND_STMT is scoped.
3694 2002-01-22 Kazu Hirata <kazu@hxi.com>
3696 * predict.c: Fix formatting.
3697 * print-tree.c: Likewise.
3698 * protoize.c: Likewise.
3701 * sbitmap.h: Likewise.
3703 * sched-deps.c: Likewise.
3704 * sched-vis.c: Likewise.
3705 * sdbout.c: Likewise.
3706 * sibcall.c: Likewise.
3708 * ssa-ccp.c: Likewise.
3709 * ssa-dce.c: Likewise.
3711 * stor-layout.c: Likewise.
3712 * system.h: Likewise.
3714 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3716 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
3717 if fits in bounds of base type.
3719 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
3720 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
3721 (add_bound_info, default): If can't find a context, make a
3723 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
3725 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
3727 * c-typeck.c (parser_build_binary_op): If result from
3728 build_binary_op is ERROR_MARK just return error_mark_node without
3731 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
3733 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
3734 Split a.out-specific bits into...
3735 * config/netbsd-aout.h: ...this.
3736 * config/netbsd-elf.h: New file.
3737 * config/alpha/netbsd-elf.h: Remove.
3738 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
3739 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
3740 (STARTFILE_SPEC): Remove redundant definition.
3741 (ENDFILE_SPEC): Likewise.
3742 (LINK_SPEC): Likewise.
3743 (CPP_SPEC): Likewise.
3744 (ASM_SPEC): Likewise.
3745 (LIB_SPEC): Likewise.
3746 (SWITCH_TAKES_ARG): Likewise.
3747 (TARGET_MEM_FUNCTIONS): Likewise.
3748 (CPP_PREDEFINES): Redefine.
3749 (ASM_FINAL_SPEC): Remove redefinition.
3750 (ASM_COMMENT_START): Redefine.
3751 (FUNCTION_PROFILER): Define.
3752 (TARGET_VERSION): Redefine.
3753 Comment and formatting cleanup.
3754 * config/i386/netbsd.h: Include <netbsd-aout.h>.
3755 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
3756 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
3757 big- or little-endian.
3758 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
3759 * config.gcc (*-*-netbsd*): Add definitions common to all
3761 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
3762 gnu_ld definitions. Add netbsd-elf.h to and remove
3763 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
3764 tmake_file, and don't lose previous tmake_file contents.
3765 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
3766 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
3767 gnu_ld definitions. Add netbsd-elf.h to tm_file.
3768 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
3769 (mipsel-*-netbsd*): Rename this to...
3770 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
3771 mips/little.h to tm_file for mips*el-*.
3772 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
3773 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
3774 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
3776 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
3778 * pa-protos.h (reg_before_reload_operand): New function prototype.
3779 * pa.c (reg_before_reload_operand): New function implementation.
3780 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
3783 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3785 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
3787 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
3789 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
3790 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
3791 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
3792 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
3793 (ENDFILE_SPEC): Undefine.
3794 (STARTFILE_SPEC): Redefine for PA.
3796 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3798 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
3800 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
3802 * config.gcc: Add entries to supported PowerPC --with-cpu
3805 2002-01-21 Jakub Jelinek <jakub@redhat.com>
3807 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
3808 true for 64-bit mode only SSE registers in 32-bit mode.
3810 2002-01-21 Kazu Hirata <kazu@hxi.com>
3812 * unwind-dw2.c: Fix formatting.
3813 * unwind-dw2-fde.c: Likewise.
3814 * unwind-dw2-fde.h: Likewise.
3815 * unwind-pe.h: Likewise.
3816 * varasm.c: Likewise.
3817 * varray.h: Likewise.
3819 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
3821 Remove workaround for register stack overwrite bug in mmix.
3822 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
3823 support for TARGET_REG_STACK_FILL_BUG.
3824 * config/mmix/mmix.h: Remove member has_call_without_parameters.
3825 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
3827 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
3828 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
3829 -mno-reg-stack-fill-bug-workaround.
3830 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
3831 machine member has_call_without_parameters.
3832 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
3833 -mreg-stack-fill-bug-workaround and
3834 -mno-reg-stack-fill-bug-workaround.
3835 (MMIX Options): Ditto.
3837 2002-01-21 Kazu Hirata <kazu@hxi.com>
3839 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
3841 Remove redundant code.
3843 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
3845 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
3846 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3847 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
3848 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
3849 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
3850 out target macro definitions and non-target-specific comments
3851 mostly taken from old versions of the manual.
3853 2002-01-20 Kazu Hirata <kazu@hxi.com>
3855 * config/h8300/h8300.h: Fix comment formatting.
3856 * config/ia64/aix.h: Likewise.
3857 * config/ia64/ia64-protos.h: Likewise.
3858 * config/ia64/ia64.c: Likewise.
3859 * config/ia64/ia64.h: Likewise.
3860 * config/ia64/ia64intrin.h: Likewise.
3861 * config/ia64/linux.h: Likewise.
3862 * config/ia64/unwind-aix.c: Likewise.
3863 * config/ia64/unwind-ia64.c: Likewise.
3865 2002-01-20 Kazu Hirata <kazu@hxi.com>
3867 * config/h8300/h8300.c: Revise comments about shift code.
3869 2002-01-20 Kazu Hirata <kazu@hxi.com>
3871 * config/h8300/h8300.c (function_arg): Update a comment.
3873 2002-01-20 Kazu Hirata <kazu@hxi.com>
3875 * config/h8300/h8300.md: Update the comments at the beginning
3878 2002-01-20 Kazu Hirata <kazu@hxi.com>
3880 * config/i370/i370.c: Fix comment formatting.
3881 * config/i370/i370.h: Likewise.
3882 * config/i370/i370.md: Likewise.
3883 * config/i370/linux.h: Likewise.
3885 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3887 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
3889 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
3890 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
3893 2002-01-20 Graham Stott <grahams@redhat.com>
3895 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
3897 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
3899 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
3901 2002-01-19 Tom Rix <trix@redhat.com>
3903 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
3905 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
3907 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
3909 * function.c (assign_stack_local_1): Adjust x_frame_offset with
3910 STARTING_FRAME_PHASE.
3911 (STARTING_FRAME_PHASE): New.
3912 (instantiate_virtual_regs): Check saneness of
3913 STARTING_FRAME_PHASE.
3915 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
3917 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
3919 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
3921 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
3923 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
3924 be used for bootstrapping GCC 3.0.
3926 2002-01-18 Kazu Hirata <kazu@hxi.com>
3928 * config/h8300/h8300.md: Fix an insn length.
3930 2002-01-18 Kazu Hirata <kazu@hxi.com>
3932 * bitmap.h: Fix comment formatting.
3933 * combine.c: Likewise.
3934 * cppfiles.c: Likewise.
3935 * c-pragma.h: Likewise.
3936 * c-typeck.c: Likewise.
3938 * dwarf2out.c: Likewise.
3939 * function.c: Likewise.
3941 * genattrtab.c: Likewise.
3942 * gthr-win32.h: Likewise.
3943 * haifa-sched.c: Likewise.
3944 * predict.c: Likewise.
3945 * rtlanal.c: Likewise.
3947 * unwind-dw2-fde.h: Likewise.
3948 * unwind-pe.h: Likewise.
3949 * vmsdbgout.c: Likewise.
3951 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3953 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
3954 if type_required and passed decl.
3956 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
3958 * config.gcc (cpu_type): Include altivec.h in powerpc
3962 * config/rs6000/altivec.h: New.
3964 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3966 * doc/install.texi (*-ibm-aix*): Update assembler and exception
3967 handling information.
3968 * doc/trouble.texi (Interoperation): Add libstdc++ information
3970 (Misunderstandings): Add template instantiation and static template
3971 member information for AIX.
3973 2002-01-17 Jason Merrill <jason@redhat.com>
3975 * dbxout.c (dbxout_type): Support const and volatile.
3977 * except.c (add_partial_entry): Remove backwards compatibility code.
3978 (end_protect_partials): Likewise.
3980 2002-01-17 Jakub Jelinek <jakub@redhat.com>
3982 * config/ia64/ia64.md (prologue_use): New.
3983 * config/ia64/ia64.c (ia64_expand_prologue): Use
3984 gen_prologue_use instead of gen_rtx_USE.
3985 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
3986 as CODE_FOR_pred_rel_mutex.
3987 (ia64_sched_reorder2): Likewise.
3989 2002-01-16 Eric Christopher <echristo@redhat.com>
3991 * config/mips/r3900.h: Reformat.
3992 (SUBTARGET_CPP_SIZE_SPEC): Remove.
3993 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
3994 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
3995 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
3996 * config/mips/t-elf: Remove mips3 multilib.
3998 2002-01-16 H.J. Lu <hjl@gnu.org>
4000 * config/mips/linux.h: Include "mips/abi64.h".
4002 2002-01-16 H.J. Lu <hjl@gnu.org>
4004 * config/mips/t-linux: New.
4006 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
4008 * config/mips/linux.h: Don't include "gofast.h".
4009 (INIT_SUBTARGET_OPTABS): Removed.
4011 2002-01-16 Kazu Hirata <kazu@hxi.com>
4013 * config/h8300/h8300-protos.h: Replace emit_a_shift with
4015 * config/h8300/h8300.c: Likewise.
4016 * config/h8300/h8300.md: Likewise.
4018 2002-01-16 Kazu Hirata <kazu@hxi.com>
4020 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
4021 spaces after an opcode name.
4022 (pushqi1_h8300hs): Likewise.
4023 (pushhi1_h8300hs): Likewise.
4025 2002-01-16 Kazu Hirata <kazu@hxi.com>
4027 * doc/extend.texi: Replace "option" with "attribute"
4030 2002-01-16 Jakub Jelinek <jakub@redhat.com>
4032 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
4033 (and:DI () (const_int -8)).
4034 (split_small_symbolic_mem_operand): Split
4035 (mem (and:DI () (const_int -8)).
4037 2002-01-16 Jakub Jelinek <jakub@redhat.com>
4040 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
4041 same way as TYPE_IMUL.
4042 (ultrasparc_sched_reorder): Likewise.
4043 * config/sparc/sparc.md (type): Add comment to update
4044 ultrasparc_sched_reorder when making changes.
4046 2002-01-16 Kazu Hirata <kazu@hxi.com>
4048 * doc/invoke.texi: Change the dump file name of block
4049 reordering pass from 28.bbro to 29.bbro.
4052 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
4054 * i386.md (minsf splitter): Fix pasto.
4056 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
4058 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
4059 to frame pointer initialisation instruction.
4060 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
4061 initialisation instruction.
4062 (soft_df_operand): Do not accept the IP register.
4063 (nonimmediate_soft_df_operand): Do not accept the IP register.
4065 2002-01-16 Jakub Jelinek <jakub@redhat.com>
4068 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
4069 MASK_V8 being both set.
4071 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
4073 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
4074 insn for GOT register; add REG_MAYBE_DEAD notes instead.
4075 config/s390/s390.md (call, call_value): Add GOT register to
4076 CALL_INSN_FUNCTION_USAGE where needed.
4077 (call_exp, call_value_exp): New.
4079 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
4081 * config/arm/arm.c: General formatting tidy up.
4083 2002-01-16 Graham Stott <grahams@redhat.com>
4085 * calls.c (try_to_integrate): Use "(size_t)" intermediate
4086 cast and when casting an integer literal to "rtx" pointer.
4087 (expand_call): Likewise.
4088 * flow.c (try_pre_increment): Likewise.
4089 (find_use_as_address): Likewise.
4090 * integrate.c (expand_iline_function): Likewise.
4091 * regmove.c (try_auto_increment): Likewise.
4093 2002-01-16 Graham Stott <grahams@redhat.com>
4095 * sched-rgn.c (passed): Use sbitmap_free.
4098 (in_queue): Likewise.
4099 (in_stack): Likewise.
4101 2002-01-15 Eric Christopher <echristo@redhat.com>
4103 * flow.c (propagate_one_insn): Change to use fatal_insn.
4105 2002-01-15 Kazu Hirata <kazu@hxi.com>
4107 * expmed.c (extract_fixed_bit_field): Remove unused code.
4108 * system.h: Poison SLOW_ZERO_EXTEND.
4109 * doc/tm.texi: Remove.
4110 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
4111 * config/arm/arm.h: Likewise.
4112 * config/avr/avr.h: Likewise.
4113 * config/clipper/clipper.h: Likewise.
4114 * config/convex/convex.h: Likewise.
4115 * config/d30v/d30v.h: Likewise.
4116 * config/dsp16xx/dsp16xx.h: Likewise.
4117 * config/elxsi/elxsi.h: Likewise.
4118 * config/fr30/fr30.h: Likewise.
4119 * config/h8300/h8300.h: Likewise.
4120 * config/i370/i370.h: Likewise.
4121 * config/i386/i386.h: Likewise.
4122 * config/m68k/m68k.h: Likewise.
4123 * config/mips/mips.h: Likewise.
4124 * config/ns32k/ns32k.h: Likewise.
4125 * config/pdp11/pdp11.h: Likewise.
4126 * config/pj/pj.h: Likewise.
4127 * config/s390/s390.h: Likewise.
4128 * config/sh/sh.h: Likewise.
4129 * config/stormy16/stormy16.h: Likewise.
4130 * config/v850/v850.h: Likewise.
4131 * config/vax/vax.h: Likewise.
4132 * config/we32k/we32k.h: Likewise.
4134 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
4136 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
4137 (altivec_lvsl): Change constraint to b.
4138 (altivec_lvsr): Same.
4139 (altivec_lvebx): Same.
4140 (altivec_lvehx): Same.
4141 (altivec_lvewx): Same.
4142 (altivec_lvxl): Same.
4143 (altivec_lvx): Same.
4144 (altivec_stvx): Add parallel.
4145 (altivec_stvxl): Same.
4146 (altivec_stvehx): Same.
4147 (altivec_stvebx): Same.
4148 (altivec_stvebx): Same.
4150 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
4152 * config.gcc: Change altivec.h to altivec-defs.h.
4154 * config/rs6000/altivec.h: Delete.
4156 * config/rs6000/altivec-defs.h: Add.
4158 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4160 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
4163 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
4164 less than or equal to eight bytes.
4166 * vax.md (andsi3): Remove constraints and change SET destination
4167 operand type to nonimmediate_operand.
4168 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
4169 when it is a CONST_INT.
4171 2002-01-15 Jason Merrill <jason@redhat.com>
4173 * c-common.def (FILE_STMT): New code.
4174 * c-common.c (statement_code_p): It's a statement.
4175 * c-common.h (stmt_tree_s): Add x_last_filename.
4176 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
4177 (last_expr_filename): New macro.
4178 * c-semantics.c (begin_stmt_tree): Initialize it.
4179 (add_stmt): If the filename changed, also insert a
4181 (expand_stmt): Handle seeing one.
4183 2002-01-15 Eric Christopher <echristo@redhat.com>
4185 * flow.c (propagate_one_insn): Add error message and print out
4188 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
4190 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
4191 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
4192 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
4193 TRAMPOLINE_ALIGNMENT.
4194 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
4196 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
4197 PCC_BITFIELD_TYPE_MATTERS.
4198 * config/interix.h (STDC_VALUE): Remove. Use
4199 STDC_0_IN_SYSTEM_HEADERS.
4200 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
4201 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
4202 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
4204 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
4206 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
4207 not work on this platform currently.
4209 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
4211 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
4212 readonly_warning in _().
4214 2002-01-15 Douglas B Rupp <rupp@gnat.com>
4216 * gcc.c (delete_if_ordinary): Backout previous change.
4218 2002-01-15 Kazu Hirata <kazu@hxi.com>
4220 * config/h8300/h8300.c (print_operand): Remove support for
4221 unused operand characters.
4223 * read-rtl.c: Fix formatting.
4225 * recog.c: Likewise.
4226 * regclass.c: Likewise.
4227 * regmove.c: Likewise.
4228 * reg-stack.c: Likewise.
4229 * reload1.c: Likewise.
4230 * rtlanal.c: Likewise.
4232 2002-01-15 Kazu Hirata <kazu@hxi.com>
4234 * config/i386/i386.c: Fix formatting.
4236 2002-01-15 Jakub Jelinek <jakub@redhat.com>
4238 * c-typeck.c (process_init_element): Don't save_expr
4239 COMPOUND_LITERAL_EXPR if just its initializer will be used.
4241 2002-01-15 David Edelsohn <edelsohn@gnu.org>
4243 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
4244 emit optional traceback table if optimize_size or TARGET_ELF.
4245 * config/rs6000/rs6000.md (prefetch): New.
4247 2002-01-15 Andreas Jaeger <aj@suse.de>
4249 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
4251 2002-01-15 Kazu Hirata <kazu@hxi.com>
4253 * mips-tfile.c: Fix formatting.
4255 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
4257 * unroll.c (final_reg_note_copy): Fix previous commit.
4259 2002-01-14 Kazu Hirata <kazu@hxi.com>
4261 * config/h8300/h8300-protos.h: Remove the prototype for
4263 * config/h8300/h8300.c (eq_operator): Remove.
4265 2002-01-14 Richard Henderson <rth@redhat.com>
4267 * config/i386/i386.md (prefetch): Tidy.
4268 (prefetch_3dnow): Fix locality operand.
4270 2002-01-14 Richard Henderson <rth@redhat.com>
4272 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
4273 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
4275 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
4277 * reload1.c (reload_combine): Pass reg_sum replacement through
4278 copy_rtx in loop performing multiple changes.
4280 2002-01-14 Jakub Jelinek <jakub@redhat.com>
4282 * except.c (remove_unreachable_regions): New.
4283 (free_eh_status): Clear exception_handler_labels.
4284 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
4285 (find_exception_handler_labels): Don't add the same label more than
4287 (remove_exception_handler_label): Don't die if
4288 find_exception_handler_labels hasn't been called for the current
4291 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
4293 * toplev.c (rest_of_compilation): Rebuild jump labels after
4296 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
4298 * doc/extend.texi: Move documentation of X86 built-in functions
4300 * doc/invoke.texi: From here.
4301 * doc/sourcebuild.texi: Document location of documentation for
4302 machine built-in functions.
4304 2002-01-13 Christopher Faylor <cgf@redhat.com>
4306 * cppfiles.c (TEST_THRESHOLD): New macro.
4307 (SHOULD_MMAP): Ditto.
4308 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
4311 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
4313 * unroll.c (final_reg_note_copy): Properly handle
4315 (unroll_loops): Fix LOOP_CONDITION heuristics.
4317 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
4319 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
4320 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
4322 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
4324 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
4327 2002-01-14 Tom Rix <trix@redhat.com>
4329 * config/rs6000/rs6000.md: Fix typo with sradi.
4331 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
4333 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
4334 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
4335 (clrstrdi, clrstrsi): Adapt callers.
4337 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
4339 (movti splitter): Never use register 0 as base register.
4341 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
4343 * combine.c (simplify_shift_const): Always generate new rtx
4344 for shift expression instead of reusing given expression.
4346 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4348 * config/alpha/alpha.c (alpha_expand_mov): Don't call
4349 alpha_legitimize_address unless mode is Pmode.
4351 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
4353 * doc/md.texi (Modifiers): Document the '*' constraint for the
4356 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
4357 * doc/extend.texi (Function Attributes): 'interrupt' is valid
4360 2002-01-13 Richard Henderson <rth@redhat.com>
4362 * reload.c (find_reloads): Use a hard reg destination as reload reg
4363 for an input reload of the source.
4365 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4367 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
4370 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
4372 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4373 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4375 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
4377 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4379 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
4381 2002-01-12 Tom Rix <trix@redhat.com>
4383 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
4386 2002-01-12 Richard Henderson <rth@redhat.com>
4388 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
4390 * doc/invoke.texi: Update Alpha options.
4392 * doc/invoke.texi: Update i386 built-in function lists.
4394 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
4396 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
4397 referencing outside.
4399 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4401 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
4402 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
4403 offsets, and change line folding.
4404 * optabs.c (expand_binop): Remove warnings.
4405 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
4407 2002-01-12 Graham Stott <grahams@redhat.com>
4409 * attribs.c (handle_deprecated_attribute): constify WHAT.
4410 * diagnostic.c (warn_deprecated_use): Add braces, fixes
4411 dangling else warning and constify WHAT.
4412 * except.h (struct function, struct inline_remap): Move
4413 struct tag forward defs before all prototypes.
4414 (duplicate_eh_regions): Whitespace.
4416 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
4418 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
4419 MODE_BASE_REG_CLASS.
4420 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
4422 2002-01-12 Richard Henderson <rth@redhat.com>
4424 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
4425 (ix86_expand_vector_move): New.
4426 (bdesc_2arg): Remove andps, andnps, orps, xorps.
4427 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
4428 Remove old prefetch builtins. Special case the logicals removed above.
4429 (ix86_expand_builtin): Likewise.
4430 (safe_vector_operand): Use V4SFmode, not TImode.
4431 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
4432 (ix86_expand_timode_binop_builtin): New.
4433 * config/i386/i386-protos.h: Update.
4434 * config/i386/i386.h (enum ix86_builtins): Update.
4435 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
4436 Use ix86_expand_vector_move in vector move expanders.
4437 (movti_internal, movti_rex64): Add xorps alternative.
4438 (sse_clrv4sf): Rename and adjust from sse_clrti.
4439 (prefetch): Don't work so hard.
4440 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
4441 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
4442 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
4444 2002-01-11 Richard Henderson <rth@redhat.com>
4446 * config/i386/mmintrin.h: New file.
4447 * config/i386/xmmintrin.h: New file.
4448 * config.gcc (i?86-*-*): Add extra_headers.
4449 * simplify-rtx.c (simplify_unary_operation): Handle saturating
4451 (simplify_binary_operation): Handle saturating arithmetic codes.
4452 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
4453 not the lowpart subreg.
4454 (ix86_expand_builtin): Return a TImode dummy register instead of 0
4456 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
4458 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4460 * conflict.c (conflict_graph_compute): Free regsets when finished.
4461 * ssa.c (compute_coalesced_reg_partition): Likewise.
4463 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4465 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
4466 every where we allocate a register.
4468 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4470 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
4471 * lcm.c (compute_earliest, compute_farthest): Likewise.
4473 2002-01-11 Janis Johnson <janis187@us.ibm.com>
4475 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
4477 2002-01-11 Janis Johnson <janis187@us.ibm.com>
4479 * doc/rtl.texi (Insns): Fix 2 typos.
4481 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4483 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
4484 options. Use @table @gcctabopt for MMIX options. Add index
4485 entries for MMIX options. Start new paragraph with first
4486 heading of the machine-dependent options.
4488 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
4491 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
4492 * combine.c (force_to_mode): Same.
4493 * reload1.c (clear_reload_reg_in_use): Same.
4495 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
4497 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
4500 2002-01-11 Andreas Jaeger <aj@suse.de>,
4501 Brad Lucier <lucier@math.purdue.edu>
4503 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
4506 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
4508 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
4509 Protect with IN_LIBGCC.
4510 (LINK_EH_SPEC): Add required trailing space.
4512 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
4514 * c-tree.h: Move function declarations so that they are listed
4515 under the filename which contains them.
4516 (check_identifier, finish_decl_top_level,
4517 lookup_name_current_level_global, shadow_record_fields): Remove.
4519 2002-01-11 Andreas Jaeger <aj@suse.de>
4521 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
4524 2002-01-10 Richard Henderson <rth@redhat.com>
4526 * config/alpha/alpha.c (print_operand): Add 'J'.
4527 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
4528 new operand with the sequence number for the lituse. When splitting
4529 the insns, use gen_movdi_er_high_g and generate a sequence number.
4530 (gen_movdi_er_high_g): Print the sequence number if non-zero.
4532 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
4534 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
4535 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
4537 (altivec_expand_builtin): Same.
4538 (altivec_expand_stv_builtin): New.
4540 * config/rs6000/rs6000.h (rs6000_builtins): Same.
4542 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
4543 ("altivec_lvehx"): New.
4544 ("altivec_lvewx"): New.
4545 ("altivec_lvxl"): New.
4546 ("altivec_lvx"): New.
4547 ("altivec_stvx"): New.
4548 ("altivec_stvebx"): New.
4549 ("altivec_stvehx"): New.
4550 ("altivec_stvewx"): New.
4551 ("altivec_stvxl"): New.
4553 2002-01-10 Richard Henderson <rth@redhat.com>
4555 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
4556 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
4557 care not to delete instructions twice.
4559 2002-01-10 Zack Weinberg <zack@codesourcery.com>
4561 * toplev.c: Don't declare environ (it's not used anywhere).
4562 * configure.in: Don't check for declaration of environ.
4563 * config/i386/xm-mingw32.h: Don't #define environ.
4564 * config.in, configure: Regenerate.
4566 2002-01-10 Zack Weinberg <zack@codesourcery.com>
4568 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
4569 * configure: Regenerate.
4571 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
4572 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
4573 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
4575 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
4576 LIMITS_H_TEST here, not in m68k/x-next.
4577 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
4578 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
4580 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
4581 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
4582 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
4584 * config/i386/x-djgpp: Renamed i386/t-djgpp.
4585 * config/m88k/x-dolph: Renamed m88k/t-dolph.
4586 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
4587 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
4588 replacement of quadlib.asm with quadlib.c.
4590 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
4591 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
4592 config/rs6000/xm-beos.h: Delete file.
4594 * config.gcc: Update to match above changes.
4596 2002-01-10 Kazu Hirata <kazu@hxi.com>
4598 * config/h8300/h8300.h: Fix comment typos.
4599 * config/h8300/h8300.md: Likewise.
4600 * config/h8300/lib1funcs.asm: Likewise.
4602 2002-01-10 Dale Johannesen <dalej@apple.com>
4604 PR optimization/5269
4605 * unroll.c (precondition_loop_p): Make *increment be the correct
4606 sign when n_iterations known, to avoid confusing caller.
4608 2002-01-10 Kazu Hirata <kazu@hxi.com>
4610 * doc/extend.texi (deprecated): Fix a typo.
4612 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
4614 * basic-block.h (update_br_prob_note): Declare.
4615 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
4616 (try_forward_edges): Care negative frequencies and update note.
4617 (outgoing_edges_match): Tweek conditional merging heuristics.
4618 (try_crossjump_to_edge): use update_br_prob_note.
4619 * cfglayout.c (fixup_reorder_chain): Likewise.
4620 * cfrtl.c (update_br_prob_note): New.
4621 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
4623 * i386.c (ix86_decompose_address): Return -1 if address contains
4625 (legitimate_address_p): Require ix86_decompose_address to return 1.
4627 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
4628 (cprop_insn): Likewise.
4630 2002-01-10 Kazu Hirata <kazu@hxi.com>
4632 * toplev.c: Fix formatting.
4634 * tree-dump.c: Likewise.
4635 * unroll.c: Likewise.
4636 * unwind-dw2.c: Likewise.
4637 * unwind-dw2-fde.c: Likewise.
4638 * unwind-dw2-fde-glibc.c: Likewise.
4639 * unwind-sjlj.c: Likewise.
4641 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4643 * doc/invoke.texi: Document PDP-11 options.
4645 2002-01-10 Kazu Hirata <kazu@hxi.com>
4647 * config/h8300/h8300.h: Fix formatting.
4649 2002-01-10 Ira Ruben <ira@apple.com>
4651 Add __attribute__ ((deprecated)).
4652 * extend.texi: Document __attribute__ ((deprecated)).
4653 * invoke.texi: Document -Wno-deprecated-declarations.
4654 * testsuite/g++.dg/other/deprecated.C: New C++ test.
4655 * testsuite/gcc.dg/deprecated.c: New C test.
4656 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
4657 (c_common_attribute_table): Add "deprecated" entry.
4658 (handle_deprecated_attribute): New function.
4659 * c-decl.c (deprecated_states): New enum.
4660 deprecated_state: State of "deprecated" handling.
4661 (start_decl): Set deprecated_state based on attributes.
4662 (grokdeclarator): Test for deprecated uses, propagate attribute.
4663 * c-typeck.c (build_component_ref): Test for deprecated fields.
4664 (build_external_ref): Test for deprecated primaries.
4665 * diagnostic.c (warn_deprecated_use) New function to issue
4666 warnings about __attribute__ ((depricated)) references.
4667 * flags.h (warn_deprecated_decl): Extern declared for
4668 -W[no-]deprecated-declarations option.
4669 * print-tree.c (print_node): Show deprecated flag status.
4670 * toplev.c (warn_deprecated_decl): Defined.
4671 (W_options): Added "deprecated-declaration".
4672 * toplev.h (warn_deprecated_use): Extern declared.
4673 * tree.h (struct tree_common): Define deprecated_flag.
4674 (TREE_DEPRECATED): New macro to access flag.
4675 * cp/call.c (build_call): Test for deprecated calls.
4676 * cp/class.c (add_implicitly_declared_members): Set global
4677 flag to tell grokdeclarator to not issue deprecated warnings.
4678 * cp/cp-tree.h: Add extern for adding_implicit_members.
4679 * cp/decl.c (deprecated_states): New enum.
4680 (start_decl): Set deprecated_state based on attributes.
4681 (grokdeclarator): Test for deprecated uses, propagate attribute.
4682 * cp/lex.c (do_identifier): Test for deprecated primaries.
4683 * cp/typeck.c (build_component_ref): Test for deprecated fields.
4685 2002-01-10 Ira Ruben <ira@apple.com>
4687 Fix to assign attributes to inline member functions.
4688 * cp/decl.c (start_method): Handle attrlist.
4690 2002-01-10 Kazu Hirata <kazu@hxi.com>
4692 * combine.c (expand_field_assignment): Use subreg_lsb().
4694 2002-01-10 David Edelsohn <edelsohn@gnu.org>
4696 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
4697 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
4698 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
4699 Recurse for any operand of AND as long as constant is non-zero.
4701 2002-01-10 Kazu Hirata <kazu@hxi.com>
4703 * config/h8300/h8300.md: Remove constraints from expanders.
4705 2002-01-10 Kazu Hirata <kazu@hxi.com>
4707 * varasm.c: Fix formatting.
4708 * varray.c: Likewise.
4709 * vmsdbgout.c: Likewise.
4710 * xcoffout.c: Likewise.
4712 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
4714 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
4715 update edge probabilities to match.
4717 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4719 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
4721 * doc/languages.texi, doc/sourcebuild.texi: New files.
4722 * doc/configfiles.texi: Make a subsubsection. Update.
4723 * doc/configterms.texi: Add @node. Remove warning that this isn't
4724 instructions for building GCC.
4725 * doc/makefile.texi: Make a subsection.
4726 * doc/gccint.texi: Update.
4728 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
4730 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
4732 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
4734 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
4736 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
4738 * optabs.c (expand_fix): Look for wider integer modes first.
4740 * i386.md (mov?f): Avoid the fake const double trick for medium
4742 (min?f*/max?f*): Prohibit memory operands for i387 variant.
4743 (fop_df_4): Disable for SSE compilation.
4745 2002-01-10 Graham Stott <grahams@redhat.com>
4747 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
4748 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
4750 2002-01-10 Richard Henderson <rth@redhat.com>
4752 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
4754 2002-01-10 Richard Henderson <rth@redhat.com>
4756 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
4757 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
4759 2002-01-10 Kazu Hirata <kazu@hxi.com>
4761 * combine.c (can_combine_p): Fix a comment typo.
4763 2002-01-09 Zack Weinberg <zack@codesourcery.com>
4765 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
4766 empty list correctly. Change loop index $t to $f for
4767 consistency with rest of Makefile.
4769 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
4771 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
4772 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4774 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
4775 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
4776 (altivec_init_builtins): Same.
4777 (altivec_expand_unop_builtin): Return NULL_RTX on error.
4778 (altivec_expand_binop_builtin): Same.
4779 (altivec_expand_ternop_builtin): Same.
4782 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
4783 ("altivec_vctuxs"): Fix typo.
4784 ("altivec_vnmsubfp"): Same.
4785 ("altivec_dssall"): New.
4786 ("altivec_mfvscr"): New.
4787 ("altivec_dss"): New.
4788 ("altivec_lvsl"): New.
4789 ("altivec_lvsr"): New.
4790 ("altivec_dstt"): New.
4791 ("altivec_dstst"): New.
4792 ("altivec_dststt"): New.
4793 ("altivec_dst"): New.
4795 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
4796 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4798 2002-01-09 Richard Henderson <rth@redhat.com>
4800 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
4802 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
4804 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
4806 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
4808 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
4810 2002-01-09 Kazu Hirata <kazu@hxi.com>
4812 * read-rtl.c: Fix formatting.
4814 * regclass.c: Likewise.
4815 * regrename.c: Likewise.
4816 * reg-stack.c: Likewise.
4817 * reload1.c: Likewise.
4818 * reload.c: Likewise.
4821 2002-01-09 Kazu Hirata <kazu@hxi.com>
4823 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
4824 to extract items in the expr_list chain.
4826 2002-01-09 Richard Henderson <rth@redhat.com>
4828 * config/vax/vax.c (vax_rtx_cost): Never abort.
4830 * config/vax/vax.h (REAL_ARITHMETIC): Define.
4832 2002-01-09 Jan Hubicka <jh@suse.cz>
4834 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
4836 2002-01-09 Richard Henderson <rth@redhat.com>
4838 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
4839 Unify code from various alternatives.
4841 2002-01-09 Richard Henderson <rth@redhat.com>
4843 * regrename.c (copy_value): Ignore the copy if the source register
4844 is present in the value chain with a narrower mode.
4846 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4848 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
4849 for the c4x target. Also improve layout.
4851 2002-01-09 Richard Henderson <rth@redhat.com>
4853 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
4854 * config/m32r/m32r.md (and ior xor splitters): Swap operands
4855 to match insn patterns.
4857 2002-01-09 Richard Henderson <rth@redhat.com>
4859 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
4860 (copyprop_hardreg_forward_1): Likewise.
4862 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
4864 * pa.md (decrement_and_branch_until_zero): Change predicate for
4865 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
4867 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4869 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
4870 gets undefined. For Darwin.
4872 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4874 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
4876 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4878 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
4880 2002-01-08 Richard Henderson <rth@redhat.com>
4882 * regrename.c (copy_value): Ignore overlapping copies.
4884 2002-01-08 Richard Henderson <rth@redhat.com>
4886 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
4887 as needed to avoid shared structure.
4889 2002-01-08 Kazu Hirata <kazu@hxi.com>
4891 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
4894 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4896 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
4897 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
4898 documentation of obsolete macros.
4899 * system.h: Poison these macros.
4900 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
4901 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
4902 config/c4x/c4x.h, config/clipper/clipper.h,
4903 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
4904 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
4905 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
4906 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
4907 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
4908 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
4909 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
4910 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
4911 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
4912 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
4913 config/sparc/sparc.h, config/stormy16/stormy16.h,
4914 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
4915 definitions and commented out definitions of obsolete macros.
4916 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
4917 of MAX_INT_TYPE_SIZE.
4919 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4921 * config/s390/s390.c (s390_preferred_reload_class): Never
4922 return ADDR_REGS if it isn't a subset of the given class.
4923 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
4924 FP_REGS, but all superclasses as well.
4926 * config/s390/s390.c (s390_function_profiler): Fix thinko.
4928 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
4929 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
4930 must not be a const_int.
4932 2002-01-08 Richard Henderson <rth@redhat.com>
4934 * Makefile.in (toplev.o): Depend on options.h.
4935 (gcc.o): Depend on specs.h.
4937 2002-01-08 Jakub Jelinek <jakub@redhat.com>
4939 * expr.c (store_expr): Convert VOIDmode constants back to target's
4942 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4944 * doc/invoke.texi: Markup gcc as @command. Refer to
4945 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
4946 of http://gcc.gnu.org/thanks.html.
4948 2002-01-08 Dale Johannesen <dalej@apple.com>
4950 * config/rs6000/rs6000.md: Add missing int register
4951 target case to movdf_low.
4953 2002-01-08 Zack Weinberg <zack@codesourcery.com>
4955 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
4956 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
4957 (cppinit.o): Depend on except.h.
4958 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
4959 s-specs): New rules.
4961 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
4962 Don't create specs.h/options.h/gencheck.h here. Remove
4963 unnecessary variable settings from last argument of AC_OUTPUT.
4964 * config.in, configure: Regenerate.
4965 * intl.c: Hardcode package name as "gcc".
4967 * cppinit.c: Include except.h.
4968 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
4970 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
4971 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
4972 (!)USING_SJLJ_EXCEPTIONS.
4973 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
4975 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4977 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
4978 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
4979 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
4980 documentation of obsolete macros.
4981 * system.h: Poison these macros.
4982 * config/d30v/d30v.h, config/ns32k/encore.h,
4983 config/stormy16/stormy16.h: Remove definitions and commented out
4984 definitions of obsolete macros.
4986 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
4988 * objc/objc-act.c (handle_class_ref): Mark the declaration of
4989 %sobjc_class_ref_%s as used - to prevent unwanted compiler
4992 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4994 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
4995 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
4996 to insn adjusting stack/frame pointer.
4997 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
4998 accept operands that cause the insn to be non-splittable.
5000 2002-01-08 Graham Stott <grahams@redhat.com>
5002 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
5003 (C_TYPE_FIELDS_VOLATILE): Likewise.
5004 (C_TYPE_BEING_DEFINED): Likewise.
5005 (C_IS_RESERVED_WORD): Likewise.
5006 (C_TYPE_VARIABLE_SIZE): Likewise.
5007 (C_DECL_VARIABLE_SIZE): Likewise.
5008 (C_MISSING_PROTOTYPE_WARNED): Likewise.
5009 (C_SET_EXP_ORIGINAL_CODE): Likewise.
5010 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
5012 (C_DECL_ANTICIPATED): Likewise.
5013 (c_build_type_variant): Add parenthesis.
5015 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
5017 * gcc.c (option_map): Remove --version.
5018 (process_command): Handle -fversion following the GNU Coding
5019 Standards. Partially addresses PR other/704.
5021 2002-01-08 Graham Stott <grahams@redhat.com>
5023 * combine.c (combine_instructions): Fix typo.
5025 2002-01-08 Graham Stott <grahams@redhat.com>
5027 * debug.h: Use "tree" and "rtx" throughout.
5029 * debug.c: Likewise.
5031 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
5033 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
5034 constant pool, use the pool's version of the symbol instead.
5036 2002-01-07 Richard Henderson <rth@redhat.com>
5038 * regrename.c (find_oldest_value_reg): Ignore the value chain if
5039 the original register was copied in a mode with a fewer number of
5040 hard registers than the desired mode.
5041 (copyprop_hardreg_forward_1): Likewise.
5042 (debug_value_data): Fix loop test.
5043 * toplev.c (parse_options_and_default_flags): Reenable
5044 -fcprop-registers at -O1.
5046 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
5048 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
5049 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
5051 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
5054 * config/rs6000/rs6000.md: Add altivec predicate patterns.
5056 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
5058 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
5059 (pa_output_function_prologue): Output local label at the beginning of
5060 the prologue when profiling.
5061 (hppa_profile_hook): Use the local label rather than the function label.
5062 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
5064 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
5066 * config/rs6000/rs6000.c (print_operand): Remove extra space.
5067 (altivec_expand_unop_builtin): Fix thinko.
5068 (altivec_expand_binop_builtin): Same.
5069 (altivec_expand_ternop_builtin): Same.
5070 (altivec_expand_builtin): Same.
5072 2002-01-07 Richard Henderson <rth@redhat.com>
5074 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
5076 2002-01-07 Jason Merrill <jason@redhat.com>
5078 * unwind-dw2.c (execute_cfa_program): Use < again.
5080 2002-01-07 Jakub Jelinek <jakub@redhat.com>
5082 * predict.c (combine_predictions_for_insn): Avoid division by zero.
5084 2002-01-07 Jakub Jelinek <jakub@redhat.com>
5086 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
5087 Don't allow -1 - x -> ~x simplifications in the first pass.
5089 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
5091 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
5093 (altivec_expand_binop_builtin): Same.
5094 (altivec_expand_unop_builtin): Same.
5095 (print_operand): Fix typo.
5096 (bdesc_1arg): Add vupk* variants.
5098 * rs6000.h (rs6000_builtins): Add vupk* enums.
5100 * rs6000.md: Add altivec_vupk* variants.
5102 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
5104 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
5105 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
5106 and last update dates.
5108 2002-01-07 Janis Johnson <janis187@us.ibm.com>
5110 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
5112 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
5114 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
5115 * config/avr/avr.h (CPP_SPEC): Likewise.
5116 (LINK_SPEC): Likewise.
5117 (CRT_BINUTILS_SPECS): Likewise.
5118 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
5119 * doc/invoke.texi (AVR Options): Document them.
5121 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
5123 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
5126 2002-01-07 Graham Stott <grahams@redhat.com>
5128 * config/i386/i386.h: Update copyright date.
5129 (HALF_PIC_PTR): Add parenthesis.
5130 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
5131 (CONSTANT_ALIGNMENT): Add parenthesis.
5132 (DATA_ALIGNMENT): Likewise.
5133 (LOCAL_ALIGNMENT): Likewise.
5134 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
5135 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
5136 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
5137 (HARD_REGNO_NREGS): Add paranethesis.
5138 (VALID_SSE_REG_MODE): Whitespace.
5139 (VALID_MMX_REG_MODE): Whitespace.
5140 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
5141 (ix86_hard_regno_mode_ok): Add parenthesis.
5142 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
5143 (RETURN_IN_MEMORY): Whitespace.
5144 (N_REG_CLASSES): Add parenthesis.
5145 (INTEGER_CLASS_P): Add parenthesis and wrap.
5146 (FLOAT_CLASS_P): Likewise.
5147 (SSE_CLASS_P): Likewise.
5148 (MMX_CLASS_P): Likewise.
5149 (MAYBE_INTEGER_CLASS_P): Likewise.
5150 (MAYBE_FLOAT_CLASS_P): Likewise.
5151 (MAYBE_SSE_CLASS_P): Likewise.
5152 (MAYBE_MMX_CLASS_P): Likewise.
5153 (Q_CLASS_P): Likewise.
5154 (GENERAL_REGNO_P): Uppercase macro parameter.
5155 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
5156 (FP_REGNO_P): Likewise.
5157 (ANY_FP_REGNO_P): Uppercase macro parameter.
5158 (SSE_REGNO_P): Likewise.
5159 (SSE_REGNO): Likewise.
5160 (SSE_REG_P): Likewise.
5161 (SSE_FLOAT_MODE_P): Likewise.
5162 (MMX_REGNO_P): Likewise.
5163 (MMX_REG_P):Likewise.
5164 (STACK_REG_P): Likewise.
5165 (NON_STACK_REG_P): Likewise.
5166 (STACK_TOP_P): Likewise.
5167 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
5168 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
5169 (SECONDARY_MEMORY_NEEDED): Likewise.
5170 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
5171 (MD_ASM_CLOBBERS): Whitespace and wrap.
5172 (MUST_PASS_IN_STACK): Whitespace and wrap.
5173 (RETURN_POPS_ARGS): Add parenthesis.
5174 (INIT_CUMULATIVE_ARGS): Likewise.
5175 (FUNCTION_ARG): Likewise.
5176 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
5177 (SETUP_INCOMING_VARARGS): Likewise.
5178 (BUILD_VA_LIST_TYPE): Add parenthesis.
5179 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
5181 (EXPAND_BUILTIN_VA_ARG): Likewise.
5182 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
5183 (INITIALIZE_TRAMPOLINE): Add parenthesis.
5184 (INITIAL_ELIMINATION_OFFSET): Likewise.
5185 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
5186 (REGNO_OK_FOR_BASE_P): Likewise.
5187 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
5188 (REGNO_OK_FOR_DIREG_P): Likewise.
5189 (REG_OK_FOR_INDEX_P): Whitespace.
5190 (REG_OK_FOR_BASE_P): Whitespace.
5191 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
5193 (FIND_BASE_TERM): Fix typo.
5194 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
5195 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
5196 (SYMBOLIC_CONST; Whitespace.
5197 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
5198 (ENCODE_SECTION_INFO): Whitespace.
5199 (FINALIZE_PIC): Remove do { ... } while (0).
5200 (PROMOTE_MODE): Wrap in do { ... } while (0).
5201 (CONST_COSTS): Whitespace.
5202 (RTX_COSTS): Add paramethesis, whitespace and wrap.
5203 (REGISTER_MOVE_COST): Add parenthesis.
5204 (MEMORY_MOVE_COST): Likewise.
5205 (EXTRA_CC_MODES): Whitespace.
5206 (SELECT_CC_MODE): Add parenthesis and whitespace.
5207 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
5208 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
5209 (ASM_OUTPUT_LABEL): Add paramethesis.
5210 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
5211 (ASM_OUTPUT_REG_POP): Likewise.
5212 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
5213 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
5215 * config/i386/i386.c: Update copyright.
5216 (CHECK_STACK_LIMIT): Add parenthesis.
5217 (AT_BP): Uppercase macro parameter.
5218 (x86_64_int_parameter_registers): Constify.
5219 (x86_64_int_return_registers): Likewise.
5220 (ix86_compare_op0): Use rtx.
5221 (construct_container): Constify INTREG parameter.
5222 (function_arg): Use rtx.
5224 * diagnostic.h: Update copyright date.
5225 (output_buffer_state): Add parenthesis.
5226 (output_buffer_format_args): Likewise.
5228 * combine.c (combine_instructions): Replace XEXP (links, 0)
5231 2002-01-06 H.J. Lu <hjl@gnu.org>
5233 * cfgcleanup.c (thread_jump): Fix 2 typos.
5235 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
5237 * config.gcc: Add support for --enable-altivec.
5239 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
5241 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
5243 2002-01-06 Jakub Jelinek <jakub@redhat.com>
5245 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
5246 __objc_class_name_*.
5248 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
5250 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
5252 2002-01-06 Richard Henderson <rth@redhat.com>
5254 * reorg.c (emit_delay_sequence): Remove death notes, not merely
5255 nop them out. Increment label reference count for REG_LABEL.
5256 (fill_slots_from_thread): Frob label reference count around
5257 delete_related_insns.
5259 2002-01-05 Richard Henderson <rth@redhat.com>
5261 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
5264 2002-01-05 Richard Henderson <rth@redhat.com>
5266 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
5267 * integrate.c (output_inline_function): Likewise.
5268 * toplev.c (rest_of_compilation): Do it here instead. Move call
5269 to remove_unnecessary_notes after emitting abstract instance.
5270 Force an emitted nested function to have its parent emited as well.
5271 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
5273 (rtl_for_decl_location): Do not look at reload data structures
5274 before reload has run.
5276 2002-01-05 Kazu Hirata <kazu@hxi.com>
5278 * cse.c: Fix formatting.
5279 * dwarf2asm.c: Likewise.
5280 * dwarf2out.c: Likewise.
5281 * explow.c: Likewise.
5282 * expmed.c: Likewise.
5283 * function.c: Likewise.
5285 * gencheck.c: Likewise.
5286 * genrecog.c: Likewise.
5287 * ggc-common.c: Likewise.
5288 * ggc-page.c: Likewise.
5289 * global.c: Likewise.
5291 2002-01-05 Kazu Hirata <kazu@hxi.com>
5293 * combine.c: Fix formatting.
5295 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
5298 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
5300 2002-01-05 David Edelsohn <edelsohn@gnu.org>
5302 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
5303 as 1 for __powerpc64__ as well.
5305 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
5307 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
5310 2002-01-05 Daniel Berlin <dan@dberlin.org>
5312 * lcm.c: Revert change, due to performance regression it causes on
5313 SPEC because it's slightly more conservative (sigh, I hate
5316 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
5318 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
5320 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
5322 * doc/cppinternals.texi: Update.
5324 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
5326 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
5327 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
5329 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
5330 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
5331 kludge for pre-october-14th mmix versions to handle new-found bug
5332 with PUSHJ/PUSHGO and the register stack.
5333 * config/mmix/mmix.h (struct machine_function): Rename member
5334 has_call_value_without_parameters to has_call_without_parameters.
5335 All referers changed.
5336 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
5337 TARGET_MASK_BRANCH_PREDICT): New macros.
5338 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
5339 -mno-reg-stack-fill-bug-workaround.
5340 * config/mmix/mmix.md ("call"): Set struct machine member
5341 has_call_without_parameters.
5343 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
5345 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
5347 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
5349 * cfgcleanup.c: Include tm_p.h
5350 (mark_effect): Fix handling of hard register; fix handling of SET
5352 2002-01-04 Kazu Hirata <kazu@hxi.com>
5354 * config/h8300/h8300.md (anonymous patterns): Check that
5355 operands are registers before using REGNO on them.
5357 2002-01-03 Roland McGrath <roland@frob.com>
5359 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
5361 2002-01-04 Jakub Jelinek <jakub@redhat.com>
5363 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
5364 * c-common.h (genrtl_expr_stmt_value): Likewise.
5365 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
5366 (expand_expr_stmt_value): Add maybe_last argument.
5367 Don't warn about statement with no effect if it is the last statement
5368 in expression statement.
5369 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
5370 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
5371 expand_expr_stmt_value.
5372 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
5373 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
5374 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
5375 as maybe_last to expand_expr_stmt_value.
5377 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
5379 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
5380 be passed in, do not build it.
5381 (c_begin_if_stmt): New function.
5382 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5383 * c-common.h (c_expand_start_cond): Update prototype.
5384 (c_begin_if_stmt): Prototype new function.
5385 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5386 * c-parse.in (if_prefix): Use c_begin_if_stmt,
5387 c_begin_while_stmt and c_finish_while_stmt_cond.
5389 2002-01-04 William Cohen <wcohen@redhat.com>
5391 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
5392 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5393 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5394 * config/pa/som.h (ASM_FILE_START): Likewise.
5396 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
5398 * lcm.c: Include df.h.
5399 Add available_transfer_function prototype.
5400 (compute_available): Rework to use iterative dataflow framework.
5401 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
5402 with bb_info in df.h
5403 (available_transfer_function): New function.
5405 * Makefile.in (lcm.o): add df.h to dependencies.
5407 2002-01-04 Richard Henderson <rth@redhat.com>
5409 * config/alpha/alpha.c (some_operand): Accept HIGH.
5410 (input_operand): Likewise; accept simple references to globals.
5411 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
5412 (alpha_const_double_ok_for_letter_p): Likewise.
5413 (alpha_extra_constraint): Likewise.
5414 (alpha_preferred_reload_class): Likewise. Do not force
5415 symbolic constants to memory.
5416 (alpha_legitimate_address_p): Accept simple references
5417 to small_symbolic_operand.
5418 (alpha_legitimize_address): New arg scratch. Be prepared to be
5419 called when no_new_pseudos. Emit simple symbolic references.
5420 Split integers into low, high, and rest.
5421 (alpha_expand_mov): Use alpha_legitimize_address.
5422 (some_small_symbolic_mem_operand): New.
5423 (split_small_symbolic_mem_operand): New.
5424 * config/alpha/alpha-protos.h: Update.
5425 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
5426 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
5427 (EXTRA_CONSTRAINT): Likewise.
5428 (PREFERRED_RELOAD_CLASS): Likewise.
5429 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
5430 (PREDICATE_CODES): Update.
5431 * config/alpha/alpha.md: New post-reload splitters to convert
5432 simplfied symbolic operands to the form that references $29.
5433 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
5434 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
5436 2002-01-03 Richard Henderson <rth@redhat.com>
5438 * local-alloc.c (function_invariant_p): Update commentary.
5440 2002-01-04 H.J. Lu <hjl@gnu.org>
5442 * toplev.c (rest_of_compilation): Fix a typo when calling
5445 2002-01-03 Kazu Hirata <kazu@hxi.com>
5447 * c-common.c: Fix formatting.
5448 * diagnostic.c: Likewise.
5449 * doloop.c: Likewise.
5450 * dwarf2out.c: Likewise.
5452 2002-01-03 Kazu Hirata <kazu@hxi.com>
5454 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
5455 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
5457 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
5459 * cpperror.c: Update comments and copyright.
5460 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
5461 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
5463 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
5465 * collect2.c (main): Use strcmp when testing for "-shared".
5467 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
5469 * cppmacro.c: Don't include intl.h. Update comments.
5470 (new_number_token): Allocate enough buffer for 64-bit unsigned
5471 integers; update prototype.
5472 * cppmain.c: Update comments.
5474 2002-01-03 William Cohen <wcohen@redhat.com>
5476 * function.h (struct function): Add profile.
5477 (current_function_profile): New.
5478 doc/extend.texi: Update documentation.
5479 * final.c (final_start_function): Use current_function_profile
5480 instead of profile_flag.
5481 (profile_after_prologue): Likewise.
5482 * function.c (expand_function_start): Likewise.
5483 (expand_function_start): Likewise.
5484 * config/alpha/alpha.c (direct_call_operand):
5485 (alpha_does_function_need_gp): Likewise.
5486 (alpha_expand_prologue): Likewise.
5487 * config/arm/arm.c (arm_expand_prologue): Likewise.
5488 thumb_expand_prologue: Likewise.
5489 * config/d30v/d30v.c (d30v_stack_info): Likewise.
5490 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
5491 (fr30_expand_prologue): Likewise.
5492 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
5493 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
5494 * config/i386/i386.h (FINALIZE_PIC): Likewise.
5495 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
5496 * config/i960/i960.c (i960_output_function_prologue): Likewise.
5497 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
5498 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
5499 (m32r_expand_prologue): Likewise.
5500 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
5501 (m88k_expand_prologue): Likewise.
5502 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
5503 * config/mips/mips.c (compute_frame_size): Likewise.
5504 (mips_expand_prologue): Likewise.
5505 (mips_can_use_return_insn): Likewise.
5506 * config/pa/elf.h (ASM_FILE_START): Likewise.
5507 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5508 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5509 * config/pa/som.h (ASM_FILE_START): Likewise.
5510 * config/romp/romp.c (romp_using_r14): Likewise.
5511 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
5512 (rs6000_stack_info): Likewise.
5513 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
5514 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
5515 * config/v850/v850.c (compute_register_save_size): Likewise.
5517 2002-01-03 Jakub Jelinek <jakub@redhat.com>
5519 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
5520 gen_lowpart_common fails, use gen_lowpart_SUBREG.
5522 2002-01-03 Turly O'Connor <turly@apple.com>
5524 * darwin.c (machopic_output_possible_stub_label): Don't generate
5525 stub routines for pseudo-stubs which we've just defined.
5527 2002-01-03 Kazu Hirata <kazu@hxi.com>
5529 * builtins.c: Fix formatting.
5530 * c-typeck.c: Likewise.
5531 * combine.c: Likewise.
5535 2002-01-03 Andreas Schwab <schwab@suse.de>
5537 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
5538 and return true if _cpp_push_next_buffer pushed a new include
5540 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
5541 _cpp_pop_file_buffer did not push a new file.
5542 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
5544 2002-01-02 Eric Christopher <echristo@redhat.com>
5546 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
5547 FIND_REG_INC_NOTE call. Update copyright.
5548 * loop.c (canonicalize_condition): Ditto.
5549 * reorg.c (delete_scheduled_jump): Ditto.
5551 2002-01-03 Kazu Hirata <kazu@hxi.com>
5553 * gcse.c: Fix formatting.
5555 2002-01-03 Graham Stott <grahams@redhat.com>
5557 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
5558 forward defs for struct tags rtx_def, union_tree, rtvec_def
5559 also output corresponding typedefs for rtx, tree, and rtvec.
5561 * system.h: Move forward defs for struct tags rtx_def, union_tree,
5562 rtvec_def along with corresponding typedefs for rtx, tree, and
5563 rtvec to config.h, hconfig.h, tconfig.h.
5565 2002-01-03 Graham Stott <grahams@redhat.com>
5567 * tree.h: Update copyright date.
5568 (IS_EXPR_CODE_CLASS): Add parenthesis.
5569 (TREE_SET_CODE): Add whitespace.
5570 (TREE_CHECK): Add parenthesis.
5571 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
5572 (CST_OR_CONSTRUCTOR_CHECK):
5573 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
5574 (TREE_SYMBOL_REFERENCED): Whitespace.
5575 (INT_CST_LT): Likewise.
5576 (INT_CST_LT_UNSIGNED): Likewise.
5577 (tree_real_cst): Unwrap comment.
5578 (tree_string): Likewise.
5579 (tree_complex): Likewise.
5580 (IDENTIFIER_POINTER): correct cast.
5581 (SAVE_EXPR_CONTEXT): Whitespace.
5582 (EXPR_WFL_FILENAME_NODE): Likewise.
5583 (EXPR_WFL_FILENAME): Remove parenthesis.
5584 (DECL_ORIGIN): Add parenthesis.
5585 (DECL_FROM_INLINE): Use NULL_TREE.
5586 (build_int_2): Whitespace.
5587 (build_type_variant): Add parenthesis.
5589 * gcc/jcf-parse.c: Update copyright date.
5590 (yyparse): Constify resource_filename.
5592 2002-01-03 Graham Stott <grahams@redhat.com>
5594 * rtl.h: Update copyright date.
5595 (RTL_CHECK1): Wrap long line.
5596 (RTL_CHECK2): Likewise.
5597 (RTL_CHECKC1): Wrap long line and whitespace.
5598 (RTL_CHECKC2): Likewise.
5599 (XWINT): Whitespace.
5605 (XBITMAP): Likewise.
5616 (X0BITMAP): Likewise.
5618 (X0BBDEF): Likewise.
5619 (X0ADVFLAGS): Likewise.
5620 (X0CSELIB): Likewise.
5621 (X0MEMATTR): Likewise.
5629 (XCBITMAP): Likewise.
5631 (XCBBDEF): Likewise.
5632 (XCADVFLAGS): Likewise.
5633 (XCCSELIB): Likewise.
5635 (INSN_UID): Likewise.
5636 (PREV_INSN): Likewise.
5637 (PATTERN): Likewise.
5638 (INSN_CODE): Likewise.
5639 (PUT_REG_NOTE_KIND): Likewise.
5640 (CODE_LABEL_NUMBER): Likewise.
5641 (NOTE_SOURCE_FILE): Likewise.
5642 (NOTE_BLOCK): Likewise.
5643 (NOTE_EH_HANDLER): Likewise.
5644 (NOTE_RANGE_INFO): Likewise.
5645 (NOTE_LIVE_INFO): Likewise.
5646 (NOTE_BASIC_BLOCK): Likewise.
5647 (NOTE_EXPECTED_VALUE): Likewise.
5648 (NOTE_LINE_NUMBER): Likewise.
5649 (LABEL_NAME): Likewise.
5650 (LABEL_NUSES): Likewise.
5651 (LABEL_ALTERNATE_NAME): Likewise.
5652 (ADDRESSOF_DECL): Likewise.
5653 (JUMP_LABEL): Likewise.
5654 (LABEL_NEXTREF): Likewise.
5656 (ORIGINAL_REGNO: Likewise.
5657 (HARD_REGISTER_NUM_P): Add parenthesis.
5658 (SUBREG_REG): Whitespace.
5659 (SUBREG_BYTE): Likewise.
5660 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
5661 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
5662 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
5663 (ASM_OPERANDS_INPUT_VEC): Likewise.
5664 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
5665 (ASM_OPERANDS_INPUT): Likewise.
5666 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
5667 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
5668 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
5669 (ASM_OPERANDS_INPUT_MODE): Likewise.
5670 (ASM_OPERANDS_SOURCE_FILE): Likewise.
5671 (ASM_OPERANDS_SOURCE_LINE): Likewise.
5672 (MEM_SET_IN_STRUCT_P): Minor reformat.
5673 (TRAP_CONDITION): Whitespace.
5674 (TRAP_CODE): Likewise.
5675 (COND_EXEC_TEST): Likewise.
5676 (COND_EXEC_CODE): Likewise.
5677 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
5678 (PHI_NODE_P): Add parenthesis.
5679 (plus_constant): Whitespace and add parenthesis.
5681 2002-01-03 Kazu Hirata <kazu@hxi.com>
5683 * config/avr/avr.c: Fix comment typos.
5684 * config/c4x/c4x.md: Likewise.
5685 * config/dsp16xx/dsp16xx.h: Likewise.
5686 * config/dsp16xx/dsp16xx.md: Likewise.
5687 * config/i386/i386.md: Likewise.
5688 * config/ia64/ia64.c: Likewise.
5689 * config/m32r/m32r.h: Likewise.
5690 * config/m68hc11/m68hc11.md: Likewise.
5691 * config/mmix/mmix.c: Likewise.
5692 * config/mn10200/mn10200.c: Likewise.
5693 * config/romp/romp.c: Likewise.
5694 * config/sh/sh.c: Likewise.
5695 * config/stormy16/stormy16.c: Likewise.
5696 * config/stormy16/stormy16.h: Likewise.
5697 * config/stormy16/stormy16.md: Likewise.
5699 2002-01-03 Graham Stott <grahams@redhat.com>
5701 * loop.h: Update copyright date.
5702 (LOOP_MOVABLES): Fix typo.
5703 (LOOP_REGS): Likewise.
5704 (LOOP_IVS): Likewise.
5706 2002-01-03 Graham Stott <grahams@redhat.com>
5708 * cppinit.c: Update copyright date.
5709 Don't include output.h
5710 * Makefile.in: Update copyright date.
5713 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
5716 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
5717 (-pthread) Add to RS/6000 options.
5719 2002-01-02 Kazu Hirata <kazu@hxi.com>
5721 * except.c: Fix comment typos.
5723 * varasm.c: Likewise.
5724 * doc/tm.texi: Fix a typo.
5726 2002-01-02 Jakub Jelinek <jakub@redhat.com>
5728 * c-typeck.c (output_init_element): Allow initializing static storage
5729 duration objects with compound literals.
5731 2002-01-02 Richard Henderson <rth@redhat.com>
5733 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
5736 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5738 * gcc.c (default_compilers): Const-ify.
5739 * mips-tdump.c (stab_names): Likewise.
5740 * mips-tfile.c (map_coff_types, map_coff_storage,
5741 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
5742 pseudo_ops_t, pseudo_ops): Likewise.
5743 * protoize.c (default_include): Likewise
5745 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
5746 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
5747 Add array size in declaration.
5748 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
5749 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
5750 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
5751 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
5752 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
5753 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
5754 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
5755 emtens, make_nan): Const-ify.
5756 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
5757 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
5759 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
5761 * config.gcc (ia64-*-*): Set extra_headers.
5762 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
5763 * config/alpha/t-osf: Remove.
5764 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
5766 2002-01-02 David Edelsohn <edelsohn@gnu.org>
5768 * config/rs6000/t-aix43: Revert previous change.
5770 2002-01-02 Jason Merrill <jason@redhat.com>
5772 * c-decl.c (c_expand_body): Call outlining_inline_function when
5773 emitting an inline function out of line.
5775 2002-01-02 Richard Henderson <rth@redhat.com>
5777 * dwarf2out.c (limbo_die_node): Add created_for member.
5778 (new_die): New argument created_for. Update all callers.
5779 (mark_limbo_die_list): New.
5780 (dwarf2out_init): Register limbo_die_list as a root.
5781 (dwarf2out_finish): Force insert limbo dies into their function
5784 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
5787 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
5789 2002-01-02 Kazu Hirata <kazu@hxi.com>
5791 * config/h8300/fixunssfsi.c: Update copyright.
5794 * config/h8300/h8300.c: Update copyright.
5797 2002-01-02 Kazu Hirata <kazu@hxi.com>
5799 * config/romp/romp.c: Fix comment formatting.
5800 * config/romp/romp.h: Likewise.
5801 * config/romp/romp.md: Likewise.
5802 * config/s390/s390.c: Likewise.
5803 * config/stormy16/stormy16.c: Likewise.
5804 * config/stormy16/stormy16.h: Likewise.
5806 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
5808 * c-common.h (genrtl_expr_stmt_value): Declare.
5809 * c-semantics.c (genrtl_goto_stmt): Redirect to...
5810 (genrtl_goto_stmt_value): ... this new function. Pass new
5811 argument down to expand_expr_stmt_value, taking
5812 TREE_ADDRESSABLE into account.
5813 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
5814 STMT_EXPR as addressable, i.e., one whose result we want.
5815 * expr.c (expand_expr): Don't save expression statement value
5816 of labeled_blocks or loop_exprs.
5817 * stmt.c (expand_expr_stmt): Redirect to...
5818 (expand_expr_stmt_value): ... this new function. Use new
5819 argument to tell whether to save expression value.
5820 (expand_end_stmt_expr): Reset last_expr_type and
5821 last_expr_value if we don't have either.
5822 * tree-inline.c (declare_return_variable): Mark its use
5823 statement as addressable.
5824 * tree.h: Document new use of TREE_ADDRESSABLE.
5825 (expand_expr_stmt_value): Declare.
5827 2002-01-01 Tom Rix <trix@redhat.com>
5829 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
5830 rs6000_emit_allocate_stack.
5832 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
5834 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
5835 ${srcdir}/ginclude/ to every entry in extra_headers.
5836 * configure: Regenerate.
5837 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
5838 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
5839 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
5840 * ginclude/proto.h: Rename to config/convex/proto.h.
5842 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5844 * attribs.c (handle_vector_size_attribute): Use host_integerp
5845 and tree_int_cst; remove warnings.
5846 * caller-save.c (insert_restore): Add cast to get rid of warning.
5847 (insert_save): Likewise.
5848 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
5849 * regmove.c (find_matches): Add temporary var to kill a warning.
5851 2002-01-01 Douglas B Rupp <rupp@gnat.com>
5853 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
5854 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
5855 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
5856 (vms-dwarf2eh.o): Add Makefile rule.
5857 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
5858 * config/alpha/vms-dwarf2eh.asm: New file.
5860 * gcc.c (delete_if_ordinary): Delete all versions.
5862 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
5864 * config/mmix/mmix.md: Update FIXME to not mention
5866 (MMIX_rJ_REGNUM): New define_constants constant.
5867 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
5868 "*movdicc_real"): Adjust contraints formatting.
5869 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
5870 for branch prediction.
5871 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
5873 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
5874 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
5875 number. Delete related FIXMEs.
5876 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
5877 from number to MMIX_rJ_REGNUM.
5878 (TARGET_MASK_BRANCH_PREDICT): New.
5879 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
5880 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
5881 value. Add -mbranch-predict and -mno-branch-predict.
5882 (TARGET_VERSION): Drop date.
5883 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
5884 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
5885 for finding out global symbols.
5886 (mmix_asm_output_labelref): Revert condition for global symbol.
5887 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
5888 (mmix_print_operand_punct_valid_p): A '+' is valid.
5890 See ChangeLog.6 for earlier changes.