1 2006-08-15 Nick Clifton <nickc@redhat.com>
3 * config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
4 fragment to tmake_file only if threads are enabled.
5 * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
6 * config/i386/t-gthr-win32: New file. ... here.
8 2006-08-15 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
11 * c-parser.c (c_parser_compound_statement_nostart): Reset
12 parser->error after each statement.
14 2006-08-15 Jakub Jelinek <jakub@redhat.com>
17 * omp-low.c (lower_omp_parallel): Convert t to
19 (expand_omp_parallel): STRIP_NOPS from the MODIFY_EXPR
20 source before comparison.
23 * gimplify.c (gimplify_omp_atomic_pipeline): Convert oldival
24 to itype in assignment to oldival2.
26 2006-07-14 Andrew Pinski <pinksia@physics.uc.edu>
30 * c-typeck.c (build_compound_expr): If the second expression
31 is an error mark, then just return an error mark instead of
32 creating a COMPOUND_EXPR.
34 2006-07-14 Mike Stump <mrs@apple.com>
36 * Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.
38 2006-08-14 Kazu Hirata <kazu@codesourcery.com>
40 * c-decl.c, var-tracking.c: Fix comment typos.
42 2006-08-14 Richard Sandiford <richard@codesourcery.com>
44 PR rtl-optimization/28634
45 * reorg.c (fill_slots_from_thread): Do not assume A + X - X == A
46 for floating-point modes unless flag_unsafe_math_optimizations.
48 2006-08-13 Alexandre Oliva <aoliva@redhat.com>
49 Andrew Pinski <pinskia@physics.uc.edu>
52 * tree.c (build_array_type): Unify array types with
53 unspecified index_type.
54 * c-decl.c (grokdeclarator): Make sure we do not modify a
55 unified incomplete array type.
56 * c-typeck.c (store_init_value): Create distinct type before
57 filling in the index type in an initializer from a compound
60 * c-decl.c (grokdeclarator): Remove code where we copy the
63 2006-08-13 Andrew Pinski <pinskia@physics.uc.edu>
65 * tree-pass.h (TODO_update_ssa): Fix which bit is used to take
66 into account for TODO_dump_cgraph.
67 (TODO_update_ssa_no_phi): Likewise.
68 (TODO_update_ssa_full_phi): Likewise.
69 (TODO_update_ssa_only_virtuals): Likewise.
70 (TODO_remove_unused_locals): Likewise.
71 (TODO_set_props): Likewise.
72 (TODO_update_stmt_usage): Likewise.
74 2006-08-13 Dirk Mueller <dmueller@suse.de>
76 * c-common.c (strict_aliasing_warning): Fix formatting.
78 2006-08-13 Matthias Klose <doko@debian.org>
80 * doc/invoke.texi: Fix spelling errors.
82 2006-08-11 Eric Botcazou <ebotcazou@libertysurf.fr>
84 PR rtl-optimization/23454
85 * reorg.c (relax_delay_slots): Update comment.
87 2006-08-11 Richard Guenther <rguenther@suse.de>
90 * simplify-rtx.c (simplify_const_relational_operation):
91 Simplify A CMP B to A - B CMP 0 only for EQ and NE comparison
94 2006-08-10 Eric Botcazou <ebotcazou@adacore.com>
96 * tree.c (build1_stat): Also propagate the TREE_CONSTANT and
97 TREE_INVARIANT flags for a VIEW_CONVERT_EXPR.
99 2006-08-10 Paul Brook <paul@codesourcery.com>
101 * final.c (final_scan_insn): Clear current_insn_predicate before
102 outputting inline asm.
104 2006-08-10 Dorit Nuzman <dorit@il.ibm.com>
106 PR tree-optimization/26197
107 * tree-ssa-alias.c (new_type_alias): Takes additional argument. Calls
108 get_ref_base_and_extent and overlap_subvar to add only relevant
109 subvars as may-aliases.
110 (add_may_alias_for_new_tag): New function, factored out of
112 * tree-vect-transform.c (vect_create_data_ref_ptr): Call new_type_alias
113 with additional argument.
114 * tree-flow.h (new_type_alias): Takes additional argument.
116 2006-08-09 Nathan Sidwell <nathan@codesourcery.com>
118 * gcov.c (no_data_file): New flag.
119 (read_count_file): Set it if data file not present. Assume counts
121 (output_lines): Don't name the data file, if there wasn't one.
123 2006-08-09 Eric Botcazou <ebotcazou@adacore.com>
125 * config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust.
126 (rs6000_generate_compare): Tweak comments.
127 * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): Fix comment.
129 2006-08-09 Alexandre Oliva <aoliva@redhat.com>
131 * var-tracking.c (enum micro_operation_type): Add MO_COPY.
132 (var_debug_decl): New function.
133 (var_reg_set): Follow debug decl link. Add location even if
134 reg is already known to hold some other variable.
135 (var_mem_set): Follow debug decl link.
136 (var_reg_delete_and_set, var_mem_delete_and_set): Follow debug
137 decl link. Delete other known locations of the variable part
139 (var_reg_delete, var_mem_delete): Delete other known locations
140 of the variable part if requested.
141 (same_variable_part_p): New function.
142 (add_stores): Select MO_COPY when appropriate.
143 (vt_initialize): Handle it.
144 (compute_bb_dataflow, emit_notes_in_bb): Likewise. Delete
145 known locations for MO_SET and MO_CLOBBER.
146 (find_variable_location_part): New function.
147 (set_variable_part, delete_variable_part): Use it.
148 (clobber_variable_part): New function.
149 * dwarf2out.c (dwarf2out_var_location): Do not follow debug
152 2006-08-07 Victor Kaplansky <victork@il.ibm.com>
154 PR tree-optimization/26969
155 * tree-vect-analyze.c (vect_analyze_loop_form): Add check of latch
156 with an empty list of PHIs.
158 2006-08-06 Paolo Bonzini <bonzini@gnu.org>
162 * conffig/i386/i386.md: Add peephole2 to avoid "fld %st"
165 2006-08-06 Andreas Schwab <schwab@suse.de>
167 * config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
168 string. Whitespace and comment fixup.
170 2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
173 * c-decl.c (validate_proto_after_old_defn): Return false on invalid
177 * c-typeck.c (build_modify_expr): Test earlier for non-lvalues.
180 * c-parser.c (c_parser_postfix_expression_after_paren_type): Robustify.
182 2006-08-04 Jan Hubicka <jh@suse.cz>
186 * reload.c (push_reload): Patch out the mismatching instruction;
188 (find_reload): Bail out if the instruction was patched out.
190 2006-08-04 Jan Hubicka <jh@suse.cz>
192 PR tree-optimization/24888
193 * tree-inline.c (expand_call_inline): Do not re-record variables.
194 (declare_inline_vars): Add variable to unexpanded_var_list.
196 2006-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
197 Roger Sayle <roger@eyesopen.com>
199 PR rtl-optimization/26244
200 * cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or
201 inner_const are negative or greater than or equal to the bitsize of
202 MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated.
203 Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1.
204 Simplify complicated if statement. For ASHIFT and LSHIFTRT, return
205 CONST0_RTX (mode) when the new shift count is greater than or equal to
206 to the bitsize of the object being shifted and XEXP (y, 0) has no side
209 2006-08-04 Kazu Hirata <kazu@codesourcery.com>
211 * tree-cfg.c: Fix a comment typo.
213 2006-08-03 Mark Mitchell <mark@codesourcery.com>
216 * varasm.c (output_constant): Give the front end another chance to
217 expand constants, after stripping NOPs.
219 2006-08-03 Jan Hubicka <jh@suse.cz>
221 * domwalk.c (walk_dominator_tree): Reorganize to non-recursive
224 2006-08-03 Dorit Nuzman <dorit@il.ibm.com>
226 PR tree-optimization/27770
227 * tree-vectorizer.h (get_vectype_for_scalar_type): Function
228 declaration removed (moved to tree-flow.h).
229 (vect_can_force_dr_alignment_p): Likewise.
230 * tree-flow.h (get_vectype_for_scalar_type): New function declaration
231 (moved from tree-vectorizer.h).
232 (vect_can_force_dr_alignment_p): Likewise.
233 * tree-vectorizer.c (vect_print_dump_info): Allow calling this function
234 from outside the vectorizer - in particular from cgraph stage.
235 * tree-vect-analyze.c (vect_compute_data_ref_alignment): Don't increase
236 the alignment of global arrays when -fsection-anchors is enabled.
237 * cgraphunit.c (cgraph_increase_alignment): New function.
238 (cgraph_optimize): Call cgraph_increase_alignment.
240 2006-08-03 David Edelsohn <edelsohn@gnu.org>
243 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
244 not reload a SPE symbol_ref into a lo_sum address.
246 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
249 * dwarf2out.c (prune_unused_types_prune): Move call to
250 prune_unused_types_update_strings to cover the parent DIE also.
252 2006-08-02 Jan Hubicka <jh@suse.cz>
254 PR gcov/profile/28480
255 * tree-cfg.c (change_bb_for_stmt): New function.
256 (tree_merge_blocks, tree_split_blocks): Use it.
258 2006-08-01 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
264 * toplev.c (compile_file): Return early on errorcount or sorrycount.
265 * cgraphunit.c (cgraph_finalize_compilation_unit): Likewise.
266 (cgraph_optimize): Likewise.
268 2006-08-01 Stuart Hastings <stuart@apple.com>
270 * rtl.h (UINTVAL) New.
271 * config/rs6000/rs6000.c (SMALL_INT) Use it.
272 * testsuite/gcc.dg/20060801-1.c: New.
274 2006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
277 * c-typeck.c (build_external_type): Mark used enum types.
278 * dwarf2out.c (dwarf2out_abstract_function): Save and restore
280 (gen_subprogram_die): Whitespace fix.
282 2006-08-01 Jan Hubicka <jh@suse.cz>
284 * tree-outof-ssa.c (check_replaceable): Do not allocate def_vars
285 bitmap when not needed.
286 * tree-ssa-pre.c (bitmap_set_and, bitmap_set_and_compl): Free temporary
289 2006-08-01 Dirk Mueller <dmueller@suse.de>
291 * tree-vrp.c (fix_equivalence_set): Avoid bitmap memory leak.
293 2006-07-31 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
295 * Makefile.in: Revert part of previous patch:
296 Replace $(VARRAY_H) by varray.h in definition of BASIC_BLOCK_H
299 2006-07-30 Eric Christopher <echristo@apple.com>
302 * doc/extend.texi (i386 Variable Attributes): Add anchor.
303 (PowerPC Variable Attributes): New section.
305 2006-07-30 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
307 PR target/28126 (partial fix)
308 * config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.
310 2006-07-28 Jan Hubicka <jh@suse.cz>
312 PR rtl-optimization/28071
313 * cfgrtl.c (rtl_delete_block): Free regsets.
314 * flow.c (allocate_bb_life_data): Re-use regsets if available.
316 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
318 * Makefile.in: Use $(HEADER_H) instead of header.h in dependencies
319 and variables used in dependencies.
321 2006-07-27 Arjan van de Ven <arjan@linux.intel.com>
323 * config/i386/i386.md (stack_tls_protect_set_di) Use %gs rather than
324 %fs for -mcmodel=kernel.
325 (stack_tls_protect_test_di): Likewise.
327 2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
329 * Makefile.in: Use mkinstalldirs.
331 2006-07-27 H.J. Lu <hongjiu.lu@intel.com>
334 * opts-common.c (prune_options): Skip joined switches.
336 2006-07-27 Jan Hubicka <jh@suse.cz>
338 PR rtl-optimization/28071
339 * cselib.c (cselib_process_insn): Don't remove useless values too
340 often for very large hashtables.
342 2006-07-27 Jan Hubicka <jh@suse.cz>
344 PR rtl-optimization/28071
345 * global.c (greg_obstack): New obstack.
346 (allocate_bb_info): Use it.
347 (free_bb_info): Likewise.
348 (modify_reg_pav): Likewise.
350 2006-07-27 Roger Sayle <roger@eyesopen.com>
352 * builtins.c (fold_fixed_mathfn): When long and long long are the
353 same size, canonicalize llceil*, llfloor*, llround* and llrint*
354 functions to their lceil*, lfloor*, lround* and lrint* forms.
356 2006-07-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
359 * config/m32r/m32r.md (branch_insn): Reduce pc range for short
361 (rev_branch_insn): Likewise.
363 2006-07-27 Jan Hubicka <jh@suse.cz>
365 PR rtl-optimization/28071
366 * regmove.c (reg_is_remote_constant_p): Avoid quadratic behaviour.
367 (reg_set_in_bb, max_reg_computed): New static variables.
368 (regmove_optimize): Free the new array.
369 (fixup_match_1): Update call of reg_is_remote_constant_p.
371 2006-07-26 Jan Hubicka <jh@suse.cz>
373 PR tree-optimization/27882
374 * cgraph.c (cgraph_remove_node): Clear needed, reachable, next, previous
376 * cgraphunit.c (cgraph_reset_node): Expect cgraph_remove_node to kill
378 (cgraph_analyze_compilation_unit): Likewise.
379 * ipa.c (cgraph_remove_unreachable_nodes): Likewise.
380 * ipa-inline.c (cgraph_decide_recursive_inlining): Likewise.
381 (cgraph_early_inlinine): Make order garbage collected.
382 * Makefile.in (gt-ipa-inline): New garbagecollected file.
384 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
386 * dbxout.c (output_types_sort): Add a comment.
387 (output_used_types): Free the VEC.
389 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
391 * function.c (reorder_fix_fragments): Delete.
392 (reorder_blocks): Don't call it.
393 (reorder_blocks_1): Put all subblocks under the origin block.
395 2006-07-26 Zdenek Dvorak <dvorakz@suse.cz>
397 PR rtl-optimization/27907
398 * expr.c (force_operand): Use convert_move to handle FLOAT_EXTEND and
401 2006-07-25 Roger Sayle <roger@eyesopen.com>
404 * convert.c (convert_to_integer): When transforming (T)foo(x) into
405 bar(x) check that bar's result type can represent all the values of T.
407 2006-07-25 Zdenek Dvorak <dvorakz@suse.cz>
409 * tree-chrec.c (chrec_convert_aggressive): Return NULL on failure.
411 2006-07-25 Nick Clifton <nickc@redhat.com>
413 * ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the
415 (ggc_alloc_stat): Use NUM_SIZE_LOOKUP.
416 (ggc_pch_count_object): Likewise.
417 (ggc_pch_alloc_object): Likewise.
418 (ggc_pch_write_object): Likewise.
419 (init_ggc): Do not attempt to initialize entries in the
420 size_lookup[] array for objects whose size is greater than than
421 the length of the array.
423 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
425 * dbxout.c (output_used_types_helper): Push queued types
427 (output_types_sort): New.
428 (output_used_types): Collect used types on a VEC and sort them
431 2006-07-24 Richard Guenther <rguenther@suse.de>
434 * cgraph.c (cgraph_remove_node): Do not check if dumps
436 * cgraphunit.c (cgraph_optimize): Likewise.
438 2006-07-24 Jan Hubicka <jh@suse.cz>
440 PR rtl-optimization/28071
441 * tree-cfg.c (tree_split_block): Do not allocate new stmt_list nodes.
442 * tree-iterator.c (tsi_split_statement_list_before): Do not crash when
443 splitting before first stmt.
445 2006-07-24 Jan Hubicka <jh@suse.cz>
447 PR rtl-optimization/28071
448 * ipa-inline.c (update_caller_keys): Remove edges that
449 are no longer inline candidates.
451 2006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
454 * dbxout.c (output_used_types_helper, output_used_types): New.
455 (dbxout_symbol): Call output_used_types.
457 2006-07-23 Jan Hubicka <jh@suse.cz>
461 * cgraph.c (cgraph_varpool_nodes): Export.
462 (decide_is_variable_needed): Ignored "used" attribute in
464 * cgraph.h (cgraph_varpool_nodes): Declare.
465 * cgraphunit.c (decide_is_function_needed): Ignored "used" attribute in
468 2006-07-23 Roger Sayle <roger@eyesopen.com>
471 * gthr-solaris.h: Prototype __gthrw forms of thr_self, mutex_init and
472 mutex_destroy even when !_LIBOOBJC. Remove duplicate prototype of
473 the __gthrw form of thr_keycreate.
474 (__gthread_key_delete): Silence the unused argument warning.
476 2006-07-23 Steven Bosscher <steven@gcc.gnu.org>
479 * config/elfos.h (ASM_OUTPUT_ASCII): Remove 'register' marks.
480 Cache the last found '\0' marker to avoid quadratic behavior.
482 2006-07-23 Jan Hubicka <jh@suse.cz>
484 * i386.md (subsi_3_zext): Fix output template.
486 2006-07-21 Mike Stump <mrs@apple.com>
488 * doc/invoke.texi (C++ Dialect Options): Note that
489 -fvisibility-inlines-hidden doesn't affect explicitly
490 instantiationed inline methods.
492 2006-07-20 Roger Sayle <roger@eyesopen.com>
494 * config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file
495 if the target assembler is GNU binutils' gas.
496 * config/i386/sol2-10.h (ASM_SPEC): Check USE_GAS to determine
497 whether to pass GNU gas or native as command line options.
499 2006-07-20 Jason Merrill <jason@redhat.com>
501 * tree.c (remove_attribute): New fn.
502 * tree.h: Declare it.
504 2006-07-20 Paul Brook <paul@codesourcery.com>
507 * cse.c (cse_insn): Add destination addresses to hash table. Check if
508 they are invalidated by this instruction.
510 2006-07-21 Danny Smith <dannysmith@users.sourceforge.net>
513 * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
515 2006-07-20 Eric Christopher <echristo@apple.com>
518 * config/i386/i386.h (OPTION_DEFAULT_SPECS): Reorder.
520 2006-07-19 Eric Christopher <echristo@apple.com>
522 * config/t-slibgcc-darwin (stmp-lipo): Remove.
523 Rewrite dependencies for libgcc_s.1.dylib.
525 2006-07-19 Jakub Jelinek <jakub@redhat.com>
527 * except.c (duplicate_eh_regions_1): Clear next_peer.
529 2006-07-17 Nathan Sidwell <nathan@codesourcery.com>
531 * doc/invoke.texi (RS/6000 and PowerPC Options): Document that
532 -mlongcall does not guarantee all calls will be long.
533 * doc/extend.texi (long_call/short_call): Document that longcall
534 does not guarantee a long call will be used.
535 (longcall/shortcall): Likewise.
537 2006-07-18 Roger Sayle <roger@eyesopen.com>
540 * expmed.c (expand_shift): Additionally check that the shift_cost
541 is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
542 before implementing a LSHIFT_EXPR as a sequence of additions.
543 * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
544 middle-end that DImode shifts need to be synthesized by expand.
546 2006-07-18 Diego Novillo <dnovillo@redhat.com>
549 * tree-ssa-operands.c (access_can_touch_variable): Update
551 Return true if ALIAS is .GLOBAL_VAR.
553 2006-07-18 David Daney <ddaney@avtrex.com>
555 * gcc.c (display_help): Fix typo in help text.
557 2006-07-18 Olivier Hainque <hainque@adacore.com>
559 * tree.h (categorize_ctor_elements): Adjust prototype and add
560 descriptive comment, both in accordance with the interface change
562 * varasm.c (constructor_static_from_elts_p): New function.
563 Whether a constructor node is a valid static constant initializer
564 if all its elements are.
565 (initializer_constant_valid_p) <CONSTRUCTOR value>: Use it.
566 * output.h: Declare it.
567 * expr.c (categorize_ctor_elements_1): Return whether the constructor
568 is a valid constant initializer instead of computing the number of
569 non-constant elements. Use constructor_static_from_elts_p for this
570 purpose. Replace the head comment with an indication that this is a
571 helper for categorize_ctor_elements.
572 (categorize_ctor_elements): Same interface change as for the _1
573 helper. Former head comment from this helper moved here, adjusted to
574 account for the interface changes.
575 (mostly_zeros_p): Adjust call to categorize_ctor_elements.
576 (all_zeros_p): Likewise.
577 * gimplify.c (gimplify_init_constructor): Decide whether we can make
578 static versions of the constructor from the categorize_ctor_elements
579 return value instead of the formerly computed number of non-constant
582 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
584 * configure: Regenerate.
585 * Makefile.in (build_libsubdir): New configure substitution
586 (build_libobjdir): New variable.
587 (BUILD_LIBIBERTY): Use it.
589 2006-07-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
592 * c-pragma.c (handle_pragma_pack): Handle invalid constants.
594 2006-07-18 Alexandre Oliva <aoliva@redhat.com>
597 * c-common.c (handle_weakref_attribute): Ignore attribute in
598 the same conditions the alias attribute is ignored.
600 2006-07-17 Carlos O'Donell <carlos@codesourcery.com>
602 * dbxout.c (dbxout_function_end): Do not increment scope_labelno.
603 (dbxout_begin_prologue): Increment scope_labelno.
605 2006-07-17 Richard Henderson <rth@redhat.com>
608 * tree-nested.c (create_tmp_var_for): Set DECL_COMPLEX_GIMPLE_REG_P
611 2006-07-17 Roger Sayle <roger@eyesopen.com>
612 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
614 * config/i386/gmon-sol2.c: Silence compilation warnings by partially
615 synchronizing code with config/sparc/gmon-sol2.c. Remove #if 0
616 blocks. #include "tconfig.h" and "tsystem.h" to prototype system
617 functions such as sbrk, write, etc.. Add function prototypes.
618 Convert function declarations from K&R to ISO C. Cast pointers
619 to "long" and "unsigned long" instead of "int" and "unsigned int".
620 Convert tokens following #endif into comments.
622 2006-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
624 * invoke.texi: Remove mention of f77; Reformat table for
625 inline parameter options correctly; mention that -malign-double
626 is default on x86-64 targets.
628 2006-07-17 Zdenek Dvorak <dvorakz@suse.cz>
630 * tree-chrec.c (avoid_arithmetics_in_type_p): New.
631 (convert_affine_scev, chrec_convert_aggressive): Use
632 avoid_arithmetics_in_type_p. Do not check for the subtypes
635 2006-07-17 Richard Sandiford <richard@codesourcery.com>
638 * optabs.c (expand_doubleword_shift): Wrap the call to
639 do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP.
641 2006-07-17 Richard Sandiford <richard@codesourcery.com>
644 * optabs.c (expand_binop): Pass next_methods rather than methods
645 to expand_doubleword_shift.
647 2006-07-17 J"orn Rennecke <joern.rennecke@st.com>
650 * tree.h (dump_addr): Declare.
651 * print-tree.c (dump_addr): New function.
652 (print_node_brief, print_node): Use it.
653 * print-rtl.c (print_rtx): Likewise.
654 * common.opt (-fdump-noaddr): New option.
655 * doc/invoke.texi (-fdump-noaddr): Document.
656 * loop-unroll.c (si_info_hash): Make hash independent of addresses.
657 (ve_info_hash): Likewise.
659 2006-07-13 Andrew Haley <aph@redhat.com>
661 PR tree-optimization/19505
662 * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH
663 edge leaving this block, make sure that the destination of this
664 block has only one predecessor.
666 2006-07-17 Richard Guenther <rguenther@suse.de>
668 PR tree-optimization/28238
669 * tree-inline.c (copy_bb): Check if we produced valid
670 gimple copying and substituting a stmt. If not, gimplify
673 2006-07-16 Eric Botcazou <ebotcazou@adacore.com>
675 * optabs.c (maybe_encapsulate_block): New function extracted from...
676 (emit_libcall_block): ...here. Invoke it on the block of insns to
677 maybe emit REG_LIBCALL/REG_RETVAL notes around the block.
678 (emit_no_conflict_block): Likewise.
680 2006-07-16 Eric Botcazou <ebotcazou@libertysurf.fr>
682 * doc/install.texi (sparc-sun-solaris2*): Add GMP version number.
684 2006-07-15 Roger Sayle <roger@eyesopen.com>
686 * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into
687 a new NOP_EXPR case of the switch statement.
689 2006-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
692 * stor-layout.c (place_field): Take the bit field with
693 an excessive size into account in the ms-bitfiled case.
696 * stor-layout.c (place_field): Use DECL_BIT_FIELD_TYPE of
697 the previous bit field.
699 2006-07-14 Eliot Dresselhaus <eliot@sonic.net>
702 * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.
704 2006-07-14 Ulrich Weigand <uweigand@de.ibm.com>
706 * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect
707 signal frames correctly even when the signal was installed with
710 2006-07-14 Carlos O'Donell <carlos@codesourcery.com>
712 * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
713 (dbxout_function_end): Use local label LFBB. Remove hook
715 (dbxout_source_line): Use local label LFBB.
716 (dbxout_block): Likewise.
717 (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
718 (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
719 * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
722 2006-07-13 Janis Johnson <janis187@us.ibm.com>
724 * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail.
726 2006-07-13 Jan Hubicka <jh@suse.cz>
728 * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call
730 * output.h (align_variable): Declare.
731 * varasm.c (align_variable): Export.
732 * value-prof.c (tree_value_profile_transformations): Recompute iterator
733 when basic block changed.
735 2006-07-13 Nick Clifton <nickc@redhat.com>
737 * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
738 walking the LOG_LINKS chain.
740 2006-07-12 Geoffrey Keating <geoffk@apple.com>
742 * doc/invoke.texi (C++ Dialect Options): Explain difference
743 between -fvisibility-inlines-hidden and setting hidden
744 visibility explicitly.
746 2006-07-12 Eric Christopher <echristo@apple.com>
748 * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
749 (stmp-lipo): Depend on libgcc.a.
751 2006-07-12 Kazu Hirata <kazu@codesourcery.com>
753 * tree.c: Fix a comment typo.
755 2006-07-12 Naveen.H.S <naveenh@kpitcummins.com>
757 * config/m32c/muldiv.md (umulhisi3_c): Use only registers for
759 (umulhisi3_r): Likewise.
761 2006-07-12 Paolo Carlini <pcarlini@suse.de>
764 * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
765 x < 19, vs wchar_t support.
767 2006-07-12 Nick Clifton <nickc@redhat.com>
769 * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up
772 2006-07-12 Mike Stump <mrs@apple.com>
774 * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
776 2006-07-10 Eric Christopher <echristo@apple.com>
778 * config/t-slibgcc-darwin: Rewrite.
780 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
783 * Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
786 2006-07-08 Matthias Klose <doko@debian.org>
788 * doc/sourcebuild.texi: Fix typo.
790 2006-07-07 Mike Stump <mrs@apple.com>
792 * toplev.c (process_options): Don't give -ffunction-sections may
793 affect debugging warning for Mach-O.
795 2006-07-07 James E Wilson <wilson@specifix.com>
797 * config/mips/mips.md (cpu): Add sb1a.
798 * config/mips/sb1.md: Modify almost all patterns to accept sb1a in
799 addition to sb1. Adjust comments to clarify SB-1A differences from
801 (ir_sb1a_load): New. Modify bypasses to use it.
802 (ir_sb1a_simple_alu): Likewise.
803 * config/mips/mips.c (mips_cpu_info_table): Add sb1a.
804 (mips_rtx_cost_data): Add PROCESSOR_SB1A support.
805 (mips_issue_rate): Add PROCESSOR_SB1A.
806 (mips_multipass_dfa_lookahead): Use TUNE_SB1 instead of PROCESSOR_SB1.
807 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1A.
808 (TARGET_SB1): Add PROCESSOR_SB1A check.
809 (TUNE_SB1): Likewise.
811 * config/mips/mips-protos.h (mips_store_data_bypass_p): New.
812 * config/mips/mips.c (mips_store_data_bypass_p): New.
813 * config/mips/sb1.md: Use mips_store_data_bypass_p instead of
816 2006-07-08 Paul Brook <paul@codesourcery.com>
819 * config/m68k/m68k.md: Add r-m patterns for 68881 movxf.
821 2006-07-07 Richard Guenther <rguenther@suse.de>
824 * tree.h (build_one_cst): Declare.
825 * tree.c (build_one_cst): New function.
826 * tree-ssa-math-opts.c (get_constant_one): Remove.
827 (insert_reciprocals): Use build_one_cst.
828 * fold-const.c (fold_plusminus_mult): Likewise.
830 2006-07-07 Roger Sayle <roger@eyesopen.com>
832 * pointer-set.c (pointer_set_destroy): Correct whitespace.
833 * cfgloopanal.c (dump_graph): Likewise.
834 * dojump.c (discard_pending_stack_adjust): Likewise.
835 * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
837 * alloc-pool.c (dump_alloc_pool_statistics): Likewise.
838 * function.c (finalize_block_changes): Likewise.
839 * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
840 * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
841 * rtl.c (dump_rtx_statistics): Likewise.
842 * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars):
844 * varray.c (dump_varray_statistics): Likewise.
845 * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
846 decode_decimal64, encode_decimal128, decode_decimal128,
847 decimal_real_to_decimal): Likewise.
849 2006-07-07 Richard Guenther <rguenther@suse.de>
851 PR tree-optimization/28187
852 * tree-vrp.c (vrp_operand_equal_p): New function.
853 (vrp_bitmap_equal_p): Likewise.
854 (update_value_range): Use them to compare old and new
857 2006-07-06 Roger Sayle <roger@eyesopen.com>
859 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Add
860 a default case to switch statement to silence compiler warnings.
862 2006-07-06 Roger Sayle <roger@eyesopen.com>
865 * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether
866 the configured assembler supports the x87's ffreep mnemonic.
867 * configure: Regenerate.
868 * config.in: Regenerate.
870 * config/i386/i386.c (output_387_ffreep): New function.
871 (output_fp_compare): Use output_387_ffreep to emit ffreep insns.
872 (output_387_reg_move): Likewise.
874 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
876 Port to hosts whose 'sort' and 'tail' implementations
877 treat operands with leading '+' as file names, as POSIX
878 has required since 2001. However, make sure the code still
879 works on pre-POSIX hosts.
880 * Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
881 which says you should use "tail -c +N" rather than "tail +Nc".
882 Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
884 2006-07-06 Zdenek Dvorak <dvorakz@suse.cz>
886 * tree-ssa-loop-niter.c (scev_probably_wraps_p): Fix typo in
889 2006-07-06 David Edelsohn <edelsohn@gnu.org>
892 * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
893 PRE_{INC,DEC} of TFmode.
895 2006-07-06 David Edelsohn <edelsohn@gnu.org>
896 Alan Modra <amodra@bigpond.net.au>
899 * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
902 2006-07-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
905 * config/alpha/predicates.md (alpha_swapped_comparison_operator):
906 Remove duplicate gtu.
908 2006-07-05 Jason Merrill <jason@redhat.com>
912 * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
913 * c-common.c (handle_packed_attribute): So don't copy it here.
914 * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
916 2006-07-05 Mike Stump <mrs@apple.com>
918 * doc/invoke.texi (Invoking G++): Clarify prose for g++.
920 2006-07-05 H.J. Lu <hongjiu.lu@intel.com>
923 * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.
925 2006-07-05 Richard Guenther <rguenther@suse.de>
928 * config/i386/i386.md (*negdf2_1): Restrict pattern to
929 TARGET_SSE2 targets if using SSE math.
930 (*absdf2_1): Likewise.
932 2006-07-05 Richard Guenther <rguenther@suse.de>
934 PR tree-optimization/28162
935 * fold-const.c (fold_binary): For (-A) * (-B) -> A * B
936 make sure to convert the operands to the correct type.
938 2006-07-04 Paolo Bonzini <bonzini@gnu.org>
940 PR tree-optimization/28218
942 * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
943 to calculate and free the dominator information.
945 2006-07-04 Peter O'Gorman <peter@pogma.com>
947 * mklibgcc.in: chmod 644 before ranlib during install.
949 2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
950 J"orn Rennecke <joern.rennecke@st.com>
952 * configure.ac (.eh_frame data check): Use diff -b.
954 2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
957 * Makefile.in (BUILD_RTL): Add build/vec.o.
958 (build/gencondmd.o): Filter out -fkeep-inline-functions.
959 (build/genextract): Delete.
960 (build/genautomata): Likewise.
962 2006-07-04 Alan Modra <amodra@bigpond.net.au>
965 * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
966 128-bit IBM long doubles for ABI_V4.
968 2006-07-03 Eric Botcazou <ebotcazou@adacore.com>
970 * tree.c (range_in_array_bounds_p): New predicate.
971 * tree.h (range_in_array_bounds_p): Declare it.
972 * tree-eh.c (tree_could_trap_p) <ARRAY_RANGE_REF>: Use it to
973 return a less conservative answer.
974 * tree-sra.c (struct sra_elt): Add new pointer field 'groups'
976 (IS_ELEMENT_FOR_GROUP): New macro.
977 (FOR_EACH_ACTUAL_CHILD): Likewise.
978 (next_child_for_group): New helper function.
979 (can_completely_scalarize_p): Take into account groups.
980 (sra_hash_tree): Handle RANGE_EXPR.
981 (sra_elt_eq): Likewise.
982 (lookup_element): Be prepared for handling groups.
983 (is_valid_const_index): Delete.
984 (maybe_lookup_element_for_expr) <ARRAY_REF>: Use in_array_bounds_p
985 instead of is_valid_const_index.
986 <ARRAY_RANGE_REF>: New case.
987 (sra_walk_expr) <ARRAY_REF>: Use in_array_bounds_p instead of
988 is_valid_const_index.
989 <ARRAY_RANGE_REF>: Do not unconditionally punt.
990 (scan_dump): Dump info for groups too.
991 (decide_instantiation_1): Likewise.
992 (decide_block_copy): Assert that the element is not a group.
993 Propagate decision to groups.
994 (generate_one_element_ref): Handle RANGE_EXPR.
995 (mark_no_warning): Iterate over actual childs.
996 (generate_copy_inout): Likewise.
997 (generate_element_copy): Likewise.
998 (generate_element_zero): Likewise.
999 (generate_element_init_1): Likewise.
1000 (dump_sra_elt_name): Handle RANGE_EXPR.
1002 2006-07-03 Roger Sayle <roger@eyesopen.com>
1004 PR tree-optimization/26251
1005 * tree-ssa-threadupdate.c (redirection_block_p): New function.
1006 (thread_block): When optimizing for size refuse to thread jumps
1007 that would require duplication of blocks other than redirection
1010 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
1012 * configure.ac: Fix thinko in previous check-in.
1013 * configure: Regenerate.
1015 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
1018 * configure.ac (for lang...): Simplify nesting of conditionals.
1019 Test subdir_requires for non-enabled languages. Move processing
1020 of lang_opt_files and lang_tree_fiels below that test.
1021 * configure: Regenerate.
1022 * doc/sourcebuild.texi (Front End Config): Document subdir_requires.
1024 2006-07-01 Martin Michlmayr <tbm@cyrius.com>
1026 * doc/gcov.texi (Invoking Gcov): Add a missing word.
1028 2006-06-30 Kazu Hirata <kazu@codesourcery.com>
1030 * cfgexpand.c, config/i386/i386.c, genpreds.c, tree-cfg.c: Fix
1033 2006-06-29 Jason Merrill <jason@redhat.com>
1040 * tree.c (build_decl_stat): Don't hande #pragma visibility here.
1041 * c-common.c (c_determine_visibility): Handle it here.
1042 * c-decl.c (finish_decl): Call c_determine_visibility for
1044 * flags.h (enum symbol_visibility): Sort from most to least visibility.
1046 * varasm.c (default_assemble_visibility): Likewise.
1047 * c-common.c (handle_visibility_attribute): Complain about trying
1048 to give visibility to an already defined class, or trying to change
1049 declared visibility. Always attach the attribute.
1054 * attribs.c (decl_attributes): Ignore type-in-place attributes
1055 once the type has been defined.
1057 2006-06-29 Roger Sayle <roger@eyesopen.com>
1060 * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
1061 to indicate the cpplib has issued an error message for us.
1063 2006-06-29 Asher Langton <langton2@llnl.gov>
1066 * config/i386/i386.c (ix86_output_function_epilogue): Don't
1067 insert a label at the end of an function under Mach-O.
1069 2006-06-29 Eric Christopher <echristo@apple.com>
1070 Evan Cheng <evan.cheng@apple.com>
1072 * predicates.md (vector_all_ones_operand): New.
1073 (nonimmediate_or_sse_const_operand): Ditto.
1074 * config/i386/i386-protos.h (standard_sse_constant_opcode): Declare.
1075 * config/i386/i386.c (standard_sse_constant_opcode): Define.
1076 (standard_sse_mode_p): Ditto.
1077 (standard_sse_constant_p): Add case for -1 vector.
1078 (ix86_expand_vector_move): Try to use.
1079 * sse.md (*mov<mode>_internal): Use nonimmediate_or_sse_const_operand.
1080 Call standard_sse_constant_opcode.
1081 (*movv4sf_internal): Ditto.
1082 (*movv2df_internal): Ditto.
1084 2006-06-29 Roger Sayle <roger@eyesopen.com>
1086 * genpreds.c (write_match_code_switch): Correctly use XSTR instead
1087 of XEXP to extract the operands of a MATCH_CODE rtx.
1089 2006-06-28 Andrew Pinski <pinskia@gmail.com>
1091 * tree.c (tree_size): Do not waste tail padding in
1092 struct tree_string and make the size be the same as
1093 build_string will generate.
1095 2006-06-28 Jason Merrill <jason@redhat.com>
1098 * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
1099 may_aliases already in the tag's annotations to the bitmap.
1101 2006-06-28 Roger Sayle <roger@eyesopen.com>
1103 * genpreds.c (write_predicate_stmts) <IOR>: Add missing break.
1105 2006-06-28 Roger Sayle <roger@eyesopen.com>
1107 * genpreds.c (generate_switch_p): New function.
1108 (add_mode_tests): Push the new mode test down inside an AND expr
1109 if this allows the switch-suitable MATCH_CODE to be near the root.
1110 (write_match_code_switch): New function to write a MATCH_CODE as
1112 (write_predicate_stmts): New function to write a predicate RTX
1113 expression as a sequence of statements.
1114 (write_one_predicate_function): Use write_predicate_stmts.
1115 (write_tm_constrs_h): Likewise.
1117 2006-06-26 Fred Fish <fnf@specifix.com>
1119 * config/mips/t-sb1: New file.
1120 * config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
1123 2006-06-26 DJ Delorie <dj@redhat.com>
1125 * config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.
1127 2006-06-26 Naveen H.S <naveenh@kpitcummins.com>
1128 Jayant Sonar <jayants@kpitcummins.com>
1129 Jaydeep Vipradas <jaydeepv@kpitcummins.com>
1131 * config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
1132 (subsi3, subsi3_1, subsi3_2): New.
1133 * config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
1134 * config/m32c/mov.md (SI mov peephole): New.
1135 * config/m32c/m32.c (m32c_immd_dbl_mov): New.
1136 * config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.
1138 2006-06-26 Olivier Hainque <hainque@adacore.com>
1140 * function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
1141 a CALL_EXPR target function declaration.
1143 2006-06-26 Richard Guenther <rguenther@suse.de>
1145 * tree.c (build_string): Do not waste tail padding in
1148 2006-06-26 Richard Guenther <rguenther@suse.de>
1150 * ggc-page.c (init_ggc): Add missing element to size_lookup
1154 2006-06-23 Richard Guenther <rguenther@suse.de>
1156 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1157 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1158 alignment requests instead. Add verification code.
1159 Add struct tree_function_decl and struct tree_binfo size to
1160 extra_order_size_table. Add missing element to size_lookup
1163 2006-06-25 Eric Botcazou <ebotcazou@adacore.com>
1166 * fold-const.c (const_binop): Be prepared for self returning zero.
1167 Simplify code handling complex values.
1169 2006-06-24 Olivier Hainque <hainque@adacore.com>
1171 * gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
1172 (gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
1175 2006-06-24 Olivier Hainque <hainque@adacore.com>
1177 * tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
1178 ARRAY_REF, so have the callback called for the low bound expression.
1180 2006-06-23 Janis Johnson <janis187@us.ibm.com>
1182 * tree.h (DECIMAL_FLOAT_TYPE_P): New.
1183 * c-typeck.c (c_common_type): Disallow operations on decimal float
1184 types and other float types.
1185 * convert.c (convert_to_real): Don't ignore conversions involving
1186 decimal float types.
1188 2006-06-23 Olivier Hainque <hainque@adacore.com>
1190 * tree.c (max_int_size_in_bytes): New function, inspired from
1191 code in function.c:assign_temp.
1192 * tree.h (max_int_size_in_bytes): Declare.
1193 * function.c (assign_temp): Use it.
1194 * gimplify.c (create_tmp_var): Relax the assertions on the type
1195 properties, not mandating constant size any more.
1196 (force_constant_size): New static function.
1197 (gimple_add_tmp_var): Use it, forcing variable size to a
1198 constant upper bound if it is not constant on entry.
1200 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1203 * config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
1204 for initialization and setting of one_only flag to ...
1205 (i386_pe_encode_section_info): ...here.
1206 (i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
1207 Recheck that the symbol has not been defined.
1209 2006-06-23 Richard Guenther <rguenther@suse.de>
1211 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1212 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1213 alignment requests instead. Add verification code.
1214 Add struct tree_function_decl and struct tree_binfo size to
1215 extra_order_size_table. Add missing element to size_lookup
1218 2006-06-22 Roger Sayle <roger@eyesopen.com>
1219 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1222 * expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
1223 call to lang_hooks.types.type_for_mode returned NULL_TREE.
1225 2006-06-23 Ben Elliston <bje@au.ibm.com>
1227 * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
1228 negate dn -- manipulate it directly.
1230 2006-06-22 Roger Sayle <roger@eyesopen.com>
1231 Steven Bosscher <stevenb.gcc@gmail.com>
1234 * reload1.c (gen_reload): Call mark_jump_label on the new insns
1235 generated by gen_move_insn to add REG_LABEL notes if necessary.
1237 2006-06-22 Bob Wilson <bob.wilson@acm.org>
1239 * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
1240 (leaf_entry): Remove use of MIN_ESA.
1242 2006-06-22 Zdenek Dvorak <dvorakz@suse.cz>
1244 PR rtl-optimization/28121
1245 * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
1248 2006-06-21 DJ Delorie <dj@redhat.com>
1250 * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
1252 (mulhisi3_r): Likewise.
1254 2006-06-21 Richard Sandiford <richard@codesourcery.com>
1257 * coverage.c (coverage_counter_alloc): Leave the index type
1259 (coverage_counter_alloc): Use null arguments for operands 2 and 3
1262 2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
1264 * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
1265 section from the "Options for Code Generation Conventions".
1267 2006-06-21 Richard Henderson <rth@redhat.com>
1271 * config/alpha/predicates.md (small_symbolic_operand): Deny weak
1273 (global_symbolic_operand): Allow weak symbols, even if local_p.
1275 2006-06-21 Eric Botcazou <ebotcazou@adacore.com>
1277 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
1278 (find_interesting_uses_address): Punt if above function returns true.
1280 2006-06-21 Richard Guenther <rguenther@suse.de>
1282 * configure: Regenerated.
1284 2006-06-21 Joseph Myers <joseph@codesourcery.com>
1286 * config/mips/mips.c (function_arg): Where one part of a
1287 complex argument is in registers and the other part in the stack,
1288 return a REG not a PARALLEL.
1290 2006-06-21 Mark Mitchell <mark@codesourcery.com>
1292 * configure.ac: Set gcc_gxx_include_dir to $target/include/c++
1293 when cross-compiling. Do not substitute libstdcxx_incdir.
1294 * configure: Regenerated.
1296 2006-06-21 Jakub Jelinek <jakub@redhat.com>
1298 * varasm.c (mergeable_string_section): Check for embedded NULs and
1299 NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
1300 rather than TREE_STRING_LENGTH bytes.
1302 2006-06-21 Richard Guenther <rguenther@suse.de>
1304 * ggc-page.c (extra_order_size_table): Add var_ann_d,
1305 tree_ssa_name, bitmap_element and phi_node with 4 arguments
1308 2006-06-21 Richrad Guenther <rguenther@suse.de>
1310 * tree-ssa-loop-niter.c (simplify_using_initial_conditions):
1311 Limit iteration over the dominators.
1313 2006-06-20 Roger Sayle <roger@eyesopen.com>
1315 * config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
1316 (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.
1318 2006-06-20 Richard Guenther <rguenther@suse.de>
1319 Michael Matz <matz@suse.de>
1321 * alloc-pool.h (free_alloc_pool_if_empty): Prototype new
1323 * alloc-pool.c (free_alloc_pool_if_empty): New function.
1324 * et-forest.h (et_free_pools): Prototype new function.
1325 * et-forest.c (et_free_tree_force): Free parent occurrence.
1326 (et_free_pools): New function.
1327 * dominance.c (free_dominance_info): Free et-forest alloc
1330 2006-06-20 Roger Sayle <roger@eyesopen.com>
1332 * expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
1333 integer modes, attempt to directly construct an integer constant.
1335 * fold-const.c (native_encode_vector): Determine the size of each
1336 element from the vector type instead of the first vector element.
1338 * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
1339 if all of its elements/components are constant.
1340 (build_constructor_from_list): Likewise.
1342 2006-06-20 Zdenek Dvorak <dvorakz@suse.cz>
1344 PR tree-optimization/27331
1345 * tree-data-ref.c (free_data_ref): New function.
1346 (create_data_ref): Fail if the data reference has unknown access
1348 (free_data_refs): Use free_data_ref.
1350 2006-06-19 Andrew Pinski <pinskia@gmail.com>
1353 * tree-inline.c (setup_one_parameter): Strip useless
1354 type conversion before adding it to the IR.
1355 (declare_return_variable): Likewise.
1357 2006-06-19 Martin Michlmayr <tbm@cyrius.com>
1360 * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
1362 2006-06-19 Mike Stump <mrs@apple.com>
1364 * tree.c (variably_modified_type_p): VM arguments don't make the
1367 2006-06-19 Richard Guenther <rguenther@suse.de>
1369 * tree-ssa-pre.c (try_combine_conversion): Strip useless
1370 type conversions after folding.
1372 2006-06-19 Richard Guenther <rguenther@suse.de>
1374 * ggc-page.c (extra_order_size_tab): Add entries with
1375 size of struct function and basic_block.
1376 (size_lookup): Extend to cover sizes up to 511.
1377 (ggc_alloc_stat): Adjust user.
1378 (ggc_pch_count_object): Likewise.
1379 (ggc_pch_alloc_object): Likewise.
1380 (ggc_pch_write_object): Likewise.
1382 2006-06-19 Zdenek Dvorak <dvorakz@suse.cz>
1384 * tree-ssa-loop-niter.c (implies_ge_p): New function.
1385 (derive_constant_upper_bound): Handle OP0 - CST in unsigned types
1388 2006-06-19 Denis Chertykov <denisc@overta.ru>
1390 * config/avr/libgcc.S : Correct my wrong previous commit.
1392 2006-06-19 Roger Sayle <roger@eyesopen.com>
1395 * expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
1396 have stripped a SUBREG from the shift count, so we may need to
1397 convert_to_mode back to the type's mode before calling make_tree.
1398 Use new_amount instead of amount to avoid expanding a tree twice.
1400 2006-06-19 Richard Guenther <rguenther@suse.de>
1403 * fold-const.c (operand_equal_p): Check if the argument types
1404 have the same precision before stripping NOPs.
1406 2006-06-19 Daniel Berlin <dberlin@dberlin.org>
1408 Fix PR tree-optimization/27341
1409 * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the
1411 * tree-complex.c (pass_lower_complex): Update SMT usage.
1413 2006-06-19 Andreas Krebbel <krebbel1@de.ibm.com>
1415 * config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"):
1416 Add a new alternative to the constraint strings. Add move of
1417 operand 1 to 3 to the splitter definition.
1418 ("doloop_si_long"): Second contraint alternative removed.
1420 2006-06-08 Anatoly Sokolov <aesok@post.ru>
1422 * config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
1423 (TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and
1425 (AVR_HAVE_MOVW) Define.
1426 (ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
1427 (ASM_SPEC): Add avr25.
1428 (LINK_SPEC): Add avr25.
1429 * config/avr/avr.c (avr_have_movw_lpmx_p): Add.
1430 (base_arch_s): Add new member 'have_movw_lpmx'.
1431 (avr_arch_types): Init 'have_movw_lpmx'.
1432 (avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
1433 attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
1434 attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
1435 (avr_override_options): Init 'avr_have_movw_lpmx_p'.
1436 (output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use
1438 (avr_file_start): Do not output '.arh' derective.
1439 * config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
1440 (__do_copy_data): Use __AVR_HAVE_LPMX__.
1441 * config/avr/avr.md (mcu_enhanced): Delete.
1442 (mcu_have_movw): Define.
1443 (negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
1444 (call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
1445 * config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
1446 (MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
1447 attiny84, attiny25, attiny45, attiny85, attiny261, attiny461,
1448 attiny861 and at86rf401 devices.
1450 2006-06-18 Jie Zhang <jie.zhang@analog.com>
1452 * config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
1455 2006-06-17 Karl Berry <karl@gnu.org>
1457 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi,
1458 doc/gccint.texi, doc/install.texi (@dircategory): Use
1459 "Software development" instead of "Programming", following
1460 the Free Software Directory.
1462 2006-06-17 Alexandre Oliva <aoliva@redhat.com>
1464 * config/i386/i386.c (legitimate_tls_address)
1465 <TARGET_GNU2_TLS>: Add tp after DTPOFF.
1466 * config/i386/i386.md (*tls_dynamic_gnu2_combine_32): Adjust.
1467 (*tls_dynamic_gnu2_combine_64): Likewise.
1469 2006-06-16 Richard Guenther <rguenther@suse.de>
1472 * fold-const.c (negate_expr_p): Do not introduce undefined
1473 overflow in negating INTEGER_CSTs.
1474 (fold_negate_expr): Rename from negate_expr. Revert last
1475 change for folding BIT_NOT_EXPR. Change semantics to
1476 return NULL_TREE for non-simplified negations. Do not
1477 strip type conversions and unify type handling.
1478 (negate_expr): New function, wrap around fold_negate_expr
1479 but ensure building a tree always. Strip type conversions
1480 here, fold to result type.
1481 (fold_unary): Use fold_negate_expr for folding NEGATE_EXPR.
1483 2006-06-16 Roger Sayle <roger@eyesopen.com>
1486 * reg-stack.c (subst_stack_regs): Handle noreturn function calls
1487 that (would) return their results in stack registers.
1489 2006-06-16 Michael Matz <matz@suse.de>
1490 Richard Guenther <rguenther@suse.de>
1492 * fold-const.c (fold_truthop): Only return new tree node if
1493 we canonicalized something.
1495 2006-06-16 Richard Guenther <rguenther@suse.de>
1497 * function.h (enum function_frequency): Move declaration
1498 out of struct function.
1499 (struct function): Move bool fields and the enum to the bitfield
1500 section. Reorder elements to avoid padding. Remove unused
1501 fields left over from the RTL inliner removal.
1502 * function.c (free_after_compilation): Do not zero removed fields.
1503 * Makefile.in (ipa-reference.o): Add $(FUNCTION_H) dependency.
1504 (ipa-type-escape.o): Likewise.
1506 2006-06-16 Richard Guenther <rguenther@suse.de>
1508 * cgraph.h (struct cgraph_local_info): Turn bool elements
1510 (struct cgraph_node): Likewise.
1511 (struct cgraph_varpool_node): Likewise.
1513 2006-06-15 Richard Guenther <rguenther@suse.de>
1515 * fold-const.c (fold_truth_not_expr): Rename from
1516 invert_truthvalue. Give it fold_* semantics to avoid
1518 (invert_truthvalue): New function. Wrapper around
1519 fold_truth_not_expr.
1520 (optimize_minmax_comparison): Avoid creating garbage.
1521 (fold_unary): Use fold_truth_not_expr for folding
1523 (fold_ternary): Replace uses of invert_truthvalue with
1524 fold_truth_not_expr where applicable.
1525 * tree.h (fold_truth_not_expr): Prototype.
1527 2006-06-16 Richard Guenther <rguenther@suse.de>
1529 PR tree-optimization/27781
1530 * Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
1531 * ipa-pure-const.c (target.h): Include.
1532 (analyze_function): Do not analyze functions that do not
1535 2006-06-15 Andrew MacLeod <amacleod@redhat.com>
1538 * tree-dfa.c (referenced_vars_dup_list): Remove.
1539 (find_referenced_vars): Remove assert.
1540 (referenced_var_check_and_insert): Replace dup list with assert.
1541 * tree-ssa.c (delete_tree_ssa): Remove dup list processing.
1542 * tree-flow.h (referenced_vars_dup_list): Remove extern decl.
1544 2006-06-15 Richard Guenther <rguenther@suse.de>
1546 * tree-ssa-structalias.c (alias_get_name): Avoid creating
1547 extra unused identifiers if not dumping.
1548 (create_variable_info_for): Likewise.
1550 2006-06-15 Zdenek Dvorak <dvorakz@suse.cz>
1552 * tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
1553 (derive_constant_upper_bound): Derive more precise upper bound in
1554 common cases. Return type changed to double_int.
1555 (record_estimate): Reflect the changed return type of
1556 derive_constant_upper_bound.
1557 * double-int.c (double_int_zext, double_int_sext): Fix.
1559 2006-06-15 Paolo Bonzini <bonzini@gnu.org>
1561 * configure.ac (CFLAGS): Get them from the toplevel or from the
1562 configure invocation.
1563 * configure: Regenerate.
1564 * Makefile.in (CFLAGS): Substitute value provided by configure.
1566 2006-06-14 Mark Mitchell <mark@codesourcery.com>
1569 * c-common.h (c_finish_omp_atomic): Adjust declaration.
1570 * c-omp.c (c_finish_omp_atomic): Return the expression to perform,
1571 rather than calling add_stmt on it.
1572 * c-parser.c (c_parser_omp_atomic): Adjust accordingly.
1574 2006-06-14 Andreas Krebbel <krebbel1@de.ibm.com>
1577 * reload1.c (reload): Remove registers returned by update_eliminables
1578 from used_spill_regs.
1580 2006-06-13 DJ Delorie <dj@redhat.com>
1582 * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
1584 2006-06-13 Carlos O'Donell <carlos@codesourcery.com>
1586 * Makefile.in: Define HTMLS_BUILD, HTMLS_INSTALL,
1587 html__strip_dir, html__mkdir_p. Enhance install-html target.
1588 * configure.ac: AC_SUBST datarootdir, docdir and htmldir.
1589 * configure: Regenerate.
1591 2006-06-13 Fariborz Jahanian <fjahanian@apple.com>
1593 * fold-const.c (fold_cond_expr_with_comparison): Check for
1594 Objective-C++ as language in deciding COND_EXPR transformation.
1596 2006-06-06 J"orn Rennecke <joern.rennecke@st.com>
1599 * config/sh/t-sh (LIB1ASMFUNCS): Add _udiv_qrnnd16
1600 * config/sh/sh.c (print_operand): Add !SHMEDIA functionality to 'M'.
1601 * config/sh/lib1funcs.h (SL, SL1): Define.
1602 * config/sh/lib1funcs.asm (__udiv_qrnnd16): New hidden function.
1603 * longlong.h (__sh__): Define umul_ppmm, udiv_qrnnd and sub_ddmmss.
1604 * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): New rule.
1605 (OBJS_Os_4_200): New variable.
1606 ($(T)libgcc-Os-4-200.a): Use it.
1607 * sh.md (udivsi3): For TARGET_DIVIDE_CALL_TABLE, avoid function call
1608 when dividing 1 and/or by 0.
1610 2006-06-13 Roger Sayle <roger@eyesopen.com>
1612 * configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
1613 before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
1614 * configure: Regenerate.
1616 2006-06-13 Jie Zhang <jie.zhang@analog.com>
1618 * config/bfin/bfin.c (bfin_reorg_loops): Only call recog_memoized ()
1619 for real instruction.
1621 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1624 * haifa-sched.c (check_cfg): Handle special case.
1626 2006-06-13 Eric Botcazou <ebotcazou@adacore.com>
1629 * gimplify.c (declare_tmp_vars): Rename into declare_vars.
1630 Add debug_info parameter. Chain the vars to the BLOCK instead
1631 of the BIND_EXPR if debug info are requested for them.
1632 (pop_gimplify_context): Adjust for above change.
1633 (gimple_add_tmp_var): Likewise.
1634 * tree-gimple.h (declare_tmp_vars): Rename into declare_vars.
1636 * tree-nested.c (convert_nonlocal_reference): Adjust for above change.
1637 (convert_local_reference): Likewise.
1638 (get_local_debug_decl): Set DECL_IGNORED_P on the original variable.
1639 (finalize_nesting_tree_1): Request that debug info be emitted
1640 for debug_var_chain.
1642 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1644 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Fix the patch
1645 for PR target/27863.
1647 2006-06-13 Richard Guenther <rguenther@suse.de>
1650 * except.c (output_ttype): Expand type with EXPAND_INITIALIZER.
1652 2006-06-13 Richard Guenther <rguenther@suse.de>
1654 PR tree-optimization/27830
1655 * tree-inline.c (copy_body_r): For copying the operand
1656 of an ADDR_EXPR make sure to fold &* afterwards.
1658 2006-06-12 Eric Botcazou <ebotcazou@adacore.com>
1660 * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other
1661 lvalues in the fb_none case with side-effects.
1663 2006-06-12 Kazu Hirata <kazu@codesourcery.com>
1665 * tree-flow.h: Remove the prototype for
1666 compute_phi_arg_on_exit.
1667 * tree-ssa-loop-ivopts.c (protect_loop_closed_ssa_form_use,
1668 protect_loop_closed_ssa_form, compute_phi_arg_on_exit):
1671 2006-06-12 Mark Shinwell <shinwell@codesourcery.com>
1673 * builtins.c (expand_builtin_return_addr): Only use
1674 frame_pointer_rtx when count == 0 and we are expanding
1675 __builtin_return_address.
1677 2006-06-12 Fred Fish <fnf@specifix.com>
1679 * config/mips/mips.c (mips_file_start): Create special section
1680 ".gcc_compiled_longXX" for o64 ABI as well as EABI.
1682 2006-06-11 Eric Christopher <echristo@apple.com>
1685 * stor-layout.c (place_field): Remove check for
1686 remaining_in_alignment when aligning at the end of a run.
1688 2006-06-11 Eric Christopher <echristo@apple.com>
1691 * doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
1694 2006-06-11 Roger Sayle <roger@eyesopen.com>
1697 Revert incorrect fix for PR target/27158
1698 2006-05-08 Roger Sayle <roger@eyesopen.com>
1699 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
1700 of a reg_equiv_constant if the result is a legitimate constant.
1702 2006-06-11 Roger Sayle <roger@eyesopen.com>
1705 * config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
1706 extract a CONST_VECTOR element and interpret it as an integer.
1707 (vspltis_constant): Use const_vector_elt_as_int instead of the
1708 macro CONST_VECTOR_ELT in order to handle FP vector modes.
1709 * config/rs6000/predicates.md (easy_vector_const): Consider
1710 floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
1712 2006-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
1715 * stor-layout.c (update_alignment_for_field): Don't add extra
1716 alignment for packed non-bitfield fields in ms_bitfield_layout_p
1719 2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
1721 * config/mips/t-rtems: Add EL/EB multilib variants.
1723 2006-06-09 Mike Stump <mrs@apple.com>
1725 * c-typeck.c (c_begin_vm_scope): Fix file_scope processing.
1727 2006-06-09 David Daney <ddaney@avtrex.com>
1729 * doc/install.texi: Add binutils version recommendation for mips-*-*.
1731 2006-06-09 Andreas Krebbel <krebbel1@de.ibm.com>
1733 * reload.c (find_reloads): Unset force_reload for 'X' constraint.
1735 2006-06-09 Richard Guenther <rguenther@suse.de>
1737 PR tree-optimization/26998
1738 * tree-vrp.c (extract_range_from_unary_expr): For NEGATE_EXPR
1739 of signed types, only TYPE_MIN_VALUE is special, but for both,
1740 minimum and maximum value. Likewise VR_ANTI_RANGE is special
1741 in this case, as is -fwrapv.
1743 2006-06-08 Mike Stump <mrs@apple.com>
1746 * config/darwin.c (darwin_asm_output_anchor): Disable
1747 -fsection-anchors on darwin for now.
1748 * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Likewise.
1749 * rs6000/rs6000.c (optimization_options): Likewise.
1751 2006-06-08 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1754 * config/i386/i386.c (classify_argument): Skip fields with invalid
1757 2006-06-08 Steven Bosscher <steven@gcc.gnu.org>
1759 * cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
1760 (cse_insn): Likewise for the stack_pointer_rtx.
1762 2006-06-08 Roger Sayle <roger@eyesopen.com>
1764 * tree-ssa-dom.c (record_conditions): Only record "unordered"
1765 conditions from floating point comparisons.
1767 2006-06-08 Paolo Bonzini <bonzini@gnu.org>
1770 * expmed.c (struct alg_hash_entry): Fix type of field T
1771 to match synth_mult argument.
1772 (NUM_ALG_HASH_ENTRIES): Make it bigger for 64-bit HOST_WIDE_INT.
1774 2006-06-08 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1777 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Update basic
1780 2006-06-08 Richard Guenther <rguenther@suse.de>
1783 * fold-const.c (negate_expr_p): We can negate BIT_NOT_EXPR
1784 only, if overflow is defined and not trapping.
1785 (negate_expr): Likewise.
1787 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
1789 PR tree-optimization/27872
1790 * tree-ssa-loop-manip.c (tree_unroll_loop): Set EDGE_IRREDUCIBLE_LOOP
1791 flag on the new exit edge of the unrolled loop.
1793 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
1795 PR rtl-optimization/26449
1796 * loop-invariant.c (move_invariant_reg): Fail if force_operand fails.
1798 2006-06-07 Andrew MacLeod <amacleod@redhat.com>
1801 * tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
1802 referenced_variables with matching DECL_UID's.
1803 (find_referenced_vars): Make sure duplicate list is empty to start.
1804 (referenced_var_p): Remove.
1805 (referenced_var_check_and_insert): Renamed from referenced_var_insert.
1806 Check if var is in the list, and add if needed. Update the duplicate
1807 list if a different var is in the list with the same DECL_UID.
1808 (add_referenced_var): Call routine to check and insert.
1809 * tree-ssa.c (delete_tree_ssa): Clear var_ann's on duplicates.
1810 * tree-flow.h (referenced_vars_dup_list): External declaration.
1812 2006-06-07 Fred Fish <fnf@specifix.com>
1814 * config/mips/t-elf (MULTILIB_MATCHES): Combine two entries
1817 2006-06-07 Paolo Bonzini <bonzini@gnu.org>
1820 * reg-stack.c (subst_stack_regs_pat): Reorder resetting of
1821 the imaginary and real parts of a clobbered register.
1822 Emit insn to set the imaginary part.
1824 2006-06-06 Peter Lemieszewski <lemie@us.ibm.com>
1826 * config/s390/t-tpf (LIB2ADDEH): Include unwind-dw2-fde-glibc.c
1827 in lieu of unwind-dw2-fde.c.
1829 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1831 * config/i386/mingw32.h (GOMP_SELF_SPECS): Define.
1833 2006-06-06 Ulrich Weigand <uweigand@de.ibm.com>
1836 * config/rs6000/altivec.md (UNSPEC_VSLW): Remove.
1837 ("altivec_vspltisw_v4sf", "altivec_vslw_v4sf"): Remove.
1838 ("mulv4sf3", "absv4sf3", "negv4sf3"): Adapt users to use
1839 V4SImode temporaries and operations instead.
1841 2006-06-06 Joseph S. Myers <joseph@codesourcery.com>
1843 * config/mips/t-linux64 (tp-bit.c): Append to tp-bit.c, not
1846 2006-06-06 Mike Stump <mrs@apple.com>
1848 * Makefile.in: Rename to htmldir to build_htmldir to avoid
1849 installing during build.
1851 2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1853 * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default
1855 * doc/invoke.texi (max-sched-extend-regions-iters): Document.
1856 * config/ia64/ia64.c (params.h): New header.
1857 (ia64_optimization_options): New function to adjust parameters.
1858 * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype.
1859 * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro.
1860 * config/ia64/t-ia64 (ia64.o): Add dependence from params.h .
1862 2006-06-05 Kazu Hirata <kazu@codesourcery.com>
1864 * stor-layout.c (debug_rli): Fix a typo in a debug message.
1866 2006-06-05 Steve Ellcey <sje@cup.hp.com>
1869 * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
1871 2006-06-05 Dorit Nuzman <dorit@il.ibm.com>
1872 Victor Kaplansky <victork@il.ibm.com>
1874 PR tree-optimization/26360
1875 * tree-vectorizer.c (destroy_loop_vec_info): Remove (dead) pattern
1878 2006-06-04 Roger Sayle <roger@eyesopen.com>
1879 Andrew Pinski <pinskia@physics.uc.edu>
1882 * c-common.c (c_common_truthvalue_conversion): Explicitly check
1883 for LABEL_DECL before calling DECL_WEAK.
1886 * c-typeck.c (build_binary_op): Likewise, explicitly check for
1887 LABEL_DECL and PARM_DECL.
1889 2006-06-05 Joseph S. Myers <joseph@codesourcery.com>
1893 * c-decl.c (grokdeclarator): Disallow variably modified types at
1894 file scope. Avoid marking shared array type of constant size as
1897 2006-06-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1900 * c-common.c (fold_offsetof_1): Handle static members.
1902 2006-06-04 Eric Christopher <echristo@apple.com>
1904 * stor-layout.c (start_record_layout): Initialize remaining_in_alignment.
1905 (debug_rli): Output value for remaining_in_alignment.
1906 (update_alignment_for_field): Unconditionalize
1907 ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
1908 extra alignment code.
1909 (place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
1910 ms_bitfield_layout_p code. Rewrite handling of structure fields.
1911 * tree.h (record_layout_info_s): Remove prev_packed.
1912 * doc/extend.texi (ms_struct): Add documentation of format.
1914 2006-06-04 Mark Shinwell <shinwell@codesourcery.com>
1916 * tree.h: Declare folding_initializer.
1917 * builtins.c (fold_builtin_constant_p): Give definite answer
1918 if folding inside an initializer.
1919 * fold-const.c: Define folding_initializer.
1920 (START_FOLD_INIT): Save and then set folding_initializer.
1921 (END_FOLD_INIT): Restore folding_initializer.
1923 2006-06-04 Richard Guenther <rguenther@suse.de>
1925 PR tree-optimization/27039
1926 * fold-const.c (fold_comparison): Handle pointer comparison
1927 again for all comparison codes. Compare offsets in signed
1929 (fold_binary): Move code from here.
1931 2006-06-03 Roger Sayle <roger@eyesopen.com>
1934 * config/i386/i386.c (construct_container): Split static issued_error
1935 flag into issued_sse_arg_error, issued_sse_ret_error and
1936 issued_x87_ret_error. Issue a daignostic if the x86-64 ABI
1937 requires the use of x87 registers and the user explicitly
1938 specified the -mno-80387 command line option.
1940 2006-06-02 Geoffrey Keating <geoffk@apple.com>
1942 * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
1943 HAVE_DECL_SIGALTSTACK.
1945 (segv_handler): Use MC_FLD.
1946 * configure.ac: Check for a sigaltstack declaration.
1947 Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
1948 * configure: Regenerate.
1949 * config.in: Regenerate.
1951 2006-06-03 J"orn Rennecke <joern.rennecke@st.com>
1954 * Makefile.in (stmp-fixinc): Fix typo.
1956 2006-06-02 Roger Sayle <roger@eyesopen.com>
1958 * fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
1959 are type correct. Clean-up.
1960 <REALPART_EXPR>: Likewise. Optimize creal(~z) as creal(z).
1961 <IMAGPART_EXPR>: Likewise. Optimize cimag(~z) as -cimag(z).
1963 2006-06-01 DJ Delorie <dj@redhat.com>
1965 * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
1966 shift, as we've disabled the "switch" insn that needs it.
1968 2006-06-01 Per Bothner <bothner@bothner.com>
1970 Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
1971 * c-opts.c (finish_options): Use internal line 0 for <command-line>.
1972 * c-ppoutput.c (cb_define): Don't increment line 0.
1974 2006-06-01 Pete Steinmetz <steinmtz@us.ibm.com>
1976 * doc/invoke.texi: Add cpu_type power6.
1977 * config.gcc: Add cpu_type power6.
1978 * config/rs6000/rs6000.c (rs6000_override_options): Alias power6
1979 to power5+ with Altivec.
1980 * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
1981 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.
1983 2006-05-30 Anatoly Sokolov <aesok@post.ru>
1985 * config/avr/avr.h (SET_ASM_OP): Define.
1987 2006-06-01 Kazu Hirata <kazu@codesourcery.com>
1989 * config/bfin/bfin.c: Fix comment typos.
1991 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1994 * doc/install.texi: Document --enable-bootstrap and
1995 --disable-bootstrap.
1997 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1999 * doc/install.texi: Document that InfoZIP can replace jar.
2001 2006-05-31 Roger Sayle <roger@eyesopen.com>
2003 * config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
2004 isn't available, directly generate the simpler x87 patterns without
2005 the (use (const_int 0)).
2006 * config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
2007 implementation isn't available.
2008 (*negdf2_1): Likewise.
2009 (*negxf2_1): XF mode negation is always done using the x87.
2010 (*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.
2012 2006-05-31 Roger Sayle <roger@eyesopen.com>
2014 * builtins.c (fold_builtin_cabs): Delete prototype. Require an
2015 additional FNDECL argument. Optimize cabs(-z) and cabs(~z) as
2017 (fold_builtin_decl) <BUILT_IN_CABS>: Update fold_builtin_cabs call.
2019 2006-05-31 Jie Zhang <jie.zhang@analog.com>
2021 * config/bfin/bfin-protos.h (bfin_hardware_loop): Declare.
2022 * config/bfin/bfin.c (basic-block.h): Include.
2023 (struct machine_function): New.
2024 (bfin_init_machine_status): New.
2025 (override_options): Initialize init_machine_status.
2026 (bfin_hardware_loop): New.
2027 (MAX_LOOP_DEPTH, MAX_LOOP_LENGTH): Define.
2028 (DEF_VEC_P (loop_info)): New.
2029 (DEF_VEC_ALLOC_P (loop_info,heap)): New.
2030 (struct loop_info): New.
2031 (loop_info): New typedef.
2032 (struct loop_work): New.
2033 (loop_work): New typedef.
2034 (DEF_VEC_O (loop_work)): New.
2035 (DEF_VEC_ALLOC_O (loop_work,heap)): New.
2036 (bfin_dump_loops): New.
2037 (bfin_bb_in_loop): New.
2038 (bfin_scan_loop): New.
2039 (bfin_optimize_loop): New.
2040 (bfin_reorg_loops): New.
2041 (bfin_reorg): Use bfin_reorg_loops.
2042 * config/bfin/bfin.h (FIRST_PSEUDO_REGISTER): Adjust for adding
2044 (I_REGNO_P): Simplify.
2045 (DP_REGNO_P, DPREG_P): New macros.
2046 (REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
2047 REG_ALLOC_ORDER): Add LT0, LT1, LC0, LC1, LB0, LB1.
2048 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
2049 Add LT_REGS, LC_REGS, LB_REGS.
2050 (REG_CLASS_FROM_LETTER): Add 't' for LT_REGS, 'k' for LC_REGS,
2052 (REGNO_REG_CLASS): Deal with loop registers.
2053 * config/bfin/bfin.md: Add comment for 't', 'k', 'l' constraint
2055 (REG_LT0, REG_LT1, REG_LC0, REG_LC1, REG_LB0, REG_LB1):
2056 New constants for loop registers.
2057 (UNSPEC_LSETUP_END): New.
2058 (seq_insns): New define_attr. Set it for appropriate insns.
2059 (movsi_insn): Add alternatives for move from/to
2060 loop count registers.
2061 (doloop_end): New define_expand.
2062 (loop_end): New define_insn.
2063 (define_split for bad doloop_end): New.
2064 (lsetup_with_autoinit): New define_insn.
2065 (lsetup_without_autoinit): New define_insn.
2066 (rep_movsi, rep_movhi): Clobber LT1, LC1, LB1.
2067 * config/bfin/predicates.md (lc_register_operand): New.
2068 (lt_register_operand): New.
2069 (lb_register_operand): New.
2070 (nondp_register_operand): New.
2071 (nondp_reg_or_memory_operand): New.
2072 * doc/md.texi: Document Blackfin new 't', 'k', 'l' constraint letters.
2074 2006-05-31 Jie Zhang <jie.zhang@analog.com>
2076 * config/bfin/bfin.c (bfin_delegitimize_address): New.
2077 (TARGET_DELEGITIMIZE_ADDRESS): Define.
2079 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
2081 * Makefile.in (CATALOGS): Add po/ prefix.
2082 * configure: Regenerated.
2084 2006-05-31 Richard Earnshaw <richard.earnshaw@arm.com>
2087 * arm.c (arm_print_operand case 'S'): Validate that the operand is
2088 a shift operand before calling shift_op. Avoid redundant call of
2091 2006-05-30 Naveen.H.S <naveenh@kpitcummins.com>
2092 DJ Delorie <dj@redhat.com>
2094 * config/m32c/m32c.c (m32c_expand_insv): Check that the value
2095 we're inserting is a singlt-bit constant.
2097 2006-05-30 Roger Sayle <roger@eyesopen.com>
2099 * simplify-rtx.c (simplify_binary_operation_1) <LSHIFTRT>: Cast
2100 width to HOST_WIDE_INT to avoid comparison warnings on some targets.
2102 2006-05-30 Roger Sayle <roger@eyesopen.com>
2104 PR tree-optimization/23452
2105 * fold-const.c (fold_mult_zconjz): New subroutine of fold_binary,
2106 to optimize z * conj(z) as realpart(z)^2 + imagpart(z)^2.
2107 (fold_binary) <MULT_EXPR>: Call fold_mult_zconjz for integral
2108 complex values and with -ffast-math for FP complex values.
2110 2006-05-30 Kazu Hirata <kazu@codesourcery.com>
2112 * c-common.h: Remove the prototype for yyparse.
2113 * rtl.h: Remove the prototype for init_loop.
2115 2006-05-30 Andreas Krebbel <krebbel1@de.ibm.com>
2117 * cse.c (validate_canon_reg, cse_insn): Don't change insns without
2120 2006-05-30 Roger Sayle <roger@eyesopen.com>
2122 * simplify-rtx.c (simplify_binary_operation): Unfactor the shift
2124 <LSHIFTRT>: Optimize (lshiftrt (clz X) C) as (eq X 0) where C is
2125 log2(GET_MODE_BITSIZE(X)) on targets with the appropriate semantics.
2127 2006-05-30 Dirk Mueller <dmueller@suse.de>
2130 * c-common.c (convert_and_check): Only track TREE_CONSTANT_OVERFLOW
2131 for CONSTANT_CLASS_P expresisons.
2133 2006-05-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2136 * c-typeck.c (c_expr_sizeof_type): Handle invalid types.
2138 2006-05-30 Zdenek Dvorak <dvorakz@suse.cz>
2140 PR tree-optimization/27779
2141 * tree-data-ref.c (analyze_siv_subscript_cst_affine): Use
2142 initial_condition instead of CHREC_LEFT.
2144 2006-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
2146 * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Fix type of begin_label.
2147 * config/m32r/initfini.c (__do_global_dtors, __do_global_ctors):
2148 Make prototypes ISO C90.
2150 2006-05-30 Mircea Namolaru <namolaru@il.ibm.com>
2151 Leehod Baruch <leehod.baruch@weizmann.ac.il>
2153 * see.c (see_analyze_one_def): Correct check.
2154 (see_get_extension_data): Check if extension is parallel.
2155 (see_get_extension_reg): Likewise.
2157 2006-05-30 Uros Bizjak <uros@kss-loka.si>
2160 * config/i386/i386.c (ix86_expand_int_vcond): Force cop0
2161 into register for (code == GTU).
2163 2006-05-29 Roger Sayle <roger@eyesopen.com>
2165 PR tree-optimization/24964
2166 * simplify-rtx.c (simplify_binary_operation_1): Add function comment.
2167 <MULT>: Minor clean-up. Don't convert x*-1.0 into -x if we honor
2168 signaling NaNs. Optimize -x*-x as x*x for all float modes, and
2169 abs(x)*abs(x) as x*x for scalar floating point modes.
2171 2006-05-29 Sebastian Pop <pop@cri.ensmp.fr>
2174 * lambda-code.c (perfect_nestify): Don't copy statements
2175 in the inner loop: move them to the inner loop header.
2177 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2180 * c-tree.texi: Document OpenMP directives and clauses.
2182 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2184 * varasm.c (globalize_decl): Fix indentation.
2186 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2189 * doc/passes.texi: Add documentation for pass_vrp, pass_ipa_pta,
2190 pass_fre, pass_store_ccp, pass_copy_prop,
2191 pass_store_copy_prop, pass_merge_phi, pass_nrv,
2192 pass_return_slot, pass_object_size, pass_lim,
2193 pass_linear_transform, pass_empty_loop, pass_complete_unroll,
2194 pass_loop_prefetch and pass_stdarg.
2196 2005-05-29 Bernd Schmidt <bernd.schmidt@analog.com>
2198 * config/bfin/bfin.opt (mfdpic): New option.
2199 * config/bfin/t-bfin-elf (EXTRA_PARTS): Add crtbeginS.o and crtendS.o.
2200 (EXTRA_MULTILIB_PARTS): Likewise.
2201 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): Use -fpic.
2202 (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Build one extra -mfdpic
2204 * config/bfin/elf.h (STARTFILE_SPEC): Don't link in crt0.o if -shared.
2205 (CRT_CALL_STATIC_FUNCTION): New.
2206 * config/bfin/uclinux.h (STARTFILE_SPEC): Don't link in crt0.o if
2208 (CRT_CALL_STATIC_FUNCTION): New.
2209 * config/bfin/bfin.c (legitimize_pic_address): Now static. Handle
2211 (n_pregs_to_save): PIC register doesn't need to be saved with FD-PIC.
2212 (print_operand): Handle UNSPEC_MOVE_FDPIC and UNSPEC_FUNCDESC_GOT17M4.
2213 (initialize_trampoline): Changed to handle FD-PIC code generation.
2214 (expand_move): If TARGET_FDPIC, use emit_pic_move as needed.
2215 (bfin_expand_call): Generate FD-PIC calls if TARGET_FDPIC.
2216 (override_options): Disallow -mid-shared-library -mfdpic combination.
2217 Can't do unaligned ops if FD-PIC.
2218 Turn off flag_pic if trying to generate non-id-shared-library
2219 non-fdpic code, since it's not supported.
2220 (bfin_assemble_integer): New function.
2221 (TARGET_ASM_INTEGER): Define.
2222 * config/bfin/crti.s (__init, __fini): Save P3 on the stack if
2224 * config/bfin/crtn.s: Restore them.
2225 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __BFIN_FDPIC__
2227 (DRIVER_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS,
2228 LINK_GCC_C_SEQUENCE_SPEC, ASM_SPEC, LINK_SPEC): New macros.
2229 (FDPIC_FPTR_REGNO, FDPIC_REGNO, OUR_FDPIC_REG): New macros.
2230 (TRAMPOLINE_SIZE, TRAMPOLINE_TEMPLATE): Adjust for FD-PIC.
2231 (CONDITIONAL_REGISTER_USAGE): If TARGET_FDPIC, FDPIC_REGNO is
2233 (enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add
2234 FDPIC_REGS and FDPIC_FPTR_REGS.
2235 (REG_CLASS_FROM_LETTER): Use 'Z' and 'Y' for them.
2236 * config/bfin/bfin.md (UNSPEC_MOVE_FDPIC, UNSPEC_FUNCDESC_GOT17M4,
2237 UNSPEC_VOLATILE_LOAD_FUNCDESC): New constants.
2238 (load_funcdescsi): New pattern.
2239 (call_symbol_fdpic, sibcall_symbol_fdpic, call_value_symbol_fdpic,
2240 sibcall_value_symbol_fdpic, call_insn_fdpic, sibcall_insn_fdpic,
2241 call_value_insn_fdpic, sibcall_value_insn_fdpic): New patterns.
2243 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2245 * gcse.c, rtlanal.c: Remove obsolete comments associated with
2248 * config/bfin/bfin.h (PARM_BOUNDRY, STACK_BOUNDRY): Remove.
2250 * tree-flow.h: Remove the prototype for add_type_alias.
2251 * tree-ssa-alias.c (add_type_alias): Remove.
2253 2006-05-28 Kazu Hirata <kazu@codesourcery.com>
2255 * cfgcleanup.c, cfgexpand.c, cgraphunit.c, config/arm/arm.c,
2256 config/fr30/fr30.md, config/i386/i386-interix.h,
2257 config/i386/i386.c, config/i386/i386.md, config/sh/superh.h,
2258 config/sh/superh64.h, config/v850/v850.c, df-core.c,
2259 df-problems.c, df.h, except.c, final.c, haifa-sched.c,
2260 lambda-code.c, libgcc2.h, omp-low.c, optabs.c, predict.c,
2261 reload.c, tree-flow.h, tree-outof-ssa.c, tree-ssa-dce.c,
2262 tree-ssa-pre.c, tree-vect-transform.c: Fix comment typos.
2263 Follow spelling conventions.
2264 * doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix typos.
2265 Follow spelling conventions.
2267 2006-05-27 Richard Guenther <rguenther@suse.de>
2270 * fold-const.c (fold_plusminus_mult_expr): Use fold_convert
2271 to produce a constant of value 1 of generic type.
2273 2006-05-27 Dirk Mueller <dmueller@suse.de>
2275 * cgraphunit.c (decide_is_function_needed): Fix wrong
2278 2006-05-26 Ulrich Weigand <uweigand@de.ibm.com>
2280 PR rtl-optimization/27661
2281 * reload.c (find_reloads): When reloading a VOIDmode constant
2282 as address due to an EXTRA_MEMORY_CONSTRAINT or 'o' constraint,
2283 use Pmode as mode of the reload register.
2285 2006-05-26 Eric Botcazou <ebotcazou@adacore.com>
2287 * doc/invoke.texi (Optimize Options): Document that -funit-at-a-time
2288 is enabled at -O and above.
2290 2006-05-26 Steven Bosscher <steven@gcc.gnu.org>
2293 * config/alpha/alpha.c (alpha_does_function_need_gp): Skip jump
2296 2006-05-25 Mark Mitchell <mark@codesourcery.com>
2299 * gimplify.c (gimplify_decl_expr): Do not call gimple_add_tmp_var
2300 for anonymous variables explicitly declared by front ends.
2302 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2304 * tree-ssa-structalias.h (PTR_IS_REF_ALL): New macro.
2305 (struct alias_info): Add new field ref_all_symbol_mem_tag.
2306 * tree-ssa-alias.c (compute_may_aliases): If the program contains
2307 ref-all pointers, run a finalization pass for them.
2308 (compute_flow_insensitive_aliasing): Skip ref-all pointers.
2309 (finalize_ref_all_pointers): New function.
2310 (is_escape_site): Return ESCAPE_BAD_CAST for conversion from a
2311 regular pointer type to a ref-all pointer type.
2312 (get_tmt_for): Return the special memory tag for ref-all pointers.
2314 2006-05-25 Richard Guenther <rguenther@suse.de>
2317 * fold-const.c (fold_binary): Do not look at the stripped
2318 op0 for (a OP c1) OP c2 to a OP (c1+c2) shift optimization.
2320 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2322 * tree-vrp.c (extract_range_from_assert): Set the range to VARYING
2323 for LT and GT if the computed range is effectively empty.
2325 2006-05-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2328 * pa/pa-modes.def: Use mips_single_format, mips_double_format and
2329 mips_quad_format formats instead of ieee_single_format,
2330 ieee_double_format and ieee_quad_format formats, respectively.
2332 2006-05-24 Zdenek Dvorak <dvorakz@suse.cz>
2334 PR tree-optimization/27639
2335 PR tree-optimization/26719
2336 * tree-vrp.c (adjust_range_with_scev): Use scev_direction and adjust
2337 call to scev_probably_wraps_p.
2338 * tree-ssa-loop-niter.c (compare_trees, convert_step_widening,
2339 used_in_pointer_arithmetic_p, convert_step): Removed.
2340 (nowrap_type_p): New function.
2341 (scev_probably_wraps_p): Rewritten.
2342 * tree-scalar-evolution.c (instantiate_parameters_1): Do not call
2343 chrec_convert if chrec_convert_aggressive might have been used.
2344 * tree-chrec.c (convert_affine_scev, chrec_convert_1,
2345 scev_direction): New functions.
2346 (chrec_convert): Changed to a wrapper over chrec_convert_1.
2347 * tree-ssa-loop-ivopts.c (idx_find_step): Use convert_affine_scev
2348 instead of convert_step.
2349 * tree-flow.h (scev_probably_wraps_p): Declaration changed.
2350 (convert_step): Declaration removed.
2351 (convert_affine_scev, nowrap_type_p, scev_direction): Declare.
2353 2006-05-23 Kenneth Zadeck <zadeck@naturalbridge.com>
2355 * df-core.c: Added to header comments.
2356 * df.h (df_ru_bb_info, df_rd_bb_info, df_lr_bb_info,
2357 df_ur_bb_info, df_urec_bb_info): Added comments.
2358 * df-problems (df_ref_bitmap, ru, rd, lr, ur,
2359 urec, ri problems): Fixed header comments.
2360 (df_ru_transfer_function): Fixed in-out set dyslexia when copying
2361 code from df_rd_transfer_function.
2363 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2365 * libgcc2.c (LIBGCC2_MAX_UNITS_PER_WORD): New macro.
2366 (LIBGCC2_UNITS_PER_WORD): Use LIBGCC2_MAX_UNITS_PER_WORD rather than
2367 MIN_UNITS_PER_WORD to set the default. Also use it in the guard.
2369 2006-05-23 Joseph Myers <joseph@codesourcery.com>
2371 * expr.c (undefined_operand_subword_p): New.
2372 (emit_move_multi_word): Do not generate move from undefined bits
2373 of a paradoxical subreg.
2375 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2377 PR rtl-optimization/27736
2378 * combine.c (replaced_rhs_value): New variable.
2379 (combine_instructions): Set it.
2380 (distribute_notes): When distributing a note in replaced_rhs_insn,
2381 check whether the value was used in replaced_rhs_value.
2383 2006-05-23 Andrew MacLeod <amacleod@redhat.com>
2386 * tree-ssa-loop-im.c (determine_invariantness_stmt): Use
2387 add_referenced_var instead of add_referenced_tmp_var.
2388 * tree-complex.c (create_one_component_var): Use add_referenced_var.
2389 * tree-ssa-loop-manip.c (create_iv, tree_unroll_loop): Use
2391 * tree-tailcall.c (adjust_accumulator_values, adjust_return_value,
2392 tree_optimize_tail_calls_1): Use add_referenced_var.
2393 * tree-ssa-loop-ivopts.c (create_new_iv): Use add_referenced_var.
2394 * tree-ssa-alias.c (create_memory_tag, create_global_var, create_sft):
2395 Use add_referenced_var.
2396 * tree-if-conv.c (ifc_temp_var): Use add_referenced_var.
2397 * gimplify.c (force_gimple_operand): Use add_referenced_var.
2398 * tree-ssa-phiopt.c (conditional_replacement, abs_replacement):
2399 Use add_referenced_var.
2400 * tree-dfa.c (struct walk_state): Remove.
2401 (find_referenced_vars): Remove walk state and vars_found hash table.
2402 (make_rename_temp): Use add_referenced_var.
2403 (find_vars_r): Pass less parameters to add_referenced_var.
2404 (referenced_var_p): New. Is var in referenced_var hash table.
2405 (referenced_var_insert): Assert var isn't already in hash table.
2406 (add_referenced_var): Don't need walk_state parameter. Add var if it
2407 isn't already in the hash table.
2408 (add_referenced_tmp_var): Remove.
2409 (find_new_referenced_vars_1): Use add_referenced_var.
2410 * tree-ssa-pre.c (create_expression_by_pieces,
2411 insert_into_preds_of_block, insert_extra_phis, realify_fake_stores):
2412 Use add_referenced_var.
2413 * tree-vect-patterns.c (vect_pattern_recog_1): Use add_referenced_var.
2414 * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression,
2415 lambda_loopnest_to_gcc_loopnest, perfect_nestify): Use
2417 * tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
2418 vect_create_data_ref_ptr, vect_create_destination_var,
2419 vect_init_vector, vect_build_loop_niters,
2420 vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
2421 vect_gen_niters_for_prolog_loop, vect_create_cond_for_align_checks):
2422 Use add_referenced_var.
2423 * tree-outof-ssa.c (create_temp): Use add_referenced_var.
2424 * tree-flow.h (add_referenced_tmp_var): Remove prototype
2425 (add_referenced_var): Add prototype.
2426 * tree-ssa-structalias.c (get_constraint_for,
2427 intra_create_variable_infos): Use add_referenced_var.
2429 2006-05-23 Alexandre Oliva <aoliva@redhat.com>
2431 * simplify-rtx.c (simplify_subreg): Adjust REG_OFFSET for
2432 big-endian paradoxical subregs.
2433 * var-tracking.c (struct micro_operation_def): Document that,
2434 for modify micro operations, insn is the subsequent instruction.
2435 (var_reg_delete_and_set, var_mem_delete_and_set): Split into...
2436 (var_reg_set, var_mem_set): ... new functions.
2437 (add_stores): Record subsequent insn.
2438 (compute_bb_dataflow): Use new functions for MO_USE.
2439 (emit_notes_in_bb): Use new functions for MO_USE. Emit use
2440 notes after the insn, and modify notes before the insn known
2441 to be the subsequent one.
2442 (vt_initialize): Invert sorting of MO_CLOBBERs and MO_SETs.
2444 2006-05-23 Kazu Hirata <kazu@codesourcery.com>
2447 * config/i386/i386.c (ix86_expand_builtin): Use
2448 gen_sse3_monitor64 for TARGET_64BIT.
2450 2006-05-22 Kenneth Zadeck <zadeck@naturalbridge.com>
2452 PR rtl-optimization/26375
2453 PR rtl-optimization/26855
2454 * df-problems (df_ru_bb_local_compute_process_def): Removed update
2456 (df_ru_bb_local_compute): Reversed statements and removed bogus
2457 comment explaining why they should be in wrong order.
2458 (df_ru_dump, df_rd_dump): Enhanced debug info.
2459 * modulo-sched.c (sms_schedule, tree_opt_pass pass_sms): Enhanced
2461 * ddg.c (add_deps_for_def): Converted use of reaching defs to
2462 reaching uses and fixed space problem.
2464 2006-05-23 Jan Hubicka <jh@suse.cz>
2466 * cgraphunit.c (decide_is_function_needed): Also nested functions
2467 and functions declared inline can be optimized out at -O0.
2469 2006-05-22 Gerald Pfeifer <gerald@pfeifer.com>
2471 * doc/install.texi (Configuration): Remove reference to CrossGCC
2475 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2478 * config/i386/i386.c (ix86_expand_branch): Jump to simple if
2479 ix86_compare_emitted is non-NULL.
2481 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2484 * stmt.c (expand_asm_operands): Skip asm statement with erroneous
2487 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2489 PR rtl-optimization/25514
2490 * combine.c (replaced_rhs_insn): New variable.
2491 (combine_instructions): Set replaced_rhs_insn when trying to replace
2492 a SET_SRC with a REG_EQUAL note.
2493 (distribute_notes): Use replaced_rhs_insn when determining the live
2494 range of a REG_DEAD register.
2496 2006-18-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
2497 Anatoly Sokolov <aesok@post.ru>
2499 * config/avr/avr.c (avr_mcu_types): Add support for attiny261,
2500 attiny461, attiny861, attiny25, attiny45, attiny85, attiny24,
2501 attiny44, attiny84, at90pwm2, at90pwm3, atmega165p, atmega169p,
2502 atmega164p, atmega324p, atmega644p, atmega644, atmega329,
2503 atmega3290, atmega649, atmega6490, atmega406, atmega640,
2504 atmega1280, atmega1281, at90can32, at90can64, at90usb646,
2505 at90usb647, at90usb1286 and at90usb1287 devices.
2506 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
2507 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
2509 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2511 * mklibgcc.in (lib2funcs): Remove _floatdidf from initial assignment.
2513 2006-05-22 Richard Guenther <rguenther@suse.de>
2516 2006-01-31 Richard Guenther <rguenther@suse.de>
2517 Paolo Bonzini <bonzini@gnu.org>
2519 * doc/install.texi (--disable-libgcc-math): Document.
2521 2006-05-22 Richard Guenther <rguenther@suse.de>
2524 2006-01-31 Richard Guenther <rguenther@suse.de>
2526 * doc/invoke.texi (-msselibm): Document.
2527 * target.h (expand_library_builtin): New target hook.
2528 * builtins.c (expand_builtin): Use expand_library_builtin.
2529 (default_expand_library_builtin): New function.
2530 * gcc.c (LINK_GCC_MATH_SPEC): Define.
2531 (LINK_COMMAND_SPEC): Handle %(link_gcc_math).
2532 (link_gcc_math_spec): Declare.
2533 (static_specs): Add link_gcc_math_spec.
2534 * expr.h (default_expand_library_builtin): Declare.
2535 * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2536 (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN.
2537 * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC.
2538 * config/i386/i386.opt (msselibm): New target option.
2539 * config/i386/i386.c (ix86_builtin_function_variants): New array.
2540 (ix86_init_sse_abi_builtins): New function.
2541 (ix86_expand_library_builtin): Likewise.
2542 (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2543 (override_options): Handle error conditions wrt -msselibm.
2544 (ix86_builtins): Add function codes for SSE2 ABI builtins.
2545 (ix86_init_builtins): Call ix86_init_sse_abi_builtins.
2546 * doc/extend.texi (__builtin_sse2_*): Document new target specific
2549 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2552 * c-common.c (self_promoting_args_p): Skip erroneous args.
2555 * c-decl.c (finish_struct): Skip erroneous fields.
2557 2006-05-22 Nick Clifton <nickc@redhat.com>
2559 * config/cris/cris.opt (march): Remove VarExists attribute.
2560 (max-stackframe=): Likewise.
2562 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2564 * doc/rtl.texi: Fix a typo.
2565 * see.c: Fix comment typos.
2567 * tree-ssa-structalias.h (alias_info): Remove num_references.
2569 2006-05-21 Mike Stump <mrs@apple.com>
2571 * config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
2573 (darwin_pragma_options): Use BAD instead.
2574 (darwin_pragma_unused): Likewise.
2575 (darwin_pragma_ms_struct): Likewise.
2577 2006-05-21 David Edelsohn <edelsohn@gnu.org>
2579 * config/rs6000/rs6000.md (floatsitf2): Remove constraints.
2581 2006-05-21 Kazu Hirata <kazu@codesourcery.com>
2583 PR rtl-optimization/27671
2584 * simplify-rtx.c (simplify_relational_operation_1): Fix
2585 simplifications of (eq/ne (xor x y) y) and
2586 (eq/ne (xor x y) x).
2588 PR tree-optimization/26622.
2589 * fold-const.c (fold_ternary) <COND_EXPR>: Call fold_convert
2592 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2594 * tree-cfg.c: Prune whitespace.
2595 (debug_tree_cfg): Point to correct header containing the
2598 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2601 * cgraphunit.c (verify_cgraph_node): Typo in error message.
2603 2006-05-20 Andrew Pinski <pinskia@physics.uc.edu>
2606 * cgraphunit.c (cgraph_optimize): Don't run ipa passes if error
2607 or sorry count is non zero.
2609 2006-05-20 Andreas Schwab <schwab@suse.de>
2611 * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.
2613 2006-05-19 Daniel Berlin <dberlin@dberlin.org>
2614 Kenneth Zadeck <zadeck@naturalbridge.com>
2616 PR rtl-optimization/26855
2618 * df-scan.c (mw_reg_pool, mw_link_pool): New allocation pools for
2620 (df_scan_alloc): Added code to properly handle multiword hard
2621 registers and add all_blocks parameter.
2622 (df_scan_free_internal, df_insn_refs_delete, df_ref_record): Added
2623 code to properly handle multiword hard registers.
2624 (df_rescan_blocks): Added code to remove deleted blocks from
2626 (df_ref_create_structure, df_ref_record): Added code to properly
2628 (df_ref_record_1): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER
2629 and set DF_REF_PARTIAL.
2630 (df_defs_record): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER.
2631 (df_uses_record): Added DF_REF_PARTIAL for subreg.
2632 (df_scan_add_problem): Added flags parameter.
2633 (df_ref_create_structure): Changed switching structure.
2634 (df_bb_refs_record): Fixed case where duplicate artificial refs
2635 were created. Changed location of flags.
2636 (df_record_entry_block_defs): Added code to make stack pointer
2637 live in entry block. Refined cases where frame pointer is needed.
2638 Changed location of flags.
2639 (df_record_exit_block_uses, df_insn_refs_record): Changed location of flags.
2640 (df_set_state): Removed function.
2641 (df_grow_reg_info, df_reg_chain_unlink, df_ref_remove,
2642 df_insn_create_insn_record, df_insn_refs_delete,
2643 df_ref_create_structure): Formatting changes.
2644 * df-core.c (df_mvs_dump, df_set_flags, df_clear_flags,
2645 df_delete_basic_block): New function.
2646 (df_init): Changed location of flags.
2647 (df_add_problem): Added flags parameter and the way flags are
2649 (df_insn_uid_debug, df_ref_debug, debug_df_defno, debug_df_ref,
2650 debug_df_chain): Improved debugging output.
2651 (df_insn_debug, df_insn_uid_debug): Added multiword reg support.
2652 (df_refs_chain_dump): Removed df parameter.
2653 (df_iterative_dataflow): Added consistency check.
2654 (df_prune_to_subcfg): Made public.
2655 (df_analyze_problem): Added blocks_to_init parameter and made
2657 (df_ref_record, df_bb_refs_record, df_mark_reg,
2658 df_record_exit_block_uses): Whitespace changes.
2659 (df_dump): Whitespace changes.
2660 * df.h: Some reordering to remove forward references.
2661 (df_ref_flags.DF_REF_MW_HARDREG, DF_REF_PARTIAL,
2662 DF_REF_MUST_CLOBBER, DF_REF_MAY_CLOBBER): New fields.
2663 (df_ref_flags.DF_REF_CLOBBER): Deleted field.
2664 (dataflow.flags): New field.
2665 (df.flag): Deleted field.
2666 (df_alloc_function): Added additional bitmap parameter.
2667 (df_dependent_problem_function): New type.
2668 (df_problem.changeable_flags): New field.
2669 (df_ref_flags.DF_REF_DIES_AFTER_THIS_USE, DF_SCAN_INITIAL,
2670 DF_SCAN_GLOBAL, DF_SCAN_POST_ALLOC, df_state): Removed.
2671 (df_mw_hardreg): New struct.
2672 (DF_INSN_UID_MWS): New macro.
2673 (df_refs_chain_dump, df_ref_debug, df_chain_dump): Removed df
2675 (df_add_problem, df_ru_add_problem, df_rd_add_problem,
2676 df_lr_add_problem, df_ur_add_problem, df_urec_add_problem,
2677 df_ri_add_problem, df_scan_add_problem): Added flags parameter.
2678 (df_set_state): Removed function.
2679 (df_set_flags, df_clear_flags, df_delete_basic_block) New functions.
2680 * df-problems.c (df_chain_dump): Removed df parameter.
2681 (df_ru_alloc, df_rd_alloc, df_lr_alloc, df_ur_alloc,
2682 df_urec_alloc, df_chain_alloc, df_ri_alloc): Added all blocks
2684 (df_ru_alloc, df_rd_alloc): Now resets all blocks.
2685 (df_rd_bb_local_compute_process_def, df_ur_bb_local_compute,
2686 df_chain_create_bb, df_create_unused_note, df_ri_bb_compute):
2687 Split DF_REF_CLOBBER into DF_REF_MAY_CLOBBER and
2688 DF_REF_MUST_CLOBBER cases.
2689 (df_ru_bb_local_compute_process_def,
2690 df_rd_bb_local_compute_process_def, df_lr_bb_local_compute,
2691 df_lr_bb_local_compute, df_ur_bb_local_compute,
2692 df_chain_create_bb): Made subreg aware.
2693 (df_ru_bb_local_compute, df_rd_bb_local_compute,
2694 df_lr_bb_local_compute, df_lr_bb_local_compute,
2695 df_chain_create_bb): Cleanup to use proper macros.
2696 (df_ur_local_finalize, df_urec_local_finalize): Removed unnecessary
2697 code to fixup bitvectors.
2698 (df_ri_alloc): Cleared lifetime.
2699 (df_ignore_stack_reg, df_kill_notes, df_set_notes_for_mw,
2700 df_create_unused_note): New function.
2701 (df_ri_bb_compute, df_ri_compute): Added code to create/update
2702 REG_DEAD and REG_UNUSED notes as well as register information.
2703 (df_ru_dump, df_rd_dump, df_lr_dump, df_ur_dump, df_urec_dump,
2704 df_chains_dump): Fixed crash if problem was never run.
2705 (df_ru_add_problem, df_rd_add_problem, df_lr_add_problem,
2706 df_ur_add_problem, df_urec_add_problem, df_chain_add_problem,
2707 df_ri_add_problem): Processes flags in uniform manner.
2708 (df_ru_alloc, df_ru_local_compute, df_ru_confluence_n, df_ru_free,
2709 df_ru_dump, df_rd_local_compute, df_rd_confluence_n, df_rd_free,
2710 df_rd_dump, df_urec_free_bb_info): Formatting changes.
2711 (df_ru_free_bb_info, df_ru_bb_local_compute, df_ru_dump,
2712 df_rd_free_bb_info, df_rd_bb_local_compute_process_def,
2713 df_rd_bb_local_compute, df_rd_dump, df_lr_free_bb_info,
2714 df_lr_bb_local_compute, df_lr_local_compute, df_ur_free_bb_info,
2715 df_ur_dump, df_urec_free_bb_info, df_urec_dump,
2716 df_chain_create_bb, df_ri_bb_compute): Whitespace changes.
2717 * modulo-sched.c (sms_schedule): Added flag parameter to calls.
2718 * see.c (see_initialize_data): Ditto.
2719 * final.c (rest_of_clean_state) Added regstack_completed.
2720 * rtl.h (regstack_completed): Ditto.
2721 * reg-stack.c (regstack_completed): Ditto.
2723 2006-05-19 Mike Stump <mrs@apple.com>
2725 * c-tree.h (default_conversion): Remove.
2726 * c-common.h (default_conversion): Add.
2728 2006-05-19 Zdenek Dvorak <dvorakz@suse.cz>
2730 * tree-vrp.c (valid_value_p): New function.
2731 (adjust_range_with_scev): Fail if the value of bound is not
2734 2006-05-19 Richard Sandiford <richard@codesourcery.com>
2736 * config/mips/linux-unwind.h: Include <asm/unistd.h>
2737 (mips_fallback_frame_state): Use syscall numbers to determine
2738 the appropriate li instruction for the current ABI. Only use
2739 __NR_sigreturn for o32.
2741 2006-05-19 Nicolas Setton <setton@adacore.com>
2743 * langhooks.h (struct lang_hooks): Add dwarf_name language hook.
2744 * langhooks.c (lhd_dwarf_name): New function.
2745 * langhooks-def.h (lhd_dwarf_name): Declare.
2746 (LANG_HOOKS_DWARF_NAME): New macro, defaults to lhd_dwarf_name.
2747 * dwarf2out.c (dwarf2_name): Use the dwarf_name language hook.
2748 * ada/misc.c (gnat_dwarf_name): New function.
2749 (LANG_HOOKS_DWARF_NAME): Define to gnat_dwarf_name.
2751 2006-05-19 Richard Sandiford <richard@codesourcery.com>
2753 * libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
2755 (LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
2756 MIN_UNITS_PER_WORD logic from libgcc2.h. Do nothing if
2757 LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
2758 * libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
2759 Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
2760 determine the size of Wtype, etc.
2761 * mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
2762 (swfloatfuncs): New variable.
2763 (dwfloatfuncs): Likewise.
2764 (lib2funcs): Remove floating-point conversion functions from
2765 initial assignment. Use LIB2_SIDITI_CONV_FUNCS to determine
2766 the set of conversion routines needed. Allow entries to specify
2767 an object name, filename and word size. Update users accordingly.
2768 * Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
2769 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
2773 2006-02-08 Roger Sayle <roger@eyesopen.com>
2776 * config/fixtfdi.c: New libgcc source file.
2777 * config/fixunstfdi.c: New source file.
2778 * config/floatditf.c: New source file.
2779 * config/floatunditf.c: New souce file.
2780 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
2781 files above instead of config/mips/_tilib.c.
2782 * config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
2784 2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2786 * pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
2787 * pa/pa-hpux11.h (LIB_SPEC): Update comment.
2789 2006-05-18 Mike Stump <mrs@apple.com>
2791 Fix up vla, vm and [*] sematics.
2797 * c-tree.h (struct c_arg_info): Add had_vla_unspec.
2798 (c_vla_unspec_p): Add.
2799 (c_vla_type_p): Add.
2800 * c-decl.c (struct c_scope): Add had_vla_unspec.
2801 (build_array_declarator): Add support for [*].
2802 (grokdeclarator): Likewise.
2803 (grokparms): Likewise.
2804 (get_parm_info): Likewise.
2805 * c-objc-common.c (c_vla_unspec_p): Likewise.
2806 * c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
2807 * c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
2808 typeof when argument is a variably modified type not inside sizeof or alignof.
2809 (c_parser_direct_declarator_inner): Propagate errors.
2810 (c_parser_sizeof_expression): Add support for [*].
2811 (c_parser_parms_declarator): Initialize had_vla_unspec.
2812 (c_parser_parms_list_declarator): Likewise.
2813 * c-typeck.c (c_vla_type_p): Add.
2814 (composite_type): Add support for vla compositing.
2815 (comptypes_internal): Add support for vla compatibility.
2816 (c_expr_sizeof_expr): Evaluate vla arguments.
2817 * tree.c (variably_modified_type_p): Update comment for [*].
2819 2006-05-18 Michael Matz <matz@suse.de>
2822 * config.host: Make assignments to host_xmake_file cumulative.
2823 * config.host (*-darwin*): Test $host, not $target.
2825 2006-05-12 Stuart Hastings <stuart@apple.com>
2827 * config/i386/i386.opt (-mstackrealign): New flag.
2828 * config/i386/i386.c (force_align_arg_pointer): New attribute.
2829 (ix86_handle_cconv_attribute): Emit error when
2830 force_align_arg_pointer attribute collides with too many regparms.
2831 (ix86_function_regparm): Limit regparms when used with
2832 force_align_arg_pointer attribute. (ix86_internal_arg_pointer):
2833 Support stack-realigning prologue in non-main functions. Emit
2834 warning for nested functions under -mstackrealign, emit error for
2835 nested functions with force_align_arg_pointer attribute.
2836 * doc/extend.texi (force_align_arg_pointer): Document it.
2837 * doc/invoke.texi (-mstackrealign): Document it.
2839 2006-05-17 Kazu Hirata <kazu@codesourcery.com>
2841 PR rtl-optimization/27477
2842 * combine.c (try_combine): Don't split a parallel consisting
2843 of two sets into two individual sets if both sets reference
2846 2006-05-17 H.J. Lu <hongjiu.lu@intel.com>
2848 * config/arm/arm.opt (target_fpe_name): Remove VarExists.
2849 * config/rs6000/rs6000.opt (TARGET_NO_FP_IN_TOC): Likewise.
2851 * doc/options.texi (VarExists): Updated.
2853 2006-05-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2855 * unwind-dw2.c: Add declarations for uw_update_context and
2857 * pa/hpux-unwind.h (pa_fallback_frame_state): When an export stub is
2858 detected, advance frame state and context once to skip over stub.
2860 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
2864 * tree-loop-linear.c (linear_transform_loops): Don't test perfect_nest_p.
2865 Call rewrite_into_loop_closed_ssa only when something changed.
2866 * lambda.h (gcc_loopnest_to_lambda_loopnest): Update declaration.
2867 * lambda-code.c (can_convert_to_perfect_nest): Declared.
2868 (gcc_loopnest_to_lambda_loopnest): Removed need_perfect_nest parameter.
2869 Test for perfect_nest_p here. Fix formating.
2870 (replace_uses_equiv_to_x_with_y): Fix formating.
2871 (stmt_uses_op): Removed.
2872 (can_convert_to_perfect_nest): Removed loopivs parameter.
2873 Complete the test by checking the scalar dependences.
2874 (perfect_nestify): Remove the test for can_convert_to_perfect_nest.
2877 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
2880 From Dan Kegel <dank@kegel.com>:
2881 * Makefile.in: Strip "dir/../" combinations from SYSTEM_INCLUDE_DIR.
2883 2006-05-17 Eric Botcazou <ebotcazou@adacore.com>
2885 * tree.c (variably_modified_type_p) <ARRAY_TYPE>: Return true
2886 if the element type is variably modified without recursing.
2888 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
2891 * tree-loop-linear.c (try_interchange_loops): Test for
2892 no data dependences.
2894 2006-05-17 Zdenek Dvorak <dvorakz@suse.cz>
2896 PR tree-optimization/27548
2897 * tree-scalar-evolution.c (scev_const_prop): Do not prolong life
2898 range of ssa names that appear on abnormal edges.
2899 * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
2900 * tree-flow.h (contains_abnormal_ssa_name_p): Declare.
2902 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
2905 * expr.c (safe_from_p): Handle CONSTRUCTOR again.
2907 2006-05-17 Jakub Jelinek <jakub@redhat.com>
2910 * tree.h (OMP_PARALLEL_COMBINED): Define.
2911 * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
2912 (new_omp_context): Add is_combined_parallel argument.
2913 (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
2914 new_omp_context caller.
2915 (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
2916 Adjust gimplify_scan_omp_clauses callers.
2917 (omp_is_private): Issue errors if iteration variable is firstprivate
2918 or reduction in the current context.
2919 * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
2920 on combined parallel workshare constructs.
2922 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2924 * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
2925 (gcc-options.o): New rule.
2927 * optc-gen.awk: Protect variables for gcc-options.o with
2928 #ifdef GCC_DRIVER/#endif.
2930 2006-05-16 Daniel Berlin <dberlin@dberlin.org>
2932 Fix PR tree-optimization/27373
2933 * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument.
2934 (forward_propagate_addr_expr): Update call.
2936 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2938 * doc/options.texi: Move the Negative option.
2940 2006-05-16 Richard Guenther <rguenther@suse.de>
2942 PR tree-optimization/22303
2943 * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
2945 (evaluate_stmt): Fall back to fold_const_aggregate_ref, if
2946 ccp_fold did not simplify the statement.
2948 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2951 * Makefile.in (GCC_OBJS): New.
2952 (OBJS-common): Add opts-common.o.
2953 (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
2954 (cpp$(exeext)): Likewise.
2955 (gcc.o): Also depend on opts.h.
2956 (opts-common.o): New.
2958 * common.opt (gcoff): Add Negative(gdwarf-2).
2959 (gdwarf-2): Add Negative(gstabs).
2960 (gstabs): Add Negative(gstabs+).
2961 (gstabs+): Add Negative(gvms).
2962 (gvms): Add Negative(gxcoff).
2963 (gxcoff): Add Negative(gxcoff+).
2964 (gxcoff+): Add Negative(gcoff).
2965 * config/i386/i386.opt (m32): Add Negative(m64).
2966 (m64): Add Negative(m32).
2968 * doc/options.texi: Document the Negative option.
2970 * gcc.c: Include "opts.h".
2971 (main): Call prune_options after expandargv.
2973 * optc-gen.awk: Generate common declarations for all flag
2974 variables in options.c. Output the neg_index field.
2976 * opts.c (find_opt): Moved to ...
2977 * opts-common.c: Here. New file.
2979 * opts.h (cl_option): Add a neg_index field.
2981 (prune_options): Likewise.
2983 2006-05-16 Jakub Jelinek <jakub@redhat.com>
2986 * omp-low.c (expand_omp_parallel): Don't assert
2987 .OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
2988 instead search for it.
2991 * gimplify.c (gimplify_omp_for): Remove assertion that iteration var
2994 2006-05-16 Andreas Schwab <schwab@suse.de>
2996 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
2999 2006-05-15 Roger Sayle <roger@eyesopen.com>
3002 * config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
3003 integer constants other than zero are only legitimate on TARGET_64BIT.
3004 <CONST_VECTOR> Only zero vectors are legitimate.
3005 (ix86_cannot_force_const_mem): Integral and vector constants can
3006 always be put in the constant pool.
3008 2006-05-16 DJ Delorie <dj@redhat.com>
3010 * crtstuff.c (__dso_handle): Set section from
3011 TARGET_LBIGCC_SDATA_SECTION if defined.
3012 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Document.
3013 * config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.
3015 2006-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3018 * config.host (i[34567]86-*-mingw*): Append i386/x-mingw32 to
3021 2006-05-16 Ben Elliston <bje@au.ibm.com>
3023 * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
3025 2006-05-15 Per Bothner <per@bothner.com>
3027 * tree.c: (last_annotated_node): Use source_locus typedef.
3028 This permits bootstrapping with --enable-mapped-location.
3030 2006-05-15 Zdenek Dvorak <dvorakz@suse.cz>
3032 PR tree-optimization/26830
3033 * tree-into-ssa.c (struct ssa_name_info): Add age field.
3034 (info_for_ssa_name, current_info_for_ssa_name_age,
3035 blocks_to_update): New variables.
3036 (get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
3037 (clear_ssa_name_info, initialize_flags_in_bb,
3038 mark_block_for_update): New functions.
3039 (mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
3040 (insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
3041 prepare_def_site_for): Use mark_block_for_update.
3042 (mark_def_interesting): Assert that the processed block is marked in
3043 blocks_to_update. Do not take blocks argument.
3044 (prepare_use_sites_for, prepare_names_to_update): Do not take blocks
3046 (rewrite_update_init_block, rewrite_update_stmt): Only process
3047 blocks with statements to rewrite.
3048 (delete_update_ssa): Do not clear SSA_NAME_AUX.
3049 (update_ssa): Initialize and free blocks_to_update. Do not
3050 clear flags on statements. Do not use blocks bitmap.
3051 * tree.h (SSA_NAME_AUX): Removed.
3052 (struct tree_ssa_name): Removed aux field.
3053 * print-tree.c (print_node): Do not print SSA_NAME_AUX.
3055 2006-05-15 Richard Guenther <rguenther@suse.de>
3057 PR tree-optimization/27603
3058 * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
3059 Do computations in original type.
3061 2006-05-15 Mircea Namolaru <namolaru@il.ibm.com>
3063 * see.c: Code style changes such as redundant paranthesis,
3064 redundant intialization of local variables etc.
3065 (see_main): Declared now as static.
3066 * doc/invoke.texi: Update that -fsee is not enabled by
3069 2006-05-15 Jakub Jelinek <jakub@redhat.com>
3071 * omp-low.c (check_omp_nesting_restrictions): New function.
3072 (scan_omp_1): Call it.
3075 * omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
3076 construct, return *VAR.
3078 2006-05-14 Kaz Kojima <kkojima@gcc.gnu.org>
3080 PR rtl-optimization/27406
3081 * bt-load.c (migrate_btr_def): Skip the block having abnormal
3084 2006-05-14 Roger Sayle <roger@eyesopen.com>
3086 PR rtl-optimization/27538
3087 * combine.c (expand_compound_operation): Call gen_lowpart
3088 before calling simplify_shift_const.
3090 2006-05-14 Roger Sayle <roger@eyesopen.com>
3092 PR rtl-optimization/22563
3093 * expmed.c (store_fixed_bit_field): When using AND and IOR to store
3094 a fixed width bitfield, always force the intermediates into psuedos.
3096 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
3099 * mkconfig.sh: Use operator = instead of == for test.
3101 2006-05-13 Nick Clifton <nickc@redhat.com>
3103 * dwarf2out.c (dbx_reg_number): Check return value from
3104 LEAF_REG_REMAP and only use it if it is valid.
3105 (multiple_reg_loc_descriptor): Likewise.
3107 2006-05-13 Richard Guenther <rguenther@suse.de>
3109 * config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
3112 2006-05-13 Steven Bosscher <stevenb.gcc@gmail.com>
3114 * df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
3115 information attached to non-INSNs such as NOTEs.
3116 (df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
3118 2006-05-12 Andreas Krebbel <krebbel1@de.ibm.com>
3120 * config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
3122 * config/s390/s390.md: Adjust comment describing On constraint.
3124 2006-05-11 Jan Hubicka <jh@suse.cz>
3126 * cgraphunit.c (decide_is_function_needed): Don't force always_inline
3127 to be output at -O0.
3129 2006-05-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3132 * fold-const.c (size_binop): Move sanity check for arguments to
3133 the beginning of the function.
3136 * fold-const.c (tree_expr_nonnegative_p): Return early on invalid
3139 2006-05-11 Richard Guenther <rguenther@suse.de>
3142 * fold-const.c (fold_unary): Handle intermediate conversion
3143 to a pointer type like intermediate conversion to an integer
3144 type in folding of (T1)(T2)var to var.
3145 Match the code to the comment in the final conversion for
3146 (T1)(T2)var to (T1)var regarding to type precision. Rather
3147 than disallow T1 being of pointer type, assert that both T1
3148 and var are of pointer type or not. Make sure not to fall
3149 over the frontends lazyness wrt array to pointer decay though.
3151 2006-05-10 Richard Earnshaw <rearnsha@arm.com>
3153 * arm.c (arm_struct_value_rtx): Delete.
3154 (TARGET_STRUCT_VALUE_RTX): Use the default definition.
3155 (arm_init_cumulative_args): Always initialize nregs to zero.
3157 2006-05-10 Richard Guenther <rguenther@suse.de>
3159 PR tree-optimization/27532
3160 * tree-object-size.c (plus_expr_object_size): Fix typo.
3162 2006-05-10 Kazu Hirata <kazu@codesourcery.com>
3165 * config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem,
3166 ashrdi_const, ashrdi3): Use a scratch register.
3168 2006-05-10 Richard Guenther <rguenther@suse.de>
3170 PR tree-optimization/27302
3171 * fold-const.c (operand_equal_p): For two comparisons,
3172 try comparison of one comparison code swapped if that yields
3175 2006-05-10 Ben Elliston <bje@au.ibm.com>
3177 * tree-pretty-print.c (pretty_print_string): No need to handle
3178 '\0' as a special character.
3180 * tree.h: Include "hashtab.h".
3181 (iterative_hash_expr): Use hashval_t in its prototype.
3182 * Makefile.in (TREE_H): Add $(HASHTAB_H).
3184 2006-05-09 Steve Ellcey <sje@cup.hp.com>
3187 * config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
3188 (hppa*64*-*-hpux11*): Ditto.
3189 (hppa[12]*-*-hpux11*): Ditto.
3191 2006-05-09 David Edelsohn <edelsohn@gnu.org>
3194 * config/rs6000/aix41.h (TARGET_64BIT): Define.
3196 2006-05-09 Michael Matz <matz@suse.de>
3198 * config.host (<i[34567]86-*-*, x86_64-*-*>): Set
3199 host_extra_gcc_objs and host_xmake_file.
3200 (<*-*-linux*>): Don't overwrite host_xmake_file.
3201 * gcc.c (static_spec_functions): Add EXTRA_SPEC_FUNCTIONS.
3202 * config/i386/i386.h (EXTRA_SPEC_FUNCTIONS): Define.
3203 (host_detect_local_cpu): Declare.
3204 (CC1_CPU_SPEC): Add -march=native and -mtune=native cases.
3205 * config/i386/i386.c (override_options): Handle -mtune=native
3207 * config/i386/x-i386: New file.
3208 * config/i386/driver-i386.c: New file.
3209 * doc/invoke.texi (<i386 and x86-64 Options>): Describe
3212 2006-05-09 Dirk Mueller <dmueller@suse.de>
3213 Richard Guenther <rguenther@suse.de>
3216 * fold-const.c (fold_read_from_constant_string): Relax check
3217 for matching types to matching modes.
3219 2006-05-09 Zdenek Dvorak <dvorakz@suse.cz>
3221 PR rtl-optimization/27335
3222 * loop-unroll.c (peel_loops_completely): Use loops->parray to walk the
3225 2006-05-08 Chao-ying Fu <fu@mips.com>
3226 Richard Sandiford <richard@codesourcery.com>
3228 * config/mips/mips-ps-3d.md (scc_ps, s<code>_ps): New patterns.
3229 (vcondv2sf, sminv2sf3, smaxv2sf3): Likewise.
3230 * config/mips/mips.md (UNSPEC_SCC): New constant.
3231 * config/mips/mips-protos.h (mips_expand_vcondv2sf): Declare.
3232 * config/mips/mips.c (mips_reverse_fp_cond_p): New function.
3233 (mips_emit_compare): Use it.
3234 (mips_expand_vcondv2sf): New function.
3236 2006-05-08 Daniel Berlin <dberlin@dberlin.org>
3238 Fix PR tree-optimization/27093
3239 * tree-ssa-alias.c (recalculate_used_alone): Mark variables for
3240 renaming when they become not-used_alone.
3242 2006-05-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3244 * hpux-unwind.h (pa_fallback_frame_state): Handle return parameter
3245 relocation and relocation stubs.
3247 2006-05-08 Eric Christopher <echristo@apple.com>
3249 * unwind-dw2-fde-darwin.c (examine_objects): Only check data
3252 2006-05-08 Jan Hubicka <jh@suse.cz>
3255 * cgraphunit.c (decide_is_function_needed): When not optimizing even
3256 unused static functions are needed.
3258 2006-05-08 Roger Sayle <roger@eyesopen.com>
3261 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
3262 of a reg_equiv_constant if the result is a legitimate constant.
3264 2006-05-08 Uros Bizjak <uros@kss-loka.si>
3267 * config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For
3268 standard 80387 constants, raise the cost to prevent
3269 compress_float_constant() to generate load from memory.
3271 2006-05-08 Kazu Hirata <kazu@codesourcery.com>
3273 * config/arm/constraints.md (c): Fix a typo.
3275 * see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment
3278 2006-05-07 H.J. Lu <hongjiu.lu@intel.com>
3281 * config/i386/pmmintrin.h (_mm_monitor): Remove macro. Use
3283 (_mm_mwait): Likewise.
3285 * config/i386/sse.md (sse3_mwait): Replace "mwait\t%0, %1" with
3287 (sse3_monitor): Make it 32bit only.
3288 (sse3_monitor64): New. 64bit monitor.
3290 2006-05-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3293 * config/i386/i386.c (classify_argument): Skip fields with invalid
3296 2006-05-07 Richard Guenther <rguenther@suse.de>
3298 PR tree-optimization/27409
3299 * tree-ssa-structalias.c (get_constraint_for_component_ref):
3300 Do not try to find zero-sized subvars.
3302 2006-05-07 Richard Guenther <rguenther@suse.de>
3304 PR tree-optimization/27136
3305 * tree-ssa-loop-niter.c (get_val_for): Correct function
3306 comment, assert requirements.
3307 (loop_niter_by_eval): Stop processing if the iterated
3308 value did not simplify.
3310 2006-05-07 Mircea Namolaru <namolaru@il.ibm.com>
3312 * opts.c (flag_see): remove its setting at -O3.
3314 2006-05-07 Richard Earnshaw <rearnsha@arm.com>
3316 * genpeep.c (main): Make insn-peep.c depend on flags.h.
3317 * arm/constraints.md: New file.
3318 * arm.h (REG_CLASS_FROM_LETTER_P): Delete.
3319 (CONST_OK_FOR_ARM_LETTER, CONST_OK_FOR_THUMB_LETTER)
3320 (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_ARM_LETTER)
3321 (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT_STR_ARM)
3322 (CONSTRAINT_LEN, EXTRA_CONSTRAINT_THUMB, EXTRA_CONSTRAINT_STR)
3323 (EXTRA_MEMORY_CONSTRAINT): Likewise.
3324 * arm.md: Include constraints.md.
3325 (thumb_movsi_insn): Use satisfies_constraint_J.
3326 (movhi, movqi): Use satisfies_constraint_I.
3328 2006-04-29 Anatoly Sokolov <aesok@post.ru>
3330 * config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name
3331 for atmeg a645 device.
3333 2006-05-06 Richard Guenther <rguenther@suse.de>
3335 PR tree-optimization/27151
3336 * tree-vect-transform.c (vectorizable_condition): Punt on
3337 values that have a different type than the condition.
3339 2006-05-03 Aldy Hernandez <aldyh@redhat.com>
3342 * c-parser.c (c_parser_cast_expression): Only insert casts into
3343 hash table if pointer.
3344 * function.c (used_types_insert_helper): Rename from
3346 (used_types_insert): Call used_types_insert_helper.
3347 * function.h (used_types_insert): Accept only one argument.
3349 2006-05-05 David Edelsohn <edesohn@gnu.org>
3351 * config/rs6000/rs6000.md: Mark all "X" constraints for clobbered
3352 scratch with output modifier.
3354 2006-05-04 David Edelsohn <edelsohn@gnu.org>
3357 * config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint
3358 with output modifier.
3360 2006-05-04 Richard Sandiford <richard@codesourcery.com>
3363 * config/mips/mips.c (mips_symbolic_address_p): Return true
3364 for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL,
3365 SYMBOL_GOTTPREL, and SYMBOL_TLS.
3367 2006-05-04 Richard Guenther <rguenther@suse.de>
3369 PR tree-optimization/14287
3370 PR tree-optimization/14844
3371 PR tree-optimization/19792
3372 PR tree-optimization/21608
3373 PR tree-optimization/27090
3374 * tree-ssa-pre.c (try_combine_conversion): New function.
3375 (compute_avail): After constructing the value-handle
3376 expression, use try_combine_conversion to combine NOP_EXPRs
3377 with previous value-handle expressions and use the result if it
3380 2006-05-04 Joseph S. Myers <joseph@codesourcery.com>
3382 * config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.
3384 2006-05-04 Jan Hubicka <jh@suse.cz>
3387 * cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.
3389 2006-05-04 Bernd Schmidt <bernd.schmidt@analog.com>
3391 * config/bfin/predicates.md (const01_rtx): Tell generator programs
3392 that this only matches CONST_INTs. All users changed to VOIDmode
3395 * config/bfin/bfin.c: Include "optabs.h".
3396 (bfin_rtx_costs): Some costs for vector operations, to allow combine
3398 (enum bfin_builtins): Add a number of fractional and vector builtins.
3399 (bfin_init_builtins): Likewise.
3400 (struct builtin_description, bdesc_2arg, bdesc_1arg): New.
3401 (safe_vector_operand, bfin_expand_binop_builtin,
3402 bfin_expand_unop_builtin): New functions.
3403 (bfin_expand_builtin): Handle the new builtins.
3404 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
3407 2006-05-04 Leehod Baruch <leehod@il.ibm.com>
3410 * Makefile.in (OBJS-common): Add see.o.
3411 (see.o): Add dependencies.
3412 * common.opt (fsee): New flag for the see optimization was added.
3413 * opts.c (flag_see): Initialized.
3414 * passes.c (init_optimization_passes, pass_see): New pass.
3415 * rtl.h (see_main): Declaration as extern.
3416 * timevar.def (TV_SEE): New.
3417 * tree-pass.h (pass_see): Declaration as extern.
3418 * invoke.texi (-fsee): Document.
3419 * recog.c (validate_simplify_insn): New function.
3420 * recog.h (validate_simplify_insn): Declaration as extern.
3421 * df-problems.c (df_chain_dump): Check for NULL.
3423 2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com>
3424 Daniel Berlin <dberlin@dberlin.org>
3426 * cfgrtl.c (insert_insn_bb_end_new): New function.
3427 * basic-block.h (insert_insn_bb_end_new): Declaration as extern.
3429 2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il>
3431 * df.h (struct web_entry): Moved from web.c.
3432 (union_defs): Declaration as extern.
3433 (unionfind_root): Likewise.
3434 (unionfind_union): Likewise.
3435 * web.c (struct web_entry): Moved to df.h.
3436 (unionfind_root): Remove static declaration.
3437 (unionfind_union): Likewise.
3438 (union_defs): Likewise and generalize to use callback function.
3439 (web_main): Update arguments for union_defs function call.
3441 2006-05-04 Richard Guenther <rguenther@suse.de>
3443 PR tree-optimization/26447
3444 * tree-ssa-pre.c (realify_fake_stores): For necessary loads
3445 produce SSA_NAME copies before the store stmt to avoid
3446 breaking exception handling.
3448 2006-05-04 Jakub Jelinek <jakub@redhat.com>
3451 * gimplify.c (omp_is_private): If var is shared in some outer context,
3452 return false instead of true. Stop searching on parallel context
3455 2006-05-03 Alexandre Oliva <aoliva@redhat.com>
3458 * coverage.c: Use get_gcov_unsigned_t() instead of
3459 unsigned_type_node all over.
3461 2006-05-02 Andrew MacLeod <amacleod@redhat.com>
3463 PR tree-optimization/27381
3464 * tree-phinodes.c (remove_phi_arg_num): When moving a phi argument,
3465 maintain the same immediate_use links.
3466 * tree-ssa-operands.c (dump_immediate_uses_for): Show iteration marker
3467 node rather than segfaulting.
3469 2006-05-03 Jakub Jelinek <jakub@redhat.com>
3472 * gimplify.c (gimplify_scan_omp_clauses): Compare OMP_CLAUSE_CODE
3473 rather than TREE_CODE to OMP_CLAUSE_REDUCTION. Set also GOVD_SEEN
3474 bit for OMP_CLAUSE_REDUCTION_PLACEHOLDER.
3476 2006-05-02 Daniel Berlin <dberlin@dberlin.org>
3478 Fix PR tree-optimization/26626
3479 * tree-ssa-structalias.c (compute_points_to_sets): For now, solve
3481 * tree-ssa-operands.c (access_can_touch_variable): Allow
3482 typecasting through union pointers.
3484 2006-05-02 Jakub Jelinek <jakub@redhat.com>
3487 * omp-low.c (maybe_lookup_decl_in_outer_ctx): New function.
3488 (build_outer_var_ref): Use maybe_lookup_decl_in_outer_ctx
3489 to find if var will be a global variable even in the nested context.
3490 (omp_copy_decl): Only check for global variable at the end, it might
3491 be overridden in outer contexts.
3492 (scan_sharing_clauses): For global variables don't create a field.
3493 (lower_rec_input_clauses): Do nothing for global shared variables.
3494 Emit a barrier at the end of ILIST if there were any decls in both
3495 firstprivate and lastprivate clauses.
3496 (lower_send_clauses): Do nothing for global variables except for
3499 2006-05-02 Zdenek Dvorak <dvorakz@suse.cz>
3501 * tree.c (unsigned_type_for, signed_type_for): Make sure a type
3502 of the correct signedness is returned.
3504 2006-05-02 Jeff Law <law@redhat.com>
3506 PR tree-optimization/27364
3507 * tree-vrp.c (vrp_int_const_binop): Fix detection of overflow from