1 2004-02-29 Mark Mitchell <mark@codesourcery.com>
4 * dwarf2out.c (gen_enumeration_type_die): Output all enumeration
5 constants as signed values.
8 * c-tree.h (readonly_warning): Rename to ...
9 (readonly_error): ... this.
10 * c-typeck.c (build_unary_op): Adjust accordingly.
11 (readonly_warning): Rename to ...
12 (readonly_error): ... this and issue errors, not warnings.
13 (build_modify_expr): Call readonly_error, not readonly_warning.
14 (c_expand_asm_operands): Likewise.
15 * tree-inline.c (optimize_inline_calls): Do not inline functions
16 after errors have occurred.
18 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org>
20 * configure.ac: Rearrange some threading code for clarity;
22 * configure: Regenerate.
24 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
26 * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment
28 * doc/cppopts.texi: Fix a typo.
30 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
32 * config/i386/i386.md: Fix formatting.
34 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org>
36 * configure.ac: Add some comments delineating sections of code.
38 * doc/install.texi: Note that libada uses autoconf 2.57 also.
40 * doc/install.texi: Fix idiot typo in previous commit.
42 * doc/install.texi: Update for conversion of intl to autoconf 2.57.
44 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
46 * config/h8300/h8300.md: Add comments about peephole2's.
48 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
50 * config/h8300/h8300.md: Tweak operand numbers of some
53 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
55 * config/h8300/h8300.md: Tweak comments about peephole2's.
57 2004-02-29 Waldek Hebisch <hebisch@math.uni.wroc.pl>
60 * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P
61 instead of testing whether DECL_RTL is not NULL.
63 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
65 * config/sh/sh.c: Fix formatting.
67 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
69 * config/sh/sh.c: Convert to ISO-C.
71 2004-02-28 Andrew Pinski <pinskia@physics.uc.edu>
73 * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in
76 * config/darwin.h (machopic_finish): Output stub even if the
77 symbol is already defined.
79 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
81 * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.
83 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
85 * genattr.c (main): Don't define
86 TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE.
87 * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison.
88 (DFA_PIPELINE_INTERFACE): Likewise.
89 * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove.
90 (DFA_PIPELINE_INTERFACE): Likewise.
92 2004-02-28 Richard Sandiford <rsandifo@redhat.com>
94 * config/mips/mips.md (tstsi, tstdi): Delete.
96 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
98 * config/mips/mips.c (override_options): Remove an obsolete
99 duplicate definition of the "e" constraint.
100 * config/mips/mips.h: Update a comment accordingly.
102 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
104 * config/mips/mips.md: Complete the unfinished R4000
105 multiply/shift errata workaround. Improve documentation.
106 (hazard): Use TARGET_FIX_R4000 to decide whether an "imul" instruction
108 (mulsi3, mulsi3_internal, mulsi3_r4000): Use TARGET_FIX_R4000.
109 (muldi3, muldi3_internal): Likewise.
110 (muldi3_internal2): Remove, replacing with...
111 (muldi3_mult3, muldi3_r4000): ...these new patterns.
112 (mulsidi3): Take the errata into account.
113 (mulsidi3_32bit): Remove, replacing with...
114 (mulsidi3_32bit_internal, mulsidi3_32bit_r4000): ...these new patterns.
115 (mulsidi3_64bit, mulsidi3_64bit_parts): Disable if TARGET_FIX_R4000.
116 (umulsidi3): Take the errata into account.
117 (umulsidi3_32bit): Remove, replacing with..
118 (umulsidi3_32bit_internal, umulsidi3_32bit_r4000): ...these patterns.
119 (umulsi3_highpart, umulsi3_highpart_internal): Disable if
121 (smulsi3_highpart, smulsi3_highpart_internal): Likewise.
122 (smuldi3_highpart, umuldi3_highpart): Likewise.
123 * doc/invoke.texi: Document the errata workaround.
125 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
127 * config/mips/mips-protos.h (mips_idiv_insns): Declare.
128 * config/mips/mips.h (MASK_FIX_SB1): Bump.
129 (MASK_FIX_R4000, TARGET_FIX_R4000): New macros.
130 (TARGET_SWITCHES): Add -mfix-r4000 and -mno-fix-r4000.
131 * config/mips/mips.c (mips_idiv_insns): New function.
132 (override_options): Make -march=r4000 imply -mfix-r4000 by default.
133 (mips_output_division): Add a workaround for the R4000 divide/shift
135 * config/mips/mips.md (length): Use mips_idiv_insns() to calculate
136 the length of an "idiv" instruction.
137 * doc/invoke.texi: Document the new switches.
139 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
141 * doc/tm.texi (IS_COSTLY_DEPENDENCE): Change to
142 TARGET_SCHED_IS_COSTLY_DEPENDENCE.
144 2004-02-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
146 PR optimization/14229
147 * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump.
149 2004-02-28 Eric Botcazou <ebotcazou@act-europe.fr>
151 * fold-const.c (fold): Strip NOPs that change the signedness
152 for RSHIFT too. Expand comment.
154 2004-02-27 Ian Lance Taylor <ian@wasabisystems.com>
157 * flow.c (mark_set_1): Don't add LOG_LINKS for global registers
158 from or to call insns.
160 2004-02-27 Eric Botcazou <ebotcazou@libertysurf.fr>
163 * flow.c (propagate_one_insn): Interpret calls as setting global
164 registers, not merely clobbering them.
166 2004-02-27 Dale Johannesen <dalej@apple.com>
168 * config/darwin.c (machopic_output_possible_stub_label): Remove.
169 config/darwin-protos.h: Ditto.
170 config/darwin.h: Remove call to it.
171 * combine.c (distribute_notes): Do not place a REG_DEAD note
172 when value is both set and used.
174 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
176 * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
178 * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
179 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
181 2004-02-27 Andrew Pinski <apinski@apple.com>
183 * c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>:
184 Speedup common case of the type values being in the same order.
186 2004-02-27 Steve Ellcey <sje@cup.hp.com>
188 * config/ia64/ia64.h (no-inline-float-divide): New option.
189 * config/ia64/ia64.h (no-inline-int-divide): New option.
190 * config/ia64/ia64.h (no-inline-sqrt): New option.
191 (TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define.
192 * config/ia64/hpux.h (TARGET_DEFAULT): Ditto.
193 * config/ia64/ia64.c (ia64_override_options): Modify error
194 checking for inlined division/sqrt.
196 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
198 * bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c,
199 ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c,
200 value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h,
201 config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update
204 2004-02-27 Paul Brook <paul@codesourcery.com>
206 * function.c (assign_parms): Don't count pretend args for alignment.
208 2004-02-27 Richard Henderson <rth@redhat.com>
210 * passes.c: New file.
211 * Makefile.in (OBJS-common): Add it.
212 * diagnostic.c (rtl_dump_and_exit): Move decl ...
213 * flags.h (rtl_dump_and_exit): ... here.
214 * output.h (size_directive_output, last_assemble_variable_decl):
216 * rtl.h (reg_alloc): Move from toplev.c.
217 * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT,
218 struct dump_file_info, enum dump_file_index, dump_file_tbl,
219 open_dump_file, close_dump_file, rest_of_decl_compilation,
220 rest_of_type_compilation, rest_of_handle_final,
221 rest_of_handle_delay_slots, rest_of_handle_stack_regs,
222 rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
223 rest_of_handle_new_regalloc, rest_of_handle_old_regalloc,
224 rest_of_handle_regrename, rest_of_handle_reorder_blocks,
225 rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove,
226 rest_of_handle_tracer, rest_of_handle_if_conversion,
227 rest_of_handle_if_after_combine, rest_of_handle_web,
228 rest_of_handle_branch_prob,
229 rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
230 rest_of_handle_addressof, rest_of_handle_sibling_calls,
231 rest_of_handle_jump_bypass, rest_of_handle_inlining,
232 rest_of_handle_null_pointer, rest_of_handle_combine,
233 rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
234 rest_of_handle_gcse, rest_of_handle_loop_optimize,
235 rest_of_handle_loop2, rest_of_compilation): Move to passes.c.
236 (decode_d_option): Use enable_rtl_dump_file.
237 (compile_file, finalize, do_compile): Move profile+combine+graph
238 cleanup to finish_optimization_passes.
239 * toplev.h (init_optimization_passes, finish_optimization_passes,
240 enable_rtl_dump_file): Declare.
242 2004-02-27 Eric Botcazou <ebotcazou@act-europe.fr>
243 Roger Sayle <roger@eyesopen.com>
245 * fold-const.c (fold): Revert 2004-02-25 change. Use the original
246 operands to build a tree with swapped operands.
247 * expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the
248 'unsignedp' predicate to specify the signedness.
250 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
252 * c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c,
253 expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c,
254 params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix
255 comment typos and formatting. Follow spelling conventions.
257 2004-02-26 Aldy Hernandez <aldyh@redhat.com>
259 * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and
262 * config/rs6000/spe.md: Delete spe_efsctuiz.
263 Add spe_fixuns_truncsfsi2.
264 Add spe_fix_truncsfsi2.
266 2004-02-26 Eric Christopher <echristo@redhat.com>
268 * c-lex.c (c_lex_string_translate): New variable.
269 (lex_string): Use to determine string translation.
270 * c-pragma.h: Prototype.
271 * c-parse.in (start_string_translation): New. Set above.
272 (stop_string_translation): Ditto.
273 (attribute, attribute_list, asm_def, asm_stmt,
274 asm_operand): Use above functions.
275 * cp/parser.c (cp_parser_declaration): Translate strings
276 unless token is RID_EXTERN. Set c_lex_string_translate
278 (cp_parser_asm_definition): Only translate argument strings
280 (cp_parser_asm_operand_list): Ditto.
281 (cp_parser_attribute_list): Do not translate attribute strings.
283 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
285 * stmt.c (expand_start_case_dummy): Remove.
286 * tree.h: Remove the corresponding prototype.
288 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
290 * builtins.c (apply_args_register_offset): Remove.
291 * tree.h: Remove the corresponding prototype.
293 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
295 * stor-layout.c (is_pending_size): Remove.
296 * tree.h: Remove the corresponding prototype.
298 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
300 * recog.c (validate_replace_src): Remove.
301 * recog.h: Remove the corresponding prototype.
303 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
305 * calls.c: Don't reference FINAL_REG_PARM_STACK_SPACE or
306 MAYBE_REG_PARM_STACK_SPACE.
307 * function.c: Likewise.
308 * system.h (FINAL_REG_PARM_STACK_SPACE): Poison.
309 (MAYBE_REG_PARM_STACK_SPACE): Likewise.
310 * doc/tm.texi (FINAL_REG_PARM_STACK_SPACE): Remove.
311 (MAYBE_REG_PARM_STACK_SPACE): Likewise.
313 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
315 * c-decl.c (c_expand_deferred_function): Remove.
316 * c-tree.h: Remove the corresponding prototype.
318 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
320 * postreload.c (reload_cse_move2add): Generate just a PLUS
321 instead of an entire SET.
323 2004-02-26 Jan Hubicka <jh@suse.cz>
325 * config.gcc: Add support for nocoma/prescott/pentium-m/pentium3m
327 * i386.c (override_options): Add support for new CPUs.
328 * i386.h (TARGET_CPU_DEFAULT_NAMES): New names.
329 (TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_pentium4e): New
331 * invoke.texi: Extend documentation of -mtune/-march for new CPUs.
333 2004-02-26 Bob Wilson <bob.wilson@acm.org>
335 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
337 2004-02-26 Eric Botcazou <ebotcazou@act-europe.fr>
339 * config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
340 (sparc_emit_fixunsdi): New prototype.
341 * config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument.
342 (sparc_emit_fixunsdi): New function.
343 * config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for
344 operand 1. Pass SFmode to sparc_emit_floatunsdi.
345 (floatunsdidf2): Use 'general_operand' for operand 1. Pass DFmode
346 to sparc_emit_floatunsdi.
347 (fixuns_truncsfdi2): New expander.
348 (fixuns_truncdfdi2): Likewise.
350 2004-02-26 Alan Modra <amodra@bigpond.net.au>
352 * gcse.c (delete_null_pointer_checks_1): Do not delete CC setter
355 2004-02-25 Richard Henderson <rth@redhat.com>
357 * explow.c (force_reg): Call mark_reg_pointer as appropriate.
358 * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't
359 use (op0-op1) == 0 if op0 is a pointer.
360 * config/alpha/alpha.md (cmpdi): Use some_operand.
361 (three comparison combine splits): Remove.
363 2004-02-25 Richard Henderson <rth@redhat.com>
366 * c-common.c (handle_alias_attribute): Reject the attribute if
367 current_function_decl is set.
369 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
371 * config.gcc: Add comment describing extra_gcc_objs.
372 i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs.
373 * configure.ac (extra_gcc_objs): New substitution variable.
374 (host_extra_gcc_objs): Don't substitute.
375 * configure: Regenerate.
376 * Makefile.in: Use extra_gcc_objs.
378 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
380 * doc/contrib.texi: Add an entry for myself.
382 2004-02-25 Jan Hubicka <jh@suse.cz>
384 * basic-block.h (make_eh_edge, break_superblocks): Declare.
385 * cfgbuild.c (make_eh_edge): Make global.
386 * cfglayout.c (break_superblocks): Likewise; fix memory leak.
387 * except.c (build_post_landing_pads, connect_post_landing_pads,
388 dw2_build_landing_pads, sjlj_emit_function_enter,
389 sjlj_emit_function_exit, sjlj_emit_dispatch_table,
390 sjlj_build_landing_pads): Update CFG.
391 (emit_to_new_bb_before): New function.
392 (finish_eh_generation): Do not rebuild the CFG.
394 2004-02-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
396 * config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all
397 target_cpu_default defines.
398 * pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define.
399 * pa.h (TARGET_DEFAULT): Likewise.
401 2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr>
403 * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
404 comparisons with regard to signedness.
406 2004-02-25 Richard Earnshaw <rearnsha@arm.com>
408 * arm.c (thumb_legitimize_address): New function.
409 * arm-protos.h: Prototype it.
410 * arm.h (THUMB_LEGITIMIZE_ADDRESS): Define.
411 (LEGITIMIZE_ADDRESS): Use it.
413 2004-02-25 J"orn Rennecke <joern.rennecke@superh.com>
415 * reload1.c (reload): Only spill eliminable register with multiple
416 adjacent elimination alternatives if all alternatives fail.
418 2004-02-25 Richard Earnshaw <rearnsha@arm.com>
420 * arm.c (arm_legitimate_index_p): For QImode the range of an offset
421 is -4095...+4095 inclusive.
423 2004-02-25 Eric Botcazou <ebotcazou@libertysurf.fr>
425 * doc/install.texi (sparc-sun-solaris2* specific notes): Document
426 the bootstrap failure with Sun CC 5.4 and 5.5.
428 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
430 * cse.c (cse_change_cc_mode_insns): Stop at any instruction
431 which modifies NEWREG.
432 (cse_condition_code_reg): Update the mode of CC_REG in
433 CC_SRC_INSN on our own.
435 2004-02-24 Michael Matz <matz@suse.de>
437 * config/i386/i386.c (ix86_comp_type_attributes): Check for
440 2004-02-24 Richard Henderson <rth@redhat.com>
442 * toplev.c (dump_file_tbl): Rename from dump_file.
443 * bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c,
444 cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c,
445 config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c,
446 config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c,
447 loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c,
448 ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c,
449 toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c:
450 s/rtl_dump_file/dump_file/g.
452 2004-02-24 Aldy Hernandez <aldyh@redhat.com>
454 * config/rs6000/spe.md (spe_fix_truncsfsi2): Delete.
455 (spe_fixuns_truncsfsi2): Delete.
457 * config/rs6000/rs6000.md (fix_truncsfsi2): Delete.
458 (fixuns_truncsfsi2): Delete.
460 2004-02-24 Josef Zlomek <zlomekj@suse.cz>
463 * rtlanal.c (replace_label): Fix replacing labels in constant pool.
465 2004-02-24 Geoffrey Keating <geoffk@apple.com>
467 * config/darwin.h (TARGET_HAS_F_SETLKW): Define.
469 2004-02-24 Jason Merrill <jason@redhat.com>
471 * tree.c (check_qualified_type): New fn.
472 (get_qualified_type): Use it. If type already has the desired
473 quals, just return it.
474 * tree.h: Declare it.
476 2003-02-24 Sanjiv Kumar Gupta <sanjivg@noida.hcltech.com>
478 * target-def.h (TARGET_SCHED_INIT_GLOBAL,
479 TARGET_SCHED_FINISH_GLOBAL): New macros.
481 * target.h (md_init_global, md_finish_global): Function
482 declarations corresponding to new target macros.
484 * haifa-sched.c (sched_init, sched_finish): Allow target to
485 call the new schedular hooks.
487 * flow.c (recompute_reg_usage): Add PROP_DEATH_NOTES flag in
488 call to update_life_info.
490 * config/sh/sh.h (OVERRIDE_OPTIONS): Re-enable
491 flag_schedule_insns for SH4.
493 * config/sh/sh.c (sh_md_init_global, sh_md_finish_global,
494 find_set_regmode_weight, find_insn_regmode_weight,
495 find_regmode_weight), sh_md_init, sh_dfa_new_cycle,
496 sh_variable_issue, high_pressure, ready_reorder,
497 rank_for_reorder, swap_reorder, sh_reorder, sh_reorder2): New
498 functions used to throttle the insn movement in first
499 scheduling pass for SH.
501 * gcc/doc/tm.texi: Document TARGET_SCHED_INIT_GLOBAL and
502 TARGET_SCHED_FINISH_GLOBAL.
504 2004-02-24 Alexandre Oliva <aoliva@redhat.com>
506 Implement FR-V FDPIC ABI support for frv-uclinux and frv-linux.
507 2004-02-05 Alexandre Oliva <aoliva@redhat.com>
508 * config/frv/frv.c (frv_emit_movsi): Use GOT relocations for
509 symbols in sections named by the user.
510 2004-01-30 Alexandre Oliva <aoliva@redhat.com>
511 * config/frv/linux.h (TARGET_OS_CPP_BUILTINS): New.
512 2004-01-27 Alexandre Oliva <aoliva@redhat.com>
513 * config.gcc (frv-*-*linux*): Handle like *-*-linux*.
514 * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove, obviated by
516 2004-01-20 Alexandre Oliva <aoliva@redhat.com>
517 * config/frv/frv.md (symGOT2reg_hilo, symGOTOFF2reg_hilo): Add
518 one more pseudo to further improve code generation.
519 2004-01-19 Alexandre Oliva <aoliva@redhat.com>
520 * config/frv/frv.md (movdi_ldd): Introduce explicit indirection
522 2004-01-16 Alexandre Oliva <aoliva@redhat.com>
523 * config/frv/frv.c (frv_legitimate_address_p): Added
524 allow_double_reg_p argument. Adjust all callers. Use it to
525 decide whether to enable double-register indirect addressing.
526 (frv_funcdesc_alias_set): Remove.
527 (frv_expand_fdpic_call): Force non-SYMBOL_REF operand into
528 register. Emit movdi_ldd.
529 (ldd_address_operand): New.
530 * config/frv/frv-protos.h (frv_legitimate_address_p): Adjust.
531 * config/frv/frv.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
532 (PREDICATE_CODES): Add ldd_address_operand.
533 * config/frv/frv.md (movdi_ldd): New.
534 (symGOT2reg_hilo, symGOTOFF2reg_hilo): Use separate pseudo for
535 intermediate computations if possible.
536 (symGOTOFF2reg_i): Fix harmless typo.
537 2003-12-18 Alexandre Oliva <aoliva@redhat.com>
538 * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Cast
539 relocated p_vaddr to vaddr type.
540 * config/frv/frv-protos.h (frv_expand_fdpic_call): Return void.
541 * config/frv/frv.c (frv_get_funcdesc_alias_set): New.
542 (frv_expand_fdpic_call): Propagate incoming MEM's expr to funcdesc
543 MEM, or use a funcdesc alias set. Use regular move instead of
545 (dbl_memory_one_insn_operand): Recognize function descriptors by
546 type or by alias set, and don't split them.
547 * config/frv/frv.md (call, call_value): Never use call_internal
549 (call_internal, call_value_internal): Never match for FDPIC.
550 (call_fdpicdi, call_fdpicsi, call_value_fdpicdi,
551 call_value_fdpicsi): Require FDPIC.
553 2003-12-17 Alexandre Oliva <aoliva@redhat.com>
554 * config/frv/frv.h (CRT_GET_RFIB_DATA): Define for __FRV_FDPIC__.
555 * unwind-dw2-fde-glibc.c: Don't include elf-fdpic.h any more.
556 (_Unwind_IteratePhdrCallback): Adjust type of load_base for FRV
557 FDPIC. Compute data base address.
558 * config/frv/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Enable -mfdpic
559 before the other self-specs are processed.
560 * config/frv/t-linux (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
562 2003-12-15 Alexandre Oliva <aoliva@redhat.com>
563 * unwind-dw2-fde-glibc.c: Don't include bits/elf-fdpic.h if
564 inhibit_libc is defined.
565 2003-12-12 Alexandre Oliva <aoliva@redhat.com>
566 * unwind-dw2-fde-glibc.c: Include bits/elf-fdpic.h for
568 (__RELOC_POINTER): Define.
569 (_Unwind_IteratePhdrCallback): Use it.
570 * config/frv/frv.h (Twrite): Define.
571 (TRANSFER_FROM_TRAMPOLINE): Use it.
572 * config/frv/linux.h (INVOKE__main): Undefine.
574 2003-12-05 Richard Sandiford <rsandifo@redhat.com>
575 * doc/invoke.texi (-mlong-calls, -mlinked-fp): Document FRV options.
576 (-mlibrary-pic): Emphasize that this option generates EABI code.
579 2003-11-30 Alexandre Oliva <aoliva@redhat.com>
580 * config/frv/frv.c (int_2word_operand): Reject LABELs, SYMBOL_REFs
581 and CONSTs in FDPIC mode.
582 * gcc/config.gcc (with_cpu): Default to fr400 on frv-*-*linux*.
583 2003-11-29 Richard Sandiford <rsandifo@redhat.com>
584 * config/frv/frv.c (move_source_operand): Don't accept symbolic
586 * config/frv/frv.md (*movhi_internal, *movsi_internal): Use an 'n'
587 rather than 'i' constraint for the 2-instruction alternative.
588 (*movsi_2word): New, incorporating existing int_2word_operand splitter.
589 2003-11-29 Richard Sandiford <rsandifo@redhat.com>
590 * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Q): Renamed from
591 EXTRA_CONSTRAINT_FOR_Y.
592 (EXTRA_CONSTRAINT): Remove handling of 'Y'.
593 * config/frv/frv.md (*movsi_internal): Remove 'Q' constraint.
594 (addsi3): Change 'Y' constraint to 'Q'.
595 2003-11-27 Richard Sandiford <rsandifo@redhat.com>
596 * reload.c (CONST_POOL_OK_P): New macro.
597 (find_reloads): Use it to decide whether a constant can be forced
599 * config/frv/frv.h (LEGITIMATE_PIC_OPERAND_P): Return true if the
600 constant satisfies got12_operand.
601 (frv_cannot_force_const_mem): Always return true for TARGET_FDPIC.
602 (frv_legitimate_address_p): Check for valid unspec offsets using
603 got12_operand rather than frv_legitimate_fdpic_operand_p.
604 (frv_legitimate_fdpic_operand_p): Delete.
605 (frv_emit_movsi): Abort if we try to use the FDPIC register during
607 (frv_legitimate_constant_p): Return LEGITIMATE_PIC_OPERAND_P if
609 * config/frv/frv.md (*movdf_double): Add alternatives for CONST_DOUBLE.
610 2003-11-19 Richard Sandiford <rsandifo@redhat.com>
611 * config/frv/frv-protos.h (fdpic_operand, fdpic_got12_operand)
612 (frv_fdpic_fptr_operand): Don't declare here.
613 * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Y): Call got12_operand
614 rather than fdpic_got12_operand.
615 (PREDICATE_CODES): Remove symbolic_operand entry. Add entries for
616 got12_operand and const_unspec_operand.
617 * config/frv/frv.c (got12_operand): Renamed from fdpic_got12_operand.
618 (gpr_or_int12_operand, dbl_memory_one_insn_operand): Update calls.
619 (symbolic_operand): Remove.
620 (const_unspec_operand): New predicate.
621 * config/frv/frv.md (*movsi_got): Use got12_operand.
622 (*movsi_high_got, *movsi_lo_sum_got): Use const_unspec_operand.
623 2003-11-18 Richard Sandiford <rsandifo@redhat.com>
624 * config/frv/frv-protos.h (frv_output_addr_const_extra): Remove.
625 * config/frv/frv.h (OUTPUT_ADDR_CONST_EXTRA): Remove definition.
626 * config/frv/frv.c (frv_unspec): New structure.
627 (frv_small_data_reloc_p, frv_const_unspec_p): New functions.
628 (frv_print_operand_memory_reference): Use frv_const_unspec_p to
629 validate CONST indices. Use frv_output_const_unspec to print them.
630 (frv_print_operand): Update call to unspec_got_name. Use
631 frv_output_const_unspec to print constant unspecs.
632 (frv_legitimate_fdpic_operand_p): Return true if frv_const_unspec_p.
633 Reject UNSPECs otherwise.
634 (unspec_got_name): Take the relocation number as argument, not an
636 (frv_output_addr_const_extra): Remove, replacing with...
637 (frv_output_const_unspec): ...this new function.
638 (frv_find_base_term): Use frv_const_unspec_p & frv_small_data_reloc_p.
639 (gpr_or_int12_operand): Use fdpic_got12_operand.
640 (dbl_memory_one_insn_operand): Likewise.
641 (fdpic_got12_operand): Use frv_const_unspec_p.
642 (frv_emit_movsi): Use frv_const_unspec_p to check for CONSTs that
643 are already legitimate. Use frv_small_data_reloc_p when deciding
644 whether to use HIGH/LO_SUM for R_FRV_GOTOFF12 and R_FRV_GPREL12.
645 2003-11-18 Alexandre Oliva <aoliva@redhat.com>
646 * config/frv/t-linux (SHLIB_MAPFILES): Override so as to export...
647 * config/frv/libgcc-frv.ver: ... frv-specific symbols. New file.
648 * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
649 label, for real this time.
650 * config/frv/frv.c (frv_local_funcdesc_p): Update to new
651 representation of visibility.
652 (fdpic_got12_operand, symbolic_operand): Mark unused arguments as
654 2003-11-17 Richard Sandiford <rsandifo@redhat.com>
655 * config/frv/frv.h (MASK_LINKED_FP, TARGET_LINKED_FP): New macros.
656 (TARGET_SWITCHES): Add -mlinked-fp and -mno-linked-fp.
657 * config/frv/frv.c (frv_override_options): Set MASK_LINKED_FP unless
658 it was explicitly disabled.
659 (frv_stack_info): There is no need to save the link register in every
660 frame unless TARGET_LINKED_FP is true.
661 (frv_frame_pointer_required): If !TARGET_LINKED_FP, only require a
662 frame pointer if the stack pointer might change value.
663 (frv_return_addr_rtx): Check and process "count" argument.
664 2003-11-14 Richard Sandiford <rsandifo@redhat.com>
665 * config/frv/frv-protos.h (frv_legitimize_address): Remove.
666 (frv_find_base_term): Declare.
667 * config/frv/frv.h (LEGITIMIZE_ADDRESS): Do nothing.
668 (FIND_BASE_TERM): Define.
669 (PREDICATE_CODES): Remove pic_register_operand, pic_symbolic_operand,
670 small_data_register_operand, small_data_symbolic_operand. Add
672 * config/frv/frv.c (const_small_data_p, plus_small_data_p): Delete.
673 (frv_print_operand_memory_reference, output_move_single): Remove
674 special handling for unlegitimized sdata addresses.
675 (frv_legitimate_address_p): Don't allow sums of SDA_BASE_REG
676 and symbolic addresses.
677 (frv_legitimize_address, frv_legitimize_fdpic_address): Delete.
678 (frv_find_base_term): New function.
679 (int_2word_operand): Check specifically for symbolic address constants.
680 (pic_register_operand, pic_symbolic_operand): Delete.
681 (small_data_register_operand, small_data_symbolic_operand): Delete.
682 (dbl_memory_one_insn_operand): Don't call plus_small_data_p.
683 Allow UNSPEC_GOT constants if !TARGET_FDPIC.
684 (move_source_operand): Only accept CONSTs if they're a two-insn
686 (fdpic_got12_operand): Don't require TARGET_FDPIC.
687 (frv_emit_movsi): Legitimize sdata and -mlibrary-pic addresses
688 using gen_symGOTOFF2reg*.
689 (frv_ifcvt_rewrite_mem): Remove (plus gr16 ...) special cases.
690 (frv_rtx_costs): Give all MEM addresses a cost of 0. Give MEMs
691 themselves a cost of 3 insns.
692 * config/mips/mips.md (*movsi_got): Allow for !TARGET_FDPIC too.
693 Change predicate to symbolic_operand.
694 (*movsi_high_got, *movsi_lo_sum_got): Likewise.
695 (*movsi_lda_sdata): Delete.
696 (*movsi_pic, movsi_high_pic, movsi_lo_sum_pic): Delete.
697 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
698 * config.gcc: Add t-slibgcc-elf-ver and support --with-cpu for
700 * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
702 * config/frv/frv.h (DRIVER_SELF_SPECS): Add blank before
703 -multilib-library-pic.
704 (LINK_SPEC): Add -z text for -mfdpic.
705 * config/frv/frvbegin.c (__ROFIXUP_LIST__): Don't define on FDPIC.
706 * config/frv/frvend.c (__ROFIXUP_END__): Likewise.
707 * config/frv/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC):
709 (OPTION_DEFAULT_SPECS, HAS_INIT_SECTION, INIT_SECTION_ASM_OP,
710 FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): Define.
711 * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Use
712 crtstuff-generated files.
713 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
714 * config.gcc: Add frv-*-*linux*.
715 * config/frv/linux.h, config/frv/t-linux: New.
716 2003-10-06 Alexandre Oliva <aoliva@redhat.com>
717 * config/frv/frv.h (LINK_SPEC): Pass -melf32frvfd to the linker
718 when -mfdpic even if a linker script is explicitly listed.
719 2003-10-02 Alexandre Oliva <aoliva@redhat.com>
720 * config/frv/frv.c (frv_override_options): Clear asm_out
721 unaligned_op for SImode on FDPIC.
722 (frv_emit_movsi): Use compute_reloc_for_constant to compute the
723 argument passed to decl_readonly_section.
724 (frv_assemble_integer): Revert 2003-09-30's change, but make the
725 whole block run with FDPIC even with -fno-PIC.
726 2003-10-02 Alexandre Oliva <aoliva@redhat.com>
727 * config/frv/frv.c (frv_cannot_force_const_mem): Don't force
728 symbol or label plus offset to memory.
729 (frv_emit_movsi): Emit GPREL only if -mgprel-ro. Emit 32-bit
730 GOTOFF and GPREL for LABEL_REF.
731 * config/frv/frv.h (DRIVER_SELF_SPECS): Add -mgprel-ro with
732 -mfdpic unless -mno-gprel-ro, -fpic or -fpie.
733 (MASK_GPREL_RO, TARGET_GPREL_RO): New.
734 (TARGET_SWITCHES): Added gprel-ro and no-gprel-ro.
735 * doc/invoke.texi: Document them.
736 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
737 * config/frv/frv-protos.h (frv_gen_GPsym2reg): Declare.
738 (frv_splittable_got_operand): Removed.
739 * config/frv/frv.c (frv_cannot_force_const_mem): Reject HIGH and
740 LO_SUM. Add comments.
741 (frv_override_options): Moved enabling of FDPIC to
742 DRIVER_SELF_SPECS. Don't enable MASK_DWORD.
743 (frv_local_funcdesc_p): Remove unnecessary heck for flag_pie.
744 (frv_legitimize_fdpic_address): Don't duplicate logic in
746 (frv_gen_GPsym2reg): New.
747 (unspec_got_name): Added gprel.
748 (frv_expand_fdpic_call): Add support for inlining PLTs.
749 (fdpic_fptr_operand): Renamed from frv_fdpic_fptr_operand.
750 (gpr_or_int12_operand): Added GPREL12.
751 (pic_symbolic_operand): Match even if !flag_pic for FDPIC.
752 (small_data_symbolic_operand): Fail if FDPIC.
753 (fdpic_splittable_got_operand): Removed.
754 (fdpic_got12_operand): Added GPREL12.
755 (frv_emit_movsi): Reorganize to avoid duplication. Emit GPREL
756 when appropriate. Fix sdata GOTOFF.
757 (frv_legitimate_constant_p): Require legitimate PIC operand for
758 FDPIC with pic, but only a legitimate fdpic operand for non-pic.
759 (frv_assemble_integer): Move FDPIC funcdesc handling out of
761 (frv_asm_out_constructor, frv_asm_out_destructor): Abort if
762 frv_assemble_integer fails.
763 * config/frv/frv.h (DRIVER_SELF_SPECS): New.
764 (SUBTARGET_DRIVER_SELF_SPECS): New.
765 (ASM_SPEC): Don't pass -mno-fdpic.
766 (LINK_SPEC): Pass -melf32frvfd for FDPIC.
767 (MASK_INLINE_PLT, TARGET_INLINE_PLT): New.
768 (TARGET_SWITCHES): Add -minline-plt, -mno-inline-plt and
769 -multilib-library-pic.
770 (PREDICATE_CODES): Added fdpic_operand, fdpic_fptr_operand,
771 condexec_si_media_operator, condexec_sf_add_operator and
772 condexec_sf_conv_operator. Removed condexec_sf_binary_operator
773 and condexec_sf_unary_operator.
774 * config/frv/frv.md (R_FRV_GPREL12, R_FRV_GPRELHI, R_FRV_GPRELLO):
776 (movsi_got, movsi_high_got, movsi_lo_sum_got): Move before
777 movsi_internal. Give them internal names. movsi_got has type
779 (fdpic got splitters): Remove.
780 (symGPREL2reg, symGPREL2reg_hilo): New.
781 * config/frv/t-frv (MULTILIB_MATCHES): Don't map -fpic and -fPIC
782 to -mlibrary-pic. Map -multilib-library-pic to it.
783 * doc/invoke.texi: -mfdpic, -minline-plt, -multilib-library-pic:
785 2003-09-28 Alexandre Oliva <aoliva@redhat.com>
786 * config/frv/frv.c (frv_function_symbol_referenced_p): Declare.
787 (TARGET_CANNOT_FORCE_CONST_MEM): Define to...
788 (frv_cannot_force_const_mem): New function.
789 (const_small_data_p, plus_small_data_p): Update comments on sdata
791 (frv_override_options): Set flag_pie for FDPIC too.
792 (frv_conditional_register_usage): Mark gr16 and gr17 as non-fixed,
793 call-saved registers on FDPIC.
794 (frv_stack_info): Don't preserve the PIC register on FDPIC, and
795 don't force LR to be preserved.
796 (frv_expand_prologue): Likewise.
797 (frv_asm_output_mi_thunk): Use 12-bit funcdesc gotoff for -fpic.
798 (frv_frame_pointer_required): Don't force it just because the
799 FDPIC register is used.
800 (frv_legitimate_address_p) <CONST>: Accept a legitimate FDPIC
801 operand only if !condexec_p.
802 (frv_legitimize_address): Return the FDPIC-legitimized address.
803 Don't match small data here on FDPIC.
804 (frv_legitimate_fdpic_operand_p): Don't accept unadorned function
805 symbols. Use TRUE/FALSE instead of 1/0.
806 (frv_local_funcdesc_p): New.
807 (frv_legitimize_fdpic_address): Rewrite to use GOTOFF and 12-bit
808 immediates when possible.
809 (pic_symbolic_operand): Accept SYMBOL_REFs and CONSTs in FDPIC.
810 (dbl_memory_one_insn_operand): Accept addresses that add a REG and
812 (frv_emit_movsi): Handle FDPIC before small data. Use GOTOFF and
813 12-bit immediates when possible.
814 (frv_legitimate_constant_p): In FDPIC, reject SImode operands that
815 are not legitimate pic operands.
816 (frv_in_small_data_p): Re-enable for FDPIC.
817 * config/frv/frv.h (SDA_BASE_REG): Remove comment about FDPIC.
818 (FRV_GLOBAL_P): Removed.
819 * config/frv/frv.md: Add modes to CONSTs.
821 (movsi_lo_sum_got): Use separate matches instead of match_dup.
822 (movsi_high_pic, movsi_lo_sum_pic): Match on non-FDPIC only.
823 (fdpic splittable operations): Match on flag_pic != 1.
824 2003-09-22 Alexandre Oliva <aoliva@redhat.com>
825 * config/frv/frv.c (frv_asm_out_constructor,
826 frv_asm_out_destructor): Pass to frv_assemble_integer the size in
828 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
829 * config/frv/frv.c (frv_assemble_integer): Reject complex
830 expressions referencing function SYMBOL_REFs.
831 * config/frv/frv.c (frv_function_symbol_referenced_p): New.
832 (move_source_operand): Reject CONSTs that reference function
833 SYMBOL_REFs on FDPIC.
834 (frv_emit_movsi): If we get such a CONST, break it up.
835 * config/frv/frv.h (CPP_SPEC): Define __FRV_FDPIC__ for -mfdpic.
836 (TRANSFER_FROM_TRAMPOLINE): Use different definitions for FDPIC.
837 * config/frv/frv.c (frv_print_operand) <I>: Recognize PLUS without
839 (frv_assemble_integer): Don't use funcdesc for LABEL_REFs.
840 (frv_trampoline_size): Increase for FDPIC.
841 * config/frv/frv.h (TRAMPOLINE_ALIGNMENT): Bump to 64 for FDPIC.
842 (TRANSFER_FROM_TRAMPOLINE): Handle FDPIC trampolines.
843 * config/frv/frv.c (frv_legitimize_fdpic_address, frv_emit_movsi):
844 Disable use of GOTOFF for now.
845 (const_small_data_p, plus_small_data_p, frv_in_small_data_p):
846 Disable use of small data in FDPIC for now.
847 (frv_asm_output_mi_thunk): Implement for FDPIC.
848 * config/frv/frv.h (SDA_BASE_REG): Set to -1 with FDPIC.
849 * config/frv/frv.c (frv_asm_out_constructor): Use
850 frv_assemble_integer for FDPIC pointers.
851 (frv_asm_out_destructor): Likewise.
852 * config/frv/frv.md (ldd): Fix order of operands. Use
853 address_operand for input.
854 2003-09-18 DJ Delorie <dj@redhat.com>
855 * config/frv/frv.c (frv_legitimate_fdpic_operand_p): Remove UNSPEC_PIC.
856 (unspec_got_name): Correct typo.
857 (frv_emit_movsi): Pre-expand splittable GOTs.
858 (frv_expand_fdpic_call): Rename gen_lddi to gen_ldd.
859 * config/frv/frv.md (lddi): Fix syntax error, rename to ldd.
860 (symGOT2reg_hilo, symGOTOFF2reg_hilo): New.
861 * config/frv/t-frv: Add -mfdpic multilibs.
862 * config/frv/frv.h (ASM_SPEC): Pass -mfdpic/-mno-fdpic.
863 (TARGET_SWITCHES): Add -mno-fdpic, fix documentation.
864 * config/frv/frv.c (frv_override_options): -mfdpic assumes
865 flag_pic, default to 32-bit pics, require DWORD ops.
866 (frv_override_options): Add W and Z constraints.
867 (frv_expand_prologue): No pic prologue for -mfdpic.
868 (frv_asm_output_mi_thunk): Support -mfdpic (soon).
869 (frv_print_operand_memory_reference): Handle GOT constants.
870 (frv_legitimate_address_p): Allow GOT constants.
871 (frv_legitimize_address): Handle GOT addresses too.
872 (frv_legitimate_fdpic_operand_p): New.
873 (frv_legitimize_fdpic_address): New.
874 (unspec_got_name): New.
875 (frv_output_addr_const_extra): New.
876 (frv_expand_fdpic_call): New.
877 (frv_fdpic_fptr_operand): New.
878 (gpr_or_int12_operand): Handle GOT operands.
879 (int_2word_operand): Handle GOT operands.
880 (fdpic_operand): New.
881 (fdpic_splittable_got_operand): New.
882 (fdpic_got12_operand): New.
883 (frv_emit_movsi): Handle GOT operands.
884 (frv_assemble_integer): -mfdpic doesn't use rofixups.
885 (frv_print_operand): Support 'g' code for GOT operands.
886 * config/frv/frv-protos.h: Add prototypes as needed.
887 * config/frv/frv.md (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO,
888 R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI,
889 R_FRV_FUNCDESC_GOTLO, R_FRV_FUNCDESC_VALUE,
890 R_FRV_FUNCDESC_GOTOFF12, R_FRV_FUNCDESC_GOTOFFHI,
891 R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, R_FRV_GOTOFFHI,
892 R_FRV_GOTOFFLO): New.
893 (movsi_high_got, movsi_lo_sum_got): New.
894 (*movsi_pic): Don't use this splitter for -mfdpic.
895 (addsi3): Allow GOT references also.
896 (call, call_value): Handle -mfdpic separately.
897 (call_fdpicdi, call_fdpicsi, lddi, call_value_fdpicdi,
898 call_value_fdpicsi): New.
899 (symGOT2reg, symGOT2reg_i, got splitters, symGOTOFF2reg,
900 symGOTOFF2reg_i): New.
901 * config/frv/frv.h (MASK_FDPIC): New.
903 (TARGET_SWITCHES): Add -mfdpic.
904 (FDPIC_FPTR_REGNO): New.
906 (OUR_FDPIC_REG): New.
907 (enum reg_class): Add FDPIC_REGS, FDPIC_FPTR_REGS, and
909 (REG_CLASS_NAMES): Likewise.
910 (REG_CLASS_CONTENTS): Likewise.
911 (EXTRA_CONSTRAINT_FOR_Y): New, for 12-bit GOTs.
912 (EXTRA_CONSTRAINT): Add it here.
914 (OUTPUT_ADDR_CONST_EXTRA): New.
916 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
918 * config/sparc/sparc.h: Remove commented-out definitions of
919 TARGET_EDOM and GEN_ERRNO_RTX.
921 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
923 * df.c, df.h, ra-build.c, ra-rewrite.c, ra.c, web.c: Replace
924 df_analyse with df_analyze.
926 2004-02-24 Alan Modra <amodra@bigpond.net.au>
928 * gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
931 2004-02-23 James E Wilson <wilson@specifixinc.com>
933 * calls.c (precompute_arguments): Update comment.
935 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
937 * et-forest.c: Replace et_occurences with et_occurrences.
939 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
941 * cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse
944 2004-02-23 Kelley Cook <kcook@gcc.gnu.org>
946 * config/i386/i386.c: Rename pni to sse3.
947 * config/i386/i386.h: Likewise.
948 * config/i386/i386.md: Likewise.
949 * config/i386/pmmintrin.h: Likewise.
950 * doc/extend.texi: Likewise.
951 * doc/invoke.texi: Likewise.
953 2004-02-23 Zack Weinberg <zack@codesourcery.com>
954 Kazu Hirata <kazu@cs.umass.edu>
956 Remove -fwritable-strings.
957 * c-common.c (fix_string_type): Don't check
958 flag_writable_strings.
959 (fix_string_type): Likewise.
960 * c-opts.c (set_std_c89): Don't initialize
961 flag_writable_strings.
962 (set_std_c99): Likewise.
963 * common.opt (fwritable-strings): Remove.
964 * flags.h: Remove the external declaration of
965 flag_writable_strings.
966 * opts.c (common_handle_option) <OPT_fwritable_strings>:
968 * toplev.c (flag_writable_strings): Remove.
969 (f_options): Remove an entry for writable-strings.
970 * varasm.c (const_hash_1) <STRING_CST>: Don't check
971 flag_writable_strings.
972 (compare_constant) <STRING_CST>: Likewise.
973 (build_constant_desc): Likewise.
974 * config/darwin.c (machopic_select_section): Likewise.
975 * config/arm/arm.c (AOF_ASSEMBLER): Likewise.
976 * config/arm/pe.c (arm_pe_encode_section_info): Likewise.
977 * config/iq2000/iq2000.c (iq2000_select_section): Likewise.
978 * config/mips/mips.c (mips_select_section): Likewise.
979 (mips_encode_section_info): Likewise.
980 * config/pa/pa.c (pa_select_section): Likewise.
981 * config/pa/pa.h (TEXT_SPACE_P): Likewise.
982 * config/v850/v850.c (v850_select_section): Likewise.
983 * doc/invoke.texi (-fwritable-strings): Remove.
984 (-fno-const-strings): Don't mention -fwritable-strings.
985 * doc/trouble.texi: Don't mention -fwritable-strings.
987 2003-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
989 * doc/install.texi: Update for switch of boehm-gc to autoconf 2.57.
991 2004-02-23 Dale Johannesen <dalej@apple.com>
993 * config/rs6000.md (movsf_hardfloat): Add POWER form of nop.
994 (movdf_hardfloat64): Ditto.
995 (movdf_softfloat64): Ditto.
997 2004-02-23 Fariborz Jahanian <fjahanian@apple.com>
998 * config/rs6000/rs6000.c (function_arg): call to
999 rs6000_mixed_function_arg for DFmode moved to allow
1000 normal DFmode incoming register assignment.
1002 2004-02-23 Dale Johannesen <dalej@apple.com>
1004 * config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy.
1005 (movdf_hardfloat64): Ditto.
1007 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
1009 * convert.c, gcov-io.c, libgcov.c, sched-int.h, sibcall.c,
1010 config/rs6000/linux.h, config/rs6000/rs6000-c.c: Update
1013 2004-02-23 Andrew Pinski <pinskia@physics.uc.edu>
1016 * c-typeck.c (c_expand_return): Change check for VAR_DECL
1017 to use DECL_P instead.
1019 * config/rs6000/linux.h (OS_MISSING_POWERPC64): Define.
1020 * config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define.
1022 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
1024 * Makefile.in (opts.o): Depend on target.h.
1025 * opts.c (decode_options): Use targetm.default_short_enums
1026 instead of DEFAULT_SHORT_ENUMS.
1027 * system.h (DEFAULT_SHORT_ENUMS): Poison.
1028 * target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New.
1029 (TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS.
1030 * target.h (gcc_target): Add default_short_enums.
1031 * config/cris/cris.h: Remove a comment about
1032 DEFAULT_SHORT_ENUMS.
1033 * config/ip2k/ip2k.h: Likewise.
1034 * doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to
1035 TARGET_DEFAULT_SHORT_ENUMS. Update the description.
1037 2004-02-23 Eric Botcazou <ebotcazou@libertysurf.fr>
1038 Falk Hueffner <falk@debian.org>
1041 * builtins.c (expand_builtin_va_arg): Emit an informative message
1042 if a trap is generated.
1043 * c-typeck.c (build_function_call): Likewise.
1045 2004-02-22 Jakub Jelinek <jakub@redhat.com>
1047 * gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of
1049 * libgcov.c: Include sys/stat.h.
1050 * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define.
1051 * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define.
1052 * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define.
1053 * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define.
1055 2004-02-22 Kazu Hirata <kazu@cs.umass.edu>
1057 * reorg.c: Remove comments about dead ports.
1059 2004-02-22 Christopher Faylor <cgf@redhat.com>
1061 * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify
1062 extra host object file when targetting cygwin rather than generic
1065 2004-02-22 Josef Zlomek <zlomekj@suse.cz>
1067 Merge from tree-ssa:
1068 2003-11-20 Richard Henderson <rth@redhat.com>
1070 * tree-inline.c (insert_decl_map): New.
1071 (remap_decl, remap_type, remap_block, copy_body_r,
1072 initialize_inlined_parameters, declare_return_variable,
1073 remap_save_expr): Use it.
1075 * function.c (copy_body_r): Add mapping from id->ret_label to
1076 id->ret_label. Revert test for ret_label.
1078 2004-02-22 Jakub Jelinek <jakub@redhat.com>
1080 * genoutput.c (process_template): Strip trailing whitespace in @
1081 templates and issue a warning if there was any.
1083 2004-02-21 Christopher Faylor <cgf@redhat.com>
1085 * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host
1086 object file when targetting cygwin.
1087 * config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is
1088 overridden by top-level Makefile.
1090 2004-02-21 Roger Sayle <roger@eyesopen.com>
1092 * config/i386/i386.c (standard_80387_constant_p): Also prefer
1093 the x87's load constant instructions when optimizing for size.
1095 2004-02-21 Kazu Hirata <kazu@cs.umass.edu>
1097 * combine.c (SHIFT_COUNT_TRUNCATED): Remove.
1098 * defaults.h (SHIFT_COUNT_TRUNCATED): Provide the default.
1099 * expmed.c: Assume SHIFT_COUNT_TRUNCATED is always defined.
1100 * fold-const.c: Likewise.
1101 * simplify-rtx.c: Likewise.
1103 2004-02-21 Alan Modra <amodra@bigpond.net.au>
1105 * combine.c (can_combine_p): Don't ignore SETs marked with
1106 REG_EH_REGION notes.
1107 (try_combine): When attemting to fix unrecognized insns, don't
1108 split a PARALLEL that contains the original i2.
1110 2004-02-21 Ziemowit Laski <zlaski@apple.com>
1112 * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to
1113 SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options.
1114 * config/i386/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): Define it.
1115 * config/rs6000/altivec.h: #error out if '-maltivec' not specified.
1116 (vector, pixel, bool): #define to __vector, __pixel and __bool.
1117 (__un_args_eq, __bin_args_eq, __tern_args_eq): Move to C-specific
1119 (__altivec_link_error_invalid_argument): Remove prototype; will use
1120 __builtin_altivec_compiletime_error("vec_*") instead.
1121 (vec_*): Fix/complete set of available operation overloads given the
1122 existence of distinct 'vector bool ...' and 'vector pixel' types; tighten
1123 cv-correctness of pointer arguments; in C, always check for correct
1124 argument types before macro expansion.
1125 * config/rs6000/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): New macro
1126 defining Darwin/PowerPC-specific '-f[no-]altivec' and
1127 '-W[no-]altivec-long-deprecated' switches.
1128 * config/rs6000/rs6000-c (rs6000_cpu_cpp_builtins): Pre-define
1129 '__vector', '__pixel' and '__bool' macros using
1130 '__attribute__((altivec(...)))' types.
1131 * config/rs6000/rs6000.c (bool_char_type_node, bool_short_type_node,
1132 bool_int_type_node, pixel_type_node, bool_V16QI_type_node,
1133 bool_V8HI_type_node, bool_V4SI_type_node, pixel_V8HI_type_node):
1135 (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): New, for
1136 handling '-W[no-]altivec-long-deprecated'.
1137 (rs6000_override_options): Handle '-W[no-]altivec-long-deprecated'.
1138 (rs6000_expand_binop_builtin, rs6000_expand_ternop_builtin,
1139 altivec_expand_dst_builtin): Remove casts from integer literals.
1140 (altivec_expand_builtin): Likewise; handle expansion of new
1141 '__builtin_altivec_compiletime_error' function.
1142 (rs6000_init_builtins): Initialize 'vector bool ...' and 'vector pixel'
1143 types, and make them distinct from other vector types; register
1144 '__builtin_altivec_compiletime_error' function.
1145 (print_operand): For 'P', print a full target register name instead of
1147 (rs6000_attribute_table): Add "altivec" attribute.
1148 (rs6000_handle_altivec_attribute): New function.
1149 * config/rs6000/rs6000.h (TARGET_OPTIONS): Describe
1150 '-m[no-]-warn-altivec-long' (which '-W[no-]altivec-long-deprecated'
1152 (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): Forward
1154 (ALTIVEC_BUILTIN_COMPILETIME_ERROR): New built-in enumeration.
1156 2004-02-20 James E Wilson <wilson@specifixinc.com>
1158 * config/ia64/ia64.md (shift_mix4left+1): Delete reload_completed
1160 (shift_mix4left+2): Delete redundant pattern.
1162 2004-02-20 Kazu Hirata <kazu@cs.umass.edu>
1164 * alias.c (OUTGOING_REGNO): Don't define the default.
1165 * builtins.c (OUTGOING_REGNO): Likewise.
1166 (INCOMING_REGNO): Likewise.
1167 (apply_args_register_offset): Always use OUTGOING_REGNO.
1168 * combine.c (OUTGOING_REGNO): Likewise.
1169 * sibcall.c (OUTGOING_REGNO): Likewise.
1170 * defaults.h (INCOMING_REGNO): Provide the default.
1171 (OUTGOING_REGNO): Likewise.
1173 2004-02-21 Jan Hubicka <jh@suse.cz>
1175 * params.def (max-peeled-insns, max-completely-peeled-insns,
1176 max-once-peeled-insns): Set to 400.
1178 2004-02-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1181 * dbxout.c (dbxout_parms): Check that DECL_RTL and DECL_INCOMING_RTL
1182 are set for parameters before outputing debugging information.
1184 2004-02-20 Falk Hueffner <falk@debian.org>
1187 * config/alpha/alpha.md (*fix_truncsfsi_ieee): Fix typoed operand
1190 2004-02-20 Per Bothner <per@bothner.com>
1192 * input.h: Don't #include line-map.h. It may cause link problems
1193 with undefined linemap_line_start when line-map.h is included but
1194 line-map.o is not linked, as currently happens with gengtype on
1195 compilers that don't support inline.
1196 * toplev.c: So we do have to explicitly #include line-map.h here.
1198 2004-02-20 Richard Henderson <rth@redhat.com>
1200 * doc/invoke.texi: Add -Wvariadic-macros.
1202 2004-02-20 Kazu Hirata <kazu@cs.umass.edu>
1204 * haifa-sched.c (sched_emit_insn): Remove.
1205 * sched-int.h: Remove the corresponding prototype.
1207 2004-02-20 Kazu Hirata <kazu@cs.umass.edu>
1210 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
1211 * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
1212 * system.h (DEFAULT_SHORT_ENUMS): Poison.
1213 * config/cris/cris.h: Remove a comment about
1214 DEFAULT_SHORT_ENUMS.
1215 * config/ip2k/ip2k.h: Likewise.
1216 * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove.
1218 2004-02-20 Mohan Embar <gnustuff@thisiscool.com>
1219 Tom Tromey <tromey@redhat.com>
1221 * doc/install.texi: Moved --disable-libgcj and
1222 --with-system-zlib documentation to new section for
1223 Java-specific options.
1224 Added explicit Cross-Compiler-Specific Options subheading.
1225 Added section for Java-specific options.
1227 2004-02-20 Matt Kraai <kraai@alumni.cmu.edu>
1229 * doc/install.texi (Building the Ada compiler): Remove
1232 2004-02-20 James E Wilson <wilson@specifixinc.com>
1234 * toplev.c (dump_file_index, dump_file): Put ce3 before rnreg.
1236 2004-02-20 Kazu Hirata <kazu@cs.umass.edu>
1238 * gcc.c (process_command): Allow translation of the copyright
1239 symbol but not the rest of the copyright message.
1240 * gcov.c (print_version): Likewise. Allow translation of the
1241 message about warranty.
1243 2004-02-20 Hans-Peter Nilsson <hp@axis.com>
1245 * config/cris/cris.md ("*andsi_movu"): Correct parentheses in
1247 ("*andsi_clear"): Tweak constraints to not match postincrement.
1248 Adjust the predicate to exclude a volatile memory reference.
1249 ("*andhi_clear"): Ditto. Rename from "*andhi_clear_signed".
1250 ("*andhi_clear_unsigned"): Remove, non-matching pattern.
1252 2004-02-19 Matt Kraai <kraai@alumni.cmu.edu>
1254 * move-if-change: Remove.
1255 * Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
1256 (s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
1257 (s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
1258 (s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
1259 (s-gtyp-gen, s-iov): Use the top level move-if-change.
1260 * objc/Make-lang.in (objc/objc-parse.y): Likewise.
1262 2004-02-19 James E Wilson <wilson@specifixinc.com>
1264 * config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand
1265 for operand2. Add condition that requires register_operand operand2
1268 2004-02-19 Richard Sandiford <rsandifo@redhat.com>
1269 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1271 * config/mips/mips.c (mips_address_insns): Treat BLKmode specially.
1272 * config/mips/mips.md: Expand comment above unaligned loads and stores.
1274 2004-02-19 Richard Henderson <rth@redhat.com>
1276 * Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
1277 * tree.c (build0, build1, build2, build3, build4): Split out from...
1278 (build): ... here. Call them.
1279 * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New.
1281 * convert.c (convert_to_integer): Remove extra build argument.
1282 * tree-inline.c (expand_call_inline): Likewise.
1284 2004-02-19 Richard Henderson <rth@redhat.com>
1286 * c-opts.c (warn_variadic_macros): New.
1287 (c_common_handle_option): Set it.
1288 (sanitize_cpp_opts): Copy it to cpp_opts.
1289 * c.opt (Wvariadic-macros): New.
1290 * cpplib.h (struct cpp_options): Add warn_variadic_macros.
1291 * cppinit.c (cpp_create_reader): Initialize it.
1292 * cppmacro.c (parse_params): Check it.
1294 2004-02-19 David Daney <ddaney@avtrex.com>
1296 PR preprocessor/14198
1297 * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add
1298 builtin_assert ("machine=mips")
1300 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
1302 * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
1303 * system.h (DEFAULT_SHORT_ENUMS): Poison.
1304 * config/cris/cris.h: Remove a comment about
1305 DEFAULT_SHORT_ENUMS.
1306 * config/ip2k/ip2k.h: Likewise.
1307 * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove.
1309 2004-02-19 Zack Weinberg <zack@codesourcery.com>
1311 * config/ia64/ia64.c (ia64_function_arg): In big-endian mode,
1312 when passing single SFmode quantities in general registers,
1313 put them in the high half.
1315 2004-02-19 Aldy Hernandez <aldyh@redhat.com>
1317 * doc/md.texi (Standard Names): Document additional dependency on
1320 * optabs.c (ftruncify): Remove.
1321 (expand_fix): Manually inline ftruncify above.
1322 (can_fix_p): Add FIXME note.
1324 2004-02-19 Aldy Hernandez <aldyh@redhat.com>
1326 * config/rs6000/spe.md (spe_fixunssfsi2): Rename to
1327 spe_fixuns_truncsfsi2.
1329 * config/rs6000/rs6000.md (fixunssfsi2): Rename to
1332 2004-02-19 Steve Ellcey <sje@cup.hp.com>
1334 * config/ia64/ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
1335 * testsuite/gcc.dg/20040219-1.c: New test.
1337 2004-02-19 Ulrich Weigand <uweigand@de.ibm.com>
1339 * config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc",
1340 "*subsf3_cconly"): Subtraction is not commutative.
1342 2004-02-19 Zack Weinberg <zack@codesourcery.com>
1344 * sdbout.c (preinit_symbols, sdbout_initialized): New statics.
1345 (sdbout_symbol): If called before sdbout_init, queue DECL for
1347 (sdbout_init): Set sdbout_initialized true, process decls
1348 queued earlier by sdbout_symbol.
1349 (sdbout_finish): Use size_t for index variable.
1351 2004-02-19 Jeff Law <law@redhat.com>
1353 * fold-const.c (invert_truthvalue): Do not call invert_tree_comparison
1354 for unordered comparison codes.
1356 2004-02-19 Ian Lance Taylor <ian@wasabisystems.com>
1358 * reload1.c (reload): Correct comment.
1359 (scan_paradoxical_subregs): Remove #if 0 and old comment.
1360 * doc/extend.texi (Local Reg Vars): Remove obsolete comment that
1361 register variables are not used by reload.
1363 2004-02-19 Hans-Peter Nilsson <hp@axis.com>
1366 * config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
1367 constraints to not match postincrement. Adjust the predicate to
1368 exclude a volatile memory reference.
1370 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
1372 * config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove.
1374 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
1376 * hooks.c (hook_void_tree_int): Remove.
1377 (hook_void_constcharptr): Likewise.
1378 (hook_int_void_0): Likewise.
1379 * hooks.h: Remove the prototypes for the above three
1381 * targhooks.c (hook_bool_machine_mode_true): Remove.
1382 * targhooks.h: Remove the prototype for
1383 hook_bool_machine_mode_true.
1385 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
1387 * emit-rtl.c (subreg_realpart_p): Remove.
1388 (reorder_insns_with_line_notes): Likewise.
1389 (end_full_sequence): Likewise.
1390 * rtl.h: Remove the prototype for the above functions.
1392 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
1394 * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h,
1395 config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h,
1396 config/iq2000/iq2000.h, config/m32r/m32r.h,
1397 config/pdp11/pdp11.h, config/sparc/sparc.h,
1398 config/xtensa/xtensa.h: Remove commented-out or useless
1399 definitions of CASE_VECTOR_PC_RELATIVE.
1401 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
1403 * loop.c (all_sets_invariant_p): Remove.
1405 2004-02-19 Eric Botcazou <ebotcazou@libertysurf.fr>
1408 * config/sparc/sparc.h (NPARM_REGS): Delete.
1409 (BASE_RETURN_VALUE_REG): Likewise.
1410 (BASE_OUTGOING_VALUE_REG): Likewise.
1411 (BASE_PASSING_ARG_REG): Likewise.
1412 (BASE_INCOMING_ARG_REG): Likewise.
1413 * config/sparc/sparc.c (sparc_strict_argument_naming): Test
1414 TARGET_ARCH64, not TARGET_V9.
1415 (function_arg_slotno): Dispatch based on the mode class.
1416 Handle vector modes like floating-point modes.
1417 (function_arg_record_value_1): Handle vector types like
1418 floating-point types.
1419 (function_arg_record_value_2): Likewise.
1420 Calculate regno after mode transformation.
1421 (function_arg): Handle vector modes like floating-point modes.
1422 (function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX.
1423 If ARCH64, do not recheck alignment.
1424 (function_arg_pass_by_reference): Reorder the conditions.
1425 (sparc_return_in_memory): Move after function_arg_padding.
1426 Implement calling conventions for vector modes.
1427 (sparc_struct_value_rtx): Move after sparc_return_in_memory.
1428 (function_value): Move scope of 'regbase'.
1429 Implement calling conventions for vector modes.
1430 (sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX
1431 and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST.
1432 (sparc_va_arg): Use function_arg_pass_by_reference to test whether
1433 the argument is passed by reference.
1434 (sparc_type_code): Handle vector types.
1436 2004-02-19 Alan Modra <amodra@bigpond.net.au>
1438 * function.c (assign_parms): When building decl_rtl for
1439 SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer.
1441 2004-02-19 Olivier Hainque <hainque@act-europe.fr>
1443 * expr.c (is_aligning_offset): Check if we are aligning the
1444 expressions's address over BIGGEST_ALIGNMENT in bytes, not
1447 2003-02-18 Matt Austern <austern@apple.com>
1449 * gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined, and
1450 LIBGCC_SPEC isn't, set LIBGCC_SPEC to REAL_LIBGCC_SPEC.
1451 (init_gcc_spec): Don't define or call if REAL_LIBGCC_SPEC is
1452 defined. Instead use REAL_LIBGCC_SPEC, unmodifed, as the libgcc
1454 * doc/tm.texi (REAL_LIBGCC_SPEC): Document.
1456 2004-02-18 Zack Weinberg <zack@codesourcery.com>
1458 * dwarf2out.c (loclabel_num): Move outside #ifdef
1459 DWARF2_DEBUGGING_INFO and mark with GTY(()).
1460 * config/ia64/ia64.c (struct extern_func_list,extern_func_head):
1462 (ia64_hpux_add_extern_decl): Save the decl, not the name string.
1463 Allocate memory with ggc_alloc. No need to copy anything.
1464 (ia64_hpux_file_end): Update to match.
1466 2004-02-18 Jakub Jelinek <jakub@redhat.com>
1468 * config/i386/i386.c (override_options): Don't imply 3DNow! for -m64
1471 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com>
1473 * config/s390/s390.md ("divmodtidi3"): Use canonical RTL.
1474 ("divmodtisi3"): Likewise.
1475 ("udivmoddi4", "udivmodtidi3"): Likewise.
1476 ("divmodsi4", "divmoddisi3"): Likewise.
1477 ("udivmodsi4", "udivmoddisi3"): Likewise.
1478 ("udivsi3", "umodsi3"): Likewise.
1480 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com>
1482 * config/s390/s390.c (s390_mainpool_start): Delete the main pool
1483 placeholder insn when chunkifying the pool.
1485 2004-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1487 * pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not
1488 generating PIC code.
1490 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
1492 * config/h8300/h8300-protos.h: Add a prototype for
1493 h8300_expand_branch.
1494 * config/h8300/h8300.c (h8300_expand_branch): New.
1495 * config/h8300/h8300.md (ble, bleu, bge, bgeu, blt, bltu, bgt,
1496 bgtu, beq, bne): Call h8300_expand_branch().
1498 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
1500 * config/h8300/h8300-protos.h: Add prototypes for
1501 h8300_hard_regno_nregs and h8300_hard_regno_mode_ok.
1502 * config/h8300/h8300.c (h8300_hard_regno_nregs): New.
1503 (h8300_hard_regno_mode_ok): Likewise.
1504 * config/h8300/h8300.h (HARD_REGNO_NREGS): Call
1505 h8300_hard_regno_nregs().
1506 (HARD_REGNO_MODE_OK): Call h8300_hard_regno_mode_ok().
1508 2004-02-18 Per Bothner <per@bothner.com>
1510 * cpphash.h (struct cpp_buffer): Restore return_at_eof field. This
1511 partly reverts my 2003-10-01 change, because we're back to logically
1512 including <command line> inside the main line.
1513 * cpplex.c (_cpp_get_fresh_line): Check return_at_eof field.
1514 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer.
1515 Fixes PR preprocessor/14103.
1517 * cppfiles.c (_cpp_stack_include): When appropriate decrement
1518 line_table's highest_location, fixing LAST_SOURCE_LINE_LOCATION.
1519 (cpp_push_include): Don't need to increment pfile's line field.
1520 * line-map.h (LAST_SOURCE_LINE_LOCATION): Only decrement by 1.
1522 * c-ppoutput.c (print struct): New first_time field.
1523 (init_pp_output): Set print.first_time.
1524 (pp_file_change): Use print.first_time, rather than MAIN_FILE_P,
1525 which is set also for (say) <command line>. Clear print.first_time.
1527 * cppfiles.c (struct _cpp_file): Comment and type for pch field
1528 does not match the code, so fix both.
1529 (should_stack_file): Inline include_pch_p function.
1530 (include_pch_p): Remove pointless function.
1532 * cpphash.h (struct cpp_buffer): Remove unused search_cached field.
1534 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
1536 * config/h8300/h8300.md (four define_peephole2's): Use
1537 h8300_regs_ok_for_stm().
1539 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
1541 * config/h8300/h8300-protos.h: Update the prototype for
1543 * config/h8300/h8300.c (expand_a_rotate): Remove the first
1545 * config/h8300/h8300.md: Update all callers.
1547 2004-02-18 Jan Hubicka <jh@suse.cz>
1549 * simplify-rtx.c (simplify_unary_operation): Deal with logicals on
1551 (simplify_binary_operation): Deal with logicals on floats.
1553 * i386.md (SSE fabs splitters): Emit new patterns.
1554 (SSE cmov splitters): Likewise.
1555 (sse_andv4sf3, sse_nandv4sf3, sse_iorv4sf3, sse_xorv4sf3
1556 (sse_andv2df3, sse_nandv2df3, sse_iorv2df3, sse_xorv2df3): Do not use
1558 (sse_andsf3, sse_nandsf3, sse_xorsf3): Kill.
1559 (sse_anddf3, sse_nanddf3, sse_xordf3): Kill.
1561 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
1563 * config/h8300/h8300.c (expand_a_rotate): Don't generate insns
1565 (output_a_rotate): Tweak a comment.
1566 * config/h8300/h8300.md (*rotlqi3_1): Change to rotlqi3_1.
1567 (*rotlhi3_1): Change to rotlhi3_1.
1568 (*rotlsi3_1): Change to rotlsi3_1.
1570 2004-02-18 Richard Earnshaw <rearnsha@arm.com>
1573 * arm.c (load_multiple_operation): Don't insist that the source reg
1574 of a post-increment component is the same as the destination.
1575 (store_multiple_operation): Likewise.
1577 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
1579 * config/h8300/h8300.md: Move movsf patterns into one section
1582 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
1584 * cfgloop.h, cfgloopanal.c, cpplex.c, except.h, loop-init.c,
1585 loop-unroll.c, scan-decls.c, scan.h, stor-layout.c,
1586 xcoffout.c, xcoffout.h, config/arm/mmintrin.h,
1587 config/mips/linux64.h, config/pa/pa-64.h,
1588 config/rs6000/aix51.h, config/rs6000/aix52.h,
1589 config/rs6000/spe.md, config/sparc/linux.h,
1590 config/sparc/linux64.h: Update copyright.
1592 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
1594 * config/h8300/h8300.md: Move push patterns into one
1595 section of the file.
1597 2004-02-18 Mark Mitchell <mark@codesourcery.com>
1600 * config/ia64/ia64.c (ia64_struct_value_rtx): Cope with NULL
1603 2004-02-18 Paul Brook <paul@codesourcery.com>
1605 * rtlanal.c (rtx_varies_p): Return 0 for NULL_RTX
1607 2004-02-18 Paul Brook <paul@codesourcery.com>
1610 * dwarf2out.c (loc_descriptor_from_tree): Handle
1611 EXPR_WITH_FILE_LOCATION.
1613 2004-02-18 Jakub Jelinek <jakub@redhat.com>
1615 * config/i386/i386.md (zero_extendqidi2, zero_extendqidi2,
1616 testdi_1_rex64, anddi_2, xordi_1_rex64, xordi_2_rex64): Remove
1617 trailing whitespace from instructions.
1619 2004-02-17 Geoffrey Keating <geoffk@apple.com>
1621 * configure.ac: When generating auto-build.h, pass
1622 --enable-languages to the sub-configure.
1623 Put quotes around ${program_transform_name} when generating
1624 name of as, ld, nm, objdump.
1625 * configure: Regenerate.
1627 2004-02-17 Matt Kraai <kraai@alumni.cmu.edu>
1629 * Makefile.in (s-check, s-config, s-conditions, s-flags)
1630 (s-codes, s-constants, s-emit, s-recog, s-opinit, s-extract)
1631 (s-peep, s-attr, s-attrtab, s-output, s-genrtl, s-modes)
1632 (s-preds, s-iov): Do not depend on move-if-change.
1634 2004-02-17 James E Wilson <wilson@specifixinc.com>
1636 * caller-save.c (insert_restore): Pass mem through copy_rtx.
1637 (insert_save): Likewise.
1639 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1641 * config/h8300/h8300.c (h8300_emit_stack_adjustment): Fix a
1644 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1646 * config/h8300/h8300.md (*one_complsi2_h8300): Change to
1648 (*one_complsi2_h8300hs): Change to *one_cmplsi2_h8300hs.
1650 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1652 * config/h8300/h8300-protos.h: Update the prototype of
1654 * config/h8300/h8300.c (fix_bit_operand): Remove the second
1656 * config/h8300/h8300.md: Update all callers.
1658 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1660 * config/h8300/h8300.c (fix_bit_operand): Change the name of
1661 the last argument to "code" from "type".
1663 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1665 * config/h8300/h8300.c: Remove an extern declaration of
1666 rtx_equal_function_value_matters.
1668 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1670 * config/h8300/h8300.c (fix_bit_operand): Don't generate insns
1672 * config/h8300/h8300.md (*andqi3_1): Change to andqi3_1.
1673 (*iorqi3_1): Change to iorqi3_1.
1674 (*xorqi3_1): Change to xorqi3_1.
1676 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1678 * c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment
1681 2004-02-17 Jan Hubicka <jh@suse.cz>
1683 * i386.c (x86_prologue_using_move, x86_epilogue_using_move): Disable for P4.
1685 2004-02-18 Alan Modra <amodra@bigpond.net.au>
1687 PR optimization/14119
1688 * combine.c (try_combine): When attemting to fix unrecognized insns,
1689 don't delete SETs marked with REG_EH_REGION notes.
1691 2004-02-17 Ulrich Weigand <uweigand@de.ibm.com>
1693 * combine.c (simplify_if_then_else): Do not replace
1694 (if_then_else (ne reg 0) (0) (const_int)) by (reg) if the
1697 2004-02017 Steven Bosscher <stevenb@suse.de>
1699 * (c-decl.c, c-semantics.c, calls.c, cgraph.c, cgraphunit.c,
1700 function.c, integrate.c, print-tree.c, toplev.c, tree-optimize.c,
1701 tree.h): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION.
1702 * ada/utils.c: Likewise.
1703 * cp/decl.c: Likewise.
1704 * f/com.c: Likewise.
1705 * java/class.c: Likewise.
1707 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1709 * config/h8300/h8300.md: Fix comment typos.
1711 2004-02-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1713 * config/mips/t-iris6gld: Renamed to ...
1714 * config/mips/t-irix-gld: ... this.
1715 * config.gcc (mips-sgi-irix6*): Reflect this
1716 (mips-sgi-irix5*): Use it with GNU ld.
1718 * config/mips/irix6-crti.asm, config/mips/irix6-crtn.asm: Renamed
1720 * config/mips/irix-crti.asm, config/mips/irix-crtn.asm: ... this.
1721 * config/mips/t-irix-gld: Reflect this.
1722 * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
1724 * config/mips/iris5gld.h: New file.
1725 * config.gcc (mips-sgi-irix5*): Use it with GNU ld.
1726 Only use collect2 without gas.
1728 * config/mips/iris6.h (IRIX6_STARTFILE_SPEC, IRIX6_ENDFILE_SPEC):
1729 Renamed to IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
1730 (STARTFILE_SPEC, ENDFILE_SPEC, SUBTARGET_EXTRA_SPECS): Reflect this.
1731 * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
1733 * config/mips/iris6.h (SUBTARGET_EXTRA_SPECS): Moved ...
1734 * config/mips/iris5.h: ... here.
1736 * config/mips/iris5.h (STARTFILE_SPEC, ENDFILE_SPEC): Renamed to
1737 IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
1738 (STARTFILE_SPEC, ENDFILE_SPEC): Define.
1740 * config/mips/iris5gas.h (STARTFILE_SPEC, ENDFILE_SPEC): Simplify
1741 using irix_startfile_spec, irix_endfile_spec.
1743 2004-02-16 Gunther Nikl <gni@gecko.de>
1745 * config/m68k/m68k.c: Remove obsolete support for HPUX_ASM.
1747 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1749 * config/h8300/h8300.c (h8300_expand_prologue): Don't generate
1752 2004-02-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1754 * cfghooks.c (split_edge): Speed up updating of dominators.
1756 2004-02-17 Mark Mitchell <mark@codesourcery.com>
1759 * c-common.c (flag_abi_version): Remove.
1760 * c-common.h (flag_abi_version): Likewise.
1761 * c-opts.c (c_common_handle_option): Remove OPT_fabi_version case.
1762 * c.opt (fabi-version): Remove.
1763 * calls.c (expand_call): Always pass a function type to
1764 struct_value_rtx. Use convert_memory_address.
1765 * common.opt (fabi-version): Add it.
1766 * flags.h (flag_abi_version): Likewise.
1767 (abi_version_at_least): New macro.
1768 * opts.c (common_handle_option): Add OPT_fabi_version.
1769 * toplev.c (flag_abi_version): Define it.
1770 * config/ia64/ia64.c (ia64_struct_retval_addr_is_first_parm_p):
1772 (ia64_output_mi_thunk): Use it.
1773 (ia64_struct_value_rtx): Likewise.
1775 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1777 * config/h8300/h8300.c (h8300_emit_stack_adjustment):
1778 Don't generate insns by hand.
1780 2004-02-17 Andrew Pinski <pinskia@physics.uc.edu>
1783 * doc/invoke.texi (fabi-version): The default is 2 now.
1785 2004-02-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1787 * loop-iv.c: New file.
1788 * Makefile.in (loop-iv.o): New.
1789 * basic_block.h (FOR_BB_INSNS, FOR_BB_INSNS_REVERSE): New macros.
1790 * cfgloop.c (fill_sons_in_loop, get_loop_body_in_dom_order,
1791 num_loop_branches): New functions.
1792 * cfgloop.h (get_loop_body_in_dom_order, num_loop_branches,
1793 iv_analysis_loop_init, iv_get_reaching_def, iv_analyse, get_iv_value,
1794 find_simple_exit, iv_number_of_iterations, iv_analysis_done,
1795 get_simple_loop_desc, free_simple_loop_desc): Declare.
1796 (simple_loop_desc): New inline function.
1797 (struct rtx_iv, struct niter_desc): New.
1798 * cfgloopmanip.c (loopify): Specify semantics more precisely.
1799 * expr.c (force_operand): Handle subregs of expressions created by
1801 * loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Move
1802 parts of the initialization to toplev.c
1803 * loop-unroll.c (loop_exit_at_end_p): New.
1804 (unroll_and_peel_loops): Call iv_analysis_done.
1805 (decide_peel_once_rolling, decide_peel_completely,
1806 decide_unroll_stupid, decide_unroll_constant_iterations,
1807 decide_unroll_runtime_iterations, decide_peel_simple,
1808 peel_loop_simple, unroll_loop_stupid, unroll_loop_constant_iterations,
1809 unroll_loop_runtime_iterations): Use new simple loop analysis.
1810 * loop-unswitch.c (compare_and_jump_seq): New.
1811 (may_unswitch_on_p): Renamed to ...
1812 (may_unswitch_on): Use new iv analysis.
1813 (reversed_condition): Export.
1814 (unswitch_single_loop, unswitch_loop): Use new iv analysis.
1815 * predict.c (estimate_probability): Use new simple loop analysis.
1816 * rtl.h (get_mode_bounds, reversed_condition,compare_and_jump_seq,
1817 canon_condition, simplify_using_condition): Declare.
1818 * stor-layout.c (get_mode_bounds): New.
1819 * toplev.c (rest_of_handle_loop2): Some parts of
1820 initialization/finalization moved here from loop-init.c.
1822 2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
1824 * config/h8300/h8300.h (FIXED_REGISTERS): Add the soft frame
1826 (CALL_USED_REGISTERS): Likewise.
1827 (REG_ALLOC_ORDER): Likewise.
1828 (REG_CLASS) <GENERAL_REGS>: Likewise.
1830 2004-02-16 Geoffrey Keating <geoffk@apple.com>
1832 * doc/md.texi (Insn Canonicalizations): Document left-chaining
1833 in associative operators.
1834 * rtlanal.c (commutative_operand_precedence): Create some new
1835 variables. Prefer a commutative operand on the left, then
1836 binary expressions, then NEG and NOT.
1838 2004-02-16 Matthias Klose <doko@debian.org>
1840 * config/t-slibgcc-elf-ver: Define SHLIB_NAME and SHLIB_SONAME
1841 in terms of SHLIB_SOVERSION.
1842 * config/m68k/t-slibgcc-elf-ver: New file.
1843 * config/pa/t-slibgcc-elf-ver: New file.
1844 * config.gcc (m68k-linux, parisc-linux): Use them when not
1845 sjlj exceptions are not configured.
1847 2004-02-16 Eric Botcazou <ebotcazou@libertysurf.fr>
1849 * config/sparc/sparc.c (get_pc_symbol_name): Mark with GTY(()).
1851 2004-02-16 Zack Weinberg <zack@codesourcery.com>
1853 * sdbout.c (sdb_debug_hooks): Correct the type_decl entry.
1855 2004-02-16 Joseph S. Myers <jsm@polyomino.org.uk>
1857 * doc/sourcebuild.texi: Mention backends.html.
1859 2004-02-16 Kazu Hirata <kazu@cs.umass.edu>
1861 * c-decl.c, c-ppoutput.c, cpphash.h, cpplib.h, dbxout.c,
1862 line-map.c, line-map.h, var-tracking.c: Fix comment
1865 2004-02-16 Richard Henderson <rth@redhat.com>
1867 * cse.c (cse_insn): Don't lose REG_NON_LOCAL_GOTO note.
1869 * fold-const.c (operand_equal_p): Fix VECTOR_CST comparison.
1871 2004-02-15 Kazu Hirata <kazu@cs.umass.edu>
1873 * config/h8300/h8300.md: Remove unnecessary parallels from
1874 all define_insn and define_split patterns.
1876 2004-02-15 Kazu Hirata <kazu@cs.umass.edu>
1878 * config/h8300/h8300.md: Remove explicit (set_attr "cc"
1881 2004-02-15 Bernardo Innocenti <bernie@develer.com>
1883 * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for
1886 2004-02-15 Kazu Hirata <kazu@cs.umass.edu>
1888 * config/ia64/ia64.c, config/mips/mips.c,
1889 config/mmix/mmix-modes.def: Fix comment typos.
1891 2004-02-15 Roger Sayle <roger@eyesopen.com>
1893 * c-common.h (GET_DIRECTIVE_LINE): Remove unused macro.
1894 (get_directive_line): Remove unused function prototype.
1896 2004-02-14 Josef Zlomek <zlomekj@suse.cz>
1898 * tree-inline.c (copy_body_r): Do not replace ret_label.
1900 2004-02-14 Jan Hubicka <jh@suse.cz>
1902 * i386.c (x86_four_jump_limit): New variable.
1903 (k8_avoid_jump_misspredicts): Rename to ...
1904 (ix86_avoid_jump_misspredicts): .. this one.
1905 (ix86_pad_returns): Break out from ...
1906 (ix86_reorg): ... this one; do ix86_avoid_jump_misspredicts when asked
1908 * i386.h (TARGET_FOUR_JUMP_LIMIT): New macro.
1910 2004-02-14 Josef Zlomek <zlomekj@suse.cz>
1912 * emit-rtl.c (set_decl_incoming_rtl): Check whether the 0th element of
1915 2004-02-14 Per Bothner <per@bothner.com>
1917 * fix-header.c (line_table): Move local variable in main to global.
1918 * scan.h (line_table): Use it.
1919 * scan-decls.c (scan_decls): Need to call linemap_lookup on token's
1920 line (recently renamed to src_loc) before calling recognized_function.
1922 2004-02-14 Matt Kraai <kraai@alumni.cmu.edu>
1924 * Makefile.in: Fix comment typos.
1926 2004-02-14 Olivier Hainque <hainque@act-europe.fr>
1928 * loop.c (check_dbra_loop): Use gen_int_mode instead of GEN_INT
1929 for start_value when it is directly moved into reg, and factorize
1930 the retrieval of GET_MODE (reg).
1932 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
1934 * config/mips/mips-protos.h (mips_load_got_page): Delete.
1935 (mips_load_got_global): Delete.
1936 (mips_gotoff_page): Declare.
1937 * config/mips/mips.md (UNSPEC_LOAD_GOT): New constant.
1938 (*xgot_lo[sd]i, *got_disp[sd]i, *got_page[sd]i): Build an
1939 UNSPEC_LOAD_GOT pattern rather than a MEM.
1940 (*load_got[sd]i): New patterns.
1941 * config/mips/mips.c (mips_got_alias_set, mips_load_got): Delete.
1942 (mips_load_got_page, mips_load_got_global): Delete.
1943 (mips_gotoff_page): New function.
1944 (override_options): Don't initialize mips_got_alias_set.
1946 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
1948 * config/mips/mips.h (MASK_DEBUG_[ABEFI], TARGET_DEBUG_[ABEFI]_MODE)
1949 (TARGET_MIPS4100, TARGET_MIPS4300, TARGET_MIPS4KC, TARGET_MIPS5KC)
1950 (TARGET_SB1, TUNE_SB1, TUNE_SR71K, BIGGEST_MAX_ARGS_IN_REGISTERS)
1951 (GO_PRINTF, GO_PRINTF2, GO_DEBUG_RTX, DFMODE_NAN, SFMODE_NAN): Delete.
1952 (TARGET_SWITCHES): Remove MASK_DEBUG_[ABEFI].
1953 * config/mips/mips.c: Fix some overly-long lines.
1954 (SINGLE_WORD_MODE_P, PIC_OFFSET_TABLE_MASK): Delete.
1955 (init_cumulative_args): Remove TARGET_DEBUG_E_MODE handling.
1957 2004-02-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1959 * configure.ac: Search for as, ld below libexec/gcc.
1960 * configure: Regenerate.
1962 2004-02-14 Ben Elliston <bje@wasabisystems.com>
1964 * config/arm/mmintrin.h (_mm_setwcx): Reverse arguments in call to
1965 __builtin_arm_setwcx ().
1966 * config/arm/arm.c (arm_expand_builtin): Generate operands
1967 correctly and reverse their order in call to gen_iwmmxt_tmcr ().
1969 2004-02-14 Ben Elliston <bje@wasabisystems.com>
1971 * config/arm/arm.c (bdesc_2arg): Correct builtin names "wmulsh"
1972 and "wmuluh" to "wmulsm" and "wmulum", respectively.
1973 * config/arm/arm.h (enum arm_builtins): Rename enumerators to
1974 ARM_BUILTIN_WMULSM and ARM_BUILTIN_WMULUM.
1975 * config/arm/mmintrin.h (_mm_mulhi_pi16): Update intrinsic call.
1976 (_mm_mulhi_pu16): Likewise.
1978 2004-02-13 Zack Weinberg <zack@codesourcery.com>
1980 * xcoffout.c (xcoff_assign_fundamental_type_number): Check
1981 DECL_NAME != 0 before dereferencing.
1983 2004-02-13 Ulrich Weigand <uweigand@de.ibm.com>
1985 * config/s390/s390-protos.h (s390_output_symbolic_const): Remove.
1986 (s390_output_addr_const_extra): Declare.
1987 (s390_output_pool_entry): Remove FILE * argument.
1988 * config/s390/s390.c (s390_output_symbolic_const): Remove.
1989 (s390_output_addr_const_extra): New function.
1990 (print_operand_address): Call output_addr_const instead of
1991 s390_output_symbolic_const.
1992 (print_operand): Likewise.
1993 (s390_output_pool_entry): Use assemble_integer for symbolic constants.
1994 Remove FILE * argument.
1995 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Define.
1996 * config/s390/s390.md ("*pool_entry"): Adapt s390_output_pool_entry
1999 2004-02-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2001 * cfgloopanal.c (mark_irreducible_loops): Rewriten.
2002 (struct edge, struct vertex, struct graph): New.
2003 (dump_graph, new_graph, add_edge, dfs, check_irred, for_each_edge,
2004 free_graph): New functions.
2006 2004-02-12 Chris Demetriou <cgd@broadcom.com>
2008 * config/mips/mips.md (casesi_internal, casesi_internal_di):
2009 Use ".set macro" to avoid warnings about multi-instruction
2010 macros, since they're intentional.
2012 2004-02-12 Geoffrey Keating <geoffk@apple.com>
2014 * config/darwin.h: Add include guards. Remove old, now incorrect,
2015 comment about STANDARD_EXEC_PREFIX.
2017 * Makefile.in (install-man): Use $(CPP_INSTALL_NAME) and
2018 $(GCOV_INSTALL_NAME) to install manpages. Remove generic rule
2019 for installing .1 manpages. Add rules for installing cpp
2020 and gcov manpages under their installed names.
2022 2004-02-12 Alexandre Oliva <aoliva@redhat.com>
2024 * configure.ac (gcc_cv_ld): Don't set to LD if target is not
2025 host, but try LD_FOR_TARGET first.
2026 * configure: Rebuilt.
2028 2004-02-12 Zack Weinberg <zack@codesourcery.com>
2030 * dbxout.c: Move declaration of dbxout_type_decl outside
2031 #ifdef DBX_DEBUGGING_INFO.
2032 * c-parse.in: Don't give the asmdef production a type.
2034 2004-02-12 Zack Weinberg <zack@codesourcery.com>
2036 * debug.h (struct gcc_debug_hooks): Add type_decl field.
2037 (debug_nothing_tree_int): Prototype.
2038 (dwarf_debug_hooks): Delete, unused.
2039 * debug.c (do_nothing_debug_hooks): Update.
2040 (debug_nothing_tree_int): New function.
2041 * langhooks.h (struct lang_hooks_for_decls):
2042 Remove builtin_type_decls field.
2043 * langhooks-def.h (LANG_HOOKS_BUILTIN_TYPE_DECLS): Delete.
2044 (LANG_HOOKS_DECLS): Update.
2045 * toplev.c (rest_of_decl_compilation, rest_of_type_compilation):
2046 Use debug_hooks->type_decl.
2047 * dbxout.c (preinit_symbols): New static.
2048 (dbx_debug_hooks, xcoff_debug_hooks): Update.
2049 (dbxout_init): Don't call DBX_OUTPUT_STANDARD_TYPES or
2050 lang_hooks.decls.builtin_type_decls. Do scan preinit_symbols
2051 for symbols to output.
2052 (dbxout_type_decl): New function.
2053 (dbxout_symbol): If called before dbxout_init has run, queue
2054 the symbol for later. Apply DBX_ASSIGN_FUNDAMENTAL_TYPE_NUMBER
2055 to TYPE_DECLs before emitting them.
2056 * xcoffout.c (assign_type_number): Delete.
2057 (xcoff_type_numbers): New static table.
2058 (xcoff_assign_fundamental_type_number): New function.
2059 * xcoffout.h: Define DBX_ASSIGN_FUNDAMENTAL_TYPE_NUMBER, not
2060 DBX_OUTPUT_STANDARD_TYPES. Remove unnecessary #ifdefs.
2061 * sdbout.c: Include varray.h.
2062 (deferred_global_decls): New static.
2063 (sdb_debug_hooks): Update.
2064 (sdbout_global_decl): If we can't emit something right now,
2065 remember it in deferred_global_decls.
2066 (sdbout_finish): Just scan deferred_global_decls; don't call getdecls.
2067 (sdbout_init): Initialize deferred_global_decls.
2068 * Makefile.in: Update dependencies of sdbout.o.
2069 * dwarf2out.c (dwarf2out_type_decl): New function.
2070 (dwarf2_debug_hooks): Update.
2071 * vmsdbgout.c (vmsdbg_debug_hooks): Update.
2072 * c-decl.c (getdecls): Just return 0.
2073 (check_for_loop_decls): Don't use getdecls.
2074 (record_builtin_type): Call debug_hooks->type_decl on the TYPE_DECL.
2075 * c-objc-common.c (c_objc_common_finish_file): Don't use getdecls.
2077 2004-02-12 Ulrich Weigand <uweigand@de.ibm.com>
2079 * config/s390/s390.c (s390_sched_reorder2): Remove.
2080 (TARGET_SCHED_REORDER2): Do not redefine.
2082 2004-02-12 Zack Weinberg <zack@codesourcery.com>
2084 * c-parse.in (maybe_type_qual): Delete.
2085 (maybe_volatile, simple_asm_expr, asmdef, asm_stmt)
2086 (asm_argument): New grammar rules.
2087 (extdef_1): Use asmdef.
2088 (maybeasm): Move down with other asm rules; use simple_asm_expr.
2089 (xexpr): Move up with other expression rules.
2090 (stmt): Use asm_stmt.
2092 * c-typeck.c (build_asm_expr): New function - body mostly
2093 pulled from build_asm_stmt.
2094 (build_asm_stmt): Just handle tacking on the volatile qualifier.
2095 * c-tree.h (build_asm_expr, build_asm_stmt): Update prototypes.
2097 2004-02-12 Richard Sandiford <rsandifo@redhat.com>
2100 * config/mips/mips-protos.h (mips_output_aligned_decl_common): Declare.
2101 (mips_declare_object): Make variadic.
2102 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use
2103 mips_output_aligned_decl_common.
2104 * config/mips/mips.c (mips_output_aligned_decl_common): New function.
2105 (mips_declare_object): Make variadic.
2107 2004-02-12 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2109 * function.c (update_epilogue_consts): Teach about binary operations.
2111 * emit-rtl.c (set_mem_attributes_minus_bitpos): Don't kill
2112 previous MEM_VOLATILE in REF.
2113 * function.c (fixup_var_refs): Save volatile_ok and set to 1.
2114 * expr.c (emit_block_move_via_movstr): Save and restore volatile_ok.
2116 2004-02-12 Gunther Nikl <gni@gecko.de>
2118 * config.gcc: Restore support for m68k-openbsd.
2120 2004-02-12 Jan Hubicka <jh@suse.cz>
2122 * tree-optimize.c (tree_rest_of_compilation): Do not release
2125 2004-02-11 Matt Kraai <kraai@alumni.cmu.edu>
2127 * doc/install.texi: Fix the spelling of "explicitly".
2129 2004-02-11 Eric Christopher <echristo@redhat.com>
2131 * cppcharset.c (_cpp_interpret_string_notranslate): Rename and
2132 duplicate argument structure of cpp_interpret_string.
2133 * cpphash.h: Move prototype...
2135 * cpplib.c: Fix calls to match new function signature.
2137 2004-02-11 Joseph S. Myers <jsm@polyomino.org.uk>
2140 * cppexp.c (num_binary_op): Don't allow comma operators in #if
2141 constant expressions at all outside C99 mode if pedantic.
2143 2004-02-11 Uros Bizjak <uros@kss-loka.si>
2145 * optabs.h (enum optab_index): Add new OTI_log10 and OTI_log2.
2146 (log10_optab, log2_optab): Define corresponding macros.
2147 * optabs.c (init_optabs): Initialize log10_optab and log2_optab.
2148 * genopinit.c (optabs): Implement log10_optab and log2_optab
2149 using log10?f2 and log2?f2 patterns.
2150 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG10{,F,L}
2151 using log10_optab, and BUILT_IN_LOG2{,F,L} using log2_optab.
2152 (expand_builtin): Expand BUILT_IN_LOG10{,F,L} and BUILT_IN_LOG2{,F,L}
2153 using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
2155 * config/i386/i386.md (log10sf2, log10df2, log10xf2, log2sf2,
2156 log2df2, log2xf2): New patterns to implement log10, log10f, log10l,
2157 log2, log2f and log2l built-ins as inline x87 intrinsics.
2159 2004-02-11 Richard Henderson <rth@redhat.com>
2162 * flow.c (insn_dead_p): A clobber of a dead hard register is a
2163 dead insn after reload.
2165 2004-02-11 Ulrich Weigand <uweigand@de.ibm.com>
2167 * tree.h (frame_base_decl): Add GTY marker.
2168 * var-tracking.c (frame_base_decl): Likewise.
2170 2004-02-11 Daniel Berlin <dberlin@dberlin.org>
2172 * dwarf2out.c (output_loc_list): Remove no longer necessary, and now
2174 (add_location_or_const_value_attribute): Use text_section_label,
2175 not TEXT_SECTION_NAME.
2177 2004-02-11 Per Bothner <per@bothner.com>
2179 Represent column numbers using line-map's source_location.
2180 The "next available source_location" is now managed internally by
2181 line-maps.c rather than by clients.
2182 * line-map.h (struct line_map): New field column_bits.
2183 <from_line>: Rename field to start_location.
2184 (struct line_maps): New fields highest_location and max_column_hint.
2185 (linemap_check_files_exited): New declaration.
2186 (linemap_line_start): New declaration.
2187 (linemap_add): Remove from_line parameter; use highest_location field.
2188 (SOURCE_LINE, LAST_SOURCE_LINE): Modify to use column_bits.
2189 (SOURCE_COLUMN, LAST_SOURCE_LINE_LOCATION): New macros.
2190 (CURRENT_LINE_MAP): Remove macro.
2191 (linemap_position_for_column): New inline function.
2192 * line-map.c (linemap_init): Clear new fields.
2193 (linemap_check_files_exited): New function, extracted from ...
2194 (linemap_free): Use linemap_check_files_exited.
2195 (linemap_add): Remove from_line parameter. Various updates.
2196 (linemap_line_start): New function.
2197 (linemap_lookeup): Update for new field names.
2198 * cpphash.h (struct cpp_reader) <map>: Field removed. Because
2199 linemap_position_for_column may unpredictably change the current map,
2200 it is cleaner and simpler for us to not cache it in cpp_reader.
2201 (struct cpp_buffer): New sysp field.
2202 Changed warned_cplusplus_comments and from_stage3 to bitfields.
2203 * cppinit.c (cpp_read_min_file): pfile->map no longer exists.
2204 * cpplib.c (do_line, do_linemarker, _cpp_do_file_change): Get
2205 current map using linemap_lookup.
2206 (do_linemarker): Also set buffer's sysp field.
2207 (destringize_and_run): No longer need to decrement current line.
2208 * cppfiles.c (_cpp_stack_file): Set sysp from and in buffer.
2209 (search_path_head, open_file_failed): Use buffer's sysp.
2210 (cpp_make_system_header): Get current map using linemap_lookup.
2211 Also set buffer's sysp flag.
2212 * cppmacro.c (_cpp_builtin_macro_text): Likewise use linemap_lookup.
2213 * cpphash.h (CPP_INCREMENT_LINE): New macro.
2214 (struct cpp_buffer): Moved fields saved_cur, saved_rlimit to ...
2215 (struct cpp_reader): ... and adding saved_line_base field.
2216 * cpptrad.c (_cpp_overlay_buffer, _cpp_remove_overlay):
2217 Update accordingly. Don't adjust line.
2218 (_cpp_scan_out_logical_line): Use CPP_INCREMENT_LINE.
2219 * cpphash.c (CPP_IN_SYSTEM_HEADER): Replaced macro by ...
2220 (cpp_in_system_header): ... new inline function, using buffer's sysp.
2221 * cpperror.c (_cpp_begin_message): Update to use cpp_in_system_header.
2222 * cpplex.c (_cpp_lex_direct): Likewise.
2223 * cppmacro.c (_cpp_builtin_macro_text): Likewise.
2224 * cppmacro.c (_cpp_create_definition): Use buffer's sysp field.
2225 * cpplib.h (struct cpp_token): Rename line field to src_loc.
2226 Remove col field as it is now subsumed by src_loc.
2227 * cpperror.c: Update various field, parameter, and macro names.
2228 (print_location): If col==0, try SOURCE_COLUMN of line.
2229 (cpp_error): Use cur_token's src_loc field, rather than line+col.
2230 * cpplib.c (do_diagnostic): Token's src_loc fields replaces line+col.
2231 * cpplex.c (_cpp_process_line_notes, _cpp_lex_direct,
2232 _cpp_skip_block_comment): Use CPP_INCREMENT_LINE.
2233 (_cpp_temp_token): Replace cpp_token's line+col fields by src_loc.
2234 (_cpp_get_fresh_line): Don't need to adjust line for missing newline.
2235 (_cpp_lex_direct): Use linemap_position_for_column.
2236 * c-ppoutput.c (maybe_print_line, print_line): Don't take map
2237 parameter. Instead get it from the line_table global. Adjust callers.
2238 (print): Remove map field. Replace line field to src_line.
2239 (init_pp_output, account_for_newlines, maybe_print_line): Adjust.
2240 (cb_line_change): Use SOURCE_COLUMN. Minor optimizations.
2241 (pp_file_change): Use MAIN_FILE_P since we cannot checked print.map.
2242 Use LAST_SOURCE_LINE_LOCATION to "catch up" after #include.
2243 * cpptrad.c (copy_comment): Rename variable.
2244 * c-lex.c (map): Remove static variable, for same reason we removed
2245 cpp_reader's map field.
2246 (cb_line_change, cb_def_pragma, cb_define, cb_undef): Hence we need
2247 to call linemap_lookup.
2248 (cb_line_change): Token's line field replaced by src_loc.
2249 (fe_file_change): Use MAINFILE_P and LAST_SOURCE_LINE macros.
2252 * cpphash.h, cpperror.c, cpplib.h: Some renames of fileline to
2255 2004-02-11 Hartmut Penner <hpenner@de.ibm.com>
2257 * config/rs6000/altivec.md (*movv4si_internal): At least one
2258 operand must be register_operand.
2259 (*movv8hi_internal1): Likewise.
2260 (*movv16qi_internal1): Likewise.
2261 (*movv4sf_internal1): Likewise.
2263 2004-02-10 Aldy Hernandez <aldyh@redhat.com>
2265 * config/rs6000/spe.md ("*movv2si_internal"): Check for register
2267 (movv4hi_internal): Same.
2268 (movv2sf_internal): Same.
2269 (movv1di_internal): Same.
2271 2004-02-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2273 * config/mips/mips.h (TARGET_OLDABI): Define. Use TARGET_NEWABI and
2274 TARGET_OLDABI consistently.
2275 * config/mips/mips.c (function_arg,mips_setup_incoming_varargs,
2276 mips_va_arg,override_options,compute_frame_size,
2277 mips_initial_elimination_offset,mips16_fp_args,build_mips16_call_stub
2278 ,mips_return_in_memory,mips_strict_argument_naming): Use TARGET_NEWABI
2279 and TARGET_OLDABI consistently.
2280 * config/mips/mips.md (exception_receiver): Likewise.
2281 * config/mips/linux64.h: Likewise.
2283 2004-02-11 Hartmut Penner <hpenner@de.ibm.com>
2285 * gcc/config/rs6000/rs6000.c (rs6000_override_options)
2286 Set AltiVec ABI and vrsave as default for ppc64 linux.
2287 (init_cumulative_args): Post error, if try to return
2288 value in AltiVec register without enable AltiVec.
2289 (function_arg_advance): Ditto for passing arguments.
2291 2004-02-11 Richard Sandiford <rsandifo@redhat.com>
2293 * emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to
2294 a label before updating its usage count.
2296 2004-02-10 Matt Kraai <kraai@alumni.cmu.edu>
2298 * doc/install.texi: Remove extra cd.
2300 2004-02-10 Ziemowit Laski <zlaski@apple.com>
2302 * c-common.c (vector_size_helper): Remove; call
2303 reconstruct_complex_type() instead.
2304 * tree.c (reconstruct_complex_type): New function
2305 (formerly vector_size_helper() in c-common.c).
2306 (make_vector): Make externally visible.
2307 * tree.h (reconstruct_complex_type, make_vector): Add prototypes.
2309 2004-02-10 Kazu Hirata <kazu@cs.umass.edu>
2311 * config/h8300/h8300-protos.h: Add a prototype for
2312 h8300_regs_ok_for_stm.
2313 * config/h8300/h8300.c (h8300_regs_ok_for_stm): New.
2314 * config/h8300/h8300.md (stm_h8300s_2_advanced,
2315 stm_h8300s_2_normal, stm_h8300s_2, stm_h8300s_3_advanced,
2316 stm_h8300s_3_normal, stm_h8300s_3, stm_h8300s_4_advanced,
2317 stm_h8300s_4_normal, stm_h8300s_4, ldm_h8300s_2_advanced,
2318 ldm_h8300s_2_normal, ldm_h8300s_2, ldm_h8300s_3_advanced,
2319 ldm_h8300s_3_normal, ldm_h8300s_3, ldm_h8300s_4_advanced,
2320 ldm_h8300s_4_normal, ldm_h8300s_4): Use
2321 h8300_regs_ok_for_stm().
2323 2004-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2326 * real.c (real_from_string): Look for 'X' as well as 'x' in
2329 2004-02-10 Kazu Hirata <kazu@cs.umass.edu>
2331 * config/h8300/h8300.md: Remove an incorrect comment about
2332 peephole2. Add comments.
2334 2004-02-10 Josef Zlomek <zlomekj@suse.cz>
2337 * emit-rtl.c (set_decl_incoming_rtl): New.
2338 * tree.h (set_decl_incoming_rtl): New.
2339 * function.c (assign_parms): Use set_decl_incoming_rtl for setting
2341 * ada/misc.c (adjust_decl_rtl): Likewise.
2343 2004-02-10 Per Bothner <per@bothner.com>
2345 * c-opts.c (c_common_post_options): Don't emit working directory
2346 in cpp output if -P was specified.
2348 2004-02-10 Paolo Bonzini <bonzini@gnu.org>
2351 * fold-const.c (fold) <NEGATE_EXPR>: Convert result of
2352 negate_expr back to the original type.
2354 2004-02-10 Alan Modra <amodra@bigpond.net.au>
2356 * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don't
2359 2004-02-10 Paolo Bonzini <bonzini@gnu.org>
2361 * rtl.h (schedule_insns, schedule_ebbs, fix_sched_param,
2362 gen_lowpart_SUBREG): Move under the file in which they
2363 are actually declared.
2365 2004-02-10 Arnaud Charlet <charlet@act-europe.fr>
2367 * doc/sourcebuild.texi: Add libada documentation.
2369 * doc/install.texi: Update documentation on Ada build, now
2370 that the GNAT lib and tools are built automatically.
2372 2004-02-10 Richard Sandiford <rsandifo@redhat.com>
2374 * config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI
2377 2004-02-09 Ziemowit Laski <zlaski@apple.com>
2379 * objc/objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS'
2380 boundaries outside build_component_ref() call (a macro in ObjC++).
2382 2004-02-09 Bob Wilson <bob.wilson@acm.org>
2384 * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Update.
2385 (init_cumulative_args): Likewise.
2386 (a7_overlap_mentioned_p): Delete prototype.
2387 * config/xtensa/xtensa.c (struct machine_function): Replace
2388 incoming_a7_copied field with need_a7_copy and vararg_a7 flags.
2389 Add set_frame_ptr_insn field.
2390 (xtensa_emit_move_sequence): Update call to xtensa_copy_incoming_a7.
2391 (xtensa_copy_incoming_a7): Rewrite to check need_a7_copy flag and check
2392 if the operand is an argument in a7. If so, copy a7 to a new pseudo
2393 at the function entry and replace the operand with the pseudo.
2394 (init_cumulative_args): Remove unused arguments. Add new "incoming"
2395 argument and record this flag in CUMULATIVE_ARGS.
2396 (function_arg): Remove result_mode and special-case code to handle
2397 arguments in a7. Instead, set need_a7_copy flag when there is an
2398 incoming argument in a7.
2399 (xtensa_expand_prologue): Remove code to search for set_frame_ptr insn
2400 and use the value recorded in cfun->machine->set_frame_ptr_insn.
2401 (xtensa_builtin_saveregs): Check for negative gp_left value. Set
2402 need_a7_copy and vararg_a7 flags. Use move_block_from_reg instead of
2404 (a7_overlap_mentioned_p): Delete.
2405 * config/xtensa/xtensa.h (CUMULATIVE_ARGS): Add "incoming" flag.
2406 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Remove useless
2407 arguments to init_cumulative_args and pass "incoming" flag instead.
2408 (BLOCK_REG_PADDING): Delete.
2409 * config/xtensa/xtensa.md (movdi, movsf, movdf): Remove unnecessary
2410 checks for reload_in_progress and reload_completed. Update calls to
2411 xtensa_copy_incoming_a7.
2412 (ashlsi3): Rename existing insn to ashlsi3_internal. Add expander
2413 to call xtensa_copy_incoming_a7.
2415 2004-02-09 DJ Delorie <dj@redhat.com>
2417 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No
2418 longer modify standard_exec_prefix, standard_bindir_prefix, or
2419 standard_startfile_prefix.
2421 2004-02-09 James E Wilson <wilson@specifixinc.com>
2424 * c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call
2425 to expand_expr_real call, and pass in alt_rtl as last argument.
2428 * builtin-types.def (BT_WORD, BT_FN_WORD_PTR): New.
2429 * builtins.c (expand_builtin): Handle BUILT_IN_EXTEND_POINTER.
2430 * builtins.def (BUILT_IN_EXTEND_POINTER): New.
2431 * except.c (expand_builtin_extend_pointer): New.
2432 * except.h (expand_builtin_extend_pointer): Declare.
2434 2004-02-09 David Edelsohn <edelsohn@gnu.org>
2436 * config/rs6000/rs6000.c (rs6000_emit_move): Remove splitting slow
2437 unaligned loads and stores.
2439 2004-02-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2441 * config/mips/iris5.h (BSS_SECTION_ASM_OP): Define.
2442 * config/mips/iris6.h (BSS_SECTION_ASM_OP): Undef.
2444 * config/mips/iris6.h (TARGET_ASM_NAMED_SECTION): Moved ...
2445 * config/mips/iris5.h: ... here.
2446 * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Remove.
2448 * config/mips/iris6.h (EXTRA_SECTION_FUNCTIONS): Move ...
2449 * config/mips/iris5.h: ... here.
2451 2004-02-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2453 * configure.ac: Remove default executable files before AC_PROG_CC.
2454 * configure: Regenerate.
2456 2004-02-09 Kazu Hirata <kazu@cs.umass.edu>
2459 * config/h8300/h8300.c (byte_reg): Call abort() if asked to
2460 print a operand other than a register.
2462 2004-02-09 Roger Sayle <roger@eyesopen.com>
2464 * fold-const.c (fold) <NOP_EXPR>: Use the original type conversion
2465 tree code rather than call fold_convert, which doesn't specify a
2466 default floating point to integer conversion.
2468 2004-02-08 Bernardo Innocenti <bernie@develer.com>
2470 * config/m68k/m68k.c, config/m68k/m68k.md (SGS, SGS_CMP_ORDER): Remove
2471 code to support SGS assembler. Reformat adjacent code where possible.
2472 * config/m68k/m68k.c (switch_table_difference_label_flag): Remove
2474 * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Remove support
2476 * config/m68k/linux.h, config/m68k/m68k.c,
2477 * config/m68k/math-68881.h: Replace `%#' with `#' in inline asm
2478 macros and asm_printf() format strings.
2479 * config/m68k/m68kelf.h (ASM_OUTPUT_CASE_END): Remove macro definition.
2480 * config/m68k/linux.h: Update copyright.
2481 * config/m68k/linux.h, config/m68k/m68k.c: Remove traling whitespace.
2483 2004-02-08 Andreas Schwab <schwab@suse.de>
2484 Bernardo Innocenti <bernie@develer.com>
2486 * config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with
2488 * (M68K_FP_REG_NAME): New macro to specify an alternate name for the
2489 frame pointer register, overridable by OS targets.
2490 * (M68K_REGNAME): Macro to obtain register name for asm output,
2491 eventually replacing %a6 with M68K_FP_REG_NAME.
2492 * config/m68k/coff.h (REGISTER_NAMES): Don't redefine.
2493 * config/m68k/linux.h (REGISTER_NAMES): Likewise.
2494 * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise.
2495 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise.
2496 * config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x].
2498 2004-02-08 Kazu Hirata <kazu@cs.umass.edu>
2500 * target-def.h (TARGET_STRUCT_VALUE_RTX): Define as
2501 hook_rtx_tree_int_null.
2502 * targhooks.c (default_struct_value_rtx): Remove.
2503 * targhooks.h: Remove the prototype for
2504 default_struct_value_rtx.
2505 * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
2506 config/fr30/fr30.c, config/h8300/h8300.c, config/i386/i386.c,
2507 config/ip2k/ip2k.c, config/iq2000/iq2000.c,
2508 config/m32r/m32r.c, config/mcore/mcore.c, config/mips/mips.c,
2509 config/mn10300/mn10300.c, config/pdp11/pdp11.c,
2510 config/rs6000/rs6000.c, config/s390/s390.c,
2511 config/stormy16/stormy16.c, config/v850/v850.c,
2512 config/xtensa/xtensa.c (TARGET_STRUCT_VALUE_RTX): Remove.
2513 * doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document the default.
2515 2004-02-08 Joseph S. Myers <jsm@polyomino.org.uk>
2517 * README.Portability: Change "ISO C89" to "ISO C90".
2518 * c-parse.in (primary, initelt): Likewise.
2520 2004-02-08 Richard Sandiford <rsandifo@redhat.com>
2522 * real.c (encode_ibm_extended): Normalize the input value before
2523 converting it to a double. Handle the case where a normal value
2526 2004-02-08 Kazu Hirata <kazu@cs.umass.edu>
2528 * c-objc-common.c (c_cannot_inline_tree_fn): Fix a typo in a
2530 * cse.c (preferrable): Change to preferable. Update all of its
2532 * genautomata.c (ainsn): Change
2533 first_ainsn_with_given_equialence_num to
2534 first_ainsn_with_given_equivalence_num. Update all of its
2537 2004-02-08 Jan Hubicka <jh@suse.cz>
2539 * schedule-ebb.c (schedule_ebbs): Do not allocate reg life data.
2541 2004-02-07 David Edelsohn <edelsohn@gnu.org>
2543 * function.c (assign_parms): Fix formatting.
2545 2004-02-07 Kazu Hirata <kazu@cs.umass.edu>
2547 * default.h (PROMOTE_PROTOTYPES): Remove.
2548 * system.h (PROMOTE_FUNCTION_RETURN, PROMOTE_PROTOTYPES,
2549 STRUCT_VALUE_REGNUM, SETUP_INCOMING_VARARGS,
2550 EXPAND_BUILTIN_SAVEREGS): Poison.
2551 * target-def.h (TARGET_PROMOTE_FUNCTION_RETURN): Define as
2552 hook_bool_tree_false.
2553 (TARGET_PROMOTE_PROTOTYPES): Likewise.
2554 * target.h: Replace SETUP_INCOMING_VARARGS with
2555 targetm.calls.setup_incoming_varargs().
2556 * targhooks.c (default_promote_function_return): Remove.
2557 (default_promote_prototypes): Likewise.
2558 (default_struct_value_rtx): Always abort().
2559 (default_expand_builtin_saveregs): Always print an error
2561 (default_setup_incoming_varargs): Do nothing.
2562 (default_pretend_outgoing_varargs_named): Don't depend on
2563 SETUP_INCOMING_VARARGS.
2564 * targhooks.h: Remove the prototype for
2565 default_promote_function_return and
2566 default_promote_prototypes.
2568 2004-02-07 Kazu Hirata <kazu@cs.umass.edu>
2570 * system.h (SHARED_SECTION_ASM_OP): Poison.
2571 * varasm.c (data_section): Don't use SHARED_SECTION_ASM_OP.
2572 * doc/tm.texi (SHARED_SECTION_ASM_OP): Remove.
2574 2004-02-07 Zack Weinberg <zack@codesourcery.com>
2577 * c-decl.c (diagnose_mismatched_decls): Only give special
2578 treatment when olddecl is DECL_BUILT_IN, if C_DECL_INVISIBLE
2580 (merge_decls): Don't clear DECL_BUILT_IN_CLASS and
2581 DECL_FUNCTION_CODE when defining a built-in function.
2582 Don't update DECL_ESTIMATED_INSNS.
2583 * dwarf2out.c (dwarf2out_decl): Don't ignore built-in
2585 * tree.h: Delete DECL_ESTIMATED_INSNS.
2586 * tree-inline.c (struct inline_data): Delete inlined_insns field.
2587 (expand_call_inline, optimize_inline_calls): Don't update
2588 DECL_ESTIMATED_INSNS nor inlined_insns.
2589 * cgraphunit.c (cgraph_analyze_function): Don't update
2590 DECL_ESTIMATED_INSNS.
2592 2004-02-07 Zack Weinberg <zack@codesourcery.com>
2594 * c-common.c (shadow_warning): Delete.
2595 * c-common.h (free_parser_stacks, shadow_warning, sw_kind): Delete.
2596 * c-decl.c (warn_if_shadowing): Issue shadow warnings directly.
2597 * c-opts.c (c_common_parse_file): Don't call free_parser_stacks.
2598 * c-parse.in (free_parser_stacks): Delete.
2600 2004-02-07 Nathanael Nerode <neroden@gcc.gnu.org>
2602 * Makefile.in, config/t-slibgcc-darwin, config/t-slibgcc-elf-ver,
2603 config/t-slibgcc-sld, config/mips/t-iris5-6, config/sh/t-linux:
2604 Use the top level mkinstalldirs, not the one in the gcc subdir.
2605 * mkinstalldirs: Remove (from the gcc subdir).
2607 2004-02-07 Roger Sayle <roger@eyesopen.com>
2610 * fold-const.c (fold_convert): New function to provide type
2611 conversion to the middle-end without using convert.
2612 (negate_expr, associate_trees, size_diffop, omit_one_operand,
2613 operand_equal_for_comparison_p, pedantic_omit_one_operand,
2614 invert_truthvalue, optimize_bit_field_compare, range_binop,
2615 decode_field_reference, make_range, build_range_check, unextend,
2616 fold_truthop, extract_muldiv_1, fold_mathfn_compare,
2617 fold_binary_op_with_conditional_arg, fold_inf_compare,
2618 fold_single_bit_test, fold, multiple_of_p): Replace all calls to
2619 convert with calls to fold_convert.
2621 2004-02-07 Jan Hubicka <jh@suse.cz>
2623 * genrecog.c (find_operand): add extra argument stop.
2624 (validate_pattern): Verify that mach_dup is duplicating operand
2625 defined lexically earlier.
2627 2004-02-07 Kazu Hirata <kazu@cs.umass.edu>
2629 * config.gcc: Don't mention MAX_LONG_TYPE_SIZE.
2630 * system.h (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2631 MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Poison.
2632 * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
2633 config/ia64/ia64.h, config/ip2k/ip2k.h,
2634 config/iq2000/iq2000.h, config/mips/iris5.h,
2635 config/mips/mips.h, config/pa/pa-64.h, config/pa/pa.h,
2636 config/rs6000/aix51.h, config/rs6000/aix52.h,
2637 config/rs6000/darwin.h, config/rs6000/rs6000.h,
2638 config/s390/s390.h, config/sh/sh.h, config/sparc/freebsd.h,
2639 config/sparc/linux.h, config/sparc/linux64.h,
2640 config/sparc/netbsd-elf.h, config/sparc/sparc.h,
2641 config/xtensa/xtensa.h: Remove the definitions of
2642 MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, and/or
2643 MAX_WCHAR_TYPE_SIZE.
2644 * doc/tm.texi (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2645 MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Remove.
2647 2004-02-07 Stephane Carrez <stcarrez@nerim.fr>
2650 * config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to
2653 2004-02-07 Josef Zlomek <zlomekj@suse.cz>
2655 * var-tracking.c (vt_add_function_parameters): Surround checkings by
2656 #ifdef ENABLE_CHECKING and #endif.
2658 2004-02-07 Roger Sayle <roger@eyesopen.com>
2660 * fold-const.c (negate_expr_p, negate_expr): Optimize -(A+B) into
2661 either (-A)-B or (-B)-A, if A or B is easily negated respectively.
2662 (fold) <MINUS_EXPR>: Optimize (A*C) - (B*C) -> (A-B)*C for both
2663 integer types and floating point with unsafe_math_optimizations.
2664 Add similar optimization for (A*C1) - (A*C2) -> A*(C1-C2).
2665 Optimize A - B as A + (-B), if B is easily negated.
2667 2004-02-07 Kazu Hirata <kazu@cs.umass.edu>
2669 * c-ppoutput.c, cfganal.c, diagnostic.h, print-rtl.c,
2670 config/darwin.c, config/darwin.h, config/ia64/ia64-c.c,
2671 config/m32r/linux.h, config/rs6000/ppc64-fp.c,
2672 config/sparc/openbsd.h, doc/makefile.texi, doc/passes.texi:
2675 2004-02-07 Kazu Hirata <kazu@cs.umass.edu>
2677 * c-ppoutput.c, var-tracking.c: Fix comment typos.
2679 2004-02-06 James E Wilson <wilson@specifixinc.com>
2681 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Only define for
2682 glibc 2.3 or better.
2684 2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
2686 * doc/tm.texi (TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL): Change
2687 to FLOAT_LIB_COMPARE_RETURNS_BOOL.
2689 2004-02-07 Alan Modra <amodra@bigpond.net.au>
2691 * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add darwin-ldouble.c.
2692 (SHLIB_MAPFILES): Add libgcc-ppc64.ver.
2693 (SHLIB_MKMAP_OPTS): Delete.
2694 (TARGET_LIBGCC2_CFLAGS): Add -specs.
2695 (bispecs): Add rule.
2696 * config/rs6000/libgcc-ppc64.ver: New file.
2697 * config/rs6000/ppc64-fp.c (__fixtfdi, __floatditf): New functions.
2698 (__floatdidf, __floatdisf): Optimize multiply.
2699 (__fixunstfdi): New function.
2700 * config/rs6000/rs6000.c (rs6000_complex_function_value): Allow for
2701 real and imag parts larger than one register.
2702 (function_arg): Correct type of reg used when fp arg split partially
2704 * config/rs6000/darwin-ldouble.c: Protect with #if !_SOFT_FLOAT
2705 and __MACH__ or __powerpc64__.
2707 2004-02-06 Roger Sayle <roger@eyesopen.com>
2708 Ulrich Weigand <uweigand@de.ibm.com>
2710 * builtins.c (expand_builtin_signbit): Use extract_bit_field instead
2711 of gen_highpart or gen_lowpart when the floating point format is
2712 wider than the result mode.
2714 2004-02-06 Andrew Pinski <pinskia@physics.uc.edu>
2716 * dwarf2out.c (loclabel_num): Move into #ifdef
2717 DWARF2_DEBUGGING_INFO.
2719 2004-02-06 Ziemowit Laski <zlaski@apple.com>
2721 * objc/objc-act.c (build_super_template) the 'class' field of
2722 'struct _objc_super' shall be named 'super_class' #ifdef OBJCPLUS.
2723 (get_super_receiver): Likewise.
2725 2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
2727 * reload1.c (check_eliminable_occurrences): Optimize the reset
2729 (eliminate_regs_in_insn): Likewise.
2731 2004-02-06 Daniel Berlin <dberlin@dberlin.org>
2732 Josef Zlomek <zlomekj@suse.cz>
2734 * dwarf2out.c (struct gcc_debug_hooks): Call dwarf2out_begin_function
2735 at the beginning of function, call dwarf2out_var_location for
2736 NOTE_INSN_VAR_LOCATION note.
2737 (struct var_loc_node, struct var_loc_list_def, loclabel_num,
2738 decl_loc_table): New.
2739 (lookup_decl_loc): New function.
2740 (add_var_loc_to_decl): New function.
2741 (based_loc_descr): Added parameter can_use_fbreg, DW_OP_fbreg is used
2742 only if can_use_fbreg.
2743 (mem_loc_descriptor): Added parameter can_use_fbreg, pass it to other
2745 (loc_descriptor): Likewise. Process VAR_LOCATION.
2746 (concat_loc_descriptor): Call loc_descriptor with can_use_fbreg == true.
2747 (loc_descriptor_from_tree): Call mem_loc_descriptor with
2748 can_use_fbreg == true.
2749 (add_location_or_const_value_attribute): Added parameter enum
2750 dwarf_attribute attr, generate attribute ATTR. Create the location list.
2751 (add_bound_info): Call loc_descriptor with can_use_fbreg == true.
2752 (gen_formal_parameter_die): Call add_location_or_const_value_attribute
2753 with attr == DW_AT_location.
2754 (gen_subprogram_die): Generate the location list for DW_AT_frame_base
2755 if frame_base_decl is defined and has a location list.
2756 (gen_variable_die): Call add_location_or_const_value_attribute with
2757 attr == DW_AT_location.
2758 (dwarf2out_var_location): New function.
2759 (dwarf2out_begin_function): New function.
2760 (dwarf2out_init): Create decl_loc_table.
2762 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2764 * loop.c (force_movables): Transitively increase the priorities of
2765 all insns forces by an insn, not just the first one.
2767 2004-02-06 Josef Zlomek <zlomekj@suse.cz>
2768 Daniel Berlin <dberlin@dberlin.org>
2770 Josef Zlomek <zlomekj@suse.cz>
2771 * Makefile.in (var-tracking.o): New.
2772 * common.opt (fvar-tracking): New.
2773 * flags.h (flag_var_tracking): New.
2774 * gengtype.c (adjust_field_rtx_def): NOTE_INSN_VAR_LOCATION was added.
2775 * opts.c (common_handle_option): Add OPT_fvar_tracking.
2776 * print-rtl.c (print_rtx): NOTE_INSN_VAR_LOCATION was added.
2777 * rtl.c (note_insn_name): Likewise.
2778 * rtl.def (VAR_LOCATION): New.
2779 * rtl.h (NOTE_VAR_LOCATION): New.
2780 (NOTE_VAR_LOCATION_DECL): New.
2781 (NOTE_VAR_LOCATION_LOC): New.
2782 (enum insn_note): NOTE_INSN_VAR_LOCATION was added.
2783 (variable_tracking_main): New exported function.
2784 * timevar.def (TV_VAR_TRACKING): New.
2785 * toplev.c (enum dump_file_index): Added DFI_vartrack.
2786 (dump_file): "vartrack" was added (-dV).
2787 (flag_var_tracking): New.
2788 (f_options): "var-tracking" was added.
2789 (rest_of_handle_variable_tracking): New function.
2790 (rest_of_compilation): Run variable tracking.
2791 (process_options): If user has not specified flag_var_tracking set it
2792 according to optimize, debug_info_level and debug_hooks.
2793 * tree.h (frame_base_decl): New.
2794 * var-tracking.c: New file.
2795 * config/ia64/ia64.c (ia64_flag_var_tracking): New variable.
2796 (ia64_override_options): Set flags to run variable tracking in machine
2797 dependent reorg instead of toplev.c.
2798 (ia64_reorg): Run variable tracking if wanted.
2799 * doc/invoke.texi: Mention variable tracking in -dV,
2800 add and -fvar-tracking.
2801 * doc/passes.texi: Added variable tracking pass.
2803 Daniel Berlin <dberlin@dberlin.org>
2804 * debug.h (struct gcc_debug_hooks): Added var_location debug hook.
2805 * dbxout.c (dbx_debug_hooks): Likewise.
2806 (xcoff_debug): Likewise.
2807 * debug.c (do_nothing_debug_hooks): Likewise.
2808 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
2809 * dwarfout.c (dwarf_debug_hooks): Likewise.
2810 * sdbout.c (sdb_debug_hooks): Likewise.
2811 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
2812 * final.c (final_scan_insn): Call var_location debug hook for each
2813 NOTE_INSN_VAR_LOCATION.
2815 2004-02-06 Jan Hubicka <jh@suse.cz>
2817 * flow.c (update_life_info): Allocate reg_deaths when called from
2819 (attempt_auto_inc): Update life ranges accordingly.
2821 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2824 * dwarf2out.c (gen_decl_die): Handle anonymous struct members.
2826 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2828 * cfganal.c (flow_call_edges_add): Never split a libcall block.
2830 2004-02-06 Daniel Berlin <dberlin@dberlin.org>
2832 * dwarf2out.c (output_loc_list): Don't use deltas if we have
2833 a separate line info table in use.
2834 Use the correct size for terminators.
2835 (output_die): Use offset, not delta.
2837 2004-02-06 H.J. Lu <hongjiu.lu@intel.com>
2839 * doc/invoke.texi: Remove the pni option from -mfpmath=.
2841 2004-02-06 Jan Hubicka <jh@suse.cz>
2843 * recog.c (split_all_insns): Do not update reg info.
2844 * regrename.c (regrename_optimize): Likewise.
2845 * toplev.c (rest_of_handle_reorder_blocks): Likewise.
2846 * flow.c (struct propagate_block_info): Add insn_num field.
2847 (reg_deaths): New array.
2848 (life_analysis): Free reg_deaths info.
2849 (allocate_reg_life_data): Allocate reg_deaths array.
2850 (propagate_one_insn): Use new array.
2851 (init_propagate_block): Initialize it.
2852 (free_propagate_block_info): Finish compuation of
2854 (attempt_auto_inc): Sanity check that REG_INFO is not
2855 computed at same time.
2856 (mark_used_regs): Update new array.
2858 * reg-stack.c (subst_stack_regs): Unshare clobbers before
2861 2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
2863 * config/s390/s390.md (*extendsiqi2_short_displ): Change to
2864 *extendqisi2_short_displ.
2866 2004-02-06 Alan Modra <amodra@bigpond.net.au>
2868 * doc/tm.texi (INIT_CUMULATIVE_ARGS): Update doco.
2869 * calls.c (expand_call): Pass n_named_args to INIT_CUMULATIVE_ARGS.
2870 (emit_library_call_value_1): Likewise pass nargs.
2871 * expr.c (block_move_libcall_safe_for_call_parm): Pass 3 here.
2872 * function.c (assign_parms): Pass -1 to INIT_CUMULATIVE_ARGS.
2873 * config/rs6000/rs6000.c (init_cumulative_args): Use n_named_args
2874 parameter instead of scanning TYPE_ARGS_TYPES to count args.
2875 * config/rs6000/rs6000-protos.h (init_cumulative_args): Update
2877 * config/rs6000/rs6000.h (INIT_CUMULATIVE_ARGS): Pass extra arg.
2878 (INIT_CUMULATIVE_INCOMING_ARGS): Set extra arg to 1000.
2879 (INIT_CUMULATIVE_LIBCALL_ARGS): Set extra arg to 0.
2880 * config/sh/sh.c (sh_output_mi_thunk): Pass 1 as n_named_args to
2881 INIT_CUMULATIVE_ARGS.
2882 * config/alpha/alpha.h (INIT_CUMULATIVE_ARGS): Update.
2883 * config/alpha/unicosmk.h, config/alpha/vms.h, config/arc/arc.h,
2884 config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h,
2885 config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.h,
2886 config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h,
2887 config/ia64/ia64.h, config/ip2k/ip2k.h, config/iq2000/iq2000.h,
2888 config/iq2000/iq2000.c, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2889 config/m68k/m68k.h, config/mcore/mcore.h, config/mips/mips.h,
2890 config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h,
2891 config/pa/pa.h, config/pdp11/pdp11.h, config/s390/s390.h,
2892 config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.h,
2893 config/v850/v850.h, config/vax/vax.h, config/xtensa/xtensa.h: Likewise.
2895 2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
2897 * genemit.c (gen_exp) [CONST_INT]: Use const_int_rtx whenever
2900 2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
2902 * reload1.c (eliminate_regs_in_insn): If a set has a REG_EQUAL
2903 note containing (plus (reg) (const_int)), where reg is an
2904 eliminable reg, then perform the register elimination without
2905 depending on eliminate_regs().
2907 2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
2909 * config/arc/arc.c (arc_return_in_memory): Check the return
2910 value of int_size_in_bytes against -1. Don't check
2912 * config/avr/avr.c (avr_return_in_memory): Check the return
2913 value of int_size_in_bytes against -1.
2914 * config/ip2k/ip2k.c (ip2k_return_in_memory): Likewise.
2915 * config/m68hc11/m68hc11.c (m68hc11_return_in_memory):
2917 * config/mcore/mcore.c (mcore_return_in_memory): Likewise.
2918 * config/stormy16/stormy16.c (xstormy16_return_in_memory):
2921 2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
2923 * config/frv/frv-protos.h: Remove the prototype for
2924 frv_setup_incoming_varargs.
2925 * config/frv/frv.c (TARGET_SETUP_INCOMING_VARARGS): New.
2926 (frv_setup_incoming_varargs): Make it static.
2927 * config/frv/frv.h (SETUP_INCOMING_VARARGS): Remove.
2929 2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
2931 * config/fr30/fr30-protos.h: Remove the prototype for
2932 fr30_setup_incoming_varargs.
2933 Update the prototypes for fr30_num_arg_regs and
2934 fr30_function_arg_partial_nregs.
2935 * config/fr30/fr30.c (TARGET_STRUCT_VALUE_RTX): New.
2936 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
2937 (fr30_setup_incoming_varargs): Make it static.
2938 Add argument second_time. Don't do anything when second_time
2940 (fr30_num_arg_regs): Change the type of the first argument to
2942 (fr30_function_arg_partial_nregs): Change the type of the
2943 second argument to enum machine_mode.
2944 * config/fr30/fr30.h (STRUCT_VALUE): Remove.
2945 (SETUP_INCOMING_VARARGS): Remove.
2947 2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
2949 * config/arc/arc-protos.h: Remove the prototype for
2950 arc_setup_incoming_varargs.
2951 * config/arc/arc.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
2952 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
2953 (arc_setup_incoming_varargs): Make it static.
2954 (arc_external_libcall): Likewise.
2955 * config/arc/arc.h (SETUP_INCOMING_VARARGS): Remove.
2956 Remove the commented-out definition of
2957 ASM_OUTPUT_EXTERNAL_LIBCALL.
2959 2004-02-05 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
2961 * config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
2962 to $$(slibdir) in the installation commands.
2964 2004-02-05 David Edelsohn <edelsohn@gnu.org>
2966 * reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs
2967 with inner_regno, not regno.
2968 * rtlanal.c (refers_to_regno_p): Same.
2970 2004-02-05 Kazu Hirata <kazu@cs.umass.edu>
2972 * config.gcc: Remove i370 support.
2974 2004-02-05 Kelley Cook <kcook@gcc.gnu.org>
2976 * doc/install.texi: Update automake and autoconf version
2977 requirements. Note where to find gcj automake version.
2979 2004-02-05 Kelley Cook <kcook@gcc.gnu.org>
2981 * Makefile.in (generate-manpages): Move dependencies to ...
2983 * doc/makefile.texi: Document new targets.
2984 * doc/sourcebuild.texi (Make-lang.in): Document new langhooks.
2986 2004-02-05 Kelley Cook <kcook@gcc.gnu.org>
2989 Makefile.in (srcextra): Add a level of indirection to ...
2990 (gcc.srcextra): ... here.
2991 (po-generated): Delete.
2992 (po/$(PACKAGE).pot: Use srcextra instead of po-generated. Depend on
2994 (start.encap): Remove superfluous lang.srcextra dependency.
2995 objc/Make-lang.in (po-generated): Delete.
2997 2004-02-05 Kazu Hirata <kazu@cs.umass.edu>
2999 * config/ia64/ia64.c (REG_GP): Remove.
3001 2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3003 * config/mips/iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
3005 2004-02-05 Devang Patel <dpatel@apple.com>
3007 * dwarf2out.c (force_type_die): Look up input type itself
3008 instead of root_type() of type.
3010 2004-02-05 Andreas Krebbel <krebbel1@de.ibm.com>
3012 * config/s390/s390.md ("*tmqidi_ext"): New insn.
3013 ("*extendqidi2_short_displ", "*extendsiqi2_short_displ"): Old
3014 pre-reload splitters are transformed to post-reload
3015 define_insn_and_split patterns.
3016 ("*tmqisi_ext"): Renamed old "*tmqi_ext".
3018 2004-02-05 Kazu Hirata <kazu@cs.umass.edu>
3020 * config/cris/cris.h: Replace PROMOTE_PROTOTYPES with
3021 TARGET_PROMOTE_PROTOTYPES.
3023 2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3027 2004-01-15 Geoffrey Keating <geoffk@apple.com>
3029 * c-typeck.c (constructor_asmspec): Delete.
3030 (struct initializer_stack): Delete field 'asmspec'.
3031 (start_init): Delete saving of asmspec.
3032 (finish_init): Don't update constructor_asmspec.
3033 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
3034 * stmt.c (expand_asm): Duplicate strings from tree.
3035 (expand_asm_operands): Likewise.
3036 * tree.c (tree_size): Update computation of size of STRING_CST.
3037 (make_node): Don't make STRING_CST nodes.
3038 (build_string): Allocate string with tree node.
3039 * tree.def (STRING_CST): Update comment.
3040 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
3041 (tree_string): Place contents of string in tree node.
3042 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
3045 2004-02-05 Joseph S. Myers <jsm@polyomino.org.uk>
3047 * diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to
3050 2004-02-05 Dorit Naishlos <dorit@il.ibm.com>
3052 * config/rs6000/altivec.md (*movv4si_internal): At least one
3053 operand must be altivec_register_operand.
3054 (*movv8hi_internal1): Likewise.
3055 (*movv16qi_internal1): Likewise.
3056 (*movv4sf_internal1): Likewise.
3058 2004-02-05 David Edelsohn <edelsohn@gnu.org>
3060 * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
3061 * configure: Regenerate.
3063 2004-02-05 Jonathan Wakely <redi@gcc.gnu.org>
3065 * doc/install.texi: Update description of --gxx-include-dir to
3066 give correct default value.
3068 2004-02-05 Kazu Hirata <kazu@cs.umass.edu>
3070 * config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace
3073 2004-02-05 Kazu Hirata <kazu@cs.umass.edu>
3075 * config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with
3078 2004-02-05 Kazu Hirata <kazu@cs.umass.edu>
3080 * emit-rtl.c: Update the comment about the file.
3082 2004-02-05 Joseph S. Myers <jsm@polyomino.org.uk>
3084 * sourcebuild.texi (Test Idioms): Update testcase naming
3087 2004-02-04 Per Bothner <per@bothner.com>
3089 Partially revert/redo 2003-10-01 change; fix -fworking-directory.
3090 * c-ppoutput.c (pp_dir_change): New function.
3091 * c-common.h (pp_dir_change): New declaration.
3092 * cpplib.h (struct cpp_options): Remove working_directory field.
3093 * cppinit.c (cpp_find_main_file, cpp_push_main_file): Merge back to
3094 (cpp_read_main_file): as before 10-01. Call _cpp_stack_file.
3095 Don't handle -fworking_directory here, but in c_common_post_options.
3096 (read_original_directory): Don't back up when done.
3097 Don't clear no-longer used working_directory flag.
3098 * cpplib.h: Update declarations to match.
3099 * c-lex.c (cb_dir_change): Move to c-opts.c.
3100 (init_c_lex): Don't set dir_change callback here, since we want
3101 to set it even if flag_preprocess_only.
3102 * c-opts.c (cb_dir_change): Function moved from c-lex.c.
3103 (c_common_post_options): Set dir_change callback.
3104 Call pp_dir_change if approporiate.
3105 (finish_options): Don't call cpp_find_main_file here. Hence remove
3106 unneeded parameter and result. Do LC_RENAME for <built-in>.
3107 (c_common_post_options): Call cpp_read_main_file here instead.
3108 (c_common_init): Update accordingly.
3109 (push_command_line_include): Don't cpp_push_main_file.
3110 Do LC_RENAME rather than LC_LEASE to get back to main file.
3111 Compared to pre-10-01 version, inline cpp_rename_to_main_file.
3112 (c_common_parse_file): Call cpp_read_main_file for subsequent main
3113 files, but call finish_options for all files.
3114 * c-opts.c (sanitize_cpp_opts): Don't set cpp_opts->working_directory.
3115 * fix-header.c (read_scan_file): Call cpp_read_main_file instead of
3116 cpp_find_main_file + cpp_push_main_file.
3117 * c-lex.c (fe_file_change): Don't set main_input_filename here.
3118 * opts.c (handle_options): Only set main_input_filename first time.
3120 2004-02-05 Ian Lance Taylor <ian@wasabisystems.com>
3122 * config/arm/arm.h (REG_CLASS_NAMES): Add missing comma.
3124 2004-02-04 Geoffrey Keating <geoffk@apple.com>
3126 * reload.c (find_equiv_reg): When checking for register overlap,
3127 don't index hard_regno_nregs with a pseudo-reg.
3129 2004-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3131 * config/s390/s390.c (s390_trampoline_template): Remove gen_rtx().
3133 2004-02-04 David Edelsohn <edelsohn@gnu.org>
3135 * reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno,
3136 against FIRST_PSEUDO_REGISTER.
3138 2004-02-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3140 * Makefile.in: Move target, host overrides after per-language
3143 * config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear.
3144 (GNATLIBCFLAGS): Remove -g.
3146 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3148 * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
3149 config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
3150 config/ia64/ia64.c, config/ia64/unwind-ia64.c,
3151 config/m32r/m32r.c, config/ns32k/ns32k.c, config/pa/pa.c,
3152 config/pdp11/pdp11.c, config/rs6000/rs6000.c,
3153 config/sparc/sparc.c, config/vax/vax.c: Revert the
3154 replacements of "FALLTHRU" with "Fall through" done in the
3157 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3159 * config/darwin.c, config/darwin.h, config/freebsd-spec.h,
3160 config/arm/arm.c, config/arm/arm.md,
3161 config/cris/cris-protos.h, config/fr30/fr30.c,
3162 config/fr30/fr30.h, config/h8300/h8300.c, config/i386/i386.h,
3163 config/i860/i860.c, config/i860/i860.h, config/ia64/ia64-c.c,
3164 config/ia64/ia64.c, config/ia64/ia64.h, config/ip2k/ip2k.h,
3165 config/ip2k/ip2k.md, config/ip2k/libgcc.S,
3166 config/m32r/linux.h, config/m32r/m32r.c, config/m32r/m32r.h,
3167 config/m68k/m68k.c, config/m68k/netbsd-elf.h,
3168 config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.md,
3169 config/ns32k/netbsd.h, config/ns32k/ns32k.c,
3170 config/ns32k/ns32k.h, config/pdp11/pdp11.h,
3171 config/rs6000/darwin-ldouble.c, config/s390/s390.h,
3172 config/s390/s390.md, config/sparc/netbsd-elf.h,
3173 config/sparc/openbsd.h, config/sparc/sparc.c,
3174 config/xtensa/lib2funcs.S: Fix comment formatting.
3176 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3178 * config/alpha/alpha.c, config/arc/arc.c,
3179 config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h,
3180 config/arm/arm1026ejs.md, config/arm/arm1136jfs.md,
3181 config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c,
3182 config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md,
3183 config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
3184 config/ia64/ia64.c, config/ia64/unwind-ia64.c,
3185 config/iq2000/iq2000.c, config/m32r/m32r.c,
3186 config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
3187 config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
3188 config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c,
3189 config/rs6000/rs6000.h, config/sparc/sparc.c,
3190 config/vax/vax.c: Fix comment typos. Follow spelling
3193 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3195 * alloc-pool.h, c-convert.c, c-lang.c, c-tree.h,
3196 caller-save.c, df.h, genconfig.c, global.c, lcm.c,
3197 ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c,
3198 sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md,
3199 config/arm/fpa.md, config/arm/iwmmxt.md,
3200 config/arm/netbsd-elf.h, config/arm/netbsd.h,
3201 config/m68hc11/m68hc11.md, config/mips/iris5.h,
3202 config/mn10300/mn10300.md, config/rs6000/altivec.md,
3203 config/sparc/netbsd-elf.h: Update copyright.
3205 2004-02-04 Eric Botcazou <ebotcazou@libertysurf.fr>
3207 * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
3208 for all modes whose size is greater than 8 bytes if ARCH32.
3209 (sparc_va_arg): Handle all modes whose size is greater than 8 bytes
3210 by reference if ARCH32.
3212 2004-02-04 Aldy Hernandez <aldyh@redhat.com>
3214 * cgraphunit.c (cgraph_postorder): Fix typo in comment.
3216 2004-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3218 * config/s390/s390.md ("*la_64" + peepholes, "reload_indi"): Move
3219 to before adddi3 insn patterns.
3220 ("*la_31" + peepholes, "*la_31_and", "*la_31_and_cc", "force_la_31",
3221 "reload_insi"): Move to before addsi3 insn patterns.
3223 2004-02-04 Mark Mitchell <mark@codesourcery.com>
3225 * calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P
3226 parameter. Use it instead of current_function_is_thunk.
3227 * function.h (struct function): Update documentation for is_thunk.
3228 * tree.h (CALL_FROM_THUNK_P): New macro.
3229 * config/alpha/alpha.c (alpha_sa_mask): Do not check
3230 no_new_pseudos when testing current_function_is_thunk.
3231 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likeiwse.
3233 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3235 * doc/tm.texi: Replace SETUP_INCOMING_VARARGS with
3236 TARGET_SETUP_INCOMING_VARARGS.
3238 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3240 * emit-rtl.c (gen_rtx): Remove.
3241 * genattrtab.c: Don't mention gen_rtx in a comment.
3242 * rtl.h: Remove the prototype for gen_rtx.
3243 * doc/md.texi: Replace gen_rtx with gen_rtx_REG.
3245 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3247 * config/arc/arc.h, config/fr30/fr30.h
3248 (SETUP_INCOMING_VARARGS): Remove the target-independent
3250 * doc/tm.texi: Don't mention deprecated target macros.
3252 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3254 * config/fr30/fr30.h (FUNCTION_VALUE): Remove the
3255 target-independent comment.
3257 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3259 * doc/interface.texi, doc/tm.texi, doc/trouble.texi: Don't
3260 mention deprecated target macros.
3262 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
3264 * config.gcc: Remove obsolete ports and configurations.
3265 * config/linux-aout.h, config/netware.h,
3266 config/t-linux-gnulibc1, config/d30v/abi,
3267 config/d30v/d30v-protos.h, config/d30v/d30v.c,
3268 config/d30v/d30v.h, config/d30v/d30v.md,
3269 config/d30v/libgcc1.asm, config/d30v/t-d30v,
3270 config/dsp16xx/dsp16xx-modes.def,
3271 config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
3272 config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md,
3273 config/i370/README, config/i370/i370-c.c,
3274 config/i370/i370-protos.h, config/i370/i370.c,
3275 config/i370/i370.h, config/i370/i370.md, config/i370/linux.h,
3276 config/i370/mvs.h, config/i370/oe.h, config/i370/t-i370,
3277 config/i386/freebsd-aout.h, config/i386/linux-aout.h,
3278 config/i386/moss.h, config/i386/netware.h,
3279 config/i386/svr3.ifile, config/i386/svr3dbx.h,
3280 config/i386/svr3gas.h, config/i386/svr3z.ifile,
3281 config/i386/t-udk, config/i386/udk.h, config/i386/vsta.h,
3282 config/i960/i960-c.c, config/i960/i960-coff.h,
3283 config/i960/i960-modes.def, config/i960/i960-protos.h,
3284 config/i960/i960.c, config/i960/i960.h, config/i960/i960.md,
3285 config/i960/rtems.h, config/i960/t-960bare,
3286 config/m68k/hp310.h, config/m68k/hp320.h,
3287 config/m68k/hp320base.h, config/m68k/m68kv4.h,
3288 config/m68k/netbsd.h, config/m68k/sgs.h, config/m68k/t-hp320:
3290 * doc/extend.texi, doc/install.texi, doc/invoke.texi,
3291 doc/md.texi: Remove mentions of obsolete ports.
3293 2004-02-04 Jan Hubicka <jh@suse.cz>
3295 * alias.c (find_base_term, get_addr): Do not dereference NULL
3296 pointer when all VALUE's locations has been invalidated.
3297 (rtx_equal_for_memref_p): Simplify checking of VALUEs.
3299 2004-02-03 Wolfgang Bangerth <bangerth@dealii.org>
3301 * doc/invoke.texi (x86 options): Fix spelling/wording.
3303 2004-02-03 Richard Sandiford <rsandifo@redhat.com>
3305 * config/mips/iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to
3306 put the original string in a comment.
3307 * config/mips/mips-protos.h (mips_output_ascii): Add prefix argument.
3308 * config/mips/mips.c (mips_output_ascii): Likewise.
3309 * config/mips/mips.h (ASM_OUTPUT_ASCII): Adjust accordingly.
3311 2004-02-03 Kazu Hirata <kazu@cs.umass.edu>
3313 * system.h (GIV_SORT_CRITERION): Poison.
3314 * config/avr/avr.h (GIV_SORT_CRITERION): Remove.
3315 * config/ip2k/ip2k.h (GIV_SORT_CRITERION): Likewise.
3317 2004-02-03 Roger Sayle <roger@eyesopen.com>
3320 * expr.c (expand_expr_real) <MULT_EXPR>: When performing widening
3321 multiplies with a multiplication of the wrong signedness, its the
3322 signedness of the multiplication that we've performed that needs to
3323 be passed to expand_mult_highpart_adjust. Avoid emitting a nop-move
3324 if expand_mult_highpart_adjust places the result in target.
3326 2004-02-03 Richard Henderson <rth@redhat.com>
3328 * varasm.c (const_desc_rtx_sym_eq): Compare symbol strings.
3330 2004-02-03 J"orn Rennecke <joern.rennecke@superh.com>
3332 * config.gcc (sh[234]l): Use little endian fragments.
3334 2004-02-03 Paul Koning <pkoning@equallogic.com>
3336 * config/pdp11/pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.
3337 * config/pdp11/pdp11-protos.h (legitimate_const_double_p): Add.
3338 * config/pdp11/pdp11.c (encode_pdp11_f, decode_pdp11_f,
3339 encode_pdp11_d, decode_pdp11_d): New functions to handle PDP11
3340 floating point format.
3341 (pdp11_f_format, pdp11_d_format): New real_format descriptors for
3342 the above functions.
3343 (output_move_quad): Output float values in correct target format.
3344 (legitimate_const_double_p): New function.
3345 * config/pdp11/pdp11.h: Fix typos.
3346 (FLOAT_WORDS_BIG_ENDIAN): Add definition.
3347 (TARGET_FLOAT_FORMAT): Ditto.
3348 (pdp11_f_format, pdp11_d_format): Add external declarations.
3349 (MAX_REGS_PER_ADDRESS): Corrected.
3350 (LEGITIMATE_CONSTANT_P): Use legitimate_const_double_p().
3351 (PRINT_OPERAND): Output float literals in target format.
3353 2004-02-03 Mark Mitchell <mark@codesourcery.com>
3356 * tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and
3358 (access_public_node): Redefine.
3359 (access_protected_node): Likewise.
3360 (access_private_node): Likewise.
3361 * tree.c (build_common_tree_nodes): Create access_public_node,
3362 access_protected_node, and access_private_node.
3364 2004-02-03 Steve Ellcey <sje@cup.hp.com>
3366 * config/ia64/ia64.h (MASK_INLINE_INT_DIV_LAT): Change value.
3367 (MASK_INLINE_INT_DIV_THR): Ditto.
3368 (MASK_INLINE_SQRT_LAT): Ditto.
3369 (MASK_INLINE_SQRT_THR): Ditto.
3370 (MASK_DWARF2_ASM): Ditto.
3371 (MASK_EARLY_STOP_BITS): Ditto.
3373 2004-02-02 Paul Brook <paul@codesourcery.com>
3375 Merge from csl-arm-branch.
3377 2004-01-30 Paul Brook <paul@codesourcery.com>
3379 * aof.h (REGISTER_NAMES): Add vfp reg names
3380 (ADDITIONAL_REGISTER_NAMES): Ditto.
3381 * aout.h (REGISTER_NAMES): Ditto.
3382 (ADDITIONAL_REGISTER_NAMES): Ditto.
3383 * arm-protos.h: Update/Add Prototypes.
3384 * arm.c (init_fp_table): Rename from init_fpa_table. Update users.
3385 Only allow 0.0 for VFP.
3386 (fp_consts_inited): Rename from fpa_consts_inited. Update users.
3387 (values_fp): Rename from values_fpa. Update Users.
3388 (arm_const_double_rtx): Rename from const_double_rtx_ok_for_fpa.
3389 Update users. Only check valid constants for this hardware.
3390 (arm_float_rhs_operand): Rename from fpa_rhs_operand. Update Users.
3391 Only allow consts for FPA.
3392 (arm_float_add_operand): Rename from fpa_add_operand. Update users.
3393 Only allow consts for FPA.
3394 (use_return_insn): Check for saved VFP regs.
3395 (arm_legitimate_address_p): Handle VFP DFmode addressing.
3396 (arm_legitimize_address): Ditto.
3397 (arm_general_register_operand): New function.
3398 (vfp_mem_operand): New function.
3399 (vfp_compare_operand): New function.
3400 (vfp_secondary_reload_class): New function.
3401 (arm_float_compare_operand): New function.
3402 (vfp_print_multi): New function.
3403 (vfp_output_fstmx): New function.
3404 (vfp_emit_fstm): New function.
3405 (arm_output_epilogue): Output VPF reg restore code.
3406 (arm_expand_prologue): Output VFP reg save code.
3407 (arm_print_operand): Add 'P'.
3408 (arm_hard_regno_mode_ok): Return modes for VFP regs.
3409 (arm_regno_class): Return classes for VFP regs.
3410 (arm_compute_initial_elimination_offset): Include space for VFP regs.
3411 (arm_get_frame_size): Ditto.
3412 * arm.h (FIXED_REGISTERS): Add VFP regs.
3413 (CALL_USED_REGISTERS): Ditto.
3414 (CONDITIONAL_REGISTER_USAGE): Enable VFP regs.
3415 (FIRST_VFP_REGNUM): Define.
3416 (LAST_VFP_REGNUM): Define.
3417 (IS_VFP_REGNUM): Define.
3418 (FIRST_PSEUDO_REGISTER): Include VFP regs.
3419 (HARD_REGNO_NREGS): Handle VFP regs.
3420 (REG_ALLOC_ORDER): Add VFP regs.
3421 (enum reg_class): Add VFP_REGS.
3422 (REG_CLASS_NAMES): Ditto.
3423 (REG_CLASS_CONTENTS): Ditto.
3424 (CANNOT_CHANGE_MODE_CLASS) Handle VFP Regs.
3425 (REG_CLASS_FROM_LETTER): Add 'w'.
3426 (EXTRA_CONSTRAINT_ARM): Add 'U'.