1 2004-03-21 Zack Weinberg <zack@codesourcery.com>
2 Chris Devers <cdevers@pobox.com>
3 Joseph S. Myers <jsm@polyomino.org.uk>
5 * doc/frontends.texi: Rewrite.
6 * doc/gcc.texi: Update last modification date.
8 2004-03-21 Josef Zlomek <zlomekj@suse.cz>
10 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug
11 message before redirecting the edge.
13 2004-03-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
15 * emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER
17 * explow.c (force_not_mem): Set REG_POINTER flag according to
19 * rtl.h (MEM_POINTER): New macro.
20 (struct rtx_def): Use integrated for MEM_SCALAR_P and frame_related
23 2004-03-20 Roger Sayle <roger@eyesopen.com>
26 * cse.c (fold_rtx): Avoid substituting constants into unary
27 conversion operations.
29 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
31 * fold-const.c (fold): Replace "expr" with "t".
33 2004-03-20 Ian Lance Taylor <ian@wasabisystems.com>
36 * c-typeck.c (tagged_types_tu_compatible_p): Don't use
37 DECL_ORIGINAL_TYPE if there isn't one.
39 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
41 * fold-const.c (fold): Replace "final_type" with "type".
42 Remove variable "final_type".
44 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
46 * fold-const.c (fold): Constify "type".
47 Replace "TREE_TYPE (t)" with "type".
49 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
51 * bb-reorder.c, bt-load.c, c-decl.c, cfgcleanup.c, coverage.c,
52 dwarf2asm.c, ifcvt.c, stor-layout.c, varasm.c: Replace calls
53 via (*targetm.foo) () with targetm.foo ().
55 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
58 * doc/install.texi: Add info directory category and entry.
60 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
62 * fold-const.c (fold): Replace "t" with "tem" where it is used
63 as a temporary variable. Remove "orig_t" and all of its uses.
65 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
67 * fold-const.c (fold): Remove variable "invert".
68 Move the handling of relational expressions that can be folded
70 (fold_relational_const): ... here.
71 (tree_expr_nonzero_p): New.
73 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
76 * builtins.def (nan, nanf, nanl, nans, nansf, nansl): Change to
79 2004-03-20 Richard Sandiford <rsandifo@redhat.com>
81 * Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h.
82 (GTFILES): Add $(srcdir)/dojump.h.
83 (gt-dojump.h): New dependency.
84 * dojump.c (and_reg, and_test, shift_test): New static variables.
85 (prefer_and_bit_test): New function.
86 (do_jump): Use it to choose between (X & (1 << C)) and (X >> C) & 1.
88 2004-03-20 Kazu Hirata <kazu@cs.umass.edu>
90 * c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c,
91 expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c,
92 reorg.c, tree.h: Fix comment typos.
94 2004-03-19 Kazu Hirata <kazu@cs.umass.edu>
96 * alias.c, attribs.c, bt-load.c, builtins.c, c-common.c,
97 c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c,
98 cse.c, dbxout.c, dwarf2out.c, except.c, final.c,
99 haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c,
100 sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c,
101 vmsdbgout.c: Replace calls via (*targetm.foo) () with
104 2004-03-19 Ziemowit Laski <zlaski@apple.com>
106 * config/rs6000/altivec.h (vec_dst, vec_dstst, vec_dststt,
107 vec_dstt, vec_sld, vec_splat): Add prototypes, marked with
108 always_inline attribute.
109 * config/rs6000/rs6000.c (altivec_expand_dst_builtin):
110 Treat expansion as completed even if literal argument is
111 invalid (so that other expansions are not tried in vain).
113 2004-03-19 Kazu Hirata <kazu@cs.umass.edu>
115 * loop-doloop.c (add_test): Replace GEN_INT (0) with
118 2004-03-19 Kazu Hirata <kazu@cs.umass.edu>
120 * fold-const.c (fold) <ABS_EXPR>: Move the handling of constants
122 (fold_abs_const): ... here.
124 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
126 * tree.h (TYPE_ARRAY_MAX_SIZE): Use type.maxval directly.
128 2004-03-19 Denis Chertykov <denisc@overta.ru>
131 * config/avr/avr.md ("call_insn"): Handle explicit integer
133 (call_value_insn): Likewise.
135 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
137 * tree.c (substitute_in_expr): Rewrite to simplify and be more generic.
139 2004-03-19 Kazu Hirata <kazu@cs.umass.edu>
141 * fold-const.c (negate_expr): Move the handling of constants
143 (fold_negate_const): ... here.
145 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
147 * langhooks-def.h (LANG_HOOKS_HASH_TYPES): New macro and hook.
148 * langhooks.h (struct lang_hooks_for_types): New field hash_types.
149 * tree.c (debug_no_type_hash): Deleted.
150 (type_hash_canon): Abort if passed a variant.
151 Check lang_hooks.types.hash_types.
152 (build_type_no_quals): Copy mode of POINTER_TYPE and REFERENCE_TYPE.
153 (build_array_type): Remove unnecessary allocation of pointer type.
154 (build_complex_type): Properly qualify resulting type.
156 2004-03-19 Paolo Bonzini <bonzini@gnu.org>
158 * config/rs6000/rs6000.c (rs6000_init_builtins): Fix typo.
160 2004-03-19 Richard Sandiford <rsandifo@redhat.com>
162 * expmed.c (choose_mult_variant, expand_mult_const): New, split from...
163 (expand_mult): ...here.
164 (extract_high_half): New, split out from expand_mult_highpart.
165 (expand_highpart_optab): Likewise. Don't clobber target prematurely.
166 (expand_highpart): Evaluate the cost of a shift/add sequence,
167 then see if any of the specialized optabs are cheaper.
169 2004-03-18 Ian Lance Taylor <ian@wasabisystems.com>
171 * mklibgcc.in: Remove obsolete MAYBE_USE_COLLECT2.
173 2004-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
175 * convert.c (convert_to_real): Add more math builtins.
177 2004-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
179 * convert.c (convert_to_real): Reformat using switch stmt.
181 2004-03-18 Mark Mitchell <mark@codesourcery.com>
183 * c-common.c (pointer_int_sum): Do not complain about using
184 pointers to pointers-to-members.
186 2004-03-18 Kazu Hirata <kazu@cs.umass.edu>
188 * system.h (MD_ASM_CLOBBERS): Move to "Old target macros that
189 have moved to the target hooks structure".
191 2004-03-18 James E Wilson <wilson@specifixinc.com>
193 * config/mips/mips.md (type): Split move into arith and fmove. Split
194 hilo into mthilo and mfhilo. Add trap. Delete icmp. Fix all uses.
195 * config/mips/5400.md (ir_vr54_hilo, ir_vr54_arith, ir_vr54_fabs):
197 * config/mips/5500.md (ir_vr55_hilo, ir_vr55_arith, ir_vr55_fabs):
199 * config/mips/7000.md (rm7_int_other, rm7_mthilo, rm7_mfhilo,
200 rm7_fp_quick): Likewise.
201 * config/mips/9000.md (rm9k_int, rm9k_mfhilo, rm9k_mthilo,
202 rm9k_fquick): Likewise.
203 * config/mips/sr71k.md (ir_sr70_hilo, ir_sr70_arith, ir_sr70_fabs):
205 (ir_sr70_icmp): Delete.
207 2004-03-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
209 * tree.h (TREE_CHECK2, TREE_CHECK3, TREE_CHECK5): New macros.
210 (tree_check2_failed, tree_check3_failed, tree_check5_failed): New decl.
211 (FUNC_OR_METHOD_CHECK, SET_ARRAY_OR_VECTOR_CHECK): New macros.
212 (REC_OR_UNION_CHECK, NUMERICAL_TYPE_CHECK): Likewise.
213 (TYPE_VALUES, TYPE_DOMAIN, TYPE_FIELDS, TYPE_METHODS, TYPE_VFIELD):
214 Protect with proper check.
215 (TYPE_ARG_TYPES, TYPE_METHOD_BASETYPE, TYPE_OFFSET_BASETYPE): Likewise.
216 (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Likewise.
217 * tree.c (type_hash_eq): Rewrite to access proper fields for each type.
218 (tree_check2_failed, tree_check3_failed, tree_check5_failed): New.
219 * c-typeck.c (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES.
220 * dwarf2out.c (gen_enumeration_type_die): Use TYPE_VALUES,
222 * stor-layout.c (set_sizetype): Use TYPE_ORIG_SIZE_TYPE.
224 2004-03-18 Mostafa Hagog <mustafa@il.ibm.com>
226 * gcse.c (eliminate_partially_redundant_loads): Reject change if
227 dest is set between beginning and current insn.
229 2004-03-18 Mark Mitchell <mark@codesourcery.com>
231 * c-decl.c (grokdeclarator): Do not complain about redeclaring
232 visible "static" identifiers "extern" in a local scope.
233 * dwarf2out.c (loc_descriptor_from_tree): Handle pre- and
234 post-increments/decrements.
236 2004-03-18 Bob Wilson <bob.wilson@acm.org>
238 * config/xtensa/xtensa.c (current_function_arg_words): Delete.
239 (xtensa_builtin_saveregs): Use current_function_args_info.arg_words.
240 (xtensa_va_start): Remove assignment to current_function_arg_words.
242 2004-03-18 Richard Sandiford <rsandifo@redhat.com>
244 * alias.c (record_set): Detect the case where a register is assigned
245 a new value that has the same base term as the old one.
247 2004-03-18 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
250 * loop-doloop.c: New file.
251 * Makefile.in (doloop.o): Remove.
252 (loop-doloop.o): New.
253 * cfgloop.h (get_loop_level, doloop_optimize_loops): Declare.
254 * cfgloopanal.c (get_loop_level): New function.
255 * loop-iv.c (iv_number_of_iterations): Handle case when loop
256 is leaved immediatelly.
257 * loop.c (strength_reduce): Do not call doloop optimization.
258 * loop.h (LOOP_BCT): Removed.
259 * passes.c (rest_of_handle_loop_optimize): Do not use LOOP_BCT.
260 (rest_of_handle_loop2): Call doloop_optimize_loops.
261 (rest_of_compilation): Test for optimizations moved to
262 rest_of_handle_loop2.
264 2004-03-17 Fariborz Jahanian <fjahanian@apple.com>
266 * config/rs6000/rs6000.c (rs6000_stack_info): correct reg_size
268 (rs6000_emit_prologue): Ditto.
269 (rs6000_emit_epilogue): Ditto.
270 * config/rs6000/rs6000.h: Definition of DWARF_CIE_DATA_ALIGNMENT
271 macro for mixed mode.
274 2004-03-18 Jan Hubicka <jh@suse.cz>
276 * predict.c (propagate_freq): Compute correctly frequency of
279 2004-03-17 Eric Christopher <echristo@redhat.com>
281 * builtins.c (apply_args_size): Use reg_raw_mode.
282 (apply_result_size): Ditto.
284 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
287 * config/rtems.h: Add STD_LIB_SPEC and LIB_SPEC.
289 2004-03-17 Jakub Jelinek <jakub@redhat.com>
291 * config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for
292 32-bit builds when defaulting to 32-bit.
294 2004-03-17 Jan Hubicka <jh@suse.cz>
296 * cfgrtl.c (rtl_create_basic_block): Pre-allocate basic_block_info
299 2004-03-17 James E Wilson <wilson@specifixinc.com>
301 * config/mips/mips.md (zero_extendsidi2): Add length attribute.
302 (hazard_nop): Change type to nop.
303 (type): Split arith into arith, shift, slt, clz. Delete darith.
304 Fix all uses. Change arith to multi if more than one insn emitted.
305 * config/mips/5400.md (ir_vr54_arith): Likewise.
306 * config/mips/5500.md (ir_vr55_arith): Likewise.
307 * config/mips/7000.md (rm7_int_other): Likewise.
308 * config/mips/9000.md (rm9k_int): Likewise.
309 * config/mips/sr71k.md (ir_sr70_arith): Likewise.
311 2004-03-17 Joel Brobecker <brobecker@gnat.com>
313 * dwarf2out.c (subrange_type_die): Define new variable "subtype"
314 to hold the subtype tree instead of recomputing it several times.
316 2004-03-17 Kazu Hirata <kazu@cs.umass.edu>
318 * config/mn10300/mn10300.c (notice_update_cc): Don't handle
320 * config/mn10300/mn10300.md (cc): Remove "invert".
322 2004-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
324 * builtins.c (integer_valued_real_p): Add builtin rint.
325 (fold_builtin): Likewise.
326 * convert.c (convert_to_real): Likewise.
328 * convert.c (convert_to_real): Fix typos in `long double'
331 2004-03-16 Mark Mitchell <mark@codesourcery.com>
334 * fold-const.c (fold): Set TREE_NO_UNUSED_WARNING on implicitly
335 generated COMPOUND_EXPRs.
337 2004-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
339 * config/h8300/t-rtems (h8300-*-rtems*): New.
341 2004-03-16 Eric Christopher <echristo@redhat.com>
343 * doc/cppopts.texi(fwide-exec-charset): Fix typo.
345 2004-03-16 Kazu Hirata <kazu@cs.umass.edu>
347 * config/i386/i386-protos.h: Add a prototype for
348 ix86_reverse_condition.
349 * config/i386/i386.c (ix86_reverse_condition): New.
350 * config/i386/i386.h (REVERSE_CONDITION): Use
351 ix86_reverse_condition.
352 * config/i386/i386.md: Use ix86_reverse_condition instead of
355 2004-03-16 J. Brobecker <brobecker@gnat.com>
357 * dwarf2out.c (loc_descriptor_from_tree): Add handling for MIN_EXPR.
359 2004-03-16 Nathanael Nerode <neroden@gcc.gnu.org>
362 * Makefile.in: Pass $(INCLUDES) down to libgcc.mk explicitly.
364 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
366 * c-common.c (c_common_type_for_mode): Build vector types on
368 (handle_mode_attribute): Deprecate using the mode attribute
369 to create vector types. Fix indentation.
370 (vector_type_node_list): Remove.
371 (handle_vector_size_attribute): Create vector types on demand.
372 Strip a NON_LVALUE_EXPR from the attribute if there is one.
373 * c-typeck.c (comptypes): Make vector types compatible if they
374 have the same underlying mode.
375 (convert_for_assignment): Use comptypes to convert between
377 * tree.c (build_common_tree_nodes_2): Do not create vector types.
378 * config/arm/arm.c (arm_init_iwmmxt_builtins): Create necessary
380 * tree.h: Remove vector types.
381 * config/i386/i386.c (i386_init_mmx_sse_builtins): Likewise.
382 * config/rs6000/rs6000.c (rs6000_init_builtins): Likewise.
383 (V16QI_type_node, V2SI_type_node, V2SF_type_node, V4HI_type_node,
384 V4SI_type_node, V4SF_type_node, V8HI_type_node): New globals.
385 * doc/extend.texi (Vector Types): Document how to use the
386 vector_size attribute to create vectors, rather than mode.
388 * config/arm/mmintrin.h: Use vector_size attribute, not mode.
389 * config/i386/emmintrin.h: Likewise.
390 * config/i386/mmintrin.h: Likewise.
391 * config/i386/xmmintrin.h: Likewise.
392 * config/sh/ushmedia.h: Likewise.
394 2004-03-16 Kazu Hirata <kazu@cs.umass.edu>
396 * config/freebsd-spec.h, config/arc/arc-protos.h,
397 config/arm/aout.h, config/arm/elf.h, config/arm/freebsd.h,
398 config/arm/linux-gas.h, config/arm/semi.h,
399 config/cris/cris-protos.h, config/i386/xm-djgpp.h,
400 config/ia64/freebsd.h, config/mips/7000.md,
401 config/mips/9000.md, config/ns32k/ns32k-protos.h,
402 config/sparc/pbd.h: Update copyright.
404 2004-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
407 * config.gcc: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff.
409 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
411 * combine.c (combine_simplify_rtx): Remove the "last"
412 parameter and its documentation. Adjust recursive calls.
413 (simplify_logical): Always perform the only simplification
414 controlled by "last", if the simplified expression is
416 (try_combine): Do not pass the "last" parameter to
417 combine_simplify_rtx.
419 2004-03-16 Richard Sandiford <rsandifo@redhat.com>
422 * config/mips/mips.md (UNSPEC_GP): New constant.
423 * config/mips/mips.c (CONST_GP_P): Expect the CONST to contain
424 an UNSPEC instead of (reg $gp).
425 (mips16_gp_pseudo_reg): Change accordingly.
426 (print_operand): Print $gp directly when handling CONST_GP_P.
428 2004-03-16 Richard Zidlicky <rz@linux-m68k.org>
430 * config.gcc, config/m68k/linux.h: Implement with-cpu for m68k-linux.
431 * longlong.h: Make code 68060 clean when compiling for m68060.
433 2004-03-16 Richard Zidlicky <rz@linux-m68k.org>
435 * config/m68k/m68k.md: Fix constraints for bitfield instructions.
436 * doc/md.texi: Clarify description of "i" constraint.
438 2004-03-15 James E Wilson <wilson@specifixinc.com>
440 * config/mips/mips.md (type): Split load into load, fpload, fpidxload.
441 Split store into store, fpstore, fpidxstore. Fix all uses.
442 * config/mips/5400.md (ir_vr54_load, ir_vr54_store, ir_vr54_fstore):
444 * config/mips/5500.md (ir_vr55_load, i5_vr55_store): Likewise.
445 * config/mips/7000.md (rm7_ld, rm7_st): Likewise.
446 * config/mips/9000.md (rm9k_load, rm9k_store): Likewise.
447 * config/mips/sr71k.md (ir_sr70_load, ir_sr70_store, ir_sr70_fload,
448 ir_sr70_fstore): Likewise.
450 2004-03-15 Richard Henderson <rth@redhat.com>
453 * except.c (collect_one_action_chain): Record action for cleanup
454 outer of exception spec.
456 2004-03-15 Ian Lance Taylor <ian@wasabisystems.com>
458 * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address):
459 Fix the check for abort and only do the mmap if we can.
461 2004-03-15 Eric Botcazou <ebotcazou@act-europe.fr>
463 * config/sparc/sparc.h: Rework comments about the code model
464 in 64-bit environment and the mode 'Pmode'.
465 * doc/invoke.texi (SPARC options): Rework description of the
466 different code models supported in 64-bit environment.
468 2004-03-15 Kazu Hirata <kazu@cs.umass.edu>
470 * defaults.h (REVERSIBLE_CC_MODE): Define.
471 * jump.c (reversed_comparison_code_parts): Don't check if
472 REVERSIBLE_CC_MODE is defined.
474 2004-03-15 Kazu Hirata <kazu@cs.umass.edu>
476 * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c,
477 et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h,
478 hosthooks.h, params.h, ra-colorize.c, web.c,
479 config/darwin-c.c, config/alpha/freebsd.h, config/arm/pe.c,
480 config/avr/avr-protos.h, config/avr/avr.md,
481 config/fr30/fr30-protos.h, config/fr30/fr30.md,
482 config/h8300/fixunssfsi.c, config/i386/darwin.h,
483 config/i386/freebsd.h, config/i386/freebsd64.h,
484 config/ia64/hpux.h, config/ia64/unwind-ia64.c,
485 config/ip2k/libgcc.S, config/m32r/xm-m32r.h,
486 config/mmix/mmix-modes.def, config/ns32k/netbsd.h,
487 config/ns32k/ns32k.md, config/pa/pa64-hpux.h,
488 config/pa/pa64-regs.h, config/rs6000/aix41.h,
489 config/rs6000/aix43.h, config/rs6000/host-darwin.c,
490 config/sparc/aout.h, config/sparc/freebsd.h,
491 config/sparc/litecoff.h, config/vax/vax-protos.h,
492 doc/hostconfig.texi, doc/include/gcc-common.texi: Update
495 2004-03-15 Paul Brook <paul@codesourcery.com>
497 * config/arm/arm.c (thumb_expand_prologue): Tie prologue insns to fp.
499 2004-03-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
501 * c-pretty-print.c (pp_c_semicolon): Fix formatting.
502 (pp_c_cv_qualifier): Document.
503 (pp_c_space_for_pointer_operator): Likewise.
504 (pp_c_integer_constant): Likewise.
505 (pp_c_identifier): Likewise.
506 (pp_c_init_declarator): Don't print function body.
508 2004-03-14 Joseph S. Myers <jsm@polyomino.org.uk>
510 * doc/contrib.texi, doc/extend.texi, doc/gcov.texi,
511 doc/install.texi, doc/invoke.texi, doc/makefile.texi,
512 doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize
513 "gcc", "g++" and "g77" or mark up with appropriate markup. Adjust
516 2004-03-14 Roger Sayle <roger@eyesopen.com>
518 * alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) ()
519 with lang_hooks.foo ().
520 * builtins.c (expand_builtin_va_arg): Likewise.
521 * c-common.c (fname_as_string, c_common_truthvalue_conversion,
522 c_common_type_for_mode, c_common_nodes_and_builtins,
523 handle_mode_attribute, handle_vector_size_attribute): Likewise.
524 * c-convert.c (convert): Likewise.
525 * c-format.c (check_format_types): Likewise.
526 * c-objc-common.c (c_tree_printer): Likewise.
527 * c-typeck.c (build_unary_op, build_conditional_expr,
528 build_binary_op): Likewise.
529 * calls.c (try_to_integrate, expand_call,
530 emit_library_call_value_1): Likewise.
531 * cgraph.c (cgraph_node_name, cgraph_function_possibly_inlined_p):
533 * cgraphunit.c (record_call_1, cgraph_analyze_function,
534 cgraph_expand_function): Likewise.
535 * convert.c (convert_to_pointer, convert_to_integer): Likewise.
536 * coverage.c (build_fn_info_type, build_ctr_info_type,
537 build_gcov_info, create_coverage): Likewise.
538 * dbxout.c (dbxout_init): Likewise.
539 * diagnostic.c (diagnostic_report_current_function): Likewise.
540 * dojump.c (do_jump): Likewise.
541 * dwarf2out.c (dwarf2_name): Likewise.
542 * except.c (init_eh): Likewise.
543 * explow.c (expr_size, int_expr_size): Likewise.
544 * expmed.c (make_tree, const_mult_add_overflow_p, expand_mult_add):
546 * expr.c (store_expr, store_constructor, safe_from_p,
547 expand_expr_real, do_store_flag, try_casesi): Likewise.
548 * function.c (push_function_context_to, pop_function_context_from,
549 free_after_parsing, assign_stack_local_1, assign_stack_temp_for_type,
550 put_var_into_stack, allocate_struct_function, current_function_name):
552 * integrate.c (copy_decl_for_inlining, expand_inline_function):
554 * langhooks.c (lhd_clear_binding_stack, write_global_declarations,
555 lhd_print_error_function): Likewise.
556 * opts.c (handle_option, decode_options): Likewise.
557 * passes.c (open_dump_file): Likewise.
558 * print-tree.c (print_node): Likewise.
559 * stmt.c (expand_fixup, fixup_gotos, expand_asm_operands,
560 expand_decl_cleanup, emit_case_nodes): Likewise.
561 * stor-layout.c (variable_size): Likewise.
562 * toplev.c (announce_function, wrapup_global_declarations,
563 check_global_declarations, compile_file, default_tree_printer,
564 process_options, lang_dependent_init, finalize): Likewise.
565 * tree-dump.c (dequeue_and_dump): Likewise.
566 * tree-inline.c (remap_decl, remap_block, copy_body_r,
567 initialize_inlined_parameters, declare_return_variable,
568 inlinable_function_p, expand_call_inline, optimize_inline_calls,
569 walk_tree, copy_tree_r): Likewise.
570 * tree-optimize.c (tree_rest_of_compilation): Likewise.
571 * tree.c (decl_assembler_name, tree_size, size_in_bytes, staticp,
572 unsafe_for_reeval, get_unwidened, get_narrower, get_callee_fndecl,
573 variably_modified_type_p, dump_tree_statistics): Likewise.
574 * varasm.c (assemble_variable, compare_constant, copy_constant,
575 force_const_mem, compute_reloc_for_constant, output_constant,
576 output_addressed_constants, initializer_constant_valid_p): Likewise.
578 2004-03-14 Kelley Cook <kcook@gcc.gnu.org>
580 * doc/install.texi: Make autoconf 2.13 the exception, not the rule.
582 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
584 * doc/install.texi: Reflect autoconf and automake version for
585 libffi. Update autoconf version to 2.59.
587 2004-03-13 Roger Sayle <roger@eyesopen.com>
589 * fold-const.c (negate_expr, operand_equal_for_comparison_p,
590 optimize_bit_field_compare, decode_field_reference, all_ones_mask_p,
591 make_range, build_range_check, fold_range_test, unextend,
592 constant_boolean_node, fold_binary_op_with_conditional_arg,
593 fold_truthop, fold_mathfn_compare, fold_inf_compare,
594 fold_single_bit_test, fold): Replace calls via (*lang_hooks.foo) ()
595 with lang_hooks.foo ().
597 2004-03-14 Richard Earnshaw <rearnsha@arm.com>
599 * arm.h (EXTRA_CONSTRAINT_STR_ARM): Update comment.
601 2004-03-13 Dara Hazeghi <dhazeghi@yahoo.com>
603 * doc/install.texi: Note status of -fnew-ra.
605 2004-03-13 Eric Botcazou <ebotcazou@libertysurf.fr>
608 * expr.c (store_expr): Call emit_queue before generating the move
609 from the temporary to the original target. Protect the temporary
612 2004-03-13 Jakub Jelinek <jakub@redhat.com>
615 * config/s390/s390.c (legitimize_pic_address): Don't abort on UNSPEC
616 other than UNSPEC_GOTOFF.
618 2004-03-13 Richard Earnshaw <rearnsha@arm.com>
620 * arm.c (arm_legitimate_address_p): New argument, OUTER. Pass through
621 to arm_legitimate_index_p. Update all callers with SET as default
623 (arm_legitimate_index_p): New argument, OUTER. Restrict the index
624 range if OUTER is a sign-extend operation on QImode. Correctly
625 reject shift operations on sign-extended QImode addresses.
626 (bad_signed_byte_operand): Delete.
627 (arm_extendqisi_mem_op): New function.
628 * arm.h (EXTRA_CONSTRAINT_ARM): Delete. Replace with...
629 (EXTRA_CONSTRAINT_STR_ARM): ... this. Handle extended address
631 (CONSTRAINT_LEN): New.
632 (EXTRA_CONSTRAINT): Delete. Replace with...
633 (EXTRA_CONSTRAINT_STR): ... this.
634 (PREDICATE_CODES): Remove bad_signed_byte_operand.
635 * arm.md (extendqihi_insn): Use new constraint Uq. Rework. Length
636 is now always default.
637 (define_splits for bad sign-extend loads): Delete.
638 (arm_extendqisi, arm_extendqisi_v5): Likewise.
639 * arm/vfp.md (arm_movsi_vfp, arm_movdi_vfp, movsf_vfp, movdf_vfp):
640 Rework 'U' constraint to 'Uv'.
641 * arm-protos.h: Remove bad_signed_byte_operand. Add
642 arm_extendqisi_mem_op.
643 * doc/md.texi (ARM constraints): Rename VFP constraint (now Uv).
646 2004-03-13 Alan Modra <amodra@bigpond.net.au>
648 * config/rs6000/rs6000.c (rs6000_va_arg): Replace SPLIT_COMPLEX_ARGS
649 with targetm version.
652 * config/rs6000/rs6000.h (UNITS_PER_ARG, RS6000_ARG_SIZE): Delete.
653 (HARD_REGNO_MODE_OK): Disallow TFmode for fp31.
654 * config/rs6000/rs6000.c (rs6000_arg_size): New function.
655 Update all users of RS6000_ARG_SIZE.
656 (function_arg_advance): Count fregno using mode size.
657 (function_arg): Handle long double split over regs and memory.
658 (function_arg_partial_nregs): Likewise.
659 (rs6000_va_arg): Repackage complex args.
661 2004-03-13 Dean Ferreyra <dferreyra@igc.org>
664 * config/avr/avr.c (avr_progmem_p): Add "attributes" parameter.
665 (avr_insert_attributes): Pass "attributes" to avr_progmem_p.
666 * config/avr/avr-protos.h (avr_progmem_p): Change prototype.
668 2004-03-12 Jakub Jelinek <jakub@redhat.com>
670 * config/rs6000/rs6000-protos.h (rs6000_output_dwarf_dtprel): Add
672 * config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): New.
673 * config/rs6000/rs6000.h (ASM_OUTPUT_DWARF_DTPREL): Define.
675 2003-03-12 Andrew Pinski <apinski@apple.com>
677 * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address):
678 Use ret instead of result. Use addr instead of base.
680 2004-03-12 David Edelsohn <edelsohn@gnu.org>
682 * doc/install.texi (*-ibm-aix*): Document assembler and achiver
683 fixes required by libstdc++ and update installation instructions
686 2004-03-12 Danny Smith <dannysmith@users.sourceforge.net>
688 * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Strip
689 leading '@' on fastcall symbols before stripping suffix.
691 2004-03-12 Roger Sayle <roger@eyesopen.com>
693 * combine.c (unmentioned_reg_p): New function to check whether an
694 expression is a "specialization" of another, i.e. that there are
695 no registers or memory references mentioned in the first that don't
696 appear in the second.
697 (unmentioned_reg_p_1): New helper subroutine of unmentioned_reg_p.
698 (combine_instructions): Also try combining instructions using the
699 REG_EQUAL note from a preceding log-linked instruction.
701 2004-03-12 Roger Sayle <roger@eyesopen.com>
703 * config/i386/i386.c (ix86_split_ashrdi): Optimize shift by 63.
705 2004-03-12 Matt Austern <austern@apple.com>
707 * target.h (struct gcc_target): New target hook, unwind_label.
708 * target-def.h (TARGET_ASM_EMIT_UNWIND_LABEL): New hook.
709 * output.h (default_emit_unwind_label): New function.
710 * default.h (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): New macro.
711 (TARGET_USES_WEAK_UNWIND_INFO): New target macro.
712 (TARGET_SUPPORTS_HIDDEN): New target macro.
713 * dwarf2out.c (struct dw_fde_struct): Add field for function decl
714 that corresponds to this FDE.
715 (FRAME_BEGIN_LABEL): Allow target to override default label.
716 (output_call_frame_info): If FDEs are linknonce, then use extra
717 indirection for FDE encoding, output a label for each FDE, and
718 output an empty label for each function without an FDE.
719 (dwarf2out_begin_prologue): Set up decl field when creating an FDE.
720 * varasm.c (globalize_decl): Call ASM_MAKE_LABEL_LINKONCE for
721 decls with DECL_ONE_ONLY set, if that macro is defined.
722 (make_decl_one_only): Don't use DECL_COMMON if we're compiling
723 for a SUPPORTS_ONE_ONLY target.
724 * config/darwin-protos.h (darwin_unique_section): Declare.
725 (darwin_asm_named_section): Likewise.
726 (darwin_section_type_flags): Likewise.
727 (darwin_non_lazy_pcrel): Likewise.
728 (darwin_emit_unwind_label): Likewise.
729 (darwin_make_decl_one_only): Likewise.
730 * config/darwin.c (machopic_finish): Get rid of tweak that
731 eliminate stubs for symbols that are defined.
732 (darwin_encode_section_info): Don't treat weak functions as defined.
733 (darwin_make_decl_one_only): Define.
734 (darwin_asm_named_section): Likewise.
735 (darwin_section_type_flags): Likewise.
736 (darwin_unique_section): Likewise.
737 (darwin_emit_unwind_label): Likewise.
738 (darwin_non_lazy_pcrel): Likewise.
739 (darwin_asm_output_dwarf_delta): Difference between two labels is
740 local only if both labels are local.
741 * config/darwin.h (MAKE_DECL_ONE_ONLY): Define.
742 (ASM_MAKE_LABEL_LINKONCE): Likewise.
743 (TARGET_SUPPORTS_HIDDEN): Likewise.
744 (TARGET_USES_WEAK_UNWIND_INFO): Likewise.
745 (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): Likewise.
746 (FRAME_BEGIN_LABEL): Likewise.
747 (ASM_DECLARE_OBJECT_NAME): Make references to weak symbols indirect.
748 (ASM_DECLARE_FUNCTION_NAME): Likewise.
749 (darwin_eh_frame_section): Give __eh_frame section the coalesced flag.
750 (TARGET_ASM_UNIQUE_SECTION): Define.
751 (EH_FRAME_SECTION_NAME): Define.
752 (EH_FRAME_SECTION_ATTR): Likewise.
753 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
754 (TARGET_ASM_NAMED_SECTION): Likewise.
755 (TARGET_SECTION_TYPE_FLAGS): Likewise.
756 * doc/tm.texi: Document TARGET_USES_WEAK_UNWIND_INFO,
757 TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, TARGET_SUPPORTS_HIDDEN,
758 TARGET_ASM_EMIT_UNWIND_LABEL.
760 2004-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
762 * builtins.c (expand_builtin_mathfn): Add pow10* to the
763 existing exp10* case.
764 (expand_builtin): Likewise.
766 2004-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
768 * doc/tm.texi (registers) <Values in Registers>: Add
769 entry for REGMODE_NATURAL_SIZE.
771 2004-03-12 Richard Henderson <rth@redhat.com>
774 * target.h (struct gcc_target): Move calls substructure before
775 booleans. Add split_complex_arg.
776 * function.c (assign_parms, split_complex_args): Use it.
777 * calls.c (expand_call): Likewise.
778 (split_complex_values): Likewise. Check for splittable types
779 before allocating memory.
780 (split_complex_types): Likewise.
781 * system.h (SPLIT_COMPLEX_ARGS): Poison.
782 * expr.h (SPLIT_COMPLEX_ARGS): Remove.
783 * target-def.h (TARGET_SPLIT_COMPLEX_ARG): New.
784 * config/alpha/alpha.c (alpha_split_complex_arg): New.
785 (TARGET_SPLIT_COMPLEX_ARG): New.
786 * config/alpha/alpha.h (SPLIT_COMPLEX_ARGS): Remove.
787 * config/rs6000/rs6000.c (TARGET_SPLIT_COMPLEX_ARG): New.
788 (rs6000_override_options): Zap it for non-AIX.
789 (rs6000_function_value): Use targetm.calls.split_complex_arg.
790 * config/rs6000/rs6000.h (SPLIT_COMPLEX_ARGS): Remove.
791 * config/xtensa/xtensa.c (TARGET_SPLIT_COMPLEX_ARG): New.
792 * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Remove.
793 * doc/tm.texi (TARGET_SPLIT_COMPLEX_ARG): Modify from old
794 SPLIT_COMPLEX_ARGS entry.
796 2004-03-11 Richard Henderson <rth@redhat.com>
798 * config/alpha/alpha.c (xfloating_ops, vax_cvt_ops): New.
799 (alpha_lookup_xfloating_lib_func): Use them, return rtx.
800 (alpha_emit_xfloating_arith): Update to match.
801 (alpha_emit_xfloating_compare): Likewise.
802 (alpha_emit_xfloating_cvt): Likewise.
803 (alpha_emit_xfloating_libcall): Take already built symbol,
805 * config/alpha/alpha.md (extendsftf2, extenddftf2): Take
808 2004-03-11 Richard Henderson <rth@redhat.com>
811 * config/alpha/alpha.h (STACK_BOUNDARY): Set to 128.
813 * simplify-rtx.c (simplify_relational_operation): Fix typo.
815 2004-03-11 Richard Henderson <rth@redhat.com>
818 * except.c (remove_unreachable_regions): Look thru CALL_PLACEHOLDER.
820 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com>
823 * calls.c (load_register_parameters): If BLOCK_REG_PADDING is not
824 defined, pass small BLKmode values in registers in the low-order part.
826 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com>
828 * combine.c (if_then_else_cond): Check for NULL return value of
831 2004-03-11 Richard Sandiford <rsandifo@redhat.com>
834 * config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for
837 2004-03-11 Steve Ellcey <sje@cup.hp.com>
839 * config/ia64/hpux.h (TARGET_INIT_LIBFUNCS): Add undef.
840 * config/ia64/ia64.h (TARGET_INIT_LIBFUNCS): Add define.
841 * config/ia64/ia64.c (ia64_init_libfuncs): New.
842 (ia64_hpux_init_libfuncs): Add call to ia64_init_libfuncs.
844 2004-03-11 Roger Sayle <roger@eyesopen.com>
846 * fold-const.c (negate_expr_p) <RSHIFT_EXPR>: We can optimize
847 -((int)X>>C) where C is an integer constant one bit less than the
848 size of X into (unsigned)X>>C. Similarly for unsigned->signed.
849 (negate_expr) <RSHIFT_EXPR>: Implement the above transformations.
851 * simplify-rtx.c (simplify_unary_operation): Also implement the
852 above transformations at the RTL level.
854 2004-03-11 Alan Modra <amodra@bigpond.net.au>
856 * real.c (encode_ibm_extended): Do round low word.
858 2004-03-11 Ben Elliston <bje@wasabisystems.com>
860 * config/arm/arm.md (is_xscale): Comment this attribute and move
861 it a bit further up in the file, closer to related attributes.
863 2004-03-11 Eric Botcazou <ebotcazou@libertysurf.fr>
865 * config/host-solaris.c (sol_gt_pch_use_address): Add
866 missing terminating marker to comment.
868 2004-03-11 Richard Sandiford <rsandifo@redhat.com>
870 * config/mips/mips.md: Use move_operand in splitters for 64-bit moves.
871 (movdi, movsi, movhi, movqi, movsf, movdf): Remove predicates.
872 (*movdi_32bit_mips16, *movsi_mips16, *movhi_mips16, *movqi_mips16)
873 (*movsf_mips16, *movdf_mips16): Name unnamed patterns. Use
874 move_operand as source predicate in all cases.
875 (*movdi_32bit): Renamed from movdi_internal. Remove 'F' constraint.
876 Test reg_or_0_operand. Use move_operand as source predicate.
877 (*movdi_64bit): Renamed from movdi_internal2. Test reg_or_0_operand.
878 (*movdi_64bit_mips16): Renamed from movdi_internal2_mips16.
879 (*movsi_internal): Renamed from movsi_internal. Test reg_or_0_operand.
880 (movhi, movqi, movsf, movdf): Use mips_legitimize_move.
881 (*movhi_internal): Renamed from movhi_internal. Test reg_or_0_operand.
882 Use move_operand as source predicate. Remove 'K' constraint.
883 (*movqi_internal): Likewise movqi_internal.
884 (*movsf_hardfloat): Renamed from movsf_internal1. Test
885 reg_or_0_operand. Use move_operand as source predicate.
886 (*movsf_softfloat): Likewise movsf_internal2.
887 (*movdf_hardfloat_64bit): Likewise movsf_internal1a.
888 (*movdf_hardfloat_32bit): Likewise movsf_internal1b.
889 (*movdf_softfloat): Likewise movdf_internal2.
890 * config/mips/mips.c (move_operand): Match arbitrary CONST_INTs
891 for DImode if !TARGET_64BIT.
892 (mips_legitimize_move): Simplify accordingly.
894 2004-03-11 Josef Zlomek <zlomekj@suse.cz>
897 * var-tracking.c (struct variable_def): Added field refcount.
898 (variable_htab_free): Decrease the refcount and delete variable
899 only if there are no more references.
900 (unshare_variable): New function.
901 (vars_copy_1): Increase refcount instead of copying the variable.
902 (variable_union): Share the variables where possible, unshare
903 the variables if needed.
904 (variable_different_p): Return false if var1 and var2 are
906 (variable_was_changed): Init the refcount of new variable.
907 (set_frame_base_location): Unshare variable if needed.
908 (set_variable_part): Init the refcount of new variable.
909 Unshare the variables if needed.
910 (delete_variable_part): Unshare the variables if needed.
911 (emit_notes_for_differences_1): Init the refcount of new variable.
912 (vt_add_function_parameters): Do not add function parameters to
913 IN set of ENTRY_BLOCK_PTR because it is unused anyway.
914 (vt_initialize): Do not add frame_base_decl to IN set of
915 ENTRY_BLOCK_PTR because it is unused anyway.
917 2004-03-11 Josef Zlomek <zlomekj@suse.cz>
919 * var-tracking.c (vars_copy_1): Cleanup and speedup chain operations.
920 (vars_copy): Likewise.
921 (variable_union): Likewise.
922 (set_variable_part): Likewise.
923 (delete_variable_part): Likewise.
925 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
927 * c-typeck.c, combine.c, cse.c, dominance.c, et-forest.h,
928 ggc-page.c, var-tracking.c, config/fp-bit.c, config/c4x/c4x.c,
929 config/cris/cris.c, config/i386/ppro.md, config/i860/i860.c,
930 config/i860/i860.h, config/m32r/m32r.h, config/m32r/xm-m32r.h,
931 config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md,
932 config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.h,
933 config/pa/pa.c, config/pa/pa32-regs.h, config/pa/pa64-regs.h,
934 config/pdp11/pdp11.h, config/rs6000/rs6000.c,
935 config/stormy16/stormy16.c: Fix comment typos and formatting.
937 2004-03-11 Nathanael Nerode <neroden@gcc.gnu.org>
939 * configure: Regenerate, since I forgot to while committing Paolo's
942 2004-03-08 Paolo Bonzini <bonzini@gnu.org>
945 Move language detection to the top level.
946 * configure.ac: Remove code to detect languages,
947 it now lives exclusively in the top level.
948 * aclocal.m4 (gcc_AC_PROG_GNAT): Moved to the
949 top level, renamed to ACX_PROG_GNAT.
951 2004-03-10 Richard Henderson <rth@redhat.com>
953 * c-pch.c (c_common_no_more_pch): Update for gt_pch_use_address
955 * config.host (*-*-solaris2*, *-*-linux*): Add out_host_hook_obj
956 and host_xmake_file fragments.
957 * ggc-common.c (gt_pch_save): Update for gt_pch_get_address change.
958 (gt_pch_restore): Similarly for gt_pch_use_address.
959 (default_gt_pch_get_address): New.
960 (mmap_gt_pch_get_address): Split out of gt_pch_save.
961 (default_gt_pch_use_address): Split out of gt_pch_restore.
962 (mmap_gt_pch_use_address): Likewise.
963 * hooks.c (hook_voidp_size_t_null): Remove.
964 (hook_bool_voidp_size_t_false): Remove.
966 * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): Use one of the
967 default_ or mmap_ definitions.
968 (HOST_HOOKS_GT_PCH_USE_ADDRESS): Likewise.
969 * hosthooks.h (struct host_hooks): Update gt_pch_get_address
970 and gt_pch_use_address.
971 * config/host-linux.c, config/host-solaris.c: New files.
972 * config/x-linux, config/x-solaris: New files.
973 * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_get_address):
974 Update for changed definition.
975 (darwin_rs6000_gt_pch_use_address): Likewise.
976 * doc/hostconfig.texi: Update docs.
978 2004-03-10 Richard Henderson <rth@redhat.com>
981 * c-decl.c (grokdeclarator): Don't warn for duplicate qualifiers
982 except for pedantic c90 mode.
984 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
986 * configure.ac: Bump AC_PREREQ to 2.59.
987 * configure: Regenerate.
989 2004-03-10 Uros Bizjak <uros@kss-loka.si>
991 * optabs.h (enum optab_index): Add new OTI_exp10 and OTI_exp2.
992 (exp10_optab, exp2_optab): Define corresponding macros.
993 * optabs.c (init_optabs): Initialize exp10_optab and exp2_optab.
994 * genopinit.c (optabs): Implement exp10_optab and exp2_optab
995 using exp10?f2 and exp2?f2 patterns.
996 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP10{,F,L}
997 using exp10_optab, and BUILT_IN_EXP2{,F,L} using exp2_optab.
998 (expand_builtin): Expand BUILT_IN_EXP10{,F,L} and BUILT_IN_EXP2{,F,L}
999 using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
1001 * config/i386/i386.md (exp10sf2, exp10df2, exp10xf2, exp2sf2,
1002 exp2df2, exp2xf2): New patterns to implement exp10, exp10f, exp10l,
1003 exp2, exp2f and exp2l built-ins as inline x87 intrinsics.
1005 2004-03-10 Anthony Green <green@redhat.com>
1007 * doc/invoke.texi (ARM Options): Fix -mpfu typo.
1009 2004-03-10 David Edelsohn <edelsohn@gnu.org>
1011 * config/rs6000/aix.h (TARGET_OS_CPP_BUILTINS): Rename to ...
1012 (TARGET_OS_AIX_CPP_BUILTINS): this. Conditionally define
1014 * config/rs6000/aix41.h (TARGET_OS_CPP_BUILTINS): Use
1015 TARGET_OS_AIX_CPP_BUILTINS.
1016 * config/rs6000/aix43.h (TARGET_OS_CPP_BUILTINS): Same.
1017 * config/rs6000/aix51.h (TARGET_OS_CPP_BUILTINS): Same.
1018 * config/rs6000/aix52.h (TARGET_OS_CPP_BUILTINS): Same.
1019 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Revert
1022 2004-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1024 * fold-const.c (tree_expr_nonnegative_p): Add more builtin cases.
1026 2004-03-10 David Edelsohn <edelsohn@gnu.org>
1028 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
1029 __LONGDOUBLE128 on AIX.
1031 2004-03-10 Andrew Haley <aph@redhat.com>
1033 PR optimization/14381
1034 * function.c (expand_function_end): Emit a blockage insn before
1035 the epilogue when -fnon-call-exceptions is used.
1037 * except.c (expand_start_all_catch): Make comment more accurate.
1039 2004-03-08 Joel Sherrill <joel@oarcorp.com>
1042 * config/rs6000/t-rtems: Add missing file on branch.
1044 2004-03-10 Ulrich Weigand <uweigand@de.ibm.com>
1046 * dbxout.c (dbxout_symbol_location): Do not output references
1047 to optimized-out constant pool symbols.
1049 2004-03-10 Andreas Schwab <schwab@suse.de>
1051 * config/ia64/ia64.md (divsi3, udivsi3): Remove unused variable
1054 2004-03-09 James E Wilson <wilson@specifixinc.com>
1056 * alias.c (alias_sets_might_conflict_p): New.
1057 * c-typeck.c (build_c_cast): Call it if warn_strict_aliasing > 1.
1058 * common.opt (Wstrict-aliasing=): New.
1059 * flags.h (warn_strict_aliasing): Change type to int.
1060 * opts.c (warn_strict_aliasing): Change type to int.
1061 (common_handle_option): Handle OPT_Wstrict_aliasing_.
1062 * tree.h (alias_sets_might_conflict_p): Declare it.
1063 * doc/invoke.tex (-Wstrict-aliasing=2): Document it.
1065 2004-03-10 Roman Zippel <zippel@linux-m68k.org>
1068 * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer.
1069 (CALL_USED_REGISTERS): Likewise.
1070 (REG_CLASS_CONTENTS): Likewise.
1071 (REG_ALLOC_ORDER): New.
1072 (REGNO_REG_CLASS): Use regno_reg_class.
1073 * config/m68k/m68k.c: Add regno_reg_class array.
1075 2004-03-09 Steve Ellcey <sje@cup.hp.com>
1077 * config/ia64/ia64.md (divsi3): Fix algorithm.
1079 (setf_exp_xf): Remove '*' from name.
1080 * testsuite/gcc.dg/20040309-1.c: New test.
1082 2004-03-09 Ian Lance Taylor <ian@wasabisystems.com>
1084 * system.h (SUNOS4_SHARED_LIBRARIES): Poison.
1085 * collect2.c: Remove SUNOS4_SHARED_LIBRARIES code.
1086 * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): Don't define.
1087 * config/sparc/sparc.c (sparc_aout_select_section): Remove.
1088 (sparc_aout_select_rtx_section): Don't check
1089 SUNOS4_SHARED_LIBRARIES.
1090 * config/sparc/sparc.h (SUNOS4_SHARED_LIBRARIES): Don't define.
1092 2004-03-10 Hans-Peter Nilsson <hp@axis.com>
1095 * doc/md.texi (Pattern Ordering, Dependent Patterns)
1096 (Jump Patterns, Looping Patterns): Wrap in separate "@ifset
1099 2004-03-09 Zack Weinberg <zack@codesourcery.com>
1101 * config/ia64/hpux.h (MULTILIB_DEFAULTS): Define.
1102 (LIBGCC_SPEC): Update to match.
1104 2004-03-09 Zack Weinberg <zack@codesourcery.com>
1106 * c-decl.c (last_function_parms, last_function_parm_tags)
1107 (last_function_parm_others, current_function_parms)
1108 (current_function_parm_tags, current_function_parm_others):
1110 (ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, ARG_INFO_OTHERS):
1112 (grokdeclarator): For function definitions, save the arg-info
1113 block from the declarator in DECL_ARGUMENTS.
1114 (grokparms): Do not write to last_function_parm*. Use ARG_INFO_*
1115 macros to operate on arg-info block. Can assume ARG_INFO_PARMS
1116 contains only PARM_DECLs. Improve diagnostics.
1117 (get_parm_info): Use ARG_INFO_* macros. Improve comments and
1118 diagnostics. Disable some expensive checks if not ENABLE_CHECKING.
1119 (store_parm_decls_newstyle): Take the function to operate on,
1120 and an arg-info block, as arguments; don't get anything from
1121 current_function_* globals.
1122 (store_parm_decls_oldstyle): Likewise.
1123 (store_parm_decls): Pass fndecl and its arg-info block down to
1124 store_parm_decls_newstyle/oldstyle. Send functions with empty
1125 argument lists through store_parm_decls_newstyle to reduce
1127 (pushdecl): Comment on the problems with the call to copy_node.
1128 Clear DECL_ARGUMENTS of the old node after copying it, if it
1129 is an arg-info block instead of a chain of decls.
1130 (start_function): Do not manipulate current_function_parm* or
1131 last_function_parm*.
1133 2004-03-09 Roger Sayle <roger@eyesopen.com>
1134 Andrew Pinski <pinskia@physics.uc.edu>
1136 * ifcvt.c (noce_try_sign_mask): New function to transform
1137 "x = (y < 0) ? z : 0" into the equivalent "x = (y >> C) & z".
1138 (noce_process_if_block): Call noce_try_sign_mask.
1140 2004-03-09 Andrew Pinski <apinski@apple.com>
1142 * c-typeck.c (tagged_types_tu_compatible_p):
1145 2004-03-09 Roger Sayle <roger@eyesopen.com>
1147 * simplify-rtx.c (simplify_const_relational_operation): New function
1148 renamed from simplify_relational_operation.
1149 (simplify_relational_operation): Change prototype to accept an
1150 additional mode argument. Call simplify_const_relational_operation.
1151 (simplify_gen_relational): Update simplify_relational_operation call.
1152 (simplify_ternary_operation): Update simplify_relational_operation
1153 subroutine call to use simplify_const_relational_operation instead.
1155 * rtl.h (simplify_const_relational_operation): Prototype here.
1156 (simplify_relational_operation): Add addtional mode argument.
1158 * combine.c (combine_simplify_rtx): Update calls to
1159 simplify_relational_operation.
1160 (simplify_set): Likewise.
1161 (gen_binary): Likewise.
1162 * cse.c (fold_rtx): Likewise.
1163 * dojump.c (compare_from_rtx): Likewise.
1164 (do_compare_rtx_and_jump): Likewise.
1165 * integrate.c (subst_constants): Likewise.
1166 * unroll.c (simplify_cmp_and_jump_insns): Likewise.
1168 2004-03-09 Kazu Hirata <kazu@cs.umass.edu>
1170 * config/m32r/m32r.md: Remove all define_peephole's.
1172 2004-03-09 Alan Modra <amodra@bigpond.net.au>
1174 * config/rs6000/rs6000.md: Remove trailing whitespace.
1176 2004-03-08 Eric Christopher <echristo@redhat.com>
1178 * Makefile.in (site.exp): Add libiconv variable definition.
1180 2004-03-09 Hans-Peter Nilsson <hp@axis.com>
1182 * configure: Regenerate for config/accross.m4 correction.
1184 2004-03-08 Joel Sherrill <joel@oarcorp.com>
1187 * config/rs6000/t-rtems: Add missing file on branch.
1189 2004-03-08 Roger Sayle <roger@eyesopen.com>
1192 * c-typeck.c (c_mark_addressable): A register variable should
1193 be considered global if its not automatic, i.e. TREE_PUBLIC,
1194 TREE_STATIC or DECL_EXTERNAL.
1195 * function.c (put_var_into_stack): Call abort when placing a
1196 hard register into the stack, if x_parm_reg_stack_loc is NULL.
1198 2004-03-08 Ulrich Weigand <uweigand@de.ibm.com>
1200 * config/s390/s390.md ("*extendqidi2_short_displ"): Add CC clobber.
1201 ("*extendqisi2_short_displ"): Likewise.
1203 2004-03-08 Kazu Hirata <kazu@cs.umass.edu>
1205 * config/pdp11/pdp11.c (comparison_operator_index): Remove.
1206 (comp_operator): Likewise.
1207 * config/pdp11/pdp11-protos.h: Remove corresponding
1210 2004-03-08 Eric Botcazou <ebotcazou@act-europe.fr>
1212 * expr.c (highest_pow2_factor_for_type): Rename into
1213 highest_pow2_factor_for_target. Use DECL_ALIGN instead of
1214 TYPE_ALIGN when the target is a COMPONENT_REF.
1215 (expand_assignment): Ajust call to highest_pow2_factor_for_type.
1217 2004-03-08 Alan Modra <amodra@bigpond.net.au>
1219 * config/rs6000/rs6000.c: Formatting fix.
1220 (legitimate_offset_address_p): Correct offset range check.
1222 * config/rs6000/rs6000.c (rs6000_override_options): Don't override
1223 -msoft-float by -mcpu. Consolidate similar code for MASK_MULTIPLE
1226 2004-03-07 Aldy Hernandez <aldyh@redhat.com>
1228 * config/rs6000/rs6000.md (ashrdi3): Do not call ashrdi3_no_power
1230 ("ashrdi3_no_power"): Disable for little endian.
1233 2004-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1235 * fold-const.c (tree_expr_nonnegative_p): Reformat checks for
1238 2004-03-08 Hans-Peter Nilsson <hp@axis.com>
1241 * configure.ac (Target-specific assembler checks) <cris-*-*>: New
1242 case, checking for -no-mul-bug-abort option.
1243 * configure, config.in: Regenerate.
1244 * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround
1245 and -mno-mul-bug-workaround.
1246 * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart")
1247 ("mulsidi3", "umulsidi3"): Prefix output template with "%!".
1248 ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"):
1249 Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG.
1250 * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make
1251 sure mulu.d is not last on cache-line.
1252 * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround
1253 into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION.
1254 (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros.
1255 (TARGET_SWITCHES): New options -mmul-bug-workaround and
1256 -mno-mul-bug-workaround.
1257 (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG.
1258 (PRINT_OPERAND_PUNCT_VALID_P): Include '!'.
1259 * config/cris/cris.c (cris_operand_extend_operator): Clarify
1260 relation to MULT in head comment.
1261 (cris_op_str): Abort for MULT.
1262 (cris_print_operand) <case '!'>: New case.
1264 2004-03-08 Alan Modra <amodra@bigpond.net.au>
1267 * dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to
1268 dw_val_class_vec. Replace use throughout file.
1269 (dw_float_const): Delete.
1270 (dw_vec_const): New.
1271 (dw_val_struct_union): Rename val_float to val_vec. Replace use
1273 (add_AT_vec): Rename from add_AT_float. Add elt_size param.
1274 (same_dw_val_p): Adjust vec comparison. Use memcmp.
1275 (size_of_die): Adjust dw_val_class_vec sizing.
1276 (output_die): Output dw_val_class_vec.
1277 (insert_int, extract_int, insert_float): New functions.
1278 (add_const_value_attribute): Use insert_float for CONST_DOUBLE.
1279 Handle CONST_VECTOR.
1280 (add_location_or_const_value_attribute): Handle CONST_VECTOR.
1282 2004-03-07 Aldy Hernandez <aldyh@redhat.com>
1284 * config/rs6000/rs6000.c (rs6000_parse_abi_options): SPE and
1285 AltiVec abi cannot co-exist.
1287 * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Same.
1289 2004-03-07 Jan Hubicka <jh@suse.cz>
1291 * except.c (emit_to_new_bb_before): Break fallthru edges.
1293 2004-03-07 Stephane Carrez <stcarrez@nerim.fr>
1295 * config/m68hc11/m68hc11.md ("*lshrsi3_const"): Disable for 68HC12.
1296 ("*lshrsi3"): Also accept an immediate for 68HC12.
1297 ("*ashrsi3_const"): Likewise.
1298 ("*ashrsi3"): Likewise.
1299 ("*ashlsi3_const"): Likewise.
1300 ("*ashlsi3"): Likewise.
1301 ("cmphi_1_hc12"): Compare two hard register by pushing them and
1302 comparing with a pop; don't use a split for that.
1303 ("cmphi split"): Disable compare split for 68HC12.
1305 * config/m68hc11/m68hc11.c (m68hc11_notice_update_cc): Invalidate
1306 the status operands if they have side effects.
1308 2004-03-07 Kazu Hirata <kazu@cs.umass.edu>
1310 * defaults.h (LEGITIMIZE_ADDRESS): Provide a default
1312 * config/arc/arc.h, config/fr30/fr30.h, config/frv/frv.h,
1313 config/h8300/h8300.h, config/ia64/ia64.h,
1314 config/mcore/mcore.h, config/mmix/mmix.h,
1315 config/ns32k/ns32k.h, config/pdp11/pdp11.h,
1316 config/stormy16/stormy16.h, config/v850/v850.h,
1317 config/vax/vax.h (LEGITIMIZE_ADDRESS): Remove.
1318 * doc/tm.texi (LEGITIMIZE_ADDRESS): Mention the default
1321 2004-03-07 Roger Sayle <roger@eyesopen.com>
1323 * fold-const.c (fold) <IOR_EXPR>: Fold x | x as x.
1324 <XOR_EXPR>: Fold x ^ x as zero.
1325 <AND_EXPR>: Fold x & x as x.
1327 2004-03-07 Roger Sayle <roger@eyesopen.com>
1329 * fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform
1330 "foo++ == const" into "++foo == const+incr".
1332 2004-03-07 Richard Sandiford <rsandifo@redhat.com>
1334 * config/mips/mips.c (mips_in_small_data_p): Return false if
1337 2004-03-06 Stephane Carrez <stcarrez@nerim.fr>
1339 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push
1341 (expand_prologue): Don't make an interrupt or a trap handler a far
1343 (m68hc11_initial_elimination_offset): Likewise.
1345 2004-03-06 Richard Henderson <rth@redhat.com>
1347 * config/alpha/alpha.c (alpha_in_small_data_p): False for functions.
1349 2004-03-06 Kazu Hirata <kazu@cs.umass.edu>
1351 * config/ns32k/ns32k-protos.h: Add a prototype for
1352 ns32k_notice_update_cc.
1353 * config/ns32k/ns32k.c (ns32k_notice_update_cc): New.
1354 * config/ns32k/ns32k.h (NOTICE_UPDATE_CC): Call
1355 ns32k_notice_update_cc.
1357 2004-03-06 Ulrich Weigand <uweigand@de.ibm.com>
1359 * config/s390/s390.md ("load_multiple", "*load_multiple_di",
1360 "*load_multiple_si"): Allow only if reload_completed.
1361 ("store_multiple", "*store_multiple_di", "*store_multiple_si"):
1364 2004-03-06 Kazu Hirata <kazu@cs.umass.edu>
1366 * config/vax/vax-protos.h: Add a prototype for
1367 vax_notice_update_cc.
1368 * config/vax/vax.c (vax_notice_update_cc): New.
1369 * config/vax/vax.h (NOTICE_UPDATE_CC): Call
1370 vax_notice_update_cc.
1372 2004-03-06 David Edelsohn <edelsohn@gnu.org>
1374 * collect2.c (main): Only export initfunc and finifunc if
1375 LD_INIT_SWITCH not defined.
1376 (scan_prog_file): Only export constructors and destructors if
1377 LD_INIT_SWITCH not defined. Only export symbols not found in
1380 2004-03-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1382 * pa.md (icacheflush): Reorder operands to make match_scratch operand
1384 * pa.h (INITIALIZE_TRAMPOLINE): Remove unnecessary scratch argument
1385 from calls to gen_icacheflush.
1387 2004-03-06 Richard Henderson <rth@redhat.com>
1389 * config/alpha/alpha.h (MASK_LONG_DOUBLE_128): New.
1390 (TARGET_LONG_DOUBLE_128): New.
1391 (TARGET_SWITCHES): Add long-double-{128,64}.
1392 (TARGET_HAS_XFLOATING_LIBS): Default to TARGET_LONG_DOUBLE_128.
1393 (LONG_DOUBLE_TYPE_SIZE): Honor TARGET_LONG_DOUBLE_128.
1394 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New.
1395 (WIDEST_HARDWARE_FP_SIZE): New.
1396 (TARGET_CPU_CPP_BUILTINS): Define __LONG_DOUBLE_128__.
1397 * config/alpha/alpha.c (override_options): Clear MASK_LONG_DOUBLE_128
1398 if TARGET_VAX_FLOAT.
1399 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): Remove.
1400 (TARGET_DEFAULT): Set MASK_LONG_DOUBLE_128.
1402 2004-03-06 Richard Henderson <rth@redhat.com>
1404 * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix
1405 botched rtx class conversion.
1407 2004-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1409 * tree.h (BUILTIN_EXP10_P, BUILTIN_EXPONENT_P, BUILTIN_SQRT_P,
1410 BUILTIN_CBRT_P, BUILTIN_ROOT_P): New macros.
1412 * builtins.c (fold_builtin_logarithm, fold_builtin): Use new
1414 * fold-const.c (fold_mathfn_compare, fold): Likewise.
1416 2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr>
1419 * config/i386/i386.md (movv2di_internal): Conditionalize on
1420 TARGET_SSE, not TARGET_SSE2.
1422 2004-03-05 Chris Demetriou <cgd@broadcom.com>
1424 * config.gcc (mips64orion-*-elf*, mips64orionel-*-elf*): Delete
1427 2004-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1429 * builtins.c: Consistently use logN not log* in comments.
1431 2004-03-05 Andreas Krebbel <krebbel1@de.ibm.com>
1433 * rtl.h (mem_expr_equal_p): Function prototype added.
1434 * cfgcleanup.c (merge_memattrs): New function.
1435 (flow_find_cross_jump): Call merge_memattrs for matching insns.
1436 * emit-rtl.c (mem_expr_equal_p): New function.
1438 2004-03-05 Ziemowit Laski <zlaski@apple.com>
1440 * objc/objc-act.c (synth_module_prologue): Const-qualify
1441 objc_selector type if using the GNU runtime; fix generated
1442 signatures for objc_msg_lookup and objc_msg_lookup_super
1443 to match what GNU ObjC headers provide; reformat and clean up.
1444 (synth_self_and_ucmd_args): Use previously constructed (and
1445 hence possibly const-qualified) objc_selector type.
1447 2004-03-05 Kazu Hirata <kazu@cs.umass.edu>
1449 * doc/tm.texi (HARD_REGNO_RENAME_OK): Document.
1451 2004-03-05 Jason Merrill <jason@redhat.com>
1453 * tree.h (TYPE_HASH): Use TYPE_UID.
1454 (TREE_HASH): New macro with old definition of TYPE_HASH.
1455 * tree.c (build_type_attribute_variant): Use iterative_hash_object.
1456 (build_array_type, build_function_type): Likewise.
1457 (build_method_type_directly): Likewise.
1458 (build_offset_type, build_complex_type): Likewise.
1459 (type_hash_list, attribute_hash_list): Likewise. Now static.
1460 * except.c: s/TYPE_HASH/TREE_HASH/.
1462 2004-03-05 Bob Wilson <bob.wilson@acm.org>
1464 * config/xtensa/xtensa.c (function_arg): Handle 16-byte aligned args.
1465 (xtensa_va_start): Initialize __va_stk to ($arg_ptr - 32). Adjust
1466 __va_ndx by 2 words when referencing an argument on the stack.
1467 (xtensa_va_arg): Handle 16-byte aligned args. Adjust __va_ndx by 2
1468 words when an arg on the stack is first seen.
1470 2004-03-05 Paul Brook <paul@codesourcery.com>
1472 * arm.h (ARM_FLAG_VFP): Remove.
1473 (ARM_FLAG_ATPCS, CIRRUS_FIX_INVALID_INSNS): Renumber.
1474 * netbsd-elf.h (ARM_FLAG_VFP): Remove.
1476 2004-03-05 Paul Brook <paul@codesourcery.com>
1478 * function.c (assign_parms): Include pretend alignment offset.
1480 2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1482 * stor-layout.c (layout_type, case FUNCTION_TYPE): Make size
1483 FUNCTION_BOUNDARY, not POINTER_SIZE * 2.
1485 2004-03-05 Ian Lance Taylor <ian@wasabisystems.com>
1487 * configure.ac: When passing --enable-languages to subdir
1488 configure when host != build, make sure we don't pass an empty
1490 * configure: Regenerate.
1492 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
1495 * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o
1498 2004-03-05 Paolo Bonzini <bonzini@gnu.org>
1500 * simplify-rtx.c (simplify_relational_operation): If
1501 flag_wrapv is set, do not move terms between the two
1502 side of a relational operator.
1504 2004-03-05 Paolo Bonzini <bonzini@gnu.org>
1506 * rtlanal.c: Include target.h and output.h
1507 (rtx_cost, address_cost, default_address_cost): Move from...
1508 * cse.c (rtx_cost, address_cost, default_address_cost):
1510 * rtl.h (rtx_cost, address_cost): Move under rtlanal.c.
1511 * Makefile.in: Adjust dependencies.
1513 2004-03-05 Paolo Bonzini <bonzini@gnu.org>
1515 * cse.c (cse_end_of_basic_block): Make static.
1516 * local-alloc.c (function_invariant_p): Move to
1518 * loop.c (libcall_other_reg, record_excess_regs):
1520 * reload1.c (function_invariant_p): Moved here
1521 from local-alloc.c, made static.
1522 * rtl.h (cse_end_of_basic_block, function_invariant_p,
1523 libcall_other_reg, record_excess_regs): Remove
1526 2004-03-05 Kazu Hirata <kazu@cs.umass.edu>
1528 * config/m32r/m32r.c (signed_comparison_operator): Add a
1529 missing parenthesis.
1531 2004-03-04 Ian Lance Taylor <ian@wasabisystems.com>
1533 * ggc-common.c (gt_pch_restore): Don't unmap addr unless we are
1534 going to call mmap again. Read the file into the right place.
1535 Give a fatal error if we have to relocate.
1537 2004-03-04 Bob Wilson <bob.wilson@acm.org>
1539 * config/xtensa/xtensa.c (xtensa_return_in_msb): New function.
1540 (TARGET_RETURN_IN_MSB): Define to xtensa_return_in_msb.
1542 2004-03-05 Hans-Peter Nilsson <hp@axis.com>
1545 * config/fp-bit.c (_fpdiv_parts): Do not round when pack_d would
1546 round the same. When rounding, clear bits that would cause a
1547 second rounding in pack_d.
1548 (_fpmul_parts): Ditto. Remove #if 0:d code.
1550 2004-03-04 Ziemowit Laski <zlaski@apple.com>
1552 PR c++/14425, c++/14426
1553 * config/rs6000/altivec.h (vec_splat_s8, vec_splat_s16,
1554 vec_splat_s32, vec_splat_u8, vec_splat_u16, vec_splat_u32):
1555 Change C++ definitions to accept a 'const int' argument;
1556 the prototypes already do.
1557 * config/rs6000/rs6000.c (rs6000_common_init_builtins):
1558 Rename v4si_ftype_char, v8hi_ftype_char, v16qi_ftype_char,
1559 v4sf_ftype_v4si_char, v4si_ftype_v4sf_char, v4si_ftype_v4si_char,
1560 v8hi_ftype_v8hi_char, v16qi_ftype_v16qi_char,
1561 v16qi_ftype_v16qi_v16qi_char, v8hi_ftype_v8hi_v8hi_char,
1562 v4si_ftype_v4si_v4si_char and v4sf_ftype_v4sf_v4sf_char to
1563 end in ..._int; change them to accept an int instead of a char
1564 as the last parameter.
1566 2004-03-04 Phil Edwards <phil@codesourcery.com>
1568 * genmultilib: Change '=' to '-' when translating option names
1571 2004-03-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1573 * expr.c (expand_expr_real, case COMPONENT_REF): Get proper type of
1574 stack slot for temp used for result of BLKmode but in integral mode.
1576 2004-03-04 Jan Hubicka <jh@suse.cz>
1578 * reload.c (find_reloads): Reorganize if seqeunce to switch.
1580 * cfgrtl.c (rtl_redirect_edge_and_branch): Set the source BB as dirty.
1581 (cfglayout_redirect_edge_and_branch): Set the source BB as dirty.
1583 2004-03-04 Steve Ellcey <sje@cup.hp.com>
1585 * config/ia64/ia64.md (divdf3_internal_thr): Fix algorithm.
1586 * testsuite/gcc.dg/20040303-1.c: New test.
1588 2004-03-04 Steven Bosscher <stevenb@suse.de>
1590 * ppro.md: Rewrite as a DFA pipeline description.
1591 * i386.md: Remove all uses of the ppro_uops attribute.
1592 * i386.c: (ix86_safe_ppro_uops, ix86_dump_ppro_packet,
1593 ix86_reorder_insn, ix86_sched_reorder_ppro, ix86_sched_init,
1594 ix86_sched_reorder, ix86_variable_issue,
1595 struct ix86_sched_data, TARGET_SCHED_VARIABLE_ISSUE,
1596 TARGET_SCHED_INIT, TARGET_SCHED_REORDER): Remove.
1597 (ia32_use_dfa_pipeline_interface): Add TARGET_PENTIUMPRO.
1598 (ia32_multipass_dfa_lookahead): Add TARGET_PENTIUMPRO.
1599 * athlon.md (athlon_ssecmp_load): Fix comment
1601 2004-03-04 Stuart Hastings <stuart@apple.com>
1603 * gcc/doc/invoke.texi: Document -mlongcall for Darwin/PPC.
1605 2004-03-04 Stuart Hastings <stuart@apple.com>
1607 * gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before
1608 686, tell Darwin assembler to allow prefetch insns, non-empty def
1609 of SUBTARGET_OPTION_TRANSLATE_TABLE.
1611 2004-03-04 DJ Delorie <dj@redhat.com>
1613 PR optimization/14282
1614 * sched-deps.c (sched_analyze_insn): Allow a stack adjustment
1615 between a call and the assignment of its return value.
1617 2004-03-04 Kazu Hirata <kazu@cs.umass.edu>
1619 * config/h8300/h8300.c: Put a comment for every function.
1621 2004-03-04 Kazu Hirata <kazu@cs.umass.edu>
1623 * config/h8300/h8300.md: Add comments about peephole2's.
1625 2004-03-04 Steven Bosscher <stevenb@suse.de>
1627 * i386.h (TARGET_CPU_DEFAULT_nocona): Fix value.
1629 2004-03-04 Jan Hubicka <jh@suse.cz>
1631 * cfgcleanup.c (thread_jump): Update call of cselib_init.
1632 * cselib.c (cselib_record_memory): New static variable.
1633 (cselib_lookup_mem, cselib_record_set, cselib_record_sets):
1634 Give up on memories when asked for.
1635 (cselib_init): Accept new argument.
1636 * cselib.h (cselib_init): Update prototype.
1637 * gcse.c (local_cprop_pass): Update call of cselib_init.
1638 * loop.c (load_mems): Update call of cselib_init.
1639 * postreload.c (reload_cse_regs_1): Update call of cselib_init.
1640 * sched-deps.c (sched_analyze): Update call of cselib_init.
1642 2004-03-04 David Edelsohn <edelsohn@gnu.org>
1645 * config/rs6000/rs6000.c (output_function_profiler): Append @plt
1648 2004-03-04 Josef Zlomek <zlomekj@suse.cz>
1651 * var-tracking.c (track_expr_p): Do not track variables which
1652 should be ignored for debugging purposes.
1654 2004-03-04 Alan Modra <amodra@bigpond.net.au>
1656 * real.c (encode_ibm_extended): Don't bother rounding low double.
1657 * c-cppbuiltin.c (builtin_define_float_constants): Tweak MAX
1658 when fmt->pnan < fmt->p.
1660 2004-03-04 Eric Christopher <echristo@redhat.com>
1662 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Fix to check
1663 only range of valid arg registers and fixed_regs.
1665 2004-03-04 Alan Modra <amodra@bigpond.net.au>
1668 * config/rs6000/rs6000.md (abstf2, abstf2+1): Delete define_insn.
1669 (abstf2, abstf2_internal): New define_expand.
1671 2004-03-04 Eric Botcazou <ebotcazou@libertysurf.fr>
1673 PR optimization/14235
1674 * expr.c (convert_move): Copy the source to a new pseudo
1675 when converting from a sub-word source to a larger-than-word
1676 register which conflicts with the source.
1678 2004-03-03 Zack Weinberg <zack@codesourcery.com>
1681 * c-decl.c (diagnose_mismatched_decls): Issue an error for two
1682 parameters with the same name, unless one is a forward decl.
1683 Do not issue a redundant-redeclaration warning for forward
1684 decls of parameters.
1686 2004-03-04 David Edelsohn <edelsohn@gnu.org>
1688 * doc/install.texi (*-ibm-aix*): Document use of Bash to speed up
1691 2004-03-03 Ian Lance Taylor <ian@wasabisystems.com>
1693 * ggc-zone.c (ggc_pch_write_object): Don't align file pointer.
1695 2004-03-04 Alan Modra <amodra@bigpond.net.au>
1697 * target-def.h (TARGET_OPTF): Delete.
1698 * c-opts.c (TARGET_OPTF): Define.
1700 2004-03-04 Jan Hubicka <jh@suse.cz>
1702 * cselib.c (cselib_finish): Fix another miss-application of my previous
1705 2004-03-03 Mike Stump <mrs@apple.com>
1707 Add framework support for darwin.
1709 * c-incpath.c: Include target.h and machmode.h.
1710 (add_path): Use a consistent style for cpp_dir. Initialize
1712 (add_cpp_dir_path): New.
1713 (register_include_chains): Add use of extra_includes callback.
1714 (hook_void_int): Add.
1715 (target_c_incpath): Add.
1716 * c-incpath.h (add_cpp_dir_path): New.
1717 (target_c_incpath_s): Add.
1718 (target_c_incpath): Add.
1719 (C_INCPATH_INIT): Add.
1720 * c-opts.c (c_common_missing_argument,
1721 c_common_handle_option): Add -F argument processing.
1722 * c.opt: Add -F argument processing.
1723 * gcc.c (trad_capable_cpp): Add -F argument processing.
1724 * cppfiles.c (find_file_in_dir): Update to use construct
1726 (search_path_exhausted, cpp_get_path, cpp_get_buffer,
1728 (_cpp_find_file): Use search_path_exhausted.
1729 (make_cpp_dir): Initialize construct to 0.
1730 * cpplib.h (missing_header_cb
1731 cpp_get_path, cpp_get_buffer, cpp_get_file, cpp_get_prev): New.
1732 (cpp_callbacks): Add missing_header
1733 (cpp_dir): Add construct.
1734 * target-def.h: (TARGET_OPTF): New.
1735 * hooks.c (hook_void_int, hook_void_charptr): Add.
1736 * hooks.h (hook_void_int, hook_void_charptr): Add.
1737 * Makefile.in (c-incpath.o) : Add $(TARGET_H) and
1738 $(MACHMODE_H) dependencies.
1739 * doc/invoke.texi (Darwin Options): Document -F.
1740 * doc/tm.texi (TARGET_EXTRA_INCLUDES): Add.
1742 * fix-header.c (target_c_incpath): Add.
1744 * config/darwin-c.c: Add c-incpath.h include.
1745 (using_frameworks, find_subframework_file,
1746 find_subframework_header, add_system_framework_path,
1747 frameworks_in_use, num_frameworks, max_frameworks,
1748 add_framework, find_framework, struct framework_header,
1749 framework_header_dirs, framework_construct_pathname,
1750 find_subframework_file, add_system_framework_path,
1751 add_framework_path, framework_defaults,
1752 darwin_register_frameworks, find_subframework_header): Add.
1753 * config/darwin.h (TARGET_EXTRA_INCLUDES, TARGET_OPTF): New.
1754 (TARGET_OPTION_TRANSLATE_TABLE): Add -framework support.
1755 (CPP_SPEC): Add __APPLE_CC__ support.
1756 * t-darwin (darwin-c.o): Add c-incpath.h dependency.
1758 2004-03-04 Jan Hubicka <jh@suse.cz>
1760 * cselib.c (cselib_finish): Fix miss-application of my previous
1763 2004-03-03 Kazu Hirata <kazu@cs.umass.edu>
1765 * hooks.c (hook_tree_tree_identity): New.
1766 * hooks.h: Add a prototype for hook_tree_tree_identity.
1767 * stmt.c (expand_asm_operands): Use targetm.md_asm_clobbers
1768 instead of MD_ASM_CLOBBERS.
1769 * system.h (MD_ASM_CLOBBERS): Poison.
1770 * target-def.h (TARGET_MD_ASM_CLOBBERS): New.
1771 (TARGET_INITIALIZER): Add TARGET_MD_ASM_CLOBBERS.
1772 * target.h (gcc_target): Add md_asm_clobbers.
1773 * config/i386/i386.c (TARGET_MD_ASM_CLOBBERS): New.
1774 (ix86_md_asm_clobbers): New.
1775 * config/i386/i386.h (MD_ASM_CLOBBERS): Remove.
1776 * doc/tm.texi (MD_ASM_CLOBBERS): Change to
1777 TARGET_MD_ASM_CLOBBERS.
1779 2004-03-03 Stuart Hastings <stuart@apple.com>
1781 * gcc/config.gcc: Arrange for Darwin/x86 to build libgcc_eh.a.
1783 2004-03-03 Eric Botcazou <ebotcazou@libertysurf.fr>
1785 * config/sparc/sparc.c (noov_compare64_op): Fix typo.
1787 * config/sparc/sparc.h (ASM_FLOAT): Delete.
1788 (ASM_DOUBLE): Likewise.
1789 (ASM_LONGDOUBLE): Likewise.
1790 * config/sparc/pbd.h (ASM_INT_OP): Delete.
1792 2003-03-03 Richard Henderson <rth@redhat.com>
1795 * cselib.c (cselib_record_sets): Don't record multiple sets in
1798 2004-03-03 Mostafa Hagog <mustafa@il.ibm.com>
1800 * common.opt: Add description of the new -fgcse-after-reload flag.
1802 * flags.h (flag_gcse_after_reload): Declaration of global variable.
1804 * gcse.c (reg_used_on_edge ,reg_set_between_after_reload_p,
1805 reg_used_between_after_reload_p, rtx get_avail_load_store_reg,
1806 is_jump_table_basic_block, bb_has_well_behaved_predecessors,
1807 get_bb_avail_insn, hash_scan_set_after_reload,
1808 compute_hash_table_after_reload, eliminate_partially_redundant_loads,
1809 gcse_after_reload, get_bb_avail_insn): New functions to implement
1811 (gcse_after_reload_main): New function, the main entry point to
1814 * rtl.h (gcse_after_reload_main): Declaration of the new function.
1816 * opts.c (common_handle_option): Handle the -fgcse-after-reload flag.
1818 * toplev.c (flag_gcse_after_reload): Initialization.
1820 * passes.c (rest_of_handl_gcse2): Call gcse_after_reload_main.
1822 * params.def (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
1823 PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION): New parameters for tuning
1824 the gcse after reload optimization.
1826 * params.h (GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
1827 GCSE_AFTER_RELOAD_CRITICAL_FRACTION): Two macros to access the tuning
1830 * doc/invoke.texi: Documentation for the new flag gcse-after-reload.
1832 2004-03-03 Nicolas Pitre <nico@cam.org>
1834 * config/arm/ieee754-df.S (muldf3, divdf3): Fix denormalization of
1835 small negative values.
1837 2004-03-03 Jan Hubicka <jh@suse.cz>
1839 * cselib.c (hash_table): Remove GTY marker.
1840 (reg_values): Turn into array.
1841 (used_regs): Likewise.
1842 (n_used_regs): New static variable.
1843 (reg_values_old): Kill.
1844 (clear_table): Update uses of arrays.
1845 (cselib_lookup): Likewise.
1846 (cselib_record_set): Likewise.
1847 (cselib_init): Likewise.
1848 (cselib_finish): Likewise.
1849 (cselib_udpate_varray_sizes): Kill.
1850 * cselib.h (cselib_update_varray_sizes): Kill.
1852 2004-03-03 Paul Brook <paul@codesourcery.com>
1854 * flow.c (ior_reg_cond, and_reg_cond): Remove stray ")".
1856 2004-03-03 Jan Hubicka <jh@suse.cz>
1858 * ggc-common.c (ggc_alloc_cleared_stat, ggc_realloc_stat):
1859 Rename from ...; make statistics transparent.
1860 (ggc_alloc_cleared, ggc_realloc_stat): ... these.
1861 (loc_descriptor): New structure.
1862 (hash_descriptor, eq_descriptor, loc_descriptor, cmp_statistics,
1864 New static function.
1865 (ggc_record_overhead, dump_statistics): New global function.
1866 * ggc-none.c (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat,
1867 ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Rename
1868 from ...; accept locations
1869 (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared,
1870 ggc_realloc, ggc_alloc_typed): ... this one.
1871 from ...; accept locations
1872 * ggc-page.c (ggc_alloc_typed_stat, ggc_alloc_zone_stat,
1873 ggc_alloc_stat): Rename from ... ; pass locations
1874 * ggc-page.c (ggc_alloc_typed, ggc_alloc_zone, ggc_alloc):
1876 (ggc_alloc_stat): Record overehead.
1877 * ggc.h (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared,
1878 ggc_realloc, ggc_alloc_typed): Turn to macros
1879 (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat,
1880 ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Declare.
1881 (dump_ggc_loc_satistics, ggc_record_overehead): Declare.
1882 * langhooks.h (lhd_make_node): Declare.
1883 (LANG_HOOKS_MAKE_TYPE): Default to new function,
1884 * langhooks.c (lhd_make_node): New.
1885 * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Rename from ... ; pass
1887 (rtx_alloc, swallow_copy_rtx): ... this one.
1888 * rtl.h (rtx_alloc, swallow_copy_rtx): Turn to macros.
1889 * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Declare.
1890 * toplpev.c (finalize): Dump stats.
1891 * tree.c (make_node_stat, copy_node_stat, make_tree_vec_stat,
1892 build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat):
1893 Rename from ... ; pass locators.
1894 (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons,
1895 build?, build_decl): Declare.
1896 * tree.h (make_node_stat, copy_node_stat, make_tree_vec_stat,
1897 build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat):
1899 (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons,
1900 build?, build_decl): New macros.
1901 * Makefile.in (RTL_H, TREE_H): Add statistics.h dependency.
1902 * statistics.h: New file.
1904 2004-03-03 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1905 Richard Sandiford <rsandifo@redhat.com>
1907 * config/mips/mips.h (MASK_FIX_SB1): Bump.
1908 (MASK_FIX_R4400, TARGET_FIX_R4400): New macros.
1909 (TARGET_SWITCHES): Add -mfix-r4400 and -mno-fix-r4400.
1910 * config/mips/mips.c (mips_output_division): Fill the branch delay
1911 slot with a nop if TARGET_FIX_R4000. Extend R4000 workarounds to
1913 (mips_output_division): Adjust accordingly.
1914 (override_options): Make -march=r4400 imply -mfix-r4400 by default.
1915 * doc/invoke.texi: Document -mfix-r4400 and new errata workarounds.
1917 2004-03-03 Paolo Bonzini <bonzini@gnu.org>
1919 * alias.c (rtx_equal_for_memref_p): Use predicates
1920 to test rtx classes and new rtx class codes, possibly
1921 splitting conditionals that tested against '<' and 'o'.
1922 * caller-save.c (save_call_clobbered_regs): Likewise.
1923 * combine.c (contains_muldiv, find_split_point, subst,
1924 combine_simplify_rtx, simplify_if_then_else,
1925 simplify_set, simplify_logical, expand_compound_operation,
1926 make_compound_operation, if_then_else_cond, known_cond,
1927 apply_distributive_law, cached_nonzero_bits,
1928 cached_num_sign_bit_copies, simplify_shift_const,
1929 gen_binary, simplify_comparison, update_table_tick,
1930 record_value_for_reg, get_lsat_value_validate): Likewise.
1931 * cse.c (mention_regs, find_best_addr, find_comparison_args,
1932 fold_rtx, cse_insn, invalidate_memory, cse_basic_block):
1934 * emit-rtl.c (copy_insn_1): Likewise.
1935 * expr.c (force_operand): Likewise.
1936 * final.c (final_scan_insn, get_mem_expr_from_op): Likewise.
1937 * flow.c (notice_stack_pointer_modification_1,
1938 invalidate_mems_from_autoinc, ior_reg_cond, not_reg_cond,
1939 and_reg_cond, elim_reg_cond): Likewise.
1940 * function.c (update_epilogue_consts): Likewise.
1941 * genattrtab.c (attr_rtx_1): Likewise.
1942 * genopinit.c (gen_insn): Likewise.
1943 * integrate.c (subst_constants): Likewise.
1944 * jump.c (reversed_comparison_code_parts,
1945 reversed_comparison_code, delete_related_insns,
1946 rtx_renumbered_equal_p): Likewise.
1947 * local-alloc.c (block_alloc): Likewise.
1948 * loop.c (rtx_equal_for_prefetch_p, maybe_eliminate_biv,
1949 canonicalize_condition): Likewise.
1950 * loop-iv.c (simplify_using_conditions, iv_number_of_iterations):
1952 * optabs.c (add_equal_node, expand_binop): Likewise.
1953 * predict.c (estimate_probability): Likewise.
1954 * ra-debug.c (ra_print_rtx_2op, ra_print_rtx): Likewise.
1955 * recog.c (validate_replace_rtx_1, comparison_operator,
1956 offsettable_address_p, constrain_operands): Likewise.
1957 * reg-stack.c (swap_rtx_condition_1, subst_stack_regs_pat):
1959 * regclass.c (scan_one_insn): Likewise.
1960 * regmove.c (stable_and_no_regs_but_for_p): Likewise.
1961 * regrename.c (kill_autoinc_value): Likewise.
1962 * reload.c (find_reusable_reload, find_reloads,
1963 reg_overlap_mentioned_for_reload_p): Likewise.
1964 * reload1.c (gen_reload, delete_address_reloads_1): Likewise.
1965 * rtl.c (copy_rtx): Likewise.
1966 * rtl.h (CONSTANT_P, INSN_P): Likewise.
1967 * rtlanal.c (commutative_operand_precedence): Likewise.
1968 * sched-deps.c (conditions_mutex_p): Likewise.
1969 * sched-rgn.c (is_cfg_nonregular): Likewise.
1970 * simplify-rtx.c (simplify_gen_binary,
1971 simplify_gen_relational, simplify_replace_rtx,
1972 simplify_unary_operation, simplify_binary_operation,
1973 simplify_ternary_operation, simplify_rtx): Likewise.
1974 * unroll.c (reg_dead_after_loop): Likewise.
1975 * config/alpha/alpha.c (alpha_swapped_comparison_operator,
1976 print_operand): Likewise.
1977 * config/arc/arc.c (proper_comparison_operator): Likewise.
1978 * config/arm/arm.c (arm_arm_address_cost, arm_select_cc_mode):
1980 * config/avr/avr.c (_reg_unused_after): Likewise.
1981 * config/frv/frv.c (frv_ifcvt_modify_tests,
1982 frv_ifcvt_modify_insn, frv_pack_insn): Likewise.
1983 * config/i386/i386.c (ix86_comparison_operator,
1984 ix86_carry_flag_operator, fcmov_comparison_operator,
1985 arith_or_logical_operator, print_operand,
1986 ix86_expand_binary_operator, ix86_binary_operator_ok):
1988 * config/i386/i386.md: Likewise.
1989 * config/ia64/ia64.c (not_postinc_memory_operand,
1990 ia64_print_operand, update_set_flags, errata_emit_nops):
1992 * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS,
1993 CONSTRAINT_OK_FOR_S): Likewise.
1994 * config/ip2k/ip2k.c (mdr_resequence_xy_yx,
1995 mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
1996 ip2k_xexp_not_uses_reg_for_mem, ip2k_xexp_not_uses_reg_p,
1997 ip2k_composite_xexp_not_uses_reg_p, ip2k_unary_operator):
1999 * config/iq2000/iq2000.c (cmp_op, symbolic_expression_p,
2000 eqne_comparison_operator, signed_comparison_operator):
2002 * config/mips/mips.c (cmp_op, symbolic_expression_p):
2004 * config/mmix/mmix (mmix_foldable_comparison_operator,
2005 mmix_comparison_operator): Likewise.
2006 * config/pa/pa.c (hppa_legitimize_address): Likewise.
2007 * config/rs6000/rs6000.c (stmw_operation,
2008 branch_comparison_operator, trap_comparison_operator,
2010 * config/rs6000/rs6000.h (SELECT_CC_MODE): Likewise.
2011 * config/s390/s390.c (s390_alc_comparison,
2012 s390_slb_comparison):L Likewise.
2013 * config/sh/sh.c (gen_block_redirect, reg_unused_after):
2015 * config/sparc/sparc.c (eq_or_neq, normal_comp_operator,
2016 noov_compare_op, noov_compare64_op, v9_regcmp_op,
2017 emit_hard_tfmode_operation, reg_unused_after)
2018 * doc/md.texi, doc/rtl.texi: Likewise.
2020 * ra-debug.c: Add 2004 to list of copyright years.
2021 * unroll.c: Likewise.
2023 * combine.c (simplify_logical): Remove dummy test,
2024 (apply_distributive_law): Fix typo in comment.
2025 GET_CODE (x) == AND so x is a commutative binary op.
2026 * jump.c (delete_related_insns): simplify loop
2027 condition, move testing of RTX codes inside the loop.
2028 (rtx_renumbered_equal_p): do not use RTX_CODE.
2029 * rtl.c (rtx_class): Declare as enum rtx_class.
2030 * rtl.def (EQ, NE, UNEQ, LTGT, UNORDERED, ORDERED):
2031 Move to RTX_COMM_COMPARE class.
2032 (HIGH, SYMBOL_REF, LABEL_REF, CONST, CONST_INT, CONST_DOUBLE):
2033 Move to RTX_CONST_OBJ class.
2034 * rtl.h (enum rtx_class): New declaration,
2035 (RTX_OBJ_MASK, RTX_OBJ_RESULT, RTX_COMPARE_MASK,
2036 RTX_COMPARE_RESULT, RTX_ARITHMETIC_MASK, RTX_ARITHMETIC_RESULT,
2037 RTX_BINARY_MASK, RTX_BINARY_RESULT, RTX_COMMUTATIVE_MASK,
2038 RTX_COMMUTATIVE_RESULT, RTX_NON_COMMUTATIVE_RESULT,
2039 RTX_EXPR_FIRST, RTX_EXPR_LAST, UNARY_P, BINARY_P,
2040 ARITHMETIC_P, COMMUTATIVE_ARITHMETIC_P, COMPARISON_P,
2041 SWAPPABLE_OPERANDS_P, NON_COMMUTATIVE_P, COMMUTATIVE_P,
2042 OBJECT_P): New macros.
2043 * config/sparc/sparc.c (noov_compare_op): Remove register
2046 2004-03-03 Kazu Hirata <kazu@cs.umass.edu>
2048 * target.h: Remove texi jargons in comments.
2050 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2052 * config/h8300/lib1funcs.asm (___fixunssfsi): Change the
2056 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2057 * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
2059 * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
2060 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
2062 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2064 * doc/md.texi (cbranchmode4): New.
2066 2004-03-02 Eric Christopher <echristo@redhat.com>
2068 * config/mips/mips16.S: Change fixsfsi and fixdfsi to
2070 * config/mips/mips.c (mips_init_libfuncs): Change accordingly.
2071 * config/mips/t-elf (LIB1ASMFUNCS): Ditto.
2072 * config/mips/t-isa3264 (LIB1ASMFUNCS): Ditto.
2073 * config/mips/t-r3900 (LIB1ASMFUNCS): Ditto.
2075 2004-03-02 Richard Henderson <rth@redhat.com>
2078 * coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P.
2079 * optabs.c (prepare_cmp_insn): Force trapping memories to registers
2080 before the compare, if flag_non_call_exceptions.
2082 2004-03-02 Richard Henderson <rth@redhat.com>
2085 * stmt.c (expand_computed_goto): Do do_pending_stack_adjust before
2086 emitting the label, not after.
2088 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2090 * config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable.
2091 (m68hc11_mov_addr_mode): Likewise.
2092 (m68hc11_override_options): Initialize them based on target.
2093 (register_indirect_p): Allow a MEM for indirect addressing modes and
2094 use flags to control what is allowed.
2095 (m68hc11_small_indexed_indirect_p): Use m68hc11_mov_addr_mode for
2096 supported addressing modes.
2097 (m68hc11_register_indirect_p): Use m68hc11_addr_mode.
2098 (go_if_legitimate_address_internal): Likewise.
2099 (m68hc11_indirect_p): Likewise and check the mode.
2100 (print_operand): Allow a (MEM (MEM)) and generate indirect addressing.
2102 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2104 * builtins.c (BUILTIN_SETJMP_FRAME_VALUE): Remove.
2105 (expand_builtin_setjmp_setup): Use
2106 targetm.builtin_setjmp_frame_value instead of
2107 BUILTIN_SETJMP_FRAME_VALUE.
2108 * system.h (BUILTIN_SETJMP_FRAME_VALUE): Poison.
2109 * target-def.h (TARGET_BUILTIN_SETJMP_FRAME_VALUE): New.
2110 (TARGET_INITIALIZER): Add TARGET_BUILTIN_SETJMP_FRAME_VALUE.
2111 * target.h (gcc_target): Add builtin_setjmp_frame_value.
2112 * targhooks.c (default_builtin_setjmp_frame_value): New.
2113 * targhooks.h: Add a prototype for
2114 default_builtin_setjmp_frame_value.
2115 * doc/tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Change to
2116 TARGET_BUILTIN_SETJMP_FRAME_VALUE.
2118 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2120 * config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize
2122 (add peepholes): New peepholes to optimize sequences adding small
2124 (bset peepholes): New peepholes to transform an OR in a bset form
2125 (bclr peepholes): Likewise for bclr form.
2126 (cmp peepholes): New peepholes to avoid register copies when comparing.
2128 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2130 * config/m68hc11/m68hc11.md ("*pushdi_internal"): New insn and split
2131 to separate push from moves.
2132 ("*pushdf_internal"): Likewise.
2133 ("*pushsf_internal"): Likewise.
2134 ("*pushsi_internal"): Likewise.
2135 ("movdi_internal"): Use define_insn_and_split; non push operand.
2136 ("movdf_internal"): Likewise.
2137 ("movsf_internal"): Likewise.
2138 ("movsi_internal"): Likewise.
2139 ("*movhi_68hc12", "*addhi3_68hc12"): Fix and tune constraints
2140 ("*addhi3", "*subhi3", "*andhi3_mem", "*iorhi3_mem"): Likewise.
2141 ("*ashlsi3_const1", "*lshrsi3_const1"): Likewise.
2143 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2145 * config/m68hc11/m68hc11.md ("tstqi_z_used"): Use define_insn_and_split.
2146 ("cmphi_z_used", "cmpqi_z_used"): Likewise.
2147 ("movstrictsi", "movstricthi", "movstrictqi"): Likewise.
2148 ("anddi3", "andsi3", "iordi3", "iorsi3"): Likewise.
2149 ("xordi3", "xorsi3", "*logicalsi3_zexthi"): Likewise.
2150 ("*logicalsi3_zextqi", "*logicalhi3_zexthi_ashift8"): Likewise.
2151 ("logicalhi3_zexthi", "*logicalsi3_silshr16"): Likewise.
2152 ("*logicalsi3_silshl16", "*logicalsi3_silshl16_zext"): Likewise.
2153 ("*ashldi3_const32", "*ashldi3_const1", "addsi_silshr16"): Likewise.
2154 ("addsi_andshr16", "*ashlsi3_const16_zexthi"): Likewise.
2155 ("*lshrdi3_const32", "*lshrdi_const1"): Likewise.
2157 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2159 * config/m68hc11/m68hc11.md (SOFT_TMP_REGNUM): Define.
2160 (SOFT_XY_REGNUM): Define.
2161 (cmp split): Use the above instead of hard coded numbers.
2162 (8-bit op split): No need to check the mode; allow Q_REG.
2163 (ashift split): Adjust the first operand if it uses the SP and we
2164 are pushing the shifted value.
2165 (plus shift split): Fix when a source is in register D+X.
2166 ("doloop_end"): Pass dummy arguments to gen_rtx_NE.
2168 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
2170 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix when
2171 comparing with Z register.
2173 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2175 * cfgloop.h (struct loop_desc): Removed.
2176 (struct loop): Fields simple, desc and has_desc removed.
2177 (simple_loop_p, count_loop_iterations): Declaration removed.
2178 * cfgloopanal.c (struct unmark_altered_insn_data): Removed.
2179 (unmark_altered, blocks_invariant_registers, unmark_altered_insn
2180 blocks_single_set_registers, invariant_rtx_wrto_regs_p_helper,
2181 invariant_rtx_wrto_regs_p, test_for_iteration, constant_iterations,
2182 simple_loop_exit_p, variable_initial_value, variable_initial_values,
2183 simple_condition_p, simple_increment, count_strange_loop_iterations,
2184 inverse, fits_in_mode_p, simple_loop_p, count_loop_iterations):
2186 * loop-iv.c (check_simple_exit, find_simple_exit): Update comments.
2188 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2190 * genattrtab.c: Don't handle MATCH_INSN.
2191 * genrecog.c: Likewise.
2192 * gensupport.c: Likewise.
2193 * rtl.def (match_insn): Remove.
2194 * doc/md.texi (match_insn, match_insn2): Remove.
2196 2004-03-02 Mark Mitchell <mark@codesourcery.com>
2198 * doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this
2199 macro results in memory allocation.
2201 2004-03-02 David O'Brien <obrien@FreeBSD.org>
2203 * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add.
2204 * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define
2205 %(fbsd_dynamic_linker),
2206 (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with
2207 config/i386/freebsd.h
2208 * config/arm/freebsd.h: Ditto.
2209 * config/i386/freebsd.h: Ditto.
2210 * config/i386/freebsd64.h: Ditto.
2211 * config/ia64/freebsd.h: Ditto.
2212 * config/rs6000/sysv4.h: Ditto.
2213 * config/sparc/freebsd.h: Ditto.
2215 2004-03-02 Loren James Rittle <ljrittle@acm.org>
2217 * gcc/doc/install.texi (*-*-freebsd*): Update target information.
2219 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2221 * rtl.def (define_combine): Remove.
2223 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2225 * config/h8300/h8300.md: Tweak formatting.
2227 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2229 * config/h8300/h8300.md (*cmphi_h8300): Rename to
2231 (*cmphi_h8300hs): Rename to *cmphi_h8300hs_znvc.
2233 2004-03-01 Mark Mitchell <mark@codesourcery.com>
2236 * gcc.c (process_command): Remove const-qualification from argv.
2239 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
2241 * config/h8300/h8300.md (pushqi1_h8300hs): Rename to
2242 pushqi1_h8300hs_advanced. Adjust its caller.
2243 (pushhi1_h8300hs): Rename to pushhi1_h8300hs_advanced.
2246 2004-03-02 Nicolas Roche <roche@act-europe.fr>
2248 * Makefile.in (install-libgcc, install-multilib): Pass
2249 mkinstalldirs var to libgcc.mk.
2251 2004-03-01 Kazu Hirata <kazu@cs.umass.edu>
2253 * system.h (DBX_OUTPUT_STANDARD_TYPES): Poison.
2254 * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove.
2256 2004-03-01 Kazu Hirata <kazu@cs.umass.edu>
2258 * config/h8300/h8300.c (gtle_operator): Accept GT and LE.
2259 * config/h8300/h8300.md: Split several peephole2's, each into
2262 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2264 * dominance.c (recount_dominator): Handle postdominators.
2266 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
2268 * config/mips/mips-protos.h (enum mips_symbol_type): Move from mips.h.
2269 (NUM_SYMBOL_TYPES): Likewise.
2270 (SYMBOL_64_HIGH, SYMBOL_64_MID, SYMBOL_64_LOW): New symbol types.
2271 (mips_unspec_address): Declare.
2272 (mips_gotoff_page, mips_gotoff_global): Delete.
2273 * config/mips/mips.h (PREDICATE_CODES): Add general_symbolic_operand.
2274 * config/mips/mips.c (enum mips_symbol_type, NUM_SYMBOL_TYPES): Delete.
2275 (mips_symbolic_constant_p, mips_symbolic_address_p)
2276 (mips_symbol_insns): Handle new symbol types.
2277 (general_symbolic_operand): New predicate.
2278 (mips_unspec_address): Make extern.
2279 (mips_gotoff_page, mips_gotoff_global): Delete.
2280 (override_options): Allow -mabi=64 -mno-abicalls -mexplicit-relocs.
2281 Handle new symbol types.
2282 * config/mips/mips.md (*lea_high64, *lea64): New patterns.
2283 (*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_disp[sd]i): Call
2284 mips_unspec_address directly.
2285 * doc/invoke.texi: Remove the -mabi=64 -mno-abicalls exception from
2286 the documentation of -mexplicit-relocs.
2288 2004-03-01 Jeff Law <law@redhat.com>
2290 * fold-const.c (fold): An equality comparison of a non-weak object
2291 against zero has a known result. Similarly an equality comparison
2292 of the address of two non-weak, unaliased symbols has a known result.
2294 * ggc-page.c (struct page_entry): New field PREV.
2295 (ggc_alloc): Update PREV field appropriately.
2296 (sweep_pages): Likewise.
2297 (ggc_free): Likewise. Use PREV field rather than loop to
2298 improve ggc_free performance.
2300 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
2302 * config/mips/mips.c (mips_output_division): Use the division
2303 instruction to fill the delay slot of a zero check.
2304 (mips_idiv_insns): Adjust accordingly.
2306 2004-03-01 Nathanael Nerode <neroden@gcc.gnu.org>
2308 * config.gcc: Create a default tmake_file for linux, and use
2309 it in all but two linux clauses. Comment those two.
2311 2004-03-01 Paolo Bonzini <bonzini@gnu.org>
2313 * combine.c (try_combine): Do not refer to is_replaced.
2314 (gen_lowpart_for_combine): Perverse subregs now have a
2315 more politically correct name.
2316 * cse.c (cse_insn): Likewise.
2317 * jump.c: Fix bogus reference to delete_insn.
2319 2004-02-29 Mark Mitchell <mark@codesourcery.com>
2322 * dwarf2out.c (gen_enumeration_type_die): Output all enumeration
2323 constants as signed values.
2326 * c-tree.h (readonly_warning): Rename to ...
2327 (readonly_error): ... this.
2328 * c-typeck.c (build_unary_op): Adjust accordingly.
2329 (readonly_warning): Rename to ...
2330 (readonly_error): ... this and issue errors, not warnings.
2331 (build_modify_expr): Call readonly_error, not readonly_warning.
2332 (c_expand_asm_operands): Likewise.
2333 * tree-inline.c (optimize_inline_calls): Do not inline functions
2334 after errors have occurred.
2336 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org>
2338 * configure.ac: Rearrange some threading code for clarity;
2339 add section comment.
2340 * configure: Regenerate.
2342 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2344 * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment
2346 * doc/cppopts.texi: Fix a typo.
2348 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2350 * config/i386/i386.md: Fix formatting.
2352 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org>
2354 * configure.ac: Add some comments delineating sections of code.
2356 * doc/install.texi: Note that libada uses autoconf 2.57 also.
2358 * doc/install.texi: Fix idiot typo in previous commit.
2360 * doc/install.texi: Update for conversion of intl to autoconf 2.57.
2362 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2364 * config/h8300/h8300.md: Add comments about peephole2's.
2366 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2368 * config/h8300/h8300.md: Tweak operand numbers of some
2371 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
2373 * config/h8300/h8300.md: Tweak comments about peephole2's.
2375 2004-02-29 Waldek Hebisch <hebisch@math.uni.wroc.pl>
2378 * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P
2379 instead of testing whether DECL_RTL is not NULL.
2381 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
2383 * config/sh/sh.c: Fix formatting.
2385 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
2387 * config/sh/sh.c: Convert to ISO-C.
2389 2004-02-28 Andrew Pinski <pinskia@physics.uc.edu>
2391 * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in
2394 * config/darwin.h (machopic_finish): Output stub even if the
2395 symbol is already defined.
2397 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2399 * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.
2401 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
2403 * genattr.c (main): Don't define
2404 TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE.
2405 * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison.
2406 (DFA_PIPELINE_INTERFACE): Likewise.
2407 * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove.
2408 (DFA_PIPELINE_INTERFACE): Likewise.
2410 2004-02-28 Richard Sandiford <rsandifo@redhat.com>
2412 * config/mips/mips.md (tstsi, tstdi): Delete.
2414 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2416 * config/mips/mips.c (override_options): Remove an obsolete
2417 duplicate definition of the "e" constraint.
2418 * config/mips/mips.h: Update a comment accordingly.
2420 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2422 * config/mips/mips.md: Complete the unfinished R4000
2423 multiply/shift errata workaround. Improve documentation.
2424 (hazard): Use TARGET_FIX_R4000 to decide whether an "imul" instruction
2426 (mulsi3, mulsi3_internal, mulsi3_r4000): Use TARGET_FIX_R4000.
2427 (muldi3, muldi3_internal): Likewise.
2428 (muldi3_internal2): Remove, replacing with...
2429 (muldi3_mult3, muldi3_r4000): ...these new patterns.
2430 (mulsidi3): Take the errata into account.
2431 (mulsidi3_32bit): Remove, replacing with...
2432 (mulsidi3_32bit_internal, mulsidi3_32bit_r4000): ...these new patterns.
2433 (mulsidi3_64bit, mulsidi3_64bit_parts): Disable if TARGET_FIX_R4000.
2434 (umulsidi3): Take the errata into account.
2435 (umulsidi3_32bit): Remove, replacing with..
2436 (umulsidi3_32bit_internal, umulsidi3_32bit_r4000): ...these patterns.
2437 (umulsi3_highpart, umulsi3_highpart_internal): Disable if
2439 (smulsi3_highpart, smulsi3_highpart_internal): Likewise.
2440 (smuldi3_highpart, umuldi3_highpart): Likewise.
2441 * doc/invoke.texi: Document the errata workaround.
2443 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2445 * config/mips/mips-protos.h (mips_idiv_insns): Declare.
2446 * config/mips/mips.h (MASK_FIX_SB1): Bump.
2447 (MASK_FIX_R4000, TARGET_FIX_R4000): New macros.
2448 (TARGET_SWITCHES): Add -mfix-r4000 and -mno-fix-r4000.
2449 * config/mips/mips.c (mips_idiv_insns): New function.
2450 (override_options): Make -march=r4000 imply -mfix-r4000 by default.
2451 (mips_output_division): Add a workaround for the R4000 divide/shift
2453 * config/mips/mips.md (length): Use mips_idiv_insns() to calculate
2454 the length of an "idiv" instruction.
2455 * doc/invoke.texi: Document the new switches.
2457 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
2459 * doc/tm.texi (IS_COSTLY_DEPENDENCE): Change to
2460 TARGET_SCHED_IS_COSTLY_DEPENDENCE.
2462 2004-02-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2464 PR optimization/14229
2465 * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump.
2467 2004-02-28 Eric Botcazou <ebotcazou@act-europe.fr>
2469 * fold-const.c (fold): Strip NOPs that change the signedness
2470 for RSHIFT too. Expand comment.
2472 2004-02-27 Ian Lance Taylor <ian@wasabisystems.com>
2474 PR optimization/7871
2475 * flow.c (mark_set_1): Don't add LOG_LINKS for global registers
2476 from or to call insns.
2478 2004-02-27 Eric Botcazou <ebotcazou@libertysurf.fr>
2480 PR optimization/7871
2481 * flow.c (propagate_one_insn): Interpret calls as setting global
2482 registers, not merely clobbering them.
2484 2004-02-27 Dale Johannesen <dalej@apple.com>
2486 * config/darwin.c (machopic_output_possible_stub_label): Remove.
2487 config/darwin-protos.h: Ditto.
2488 config/darwin.h: Remove call to it.
2489 * combine.c (distribute_notes): Do not place a REG_DEAD note
2490 when value is both set and used.
2492 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2494 * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
2496 * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
2497 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
2499 2004-02-27 Andrew Pinski <apinski@apple.com>
2501 * c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>:
2502 Speedup common case of the type values being in the same order.
2504 2004-02-27 Steve Ellcey <sje@cup.hp.com>
2506 * config/ia64/ia64.h (no-inline-float-divide): New option.
2507 * config/ia64/ia64.h (no-inline-int-divide): New option.
2508 * config/ia64/ia64.h (no-inline-sqrt): New option.
2509 (TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define.
2510 * config/ia64/hpux.h (TARGET_DEFAULT): Ditto.
2511 * config/ia64/ia64.c (ia64_override_options): Modify error
2512 checking for inlined division/sqrt.
2514 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2516 * bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c,
2517 ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c,
2518 value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h,
2519 config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update
2522 2004-02-27 Paul Brook <paul@codesourcery.com>
2524 * function.c (assign_parms): Don't count pretend args for alignment.
2526 2004-02-27 Richard Henderson <rth@redhat.com>
2528 * passes.c: New file.
2529 * Makefile.in (OBJS-common): Add it.
2530 * diagnostic.c (rtl_dump_and_exit): Move decl ...
2531 * flags.h (rtl_dump_and_exit): ... here.
2532 * output.h (size_directive_output, last_assemble_variable_decl):
2534 * rtl.h (reg_alloc): Move from toplev.c.
2535 * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT,
2536 struct dump_file_info, enum dump_file_index, dump_file_tbl,
2537 open_dump_file, close_dump_file, rest_of_decl_compilation,
2538 rest_of_type_compilation, rest_of_handle_final,
2539 rest_of_handle_delay_slots, rest_of_handle_stack_regs,
2540 rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
2541 rest_of_handle_new_regalloc, rest_of_handle_old_regalloc,
2542 rest_of_handle_regrename, rest_of_handle_reorder_blocks,
2543 rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove,
2544 rest_of_handle_tracer, rest_of_handle_if_conversion,
2545 rest_of_handle_if_after_combine, rest_of_handle_web,
2546 rest_of_handle_branch_prob,
2547 rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
2548 rest_of_handle_addressof, rest_of_handle_sibling_calls,
2549 rest_of_handle_jump_bypass, rest_of_handle_inlining,
2550 rest_of_handle_null_pointer, rest_of_handle_combine,
2551 rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
2552 rest_of_handle_gcse, rest_of_handle_loop_optimize,
2553 rest_of_handle_loop2, rest_of_compilation): Move to passes.c.
2554 (decode_d_option): Use enable_rtl_dump_file.
2555 (compile_file, finalize, do_compile): Move profile+combine+graph
2556 cleanup to finish_optimization_passes.
2557 * toplev.h (init_optimization_passes, finish_optimization_passes,
2558 enable_rtl_dump_file): Declare.
2560 2004-02-27 Eric Botcazou <ebotcazou@act-europe.fr>
2561 Roger Sayle <roger@eyesopen.com>
2563 * fold-const.c (fold): Revert 2004-02-25 change. Use the original
2564 operands to build a tree with swapped operands.
2565 * expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the
2566 'unsignedp' predicate to specify the signedness.
2568 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2570 * c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c,
2571 expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c,
2572 params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix
2573 comment typos and formatting. Follow spelling conventions.
2575 2004-02-26 Aldy Hernandez <aldyh@redhat.com>
2577 * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and
2580 * config/rs6000/spe.md: Delete spe_efsctuiz.
2581 Add spe_fixuns_truncsfsi2.
2582 Add spe_fix_truncsfsi2.
2584 2004-02-26 Eric Christopher <echristo@redhat.com>
2586 * c-lex.c (c_lex_string_translate): New variable.
2587 (lex_string): Use to determine string translation.
2588 * c-pragma.h: Prototype.
2589 * c-parse.in (start_string_translation): New. Set above.
2590 (stop_string_translation): Ditto.
2591 (attribute, attribute_list, asm_def, asm_stmt,
2592 asm_operand): Use above functions.
2593 * cp/parser.c (cp_parser_declaration): Translate strings
2594 unless token is RID_EXTERN. Set c_lex_string_translate
2596 (cp_parser_asm_definition): Only translate argument strings
2598 (cp_parser_asm_operand_list): Ditto.
2599 (cp_parser_attribute_list): Do not translate attribute strings.
2601 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2603 * stmt.c (expand_start_case_dummy): Remove.
2604 * tree.h: Remove the corresponding prototype.
2606 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2608 * builtins.c (apply_args_register_offset): Remove.
2609 * tree.h: Remove the corresponding prototype.
2611 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2613 * stor-layout.c (is_pending_size): Remove.
2614 * tree.h: Remove the corresponding prototype.
2616 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2618 * recog.c (validate_replace_src): Remove.
2619 * recog.h: Remove the corresponding prototype.
2621 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2623 * calls.c: Don't reference FINAL_REG_PARM_STACK_SPACE or
2624 MAYBE_REG_PARM_STACK_SPACE.
2625 * function.c: Likewise.
2626 * system.h (FINAL_REG_PARM_STACK_SPACE): Poison.
2627 (MAYBE_REG_PARM_STACK_SPACE): Likewise.
2628 * doc/tm.texi (FINAL_REG_PARM_STACK_SPACE): Remove.
2629 (MAYBE_REG_PARM_STACK_SPACE): Likewise.
2631 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2633 * c-decl.c (c_expand_deferred_function): Remove.
2634 * c-tree.h: Remove the corresponding prototype.
2636 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2638 * postreload.c (reload_cse_move2add): Generate just a PLUS
2639 instead of an entire SET.
2641 2004-02-26 Jan Hubicka <jh@suse.cz>
2643 * config.gcc: Add support for nocoma/prescott/pentium-m/pentium3m
2645 * i386.c (override_options): Add support for new CPUs.
2646 * i386.h (TARGET_CPU_DEFAULT_NAMES): New names.
2647 (TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_pentium4e): New
2649 * invoke.texi: Extend documentation of -mtune/-march for new CPUs.
2651 2004-02-26 Bob Wilson <bob.wilson@acm.org>
2653 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
2655 2004-02-26 Eric Botcazou <ebotcazou@act-europe.fr>
2657 * config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
2658 (sparc_emit_fixunsdi): New prototype.
2659 * config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument.
2660 (sparc_emit_fixunsdi): New function.
2661 * config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for
2662 operand 1. Pass SFmode to sparc_emit_floatunsdi.
2663 (floatunsdidf2): Use 'general_operand' for operand 1. Pass DFmode
2664 to sparc_emit_floatunsdi.
2665 (fixuns_truncsfdi2): New expander.
2666 (fixuns_truncdfdi2): Likewise.
2668 2004-02-26 Alan Modra <amodra@bigpond.net.au>
2670 * gcse.c (delete_null_pointer_checks_1): Do not delete CC setter
2673 2004-02-25 Richard Henderson <rth@redhat.com>
2675 * explow.c (force_reg): Call mark_reg_pointer as appropriate.
2676 * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't
2677 use (op0-op1) == 0 if op0 is a pointer.
2678 * config/alpha/alpha.md (cmpdi): Use some_operand.
2679 (three comparison combine splits): Remove.
2681 2004-02-25 Richard Henderson <rth@redhat.com>
2684 * c-common.c (handle_alias_attribute): Reject the attribute if
2685 current_function_decl is set.
2687 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
2689 * config.gcc: Add comment describing extra_gcc_objs.
2690 i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs.
2691 * configure.ac (extra_gcc_objs): New substitution variable.
2692 (host_extra_gcc_objs): Don't substitute.
2693 * configure: Regenerate.
2694 * Makefile.in: Use extra_gcc_objs.
2696 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
2698 * doc/contrib.texi: Add an entry for myself.
2700 2004-02-25 Jan Hubicka <jh@suse.cz>
2702 * basic-block.h (make_eh_edge, break_superblocks): Declare.
2703 * cfgbuild.c (make_eh_edge): Make global.
2704 * cfglayout.c (break_superblocks): Likewise; fix memory leak.
2705 * except.c (build_post_landing_pads, connect_post_landing_pads,
2706 dw2_build_landing_pads, sjlj_emit_function_enter,
2707 sjlj_emit_function_exit, sjlj_emit_dispatch_table,
2708 sjlj_build_landing_pads): Update CFG.
2709 (emit_to_new_bb_before): New function.
2710 (finish_eh_generation): Do not rebuild the CFG.
2712 2004-02-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2714 * config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all
2715 target_cpu_default defines.
2716 * pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define.
2717 * pa.h (TARGET_DEFAULT): Likewise.
2719 2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr>
2721 * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
2722 comparisons with regard to signedness.
2724 2004-02-25 Richard Earnshaw <rearnsha@arm.com>
2726 * arm.c (thumb_legitimize_address): New function.
2727 * arm-protos.h: Prototype it.
2728 * arm.h (THUMB_LEGITIMIZE_ADDRESS): Define.
2729 (LEGITIMIZE_ADDRESS): Use it.
2731 2004-02-25 J"orn Rennecke <joern.rennecke@superh.com>
2733 * reload1.c (reload): Only spill eliminable register with multiple
2734 adjacent elimination alternatives if all alternatives fail.
2736 2004-02-25 Richard Earnshaw <rearnsha@arm.com>
2738 * arm.c (arm_legitimate_index_p): For QImode the range of an offset
2739 is -4095...+4095 inclusive.
2741 2004-02-25 Eric Botcazou <ebotcazou@libertysurf.fr>
2743 * doc/install.texi (sparc-sun-solaris2* specific notes): Document
2744 the bootstrap failure with Sun CC 5.4 and 5.5.
2746 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
2748 * cse.c (cse_change_cc_mode_insns): Stop at any instruction
2749 which modifies NEWREG.
2750 (cse_condition_code_reg): Update the mode of CC_REG in
2751 CC_SRC_INSN on our own.
2753 2004-02-24 Michael Matz <matz@suse.de>
2755 * config/i386/i386.c (ix86_comp_type_attributes): Check for
2758 2004-02-24 Richard Henderson <rth@redhat.com>
2760 * toplev.c (dump_file_tbl): Rename from dump_file.
2761 * bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c,
2762 cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c,
2763 config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c,
2764 config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c,
2765 loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c,
2766 ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c,
2767 toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c:
2768 s/rtl_dump_file/dump_file/g.
2770 2004-02-24 Aldy Hernandez <aldyh@redhat.com>
2772 * config/rs6000/spe.md (spe_fix_truncsfsi2): Delete.
2773 (spe_fixuns_truncsfsi2): Delete.
2775 * config/rs6000/rs6000.md (fix_truncsfsi2): Delete.
2776 (fixuns_truncsfsi2): Delete.
2778 2004-02-24 Josef Zlomek <zlomekj@suse.cz>
2781 * rtlanal.c (replace_label): Fix replacing labels in constant pool.
2783 2004-02-24 Geoffrey Keating <geoffk@apple.com>
2785 * config/darwin.h (TARGET_HAS_F_SETLKW): Define.
2787 2004-02-24 Jason Merrill <jason@redhat.com>
2789 * tree.c (check_qualified_type): New fn.
2790 (get_qualified_type): Use it. If type already has the desired
2791 quals, just return it.
2792 * tree.h: Declare it.
2794 2003-02-24 Sanjiv Kumar Gupta <sanjivg@noida.hcltech.com>
2796 * target-def.h (TARGET_SCHED_INIT_GLOBAL,
2797 TARGET_SCHED_FINISH_GLOBAL): New macros.
2799 * target.h (md_init_global, md_finish_global): Function
2800 declarations corresponding to new target macros.
2802 * haifa-sched.c (sched_init, sched_finish): Allow target to
2803 call the new schedular hooks.
2805 * flow.c (recompute_reg_usage): Add PROP_DEATH_NOTES flag in
2806 call to update_life_info.
2808 * config/sh/sh.h (OVERRIDE_OPTIONS): Re-enable
2809 flag_schedule_insns for SH4.
2811 * config/sh/sh.c (sh_md_init_global, sh_md_finish_global,
2812 find_set_regmode_weight, find_insn_regmode_weight,
2813 find_regmode_weight), sh_md_init, sh_dfa_new_cycle,
2814 sh_variable_issue, high_pressure, ready_reorder,
2815 rank_for_reorder, swap_reorder, sh_reorder, sh_reorder2): New
2816 functions used to throttle the insn movement in first
2817 scheduling pass for SH.
2819 * gcc/doc/tm.texi: Document TARGET_SCHED_INIT_GLOBAL and
2820 TARGET_SCHED_FINISH_GLOBAL.
2822 2004-02-24 Alexandre Oliva <aoliva@redhat.com>
2824 Implement FR-V FDPIC ABI support for frv-uclinux and frv-linux.
2825 2004-02-05 Alexandre Oliva <aoliva@redhat.com>
2826 * config/frv/frv.c (frv_emit_movsi): Use GOT relocations for
2827 symbols in sections named by the user.
2828 2004-01-30 Alexandre Oliva <aoliva@redhat.com>
2829 * config/frv/linux.h (TARGET_OS_CPP_BUILTINS): New.
2830 2004-01-27 Alexandre Oliva <aoliva@redhat.com>
2831 * config.gcc (frv-*-*linux*): Handle like *-*-linux*.
2832 * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove, obviated by
2834 2004-01-20 Alexandre Oliva <aoliva@redhat.com>
2835 * config/frv/frv.md (symGOT2reg_hilo, symGOTOFF2reg_hilo): Add
2836 one more pseudo to further improve code generation.
2837 2004-01-19 Alexandre Oliva <aoliva@redhat.com>
2838 * config/frv/frv.md (movdi_ldd): Introduce explicit indirection
2840 2004-01-16 Alexandre Oliva <aoliva@redhat.com>
2841 * config/frv/frv.c (frv_legitimate_address_p): Added
2842 allow_double_reg_p argument. Adjust all callers. Use it to
2843 decide whether to enable double-register indirect addressing.
2844 (frv_funcdesc_alias_set): Remove.
2845 (frv_expand_fdpic_call): Force non-SYMBOL_REF operand into
2846 register. Emit movdi_ldd.
2847 (ldd_address_operand): New.
2848 * config/frv/frv-protos.h (frv_legitimate_address_p): Adjust.
2849 * config/frv/frv.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
2850 (PREDICATE_CODES): Add ldd_address_operand.
2851 * config/frv/frv.md (movdi_ldd): New.
2852 (symGOT2reg_hilo, symGOTOFF2reg_hilo): Use separate pseudo for
2853 intermediate computations if possible.
2854 (symGOTOFF2reg_i): Fix harmless typo.
2855 2003-12-18 Alexandre Oliva <aoliva@redhat.com>
2856 * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Cast
2857 relocated p_vaddr to vaddr type.
2858 * config/frv/frv-protos.h (frv_expand_fdpic_call): Return void.
2859 * config/frv/frv.c (frv_get_funcdesc_alias_set): New.
2860 (frv_expand_fdpic_call): Propagate incoming MEM's expr to funcdesc
2861 MEM, or use a funcdesc alias set. Use regular move instead of
2863 (dbl_memory_one_insn_operand): Recognize function descriptors by
2864 type or by alias set, and don't split them.
2865 * config/frv/frv.md (call, call_value): Never use call_internal
2867 (call_internal, call_value_internal): Never match for FDPIC.
2868 (call_fdpicdi, call_fdpicsi, call_value_fdpicdi,
2869 call_value_fdpicsi): Require FDPIC.
2871 2003-12-17 Alexandre Oliva <aoliva@redhat.com>
2872 * config/frv/frv.h (CRT_GET_RFIB_DATA): Define for __FRV_FDPIC__.
2873 * unwind-dw2-fde-glibc.c: Don't include elf-fdpic.h any more.
2874 (_Unwind_IteratePhdrCallback): Adjust type of load_base for FRV
2875 FDPIC. Compute data base address.
2876 * config/frv/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Enable -mfdpic
2877 before the other self-specs are processed.
2878 * config/frv/t-linux (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
2880 2003-12-15 Alexandre Oliva <aoliva@redhat.com>
2881 * unwind-dw2-fde-glibc.c: Don't include bits/elf-fdpic.h if
2882 inhibit_libc is defined.
2883 2003-12-12 Alexandre Oliva <aoliva@redhat.com>
2884 * unwind-dw2-fde-glibc.c: Include bits/elf-fdpic.h for
2886 (__RELOC_POINTER): Define.
2887 (_Unwind_IteratePhdrCallback): Use it.
2888 * config/frv/frv.h (Twrite): Define.
2889 (TRANSFER_FROM_TRAMPOLINE): Use it.
2890 * config/frv/linux.h (INVOKE__main): Undefine.
2892 2003-12-05 Richard Sandiford <rsandifo@redhat.com>
2893 * doc/invoke.texi (-mlong-calls, -mlinked-fp): Document FRV options.
2894 (-mlibrary-pic): Emphasize that this option generates EABI code.
2897 2003-11-30 Alexandre Oliva <aoliva@redhat.com>
2898 * config/frv/frv.c (int_2word_operand): Reject LABELs, SYMBOL_REFs
2899 and CONSTs in FDPIC mode.
2900 * gcc/config.gcc (with_cpu): Default to fr400 on frv-*-*linux*.
2901 2003-11-29 Richard Sandiford <rsandifo@redhat.com>
2902 * config/frv/frv.c (move_source_operand): Don't accept symbolic
2904 * config/frv/frv.md (*movhi_internal, *movsi_internal): Use an 'n'
2905 rather than 'i' constraint for the 2-instruction alternative.
2906 (*movsi_2word): New, incorporating existing int_2word_operand splitter.
2907 2003-11-29 Richard Sandiford <rsandifo@redhat.com>
2908 * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Q): Renamed from
2909 EXTRA_CONSTRAINT_FOR_Y.
2910 (EXTRA_CONSTRAINT): Remove handling of 'Y'.
2911 * config/frv/frv.md (*movsi_internal): Remove 'Q' constraint.
2912 (addsi3): Change 'Y' constraint to 'Q'.
2913 2003-11-27 Richard Sandiford <rsandifo@redhat.com>
2914 * reload.c (CONST_POOL_OK_P): New macro.
2915 (find_reloads): Use it to decide whether a constant can be forced
2917 * config/frv/frv.h (LEGITIMATE_PIC_OPERAND_P): Return true if the
2918 constant satisfies got12_operand.
2919 (frv_cannot_force_const_mem): Always return true for TARGET_FDPIC.
2920 (frv_legitimate_address_p): Check for valid unspec offsets using
2921 got12_operand rather than frv_legitimate_fdpic_operand_p.
2922 (frv_legitimate_fdpic_operand_p): Delete.
2923 (frv_emit_movsi): Abort if we try to use the FDPIC register during
2925 (frv_legitimate_constant_p): Return LEGITIMATE_PIC_OPERAND_P if
2927 * config/frv/frv.md (*movdf_double): Add alternatives for CONST_DOUBLE.
2928 2003-11-19 Richard Sandiford <rsandifo@redhat.com>
2929 * config/frv/frv-protos.h (fdpic_operand, fdpic_got12_operand)
2930 (frv_fdpic_fptr_operand): Don't declare here.
2931 * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Y): Call got12_operand
2932 rather than fdpic_got12_operand.
2933 (PREDICATE_CODES): Remove symbolic_operand entry. Add entries for
2934 got12_operand and const_unspec_operand.
2935 * config/frv/frv.c (got12_operand): Renamed from fdpic_got12_operand.
2936 (gpr_or_int12_operand, dbl_memory_one_insn_operand): Update calls.
2937 (symbolic_operand): Remove.
2938 (const_unspec_operand): New predicate.
2939 * config/frv/frv.md (*movsi_got): Use got12_operand.
2940 (*movsi_high_got, *movsi_lo_sum_got): Use const_unspec_operand.
2941 2003-11-18 Richard Sandiford <rsandifo@redhat.com>
2942 * config/frv/frv-protos.h (frv_output_addr_const_extra): Remove.
2943 * config/frv/frv.h (OUTPUT_ADDR_CONST_EXTRA): Remove definition.
2944 * config/frv/frv.c (frv_unspec): New structure.
2945 (frv_small_data_reloc_p, frv_const_unspec_p): New functions.
2946 (frv_print_operand_memory_reference): Use frv_const_unspec_p to
2947 validate CONST indices. Use frv_output_const_unspec to print them.
2948 (frv_print_operand): Update call to unspec_got_name. Use
2949 frv_output_const_unspec to print constant unspecs.
2950 (frv_legitimate_fdpic_operand_p): Return true if frv_const_unspec_p.
2951 Reject UNSPECs otherwise.
2952 (unspec_got_name): Take the relocation number as argument, not an
2954 (frv_output_addr_const_extra): Remove, replacing with...
2955 (frv_output_const_unspec): ...this new function.
2956 (frv_find_base_term): Use frv_const_unspec_p & frv_small_data_reloc_p.
2957 (gpr_or_int12_operand): Use fdpic_got12_operand.
2958 (dbl_memory_one_insn_operand): Likewise.
2959 (fdpic_got12_operand): Use frv_const_unspec_p.
2960 (frv_emit_movsi): Use frv_const_unspec_p to check for CONSTs that
2961 are already legitimate. Use frv_small_data_reloc_p when deciding
2962 whether to use HIGH/LO_SUM for R_FRV_GOTOFF12 and R_FRV_GPREL12.
2963 2003-11-18 Alexandre Oliva <aoliva@redhat.com>
2964 * config/frv/t-linux (SHLIB_MAPFILES): Override so as to export...
2965 * config/frv/libgcc-frv.ver: ... frv-specific symbols. New file.
2966 * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
2967 label, for real this time.
2968 * config/frv/frv.c (frv_local_funcdesc_p): Update to new
2969 representation of visibility.
2970 (fdpic_got12_operand, symbolic_operand): Mark unused arguments as
2972 2003-11-17 Richard Sandiford <rsandifo@redhat.com>
2973 * config/frv/frv.h (MASK_LINKED_FP, TARGET_LINKED_FP): New macros.
2974 (TARGET_SWITCHES): Add -mlinked-fp and -mno-linked-fp.
2975 * config/frv/frv.c (frv_override_options): Set MASK_LINKED_FP unless
2976 it was explicitly disabled.
2977 (frv_stack_info): There is no need to save the link register in every
2978 frame unless TARGET_LINKED_FP is true.
2979 (frv_frame_pointer_required): If !TARGET_LINKED_FP, only require a
2980 frame pointer if the stack pointer might change value.
2981 (frv_return_addr_rtx): Check and process "count" argument.
2982 2003-11-14 Richard Sandiford <rsandifo@redhat.com>
2983 * config/frv/frv-protos.h (frv_legitimize_address): Remove.
2984 (frv_find_base_term): Declare.
2985 * config/frv/frv.h (LEGITIMIZE_ADDRESS): Do nothing.
2986 (FIND_BASE_TERM): Define.
2987 (PREDICATE_CODES): Remove pic_register_operand, pic_symbolic_operand,
2988 small_data_register_operand, small_data_symbolic_operand. Add
2990 * config/frv/frv.c (const_small_data_p, plus_small_data_p): Delete.
2991 (frv_print_operand_memory_reference, output_move_single): Remove
2992 special handling for unlegitimized sdata addresses.
2993 (frv_legitimate_address_p): Don't allow sums of SDA_BASE_REG
2994 and symbolic addresses.
2995 (frv_legitimize_address, frv_legitimize_fdpic_address): Delete.
2996 (frv_find_base_term): New function.
2997 (int_2word_operand): Check specifically for symbolic address constants.
2998 (pic_register_operand, pic_symbolic_operand): Delete.
2999 (small_data_register_operand, small_data_symbolic_operand): Delete.
3000 (dbl_memory_one_insn_operand): Don't call plus_small_data_p.
3001 Allow UNSPEC_GOT constants if !TARGET_FDPIC.
3002 (move_source_operand): Only accept CONSTs if they're a two-insn
3004 (fdpic_got12_operand): Don't require TARGET_FDPIC.
3005 (frv_emit_movsi): Legitimize sdata and -mlibrary-pic addresses
3006 using gen_symGOTOFF2reg*.
3007 (frv_ifcvt_rewrite_mem): Remove (plus gr16 ...) special cases.
3008 (frv_rtx_costs): Give all MEM addresses a cost of 0. Give MEMs
3009 themselves a cost of 3 insns.
3010 * config/mips/mips.md (*movsi_got): Allow for !TARGET_FDPIC too.
3011 Change predicate to symbolic_operand.
3012 (*movsi_high_got, *movsi_lo_sum_got): Likewise.
3013 (*movsi_lda_sdata): Delete.
3014 (*movsi_pic, movsi_high_pic, movsi_lo_sum_pic): Delete.
3015 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
3016 * config.gcc: Add t-slibgcc-elf-ver and support --with-cpu for
3018 * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
3020 * config/frv/frv.h (DRIVER_SELF_SPECS): Add blank before
3021 -multilib-library-pic.
3022 (LINK_SPEC): Add -z text for -mfdpic.
3023 * config/frv/frvbegin.c (__ROFIXUP_LIST__): Don't define on FDPIC.
3024 * config/frv/frvend.c (__ROFIXUP_END__): Likewise.
3025 * config/frv/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC):
3027 (OPTION_DEFAULT_SPECS, HAS_INIT_SECTION, INIT_SECTION_ASM_OP,
3028 FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): Define.
3029 * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Use
3030 crtstuff-generated files.
3031 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
3032 * config.gcc: Add frv-*-*linux*.
3033 * config/frv/linux.h, config/frv/t-linux: New.
3034 2003-10-06 Alexandre Oliva <aoliva@redhat.com>
3035 * config/frv/frv.h (LINK_SPEC): Pass -melf32frvfd to the linker
3036 when -mfdpic even if a linker script is explicitly listed.
3037 2003-10-02 Alexandre Oliva <aoliva@redhat.com>
3038 * config/frv/frv.c (frv_override_options): Clear asm_out
3039 unaligned_op for SImode on FDPIC.
3040 (frv_emit_movsi): Use compute_reloc_for_constant to compute the
3041 argument passed to decl_readonly_section.
3042 (frv_assemble_integer): Revert 2003-09-30's change, but make the
3043 whole block run with FDPIC even with -fno-PIC.
3044 2003-10-02 Alexandre Oliva <aoliva@redhat.com>
3045 * config/frv/frv.c (frv_cannot_force_const_mem): Don't force
3046 symbol or label plus offset to memory.
3047 (frv_emit_movsi): Emit GPREL only if -mgprel-ro. Emit 32-bit
3048 GOTOFF and GPREL for LABEL_REF.
3049 * config/frv/frv.h (DRIVER_SELF_SPECS): Add -mgprel-ro with
3050 -mfdpic unless -mno-gprel-ro, -fpic or -fpie.
3051 (MASK_GPREL_RO, TARGET_GPREL_RO): New.
3052 (TARGET_SWITCHES): Added gprel-ro and no-gprel-ro.
3053 * doc/invoke.texi: Document them.
3054 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
3055 * config/frv/frv-protos.h (frv_gen_GPsym2reg): Declare.
3056 (frv_splittable_got_operand): Removed.
3057 * config/frv/frv.c (frv_cannot_force_const_mem): Reject HIGH and
3058 LO_SUM. Add comments.
3059 (frv_override_options): Moved enabling of FDPIC to
3060 DRIVER_SELF_SPECS. Don't enable MASK_DWORD.
3061 (frv_local_funcdesc_p): Remove unnecessary heck for flag_pie.
3062 (frv_legitimize_fdpic_address): Don't duplicate logic in
3064 (frv_gen_GPsym2reg): New.
3065 (unspec_got_name): Added gprel.
3066 (frv_expand_fdpic_call): Add support for inlining PLTs.
3067 (fdpic_fptr_operand): Renamed from frv_fdpic_fptr_operand.
3068 (gpr_or_int12_operand): Added GPREL12.
3069 (pic_symbolic_operand): Match even if !flag_pic for FDPIC.
3070 (small_data_symbolic_operand): Fail if FDPIC.
3071 (fdpic_splittable_got_operand): Removed.
3072 (fdpic_got12_operand): Added GPREL12.
3073 (frv_emit_movsi): Reorganize to avoid duplication. Emit GPREL
3074 when appropriate. Fix sdata GOTOFF.
3075 (frv_legitimate_constant_p): Require legitimate PIC operand for
3076 FDPIC with pic, but only a legitimate fdpic operand for non-pic.
3077 (frv_assemble_integer): Move FDPIC funcdesc handling out of
3079 (frv_asm_out_constructor, frv_asm_out_destructor): Abort if
3080 frv_assemble_integer fails.
3081 * config/frv/frv.h (DRIVER_SELF_SPECS): New.
3082 (SUBTARGET_DRIVER_SELF_SPECS): New.
3083 (ASM_SPEC): Don't pass -mno-fdpic.
3084 (LINK_SPEC): Pass -melf32frvfd for FDPIC.
3085 (MASK_INLINE_PLT, TARGET_INLINE_PLT): New.
3086 (TARGET_SWITCHES): Add -minline-plt, -mno-inline-plt and
3087 -multilib-library-pic.
3088 (PREDICATE_CODES): Added fdpic_operand, fdpic_fptr_operand,
3089 condexec_si_media_operator, condexec_sf_add_operator and
3090 condexec_sf_conv_operator. Removed condexec_sf_binary_operator
3091 and condexec_sf_unary_operator.
3092 * config/frv/frv.md (R_FRV_GPREL12, R_FRV_GPRELHI, R_FRV_GPRELLO):
3094 (movsi_got, movsi_high_got, movsi_lo_sum_got): Move before
3095 movsi_internal. Give them internal names. movsi_got has type
3097 (fdpic got splitters): Remove.
3098 (symGPREL2reg, symGPREL2reg_hilo): New.
3099 * config/frv/t-frv (MULTILIB_MATCHES): Don't map -fpic and -fPIC
3100 to -mlibrary-pic. Map -multilib-library-pic to it.
3101 * doc/invoke.texi: -mfdpic, -minline-plt, -multilib-library-pic:
3103 2003-09-28 Alexandre Oliva <aoliva@redhat.com>
3104 * config/frv/frv.c (frv_function_symbol_referenced_p): Declare.
3105 (TARGET_CANNOT_FORCE_CONST_MEM): Define to...
3106 (frv_cannot_force_const_mem): New function.
3107 (const_small_data_p, plus_small_data_p): Update comments on sdata
3109 (frv_override_options): Set flag_pie for FDPIC too.
3110 (frv_conditional_register_usage): Mark gr16 and gr17 as non-fixed,
3111 call-saved registers on FDPIC.
3112 (frv_stack_info): Don't preserve the PIC register on FDPIC, and
3113 don't force LR to be preserved.
3114 (frv_expand_prologue): Likewise.
3115 (frv_asm_output_mi_thunk): Use 12-bit funcdesc gotoff for -fpic.
3116 (frv_frame_pointer_required): Don't force it just because the
3117 FDPIC register is used.
3118 (frv_legitimate_address_p) <CONST>: Accept a legitimate FDPIC
3119 operand only if !condexec_p.
3120 (frv_legitimize_address): Return the FDPIC-legitimized address.
3121 Don't match small data here on FDPIC.
3122 (frv_legitimate_fdpic_operand_p): Don't accept unadorned function
3123 symbols. Use TRUE/FALSE instead of 1/0.
3124 (frv_local_funcdesc_p): New.
3125 (frv_legitimize_fdpic_address): Rewrite to use GOTOFF and 12-bit
3126 immediates when possible.
3127 (pic_symbolic_operand): Accept SYMBOL_REFs and CONSTs in FDPIC.
3128 (dbl_memory_one_insn_operand): Accept addresses that add a REG and
3130 (frv_emit_movsi): Handle FDPIC before small data. Use GOTOFF and
3131 12-bit immediates when possible.
3132 (frv_legitimate_constant_p): In FDPIC, reject SImode operands that
3133 are not legitimate pic operands.
3134 (frv_in_small_data_p): Re-enable for FDPIC.
3135 * config/frv/frv.h (SDA_BASE_REG): Remove comment about FDPIC.
3136 (FRV_GLOBAL_P): Removed.
3137 * config/frv/frv.md: Add modes to CONSTs.
3139 (movsi_lo_sum_got): Use separate matches instead of match_dup.
3140 (movsi_high_pic, movsi_lo_sum_pic): Match on non-FDPIC only.
3141 (fdpic splittable operations): Match on flag_pic != 1.
3142 2003-09-22 Alexandre Oliva <aoliva@redhat.com>
3143 * config/frv/frv.c (frv_asm_out_constructor,
3144 frv_asm_out_destructor): Pass to frv_assemble_integer the size in
3146 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
3147 * config/frv/frv.c (frv_assemble_integer): Reject complex
3148 expressions referencing function SYMBOL_REFs.
3149 * config/frv/frv.c (frv_function_symbol_referenced_p): New.
3150 (move_source_operand): Reject CONSTs that reference function
3151 SYMBOL_REFs on FDPIC.
3152 (frv_emit_movsi): If we get such a CONST, break it up.
3153 * config/frv/frv.h (CPP_SPEC): Define __FRV_FDPIC__ for -mfdpic.
3154 (TRANSFER_FROM_TRAMPOLINE): Use different definitions for FDPIC.
3155 * config/frv/frv.c (frv_print_operand) <I>: Recognize PLUS without
3157 (frv_assemble_integer): Don't use funcdesc for LABEL_REFs.
3158 (frv_trampoline_size): Increase for FDPIC.
3159 * config/frv/frv.h (TRAMPOLINE_ALIGNMENT): Bump to 64 for FDPIC.
3160 (TRANSFER_FROM_TRAMPOLINE): Handle FDPIC trampolines.
3161 * config/frv/frv.c (frv_legitimize_fdpic_address, frv_emit_movsi):
3162 Disable use of GOTOFF for now.
3163 (const_small_data_p, plus_small_data_p, frv_in_small_data_p):
3164 Disable use of small data in FDPIC for now.
3165 (frv_asm_output_mi_thunk): Implement for FDPIC.
3166 * config/frv/frv.h (SDA_BASE_REG): Set to -1 with FDPIC.
3167 * config/frv/frv.c (frv_asm_out_constructor): Use
3168 frv_assemble_integer for FDPIC pointers.
3169 (frv_asm_out_destructor): Likewise.
3170 * config/frv/frv.md (ldd): Fix order of operands. Use
3171 address_operand for input.
3172 2003-09-18 DJ Delorie <dj@redhat.com>
3173 * config/frv/frv.c (frv_legitimate_fdpic_operand_p): Remove UNSPEC_PIC.
3174 (unspec_got_name): Correct typo.
3175 (frv_emit_movsi): Pre-expand splittable GOTs.
3176 (frv_expand_fdpic_call): Rename gen_lddi to gen_ldd.
3177 * config/frv/frv.md (lddi): Fix syntax error, rename to ldd.
3178 (symGOT2reg_hilo, symGOTOFF2reg_hilo): New.
3179 * config/frv/t-frv: Add -mfdpic multilibs.
3180 * config/frv/frv.h (ASM_SPEC): Pass -mfdpic/-mno-fdpic.
3181 (TARGET_SWITCHES): Add -mno-fdpic, fix documentation.
3182 * config/frv/frv.c (frv_override_options): -mfdpic assumes
3183 flag_pic, default to 32-bit pics, require DWORD ops.
3184 (frv_override_options): Add W and Z constraints.
3185 (frv_expand_prologue): No pic prologue for -mfdpic.
3186 (frv_asm_output_mi_thunk): Support -mfdpic (soon).
3187 (frv_print_operand_memory_reference): Handle GOT constants.
3188 (frv_legitimate_address_p): Allow GOT constants.
3189 (frv_legitimize_address): Handle GOT addresses too.
3190 (frv_legitimate_fdpic_operand_p): New.
3191 (frv_legitimize_fdpic_address): New.
3192 (unspec_got_name): New.
3193 (frv_output_addr_const_extra): New.
3194 (frv_expand_fdpic_call): New.
3195 (frv_fdpic_fptr_operand): New.
3196 (gpr_or_int12_operand): Handle GOT operands.
3197 (int_2word_operand): Handle GOT operands.
3198 (fdpic_operand): New.
3199 (fdpic_splittable_got_operand): New.
3200 (fdpic_got12_operand): New.
3201 (frv_emit_movsi): Handle GOT operands.
3202 (frv_assemble_integer): -mfdpic doesn't use rofixups.
3203 (frv_print_operand): Support 'g' code for GOT operands.
3204 * config/frv/frv-protos.h: Add prototypes as needed.
3205 * config/frv/frv.md (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO,
3206 R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI,
3207 R_FRV_FUNCDESC_GOTLO, R_FRV_FUNCDESC_VALUE,
3208 R_FRV_FUNCDESC_GOTOFF12, R_FRV_FUNCDESC_GOTOFFHI,
3209 R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, R_FRV_GOTOFFHI,
3210 R_FRV_GOTOFFLO): New.
3211 (movsi_high_got, movsi_lo_sum_got): New.
3212 (*movsi_pic): Don't use this splitter for -mfdpic.
3213 (addsi3): Allow GOT references also.
3214 (call, call_value): Handle -mfdpic separately.
3215 (call_fdpicdi, call_fdpicsi, lddi, call_value_fdpicdi,
3216 call_value_fdpicsi): New.
3217 (symGOT2reg, symGOT2reg_i, got splitters, symGOTOFF2reg,
3218 symGOTOFF2reg_i): New.
3219 * config/frv/frv.h (MASK_FDPIC): New.
3220 (TARGET_FDPIC): New.
3221 (TARGET_SWITCHES): Add -mfdpic.
3222 (FDPIC_FPTR_REGNO): New.
3224 (OUR_FDPIC_REG): New.
3225 (enum reg_class): Add FDPIC_REGS, FDPIC_FPTR_REGS, and
3227 (REG_CLASS_NAMES): Likewise.
3228 (REG_CLASS_CONTENTS): Likewise.
3229 (EXTRA_CONSTRAINT_FOR_Y): New, for 12-bit GOTs.
3230 (EXTRA_CONSTRAINT): Add it here.
3231 (FRV_GLOBAL_P): New.
3232 (OUTPUT_ADDR_CONST_EXTRA): New.
3234 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
3236 * config/sparc/sparc.h: Remove commented-out definitions of
3237 TARGET_EDOM and GEN_ERRNO_RTX.
3239 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
3241 * df.c, df.h, ra-build.c, ra-rewrite.c, ra.c, web.c: Replace
3242 df_analyse with df_analyze.
3244 2004-02-24 Alan Modra <amodra@bigpond.net.au>
3246 * gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
3249 2004-02-23 James E Wilson <wilson@specifixinc.com>
3251 * calls.c (precompute_arguments): Update comment.
3253 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
3255 * et-forest.c: Replace et_occurences with et_occurrences.
3257 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
3259 * cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse
3262 2004-02-23 Kelley Cook <kcook@gcc.gnu.org>
3264 * config/i386/i386.c: Rename pni to sse3.
3265 * config/i386/i386.h: Likewise.
3266 * config/i386/i386.md: Likewise.
3267 * config/i386/pmmintrin.h: Likewise.
3268 * doc/extend.texi: Likewise.
3269 * doc/invoke.texi: Likewise.
3271 2004-02-23 Zack Weinberg <zack@codesourcery.com>
3272 Kazu Hirata <kazu@cs.umass.edu>
3274 Remove -fwritable-strings.
3275 * c-common.c (fix_string_type): Don't check
3276 flag_writable_strings.
3277 (fix_string_type): Likewise.
3278 * c-opts.c (set_std_c89): Don't initialize
3279 flag_writable_strings.
3280 (set_std_c99): Likewise.
3281 * common.opt (fwritable-strings): Remove.
3282 * flags.h: Remove the external declaration of
3283 flag_writable_strings.
3284 * opts.c (common_handle_option) <OPT_fwritable_strings>:
3286 * toplev.c (flag_writable_strings): Remove.
3287 (f_options): Remove an entry for writable-strings.
3288 * varasm.c (const_hash_1) <STRING_CST>: Don't check
3289 flag_writable_strings.
3290 (compare_constant) <STRING_CST>: Likewise.
3291 (build_constant_desc): Likewise.
3292 * config/darwin.c (machopic_select_section): Likewise.
3293 * config/arm/arm.c (AOF_ASSEMBLER): Likewise.
3294 * config/arm/pe.c (arm_pe_encode_section_info): Likewise.
3295 * config/iq2000/iq2000.c (iq2000_select_section): Likewise.
3296 * config/mips/mips.c (mips_select_section): Likewise.
3297 (mips_encode_section_info): Likewise.
3298 * config/pa/pa.c (pa_select_section): Likewise.
3299 * config/pa/pa.h (TEXT_SPACE_P): Likewise.
3300 * config/v850/v850.c (v850_select_section): Likewise.
3301 * doc/invoke.texi (-fwritable-strings): Remove.
3302 (-fno-const-strings): Don't mention -fwritable-strings.
3303 * doc/trouble.texi: Don't mention -fwritable-strings.
3305 2003-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
3307 * doc/install.texi: Update for switch of boehm-gc to autoconf 2.57.
3309 2004-02-23 Dale Johannesen <dalej@apple.com>
3311 * config/rs6000.md (movsf_hardfloat): Add POWER form of nop.
3312 (movdf_hardfloat64): Ditto.
3313 (movdf_softfloat64): Ditto.
3315 2004-02-23 Fariborz Jahanian <fjahanian@apple.com>
3316 * config/rs6000/rs6000.c (function_arg): call to
3317 rs6000_mixed_function_arg for DFmode moved to allow
3318 normal DFmode incoming register assignment.
3320 2004-02-23 Dale Johannesen <dalej@apple.com>
3322 * config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy.
3323 (movdf_hardfloat64): Ditto.
3325 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
3327 * convert.c, gcov-io.c, libgcov.c, sched-int.h, sibcall.c,
3328 config/rs6000/linux.h, config/rs6000/rs6000-c.c: Update
3331 2004-02-23 Andrew Pinski <pinskia@physics.uc.edu>
3334 * c-typeck.c (c_expand_return): Change check for VAR_DECL
3335 to use DECL_P instead.
3337 * config/rs6000/linux.h (OS_MISSING_POWERPC64): Define.
3338 * config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define.
3340 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
3342 * Makefile.in (opts.o): Depend on target.h.
3343 * opts.c (decode_options): Use targetm.default_short_enums
3344 instead of DEFAULT_SHORT_ENUMS.
3345 * system.h (DEFAULT_SHORT_ENUMS): Poison.
3346 * target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New.
3347 (TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS.
3348 * target.h (gcc_target): Add default_short_enums.
3349 * config/cris/cris.h: Remove a comment about
3350 DEFAULT_SHORT_ENUMS.
3351 * config/ip2k/ip2k.h: Likewise.
3352 * doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to
3353 TARGET_DEFAULT_SHORT_ENUMS. Update the description.
3355 2004-02-23 Eric Botcazou <ebotcazou@libertysurf.fr>
3356 Falk Hueffner <falk@debian.org>
3359 * builtins.c (expand_builtin_va_arg): Emit an informative message
3360 if a trap is generated.
3361 * c-typeck.c (build_function_call): Likewise.
3363 2004-02-22 Jakub Jelinek <jakub@redhat.com>
3365 * gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of
3367 * libgcov.c: Include sys/stat.h.
3368 * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define.
3369 * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define.
3370 * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define.
3371 * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define.
3373 2004-02-22 Kazu Hirata <kazu@cs.umass.edu>
3375 * reorg.c: Remove comments about dead ports.
3377 2004-02-22 Christopher Faylor <cgf@redhat.com>
3379 * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify
3380 extra host object file when targetting cygwin rather than generic
3383 2004-02-22 Josef Zlomek <zlomekj@suse.cz>
3385 Merge from tree-ssa:
3386 2003-11-20 Richard Henderson <rth@redhat.com>
3388 * tree-inline.c (insert_decl_map): New.
3389 (remap_decl, remap_type, remap_block, copy_body_r,
3390 initialize_inlined_parameters, declare_return_variable,
3391 remap_save_expr): Use it.
3393 * function.c (copy_body_r): Add mapping from id->ret_label to
3394 id->ret_label. Revert test for ret_label.
3396 2004-02-22 Jakub Jelinek <jakub@redhat.com>
3398 * genoutput.c (process_template): Strip trailing whitespace in @
3399 templates and issue a warning if there was any.
3401 2004-02-21 Christopher Faylor <cgf@redhat.com>
3403 * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host
3404 object file when targetting cygwin.
3405 * config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is
3406 overridden by top-level Makefile.
3408 2004-02-21 Roger Sayle <roger@eyesopen.com>
3410 * config/i386/i386.c (standard_80387_constant_p): Also prefer
3411 the x87's load constant instructions when optimizing for size.
3413 2004-02-21 Kazu Hirata <kazu@cs.umass.edu>
3415 * combine.c (SHIFT_COUNT_TRUNCATED): Remove.
3416 * defaults.h (SHIFT_COUNT_TRUNCATED): Provide the default.
3417 * expmed.c: Assume SHIFT_COUNT_TRUNCATED is always defined.
3418 * fold-const.c: Likewise.
3419 * simplify-rtx.c: Likewise.
3421 2004-02-21 Alan Modra <amodra@bigpond.net.au>
3423 * combine.c (can_combine_p): Don't ignore SETs marked with
3424 REG_EH_REGION notes.
3425 (try_combine): When attemting to fix unrecognized insns, don't
3426 split a PARALLEL that contains the original i2.
3428 2004-02-21 Ziemowit Laski <zlaski@apple