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