OSDN Git Service

7509e62c6a944e46f8dc04fc1769135d388b3d0b
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2009-03-30  Jan Hubicka  <jh@suse.cz>
2
3         * tree-eh.c (make_eh_edges): Set probability 100% to first edge out of RESX.
4         (tree_remove_unreachable_handlers): Cleanup EH predecestor detection and label
5         handling.
6
7 2009-03-30  Vladimir Makarov  <vmakarov@redhat.com>
8
9         * ira-int.h (ira_allocno): Rename left_conflicts_num to
10         left_conflicts_size.
11         (ALLOCNO_LEFT_CONFLICTS_NUM): Rename to
12         ALLOCNO_LEFT_CONFLICTS_SIZE.
13
14         * ira-color.c (allocno_spill_priority, push_allocno_to_stack,
15         remove_allocno_from_bucket_and_push,
16         allocno_spill_priority_compare, push_allocnos_to_stack,
17         setup_allocno_available_regs_num): Use ALLOCNO_LEFT_CONFLICTS_SIZE
18         instead of ALLOCNO_LEFT_CONFLICTS_NUM.
19         (setup_allocno_left_conflicts_num): Ditto.  Rename to
20         setup_allocno_left_conflicts_size.
21         (put_allocno_into_bucket): Use ALLOCNO_LEFT_CONFLICTS_SIZE
22         instead of ALLOCNO_LEFT_CONFLICTS_NUM and
23         setup_allocno_left_conflicts_size instead of
24         setup_allocno_left_conflicts_num.
25
26         * ira-build.c (ira_create_allocno): Use
27         ALLOCNO_LEFT_CONFLICTS_SIZE instead of
28         ALLOCNO_LEFT_CONFLICTS_NUM.
29                 
30 2009-03-30  Vladimir Makarov  <vmakarov@redhat.com>
31
32         * reload.c (push_reload, find_dummy_reload): Use df_get_live_out
33         instead of DF_LR_OUT.
34
35         * ira-lives.c (process_bb_node_lives): Ditto.
36
37         * ira-color.c (ira_loop_edge_freq): Use df_get_live_{out,in}
38         instead of DF_LR_{OUT,IN}.
39
40         * ira-emit.c (generate_edge_moves, add_ranges_and_copies): Ditto.
41
42         * ira-build.c (create_bb_allocnos, create_loop_allocnos): Ditto.
43
44 2009-03-30  Jan Hubicka  <jh@suse.cz>
45
46         * except.c (label_to_region_map): Fix thinko.
47
48 2009-03-30  Steve Ellcey  <sje@cup.hp.com>
49
50         PR middle-end/38237
51         * tree.h (tree_find_value): New declaration.
52         * tree.c (tree_find_value): New function.
53         * varasm.c (assemble_external): Avoid duplicate entries on lists.
54
55 2009-03-30  Jakub Jelinek  <jakub@redhat.com>
56
57         PR debug/39563
58         * c-decl.c (struct c_binding): Add locus field.
59         (bind): Add locus argument, set locus field from it.
60         (pop_scope): For b->nested VAR_DECL or FUNCTION_DECL,
61         add a DECL_EXTERNAL copy of b->decl to current BLOCK_VARS.
62         (push_file_scope, pushtag, pushdecl, pushdecl_top_level,
63         implicitly_declare, undeclared_variable, lookup_label,
64         declare_label, c_make_fname_decl, c_builtin_function,
65         c_builtin_function_ext_scope, store_parm_decls_newstyle): Adjust
66         bind callers.
67
68 2008-03-30  H.J. Lu  <hongjiu.lu@intel.com>
69
70         PR target/38781
71         * config/i386/i386.c (classify_argument): Check total size of
72         structure.
73
74 2009-03-30  Martin Jambor  <mjambor@suse.cz>
75
76         * ipa-prop.h (jump_func_type): Rename IPA_UNKNOWN, IPA_CONST,
77         IPA_CONST_MEMBER_PTR, and IPA_PASS_THROUGH to IPA_JF_UNKNOWN,
78         IPA_JF_CONST, IPA_JF_CONST_MEMBER_PTR, and IPA_JF_PASS_THROUGH
79         respectively.
80
81         * tree-dfa.c (get_ref_base_and_extent): Return -1 maxsize if
82         seen_variable_array_ref while also traversing a union.
83
84         * tree-inline.c (optimize_inline_calls): Do not call
85         cgraph_node_remove_callees.
86         * cgraphbuild.c (remove_cgraph_callee_edges): New function.
87         (pass_remove_cgraph_callee_edges): New variable.
88         * passes.c (init_optimization_passes): Add
89         pass_remove_cgraph_callee_edges after early inlining and before all
90         late intraprocedural passes.
91
92         * omp-low.c (expand_omp_taskreg): Always set current_function_decl.
93
94 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
95
96         * config/sparc/sparc.md (*nand<V64mode>_vis, *nand<V32mode>_vis):
97         Fix typos in names.
98
99 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
100
101         * combine.c (simplify_comparison): Use have_insn_for.
102         * dojump.c (do_jump): Likewise.
103
104 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
105
106         * config/sparc/sparc.c (sparc_compare_emitted): Remove.
107         (gen_compare_reg, emit_v9_brxx_insn): Handle MODE_CC
108         sparc_compare_op0 like sparc_compare_emitted used to be handled.
109         (sparc_expand_compare_and_swap_12): Set sparc_compare_op0
110         instead of sparc_compare_emitted.
111         * config/sparc/sparc.h (sparc_compare_emitted): Remove.
112         * config/sparc/sparc.md (stack_protect_test): Set sparc_compare_op0
113         instead of sparc_compare_emitted.
114
115 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
116
117         * bb-reorder.c (partition_hot_cold_basic_blocks): Do not
118         enter/exit cfglayout mode.
119         (pass_partition_block): Require it.
120         * combine.c (find_single_use, reg_dead_at_p): Use CFG.
121         (combine_instructions): Track basic blocks instead of labels.
122         (update_cfg_for_uncondjump): New.
123         (try_combine): Use it.  Update jumps after rescanning.
124         (pass_combine): Require PROP_cfglayout.
125         * passes.c (pass_outof_cfg_layout_mode): Move after regmove.
126
127 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
128
129         * cfglayout.c (pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode):
130         Provide/destroy PROP_cfglayout respectively.
131         * gcse.c (pass_jump_bypass, pass_gcse): Require it.
132         * tree-pass.h (PROP_cfglayout): New.
133
134 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
135
136         * fold-const.c (const_binop, fold_convert_const_real_from_fixed,
137         fold_convert_const_fixed_from_fixed,
138         fold_convert_const_fixed_from_int,
139         fold_convert_const_fixed_from_real, fold_negate_const): Do not
140         set TREE_CONSTANT_OVERFLOW.
141         * tree.def: Remove mention of TREE_CONSTANT_OVERFLOW.
142         * tree.h (TREE_CONSTANT_OVERFLOW): Delete.
143
144 2009-03-30  Ira Rosen  <irar@il.ibm.com>
145
146         * tree-vect-loop-manip.c: New file.
147         * tree-vectorizer.c: Update documentation and included files.
148         (vect_loop_location): Make extern.
149         (rename_use_op): Move to tree-vect-loop-manip.c
150         (rename_variables_in_bb, rename_variables_in_loop, 
151         slpeel_update_phis_for_duplicate_loop, 
152         slpeel_update_phi_nodes_for_guard1,
153         slpeel_update_phi_nodes_for_guard2, slpeel_make_loop_iterate_ntimes,
154         slpeel_tree_duplicate_loop_to_edge_cfg, slpeel_add_loop_guard,
155         slpeel_can_duplicate_loop_p, slpeel_verify_cfg_after_peeling,
156         set_prologue_iterations, slpeel_tree_peel_loop_to_edge, 
157         find_loop_location): Likewise.
158         (new_stmt_vec_info): Move to tree-vect-stmts.c.
159         (init_stmt_vec_info_vec, free_stmt_vec_info_vec, free_stmt_vec_info,
160         get_vectype_for_scalar_type, vect_is_simple_use,
161         supportable_widening_operation, supportable_narrowing_operation):
162         Likewise.
163         (bb_in_loop_p): Move to tree-vect-loop.c.
164         (new_loop_vec_info, destroy_loop_vec_info, 
165         reduction_code_for_scalar_code, report_vect_op, 
166         vect_is_simple_reduction, vect_is_simple_iv_evolution): Likewise.
167         (vect_can_force_dr_alignment_p): Move to tree-vect-data-refs.c.
168         (vect_supportable_dr_alignment): Likewise.
169         * tree-vectorizer.h (tree-data-ref.h): Include.
170         (vect_loop_location): Declare.
171         Reorganize function declarations according to the new file structure.
172         * tree-vect-loop.c: New file.
173         * tree-vect-analyze.c: Remove. Move functions to tree-vect-data-refs.c, 
174         tree-vect-stmts.c, tree-vect-slp.c, tree-vect-loop.c.
175         * tree-vect-data-refs.c: New file.
176         * tree-vect-patterns.c (timevar.h): Don't include.
177         * tree-vect-stmts.c: New file.
178         * tree-vect-transform.c: Remove. Move functions to tree-vect-stmts.c, 
179         tree-vect-slp.c, tree-vect-loop.c.
180         * Makefile.in (OBJS-common): Remove tree-vect-analyze.o and 
181         tree-vect-transform.o. Add tree-vect-data-refs.o, tree-vect-stmts.o, 
182         tree-vect-loop.o, tree-vect-loop-manip.o, tree-vect-slp.o.
183         (tree-vect-analyze.o): Remove.
184         (tree-vect-transform.o): Likewise.
185         (tree-vect-data-refs.o): Add rule.
186         (tree-vect-stmts.o, tree-vect-loop.o, tree-vect-loop-manip.o, 
187         tree-vect-slp.o): Likewise.
188         (tree-vect-patterns.o): Remove redundant dependencies.
189         (tree-vectorizer.o): Likewise.
190         * tree-vect-slp.c: New file.
191
192 2009-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
193
194         * optc-gen.awk: Warn if an option flag has multiple different
195         help strings.
196
197 2009-03-30  Sebastian Pop  <sebastian.pop@amd.com>
198
199         * doc/invoke.texi (-floop-interchange, -floop-strip-mine,
200         -floop-block): Document dependences on PPL, CLooG and Graphite.
201
202 2009-03-30  Joseph Myers  <joseph@codesourcery.com>
203
204         PR rtl-optimization/323
205         * c-common.c (c_fully_fold, convert_and_check,
206         c_common_truthvalue_conversion): Handle EXCESS_PRECISION_EXPR.
207         (c_fully_fold_internal): Disallow EXCESS_PRECISION_EXPR.
208         * c-common.def (EXCESS_PRECISION_EXPR): New.
209         * c-cppbuiltin.c (builtin_define_float_constants): Define
210         constants with enough digits for long double.
211         * c-lex.c (interpret_float): Interpret constant with excess
212         precision where appropriate.
213         * c-opts.c (c_common_post_options): Set
214         flag_excess_precision_cmdline.  Give an error for
215         -fexcess-precision=standard for C++ for processors where the
216         option is significant.
217         * c-parser.c (c_parser_conditional_expression): Handle excess
218         precision in condition.
219         * c-typeck.c (convert_arguments): Handle arguments with excess
220         precision.
221         (build_unary_op): Move excess precision outside operation.
222         (build_conditional_expr): Likewise.
223         (build_compound_expr): Likewise.
224         (build_c_cast): Do cast on operand of EXCESS_PRECISION_EXPR.
225         (build_modify_expr): Handle excess precision in RHS.
226         (convert_for_assignment): Handle excess precision in converted
227         value.
228         (digest_init, output_init_element, process_init_element): Handle
229         excess precision in initializer.
230         (c_finish_return): Handle excess precision in return value.
231         (build_binary_op): Handle excess precision in operands and add
232         excess precision as needed for operation.
233         * common.opt (-fexcess-precision=): New option.
234         * config/i386/i386.h (X87_ENABLE_ARITH, X87_ENABLE_FLOAT): New.
235         * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
236         For standard excess precision, output explicit conversion to and
237         truncation from XFmode.
238         (*float<SSEMODEI24:mode><X87MODEF:mode>2_1,
239         *float<SSEMODEI24:mode><X87MODEF:mode>2_i387_with_temp,
240         *float<SSEMODEI24:mode><X87MODEF:mode>2_i387, two unnamed
241         define_splits, floatdi<X87MODEF:mode>2_i387_with_xmm, two unnamed
242         define_splits, *floatunssi<mode>2_1, two unnamed define_splits,
243         floatunssi<mode>2, add<mode>3, sub<mode>3, mul<mode>3, divdf3,
244         divsf3, *fop_<mode>_comm_i387, *fop_<mode>_1_i387,
245         *fop_<MODEF:mode>_2_i387, *fop_<MODEF:mode>_3_i387,
246         *fop_df_4_i387, *fop_df_5_i387, *fop_df_6_i387, two unnamed
247         define_splits, sqrt<mode>2): Disable where appropriate for
248         standard excess precision.
249         * convert.c (convert_to_real): Do not shorten arithmetic to type
250         for which excess precision would be used.
251         * defaults.h (TARGET_FLT_EVAL_METHOD_NON_DEFAULT): Define.
252         * doc/invoke.texi (-fexcess-precision=): Document option.
253         (-mfpmath=): Correct index entry.
254         * flags.h (enum excess_precision, flag_excess_precision_cmdline,
255         flag_excess_precision): New.
256         * langhooks.c (lhd_post_options): Set
257         flag_excess_precision_cmdline.
258         * opts.c (common_handle_option): Handle -fexcess-precision=.
259         * toplev.c (flag_excess_precision_cmdline, flag_excess_precision,
260         init_excess_precision): New.
261         (lang_dependent_init_target): Call init_excess_precision.
262         * tree.c (excess_precision_type): New.
263         * tree.h (excess_precision_type): Declare.
264
265 2009-03-30  Joseph Myers  <joseph@codesourcery.com>
266
267         PR c/35235
268         * c-typeck.c (build_component_ref): Do not copy qualifiers from
269         non-lvalue to component.
270
271 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
272
273         PR preprocessor/34695
274         * Makefile.in (c-opts.o): Depend on c-tree.h.
275         * c-common.c: Move down include of diagnostic.h.
276         (done_lexing, c_cpp_error): New.
277         * c-common.h (done_lexing): Declare.
278         * c-decl.c (c_write_global_declarations): Don't check cpp_errors
279         (parse_in).
280         * c-opts.c: Include c-tree.h.
281         (c_common_init_options): Set preprocessor error callback.
282         (c_common_handle_option): Do not set preprocessor
283         inhibit_warnings, warnings_are_errors, warn_system_headers,
284         pedantic_errors or inhibit_warnings flags.
285         (c_common_post_options): Do not check cpp_errors (parse_in).
286         (c_common_finish): Do not output dependencies if there were
287         errors.  Do not check return value of cpp_finish.
288         * c-ppoutput.c (pp_file_change): Set input_location.
289         * c-tree.h (c_cpp_error): Declare.
290         * diagnostic.c (diagnostic_set_info_translated): Also initialize
291         override_column.
292         (diagnostic_build_prefix): Check override_column.
293         * diagnostic.h (diagnostic_info): Add override_column field.
294         (diagnostic_override_column): Define.
295
296 2009-03-28  Paolo Bonzini  <bonzini@gnu.org>
297
298         * c-common.c (c_expand_expr, c_staticp): Remove.
299         * c-common.def (COMPOUND_LITERAL_EXPR): Delete.
300         * c-common.h (emit_local_var, c_staticp, COMPOUND_LITERAL_EXPR_DECL,
301         COMPOUND_LITERAL_EXPR_DECL_EXPR): Remove.
302         * c-gimplify.c (gimplify_compound_literal_expr,
303         optimize_compound_literals_in_ctor): Remove.
304         (c_gimplify_expr): Remove COMPOUND_LITERAL_EXPR handling.
305         * c-objc-common.h (LANG_HOOKS_STATICP): Remove.
306         * c-semantics.c (emit_local_var): Remove.
307
308         * langhooks-def.h (lhd_expand_expr): Remove.
309         * langhooks.c (lhd_expand_expr): Remove.
310         * langhooks.h (LANG_HOOKS_DEF): Remove LANG_HOOKS_EXPAND_EXPR.
311
312         * expr.c (expand_expr_real_1): Move COMPOUND_LITERAL_EXPR
313         handling from c-semantics.c; don't call into langhook.
314         (expand_expr_addr_expr_1): Check that we don't get non-GENERIC trees.
315         * gimplify.c (gimplify_compound_literal_expr,
316         optimize_compound_literals_in_ctor): Move from c-gimplify.c.
317         (gimplify_init_constructor): Call optimize_compound_literals_in_ctor.
318         (gimplify_modify_expr_rhs, gimplify_expr): Handle COMPOUND_LITERAL_EXPR
319         as was done in c-gimplify.c.
320         * tree.c (staticp): Move COMPOUND_LITERAL_EXPR handling from c_staticp.
321         * tree.h (COMPOUND_LITERAL_EXPR_DECL, COMPOUND_LITERAL_EXPR_DECL_EXPR):
322         Move from c-common.h.
323         * tree.def (COMPOUND_LITERAL_EXPR): Move from c-common.def.
324
325         * tree.c (staticp): Do not call langhook.
326         * langhooks.c (lhd_staticp): Delete.
327         * langhooks-def.h (lhd_staticp): Delete prototype.
328         (LANG_HOOKS_STATICP): Delete.
329         (LANG_HOOKS_INITIALIZER): Delete LANG_HOOKS_STATICP.
330
331         * doc/c-tree.texi (Expression nodes): Refer to DECL_EXPRs
332         instead of DECL_STMTs.
333
334 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
335
336         PR c/456
337         PR c/5675
338         PR c/19976
339         PR c/29116
340         PR c/31871
341         PR c/35198
342         * builtins.c (fold_builtin_sincos): Build COMPOUND_EXPR in
343         void_type_node.
344         (fold_call_expr): Return a NOP_EXPR from folding rather than the
345         contained expression.
346         * c-common.c (c_fully_fold, c_fully_fold_internal, c_save_expr): New.
347         (c_common_truthvalue_conversion): Use c_save_expr.  Do not fold
348         conditional expressions for C.
349         (decl_constant_value_for_optimization): Move from
350         decl_constant_value_for_broken_optimization in c-typeck.c.  Check
351         whether optimizing and that the expression is a VAR_DECL not of
352         array type instead of doing such checks in the caller.  Do not
353         check pedantic.  Call gcc_unreachable for C++.
354         * c-common.def (C_MAYBE_CONST_EXPR): New.
355         * c-common.h (c_fully_fold, c_save_expr,
356         decl_constant_value_for_optimization): New prototypes.
357         (C_MAYBE_CONST_EXPR_PRE, C_MAYBE_CONST_EXPR_EXPR,
358         C_MAYBE_CONST_EXPR_INT_OPERANDS, C_MAYBE_CONST_EXPR_NON_CONST,
359         EXPR_INT_CONST_OPERANDS): Define.
360         * c-convert.c (convert): Strip nops from expression.
361         * c-decl.c (groktypename): Take extra parameters expr and
362         expr_const_operands.  Update call to grokdeclarator.
363         (start_decl): Update call to grokdeclarator.  Add statement for
364         expressions used in type of decl.
365         (grokparm): Update call to grokdeclarator.
366         (push_parm_decl): Update call to grokdeclarator.
367         (build_compound_literal): Add parameter non_const and build a
368         C_MAYBE_COSNT_EXPR if applicable.
369         (grokdeclarator): Take extra parameters expr and
370         expr_const_operands.  Track expressions used in declaration
371         specifiers and declarators.  Fold array sizes and track whether
372         they are constant expressions and whether they are integer
373         constant expressions.
374         (parser_xref_tag): Set expr and expr_const_operands fields in
375         return value.
376         (grokfield): Update call to grokdeclarator.
377         (start_function): Update call to grokdeclarator.
378         (build_null_declspecs): Set expr and expr_const_operands fields in
379         return value.
380         (declspecs_add_type): Handle expressions in typeof specifiers.
381         * c-parser.c (c_parser_declspecs): Set expr and
382         expr_const_operands fields for declaration specifiers.
383         (c_parser_enum_specifier): Likewise.
384         (c_parser_struct_or_union_specifier): Likewise.
385         (c_parser_typeof_specifier): Likewise.  Update call to
386         groktypename.  Fold expression as needed.  Return expressions with
387         type instead of adding statements.
388         (c_parser_attributes): Update calls to c_parser_expr_list.
389         (c_parser_statement_after_labels): Fold expression before passing
390         to objc_build_throw_stmt.
391         (c_parser_condition): Fold expression.
392         (c_parser_asm_operands): Fold expression.
393         (c_parser_conditional_expression): Use c_save_expr.  Update call
394         to build_conditional_expr.
395         (c_parser_alignof_expression): Update call to groktypename.
396         (c_parser_postfix_expression): Preserve C_MAYBE_CONST_EXPR as
397         original_code.  Fold expression argument of va_arg.  Create
398         C_MAYBE_CONST_EXPR to preserve side effects of expressions in type
399         argument to va_arg.  Update calls to groktypename.  Fold array
400         index for offsetof.  Verify that first argument to
401         __builtin_choose_expr has integer type.
402         (c_parser_postfix_expression_after_paren_type): Update calls to
403         groktypename and build_compound_literal.  Handle expressions with
404         side effects in type name.
405         (c_parser_postfix_expression_after_primary): Update call to
406         c_parser_expr_list.  Set original_code for calls to
407         __builtin_constant_p.
408         (c_parser_expr_list): Take extra parameter fold_p.  Fold
409         expressions if requested.
410         (c_parser_objc_type_name): Update call to groktypename.
411         (c_parser_objc_synchronized_statement): Fold expression.
412         (c_parser_objc_receiver): Fold expression.
413         (c_parser_objc_keywordexpr): Update call to c_parser_expr_list.
414         (c_parser_omp_clause_num_threads, c_parser_omp_clause_schedule,
415         c_parser_omp_atomic, c_parser_omp_for_loop): Fold expressions.
416         * c-tree.h (CONSTRUCTOR_NON_CONST): Define.
417         (struct c_typespec): Add elements expr and expr_const_operands.
418         (struct c_declspecs): Add elements expr and expr_const_operands.
419         (groktypename, build_conditional_expr, build_compound_literal):
420         Update prototypes.
421         (in_late_binary_op): Declare.
422         * c-typeck.c (note_integer_operands): New function.
423         (in_late_binary_op): New variable.
424         (decl_constant_value_for_broken_optimization): Move to c-common.c
425         and rename to decl_constant_value_for_optimization.
426         (default_function_array_conversion): Do not strip nops.
427         (default_conversion): Do not call
428         decl_constant_value_for_broken_optimization.
429         (build_array_ref): Do not fold result.
430         (c_expr_sizeof_expr): Fold operand.  Use C_MAYBE_CONST_EXPR for
431         result when operand is a VLA.
432         (c_expr_sizeof_type): Update call to groktypename.  Handle
433         expressions included in type name.  Use C_MAYBE_CONST_EXPR for
434         result when operand names a VLA type.
435         (build_function_call): Update call to build_compound_literal.
436         Only fold result for calls to __builtin_* functions.  Strip
437         NOP_EXPR from INTEGER_CST returned from such functions.  Fold
438         the function designator.
439         (convert_arguments): Fold arguments.  Update call to
440         convert_for_assignment.
441         (build_unary_op): Handle increment and decrement of
442         C_MAYBE_CONST_EXPR.  Move lvalue checks for increment and
443         decrement earlier.  Fold operand of increment and decrement.
444         Handle address of C_MAYBE_CONST_EXPR.  Only fold expression being
445         built for integer operand.  Wrap returns that are INTEGER_CSTs
446         without being integer constant expressions or that have integer
447         constant operands without being INTEGER_CSTs.
448         (lvalue_p): Handle C_MAYBE_CONST_EXPR.
449         (build_conditional_expr): Add operand ifexp_bcp.  Track whether
450         result is an integer constant expression or can be used in
451         unevaluated parts of one and avoid folding and wrap as
452         appropriate.  Fold operands before possibly doing -Wsign-compare
453         warnings.
454         (build_compound_expr): Wrap result for C99 if operands can be used
455         in integer constant expressions.
456         (build_c_cast): Update call to digest_init.  Do not ignore
457         overflow from casting floating-point constants to integers.  Wrap
458         results that could be confused with integer constant expressions,
459         null pointer constants or floating-point constants.
460         (c_cast_expr): Update call to groktypename.  Handle expressions
461         included in type name.
462         (build_modify_expr): Handle modifying a C_MAYBE_CONST_EXPR.  Fold
463         lhs inside possible SAVE_EXPR.  Fold RHS before assignment.
464         Update calls to convert_for_assignment.
465         (convert_for_assignment): Take new parameter
466         null_pointer_constant.  Do not strip nops or call
467         decl_constant_value_for_broken_optimization.  Set
468         in_late_binary_op for conversions to boolean.
469         (store_init_value): Update call to digest_init.
470         (digest_init): Take new parameter null_pointer_constant.  Do not
471         call decl_constant_value_for_broken_optimization.  pedwarn for
472         initializers not constant expressions.  Update calls to
473         convert_for_assignment.
474         (constructor_nonconst): New.
475         (struct constructor_stack): Add nonconst element.
476         (really_start_incremental_init, push_init_level, pop_init_level):
477         Handle constructor_nonconst and nonconst element.
478         (set_init_index): Call constant_expression_warning for array
479         designators.
480         (output_init_element): Fold value.  Set constructor_nonconst as
481         applicable.  pedwarn for initializers not constant expressions.
482         Update call to digest_init.  Call constant_expression_warning
483         where constant initializers are required.
484         (process_init_element): Use c_save_expr.
485         (c_finish_goto_ptr): Fold expression.
486         (c_finish_return): Fold return value.  Update call to
487         convert_for_assignment.
488         (c_start_case): Fold switch expression.
489         (c_process_expr_stmt): Fold expression.
490         (c_finish_stmt_expr): Create C_MAYBE_CONST_EXPR as needed to
491         ensure statement expression is not evaluated in constant expression.
492         (build_binary_op): Track whether results are integer constant
493         expressions or may occur in such, disable folding and wrap results
494         as applicable.  Fold operands for -Wsign-compare warnings unless
495         in_late_binary_op.
496         (c_objc_common_truthvalue_conversion): Handle results folded to
497         integer constants that are not integer constant expressions.
498         * doc/extend.texi: Document when typeof operands are evaluated,
499         that condition of __builtin_choose_expr is an integer constant
500         expression, and more about use of __builtin_constant_p in
501         initializers.
502
503 2009-03-29  Richard Guenther  <rguenther@suse.de>
504
505         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Properly
506         propagate addresses of array references.
507
508 2009-03-29  Steven Bosscher  <steven@gcc.gnu.org>
509
510         * regmove.c (perhaps_ends_bb_p): Remove.
511         (optimize_reg_copy_1): Don't call perhaps_ends_bb_p.  Get basic block
512         from INSN and check that the main loop stays within that basic block.
513         (optimize_reg_copy_1, optimize_reg_copy_3, fixup_match_2): Likewise.
514         (regmove_forward_pass): Split out from regmove_optimize.  Use
515         FOR_EACH_BB and FOR_BB_INSNS instead of traversing the insns stream.
516         (regmove_backward_pass): Split out from regmove_optimize.  Use
517         FOR_EACH_BB_REVERSE and FOR_BB_INSNS_REVERS_SAFE.
518         (regmove_optimize): Simplify.
519
520 2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>
521
522         PR target/39545
523         * config/i386/i386.c (classify_argument): Ignore flexible array
524         member in struct and warn ABI change.
525
526 2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>
527
528         * config/i386/i386-protos.h (ix86_agi_dependent): New.
529
530         * config/i386/i386.c (ix86_agi_dependent): Rewrite.
531         (ix86_adjust_cost): Updated.
532
533 2009-03-29  Jan Hubicka  <jh@suse.cz>
534
535         PR middle-end/28850
536         * tree-pass.h (pass_cleanup_eh): New function.
537         (remove_unreachable_regions): Break code handling RTL
538         to rtl_remove_unreachable_regions; remove ERT_MUST_NOT_THROW
539         that can not be reached by runtime.
540         (can_be_reached_by_runtime): New function.
541         (label_to_region_map): New function.
542         (num_eh_regions): New function.
543         (rtl_remove_unreachable_regions): New function.
544         (convert_from_eh_region_ranges): Call rtl_remove_unreachable_regions.
545         (remove_eh_region): New function.
546         * except.h: Include sbitmap and vecprim.
547         (remove_eh_region, remove_unreachable_regions, label_to_region_map,
548         num_eh_regions): Declare.
549         * passes.c (init_optimization_passes): Schedule cleanup_eh.
550         * Makefile.in (EXCEPT_H): New; replace all uses of except.h by it.
551         * tree-eh.c (tree_remove_unreachable_handlers): New function.
552         (tree_empty_eh_handler_p): New function.
553         (cleanup_empty_eh): New function.
554         (cleanup_eh): New function.
555         (pass_cleanup_eh): New function.
556
557 2009-03-29  Jan Hubicka  <jh@suse.cz>
558
559         * except.c (verify_eh_tree): Fix handling of fun!=cfun; be ready
560         for removed regions.
561
562 2009-03-29  Jan Hubicka  <jh@suse.cz>
563
564         * except.c (dump_eh_tree): Dump all datastructures.
565
566 2009-03-29  Jan Hubicka  <jh@suse.cz>
567
568         * except.c (duplicate_eh_regions_0): Handle AKA bitmap.
569         (duplicate_eh_regions_1): Likewise.
570         (duplicate_eh_regions): Likewise; cleanup code gorwing the region
571         vector; call EH verification.
572         (foreach_reachable_handler, can_throw_internal_1, can_throw_external_1):
573         Be ready for region being removed.
574
575 2009-03-29  Jan Hubicka  <jh@suse.cz>
576
577         * bitmap.c (bitmap_last_set_bit): New function.
578         * bitmap.h (bitmap_last_set_bit): Declare.
579
580 2009-03-29  David Ayers  <ayers@fsfe.org>
581
582         PR objc/27377
583         * c-typeck.c (build_conditional_expr): Emit ObjC warnings
584         by calling objc_compare_types and surpress warnings about
585         incompatible C pointers that are compatible ObjC pointers.
586         
587 2009-03-29  Adam Nemet  <anemet@caviumnetworks.com>
588
589         * cgraphbuild.c (build_cgraph_edges, rebuild_cgraph_edges): Don't
590         call initialize_inline_failed.
591         (initialize_inline_failed): Move it from here ...
592         * cgraph.c (initialize_inline_failed): ... to here.
593         (cgraph_create_edge): Call initialize_inline_failed rather than
594         setting inline_failed directly.
595
596 2009-03-29  Ben Elliston  <bje@au.ibm.com>
597
598         PR target/32542
599         * sysv4.opt (msdata): Improve comment.
600         * linux64.h (ASM_SPEC32): Do not pass -memb when -msdata is given.
601         * sysv4.h (SVR4_ASM_SPEC): Likewise.
602
603 2009-03-29  Ben Elliston  <bje@au.ibm.com>
604
605         PR target/30451
606         * config/rs6000/rs6000.md (*movti_ppc64): Correct the order of
607         load and store attributes.
608
609 2009-03-29  Ben Elliston  <bje@au.ibm.com>
610
611         * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_HUGE_VALQ.
612         (ix86_init_builtins): Add built-in function __builtin_huge_valq.
613         (ix86_expand_builtin): Handle IX86_BUILTIN_HUGE_VALQ.
614         * doc/extend.texi (X86 Built-in Functions): Add index entries for
615         __builtin_infq and __builtin_huge_valq.
616
617 2009-03-28  Anatoly Sokolov  <aesok@post.ru>
618
619         * config/avr/avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and
620         atmega8m1 devices.
621         * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
622         * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.)
623
624 2009-03-28  Xinliang David Li  <davidxl@google.com>
625
626         * tree-ssa-ccp.c (ccp_finalize): Add dbg_count support. 
627         (do_dbg_cnt): New function.
628
629 2009-03-28  Jan Hubicka  <jh@suse.cz>
630
631         Merge from pretty-ipa:
632
633         2009-03-27  Jan Hubicka  <jh@suse.cz>
634
635         * cgraph.c (dump_cgraph_node): Add replace output flag by process.
636         * tree-pass.h (function_called_by_processed_nodes_p): Declare.
637         * passes.c (function_called_by_processed_nodes_p): New.
638         * ipa-pure-const.c (check_call): Fix handling of operands.
639         (analyze_function): Dump debug output for skipped bodies.
640         (local_pure_const): Use function_called_by_processed_nodes_p.
641         * dwarf2out.c (reference_to_unused): Use output.
642         * passes.c (do_per_function_toporder): Likewise.
643
644         2008-11-12  Jan Hubicka  <jh@suse.cz>
645
646         * tree-pass.h (pass_fixup_cfg, pass_local_pure_const): Declare.
647         * ipa-pure-const.c (funct_state_d): Add can throw field; make
648         state_set_in_source enum
649         (check_decl): Ignore memory tags; do not set fake looping flags;
650         dump diagnostics.
651         (check_operand, check_tree, check_rhs_var, check_lhs_var,
652         get_asm_expr_operands, scan_function_op, scan_function_stmt): Remove.
653         (check_call, analyze_function): Rewrite.
654         (check_stmt): New.
655         (add_new_function): Update call of analyze_function.
656         (generate_summary): Add call of analyze_function.
657         (propagate): Propagate can_throw; handle state_set_in_source correctly.
658         (local_pure_const): New function.
659         (pass_local_pure_const): New pass.
660         * ipa-inline.c (inline_transform): Set after_inlining.
661         * tree-eh.c (stmt_can_throw_external): New.
662         * tree-optimize.c (execute_fixup_cfg): Do not set after_inlining;
663         work with aliasing built.
664         * tree-flow.h (stmt_can_throw_external): New.
665         * passes.c (init_optimization_passes): Schedule fixup_cfg pass early;
666         and local pure/const pass in early and late optimization queue.
667
668 2009-03-28  Martin Jambor  <mjambor@suse.cz>
669
670         * fold-const.c (get_pointer_modulus_and_residue): New parameter
671         allow_func_align.
672         (fold_binary): Allow function decl aligment consideration is the
673         second argument is integer constant one.
674         * tree-ssa-forwprop.c (simplify_bitwise_and): New function.
675         (tree_ssa_forward_propagate_single_use_vars): Handle assing statements
676         with BIT_AND_EXPR on the RHS by calling simplify_bitwise_and.
677
678 2009-03-28  Jan Hubicka  <jh@suse.cz>
679
680         * dwarf2out.c (dwarf2out_begin_prologue): Use crtl->nothrow
681         * tree-eh.c (stmt_could_throw_p): Remove check for WEAK decls.
682         * function.h (rtl_data): Add nothrow flag.
683         * except.c (set_nothrow_function_flags): Use crtl->nothrow;
684         set DECL_NOTHROW for AVAILABLE functions.
685
686 2009-03-28  Jakub Jelinek  <jakub@redhat.com>
687
688         * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If macro
689         following vector keyword has expansion starting with pixel or bool
690         keyword, expand vector to __vector and pixel or bool to __pixel or
691         __bool.
692
693         PR c++/39554
694         * opts.c (warning_disallowed_functions, warn_disallowed_functions,
695         warn_if_disallowed_function_p): Removed.
696         (common_handle_option): Don't handle OPT_Wdisallowed_function_list_.
697         * c-parser.c (c_parser_postfix_expression_after_primary): Don't call
698         warning_if_disallowed_function_p.
699         * flags.h (warn_if_disallowed_function_p,
700         warn_disallowed_functions): Removed.
701         * common.opt (Wdisallowed-function-list=): Removed.
702         * doc/invoke.texi (-Wdisallowed-function-list=): Removed.
703
704 2009-03-28  Richard Guenther  <rguenther@suse.de>
705
706         PR tree-optimization/38723
707         * tree-ssa-pre.c (compute_avail): Add all default definitions to
708         the entry block.
709
710 2009-03-28  Jan Hubicka  <jh@suse.cz>
711
712         * tree-ssa-structalias.c (ipa_pta_execute): Fix bogus node->analyzed
713         test introduced by my previous patch.
714
715 2009-03-28  Richard Guenther  <rguenther@suse.de>
716
717         * tree-ssa-copy.c (copy_prop_visit_phi_node): Do not leave
718         the PHIs value undefined.
719
720 2009-03-28  Jan Hubicka  <jh@suse.cz>
721
722         * tree-pass.h (pass_fixup_cfg): New pass.
723         * ipa-inline.c (inline_transform): Set
724         always_inline_functions_inlined/after_inlining.
725         * tree-optimize.c (execute_fixup_cfg): Do not set them here.
726         (pass_fixup_cfg): New pass.
727         * passes.c (init_optimization_passes): Add fixup_cfg.
728
729 2009-03-28  Richard Guenther  <rguenther@suse.de>
730
731         PR tree-optimization/38458
732         * tree-ssa-copy.c (copy_prop_visit_phi_node): For the first
733         argument use the arguments copy-of value.
734
735 2009-03-28  Richard Guenther  <rguenther@suse.de>
736
737         PR tree-optimization/38180
738         * tree-ssa-ccp.c (get_default_value): Simplify.
739         (likely_value): Likewise.
740         (surely_varying_stmt_p): Properly handle VOP case.
741         (ccp_initialize): Likewise.
742         (ccp_fold): Handle propagating through *&.
743         (fold_const_aggregate_ref): Also handle decls.
744
745 2009-03-28  Jan Hubicka  <jh@suse.cz>
746
747         * cgraph.c (dump_cgraph_node): Add replace output flag by process.
748         * cgraph.h (cgraph_node): Likewise.
749         * cgraphunit.c (cgraph_process_new_functions): Set process flag.
750         (cgraph_reset_node): Use process flag.
751         (cgraph_mark_functions_to_output): Likewise.
752         (cgraph_expand_function): Likewise.
753         (cgraph_expand_all_functions): Likewise.
754         (cgraph_output_in_order): Likewise.
755         * dwarf2out.c (reference_to_unused): Likewise.
756         * passes.c do_per_function_toporder): Likewise.
757
758 2009-03-28  Jan Hubicka  <jh@suse.cz>
759
760         Bring from lto-branch:
761
762         2008-09-03  Doug Kwan  <dougkwan@google.com>
763
764         * cgraphbuild.c (initialize_inline_failed): Use cgraph_inline_failed_t
765         enums instead of reason strings.
766         * cgraph.c (cgraph_create_edge): Same.
767         (cgraph_inline_failed_string): New function.
768         * cgraph.h (cgraph_inline_failed_t): New enum type.
769         (cgraph_inline_failed_string): New prototype.
770         (struct cgraph_edge): Change type of INLINED_FAILED from constant
771         char pointer to cgraph_inline_failed_t.
772         (cgraph_inline_p): Adjust prototype to use cgraph_inline_failed_t.
773         (cgraph_default_inline_p): Ditto.
774         * gcc/cgraphunit.c (cgraph_inline_p): Change type of parameter REASON
775         to cgraph_inline_failed_t pointer.
776         * cif-code.def: New file.
777         * ipa-inline.c (cgraph_mark_inline_edge): Use an enum instead of a
778         reason string.
779         (cgraph_check_inline_limits): Change type of REASON to pointer to
780         cgraph_inline_failed_t.  Replace reason strings with enums.
781         (cgraph_default_inline_p): Ditto.
782         (cgraph_recursive_inlining_p): Ditto.
783         (update_caller_keys): Change type of FAILED_REASON to
784         cgraph_inline_failed_t.
785         (cgraph_set_inline_failed): Change type of REASON to pointer to
786         cgraph_inline_failed_t.  Call cgraph_inline_failed_string to
787         convert enums to strings for text output.
788         (cgraph_decide_inlining_of_small_function): Change FAILED_REASON
789         to be of type cgraph_inline_failed_t.  Replace reason strings with
790         enums.  Call cgraph_inline_failed_string to covert enums
791         to strings for text output.
792         (cgraph_decide_inlining): Replace reason strings with enums.
793         (cgraph_decide_inlining_incrementally): Change type of FAILED_REASON
794         to cgraph_inline_failed_t type.  Call cgraph_inline_failed_string
795         for text output.
796         * tree-inline.c (expand_call_inline): Change type of REASON
797         to cgraph_inline_failed_t.  Replace reason strings with enums.
798         Call cgraph_inline_failed_string for text output.
799         * Makefile.in (CGRAPH_H): Add cif-code.def to dependencies.
800         (cgraph.o): Ditto.
801
802 2009-03-28  Jan Hubicka  <jh@suse.cz>
803
804         * cgraph.c (cgraph_node, cgraph_remove_node, dump_cgraph_node,
805         cgraph_clone_node): Remove master clone handling.
806         (cgraph_is_master_clone, cgraph_master_clone): Remove.
807         * cgraph.h (master_clone): Remove.
808         (cgraph_is_master_clone, cgraph_master_clone): Remove.
809         * ipa-type-escape.c (type_escape_execute): Remove use of master clone.
810         (tree-ssa-structalias.c (ipa_pta_execute): Likewise.
811
812 2009-03-28  Jan Hubicka  <jh@suse.cz>
813
814         * cgraph.c (cgraph_function_body_availability): Functions declared
815         inline are always safe to assume that it is not going to be replaced.
816
817 2009-03-28  Richard Guenther  <rguenther@suse.de>
818
819         PR tree-optimization/38513
820         * tree-ssa-pre.c (eliminate): Remove redundant stores.
821         * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle
822         EXC_PTR_EXPR and FILTER_EXPR.
823         (get_ref_from_reference_ops): Likewise.
824
825 2009-03-28  Richard Guenther  <rguenther@suse.de>
826
827         PR tree-optimization/38968
828         * tree-vect-analyze.c (vect_compute_data_ref_alignment):
829         Use FLOOR_MOD_EXPR to compute misalignment.
830
831 2009-03-28  Richard Guenther  <rguenther@suse.de>
832
833         PR tree-optimization/37795
834         * tree.h (combine_comparisons): Declare.
835         * fold-const.c (combine_comparisons): Export.
836         * tree-ssa-ifcombine.c (ifcombine_ifandif): Optimize two successive
837         comparisons.
838         (ifcombine_iforif): Use combine_comparisons.
839
840 2009-03-28  Jan Hubicka  <jh@suse.cz>
841
842         * tree-eh.c (inlinable_call_p): New function.
843         (make_eh_edges): Use it.
844         (verify_eh_edges): Use it.
845         (stmt_can_throw_external, stmt_can_throw_internal): Use it.
846         * except.c (reachable_next_level): Add inlinable_function argument
847         (sjlj_find_directly_reachable_regions): Update.
848         (add_reachable_handler): Do not set saw_any_handlers.
849         (reachable_next_level): Handle MUST_NOT_THROW more curefully.
850         (foreach_reachable_handler, can_throw_internal_1, can_throw_external_1):
851         Add new inlinable call parameter.
852         (can_throw_internal, can_throw_external): Update.
853         * except.h (can_throw_internal_1, can_throw_external_1,
854         foreach_reachable_handler): Update declaration.
855
856 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
857
858         * config/arm/t-arm-coff, config/h8300/coff.h,
859         config/i386/i386-aout.h, config/i386/i386-coff.h,
860         config/libgloss.h, config/m68k/coff.h, config/m68k/m68k-aout.h,
861         config/pdp11/2bsd.h, config/rs6000/aix41.h,
862         config/rs6000/aix41.opt, config/rs6000/t-newas, config/sh/coff.h,
863         fix-header.c, fixproto, gen-protos.c, protoize.c, scan-decls.c,
864         scan-types.sh, scan.c, scan.h, sort-protos, sys-protos.h,
865         sys-types.h: Remove.
866         * Makefile.in: Remove protoize and fixproto support and references
867         in comments.
868         (SYSCALLS.c.X-warn, TARGET_GETGROUPS_T, STMP_FIXPROTO,
869         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, FIXPROTO_DEFINES):
870         Remove.
871         (ALL_HOST_OBJS): Remove $(PROTO_OBJS).
872         (MOSTLYCLEANFILES): Remove protoize$(exeext) and
873         unprotoize$(exeext).
874         (rest.encap): Don't depend on $(STMP_FIXPROTO)
875         (.PHONY): Don't depend on proto.
876         (libgcc-support): Don't depend on $(STMP_FIXPROTO).
877         (proto, PROTO_OBJS, protoize$(exeext), unprotoize$(exeext),
878         protoize.o, unprotoize.o, SYSCALLS.c.X, test-protoize-simple,
879         deduced.h, GEN_PROTOS_OBJS, build/gen-protos$(build_exeext),
880         build/gen-protos.o, build/scan.o, xsys-protos.h,
881         build/fix-header$(build_exeext), build/fix-header.o,
882         build/scan-decls.o, fixhdr.ready, stmp-fixproto,
883         stmp-install-fixproto): Remove.
884         (mostlyclean): Don't remove xsys-protos.hT, SYSCALLS.c.X,
885         SYSCALLS.c or fixproto files.
886         (install-common): Don't install protoize.
887         (install-headers-tar, install-headers-cpio, install-headers-cp):
888         Don't depend on $(STMP_FIXPROTO).
889         (install-mkheaders): Don't depend on $(STMP_FIXPROTO).  Don't
890         install fixproto files or write out fixproto settings.
891         (uninstall): Don't uninstall protoize.
892         * config.gcc (use_fixproto): Remove.
893         (arm-*-coff*, armel-*-coff*, h8300-*-*, i[34567]86-*-aout*,
894         i[34567]86-*-coff*, m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd,
895         rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
896         * config/m32r/t-linux (STMP_FIXPROTO): Remove.
897         * config/m68k/m68k.c: Remove M68K_TARGET_COFF-conditional code.
898         * config/mips/t-iris (FIXPROTO_DEFINES): Remove.
899         * config/pa/t-pa-hpux (FIXPROTO_DEFINES): Remove.
900         * config/pdp11/pdp11.c: Remove TWO_BSD-conditional code.
901         * config/t-svr4 (FIXPROTO_DEFINES): Remove.
902         * config/t-vxworks (STMP_FIXPROTO): Remove.
903         * configure.ac (AC_TYPE_GETGROUPS, TARGET_GETGROUPS_T,
904         STMP_FIXPROTO): Remove.
905         * config.in, configure: Regenerate.
906         * crtstuff.c (gid_t, uid_t): Don't undefine.
907         * doc/install.texi: Change m68k-coff to m68k-elf in example.
908         (arm-*-coff, arm-*-aout: Remove target entries.
909         (*-ibm-aix*): Mention removal of support for AIX 4.2 and older.
910         Remove mention of AIX 4.1.
911         (m68k-*-*): Remove mention of m68k-*-aout and m68k-*-coff*.
912         * doc/invoke.texi (Running Protoize): Remove.
913         * doc/trouble.texi (Actual Bugs): Remove mention of fixproto.
914         (Protoize Caveats): Remove.
915         * tsystem.h: Update comments on headers assumed to exist.
916
917 2009-03-27  Vladimir Makarov  <vmakarov@redhat.com>
918
919         * genautomata.c: Add a new year to the copyright.  Add a new
920         reference.
921         (struct insn_reserv_decl): Add comments for member bypass_list.
922         (find_bypass): Remove.
923         (insert_bypass): New.
924         (process_decls): Use insert_bypass.
925         (output_internal_insn_latency_func): Output all bypasses with the
926         same input insn in one switch case.
927
928         * rtl.def (define_bypass): Describe bypass choice.
929         * doc/md.texi (define_bypass): Ditto.
930
931 2009-03-27  Richard Guenther  <rguenther@suse.de>
932
933         * gimplify.c (mark_addressable): Export.
934         * tree-flow.h (mark_addressable): Declare.
935         * tree-ssa-loop-manip.c (create_iv): Mark the base addressable.
936         * tree-ssa.c (verify_phi_args): Verify that address taken
937         variables have TREE_ADDRESSABLE set.
938
939 2009-03-27  Richard Guenther  <rguenther@suse.de>
940
941         * fold-const.c (build_fold_addr_expr_with_type_1): Rename back to ...
942         (build_fold_addr_expr_with_type): ... this.  Remove in_fold handling.
943         Do not mark decls TREE_ADDRESSABLE.
944         (build_fold_addr_expr): Adjust.
945         (fold_addr_expr): Remove.
946         (fold_unary): Use build_fold_addr_expr.
947         (fold_comparison): Likewise.
948         (split_address_to_core_and_offset): Likewise.
949         * coverage.c (tree_coverage_counter_addr): Mark the array decl
950         TREE_ADDRESSABLE.
951         * gimplify.c (mark_addressable): Do not exclude RESULT_DECLs.
952         (gimplify_modify_expr_to_memcpy): Mark source and destination
953         addressable.
954         * omp-low.c (create_omp_child_function): Mark the object decl
955         TREE_ADDRESSABLE.
956         (lower_rec_input_clauses): Mark the var we take the address of
957         TREE_ADDRESSABLE.
958         (lower_omp_taskreg): Mark the sender decl TREE_ADDRESSABLE.
959
960 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
961
962         PR middle-end/39315
963         * cfgexpand.c (expand_one_stack_var_at): Change alignment
964         limit to MAX_SUPPORTED_STACK_ALIGNMENT.
965
966 2009-03-27  Richard Guenther  <rguenther@suse.de>
967
968         PR tree-optimization/39120
969         * tree-ssa-structalias.c (handle_rhs_call): Fill out return
970         constraints.
971         (handle_lhs_call): Process return constraints.  Add escape
972         constraints if necessary.
973         (handle_const_call): Fill out return constraints.  Make nested
974         case more precise.  Avoid consttmp if possible.
975         (handle_pure_call): Fill out return constraints.  Avoid
976         callused if possible.
977         (find_func_aliases): Simplify call handling.
978
979 2009-03-27  Richard Guenther  <rguenther@suse.de>
980
981         PR tree-optimization/39120
982         * tree-ssa-structalias.c (do_sd_constraint): Do not use CALLUSED
983         as a representative.
984         (solve_graph): Do propagate CALLUSED.
985         (handle_pure_call): Use a scalar constraint from CALLUSED for
986         the return value.
987         (find_what_p_points_to): CALLUSED shall not appear in poins-to
988         solutions.
989
990 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
991
992         PR c/39323
993         * c-common.c (handle_aligned_attribute): Properly check alignment
994         overflow.  Use (1U << i) instead of (1 << i).
995
996         * emit-rtl.c (get_mem_align_offset): Use "unsigned int" for align.
997
998         * expr.h (get_mem_align_offset): Updated.
999
1000         * tree.h (tree_decl_common): Change align to "unsigned int" and
1001         move it before pointer_alias_set.
1002
1003 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1004             Jakub Jelinek  <jakub@redhat.com>
1005
1006         PR target/38034
1007         * config/ia64/sync.md (cmpxchg_rel_<mode>): Replace input
1008         gr_register_operand with gr_reg_or_0_operand.
1009         (cmpxchg_rel_di): Likewise.
1010         (sync_lock_test_and_set<mode>): Likewise.
1011
1012 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1013
1014         * jump.c (rtx_renumbered_equal_p): Use subreg_get_info.
1015         (true_regnum): Likewise.
1016
1017         * rtlanal.c (subreg_info): Moved to ...
1018         * rtl.h (subreg_info): Here.  New.
1019         (subreg_get_info): New.
1020
1021         * rtlanal.c (subreg_get_info): Make it extern.
1022
1023 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1024
1025         PR target/39472
1026         * config/i386/i386.c (ix86_abi): New.
1027         (override_options): Handle -mabi=.
1028         (ix86_function_arg_regno_p): Replace DEFAULT_ABI with ix86_abi.
1029         (ix86_call_abi_override): Likewise.
1030         (init_cumulative_args): Likewise.
1031         (function_arg_advance): Likewise.
1032         (function_arg_64): Likewise.
1033         (function_arg): Likewise.
1034         (ix86_pass_by_reference): Likewise.
1035         (ix86_function_value_regno_p): Likewise.
1036         (ix86_build_builtin_va_list_abi): Likewise.
1037         (setup_incoming_varargs_64): Likewise.
1038         (is_va_list_char_pointer): Likewise.
1039         (ix86_init_machine_status): Likewise.
1040         (ix86_reg_parm_stack_space): Use enum calling_abi on call_abi.
1041         (ix86_function_type_abi): Return enum calling_abi.  Rewrite
1042         for 64bit.  Replace DEFAULT_ABI with ix86_abi.
1043         (ix86_function_abi): Make it static and return enum calling_abi.
1044         (ix86_cfun_abi): Return enum calling_abi.  Replace DEFAULT_ABI
1045         with ix86_abi.
1046         (ix86_fn_abi_va_list): Updated.
1047
1048         * config/i386/i386.h (ix86_abi): New.
1049         (STACK_BOUNDARY): Replace DEFAULT_ABI with ix86_abi.
1050         (CONDITIONAL_REGISTER_USAGE): Likewise.
1051         (CUMULATIVE_ARGS): Change call_abi type to enum calling_abi.
1052         (machine_function): Likewise.
1053
1054         * config/i386/i386.md (untyped_call): Replace DEFAULT_ABI
1055         with ix86_abi.
1056         * config/i386/cygming.h (TARGET_64BIT_MS_ABI): Likewise.
1057         (STACK_BOUNDARY): Likewise.
1058         * config/i386/mingw32.h (EXTRA_OS_CPP_BUILTINS): Likewise.
1059
1060         * config/i386/i386.opt (mabi=): New.
1061
1062         * config/i386/i386-protos.h (ix86_cfun_abi): Changed to
1063         return enum calling_abi.
1064         (ix86_function_type_abi): Likewise.
1065         (ix86_function_abi): Removed.
1066
1067         * doc/invoke.texi: Document -mabi= option for x86.
1068
1069 2009-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1070
1071         * builtins.c (real_dconstp): Delete.
1072         (fold_builtin_logarithm): Remove inaccurate log(e) special case.
1073
1074 2009-03-27  Dodji Seketeli  <dodji@redhat.com>
1075             Jakub Jelinek  <jakub@redhat.com>
1076
1077         PR debug/37959
1078         * dwarf2out.c (dwarf_attr_name): Handle DW_AT_explicit attribute.
1079         (gen_subprogram_die): When a function is explicit, generate the
1080         DW_AT_explicit attribute.
1081         * langhooks.h (struct lang_hooks_for_decls): Add
1082         function_decl_explicit_p langhook.
1083         * langhooks-def.h (LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P): Define.
1084         (LANG_HOOKS_DECLS): Add LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P.
1085
1086 2009-03-27  Jakub Jelinek  <jakub@redhat.com>
1087
1088         * builtins.c (fold_builtin_memory_op): Optimize memmove
1089         into memcpy if we can prove source and destination don't overlap.
1090
1091         * tree-inline.c: Include gt-tree-inline.h.
1092         (clone_fn_id_num): New variable.
1093         (clone_function_name): New function.
1094         (tree_function_versioning): Use it.
1095         * Makefile.in (GTFILES): Add tree-inline.c.
1096
1097 2009-03-27  Mark Mitchell  <mark@codesourcery.com>
1098
1099         * BASE-VER: Change to 4.5.0.
1100
1101 2009-03-27  Xinliang David Li  <davidxl@google.com>
1102
1103         PR tree-optimization/39557
1104         * tree-ssa.c (warn_uninitialized_vars): free postdom info.
1105
1106 2009-03-27  Xinliang David Li  <davidxl@google.com>
1107
1108         PR tree-optimization/39548
1109         * tree-ssa-copy.c (copy_prop_visit_phi_node): Add copy 
1110         candidate check.
1111
1112 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1113
1114         * c-common.c (pointer_int_sum): Use %wd on return from
1115         tree_low_cst.
1116
1117 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1118
1119         * c-common.c (pointer_int_sum): Use HOST_WIDE_INT_PRINT_DEC
1120         on return from tree_low_cst.
1121
1122 2009-03-27  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1123
1124         PR c++/36799
1125         * ginclude/stdarg.h (va_copy): Define also for
1126         __GXX_EXPERIMENTAL_CXX0X__.
1127
1128 2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1129
1130         PR c++/35652
1131         * builtins.h (c_strlen): Do not warn here.
1132         * c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum.
1133         * c-common.c (pointer_int_sum): Take an explicit location.
1134         Warn about offsets out of bounds.
1135         * c-common.h (pointer_int_sum): Adjust declaration.
1136
1137 2009-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1138
1139         * doc/invoke.texi (i386 and x86-64 Windows Options): Fix texinfo
1140         markup glitch.
1141
1142 2009-03-26  Jakub Jelinek  <jakub@redhat.com>
1143
1144         PR c++/39554
1145         * opts.c (warn_if_disallowed_function_p): Don't assume
1146         get_callee_fndecl must return non-NULL.
1147
1148 2009-03-26  Vladimir Makarov  <vmakarov@redhat.com>
1149
1150         PR rtl-optimization/39522
1151         * reload1.c (reload_as_needed): Invalidate reg_last_reload_reg too
1152         when reg_reloaded_valid is set.
1153
1154 2009-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1155
1156         * config/spu/divv2df3.c: New file.
1157         * config/spu/t-spu-elf (LIB2FUNCS_STATIC_EXTRA): Add it.
1158         (DPBIT_FUNCS): Filter out _div_df.
1159
1160 2009-03-26  Bernd Schmidt  <bernd.schmidt@analog.com>
1161
1162         * config/bfin/bfin.c (bfin_optimize_loop): If the LSETUP goes before
1163         a jump insn, count that jump in the distance to the loop start.
1164
1165 2009-03-25  Kaz Kojima  <kkojima@gcc.gnu.org>
1166
1167         PR target/39523
1168         * config/sh/sh.c (calc_live_regs): Fix condition for global
1169         registers except PIC_OFFSET_TABLE_REGNUM.
1170
1171 2009-03-25  Kai Tietz  <kai.tietz@onevision.com>
1172
1173         PR/39518
1174         * doc/invoke.texi (-mconsole): New.
1175         (-mcygwin): New.
1176         (-mno-cygwin): New.
1177         (-mdll): New.
1178         (-mnop-fun-dllimport): New.
1179         (-mthread): New.
1180         (-mwin32): New.
1181         (-mwindows): New.
1182         (sub section "i386 and x86-64 Windows Options"): New.
1183
1184 2009-03-25  Ralf Cors├ępius <ralf.corsepius@rtems.org>
1185
1186         * config/arm/rtems-elf.h: Remove LINK_GCC_C_SEQUENCE_SPEC.
1187         * config/rs6000/t-rtems: Remove MULTILIB_EXTRA_OPTS.
1188
1189 2009-03-25  Richard Guenther  <rguenther@suse.de>
1190
1191         PR middle-end/39497
1192         * Makefile.in (dfp.o-warn): Use -fno-strict-aliasing instead
1193         of -Wno-error.
1194
1195 2009-03-25  Andrey Belevantsev  <abel@ispras.ru>
1196
1197         * config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when
1198         neither of haifa/selective schedulers are working.
1199
1200 2009-03-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1201
1202         * doc/invoke.texi (Debugging Options): Fix description of
1203         -fno-merge-debug-strings.
1204
1205 2009-03-24  Hans-Peter Nilsson  <hp@axis.com>
1206
1207         * config/cris/libgcc.ver: New version-script.
1208         * config/cris/t-linux (SHLIB_MAPFILES): Use it.
1209
1210         * configure.ac <GAS features, nop mnemonic>: Add pattern
1211         crisv32-*-* for "nop".
1212         <GAS features, Thread-local storage>: Add item for CRIS and CRIS v32.
1213         * configure: Regenerate.
1214
1215 2009-03-24  Ira Rosen  <irar@il.ibm.com>
1216
1217         PR tree-optimization/39529
1218         * tree-vect-transform.c (vect_create_data_ref_ptr): Call
1219         mark_sym_for_renaming for the tag copied to the new vector
1220         pointer.
1221
1222 2009-03-24  Arthur Loiret  <aloiret@debian.org>
1223
1224         * config.host (alpha*-*-linux*): Use driver-alpha.o and alpha/x-alpha.
1225         * config/alpha/linux.h (host_detect_local_cpu): Declare, add to
1226         EXTRA_SPEC_FUNCTIONS.
1227         (MCPU_MTUNE_NATIVE_SPECS, DRIVER_SELF_SPECS): New macros.
1228         * config/alpha/driver-alpha.c, config/alpha/x-alpha: New.
1229         * doc/invoke.texi (DEC Alpha Options): Document 'native' value for
1230         -march and -mtune options.
1231
1232 2009-03-24  Ralf Cors├ępius <ralf.corsepius@rtems.org>
1233
1234         * config/m68k/t-rtems: Add m5329 multilib.
1235
1236 2009-03-24  Dodji Seketeli  <dodji@redhat.com>
1237             Jakub Jelinek  <jakub@redhat.com>
1238
1239         PR debug/39524
1240         * dwarf2out.c (gen_variable_die): Avoid adding duplicate declaration
1241         nodes.
1242
1243 2009-03-23  Jakub Jelinek  <jakub@redhat.com>
1244
1245         PR c/39495
1246         * c-parser.c (c_parser_omp_for_loop): Call c_parser_binary_expression
1247         instead of c_parser_expression_conv, if original_code isn't one of the
1248         4 allowed comparison codes, fail.
1249
1250 2009-03-23  Richard Guenther  <rguenther@suse.de>
1251
1252         * cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts.
1253         * tree.h (struct tree_type): Likewise.
1254         * reload.h (struct insn_chain): Likewise.
1255         * dwarf2out.c (struct dw_loc_descr_struct): Likewise.
1256         * function.h (struct function): Likewise.
1257         * tree-ssa-structalias.c (struct equiv_class_label): Likewise.
1258
1259 2009-03-23  Jakub Jelinek  <jakub@redhat.com>
1260
1261         PR tree-optimization/39516
1262         * lambda-code.c (perfect_nestify): Fix type of the uboundvar variable.
1263
1264 2009-03-23 Bingfeng Mei  <bmei@broadcom.com>
1265
1266         * config.gcc (need_64bit_hwint): Make clear that need_64bit_hwint 
1267         should be set true if BITS_PER_WORD of target is bigger than 32
1268
1269 2009-03-22  Hans-Peter Nilsson  <hp@axis.com>
1270
1271         * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC):
1272         Translate -B-options to -rpath-link.  Correct existing
1273         rpath-link and conditionalize on !nostdlib.
1274
1275 2009-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1276
1277         * doc/extend.texi (Function Attributes, Variable Attributes):
1278         Fix typos.
1279         * doc/invoke.texi (Debugging Options, Optimize Options)
1280         (i386 and x86-64 Options, MCore Options): Likewise.
1281
1282 2009-03-20  Jakub Jelinek  <jakub@redhat.com>
1283
1284         PR debug/37890
1285         * dwarf2out.c (gen_namespace_die): Add context_die argument and use
1286         it for block local namespace aliases.
1287         (gen_decl_die): Pass context_die to gen_namespace_die.
1288
1289 2009-03-19  Jakub Jelinek  <jakub@redhat.com>
1290
1291         PR c/39495
1292         * c-omp.c (c_finish_omp_for): Allow NE_EXPR with TREE_TYPE (decl)'s
1293         minimum or maximum value.
1294
1295 2009-03-19  Alexandre Oliva  <aoliva@redhat.com>
1296
1297         * reginfo.c (globalize_reg): Recompute derived reg sets.
1298
1299 2009-03-19  Ozkan Sezer <sezeroz@gmail.com>
1300
1301         PR target/39063
1302         * libgcc2.c (mprotect): Do not use signed arguments for
1303         VirtualProtect, use DWORD arguments.  Also fix the 'may
1304         be used uninitialized' warning for the np variable.
1305
1306 2009-03-19  Jakub Jelinek  <jakub@redhat.com>
1307
1308         PR target/39496
1309         * config/i386/i386.c (ix86_function_regparm): Don't optimize local
1310         functions using regparm calling conventions when not optimizing.
1311         (ix86_function_sseregparm): Similarly for sseregparm calling
1312         conventions.
1313
1314 2009-03-19  Li Feng  <nemokingdom@gmail.com>
1315
1316         PR middle-end/39500
1317         * tree-data-ref.c (analyze_subscript_affine_affine): There is no
1318         dependence if the first conflict is after niter iterations.
1319
1320 2009-03-19  Hans-Peter Nilsson  <hp@axis.com>
1321
1322         PR middle-end/38609
1323         * config/cris/cris.h (FRAME_POINTER_REQUIRED): Force for all
1324         functions with dynamic stack-pointer adjustments.
1325
1326 2009-03-19  Ben Elliston  <bje@au.ibm.com>
1327
1328         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix -msdata-data
1329         option; change to -msdata=data.
1330
1331 2009-03-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1332
1333         * c.opt: Unify help texts for -Wdeprecated, -Wsystem-headers,
1334         and -fopenmp.
1335
1336 2009-03-18  Eric Botcazou  <ebotcazou@adacore.com>
1337
1338         PR target/35180
1339         * config/sparc/sparc.md (do_builtin_setjmp_setup): Prettify asm output.
1340
1341 2009-03-18  Sandra Loosemore  <sandra@codesourcery.com>
1342
1343         * doc/invoke.texi (Code Gen Options): Expand discussion of
1344         -fno-common.
1345
1346 2009-03-18  Jakub Jelinek  <jakub@redhat.com>
1347
1348         * dse.c (struct group_info): Reorder fields for 64-bit hosts.
1349         * matrix-reorg.c (struct matrix_info): Likewise.
1350         * tree-ssa-loop-ivopts.c (struct ivopts_data): Likewise.
1351         * rtl.h (struct mem_attrs): Likewise.
1352         * df.h (struct df): Likewise.
1353         * tree-data-ref.h (struct data_dependence_relation): Likewise.
1354         * ira-int.h (struct ira_allocno): Likewise.
1355         * df-scan.c (struct df_collection_rec): Likewise.
1356         * ira.c (struct equivalence): Likewise.
1357         * function.c (struct temp_slot): Likewise.
1358         * cfgloop.h (struct loop): Likewise.
1359
1360         PR debug/39485
1361         * function.c (use_register_for_decl): When not optimizing, disregard
1362         register keyword for variables with types containing methods.
1363
1364 2009-03-18  Sebastian Pop  <sebastian.pop@amd.com>
1365
1366         PR middle-end/39447
1367         * graphite.c (exclude_component_ref): Renamed contains_component_ref_p.
1368         (is_simple_operand): Call contains_component_ref_p before calling data
1369         reference analysis that would fail on COMPONENT_REFs.
1370
1371         * tree-vrp.c (search_for_addr_array): Fix formatting.
1372
1373 2009-03-18  Richard Guenther  <rguenther@suse.de>
1374
1375         * tree-vect-transform.c (vect_loop_versioning): Fold the
1376         generated comparisons.
1377         * tree-vectorizer.c (set_prologue_iterations): Likewise.
1378         (slpeel_tree_peel_loop_to_edge): Likewise.
1379
1380 2009-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1381
1382         PR middle-end/37805
1383         * opts.c (print_specific_help): In addition to `undocumented',
1384         accept `separate' and `joined' flags if passed alone.  Describe
1385         output by the first matched one of those.
1386         (common_handle_option): Skip over empty strings.
1387         * gcc.c (display_help): Fix help string for `--help='.
1388         * doc/invoke.texi (Option Summary, Overall Options): With
1389         `--help=', classes and qualifiers can both be repeated, but
1390         only the latter can be negated.  One should not pass only
1391         negated qualifiers.  Fix markup and examples.
1392
1393         Revert
1394         2008-10-14  Jakub Jelinek  <jakub@redhat.com>
1395         PR middle-end/37805
1396         * opts.c (common_handle_option): Don't ICE on -fhelp=joined
1397         and -fhelp=separate.
1398
1399 2009-03-17  Jing Yu  <jingyu@google.com>
1400
1401         PR middle-end/39378
1402         * function.h (struct rtl_data): Move is_thunk from here...
1403         (struct function): ...to here.
1404         * cp/method.c (use_thunk): Change is_thunk from crtl to cfun.
1405         * varasm.c (assemble_start_function): Change is_thunk from crtl to
1406         cfun.
1407         * config/alpha/alpha.c (alpha_sa_mask): Change is_thunk from crtl to
1408         cfun.
1409         (alpha_does_function_need_gp, alpha_start_function): Likewise.
1410         (alpha_output_function_end_prologue): Likewise.
1411         (alpha_end_function, alpha_output_mi_thunk_osf): Likewise.
1412         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likewise.
1413         (rs6000_output_function_epilogue): Likewise.
1414         * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Likewise.
1415
1416 2009-03-17  Uros Bizjak  <ubizjak@gmail.com>
1417
1418         PR target/39482
1419         * config/i386/i386.md (*truncdfsf_mixed): Avoid combining registers
1420         from different units in a single alternative.
1421         (*truncdfsf_i387): Ditto.
1422         (*truncxfsf2_mixed): Ditto.
1423         (*truncxfdf2_mixed): Ditto.
1424
1425 2009-03-17  Jakub Jelinek  <jakub@redhat.com>
1426
1427         * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Allow
1428         non-NAMESPACE_DECL IMPORTED_DECL_ASSOCIATED_DECL.
1429
1430         PR debug/39474
1431         * tree-ssa-live.c (remove_unused_locals): Don't remove local
1432         unused non-artificial variables when not optimizing.
1433
1434         PR debug/39471
1435         * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Emit
1436         DW_TAG_imported_module even if decl is IMPORTED_DECL with
1437         NAMESPACE_DECL in its DECL_INITIAL.
1438
1439         PR middle-end/39443
1440         * optabs.c (set_user_assembler_libfunc): New function.
1441         * expr.h (set_user_assembler_libfunc): New prototype.
1442         * c-common.c: Include libfuncs.h.
1443         (set_builtin_user_assembler_name): Call set_user_assembler_libfunc
1444         for memcmp, memset, memcpy, memmove and abort.
1445         * Makefile.in (c-common.o): Depend on libfuncs.h.
1446
1447         PR debug/39412
1448         * dwarf2out.c (gen_inlined_enumeration_type_die,
1449         gen_inlined_structure_type_die, gen_inlined_union_type_die,
1450         gen_tagged_type_instantiation_die): Removed.
1451         (gen_decl_die): For TYPE_DECL_IS_STUB with non-NULL decl_origin
1452         do nothing.
1453
1454 2009-03-17  Janis Johnson  <janis187@us.ibm.com>
1455
1456         PR testsuite/38526
1457         * Makefile.in (site.exp): Rename TEST_GCC_EXEC_PREFIX and comment
1458         its use.
1459         (check-%): Don't set GCC_EXEC_PREFIX when invoking runtest.
1460         (check-parallel-%): Ditto.
1461         (check-consistency): Ditto.
1462
1463 2009-03-17  Kai Tietz  <kai.tietz@onevision.com>
1464
1465         * ipa-struct-reorg.c (create_general_new_stmt): Initialize
1466         local variable rhs by NULL_TREE.
1467
1468 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1469
1470         PR target/39477
1471         * doc/extend.texi: Correct register behavior for regparm on Intel 386.
1472
1473 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1474
1475         PR target/39476
1476         * config/i386/i386.c (ix86_function_regparm): Rewrite for 64bit.
1477
1478 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1479
1480         PR target/39473
1481         * config/i386/i386.c (ix86_expand_call): Check extra clobbers
1482         for ms->sysv ABI calls only in 64bit mode.
1483
1484         * config/i386/i386.md (untyped_call): Support 32bit.
1485
1486 2009-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1487
1488         * doc/extend.texi: Replace x86_65 with x86_64.
1489
1490 2009-03-16  Jakub Jelinek  <jakub@redhat.com>
1491
1492         PR tree-optimization/39455
1493         * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Fix types
1494         mismatches for POINTER_TYPE_P (type).
1495         (number_of_iterations_le): Likewise.
1496
1497 2009-03-16  Hariharan Sandanagobalane <hariharan@picochip.com>
1498
1499         * config/picochip/picochip.c: Removed profiling support.
1500         * config/picochip/picochip.md: Removed profiling instruction.
1501         * config/picochip/picochip.h: Removed profiling builtin.
1502
1503 2009-03-16  Joseph Myers  <joseph@codesourcery.com>
1504
1505         * doc/install.texi (--with-host-libstdcxx): Document.
1506
1507 2009-03-14  Anatoly Sokolov  <aesok@post.ru>
1508
1509         PR target/34299
1510         * config/avr/avr.c (avr_handle_fndecl_attribute): Move code for
1511         generate a warning if the function name does not begin with
1512         "__vector" and the function has either the 'signal' or 'interrupt'
1513         attribute, from here to ...
1514         (avr_declare_function_name): ...here. New function.
1515         * config/avr/avr.h (ASM_DECLARE_FUNCTION_NAME): Redefine.
1516         * config/avr/avr-protos.h (avr_declare_function_name): Declare.
1517
1518 2009-03-14  Jakub Jelinek  <jakub@redhat.com>
1519
1520         PR bootstrap/39454
1521         * cse.c (fold_rtx): Don't modify original const_arg1 when
1522         canonicalizing SHIFT_COUNT_TRUNCATED shift count, do it on a
1523         separate variable instead.
1524         * rtlanal.c (nonzero_bits1) <case ASHIFTRT>: Don't assume anything
1525         from out of range shift counts.
1526         (num_sign_bit_copies1) <case ASHIFTRT, case ASHIFT>: Similarly.
1527
1528 2008-03-13  Catherine Moore  <clm@codesourcery.com>
1529
1530         * gcc/config/i386/x-mingw32 (host-mingw32.o): Replace
1531         diagnostic.h with $(DIAGNOSTIC_H).
1532
1533 2008-03-12  Jakub Jelinek  <jakub@redhat.com>
1534
1535         PR target/39431
1536         * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): New
1537         predicate.
1538         * config/i386/sync.md (sync_compare_and_swap<mode>,
1539         sync_compare_and_swap_cc<mode>): For DImode with -m32 -fpic check
1540         if operands[1] is cmpxchg8b_pic_memory_operand, if not force address
1541         into a register.
1542         (sync_double_compare_and_swapdi_pic,
1543         sync_double_compare_and_swap_ccdi_pic): Require operand 1 to be
1544         cmpxchg8b_pic_memory_operand instead of just memory_operand.
1545
1546 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
1547
1548         PR target/39445
1549         * config/i386/i386.c (ix86_expand_push): Don't set memory alignment.
1550
1551 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
1552
1553         PR target/39327
1554         * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
1555         (avx_addsubv4df3): Likewise.
1556         (*avx_addsubv4sf3): Likewise.
1557         (sse3_addsubv4sf3): Likewise.
1558
1559 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
1560
1561         PR target/38824
1562         * config/i386/i386.md: Compare REGNO on the new peephole2 patterns.
1563
1564 2009-03-12  Vladimir Makarov  <vmakarov@redhat.com>
1565
1566         PR debug/39432
1567         * ira-int.h (struct allocno): Fix comment for calls_crossed_num.
1568         * ira-conflicts.c (ira_build_conflicts): Prohibit call used
1569         registers for allocnos created from user-defined variables.
1570
1571 2009-03-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1572
1573         PR target/39181
1574         * config/spu/spu.c (spu_expand_mov): Handle invalid subregs
1575         of non-integer mode as well.
1576
1577 2009-03-11  Adam Nemet  <anemet@caviumnetworks.com>
1578
1579         * gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P
1580         for functions for which the parameter types are unknown.
1581
1582 2009-03-11  Jakub Jelinek  <jakub@redhat.com>
1583
1584         PR target/39137
1585         * cfgexpand.c (get_decl_align_unit): Use LOCAL_DECL_ALIGNMENT macro.
1586         * defaults.h (LOCAL_DECL_ALIGNMENT): Define if not yet defined.
1587         * config/i386/i386.h (LOCAL_DECL_ALIGNMENT): Define.
1588         * config/i386/i386.c (ix86_local_alignment): For
1589         -m32 -mpreferred-stack-boundary=2 use 32-bit alignment for
1590         long long variables on the stack to avoid dynamic realignment.
1591         Allow the first argument to be a decl rather than type.
1592         * doc/tm.texi (LOCAL_DECL_ALIGNMENT): Document.
1593
1594 2009-03-11  Nick Clifton  <nickc@redhat.com>
1595
1596         PR target/5362
1597         * config/mcore/mcore.opt: Remove deprecated m4align and m8align
1598         options.
1599         Add description to mno-lsim option.
1600         * config/mcore/mcore.h: Remove comment about deprecated m4align
1601         option.
1602         (TARGET_DEFAULT): Remove deprecated MASK_M8ALIGN.
1603         * doc/invoke.texi: Add description of mno-lsim and
1604         mstack-increment options.
1605
1606         * config/fr30/fr30.opt: Document the -mno-lsim option.
1607         * doc/invoke.texi: Add descriptions of the FR30's -msmall-model
1608         and -mno-lsim options.
1609
1610 2009-03-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1611
1612         * fold-const.c (fold_comparison): Only call fold_inf_compare
1613         if the mode supports infinities.
1614
1615 2009-03-11  Jason Merrill  <jason@redhat.com>
1616
1617         PR debug/39086
1618         * tree-nrv.c (tree_nrv): Don't do this optimization if the front
1619         end already did.  Notice GIMPLE_CALL modifications of the result.
1620         Don't copy debug information from an ignored decl or a decl from
1621         another function.
1622
1623 2009-03-10  Richard Guenther  <rguenther@suse.de>
1624             Nathan Froyd  <froydnj@codesourcery.com>
1625
1626         PR middle-end/37850
1627         * libgcc2.c (__mulMODE3): Use explicit assignments to form the result.
1628         (__divMODE3): Likewise.
1629
1630 2009-03-09  Jakub Jelinek  <jakub@redhat.com>
1631
1632         PR tree-optimization/39394
1633         * gimplify.c (gimplify_type_sizes): Gimplify DECL_SIZE and
1634         DECL_SIZE_UNIT of variable length FIELD_DECLs.
1635
1636 2009-03-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1637
1638         * recog.c (verfiy_changes): Disallow renaming of hard regs in
1639         inline asms for register asm ("") declarations.
1640
1641 2009-03-09  Eric Botcazou  <ebotcazou@adacore.com>
1642
1643         * fold-const.c (fold_unary): Fix comment.
1644
1645 2009-03-07  Jan Hubicka  <jh@suse.cz>
1646
1647         PR target/39361
1648         * tree-inline.c (setup_one_parameter): Do replacement of const
1649         argument by constant in SSA form.
1650
1651 2009-03-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1652
1653         PR middle-end/38028
1654         * function.c (assign_parm_setup_stack): Use STACK_SLOT_ALIGNMENT to
1655         determine alignment passed to assign_stack_local.
1656         (assign_parms_unsplit_complex): Likewise.
1657         * except.c (sjlj_build_landing_pads): Likewise.
1658
1659 2009-03-06  Jakub Jelinek  <jakub@redhat.com>
1660
1661         PR middle-end/39360
1662         * tree-flow.h (add_referenced_var): Return bool instead of void.
1663         * tree-dfa.c (add_referenced_var): Return result of
1664         referenced_var_check_and_insert call.
1665         * tree-inline.c (expand_call_inline): Call add_referenced_var instead
1666         of referenced_var_check_and_insert.
1667
1668         PR debug/39372
1669         * dwarf2out.c (add_abstract_origin_attribute): Return origin_die.
1670         (gen_variable_die): Emit DW_AT_location on abstract static variable's
1671         DIE, don't emit it if abstract origin already has it.
1672         * tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any
1673         BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless.
1674
1675 2009-03-06  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
1676
1677         * genpreds.c (needs_variable): Fix parentheses at variable name
1678         detection.
1679         (write_tm_constrs_h): Indent generated code.
1680
1681 2009-03-06  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1682
1683         * doc/extend.texi (Function Attributes): Add documentation
1684         for isr attributes.
1685
1686 2009-03-06  Jakub Jelinek  <jakub@redhat.com>
1687
1688         PR debug/39387
1689         * dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL
1690         take locus from its DECL_SOURCE_LOCATION instead of input_location.
1691
1692 2009-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
1693
1694         * config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark
1695         the loop as bad.
1696
1697 2009-03-05  Jakub Jelinek  <jakub@redhat.com>
1698
1699         PR debug/39379
1700         * tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs
1701         with blocks containing IMPORTED_DECLs in BLOCK_VARS.
1702
1703 2009-03-05  Uros Bizjak  <ubizjak@gmail.com>
1704
1705         * config/i386/i386.md (R8_REG, R9_REG): New constants.
1706         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named
1707         constants instead of magic numbers.
1708         (HARD_REGNO_CALLER_SAVE_MODE): Ditto.
1709         (QI_REG_P): Ditto.
1710         * config/i386/i386.c (x86_64_int_parameter_registers): Ditto.
1711         (x86_64_ms_abi_int_parameter_registers): Ditto.
1712         (x86_64_int_return_registers): Ditto.
1713         (ix86_maybe_switch_abi): Ditto.
1714         (ix86_expand_call): Ditto for clobbered_registers array.
1715         (ix86_hard_regno_mode_ok): Ditto.
1716         (x86_extended_QIreg_mentioned_p): Ditto.
1717
1718 2009-03-05  J"orn Rennecke  <joern.rennecke@arc.com>
1719
1720         PR tree-optimization/39349
1721         * cse.c (cse_insn): Fix loop to stop at VOIDmode.
1722
1723         * combine.c (gen_lowpart_for_combine): Use omode when generating
1724         clobber.
1725
1726 2009-03-04  J"orn Rennecke  <joern.rennecke@arc.com>
1727
1728         PR rtl-optimization/39235
1729         * loop-iv.c (get_simple_loop_desc): Use XCNEW.
1730
1731 2009-03-04  Zdenek Dvorak  <ook@ucw.cz>
1732
1733         * graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
1734
1735 2009-03-04  Richard Guenther  <rguenther@suse.de>
1736
1737         PR tree-optimization/39362
1738         * tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs
1739         that occur in abnormal PHIs should be varying.
1740
1741 2009-03-04  Zdenek Dvorak  <ook@ucw.cz>
1742
1743         * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop):
1744         Extend comments.
1745         (simple_iv):  Take loop as an argument instead of statement.
1746         * tree-scalar-evolution.h (simple_iv): Declaration changed.
1747         * tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls
1748         to simple_iv.
1749         * tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev):
1750         Ditto.
1751         * tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto.
1752         * matrix-reorg.c (analyze_transpose): Ditto.
1753         * tree-data-ref.c (dr_analyze_innermost): Ditto.
1754         * tree-vect-analyze.c (vect_analyze_data_refs): Ditto.
1755         * tree-predcom.c (ref_at_iteration): Ditto.
1756         * tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
1757
1758 2009-03-04  Richard Guenther  <rguenther@suse.de>
1759
1760         PR tree-optimization/39358
1761         * tree-ssa-structalias.c (do_sd_constraint): Fix check for
1762         escaped_id and callused_id.
1763         (solve_graph): Likewise.
1764
1765 2009-03-04  Richard Guenther  <rguenther@suse.de>
1766
1767         PR tree-optimization/39339
1768         * tree-sra.c (try_instantiate_multiple_fields): Make it
1769         no longer ICE on the above.
1770
1771 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
1772
1773         * emit-rtl.c (adjust_address_1): Reduce offset to a signed value
1774         that fits within Pmode.
1775
1776 2009-03-03  Steve Ellcey  <sje@cup.hp.com>
1777
1778         PR middle-end/10109
1779         * tm.texi (LIBCALL_VALUE): Update description.
1780
1781 2009-03-03  Steve Ellcey  <sje@cup.hp.com>
1782
1783         PR middle-end/34443
1784         * doc/extend.texi (section): Update description.
1785
1786 2009-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1787
1788         PR middle-end/39345
1789         * tree-inline.c (remapped_type): New.
1790         (can_be_nonlocal): Call remapped_type instead of remap_type.
1791
1792 2009-03-03  Jakub Jelinek  <jakub@redhat.com>
1793
1794         PR fortran/39354
1795         * gimplify.c (goa_stabilize_expr): Handle tcc_comparison,
1796         TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
1797
1798 2009-03-03  Richard Guenther  <rguenther@suse.de>
1799
1800         PR middle-end/39272
1801         * tree.c (tree_nonartificial_location): New function.
1802         * tree.h (tree_nonartificial_location): Declare.
1803         * builtins.c (expand_builtin_memory_chk): Provide location
1804         of the call location for artificial function pieces.
1805         (maybe_emit_chk_warning): Likewise.
1806         (maybe_emit_sprintf_chk_warning): Likewise.
1807         (maybe_emit_free_warning): Likewise.
1808         * expr.c (expand_expr_real_1): Likewise.
1809
1810 2009-03-03  Jakub Jelinek  <jakub@redhat.com>
1811
1812         PR tree-optimization/39343
1813         * tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if
1814         COMPONENT_REF t has ARRAY_TYPE.
1815
1816 2009-03-02  Sebastian Pop  <sebastian.pop@amd.com>
1817
1818         PR middle-end/39335
1819         * tree-parloops.c (canonicalize_loop_ivs): Call fold_convert
1820         when the type precision of the induction variable should be
1821         larger than the type precision of nit.
1822         (gen_parallel_loop): Update use of canonicalize_loop_ivs.
1823         * graphite.c (graphite_loop_normal_form): Same.
1824         * tree-flow.h (canonicalize_loop_ivs): Update declaration.
1825
1826 2009-03-02  Uros Bizjak  <ubizjak@gmail.com>
1827
1828         * config/i386/i386.md (ST?_REG, MM?_REG): New constants.
1829         (*call_1_rex64_ms_sysv): Use named constants instead of magic
1830         numbers to describe clobbered registers.
1831         (*call_value_0_rex64_ms_sysv): Ditto.
1832         * config/i386/mmx.md (mmx_emms): Ditto.
1833         (mmx_femms): Ditto.
1834
1835 2009-03-02  Richard Sandiford  <rdsandiford@googlemail.com>
1836
1837         * config/mips/mips.c (mips_mdebug_abi_name): Fix the handling
1838         of ABI_64.
1839
1840 2009-03-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1841
1842         * config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
1843         (spu_section_type_flags): New function.
1844
1845 2009-03-02  Uros Bizjak  <ubizjak@gmail.com>
1846
1847         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
1848         reg_class_contents of FLOAT_REGS into a temporary.
1849
1850 2009-03-02  Richard Guenther  <rguenther@suse.de>
1851             Ira Rosen  <irar@il.ibm.com>
1852
1853         PR tree-optimization/39318
1854         * tree-vect-transform.c (vectorizable_call): Transfer the EH region
1855         information to the vectorized statement.
1856
1857 2009-03-01  Uros Bizjak  <ubizjak@gmail.com>
1858
1859         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i"
1860         variable.  Use defined names instead of magic constants for REX SSE
1861         registers.
1862
1863 2009-03-01  Richard Guenther  <rguenther@suse.de>
1864
1865         PR tree-optimization/39331
1866         * omp-low.c (lower_send_shared_vars): Do not receive new
1867         values for the reference of DECL_BY_REFERENCE parms or results.
1868
1869 2009-03-01  Jan Hubicka  <jh@suse.cz>
1870
1871         PR debug/39267
1872         * tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS,
1873         BLOCK_NONLOCALIZED_VAR): New macros.
1874         (tree_block): Add nonlocalized_vars.
1875         * dwarf2out.c (gen_formal_parameter_die, gen_variable_die,
1876         gen_decl_die): Add origin argument.  Allow generation of die with
1877         origin at hand only.
1878         (gen_member_die, gen_type_die_with_usage, force_decl_die,
1879         declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use
1880         of gen_*.
1881         (gen_block_die): Fix checking for unused blocks.
1882         (process_scope_var): Break out from .... ; work with origins only.
1883         (decls_for_scope) ... here; process nonlocalized list.
1884         (dwarf2out_ignore_block): Look for nonlocalized vars.
1885         * tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized
1886         vars.
1887         (dump_scope_block): Dump them.
1888         * tree-inline.c (remap_decls): Handle nonlocalized vars.
1889         (remap_block): Likewise.
1890         (can_be_nonlocal): New predicate.
1891         (copy_bind_expr, copy_gimple_bind): Update use of remap_block.
1892
1893 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1894
1895         * configure: Regenerate.
1896
1897 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1898
1899         * optc-gen.awk: No need to duplicate option flags twice.
1900         Reuse help texts for duplicate options which do not have any.
1901
1902         * gcc.c (display_help): Document --version.
1903
1904         * gcc.c (main): If print_help_list and verbose_flag, ensure
1905         driver output comes before subprocess output.
1906
1907         * optc-gen.awk: Assign all remaining fields to help string,
1908         space-separated, for multi-line help in *.opt.
1909
1910         * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
1911         -Wno-pedantic-ms-format is for MinGW targets only.
1912
1913         * doc/options.texi (Option file format): Fix bad indentation,
1914         restoring dropped sentence.
1915
1916 2009-02-28  Jan Hubicka  <jh@suse.cz>
1917
1918         * tree-inline.c (tree_function_versioning): Output debug info.
1919
1920 2009-02-28  Jan Hubicka  <jh@suse.cz>
1921
1922         PR debug/39267
1923         * tree-inline.c (setup_one_parameter): Do not copy propagate
1924         arguments when not optimizing.
1925
1926 2009-02-28  H.J. Lu  <hongjiu.lu@intel.com>
1927
1928         PR target/39327
1929         * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
1930         (avx_addsubv4df3): Likewise.
1931         (*avx_addsubv4sf3): Likewise.
1932         (sse3_addsubv4sf3): Likewise.
1933         (*avx_addsubv2df3): Likewise.
1934         (sse3_addsubv2df3): Likewise.
1935         (avx_unpckhps256): Correct item selectors.
1936         (avx_unpcklps256): Likewise.
1937         (avx_unpckhpd256): Likewise.
1938         (avx_unpcklpd256): Likewise.
1939
1940 2009-02-28  Jan Hubicka  <jh@suse.cz>
1941
1942         * tree-inline.c (expand_call_inline): Avoid duplicate declarations of
1943         static vars.
1944         (copy_arguments_for_versioning): If var is declared don't declare it.
1945         (tree_function_versioning): First setup substitutions and then copy
1946         args.
1947
1948 2009-02-27  Jan Hubicka  <jh@suse.cz>
1949
1950         PR debug/39267
1951         * cgraph.h (varpool_output_debug_info): Remove.
1952         * cgraphunit.c (varpool_output_debug_info): Remove.
1953         * dwarf2out.c (deferred_locations_struct): New struct
1954         (deferred_locations): New type.
1955         (deferred_locations_list): New static var.
1956         (deffer_location): New function.
1957         (gen_variable_die): Use it.
1958         (decls_for_scope): Output info on local static vars.
1959         (dwarf2out_finish): Process deferred locations.
1960         * varpool.c (varpool_output_debug_info): Remove.
1961
1962 2009-02-27  Jan Hubicka  <jh@suse.cz>
1963
1964         PR debug/39267
1965         * tree.h (TREE_PROTECTED): Fix comment.
1966         (BLOCK_HANDLER_BLOCK): Remove.
1967         (struct tree_block): Remove handler_block add body_block.
1968         (inlined_function_outer_scope_p): New.
1969         (is_body_block): Remove.
1970         * dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
1971         * dwarf2out.c (is_inlined_entry_point): Remove.
1972         (add_high_low_attributes): Use inlined_function_outer_scope_p.
1973         (gen_block_die): Use is_inlined_entry_point check.  Remove body block
1974         code.
1975         * langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
1976         * gimplify.c (gimplify_expr): Gimplify body blocks.
1977         * tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper
1978         block with multiple subblocks.
1979         (dump_scope_block): Prettier output; dump more flags and info.
1980         (dump_scope_blocks): New.
1981         (remove_unused_locals): Use dump_scope_blocks.
1982         * tree-flow.h (dump_scope_blocks): Declare.
1983         * tree-cfg.c (execute_build_cfg): Dump scope blocks.
1984         * stmt.c (is_body_block): Remove.
1985         * tree-inline.c (remap_block): Copy BODY_BLOCK info.
1986         * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.
1987
1988 2009-02-27  Sebastian Pop  <sebastian.pop@amd.com>
1989
1990         PR middle-end/39308
1991         * graphite.c (graphite_loop_normal_form): Do not call 
1992         number_of_iterations_exit from a gcc_assert.
1993
1994 2009-02-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1995
1996         * gcc/config/s390/s390.c (s390_swap_cmp): Look for conditional
1997         jumps if COND is NULL.
1998         (find_cond_jump): New function.
1999         (s390_z10_optimize_cmp): Handling for reg-reg compares added.
2000         * gcc/config/s390/s390.md: Remove z10_cobra attribute value.
2001
2002 2009-02-26  Uros Bizjak  <ubizjak@gmail.com>
2003
2004         * config/alpha/alpha.h (alpha_expand_mov): Return false if
2005         force_const_mem returns NULL_RTX.
2006
2007 2009-02-26  Jan Hubicka  <jh@suse.cz>
2008
2009         PR debug/39267
2010         * cgraph.h (varpool_output_debug_info): Remove.
2011         * cgraphunit.c (varpool_output_debug_info): Remove.
2012         * dwarf2out.c (deferred_locations_struct): New struct
2013         (deferred_locations): New type.
2014         (deferred_locations_list): New static var.
2015         (deffer_location): New function.
2016         (gen_variable_die): Use it.
2017         (decls_for_scope): Output info on local static vars.
2018         (dwarf2out_finish): Process deferred locations.
2019         * varpool.c (varpool_output_debug_info): Remove.
2020
2021 2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>
2022
2023         PR rtl-optimization/39241
2024         * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
2025         to subreg_offset_representable_p.
2026
2027 2009-02-25  Paolo Bonzini  <bonzini@gnu.org>
2028
2029         * regmove.c (regmove_optimize): Conform to struct rtl_opt_pass
2030         execute function prototype.  Get f and nregs from max_reg_num
2031         and get_insns.  Remove the first backward pass as it's dead,
2032         guard the forward pass by flag_expensive_optimizations.
2033         (rest_of_handle_regmove): Delete.
2034         (pass_regmove): Replace it with regmove_optimize.
2035
2036 2009-02-25  Martin Jambor  <mjambor@suse.cz>
2037
2038         PR tree-optimization/39259
2039         * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and
2040         calls_alloca function flags.
2041         (copy_bb): Set calls_setjmp and alls_alloca function flags if such
2042         calls are detected.
2043
2044 2009-02-25  Paolo Bonzini  <bonzini@gnu.org>
2045
2046         * regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones,
2047         flags_set_1_rtx, flags_set_1_set): Delete.
2048         (regmove_optimize): Do not call mark_flags_life_zones.
2049
2050 2009-02-24  Julian Brown  <julian@codesourcery.com>
2051
2052         PR target/35965
2053         * config/arm/arm.c (require_pic_register): Only set
2054         cfun->machine->pic_reg once per function.
2055
2056 2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>
2057
2058         * doc/invoke.texi (Link Options): Document an easier way to pass
2059         options that take arguments to the GNU linker using -Xlinker and -Wl.
2060
2061 2009-02-24  Steve Ellcey  <sje@cup.hp.com>
2062
2063         PR target/33785
2064         * doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
2065
2066 2009-02-24  Richard Guenther  <rguenther@suse.de>
2067
2068         PR debug/39285
2069         * dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs.
2070
2071 2009-02-24  Richard Guenther  <rguenther@suse.de>
2072             Zdenek Dvorak  <ook@ucw.cz>
2073
2074         PR tree-optimization/39233
2075         * tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers
2076         from converting them to a generic type.
2077
2078 2009-02-23  Sebastian Pop  <sebastian.pop@amd.com>
2079
2080         PR tree-optimization/39260
2081         * graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block
2082         contains a condition with a real type.
2083         (build_scop_conditions_1): Conditions are always last_stmt of a bb.
2084
2085 2009-02-23  Jason Merrill  <jason@redhat.com>
2086
2087         PR c++/38880
2088         * varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check
2089         narrowing_initializer_constant_valid_p.
2090         (narrowing_initializer_constant_valid_p): Don't return 
2091         null_pointer_node for adding a pointer to itself.
2092
2093 2009-02-23  Jan Hubicka  <jh@suse.cz>
2094
2095         PR c/12245
2096         * ggc.h (htab_create_ggc): Use ggc_free to free hashtable when
2097         resizing.
2098
2099 2009-02-23  Jan Hubicka  <jh@suse.cz>
2100
2101         PR tree-optimization/37709
2102         * tree.c (block_ultimate_origin): Move here from dwarf2out.
2103         * tree.h (block_ultimate_origin): Declare.
2104         * dwarf2out.c (block_ultimate_origin): Move to tree.c
2105         * tree-ssa-live.c (remove_unused_scope_block_p):
2106         Eliminate blocks containig no instructions nor live variables nor
2107         nested blocks.
2108         (dump_scope_block): New function.
2109         (remove_unused_locals): Enable removal of dead blocks by default;
2110         enable dumping at TDF_DETAILS.
2111
2112 2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
2113
2114         * config/i386/i386.c (classify_argument): Don't allow COImode
2115         and OImode.
2116         (function_arg_advance_32): Don't allow OImode.
2117         (function_arg_32): Likewise.
2118         (function_value_32): Likewise.
2119         (return_in_memory_32): Likewise.
2120         (function_arg_64): Remove OImode comment.
2121
2122 2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
2123
2124         PR target/39261
2125         * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
2126         ix86_expand_vector_set for V4DImode in 64bit mode only.
2127         (ix86_expand_vector_init_one_var): Likewise.
2128
2129 2009-02-21  Sebastian Pop  <sebastian.pop@amd.com>
2130
2131         * graphite.c (graphite_trans_loop_block): Adjust tile size to 51.
2132
2133 2009-02-21  Richard Sandiford  <rdsandiford@googlemail.com>
2134
2135         PR bootstrap/39257
2136         * loop-iv.c: Revert last change.
2137         * emit-rtl.c: Likewise.
2138
2139 2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
2140
2141         PR target/39256
2142         * config/i386/i386.c (type_natural_mode): Remove an extra
2143         space in the warning message.
2144         (function_value_32): Handle 32-byte vector modes.
2145         (return_in_memory_32): Likewise.
2146
2147 2009-02-21  Richard Sandiford  <rdsandiford@googlemail.com>
2148
2149         * loop-iv.c (truncate_value): New function.
2150         (iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead
2151         of lowpart_subreg.
2152         (lowpart_subreg): Move to...
2153         * emit-rtl.c: ...here.
2154
2155 2009-02-21  Danny Smith  <dannysmith@users.sourceforge.net>
2156
2157         * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert
2158         accidental and undocumented change at revision 140860.
2159
2160 2009-02-21  Joseph Myers  <joseph@codesourcery.com>
2161
2162         * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to
2163         take gimple_seq * arguments.
2164         (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to
2165         types_compatible_p langhook.
2166
2167 2009-02-20  Mark Mitchell  <mark@codesourcery.com>
2168             Joseph Myers  <joseph@codesourcery.com>
2169
2170         * config/arm/arm.c (arm_builtin_va_list): New function.
2171         (arm_expand_builtin_va_start): Likewise.
2172         (arm_gimplify_va_arg_expr): Likewise.
2173         (TARGET_BUILD_BUILTIN_VA_LIST): Define.
2174         (TARGET_BUILD_BUILTIN_VA_START): Likewise.
2175         (TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise.
2176         (va_list_type): New variable.
2177         (arm_mangle_type): Mangle va_list_type appropriately.
2178
2179 2009-02-20  Jakub Jelinek  <jakub@redhat.com>
2180
2181         PR middle-end/39157
2182         * Makefile.in (loop-invariant.o): Depend on $(PARAMS_H).
2183         * params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define.
2184         * params.def (loop-invariant-max-bbs-in-loop): New parameter.
2185         * opts.c (decode_options): Set loop-invariant-max-bbs-in-loop
2186         parameter to 1000 for -O1 by default.
2187         * doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new
2188         parameter.
2189         * loop-invariant.c: Include params.h.
2190         (move_loop_invariants): Don't call move_single_loop_invariants on
2191         very large loops.
2192
2193 2009-02-20  Jaka Mocnik  <jaka@xlab.si>
2194
2195         * calls.c (emit_library_call_value_1): Use slot_offset instead of
2196         offset when calculating bounds for indexing stack_usage_map.  Fixes
2197         a buffer overflow with certain target setups.
2198
2199 2009-02-20  Jakub Jelinek  <jakub@redhat.com>
2200
2201         PR target/39240
2202         * calls.c (expand_call): Clear try_tail_call if caller and callee
2203         disagree in promotion of function return value.
2204
2205 2009-02-19  Jakub Jelinek  <jakub@redhat.com>
2206
2207         PR target/39175
2208         * c-common.c (c_determine_visibility): If visibility changed and
2209         DECL_RTL has been already set, call make_decl_rtl to update symbol
2210         flags.
2211
2212 2009-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2213
2214         PR c++/39188
2215         * varasm.c (assemble_variable): Don't check DECL_NAME when
2216         globalizing a variable.
2217
2218 2009-02-19  Joseph Myers  <joseph@codesourcery.com>
2219
2220         PR c/38483
2221         * builtins.c (gimplify_va_arg_expr): Evaluate the va_list
2222         expression before any __builtin_trap call.
2223         * c-typeck.c (build_function_call): Convert and check function
2224         arguments before generating a call to a trap.  Evaluate the
2225         function arguments before the trap.
2226
2227 2009-02-19  Uros Bizjak  <ubizjak@gmail.com>
2228
2229         PR target/39228
2230         * config/i386/i386.md (isinfxf2): Split from isinf<mode>2.
2231         (UNSPEC_FXAM_MEM): New unspec.
2232         (fxam<mode>2_i387_with_temp): New insn and split pattern.
2233         (isinf<mode>2): Use MODEF mode iterator.  Force operand[1] through
2234         memory using fxam<mode>2_i387_with_temp to remove excess precision.
2235
2236 2009-02-19  Richard Guenther  <rguenther@suse.de>
2237
2238         PR tree-optimization/39207
2239         PR tree-optimization/39074
2240         * tree-ssa-structalias.c (storedanything_id, var_storedanything,
2241         storedanything_tree): New.
2242         (do_ds_constraint): Simplify ANYTHING shortcutting.  Update
2243         the STOREDANYTHING solution if the lhs solution contains ANYTHING.
2244         (build_succ_graph): Add edges from STOREDANYTHING to all
2245         non-direct nodes.
2246         (init_base_vars): Initialize STOREDANYTHING.
2247         (compute_points_to_sets): Free substitution info after
2248         building the succ graph.
2249         (ipa_pta_execute): Likewise.
2250
2251         * tree-ssa-structalias.c (struct variable_info): Add may_have_pointers
2252         field.
2253         (do_ds_constraint): Do not add to special var or non-pointer
2254         field solutions.
2255         (type_could_have_pointers): Split out from ...
2256         (could_have_pointers): ... here.  For arrays use the element type.
2257         (create_variable_info_for): Initialize may_have_pointers.
2258         (new_var_info): Likewise.
2259         (handle_lhs_call): Make the HEAP variable unknown-sized.
2260         (intra_create_variable_infos): Use a type with pointers for
2261         PARM_NOALIAS, make it unknown-sized.
2262
2263 2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2264
2265         PR target/39224
2266         * config/i386/i386.c (ix86_return_in_memory): Properly check ABI.
2267
2268 2009-02-18  Jason Merrill  <jason@redhat.com>
2269
2270         PR target/39179
2271         * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero
2272         value if DECL_EXTERNAL.
2273         * tree-sra.c (sra_walk_gimple_assign): Likewise.
2274         * target.h (gcc_target::binds_local_p): Clarify "module".
2275         * tree.h (TREE_PUBLIC): Clarify "module".
2276
2277 2009-02-17  Xuepeng Guo  <xuepeng.guo@intel.com>
2278
2279         PR target/38891
2280         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of
2281         initialization for MS_ABI prior to the hunk of !TARGET_MMX.
2282
2283 2009-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2284
2285         PR target/39082
2286         * c.opt (Wabi): Support C and ObjC.
2287         (Wpsabi): New.
2288
2289         * c-opts.c (c_common_handle_option): Handle OPT_Wabi.
2290
2291         * config/i386/i386.c (classify_argument): Warn once about the ABI
2292         change when passing union with long double.
2293
2294         * doc/invoke.texi: Update -Wabi for warning psABI changes.
2295
2296 2009-02-18  Joseph Myers  <joseph@codesourcery.com>
2297
2298         PR c/35447
2299         * c-parser.c (c_parser_compound_statement): Always enter and leave
2300         a scope.
2301
2302 2009-02-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2303
2304         PR target/34587
2305         * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.
2306
2307 2009-02-18  Jakub Jelinek  <jakub@redhat.com>
2308
2309         PR tree-optimization/36922
2310         * tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR.
2311         * tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1):
2312         Likewise.
2313
2314 2009-02-17  Richard Sandiford  <rdsandiford@googlemail.com>
2315
2316         * config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm
2317         to 0 for EABI64.
2318
2319 2009-02-17  Richard Sandiford  <rdsandiford@googlemail.com>
2320
2321         * config/mips/mips.md (type): Reclassify lui_movf as "unknown".
2322
2323 2009-02-17  Richard Sandiford  <rdsandiford@googlemail.com>
2324
2325         * config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid
2326         tree sharing.
2327
2328 2009-02-17  Ruan Beihong  <ruanbeihong@gmail.com>
2329             Richard Sandiford  <rdsandiford@googlemail.com>
2330
2331         * config/mips/mips.c (CODE_FOR_loongson_biadd): Delete.
2332         * config/mips/loongson.md (reduc_uplus_<mode>): Rename to...
2333         (loongson_biadd): ...this.
2334
2335 2009-02-17  Richard Guenther  <rguenther@suse.de>
2336
2337         PR tree-optimization/39202
2338         * tree-ssa-structalias.c (do_structure_copy): Before collapsing
2339         a var make sure to follow existing collapses.
2340
2341 2009-02-17  Richard Guenther  <rguenther@suse.de>
2342
2343         PR middle-end/39214
2344         * langhooks.c (lhd_print_error_function): Check for NULL block.
2345
2346 2009-02-17  Richard Guenther  <rguenther@suse.de>
2347
2348         PR tree-optimization/39204
2349         * tree-ssa-pre.c (phi_translate_1): Lookup the value-number
2350         of the PHI arg.
2351
2352 2009-02-17  Uros Bizjak  <ubizjak@gmail.com>
2353
2354         * config/soft-fp/double.h: Update from glibc CVS.
2355
2356 2009-02-17  Richard Guenther  <rguenther@suse.de>
2357
2358         PR tree-optimization/39207
2359         * tree-ssa-structalias.c (find_what_p_points_to): Do not emit
2360         strict-aliasing warnings for pointers pointing to NULL.
2361
2362 2009-02-16  Joseph Myers  <joseph@codesourcery.com>
2363
2364         PR c/35446
2365         * c-parser.c (c_parser_braced_init): Call pop_init_level when
2366         skipping until next close brace.
2367
2368 2009-02-16  H.J. Lu  <hongjiu.lu@intel.com>
2369
2370         PR target/37049
2371         * config/i386/i386.c (ix86_expand_push): Set memory alignment
2372         to function argument boundary.
2373
2374 2009-02-16  Hariharan Sandanagobalane  <hariharan@picochip.com>
2375
2376         * config/picochip/picochip.md (lea_add): Allow any nonimmediate
2377         in the lea_add. Reload eventually constraints it properly.
2378         * config/picochip/constraints.md : Remove the target constraint
2379         "b", since it is not needed anymore.
2380
2381 2009-02-16  Jakub Jelinek  <jakub@redhat.com>
2382
2383         * gthr-dce.h: Uglify function parameter and local variable names.
2384         * gthr-gnat.h: Likewise.
2385         * gthr-mipssde.h: Likewise.
2386         * gthr-nks.h: Likewise.
2387         * gthr-posix95.h: Likewise.
2388         * gthr-posix.h: Likewise.
2389         * gthr-rtems.h: Likewise.
2390         * gthr-single.h: Likewise.
2391         * gthr-solaris.h: Likewise.
2392         * gthr-tpf.h: Likewise.
2393         * gthr-vxworks.h: Likewise.
2394         * gthr-win32.h: Likewise.
2395
2396 2009-02-15  H.J. Lu  <hongjiu.lu@intel.com>
2397
2398         PR target/39196
2399         * config/i386/i386.md: Restrict the new peephole2 to move
2400         between MMX/SSE registers.
2401
2402 2009-02-15  Richard Guenther  <rguenther@suse.de>
2403
2404         Revert
2405         2009-02-13  Richard Guenther  <rguenther@suse.de>
2406
2407         * configure.ac: Enable LFS.
2408         * configure: Re-generate.
2409         * config.in: Likewise.
2410
2411 2009-02-13  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2412
2413         * config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw,
2414         spu_srqwbyte, spu_srqwbytebc): Define.
2415         * config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw,
2416         spu_srqwbyte, spu_srqwbytebc): New overloaded builtins.
2417         * config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>",
2418         "shrqby_<mode>"): New insn-and-split patterns.
2419         * config/spu/spu.c (expand_builtin_args): Determine and return
2420         number of operands using spu_builtin_description data.
2421         (spu_expand_builtin_1): Use it.
2422
2423 2009-02-13  Steve Ellcey  <sje@cup.hp.com>
2424
2425         PR target/38056
2426         * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check
2427         TARGET_CONST_GP.
2428
2429 2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>
2430
2431         PR target/39149
2432         * config/i386/i386.c (override_options): Correct warning
2433         messages for -malign-loops, -malign-jumps and -malign-functions.
2434
2435 2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>
2436
2437         PR target/39152
2438         * config/i386/i386.md: Restrict the new peephole2 to move
2439         between the general purpose registers.
2440
2441 2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>
2442
2443         PR target/39162
2444         * config/i386/i386.c (type_natural_mode): Add a new argument.
2445         Return the original mode and warn ABI change if vector size is 32byte.
2446         (function_arg_advance): Updated.
2447         (function_arg): Likewise.
2448         (ix86_function_value): Likewise.
2449         (ix86_return_in_memory): Likewise.
2450         (ix86_sol10_return_in_memory): Likewise.
2451         (ix86_gimplify_va_arg): Likewise.
2452         (function_arg_32): Don't warn ABX ABI change here.
2453         (function_arg_64): Likewise.
2454
2455 2009-02-13  Bernd Schmidt  <bernd.schmidt@analog.com>
2456
2457         * loop-iv.c (implies_p): In the final case, test that operands 0
2458         of the two comparisons match.
2459
2460         * config/bfin/bfin.c (find_prev_insn_start): New function.
2461         (bfin_optimize_loop): Use it in some cases instead of PREV_INSN.
2462         (find_next_insn_start): Move.
2463
2464 2009-02-13  Richard Guenther  <rguenther@suse.de>
2465
2466         * configure.ac: Enable LFS.
2467         * configure: Re-generate.
2468         * config.in: Likewise.
2469
2470 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
2471
2472         PR c/35444
2473         * c-parser.c (c_parser_parms_list_declarator): Discard pending
2474         sizes on syntax error after some arguments have been parsed.
2475
2476 2009-02-12  Jakub Jelinek  <jakub@redhat.com>
2477
2478         * doc/invoke.texi (-fira): Remove.
2479
2480 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
2481
2482         * caller-save.c: Replace regclass.c with reginfo.c in comments.
2483         * recog.c: Likewise.
2484         * rtl.h: Likewise.
2485
2486 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
2487
2488         * longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2.
2489         (umul_ppmm): Likewise.
2490         (count_leading_zeros): Likewise.
2491         (count_trailing_zeros): Likewise.
2492         (UMUL_TIME): Likewise.
2493
2494 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
2495
2496         * config.gcc (ia64*-*-linux*): Add ia64/t-fprules-softfp and
2497         soft-fp/t-softfp to tmake_file.
2498
2499         * config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New.
2500         (ia64_expand_compare): Use HPUX library for TFmode only for HPUX.
2501         (ia64_builtins) [IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ,
2502         IA64_BUILTIN_INFQ]: New.
2503         (ia64_init_builtins): Initialize __builtin_infq,
2504         __builtin_fabsq and __builtin_copysignq if not HPUX.
2505         (ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ,
2506         IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ.
2507
2508         * config/ia64/lib1funcs.asm (__divtf3): Define only if
2509         SHARED is defined.
2510         (__fixtfti): Likewise.
2511         (__fixunstfti): Likewise.
2512         (__floattitf): Likewise.
2513
2514         * config/ia64/libgcc-glibc.ver: New.
2515         * config/ia64/t-fprules-softfp: Likewise.
2516         * config/ia64/sfp-machine.h: Likewise.
2517
2518         * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): New.
2519         (LIBGCC2_TF_CEXT): Likewise.
2520         (TF_SIZE): Likewise.
2521         (TARGET_INIT_LIBFUNCS): Likewise.
2522
2523         * config/ia64/t-glibc (SHLINB_MAPFILES):
2524         Add $(srcdir)/config/ia64/libgcc-glibc.ver.
2525
2526 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
2527
2528         * config/i386/i386.c (construct_container): Rewrite processing
2529         BLKmode with X86_64_SSE_CLASS.
2530
2531 2009-02-12  Paolo Bonzini  <bonzini@gnu.org>
2532
2533         PR target/39152
2534         * config/i386/i386.md: Replace simplify_replace_rtx with
2535         replace_rtx in the new peephole2.
2536
2537 2009-02-12  Nathan Sidwell  <nathan@codesourcery.com>
2538
2539         * doc/invoke.texi (Optimize Options): Stop claiming inlining and
2540         loop unrolling do not happen at -O2.
2541
2542 2009-02-12  Michael Matz  <matz@suse.de>
2543
2544         * gcc.c (ASM_DEBUG_SPEC): Check for -g0.
2545
2546 2009-02-12  Jakub Jelinek  <jakub@redhat.com>
2547
2548         * dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die
2549         for -g3.
2550
2551 2009-02-12  Ben Elliston  <bje@au.ibm.com>
2552
2553         * config/rs6000/rs6000.md (allocate_stack): Use _stack form of
2554         patterns when updating the back chain.  Missed in the 2009-02-10
2555         change.
2556
2557 2009-02-11  Janis Johnson  <janis187@us.ibm.com>
2558
2559         * doc/extend.texi (Decimal Floating Types): Update identifier of
2560         draft TR and list of missing support.
2561
2562 2009-02-11  Jakub Jelinek  <jakub@redhat.com>
2563
2564         PR middle-end/39154
2565         * gimplify.c (omp_notice_variable): If adding GOVD_SEEN
2566         bit to variable length decl's flags, add it also to its
2567         pointer replacement variable.
2568
2569 2009-02-11  Uros Bizjak  <ubizjak@gmail.com>
2570             Jakub Jelinek  <jakub@redhat.com>
2571
2572         PR target/39118
2573         * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
2574         (memory_blockage): New expander.
2575         (*memory_blockage): New insn pattern.
2576         * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
2577         instead of general blockage at the end of function prologue when
2578         frame pointer is used to access red zone area.  Do not emit blockage
2579         when profiling, it is emitted in generic code.
2580         (ix86_expand_epilogue): Emit memory_blockage at the beginning of
2581         function epilogue when frame pointer is used to access red zone area.
2582
2583 2009-02-11  Paolo Bonzini  <bonzini@gnu.org>
2584
2585         PR target/38824
2586         * config/i386/i386.md: Add two new peephole2 to avoid mov followed
2587         by arithmetic with memory operands.
2588         * config/i386/predicates.md (commutative_operator): New.
2589
2590 2009-02-10  Janis Johnson  <janis187@us.ibm.com>
2591
2592         * doc/extend.texi (Fixed-Point Types): Break long paragraphs into
2593         bulleted lists.
2594
2595 2009-02-10  Eric Botcazou  <ebotcazou@adacore.com>
2596
2597         * alias.h (record_alias_subset): Declare.
2598         * alias.c (record_alias_subset): Make global.
2599
2600 2009-02-10  Nick Clifton  <nickc@redhat.com>
2601
2602         * tree-parloops.c: Change license to GPLv3.
2603         * ipa-struct-reorg.c: Change license to GPLv3.
2604         * ipa-struct-reorg.h: Change license to GPLv3.
2605
2606 2009-02-10  Steve Ellcey  <sje@cup.hp.com>
2607
2608         PR c/39084
2609         * c-decl.c (start_struct): Return NULL on error.
2610
2611 2009-02-10  Jakub Jelinek  <jakub@redhat.com>
2612
2613         PR middle-end/39124
2614         * cfgloopmanip.c (remove_path): Call remove_bbs after
2615         cancel_loop_tree, not before it.
2616
2617         PR target/39139
2618         * function.h (struct function): Add has_local_explicit_reg_vars bit.
2619         * gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER
2620         VAR_DECLs were seen.
2621         * tree-ssa-live.c (remove_unused_locals): Recompute
2622         cfun->has_local_explicit_reg_vars.
2623         * tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode
2624         copies or clearings if cfun->has_local_explicit_reg_vars.
2625
2626 2009-02-10  Uros Bizjak  <ubizjak@gmail.com>
2627
2628         PR target/39118
2629         * config/i386/i386.c (expand_prologue): Emit blockage at the end
2630         of function prologue when frame pointer is used to access
2631         red zone area.
2632
2633 2009-02-10  Richard Guenther  <rguenther@suse.de>
2634
2635         PR middle-end/39127
2636         * gimplify.c (gimple_regimplify_operands): Always look if
2637         we need to create a temporary.
2638
2639 2009-02-10  Richard Guenther  <rguenther@suse.de>
2640
2641         PR tree-optimization/39132
2642         * tree-loop-distribution.c (todo): New global var.
2643         (generate_memset_zero): Trigger TODO_rebuild_alias.
2644         (tree_loop_distribution): Return todo.
2645
2646 2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2647
2648         PR target/39119
2649         * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
2650         (x86_64_reg_class_name): Removed.
2651         (classify_argument): Return 0 if bytes > 32.  Return 0 if the
2652         first one isn't X86_64_SSE_CLASS or any other ones aren't
2653         X86_64_SSEUP_CLASS when size > 16bytes.  Don't turn
2654         X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
2655         is X86_64_SSEUP_CLASS.  Set AVX modes to 1 X86_64_SSE_CLASS
2656         and 3 X86_64_SSEUP_CLASS.
2657         (construct_container): Remove X86_64_AVX_CLASS.  Handle 4
2658         registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.
2659
2660 2009-02-10  Ben Elliston  <bje@au.ibm.com>
2661
2662         * config/rs6000/rs6000.md (allocate_stack): Always use an update
2663         form instruction to update the stack back chain word, even if the
2664         user has disabled the generation of update instructions.
2665         (movdi_<mode>_update_stack): New.
2666         (movsi_update_stack): Likewise.
2667         * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise,
2668         always use an update form instruction to update the stack back
2669         chain word.
2670
2671 2009-02-09  Sebastian Pop  <sebastian.pop@amd.com>
2672
2673         PR middle-end/38953
2674         * graphite.c (if_region_set_false_region): After moving a region in
2675         the false branch of a condition, remove the empty dummy basic block.
2676         (gloog): Remove wrong fix for PR38953.
2677
2678 2009-02-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2679
2680         * config/spu/spu.c (array_to_constant): Fix (latent) wrong-code
2681         generation due to implicit sign extension.
2682
2683 2009-02-09  Eric Botcazou  <ebotcazou@adacore.com>
2684
2685         PR middle-end/38981
2686         * tree-ssa-coalesce.c (add_coalesce): Cap the costs of coalesce pairs
2687         at MUST_COALESCE_COST-1 instead of MUST_COALESCE_COST.
2688
2689 2009-02-09  Richard Guenther  <rguenther@suse.de>
2690
2691         PR middle-end/35202
2692         * convert.c (convert_to_real): Disable (float)fn((double)x)
2693         to fnf(x) conversion if errno differences may occur and
2694         -fmath-errno is set.
2695
2696 2009-02-07  Anatoly Sokolov  <aesok@post.ru>
2697
2698         * config/avr/avr.c (avr_mcu_t): Add ata6289 device.
2699         * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
2700         * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
2701
2702 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
2703
2704         PR c/35434
2705         * c-common.c (handle_alias_attribute): Disallow attribute for
2706         anything not a FUNCTION_DECL or VAR_DECL.
2707
2708 2009-02-06  Janis Johnson  <janis187@us.ibm.com>
2709
2710         PR c/39035
2711         * real.c (do_compare): Special-case compare of zero against
2712         decimal float value.
2713
2714 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
2715
2716         PR c/36432
2717         * c-decl.c (grokdeclarator): Don't treat [] declarators in fields
2718         as indicating flexible array members unless the field itself is
2719         being declarared as the incomplete array.
2720
2721 2009-02-06  Jan Hubicka  <jh@suse.cz>
2722
2723         PR tree-optimization/38844
2724         * ipa-inline.c (try_inline): Stop inlining recursion when edge
2725         is already inlined.
2726
2727 2009-02-06  Richard Guenther  <rguenther@suse.de>
2728
2729         PR middle-end/38977
2730         * tree-cfg.c (need_fake_edge_p): Force a fake edge for
2731         fork because we may expand it as __gcov_fork.
2732
2733 2009-02-06  Nick Clifton  <nickc@redhat.com>
2734
2735         * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.
2736
2737 2009-02-06  Paolo Bonzini  <bonzini@gnu.org>
2738
2739         PR tree-optimization/35659
2740         * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq
2741         vn_phi_eq): Shortcut if hashcode does not match.
2742         (vn_reference_op_compute_hash): Do not call iterative_hash_expr for
2743         NULL operands.
2744         * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available,
2745         and avoid iterative_hash_expr.
2746         (FOR_EACH_VALUE_ID_IN_SET): New.
2747         (value_id_compare): Remove.
2748         (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to
2749         sort expressions by value id.
2750
2751 2009-02-05  Kaz Kojima  <kkojima@gcc.gnu.org>
2752
2753         PR target/38991
2754         * config/sh/predicates.md (general_movsrc_operand): Don't check
2755         the subreg of system registers here.
2756
2757 2009-02-05  Jakub Jelinek  <jakub@redhat.com>
2758
2759         PR c++/39106
2760         * cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
2761         on the copied decl.
2762
2763 2009-02-05  Paolo Bonzini  <bonzini@gnu.org>
2764
2765         PR rtl-optimization/39110
2766         * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
2767         addresses, not aligned ones.
2768
2769 2009-02-05  Daniel Berlin  <dberlin@dberlin.org>
2770             Richard Guenther  <rguenther@suse.de>
2771
2772         PR tree-optimization/39100
2773         * tree-ssa-structalias.c (do_ds_constraint): Actually do what the
2774         comment says and add edges.
2775
2776 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
2777
2778         PR c/35435
2779         * c-common.c (handle_tls_model_attribute): Ignore attribute for
2780         non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.
2781
2782 2009-02-04  Tobias Grosser  <grosser@fim.uni-passau.de> 
2783
2784         * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
2785         sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
2786         register_bb_in_sese, new_sese, free_sese): Moved.
2787         (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains,
2788         outermost_loop_in_scop, build_scop_iteration_domain,
2789         expand_scalar_variables_ssa_name, get_vdef_before_scop,
2790         limit_scops): Use bb_in_sese_p instead of bb_in_scop_p.
2791         Use loop_in_sese_p instead of loop_in_scop_p.
2792         (new_graphite_bb, gloog): Do not initialize SCOP_BBS_B.
2793         (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B.
2794         (scopdet_basic_block_info): Fix bug in scop detection.
2795         (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop,
2796         eq_loop_to_cloog_loop): Remove.
2797         (nb_loops_around_loop_in_scop, nb_loop
2798         ref_nb_loops): Moved here...
2799         * graphite.h (ref_nb_loops): ... from here.
2800         (struct scop): Remove bbs_b bitmap and loop2cloog_loop.
2801         (loop_domain_dim, loop_iteration_vector_dim): Remove.
2802         (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed.
2803         * testsuite/gcc.dg/graphite/scop-19.c: New
2804
2805 2009-02-04  Paolo Bonzini  <bonzini@gnu.org>
2806             Hans-Peter Nilsson  <hp@axis.com>
2807
2808         PR rtl-optimization/37889
2809         * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
2810         Move offset handling from PLUS to before the switch.  Use new
2811         arguments when considering SYMBOL_REFs too.
2812         (rtx_addr_can_trap_p): Pass dummy offset and size.
2813         (enum may_trap_p_flags): Remove.
2814         (may_trap_p_1): Pass size from MEM_SIZE.
2815
2816         PR rtl-optimization/38921
2817         * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
2818         * rtl.h (may_trap_after_code_motion_p): Delete prototype.
2819         * rtlanal.c (may_trap_after_code_motion_p): Delete.
2820         (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.
2821
2822 2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
2823
2824         AVX Programming Reference (January, 2009)
2825         * config/i386/sse.md (*vpclmulqdq): New.
2826
2827 2009-02-04  Jakub Jelinek  <jakub@redhat.com>
2828
2829         PR tree-optimization/38977
2830         PR gcov-profile/38292
2831         * calls.c (special_function_p): Disregard __builtin_ prefix.
2832
2833 2009-02-04  Hariharan Sandanagobalane  <hariharan@picochip.com>
2834
2835         * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
2836         non-indexable addresses even before reload.
2837
2838 2009-02-03  Joseph Myers  <joseph@codesourcery.com>
2839
2840         PR c/29129
2841         * c-decl.c (grokdeclarator): Mark [*] arrays in field declarators
2842         as having variable size.  Do not give an error for unnamed
2843         parameters with [*] declarators.  Give a warning for type names
2844         with [*] declarators and mark them as variable size.
2845         * c-parser.c (c_parser_sizeof_expression): Do not give an error
2846         for sizeof applied to [*] type names.
2847
2848 2009-02-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2849
2850         PR C++/36607
2851         * convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.
2852
2853 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
2854
2855         * gcc.c (process_command): Update copyright notice dates.
2856         * gcov.c (print_version): Likewise.
2857         * gcov-dump.c (print_version): Likewise.
2858         * mips-tfile.c (main): Likewise.
2859         * mips-tdump.c (main): Likewise.
2860
2861 2009-02-03  Joseph Myers  <joseph@codesourcery.com>
2862
2863         PR c/35433
2864         * c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
2865         for composite type involving a zero-length array type.
2866
2867 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
2868
2869         PR target/35318
2870         * function.c (match_asm_constraints_1): Skip over
2871         initial optional % in the constraint.
2872
2873         PR inline-asm/39059
2874         * c-parser.c (c_parser_postfix_expression): If fixed point is not
2875         supported, don't accept FIXED_CSTs.
2876         * c-decl.c (finish_declspecs): Error if fixed point is not supported
2877         and _Sat is used without _Fract/_Accum.  Set specs->type to
2878         integer_type_node for cts_fract/cts_accum if fixed point is not
2879         supported.
2880
2881 2009-02-02  Catherine Moore  <clm@codesourcery.com>
2882
2883         * sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls.
2884
2885 2009-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
2886
2887         * config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro.
2888         (ABI_HAS_64BIT_SYMBOLS): Use it.
2889         (DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS.
2890
2891 2009-02-02  Paul Brook  <paul@codesourcery.com>
2892
2893         * config/arm/arm.md (arm_addsi3): Add r/r/k alternative.
2894
2895 2009-02-02  Jakub Jelinek  <jakub@redhat.com>
2896
2897         PR inline-asm/39058
2898         * recog.h (asm_operand_ok): Add constraints argument.
2899         * recog.c (asm_operand_ok): Likewise.  If it is set, for digits
2900         recurse on matching constraint.
2901         (check_asm_operands): Pass constraints as 3rd argument to
2902         asm_operand_ok.  Don't look up matching constraint here.
2903         * stmt.c (expand_asm_operands): Pass NULL as 3rd argument
2904         to asm_operand_ok.
2905
2906 2009-02-02  Ben Elliston  <bje@au.ibm.com>
2907
2908         * doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and
2909         TARGET_NARROW_VOLATILE_BITFIELD macro names.
2910
2911 2009-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2912
2913         * doc/install.texi (hppa*-hp-hpux*): Update binutils and linker
2914         information.  Remove some obsolete information.  Reorganize.
2915
2916         * config/pa/fptr.c: Revert license to GPL 2.
2917         * config/pa/milli64.S: Likewise.
2918
2919 2009-01-31  Dave Korn  <dave.korn.cygwin@gmail.com>
2920
2921         PR target/38904
2922         * mkmap-flat.awk (END):  Use pe_dll command-line arg to pass
2923         LIBRARY name in, instead of hard-coding it.
2924         * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*):  Add an
2925         extra target make frag to tmake_files according to EH model.
2926         (i[34567]86-*-mingw* | x86_64-*-mingw*):  Likewise.
2927         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh:  Add new target
2928         frags that define makefile variable EH_MODEL appropriately.
2929         * config/i386/cygming.h (DWARF2_UNWIND_INFO):  Add comment.
2930         * config/i386/cygwin.h (LIBGCC_EH_EXTN):  Define to nothing or
2931         to "-sjlj" according to type of EH configured.
2932         (LIBGCC_SONAME):  Concatenate it to shared library base name.
2933         * config/i386/mingw32.h (LIBGCC_EH_EXTN):  Define to "_dw2" or
2934         to "_sjlj" according to type of EH configured.
2935         (LIBGCC_SONAME):  Concatenate it to shared library base name.
2936         * config/i386/t-cygming (SHLIB_SONAME):  Use EH_MODEL.
2937         (SHLIB_LINK):  Add missing semicolon to if-else construct.
2938         (SHLIB_MKMAP_OPTS):  Pass library name to mkmap-flat.awk as
2939         string value of "pe_dll" command-line option.
2940         * config/i386/t-cygwin (SHLIB_EH_EXTENSION):  New helper.
2941         (SHLIB_SONAME):  Use it when overriding t-cygming default.
2942         (SHLIB_IMPLIB):  Override t-cygming default.
2943         (SHLIB_MKMAP_OPTS):  Pass library name to mkmap-flat.awk as
2944         string value of "pe_dll" command-line option.
2945
2946 2009-01-31  Dave Korn  <dave.korn.cygwin@gmail.com>
2947
2948         PR target/38952
2949         * config/i386/i386.c (ix86_builtin_setjmp_frame_value): New.
2950         (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point at it.
2951
2952 2009-01-31  Richard Guenther  <rguenther@suse.de>
2953
2954         PR tree-optimization/38937
2955         * tree-ssa-structalias.c (do_sd_constraint): Do not shortcut
2956         computing the transitive closure.
2957
2958 2009-01-30  Richard Guenther  <rguenther@suse.de>
2959
2960         PR tree-optimization/39041
2961         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
2962         Propagate variable indices only if the types match for this stmt.
2963
2964 2009-01-30  Jakub Jelinek  <jakub@redhat.com>
2965
2966         PR target/39013
2967         * c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared
2968         inline but never defined.
2969
2970 2009-01-30  Wolfgang Gellerich  <gellerich@de.ibm.com>
2971
2972         * config/s390/s390.md (*insv<mode>_reg_extimm): Removed.
2973         (*insv_h_di_reg_extimm): New insn.
2974         (*insv_l<mode>_reg_extimm): New insn.
2975
2976 2009-01-30  Hariharan Sandanagobalane  <hariharan@picochip.com>
2977
2978         * config/picochip/picochip.c (flag_conserve_stack): set
2979         PARAM_LARGE_STACK_FRAME and PARAM_STACK_FRAME_GROWTH to zero under
2980         fconserve-stack. Reduce call-overhead used by inliner.
2981
2982 2009-01-30  Hariharan Sandanagobalane  <hariharan@picochip.com>
2983
2984         PR/38157
2985         * common.opt (flag_conserve_stack): Initialised to zero.
2986
2987 2009-01-30  Kai Tietz  <kai.tietz@onevision.com>
2988
2989         PR/39002
2990         * config/i386/i386.c (ix86_can_use_return_insn_p): Check for nsseregs.
2991         (ix86_expand_epilogue): Take nsseregs in account to use proper restore
2992         method.
2993
2994 2009-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2995
2996         * ira-color.c (allocno_reload_assign): Update comments.
2997         * regmove.c (regmove_optimize): Likewise.
2998
2999         * ra.h: Removed.
3000
3001 2009-01-29  Robert Millan  <rmh@aybabtu.com>
3002
3003         * gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
3004         * gcc/config/i386/kopensolaris-gnu.h: New file.  Undefine
3005         `MD_UNWIND_SUPPORT'.
3006         * gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h).
3007
3008 2009-01-29  Kazu Hirata  <kazu@codesourcery.com>
3009
3010         PR tree-optimization/39007
3011         * tree-loop-distribution.c (generate_builtin): Use
3012         recompute_dominator to compute the immediate dominator of the
3013         basic block just after the loop.
3014
3015 2009-01-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3016
3017         * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
3018         (ASM_OUTPUT_DWARF_PCREL): Define.
3019
3020 2009-01-29  Vladimir Makarov  <vmakarov@redhat.com>
3021
3022         * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
3023         * doc/passes.texi: Remove entries about regclass, local-alloc, and
3024         global.  Modify entries about regmove and IRA.
3025
3026         * ra-conflict.c: Remove the file.
3027
3028         * reload.c (push_reload, find_dummy_reload): Remove flag_ira.
3029
3030         * tree-pass.h (pass_local_alloc, pass_global_alloc): Remove.
3031         (pass_regclass_init): Rename to pass_reginfo_init.
3032
3033         * cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira.
3034
3035         * toplev.h (flag_ira): Remove.
3036
3037         * caller-save.c (setup_save_areas): Remove flag_ira.
3038
3039         * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): Ditto.
3040
3041         * global.c: Remove the file.
3042
3043         * opts.c (decode_options): Remove flag_ira.
3044
3045         * hard-reg-set.h (losing_caller_save_reg_set): Remove.
3046
3047         * regmove.c: Modify file description.
3048         (find_use_as_address, try_auto_increment): Define them only if
3049         AUTO_INC_DEC is defined.
3050         (replacement_quality, replace_in_call_usage, fixup_match_1,
3051         stable_and_no_regs_but_for_p): Remove.
3052         (reg_set_in_bb): Make it static.
3053         (regmove_optimize): Remove flag_ira and code which worked for
3054         !flag_ira.
3055
3056         * local-alloc.c: Remove the file.
3057
3058         * common.opt (fira): Remove.
3059
3060         * ira.c: Include except.h.
3061         (eliminable_regset): Move from global.c.
3062         (mark_elimination): Ditto.  Remove flag_ira.
3063         (reg_renumber, struct equivalence, reg_equiv, equiv_mem,
3064         equiv_mem_modified, validate_equiv_mem_from_store,
3065         validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p,
3066         contains_replace_regs, memref_referenced_p, memref_used_between_p,
3067         no_equiv, recorded_label_ref): Move from local-alloc.c.
3068         (update_equiv_regs): Ditto.  Make it static.
3069         (print_insn_chain, print_insn_chains): Move it from global.c.
3070         (pseudo_for_reload_consideration_p): Ditto.  Remove flag_ira.
3071         (build_insn_chain): Ditto.  Make it static.
3072         (ra_init_live_subregs): Move from ra-conflict.c.  Make it static.
3073         Rename to init_live_subregs.
3074         (gate_ira): Remove flag_ira.
3075
3076         * regclass.c: Rename reginfo.c.  Change file description.
3077         (FORBIDDEN_INC_DEC_CLASSES): Remove.
3078         (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec): Remove.
3079         (init_reg_sets_1): Remove code for evaluation of
3080         reg_class_superclasses and losing_caller_save_reg_set.
3081         (init_regs): Remove init_reg_autoinc.
3082         (struct costs, costs, init_cost, ok_for_index_p_nonstrict,
3083         ok_for_base_p_nonstrict): Remove.
3084         (regclass_init): Rename to reginfo_init.  Don't initialize init_cost.
3085         (pass_regclass_init): Rename to pass_reginfo_init.  Modify
3086         corresponding entries.
3087         (dump_regclass, record_operand_costs, scan_one_insn,
3088         init_reg_autoinc, regclass, record_reg_classes, copy_cost,
3089         record_address_regs, auto_inc_dec_reg_p): Remove.
3090         (gt-regclass.h): Rename to gt-reginfo.h.
3091
3092         * rtl.h (dump_global_regs, retry_global_alloc,
3093         build_insn_chain, dump_local_alloc, update_equiv_regs): Remove.
3094
3095         * Makefile.in (RA_H): Remove.
3096         (OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o.
3097         Rename regclass.o to reginfo.o.
3098         (regclass.o): Rename to reginfo.o.  Rename gt-regclass.h to
3099         gt-reginfo.h.
3100         (global.o, local-alloc.o, ra-conflict.o): Remove entries.
3101         (GTFILES): Rename regclass.c to reginfo.c.
3102
3103         * passes.c (init_optimization_passes): Remove pass_local_alloc and
3104         pass_global_alloc.  Rename pass_regclass_init to pass_reginfo_init.
3105
3106         * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
3107         count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
3108         Remove flag_ira.
3109         (finish_spills): Ditto.  Remove code for !flag_ira.
3110         
3111 2009-01-29  Kenneth Zadeck  <zadeck@naturalbridge.com>
3112
3113         PR middle-end/35854
3114         * doc/invoke.texi (rtl debug options): Complete rewrite.
3115         * auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec"
3116         to auto_inc_dec".
3117         * mode-switching.c (pass_mode_switching): Rename pass from
3118         "mode-sw" to "mode_sw".
3119         * except.c (pass_convert_to_eh_ranges): Rename pass from
3120         "eh-ranges" to "eh_ranges".
3121         * lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
3122         to "subreg1".
3123                 
3124         
3125 2009-01-29  Andrey Belevantsev  <abel@ispras.ru>
3126             Alexander Monakov  <amonakov@ispras.ru>
3127
3128         PR middle-end/38857
3129         * sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
3130         register.
3131         (move_exprs_to_boundary): Change return type and pass through
3132         should_move from move_op.  Relax assert.  Update usage ...
3133         (schedule_expr_on_boundary): ... here.  Use should_move instead of
3134         cant_move.
3135         (move_op_orig_expr_found): Indicate that insn was disconnected from
3136         stream.
3137         (code_motion_process_successors): Do not call after_merge_succs
3138         callback if original expression was not found when traversing any of
3139         the branches.
3140         (code_motion_path_driver): Change return type.  Update prototype.
3141         (move_op): Update comment.  Add a new parameter (should_move).  Update
3142         prototype.  Set *should_move based on indication provided by
3143         move_op_orig_expr_found.
3144
3145 2009-01-28  Pat Haugen  <pthaugen@us.ibm.com>
3146
3147         * doc/invoke.texi (avoid-indexed-addresses): Document new option.
3148         * config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare.
3149         * config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
3150         * config/rs6000/rs6000.c (rs6000_override_options): Default
3151         avoid-indexed-addresses on for Power6, off for everything else.
3152         (avoiding_indexed_address_p): New function.
3153         (rs6000_legitimize_address): Use it.
3154         (rs6000_legitimate_address): Likewise.
3155         * config/rs6000/rs6000.md (movXX_updateX): Likewise
3156
3157 2009-01-28  Kazu Hirata  <kazu@codesourcery.com>
3158
3159         PR tree-optimization/38997
3160         * tree-loop-distribution.c (generate_memset_zero): Use
3161         POINTER_PLUS_EXPR for a pointer addition.
3162
3163 2009-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>
3164
3165         * config/s390/s390.md (bswap<mode>2): New pattern added.
3166
3167 2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>
3168
3169         * config/s390/s390.md (*tls_load_31): Added type attribute.
3170
3171 2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>
3172
3173         * config/s390/s390.md: Fix a few comments.
3174
3175 2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>
3176
3177         * config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute.
3178         (*tm<mode>_full): Fixed z10prop attribute.
3179         (*tst<mode>_extimm): Fixed z10prop attribute.
3180         (*tst<mode>_cconly_extimm): Fixed z10prop attribute.
3181         (*tstqiCCT_cconly): Fixed z10prop attribute.
3182         (*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute.
3183         (*movsi_larl): Fixed z10prop attribute.
3184         (*movsi_zarch): Fixed z10prop attribute.
3185         (*movsi_eas): Fixed z10prop attribute.
3186         (*movhi): Fixed z10prop attribute.
3187         (*movqi): Fixed z10prop attribute.
3188         (*movstrictqi): Fixed z10prop attribute.
3189         (*mov<mode>): Fixed z10prop attribute.
3190         (*movcc): Fixed z10prop attribute.
3191         (*sethighpartdi_64): Fixed z10prop attribute.
3192         (*zero_extendhi<mode>2_z10): Fixed z10prop attribute.
3193         (*negdi2_sign_cc): Fixed z10prop attribute.
3194         (*negdi2_sign): Fixed z10prop attribute.
3195         (*absdi2_sign_cc): Fixed z10prop attribute.
3196         (*absdi2_sign): Fixed z10prop attribute.
3197         (*negabsdi2_sign_cc): Fixed z10prop attribute.
3198         (*negabsdi2_sign): Fixed z10prop attribute.
3199         (*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute.
3200         (*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute.
3201         (doloop_si64): Fixed z10prop attribute.
3202         (doloop_si31): Fixed z10prop attribute.
3203         (doloop_long): Fixed z10prop attribute.
3204         (indirect_jump): Fixed z10prop attribute.
3205         (nop): Fixed z10prop attribute.
3206         (main_base_64): Fixed z10prop attribute.
3207         (reload_base_64): Fixed z10prop attribute.
3208
3209 2009-01-28  Jakub Jelinek  <jakub@redhat.com>
3210
3211         PR rtl-optimization/38740
3212         * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling
3213         if !optimize.
3214         * config/mips/mips.c (mips_reorg): Likewise.
3215
3216 2009-01-28  Richard Guenther  <rguenther@suse.de>
3217
3218         PR tree-optimization/38926
3219         * tree-ssa-pre.c (add_to_value): Assert we add only expressions
3220         with the correct value id to a value.
3221         (do_regular_insertion): Use the value number of edoubleprime
3222         for the value number of the expr.
3223
3224         Revert
3225         2008-08-21  Richard Guenther  <rguenther@suse.de>
3226
3227         * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
3228         a PHI ask VN if it is already available.
3229         * tree-ssa-sccvn.h (vn_phi_lookup): Declare.
3230         * tree-ssa-sccvn.c (vn_phi_lookup): Export.
3231
3232 2009-01-28  Jakub Jelinek  <jakub@redhat.com>
3233
3234         PR middle-end/38934
3235         * tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
3236         set to varying whenever max has TREE_OVERFLOW set, similarly
3237         for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.
3238
3239 2009-01-28  Richard Guenther  <rguenther@suse.de>
3240
3241         PR middle-end/38908
3242         * tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly
3243         uninitialized aggregate uses in call arguments.
3244
3245 2009-01-28  Paolo Bonzini  <bonzini@gnu.org>
3246
3247         PR tree-optimization/38984
3248         * tree-ssa-structalias.c (get_constraints_for_1): Do not use
3249         the nothing_id variable if -fno-delete-null-pointer-checks.
3250
3251 2009-01-28  Uros Bizjak  <ubizjak@gmail.com>
3252
3253         PR target/38988
3254         * config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
3255         (set_got_offset_rex64): Ditto.
3256
3257 2009-01-27  H.J. Lu  <hongjiu.lu@intel.com>
3258
3259         PR target/38941
3260         * doc/extend.texi: Improve local variable with asm reg.
3261
3262 2009-01-27  Adam Nemet  <anemet@caviumnetworks.com>
3263
3264         * c.opt (Wpacked-bitfield-compat): Change init value to -1.
3265         * c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
3266         was not supplied then set warn_packed_bitfield_compat to the
3267         default value of 1.
3268         * stor-layout.c (place_field): Check warn_packed_bitfield_compat
3269         against 1.
3270
3271 2009-01-27  Richard Guenther  <rguenther@suse.de>
3272
3273         PR tree-optimization/38503
3274         * cfgexpand.c (expand_gimple_basic_block): Ignore
3275         GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
3276         * tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
3277         variables that cannot have TBAA applied.
3278         (compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
3279         statements.
3280
3281 2009-01-27  Uros Bizjak  <ubizjak@gmail.com>
3282
3283         PR middle-end/38969
3284         * calls.c (initialize_argument_information): Do not wrap complex
3285         arguments in SAVE_EXPR.
3286
3287 2009-01-26  Andreas Tobler  <a.tobler@schweiz.org>
3288
3289         * config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
3290         (INSTALL_LIBGCC): Revert typo commit.
3291
3292 2009-01-26  Richard Guenther  <rguenther@suse.de>
3293
3294         PR tree-optimization/38745
3295         * tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
3296         from special handling.
3297
3298 2009-01-26  Richard Guenther  <rguenther@suse.de>
3299
3300         PR tree-optimization/38745
3301         * tree-ssa.c (execute_update_addresses_taken): Do not include
3302         variables that cannot possibly be a register in not_reg_needs.
3303         Do not clear TREE_ADDRESSABLE on vars that may not become
3304         registers.
3305         * tree-ssa.c (update_alias_info_1): Include those in the set
3306         of addressable vars.
3307
3308 2009-01-26  Richard Guenther  <rguenther@suse.de>
3309
3310         PR middle-end/38851
3311         * Makefile.in (tree-ssa-dse.o): Add langhooks.h.
3312         * tree-ssa-dse.c: Include langhooks.h
3313         (execute_simple_dse): Remove stores with zero size.
3314
3315 2009-01-24  Jakub Jelinek  <jakub@redhat.com>
3316
3317         PR c/38957
3318         * c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
3319         as PLUS_EXPR.
3320
3321 2009-01-24  Julian Brown  <julian@codesourcery.com>
3322
3323         * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
3324         config/arm/linux-atomic.c.
3325         * config/arm/linux-atomic.c: New.
3326
3327 2009-01-24  Eric Botcazou  <ebotcazou@adacore.com>
3328
3329         * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
3330         * config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
3331         * config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
3332
3333 2009-01-24  H.J. Lu  <hongjiu.lu@intel.com>
3334
3335         PR c/38938
3336         * c-opts.c (c_common_handle_option): Update warn_pointer_sign
3337         properly.
3338
3339 2009-01-24  Sebastian Pop  <sebastian.pop@amd.com>
3340
3341         PR tree-optimization/38953
3342         * graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa.
3343         (scop_adjust_phis_for_liveouts): Initialize false_i to zero.
3344         (gloog): Split the exit of the scop when the scop exit is a loop exit.
3345         (graphite_transform_loops): Only call cleanup_tree_cfg if gloog
3346         changed the CFG.
3347
3348 2009-01-24  Paul Brook  <paul@codesourcery.com>
3349
3350         * config/arm/neon.md (neon_type): Move to arm.md.
3351         (neon_mov<VSTRUCT>): Add neon_type attribute.
3352         * config/arm/arm.md (neon_type): Move to here.
3353         (conds): Add "unconditioal" and use as default for NEON insns.
3354
3355 2009-01-24  Ben Elliston  <bje@au.ibm.com>
3356
3357         * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
3358         void *' warning from -Wc++-compat.
3359         * Makefile.in (dominance.o-warn): Remove.
3360
3361 2009-01-23  Paolo Bonzini  <bonzini@gnu.org>
3362
3363         PR tree-optimization/38932
3364         * fold-const.c (fold_unary_ignore_overflow): New.
3365         * tree.h (fold_unary_ignore_overflow): Declare.
3366         * tree-ssa-ccp.c (ccp_fold): Use fold_unary_ignore_overflow.
3367         * tree-ssa-sccvn.c (visit_reference_op_load,
3368         simplify_unary_expression): Likewise.
3369
3370 2009-01-22  Adam Nemet  <anemet@caviumnetworks.com>
3371
3372         * c-decl.c (finish_struct): Move code to set DECL_PACKED after
3373         DECL_BIT_FIELD is alreay known.  Also inherit packed for bitfields
3374         regardless of their type.
3375         * c-common.c (handle_packed_attribute): Don't ignore packed on
3376         bitfields.
3377         * c.opt (Wpacked-bitfield-compat): New warning option.
3378         * stor-layout.c (place_field): Warn if offset of a field changed.
3379         * doc/extend.texi (packed): Mention the ABI change.
3380         * doc/invoke.texi (-Wpacked-bitfield-compat): Document.
3381         (Warning Options): Add it to the list.
3382
3383 2009-01-22  H.J. Lu  <hongjiu.lu@intel.com>
3384
3385         * c-opts.c (c_common_post_options): Fix a typo in comments.
3386
3387 2009-01-22  Steve Ellcey  <sje@cup.hp.com>
3388
3389         PR middle-end/38615
3390         * gimplify.c (gimplify_init_constructor): Fix promotion of const
3391         variables to static.
3392         * doc/invoke.texi (-fmerge-all-constants): Update description.
3393
3394 2009-01-22  Uros Bizjak  <ubizjak@gmail.com>
3395
3396         PR target/38931
3397         * config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2.
3398         (*movdi_1_rex64): Use type "mmx" for alternative 5.
3399
3400 2009-01-22  Richard Earnshaw  <rearnsha@arm.com>
3401
3402         * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
3403         a word boundary.
3404         (LOCAL_ALIGNMENT): Similarly.
3405
3406 2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>
3407             Joseph Myers  <joseph@codesourcery.com>
3408
3409         * config/arm/arm.c (all_architectures): Add iWMMXt2 entry.
3410         * config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2.
3411         * config/arm/arm-tune.md: Regenerate.
3412         * doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and
3413         -march=iwmmxt2.
3414
3415 2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>
3416
3417         * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
3418         version number to five.
3419
3420 2009-01-22  Dodji Seketeli  <dodji@redhat.com>
3421
3422         PR c++/38930
3423         * c-decl.c (clone_underlying_type): Revert PR c++/26693 changes.
3424         * c-common.c (set_underlying_type): Likewise.
3425         (is_typedef_decl ): Likewise
3426         * tree.h: Likewise
3427         (set_underlying_type): Likewise.
3428         (is_typedef_type): Likewise.
3429
3430 2009-01-21  Vladimir Makarov  <vmakarov@redhat.com>
3431
3432         PR middle-end/38587
3433         * ira-color.c (coalesce_spill_slots): Don't coalesce allocnos
3434         crossing setjmps.
3435
3436 2009-01-21  Dave Korn  <dave.korn.cygwin@gmail.com>
3437
3438         PR bootstrap/37660
3439         * config/i386/cygwin.h (SHARED_LIBGCC_SPEC):  New helper macro.
3440         (LIBGCC_SPEC):  Don't define.
3441         (REAL_LIBGCC_SPEC):  Define instead, using SHARED_LIBGCC_SPEC.
3442
3443 2009-01-21  Uros Bizjak  <ubizjak@gmail.com>
3444
3445         PR rtl-optimization/38879
3446         * alias.c (base_alias_check): Unaligned access via AND address can
3447         alias all surrounding object types except those with sizes equal
3448         or wider than the size of unaligned access.
3449
3450 2009-01-21  Dodji Seketeli  <dodji@redhat.com>
3451
3452         PR c++/26693
3453         * c-decl.c (clone_underlying_type): Move this ...
3454         * c-common.c (set_underlying_type): ... here.
3455         Also, make sure the function properly sets TYPE_STUB_DECL() on
3456         the newly created typedef variant type.
3457         (is_typedef_decl ): New entry point.
3458         * tree.h: Added a new member member_types_needing_access_check to
3459         struct tree_decl_non_common.
3460         (set_underlying_type): New entry point.
3461         (is_typedef_type): Likewise.
3462
3463 2009-01-21  Bingfeng Mei  <bmei@broadcom.com>
3464
3465         * alias.c (walk_mems_1, walk_mems_2, insn_alias_sets_conflict_p):
3466         Check whether two instructions have memory references that
3467         belong to conflicting alias sets.  walk_mems_1 and walk_mems_2
3468         are helper functions for traversing.
3469         * alias.h (insn_alias_sets_confilict_p): New prototypes.
3470         * ddg.c (add_inter_loop_mem_dep): Call insn_alias_sets_conflict_p
3471         not to draw dependency edge for instructions with non-conflicting
3472         alias sets.
3473
3474 2009-01-20  Joseph Myers  <joseph@codesourcery.com>
3475
3476         PR other/38758
3477         * longlong.h: Update copyright years.  Use soft-fp license notice.
3478         Sync __clz_tab declaration with glibc.
3479
3480 2009-01-20  Steve Ellcey  <sje@cup.hp.com>
3481
3482         PR target/30687
3483         * doc/extend.texi (syscall_linkage): New.
3484         (version_id): Modify.
3485
3486 2009-01-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
3487             Richard Guenther  <rguenther@suse.de>
3488
3489         PR tree-optimization/38747
3490         PR tree-optimization/38748
3491         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE
3492         conversion if the base address is an indirect reference and the
3493         aliasing sets could cause issues.
3494
3495 2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>
3496
3497         * common.opt (fgraphite, fgraphite-identity): Add comment for 
3498         explaining why these options are not documented.
3499
3500 2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>
3501
3502         * graphite.c (stmt_simple_for_scop_p): Also handle cases when
3503         gimple_call_lhs is NULL.
3504
3505 2009-01-20  Paolo Bonzini  <bonzini@gnu.org>
3506
3507         PR target/38868
3508         * emit-rtl.c (adjust_address_1): Make sure memref is never
3509         overwritten.
3510
3511 2009-01-20  Ben Elliston  <bje@au.ibm.com>
3512
3513         * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
3514         const qualifier from arg parameter. Remove unnecessary cast to char *.
3515         * gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
3516         const qualifier from arg 2.
3517
3518 2009-01-19  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
3519
3520         * config/darwin.h: Add static-libgfortran to LINK_SPEC.
3521
3522 2009-01-19  Vladimir Makarov  <vmakarov@redhat.com>
3523
3524         PR c/38869
3525         * rtl.h (reinit_regs): New prototype.
3526         * regclass.c: Include ira.h.
3527         (reinit_regs): New.
3528         * Makefile.in (regclass.o): Add ira.h.
3529         * config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs.
3530
3531 2009-01-18  H.J. Lu  <hongjiu.lu@intel.com>
3532
3533         PR target/38736
3534         * c-common.c (handle_aligned_attribute): Use
3535         ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for
3536         default alignment value.
3537
3538         * c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__.
3539
3540         * defaults.h (ATTRIBUTE_ALIGNED_VALUE): New.
3541         * config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise.
3542
3543         * doc/extend.texi: Update __attribute__ ((aligned)).  Document
3544         __BIGGEST_ALIGNMENT__.
3545
3546         * doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE.
3547
3548 2009-01-18  Richard Guenther  <rguenther@suse.de>
3549
3550         PR tree-optimization/38819
3551         * tree-flow.h (operation_could_trap_helper_p): Declare.
3552         * tree-eh.c (operation_could_trap_helper_p): Export.
3553         * tree-ssa-sccvn.h (vn_nary_may_trap): Declare.
3554         * tree-ssa-sccvn.c (vn_nary_may_trap): New function.
3555         * tree-ssa-pre.c (insert_into_preds_of_block): Check if we
3556         are about to insert a possibly trapping instruction and fail
3557         in this case.
3558
3559 2009-01-18  Andreas Schwab  <schwab@suse.de>
3560
3561         * doc/install.texi (Configuration): Remove obsolete paragraph
3562         about use of --with-gnu-ld with --with-gnu-as.
3563
3564 2009-01-18  Kazu Hirata  <kazu@codesourcery.com>
3565
3566         * doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
3567         doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos.
3568         Follow spelling conventions.
3569
3570 2009-01-18  Ben Elliston  <bje@au.ibm.com>
3571
3572         * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
3573         C++ warning about implicit conversion from void * to struct
3574         bitmap_head_def *.
3575         (bitmap_obstack_free): Likewise for bitmap_element *.
3576         * Makefile.in (bitmap.o-warn): Remove.
3577
3578 2009-01-17  Dave Korn  <dave.korn.cygwin@gmail.com>
3579
3580         * Makefile.in (BACKENDLIBS):  Reorder to match dependencies.
3581
3582 2009-01-17  Sebastian Pop  <sebastian.pop@amd.com>
3583             Tobias Grosser  <tobi.grosser@amd.com>
3584
3585         * graphite.c (graphite_trans_scop_block): Do not block single
3586         nested loops.
3587
3588 2009-01-16  Alexandre Oliva  <aoliva@redhat.com>
3589
3590         * ebitmap.h (ebitmap_iter_init): Initialize all fields.
3591         * ipa-struct-reorg.c (gen_struct_type): Replace known-true
3592         test with assertion.
3593
3594 2009-01-16  Richard Guenther  <rguenther@suse.de>
3595
3596         PR tree-optimization/38835
3597         PR middle-end/36227
3598         * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
3599         and INT + PTR -> (INT)(PTR p+ INT) folding.
3600         * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.
3601
3602 2009-01-16  Adam Nemet  <anemet@caviumnetworks.com>
3603
3604         PR target/38554
3605         * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
3606         the subreg from a lowpart subreg if it is also casting the value.
3607
3608 2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
3609             Tobias Grosser  <tobi.grosser@amd.com>
3610
3611         * graphite.c (compare_prefix_loops): New.
3612         (build_scop_canonical_schedules): Rewritten.
3613         (graphite_transform_loops): Move build_scop_canonical_schedules
3614         after build_scop_iteration_domain.
3615
3616 2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
3617             Tobias Grosser  <tobi.grosser@amd.com>
3618
3619         * graphite.c (add_conditions_to_domain): Add the loops to 
3620         the dimension of the iteration domain.  Do copy the domain
3621         only when it exists.
3622         (build_scop_conditions_1): Do not call add_conditions_to_domain.
3623         (add_conditions_to_constraints): New.
3624         (can_generate_code_stmt, can_generate_code): Removed.
3625         (gloog): Do not call can_generate_code.
3626         (graphite_transform_loops): Call add_conditions_to_constraints
3627         after building the iteration domain.
3628
3629 2009-01-16  Jakub Jelinek  <jakub@redhat.com>
3630
3631         PR tree-optimization/38789
3632         * tree-ssa-threadedge.c
3633         (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
3634         __builtin_constant_p.
3635
3636 2009-01-16  Kenneth Zadeck  <zadeck@naturalbridge.com>
3637
3638         * dce.c (delete_unmarked_insns): Reversed the order that insns are
3639         examined before deleting them.
3640         
3641 2009-01-16  Richard Earnshaw  <rearnsha@arm.com>
3642
3643         * function.c (aggregate_value_p): Correctly extract the function
3644         type from CALL_EXPR_FN lookup.
3645
3646 2009-01-16  Hariharan Sandanagobalane  <hariharan@picochip.com>
3647
3648         * config/picochip/picochip.c (picochip_override_options): Revert
3649         CFI asm flag disable commited previously.
3650
3651 2009-01-15  Sebastian Pop  <sebastian.pop@amd.com>
3652             Tobias Grosser  <tobi.grosser@amd.com>
3653             Jan Sjodin  <jan.sjodin@amd.com>
3654
3655         * graphite.c (scan_tree_for_params): On substractions negate
3656         all the coefficients of the term.
3657         (clast_to_gcc_expression_red): New.  Handle reduction expressions
3658         of more than two operands.
3659         (clast_to_gcc_expression): Call clast_to_gcc_expression_red.
3660         (get_vdef_before_scop): Handle also the case of default definitions.
3661
3662 2009-01-15  Richard Sandiford  <rdsandiford@googlemail.com>
3663
3664         * caller-save.c (add_used_regs_1, add_used_regs): New functions.
3665         (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
3666         Also use them when walking CALL_INSN_FUNCTION_USAGE.
3667
3668 2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3669             Joey Ye  <joey.ye@intel.com>
3670
3671         PR middle-end/37843
3672         * cfgexpand.c (expand_stack_alignment): Don't update stack
3673         boundary nor check incoming stack boundary here.
3674         (gimple_expand_cfg): Update stack boundary and check incoming
3675         stack boundary here.
3676
3677 2009-01-15  Kenneth Zadeck  <zadeck@naturalbridge.com>
3678
3679         * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments.
3680         
3681 2009-01-14  Jakub Jelinek  <jakub@redhat.com>
3682
3683         PR rtl-optimization/38245
3684         * calls.c (expand_call): Add stack arguments to
3685         CALL_INSN_FUNCTION_USAGE even for pure calls (when
3686         ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
3687         in regs and partially in memory or BLKmode arguments.
3688         (emit_library_call_value_1): Add stack arguments to
3689         CALL_INSN_FUNCTION_USAGE even for pure calls (when
3690         ACCUMULATE_OUTGOING_ARGS).
3691         * dce.c: Include tm_p.h.
3692         (find_call_stack_args): New function.
3693         (deletable_insn_p): Call it for CALL_P insns.  Add ARG_STORES
3694         argument.
3695         (mark_insn): Call find_call_stack_args for CALL_Ps.
3696         (prescan_insns_for_dce): Walk insns backwards in bb rather than
3697         forwards.  Allocate and free arg_stores bitmap if needed, pass it
3698         down to deletable_insn_p, don't mark stores set in arg_stores
3699         bitmap, clear the bitmap at the beginning of each bb.
3700         * Makefile.in (dce.o): Depend on $(TM_P_H).
3701
3702 2009-01-14  Michael Meissner  <gnu@the-meissners.org>
3703
3704         PR target/22599
3705         * config/i386/i386.c (print_operand): Add tests for 'D', 'C', 'F', 'f'
3706         to make sure the insn is a conditional test (bug 22599).  Reformat a
3707         few long lines.
3708
3709 2009-01-14  Sebastian Pop  <sebastian.pop@amd.com>
3710
3711         PR middle-end/38431
3712         * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
3713         (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
3714         (gloog): Do not call cleanup_tree_cfg.
3715         (graphite_transform_loops): Call cleanup_tree_cfg after all 
3716         scops have been code generated.
3717
3718 2009-01-14  Basile Starynkevitch  <basile@starynkevitch.net>
3719         * doc/gty.texi (Invoking the garbage collector): Added new node
3720         and section documenting ggc_collect.
3721
3722 2009-01-14  Richard Guenther  <rguenther@suse.de>
3723
3724         PR tree-optimization/38826
3725         PR middle-end/38477
3726         * tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
3727         initialization notes only if we actually emitted a warning.
3728         (intra_create_variable_infos): Add constraints for a result decl
3729         that is passed by hidden reference.
3730         (build_pred_graph): Mark all related variables non-direct on
3731         address-taking.
3732
3733 2009-01-14  Nick Clifton  <nickc@redhat.com>
3734
3735         * ira-conflicts.c: Include addresses.h for the definition of
3736         base_reg_class.
3737         (ira_build_conflicts): Use base_reg_class instead of BASE_REG_CLASS.
3738         * Makefile.in: Add a dependency of ira-conflicts.o on addresses.h.
3739
3740 2009-01-13  Vladimir Makarov  <vmakarov@redhat.com>
3741
3742         PR target/38811
3743         * Makefile.in (ira-lives.o): Add except.h.
3744
3745         * ira-lives.c: Include except.h.
3746         (process_bb_node_lives): Process can_throw_internal.
3747
3748 2009-01-13  Jakub Jelinek  <jakub@redhat.com>
3749
3750         PR rtl-optimization/38774
3751         * combine.c (simplify_set): When undoing cc_use change, don't do
3752         PUT_CODE on the newly created comparison, but instead put back the
3753         old comparison.
3754
3755 2009-01-13  Joseph Myers  <joseph@codesourcery.com>
3756
3757         * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
3758         values.  Remove duplicate arm8 entry.
3759
3760 2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
3761
3762         PR tree-optimization/38786
3763         * graphite.c (expand_scalar_variables_ssa_name): New, outlined from
3764         the SSA_NAME case of expand_scalar_variables_expr.
3765         Set the type of an expression to the type of its assign statement.
3766         (expand_scalar_variables_expr): Also gather the scalar computation
3767         used to index the memory access.  Do not pass loop_p.
3768         Fix comment.  Stop recursion on tcc_constant or tcc_declaration.
3769         (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
3770         the gimple_stmt_iterator where it inserts new code.
3771         Do not pass loop_p.
3772         (copy_bb_and_scalar_dependences): Do not pass loop_p.
3773         (translate_clast): Update call to copy_bb_and_scalar_dependences.
3774
3775 2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
3776
3777         * graphite.h (debug_value): Removed.
3778         * graphite.c (debug_value): Removed.
3779
3780 2009-01-13  Richard Earnshaw  <rearnsha@arm.com>
3781
3782         * config/arm/arm.c (output_move_double): Don't synthesize thumb-2
3783         ldrd/strd with two 32-bit instructions.
3784
3785 2009-01-13  Richard Earnshaw  <rearnsha@arm.com>
3786
3787         * config/arm/arm.c (struct processors): Pass for speed down into
3788         cost helper functions.
3789         (const_ok_for_op): Handle COMPARE and inequality nodes.
3790         (arm_rtx_costs_1): Rewrite.
3791         (arm_size_rtx_costs): Update prototype.
3792         (arm_rtx_costs): Pass speed down to helper functions.
3793         (arm_slowmul_rtx_costs): Rework cost calculations.
3794         (arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
3795         (arm_9e_rtx_costs): Likewise.
3796
3797 2009-01-13  Uros Bizjak  <ubizjak@gmail.com>
3798
3799         * config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
3800         relocations of local symbols wider than UNITS_PER_WORD are not valid.
3801         (alpha_legitimize_address): Do not split local symbols wider than
3802         UNITS_PER_WORD into HIGH/LO_SUM parts.
3803
3804 2009-01-13  Danny Smith  <dannysmith@users.sourceforge.net>
3805
3806         PR bootstrap/38580
3807         * gcc.c (process_command): Replace call to execvp with calls
3808         to pex_one and exit.
3809
3810 2009-01-03  Anatoly Sokolov  <aesok@post.ru>
3811
3812         PR target/29141
3813         * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm.
3814         * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add
3815         variant for devices with 3-byte PC.
3816         (__tablejump_elpm__): New.
3817
3818 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
3819
3820         PR c/32041
3821         * c-parser.c (c_parser_postfix_expression): Allow `->' in
3822         offsetof member-designator, handle it as `[0].'.
3823
3824 2009-01-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3825
3826         * pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk
3827         function when not using named sections on targets with named sections
3828         if branch distance is less than 262132.
3829
3830 2009-01-12  Richard Earnshaw  <rearnsha@arm.com>
3831
3832         * combine.c (combine_instructions):  Recompute
3833         optimize_this_for_speed_p  for each BB in the main combine loop.
3834
3835 2009-01-12  Tomas Bily  <tbily@suse.cz>
3836
3837         PR middlend/38385
3838         * tree-loop-distribution.c (prop_phis): New function.
3839         (generate_builtin): Call prop_phis.
3840         * testsuite/gcc.dg/tree-ssa/pr38385.c: New file.
3841
3842 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
3843
3844         PR tree-optimization/38807
3845         * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at
3846         gimple_visited_p unless stmt is GIMPLE_ASSIGN.
3847
3848 2009-01-11  Adam Nemet  <anemet@caviumnetworks.com>
3849
3850         * expmed.c (store_bit_field_1): Properly truncate the paradoxical
3851         subreg of op0 to the original op0.
3852
3853 2009-01-11  Laurent GUERBY  <laurent@guerby.net>
3854
3855         * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc.
3856         
3857 2009-01-11  Markus Schoepflin  <markus.schoepflin@comsoft.de>
3858
3859         PR debug/7055
3860         * gcc/mips-tfile.c (parse_def): Fix parsing of def strings
3861         starting with digits.
3862
3863 2009-01-10  Jakub Jelinek  <jakub@redhat.com>
3864
3865         PR target/38695
3866         * config/arm/arm.c (arm_is_long_call_p): Don't call
3867         arm_function_in_section_p if decl isn't a FUNCTION_DECL.
3868
3869 2009-01-09  Steven Bosscher  <steven@gcc.gnu.org>
3870
3871         * regrename.c (regrename_optimize): Fix dumping.
3872         (find_oldest_value_reg): Preserve REG_POINTER.
3873         (copy_hardreg_forward_1): Likewise.
3874
3875 2009-01-09  Diego Novillo  <dnovillo@google.com>
3876
3877         * gimple.h (struct gimple_statement_base) <uid>: Document
3878         the restrictions on its use.
3879         (gimple_uid): Tidy.
3880         (gimple_set_uid): Tidy.
3881
3882 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
3883
3884         * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
3885         zero guard even if align_bytes != 0 and count is smaller than
3886         size_needed.
3887
3888 2009-01-09  Vladimir Makarov  <vmakarov@redhat.com>
3889
3890         PR rtl-optimization/38495
3891         * ira-emit.c (print_move_list, ira_debug_move_list): New functions.
3892         (add_range_and_copies_from_move_list): Print all added ranges.
3893         Add ranges to memory optimized destination.
3894
3895 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
3896
3897         PR target/38686
3898         PR target/38708
3899         * config/i386/i386.c (override_options): Reject
3900         -mstringop-strategy=rep_8byte with -m32.
3901         (ix86_expand_movmem): For size_needed == 1 set epilogue_size_needed
3902         to 1.  Do count comparison against epilogue_size_needed at compile
3903         time even when count_exp was constant forced into register.  For
3904         size_needed don't jump to epilogue, instead just avoid aligning
3905         and invoke the body algorithm.  If need_zero_guard, add zero guard
3906         even if count is non-zero, but smaller than size_needed + number of
3907         bytes that could be stored for alignment.
3908         (ix86_expand_setmem): For size_needed == 1 set epilogue_size_needed
3909         to 1.  If need_zero_guard, add zero guard even if count is non-zero,
3910         but smaller than size_needed + number of bytes that could be stored
3911         for alignment.  Compare size_needed with epilogue_size_needed instead
3912         of desired_align - align, don't adjust size_needed, pass
3913         epilogue_size_needed to the epilogue expanders.
3914
3915         PR c/35742
3916         * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like BIND_EXPR.
3917
3918 2009-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3919
3920         * pa.c (last_address): Change to unsigned.
3921         (update_total_code_bytes): Change argument to unsigned.  Don't
3922         check if insn addresses are set.
3923         (pa_output_function_epilogue): Set last_address to UINT_MAX if insn
3924         addresses are not set.
3925         (pa_asm_output_mi_thunk): Handle wrap when updating last_address.
3926
3927 2009-01-09  Nick Clifton  <nickc@redhat.com>
3928
3929         * config/sh/symbian.c: Replace uses of DECL_INLINE with
3930         DECL_DECLARED_INLINE_P.
3931
3932 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
3933
3934         PR middle-end/38347
3935         * dojump.c (do_jump_by_parts_zero_rtx): Use mode instead of
3936         GET_MODE (op0) in operand_subword_force calls.
3937
3938         PR middle-end/38771
3939         * fold-const.c (fold_unary): For COMPOUND_EXPR and COND_EXPR,
3940         fold_convert arg0 operands to TREE_TYPE (op0) first.
3941
3942 2009-01-08  Vladimir Makarov  <vmakarov@redhat.com>
3943
3944         * params.def (ira-max-conflict-table-size): Decrease default value
3945         to 1000.
3946
3947 2009-01-08  Jakub Jelinek  <jakub@redhat.com>
3948
3949         PR tree-optimization/37031
3950         * lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy
3951         on parameter_set.
3952         (build_access_matrix): Reserve correct size for AM_MATRIX vector,
3953         allocate it using gc instead of heap, use VEC_quick_push instead of
3954         VEC_safe_push.
3955         * graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc
3956         instead of heap, use VEC_quick_push instead of VEC_safe_push.
3957         * tree-data-ref.h (struct access_matrix): Change matrix to gc
3958         allocated vector from heap allocated.
3959         * lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector.
3960         * tree-loop-linear.c (linear_transform_loops): Allocate nest
3961         vector only after perfect_loop_nest_depth call.
3962
3963 2009-01-08  Sebastian Pop  <sebastian.pop@amd.com>
3964             Jan Sjodin  <jan.sjodin@amd.com>
3965
3966         PR tree-optimization/38559
3967         * graphite.c (debug_value, copy_constraint,
3968         swap_constraint_variables, scale_constraint_variable, ): New.
3969         (get_lower_bound, get_upper_bound): Removed.
3970         (graphite_trans_bb_strip_mine): Clean up this code that works
3971         only for constant number of iterations.  Fully copy upper and
3972         lower bound constraints, not only the constant part of them.
3973         * graphite.h (debug_value): Declared.
3974
3975 2009-01-08  Ira Rosen  <irar@il.ibm.com>
3976
3977         PR tree-optimization/37194
3978         * tree-vect-transform.c (vect_estimate_min_profitable_iters):
3979         Don't add the cost of cost model guard in prologue to scalar 
3980         outside cost in case of known number of iterations.
3981
3982 2009-01-07  Nathan Froyd  <froydnj@codesourcery.com>
3983             Alan Modra  <amodra@bigpond.net.au>
3984
3985         * config/rs6000/rs6000.c (rs6000_legitimize_address): Check for
3986         non-word-aligned REG+CONST addressing.
3987
3988 2009-01-07  Uros Bizjak  <ubizjak@gmail.com>
3989
3990         PR target/38706
3991         * config/alpha/alpha.c (alpha_end_function): For TARGET_ABI_OSF, call
3992         free_after_compilation when outputting a thunk.
3993         (alpha_output_mi_thunk_osf): Assert that we are processing a thunk.
3994         Do not call free_after_compilation here.
3995
3996 2009-01-07  Uros Bizjak  <ubizjak@gmail.com>
3997
3998         * config/i386/i386.c (ix86_target_string): Use ARRAY_SIZE.
3999         (ix86_valid_target_attribute_inner_p): Ditto.
4000
4001 2009-01-07  Jan Sjodin  <jan.sjodin@amd.com>
4002
4003         PR tree-optimization/38492
4004         PR tree-optimization/38498
4005         * tree-check.c (operator_is_linear, scev_is_linear_expression): New.
4006         * tree-chrec.h (scev_is_linear_expression): Declared.
4007         * graphite.c (graphite_cannot_represent_loop_niter): New.
4008         (scopdet_basic_block_info): Call graphite_cannot_represent_loop_niter.
4009         (graphite_loop_normal_form): Use gcc_assert.
4010         (scan_tree_for_params): Use CASE_CONVERT.
4011         (phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes): New.
4012         (build_scop_conditions_1): Call bb_contains_non_iv_scalar_phi_nodes.
4013         Use gcc_assert.  Discard scops that contain unhandled cases.
4014         (build_scop_conditions): Return a boolean status for unhandled cases.
4015         (strip_mine_profitable_p): Print the loop number, not its depth.
4016         (is_interchange_valid): Pass the depth of the loop nest, don't
4017         recompute it wrongly.
4018         (graphite_trans_bb_block): Same.
4019         (graphite_trans_bb_block): Print tentative of loop blocking.
4020         (graphite_trans_scop_block): Do not print that the loop has been
4021         blocked.
4022         (graphite_transform_loops): Do not handle scops that contain condition
4023         scalar phi nodes.
4024
4025 2009-01-07  H.J. Lu  <hongjiu.lu@intel.com>
4026
4027         AVX Programming Reference (December, 2008)
4028         * config/i386/avxintrin.h (_mm256_stream_si256): New.
4029         (_mm256_stream_pd): Likewise.
4030         (_mm256_stream_ps): Likewise.
4031
4032         * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVNTDQ256,
4033         IX86_BUILTIN_MOVNTPD256 and IX86_BUILTIN_MOVNTPS256.
4034         (ix86_special_builtin_type): Add VOID_FTYPE_PV4DI_V4DI.
4035         (bdesc_special_args): Add __builtin_ia32_movntdq256,
4036         __builtin_ia32_movntpd256 and __builtin_ia32_movntps256.
4037         (ix86_init_mmx_sse_builtins): Handle VOID_FTYPE_PV4DI_V4DI.
4038         (ix86_expand_special_args_builtin): Likewise.
4039
4040         * config/i386/sse.md (AVXMODEDI): New.
4041         (avx_movnt<mode>): Likewise.
4042         (avx_movnt<mode>): Likewise.
4043         (<sse>_movnt<mode>): Remove AVX support.
4044         (sse2_movntv2di): Likewise.
4045
4046 2009-01-07  Richard Guenther  <rguenther@suse.de>
4047
4048         PR middle-end/38751
4049         * fold-const.c (extract_muldiv): Remove obsolete comment.
4050         (fold_plusminus_mult_expr): Undo MINUS_EXPR
4051         to PLUS_EXPR canonicalization for the canonicalization.
4052
4053 2009-01-07  Gerald Pfeifer  <gerald@pfeifer.com>
4054
4055         * doc/install.texi (alpha*-dec-osf*): Remove note on 32-bit
4056         hosted cross-compilers generating less efficient code.
4057
4058 2009-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
4059
4060         * function.h (rtl_data): Add a dbr_scheduled_p field.
4061         * reorg.c (dbr_schedule): Set it.
4062         (gate_handle_delay_slots): Check it.
4063         * config/mips/mips.c (mips_base_delayed_branch): Delete.
4064         (mips_reorg): Check flag_delayed_branch instead of
4065         mips_base_delayed_branch.
4066         (mips_override_options): Don't set mips_base_delayed_branch
4067         or flag_delayed_branch.
4068
4069 2009-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
4070
4071         PR rtl-optimization/38426.
4072         * ira.c (ira): Set current_function_is_leaf earlier.
4073
4074 2009-01-06  Jakub Jelinek  <jakub@redhat.com>
4075
4076         PR rtl-optimization/38722
4077         * combine.c (try_co