1 2004-03-22 Joel Brobecker <brobecker@gnat.com>
3 * dwarf2out.c (is_subrange_type): Do not emit a subrange_type DIE
6 2004-03-22 Joel Brobecker <brobecker@gnat.com>
8 * dwarf2out.c (is_subrange_type): Minor code rework. No behavior
11 2004-03-22 Jakub Jelinek <jakub@redhat.com>
14 * c-decl.c (finish_struct): Change type of incorrect flexible array
15 field into error_mark_node.
17 2004-03-22 Andrew Pinski <pinskia@physics.uc.edu>
20 * config/rs6000/rs6000.c (symbol_ref_operand): Reject symbols
21 who are not local for Darwin PIC.
23 2004-03-22 Ulrich Weigand <uweigand@de.ibm.com>
25 * regrename.c (regrename_optimize): Set regs_ever_live for all
26 registers introduced as replacement.
28 2004-03-22 Eric Botcazou <ebotcazou@libertysurf.fr>
31 * expr.c (mark_queue): New function.
32 (emit_insns_enqueued_after_mark): New function replacing
33 emit_queue. Clear the body of emitted queued insns.
34 (emit_queue): Call emit_insns_enqueued_after_mark.
35 (store_expr): Mark the increment queue on entry. Emit
36 only the incrementations queued when expanding the source.
38 2004-03-22 Nathanael Nerode <neroden@gcc.gnu.org>
40 * configure.ac: Allow --disable-coverage-flags (for the future benefit
41 of top level bootstrap, and consistency). Reindent.
42 * configure: Regenerate.
44 2004-03-21 Kazu Hirata <kazu@cs.umass.edu>
46 * bt-load.c, builtins.c, cfghooks.c, cfgrtl.c, gcse.c,
47 ggc-page.c, integrate.c, var-tracking.c, web.c: Remove
50 2004-03-22 Danny Smith <dannysmith@users.sourceforge.net>
53 * gcov-io.h (gcov_truncate): Define ftruncate as _chsize for
56 2004-03-21 Ulrich Weigand <uweigand@de.ibm.com>
58 * config/s390/s390.md ("*doloop_si"): Change predicate for operand 2
59 to nonimmediate_operand.
60 ("*doloop_di"): Likewise.
62 2004-03-21 Alexandre Oliva <aoliva@redhat.com>
64 * real.h (struct real_value): Use the same type for all
65 bitfields. Rename exp to uexp.
66 (REAL_EXP, SET_REAL_EXP): New accessor macros for uexp.
67 Adjust all uses of exp...
68 * builtins.c: ... here, ...
69 * emit-rtl.c: ... here, and ...
70 * real.c: ... and here.
72 2004-03-21 Gabriel Dos Reis <gdr@integrable-solutions.net>
74 * pretty-print.c (pp_base_maybe_space): New function.
75 * pretty-print.h (pp_base_maybe_space): Declare.
76 (pp_maybe_space): New macro.
78 2004-03-21 Ulrich Weigand <uweigand@de.ibm.com>
80 * config/s390/s390.md ("addti3", "subti3"): New insns and splitters.
82 2004-03-21 Ulrich Weigand <uweigand@de.ibm.com>
84 * expmed.c (choose_mult_variant): Pass MULT_COST as argument instead
85 of using register multiplication cost.
86 (expand_mult): Adapt choose_mult_variant call.
87 (expand_mult_highpart): Call choose_mult_variant with WIDER_MODE
88 of MODE; pass appropriate cost bound. Adjust result when
89 performing signed multiplication by a negative constant.
90 Don't use intermediate modes larger than word_mode.
92 2004-03-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
94 * alias.c (get_alias_set): Remove handling of PLACEHOLDER_EXPR.
95 * emit-rtl.c (component_ref_for_mem_expr): Likewise.
96 (set_mem_attributes_minus_bitpos): Call SUBSTITUTE_PLACEHOLDER_IN_EXPR.
97 * explow.c (expr_size): Likewise.
98 * expr.h (placeholder_list, find_placeholder): Deleted.
99 * expr.c (store_constructor): Likewise.
100 (get_inner_reference): Likewise. Also don't call find_placeholder.
101 (placeholder_list, find_placeholder): Deleted.
102 (is_aligning_offset): Don't handle WITH_RECORD_EXPR, PLACEHOLDER_EXPR.
103 (expand_expr_real, cases PLACEHOLDER_EXPR, WITH_RECORD_EXPR): Likewise.
104 (highest_pow2_factor, case WITH_RECORD_EXPR): Remove.
105 * dojump.c (do_jump, case WITH_RECORD_EXPR): Likewise.
106 * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR):
108 * fold-const.c (invert_truthvalue, case WITH_RECORD_EXPR): Likewise.
109 (extract_muldiv, case WITH_RECORD_EXPR): Likewise.
110 * tree.c (expr_align, case WITH_RECORD_EXPR): Likewise.
111 (contains_placeholder_p): Don't handle WITH_RECORD_EXPR.
112 Clean up by using first_rtl_op.
113 (substitute_in_expr): Use SUBSTITUTE_IN_EXPR for recursive call.
114 (substitute_placeholder_in_expr): New function.
115 * tree.def (WITH_RECORD_EXPR): Deleted.
116 * tree.h (SUBSTITUTE_IN_EXPR, SUBSTITUTE_PLACEHOLDER_IN_EXPR): New.
117 (substitute_placeholder_in_expr): New.
119 2004-03-21 Andrew Pinski <pinskia@gcc.gnu.org>
121 * dojump.c (prefer_and_bit_test): Fix which part of
122 the and_test is replaced.
124 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
126 * frontends.texi: Add missing line.
128 2004-03-21 Zack Weinberg <zack@codesourcery.com>
129 Chris Devers <cdevers@pobox.com>
130 Joseph S. Myers <jsm@polyomino.org.uk>
132 * doc/frontends.texi: Rewrite.
133 * doc/gcc.texi: Update last modification date.
135 2004-03-21 Josef Zlomek <zlomekj@suse.cz>
137 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug
138 message before redirecting the edge.
140 2004-03-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
142 * emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER
144 * explow.c (force_not_mem): Set REG_POINTER flag according to
146 * rtl.h (MEM_POINTER): New macro.
147 (struct rtx_def): Use integrated for MEM_SCALAR_P and frame_related
150 2004-03-20 Roger Sayle <roger@eyesopen.com>
153 * cse.c (fold_rtx): Avoid substituting constants into unary
154 conversion operations.
156 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
158 * fold-const.c (fold): Replace "expr" with "t".
160 2004-03-20 Ian Lance Taylor <ian@wasabisystems.com>
163 * c-typeck.c (tagged_types_tu_compatible_p): Don't use
164 DECL_ORIGINAL_TYPE if there isn't one.
166 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
168 * fold-const.c (fold): Replace "final_type" with "type".
169 Remove variable "final_type".
171 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
173 * fold-const.c (fold): Constify "type".
174 Replace "TREE_TYPE (t)" with "type".
176 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
178 * bb-reorder.c, bt-load.c, c-decl.c, cfgcleanup.c, coverage.c,
179 dwarf2asm.c, ifcvt.c, stor-layout.c, varasm.c: Replace calls
180 via (*targetm.foo) () with targetm.foo ().
182 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
185 * doc/install.texi: Add info directory category and entry.
187 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
189 * fold-const.c (fold): Replace "t" with "tem" where it is used
190 as a temporary variable. Remove "orig_t" and all of its uses.
192 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
194 * fold-const.c (fold): Remove variable "invert".
195 Move the handling of relational expressions that can be folded
197 (fold_relational_const): ... here.
198 (tree_expr_nonzero_p): New.
200 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
203 * builtins.def (nan, nanf, nanl, nans, nansf, nansl): Change to
206 2004-03-20 Richard Sandiford <rsandifo@redhat.com>
208 * Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h.
209 (GTFILES): Add $(srcdir)/dojump.h.
210 (gt-dojump.h): New dependency.
211 * dojump.c (and_reg, and_test, shift_test): New static variables.
212 (prefer_and_bit_test): New function.
213 (do_jump): Use it to choose between (X & (1 << C)) and (X >> C) & 1.
215 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
217 * c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c,
218 expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c,
219 reorg.c, tree.h: Fix comment typos.
221 2004-03-19 Kazu Hirata <kazu@cs.umass.edu>
223 * alias.c, attribs.c, bt-load.c, builtins.c, c-common.c,
224 c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c,
225 cse.c, dbxout.c, dwarf2out.c, except.c, final.c,
226 haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c,
227 sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c,
228 vmsdbgout.c: Replace calls via (*targetm.foo) () with
231 2004-03-19 Ziemowit Laski <zlaski@apple.com>
233 * config/rs6000/altivec.h (vec_dst, vec_dstst, vec_dststt,
234 vec_dstt, vec_sld, vec_splat): Add prototypes, marked with
235 always_inline attribute.
236 * config/rs6000/rs6000.c (altivec_expand_dst_builtin):
237 Treat expansion as completed even if literal argument is
238 invalid (so that other expansions are not tried in vain).
240 2004-03-19 Kazu Hirata <kazu@cs.umass.edu>
242 * loop-doloop.c (add_test): Replace GEN_INT (0) with
245 2004-03-19 Kazu Hirata <kazu@cs.umass.edu>
247 * fold-const.c (fold) <ABS_EXPR>: Move the handling of constants
249 (fold_abs_const): ... here.
251 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
253 * tree.h (TYPE_ARRAY_MAX_SIZE): Use type.maxval directly.
255 2004-03-19 Denis Chertykov <denisc@overta.ru>
258 * config/avr/avr.md ("call_insn"): Handle explicit integer
260 (call_value_insn): Likewise.
262 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
264 * tree.c (substitute_in_expr): Rewrite to simplify and be more generic.
266 2004-03-19 Kazu Hirata <kazu@cs.umass.edu>
268 * fold-const.c (negate_expr): Move the handling of constants
270 (fold_negate_const): ... here.
272 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
274 * langhooks-def.h (LANG_HOOKS_HASH_TYPES): New macro and hook.
275 * langhooks.h (struct lang_hooks_for_types): New field hash_types.
276 * tree.c (debug_no_type_hash): Deleted.
277 (type_hash_canon): Abort if passed a variant.
278 Check lang_hooks.types.hash_types.
279 (build_type_no_quals): Copy mode of POINTER_TYPE and REFERENCE_TYPE.
280 (build_array_type): Remove unnecessary allocation of pointer type.
281 (build_complex_type): Properly qualify resulting type.
283 2004-03-19 Paolo Bonzini <bonzini@gnu.org>
285 * config/rs6000/rs6000.c (rs6000_init_builtins): Fix typo.
287 2004-03-19 Richard Sandiford <rsandifo@redhat.com>
289 * expmed.c (choose_mult_variant, expand_mult_const): New, split from...
290 (expand_mult): ...here.
291 (extract_high_half): New, split out from expand_mult_highpart.
292 (expand_highpart_optab): Likewise. Don't clobber target prematurely.
293 (expand_highpart): Evaluate the cost of a shift/add sequence,
294 then see if any of the specialized optabs are cheaper.
296 2004-03-18 Ian Lance Taylor <ian@wasabisystems.com>
298 * mklibgcc.in: Remove obsolete MAYBE_USE_COLLECT2.
300 2004-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
302 * convert.c (convert_to_real): Add more math builtins.
304 2004-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
306 * convert.c (convert_to_real): Reformat using switch stmt.
308 2004-03-18 Mark Mitchell <mark@codesourcery.com>
310 * c-common.c (pointer_int_sum): Do not complain about using
311 pointers to pointers-to-members.
313 2004-03-18 Kazu Hirata <kazu@cs.umass.edu>
315 * system.h (MD_ASM_CLOBBERS): Move to "Old target macros that
316 have moved to the target hooks structure".
318 2004-03-18 James E Wilson <wilson@specifixinc.com>
320 * config/mips/mips.md (type): Split move into arith and fmove. Split
321 hilo into mthilo and mfhilo. Add trap. Delete icmp. Fix all uses.
322 * config/mips/5400.md (ir_vr54_hilo, ir_vr54_arith, ir_vr54_fabs):
324 * config/mips/5500.md (ir_vr55_hilo, ir_vr55_arith, ir_vr55_fabs):
326 * config/mips/7000.md (rm7_int_other, rm7_mthilo, rm7_mfhilo,
327 rm7_fp_quick): Likewise.
328 * config/mips/9000.md (rm9k_int, rm9k_mfhilo, rm9k_mthilo,
329 rm9k_fquick): Likewise.
330 * config/mips/sr71k.md (ir_sr70_hilo, ir_sr70_arith, ir_sr70_fabs):
332 (ir_sr70_icmp): Delete.
334 2004-03-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
336 * tree.h (TREE_CHECK2, TREE_CHECK3, TREE_CHECK5): New macros.
337 (tree_check2_failed, tree_check3_failed, tree_check5_failed): New decl.
338 (FUNC_OR_METHOD_CHECK, SET_ARRAY_OR_VECTOR_CHECK): New macros.
339 (REC_OR_UNION_CHECK, NUMERICAL_TYPE_CHECK): Likewise.
340 (TYPE_VALUES, TYPE_DOMAIN, TYPE_FIELDS, TYPE_METHODS, TYPE_VFIELD):
341 Protect with proper check.
342 (TYPE_ARG_TYPES, TYPE_METHOD_BASETYPE, TYPE_OFFSET_BASETYPE): Likewise.
343 (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Likewise.
344 * tree.c (type_hash_eq): Rewrite to access proper fields for each type.
345 (tree_check2_failed, tree_check3_failed, tree_check5_failed): New.
346 * c-typeck.c (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES.
347 * dwarf2out.c (gen_enumeration_type_die): Use TYPE_VALUES,
349 * stor-layout.c (set_sizetype): Use TYPE_ORIG_SIZE_TYPE.
351 2004-03-18 Mostafa Hagog <mustafa@il.ibm.com>
353 * gcse.c (eliminate_partially_redundant_loads): Reject change if
354 dest is set between beginning and current insn.
356 2004-03-18 Mark Mitchell <mark@codesourcery.com>
358 * c-decl.c (grokdeclarator): Do not complain about redeclaring
359 visible "static" identifiers "extern" in a local scope.
360 * dwarf2out.c (loc_descriptor_from_tree): Handle pre- and
361 post-increments/decrements.
363 2004-03-18 Bob Wilson <bob.wilson@acm.org>
365 * config/xtensa/xtensa.c (current_function_arg_words): Delete.
366 (xtensa_builtin_saveregs): Use current_function_args_info.arg_words.
367 (xtensa_va_start): Remove assignment to current_function_arg_words.
369 2004-03-18 Richard Sandiford <rsandifo@redhat.com>
371 * alias.c (record_set): Detect the case where a register is assigned
372 a new value that has the same base term as the old one.
374 2004-03-18 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
377 * loop-doloop.c: New file.
378 * Makefile.in (doloop.o): Remove.
379 (loop-doloop.o): New.
380 * cfgloop.h (get_loop_level, doloop_optimize_loops): Declare.
381 * cfgloopanal.c (get_loop_level): New function.
382 * loop-iv.c (iv_number_of_iterations): Handle case when loop
383 is leaved immediatelly.
384 * loop.c (strength_reduce): Do not call doloop optimization.
385 * loop.h (LOOP_BCT): Removed.
386 * passes.c (rest_of_handle_loop_optimize): Do not use LOOP_BCT.
387 (rest_of_handle_loop2): Call doloop_optimize_loops.
388 (rest_of_compilation): Test for optimizations moved to
389 rest_of_handle_loop2.
391 2004-03-17 Fariborz Jahanian <fjahanian@apple.com>
393 * config/rs6000/rs6000.c (rs6000_stack_info): correct reg_size
395 (rs6000_emit_prologue): Ditto.
396 (rs6000_emit_epilogue): Ditto.
397 * config/rs6000/rs6000.h: Definition of DWARF_CIE_DATA_ALIGNMENT
398 macro for mixed mode.
400 2004-03-18 Jan Hubicka <jh@suse.cz>
402 * predict.c (propagate_freq): Compute correctly frequency of
405 2004-03-17 Eric Christopher <echristo@redhat.com>
407 * builtins.c (apply_args_size): Use reg_raw_mode.
408 (apply_result_size): Ditto.
410 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
413 * config/rtems.h: Add STD_LIB_SPEC and LIB_SPEC.
415 2004-03-17 Jakub Jelinek <jakub@redhat.com>
417 * config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for
418 32-bit builds when defaulting to 32-bit.
420 2004-03-17 Jan Hubicka <jh@suse.cz>
422 * cfgrtl.c (rtl_create_basic_block): Pre-allocate basic_block_info
425 2004-03-17 James E Wilson <wilson@specifixinc.com>
427 * config/mips/mips.md (zero_extendsidi2): Add length attribute.
428 (hazard_nop): Change type to nop.
429 (type): Split arith into arith, shift, slt, clz. Delete darith.
430 Fix all uses. Change arith to multi if more than one insn emitted.
431 * config/mips/5400.md (ir_vr54_arith): Likewise.
432 * config/mips/5500.md (ir_vr55_arith): Likewise.
433 * config/mips/7000.md (rm7_int_other): Likewise.
434 * config/mips/9000.md (rm9k_int): Likewise.
435 * config/mips/sr71k.md (ir_sr70_arith): Likewise.
437 2004-03-17 Joel Brobecker <brobecker@gnat.com>
439 * dwarf2out.c (subrange_type_die): Define new variable "subtype"
440 to hold the subtype tree instead of recomputing it several times.
442 2004-03-17 Kazu Hirata <kazu@cs.umass.edu>
444 * config/mn10300/mn10300.c (notice_update_cc): Don't handle
446 * config/mn10300/mn10300.md (cc): Remove "invert".
448 2004-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
450 * builtins.c (integer_valued_real_p): Add builtin rint.
451 (fold_builtin): Likewise.
452 * convert.c (convert_to_real): Likewise.
454 * convert.c (convert_to_real): Fix typos in `long double'
457 2004-03-16 Mark Mitchell <mark@codesourcery.com>
460 * fold-const.c (fold): Set TREE_NO_UNUSED_WARNING on implicitly
461 generated COMPOUND_EXPRs.
463 2004-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
465 * config/h8300/t-rtems (h8300-*-rtems*): New.
467 2004-03-16 Eric Christopher <echristo@redhat.com>
469 * doc/cppopts.texi(fwide-exec-charset): Fix typo.
471 2004-03-16 Kazu Hirata <kazu@cs.umass.edu>
473 * config/i386/i386-protos.h: Add a prototype for
474 ix86_reverse_condition.
475 * config/i386/i386.c (ix86_reverse_condition): New.
476 * config/i386/i386.h (REVERSE_CONDITION): Use
477 ix86_reverse_condition.
478 * config/i386/i386.md: Use ix86_reverse_condition instead of
481 2004-03-16 J. Brobecker <brobecker@gnat.com>
483 * dwarf2out.c (loc_descriptor_from_tree): Add handling for MIN_EXPR.
485 2004-03-16 Nathanael Nerode <neroden@gcc.gnu.org>
488 * Makefile.in: Pass $(INCLUDES) down to libgcc.mk explicitly.
490 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
492 * c-common.c (c_common_type_for_mode): Build vector types on
494 (handle_mode_attribute): Deprecate using the mode attribute
495 to create vector types. Fix indentation.
496 (vector_type_node_list): Remove.
497 (handle_vector_size_attribute): Create vector types on demand.
498 Strip a NON_LVALUE_EXPR from the attribute if there is one.
499 * c-typeck.c (comptypes): Make vector types compatible if they
500 have the same underlying mode.
501 (convert_for_assignment): Use comptypes to convert between
503 * tree.c (build_common_tree_nodes_2): Do not create vector types.
504 * config/arm/arm.c (arm_init_iwmmxt_builtins): Create necessary
506 * tree.h: Remove vector types.
507 * config/i386/i386.c (i386_init_mmx_sse_builtins): Likewise.
508 * config/rs6000/rs6000.c (rs6000_init_builtins): Likewise.
509 (V16QI_type_node, V2SI_type_node, V2SF_type_node, V4HI_type_node,
510 V4SI_type_node, V4SF_type_node, V8HI_type_node): New globals.
511 * doc/extend.texi (Vector Types): Document how to use the
512 vector_size attribute to create vectors, rather than mode.
514 * config/arm/mmintrin.h: Use vector_size attribute, not mode.
515 * config/i386/emmintrin.h: Likewise.
516 * config/i386/mmintrin.h: Likewise.
517 * config/i386/xmmintrin.h: Likewise.
518 * config/sh/ushmedia.h: Likewise.
520 2004-03-16 Kazu Hirata <kazu@cs.umass.edu>
522 * config/freebsd-spec.h, config/arc/arc-protos.h,
523 config/arm/aout.h, config/arm/elf.h, config/arm/freebsd.h,
524 config/arm/linux-gas.h, config/arm/semi.h,
525 config/cris/cris-protos.h, config/i386/xm-djgpp.h,
526 config/ia64/freebsd.h, config/mips/7000.md,
527 config/mips/9000.md, config/ns32k/ns32k-protos.h,
528 config/sparc/pbd.h: Update copyright.
530 2004-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
533 * config.gcc: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff.
535 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
537 * combine.c (combine_simplify_rtx): Remove the "last"
538 parameter and its documentation. Adjust recursive calls.
539 (simplify_logical): Always perform the only simplification
540 controlled by "last", if the simplified expression is
542 (try_combine): Do not pass the "last" parameter to
543 combine_simplify_rtx.
545 2004-03-16 Richard Sandiford <rsandifo@redhat.com>
548 * config/mips/mips.md (UNSPEC_GP): New constant.
549 * config/mips/mips.c (CONST_GP_P): Expect the CONST to contain
550 an UNSPEC instead of (reg $gp).
551 (mips16_gp_pseudo_reg): Change accordingly.
552 (print_operand): Print $gp directly when handling CONST_GP_P.
554 2004-03-16 Richard Zidlicky <rz@linux-m68k.org>
556 * config.gcc, config/m68k/linux.h: Implement with-cpu for m68k-linux.
557 * longlong.h: Make code 68060 clean when compiling for m68060.
559 2004-03-16 Richard Zidlicky <rz@linux-m68k.org>
561 * config/m68k/m68k.md: Fix constraints for bitfield instructions.
562 * doc/md.texi: Clarify description of "i" constraint.
564 2004-03-15 James E Wilson <wilson@specifixinc.com>
566 * config/mips/mips.md (type): Split load into load, fpload, fpidxload.
567 Split store into store, fpstore, fpidxstore. Fix all uses.
568 * config/mips/5400.md (ir_vr54_load, ir_vr54_store, ir_vr54_fstore):
570 * config/mips/5500.md (ir_vr55_load, i5_vr55_store): Likewise.
571 * config/mips/7000.md (rm7_ld, rm7_st): Likewise.
572 * config/mips/9000.md (rm9k_load, rm9k_store): Likewise.
573 * config/mips/sr71k.md (ir_sr70_load, ir_sr70_store, ir_sr70_fload,
574 ir_sr70_fstore): Likewise.
576 2004-03-15 Richard Henderson <rth@redhat.com>
579 * except.c (collect_one_action_chain): Record action for cleanup
580 outer of exception spec.
582 2004-03-15 Ian Lance Taylor <ian@wasabisystems.com>
584 * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address):
585 Fix the check for abort and only do the mmap if we can.
587 2004-03-15 Eric Botcazou <ebotcazou@act-europe.fr>
589 * config/sparc/sparc.h: Rework comments about the code model
590 in 64-bit environment and the mode 'Pmode'.
591 * doc/invoke.texi (SPARC options): Rework description of the
592 different code models supported in 64-bit environment.
594 2004-03-15 Kazu Hirata <kazu@cs.umass.edu>
596 * defaults.h (REVERSIBLE_CC_MODE): Define.
597 * jump.c (reversed_comparison_code_parts): Don't check if
598 REVERSIBLE_CC_MODE is defined.
600 2004-03-15 Kazu Hirata <kazu@cs.umass.edu>
602 * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c,
603 et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h,
604 hosthooks.h, params.h, ra-colorize.c, web.c,
605 config/darwin-c.c, config/alpha/freebsd.h, config/arm/pe.c,
606 config/avr/avr-protos.h, config/avr/avr.md,
607 config/fr30/fr30-protos.h, config/fr30/fr30.md,
608 config/h8300/fixunssfsi.c, config/i386/darwin.h,
609 config/i386/freebsd.h, config/i386/freebsd64.h,
610 config/ia64/hpux.h, config/ia64/unwind-ia64.c,
611 config/ip2k/libgcc.S, config/m32r/xm-m32r.h,
612 config/mmix/mmix-modes.def, config/ns32k/netbsd.h,
613 config/ns32k/ns32k.md, config/pa/pa64-hpux.h,
614 config/pa/pa64-regs.h, config/rs6000/aix41.h,
615 config/rs6000/aix43.h, config/rs6000/host-darwin.c,
616 config/sparc/aout.h, config/sparc/freebsd.h,
617 config/sparc/litecoff.h, config/vax/vax-protos.h,
618 doc/hostconfig.texi, doc/include/gcc-common.texi: Update
621 2004-03-15 Paul Brook <paul@codesourcery.com>
623 * config/arm/arm.c (thumb_expand_prologue): Tie prologue insns to fp.
625 2004-03-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
627 * c-pretty-print.c (pp_c_semicolon): Fix formatting.
628 (pp_c_cv_qualifier): Document.
629 (pp_c_space_for_pointer_operator): Likewise.
630 (pp_c_integer_constant): Likewise.
631 (pp_c_identifier): Likewise.
632 (pp_c_init_declarator): Don't print function body.
634 2004-03-14 Joseph S. Myers <jsm@polyomino.org.uk>
636 * doc/contrib.texi, doc/extend.texi, doc/gcov.texi,
637 doc/install.texi, doc/invoke.texi, doc/makefile.texi,
638 doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize
639 "gcc", "g++" and "g77" or mark up with appropriate markup. Adjust
642 2004-03-14 Roger Sayle <roger@eyesopen.com>
644 * alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) ()
645 with lang_hooks.foo ().
646 * builtins.c (expand_builtin_va_arg): Likewise.
647 * c-common.c (fname_as_string, c_common_truthvalue_conversion,
648 c_common_type_for_mode, c_common_nodes_and_builtins,
649 handle_mode_attribute, handle_vector_size_attribute): Likewise.
650 * c-convert.c (convert): Likewise.
651 * c-format.c (check_format_types): Likewise.
652 * c-objc-common.c (c_tree_printer): Likewise.
653 * c-typeck.c (build_unary_op, build_conditional_expr,
654 build_binary_op): Likewise.
655 * calls.c (try_to_integrate, expand_call,
656 emit_library_call_value_1): Likewise.
657 * cgraph.c (cgraph_node_name, cgraph_function_possibly_inlined_p):
659 * cgraphunit.c (record_call_1, cgraph_analyze_function,
660 cgraph_expand_function): Likewise.
661 * convert.c (convert_to_pointer, convert_to_integer): Likewise.
662 * coverage.c (build_fn_info_type, build_ctr_info_type,
663 build_gcov_info, create_coverage): Likewise.
664 * dbxout.c (dbxout_init): Likewise.
665 * diagnostic.c (diagnostic_report_current_function): Likewise.
666 * dojump.c (do_jump): Likewise.
667 * dwarf2out.c (dwarf2_name): Likewise.
668 * except.c (init_eh): Likewise.
669 * explow.c (expr_size, int_expr_size): Likewise.
670 * expmed.c (make_tree, const_mult_add_overflow_p, expand_mult_add):
672 * expr.c (store_expr, store_constructor, safe_from_p,
673 expand_expr_real, do_store_flag, try_casesi): Likewise.
674 * function.c (push_function_context_to, pop_function_context_from,
675 free_after_parsing, assign_stack_local_1, assign_stack_temp_for_type,
676 put_var_into_stack, allocate_struct_function, current_function_name):
678 * integrate.c (copy_decl_for_inlining, expand_inline_function):
680 * langhooks.c (lhd_clear_binding_stack, write_global_declarations,
681 lhd_print_error_function): Likewise.
682 * opts.c (handle_option, decode_options): Likewise.
683 * passes.c (open_dump_file): Likewise.
684 * print-tree.c (print_node): Likewise.
685 * stmt.c (expand_fixup, fixup_gotos, expand_asm_operands,
686 expand_decl_cleanup, emit_case_nodes): Likewise.
687 * stor-layout.c (variable_size): Likewise.
688 * toplev.c (announce_function, wrapup_global_declarations,
689 check_global_declarations, compile_file, default_tree_printer,
690 process_options, lang_dependent_init, finalize): Likewise.
691 * tree-dump.c (dequeue_and_dump): Likewise.
692 * tree-inline.c (remap_decl, remap_block, copy_body_r,
693 initialize_inlined_parameters, declare_return_variable,
694 inlinable_function_p, expand_call_inline, optimize_inline_calls,
695 walk_tree, copy_tree_r): Likewise.
696 * tree-optimize.c (tree_rest_of_compilation): Likewise.
697 * tree.c (decl_assembler_name, tree_size, size_in_bytes, staticp,
698 unsafe_for_reeval, get_unwidened, get_narrower, get_callee_fndecl,
699 variably_modified_type_p, dump_tree_statistics): Likewise.
700 * varasm.c (assemble_variable, compare_constant, copy_constant,
701 force_const_mem, compute_reloc_for_constant, output_constant,
702 output_addressed_constants, initializer_constant_valid_p): Likewise.
704 2004-03-14 Kelley Cook <kcook@gcc.gnu.org>
706 * doc/install.texi: Make autoconf 2.13 the exception, not the rule.
708 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
710 * doc/install.texi: Reflect autoconf and automake version for
711 libffi. Update autoconf version to 2.59.
713 2004-03-13 Roger Sayle <roger@eyesopen.com>
715 * fold-const.c (negate_expr, operand_equal_for_comparison_p,
716 optimize_bit_field_compare, decode_field_reference, all_ones_mask_p,
717 make_range, build_range_check, fold_range_test, unextend,
718 constant_boolean_node, fold_binary_op_with_conditional_arg,
719 fold_truthop, fold_mathfn_compare, fold_inf_compare,
720 fold_single_bit_test, fold): Replace calls via (*lang_hooks.foo) ()
721 with lang_hooks.foo ().
723 2004-03-14 Richard Earnshaw <rearnsha@arm.com>
725 * arm.h (EXTRA_CONSTRAINT_STR_ARM): Update comment.
727 2004-03-13 Dara Hazeghi <dhazeghi@yahoo.com>
729 * doc/install.texi: Note status of -fnew-ra.
731 2004-03-13 Eric Botcazou <ebotcazou@libertysurf.fr>
734 * expr.c (store_expr): Call emit_queue before generating the move
735 from the temporary to the original target. Protect the temporary
738 2004-03-13 Jakub Jelinek <jakub@redhat.com>
741 * config/s390/s390.c (legitimize_pic_address): Don't abort on UNSPEC
742 other than UNSPEC_GOTOFF.
744 2004-03-13 Richard Earnshaw <rearnsha@arm.com>
746 * arm.c (arm_legitimate_address_p): New argument, OUTER. Pass through
747 to arm_legitimate_index_p. Update all callers with SET as default
749 (arm_legitimate_index_p): New argument, OUTER. Restrict the index
750 range if OUTER is a sign-extend operation on QImode. Correctly
751 reject shift operations on sign-extended QImode addresses.
752 (bad_signed_byte_operand): Delete.
753 (arm_extendqisi_mem_op): New function.
754 * arm.h (EXTRA_CONSTRAINT_ARM): Delete. Replace with...
755 (EXTRA_CONSTRAINT_STR_ARM): ... this. Handle extended address
757 (CONSTRAINT_LEN): New.
758 (EXTRA_CONSTRAINT): Delete. Replace with...
759 (EXTRA_CONSTRAINT_STR): ... this.
760 (PREDICATE_CODES): Remove bad_signed_byte_operand.
761 * arm.md (extendqihi_insn): Use new constraint Uq. Rework. Length
762 is now always default.
763 (define_splits for bad sign-extend loads): Delete.
764 (arm_extendqisi, arm_extendqisi_v5): Likewise.
765 * arm/vfp.md (arm_movsi_vfp, arm_movdi_vfp, movsf_vfp, movdf_vfp):
766 Rework 'U' constraint to 'Uv'.
767 * arm-protos.h: Remove bad_signed_byte_operand. Add
768 arm_extendqisi_mem_op.
769 * doc/md.texi (ARM constraints): Rename VFP constraint (now Uv).
772 2004-03-13 Alan Modra <amodra@bigpond.net.au>
774 * config/rs6000/rs6000.c (rs6000_va_arg): Replace SPLIT_COMPLEX_ARGS
775 with targetm version.
778 * config/rs6000/rs6000.h (UNITS_PER_ARG, RS6000_ARG_SIZE): Delete.
779 (HARD_REGNO_MODE_OK): Disallow TFmode for fp31.
780 * config/rs6000/rs6000.c (rs6000_arg_size): New function.
781 Update all users of RS6000_ARG_SIZE.
782 (function_arg_advance): Count fregno using mode size.
783 (function_arg): Handle long double split over regs and memory.
784 (function_arg_partial_nregs): Likewise.
785 (rs6000_va_arg): Repackage complex args.
787 2004-03-13 Dean Ferreyra <dferreyra@igc.org>
790 * config/avr/avr.c (avr_progmem_p): Add "attributes" parameter.
791 (avr_insert_attributes): Pass "attributes" to avr_progmem_p.
792 * config/avr/avr-protos.h (avr_progmem_p): Change prototype.
794 2004-03-12 Jakub Jelinek <jakub@redhat.com>
796 * config/rs6000/rs6000-protos.h (rs6000_output_dwarf_dtprel): Add
798 * config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): New.
799 * config/rs6000/rs6000.h (ASM_OUTPUT_DWARF_DTPREL): Define.
801 2003-03-12 Andrew Pinski <apinski@apple.com>
803 * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address):
804 Use ret instead of result. Use addr instead of base.
806 2004-03-12 David Edelsohn <edelsohn@gnu.org>
808 * doc/install.texi (*-ibm-aix*): Document assembler and achiver
809 fixes required by libstdc++ and update installation instructions
812 2004-03-12 Danny Smith <dannysmith@users.sourceforge.net>
814 * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Strip
815 leading '@' on fastcall symbols before stripping suffix.
817 2004-03-12 Roger Sayle <roger@eyesopen.com>
819 * combine.c (unmentioned_reg_p): New function to check whether an
820 expression is a "specialization" of another, i.e. that there are
821 no registers or memory references mentioned in the first that don't
822 appear in the second.
823 (unmentioned_reg_p_1): New helper subroutine of unmentioned_reg_p.
824 (combine_instructions): Also try combining instructions using the
825 REG_EQUAL note from a preceding log-linked instruction.
827 2004-03-12 Roger Sayle <roger@eyesopen.com>
829 * config/i386/i386.c (ix86_split_ashrdi): Optimize shift by 63.
831 2004-03-12 Matt Austern <austern@apple.com>
833 * target.h (struct gcc_target): New target hook, unwind_label.
834 * target-def.h (TARGET_ASM_EMIT_UNWIND_LABEL): New hook.
835 * output.h (default_emit_unwind_label): New function.
836 * default.h (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): New macro.
837 (TARGET_USES_WEAK_UNWIND_INFO): New target macro.
838 (TARGET_SUPPORTS_HIDDEN): New target macro.
839 * dwarf2out.c (struct dw_fde_struct): Add field for function decl
840 that corresponds to this FDE.
841 (FRAME_BEGIN_LABEL): Allow target to override default label.
842 (output_call_frame_info): If FDEs are linknonce, then use extra
843 indirection for FDE encoding, output a label for each FDE, and
844 output an empty label for each function without an FDE.
845 (dwarf2out_begin_prologue): Set up decl field when creating an FDE.
846 * varasm.c (globalize_decl): Call ASM_MAKE_LABEL_LINKONCE for
847 decls with DECL_ONE_ONLY set, if that macro is defined.
848 (make_decl_one_only): Don't use DECL_COMMON if we're compiling
849 for a SUPPORTS_ONE_ONLY target.
850 * config/darwin-protos.h (darwin_unique_section): Declare.
851 (darwin_asm_named_section): Likewise.
852 (darwin_section_type_flags): Likewise.
853 (darwin_non_lazy_pcrel): Likewise.
854 (darwin_emit_unwind_label): Likewise.
855 (darwin_make_decl_one_only): Likewise.
856 * config/darwin.c (machopic_finish): Get rid of tweak that
857 eliminate stubs for symbols that are defined.
858 (darwin_encode_section_info): Don't treat weak functions as defined.
859 (darwin_make_decl_one_only): Define.
860 (darwin_asm_named_section): Likewise.
861 (darwin_section_type_flags): Likewise.
862 (darwin_unique_section): Likewise.
863 (darwin_emit_unwind_label): Likewise.
864 (darwin_non_lazy_pcrel): Likewise.
865 (darwin_asm_output_dwarf_delta): Difference between two labels is
866 local only if both labels are local.
867 * config/darwin.h (MAKE_DECL_ONE_ONLY): Define.
868 (ASM_MAKE_LABEL_LINKONCE): Likewise.
869 (TARGET_SUPPORTS_HIDDEN): Likewise.
870 (TARGET_USES_WEAK_UNWIND_INFO): Likewise.
871 (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): Likewise.
872 (FRAME_BEGIN_LABEL): Likewise.
873 (ASM_DECLARE_OBJECT_NAME): Make references to weak symbols indirect.
874 (ASM_DECLARE_FUNCTION_NAME): Likewise.
875 (darwin_eh_frame_section): Give __eh_frame section the coalesced flag.
876 (TARGET_ASM_UNIQUE_SECTION): Define.
877 (EH_FRAME_SECTION_NAME): Define.
878 (EH_FRAME_SECTION_ATTR): Likewise.
879 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
880 (TARGET_ASM_NAMED_SECTION): Likewise.
881 (TARGET_SECTION_TYPE_FLAGS): Likewise.
882 * doc/tm.texi: Document TARGET_USES_WEAK_UNWIND_INFO,
883 TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, TARGET_SUPPORTS_HIDDEN,
884 TARGET_ASM_EMIT_UNWIND_LABEL.
886 2004-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
888 * builtins.c (expand_builtin_mathfn): Add pow10* to the
889 existing exp10* case.
890 (expand_builtin): Likewise.
892 2004-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
894 * doc/tm.texi (registers) <Values in Registers>: Add
895 entry for REGMODE_NATURAL_SIZE.
897 2004-03-12 Richard Henderson <rth@redhat.com>
900 * target.h (struct gcc_target): Move calls substructure before
901 booleans. Add split_complex_arg.
902 * function.c (assign_parms, split_complex_args): Use it.
903 * calls.c (expand_call): Likewise.
904 (split_complex_values): Likewise. Check for splittable types
905 before allocating memory.
906 (split_complex_types): Likewise.
907 * system.h (SPLIT_COMPLEX_ARGS): Poison.
908 * expr.h (SPLIT_COMPLEX_ARGS): Remove.
909 * target-def.h (TARGET_SPLIT_COMPLEX_ARG): New.
910 * config/alpha/alpha.c (alpha_split_complex_arg): New.
911 (TARGET_SPLIT_COMPLEX_ARG): New.
912 * config/alpha/alpha.h (SPLIT_COMPLEX_ARGS): Remove.
913 * config/rs6000/rs6000.c (TARGET_SPLIT_COMPLEX_ARG): New.
914 (rs6000_override_options): Zap it for non-AIX.
915 (rs6000_function_value): Use targetm.calls.split_complex_arg.
916 * config/rs6000/rs6000.h (SPLIT_COMPLEX_ARGS): Remove.
917 * config/xtensa/xtensa.c (TARGET_SPLIT_COMPLEX_ARG): New.
918 * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Remove.
919 * doc/tm.texi (TARGET_SPLIT_COMPLEX_ARG): Modify from old
920 SPLIT_COMPLEX_ARGS entry.
922 2004-03-11 Richard Henderson <rth@redhat.com>
924 * config/alpha/alpha.c (xfloating_ops, vax_cvt_ops): New.
925 (alpha_lookup_xfloating_lib_func): Use them, return rtx.
926 (alpha_emit_xfloating_arith): Update to match.
927 (alpha_emit_xfloating_compare): Likewise.
928 (alpha_emit_xfloating_cvt): Likewise.
929 (alpha_emit_xfloating_libcall): Take already built symbol,
931 * config/alpha/alpha.md (extendsftf2, extenddftf2): Take
934 2004-03-11 Richard Henderson <rth@redhat.com>
937 * config/alpha/alpha.h (STACK_BOUNDARY): Set to 128.
939 * simplify-rtx.c (simplify_relational_operation): Fix typo.
941 2004-03-11 Richard Henderson <rth@redhat.com>
944 * except.c (remove_unreachable_regions): Look thru CALL_PLACEHOLDER.
946 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com>
949 * calls.c (load_register_parameters): If BLOCK_REG_PADDING is not
950 defined, pass small BLKmode values in registers in the low-order part.
952 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com>
954 * combine.c (if_then_else_cond): Check for NULL return value of
957 2004-03-11 Richard Sandiford <rsandifo@redhat.com>
960 * config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for
963 2004-03-11 Steve Ellcey <sje@cup.hp.com>
965 * config/ia64/hpux.h (TARGET_INIT_LIBFUNCS): Add undef.
966 * config/ia64/ia64.h (TARGET_INIT_LIBFUNCS): Add define.
967 * config/ia64/ia64.c (ia64_init_libfuncs): New.
968 (ia64_hpux_init_libfuncs): Add call to ia64_init_libfuncs.
970 2004-03-11 Roger Sayle <roger@eyesopen.com>
972 * fold-const.c (negate_expr_p) <RSHIFT_EXPR>: We can optimize
973 -((int)X>>C) where C is an integer constant one bit less than the
974 size of X into (unsigned)X>>C. Similarly for unsigned->signed.
975 (negate_expr) <RSHIFT_EXPR>: Implement the above transformations.
977 * simplify-rtx.c (simplify_unary_operation): Also implement the
978 above transformations at the RTL level.
980 2004-03-11 Alan Modra <amodra@bigpond.net.au>
982 * real.c (encode_ibm_extended): Do round low word.
984 2004-03-11 Ben Elliston <bje@wasabisystems.com>
986 * config/arm/arm.md (is_xscale): Comment this attribute and move
987 it a bit further up in the file, closer to related attributes.
989 2004-03-11 Eric Botcazou <ebotcazou@libertysurf.fr>
991 * config/host-solaris.c (sol_gt_pch_use_address): Add
992 missing terminating marker to comment.
994 2004-03-11 Richard Sandiford <rsandifo@redhat.com>
996 * config/mips/mips.md: Use move_operand in splitters for 64-bit moves.
997 (movdi, movsi, movhi, movqi, movsf, movdf): Remove predicates.
998 (*movdi_32bit_mips16, *movsi_mips16, *movhi_mips16, *movqi_mips16)
999 (*movsf_mips16, *movdf_mips16): Name unnamed patterns. Use
1000 move_operand as source predicate in all cases.
1001 (*movdi_32bit): Renamed from movdi_internal. Remove 'F' constraint.
1002 Test reg_or_0_operand. Use move_operand as source predicate.
1003 (*movdi_64bit): Renamed from movdi_internal2. Test reg_or_0_operand.
1004 (*movdi_64bit_mips16): Renamed from movdi_internal2_mips16.
1005 (*movsi_internal): Renamed from movsi_internal. Test reg_or_0_operand.
1006 (movhi, movqi, movsf, movdf): Use mips_legitimize_move.
1007 (*movhi_internal): Renamed from movhi_internal. Test reg_or_0_operand.
1008 Use move_operand as source predicate. Remove 'K' constraint.
1009 (*movqi_internal): Likewise movqi_internal.
1010 (*movsf_hardfloat): Renamed from movsf_internal1. Test
1011 reg_or_0_operand. Use move_operand as source predicate.
1012 (*movsf_softfloat): Likewise movsf_internal2.
1013 (*movdf_hardfloat_64bit): Likewise movsf_internal1a.
1014 (*movdf_hardfloat_32bit): Likewise movsf_internal1b.
1015 (*movdf_softfloat): Likewise movdf_internal2.
1016 * config/mips/mips.c (move_operand): Match arbitrary CONST_INTs
1017 for DImode if !TARGET_64BIT.
1018 (mips_legitimize_move): Simplify accordingly.
1020 2004-03-11 Josef Zlomek <zlomekj@suse.cz>
1023 * var-tracking.c (struct variable_def): Added field refcount.
1024 (variable_htab_free): Decrease the refcount and delete variable
1025 only if there are no more references.
1026 (unshare_variable): New function.
1027 (vars_copy_1): Increase refcount instead of copying the variable.
1028 (variable_union): Share the variables where possible, unshare
1029 the variables if needed.
1030 (variable_different_p): Return false if var1 and var2 are
1032 (variable_was_changed): Init the refcount of new variable.
1033 (set_frame_base_location): Unshare variable if needed.
1034 (set_variable_part): Init the refcount of new variable.
1035 Unshare the variables if needed.
1036 (delete_variable_part): Unshare the variables if needed.
1037 (emit_notes_for_differences_1): Init the refcount of new variable.
1038 (vt_add_function_parameters): Do not add function parameters to
1039 IN set of ENTRY_BLOCK_PTR because it is unused anyway.
1040 (vt_initialize): Do not add frame_base_decl to IN set of
1041 ENTRY_BLOCK_PTR because it is unused anyway.
1043 2004-03-11 Josef Zlomek <zlomekj@suse.cz>
1045 * var-tracking.c (vars_copy_1): Cleanup and speedup chain operations.
1046 (vars_copy): Likewise.
1047 (variable_union): Likewise.
1048 (set_variable_part): Likewise.
1049 (delete_variable_part): Likewise.
1051 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
1053 * c-typeck.c, combine.c, cse.c, dominance.c, et-forest.h,
1054 ggc-page.c, var-tracking.c, config/fp-bit.c, config/c4x/c4x.c,
1055 config/cris/cris.c, config/i386/ppro.md, config/i860/i860.c,
1056 config/i860/i860.h, config/m32r/m32r.h, config/m32r/xm-m32r.h,
1057 config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md,
1058 config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.h,
1059 config/pa/pa.c, config/pa/pa32-regs.h, config/pa/pa64-regs.h,
1060 config/pdp11/pdp11.h, config/rs6000/rs6000.c,
1061 config/stormy16/stormy16.c: Fix comment typos and formatting.
1063 2004-03-11 Nathanael Nerode <neroden@gcc.gnu.org>
1065 * configure: Regenerate, since I forgot to while committing Paolo's
1068 2004-03-08 Paolo Bonzini <bonzini@gnu.org>
1071 Move language detection to the top level.
1072 * configure.ac: Remove code to detect languages,
1073 it now lives exclusively in the top level.
1074 * aclocal.m4 (gcc_AC_PROG_GNAT): Moved to the
1075 top level, renamed to ACX_PROG_GNAT.
1077 2004-03-10 Richard Henderson <rth@redhat.com>
1079 * c-pch.c (c_common_no_more_pch): Update for gt_pch_use_address
1081 * config.host (*-*-solaris2*, *-*-linux*): Add out_host_hook_obj
1082 and host_xmake_file fragments.
1083 * ggc-common.c (gt_pch_save): Update for gt_pch_get_address change.
1084 (gt_pch_restore): Similarly for gt_pch_use_address.
1085 (default_gt_pch_get_address): New.
1086 (mmap_gt_pch_get_address): Split out of gt_pch_save.
1087 (default_gt_pch_use_address): Split out of gt_pch_restore.
1088 (mmap_gt_pch_use_address): Likewise.
1089 * hooks.c (hook_voidp_size_t_null): Remove.
1090 (hook_bool_voidp_size_t_false): Remove.
1091 * hooks.h: Likewise.
1092 * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): Use one of the
1093 default_ or mmap_ definitions.
1094 (HOST_HOOKS_GT_PCH_USE_ADDRESS): Likewise.
1095 * hosthooks.h (struct host_hooks): Update gt_pch_get_address
1096 and gt_pch_use_address.
1097 * config/host-linux.c, config/host-solaris.c: New files.
1098 * config/x-linux, config/x-solaris: New files.
1099 * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_get_address):
1100 Update for changed definition.
1101 (darwin_rs6000_gt_pch_use_address): Likewise.
1102 * doc/hostconfig.texi: Update docs.
1104 2004-03-10 Richard Henderson <rth@redhat.com>
1107 * c-decl.c (grokdeclarator): Don't warn for duplicate qualifiers
1108 except for pedantic c90 mode.
1110 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
1112 * configure.ac: Bump AC_PREREQ to 2.59.
1113 * configure: Regenerate.
1115 2004-03-10 Uros Bizjak <uros@kss-loka.si>
1117 * optabs.h (enum optab_index): Add new OTI_exp10 and OTI_exp2.
1118 (exp10_optab, exp2_optab): Define corresponding macros.
1119 * optabs.c (init_optabs): Initialize exp10_optab and exp2_optab.
1120 * genopinit.c (optabs): Implement exp10_optab and exp2_optab
1121 using exp10?f2 and exp2?f2 patterns.
1122 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP10{,F,L}
1123 using exp10_optab, and BUILT_IN_EXP2{,F,L} using exp2_optab.
1124 (expand_builtin): Expand BUILT_IN_EXP10{,F,L} and BUILT_IN_EXP2{,F,L}
1125 using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
1127 * config/i386/i386.md (exp10sf2, exp10df2, exp10xf2, exp2sf2,
1128 exp2df2, exp2xf2): New patterns to implement exp10, exp10f, exp10l,
1129 exp2, exp2f and exp2l built-ins as inline x87 intrinsics.
1131 2004-03-10 Anthony Green <green@redhat.com>
1133 * doc/invoke.texi (ARM Options): Fix -mpfu typo.
1135 2004-03-10 David Edelsohn <edelsohn@gnu.org>
1137 * config/rs6000/aix.h (TARGET_OS_CPP_BUILTINS): Rename to ...
1138 (TARGET_OS_AIX_CPP_BUILTINS): this. Conditionally define
1140 * config/rs6000/aix41.h (TARGET_OS_CPP_BUILTINS): Use
1141 TARGET_OS_AIX_CPP_BUILTINS.
1142 * config/rs6000/aix43.h (TARGET_OS_CPP_BUILTINS): Same.
1143 * config/rs6000/aix51.h (TARGET_OS_CPP_BUILTINS): Same.
1144 * config/rs6000/aix52.h (TARGET_OS_CPP_BUILTINS): Same.
1145 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Revert
1148 2004-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1150 * fold-const.c (tree_expr_nonnegative_p): Add more builtin cases.
1152 2004-03-10 David Edelsohn <edelsohn@gnu.org>
1154 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
1155 __LONGDOUBLE128 on AIX.
1157 2004-03-10 Andrew Haley <aph@redhat.com>
1159 PR optimization/14381
1160 * function.c (expand_function_end): Emit a blockage insn before
1161 the epilogue when -fnon-call-exceptions is used.
1163 * except.c (expand_start_all_catch): Make comment more accurate.
1165 2004-03-08 Joel Sherrill <joel@oarcorp.com>
1168 * config/rs6000/t-rtems: Add missing file on branch.
1170 2004-03-10 Ulrich Weigand <uweigand@de.ibm.com>
1172 * dbxout.c (dbxout_symbol_location): Do not output references
1173 to optimized-out constant pool symbols.
1175 2004-03-10 Andreas Schwab <schwab@suse.de>
1177 * config/ia64/ia64.md (divsi3, udivsi3): Remove unused variable
1180 2004-03-09 James E Wilson <wilson@specifixinc.com>
1182 * alias.c (alias_sets_might_conflict_p): New.
1183 * c-typeck.c (build_c_cast): Call it if warn_strict_aliasing > 1.
1184 * common.opt (Wstrict-aliasing=): New.
1185 * flags.h (warn_strict_aliasing): Change type to int.
1186 * opts.c (warn_strict_aliasing): Change type to int.
1187 (common_handle_option): Handle OPT_Wstrict_aliasing_.
1188 * tree.h (alias_sets_might_conflict_p): Declare it.
1189 * doc/invoke.tex (-Wstrict-aliasing=2): Document it.
1191 2004-03-10 Roman Zippel <zippel@linux-m68k.org>
1194 * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer.
1195 (CALL_USED_REGISTERS): Likewise.
1196 (REG_CLASS_CONTENTS): Likewise.
1197 (REG_ALLOC_ORDER): New.
1198 (REGNO_REG_CLASS): Use regno_reg_class.
1199 * config/m68k/m68k.c: Add regno_reg_class array.
1201 2004-03-09 Steve Ellcey <sje@cup.hp.com>
1203 * config/ia64/ia64.md (divsi3): Fix algorithm.
1205 (setf_exp_xf): Remove '*' from name.
1206 * testsuite/gcc.dg/20040309-1.c: New test.
1208 2004-03-09 Ian Lance Taylor <ian@wasabisystems.com>
1210 * system.h (SUNOS4_SHARED_LIBRARIES): Poison.
1211 * collect2.c: Remove SUNOS4_SHARED_LIBRARIES code.
1212 * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): Don't define.
1213 * config/sparc/sparc.c (sparc_aout_select_section): Remove.
1214 (sparc_aout_select_rtx_section): Don't check
1215 SUNOS4_SHARED_LIBRARIES.
1216 * config/sparc/sparc.h (SUNOS4_SHARED_LIBRARIES): Don't define.
1218 2004-03-10 Hans-Peter Nilsson <hp@axis.com>
1221 * doc/md.texi (Pattern Ordering, Dependent Patterns)
1222 (Jump Patterns, Looping Patterns): Wrap in separate "@ifset
1225 2004-03-09 Zack Weinberg <zack@codesourcery.com>
1227 * config/ia64/hpux.h (MULTILIB_DEFAULTS): Define.
1228 (LIBGCC_SPEC): Update to match.
1230 2004-03-09 Zack Weinberg <zack@codesourcery.com>
1232 * c-decl.c (last_function_parms, last_function_parm_tags)
1233 (last_function_parm_others, current_function_parms)
1234 (current_function_parm_tags, current_function_parm_others):
1236 (ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, ARG_INFO_OTHERS):
1238 (grokdeclarator): For function definitions, save the arg-info
1239 block from the declarator in DECL_ARGUMENTS.
1240 (grokparms): Do not write to last_function_parm*. Use ARG_INFO_*
1241 macros to operate on arg-info block. Can assume ARG_INFO_PARMS
1242 contains only PARM_DECLs. Improve diagnostics.
1243 (get_parm_info): Use ARG_INFO_* macros. Improve comments and
1244 diagnostics. Disable some expensive checks if not ENABLE_CHECKING.
1245 (store_parm_decls_newstyle): Take the function to operate on,
1246 and an arg-info block, as arguments; don't get anything from
1247 current_function_* globals.
1248 (store_parm_decls_oldstyle): Likewise.
1249 (store_parm_decls): Pass fndecl and its arg-info block down to
1250 store_parm_decls_newstyle/oldstyle. Send functions with empty
1251 argument lists through store_parm_decls_newstyle to reduce
1253 (pushdecl): Comment on the problems with the call to copy_node.
1254 Clear DECL_ARGUMENTS of the old node after copying it, if it
1255 is an arg-info block instead of a chain of decls.
1256 (start_function): Do not manipulate current_function_parm* or
1257 last_function_parm*.
1259 2004-03-09 Roger Sayle <roger@eyesopen.com>
1260 Andrew Pinski <pinskia@physics.uc.edu>
1262 * ifcvt.c (noce_try_sign_mask): New function to transform
1263 "x = (y < 0) ? z : 0" into the equivalent "x = (y >> C) & z".
1264 (noce_process_if_block): Call noce_try_sign_mask.
1266 2004-03-09 Andrew Pinski <apinski@apple.com>
1268 * c-typeck.c (tagged_types_tu_compatible_p):
1271 2004-03-09 Roger Sayle <roger@eyesopen.com>
1273 * simplify-rtx.c (simplify_const_relational_operation): New function
1274 renamed from simplify_relational_operation.
1275 (simplify_relational_operation): Change prototype to accept an
1276 additional mode argument. Call simplify_const_relational_operation.
1277 (simplify_gen_relational): Update simplify_relational_operation call.
1278 (simplify_ternary_operation): Update simplify_relational_operation
1279 subroutine call to use simplify_const_relational_operation instead.
1281 * rtl.h (simplify_const_relational_operation): Prototype here.
1282 (simplify_relational_operation): Add addtional mode argument.
1284 * combine.c (combine_simplify_rtx): Update calls to
1285 simplify_relational_operation.
1286 (simplify_set): Likewise.
1287 (gen_binary): Likewise.
1288 * cse.c (fold_rtx): Likewise.
1289 * dojump.c (compare_from_rtx): Likewise.
1290 (do_compare_rtx_and_jump): Likewise.
1291 * integrate.c (subst_constants): Likewise.
1292 * unroll.c (simplify_cmp_and_jump_insns): Likewise.
1294 2004-03-09 Kazu Hirata <kazu@cs.umass.edu>
1296 * config/m32r/m32r.md: Remove all define_peephole's.
1298 2004-03-09 Alan Modra <amodra@bigpond.net.au>
1300 * config/rs6000/rs6000.md: Remove trailing whitespace.
1302 2004-03-08 Eric Christopher <echristo@redhat.com>
1304 * Makefile.in (site.exp): Add libiconv variable definition.
1306 2004-03-09 Hans-Peter Nilsson <hp@axis.com>
1308 * configure: Regenerate for config/accross.m4 correction.
1310 2004-03-08 Joel Sherrill <joel@oarcorp.com>
1313 * config/rs6000/t-rtems: Add missing file on branch.
1315 2004-03-08 Roger Sayle <roger@eyesopen.com>
1318 * c-typeck.c (c_mark_addressable): A register variable should
1319 be considered global if its not automatic, i.e. TREE_PUBLIC,
1320 TREE_STATIC or DECL_EXTERNAL.
1321 * function.c (put_var_into_stack): Call abort when placing a
1322 hard register into the stack, if x_parm_reg_stack_loc is NULL.
1324 2004-03-08 Ulrich Weigand <uweigand@de.ibm.com>
1326 * config/s390/s390.md ("*extendqidi2_short_displ"): Add CC clobber.
1327 ("*extendqisi2_short_displ"): Likewise.
1329 2004-03-08 Kazu Hirata <kazu@cs.umass.edu>
1331 * config/pdp11/pdp11.c (comparison_operator_index): Remove.
1332 (comp_operator): Likewise.
1333 * config/pdp11/pdp11-protos.h: Remove corresponding
1336 2004-03-08 Eric Botcazou <ebotcazou@act-europe.fr>
1338 * expr.c (highest_pow2_factor_for_type): Rename into
1339 highest_pow2_factor_for_target. Use DECL_ALIGN instead of
1340 TYPE_ALIGN when the target is a COMPONENT_REF.
1341 (expand_assignment): Ajust call to highest_pow2_factor_for_type.
1343 2004-03-08 Alan Modra <amodra@bigpond.net.au>
1345 * config/rs6000/rs6000.c: Formatting fix.
1346 (legitimate_offset_address_p): Correct offset range check.
1348 * config/rs6000/rs6000.c (rs6000_override_options): Don't override
1349 -msoft-float by -mcpu. Consolidate similar code for MASK_MULTIPLE
1352 2004-03-07 Aldy Hernandez <aldyh@redhat.com>
1354 * config/rs6000/rs6000.md (ashrdi3): Do not call ashrdi3_no_power
1356 ("ashrdi3_no_power"): Disable for little endian.
1359 2004-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1361 * fold-const.c (tree_expr_nonnegative_p): Reformat checks for
1364 2004-03-08 Hans-Peter Nilsson <hp@axis.com>
1367 * configure.ac (Target-specific assembler checks) <cris-*-*>: New
1368 case, checking for -no-mul-bug-abort option.
1369 * configure, config.in: Regenerate.
1370 * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround
1371 and -mno-mul-bug-workaround.
1372 * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart")
1373 ("mulsidi3", "umulsidi3"): Prefix output template with "%!".
1374 ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"):
1375 Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG.
1376 * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make
1377 sure mulu.d is not last on cache-line.
1378 * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround
1379 into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION.
1380 (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros.
1381 (TARGET_SWITCHES): New options -mmul-bug-workaround and
1382 -mno-mul-bug-workaround.
1383 (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG.
1384 (PRINT_OPERAND_PUNCT_VALID_P): Include '!'.
1385 * config/cris/cris.c (cris_operand_extend_operator): Clarify
1386 relation to MULT in head comment.
1387 (cris_op_str): Abort for MULT.
1388 (cris_print_operand) <case '!'>: New case.
1390 2004-03-08 Alan Modra <amodra@bigpond.net.au>
1393 * dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to
1394 dw_val_class_vec. Replace use throughout file.
1395 (dw_float_const): Delete.
1396 (dw_vec_const): New.
1397 (dw_val_struct_union): Rename val_float to val_vec. Replace use
1399 (add_AT_vec): Rename from add_AT_float. Add elt_size param.
1400 (same_dw_val_p): Adjust vec comparison. Use memcmp.
1401 (size_of_die): Adjust dw_val_class_vec sizing.
1402 (output_die): Output dw_val_class_vec.
1403 (insert_int, extract_int, insert_float): New functions.
1404 (add_const_value_attribute): Use insert_float for CONST_DOUBLE.
1405 Handle CONST_VECTOR.
1406 (add_location_or_const_value_attribute): Handle CONST_VECTOR.
1408 2004-03-07 Aldy Hernandez <aldyh@redhat.com>
1410 * config/rs6000/rs6000.c (rs6000_parse_abi_options): SPE and
1411 AltiVec abi cannot co-exist.
1413 * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Same.
1415 2004-03-07 Jan Hubicka <jh@suse.cz>
1417 * except.c (emit_to_new_bb_before): Break fallthru edges.
1419 2004-03-07 Stephane Carrez <stcarrez@nerim.fr>
1421 * config/m68hc11/m68hc11.md ("*lshrsi3_const"): Disable for 68HC12.
1422 ("*lshrsi3"): Also accept an immediate for 68HC12.
1423 ("*ashrsi3_const"): Likewise.
1424 ("*ashrsi3"): Likewise.
1425 ("*ashlsi3_const"): Likewise.
1426 ("*ashlsi3"): Likewise.
1427 ("cmphi_1_hc12"): Compare two hard register by pushing them and
1428 comparing with a pop; don't use a split for that.
1429 ("cmphi split"): Disable compare split for 68HC12.
1431 * config/m68hc11/m68hc11.c (m68hc11_notice_update_cc): Invalidate
1432 the status operands if they have side effects.
1434 2004-03-07 Kazu Hirata <kazu@cs.umass.edu>
1436 * defaults.h (LEGITIMIZE_ADDRESS): Provide a default
1438 * config/arc/arc.h, config/fr30/fr30.h, config/frv/frv.h,
1439 config/h8300/h8300.h, config/ia64/ia64.h,
1440 config/mcore/mcore.h, config/mmix/mmix.h,
1441 config/ns32k/ns32k.h, config/pdp11/pdp11.h,
1442 config/stormy16/stormy16.h, config/v850/v850.h,
1443 config/vax/vax.h (LEGITIMIZE_ADDRESS): Remove.
1444 * doc/tm.texi (LEGITIMIZE_ADDRESS): Mention the default
1447 2004-03-07 Roger Sayle <roger@eyesopen.com>
1449 * fold-const.c (fold) <IOR_EXPR>: Fold x | x as x.
1450 <XOR_EXPR>: Fold x ^ x as zero.
1451 <AND_EXPR>: Fold x & x as x.
1453 2004-03-07 Roger Sayle <roger@eyesopen.com>
1455 * fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform
1456 "foo++ == const" into "++foo == const+incr".
1458 2004-03-07 Richard Sandiford <rsandifo@redhat.com>
1460 * config/mips/mips.c (mips_in_small_data_p): Return false if
1463 2004-03-06 Stephane Carrez <stcarrez@nerim.fr>
1465 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push
1467 (expand_prologue): Don't make an interrupt or a trap handler a far
1469 (m68hc11_initial_elimination_offset): Likewise.
1471 2004-03-06 Richard Henderson <rth@redhat.com>
1473 * config/alpha/alpha.c (alpha_in_small_data_p): False for functions.
1475 2004-03-06 Kazu Hirata <kazu@cs.umass.edu>
1477 * config/ns32k/ns32k-protos.h: Add a prototype for
1478 ns32k_notice_update_cc.
1479 * config/ns32k/ns32k.c (ns32k_notice_update_cc): New.
1480 * config/ns32k/ns32k.h (NOTICE_UPDATE_CC): Call
1481 ns32k_notice_update_cc.
1483 2004-03-06 Ulrich Weigand <uweigand@de.ibm.com>
1485 * config/s390/s390.md ("load_multiple", "*load_multiple_di",
1486 "*load_multiple_si"): Allow only if reload_completed.
1487 ("store_multiple", "*store_multiple_di", "*store_multiple_si"):
1490 2004-03-06 Kazu Hirata <kazu@cs.umass.edu>
1492 * config/vax/vax-protos.h: Add a prototype for
1493 vax_notice_update_cc.
1494 * config/vax/vax.c (vax_notice_update_cc): New.
1495 * config/vax/vax.h (NOTICE_UPDATE_CC): Call
1496 vax_notice_update_cc.
1498 2004-03-06 David Edelsohn <edelsohn@gnu.org>
1500 * collect2.c (main): Only export initfunc and finifunc if
1501 LD_INIT_SWITCH not defined.
1502 (scan_prog_file): Only export constructors and destructors if
1503 LD_INIT_SWITCH not defined. Only export symbols not found in
1506 2004-03-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1508 * pa.md (icacheflush): Reorder operands to make match_scratch operand
1510 * pa.h (INITIALIZE_TRAMPOLINE): Remove unnecessary scratch argument
1511 from calls to gen_icacheflush.
1513 2004-03-06 Richard Henderson <rth@redhat.com>
1515 * config/alpha/alpha.h (MASK_LONG_DOUBLE_128): New.
1516 (TARGET_LONG_DOUBLE_128): New.
1517 (TARGET_SWITCHES): Add long-double-{128,64}.
1518 (TARGET_HAS_XFLOATING_LIBS): Default to TARGET_LONG_DOUBLE_128.
1519 (LONG_DOUBLE_TYPE_SIZE): Honor TARGET_LONG_DOUBLE_128.
1520 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New.
1521 (WIDEST_HARDWARE_FP_SIZE): New.
1522 (TARGET_CPU_CPP_BUILTINS): Define __LONG_DOUBLE_128__.
1523 * config/alpha/alpha.c (override_options): Clear MASK_LONG_DOUBLE_128
1524 if TARGET_VAX_FLOAT.
1525 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): Remove.
1526 (TARGET_DEFAULT): Set MASK_LONG_DOUBLE_128.
1528 2004-03-06 Richard Henderson <rth@redhat.com>
1530 * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix
1531 botched rtx class conversion.
1533 2004-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1535 * tree.h (BUILTIN_EXP10_P, BUILTIN_EXPONENT_P, BUILTIN_SQRT_P,
1536 BUILTIN_CBRT_P, BUILTIN_ROOT_P): New macros.
1538 * builtins.c (fold_builtin_logarithm, fold_builtin): Use new
1540 * fold-const.c (fold_mathfn_compare, fold): Likewise.
1542 2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr>
1545 * config/i386/i386.md (movv2di_internal): Conditionalize on
1546 TARGET_SSE, not TARGET_SSE2.
1548 2004-03-05 Chris Demetriou <cgd@broadcom.com>
1550 * config.gcc (mips64orion-*-elf*, mips64orionel-*-elf*): Delete
1553 2004-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1555 * builtins.c: Consistently use logN not log* in comments.
1557 2004-03-05 Andreas Krebbel <krebbel1@de.ibm.com>
1559 * rtl.h (mem_expr_equal_p): Function prototype added.
1560 * cfgcleanup.c (merge_memattrs): New function.
1561 (flow_find_cross_jump): Call merge_memattrs for matching insns.
1562 * emit-rtl.c (mem_expr_equal_p): New function.
1564 2004-03-05 Ziemowit Laski <zlaski@apple.com>
1566 * objc/objc-act.c (synth_module_prologue): Const-qualify
1567 objc_selector type if using the GNU runtime; fix generated
1568 signatures for objc_msg_lookup and objc_msg_lookup_super
1569 to match what GNU ObjC headers provide; reformat and clean up.
1570 (synth_self_and_ucmd_args): Use previously constructed (and
1571 hence possibly const-qualified) objc_selector type.
1573 2004-03-05 Kazu Hirata <kazu@cs.umass.edu>
1575 * doc/tm.texi (HARD_REGNO_RENAME_OK): Document.
1577 2004-03-05 Jason Merrill <jason@redhat.com>
1579 * tree.h (TYPE_HASH): Use TYPE_UID.
1580 (TREE_HASH): New macro with old definition of TYPE_HASH.
1581 * tree.c (build_type_attribute_variant): Use iterative_hash_object.
1582 (build_array_type, build_function_type): Likewise.
1583 (build_method_type_directly): Likewise.
1584 (build_offset_type, build_complex_type): Likewise.
1585 (type_hash_list, attribute_hash_list): Likewise. Now static.
1586 * except.c: s/TYPE_HASH/TREE_HASH/.
1588 2004-03-05 Bob Wilson <bob.wilson@acm.org>
1590 * config/xtensa/xtensa.c (function_arg): Handle 16-byte aligned args.
1591 (xtensa_va_start): Initialize __va_stk to ($arg_ptr - 32). Adjust
1592 __va_ndx by 2 words when referencing an argument on the stack.
1593 (xtensa_va_arg): Handle 16-byte aligned args. Adjust __va_ndx by 2
1594 words when an arg on the stack is first seen.
1596 2004-03-05 Paul Brook <paul@codesourcery.com>
1598 * arm.h (ARM_FLAG_VFP): Remove.
1599 (ARM_FLAG_ATPCS, CIRRUS_FIX_INVALID_INSNS): Renumber.
1600 * netbsd-elf.h (ARM_FLAG_VFP): Remove.
1602 2004-03-05 Paul Brook <paul@codesourcery.com>
1604 * function.c (assign_parms): Include pretend alignment offset.
1606 2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1608 * stor-layout.c (layout_type, case FUNCTION_TYPE): Make size
1609 FUNCTION_BOUNDARY, not POINTER_SIZE * 2.
1611 2004-03-05 Ian Lance Taylor <ian@wasabisystems.com>
1613 * configure.ac: When passing --enable-languages to subdir
1614 configure when host != build, make sure we don't pass an empty
1616 * configure: Regenerate.
1618 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
1621 * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o
1624 2004-03-05 Paolo Bonzini <bonzini@gnu.org>
1626 * simplify-rtx.c (simplify_relational_operation): If
1627 flag_wrapv is set, do not move terms between the two
1628 side of a relational operator.
1630 2004-03-05 Paolo Bonzini <bonzini@gnu.org>
1632 * rtlanal.c: Include target.h and output.h
1633 (rtx_cost, address_cost, default_address_cost): Move from...
1634 * cse.c (rtx_cost, address_cost, default_address_cost):
1636 * rtl.h (rtx_cost, address_cost): Move under rtlanal.c.
1637 * Makefile.in: Adjust dependencies.
1639 2004-03-05 Paolo Bonzini <bonzini@gnu.org>
1641 * cse.c (cse_end_of_basic_block): Make static.
1642 * local-alloc.c (function_invariant_p): Move to
1644 * loop.c (libcall_other_reg, record_excess_regs):
1646 * reload1.c (function_invariant_p): Moved here
1647 from local-alloc.c, made static.
1648 * rtl.h (cse_end_of_basic_block, function_invariant_p,
1649 libcall_other_reg, record_excess_regs): Remove
1652 2004-03-05 Kazu Hirata <kazu@cs.umass.edu>
1654 * config/m32r/m32r.c (signed_comparison_operator): Add a
1655 missing parenthesis.
1657 2004-03-04 Ian Lance Taylor <ian@wasabisystems.com>
1659 * ggc-common.c (gt_pch_restore): Don't unmap addr unless we are
1660 going to call mmap again. Read the file into the right place.
1661 Give a fatal error if we have to relocate.
1663 2004-03-04 Bob Wilson <bob.wilson@acm.org>
1665 * config/xtensa/xtensa.c (xtensa_return_in_msb): New function.
1666 (TARGET_RETURN_IN_MSB): Define to xtensa_return_in_msb.
1668 2004-03-05 Hans-Peter Nilsson <hp@axis.com>
1671 * config/fp-bit.c (_fpdiv_parts): Do not round when pack_d would
1672 round the same. When rounding, clear bits that would cause a
1673 second rounding in pack_d.
1674 (_fpmul_parts): Ditto. Remove #if 0:d code.
1676 2004-03-04 Ziemowit Laski <zlaski@apple.com>
1678 PR c++/14425, c++/14426
1679 * config/rs6000/altivec.h (vec_splat_s8, vec_splat_s16,
1680 vec_splat_s32, vec_splat_u8, vec_splat_u16, vec_splat_u32):
1681 Change C++ definitions to accept a 'const int' argument;
1682 the prototypes already do.
1683 * config/rs6000/rs6000.c (rs6000_common_init_builtins):
1684 Rename v4si_ftype_char, v8hi_ftype_char, v16qi_ftype_char,
1685 v4sf_ftype_v4si_char, v4si_ftype_v4sf_char, v4si_ftype_v4si_char,
1686 v8hi_ftype_v8hi_char, v16qi_ftype_v16qi_char,
1687 v16qi_ftype_v16qi_v16qi_char, v8hi_ftype_v8hi_v8hi_char,
1688 v4si_ftype_v4si_v4si_char and v4sf_ftype_v4sf_v4sf_char to
1689 end in ..._int; change them to accept an int instead of a char
1690 as the last parameter.
1692 2004-03-04 Phil Edwards <phil@codesourcery.com>
1694 * genmultilib: Change '=' to '-' when translating option names
1697 2004-03-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1699 * expr.c (expand_expr_real, case COMPONENT_REF): Get proper type of
1700 stack slot for temp used for result of BLKmode but in integral mode.
1702 2004-03-04 Jan Hubicka <jh@suse.cz>
1704 * reload.c (find_reloads): Reorganize if seqeunce to switch.
1706 * cfgrtl.c (rtl_redirect_edge_and_branch): Set the source BB as dirty.
1707 (cfglayout_redirect_edge_and_branch): Set the source BB as dirty.
1709 2004-03-04 Steve Ellcey <sje@cup.hp.com>
1711 * config/ia64/ia64.md (divdf3_internal_thr): Fix algorithm.
1712 * testsuite/gcc.dg/20040303-1.c: New test.
1714 2004-03-04 Steven Bosscher <stevenb@suse.de>
1716 * ppro.md: Rewrite as a DFA pipeline description.
1717 * i386.md: Remove all uses of the ppro_uops attribute.
1718 * i386.c: (ix86_safe_ppro_uops, ix86_dump_ppro_packet,
1719 ix86_reorder_insn, ix86_sched_reorder_ppro, ix86_sched_init,
1720 ix86_sched_reorder, ix86_variable_issue,
1721 struct ix86_sched_data, TARGET_SCHED_VARIABLE_ISSUE,
1722 TARGET_SCHED_INIT, TARGET_SCHED_REORDER): Remove.
1723 (ia32_use_dfa_pipeline_interface): Add TARGET_PENTIUMPRO.
1724 (ia32_multipass_dfa_lookahead): Add TARGET_PENTIUMPRO.
1725 * athlon.md (athlon_ssecmp_load): Fix comment
1727 2004-03-04 Stuart Hastings <stuart@apple.com>
1729 * gcc/doc/invoke.texi: Document -mlongcall for Darwin/PPC.
1731 2004-03-04 Stuart Hastings <stuart@apple.com>
1733 * gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before
1734 686, tell Darwin assembler to allow prefetch insns, non-empty def
1735 of SUBTARGET_OPTION_TRANSLATE_TABLE.
1737 2004-03-04 DJ Delorie <dj@redhat.com>
1739 PR optimization/14282
1740 * sched-deps.c (sched_analyze_insn): Allow a stack adjustment
1741 between a call and the assignment of its return value.
1743 2004-03-04 Kazu Hirata <kazu@cs.umass.edu>
1745 * config/h8300/h8300.c: Put a comment for every function.
1747 2004-03-04 Kazu Hirata <kazu@cs.umass.edu>
1749 * config/h8300/h8300.md: Add comments about peephole2's.
1751 2004-03-04 Steven Bosscher <stevenb@suse.de>
1753 * i386.h (TARGET_CPU_DEFAULT_nocona): Fix value.
1755 2004-03-04 Jan Hubicka <jh@suse.cz>
1757 * cfgcleanup.c (thread_jump): Update call of cselib_init.
1758 * cselib.c (cselib_record_memory): New static variable.
1759 (cselib_lookup_mem, cselib_record_set, cselib_record_sets):
1760 Give up on memories when asked for.
1761 (cselib_init): Accept new argument.
1762 * cselib.h (cselib_init): Update prototype.
1763 * gcse.c (local_cprop_pass): Update call of cselib_init.
1764 * loop.c (load_mems): Update call of cselib_init.
1765 * postreload.c (reload_cse_regs_1): Update call of cselib_init.
1766 * sched-deps.c (sched_analyze): Update call of cselib_init.
1768 2004-03-04 David Edelsohn <edelsohn@gnu.org>
1771 * config/rs6000/rs6000.c (output_function_profiler): Append @plt
1774 2004-03-04 Josef Zlomek <zlomekj@suse.cz>
1777 * var-tracking.c (track_expr_p): Do not track variables which
1778 should be ignored for debugging purposes.
1780 2004-03-04 Alan Modra <amodra@bigpond.net.au>
1782 * real.c (encode_ibm_extended): Don't bother rounding low double.
1783 * c-cppbuiltin.c (builtin_define_float_constants): Tweak MAX
1784 when fmt->pnan < fmt->p.
1786 2004-03-04 Eric Christopher <echristo@redhat.com>
1788 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Fix to check
1789 only range of valid arg registers and fixed_regs.
1791 2004-03-04 Alan Modra <amodra@bigpond.net.au>
1794 * config/rs6000/rs6000.md (abstf2, abstf2+1): Delete define_insn.
1795 (abstf2, abstf2_internal): New define_expand.
1797 2004-03-04 Eric Botcazou <ebotcazou@libertysurf.fr>
1799 PR optimization/14235
1800 * expr.c (convert_move): Copy the source to a new pseudo
1801 when converting from a sub-word source to a larger-than-word
1802 register which conflicts with the source.
1804 2004-03-03 Zack Weinberg <zack@codesourcery.com>
1807 * c-decl.c (diagnose_mismatched_decls): Issue an error for two
1808 parameters with the same name, unless one is a forward decl.
1809 Do not issue a redundant-redeclaration warning for forward
1810 decls of parameters.
1812 2004-03-04 David Edelsohn <edelsohn@gnu.org>
1814 * doc/install.texi (*-ibm-aix*): Document use of Bash to speed up
1817 2004-03-03 Ian Lance Taylor <ian@wasabisystems.com>
1819 * ggc-zone.c (ggc_pch_write_object): Don't align file pointer.
1821 2004-03-04 Alan Modra <amodra@bigpond.net.au>
1823 * target-def.h (TARGET_OPTF): Delete.
1824 * c-opts.c (TARGET_OPTF): Define.
1826 2004-03-04 Jan Hubicka <jh@suse.cz>
1828 * cselib.c (cselib_finish): Fix another miss-application of my previous
1831 2004-03-03 Mike Stump <mrs@apple.com>
1833 Add framework support for darwin.
1835 * c-incpath.c: Include target.h and machmode.h.
1836 (add_path): Use a consistent style for cpp_dir. Initialize
1838 (add_cpp_dir_path): New.
1839 (register_include_chains): Add use of extra_includes callback.
1840 (hook_void_int): Add.
1841 (target_c_incpath): Add.
1842 * c-incpath.h (add_cpp_dir_path): New.
1843 (target_c_incpath_s): Add.
1844 (target_c_incpath): Add.
1845 (C_INCPATH_INIT): Add.
1846 * c-opts.c (c_common_missing_argument,
1847 c_common_handle_option): Add -F argument processing.
1848 * c.opt: Add -F argument processing.
1849 * gcc.c (trad_capable_cpp): Add -F argument processing.
1850 * cppfiles.c (find_file_in_dir): Update to use construct
1852 (search_path_exhausted, cpp_get_path, cpp_get_buffer,
1854 (_cpp_find_file): Use search_path_exhausted.
1855 (make_cpp_dir): Initialize construct to 0.
1856 * cpplib.h (missing_header_cb
1857 cpp_get_path, cpp_get_buffer, cpp_get_file, cpp_get_prev): New.
1858 (cpp_callbacks): Add missing_header
1859 (cpp_dir): Add construct.
1860 * target-def.h: (TARGET_OPTF): New.
1861 * hooks.c (hook_void_int, hook_void_charptr): Add.
1862 * hooks.h (hook_void_int, hook_void_charptr): Add.
1863 * Makefile.in (c-incpath.o) : Add $(TARGET_H) and
1864 $(MACHMODE_H) dependencies.
1865 * doc/invoke.texi (Darwin Options): Document -F.
1866 * doc/tm.texi (TARGET_EXTRA_INCLUDES): Add.
1868 * fix-header.c (target_c_incpath): Add.
1870 * config/darwin-c.c: Add c-incpath.h include.
1871 (using_frameworks, find_subframework_file,
1872 find_subframework_header, add_system_framework_path,
1873 frameworks_in_use, num_frameworks, max_frameworks,
1874 add_framework, find_framework, struct framework_header,
1875 framework_header_dirs, framework_construct_pathname,
1876 find_subframework_file, add_system_framework_path,
1877 add_framework_path, framework_defaults,
1878 darwin_register_frameworks, find_subframework_header): Add.
1879 * config/darwin.h (TARGET_EXTRA_INCLUDES, TARGET_OPTF): New.
1880 (TARGET_OPTION_TRANSLATE_TABLE): Add -framework support.
1881 (CPP_SPEC): Add __APPLE_CC__ support.
1882 * t-darwin (darwin-c.o): Add c-incpath.h dependency.
1884 2004-03-04 Jan Hubicka <jh@suse.cz>
1886 * cselib.c (cselib_finish): Fix miss-application of my previous
1889 2004-03-03 Kazu Hirata <kazu@cs.umass.edu>
1891 * hooks.c (hook_tree_tree_identity): New.
1892 * hooks.h: Add a prototype for hook_tree_tree_identity.
1893 * stmt.c (expand_asm_operands): Use targetm.md_asm_clobbers
1894 instead of MD_ASM_CLOBBERS.
1895 * system.h (MD_ASM_CLOBBERS): Poison.
1896 * target-def.h (TARGET_MD_ASM_CLOBBERS): New.
1897 (TARGET_INITIALIZER): Add TARGET_MD_ASM_CLOBBERS.
1898 * target.h (gcc_target): Add md_asm_clobbers.
1899 * config/i386/i386.c (TARGET_MD_ASM_CLOBBERS): New.
1900 (ix86_md_asm_clobbers): New.
1901 * config/i386/i386.h (MD_ASM_CLOBBERS): Remove.
1902 * doc/tm.texi (MD_ASM_CLOBBERS): Change to
1903 TARGET_MD_ASM_CLOBBERS.
1905 2004-03-03 Stuart Hastings <stuart@apple.com>
1907 * gcc/config.gcc: Arrange for Darwin/x86 to build libgcc_eh.a.
1909 2004-03-03 Eric Botcazou <ebotcazou@libertysurf.fr>
1911 * config/sparc/sparc.c (noov_compare64_op): Fix typo.
1913 * config/sparc/sparc.h (ASM_FLOAT): Delete.
1914 (ASM_DOUBLE): Likewise.
1915 (ASM_LONGDOUBLE): Likewise.
1916 * config/sparc/pbd.h (ASM_INT_OP): Delete.
1918 2003-03-03 Richard Henderson <rth@redhat.com>
1921 * cselib.c (cselib_record_sets): Don't record multiple sets in
1924 2004-03-03 Mostafa Hagog <mustafa@il.ibm.com>
1926 * common.opt: Add description of the new -fgcse-after-reload flag.
1928 * flags.h (flag_gcse_after_reload): Declaration of global variable.
1930 * gcse.c (reg_used_on_edge ,reg_set_between_after_reload_p,
1931 reg_used_between_after_reload_p, rtx get_avail_load_store_reg,
1932 is_jump_table_basic_block, bb_has_well_behaved_predecessors,
1933 get_bb_avail_insn, hash_scan_set_after_reload,
1934 compute_hash_table_after_reload, eliminate_partially_redundant_loads,
1935 gcse_after_reload, get_bb_avail_insn): New functions to implement
1937 (gcse_after_reload_main): New function, the main entry point to
1940 * rtl.h (gcse_after_reload_main): Declaration of the new function.
1942 * opts.c (common_handle_option): Handle the -fgcse-after-reload flag.
1944 * toplev.c (flag_gcse_after_reload): Initialization.
1946 * passes.c (rest_of_handl_gcse2): Call gcse_after_reload_main.
1948 * params.def (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
1949 PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION): New parameters for tuning
1950 the gcse after reload optimization.
1952 * params.h (GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
1953 GCSE_AFTER_RELOAD_CRITICAL_FRACTION): Two macros to access the tuning
1956 * doc/invoke.texi: Documentation for the new flag gcse-after-reload.
1958 2004-03-03 Nicolas Pitre <nico@cam.org>
1960 * config/arm/ieee754-df.S (muldf3, divdf3): Fix denormalization of
1961 small negative values.
1963 2004-03-03 Jan Hubicka <jh@suse.cz>
1965 * cselib.c (hash_table): Remove GTY marker.
1966 (reg_values): Turn into array.
1967 (used_regs): Likewise.
1968 (n_used_regs): New static variable.
1969 (reg_values_old): Kill.
1970 (clear_table): Update uses of arrays.
1971 (cselib_lookup): Likewise.
1972 (cselib_record_set): Likewise.
1973 (cselib_init): Likewise.
1974 (cselib_finish): Likewise.
1975 (cselib_udpate_varray_sizes): Kill.
1976 * cselib.h (cselib_update_varray_sizes): Kill.
1978 2004-03-03 Paul Brook <paul@codesourcery.com>
1980 * flow.c (ior_reg_cond, and_reg_cond): Remove stray ")".
1982 2004-03-03 Jan Hubicka <jh@suse.cz>
1984 * ggc-common.c (ggc_alloc_cleared_stat, ggc_realloc_stat):
1985 Rename from ...; make statistics transparent.
1986 (ggc_alloc_cleared, ggc_realloc_stat): ... these.
1987 (loc_descriptor): New structure.
1988 (hash_descriptor, eq_descriptor, loc_descriptor, cmp_statistics,
1990 New static function.
1991 (ggc_record_overhead, dump_statistics): New global function.
1992 * ggc-none.c (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat,
1993 ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Rename
1994 from ...; accept locations
1995 (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared,
1996 ggc_realloc, ggc_alloc_typed): ... this one.
1997 from ...; accept locations
1998 * ggc-page.c (ggc_alloc_typed_stat, ggc_alloc_zone_stat,
1999 ggc_alloc_stat): Rename from ... ; pass locations
2000 * ggc-page.c (ggc_alloc_typed, ggc_alloc_zone, ggc_alloc):
2002 (ggc_alloc_stat): Record overehead.
2003 * ggc.h (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared,
2004 ggc_realloc, ggc_alloc_typed): Turn to macros
2005 (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat,
2006 ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Declare.
2007 (dump_ggc_loc_satistics, ggc_record_overehead): Declare.
2008 * langhooks.h (lhd_make_node): Declare.
2009 (LANG_HOOKS_MAKE_TYPE): Default to new function,
2010 * langhooks.c (lhd_make_node): New.
2011 * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Rename from ... ; pass
2013 (rtx_alloc, swallow_copy_rtx): ... this one.
2014 * rtl.h (rtx_alloc, swallow_copy_rtx): Turn to macros.
2015 * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Declare.
2016 * toplpev.c (finalize): Dump stats.
2017 * tree.c (make_node_stat, copy_node_stat, make_tree_vec_stat,
2018 build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat):
2019 Rename from ... ; pass locators.
2020 (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons,
2021 build?, build_decl): Declare.
2022 * tree.h (make_node_stat, copy_node_stat, make_tree_vec_stat,
2023 build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat):
2025 (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons,
2026 build?, build_decl): New macros.
2027 * Makefile.in (RTL_H, TREE_H): Add statistics.h dependency.
2028 * statistics.h: New file.
2030 2004-03-03 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2031 Richard Sandiford <rsandifo@redhat.com>
2033 * config/mips/mips.h (MASK_FIX_SB1): Bump.
2034 (MASK_FIX_R4400, TARGET_FIX_R4400): New macros.
2035 (TARGET_SWITCHES): Add -mfix-r4400 and -mno-fix-r4400.
2036 * config/mips/mips.c (mips_output_division): Fill the branch delay
2037 slot with a nop if TARGET_FIX_R4000. Extend R4000 workarounds to
2039 (mips_output_division): Adjust accordingly.
2040 (override_options): Make -march=r4400 imply -mfix-r4400 by default.
2041 * doc/invoke.texi: Document -mfix-r4400 and new errata workarounds.
2043 2004-03-03 Paolo Bonzini <bonzini@gnu.org>
2045 * alias.c (rtx_equal_for_memref_p): Use predicates
2046 to test rtx classes and new rtx class codes, possibly
2047 splitting conditionals that tested against '<' and 'o'.
2048 * caller-save.c (save_call_clobbered_regs): Likewise.
2049 * combine.c (contains_muldiv, find_split_point, subst,
2050 combine_simplify_rtx, simplify_if_then_else,
2051 simplify_set, simplify_logical, expand_compound_operation,
2052 make_compound_operation, if_then_else_cond, known_cond,
2053 apply_distributive_law, cached_nonzero_bits,
2054 cached_num_sign_bit_copies, simplify_shift_const,
2055 gen_binary, simplify_comparison, update_table_tick,
2056 record_value_for_reg, get_lsat_value_validate): Likewise.
2057 * cse.c (mention_regs, find_best_addr, find_comparison_args,
2058 fold_rtx, cse_insn, invalidate_memory, cse_basic_block):
2060 * emit-rtl.c (copy_insn_1): Likewise.
2061 * expr.c (force_operand): Likewise.
2062 * final.c (final_scan_insn, get_mem_expr_from_op): Likewise.
2063 * flow.c (notice_stack_pointer_modification_1,
2064 invalidate_mems_from_autoinc, ior_reg_cond, not_reg_cond,
2065 and_reg_cond, elim_reg_cond): Likewise.
2066 * function.c (update_epilogue_consts): Likewise.
2067 * genattrtab.c (attr_rtx_1): Likewise.
2068 * genopinit.c (gen_insn): Likewise.
2069 * integrate.c (subst_constants): Likewise.
2070 * jump.c (reversed_comparison_code_parts,
2071 reversed_comparison_code, delete_related_insns,
2072 rtx_renumbered_equal_p): Likewise.
2073 * local-alloc.c (block_alloc): Likewise.
2074 * loop.c (rtx_equal_for_prefetch_p, maybe_eliminate_biv,
2075 canonicalize_condition): Likewise.
2076 * loop-iv.c (simplify_using_conditions, iv_number_of_iterations):
2078 * optabs.c (add_equal_node, expand_binop): Likewise.
2079 * predict.c (estimate_probability): Likewise.
2080 * ra-debug.c (ra_print_rtx_2op, ra_print_rtx): Likewise.
2081 * recog.c (validate_replace_rtx_1, comparison_operator,
2082 offsettable_address_p, constrain_operands): Likewise.
2083 * reg-stack.c (swap_rtx_condition_1, subst_stack_regs_pat):
2085 * regclass.c (scan_one_insn): Likewise.
2086 * regmove.c (stable_and_no_regs_but_for_p): Likewise.
2087 * regrename.c (kill_autoinc_value): Likewise.
2088 * reload.c (find_reusable_reload, find_reloads,
2089 reg_overlap_mentioned_for_reload_p): Likewise.
2090 * reload1.c (gen_reload, delete_address_reloads_1): Likewise.
2091 * rtl.c (copy_rtx): Likewise.
2092 * rtl.h (CONSTANT_P, INSN_P): Likewise.
2093 * rtlanal.c (commutative_operand_precedence): Likewise.
2094 * sched-deps.c (conditions_mutex_p): Likewise.
2095 * sched-rgn.c (is_cfg_nonregular): Likewise.
2096 * simplify-rtx.c (simplify_gen_binary,
2097 simplify_gen_relational, simplify_replace_rtx,
2098 simplify_unary_operation, simplify_binary_operation,
2099 simplify_ternary_operation, simplify_rtx): Likewise.
2100 * unroll.c (reg_dead_after_loop): Likewise.
2101 * config/alpha/alpha.c (alpha_swapped_comparison_operator,
2102 print_operand): Likewise.
2103 * config/arc/arc.c (proper_comparison_operator): Likewise.
2104 * config/arm/arm.c (arm_arm_address_cost, arm_select_cc_mode):
2106 * config/avr/avr.c (_reg_unused_after): Likewise.
2107 * config/frv/frv.c (frv_ifcvt_modify_tests,
2108 frv_ifcvt_modify_insn, frv_pack_insn): Likewise.
2109 * config/i386/i386.c (ix86_comparison_operator,
2110 ix86_carry_flag_operator, fcmov_comparison_operator,
2111 arith_or_logical_operator, print_operand,
2112 ix86_expand_binary_operator, ix86_binary_operator_ok):
2114 * config/i386/i386.md: Likewise.
2115 * config/ia64/ia64.c (not_postinc_memory_operand,
2116 ia64_print_operand, update_set_flags, errata_emit_nops):
2118 * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS,
2119 CONSTRAINT_OK_FOR_S): Likewise.
2120 * config/ip2k/ip2k.c (mdr_resequence_xy_yx,
2121 mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
2122 ip2k_xexp_not_uses_reg_for_mem, ip2k_xexp_not_uses_reg_p,
2123 ip2k_composite_xexp_not_uses_reg_p, ip2k_unary_operator):
2125 * config/iq2000/iq2000.c (cmp_op, symbolic_expression_p,
2126 eqne_comparison_operator, signed_comparison_operator):
2128 * config/mips/mips.c (cmp_op, symbolic_expression_p):
2130 * config/mmix/mmix (mmix_foldable_comparison_operator,
2131 mmix_comparison_operator): Likewise.
2132 * config/pa/pa.c (hppa_legitimize_address): Likewise.
2133 * config/rs6000/rs6000.c (stmw_operation,
2134 branch_comparison_operator, trap_comparison_operator,
2136 * config/rs6000/rs6000.h (SELECT_CC_MODE): Likewise.
2137 * config/s390/s390.c (s390_alc_comparison,
2138 s390_slb_comparison):L Likewise.
2139 * config/sh/sh.c (gen_block_redirect, reg_unused_after):
2141 * config/sparc/sparc.c (eq_or_neq, normal_comp_operator,
2142 noov_compare_op, noov_compare64_op, v9_regcmp_op,
2143 emit_hard_tfmode_operation, reg_unused_after)
2144 * doc/md.texi, doc/rtl.texi: Likewise.
2146 * ra-debug.c: Add 2004 to list of copyright years.
2147 * unroll.c: Likewise.
2149 * combine.c (simplify_logical): Remove dummy test,
2150 (apply_distributive_law): Fix typo in comment.
2151 GET_CODE (x) == AND so x is a commutative binary op.
2152 * jump.c (delete_related_insns): simplify loop
2153 condition, move testing of RTX codes inside the loop.
2154 (rtx_renumbered_equal_p): do not use RTX_CODE.
2155 * rtl.c (rtx_class): Declare as enum rtx_class.
2156 * rtl.def (EQ, NE, UNEQ, LTGT, UNORDERED, ORDERED):
2157 Move to RTX_COMM_COMPARE class.
2158 (HIGH, SYMBOL_REF, LABEL_REF, CONST, CONST_INT, CONST_DOUBLE):
2159 Move to RTX_CONST_OBJ class.
2160 * rtl.h (enum rtx_class): New declaration,
2161 (RTX_OBJ_MASK, RTX_OBJ_RESULT, RTX_COMPARE_MASK,
2162 RTX_COMPARE_RESULT, RTX_ARITHMETIC_MASK, RTX_ARITHMETIC_RESULT,
2163 RTX_BINARY_MASK, RTX_BINARY_RESULT, RTX_COMMUTATIVE_MASK,
2164 RTX_COMMUTATIVE_RESULT, RTX_NON_COMMUTATIVE_RESULT,
2165 RTX_EXPR_FIRST, RTX_EXPR_LAST, UNARY_P, BINARY_P,
2166 ARITHMETIC_P, COMMUTATIVE_ARITHMETIC_P, COMPARISON_P,
2167 SWAPPABLE_OPERANDS_P, NON_COMMUTATIVE_P, COMMUTATIVE_P,
2168 OBJECT_P): New macros.
2169 * config/sparc/sparc.c (noov_compare_op): Remove register
2172 2004-03-03 Kazu Hirata <kazu@cs.umass.edu>
2174 * target.h: Remove texi jargons in comments.
2176 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2178 * config/h8300/lib1funcs.asm (___fixunssfsi): Change the
2182 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2183 * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
2185 * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
2186 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
2188 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2190 * doc/md.texi (cbranchmode4): New.
2192 2004-03-02 Eric Christopher <echristo@redhat.com>
2194 * config/mips/mips16.S: Change fixsfsi and fixdfsi to
2196 * config/mips/mips.c (mips_init_libfuncs): Change accordingly.
2197 * config/mips/t-elf (LIB1ASMFUNCS): Ditto.
2198 * config/mips/t-isa3264 (LIB1ASMFUNCS): Ditto.
2199 * config/mips/t-r3900 (LIB1ASMFUNCS): Ditto.
2201 2004-03-02 Richard Henderson <rth@redhat.com>
2204 * coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P.
2205 * optabs.c (prepare_cmp_insn): Force trapping memories to registers
2206 before the compare, if flag_non_call_exceptions.
2208 2004-03-02 Richard Henderson <rth@redhat.com>
2211 * stmt.c (expand_computed_goto): Do do_pending_stack_adjust before
2212 emitting the label, not after.
2214 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2216 * config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable.
2217 (m68hc11_mov_addr_mode): Likewise.
2218 (m68hc11_override_options): Initialize them based on target.
2219 (register_indirect_p): Allow a MEM for indirect addressing modes and
2220 use flags to control what is allowed.
2221 (m68hc11_small_indexed_indirect_p): Use m68hc11_mov_addr_mode for
2222 supported addressing modes.
2223 (m68hc11_register_indirect_p): Use m68hc11_addr_mode.
2224 (go_if_legitimate_address_internal): Likewise.
2225 (m68hc11_indirect_p): Likewise and check the mode.
2226 (print_operand): Allow a (MEM (MEM)) and generate indirect addressing.
2228 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2230 * builtins.c (BUILTIN_SETJMP_FRAME_VALUE): Remove.
2231 (expand_builtin_setjmp_setup): Use
2232 targetm.builtin_setjmp_frame_value instead of
2233 BUILTIN_SETJMP_FRAME_VALUE.
2234 * system.h (BUILTIN_SETJMP_FRAME_VALUE): Poison.
2235 * target-def.h (TARGET_BUILTIN_SETJMP_FRAME_VALUE): New.
2236 (TARGET_INITIALIZER): Add TARGET_BUILTIN_SETJMP_FRAME_VALUE.
2237 * target.h (gcc_target): Add builtin_setjmp_frame_value.
2238 * targhooks.c (default_builtin_setjmp_frame_value): New.
2239 * targhooks.h: Add a prototype for
2240 default_builtin_setjmp_frame_value.
2241 * doc/tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Change to
2242 TARGET_BUILTIN_SETJMP_FRAME_VALUE.
2244 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2246 * config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize
2248 (add peepholes): New peepholes to optimize sequences adding small
2250 (bset peepholes): New peepholes to transform an OR in a bset form
2251 (bclr peepholes): Likewise for bclr form.
2252 (cmp peepholes): New peepholes to avoid register copies when comparing.
2254 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2256 * config/m68hc11/m68hc11.md ("*pushdi_internal"): New insn and split
2257 to separate push from moves.
2258 ("*pushdf_internal"): Likewise.
2259 ("*pushsf_internal"): Likewise.
2260 ("*pushsi_internal"): Likewise.
2261 ("movdi_internal"): Use define_insn_and_split; non push operand.
2262 ("movdf_internal"): Likewise.
2263 ("movsf_internal"): Likewise.
2264 ("movsi_internal"): Likewise.
2265 ("*movhi_68hc12", "*addhi3_68hc12"): Fix and tune constraints
2266 ("*addhi3", "*subhi3", "*andhi3_mem", "*iorhi3_mem"): Likewise.
2267 ("*ashlsi3_const1", "*lshrsi3_const1"): Likewise.
2269 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2271 * config/m68hc11/m68hc11.md ("tstqi_z_used"): Use define_insn_and_split.
2272 ("cmphi_z_used", "cmpqi_z_used"): Likewise.
2273 ("movstrictsi", "movstricthi", "movstrictqi"): Likewise.
2274 ("anddi3", "andsi3", "iordi3", "iorsi3"): Likewise.
2275 ("xordi3", "xorsi3", "*logicalsi3_zexthi"): Likewise.
2276 ("*logicalsi3_zextqi", "*logicalhi3_zexthi_ashift8"): Likewise.
2277 ("logicalhi3_zexthi", "*logicalsi3_silshr16"): Likewise.
2278 ("*logicalsi3_silshl16", "*logicalsi3_silshl16_zext"): Likewise.
2279 ("*ashldi3_const32", "*ashldi3_const1", "addsi_silshr16"): Likewise.
2280 ("addsi_andshr16", "*ashlsi3_const16_zexthi"): Likewise.
2281 ("*lshrdi3_const32", "*lshrdi_const1"): Likewise.
2283 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2285 * config/m68hc11/m68hc11.md (SOFT_TMP_REGNUM): Define.
2286 (SOFT_XY_REGNUM): Define.
2287 (cmp split): Use the above instead of hard coded numbers.
2288 (8-bit op split): No need to check the mode; allow Q_REG.
2289 (ashift split): Adjust the first operand if it uses the SP and we
2290 are pushing the shifted value.
2291 (plus shift split): Fix when a source is in register D+X.
2292 ("doloop_end"): Pass dummy arguments to gen_rtx_NE.
2294 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2296 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix when
2297 comparing with Z register.
2299 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2301 * cfgloop.h (struct loop_desc): Removed.
2302 (struct loop): Fields simple, desc and has_desc removed.
2303 (simple_loop_p, count_loop_iterations): Declaration removed.
2304 * cfgloopanal.c (struct unmark_altered_insn_data): Removed.
2305 (unmark_altered, blocks_invariant_registers, unmark_altered_insn
2306 blocks_single_set_registers, invariant_rtx_wrto_regs_p_helper,
2307 invariant_rtx_wrto_regs_p, test_for_iteration, constant_iterations,
2308 simple_loop_exit_p, variable_initial_value, variable_initial_values,
2309 simple_condition_p, simple_increment, count_strange_loop_iterations,
2310 inverse, fits_in_mode_p, simple_loop_p, count_loop_iterations):
2312 * loop-iv.c (check_simple_exit, find_simple_exit): Update comments.
2314 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2316 * genattrtab.c: Don't handle MATCH_INSN.
2317 * genrecog.c: Likewise.
2318 * gensupport.c: Likewise.
2319 * rtl.def (match_insn): Remove.
2320 * doc/md.texi (match_insn, match_insn2): Remove.
2322 2004-03-02 Mark Mitchell <mark@codesourcery.com>
2324 * doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this
2325 macro results in memory allocation.
2327 2004-03-02 David O'Brien <obrien@FreeBSD.org>
2329 * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add.
2330 * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define
2331 %(fbsd_dynamic_linker),
2332 (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with
2333 config/i386/freebsd.h
2334 * config/arm/freebsd.h: Ditto.
2335 * config/i386/freebsd.h: Ditto.
2336 * config/i386/freebsd64.h: Ditto.
2337 * config/ia64/freebsd.h: Ditto.
2338 * config/rs6000/sysv4.h: Ditto.
2339 * config/sparc/freebsd.h: Ditto.
2341 2004-03-02 Loren James Rittle <ljrittle@acm.org>
2343 * gcc/doc/install.texi (*-*-freebsd*): Update target information.
2345 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2347 * rtl.def (define_combine): Remove.
2349 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2351 * config/h8300/h8300.md: Tweak formatting.
2353 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2355 * config/h8300/h8300.md (*cmphi_h8300): Rename to
2357 (*cmphi_h8300hs): Rename to *cmphi_h8300hs_znvc.
2359 2004-03-01 Mark Mitchell <mark@codesourcery.com>
2362 * gcc.c (process_command): Remove const-qualification from argv.
2365 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2367 * config/h8300/h8300.md (pushqi1_h8300hs): Rename to
2368 pushqi1_h8300hs_advanced. Adjust its caller.
2369 (pushhi1_h8300hs): Rename to pushhi1_h8300hs_advanced.
2372 2004-03-02 Nicolas Roche <roche@act-europe.fr>
2374 * Makefile.in (install-libgcc, install-multilib): Pass
2375 mkinstalldirs var to libgcc.mk.
2377 2004-03-01 Kazu Hirata <kazu@cs.umass.edu>
2379 * system.h (DBX_OUTPUT_STANDARD_TYPES): Poison.
2380 * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove.
2382 2004-03-01 Kazu Hirata <kazu@cs.umass.edu>
2384 * config/h8300/h8300.c (gtle_operator): Accept GT and LE.
2385 * config/h8300/h8300.md: Split several peephole2's, each into
2388 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2390 * dominance.c (recount_dominator): Handle postdominators.
2392 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
2394 * config/mips/mips-protos.h (enum mips_symbol_type): Move from mips.h.
2395 (NUM_SYMBOL_TYPES): Likewise.
2396 (SYMBOL_64_HIGH, SYMBOL_64_MID, SYMBOL_64_LOW): New symbol types.
2397 (mips_unspec_address): Declare.
2398 (mips_gotoff_page, mips_gotoff_global): Delete.
2399 * config/mips/mips.h (PREDICATE_CODES): Add general_symbolic_operand.
2400 * config/mips/mips.c (enum mips_symbol_type, NUM_SYMBOL_TYPES): Delete.
2401 (mips_symbolic_constant_p, mips_symbolic_address_p)
2402 (mips_symbol_insns): Handle new symbol types.
2403 (general_symbolic_operand): New predicate.
2404 (mips_unspec_address): Make extern.
2405 (mips_gotoff_page, mips_gotoff_global): Delete.
2406 (override_options): Allow -mabi=64 -mno-abicalls -mexplicit-relocs.
2407 Handle new symbol types.
2408 * config/mips/mips.md (*lea_high64, *lea64): New patterns.
2409 (*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_disp[sd]i): Call
2410 mips_unspec_address directly.
2411 * doc/invoke.texi: Remove the -mabi=64 -mno-abicalls exception from
2412 the documentation of -mexplicit-relocs.
2414 2004-03-01 Jeff Law <law@redhat.com>
2416 * fold-const.c (fold): An equality comparison of a non-weak object
2417 against zero has a known result. Similarly an equality comparison
2418 of the address of two non-weak, unaliased symbols has a known result.
2420 * ggc-page.c (struct page_entry): New field PREV.
2421 (ggc_alloc): Update PREV field appropriately.
2422 (sweep_pages): Likewise.
2423 (ggc_free): Likewise. Use PREV field rather than loop to
2424 improve ggc_free performance.
2426 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
2428 * config/mips/mips.c (mips_output_division): Use the division
2429 instruction to fill the delay slot of a zero check.
2430 (mips_idiv_insns): Adjust accordingly.
2432 2004-03-01 Nathanael Nerode <neroden@gcc.gnu.org>
2434 * config.gcc: Create a default tmake_file for linux, and use
2435 it in all but two linux clauses. Comment those two.
2437 2004-03-01 Paolo Bonzini <bonzini@gnu.org>
2439 * combine.c (try_combine): Do not refer to is_replaced.
2440 (gen_lowpart_for_combine): Perverse subregs now have a
2441 more politically correct name.
2442 * cse.c (cse_insn): Likewise.
2443 * jump.c: Fix bogus reference to delete_insn.
2445 2004-02-29 Mark Mitchell <mark@codesourcery.com>
2448 * dwarf2out.c (gen_enumeration_type_die): Output all enumeration
2449 constants as signed values.
2452 * c-tree.h (readonly_warning): Rename to ...
2453 (readonly_error): ... this.
2454 * c-typeck.c (build_unary_op): Adjust accordingly.
2455 (readonly_warning): Rename to ...
2456 (readonly_error): ... this and issue errors, not warnings.
2457 (build_modify_expr): Call readonly_error, not readonly_warning.
2458 (c_expand_asm_operands): Likewise.
2459 * tree-inline.c (optimize_inline_calls): Do not inline functions
2460 after errors have occurred.
2462 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org>
2464 * configure.ac: Rearrange some threading code for clarity;
2465 add section comment.
2466 * configure: Regenerate.
2468 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2470 * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment
2472 * doc/cppopts.texi: Fix a typo.
2474 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2476 * config/i386/i386.md: Fix formatting.
2478 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org>
2480 * configure.ac: Add some comments delineating sections of code.
2482 * doc/install.texi: Note that libada uses autoconf 2.57 also.
2484 * doc/install.texi: Fix idiot typo in previous commit.
2486 * doc/install.texi: Update for conversion of intl to autoconf 2.57.
2488 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2490 * config/h8300/h8300.md: Add comments about peephole2's.
2492 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2494 * config/h8300/h8300.md: Tweak operand numbers of some
2497 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2499 * config/h8300/h8300.md: Tweak comments about peephole2's.
2501 2004-02-29 Waldek Hebisch <hebisch@math.uni.wroc.pl>
2504 * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P
2505 instead of testing whether DECL_RTL is not NULL.
2507 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
2509 * config/sh/sh.c: Fix formatting.
2511 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
2513 * config/sh/sh.c: Convert to ISO-C.
2515 2004-02-28 Andrew Pinski <pinskia@physics.uc.edu>
2517 * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in
2520 * config/darwin.h (machopic_finish): Output stub even if the
2521 symbol is already defined.
2523 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2525 * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.
2527 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
2529 * genattr.c (main): Don't define
2530 TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE.
2531 * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison.
2532 (DFA_PIPELINE_INTERFACE): Likewise.
2533 * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove.
2534 (DFA_PIPELINE_INTERFACE): Likewise.
2536 2004-02-28 Richard Sandiford <rsandifo@redhat.com>
2538 * config/mips/mips.md (tstsi, tstdi): Delete.
2540 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2542 * config/mips/mips.c (override_options): Remove an obsolete
2543 duplicate definition of the "e" constraint.
2544 * config/mips/mips.h: Update a comment accordingly.
2546 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2548 * config/mips/mips.md: Complete the unfinished R4000
2549 multiply/shift errata workaround. Improve documentation.
2550 (hazard): Use TARGET_FIX_R4000 to decide whether an "imul" instruction
2552 (mulsi3, mulsi3_internal, mulsi3_r4000): Use TARGET_FIX_R4000.
2553 (muldi3, muldi3_internal): Likewise.
2554 (muldi3_internal2): Remove, replacing with...
2555 (muldi3_mult3, muldi3_r4000): ...these new patterns.
2556 (mulsidi3): Take the errata into account.
2557 (mulsidi3_32bit): Remove, replacing with...
2558 (mulsidi3_32bit_internal, mulsidi3_32bit_r4000): ...these new patterns.
2559 (mulsidi3_64bit, mulsidi3_64bit_parts): Disable if TARGET_FIX_R4000.
2560 (umulsidi3): Take the errata into account.
2561 (umulsidi3_32bit): Remove, replacing with..
2562 (umulsidi3_32bit_internal, umulsidi3_32bit_r4000): ...these patterns.
2563 (umulsi3_highpart, umulsi3_highpart_internal): Disable if
2565 (smulsi3_highpart, smulsi3_highpart_internal): Likewise.
2566 (smuldi3_highpart, umuldi3_highpart): Likewise.
2567 * doc/invoke.texi: Document the errata workaround.
2569 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2571 * config/mips/mips-protos.h (mips_idiv_insns): Declare.
2572 * config/mips/mips.h (MASK_FIX_SB1): Bump.
2573 (MASK_FIX_R4000, TARGET_FIX_R4000): New macros.
2574 (TARGET_SWITCHES): Add -mfix-r4000 and -mno-fix-r4000.
2575 * config/mips/mips.c (mips_idiv_insns): New function.
2576 (override_options): Make -march=r4000 imply -mfix-r4000 by default.
2577 (mips_output_division): Add a workaround for the R4000 divide/shift
2579 * config/mips/mips.md (length): Use mips_idiv_insns() to calculate
2580 the length of an "idiv" instruction.
2581 * doc/invoke.texi: Document the new switches.
2583 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
2585 * doc/tm.texi (IS_COSTLY_DEPENDENCE): Change to
2586 TARGET_SCHED_IS_COSTLY_DEPENDENCE.
2588 2004-02-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2590 PR optimization/14229
2591 * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump.
2593 2004-02-28 Eric Botcazou <ebotcazou@act-europe.fr>
2595 * fold-const.c (fold): Strip NOPs that change the signedness
2596 for RSHIFT too. Expand comment.
2598 2004-02-27 Ian Lance Taylor <ian@wasabisystems.com>
2600 PR optimization/7871
2601 * flow.c (mark_set_1): Don't add LOG_LINKS for global registers
2602 from or to call insns.
2604 2004-02-27 Eric Botcazou <ebotcazou@libertysurf.fr>
2606 PR optimization/7871
2607 * flow.c (propagate_one_insn): Interpret calls as setting global
2608 registers, not merely clobbering them.
2610 2004-02-27 Dale Johannesen <dalej@apple.com>
2612 * config/darwin.c (machopic_output_possible_stub_label): Remove.
2613 config/darwin-protos.h: Ditto.
2614 config/darwin.h: Remove call to it.
2615 * combine.c (distribute_notes): Do not place a REG_DEAD note
2616 when value is both set and used.
2618 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2620 * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
2622 * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
2623 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
2625 2004-02-27 Andrew Pinski <apinski@apple.com>
2627 * c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>:
2628 Speedup common case of the type values being in the same order.
2630 2004-02-27 Steve Ellcey <sje@cup.hp.com>
2632 * config/ia64/ia64.h (no-inline-float-divide): New option.
2633 * config/ia64/ia64.h (no-inline-int-divide): New option.
2634 * config/ia64/ia64.h (no-inline-sqrt): New option.
2635 (TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define.
2636 * config/ia64/hpux.h (TARGET_DEFAULT): Ditto.
2637 * config/ia64/ia64.c (ia64_override_options): Modify error
2638 checking for inlined division/sqrt.
2640 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2642 * bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c,
2643 ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c,
2644 value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h,
2645 config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update
2648 2004-02-27 Paul Brook <paul@codesourcery.com>
2650 * function.c (assign_parms): Don't count pretend args for alignment.
2652 2004-02-27 Richard Henderson <rth@redhat.com>
2654 * passes.c: New file.
2655 * Makefile.in (OBJS-common): Add it.
2656 * diagnostic.c (rtl_dump_and_exit): Move decl ...
2657 * flags.h (rtl_dump_and_exit): ... here.
2658 * output.h (size_directive_output, last_assemble_variable_decl):
2660 * rtl.h (reg_alloc): Move from toplev.c.
2661 * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT,
2662 struct dump_file_info, enum dump_file_index, dump_file_tbl,
2663 open_dump_file, close_dump_file, rest_of_decl_compilation,
2664 rest_of_type_compilation, rest_of_handle_final,
2665 rest_of_handle_delay_slots, rest_of_handle_stack_regs,
2666 rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
2667 rest_of_handle_new_regalloc, rest_of_handle_old_regalloc,
2668 rest_of_handle_regrename, rest_of_handle_reorder_blocks,
2669 rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove,
2670 rest_of_handle_tracer, rest_of_handle_if_conversion,
2671 rest_of_handle_if_after_combine, rest_of_handle_web,
2672 rest_of_handle_branch_prob,
2673 rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
2674 rest_of_handle_addressof, rest_of_handle_sibling_calls,
2675 rest_of_handle_jump_bypass, rest_of_handle_inlining,
2676 rest_of_handle_null_pointer, rest_of_handle_combine,
2677 rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
2678 rest_of_handle_gcse, rest_of_handle_loop_optimize,
2679 rest_of_handle_loop2, rest_of_compilation): Move to passes.c.
2680 (decode_d_option): Use enable_rtl_dump_file.
2681 (compile_file, finalize, do_compile): Move profile+combine+graph
2682 cleanup to finish_optimization_passes.
2683 * toplev.h (init_optimization_passes, finish_optimization_passes,
2684 enable_rtl_dump_file): Declare.
2686 2004-02-27 Eric Botcazou <ebotcazou@act-europe.fr>
2687 Roger Sayle <roger@eyesopen.com>
2689 * fold-const.c (fold): Revert 2004-02-25 change. Use the original
2690 operands to build a tree with swapped operands.
2691 * expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the
2692 'unsignedp' predicate to specify the signedness.
2694 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2696 * c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c,
2697 expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c,
2698 params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix
2699 comment typos and formatting. Follow spelling conventions.
2701 2004-02-26 Aldy Hernandez <aldyh@redhat.com>
2703 * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and
2706 * config/rs6000/spe.md: Delete spe_efsctuiz.
2707 Add spe_fixuns_truncsfsi2.
2708 Add spe_fix_truncsfsi2.
2710 2004-02-26 Eric Christopher <echristo@redhat.com>
2712 * c-lex.c (c_lex_string_translate): New variable.
2713 (lex_string): Use to determine string translation.
2714 * c-pragma.h: Prototype.
2715 * c-parse.in (start_string_translation): New. Set above.
2716 (stop_string_translation): Ditto.
2717 (attribute, attribute_list, asm_def, asm_stmt,
2718 asm_operand): Use above functions.
2719 * cp/parser.c (cp_parser_declaration): Translate strings
2720 unless token is RID_EXTERN. Set c_lex_string_translate
2722 (cp_parser_asm_definition): Only translate argument strings
2724 (cp_parser_asm_operand_list): Ditto.
2725 (cp_parser_attribute_list): Do not translate attribute strings.
2727 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2729 * stmt.c (expand_start_case_dummy): Remove.
2730 * tree.h: Remove the corresponding prototype.
2732 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2734 * builtins.c (apply_args_register_offset): Remove.
2735 * tree.h: Remove the corresponding prototype.
2737 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2739 * stor-layout.c (is_pending_size): Remove.
2740 * tree.h: Remove the corresponding prototype.
2742 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2744 * recog.c (validate_replace_src): Remove.
2745 * recog.h: Remove the corresponding prototype.
2747 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2749 * calls.c: Don't reference FINAL_REG_PARM_STACK_SPACE or
2750 MAYBE_REG_PARM_STACK_SPACE.
2751 * function.c: Likewise.
2752 * system.h (FINAL_REG_PARM_STACK_SPACE): Poison.
2753 (MAYBE_REG_PARM_STACK_SPACE): Likewise.
2754 * doc/tm.texi (FINAL_REG_PARM_STACK_SPACE): Remove.
2755 (MAYBE_REG_PARM_STACK_SPACE): Likewise.
2757 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2759 * c-decl.c (c_expand_deferred_function): Remove.
2760 * c-tree.h: Remove the corresponding prototype.
2762 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2764 * postreload.c (reload_cse_move2add): Generate just a PLUS
2765 instead of an entire SET.
2767 2004-02-26 Jan Hubicka <jh@suse.cz>
2769 * config.gcc: Add support for nocoma/prescott/pentium-m/pentium3m
2771 * i386.c (override_options): Add support for new CPUs.
2772 * i386.h (TARGET_CPU_DEFAULT_NAMES): New names.
2773 (TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_pentium4e): New
2775 * invoke.texi: Extend documentation of -mtune/-march for new CPUs.
2777 2004-02-26 Bob Wilson <bob.wilson@acm.org>
2779 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
2781 2004-02-26 Eric Botcazou <ebotcazou@act-europe.fr>
2783 * config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
2784 (sparc_emit_fixunsdi): New prototype.
2785 * config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument.
2786 (sparc_emit_fixunsdi): New function.
2787 * config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for
2788 operand 1. Pass SFmode to sparc_emit_floatunsdi.
2789 (floatunsdidf2): Use 'general_operand' for operand 1. Pass DFmode
2790 to sparc_emit_floatunsdi.
2791 (fixuns_truncsfdi2): New expander.
2792 (fixuns_truncdfdi2): Likewise.
2794 2004-02-26 Alan Modra <amodra@bigpond.net.au>
2796 * gcse.c (delete_null_pointer_checks_1): Do not delete CC setter
2799 2004-02-25 Richard Henderson <rth@redhat.com>
2801 * explow.c (force_reg): Call mark_reg_pointer as appropriate.
2802 * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't
2803 use (op0-op1) == 0 if op0 is a pointer.
2804 * config/alpha/alpha.md (cmpdi): Use some_operand.
2805 (three comparison combine splits): Remove.
2807 2004-02-25 Richard Henderson <rth@redhat.com>
2810 * c-common.c (handle_alias_attribute): Reject the attribute if
2811 current_function_decl is set.
2813 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
2815 * config.gcc: Add comment describing extra_gcc_objs.
2816 i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs.
2817 * configure.ac (extra_gcc_objs): New substitution variable.
2818 (host_extra_gcc_objs): Don't substitute.
2819 * configure: Regenerate.
2820 * Makefile.in: Use extra_gcc_objs.
2822 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
2824 * doc/contrib.texi: Add an entry for myself.
2826 2004-02-25 Jan Hubicka <jh@suse.cz>
2828 * basic-block.h (make_eh_edge, break_superblocks): Declare.
2829 * cfgbuild.c (make_eh_edge): Make global.
2830 * cfglayout.c (break_superblocks): Likewise; fix memory leak.
2831 * except.c (build_post_landing_pads, connect_post_landing_pads,
2832 dw2_build_landing_pads, sjlj_emit_function_enter,
2833 sjlj_emit_function_exit, sjlj_emit_dispatch_table,
2834 sjlj_build_landing_pads): Update CFG.
2835 (emit_to_new_bb_before): New function.
2836 (finish_eh_generation): Do not rebuild the CFG.
2838 2004-02-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2840 * config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all
2841 target_cpu_default defines.
2842 * pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define.
2843 * pa.h (TARGET_DEFAULT): Likewise.
2845 2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr>
2847 * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
2848 comparisons with regard to signedness.
2850 2004-02-25 Richard Earnshaw <rearnsha@arm.com>
2852 * arm.c (thumb_legitimize_address): New function.
2853 * arm-protos.h: Prototype it.
2854 * arm.h (THUMB_LEGITIMIZE_ADDRESS): Define.
2855 (LEGITIMIZE_ADDRESS): Use it.
2857 2004-02-25 J"orn Rennecke <joern.rennecke@superh.com>
2859 * reload1.c (reload): Only spill eliminable register with multiple
2860 adjacent elimination alternatives if all alternatives fail.
2862 2004-02-25 Richard Earnshaw <rearnsha@arm.com>
2864 * arm.c (arm_legitimate_index_p): For QImode the range of an offset
2865 is -4095...+4095 inclusive.
2867 2004-02-25 Eric Botcazou <ebotcazou@libertysurf.fr>
2869 * doc/install.texi (sparc-sun-solaris2* specific notes): Document
2870 the bootstrap failure with Sun CC 5.4 and 5.5.
2872 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
2874 * cse.c (cse_change_cc_mode_insns): Stop at any instruction
2875 which modifies NEWREG.
2876 (cse_condition_code_reg): Update the mode of CC_REG in
2877 CC_SRC_INSN on our own.
2879 2004-02-24 Michael Matz <matz@suse.de>
2881 * config/i386/i386.c (ix86_comp_type_attributes): Check for
2884 2004-02-24 Richard Henderson <rth@redhat.com>
2886 * toplev.c (dump_file_tbl): Rename from dump_file.
2887 * bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c,
2888 cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c,
2889 config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c,
2890 config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c,
2891 loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c,
2892 ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c,
2893 toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c:
2894 s/rtl_dump_file/dump_file/g.
2896 2004-02-24 Aldy Hernandez <aldyh@redhat.com>
2898 * config/rs6000/spe.md (spe_fix_truncsfsi2): Delete.
2899 (spe_fixuns_truncsfsi2): Delete.
2901 * config/rs6000/rs6000.md (fix_truncsfsi2): Delete.
2902 (fixuns_truncsfsi2): Delete.
2904 2004-02-24 Josef Zlomek <zlomekj@suse.cz>
2907 * rtlanal.c (replace_label): Fix replacing labels in constant pool.
2909 2004-02-24 Geoffrey Keating <geoffk@apple.com>
2911 * config/darwin.h (TARGET_HAS_F_SETLKW): Define.
2913 2004-02-24 Jason Merrill <jason@redhat.com>
2915 * tree.c (check_qualified_type): New fn.
2916 (get_qualified_type): Use it. If type already has the desired
2917 quals, just return it.
2918 * tree.h: Declare it.
2920 2003-02-24 Sanjiv Kumar Gupta <sanjivg@noida.hcltech.com>
2922 * target-def.h (TARGET_SCHED_INIT_GLOBAL,
2923 TARGET_SCHED_FINISH_GLOBAL): New macros.
2925 * target.h (md_init_global, md_finish_global): Function
2926 declarations corresponding to new target macros.
2928 * haifa-sched.c (sched_init, sched_finish): Allow target to
2929 call the new schedular hooks.
2931 * flow.c (recompute_reg_usage): Add PROP_DEATH_NOTES flag in
2932 call to update_life_info.
2934 * config/sh/sh.h (OVERRIDE_OPTIONS): Re-enable
2935 flag_schedule_insns for SH4.
2937 * config/sh/sh.c (sh_md_init_global, sh_md_finish_global,
2938 find_set_regmode_weight, find_insn_regmode_weight,
2939 find_regmode_weight), sh_md_init, sh_dfa_new_cycle,
2940 sh_variable_issue, high_pressure, ready_reorder,
2941 rank_for_reorder, swap_reorder, sh_reorder, sh_reorder2): New
2942 functions used to throttle the insn movement in first
2943 scheduling pass for SH.
2945 * gcc/doc/tm.texi: Document TARGET_SCHED_INIT_GLOBAL and
2946 TARGET_SCHED_FINISH_GLOBAL.
2948 2004-02-24 Alexandre Oliva <aoliva@redhat.com>
2950 Implement FR-V FDPIC ABI support for frv-uclinux and frv-linux.
2951 2004-02-05 Alexandre Oliva <aoliva@redhat.com>
2952 * config/frv/frv.c (frv_emit_movsi): Use GOT relocations for
2953 symbols in sections named by the user.
2954 2004-01-30 Alexandre Oliva <aoliva@redhat.com>
2955 * config/frv/linux.h (TARGET_OS_CPP_BUILTINS): New.
2956 2004-01-27 Alexandre Oliva <aoliva@redhat.com>
2957 * config.gcc (frv-*-*linux*): Handle like *-*-linux*.
2958 * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove, obviated by
2960 2004-01-20 Alexandre Oliva <aoliva@redhat.com>
2961 * config/frv/frv.md (symGOT2reg_hilo, symGOTOFF2reg_hilo): Add
2962 one more pseudo to further improve code generation.
2963 2004-01-19 Alexandre Oliva <aoliva@redhat.com>
2964 * config/frv/frv.md (movdi_ldd): Introduce explicit indirection
2966 2004-01-16 Alexandre Oliva <aoliva@redhat.com>
2967 * config/frv/frv.c (frv_legitimate_address_p): Added
2968 allow_double_reg_p argument. Adjust all callers. Use it to
2969 decide whether to enable double-register indirect addressing.
2970 (frv_funcdesc_alias_set): Remove.
2971 (frv_expand_fdpic_call): Force non-SYMBOL_REF operand into
2972 register. Emit movdi_ldd.
2973 (ldd_address_operand): New.
2974 * config/frv/frv-protos.h (frv_legitimate_address_p): Adjust.
2975 * config/frv/frv.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
2976 (PREDICATE_CODES): Add ldd_address_operand.
2977 * config/frv/frv.md (movdi_ldd): New.
2978 (symGOT2reg_hilo, symGOTOFF2reg_hilo): Use separate pseudo for
2979 intermediate computations if possible.
2980 (symGOTOFF2reg_i): Fix harmless typo.
2981 2003-12-18 Alexandre Oliva <aoliva@redhat.com>
2982 * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Cast
2983 relocated p_vaddr to vaddr type.
2984 * config/frv/frv-protos.h (frv_expand_fdpic_call): Return void.
2985 * config/frv/frv.c (frv_get_funcdesc_alias_set): New.
2986 (frv_expand_fdpic_call): Propagate incoming MEM's expr to funcdesc
2987 MEM, or use a funcdesc alias set. Use regular move instead of
2989 (dbl_memory_one_insn_operand): Recognize function descriptors by
2990 type or by alias set, and don't split them.
2991 * config/frv/frv.md (call, call_value): Never use call_internal
2993 (call_internal, call_value_internal): Never match for FDPIC.
2994 (call_fdpicdi, call_fdpicsi, call_value_fdpicdi,
2995 call_value_fdpicsi): Require FDPIC.
2997 2003-12-17 Alexandre Oliva <aoliva@redhat.com>
2998 * config/frv/frv.h (CRT_GET_RFIB_DATA): Define for __FRV_FDPIC__.
2999 * unwind-dw2-fde-glibc.c: Don't include elf-fdpic.h any more.
3000 (_Unwind_IteratePhdrCallback): Adjust type of load_base for FRV
3001 FDPIC. Compute data base address.
3002 * config/frv/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Enable -mfdpic
3003 before the other self-specs are processed.
3004 * config/frv/t-linux (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
3006 2003-12-15 Alexandre Oliva <aoliva@redhat.com>
3007 * unwind-dw2-fde-glibc.c: Don't include bits/elf-fdpic.h if
3008 inhibit_libc is defined.
3009 2003-12-12 Alexandre Oliva <aoliva@redhat.com>
3010 * unwind-dw2-fde-glibc.c: Include bits/elf-fdpic.h for
3012 (__RELOC_POINTER): Define.
3013 (_Unwind_IteratePhdrCallback): Use it.
3014 * config/frv/frv.h (Twrite): Define.
3015 (TRANSFER_FROM_TRAMPOLINE): Use it.
3016 * config/frv/linux.h (INVOKE__main): Undefine.
3018 2003-12-05 Richard Sandiford <rsandifo@redhat.com>
3019 * doc/invoke.texi (-mlong-calls, -mlinked-fp): Document FRV options.
3020 (-mlibrary-pic): Emphasize that this option generates EABI code.
3023 2003-11-30 Alexandre Oliva <aoliva@redhat.com>
3024 * config/frv/frv.c (int_2word_operand): Reject LABELs, SYMBOL_REFs
3025 and CONSTs in FDPIC mode.
3026 * gcc/config.gcc (with_cpu): Default to fr400 on frv-*-*linux*.
3027 2003-11-29 Richard Sandiford <rsandifo@redhat.com>
3028 * config/frv/frv.c (move_source_operand): Don't accept symbolic
3030 * config/frv/frv.md (*movhi_internal, *movsi_internal): Use an 'n'
3031 rather than 'i' constraint for the 2-instruction alternative.
3032 (*movsi_2word): New, incorporating existing int_2word_operand splitter.
3033 2003-11-29 Richard Sandiford <rsandifo@redhat.com>
3034 * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Q): Renamed from
3035 EXTRA_CONSTRAINT_FOR_Y.
3036 (EXTRA_CONSTRAINT): Remove handling of 'Y'.
3037 * config/frv/frv.md (*movsi_internal): Remove 'Q' constraint.
3038 (addsi3): Change 'Y' constraint to 'Q'.
3039 2003-11-27 Richard Sandiford <rsandifo@redhat.com>
3040 * reload.c (CONST_POOL_OK_P): New macro.
3041 (find_reloads): Use it to decide whether a constant can be forced
3043 * config/frv/frv.h (LEGITIMATE_PIC_OPERAND_P): Return true if the
3044 constant satisfies got12_operand.
3045 (frv_cannot_force_const_mem): Always return true for TARGET_FDPIC.
3046 (frv_legitimate_address_p): Check for valid unspec offsets using
3047 got12_operand rather than frv_legitimate_fdpic_operand_p.
3048 (frv_legitimate_fdpic_operand_p): Delete.
3049 (frv_emit_movsi): Abort if we try to use the FDPIC register during
3051 (frv_legitimate_constant_p): Return LEGITIMATE_PIC_OPERAND_P if
3053 * config/frv/frv.md (*movdf_double): Add alternatives for CONST_DOUBLE.
3054 2003-11-19 Richard Sandiford <rsandifo@redhat.com>
3055 * config/frv/frv-protos.h (fdpic_operand, fdpic_got12_operand)
3056 (frv_fdpic_fptr_operand): Don't declare here.
3057 * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Y): Call got12_operand
3058 rather than fdpic_got12_operand.
3059 (PREDICATE_CODES): Remove symbolic_operand entry. Add entries for
3060 got12_operand and const_unspec_operand.
3061 * config/frv/frv.c (got12_operand): Renamed from fdpic_got12_operand.
3062 (gpr_or_int12_operand, dbl_memory_one_insn_operand): Update calls.
3063 (symbolic_operand): Remove.
3064 (const_unspec_operand): New predicate.
3065 * config/frv/frv.md (*movsi_got): Use got12_operand.
3066 (*movsi_high_got, *movsi_lo_sum_got): Use const_unspec_operand.
3067 2003-11-18 Richard Sandiford <rsandifo@redhat.com>
3068 * config/frv/frv-protos.h (frv_output_addr_const_extra): Remove.
3069 * config/frv/frv.h (OUTPUT_ADDR_CONST_EXTRA): Remove definition.
3070 * config/frv/frv.c (frv_unspec): New structure.
3071 (frv_small_data_reloc_p, frv_const_unspec_p): New functions.
3072 (frv_print_operand_memory_reference): Use frv_const_unspec_p to
3073 validate CONST indices. Use frv_output_const_unspec to print them.
3074 (frv_print_operand): Update call to unspec_got_name. Use
3075 frv_output_const_unspec to print constant unspecs.
3076 (frv_legitimate_fdpic_operand_p): Return true if frv_const_unspec_p.
3077 Reject UNSPECs otherwise.
3078 (unspec_got_name): Take the relocation number as argument, not an
3080 (frv_output_addr_const_extra): Remove, replacing with...
3081 (frv_output_const_unspec): ...this new function.
3082 (frv_find_base_term): Use frv_const_unspec_p & frv_small_data_reloc_p.
3083 (gpr_or_int12_operand): Use fdpic_got12_operand.
3084 (dbl_memory_one_insn_operand): Likewise.
3085 (fdpic_got12_operand): Use frv_const_unspec_p.
3086 (frv_emit_movsi): Use frv_const_unspec_p to check for CONSTs that
3087 are already legitimate. Use frv_small_data_reloc_p when deciding
3088 whether to use HIGH/LO_SUM for R_FRV_GOTOFF12 and R_FRV_GPREL12.
3089 2003-11-18 Alexandre Oliva <aoliva@redhat.com>
3090 * config/frv/t-linux (SHLIB_MAPFILES): Override so as to export...
3091 * config/frv/libgcc-frv.ver: ... frv-specific symbols. New file.
3092 * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
3093 label, for real this time.
3094 * config/frv/frv.c (frv_local_funcdesc_p): Update to new
3095 representation of visibility.
3096 (fdpic_got12_operand, symbolic_operand): Mark unused arguments as
3098 2003-11-17 Richard Sandiford <rsandifo@redhat.com>
3099 * config/frv/frv.h (MASK_LINKED_FP, TARGET_LINKED_FP): New macros.
3100 (TARGET_SWITCHES): Add -mlinked-fp and -mno-linked-fp.
3101 * config/frv/frv.c (frv_override_options): Set MASK_LINKED_FP unless
3102 it was explicitly disabled.
3103 (frv_stack_info): There is no need to save the link register in every
3104 frame unless TARGET_LINKED_FP is true.
3105 (frv_frame_pointer_required): If !TARGET_LINKED_FP, only require a
3106 frame pointer if the stack pointer might change value.
3107 (frv_return_addr_rtx): Check and process "count" argument.
3108 2003-11-14 Richard Sandiford <rsandifo@redhat.com>
3109 * config/frv/frv-protos.h (frv_legitimize_address): Remove.
3110 (frv_find_base_term): Declare.
3111 * config/frv/frv.h (LEGITIMIZE_ADDRESS): Do nothing.
3112 (FIND_BASE_TERM): Define.
3113 (PREDICATE_CODES): Remove pic_register_operand, pic_symbolic_operand,
3114 small_data_register_operand, small_data_symbolic_operand. Add
3116 * config/frv/frv.c (const_small_data_p, plus_small_data_p): Delete.
3117 (frv_print_operand_memory_reference, output_move_single): Remove
3118 special handling for unlegitimized sdata addresses.
3119 (frv_legitimate_address_p): Don't allow sums of SDA_BASE_REG
3120 and symbolic addresses.
3121 (frv_legitimize_address, frv_legitimize_fdpic_address): Delete.
3122 (frv_find_base_term): New function.
3123 (int_2word_operand): Check specifically for symbolic address constants.
3124 (pic_register_operand, pic_symbolic_operand): Delete.
3125 (small_data_register_operand, small_data_symbolic_operand): Delete.
3126 (dbl_memory_one_insn_operand): Don't call plus_small_data_p.
3127 Allow UNSPEC_GOT constants if !TARGET_FDPIC.
3128 (move_source_operand): Only accept CONSTs if they're a two-insn
3130 (fdpic_got12_operand): Don't require TARGET_FDPIC.
3131 (frv_emit_movsi): Legitimize sdata and -mlibrary-pic addresses
3132 using gen_symGOTOFF2reg*.
3133 (frv_ifcvt_rewrite_mem): Remove (plus gr16 ...) special cases.
3134 (frv_rtx_costs): Give all MEM addresses a cost of 0. Give MEMs
3135 themselves a cost of 3 insns.
3136 * config/mips/mips.md (*movsi_got): Allow for !TARGET_FDPIC too.
3137 Change predicate to symbolic_operand.
3138 (*movsi_high_got, *movsi_lo_sum_got): Likewise.
3139 (*movsi_lda_sdata): Delete.
3140 (*movsi_pic, movsi_high_pic, movsi_lo_sum_pic): Delete.
3141 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
3142 * config.gcc: Add t-slibgcc-elf-ver and support --with-cpu for
3144 * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
3146 * config/frv/frv.h (DRIVER_SELF_SPECS): Add blank before
3147 -multilib-library-pic.
3148 (LINK_SPEC): Add -z text for -mfdpic.
3149 * config/frv/frvbegin.c (__ROFIXUP_LIST__): Don't define on FDPIC.
3150 * config/frv/frvend.c (__ROFIXUP_END__): Likewise.
3151 * config/frv/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC):
3153 (OPTION_DEFAULT_SPECS, HAS_INIT_SECTION, INIT_SECTION_ASM_OP,
3154 FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): Define.
3155 * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Use
3156 crtstuff-generated files.
3157 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
3158 * config.gcc: Add frv-*-*linux*.
3159 * config/frv/linux.h, config/frv/t-linux: New.
3160 2003-10-06 Alexandre Oliva <aoliva@redhat.com>
3161 * config/frv/frv.h (LINK_SPEC): Pass -melf32frvfd to the linker
3162 when -mfdpic even if a linker script is explicitly listed.
3163 2003-10-02 Alexandre Oliva <aoliva@redhat.com>
3164 * config/frv/frv.c (frv_override_options): Clear asm_out
3165 unaligned_op for SImode on FDPIC.
3166 (frv_emit_movsi): Use compute_reloc_for_constant to compute the
3167 argument passed to decl_readonly_section.
3168 (frv_assemble_integer): Revert 2003-09-30's change, but make the
3169 whole block run with FDPIC even with -fno-PIC.
3170 2003-10-02 Alexandre Oliva <aoliva@redhat.com>
3171 * config/frv/frv.c (frv_cannot_force_const_mem): Don't force
3172 symbol or label plus offset to memory.
3173 (frv_emit_movsi): Emit GPREL only if -mgprel-ro. Emit 32-bit
3174 GOTOFF and GPREL for LABEL_REF.
3175 * config/frv/frv.h (DRIVER_SELF_SPECS): Add -mgprel-ro with
3176 -mfdpic unless -mno-gprel-ro, -fpic or -fpie.
3177 (MASK_GPREL_RO, TARGET_GPREL_RO): New.
3178 (TARGET_SWITCHES): Added gprel-ro and no-gprel-ro.
3179 * doc/invoke.texi: Document them.
3180 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
3181 * config/frv/frv-protos.h (frv_gen_GPsym2reg): Declare.
3182 (frv_splittable_got_operand): Removed.
3183 * config/frv/frv.c (frv_cannot_force_const_mem): Reject HIGH and
3184 LO_SUM. Add comments.
3185 (frv_override_options): Moved enabling of FDPIC to
3186 DRIVER_SELF_SPECS. Don't enable MASK_DWORD.
3187 (frv_local_funcdesc_p): Remove unnecessary heck for flag_pie.
3188 (frv_legitimize_fdpic_address): Don't duplicate logic in
3190 (frv_gen_GPsym2reg): New.
3191 (unspec_got_name): Added gprel.
3192 (frv_expand_fdpic_call): Add support for inlining PLTs.
3193 (fdpic_fptr_operand): Renamed from frv_fdpic_fptr_operand.
3194 (gpr_or_int12_operand): Added GPREL12.
3195 (pic_symbolic_operand): Match even if !flag_pic for FDPIC.
3196 (small_data_symbolic_operand): Fail if FDPIC.
3197 (fdpic_splittable_got_operand): Removed.
3198 (fdpic_got12_operand): Added GPREL12.
3199 (frv_emit_movsi): Reorganize to avoid duplication. Emit GPREL
3200 when appropriate. Fix sdata GOTOFF.
3201 (frv_legitimate_constant_p): Require legitimate PIC operand for
3202 FDPIC with pic, but only a legitimate fdpic operand for non-pic.
3203 (frv_assemble_integer): Move FDPIC funcdesc handling out of
3205 (frv_asm_out_constructor, frv_asm_out_destructor): Abort if
3206 frv_assemble_integer fails.
3207 * config/frv/frv.h (DRIVER_SELF_SPECS): New.
3208 (SUBTARGET_DRIVER_SELF_SPECS): New.
3209 (ASM_SPEC): Don't pass -mno-fdpic.
3210 (LINK_SPEC): Pass -melf32frvfd for FDPIC.
3211 (MASK_INLINE_PLT, TARGET_INLINE_PLT): New.
3212 (TARGET_SWITCHES): Add -minline-plt, -mno-inline-plt and
3213 -multilib-library-pic.
3214 (PREDICATE_CODES): Added fdpic_operand, fdpic_fptr_operand,
3215 condexec_si_media_operator, condexec_sf_add_operator and
3216 condexec_sf_conv_operator. Removed condexec_sf_binary_operator
3217 and condexec_sf_unary_operator.
3218 * config/frv/frv.md (R_FRV_GPREL12, R_FRV_GPRELHI, R_FRV_GPRELLO):
3220 (movsi_got, movsi_high_got, movsi_lo_sum_got): Move before
3221 movsi_internal. Give them internal names. movsi_got has type
3223 (fdpic got splitters): Remove.
3224 (symGPREL2reg, symGPREL2reg_hilo): New.
3225 * config/frv/t-frv (MULTILIB_MATCHES): Don't map -fpic and -fPIC
3226 to -mlibrary-pic. Map -multilib-library-pic to it.
3227 * doc/invoke.texi: -mfdpic, -minline-plt, -multilib-library-pic:
3229 2003-09-28 Alexandre Oliva <aoliva@redhat.com>
3230 * config/frv/frv.c (frv_function_symbol_referenced_p): Declare.
3231 (TARGET_CANNOT_FORCE_CONST_MEM): Define to...
3232 (frv_cannot_force_const_mem): New function.
3233 (const_small_data_p, plus_small_data_p): Update comments on sdata
3235 (frv_override_options): Set flag_pie for FDPIC too.
3236 (frv_conditional_register_usage): Mark gr16 and gr17 as non-fixed,
3237 call-saved registers on FDPIC.
3238 (frv_stack_info): Don't preserve the PIC register on FDPIC, and
3239 don't force LR to be preserved.
3240 (frv_expand_prologue): Likewise.
3241 (frv_asm_output_mi_thunk): Use 12-bit funcdesc gotoff for -fpic.
3242 (frv_frame_pointer_required): Don't force it just because the
3243 FDPIC register is used.
3244 (frv_legitimate_address_p) <CONST>: Accept a legitimate FDPIC
3245 operand only if !condexec_p.
3246 (frv_legitimize_address): Return the FDPIC-legitimized address.
3247 Don't match small data here on FDPIC.
3248 (frv_legitimate_fdpic_operand_p): Don't accept unadorned function
3249 symbols. Use TRUE/FALSE instead of 1/0.
3250 (frv_local_funcdesc_p): New.
3251 (frv_legitimize_fdpic_address): Rewrite to use GOTOFF and 12-bit
3252 immediates when possible.
3253 (pic_symbolic_operand): Accept SYMBOL_REFs and CONSTs in FDPIC.
3254 (dbl_memory_one_insn_operand): Accept addresses that add a REG and
3256 (frv_emit_movsi): Handle FDPIC before small data. Use GOTOFF and
3257 12-bit immediates when possible.
3258 (frv_legitimate_constant_p): In FDPIC, reject SImode operands that
3259 are not legitimate pic operands.
3260 (frv_in_small_data_p): Re-enable for FDPIC.
3261 * config/frv/frv.h (SDA_BASE_REG): Remove comment about FDPIC.
3262 (FRV_GLOBAL_P): Removed.
3263 * config/frv/frv.md: Add modes to CONSTs.
3265 (movsi_lo_sum_got): Use separate matches instead of match_dup.
3266 (movsi_high_pic, movsi_lo_sum_pic): Match on non-FDPIC only.
3267 (fdpic splittable operations): Match on flag_pic != 1.
3268 2003-09-22 Alexandre Oliva <aoliva@redhat.com>
3269 * config/frv/frv.c (frv_asm_out_constructor,
3270 frv_asm_out_destructor): Pass to frv_assemble_integer the size in
3272 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
3273 * config/frv/frv.c (frv_assemble_integer): Reject complex
3274 expressions referencing function SYMBOL_REFs.
3275 * config/frv/frv.c (frv_function_symbol_referenced_p): New.
3276 (move_source_operand): Reject CONSTs that reference function
3277 SYMBOL_REFs on FDPIC.
3278 (frv_emit_movsi): If we get such a CONST, break it up.
3279 * config/frv/frv.h (CPP_SPEC): Define __FRV_FDPIC__ for -mfdpic.
3280 (TRANSFER_FROM_TRAMPOLINE): Use different definitions for FDPIC.
3281 * config/frv/frv.c (frv_print_operand) <I>: Recognize PLUS without
3283 (frv_assemble_integer): Don't use funcdesc for LABEL_REFs.
3284 (frv_trampoline_size): Increase for FDPIC.
3285 * config/frv/frv.h (TRAMPOLINE_ALIGNMENT): Bump to 64 for FDPIC.
3286 (TRANSFER_FROM_TRAMPOLINE): Handle FDPIC trampolines.
3287 * config/frv/frv.c (frv_legitimize_fdpic_address, frv_emit_movsi):
3288 Disable use of GOTOFF for now.
3289 (const_small_data_p, plus_small_data_p, frv_in_small_data_p):
3290 Disable use of small data in FDPIC for now.
3291 (frv_asm_output_mi_thunk): Implement for FDPIC.
3292 * config/frv/frv.h (SDA_BASE_REG): Set to -1 with FDPIC.
3293 * config/frv/frv.c (frv_asm_out_constructor): Use
3294 frv_assemble_integer for FDPIC pointers.
3295 (frv_asm_out_destructor): Likewise.
3296 * config/frv/frv.md (ldd): Fix order of operands. Use
3297 address_operand for input.
3298 2003-09-18 DJ Delorie <dj@redhat.com>
3299 * config/frv/frv.c (frv_legitimate_fdpic_operand_p): Remove UNSPEC_PIC.
3300 (unspec_got_name): Correct typo.
3301 (frv_emit_movsi): Pre-expand splittable GOTs.
3302 (frv_expand_fdpic_call): Rename gen_lddi to gen_ldd.
3303 * config/frv/frv.md (lddi): Fix syntax error, rename to ldd.
3304 (symGOT2reg_hilo, symGOTOFF2reg_hilo): New.
3305 * config/frv/t-frv: Add -mfdpic multilibs.
3306 * config/frv/frv.h (ASM_SPEC): Pass -mfdpic/-mno-fdpic.
3307 (TARGET_SWITCHES): Add -mno-fdpic, fix documentation.
3308 * config/frv/frv.c (frv_override_options): -mfdpic assumes
3309 flag_pic, default to 32-bit pics, require DWORD ops.
3310 (frv_override_options): Add W and Z constraints.
3311 (frv_expand_prologue): No pic prologue for -mfdpic.
3312 (frv_asm_output_mi_thunk): Support -mfdpic (soon).
3313 (frv_print_operand_memory_reference): Handle GOT constants.
3314 (frv_legitimate_address_p): Allow GOT constants.
3315 (frv_legitimize_address): Handle GOT addresses too.
3316 (frv_legitimate_fdpic_operand_p): New.
3317 (frv_legitimize_fdpic_address): New.
3318 (unspec_got_name): New.
3319 (frv_output_addr_const_extra): New.
3320 (frv_expand_fdpic_call): New.
3321 (frv_fdpic_fptr_operand): New.
3322 (gpr_or_int12_operand): Handle GOT operands.
3323 (int_2word_operand): Handle GOT operands.
3324 (fdpic_operand): New.
3325 (fdpic_splittable_got_operand): New.
3326 (fdpic_got12_operand): New.
3327 (frv_emit_movsi): Handle GOT operands.
3328 (frv_assemble_integer): -mfdpic doesn't use rofixups.
3329 (frv_print_operand): Support 'g' code for GOT operands.
3330 * config/frv/frv-protos.h: Add prototypes as needed.
3331 * config/frv/frv.md (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO,
3332 R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI,
3333 R_FRV_FUNCDESC_GOTLO, R_FRV_FUNCDESC_VALUE,
3334 R_FRV_FUNCDESC_GOTOFF12, R_FRV_FUNCDESC_GOTOFFHI,
3335 R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, R_FRV_GOTOFFHI,
3336 R_FRV_GOTOFFLO): New.
3337 (movsi_high_got, movsi_lo_sum_got): New.
3338 (*movsi_pic): Don't use this splitter for -mfdpic.
3339 (addsi3): Allow GOT references also.
3340 (call, call_value): Handle -mfdpic separately.
3341 (call_fdpicdi, call_fdpicsi, lddi, call_value_fdpicdi,
3342 call_value_fdpicsi): New.
3343 (symGOT2reg, symGOT2reg_i, got splitters, symGOTOFF2reg,
3344 symGOTOFF2reg_i): New.
3345 * config/frv/frv.h (MASK_FDPIC): New.
3346 (TARGET_FDPIC): New.
3347 (TARGET_SWITCHES): Add -mfdpic.
3348 (FDPIC_FPTR_REGNO): New.
3350 (OUR_FDPIC_REG): New.
3351 (enum reg_class): Add FDPIC_REGS, FDPIC_FPTR_REGS, and
3353 (REG_CLASS_NAMES): Likewise.
3354 (REG_CLASS_CONTENTS): Likewise.
3355 (EXTRA_CONSTRAINT_FOR_Y): New, for 12-bit GOTs.
3356 (EXTRA_CONSTRAINT): Add it here.
3357 (FRV_GLOBAL_P): New.
3358 (OUTPUT_ADDR_CONST_EXTRA): New.
3360 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
3362 * config/sparc/sparc.h: Remove commented-out definitions of
3363 TARGET_EDOM and GEN_ERRNO_RTX.
3365 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
3367 * df.c, df.h, ra-build.c, ra-rewrite.c, ra.c, web.c: Replace
3368 df_analyse with df_analyze.
3370 2004-02-24 Alan Modra <amodra@bigpond.net.au>
3372 * gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
3375 2004-02-23 James E Wilson <wilson@specifixinc.com>
3377 * calls.c (precompute_arguments): Update comment.
3379 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
3381 * et-forest.c: Replace et_occurences with et_occurrences.
3383 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
3385 * cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse
3388 2004-02-23 Kelley Cook <kcook@gcc.gnu.org>
3390 * config/i386/i386.c: Rename pni to sse3.
3391 * config/i386/i386.h: Likewise.
3392 * config/i386/i386.md: Likewise.
3393 * config/i386/pmmintrin.h: Likewise.
3394 * doc/extend.texi: Likewise.
3395 * doc/invoke.texi: Likewise.
3397 2004-02-23 Zack Weinberg <zack@codesourcery.com>
3398 Kazu Hirata <kazu@cs.umass.edu>
3400 Remove -fwritable-strings.
3401 * c-common.c (fix_string_type): Don't check
3402 flag_writable_strings.
3403 (fix_string_type): Likewise.
3404 * c-opts.c (set_std_c89): Don't initialize
3405 flag_writable_strings.
3406 (set_std_c99): Likewise.
3407 * common.opt (fwritable-strings): Remove.
3408 * flags.h: Remove the external declaration of
3409 flag_writable_strings.
3410 * opts.c (common_handle_option) <OPT_fwritable_strings>:
3412 * toplev.c (flag_writable_strings): Remove.
3413 (f_options): Remove an entry for writable-strings.
3414 * varasm.c (const_hash_1) <STRING_CST>: Don't check
3415 flag_writable_strings.
3416 (compare_constant) <STRING_CST>: Likewise.
3417 (build_constant_desc): Likewise.
3418 * config/darwin.c (machopic_select_section): Likewise.
3419 * config/arm/arm.c (AOF_ASSEMBLER): Likewise.
3420 * config/arm/pe.c (arm_pe_encode_section_info): Likewise.
3421 * config/iq2000/iq2000.c (iq2000_select_section): Likewise.
3422 * config/mips/mips.c (mips_select_section): Likewise.
3423 (mips_encode_section_info): Likewise.
3424 * config/pa/pa.c (pa_select_section): Likewise.
3425 * config/pa/pa.h (TEXT_SPACE_P): Likewise.
3426 * config/v850/v850.c (v850_select_section): Likewise.