1 2006-08-06 Paolo Bonzini <bonzini@gnu.org>
5 * conffig/i386/i386.md: Add peephole2 to avoid "fld %st"
8 2006-08-06 Andreas Schwab <schwab@suse.de>
10 * config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
11 string. Whitespace and comment fixup.
13 2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
16 * c-decl.c (validate_proto_after_old_defn): Return false on invalid
20 * c-typeck.c (build_modify_expr): Test earlier for non-lvalues.
23 * c-parser.c (c_parser_postfix_expression_after_paren_type): Robustify.
25 2006-08-04 Jan Hubicka <jh@suse.cz>
29 * reload.c (push_reload): Patch out the mismatching instruction;
31 (find_reload): Bail out if the instruction was patched out.
33 2006-08-04 Jan Hubicka <jh@suse.cz>
35 PR tree-optimization/24888
36 * tree-inline.c (expand_call_inline): Do not re-record variables.
37 (declare_inline_vars): Add variable to unexpanded_var_list.
39 2006-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
40 Roger Sayle <roger@eyesopen.com>
42 PR rtl-optimization/26244
43 * cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or
44 inner_const are negative or greater than or equal to the bitsize of
45 MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated.
46 Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1.
47 Simplify complicated if statement. For ASHIFT and LSHIFTRT, return
48 CONST0_RTX (mode) when the new shift count is greater than or equal to
49 to the bitsize of the object being shifted and XEXP (y, 0) has no side
52 2006-08-04 Kazu Hirata <kazu@codesourcery.com>
54 * tree-cfg.c: Fix a comment typo.
56 2006-08-03 Mark Mitchell <mark@codesourcery.com>
59 * varasm.c (output_constant): Give the front end another chance to
60 expand constants, after stripping NOPs.
62 2006-08-03 Jan Hubicka <jh@suse.cz>
64 * domwalk.c (walk_dominator_tree): Reorganize to non-recursive
67 2006-08-03 Dorit Nuzman <dorit@il.ibm.com>
69 PR tree-optimization/27770
70 * tree-vectorizer.h (get_vectype_for_scalar_type): Function
71 declaration removed (moved to tree-flow.h).
72 (vect_can_force_dr_alignment_p): Likewise.
73 * tree-flow.h (get_vectype_for_scalar_type): New function declaration
74 (moved from tree-vectorizer.h).
75 (vect_can_force_dr_alignment_p): Likewise.
76 * tree-vectorizer.c (vect_print_dump_info): Allow calling this function
77 from outside the vectorizer - in particular from cgraph stage.
78 * tree-vect-analyze.c (vect_compute_data_ref_alignment): Don't increase
79 the alignment of global arrays when -fsection-anchors is enabled.
80 * cgraphunit.c (cgraph_increase_alignment): New function.
81 (cgraph_optimize): Call cgraph_increase_alignment.
83 2006-08-03 David Edelsohn <edelsohn@gnu.org>
86 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
87 not reload a SPE symbol_ref into a lo_sum address.
89 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
92 * dwarf2out.c (prune_unused_types_prune): Move call to
93 prune_unused_types_update_strings to cover the parent DIE also.
95 2006-08-02 Jan Hubicka <jh@suse.cz>
98 * tree-cfg.c (change_bb_for_stmt): New function.
99 (tree_merge_blocks, tree_split_blocks): Use it.
101 2006-08-01 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
107 * toplev.c (compile_file): Return early on errorcount or sorrycount.
108 * cgraphunit.c (cgraph_finalize_compilation_unit): Likewise.
109 (cgraph_optimize): Likewise.
111 2006-08-01 Stuart Hastings <stuart@apple.com>
113 * rtl.h (UINTVAL) New.
114 * config/rs6000/rs6000.c (SMALL_INT) Use it.
115 * testsuite/gcc.dg/20060801-1.c: New.
117 2006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
120 * c-typeck.c (build_external_type): Mark used enum types.
121 * dwarf2out.c (dwarf2out_abstract_function): Save and restore
123 (gen_subprogram_die): Whitespace fix.
125 2006-08-01 Jan Hubicka <jh@suse.cz>
127 * tree-outof-ssa.c (check_replaceable): Do not allocate def_vars
128 bitmap when not needed.
129 * tree-ssa-pre.c (bitmap_set_and, bitmap_set_and_compl): Free temporary
132 2006-08-01 Dirk Mueller <dmueller@suse.de>
134 * tree-vrp.c (fix_equivalence_set): Avoid bitmap memory leak.
136 2006-07-31 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
138 * Makefile.in: Revert part of previous patch:
139 Replace $(VARRAY_H) by varray.h in definition of BASIC_BLOCK_H
142 2006-07-30 Eric Christopher <echristo@apple.com>
145 * doc/extend.texi (i386 Variable Attributes): Add anchor.
146 (PowerPC Variable Attributes): New section.
148 2006-07-30 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
150 PR target/28126 (partial fix)
151 * config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.
153 2006-07-28 Jan Hubicka <jh@suse.cz>
155 PR rtl-optimization/28071
156 * cfgrtl.c (rtl_delete_block): Free regsets.
157 * flow.c (allocate_bb_life_data): Re-use regsets if available.
159 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
161 * Makefile.in: Use $(HEADER_H) instead of header.h in dependencies
162 and variables used in dependencies.
164 2006-07-27 Arjan van de Ven <arjan@linux.intel.com>
166 * config/i386/i386.md (stack_tls_protect_set_di) Use %gs rather than
167 %fs for -mcmodel=kernel.
168 (stack_tls_protect_test_di): Likewise.
170 2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
172 * Makefile.in: Use mkinstalldirs.
174 2006-07-27 H.J. Lu <hongjiu.lu@intel.com>
177 * opts-common.c (prune_options): Skip joined switches.
179 2006-07-27 Jan Hubicka <jh@suse.cz>
181 PR rtl-optimization/28071
182 * cselib.c (cselib_process_insn): Don't remove useless values too
183 often for very large hashtables.
185 2006-07-27 Jan Hubicka <jh@suse.cz>
187 PR rtl-optimization/28071
188 * global.c (greg_obstack): New obstack.
189 (allocate_bb_info): Use it.
190 (free_bb_info): Likewise.
191 (modify_reg_pav): Likewise.
193 2006-07-27 Roger Sayle <roger@eyesopen.com>
195 * builtins.c (fold_fixed_mathfn): When long and long long are the
196 same size, canonicalize llceil*, llfloor*, llround* and llrint*
197 functions to their lceil*, lfloor*, lround* and lrint* forms.
199 2006-07-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
202 * config/m32r/m32r.md (branch_insn): Reduce pc range for short
204 (rev_branch_insn): Likewise.
206 2006-07-27 Jan Hubicka <jh@suse.cz>
208 PR rtl-optimization/28071
209 * regmove.c (reg_is_remote_constant_p): Avoid quadratic behaviour.
210 (reg_set_in_bb, max_reg_computed): New static variables.
211 (regmove_optimize): Free the new array.
212 (fixup_match_1): Update call of reg_is_remote_constant_p.
214 2006-07-26 Jan Hubicka <jh@suse.cz>
216 PR tree-optimization/27882
217 * cgraph.c (cgraph_remove_node): Clear needed, reachable, next, previous
219 * cgraphunit.c (cgraph_reset_node): Expect cgraph_remove_node to kill
221 (cgraph_analyze_compilation_unit): Likewise.
222 * ipa.c (cgraph_remove_unreachable_nodes): Likewise.
223 * ipa-inline.c (cgraph_decide_recursive_inlining): Likewise.
224 (cgraph_early_inlinine): Make order garbage collected.
225 * Makefile.in (gt-ipa-inline): New garbagecollected file.
227 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
229 * dbxout.c (output_types_sort): Add a comment.
230 (output_used_types): Free the VEC.
232 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
234 * function.c (reorder_fix_fragments): Delete.
235 (reorder_blocks): Don't call it.
236 (reorder_blocks_1): Put all subblocks under the origin block.
238 2006-07-26 Zdenek Dvorak <dvorakz@suse.cz>
240 PR rtl-optimization/27907
241 * expr.c (force_operand): Use convert_move to handle FLOAT_EXTEND and
244 2006-07-25 Roger Sayle <roger@eyesopen.com>
247 * convert.c (convert_to_integer): When transforming (T)foo(x) into
248 bar(x) check that bar's result type can represent all the values of T.
250 2006-07-25 Zdenek Dvorak <dvorakz@suse.cz>
252 * tree-chrec.c (chrec_convert_aggressive): Return NULL on failure.
254 2006-07-25 Nick Clifton <nickc@redhat.com>
256 * ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the
258 (ggc_alloc_stat): Use NUM_SIZE_LOOKUP.
259 (ggc_pch_count_object): Likewise.
260 (ggc_pch_alloc_object): Likewise.
261 (ggc_pch_write_object): Likewise.
262 (init_ggc): Do not attempt to initialize entries in the
263 size_lookup[] array for objects whose size is greater than than
264 the length of the array.
266 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
268 * dbxout.c (output_used_types_helper): Push queued types
270 (output_types_sort): New.
271 (output_used_types): Collect used types on a VEC and sort them
274 2006-07-24 Richard Guenther <rguenther@suse.de>
277 * cgraph.c (cgraph_remove_node): Do not check if dumps
279 * cgraphunit.c (cgraph_optimize): Likewise.
281 2006-07-24 Jan Hubicka <jh@suse.cz>
283 PR rtl-optimization/28071
284 * tree-cfg.c (tree_split_block): Do not allocate new stmt_list nodes.
285 * tree-iterator.c (tsi_split_statement_list_before): Do not crash when
286 splitting before first stmt.
288 2006-07-24 Jan Hubicka <jh@suse.cz>
290 PR rtl-optimization/28071
291 * ipa-inline.c (update_caller_keys): Remove edges that
292 are no longer inline candidates.
294 2006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
297 * dbxout.c (output_used_types_helper, output_used_types): New.
298 (dbxout_symbol): Call output_used_types.
300 2006-07-23 Jan Hubicka <jh@suse.cz>
304 * cgraph.c (cgraph_varpool_nodes): Export.
305 (decide_is_variable_needed): Ignored "used" attribute in
307 * cgraph.h (cgraph_varpool_nodes): Declare.
308 * cgraphunit.c (decide_is_function_needed): Ignored "used" attribute in
311 2006-07-23 Roger Sayle <roger@eyesopen.com>
314 * gthr-solaris.h: Prototype __gthrw forms of thr_self, mutex_init and
315 mutex_destroy even when !_LIBOOBJC. Remove duplicate prototype of
316 the __gthrw form of thr_keycreate.
317 (__gthread_key_delete): Silence the unused argument warning.
319 2006-07-23 Steven Bosscher <steven@gcc.gnu.org>
322 * config/elfos.h (ASM_OUTPUT_ASCII): Remove 'register' marks.
323 Cache the last found '\0' marker to avoid quadratic behavior.
325 2006-07-23 Jan Hubicka <jh@suse.cz>
327 * i386.md (subsi_3_zext): Fix output template.
329 2006-07-21 Mike Stump <mrs@apple.com>
331 * doc/invoke.texi (C++ Dialect Options): Note that
332 -fvisibility-inlines-hidden doesn't affect explicitly
333 instantiationed inline methods.
335 2006-07-20 Roger Sayle <roger@eyesopen.com>
337 * config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file
338 if the target assembler is GNU binutils' gas.
339 * config/i386/sol2-10.h (ASM_SPEC): Check USE_GAS to determine
340 whether to pass GNU gas or native as command line options.
342 2006-07-20 Jason Merrill <jason@redhat.com>
344 * tree.c (remove_attribute): New fn.
345 * tree.h: Declare it.
347 2006-07-20 Paul Brook <paul@codesourcery.com>
350 * cse.c (cse_insn): Add destination addresses to hash table. Check if
351 they are invalidated by this instruction.
353 2006-07-21 Danny Smith <dannysmith@users.sourceforge.net>
356 * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
358 2006-07-20 Eric Christopher <echristo@apple.com>
361 * config/i386/i386.h (OPTION_DEFAULT_SPECS): Reorder.
363 2006-07-19 Eric Christopher <echristo@apple.com>
365 * config/t-slibgcc-darwin (stmp-lipo): Remove.
366 Rewrite dependencies for libgcc_s.1.dylib.
368 2006-07-19 Jakub Jelinek <jakub@redhat.com>
370 * except.c (duplicate_eh_regions_1): Clear next_peer.
372 2006-07-17 Nathan Sidwell <nathan@codesourcery.com>
374 * doc/invoke.texi (RS/6000 and PowerPC Options): Document that
375 -mlongcall does not guarantee all calls will be long.
376 * doc/extend.texi (long_call/short_call): Document that longcall
377 does not guarantee a long call will be used.
378 (longcall/shortcall): Likewise.
380 2006-07-18 Roger Sayle <roger@eyesopen.com>
383 * expmed.c (expand_shift): Additionally check that the shift_cost
384 is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
385 before implementing a LSHIFT_EXPR as a sequence of additions.
386 * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
387 middle-end that DImode shifts need to be synthesized by expand.
389 2006-07-18 Diego Novillo <dnovillo@redhat.com>
392 * tree-ssa-operands.c (access_can_touch_variable): Update
394 Return true if ALIAS is .GLOBAL_VAR.
396 2006-07-18 David Daney <ddaney@avtrex.com>
398 * gcc.c (display_help): Fix typo in help text.
400 2006-07-18 Olivier Hainque <hainque@adacore.com>
402 * tree.h (categorize_ctor_elements): Adjust prototype and add
403 descriptive comment, both in accordance with the interface change
405 * varasm.c (constructor_static_from_elts_p): New function.
406 Whether a constructor node is a valid static constant initializer
407 if all its elements are.
408 (initializer_constant_valid_p) <CONSTRUCTOR value>: Use it.
409 * output.h: Declare it.
410 * expr.c (categorize_ctor_elements_1): Return whether the constructor
411 is a valid constant initializer instead of computing the number of
412 non-constant elements. Use constructor_static_from_elts_p for this
413 purpose. Replace the head comment with an indication that this is a
414 helper for categorize_ctor_elements.
415 (categorize_ctor_elements): Same interface change as for the _1
416 helper. Former head comment from this helper moved here, adjusted to
417 account for the interface changes.
418 (mostly_zeros_p): Adjust call to categorize_ctor_elements.
419 (all_zeros_p): Likewise.
420 * gimplify.c (gimplify_init_constructor): Decide whether we can make
421 static versions of the constructor from the categorize_ctor_elements
422 return value instead of the formerly computed number of non-constant
425 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
427 * configure: Regenerate.
428 * Makefile.in (build_libsubdir): New configure substitution
429 (build_libobjdir): New variable.
430 (BUILD_LIBIBERTY): Use it.
432 2006-07-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
435 * c-pragma.c (handle_pragma_pack): Handle invalid constants.
437 2006-07-18 Alexandre Oliva <aoliva@redhat.com>
440 * c-common.c (handle_weakref_attribute): Ignore attribute in
441 the same conditions the alias attribute is ignored.
443 2006-07-17 Carlos O'Donell <carlos@codesourcery.com>
445 * dbxout.c (dbxout_function_end): Do not increment scope_labelno.
446 (dbxout_begin_prologue): Increment scope_labelno.
448 2006-07-17 Richard Henderson <rth@redhat.com>
451 * tree-nested.c (create_tmp_var_for): Set DECL_COMPLEX_GIMPLE_REG_P
454 2006-07-17 Roger Sayle <roger@eyesopen.com>
455 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
457 * config/i386/gmon-sol2.c: Silence compilation warnings by partially
458 synchronizing code with config/sparc/gmon-sol2.c. Remove #if 0
459 blocks. #include "tconfig.h" and "tsystem.h" to prototype system
460 functions such as sbrk, write, etc.. Add function prototypes.
461 Convert function declarations from K&R to ISO C. Cast pointers
462 to "long" and "unsigned long" instead of "int" and "unsigned int".
463 Convert tokens following #endif into comments.
465 2006-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
467 * invoke.texi: Remove mention of f77; Reformat table for
468 inline parameter options correctly; mention that -malign-double
469 is default on x86-64 targets.
471 2006-07-17 Zdenek Dvorak <dvorakz@suse.cz>
473 * tree-chrec.c (avoid_arithmetics_in_type_p): New.
474 (convert_affine_scev, chrec_convert_aggressive): Use
475 avoid_arithmetics_in_type_p. Do not check for the subtypes
478 2006-07-17 Richard Sandiford <richard@codesourcery.com>
481 * optabs.c (expand_doubleword_shift): Wrap the call to
482 do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP.
484 2006-07-17 Richard Sandiford <richard@codesourcery.com>
487 * optabs.c (expand_binop): Pass next_methods rather than methods
488 to expand_doubleword_shift.
490 2006-07-17 J"orn Rennecke <joern.rennecke@st.com>
493 * tree.h (dump_addr): Declare.
494 * print-tree.c (dump_addr): New function.
495 (print_node_brief, print_node): Use it.
496 * print-rtl.c (print_rtx): Likewise.
497 * common.opt (-fdump-noaddr): New option.
498 * doc/invoke.texi (-fdump-noaddr): Document.
499 * loop-unroll.c (si_info_hash): Make hash independent of addresses.
500 (ve_info_hash): Likewise.
502 2006-07-13 Andrew Haley <aph@redhat.com>
504 PR tree-optimization/19505
505 * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH
506 edge leaving this block, make sure that the destination of this
507 block has only one predecessor.
509 2006-07-17 Richard Guenther <rguenther@suse.de>
511 PR tree-optimization/28238
512 * tree-inline.c (copy_bb): Check if we produced valid
513 gimple copying and substituting a stmt. If not, gimplify
516 2006-07-16 Eric Botcazou <ebotcazou@adacore.com>
518 * optabs.c (maybe_encapsulate_block): New function extracted from...
519 (emit_libcall_block): ...here. Invoke it on the block of insns to
520 maybe emit REG_LIBCALL/REG_RETVAL notes around the block.
521 (emit_no_conflict_block): Likewise.
523 2006-07-16 Eric Botcazou <ebotcazou@libertysurf.fr>
525 * doc/install.texi (sparc-sun-solaris2*): Add GMP version number.
527 2006-07-15 Roger Sayle <roger@eyesopen.com>
529 * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into
530 a new NOP_EXPR case of the switch statement.
532 2006-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
535 * stor-layout.c (place_field): Take the bit field with
536 an excessive size into account in the ms-bitfiled case.
539 * stor-layout.c (place_field): Use DECL_BIT_FIELD_TYPE of
540 the previous bit field.
542 2006-07-14 Eliot Dresselhaus <eliot@sonic.net>
545 * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.
547 2006-07-14 Ulrich Weigand <uweigand@de.ibm.com>
549 * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect
550 signal frames correctly even when the signal was installed with
553 2006-07-14 Carlos O'Donell <carlos@codesourcery.com>
555 * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
556 (dbxout_function_end): Use local label LFBB. Remove hook
558 (dbxout_source_line): Use local label LFBB.
559 (dbxout_block): Likewise.
560 (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
561 (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
562 * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
565 2006-07-13 Janis Johnson <janis187@us.ibm.com>
567 * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail.
569 2006-07-13 Jan Hubicka <jh@suse.cz>
571 * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call
573 * output.h (align_variable): Declare.
574 * varasm.c (align_variable): Export.
575 * value-prof.c (tree_value_profile_transformations): Recompute iterator
576 when basic block changed.
578 2006-07-13 Nick Clifton <nickc@redhat.com>
580 * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
581 walking the LOG_LINKS chain.
583 2006-07-12 Geoffrey Keating <geoffk@apple.com>
585 * doc/invoke.texi (C++ Dialect Options): Explain difference
586 between -fvisibility-inlines-hidden and setting hidden
587 visibility explicitly.
589 2006-07-12 Eric Christopher <echristo@apple.com>
591 * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
592 (stmp-lipo): Depend on libgcc.a.
594 2006-07-12 Kazu Hirata <kazu@codesourcery.com>
596 * tree.c: Fix a comment typo.
598 2006-07-12 Naveen.H.S <naveenh@kpitcummins.com>
600 * config/m32c/muldiv.md (umulhisi3_c): Use only registers for
602 (umulhisi3_r): Likewise.
604 2006-07-12 Paolo Carlini <pcarlini@suse.de>
607 * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
608 x < 19, vs wchar_t support.
610 2006-07-12 Nick Clifton <nickc@redhat.com>
612 * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up
615 2006-07-12 Mike Stump <mrs@apple.com>
617 * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
619 2006-07-10 Eric Christopher <echristo@apple.com>
621 * config/t-slibgcc-darwin: Rewrite.
623 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
626 * Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
629 2006-07-08 Matthias Klose <doko@debian.org>
631 * doc/sourcebuild.texi: Fix typo.
633 2006-07-07 Mike Stump <mrs@apple.com>
635 * toplev.c (process_options): Don't give -ffunction-sections may
636 affect debugging warning for Mach-O.
638 2006-07-07 James E Wilson <wilson@specifix.com>
640 * config/mips/mips.md (cpu): Add sb1a.
641 * config/mips/sb1.md: Modify almost all patterns to accept sb1a in
642 addition to sb1. Adjust comments to clarify SB-1A differences from
644 (ir_sb1a_load): New. Modify bypasses to use it.
645 (ir_sb1a_simple_alu): Likewise.
646 * config/mips/mips.c (mips_cpu_info_table): Add sb1a.
647 (mips_rtx_cost_data): Add PROCESSOR_SB1A support.
648 (mips_issue_rate): Add PROCESSOR_SB1A.
649 (mips_multipass_dfa_lookahead): Use TUNE_SB1 instead of PROCESSOR_SB1.
650 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1A.
651 (TARGET_SB1): Add PROCESSOR_SB1A check.
652 (TUNE_SB1): Likewise.
654 * config/mips/mips-protos.h (mips_store_data_bypass_p): New.
655 * config/mips/mips.c (mips_store_data_bypass_p): New.
656 * config/mips/sb1.md: Use mips_store_data_bypass_p instead of
659 2006-07-08 Paul Brook <paul@codesourcery.com>
662 * config/m68k/m68k.md: Add r-m patterns for 68881 movxf.
664 2006-07-07 Richard Guenther <rguenther@suse.de>
667 * tree.h (build_one_cst): Declare.
668 * tree.c (build_one_cst): New function.
669 * tree-ssa-math-opts.c (get_constant_one): Remove.
670 (insert_reciprocals): Use build_one_cst.
671 * fold-const.c (fold_plusminus_mult): Likewise.
673 2006-07-07 Roger Sayle <roger@eyesopen.com>
675 * pointer-set.c (pointer_set_destroy): Correct whitespace.
676 * cfgloopanal.c (dump_graph): Likewise.
677 * dojump.c (discard_pending_stack_adjust): Likewise.
678 * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
680 * alloc-pool.c (dump_alloc_pool_statistics): Likewise.
681 * function.c (finalize_block_changes): Likewise.
682 * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
683 * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
684 * rtl.c (dump_rtx_statistics): Likewise.
685 * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars):
687 * varray.c (dump_varray_statistics): Likewise.
688 * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
689 decode_decimal64, encode_decimal128, decode_decimal128,
690 decimal_real_to_decimal): Likewise.
692 2006-07-07 Richard Guenther <rguenther@suse.de>
694 PR tree-optimization/28187
695 * tree-vrp.c (vrp_operand_equal_p): New function.
696 (vrp_bitmap_equal_p): Likewise.
697 (update_value_range): Use them to compare old and new
700 2006-07-06 Roger Sayle <roger@eyesopen.com>
702 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Add
703 a default case to switch statement to silence compiler warnings.
705 2006-07-06 Roger Sayle <roger@eyesopen.com>
708 * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether
709 the configured assembler supports the x87's ffreep mnemonic.
710 * configure: Regenerate.
711 * config.in: Regenerate.
713 * config/i386/i386.c (output_387_ffreep): New function.
714 (output_fp_compare): Use output_387_ffreep to emit ffreep insns.
715 (output_387_reg_move): Likewise.
717 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
719 Port to hosts whose 'sort' and 'tail' implementations
720 treat operands with leading '+' as file names, as POSIX
721 has required since 2001. However, make sure the code still
722 works on pre-POSIX hosts.
723 * Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
724 which says you should use "tail -c +N" rather than "tail +Nc".
725 Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
727 2006-07-06 Zdenek Dvorak <dvorakz@suse.cz>
729 * tree-ssa-loop-niter.c (scev_probably_wraps_p): Fix typo in
732 2006-07-06 David Edelsohn <edelsohn@gnu.org>
735 * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
736 PRE_{INC,DEC} of TFmode.
738 2006-07-06 David Edelsohn <edelsohn@gnu.org>
739 Alan Modra <amodra@bigpond.net.au>
742 * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
745 2006-07-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
748 * config/alpha/predicates.md (alpha_swapped_comparison_operator):
749 Remove duplicate gtu.
751 2006-07-05 Jason Merrill <jason@redhat.com>
755 * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
756 * c-common.c (handle_packed_attribute): So don't copy it here.
757 * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
759 2006-07-05 Mike Stump <mrs@apple.com>
761 * doc/invoke.texi (Invoking G++): Clarify prose for g++.
763 2006-07-05 H.J. Lu <hongjiu.lu@intel.com>
766 * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.
768 2006-07-05 Richard Guenther <rguenther@suse.de>
771 * config/i386/i386.md (*negdf2_1): Restrict pattern to
772 TARGET_SSE2 targets if using SSE math.
773 (*absdf2_1): Likewise.
775 2006-07-05 Richard Guenther <rguenther@suse.de>
777 PR tree-optimization/28162
778 * fold-const.c (fold_binary): For (-A) * (-B) -> A * B
779 make sure to convert the operands to the correct type.
781 2006-07-04 Paolo Bonzini <bonzini@gnu.org>
783 PR tree-optimization/28218
785 * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
786 to calculate and free the dominator information.
788 2006-07-04 Peter O'Gorman <peter@pogma.com>
790 * mklibgcc.in: chmod 644 before ranlib during install.
792 2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
793 J"orn Rennecke <joern.rennecke@st.com>
795 * configure.ac (.eh_frame data check): Use diff -b.
797 2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
800 * Makefile.in (BUILD_RTL): Add build/vec.o.
801 (build/gencondmd.o): Filter out -fkeep-inline-functions.
802 (build/genextract): Delete.
803 (build/genautomata): Likewise.
805 2006-07-04 Alan Modra <amodra@bigpond.net.au>
808 * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
809 128-bit IBM long doubles for ABI_V4.
811 2006-07-03 Eric Botcazou <ebotcazou@adacore.com>
813 * tree.c (range_in_array_bounds_p): New predicate.
814 * tree.h (range_in_array_bounds_p): Declare it.
815 * tree-eh.c (tree_could_trap_p) <ARRAY_RANGE_REF>: Use it to
816 return a less conservative answer.
817 * tree-sra.c (struct sra_elt): Add new pointer field 'groups'
819 (IS_ELEMENT_FOR_GROUP): New macro.
820 (FOR_EACH_ACTUAL_CHILD): Likewise.
821 (next_child_for_group): New helper function.
822 (can_completely_scalarize_p): Take into account groups.
823 (sra_hash_tree): Handle RANGE_EXPR.
824 (sra_elt_eq): Likewise.
825 (lookup_element): Be prepared for handling groups.
826 (is_valid_const_index): Delete.
827 (maybe_lookup_element_for_expr) <ARRAY_REF>: Use in_array_bounds_p
828 instead of is_valid_const_index.
829 <ARRAY_RANGE_REF>: New case.
830 (sra_walk_expr) <ARRAY_REF>: Use in_array_bounds_p instead of
831 is_valid_const_index.
832 <ARRAY_RANGE_REF>: Do not unconditionally punt.
833 (scan_dump): Dump info for groups too.
834 (decide_instantiation_1): Likewise.
835 (decide_block_copy): Assert that the element is not a group.
836 Propagate decision to groups.
837 (generate_one_element_ref): Handle RANGE_EXPR.
838 (mark_no_warning): Iterate over actual childs.
839 (generate_copy_inout): Likewise.
840 (generate_element_copy): Likewise.
841 (generate_element_zero): Likewise.
842 (generate_element_init_1): Likewise.
843 (dump_sra_elt_name): Handle RANGE_EXPR.
845 2006-07-03 Roger Sayle <roger@eyesopen.com>
847 PR tree-optimization/26251
848 * tree-ssa-threadupdate.c (redirection_block_p): New function.
849 (thread_block): When optimizing for size refuse to thread jumps
850 that would require duplication of blocks other than redirection
853 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
855 * configure.ac: Fix thinko in previous check-in.
856 * configure: Regenerate.
858 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
861 * configure.ac (for lang...): Simplify nesting of conditionals.
862 Test subdir_requires for non-enabled languages. Move processing
863 of lang_opt_files and lang_tree_fiels below that test.
864 * configure: Regenerate.
865 * doc/sourcebuild.texi (Front End Config): Document subdir_requires.
867 2006-07-01 Martin Michlmayr <tbm@cyrius.com>
869 * doc/gcov.texi (Invoking Gcov): Add a missing word.
871 2006-06-30 Kazu Hirata <kazu@codesourcery.com>
873 * cfgexpand.c, config/i386/i386.c, genpreds.c, tree-cfg.c: Fix
876 2006-06-29 Jason Merrill <jason@redhat.com>
883 * tree.c (build_decl_stat): Don't hande #pragma visibility here.
884 * c-common.c (c_determine_visibility): Handle it here.
885 * c-decl.c (finish_decl): Call c_determine_visibility for
887 * flags.h (enum symbol_visibility): Sort from most to least visibility.
889 * varasm.c (default_assemble_visibility): Likewise.
890 * c-common.c (handle_visibility_attribute): Complain about trying
891 to give visibility to an already defined class, or trying to change
892 declared visibility. Always attach the attribute.
897 * attribs.c (decl_attributes): Ignore type-in-place attributes
898 once the type has been defined.
900 2006-06-29 Roger Sayle <roger@eyesopen.com>
903 * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
904 to indicate the cpplib has issued an error message for us.
906 2006-06-29 Asher Langton <langton2@llnl.gov>
909 * config/i386/i386.c (ix86_output_function_epilogue): Don't
910 insert a label at the end of an function under Mach-O.
912 2006-06-29 Eric Christopher <echristo@apple.com>
913 Evan Cheng <evan.cheng@apple.com>
915 * predicates.md (vector_all_ones_operand): New.
916 (nonimmediate_or_sse_const_operand): Ditto.
917 * config/i386/i386-protos.h (standard_sse_constant_opcode): Declare.
918 * config/i386/i386.c (standard_sse_constant_opcode): Define.
919 (standard_sse_mode_p): Ditto.
920 (standard_sse_constant_p): Add case for -1 vector.
921 (ix86_expand_vector_move): Try to use.
922 * sse.md (*mov<mode>_internal): Use nonimmediate_or_sse_const_operand.
923 Call standard_sse_constant_opcode.
924 (*movv4sf_internal): Ditto.
925 (*movv2df_internal): Ditto.
927 2006-06-29 Roger Sayle <roger@eyesopen.com>
929 * genpreds.c (write_match_code_switch): Correctly use XSTR instead
930 of XEXP to extract the operands of a MATCH_CODE rtx.
932 2006-06-28 Andrew Pinski <pinskia@gmail.com>
934 * tree.c (tree_size): Do not waste tail padding in
935 struct tree_string and make the size be the same as
936 build_string will generate.
938 2006-06-28 Jason Merrill <jason@redhat.com>
941 * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
942 may_aliases already in the tag's annotations to the bitmap.
944 2006-06-28 Roger Sayle <roger@eyesopen.com>
946 * genpreds.c (write_predicate_stmts) <IOR>: Add missing break.
948 2006-06-28 Roger Sayle <roger@eyesopen.com>
950 * genpreds.c (generate_switch_p): New function.
951 (add_mode_tests): Push the new mode test down inside an AND expr
952 if this allows the switch-suitable MATCH_CODE to be near the root.
953 (write_match_code_switch): New function to write a MATCH_CODE as
955 (write_predicate_stmts): New function to write a predicate RTX
956 expression as a sequence of statements.
957 (write_one_predicate_function): Use write_predicate_stmts.
958 (write_tm_constrs_h): Likewise.
960 2006-06-26 Fred Fish <fnf@specifix.com>
962 * config/mips/t-sb1: New file.
963 * config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
966 2006-06-26 DJ Delorie <dj@redhat.com>
968 * config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.
970 2006-06-26 Naveen H.S <naveenh@kpitcummins.com>
971 Jayant Sonar <jayants@kpitcummins.com>
972 Jaydeep Vipradas <jaydeepv@kpitcummins.com>
974 * config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
975 (subsi3, subsi3_1, subsi3_2): New.
976 * config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
977 * config/m32c/mov.md (SI mov peephole): New.
978 * config/m32c/m32.c (m32c_immd_dbl_mov): New.
979 * config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.
981 2006-06-26 Olivier Hainque <hainque@adacore.com>
983 * function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
984 a CALL_EXPR target function declaration.
986 2006-06-26 Richard Guenther <rguenther@suse.de>
988 * tree.c (build_string): Do not waste tail padding in
991 2006-06-26 Richard Guenther <rguenther@suse.de>
993 * ggc-page.c (init_ggc): Add missing element to size_lookup
997 2006-06-23 Richard Guenther <rguenther@suse.de>
999 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1000 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1001 alignment requests instead. Add verification code.
1002 Add struct tree_function_decl and struct tree_binfo size to
1003 extra_order_size_table. Add missing element to size_lookup
1006 2006-06-25 Eric Botcazou <ebotcazou@adacore.com>
1009 * fold-const.c (const_binop): Be prepared for self returning zero.
1010 Simplify code handling complex values.
1012 2006-06-24 Olivier Hainque <hainque@adacore.com>
1014 * gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
1015 (gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
1018 2006-06-24 Olivier Hainque <hainque@adacore.com>
1020 * tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
1021 ARRAY_REF, so have the callback called for the low bound expression.
1023 2006-06-23 Janis Johnson <janis187@us.ibm.com>
1025 * tree.h (DECIMAL_FLOAT_TYPE_P): New.
1026 * c-typeck.c (c_common_type): Disallow operations on decimal float
1027 types and other float types.
1028 * convert.c (convert_to_real): Don't ignore conversions involving
1029 decimal float types.
1031 2006-06-23 Olivier Hainque <hainque@adacore.com>
1033 * tree.c (max_int_size_in_bytes): New function, inspired from
1034 code in function.c:assign_temp.
1035 * tree.h (max_int_size_in_bytes): Declare.
1036 * function.c (assign_temp): Use it.
1037 * gimplify.c (create_tmp_var): Relax the assertions on the type
1038 properties, not mandating constant size any more.
1039 (force_constant_size): New static function.
1040 (gimple_add_tmp_var): Use it, forcing variable size to a
1041 constant upper bound if it is not constant on entry.
1043 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1046 * config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
1047 for initialization and setting of one_only flag to ...
1048 (i386_pe_encode_section_info): ...here.
1049 (i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
1050 Recheck that the symbol has not been defined.
1052 2006-06-23 Richard Guenther <rguenther@suse.de>
1054 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1055 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1056 alignment requests instead. Add verification code.
1057 Add struct tree_function_decl and struct tree_binfo size to
1058 extra_order_size_table. Add missing element to size_lookup
1061 2006-06-22 Roger Sayle <roger@eyesopen.com>
1062 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1065 * expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
1066 call to lang_hooks.types.type_for_mode returned NULL_TREE.
1068 2006-06-23 Ben Elliston <bje@au.ibm.com>
1070 * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
1071 negate dn -- manipulate it directly.
1073 2006-06-22 Roger Sayle <roger@eyesopen.com>
1074 Steven Bosscher <stevenb.gcc@gmail.com>
1077 * reload1.c (gen_reload): Call mark_jump_label on the new insns
1078 generated by gen_move_insn to add REG_LABEL notes if necessary.
1080 2006-06-22 Bob Wilson <bob.wilson@acm.org>
1082 * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
1083 (leaf_entry): Remove use of MIN_ESA.
1085 2006-06-22 Zdenek Dvorak <dvorakz@suse.cz>
1087 PR rtl-optimization/28121
1088 * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
1091 2006-06-21 DJ Delorie <dj@redhat.com>
1093 * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
1095 (mulhisi3_r): Likewise.
1097 2006-06-21 Richard Sandiford <richard@codesourcery.com>
1100 * coverage.c (coverage_counter_alloc): Leave the index type
1102 (coverage_counter_alloc): Use null arguments for operands 2 and 3
1105 2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
1107 * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
1108 section from the "Options for Code Generation Conventions".
1110 2006-06-21 Richard Henderson <rth@redhat.com>
1114 * config/alpha/predicates.md (small_symbolic_operand): Deny weak
1116 (global_symbolic_operand): Allow weak symbols, even if local_p.
1118 2006-06-21 Eric Botcazou <ebotcazou@adacore.com>
1120 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
1121 (find_interesting_uses_address): Punt if above function returns true.
1123 2006-06-21 Richard Guenther <rguenther@suse.de>
1125 * configure: Regenerated.
1127 2006-06-21 Joseph Myers <joseph@codesourcery.com>
1129 * config/mips/mips.c (function_arg): Where one part of a
1130 complex argument is in registers and the other part in the stack,
1131 return a REG not a PARALLEL.
1133 2006-06-21 Mark Mitchell <mark@codesourcery.com>
1135 * configure.ac: Set gcc_gxx_include_dir to $target/include/c++
1136 when cross-compiling. Do not substitute libstdcxx_incdir.
1137 * configure: Regenerated.
1139 2006-06-21 Jakub Jelinek <jakub@redhat.com>
1141 * varasm.c (mergeable_string_section): Check for embedded NULs and
1142 NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
1143 rather than TREE_STRING_LENGTH bytes.
1145 2006-06-21 Richard Guenther <rguenther@suse.de>
1147 * ggc-page.c (extra_order_size_table): Add var_ann_d,
1148 tree_ssa_name, bitmap_element and phi_node with 4 arguments
1151 2006-06-21 Richrad Guenther <rguenther@suse.de>
1153 * tree-ssa-loop-niter.c (simplify_using_initial_conditions):
1154 Limit iteration over the dominators.
1156 2006-06-20 Roger Sayle <roger@eyesopen.com>
1158 * config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
1159 (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.
1161 2006-06-20 Richard Guenther <rguenther@suse.de>
1162 Michael Matz <matz@suse.de>
1164 * alloc-pool.h (free_alloc_pool_if_empty): Prototype new
1166 * alloc-pool.c (free_alloc_pool_if_empty): New function.
1167 * et-forest.h (et_free_pools): Prototype new function.
1168 * et-forest.c (et_free_tree_force): Free parent occurrence.
1169 (et_free_pools): New function.
1170 * dominance.c (free_dominance_info): Free et-forest alloc
1173 2006-06-20 Roger Sayle <roger@eyesopen.com>
1175 * expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
1176 integer modes, attempt to directly construct an integer constant.
1178 * fold-const.c (native_encode_vector): Determine the size of each
1179 element from the vector type instead of the first vector element.
1181 * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
1182 if all of its elements/components are constant.
1183 (build_constructor_from_list): Likewise.
1185 2006-06-20 Zdenek Dvorak <dvorakz@suse.cz>
1187 PR tree-optimization/27331
1188 * tree-data-ref.c (free_data_ref): New function.
1189 (create_data_ref): Fail if the data reference has unknown access
1191 (free_data_refs): Use free_data_ref.
1193 2006-06-19 Andrew Pinski <pinskia@gmail.com>
1196 * tree-inline.c (setup_one_parameter): Strip useless
1197 type conversion before adding it to the IR.
1198 (declare_return_variable): Likewise.
1200 2006-06-19 Martin Michlmayr <tbm@cyrius.com>
1203 * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
1205 2006-06-19 Mike Stump <mrs@apple.com>
1207 * tree.c (variably_modified_type_p): VM arguments don't make the
1210 2006-06-19 Richard Guenther <rguenther@suse.de>
1212 * tree-ssa-pre.c (try_combine_conversion): Strip useless
1213 type conversions after folding.
1215 2006-06-19 Richard Guenther <rguenther@suse.de>
1217 * ggc-page.c (extra_order_size_tab): Add entries with
1218 size of struct function and basic_block.
1219 (size_lookup): Extend to cover sizes up to 511.
1220 (ggc_alloc_stat): Adjust user.
1221 (ggc_pch_count_object): Likewise.
1222 (ggc_pch_alloc_object): Likewise.
1223 (ggc_pch_write_object): Likewise.
1225 2006-06-19 Zdenek Dvorak <dvorakz@suse.cz>
1227 * tree-ssa-loop-niter.c (implies_ge_p): New function.
1228 (derive_constant_upper_bound): Handle OP0 - CST in unsigned types
1231 2006-06-19 Denis Chertykov <denisc@overta.ru>
1233 * config/avr/libgcc.S : Correct my wrong previous commit.
1235 2006-06-19 Roger Sayle <roger@eyesopen.com>
1238 * expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
1239 have stripped a SUBREG from the shift count, so we may need to
1240 convert_to_mode back to the type's mode before calling make_tree.
1241 Use new_amount instead of amount to avoid expanding a tree twice.
1243 2006-06-19 Richard Guenther <rguenther@suse.de>
1246 * fold-const.c (operand_equal_p): Check if the argument types
1247 have the same precision before stripping NOPs.
1249 2006-06-19 Daniel Berlin <dberlin@dberlin.org>
1251 Fix PR tree-optimization/27341
1252 * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the
1254 * tree-complex.c (pass_lower_complex): Update SMT usage.
1256 2006-06-19 Andreas Krebbel <krebbel1@de.ibm.com>
1258 * config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"):
1259 Add a new alternative to the constraint strings. Add move of
1260 operand 1 to 3 to the splitter definition.
1261 ("doloop_si_long"): Second contraint alternative removed.
1263 2006-06-08 Anatoly Sokolov <aesok@post.ru>
1265 * config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
1266 (TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and
1268 (AVR_HAVE_MOVW) Define.
1269 (ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
1270 (ASM_SPEC): Add avr25.
1271 (LINK_SPEC): Add avr25.
1272 * config/avr/avr.c (avr_have_movw_lpmx_p): Add.
1273 (base_arch_s): Add new member 'have_movw_lpmx'.
1274 (avr_arch_types): Init 'have_movw_lpmx'.
1275 (avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
1276 attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
1277 attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
1278 (avr_override_options): Init 'avr_have_movw_lpmx_p'.
1279 (output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use
1281 (avr_file_start): Do not output '.arh' derective.
1282 * config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
1283 (__do_copy_data): Use __AVR_HAVE_LPMX__.
1284 * config/avr/avr.md (mcu_enhanced): Delete.
1285 (mcu_have_movw): Define.
1286 (negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
1287 (call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
1288 * config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
1289 (MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
1290 attiny84, attiny25, attiny45, attiny85, attiny261, attiny461,
1291 attiny861 and at86rf401 devices.
1293 2006-06-18 Jie Zhang <jie.zhang@analog.com>
1295 * config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
1298 2006-06-17 Karl Berry <karl@gnu.org>
1300 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi,
1301 doc/gccint.texi, doc/install.texi (@dircategory): Use
1302 "Software development" instead of "Programming", following
1303 the Free Software Directory.
1305 2006-06-17 Alexandre Oliva <aoliva@redhat.com>
1307 * config/i386/i386.c (legitimate_tls_address)
1308 <TARGET_GNU2_TLS>: Add tp after DTPOFF.
1309 * config/i386/i386.md (*tls_dynamic_gnu2_combine_32): Adjust.
1310 (*tls_dynamic_gnu2_combine_64): Likewise.
1312 2006-06-16 Richard Guenther <rguenther@suse.de>
1315 * fold-const.c (negate_expr_p): Do not introduce undefined
1316 overflow in negating INTEGER_CSTs.
1317 (fold_negate_expr): Rename from negate_expr. Revert last
1318 change for folding BIT_NOT_EXPR. Change semantics to
1319 return NULL_TREE for non-simplified negations. Do not
1320 strip type conversions and unify type handling.
1321 (negate_expr): New function, wrap around fold_negate_expr
1322 but ensure building a tree always. Strip type conversions
1323 here, fold to result type.
1324 (fold_unary): Use fold_negate_expr for folding NEGATE_EXPR.
1326 2006-06-16 Roger Sayle <roger@eyesopen.com>
1329 * reg-stack.c (subst_stack_regs): Handle noreturn function calls
1330 that (would) return their results in stack registers.
1332 2006-06-16 Michael Matz <matz@suse.de>
1333 Richard Guenther <rguenther@suse.de>
1335 * fold-const.c (fold_truthop): Only return new tree node if
1336 we canonicalized something.
1338 2006-06-16 Richard Guenther <rguenther@suse.de>
1340 * function.h (enum function_frequency): Move declaration
1341 out of struct function.
1342 (struct function): Move bool fields and the enum to the bitfield
1343 section. Reorder elements to avoid padding. Remove unused
1344 fields left over from the RTL inliner removal.
1345 * function.c (free_after_compilation): Do not zero removed fields.
1346 * Makefile.in (ipa-reference.o): Add $(FUNCTION_H) dependency.
1347 (ipa-type-escape.o): Likewise.
1349 2006-06-16 Richard Guenther <rguenther@suse.de>
1351 * cgraph.h (struct cgraph_local_info): Turn bool elements
1353 (struct cgraph_node): Likewise.
1354 (struct cgraph_varpool_node): Likewise.
1356 2006-06-15 Richard Guenther <rguenther@suse.de>
1358 * fold-const.c (fold_truth_not_expr): Rename from
1359 invert_truthvalue. Give it fold_* semantics to avoid
1361 (invert_truthvalue): New function. Wrapper around
1362 fold_truth_not_expr.
1363 (optimize_minmax_comparison): Avoid creating garbage.
1364 (fold_unary): Use fold_truth_not_expr for folding
1366 (fold_ternary): Replace uses of invert_truthvalue with
1367 fold_truth_not_expr where applicable.
1368 * tree.h (fold_truth_not_expr): Prototype.
1370 2006-06-16 Richard Guenther <rguenther@suse.de>
1372 PR tree-optimization/27781
1373 * Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
1374 * ipa-pure-const.c (target.h): Include.
1375 (analyze_function): Do not analyze functions that do not
1378 2006-06-15 Andrew MacLeod <amacleod@redhat.com>
1381 * tree-dfa.c (referenced_vars_dup_list): Remove.
1382 (find_referenced_vars): Remove assert.
1383 (referenced_var_check_and_insert): Replace dup list with assert.
1384 * tree-ssa.c (delete_tree_ssa): Remove dup list processing.
1385 * tree-flow.h (referenced_vars_dup_list): Remove extern decl.
1387 2006-06-15 Richard Guenther <rguenther@suse.de>
1389 * tree-ssa-structalias.c (alias_get_name): Avoid creating
1390 extra unused identifiers if not dumping.
1391 (create_variable_info_for): Likewise.
1393 2006-06-15 Zdenek Dvorak <dvorakz@suse.cz>
1395 * tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
1396 (derive_constant_upper_bound): Derive more precise upper bound in
1397 common cases. Return type changed to double_int.
1398 (record_estimate): Reflect the changed return type of
1399 derive_constant_upper_bound.
1400 * double-int.c (double_int_zext, double_int_sext): Fix.
1402 2006-06-15 Paolo Bonzini <bonzini@gnu.org>
1404 * configure.ac (CFLAGS): Get them from the toplevel or from the
1405 configure invocation.
1406 * configure: Regenerate.
1407 * Makefile.in (CFLAGS): Substitute value provided by configure.
1409 2006-06-14 Mark Mitchell <mark@codesourcery.com>
1412 * c-common.h (c_finish_omp_atomic): Adjust declaration.
1413 * c-omp.c (c_finish_omp_atomic): Return the expression to perform,
1414 rather than calling add_stmt on it.
1415 * c-parser.c (c_parser_omp_atomic): Adjust accordingly.
1417 2006-06-14 Andreas Krebbel <krebbel1@de.ibm.com>
1420 * reload1.c (reload): Remove registers returned by update_eliminables
1421 from used_spill_regs.
1423 2006-06-13 DJ Delorie <dj@redhat.com>
1425 * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
1427 2006-06-13 Carlos O'Donell <carlos@codesourcery.com>
1429 * Makefile.in: Define HTMLS_BUILD, HTMLS_INSTALL,
1430 html__strip_dir, html__mkdir_p. Enhance install-html target.
1431 * configure.ac: AC_SUBST datarootdir, docdir and htmldir.
1432 * configure: Regenerate.
1434 2006-06-13 Fariborz Jahanian <fjahanian@apple.com>
1436 * fold-const.c (fold_cond_expr_with_comparison): Check for
1437 Objective-C++ as language in deciding COND_EXPR transformation.
1439 2006-06-06 J"orn Rennecke <joern.rennecke@st.com>
1442 * config/sh/t-sh (LIB1ASMFUNCS): Add _udiv_qrnnd16
1443 * config/sh/sh.c (print_operand): Add !SHMEDIA functionality to 'M'.
1444 * config/sh/lib1funcs.h (SL, SL1): Define.
1445 * config/sh/lib1funcs.asm (__udiv_qrnnd16): New hidden function.
1446 * longlong.h (__sh__): Define umul_ppmm, udiv_qrnnd and sub_ddmmss.
1447 * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): New rule.
1448 (OBJS_Os_4_200): New variable.
1449 ($(T)libgcc-Os-4-200.a): Use it.
1450 * sh.md (udivsi3): For TARGET_DIVIDE_CALL_TABLE, avoid function call
1451 when dividing 1 and/or by 0.
1453 2006-06-13 Roger Sayle <roger@eyesopen.com>
1455 * configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
1456 before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
1457 * configure: Regenerate.
1459 2006-06-13 Jie Zhang <jie.zhang@analog.com>
1461 * config/bfin/bfin.c (bfin_reorg_loops): Only call recog_memoized ()
1462 for real instruction.
1464 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1467 * haifa-sched.c (check_cfg): Handle special case.
1469 2006-06-13 Eric Botcazou <ebotcazou@adacore.com>
1472 * gimplify.c (declare_tmp_vars): Rename into declare_vars.
1473 Add debug_info parameter. Chain the vars to the BLOCK instead
1474 of the BIND_EXPR if debug info are requested for them.
1475 (pop_gimplify_context): Adjust for above change.
1476 (gimple_add_tmp_var): Likewise.
1477 * tree-gimple.h (declare_tmp_vars): Rename into declare_vars.
1479 * tree-nested.c (convert_nonlocal_reference): Adjust for above change.
1480 (convert_local_reference): Likewise.
1481 (get_local_debug_decl): Set DECL_IGNORED_P on the original variable.
1482 (finalize_nesting_tree_1): Request that debug info be emitted
1483 for debug_var_chain.
1485 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1487 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Fix the patch
1488 for PR target/27863.
1490 2006-06-13 Richard Guenther <rguenther@suse.de>
1493 * except.c (output_ttype): Expand type with EXPAND_INITIALIZER.
1495 2006-06-13 Richard Guenther <rguenther@suse.de>
1497 PR tree-optimization/27830
1498 * tree-inline.c (copy_body_r): For copying the operand
1499 of an ADDR_EXPR make sure to fold &* afterwards.
1501 2006-06-12 Eric Botcazou <ebotcazou@adacore.com>
1503 * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other
1504 lvalues in the fb_none case with side-effects.
1506 2006-06-12 Kazu Hirata <kazu@codesourcery.com>
1508 * tree-flow.h: Remove the prototype for
1509 compute_phi_arg_on_exit.
1510 * tree-ssa-loop-ivopts.c (protect_loop_closed_ssa_form_use,
1511 protect_loop_closed_ssa_form, compute_phi_arg_on_exit):
1514 2006-06-12 Mark Shinwell <shinwell@codesourcery.com>
1516 * builtins.c (expand_builtin_return_addr): Only use
1517 frame_pointer_rtx when count == 0 and we are expanding
1518 __builtin_return_address.
1520 2006-06-12 Fred Fish <fnf@specifix.com>
1522 * config/mips/mips.c (mips_file_start): Create special section
1523 ".gcc_compiled_longXX" for o64 ABI as well as EABI.
1525 2006-06-11 Eric Christopher <echristo@apple.com>
1528 * stor-layout.c (place_field): Remove check for
1529 remaining_in_alignment when aligning at the end of a run.
1531 2006-06-11 Eric Christopher <echristo@apple.com>
1534 * doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
1537 2006-06-11 Roger Sayle <roger@eyesopen.com>
1540 Revert incorrect fix for PR target/27158
1541 2006-05-08 Roger Sayle <roger@eyesopen.com>
1542 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
1543 of a reg_equiv_constant if the result is a legitimate constant.
1545 2006-06-11 Roger Sayle <roger@eyesopen.com>
1548 * config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
1549 extract a CONST_VECTOR element and interpret it as an integer.
1550 (vspltis_constant): Use const_vector_elt_as_int instead of the
1551 macro CONST_VECTOR_ELT in order to handle FP vector modes.
1552 * config/rs6000/predicates.md (easy_vector_const): Consider
1553 floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
1555 2006-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
1558 * stor-layout.c (update_alignment_for_field): Don't add extra
1559 alignment for packed non-bitfield fields in ms_bitfield_layout_p
1562 2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
1564 * config/mips/t-rtems: Add EL/EB multilib variants.
1566 2006-06-09 Mike Stump <mrs@apple.com>
1568 * c-typeck.c (c_begin_vm_scope): Fix file_scope processing.
1570 2006-06-09 David Daney <ddaney@avtrex.com>
1572 * doc/install.texi: Add binutils version recommendation for mips-*-*.
1574 2006-06-09 Andreas Krebbel <krebbel1@de.ibm.com>
1576 * reload.c (find_reloads): Unset force_reload for 'X' constraint.
1578 2006-06-09 Richard Guenther <rguenther@suse.de>
1580 PR tree-optimization/26998
1581 * tree-vrp.c (extract_range_from_unary_expr): For NEGATE_EXPR
1582 of signed types, only TYPE_MIN_VALUE is special, but for both,
1583 minimum and maximum value. Likewise VR_ANTI_RANGE is special
1584 in this case, as is -fwrapv.
1586 2006-06-08 Mike Stump <mrs@apple.com>
1589 * config/darwin.c (darwin_asm_output_anchor): Disable
1590 -fsection-anchors on darwin for now.
1591 * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Likewise.
1592 * rs6000/rs6000.c (optimization_options): Likewise.
1594 2006-06-08 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1597 * config/i386/i386.c (classify_argument): Skip fields with invalid
1600 2006-06-08 Steven Bosscher <steven@gcc.gnu.org>
1602 * cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
1603 (cse_insn): Likewise for the stack_pointer_rtx.
1605 2006-06-08 Roger Sayle <roger@eyesopen.com>
1607 * tree-ssa-dom.c (record_conditions): Only record "unordered"
1608 conditions from floating point comparisons.
1610 2006-06-08 Paolo Bonzini <bonzini@gnu.org>
1613 * expmed.c (struct alg_hash_entry): Fix type of field T
1614 to match synth_mult argument.
1615 (NUM_ALG_HASH_ENTRIES): Make it bigger for 64-bit HOST_WIDE_INT.
1617 2006-06-08 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1620 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Update basic
1623 2006-06-08 Richard Guenther <rguenther@suse.de>
1626 * fold-const.c (negate_expr_p): We can negate BIT_NOT_EXPR
1627 only, if overflow is defined and not trapping.
1628 (negate_expr): Likewise.
1630 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
1632 PR tree-optimization/27872
1633 * tree-ssa-loop-manip.c (tree_unroll_loop): Set EDGE_IRREDUCIBLE_LOOP
1634 flag on the new exit edge of the unrolled loop.
1636 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
1638 PR rtl-optimization/26449
1639 * loop-invariant.c (move_invariant_reg): Fail if force_operand fails.
1641 2006-06-07 Andrew MacLeod <amacleod@redhat.com>
1644 * tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
1645 referenced_variables with matching DECL_UID's.
1646 (find_referenced_vars): Make sure duplicate list is empty to start.
1647 (referenced_var_p): Remove.
1648 (referenced_var_check_and_insert): Renamed from referenced_var_insert.
1649 Check if var is in the list, and add if needed. Update the duplicate
1650 list if a different var is in the list with the same DECL_UID.
1651 (add_referenced_var): Call routine to check and insert.
1652 * tree-ssa.c (delete_tree_ssa): Clear var_ann's on duplicates.
1653 * tree-flow.h (referenced_vars_dup_list): External declaration.
1655 2006-06-07 Fred Fish <fnf@specifix.com>
1657 * config/mips/t-elf (MULTILIB_MATCHES): Combine two entries
1660 2006-06-07 Paolo Bonzini <bonzini@gnu.org>
1663 * reg-stack.c (subst_stack_regs_pat): Reorder resetting of
1664 the imaginary and real parts of a clobbered register.
1665 Emit insn to set the imaginary part.
1667 2006-06-06 Peter Lemieszewski <lemie@us.ibm.com>
1669 * config/s390/t-tpf (LIB2ADDEH): Include unwind-dw2-fde-glibc.c
1670 in lieu of unwind-dw2-fde.c.
1672 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1674 * config/i386/mingw32.h (GOMP_SELF_SPECS): Define.
1676 2006-06-06 Ulrich Weigand <uweigand@de.ibm.com>
1679 * config/rs6000/altivec.md (UNSPEC_VSLW): Remove.
1680 ("altivec_vspltisw_v4sf", "altivec_vslw_v4sf"): Remove.
1681 ("mulv4sf3", "absv4sf3", "negv4sf3"): Adapt users to use
1682 V4SImode temporaries and operations instead.
1684 2006-06-06 Joseph S. Myers <joseph@codesourcery.com>
1686 * config/mips/t-linux64 (tp-bit.c): Append to tp-bit.c, not
1689 2006-06-06 Mike Stump <mrs@apple.com>
1691 * Makefile.in: Rename to htmldir to build_htmldir to avoid
1692 installing during build.
1694 2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1696 * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default
1698 * doc/invoke.texi (max-sched-extend-regions-iters): Document.
1699 * config/ia64/ia64.c (params.h): New header.
1700 (ia64_optimization_options): New function to adjust parameters.
1701 * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype.
1702 * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro.
1703 * config/ia64/t-ia64 (ia64.o): Add dependence from params.h .
1705 2006-06-05 Kazu Hirata <kazu@codesourcery.com>
1707 * stor-layout.c (debug_rli): Fix a typo in a debug message.
1709 2006-06-05 Steve Ellcey <sje@cup.hp.com>
1712 * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
1714 2006-06-05 Dorit Nuzman <dorit@il.ibm.com>
1715 Victor Kaplansky <victork@il.ibm.com>
1717 PR tree-optimization/26360
1718 * tree-vectorizer.c (destroy_loop_vec_info): Remove (dead) pattern
1721 2006-06-04 Roger Sayle <roger@eyesopen.com>
1722 Andrew Pinski <pinskia@physics.uc.edu>
1725 * c-common.c (c_common_truthvalue_conversion): Explicitly check
1726 for LABEL_DECL before calling DECL_WEAK.
1729 * c-typeck.c (build_binary_op): Likewise, explicitly check for
1730 LABEL_DECL and PARM_DECL.
1732 2006-06-05 Joseph S. Myers <joseph@codesourcery.com>
1736 * c-decl.c (grokdeclarator): Disallow variably modified types at
1737 file scope. Avoid marking shared array type of constant size as
1740 2006-06-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1743 * c-common.c (fold_offsetof_1): Handle static members.
1745 2006-06-04 Eric Christopher <echristo@apple.com>
1747 * stor-layout.c (start_record_layout): Initialize remaining_in_alignment.
1748 (debug_rli): Output value for remaining_in_alignment.
1749 (update_alignment_for_field): Unconditionalize
1750 ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
1751 extra alignment code.
1752 (place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
1753 ms_bitfield_layout_p code. Rewrite handling of structure fields.
1754 * tree.h (record_layout_info_s): Remove prev_packed.
1755 * doc/extend.texi (ms_struct): Add documentation of format.
1757 2006-06-04 Mark Shinwell <shinwell@codesourcery.com>
1759 * tree.h: Declare folding_initializer.
1760 * builtins.c (fold_builtin_constant_p): Give definite answer
1761 if folding inside an initializer.
1762 * fold-const.c: Define folding_initializer.
1763 (START_FOLD_INIT): Save and then set folding_initializer.
1764 (END_FOLD_INIT): Restore folding_initializer.
1766 2006-06-04 Richard Guenther <rguenther@suse.de>
1768 PR tree-optimization/27039
1769 * fold-const.c (fold_comparison): Handle pointer comparison
1770 again for all comparison codes. Compare offsets in signed
1772 (fold_binary): Move code from here.
1774 2006-06-03 Roger Sayle <roger@eyesopen.com>
1777 * config/i386/i386.c (construct_container): Split static issued_error
1778 flag into issued_sse_arg_error, issued_sse_ret_error and
1779 issued_x87_ret_error. Issue a daignostic if the x86-64 ABI
1780 requires the use of x87 registers and the user explicitly
1781 specified the -mno-80387 command line option.
1783 2006-06-02 Geoffrey Keating <geoffk@apple.com>
1785 * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
1786 HAVE_DECL_SIGALTSTACK.
1788 (segv_handler): Use MC_FLD.
1789 * configure.ac: Check for a sigaltstack declaration.
1790 Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
1791 * configure: Regenerate.
1792 * config.in: Regenerate.
1794 2006-06-03 J"orn Rennecke <joern.rennecke@st.com>
1797 * Makefile.in (stmp-fixinc): Fix typo.
1799 2006-06-02 Roger Sayle <roger@eyesopen.com>
1801 * fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
1802 are type correct. Clean-up.
1803 <REALPART_EXPR>: Likewise. Optimize creal(~z) as creal(z).
1804 <IMAGPART_EXPR>: Likewise. Optimize cimag(~z) as -cimag(z).
1806 2006-06-01 DJ Delorie <dj@redhat.com>
1808 * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
1809 shift, as we've disabled the "switch" insn that needs it.
1811 2006-06-01 Per Bothner <bothner@bothner.com>
1813 Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
1814 * c-opts.c (finish_options): Use internal line 0 for <command-line>.
1815 * c-ppoutput.c (cb_define): Don't increment line 0.
1817 2006-06-01 Pete Steinmetz <steinmtz@us.ibm.com>
1819 * doc/invoke.texi: Add cpu_type power6.
1820 * config.gcc: Add cpu_type power6.
1821 * config/rs6000/rs6000.c (rs6000_override_options): Alias power6
1822 to power5+ with Altivec.
1823 * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
1824 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.
1826 2006-05-30 Anatoly Sokolov <aesok@post.ru>
1828 * config/avr/avr.h (SET_ASM_OP): Define.
1830 2006-06-01 Kazu Hirata <kazu@codesourcery.com>
1832 * config/bfin/bfin.c: Fix comment typos.
1834 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1837 * doc/install.texi: Document --enable-bootstrap and
1838 --disable-bootstrap.
1840 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1842 * doc/install.texi: Document that InfoZIP can replace jar.
1844 2006-05-31 Roger Sayle <roger@eyesopen.com>
1846 * config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
1847 isn't available, directly generate the simpler x87 patterns without
1848 the (use (const_int 0)).
1849 * config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
1850 implementation isn't available.
1851 (*negdf2_1): Likewise.
1852 (*negxf2_1): XF mode negation is always done using the x87.
1853 (*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.
1855 2006-05-31 Roger Sayle <roger@eyesopen.com>
1857 * builtins.c (fold_builtin_cabs): Delete prototype. Require an
1858 additional FNDECL argument. Optimize cabs(-z) and cabs(~z) as
1860 (fold_builtin_decl) <BUILT_IN_CABS>: Update fold_builtin_cabs call.
1862 2006-05-31 Jie Zhang <jie.zhang@analog.com>
1864 * config/bfin/bfin-protos.h (bfin_hardware_loop): Declare.
1865 * config/bfin/bfin.c (basic-block.h): Include.
1866 (struct machine_function): New.
1867 (bfin_init_machine_status): New.
1868 (override_options): Initialize init_machine_status.
1869 (bfin_hardware_loop): New.
1870 (MAX_LOOP_DEPTH, MAX_LOOP_LENGTH): Define.
1871 (DEF_VEC_P (loop_info)): New.
1872 (DEF_VEC_ALLOC_P (loop_info,heap)): New.
1873 (struct loop_info): New.
1874 (loop_info): New typedef.
1875 (struct loop_work): New.
1876 (loop_work): New typedef.
1877 (DEF_VEC_O (loop_work)): New.
1878 (DEF_VEC_ALLOC_O (loop_work,heap)): New.
1879 (bfin_dump_loops): New.
1880 (bfin_bb_in_loop): New.
1881 (bfin_scan_loop): New.
1882 (bfin_optimize_loop): New.
1883 (bfin_reorg_loops): New.
1884 (bfin_reorg): Use bfin_reorg_loops.
1885 * config/bfin/bfin.h (FIRST_PSEUDO_REGISTER): Adjust for adding
1887 (I_REGNO_P): Simplify.
1888 (DP_REGNO_P, DPREG_P): New macros.
1889 (REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
1890 REG_ALLOC_ORDER): Add LT0, LT1, LC0, LC1, LB0, LB1.
1891 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
1892 Add LT_REGS, LC_REGS, LB_REGS.
1893 (REG_CLASS_FROM_LETTER): Add 't' for LT_REGS, 'k' for LC_REGS,
1895 (REGNO_REG_CLASS): Deal with loop registers.
1896 * config/bfin/bfin.md: Add comment for 't', 'k', 'l' constraint
1898 (REG_LT0, REG_LT1, REG_LC0, REG_LC1, REG_LB0, REG_LB1):
1899 New constants for loop registers.
1900 (UNSPEC_LSETUP_END): New.
1901 (seq_insns): New define_attr. Set it for appropriate insns.
1902 (movsi_insn): Add alternatives for move from/to
1903 loop count registers.
1904 (doloop_end): New define_expand.
1905 (loop_end): New define_insn.
1906 (define_split for bad doloop_end): New.
1907 (lsetup_with_autoinit): New define_insn.
1908 (lsetup_without_autoinit): New define_insn.
1909 (rep_movsi, rep_movhi): Clobber LT1, LC1, LB1.
1910 * config/bfin/predicates.md (lc_register_operand): New.
1911 (lt_register_operand): New.
1912 (lb_register_operand): New.
1913 (nondp_register_operand): New.
1914 (nondp_reg_or_memory_operand): New.
1915 * doc/md.texi: Document Blackfin new 't', 'k', 'l' constraint letters.
1917 2006-05-31 Jie Zhang <jie.zhang@analog.com>
1919 * config/bfin/bfin.c (bfin_delegitimize_address): New.
1920 (TARGET_DELEGITIMIZE_ADDRESS): Define.
1922 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
1924 * Makefile.in (CATALOGS): Add po/ prefix.
1925 * configure: Regenerated.
1927 2006-05-31 Richard Earnshaw <richard.earnshaw@arm.com>
1930 * arm.c (arm_print_operand case 'S'): Validate that the operand is
1931 a shift operand before calling shift_op. Avoid redundant call of
1934 2006-05-30 Naveen.H.S <naveenh@kpitcummins.com>
1935 DJ Delorie <dj@redhat.com>
1937 * config/m32c/m32c.c (m32c_expand_insv): Check that the value
1938 we're inserting is a singlt-bit constant.
1940 2006-05-30 Roger Sayle <roger@eyesopen.com>
1942 * simplify-rtx.c (simplify_binary_operation_1) <LSHIFTRT>: Cast
1943 width to HOST_WIDE_INT to avoid comparison warnings on some targets.
1945 2006-05-30 Roger Sayle <roger@eyesopen.com>
1947 PR tree-optimization/23452
1948 * fold-const.c (fold_mult_zconjz): New subroutine of fold_binary,
1949 to optimize z * conj(z) as realpart(z)^2 + imagpart(z)^2.
1950 (fold_binary) <MULT_EXPR>: Call fold_mult_zconjz for integral
1951 complex values and with -ffast-math for FP complex values.
1953 2006-05-30 Kazu Hirata <kazu@codesourcery.com>
1955 * c-common.h: Remove the prototype for yyparse.
1956 * rtl.h: Remove the prototype for init_loop.
1958 2006-05-30 Andreas Krebbel <krebbel1@de.ibm.com>
1960 * cse.c (validate_canon_reg, cse_insn): Don't change insns without
1963 2006-05-30 Roger Sayle <roger@eyesopen.com>
1965 * simplify-rtx.c (simplify_binary_operation): Unfactor the shift
1967 <LSHIFTRT>: Optimize (lshiftrt (clz X) C) as (eq X 0) where C is
1968 log2(GET_MODE_BITSIZE(X)) on targets with the appropriate semantics.
1970 2006-05-30 Dirk Mueller <dmueller@suse.de>
1973 * c-common.c (convert_and_check): Only track TREE_CONSTANT_OVERFLOW
1974 for CONSTANT_CLASS_P expresisons.
1976 2006-05-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1979 * c-typeck.c (c_expr_sizeof_type): Handle invalid types.
1981 2006-05-30 Zdenek Dvorak <dvorakz@suse.cz>
1983 PR tree-optimization/27779
1984 * tree-data-ref.c (analyze_siv_subscript_cst_affine): Use
1985 initial_condition instead of CHREC_LEFT.
1987 2006-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
1989 * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Fix type of begin_label.
1990 * config/m32r/initfini.c (__do_global_dtors, __do_global_ctors):
1991 Make prototypes ISO C90.
1993 2006-05-30 Mircea Namolaru <namolaru@il.ibm.com>
1994 Leehod Baruch <leehod.baruch@weizmann.ac.il>
1996 * see.c (see_analyze_one_def): Correct check.
1997 (see_get_extension_data): Check if extension is parallel.
1998 (see_get_extension_reg): Likewise.
2000 2006-05-30 Uros Bizjak <uros@kss-loka.si>
2003 * config/i386/i386.c (ix86_expand_int_vcond): Force cop0
2004 into register for (code == GTU).
2006 2006-05-29 Roger Sayle <roger@eyesopen.com>
2008 PR tree-optimization/24964
2009 * simplify-rtx.c (simplify_binary_operation_1): Add function comment.
2010 <MULT>: Minor clean-up. Don't convert x*-1.0 into -x if we honor
2011 signaling NaNs. Optimize -x*-x as x*x for all float modes, and
2012 abs(x)*abs(x) as x*x for scalar floating point modes.
2014 2006-05-29 Sebastian Pop <pop@cri.ensmp.fr>
2017 * lambda-code.c (perfect_nestify): Don't copy statements
2018 in the inner loop: move them to the inner loop header.
2020 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2023 * c-tree.texi: Document OpenMP directives and clauses.
2025 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2027 * varasm.c (globalize_decl): Fix indentation.
2029 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2032 * doc/passes.texi: Add documentation for pass_vrp, pass_ipa_pta,
2033 pass_fre, pass_store_ccp, pass_copy_prop,
2034 pass_store_copy_prop, pass_merge_phi, pass_nrv,
2035 pass_return_slot, pass_object_size, pass_lim,
2036 pass_linear_transform, pass_empty_loop, pass_complete_unroll,
2037 pass_loop_prefetch and pass_stdarg.
2039 2005-05-29 Bernd Schmidt <bernd.schmidt@analog.com>
2041 * config/bfin/bfin.opt (mfdpic): New option.
2042 * config/bfin/t-bfin-elf (EXTRA_PARTS): Add crtbeginS.o and crtendS.o.
2043 (EXTRA_MULTILIB_PARTS): Likewise.
2044 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): Use -fpic.
2045 (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Build one extra -mfdpic
2047 * config/bfin/elf.h (STARTFILE_SPEC): Don't link in crt0.o if -shared.
2048 (CRT_CALL_STATIC_FUNCTION): New.
2049 * config/bfin/uclinux.h (STARTFILE_SPEC): Don't link in crt0.o if
2051 (CRT_CALL_STATIC_FUNCTION): New.
2052 * config/bfin/bfin.c (legitimize_pic_address): Now static. Handle
2054 (n_pregs_to_save): PIC register doesn't need to be saved with FD-PIC.
2055 (print_operand): Handle UNSPEC_MOVE_FDPIC and UNSPEC_FUNCDESC_GOT17M4.
2056 (initialize_trampoline): Changed to handle FD-PIC code generation.
2057 (expand_move): If TARGET_FDPIC, use emit_pic_move as needed.
2058 (bfin_expand_call): Generate FD-PIC calls if TARGET_FDPIC.
2059 (override_options): Disallow -mid-shared-library -mfdpic combination.
2060 Can't do unaligned ops if FD-PIC.
2061 Turn off flag_pic if trying to generate non-id-shared-library
2062 non-fdpic code, since it's not supported.
2063 (bfin_assemble_integer): New function.
2064 (TARGET_ASM_INTEGER): Define.
2065 * config/bfin/crti.s (__init, __fini): Save P3 on the stack if
2067 * config/bfin/crtn.s: Restore them.
2068 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __BFIN_FDPIC__
2070 (DRIVER_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS,
2071 LINK_GCC_C_SEQUENCE_SPEC, ASM_SPEC, LINK_SPEC): New macros.
2072 (FDPIC_FPTR_REGNO, FDPIC_REGNO, OUR_FDPIC_REG): New macros.
2073 (TRAMPOLINE_SIZE, TRAMPOLINE_TEMPLATE): Adjust for FD-PIC.
2074 (CONDITIONAL_REGISTER_USAGE): If TARGET_FDPIC, FDPIC_REGNO is
2076 (enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add
2077 FDPIC_REGS and FDPIC_FPTR_REGS.
2078 (REG_CLASS_FROM_LETTER): Use 'Z' and 'Y' for them.
2079 * config/bfin/bfin.md (UNSPEC_MOVE_FDPIC, UNSPEC_FUNCDESC_GOT17M4,
2080 UNSPEC_VOLATILE_LOAD_FUNCDESC): New constants.
2081 (load_funcdescsi): New pattern.
2082 (call_symbol_fdpic, sibcall_symbol_fdpic, call_value_symbol_fdpic,
2083 sibcall_value_symbol_fdpic, call_insn_fdpic, sibcall_insn_fdpic,
2084 call_value_insn_fdpic, sibcall_value_insn_fdpic): New patterns.
2086 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2088 * gcse.c, rtlanal.c: Remove obsolete comments associated with
2091 * config/bfin/bfin.h (PARM_BOUNDRY, STACK_BOUNDRY): Remove.
2093 * tree-flow.h: Remove the prototype for add_type_alias.
2094 * tree-ssa-alias.c (add_type_alias): Remove.
2096 2006-05-28 Kazu Hirata <kazu@codesourcery.com>
2098 * cfgcleanup.c, cfgexpand.c, cgraphunit.c, config/arm/arm.c,
2099 config/fr30/fr30.md, config/i386/i386-interix.h,
2100 config/i386/i386.c, config/i386/i386.md, config/sh/superh.h,
2101 config/sh/superh64.h, config/v850/v850.c, df-core.c,
2102 df-problems.c, df.h, except.c, final.c, haifa-sched.c,
2103 lambda-code.c, libgcc2.h, omp-low.c, optabs.c, predict.c,
2104 reload.c, tree-flow.h, tree-outof-ssa.c, tree-ssa-dce.c,
2105 tree-ssa-pre.c, tree-vect-transform.c: Fix comment typos.
2106 Follow spelling conventions.
2107 * doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix typos.
2108 Follow spelling conventions.
2110 2006-05-27 Richard Guenther <rguenther@suse.de>
2113 * fold-const.c (fold_plusminus_mult_expr): Use fold_convert
2114 to produce a constant of value 1 of generic type.
2116 2006-05-27 Dirk Mueller <dmueller@suse.de>
2118 * cgraphunit.c (decide_is_function_needed): Fix wrong
2121 2006-05-26 Ulrich Weigand <uweigand@de.ibm.com>
2123 PR rtl-optimization/27661
2124 * reload.c (find_reloads): When reloading a VOIDmode constant
2125 as address due to an EXTRA_MEMORY_CONSTRAINT or 'o' constraint,
2126 use Pmode as mode of the reload register.
2128 2006-05-26 Eric Botcazou <ebotcazou@adacore.com>
2130 * doc/invoke.texi (Optimize Options): Document that -funit-at-a-time
2131 is enabled at -O and above.
2133 2006-05-26 Steven Bosscher <steven@gcc.gnu.org>
2136 * config/alpha/alpha.c (alpha_does_function_need_gp): Skip jump
2139 2006-05-25 Mark Mitchell <mark@codesourcery.com>
2142 * gimplify.c (gimplify_decl_expr): Do not call gimple_add_tmp_var
2143 for anonymous variables explicitly declared by front ends.
2145 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2147 * tree-ssa-structalias.h (PTR_IS_REF_ALL): New macro.
2148 (struct alias_info): Add new field ref_all_symbol_mem_tag.
2149 * tree-ssa-alias.c (compute_may_aliases): If the program contains
2150 ref-all pointers, run a finalization pass for them.
2151 (compute_flow_insensitive_aliasing): Skip ref-all pointers.
2152 (finalize_ref_all_pointers): New function.
2153 (is_escape_site): Return ESCAPE_BAD_CAST for conversion from a
2154 regular pointer type to a ref-all pointer type.
2155 (get_tmt_for): Return the special memory tag for ref-all pointers.
2157 2006-05-25 Richard Guenther <rguenther@suse.de>
2160 * fold-const.c (fold_binary): Do not look at the stripped
2161 op0 for (a OP c1) OP c2 to a OP (c1+c2) shift optimization.
2163 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2165 * tree-vrp.c (extract_range_from_assert): Set the range to VARYING
2166 for LT and GT if the computed range is effectively empty.
2168 2006-05-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2171 * pa/pa-modes.def: Use mips_single_format, mips_double_format and
2172 mips_quad_format formats instead of ieee_single_format,
2173 ieee_double_format and ieee_quad_format formats, respectively.
2175 2006-05-24 Zdenek Dvorak <dvorakz@suse.cz>
2177 PR tree-optimization/27639
2178 PR tree-optimization/26719
2179 * tree-vrp.c (adjust_range_with_scev): Use scev_direction and adjust
2180 call to scev_probably_wraps_p.
2181 * tree-ssa-loop-niter.c (compare_trees, convert_step_widening,
2182 used_in_pointer_arithmetic_p, convert_step): Removed.
2183 (nowrap_type_p): New function.
2184 (scev_probably_wraps_p): Rewritten.
2185 * tree-scalar-evolution.c (instantiate_parameters_1): Do not call
2186 chrec_convert if chrec_convert_aggressive might have been used.
2187 * tree-chrec.c (convert_affine_scev, chrec_convert_1,
2188 scev_direction): New functions.
2189 (chrec_convert): Changed to a wrapper over chrec_convert_1.
2190 * tree-ssa-loop-ivopts.c (idx_find_step): Use convert_affine_scev
2191 instead of convert_step.
2192 * tree-flow.h (scev_probably_wraps_p): Declaration changed.
2193 (convert_step): Declaration removed.
2194 (convert_affine_scev, nowrap_type_p, scev_direction): Declare.
2196 2006-05-23 Kenneth Zadeck <zadeck@naturalbridge.com>
2198 * df-core.c: Added to header comments.
2199 * df.h (df_ru_bb_info, df_rd_bb_info, df_lr_bb_info,
2200 df_ur_bb_info, df_urec_bb_info): Added comments.
2201 * df-problems (df_ref_bitmap, ru, rd, lr, ur,
2202 urec, ri problems): Fixed header comments.
2203 (df_ru_transfer_function): Fixed in-out set dyslexia when copying
2204 code from df_rd_transfer_function.
2206 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2208 * libgcc2.c (LIBGCC2_MAX_UNITS_PER_WORD): New macro.
2209 (LIBGCC2_UNITS_PER_WORD): Use LIBGCC2_MAX_UNITS_PER_WORD rather than
2210 MIN_UNITS_PER_WORD to set the default. Also use it in the guard.
2212 2006-05-23 Joseph Myers <joseph@codesourcery.com>
2214 * expr.c (undefined_operand_subword_p): New.
2215 (emit_move_multi_word): Do not generate move from undefined bits
2216 of a paradoxical subreg.
2218 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2220 PR rtl-optimization/27736
2221 * combine.c (replaced_rhs_value): New variable.
2222 (combine_instructions): Set it.
2223 (distribute_notes): When distributing a note in replaced_rhs_insn,
2224 check whether the value was used in replaced_rhs_value.
2226 2006-05-23 Andrew MacLeod <amacleod@redhat.com>
2229 * tree-ssa-loop-im.c (determine_invariantness_stmt): Use
2230 add_referenced_var instead of add_referenced_tmp_var.
2231 * tree-complex.c (create_one_component_var): Use add_referenced_var.
2232 * tree-ssa-loop-manip.c (create_iv, tree_unroll_loop): Use
2234 * tree-tailcall.c (adjust_accumulator_values, adjust_return_value,
2235 tree_optimize_tail_calls_1): Use add_referenced_var.
2236 * tree-ssa-loop-ivopts.c (create_new_iv): Use add_referenced_var.
2237 * tree-ssa-alias.c (create_memory_tag, create_global_var, create_sft):
2238 Use add_referenced_var.
2239 * tree-if-conv.c (ifc_temp_var): Use add_referenced_var.
2240 * gimplify.c (force_gimple_operand): Use add_referenced_var.
2241 * tree-ssa-phiopt.c (conditional_replacement, abs_replacement):
2242 Use add_referenced_var.
2243 * tree-dfa.c (struct walk_state): Remove.
2244 (find_referenced_vars): Remove walk state and vars_found hash table.
2245 (make_rename_temp): Use add_referenced_var.
2246 (find_vars_r): Pass less parameters to add_referenced_var.
2247 (referenced_var_p): New. Is var in referenced_var hash table.
2248 (referenced_var_insert): Assert var isn't already in hash table.
2249 (add_referenced_var): Don't need walk_state parameter. Add var if it
2250 isn't already in the hash table.
2251 (add_referenced_tmp_var): Remove.
2252 (find_new_referenced_vars_1): Use add_referenced_var.
2253 * tree-ssa-pre.c (create_expression_by_pieces,
2254 insert_into_preds_of_block, insert_extra_phis, realify_fake_stores):
2255 Use add_referenced_var.
2256 * tree-vect-patterns.c (vect_pattern_recog_1): Use add_referenced_var.
2257 * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression,
2258 lambda_loopnest_to_gcc_loopnest, perfect_nestify): Use
2260 * tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
2261 vect_create_data_ref_ptr, vect_create_destination_var,
2262 vect_init_vector, vect_build_loop_niters,
2263 vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
2264 vect_gen_niters_for_prolog_loop, vect_create_cond_for_align_checks):
2265 Use add_referenced_var.
2266 * tree-outof-ssa.c (create_temp): Use add_referenced_var.
2267 * tree-flow.h (add_referenced_tmp_var): Remove prototype
2268 (add_referenced_var): Add prototype.
2269 * tree-ssa-structalias.c (get_constraint_for,
2270 intra_create_variable_infos): Use add_referenced_var.
2272 2006-05-23 Alexandre Oliva <aoliva@redhat.com>
2274 * simplify-rtx.c (simplify_subreg): Adjust REG_OFFSET for
2275 big-endian paradoxical subregs.
2276 * var-tracking.c (struct micro_operation_def): Document that,
2277 for modify micro operations, insn is the subsequent instruction.
2278 (var_reg_delete_and_set, var_mem_delete_and_set): Split into...
2279 (var_reg_set, var_mem_set): ... new functions.
2280 (add_stores): Record subsequent insn.
2281 (compute_bb_dataflow): Use new functions for MO_USE.
2282 (emit_notes_in_bb): Use new functions for MO_USE. Emit use
2283 notes after the insn, and modify notes before the insn known
2284 to be the subsequent one.
2285 (vt_initialize): Invert sorting of MO_CLOBBERs and MO_SETs.
2287 2006-05-23 Kazu Hirata <kazu@codesourcery.com>
2290 * config/i386/i386.c (ix86_expand_builtin): Use
2291 gen_sse3_monitor64 for TARGET_64BIT.
2293 2006-05-22 Kenneth Zadeck <zadeck@naturalbridge.com>
2295 PR rtl-optimization/26375
2296 PR rtl-optimization/26855
2297 * df-problems (df_ru_bb_local_compute_process_def): Removed update
2299 (df_ru_bb_local_compute): Reversed statements and removed bogus
2300 comment explaining why they should be in wrong order.
2301 (df_ru_dump, df_rd_dump): Enhanced debug info.
2302 * modulo-sched.c (sms_schedule, tree_opt_pass pass_sms): Enhanced
2304 * ddg.c (add_deps_for_def): Converted use of reaching defs to
2305 reaching uses and fixed space problem.
2307 2006-05-23 Jan Hubicka <jh@suse.cz>
2309 * cgraphunit.c (decide_is_function_needed): Also nested functions
2310 and functions declared inline can be optimized out at -O0.
2312 2006-05-22 Gerald Pfeifer <gerald@pfeifer.com>
2314 * doc/install.texi (Configuration): Remove reference to CrossGCC
2318 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2321 * config/i386/i386.c (ix86_expand_branch): Jump to simple if
2322 ix86_compare_emitted is non-NULL.
2324 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2327 * stmt.c (expand_asm_operands): Skip asm statement with erroneous
2330 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2332 PR rtl-optimization/25514
2333 * combine.c (replaced_rhs_insn): New variable.
2334 (combine_instructions): Set replaced_rhs_insn when trying to replace
2335 a SET_SRC with a REG_EQUAL note.
2336 (distribute_notes): Use replaced_rhs_insn when determining the live
2337 range of a REG_DEAD register.
2339 2006-18-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
2340 Anatoly Sokolov <aesok@post.ru>
2342 * config/avr/avr.c (avr_mcu_types): Add support for attiny261,
2343 attiny461, attiny861, attiny25, attiny45, attiny85, attiny24,
2344 attiny44, attiny84, at90pwm2, at90pwm3, atmega165p, atmega169p,
2345 atmega164p, atmega324p, atmega644p, atmega644, atmega329,
2346 atmega3290, atmega649, atmega6490, atmega406, atmega640,
2347 atmega1280, atmega1281, at90can32, at90can64, at90usb646,
2348 at90usb647, at90usb1286 and at90usb1287 devices.
2349 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
2350 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
2352 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2354 * mklibgcc.in (lib2funcs): Remove _floatdidf from initial assignment.
2356 2006-05-22 Richard Guenther <rguenther@suse.de>
2359 2006-01-31 Richard Guenther <rguenther@suse.de>
2360 Paolo Bonzini <bonzini@gnu.org>
2362 * doc/install.texi (--disable-libgcc-math): Document.
2364 2006-05-22 Richard Guenther <rguenther@suse.de>
2367 2006-01-31 Richard Guenther <rguenther@suse.de>
2369 * doc/invoke.texi (-msselibm): Document.
2370 * target.h (expand_library_builtin): New target hook.
2371 * builtins.c (expand_builtin): Use expand_library_builtin.
2372 (default_expand_library_builtin): New function.
2373 * gcc.c (LINK_GCC_MATH_SPEC): Define.
2374 (LINK_COMMAND_SPEC): Handle %(link_gcc_math).
2375 (link_gcc_math_spec): Declare.
2376 (static_specs): Add link_gcc_math_spec.
2377 * expr.h (default_expand_library_builtin): Declare.
2378 * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2379 (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN.
2380 * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC.
2381 * config/i386/i386.opt (msselibm): New target option.
2382 * config/i386/i386.c (ix86_builtin_function_variants): New array.
2383 (ix86_init_sse_abi_builtins): New function.
2384 (ix86_expand_library_builtin): Likewise.
2385 (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2386 (override_options): Handle error conditions wrt -msselibm.
2387 (ix86_builtins): Add function codes for SSE2 ABI builtins.
2388 (ix86_init_builtins): Call ix86_init_sse_abi_builtins.
2389 * doc/extend.texi (__builtin_sse2_*): Document new target specific
2392 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2395 * c-common.c (self_promoting_args_p): Skip erroneous args.
2398 * c-decl.c (finish_struct): Skip erroneous fields.
2400 2006-05-22 Nick Clifton <nickc@redhat.com>
2402 * config/cris/cris.opt (march): Remove VarExists attribute.
2403 (max-stackframe=): Likewise.
2405 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2407 * doc/rtl.texi: Fix a typo.
2408 * see.c: Fix comment typos.
2410 * tree-ssa-structalias.h (alias_info): Remove num_references.
2412 2006-05-21 Mike Stump <mrs@apple.com>
2414 * config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
2416 (darwin_pragma_options): Use BAD instead.
2417 (darwin_pragma_unused): Likewise.
2418 (darwin_pragma_ms_struct): Likewise.
2420 2006-05-21 David Edelsohn <edelsohn@gnu.org>
2422 * config/rs6000/rs6000.md (floatsitf2): Remove constraints.
2424 2006-05-21 Kazu Hirata <kazu@codesourcery.com>
2426 PR rtl-optimization/27671
2427 * simplify-rtx.c (simplify_relational_operation_1): Fix
2428 simplifications of (eq/ne (xor x y) y) and
2429 (eq/ne (xor x y) x).
2431 PR tree-optimization/26622.
2432 * fold-const.c (fold_ternary) <COND_EXPR>: Call fold_convert
2435 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2437 * tree-cfg.c: Prune whitespace.
2438 (debug_tree_cfg): Point to correct header containing the
2441 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2444 * cgraphunit.c (verify_cgraph_node): Typo in error message.
2446 2006-05-20 Andrew Pinski <pinskia@physics.uc.edu>
2449 * cgraphunit.c (cgraph_optimize): Don't run ipa passes if error
2450 or sorry count is non zero.
2452 2006-05-20 Andreas Schwab <schwab@suse.de>
2454 * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.
2456 2006-05-19 Daniel Berlin <dberlin@dberlin.org>
2457 Kenneth Zadeck <zadeck@naturalbridge.com>
2459 PR rtl-optimization/26855
2461 * df-scan.c (mw_reg_pool, mw_link_pool): New allocation pools for
2463 (df_scan_alloc): Added code to properly handle multiword hard
2464 registers and add all_blocks parameter.
2465 (df_scan_free_internal, df_insn_refs_delete, df_ref_record): Added
2466 code to properly handle multiword hard registers.
2467 (df_rescan_blocks): Added code to remove deleted blocks from
2469 (df_ref_create_structure, df_ref_record): Added code to properly
2471 (df_ref_record_1): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER
2472 and set DF_REF_PARTIAL.
2473 (df_defs_record): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER.
2474 (df_uses_record): Added DF_REF_PARTIAL for subreg.
2475 (df_scan_add_problem): Added flags parameter.
2476 (df_ref_create_structure): Changed switching structure.
2477 (df_bb_refs_record): Fixed case where duplicate artificial refs
2478 were created. Changed location of flags.
2479 (df_record_entry_block_defs): Added code to make stack pointer
2480 live in entry block. Refined cases where frame pointer is needed.
2481 Changed location of flags.
2482 (df_record_exit_block_uses, df_insn_refs_record): Changed location of flags.
2483 (df_set_state): Removed function.
2484 (df_grow_reg_info, df_reg_chain_unlink, df_ref_remove,
2485 df_insn_create_insn_record, df_insn_refs_delete,
2486 df_ref_create_structure): Formatting changes.
2487 * df-core.c (df_mvs_dump, df_set_flags, df_clear_flags,
2488 df_delete_basic_block): New function.
2489 (df_init): Changed location of flags.
2490 (df_add_problem): Added flags parameter and the way flags are
2492 (df_insn_uid_debug, df_ref_debug, debug_df_defno, debug_df_ref,
2493 debug_df_chain): Improved debugging output.
2494 (df_insn_debug, df_insn_uid_debug): Added multiword reg support.
2495 (df_refs_chain_dump): Removed df parameter.
2496 (df_iterative_dataflow): Added consistency check.
2497 (df_prune_to_subcfg): Made public.
2498 (df_analyze_problem): Added blocks_to_init parameter and made
2500 (df_ref_record, df_bb_refs_record, df_mark_reg,
2501 df_record_exit_block_uses): Whitespace changes.
2502 (df_dump): Whitespace changes.
2503 * df.h: Some reordering to remove forward references.
2504 (df_ref_flags.DF_REF_MW_HARDREG, DF_REF_PARTIAL,
2505 DF_REF_MUST_CLOBBER, DF_REF_MAY_CLOBBER): New fields.
2506 (df_ref_flags.DF_REF_CLOBBER): Deleted field.
2507 (dataflow.flags): New field.
2508 (df.flag): Deleted field.
2509 (df_alloc_function): Added additional bitmap parameter.
2510 (df_dependent_problem_function): New type.
2511 (df_problem.changeable_flags): New field.
2512 (df_ref_flags.DF_REF_DIES_AFTER_THIS_USE, DF_SCAN_INITIAL,
2513 DF_SCAN_GLOBAL, DF_SCAN_POST_ALLOC, df_state): Removed.
2514 (df_mw_hardreg): New struct.
2515 (DF_INSN_UID_MWS): New macro.
2516 (df_refs_chain_dump, df_ref_debug, df_chain_dump): Removed df
2518 (df_add_problem, df_ru_add_problem, df_rd_add_problem,
2519 df_lr_add_problem, df_ur_add_problem, df_urec_add_problem,
2520 df_ri_add_problem, df_scan_add_problem): Added flags parameter.
2521 (df_set_state): Removed function.
2522 (df_set_flags, df_clear_flags, df_delete_basic_block) New functions.
2523 * df-problems.c (df_chain_dump): Removed df parameter.
2524 (df_ru_alloc, df_rd_alloc, df_lr_alloc, df_ur_alloc,
2525 df_urec_alloc, df_chain_alloc, df_ri_alloc): Added all blocks
2527 (df_ru_alloc, df_rd_alloc): Now resets all blocks.
2528 (df_rd_bb_local_compute_process_def, df_ur_bb_local_compute,
2529 df_chain_create_bb, df_create_unused_note, df_ri_bb_compute):
2530 Split DF_REF_CLOBBER into DF_REF_MAY_CLOBBER and
2531 DF_REF_MUST_CLOBBER cases.
2532 (df_ru_bb_local_compute_process_def,
2533 df_rd_bb_local_compute_process_def, df_lr_bb_local_compute,
2534 df_lr_bb_local_compute, df_ur_bb_local_compute,
2535 df_chain_create_bb): Made subreg aware.
2536 (df_ru_bb_local_compute, df_rd_bb_local_compute,
2537 df_lr_bb_local_compute, df_lr_bb_local_compute,
2538 df_chain_create_bb): Cleanup to use proper macros.
2539 (df_ur_local_finalize, df_urec_local_finalize): Removed unnecessary
2540 code to fixup bitvectors.
2541 (df_ri_alloc): Cleared lifetime.
2542 (df_ignore_stack_reg, df_kill_notes, df_set_notes_for_mw,
2543 df_create_unused_note): New function.
2544 (df_ri_bb_compute, df_ri_compute): Added code to create/update
2545 REG_DEAD and REG_UNUSED notes as well as register information.
2546 (df_ru_dump, df_rd_dump, df_lr_dump, df_ur_dump, df_urec_dump,
2547 df_chains_dump): Fixed crash if problem was never run.
2548 (df_ru_add_problem, df_rd_add_problem, df_lr_add_problem,
2549 df_ur_add_problem, df_urec_add_problem, df_chain_add_problem,
2550 df_ri_add_problem): Processes flags in uniform manner.
2551 (df_ru_alloc, df_ru_local_compute, df_ru_confluence_n, df_ru_free,
2552 df_ru_dump, df_rd_local_compute, df_rd_confluence_n, df_rd_free,
2553 df_rd_dump, df_urec_free_bb_info): Formatting changes.
2554 (df_ru_free_bb_info, df_ru_bb_local_compute, df_ru_dump,
2555 df_rd_free_bb_info, df_rd_bb_local_compute_process_def,
2556 df_rd_bb_local_compute, df_rd_dump, df_lr_free_bb_info,
2557 df_lr_bb_local_compute, df_lr_local_compute, df_ur_free_bb_info,
2558 df_ur_dump, df_urec_free_bb_info, df_urec_dump,
2559 df_chain_create_bb, df_ri_bb_compute): Whitespace changes.
2560 * modulo-sched.c (sms_schedule): Added flag parameter to calls.
2561 * see.c (see_initialize_data): Ditto.
2562 * final.c (rest_of_clean_state) Added regstack_completed.
2563 * rtl.h (regstack_completed): Ditto.
2564 * reg-stack.c (regstack_completed): Ditto.
2566 2006-05-19 Mike Stump <mrs@apple.com>
2568 * c-tree.h (default_conversion): Remove.
2569 * c-common.h (default_conversion): Add.
2571 2006-05-19 Zdenek Dvorak <dvorakz@suse.cz>
2573 * tree-vrp.c (valid_value_p): New function.
2574 (adjust_range_with_scev): Fail if the value of bound is not
2577 2006-05-19 Richard Sandiford <richard@codesourcery.com>
2579 * config/mips/linux-unwind.h: Include <asm/unistd.h>
2580 (mips_fallback_frame_state): Use syscall numbers to determine
2581 the appropriate li instruction for the current ABI. Only use
2582 __NR_sigreturn for o32.
2584 2006-05-19 Nicolas Setton <setton@adacore.com>
2586 * langhooks.h (struct lang_hooks): Add dwarf_name language hook.
2587 * langhooks.c (lhd_dwarf_name): New function.
2588 * langhooks-def.h (lhd_dwarf_name): Declare.
2589 (LANG_HOOKS_DWARF_NAME): New macro, defaults to lhd_dwarf_name.
2590 * dwarf2out.c (dwarf2_name): Use the dwarf_name language hook.
2591 * ada/misc.c (gnat_dwarf_name): New function.
2592 (LANG_HOOKS_DWARF_NAME): Define to gnat_dwarf_name.
2594 2006-05-19 Richard Sandiford <richard@codesourcery.com>
2596 * libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
2598 (LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
2599 MIN_UNITS_PER_WORD logic from libgcc2.h. Do nothing if
2600 LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
2601 * libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
2602 Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
2603 determine the size of Wtype, etc.
2604 * mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
2605 (swfloatfuncs): New variable.
2606 (dwfloatfuncs): Likewise.
2607 (lib2funcs): Remove floating-point conversion functions from
2608 initial assignment. Use LIB2_SIDITI_CONV_FUNCS to determine
2609 the set of conversion routines needed. Allow entries to specify
2610 an object name, filename and word size. Update users accordingly.
2611 * Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
2612 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
2616 2006-02-08 Roger Sayle <roger@eyesopen.com>
2619 * config/fixtfdi.c: New libgcc source file.
2620 * config/fixunstfdi.c: New source file.
2621 * config/floatditf.c: New source file.
2622 * config/floatunditf.c: New souce file.
2623 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
2624 files above instead of config/mips/_tilib.c.
2625 * config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
2627 2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2629 * pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
2630 * pa/pa-hpux11.h (LIB_SPEC): Update comment.
2632 2006-05-18 Mike Stump <mrs@apple.com>
2634 Fix up vla, vm and [*] sematics.
2640 * c-tree.h (struct c_arg_info): Add had_vla_unspec.
2641 (c_vla_unspec_p): Add.
2642 (c_vla_type_p): Add.
2643 * c-decl.c (struct c_scope): Add had_vla_unspec.
2644 (build_array_declarator): Add support for [*].
2645 (grokdeclarator): Likewise.
2646 (grokparms): Likewise.
2647 (get_parm_info): Likewise.
2648 * c-objc-common.c (c_vla_unspec_p): Likewise.
2649 * c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
2650 * c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
2651 typeof when argument is a variably modified type not inside sizeof or alignof.
2652 (c_parser_direct_declarator_inner): Propagate errors.
2653 (c_parser_sizeof_expression): Add support for [*].
2654 (c_parser_parms_declarator): Initialize had_vla_unspec.
2655 (c_parser_parms_list_declarator): Likewise.
2656 * c-typeck.c (c_vla_type_p): Add.
2657 (composite_type): Add support for vla compositing.
2658 (comptypes_internal): Add support for vla compatibility.
2659 (c_expr_sizeof_expr): Evaluate vla arguments.
2660 * tree.c (variably_modified_type_p): Update comment for [*].
2662 2006-05-18 Michael Matz <matz@suse.de>
2665 * config.host: Make assignments to host_xmake_file cumulative.
2666 * config.host (*-darwin*): Test $host, not $target.
2668 2006-05-12 Stuart Hastings <stuart@apple.com>
2670 * config/i386/i386.opt (-mstackrealign): New flag.
2671 * config/i386/i386.c (force_align_arg_pointer): New attribute.
2672 (ix86_handle_cconv_attribute): Emit error when
2673 force_align_arg_pointer attribute collides with too many regparms.
2674 (ix86_function_regparm): Limit regparms when used with
2675 force_align_arg_pointer attribute. (ix86_internal_arg_pointer):
2676 Support stack-realigning prologue in non-main functions. Emit
2677 warning for nested functions under -mstackrealign, emit error for
2678 nested functions with force_align_arg_pointer attribute.
2679 * doc/extend.texi (force_align_arg_pointer): Document it.
2680 * doc/invoke.texi (-mstackrealign): Document it.
2682 2006-05-17 Kazu Hirata <kazu@codesourcery.com>
2684 PR rtl-optimization/27477
2685 * combine.c (try_combine): Don't split a parallel consisting
2686 of two sets into two individual sets if both sets reference
2689 2006-05-17 H.J. Lu <hongjiu.lu@intel.com>
2691 * config/arm/arm.opt (target_fpe_name): Remove VarExists.
2692 * config/rs6000/rs6000.opt (TARGET_NO_FP_IN_TOC): Likewise.
2694 * doc/options.texi (VarExists): Updated.
2696 2006-05-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2698 * unwind-dw2.c: Add declarations for uw_update_context and
2700 * pa/hpux-unwind.h (pa_fallback_frame_state): When an export stub is
2701 detected, advance frame state and context once to skip over stub.
2703 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
2707 * tree-loop-linear.c (linear_transform_loops): Don't test perfect_nest_p.
2708 Call rewrite_into_loop_closed_ssa only when something changed.
2709 * lambda.h (gcc_loopnest_to_lambda_loopnest): Update declaration.
2710 * lambda-code.c (can_convert_to_perfect_nest): Declared.
2711 (gcc_loopnest_to_lambda_loopnest): Removed need_perfect_nest parameter.
2712 Test for perfect_nest_p here. Fix formating.
2713 (replace_uses_equiv_to_x_with_y): Fix formating.
2714 (stmt_uses_op): Removed.
2715 (can_convert_to_perfect_nest): Removed loopivs parameter.
2716 Complete the test by checking the scalar dependences.
2717 (perfect_nestify): Remove the test for can_convert_to_perfect_nest.
2720 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
2723 From Dan Kegel <dank@kegel.com>:
2724 * Makefile.in: Strip "dir/../" combinations from SYSTEM_INCLUDE_DIR.
2726 2006-05-17 Eric Botcazou <ebotcazou@adacore.com>
2728 * tree.c (variably_modified_type_p) <ARRAY_TYPE>: Return true
2729 if the element type is variably modified without recursing.
2731 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
2734 * tree-loop-linear.c (try_interchange_loops): Test for
2735 no data dependences.
2737 2006-05-17 Zdenek Dvorak <dvorakz@suse.cz>
2739 PR tree-optimization/27548
2740 * tree-scalar-evolution.c (scev_const_prop): Do not prolong life
2741 range of ssa names that appear on abnormal edges.
2742 * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
2743 * tree-flow.h (contains_abnormal_ssa_name_p): Declare.
2745 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
2748 * expr.c (safe_from_p): Handle CONSTRUCTOR again.
2750 2006-05-17 Jakub Jelinek <jakub@redhat.com>
2753 * tree.h (OMP_PARALLEL_COMBINED): Define.
2754 * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
2755 (new_omp_context): Add is_combined_parallel argument.
2756 (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
2757 new_omp_context caller.
2758 (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
2759 Adjust gimplify_scan_omp_clauses callers.
2760 (omp_is_private): Issue errors if iteration variable is firstprivate
2761 or reduction in the current context.
2762 * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
2763 on combined parallel workshare constructs.
2765 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2767 * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
2768 (gcc-options.o): New rule.
2770 * optc-gen.awk: Protect variables for gcc-options.o with
2771 #ifdef GCC_DRIVER/#endif.
2773 2006-05-16 Daniel Berlin <dberlin@dberlin.org>
2775 Fix PR tree-optimization/27373
2776 * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument.
2777 (forward_propagate_addr_expr): Update call.
2779 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2781 * doc/options.texi: Move the Negative option.
2783 2006-05-16 Richard Guenther <rguenther@suse.de>
2785 PR tree-optimization/22303
2786 * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
2788 (evaluate_stmt): Fall back to fold_const_aggregate_ref, if
2789 ccp_fold did not simplify the statement.
2791 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2794 * Makefile.in (GCC_OBJS): New.
2795 (OBJS-common): Add opts-common.o.
2796 (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
2797 (cpp$(exeext)): Likewise.
2798 (gcc.o): Also depend on opts.h.
2799 (opts-common.o): New.
2801 * common.opt (gcoff): Add Negative(gdwarf-2).
2802 (gdwarf-2): Add Negative(gstabs).
2803 (gstabs): Add Negative(gstabs+).
2804 (gstabs+): Add Negative(gvms).
2805 (gvms): Add Negative(gxcoff).
2806 (gxcoff): Add Negative(gxcoff+).
2807 (gxcoff+): Add Negative(gcoff).
2808 * config/i386/i386.opt (m32): Add Negative(m64).
2809 (m64): Add Negative(m32).
2811 * doc/options.texi: Document the Negative option.
2813 * gcc.c: Include "opts.h".
2814 (main): Call prune_options after expandargv.
2816 * optc-gen.awk: Generate common declarations for all flag
2817 variables in options.c. Output the neg_index field.
2819 * opts.c (find_opt): Moved to ...
2820 * opts-common.c: Here. New file.
2822 * opts.h (cl_option): Add a neg_index field.
2824 (prune_options): Likewise.
2826 2006-05-16 Jakub Jelinek <jakub@redhat.com>
2829 * omp-low.c (expand_omp_parallel): Don't assert
2830 .OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
2831 instead search for it.
2834 * gimplify.c (gimplify_omp_for): Remove assertion that iteration var
2837 2006-05-16 Andreas Schwab <schwab@suse.de>
2839 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
2842 2006-05-15 Roger Sayle <roger@eyesopen.com>
2845 * config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
2846 integer constants other than zero are only legitimate on TARGET_64BIT.
2847 <CONST_VECTOR> Only zero vectors are legitimate.
2848 (ix86_cannot_force_const_mem): Integral and vector constants can
2849 always be put in the constant pool.
2851 2006-05-16 DJ Delorie <dj@redhat.com>
2853 * crtstuff.c (__dso_handle): Set section from
2854 TARGET_LBIGCC_SDATA_SECTION if defined.
2855 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Document.
2856 * config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.
2858 2006-05-16 Danny Smith <dannysmith@users.sourceforge.net>
2861 * config.host (i[34567]86-*-mingw*): Append i386/x-mingw32 to
2864 2006-05-16 Ben Elliston <bje@au.ibm.com>
2866 * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
2868 2006-05-15 Per Bothner <per@bothner.com>
2870 * tree.c: (last_annotated_node): Use source_locus typedef.
2871 This permits bootstrapping with --enable-mapped-location.
2873 2006-05-15 Zdenek Dvorak <dvorakz@suse.cz>
2875 PR tree-optimization/26830
2876 * tree-into-ssa.c (struct ssa_name_info): Add age field.
2877 (info_for_ssa_name, current_info_for_ssa_name_age,
2878 blocks_to_update): New variables.
2879 (get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
2880 (clear_ssa_name_info, initialize_flags_in_bb,
2881 mark_block_for_update): New functions.
2882 (mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
2883 (insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
2884 prepare_def_site_for): Use mark_block_for_update.
2885 (mark_def_interesting): Assert that the processed block is marked in
2886 blocks_to_update. Do not take blocks argument.
2887 (prepare_use_sites_for, prepare_names_to_update): Do not take blocks
2889 (rewrite_update_init_block, rewrite_update_stmt): Only process
2890 blocks with statements to rewrite.
2891 (delete_update_ssa): Do not clear SSA_NAME_AUX.
2892 (update_ssa): Initialize and free blocks_to_update. Do not
2893 clear flags on statements. Do not use blocks bitmap.
2894 * tree.h (SSA_NAME_AUX): Removed.
2895 (struct tree_ssa_name): Removed aux field.
2896 * print-tree.c (print_node): Do not print SSA_NAME_AUX.
2898 2006-05-15 Richard Guenther <rguenther@suse.de>
2900 PR tree-optimization/27603
2901 * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
2902 Do computations in original type.
2904 2006-05-15 Mircea Namolaru <namolaru@il.ibm.com>
2906 * see.c: Code style changes such as redundant paranthesis,
2907 redundant intialization of local variables etc.
2908 (see_main): Declared now as static.
2909 * doc/invoke.texi: Update that -fsee is not enabled by
2912 2006-05-15 Jakub Jelinek <jakub@redhat.com>
2914 * omp-low.c (check_omp_nesting_restrictions): New function.
2915 (scan_omp_1): Call it.
2918 * omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
2919 construct, return *VAR.
2921 2006-05-14 Kaz Kojima <kkojima@gcc.gnu.org>
2923 PR rtl-optimization/27406
2924 * bt-load.c (migrate_btr_def): Skip the block having abnormal
2927 2006-05-14 Roger Sayle <roger@eyesopen.com>
2929 PR rtl-optimization/27538
2930 * combine.c (expand_compound_operation): Call gen_lowpart
2931 before calling simplify_shift_const.
2933 2006-05-14 Roger Sayle <roger@eyesopen.com>
2935 PR rtl-optimization/22563
2936 * expmed.c (store_fixed_bit_field): When using AND and IOR to store
2937 a fixed width bitfield, always force the intermediates into psuedos.
2939 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
2942 * mkconfig.sh: Use operator = instead of == for test.
2944 2006-05-13 Nick Clifton <nickc@redhat.com>
2946 * dwarf2out.c (dbx_reg_number): Check return value from
2947 LEAF_REG_REMAP and only use it if it is valid.
2948 (multiple_reg_loc_descriptor): Likewise.
2950 2006-05-13 Richard Guenther <rguenther@suse.de>
2952 * config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
2955 2006-05-13 Steven Bosscher <stevenb.gcc@gmail.com>
2957 * df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
2958 information attached to non-INSNs such as NOTEs.
2959 (df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
2961 2006-05-12 Andreas Krebbel <krebbel1@de.ibm.com>
2963 * config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
2965 * config/s390/s390.md: Adjust comment describing On constraint.
2967 2006-05-11 Jan Hubicka <jh@suse.cz>
2969 * cgraphunit.c (decide_is_function_needed): Don't force always_inline
2970 to be output at -O0.
2972 2006-05-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2975 * fold-const.c (size_binop): Move sanity check for arguments to
2976 the beginning of the function.
2979 * fold-const.c (tree_expr_nonnegative_p): Return early on invalid
2982 2006-05-11 Richard Guenther <rguenther@suse.de>
2985 * fold-const.c (fold_unary): Handle intermediate conversion
2986 to a pointer type like intermediate conversion to an integer
2987 type in folding of (T1)(T2)var to var.
2988 Match the code to the comment in the final conversion for
2989 (T1)(T2)var to (T1)var regarding to type precision. Rather
2990 than disallow T1 being of pointer type, assert that both T1
2991 and var are of pointer type or not. Make sure not to fall
2992 over the frontends lazyness wrt array to pointer decay though.
2994 2006-05-10 Richard Earnshaw <rearnsha@arm.com>
2996 * arm.c (arm_struct_value_rtx): Delete.
2997 (TARGET_STRUCT_VALUE_RTX): Use the default definition.
2998 (arm_init_cumulative_args): Always initialize nregs to zero.
3000 2006-05-10 Richard Guenther <rguenther@suse.de>
3002 PR tree-optimization/27532
3003 * tree-object-size.c (plus_expr_object_size): Fix typo.
3005 2006-05-10 Kazu Hirata <kazu@codesourcery.com>
3008 * config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem,
3009 ashrdi_const, ashrdi3): Use a scratch register.
3011 2006-05-10 Richard Guenther <rguenther@suse.de>
3013 PR tree-optimization/27302
3014 * fold-const.c (operand_equal_p): For two comparisons,
3015 try comparison of one comparison code swapped if that yields
3018 2006-05-10 Ben Elliston <bje@au.ibm.com>
3020 * tree-pretty-print.c (pretty_print_string): No need to handle
3021 '\0' as a special character.
3023 * tree.h: Include "hashtab.h".
3024 (iterative_hash_expr): Use hashval_t in its prototype.
3025 * Makefile.in (TREE_H): Add $(HASHTAB_H).
3027 2006-05-09 Steve Ellcey <sje@cup.hp.com>
3030 * config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
3031 (hppa*64*-*-hpux11*): Ditto.
3032 (hppa[12]*-*-hpux11*): Ditto.
3034 2006-05-09 David Edelsohn <edelsohn@gnu.org>
3037 * config/rs6000/aix41.h (TARGET_64BIT): Define.
3039 2006-05-09 Michael Matz <matz@suse.de>
3041 * config.host (<i[34567]86-*-*, x86_64-*-*>): Set
3042 host_extra_gcc_objs and host_xmake_file.
3043 (<*-*-linux*>): Don't overwrite host_xmake_file.
3044 * gcc.c (static_spec_functions): Add EXTRA_SPEC_FUNCTIONS.
3045 * config/i386/i386.h (EXTRA_SPEC_FUNCTIONS): Define.
3046 (host_detect_local_cpu): Declare.
3047 (CC1_CPU_SPEC): Add -march=native and -mtune=native cases.
3048 * config/i386/i386.c (override_options): Handle -mtune=native
3050 * config/i386/x-i386: New file.
3051 * config/i386/driver-i386.c: New file.
3052 * doc/invoke.texi (<i386 and x86-64 Options>): Describe
3055 2006-05-09 Dirk Mueller <dmueller@suse.de>
3056 Richard Guenther <rguenther@suse.de>
3059 * fold-const.c (fold_read_from_constant_string): Relax check
3060 for matching types to matching modes.
3062 2006-05-09 Zdenek Dvorak <dvorakz@suse.cz>
3064 PR rtl-optimization/27335
3065 * loop-unroll.c (peel_loops_completely): Use loops->parray to walk the
3068 2006-05-08 Chao-ying Fu <fu@mips.com>
3069 Richard Sandiford <richard@codesourcery.com>
3071 * config/mips/mips-ps-3d.md (scc_ps, s<code>_ps): New patterns.
3072 (vcondv2sf, sminv2sf3, smaxv2sf3): Likewise.
3073 * config/mips/mips.md (UNSPEC_SCC): New constant.
3074 * config/mips/mips-protos.h (mips_expand_vcondv2sf): Declare.
3075 * config/mips/mips.c (mips_reverse_fp_cond_p): New function.
3076 (mips_emit_compare): Use it.
3077 (mips_expand_vcondv2sf): New function.
3079 2006-05-08 Daniel Berlin <dberlin@dberlin.org>
3081 Fix PR tree-optimization/27093
3082 * tree-ssa-alias.c (recalculate_used_alone): Mark variables for
3083 renaming when they become not-used_alone.
3085 2006-05-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3087 * hpux-unwind.h (pa_fallback_frame_state): Handle return parameter
3088 relocation and relocation stubs.
3090 2006-05-08 Eric Christopher <echristo@apple.com>
3092 * unwind-dw2-fde-darwin.c (examine_objects): Only check data
3095 2006-05-08 Jan Hubicka <jh@suse.cz>
3098 * cgraphunit.c (decide_is_function_needed): When not optimizing even
3099 unused static functions are needed.
3101 2006-05-08 Roger Sayle <roger@eyesopen.com>
3104 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
3105 of a reg_equiv_constant if the result is a legitimate constant.
3107 2006-05-08 Uros Bizjak <uros@kss-loka.si>
3110 * config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For
3111 standard 80387 constants, raise the cost to prevent
3112 compress_float_constant() to generate load from memory.
3114 2006-05-08 Kazu Hirata <kazu@codesourcery.com>
3116 * config/arm/constraints.md (c): Fix a typo.
3118 * see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment
3121 2006-05-07 H.J. Lu <hongjiu.lu@intel.com>
3124 * config/i386/pmmintrin.h (_mm_monitor): Remove macro. Use
3126 (_mm_mwait): Likewise.
3128 * config/i386/sse.md (sse3_mwait): Replace "mwait\t%0, %1" with
3130 (sse3_monitor): Make it 32bit only.
3131 (sse3_monitor64): New. 64bit monitor.
3133 2006-05-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3136 * config/i386/i386.c (classify_argument): Skip fields with invalid
3139 2006-05-07 Richard Guenther <rguenther@suse.de>
3141 PR tree-optimization/27409
3142 * tree-ssa-structalias.c (get_constraint_for_component_ref):
3143 Do not try to find zero-sized subvars.
3145 2006-05-07 Richard Guenther <rguenther@suse.de>
3147 PR tree-optimization/27136
3148 * tree-ssa-loop-niter.c (get_val_for): Correct function
3149 comment, assert requirements.
3150 (loop_niter_by_eval): Stop processing if the iterated
3151 value did not simplify.
3153 2006-05-07 Mircea Namolaru <namolaru@il.ibm.com>
3155 * opts.c (flag_see): remove its setting at -O3.
3157 2006-05-07 Richard Earnshaw <rearnsha@arm.com>
3159 * genpeep.c (main): Make insn-peep.c depend on flags.h.
3160 * arm/constraints.md: New file.
3161 * arm.h (REG_CLASS_FROM_LETTER_P): Delete.
3162 (CONST_OK_FOR_ARM_LETTER, CONST_OK_FOR_THUMB_LETTER)
3163 (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_ARM_LETTER)
3164 (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT_STR_ARM)
3165 (CONSTRAINT_LEN, EXTRA_CONSTRAINT_THUMB, EXTRA_CONSTRAINT_STR)
3166 (EXTRA_MEMORY_CONSTRAINT): Likewise.
3167 * arm.md: Include constraints.md.
3168 (thumb_movsi_insn): Use satisfies_constraint_J.
3169 (movhi, movqi): Use satisfies_constraint_I.
3171 2006-04-29 Anatoly Sokolov <aesok@post.ru>
3173 * config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name
3174 for atmeg a645 device.
3176 2006-05-06 Richard Guenther <rguenther@suse.de>
3178 PR tree-optimization/27151
3179 * tree-vect-transform.c (vectorizable_condition): Punt on
3180 values that have a different type than the condition.
3182 2006-05-03 Aldy Hernandez <aldyh@redhat.com>
3185 * c-parser.c (c_parser_cast_expression): Only insert casts into
3186 hash table if pointer.
3187 * function.c (used_types_insert_helper): Rename from
3189 (used_types_insert): Call used_types_insert_helper.
3190 * function.h (used_types_insert): Accept only one argument.
3192 2006-05-05 David Edelsohn <edesohn@gnu.org>
3194 * config/rs6000/rs6000.md: Mark all "X" constraints for clobbered
3195 scratch with output modifier.
3197 2006-05-04 David Edelsohn <edelsohn@gnu.org>
3200 * config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint
3201 with output modifier.
3203 2006-05-04 Richard Sandiford <richard@codesourcery.com>
3206 * config/mips/mips.c (mips_symbolic_address_p): Return true
3207 for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL,
3208 SYMBOL_GOTTPREL, and SYMBOL_TLS.
3210 2006-05-04 Richard Guenther <rguenther@suse.de>
3212 PR tree-optimization/14287
3213 PR tree-optimization/14844
3214 PR tree-optimization/19792
3215 PR tree-optimization/21608
3216 PR tree-optimization/27090
3217 * tree-ssa-pre.c (try_combine_conversion): New function.
3218 (compute_avail): After constructing the value-handle
3219 expression, use try_combine_conversion to combine NOP_EXPRs
3220 with previous value-handle expressions and use the result if it
3223 2006-05-04 Joseph S. Myers <joseph@codesourcery.com>
3225 * config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.
3227 2006-05-04 Jan Hubicka <jh@suse.cz>
3230 * cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.
3232 2006-05-04 Bernd Schmidt <bernd.schmidt@analog.com>
3234 * config/bfin/predicates.md (const01_rtx): Tell generator programs
3235 that this only matches CONST_INTs. All users changed to VOIDmode
3238 * config/bfin/bfin.c: Include "optabs.h".
3239 (bfin_rtx_costs): Some costs for vector operations, to allow combine
3241 (enum bfin_builtins): Add a number of fractional and vector builtins.
3242 (bfin_init_builtins): Likewise.
3243 (struct builtin_description, bdesc_2arg, bdesc_1arg): New.
3244 (safe_vector_operand, bfin_expand_binop_builtin,
3245 bfin_expand_unop_builtin): New functions.
3246 (bfin_expand_builtin): Handle the new builtins.
3247 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
3250 2006-05-04 Leehod Baruch <leehod@il.ibm.com>
3253 * Makefile.in (OBJS-common): Add see.o.
3254 (see.o): Add dependencies.
3255 * common.opt (fsee): New flag for the see optimization was added.
3256 * opts.c (flag_see): Initialized.
3257 * passes.c (init_optimization_passes, pass_see): New pass.
3258 * rtl.h (see_main): Declaration as extern.
3259 * timevar.def (TV_SEE): New.
3260 * tree-pass.h (pass_see): Declaration as extern.
3261 * invoke.texi (-fsee): Document.
3262 * recog.c (validate_simplify_insn): New function.
3263 * recog.h (validate_simplify_insn): Declaration as extern.
3264 * df-problems.c (df_chain_dump): Check for NULL.
3266 2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com>
3267 Daniel Berlin <dberlin@dberlin.org>
3269 * cfgrtl.c (insert_insn_bb_end_new): New function.
3270 * basic-block.h (insert_insn_bb_end_new): Declaration as extern.
3272 2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il>
3274 * df.h (struct web_entry): Moved from web.c.
3275 (union_defs): Declaration as extern.
3276 (unionfind_root): Likewise.
3277 (unionfind_union): Likewise.
3278 * web.c (struct web_entry): Moved to df.h.
3279 (unionfind_root): Remove static declaration.
3280 (unionfind_union): Likewise.
3281 (union_defs): Likewise and generalize to use callback function.
3282 (web_main): Update arguments for union_defs function call.
3284 2006-05-04 Richard Guenther <rguenther@suse.de>
3286 PR tree-optimization/26447
3287 * tree-ssa-pre.c (realify_fake_stores): For necessary loads
3288 produce SSA_NAME copies before the store stmt to avoid
3289 breaking exception handling.
3291 2006-05-04 Jakub Jelinek <jakub@redhat.com>
3294 * gimplify.c (omp_is_private): If var is shared in some outer context,
3295 return false instead of true. Stop searching on parallel context
3298 2006-05-03 Alexandre Oliva <aoliva@redhat.com>
3301 * coverage.c: Use get_gcov_unsigned_t() instead of
3302 unsigned_type_node all over.
3304 2006-05-02 Andrew MacLeod <amacleod@redhat.com>
3306 PR tree-optimization/27381
3307 * tree-phinodes.c (remove_phi_arg_num): When moving a phi argument,
3308 maintain the same immediate_use links.
3309 * tree-ssa-operands.c (dump_immediate_uses_for): Show iteration marker
3310 node rather than segfaulting.
3312 2006-05-03 Jakub Jelinek <jakub@redhat.com>
3315 * gimplify.c (gimplify_scan_omp_clauses): Compare OMP_CLAUSE_CODE
3316 rather than TREE_CODE to OMP_CLAUSE_REDUCTION. Set also GOVD_SEEN
3317 bit for OMP_CLAUSE_REDUCTION_PLACEHOLDER.
3319 2006-05-02 Daniel Berlin <dberlin@dberlin.org>
3321 Fix PR tree-optimization/26626
3322 * tree-ssa-structalias.c (compute_points_to_sets): For now, solve
3324 * tree-ssa-operands.c (access_can_touch_variable): Allow
3325 typecasting through union pointers.
3327 2006-05-02 Jakub Jelinek <jakub@redhat.com>
3330 * omp-low.c (maybe_lookup_decl_in_outer_ctx): New function.
3331 (build_outer_var_ref): Use maybe_lookup_decl_in_outer_ctx
3332 to find if var will be a global variable even in the nested context.
3333 (omp_copy_decl): Only check for global variable at the end, it might
3334 be overridden in outer contexts.
3335 (scan_sharing_clauses): For global variables don't create a field.
3336 (lower_rec_input_clauses): Do nothing for global shared variables.
3337 Emit a barrier at the end of ILIST if there were any decls in both
3338 firstprivate and lastprivate clauses.
3339 (lower_send_clauses): Do nothing for global variables except for
3342 2006-05-02 Zdenek Dvorak <dvorakz@suse.cz>
3344 * tree.c (unsigned_type_for, signed_type_for): Make sure a type
3345 of the correct signedness is returned.
3347 2006-05-02 Jeff Law <law@redhat.com>
3349 PR tree-optimization/27364
3350 * tree-vrp.c (vrp_int_const_binop): Fix detection of overflow from
3351 multiply expressions.
3353 2006-05-02 Tom Tromey <tromey@redhat.com>
3355 * tree-flow-inline.h (op_iter_init_phiuse): Fixed typo.
3357 2006-05-02 Kazu Hirata <kazu@codesourcery.com>
3360 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when
3361 -mthumb -fPIC are used.
3363 2006-05-02 Stanislaw Skowronek <skylark@linux-mips.org>
3364 Joshua Kinard <kumba@gentoo.org>
3367 * config/mips/mips.h (TRAMPOLINE_TEMPLATE): Avoid 32-bit moves
3368 with 64-bit pointers.
3370 2006-05-02 Paul Brook <paul@codesourcery.com>
3372 * config/arm/arm.c (add_minipool_forward_ref): Check if insn
3374 (create_fix_barrier): Check that a suitable barrier location is
3376 (arm_reorg): Include ftmp->address in allowable range of addresses.
3378 2006-05-02 David Billinghurst <David.Billinghurst@riotinto.com>
3381 * ada/env.c (__gnat_clearenv): Use unsetenv() to clear environment
3384 2006-05-02 Jakub Jelinek <jakub@redhat.com>
3387 * gimplify.c (gimplify_scan_omp_clauses): Handle INDIRECT_REF
3388 around RESULT_DECL for result passed by reference.
3389 (gimplify_expr): Call omp_notice_variable when RESULT_DECL is seen.
3390 * omp-low.c (use_pointer_for_field): Don't look at
3391 DECL_HAS_VALUE_EXPR_P for RESULT_DECLs.
3392 (scan_omp_1): Call remap_decl on RESULT_DECLs.
3393 (lower_rec_input_clauses): Don't allocate VLA memory for the second
3394 time or var for passing by reference for
3395 OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE clauses. Allow creation of
3396 TREE_ADDRESSABLE variables when passing by reference.
3398 * omp-low.c (dump_omp_region): Fix output formatting.
3401 * omp-low.c (remove_exit_barrier): Handle NULL exit_bb.
3402 (expand_omp_parallel): Likewise.
3403 * tree-cfg.c (move_sese_region_to_fn): Likewise.
3406 * omp-low.c (lower_omp_sections): Call maybe_catch_exception
3407 on statement list containing also constructors and destructors.
3408 (lower_omp_single, lower_omp_for, lower_omp_parallel): Likewise.
3411 * except.c (duplicate_eh_regions): Fix clearing of
3412 cfun->eh->region_array entries.
3414 2006-05-01 DJ Delorie <dj@redhat.com>
3416 * configure.ac (gcc_cv_nm): Don't use an in-tree nm if
3418 (gcc_cv_objdump): Likewise.
3419 * configure: Regenerated.
3421 2006-05-01 Kazu Hirata <kazu@codesourcery.com>
3424 * config/arm/vfp.md (*arm_movdi_vfp): Correct the output
3425 templates for case 3 and 4.
3427 2006-05-01 DJ Delorie <dj@redhat.com>
3429 * vec.c: Include bconfig.h when appropriate.
3430 * Makefile.in (build/vec.o): Adjust dependencies.
3431 * mkconfig.sh: Make sure config.h isn't used for build machine
3434 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
3436 * tree-into-ssa.c (phis_to_rewrite, blocks_with_phis_to_rewrite): New
3438 (mark_phi_for_rewrite): New function.
3439 (insert_phi_nodes_for, mark_use_interesting): Call
3440 mark_phi_for_rewrite.
3441 (rewrite_update_phi_arguments): Traverse only phis in phis_to_rewrite.
3442 (update_ssa): Initialize and free phis_to_rewrite.
3444 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
3446 PR rtl-optimization/27291
3447 * loop-doloop.c (add_test, doloop_modify): Handle the case condition is
3448 folded to a constant.
3450 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
3452 PR tree-optimization/27283
3453 * tree-ssa-loop-ivopts.c (struct nfe_cache_elt): Store just trees,
3454 not whole # of iteration descriptions.
3455 (niter_for_exit): Return just # of iterations. Fail if # of iterations
3456 uses abnormal ssa name.
3457 (niter_for_single_dom_exit): Ditto.
3458 (find_induction_variables, may_eliminate_iv): Expect niter_for_exit to
3459 return just the number of iterations.
3461 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
3463 PR tree-optimization/27144
3464 * tree-ssa-loop-niter.c (derive_constant_upper_bound): New function.
3465 (record_estimate): Only record constant upper bound.
3466 (infer_loop_bounds_from_undefined): Call
3467 compute_estimated_nb_iterations just once.
3468 (proved_non_wrapping_p): Renamed to ...
3469 (n_of_executions_at_most): ... this. Expect bound to be a constant.
3470 (convert_step_widening, scev_probably_wraps_p): Call
3471 n_of_executions_at_most instead of proved_non_wrapping_p.
3472 (substitute_in_loop_info): Do not replace values in bounds.
3473 * cfgloop.h (struct nb_iter_bound): Remove "additional" field. Update
3476 2006-05-01 Richard Henderson <rth@redhat.com>
3479 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Move after
3480 c_parser_skip_to_pragma_eol. Convert to switch statement. Handle
3483 2006-05-01 Roger Sayle <roger@eyesopen.com>
3485 * c-typeck.c (parser_build_binary_op): Don't call the function
3486 unsigned_conversion_warning to spot operand/result type overflow.
3487 (build_binary_op): Instead, call convert_and_check instead of
3488 convert to report the problem when the operands are promoted.
3489 * c-common.c (unsigned_conversion_warning): Make static.
3490 * c-common.h (unsigned_conversion_warning): Delete prototype.
3492 2006-05-01 Richard Guenther <rguenther@suse.de>
3494 PR tree-optimization/26726
3495 * tree-ssa-loop-ivopts.c (idx_find_step): Mark source of the
3497 (find_interesting_uses_address): ... we work around here
3498 by folding INDIRECT_REFs in the substituted base.
3500 2006-05-01 Diego Novillo <dnovillo@redhat.com>
3502 * omp-low.c (dump_omp_region): Add newlines.
3504 2006-04-30 Roger Sayle <roger@eyesopen.com>
3506 * common.opt (Woverflow): New command line option.
3507 * c-common.c (constant_expression_warning): Check war