OSDN Git Service

4a7fcb7c0d3627c30fba09436cc13718e53b506b
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2008-02-29  Kaz Kojima  <kkojima@gcc.gnu.org>
2
3         * config/sh/sh.c (sh_secondary_reload): Handle loading a float
4         constant to fpul.
5
6 2008-02-28  Richard Sandiford  <rsandifo@nildram.co.uk>
7
8         * simplify-rtx.c (simplify_unary_operation_1): Extend the handling
9         of SUBREG_PROMOTED_VAR_P to cope with cases where the extended value
10         is smaller than the original promoted value.
11         (simplify_subreg): If OP is a SUBREG, try to preserve its
12         SUBREG_PROMOTED_VAR_P information.
13
14 2008-02-28  Steven Bosscher  <stevenb.gcc@gmail.com>
15
16         * tree-ssa-sccvn (vn_ssa_aux_obstack): New obstack.
17         (VN_INFO_GET): Allocate new objects on the obstack.
18         (init_scc_vn): Initialize the obstack.  Use XDELETE instead of free
19         for rpo_numbers_temp, for consistency.
20         (free_scc_vn): Free the obstack.
21
22 2008-02-28  Sebastian Pop  <sebastian.pop@amd.com>
23
24         * doc/invoke.texi: Document -ftree-loop-distribution.
25         * tree-loop-distribution.c: New.
26         * tree-pass.h (pass_loop_distribution): New.
27         * graphds.h (struct graph): Add htab_t indices.
28         * timevar.def (TV_TREE_LOOP_DISTRIBUTION): New.
29         * tree-vectorizer.c (rename_variables_in_loop): Extern.
30         (slpeel_tree_duplicate_loop_to_edge_cfg): Init PENDING_STMT to NULL.
31         * tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared.
32         * tree-data-ref.c (debug_data_dependence_relations): New.
33         (dump_data_dependence_relation): Also print data references.
34         (free_data_ref): Extern.
35         (same_access_functions): Moved...
36         (find_vertex_for_stmt): Renamed rdg_vertex_for_stmt.
37         (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
38         debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg,
39         struct rdg_vertex_info, rdg_vertex_for_stmt): New.
40         (create_rdg_edge_for_ddr, create_rdg_vertices): Cleaned up.
41         (stmts_from_loop): Skip LABEL_EXPR.
42         (hash_stmt_vertex_info, eq_stmt_vertex_info, hash_stmt_vertex_del): New.
43         (build_rdg): Initialize rdg->indices htab.
44         (free_rdg, stores_from_loop, ref_base_address,
45         rdg_defs_used_in_other_loops_p, have_similar_memory_accesses,
46         have_similar_memory_accesses_1, ref_base_address_1,
47         remove_similar_memory_refs): New.
48         * tree-data-ref.h: Depend on tree-chrec.h.
49         (debug_data_dependence_relations, free_data_ref): Declared.
50         (same_access_functions): ... here.
51         (ddr_is_anti_dependent, ddrs_have_anti_deps, ddr_dependence_level): New.
52         (struct rdg_vertex): Add has_mem_write and has_mem_reads.
53         (RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT,
54         RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT): New.
55         (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
56         debug_rdg_component, dump_rdg, debug_rdg, dot_rdg,
57         rdg_vertex_for_stmt): Declared.
58         (struct rdg_edge): Add level.
59         (RDGE_LEVEL): New.
60         (free_rdg, stores_from_loop, remove_similar_memory_refs,
61         rdg_defs_used_in_other_loops_p, have_similar_memory_accesses): Declared.
62         (rdg_has_similar_memory_accesses): New.
63         * tree-vect-analyze.c: Remove unused static decls.
64         * lambda.h (dependence_level): New.
65         * common.opt (ftree-loop-distribution): New.
66         * tree-flow.h (mark_virtual_ops_in_bb, 
67         slpeel_tree_duplicate_loop_to_edge_cfg,
68         rename_variables_in_loop): Declared.
69         * Makefile.in (TREE_DATA_REF_H): Depend on tree-chrec.h.
70         (OBJS-common): Add tree-loop-distribution.o.
71         (tree-loop-distribution.o): New rule.
72         * tree-cfg.c (mark_virtual_ops_in_bb): New.
73         (mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb.
74         * passes.c (init_optimization_passes): Schedule pass_loop_distribution.
75
76 2008-02-28  Joseph Myers  <joseph@codesourcery.com>
77
78         PR target/33963
79         * tree.c (handle_dll_attribute): Disallow TYPE_DECLs for types
80         other than structures and unions.
81
82 2008-02-28  Richard Guenther  <rguenther@suse.de>
83
84         Revert:
85         2008-02-26  Richard Guenther  <rguenther@suse.de>
86
87         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
88         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
89         (lookup_decl_from_uid): Declare.
90         (remove_decl_from_map): Likewise.
91         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
92         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
93         (decl_for_uid_map): New global hashtable mapping DECL_UID
94         to the decl tree.
95         (init_ttree): Allocate it.
96         (insert_decl_to_uid_decl_map): New helper function.
97         (make_node_stat): Insert new decls into the map.
98         (copy_node_stat): Likewise.
99         (lookup_decl_from_uid): New function.
100         (remove_decl_from_map): Likewise.
101         (print_decl_for_uid_map_statistics): New helper.
102         (dump_tree_statistics): Call it.
103
104         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
105         (referenced_var_iterator): Adjust.
106         (FOR_EACH_REFERENCED_VAR): Adjust.
107         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
108         (num_referenced_vars): Adjust.
109         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
110         (first_referenced_var): Remove.
111         (end_referenced_vars_p): Likewise.
112         (next_referenced_var): Likewise.
113         (referenced_var_iterator_set): New helper function.
114         * tree-dfa.c (referenced_var_lookup): Adjust.
115         (referenced_var_check_and_insert): Likewise.
116         (remove_referenced_var): Likewise.
117         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
118         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
119         (verify_call_clobbering): Likewise.
120         (verify_memory_partitions): Likewise.
121         (init_tree_ssa): Allocate bitmap instead of hashtable for
122         referenced_vars.
123         (delete_tree_ssa): Adjust.
124         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
125         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
126         (compute_tag_properties): Likewise.
127         (set_initial_properties): Likewise.
128         (find_partition_for): Likewise.
129         (update_reference_counts): Likewise.
130         (dump_may_aliases_for): Likewise.
131         * tree-ssa-operands.c (add_virtual_operand): Likewise.
132         (add_call_clobber_ops): Likewise.
133         (add_call_read_ops): Likewise.
134         (get_asm_expr_operands): Likewise.
135         * tree-into-ssa.c (dump_decl_set): Likewise.
136         (update_ssa): Likewise.
137         * tree-sra.c (scan_function): Likewise.
138         (decide_instantiations): Likewise.
139         (scalarize_parms): Likewise.
140         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
141         (dsa_named_for): Likewise.
142         * tree-ssa-structalias.c (update_alias_info): Likewise.
143         (merge_smts_into): Likewise.
144
145 2008-02-27  David Daney  <ddaney@avtrex.com>
146
147         PR target/34409
148         * config/mips/iris.h (MIPS_DEBUGGING_INFO): Define.
149         * config/mips/openbsd.h (MIPS_DEBUGGING_INFO): Same.
150         * config/mips/sde.h (MIPS_DEBUGGING_INFO): Remove undef.
151         * config/mips/vxworks.h (MIPS_DEBUGGING_INFO): Same.
152         * config/mips/mips.h (MIPS_DEBUGGING_INFO): Remove define.
153
154 2008-02-27  Uros Bizjak  <ubizjak@gmail.com>
155
156         PR target/25477
157         * config/darwin-ppc-ldouble-patch.def (BUILT_IN_NANL): Add.
158         (BUILT_IN_NEXTTOWARD): Remove.
159         (BUILT_IN_NEXTTOWARDF): Ditto.
160         * config/darwin.c (darwin_patch_builtin): Use ACONCAT instead of
161         alloca/strcpy/strcat.  Remove commented-out code.  Fix whitespace.
162
163 2008-02-27  Tom Tromey  <tromey@redhat.com>
164
165         * tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check
166         DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body.
167
168 2008-02-27  Jan Beulich  <jbeulich@novell.com>
169
170         * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to
171         update the respective field on newdecl.
172
173 2008-02-27  Revital Eres  <eres@il.ibm.com>
174
175         PR rtl-optimization/34999
176         * bb-reorder.c (add_labels_and_missing_jumps): Do not handle
177         crossing edges that ends with a call insn.
178         (fix_up_fall_thru_edges): Handle crossing edges that ends with a
179         call insn and clear the EDGE_CROSSING flag of the crossing edge
180         when fixing fallthru edges.
181
182 2008-02-27  Richard Guenther  <rguenther@suse.de>
183
184         PR middle-end/35390
185         * fold-const.c (fold_unary): Return the correct argument,
186         converted to the result type.
187
188 2008-02-27  Richard Guenther  <rguenther@suse.de>
189
190         PR middle-end/34971
191         * expr.c (expand_expr_real_1): Assert on rotates that operate
192         on partial modes.
193         * fold-const.c (fold_binary): Use the types precision, not the
194         bitsize of the mode if folding rotate expressions.  Build rotates
195         only for full modes.
196
197 2008-02-27  Jakub Jelinek  <jakub@redhat.com>
198
199         * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA
200         and CPP_PRAGMA_EOL.
201         * c-pragma.c (pragma_ns_name): New typedef.
202         (registered_pp_pragmas): New variable.
203         (c_pp_lookup_pragma): New function.
204         (c_register_pragma_1): If flag_preprocess_only, do nothing
205         for non-expanded pragmas, for expanded ones push pragma's
206         namespace and name into registered_pp_pragmas vector.
207         (c_invoke_pragma_handler): Register OpenMP pragmas even when
208         flag_preprocess_only, don't register GCC pch_preprocess
209         pragma if flag_preprocess_only.
210         * c-opts.c (c_common_init): Call init_pragma even if
211         flag_preprocess_only.
212         * c-pragma.c (c_pp_lookup_pragma): New prototype.
213         * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Don't call
214         cpp_register_pragma if flag_preprocess_only.
215
216 2008-02-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
217
218         PR c/28800
219         * c-parser.c (c_parser_translation_unit): Warn for empty
220         translation unit, not empty source file.
221
222 2008-02-26  Paul Brook  <paul@codesourcery.com>
223
224         * config/arm/arm.c (thumb_set_frame_pointer): Ensure SP is first
225         operand for Thumb-2.
226         * config/arm/arm.h (reg_class): Add CORE_REGS.
227         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Ditto.
228         (BASE_REG_CLASS): Use CORE_REGS.
229         (PREFERRED_RELOAD_CLASS): Add STACK_REG.
230         (REGNO_MODE_OK_FOR_REG_BASE_P): Use REGNO_MODE_OK_FOR_BASE_P.
231         (REGNO_OK_FOR_INDEX_P): Exclude SP.
232         (ARM_REG_OK_FOR_INDEX_P): Always define.  Use
233         ARM_REGNO_OK_FOR_INDEX_P.
234         (ARM_PRINT_OPERAND_ADDRESS): Swap operands for [reg, sp].
235         * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn,
236         arm_movsi_insn, thumb1_movsi_insni, stack_tie): Add "k" alternatives.
237         (ldm/stm peepholes): Ditto.
238         * config/arm/thumb2.md (thumb2_movdi): Add "k" alternatives.
239         * config/arm/vfp.md (arm_movsi_vfp, thumb2_movsi_vfp): Ditto.
240         * config/arm/iwmmxt.md (iwmmxt_movsi_insn): Ditto.
241         * config/arm/constraints.md: Enable "k" constraint on ARM.
242
243 2008-02-27  Ben Elliston  <bje@au.ibm.com>
244
245         * config/rs6000/rs6000.c: Annotate cache line size field in all
246         instances of struct processor_costs.
247
248 2008-02-26  David Edelsohn  <edelsohn@gnu.org>
249
250         * dbgcnt.def (cfg_cleanup, cprop1, cprop2, dce_fast, dce_ud, dse1,
251         dse2, gcse, if_conversion, if_after_combine, if_after_reload,
252         jump_bypass): New counters.
253         * cfgcleanup.c (cleanup_cfg): Add dbg_cnt.
254         * dce.c (gate_ud_dce): Same.
255         (gate_fast_dce): Same.
256         * dse.c (gate_dse1): New function.
257         (gate_dse2): New function.
258         (gate_dse): Merge results of new gate functions.
259         * gcse.c (gcse_main): Bracket cprop1 and cprop2 with dbg_cnt.
260         (gate_handle_jump_bypass): Add dbg_cnt.
261         (gate_handle_gcse): Add dbg_cnt.
262         * ifcvt.c (gate_handle_if_conversion): Same.
263         (gate_handle_if_after_combine): Same.
264         (gate_handle_if_after_reload): Same.
265         * Makefile.in: Add DBGCNT_H to cfgcleanup.o and ifcvt.o.
266
267 2008-02-26  Edmar Wienskoski  <edmar@freescale.com>
268
269         * config/rs6000/rs6000.c (processor_costs): Update e300 cache
270         line sizes.
271         * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus.
272
273 2008-02-26  Jason Merrill  <jason@redhat.com>
274
275         PR c++/35315
276         * attribs.c (decl_attributes): Leave ATTR_FLAG_TYPE_IN_PLACE 
277         alone if it's the naming decl for the type's main variant.
278
279 2008-02-26  Tom Tromey  <tromey@redhat.com>
280
281         * system.h (USE_MAPPED_LOCATION): Poison.
282         * Makefile.in (GTFILES): Put CPP_ID_DATA_H first.
283         * tree-cfg.c (make_cond_expr_edges): Remove old location code.
284         (make_goto_expr_edges): Likewise.
285         (remove_bb): Likewise.
286         (execute_warn_function_return): Likewise.
287         * basic-block.h (struct edge_def) <goto_locus>: Change type to
288         location_t.
289         * c-common.c (fname_decl): Remove old location code.
290         * tree-vect-transform.c (vect_finish_stmt_generation): Remove old
291         location code.
292         * rtl.h (ASM_OPERANDS_SOURCE_LOCATION): Remove old-location
293         variant.
294         (ASM_INPUT_SOURCE_LOCATION): Likewise.
295         (gen_rtx_ASM_INPUT): Likewise.
296         (gen_rtx_ASM_INPUT_loc): Likewise.
297         (get_rtx_asm_OPERANDS): Remove.
298         * cfglayout.c (insn_locators_alloc): Remove old location code.
299         (set_curr_insn_source_location): Likewise.
300         (curr_insn_locator): Likewise.
301         * print-tree.c (print_node): Remove old location code.
302         * tree-mudflap.c (mf_varname_tree): Remove old location code.
303         (mf_file_function_line_tree): Remove test of USE_MAPPED_LOCATION.
304         * cfgexpand.c (expand_gimple_cond_expr): Don't use
305         location_from_locus.
306         (construct_exit_block): Remove old location code.
307         * emit-rtl.c (force_next_line_note): Remove old location code.
308         * profile.c (branch_prob): Remove old location code.
309         * tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE,
310         LOC_LINE): Remove old-location variants.
311         * langhooks.c (lhd_print_error_function): Remove old location
312         code.
313         * configure, config.in: Rebuilt.
314         * configure.ac (--enable-mapped-location): Remove.
315         * c-decl.c (c_init_decl_processing): Remove old location code.
316         (finish_function): Likewise.
317         * recog.c (decode_asm_operands): Remove old location code.
318         * c-pch.c (c_common_read_pch): Remove old location code.
319         * rtl.def (ASM_INPUT, ASM_OPERANDS): Remove old location
320         variants.
321         * gimple-low.c (lower_function_body): Remove old location code.
322         * toplev.c (unknown_location): Remove.
323         (push_srcloc): Remove old-location variant.
324         (process_options): Remove old location code.
325         (lang_dependent_init): Likewise.
326         * input.h (UNKNOWN_LOCATION): Move definition.
327         (location_t): Undeprecate.
328         (source_locus): Remove.
329         (location_from_locus): Remove.
330         (struct location_s): Remove.
331         Remove all old-location code.
332         (input_line, input_filename): Remove.
333         * final.c (final_scan_insn): Remove old location code.
334         * diagnostic.c (diagnostic_build_prefix): Remove
335         USE_MAPPED_LOCATION test.
336         * tree.h (gimple_stmt) <locus>: Now a location_t.
337         (tree_exp) <locus>: Likewise.
338         (DECL_IS_BUILTIN): Remove old-location variant.
339         (annotate_with_file_line, annotate_with_locus): Likewise.
340         (expr_locus, set_expr_locus): Update.
341         * tree.c (build1_stat): Remove old location code.
342         (last_annotated_node): Remove.
343         (annotate_with_file_line): Remove old-location variant.
344         (annotate_with_locus): Likewise.
345         (expr_location): Remove old location code.
346         (set_expr_location): Likewise.
347         (expr_has_location): Likewise.
348         (expr_locus): Likewise.
349         (set_expr_locus): Likewise.
350         (expr_filename): Don't use location_from_locus.
351         (expr_lineno): Likewise.
352         * rtl-error.c (location_for_asm): Remove old location code.
353         * c-lex.c (cb_line_change): Remove old location code.
354         (fe_file_change): Likewise.
355         (cb_def_pragma): Likewise.
356         (c_lex_with_flags): Likewise.
357         * gengtype.c (do_typedef): Don't special-case location types.
358         (define_location_structures): Remove.
359         (main): Don't call define_location_structures.
360         * tree-pretty-print.c (dump_implicit_edges): Remove old location
361         code.
362
363 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
364
365         PR 26264
366         * builtins.def (BUILT_IN_STDARG_START): Remove.
367         * builtins.c (expand_builtin): Remove BUILT_IN_STDARG_START.
368         * tree-stdarg.c (execute_optimize_stdarg): Likewise.
369         * tree-inline.c (inline_forbidden_p_1): Likewise.
370         
371 2008-02-26  Richard Guenther  <rguenther@suse.de>
372
373         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
374         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
375         (lookup_decl_from_uid): Declare.
376         (remove_decl_from_map): Likewise.
377         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
378         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
379         (decl_for_uid_map): New global hashtable mapping DECL_UID
380         to the decl tree.
381         (init_ttree): Allocate it.
382         (insert_decl_to_uid_decl_map): New helper function.
383         (make_node_stat): Insert new decls into the map.
384         (copy_node_stat): Likewise.
385         (lookup_decl_from_uid): New function.
386         (remove_decl_from_map): Likewise.
387         (print_decl_for_uid_map_statistics): New helper.
388         (dump_tree_statistics): Call it.
389
390         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
391         (referenced_var_iterator): Adjust.
392         (FOR_EACH_REFERENCED_VAR): Adjust.
393         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
394         (num_referenced_vars): Adjust.
395         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
396         (first_referenced_var): Remove.
397         (end_referenced_vars_p): Likewise.
398         (next_referenced_var): Likewise.
399         (referenced_var_iterator_set): New helper function.
400         * tree-dfa.c (referenced_var_lookup): Adjust.
401         (referenced_var_check_and_insert): Likewise.
402         (remove_referenced_var): Likewise.
403         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
404         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
405         (verify_call_clobbering): Likewise.
406         (verify_memory_partitions): Likewise.
407         (init_tree_ssa): Allocate bitmap instead of hashtable for
408         referenced_vars.
409         (delete_tree_ssa): Adjust.
410         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
411         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
412         (compute_tag_properties): Likewise.
413         (set_initial_properties): Likewise.
414         (find_partition_for): Likewise.
415         (update_reference_counts): Likewise.
416         (dump_may_aliases_for): Likewise.
417         * tree-ssa-operands.c (add_virtual_operand): Likewise.
418         (add_call_clobber_ops): Likewise.
419         (add_call_read_ops): Likewise.
420         (get_asm_expr_operands): Likewise.
421         * tree-into-ssa.c (dump_decl_set): Likewise.
422         (update_ssa): Likewise.
423         * tree-sra.c (scan_function): Likewise.
424         (decide_instantiations): Likewise.
425         (scalarize_parms): Likewise.
426         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
427         (dsa_named_for): Likewise.
428         * tree-ssa-structalias.c (update_alias_info): Likewise.
429         (merge_smts_into): Likewise.
430
431 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
432
433         PR 34351
434         * doc/invoke.texi (-Wall): Add -Wvolatile-register-var.
435         * c-opts.c (c_common_handle_option): Wall enables
436         Wvolatile-register-var.
437         * common.opt: Move Wvolatile-register-var to...
438         * c.opt: ...here.
439         
440 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
441
442         * common.opt (Wlarger-than=): New.
443         * doc/invoke.texi (Warning Options): Replace -Wlarger-than- with
444         -Wlarger-than=.
445         * opts.c (common_handle_option): Handle -Wlarger-than=.
446         * optc-gen.awk: Likewise.
447         * opth-gen.awk: Likewise.
448         * stor-layout.c (layout_decl): Use -Wlarger-than= for warning.
449         * tree-optimize.c (tree_rest_of_compilation): Likewise.
450         
451 2008-02-26  Manuel Lopez-Ibanez <manu@gcc.gnu.org>
452
453         * c-common.c (match_case_to_enum_1): Add appropriate
454         OPT_W* parameter to warning.
455         (c_do_switch_warnings): Likewise.
456         * c-typeck.c (warning_init): Add one more parameter following
457         'warning' function.
458         (push_init_level): Update call to warning_init.
459         (pop_init_level): Likewise.
460         (add_pending_init): Likewise.
461         (output_init_element: Likewise.
462
463 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
464
465         PR 28322
466         * toplev.c (toplev_main): If there are warnings or error, print
467         errors for ignored options.
468         * opts.c (ignored_options): New static variable.
469         (postpone_unknown_option_error): New.
470         (print_ignored_options): New.
471         (handle_option): Postpone errors for unknown -Wno-* options.
472         * opts.h (print_ignored_options): Declare.
473         
474 2008-02-25  Richard Sandiford  <rsandifo@nildram.co.uk>
475
476         * config/mips/mips.md (loadgp_blockage, blockage): Change type
477         to "ghost".
478
479 2008-02-25  Richard Guenther  <rguenther@suse.de>
480
481         Revert:
482         2008-02-25  Richard Guenther  <rguenther@suse.de>
483
484         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
485         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
486         (lookup_decl_from_uid): Declare.
487         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
488         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
489         (decl_for_uid_map): New global hashtable mapping DECL_UID
490         to the decl tree.
491         (init_ttree): Allocate it.
492         (insert_decl_to_uid_decl_map): New helper function.
493         (make_node_stat): Insert new decls into the map.
494         (copy_node_stat): Likewise.
495         (lookup_decl_from_uid): New function.
496         (print_decl_for_uid_map_statistics): New helper.
497         (dump_tree_statistics): Call it.
498
499         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
500         (referenced_var_iterator): Adjust.
501         (FOR_EACH_REFERENCED_VAR): Adjust.
502         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
503         (num_referenced_vars): Adjust.
504         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
505         (first_referenced_var): Remove.
506         (end_referenced_vars_p): Likewise.
507         (next_referenced_var): Likewise.
508         (referenced_var_iterator_set): New helper function.
509         * tree-dfa.c (referenced_var_lookup): Adjust.
510         (referenced_var_check_and_insert): Likewise.
511         (remove_referenced_var): Likewise.
512         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
513         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
514         (verify_call_clobbering): Likewise.
515         (verify_memory_partitions): Likewise.
516         (init_tree_ssa): Allocate bitmap instead of hashtable for
517         referenced_vars.
518         (delete_tree_ssa): Adjust.
519         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
520         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
521         (compute_tag_properties): Likewise.
522         (set_initial_properties): Likewise.
523         (find_partition_for): Likewise.
524         (update_reference_counts): Likewise.
525         (dump_may_aliases_for): Likewise.
526         * tree-ssa-operands.c (add_virtual_operand): Likewise.
527         (add_call_clobber_ops): Likewise.
528         (add_call_read_ops): Likewise.
529         (get_asm_expr_operands): Likewise.
530         * tree-into-ssa.c (dump_decl_set): Likewise.
531         (update_ssa): Likewise.
532         * tree-sra.c (scan_function): Likewise.
533         (decide_instantiations): Likewise.
534         (scalarize_parms): Likewise.
535         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
536         (dsa_named_for): Likewise.
537         * tree-ssa-structalias.c (update_alias_info): Likewise.
538         (merge_smts_into): Likewise.
539
540 2008-02-25  Janne Blomqvist  <jb@gcc.gnu.org>
541
542         PR fortran/29549
543         * doc/invoke.texi (-fcx-limited-range): Document new option.
544         * toplev.c (process_options): Handle -fcx-fortran-rules.
545         * common.opt: Add documentation for -fcx-fortran-rules.
546
547 2008-02-25  Janne Blomqvist  <jb@gcc.gnu.org>
548
549         PR c/35162
550         * doc/invoke.texi (-fcx-limited-range): Correct to be in line with
551         actual behaviour and C99.
552         
553 2008-02-26  Ben Elliston  <bje@au.ibm.com>
554
555         * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define.
556         (ASM_CPU_POWER6_SPEC): Likewise.
557         (ASM_CPU_SPEC): Pass %(asm_cpu_power5) for -mcpu=power5.
558         Likewise, pass %(asm_cpu_power6) for -mcpu=power6.
559         (EXTRA_SPECS): Add asm_cpu_power5, asm_cpu_power6 spec strings.
560
561 2008-02-25  Richard Guenther  <rguenther@suse.de>
562
563         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
564         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
565         (lookup_decl_from_uid): Declare.
566         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
567         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
568         (decl_for_uid_map): New global hashtable mapping DECL_UID
569         to the decl tree.
570         (init_ttree): Allocate it.
571         (insert_decl_to_uid_decl_map): New helper function.
572         (make_node_stat): Insert new decls into the map.
573         (copy_node_stat): Likewise.
574         (lookup_decl_from_uid): New function.
575         (print_decl_for_uid_map_statistics): New helper.
576         (dump_tree_statistics): Call it.
577
578         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
579         (referenced_var_iterator): Adjust.
580         (FOR_EACH_REFERENCED_VAR): Adjust.
581         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
582         (num_referenced_vars): Adjust.
583         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
584         (first_referenced_var): Remove.
585         (end_referenced_vars_p): Likewise.
586         (next_referenced_var): Likewise.
587         (referenced_var_iterator_set): New helper function.
588         * tree-dfa.c (referenced_var_lookup): Adjust.
589         (referenced_var_check_and_insert): Likewise.
590         (remove_referenced_var): Likewise.
591         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
592         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
593         (verify_call_clobbering): Likewise.
594         (verify_memory_partitions): Likewise.
595         (init_tree_ssa): Allocate bitmap instead of hashtable for
596         referenced_vars.
597         (delete_tree_ssa): Adjust.
598         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
599         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
600         (compute_tag_properties): Likewise.
601         (set_initial_properties): Likewise.
602         (find_partition_for): Likewise.
603         (update_reference_counts): Likewise.
604         (dump_may_aliases_for): Likewise.
605         * tree-ssa-operands.c (add_virtual_operand): Likewise.
606         (add_call_clobber_ops): Likewise.
607         (add_call_read_ops): Likewise.
608         (get_asm_expr_operands): Likewise.
609         * tree-into-ssa.c (dump_decl_set): Likewise.
610         (update_ssa): Likewise.
611         * tree-sra.c (scan_function): Likewise.
612         (decide_instantiations): Likewise.
613         (scalarize_parms): Likewise.
614         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
615         (dsa_named_for): Likewise.
616         * tree-ssa-structalias.c (update_alias_info): Likewise.
617         (merge_smts_into): Likewise.
618
619 2008-02-25  Andreas Krebbel  <krebbel1@de.ibm.com>
620
621         PR target/35258
622         * cse.c (cse_insn): Avoid creation of overlapping MEMs.
623         * alias.c (nonoverlapping_memrefs_p): Export for use in other modules.
624         * alias.h (nonoverlapping_memrefs_p): Likewise.
625
626 2008-02-25  Jan Beulich  <jbeulich@novell.com>
627
628         * Makefile.in: Also prefix uses of crt0.o and mcrt0.o with $(T).
629         * config/i386/netware-libgcc.exp: Add __bswap?i2,
630         __emultls_get_address, __emultls_register_common,
631         __floatundi?f, and _Unwind_GetIPInfo.
632         * config/i386/netware.c (gen_stdcall_or_fastcall_decoration):
633         Sync with config/i386/winnt.c:gen_stdcall_or_fastcall_suffix().
634         (gen_regparm_prefix): Likewise.
635         (i386_nlm_encode_section_info): Sync with
636         config/i386/winnt.c:i386_pe_encode_section_info().
637         (i386_nlm_maybe_mangle_decl_assembler_name): New.
638         i386_nlm_mangle_decl_assembler_name): New.
639         (netware_override_options): New.
640         * config/i386/netware.h (netware_override_options): Declare.
641         (OVERRIDE_OPTIONS): Re-define to netware_override_options.
642         (i386_nlm_mangle_decl_assembler_name): Declare.
643         (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define.
644
645 2008-02-25  Ben Elliston  <bje@au.ibm.com>
646
647         PR other/32948
648         * c-decl.c (grokdeclarator): Remove unused local variables
649         `typedef_type' and `type_as_written'.
650         * bb-reorder.c
651         (find_rarely_executed_basic_blocks_and_crossing_edges): Remove
652         unused local variable `has_hot_blocks'.
653         (fix_crossing_conditional_branches): Remove unused local variable
654         `prev_bb'.
655         
656 2008-02-25  Uros Bizjak  <ubizjak@gmail.com>
657
658         PR middle-end/19984
659         * builtins.def (BUILT_IN_NAN): Define as c99 builtin
660         using DEF_C99_BUILTIN.
661         (BUILT_IN_NANF): Ditto.
662         (BUILT_IN_NANL): Ditto.
663
664 2008-02-25  Ayal Zaks  <zaks@il.ibm.com>
665             Revital Eres  <eres@il.ibm.com>
666
667         * modulo-sched.c (calculate_must_precede_follow): Address TODO
668         regarding the order of two dependent insns in the same row.
669
670 2008-02-25  Eric Botcazou  <ebotcazou@adacore.com>
671
672         * stor-layout.c (layout_decl): Do not bump the alignment of a
673         bit-field to more than byte alignment if it is packed.
674
675 2008-02-24  David Edelsohn  <edelsohn@gnu.org>
676
677         * config/rs6000/rs6000.c (processor_costs): Add cache costs for
678         e300c2 and e300c3.
679
680 2008-02-24  Diego Novillo  <dnovillo@google.com>
681
682         http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
683
684         PR 33738
685         * tree-vrp.c (vrp_evaluate_conditional): With
686         -Wtype-limits, emit a warning when comparing against a
687         constant outside the natural range of OP0's type.
688         * c.opt (Wtype-limits): Move ...
689         * common.opt (Wtype-limits): ... here.
690
691 2008-02-24  Edmar Wienskoski  <edmar@freescale.com>
692
693         * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.
694         * config/rs6000/e300c2c3.md: New file.
695         * config/rs6000/rs6000.c (processor_costs): Add new costs for
696         e300c2 and e300c3.
697         (rs6000_override_options): Add e300c2 and e300c3 cases to
698         processor_target_table. Do not allow usage of Altivec or Spe
699         with e300 cores. Initialize rs6000_cost for e300c2 and e300c3.
700         (rs6000_issue_rate): Set issue rate for e300c2 and e300c3.
701         * config/rs6000/rs6000.h (processor_type): Add
702         PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3.
703         (ASM_CPU_SPEC): Add e300c2 and e300c3.
704         * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2
705         and ppce300c3. Include e300c2c3.md.
706
707 2008-02-23  David Edelsohn  <edelsohn@gnu.org>
708
709         * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT
710         instead of TARGET_STRICT_ALIGN.
711
712 2008-02-23  Joseph Myers  <joseph@codesourcery.com>
713
714         * explow.c (memory_address): Assert that the generated address is
715         valid.
716
717 2008-02-23  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
718
719         PR target/25477
720         * config/darwin-protos.h: Add darwin_patch_builtins prototype.
721         * config/darwin-ppc-ldouble-patch.def: New file.
722         * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro.
723         * config/rs6000/rs6000.c (rs6000_init_builtins): Call
724         SUBTARGET_INIT_BUILTINS if defined.
725         * config/darwin.c (darwin_patch_builtin, darwin_patch_builtins):
726         New functions.
727
728 2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
729
730         PR rtl-opt/33512
731         * simplify-rtx.c (simplify_binary_operation_1): Add simplification
732         of (and X (ior (not X) Y) and (and (ior (not X) Y) X).
733
734 2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
735
736         PR pch/35027
737         * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH
738         file" warning condtional on -Winvalid-PCH.
739
740 2008-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
741
742         * expmed.c (extract_bit_field): Always use adjust_address for MEM.
743
744 2008-02-23  Uros Bizjak  <ubizjak@gmail.com>
745
746         PR target/22076
747         PR target/34256 
748         * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to
749         prevent reload from using MMX registers.
750         (*mov<mode>_internal): Ditto.
751         (*movv2sf_internal_rex64): Ditto.
752         (*movv2sf_internal): Ditto.
753
754 2008-02-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
755
756         PR documentation/31569
757         * doc/install.texi2html: Use makeinfo --no-number-sections.
758
759 2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
760
761         * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to
762         ensure that we can address an entire entity > 8 bytes.  Don't
763         generate reg+reg addressing for such data.
764
765 2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
766
767         * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
768         strings when optimizing for size, unless the target cares about
769         alignment.
770
771 2008-02-22  Tom Tromey  <tromey@redhat.com>
772
773         * regclass.c (current_pass): Remove declaration.
774
775 2008-02-22  Anatoly Sokolov <aesok@post.ru>
776
777         * config/avr/libgcc.S (__RAMPZ__): Define.
778         (__do_copy_data): Add for devices with 128KB code memory.
779
780 2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
781
782         * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
783         Use spe_abi.
784         * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise.
785
786 2008-02-22  Hans-Peter Nilsson  <hp@axis.com>
787
788         * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for
789         GENNONACR_REGS.
790
791 2008-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
792
793         PR c/19999
794         * c-typeck.c (build_binary_op): Warn about floating point
795         comparisons if FLOAT_TYPE_P, not only for REAL_TYPE.
796
797 2008-02-21  Janis Johnson  <janis187@us.ibm.com>
798
799         PR target/34526
800         * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment.
801         (rs6000_explicit_options): Split abi into spe_abi and altivec_abi,
802         add vrsave.
803         (rs6000_override_options): Set altivec_abi as default, not override,
804         for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for
805         TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI
806         is used; use new member spe_abi.
807         (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use
808         spe_abi and altivec_abi.
809
810 2008-02-22  Tomas Bily  <tbily@suse.cz>
811
812         * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo.
813
814 2008-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
815
816         PR bootstrap/35273
817         * config.build (build_file_translate): Set to `CMD //c' only if
818         it works.
819         * Makefile.in (build_file_translate): Improve comment.
820
821 2008-02-21  Jan Hubicka  <jh@suse.cz>
822
823         * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,
824         PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL,
825         PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update.
826
827 2008-02-21  Michael Matz  <matz@suse.de>
828
829         PR target/35264
830         * config/i386/i386.c (ix86_expand_branch): Add missing breaks.
831
832 2008-02-21  Uros Bizjak  <ubizjak@gmail.com>
833
834         * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
835         movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P
836         as insn constraint.
837         * config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn
838         from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and
839         SSE_VEC_FLOAT_MODE_P as insn constraint.
840         (<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns.
841         (sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and
842         sse4a_movntdf using MODEF mode iterator.
843         (sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and
844         sse4a_vmmovntv4sf using SSEMODEF2P mode iterator.
845         (sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns.
846         (sse4_1_blendvp<ssemodesuffixf2c>): Ditto.
847         (sse4_1_dpp<ssemodesuffixf2c>): Ditto.
848         (sse4_1_roundp<ssemodesuffixf2c>): Ditto.
849         (sse4_1_rounds<ssemodesuffixf2c>): Ditto.
850
851 2008-02-21  Richard Guenther  <rguenther@suse.de>
852
853         * tree.def (PAREN_EXPR): New tree code.
854         * fold-const.c (fold_unary): Remove PAREN_EXPR around constants
855         and PAREN_EXPR.
856         * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR.
857         * expr.c (expand_expr_real_1): Likewise.
858         * tree-inline.c (estimate_num_insns_1): Likewise.
859         * tree-complex.c (expand_complex_move): Likewise.
860         * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x)
861         as plain x.
862
863 2008-02-20  Kaz Kojima  <kkojima@gcc.gnu.org>
864
865         PR target/35225
866         * config/sh/sh.c (find_barrier): Don't go past 'from' argument.
867
868 2008-02-20  Kaz Kojima  <kkojima@gcc.gnu.org>
869
870         PR target/35190
871         * config/sh/sh.md (jump_compact): Disable for crossing jumps.
872
873         * config/sh/sh.c (find_barrier): Don't go past
874         NOTE_INSN_SWITCH_TEXT_SECTIONS note.
875
876 2008-02-20  DJ Delorie  <dj@redhat.com>
877
878         * config/h8300/h8300.md (insv): Force source operand to be a register.
879
880         * config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn
881         as a jump, not as a plain insn.
882         
883 2008-02-20  Seongbae Park <seongbae.park@gmail.com>
884
885         * doc/invoke.texi (Warning Options): Add new option
886         -Wframe-larger-than=.
887         (-Wframe-larger-than): Document.
888
889         * flags.h (warn_frame_larger_than, frame_larger_than_size):
890         Add declarations for new option variables.
891
892         * final.c (final_start_function): Check the frame size
893         before emission and issue a Wframe-larger-than warning.
894
895         * opts.c (warn_frame_larger_than, frame_larger_than_size):
896         Add definitions for new option variables.
897         (common_handle_option): Handle new option OPT_Wframe_larger_than_.
898
899         * common.opt (Wframe-larger-than=): New option.
900
901 2008-02-20  Uros Bizjak  <ubizjak@gmail.com>
902
903         * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template.
904         (<sse>_div<mode>3): Ditto.
905         (<sse>_vmdiv<mode>3): Ditto.
906         (<sse>_vmsqrt<mode>2): Ditto.
907         (*smax<mode>3): Ditto.
908         (sse5_frcz<mode>2): Ditto.
909         (sse5_vmfrcz<mode>2): Ditto.  Use TARGET_SSE5 instead of TARGET_ROUND
910         as insn constraint.
911
912 2008-02-20  Richard Guenther  <rguenther@suse.de>
913
914         PR middle-end/35265
915         * builtins.c (validate_arg): If we want an INTEGER_TYPE,
916         be happy with INTEGRAL_TYPE_P.
917
918 2008-02-20  Richard Guenther  <rguenther@suse.de>
919
920         * fold-const.c (split_tree): Associate floatig-point expressions
921         if flag_associative_math is set.
922
923 2008-02-20  Richard Guenther  <rguenther@suse.de>
924
925         * tree.h (fold_real_zero_addition_p): Declare.
926         * fold-const.c (fold_real_zero_addition_p): Export.
927         * tree-ssa-reassoc.c (eliminate_using_constants): Also handle
928         floating-point operations with zero and one.
929
930 2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
931
932         * doc/install.texi: Correct references to CFLAGS, replacing them
933         with BOOT_CFLAGS.  Document flags used during bootstrap for
934         target libraries.
935                                 
936 2008-02-20  Uros Bizjak  <ubizjak@gmail.com>
937
938         * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
939         * config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf
940         and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as
941         insn constraint.
942         (smin<mode>3): Ditto from similar patterns.
943         (smax<mode>3): Ditto.
944         (*ieee_smin<mode>3): Ditto.
945         (*ieee_smax<mode>3): Ditto.
946         * config/i386/sse.md (sse): New mode attribute.
947         (mov<mode>): Macroize expander from movv4sf and movv2df using
948         SSEMODEF2P mode iterator.
949         (<sse>_movnt<mode>): Ditto from similar patterns. Use
950         SSE_VEC_FLOAT_MODE_P as insn constraint.
951         (storent<mode>): Ditto.
952         (storent<mode>): Macroize expander from storentsf and storentdf using
953         MODEF mode iterator.
954         (neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P
955         mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint.
956         (abs<mode>2): Ditto from similar patterns.
957         (add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto.
958         (sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto.
959         (<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto.
960         (<sse>_vmsqrt<mode>2): Ditto.
961         (smin<mode>3, *smin<mode>3_finite, *smin<mode>3)
962         (<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto.
963         (smax<mode>3, *smax<mode>3_finite, *smax<mode>3)
964         (<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto.
965         (<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3,
966         sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4
967         mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as
968         insn constraint.
969         (<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode
970         iterator and SSE_FLOAT_MODE_P as insn constraint.
971         (<sse>_ucomi): Ditto from similar patterns.
972         (<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and
973         sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and
974         SSE_VEC_FLOAT_MODE_P as insn constraint.
975         (vcond<mode>): Ditto from similar patterns.
976         (and<mode>3, *and<mode>3): Ditto.
977         (<sse>_nand<mode>3): Ditto.
978         (ior<mode>3, *ior<mode>3): Ditto.
979         (xor<mode>3, *xor<mode>3): Ditto.
980         (*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode
981         iterator and SSE_FLOAT_MODE_P as insn constraint.
982         (*nand<mode>3): Ditto from similar patterns.
983         (*ior<mode>3): Ditto.
984         (*xor<mode>3): Ditto.
985
986 2008-02-20  Ira Rosen  <irar@il.ibm.com>
987
988         * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
989         vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi,
990         vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement.
991
992 2008-02-19  Jan Hubicka  <jh@suse.cz>
993
994         * predict.c (tree_bb_level_predictions): Remove variable next
995         mistakely introduced by previous commit.
996
997 2008-02-19  Jan Hubicka  <jh@suse.cz>
998
999         * predict.c (predict_paths_leading_to): Rewrite.
1000         (predict_paths_for_bb): New.
1001         (tree_bb_level_predictions): Update call of predict_paths_leading_to.
1002
1003 2008-02-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1004
1005         PR bootstrap/35218
1006         * Makefile.in (build_file_translate): New.
1007         (gcc-vers.texi): Use it for translating $(abs_srcdir).
1008         * config.build (build_file_translate): Set to `CMD //c' on MinGW.
1009         * configure.ac (build_file_translate): Substitute it.
1010         * configure: Regenerate.
1011
1012 2008-02-19  Jan Hubicka  <jh@suse.cz>
1013
1014         PR rtl-optimization/34408
1015         * see.c (see_def_extension_not_merged): Copy subreg so we don't have
1016         invalid sharing.
1017
1018 2008-02-19  Jan Hubicka  <jh@suse.cz>
1019
1020         PR middle-end/28779
1021         * tree-inline.c (estimate_num_insns_1): Fix counting of cost of
1022         call_expr.
1023
1024 2008-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1025
1026         PR Ada/35186
1027         * config/i386/i386-modes.def: Revert the last DI alignment
1028         change until Ada people can look into it.
1029
1030 2008-02-19  Nick Clifton  <nickc@redhat.com>
1031
1032         * opts.c (print_specific_help): Fix typo in --help text.
1033
1034 2008-02-19  Jakub Jelinek  <jakub@redhat.com>
1035
1036         PR target/35239
1037         * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special
1038         32-bit inline asm without asm alternatives for host GCC < 3.0.
1039
1040 2008-02-19  Richard Guenther  <rguenther@suse.de>
1041
1042         PR tree-optimization/34989
1043         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure.
1044         Allow propagation to INDIRECT_REF if we can simplify only.
1045
1046 2008-02-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1047
1048         * c-common.c (warn_for_collisions_1): Use appropriate option when
1049         warning.
1050
1051 2008-02-19  Nick Clifton  <nickc@redhat.com>
1052
1053         PR other/31349
1054         * opts.c (undocumented_msg): Leave blank unless checking is enabled.
1055         (handle_options): Fix indentation.
1056         (print_filtered_help): If no language-specific options were
1057         displayed tell the user how to list all the options supported by
1058         the language's front-end.
1059         (print_specific_help): Fix indentation and remove duplicate line.
1060         (common_handle_option): Handle the -v option.
1061         For --help enable the display of undocumented options if the -v
1062         switch has been included on the command line.
1063         For --help= check for overlaps in the arguments between the option
1064         classes and the language names and issue a warning when they
1065         cannot be disambiguated.
1066         * c.opt (v): Pass on to the common option handler.
1067
1068 2008-02-19  Revital Eres  <eres@il.ibm.com> 
1069
1070         * modulo-sched.c (sms_schedule): Change dump message when
1071         create_ddg function fails.
1072         (try_scheduling_node_in_cycle): Rename row to cycle.
1073         (print_partial_schedule): Rename CYCLE to ROW.
1074
1075 2008-02-19  Christian Bruel  <christian.bruel@st.com>
1076             Zdenek Dvorak  <ook@ucw.cz>
1077
1078         * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment.
1079
1080 2008-02-19  Uros Bizjak  <ubizjak@gmail.com>
1081
1082         PR target/33555
1083         * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern.
1084         (*x86_movdicc_0_m1_se): Ditto.
1085
1086 2008-02-19  Uros Bizjak  <ubizjak@gmail.com>
1087
1088         * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
1089         (CMPtype): Define as __gcc_CMPtype.
1090         * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef.
1091         (CMPtype): Define as __gcc_CMPtype.
1092
1093 2008-02-19  Hans-Peter Nilsson  <hp@axis.com>
1094
1095         Support valgrind 3.3 for --enable-checking=valgrind.
1096         * system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines
1097         here.
1098         [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS.
1099         [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE.
1100         [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE.
1101         * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines.
1102         Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and
1103         VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED,
1104         VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS
1105         respectively.
1106         * ggc-zone.c: Similar.
1107         * ggc-page.c: Similar.
1108
1109 2008-02-19  Paul Brook  <paul@codesourcery.com>
1110
1111         PR target/35071
1112         * config/arm/ieee754-df.S: Fix do_it typo.
1113         * config/arm/ieee754-sf.S: Fix do_it typo.
1114
1115 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1116
1117         PR target/35189
1118         * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New.
1119         (OPTION_MASK_ISA_3DNOW_SET): Likewise.
1120         (OPTION_MASK_ISA_SSE_SET): Likewise.
1121         (OPTION_MASK_ISA_SSE2_SET): Likewise.
1122         (OPTION_MASK_ISA_SSE3_SET): Likewise.
1123         (OPTION_MASK_ISA_SSSE3_SET): Likewise.
1124         (OPTION_MASK_ISA_SSE4_1_SET): Likewise.
1125         (OPTION_MASK_ISA_SSE4_2_SET): Likewise.
1126         (OPTION_MASK_ISA_SSE4_SET): Likewise.
1127         (OPTION_MASK_ISA_SSE4A_SET): Likewise.
1128         (OPTION_MASK_ISA_SSE5_SET): Likewise.
1129         (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise.
1130         (OPTION_MASK_ISA_MMX_UNSET): Updated.
1131         (OPTION_MASK_ISA_3DNOW_UNSET): Updated.
1132         (OPTION_MASK_ISA_SSE_UNSET): Likewise.
1133         (OPTION_MASK_ISA_SSE3_UNSET): Likewise.
1134         (OPTION_MASK_ISA_SSSE3_UNSET): Likewise.
1135         (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise.
1136         (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise.
1137         (OPTION_MASK_ISA_SSE4A_UNSET): Likewise.
1138         (OPTION_MASK_ISA_SSE5_UNSET): Likewise.
1139         (OPTION_MASK_ISA_SSE4): Removed.
1140         (ix86_handle_option): Turn on bits in ix86_isa_flags and
1141         ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for
1142         -mXXX.
1143         (override_options): Don't turn on implied SSE/MMX bits in
1144         ix86_isa_flags.
1145
1146 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1147
1148         * config/i386/i386-modes.def: Use 4 byte alignment on DI for
1149         32bit host.
1150
1151 2008-02-18  Joey Ye  <joey.ye@intel.com>
1152
1153         PR middle-end/34921
1154         * tree-nested.c (insert_field_into_struct): Set type alignment
1155         to field alignment if the former is less than the latter.
1156
1157 2008-02-18  Jakub Jelinek  <jakub@redhat.com>
1158
1159         * BASE-VER: Set to 4.4.0.
1160
1161 2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1162
1163         * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate.
1164         * doc/cfg.texi: Likewise.
1165         * doc/extend.texi: Likewise.
1166         * doc/gty.texi: Likewise.
1167         * doc/invoke.texi: Likewise.
1168         * doc/loop.texi: Likewise.
1169         * doc/md.texi: Likewise.
1170         * doc/passes.texi: Likewise.
1171         * doc/rtl.texi: Likewise.
1172         * doc/sourcebuild.texi: Likewise.
1173         * doc/tm.texi: Likewise.
1174         * doc/tree-ssa.texi: Likewise.
1175
1176 2008-02-17  Richard Guenther  <rguenther@suse.de>
1177
1178         PR middle-end/35227
1179         * tree-complex.c (init_parameter_lattice_values): Handle parameters
1180         without default definition.
1181
1182 2008-02-17  Richard Guenther  <rguenther@suse.de>
1183
1184         PR tree-optimization/35231
1185         * tree-vrp.c (register_edge_assert_for): Do not assume A == 0
1186         if A | B != 1.
1187
1188 2008-02-17  Uros Bizjak  <ubizjak@gmail.com>
1189
1190         Revert:
1191
1192         2008-02-15  Uros Bizjak  <ubizjak@gmail.com>    
1193         * config/i386/sfp-machine.h (CMPtype): Define as typedef using
1194         libgcc_cmp_return mode.
1195
1196 2008-02-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1197
1198         PR c/28368
1199         * doc/invoke.texi (-std): Clarify description of -std= and -ansi.
1200
1201 2008-02-16  Ralf Corsepius  <ralf.corsepius@rtems.org>
1202
1203         * config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475
1204         multilibs.
1205
1206 2008-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1207
1208         * doc/c-tree.texi: Use `@.' where appropriate.
1209         * doc/extend.texi: Likewise.
1210         * doc/install.texi: Likewise.
1211         * doc/invoke.texi: Likewise.
1212         * doc/loop.texi: Likewise.
1213         * doc/makefile.texi: Likewise.
1214         * doc/md.texi: Likewise.
1215         * doc/passes.texi: Likewise.
1216         * doc/standards.texi: Likewise.
1217         * doc/tm.texi: Likewise.
1218
1219 2008-02-15  Jakub Jelinek  <jakub@redhat.com>
1220
1221         PR middle-end/35196
1222         * omp-low.c (expand_omp_for_generic): Don't initialize fd->v
1223         in entry_bb.
1224         (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb
1225         rather than in entry_bb.
1226
1227 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
1228
1229         * config/i386/sfp-machine.h (CMPtype): Define as typedef using
1230         libgcc_cmp_return mode.
1231
1232 2008-02-15  Jakub Jelinek  <jakub@redhat.com>
1233
1234         PR middle-end/35130
1235         * tree-nested.c (convert_call_expr): Put FRAME.* vars into
1236         OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause.
1237
1238 2008-02-15  Richard Guenther  <rguenther@suse.de>
1239             Zdenek Dvorak  <ook@ucw.cz>
1240
1241         PR tree-optimization/35164
1242         * tree-flow.h (stmt_references_abnormal_ssa_name): Declare.
1243         * tree-dfa.c (stmt_references_abnormal_ssa_name): New function.
1244         * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars):
1245         Only propagate addresses which do not have abnormal SSA_NAMEs
1246         in their operands.
1247
1248 2008-02-15  Joseph Myers  <joseph@codesourcery.com>
1249
1250         PR target/35088
1251         * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define.
1252
1253 2008-02-15  Jan Hubicka  <jh@suse.cz>
1254
1255         PR middle-end/35149
1256         * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag.
1257
1258 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
1259
1260         PR middle-end/34621
1261         * function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY
1262         when calculating alignment_pad.
1263
1264 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
1265
1266         * config/i386/i386.h (CLEAR_RATIO): Use MIN macro.
1267         (WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define.
1268         * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro
1269         and STACK_BOUNDARY define.
1270
1271 2008-02-14  Danny Smith  <dannysmith@users.sourceforge.net>
1272
1273         PR preprocessor/35061
1274         * c-pragma.c (handle_pragma_pop_macro): Check that
1275         pushed_macro_table has been allocated.
1276
1277 2008-02-14  Eric Botcazou  <ebotcazou@adacore.com>
1278
1279         PR middle-end/35136
1280         * gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change.
1281         (force_gimple_operand): Likewise.
1282         * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases
1283         for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR.
1284         Also recurse on the operand for regular VIEW_CONVERT_EXPRs.
1285         (find_interesting_uses_address): Check addressability and alignment
1286         of the base expression only after substituting bases of IVs into it.
1287
1288 2008-02-14  Michael Matz  <matz@suse.de>
1289
1290         PR target/34930
1291         * function.c (instantiate_virtual_regs_in_insn): Reload address
1292         before falling back to reloading the whole operand.
1293
1294 2008-02-14  Andreas Krebbel  <krebbel1@de.ibm.com>
1295
1296         * config/s390/s390.c (s390_mainpool_start): Emit the pool
1297         before the first section switch note.
1298
1299 2008-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1300
1301         * doc/bugreport.texi: Update copyright years.
1302         * doc/c-tree.texi: Likewise.
1303         * doc/cfg.texi: Likewise.
1304         * doc/cpp.texi: Likewise.
1305         * doc/cppinternals.texi: Likewise.
1306         * doc/fragments.texi: Likewise.
1307         * doc/frontends.texi: Likewise.
1308         * doc/gcc.texi: Likewise.
1309         * doc/gty.texi: Likewise.
1310         * doc/hostconfig.texi: Likewise.
1311         * doc/implement-c.texi: Likewise.
1312         * doc/libgcc.texi: Likewise.
1313         * doc/loop.texi: Likewise.
1314         * doc/makefile.texi: Likewise.
1315         * doc/options.texi: Likewise.
1316         * doc/passes.texi: Likewise.
1317         * doc/rtl.texi: Likewise.
1318         * doc/sourcebuild.texi: Likewise.
1319         * doc/standards.texi: Likewise.
1320         * doc/tree-ssa.texi: Likewise.
1321         * doc/trouble.texi: Likewise.
1322
1323         * doc/extend.texi: Use @: or add comma where appropriate.
1324         * doc/invoke.texi: Likewise.
1325         * doc/tm.texi: Likewise.
1326
1327 2008-02-14  Alan Modra  <amodra@bigpond.net.au>
1328
1329         PR target/34393
1330         * config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
1331         to a reg.
1332
1333 2008-02-14  Jesper Nilsson  <jesper.nilsson@axis.com>
1334
1335         * doc/md.texi (clz, ctz): Add reference.
1336         * doc/rtl.texi (clz, ctz): Likewise.
1337
1338 2008-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1339
1340         PR other/35148
1341         * Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of
1342         srcdir.
1343
1344 2008-02-13  Andreas Krebbel  <krebbel1@de.ibm.com>
1345
1346         * config/s390/s390.c (struct constant_pool): New field
1347         emit_pool_after added.
1348         (s390_mainpool_start): Set the emit_pool_after flag according
1349         to the section switch notes.
1350         (s390_mainpool_finish): Consider emit_pool_after when emitting
1351         the literal pool at the end of the function.
1352         (s390_chunkify_start): Force literal pool splits at section
1353         switch notes.
1354
1355 2008-02-13  Michael Matz  <matz@suse.de>
1356
1357         PR debug/35065
1358         * var-tracking.c (clobber_variable_part): Correctly traverse the
1359         list.
1360
1361 2008-02-13  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1362
1363         PR 29673
1364         * doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined.
1365         Add -fdump-ipa-inline.
1366         * tree-dump.c (dump_files): Remove tree-inlined dump.
1367         * tree-pass.h (tree_dump_index): Remove TDI_inlined.
1368         
1369 2008-02-12  Richard Guenther  <rguenther@suse.de>
1370
1371         PR tree-optimization/35171
1372         * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with
1373         default defs.
1374
1375 2008-02-12  Richard Guenther  <rguenther@suse.de>
1376
1377         PR middle-end/35163
1378         * fold-const.c (fold_widened_comparison): Use get_unwidened in
1379         value-preserving mode.  Disallow final truncation.
1380
1381 2008-02-12  Eric Botcazou  <ebotcazou@adacore.com>
1382
1383         PR middle-end/35136
1384         * gimplify.c (force_gimple_operand_bsi): Move SSA renaming
1385         code from here to...
1386         (force_gimple_operand): ...here.
1387
1388 2008-02-12  Jakub Jelinek  <jakub@redhat.com>
1389
1390         PR c++/35144
1391         * tree-sra.c (sra_build_assignment): fold_convert SRC if copying
1392         non-compatible pointers.
1393         (generate_element_copy): If SRC and DST are RECORD_TYPEs with
1394         different FIELD_DECLs, try harder by comparing field offsets, sizes
1395         and types.
1396
1397         PR inline-asm/35160
1398         * function.c (match_asm_constraints_1): Don't replace the same input
1399         multiple times.
1400
1401 2008-02-12  Anatoly Sokolov <aesok@post.ru>
1402
1403         * config/avr/avr.h (AVR_HAVE_RAMPZ): Define.
1404         * config/avr/avr.c (expand_prologue): Save RAMPZ register.
1405         (expand_epilogue): Restore RAMPZ register.
1406         * config/avr/avr.md (RAMPZ_ADDR): New constant.
1407
1408 2008-02-11  Kai Tietz  <kai.tietz@onevision.com>
1409
1410         * config/i386/cygwin.asm: (__alloca): Correct calling
1411         convention and alignment.
1412         (__chkstk): Force 8 byte stack alignment.
1413
1414 2008-02-11  Uros Bizjak  <ubizjak@gmail.com>
1415             Richard Guenther  <rguenther@suse.de>
1416
1417         PR tree-optimization/33992
1418         * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of
1419         the zero we compare against.
1420
1421 2008-02-10  Danny Smith  <dannysmith@users.sourceforge.net>
1422
1423         PR libfortran/35063
1424         * gthr-win32.h (__gthread_mutex_destroy_function): New function
1425         to CloseHandle after unlocking to prevent accumulation of handle
1426         count.
1427
1428 2008-02-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1429
1430         PR middle_end/34150
1431         * pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a
1432         pic_label_operand source.  Similarly, add a REG_LABEL_OPERAND note
1433         and update LABEL_NUSES during and after reload.
1434
1435 2008-02-08  Steven Bosscher  <stevenb.gcc@gmail.com>
1436
1437         PR middle-end/34627
1438         * combine.c (simplify_if_then_else): Make sure the comparison is
1439         against const0_rtx when simplifying to (abs x) or (neg (abs X)).
1440
1441 2008-02-08  Richard Sandiford  <rsandifo@nildram.co.uk>
1442
1443         PR bootstrap/35051
1444         * double-int.h: Don't include gmp.h for GENERATOR_FILEs.
1445         (mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs.
1446         * real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs.
1447         (real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs.
1448         * tree.h (get_type_static_bounds): Likewise.
1449
1450 2008-02-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1451
1452         * doc/invoke.texi (Option Summary, C++ Dialect Options)
1453         (Objective-C and Objective-C++ Dialect Options, Warning Options):
1454         Make -Wfoo language annotations match what the compiler outputs.
1455
1456 2008-02-08  Sa Liu  <saliu@de.ibm.com>
1457
1458         * config/spu/spu-builtins.def: Fixed wrong parameter type in spu 
1459         intrinsics spu_convts, spu_convtu, spu_convtf.
1460         * testsuite/gcc.target/spu/intrinsics-3.c: New. Test error messages.
1461
1462 2008-02-08  Hans-Peter Nilsson  <hp@axis.com>
1463
1464         * doc/extend.texi (Function Attributes) <noinline>: Mention
1465         asm ("") as method to keep calls.
1466
1467 2008-02-07  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1468
1469         PR other/32754
1470         * doc/options.texi (Options): Replace references to opts.sh with
1471         optc-gen.awk.
1472         * opts-common.c: Likewise.
1473         * optc-gen.awk: Likewise.
1474         
1475 2008-02-07  Andreas Krebbel  <krebbel1@de.ibm.com>
1476
1477         * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.
1478
1479 2008-02-07  Richard Henderson  <rth@redhat.com>
1480
1481         PR rtl-opt/33410
1482         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an
1483         EXPR_LIST for the REG_EQUAL instead of a comparison with a 
1484         funny mode.
1485
1486 2008-02-07  Uros Bizjak  <ubizjak@gmail.com>
1487
1488         PR tree-optimization/35085
1489         * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update
1490         for operand entry oe2 in addition to operand entry oe3 in order to
1491         expose more opportunities for vectorizer sum reduction.
1492
1493 2008-02-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1494
1495         PR other/35107
1496         * Makefile.in (LIBS): Remove $(GMPLIBS).
1497         (cc1-dummy, cc1): Add $(GMPLIBS).
1498
1499 2008-02-06  Jan Hubicka  <jh@suse.cz>
1500
1501         PR target/23322
1502         * i386.md (moddf_integer): Do not produce partial memory stalls for
1503         targets where it hurts.
1504
1505 2008-02-06  Uros Bizjak  <ubizjak@gmail.com>
1506
1507         PR target/35083
1508         * optabs.c (expand_float): Do not check for decimal modes when
1509         expanding unsigned integer through signed conversion.
1510
1511 2008-02-06  Nick Clifton  <nickc@redhat.com>
1512
1513         * config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup
1514         inside the clobber with a match_operand and duplicated operand
1515         number in the constraint.
1516         (ineqbranchsi): Delete redundant comment.
1517
1518 2008-02-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
1519
1520         * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add 
1521         builtin_define ("__USE_INIT_FINI__").
1522         * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add
1523         -msx multilibs.
1524         * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT.
1525
1526 2008-02-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1527
1528         PR documentation/30330
1529         * doc/invoke.texi (C++ Dialect Options)
1530         (Objective-C and Objective-C++ Dialect Options, Warning Options):
1531         For each warning option -Wfoo that allows -Wno-foo, ensure both
1532         -Wfoo and -Wno-foo are listed in the option index.  Fix index
1533         entry of -Wswitch-default, index -Wnormalized= including the
1534         `=', and -Wlarger-than-@var{len} including @var{len}.
1535
1536 2008-02-05  Uros Bizjak  <ubizjak@gmail.com>
1537
1538         * config/i386/i386.md (floatunssisf2): Use
1539         ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
1540         (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2.
1541         Macroize expander using MODEF mode iterator.
1542
1543 2008-02-05  Diego Novillo  <dnovillo@google.com>
1544
1545         http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html
1546
1547         PR 33738
1548         * tree-vrp.c (vrp_evaluate_conditional): Revert fix for PR 33738.
1549
1550 2008-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1551
1552         PR other/35070
1553         * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.
1554
1555 2008-02-05  H.J. Lu  <hongjiu.lu@intel.com>
1556
1557         PR target/35084
1558         * config/i386/i386.c (ix86_function_sseregparm): Add an arg
1559         to indicate if a message should be generated.
1560         (init_cumulative_args): Updated.
1561         (function_value_32): Likewise.
1562
1563 2008-02-05  Joseph Myers  <joseph@codesourcery.com>
1564
1565         * doc/include/texinfo.tex: Update to version 2008-02-04.16.
1566
1567 2008-02-05  Uros Bizjak  <ubizjak@gmail.com>
1568
1569         PR target/35083
1570         * config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
1571         Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.
1572
1573 2008-02-04  Diego Novillo  <dnovillo@google.com>
1574
1575         http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
1576
1577         PR 33738
1578         * tree-vrp.c (vrp_evaluate_conditional): With
1579         -Wtype-limits, emit a warning when comparing against a
1580         constant outside the natural range of OP0's type.
1581
1582 2008-02-04  Richard Guenther  <rguenther@suse.de>
1583
1584         PR middle-end/33631
1585         * expr.c (count_type_elements): Give for unions instead of
1586         guessing.
1587
1588 2008-02-04  Richard Guenther  <rguenther@suse.de>
1589
1590         PR middle-end/35043
1591         * gimplify.c (gimplify_init_ctor_eval): Convert array indices
1592         to TYPE_DOMAINs base type instead of using bitsizetype here.
1593
1594 2008-02-03  Jason Merrill  <jason@redhat.com>
1595
1596         * print-tree.c (print_node) [CONSTRUCTOR]: Print elements.
1597
1598 2008-02-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1599
1600         PR other/29972
1601         * doc/invoke.texi (C++ Dialect Options, Optimize Options)
1602         (HPPA Options, i386 and x86-64 Options, IA-64 Options)
1603         (RS/6000 and PowerPC Options): Fix typos and markup.
1604         * doc/passes.texi (Tree-SSA passes): Likewise.
1605
1606 2008-02-02  Michael Matz  <matz@suse.de>
1607
1608         PR target/35045
1609         * postreload-gcse.c (record_last_reg_set_info_regno): Renamed
1610         from record_last_reg_set_info.
1611         (record_last_reg_set_info): Take an RTX argument, iterate over all
1612         constituent hardregs.
1613         (record_last_set_info, record_opr_changes): Change calls to
1614         new signature or to record_last_reg_set_info_regno.
1615
1616 2008-02-02  Gerald Pfeifer  <gerald@pfeifer.com>
1617
1618         * doc/extend.texi (X86 Built-in Functions): Fix grammar.
1619
1620 2008-02-01  Hans-Peter Nilsson  <hp@axis.com>
1621
1622         PR rtl-optimization/34773
1623         * reg-notes.def (EQUAL): Mention significance of combination of
1624         REG_EQUAL and REG_RETVAL.
1625         * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an
1626         insn that has a REG_RETVAL.
1627
1628 2008-02-01  Roger Sayle  <roger@eyesopen.com>
1629
1630         PR bootstrap/33781
1631         * configure.ac (--enable-fixed-point): Disable unless explicitly
1632         requested on IRIX.
1633         * configure: Regenerate.
1634
1635 2008-02-01  Richard Guenther  <rguenther@suse.de>
1636
1637         PR other/35042
1638         * invoke.texi (-finline-limit): Remove no longer true parts
1639         of the documentation.  Note that there is no default value.
1640
1641 2008-02-01  Andrew Pinski  <pinskia@gmail.com>
1642             Mark Mitchell  <mark@codesourcery.com>
1643             Ben Elliston  <bje@au.ibm.com>
1644
1645         PR c/29326
1646         * doc/extend.texi (Other Builtins): Document.
1647
1648 2008-01-31  Tom Browder <tom.browder@gmail.com>
1649
1650         * doc/c-tree.texi (Types): Fix grammar.
1651         (Expression trees): Ditto.
1652         * doc/passes.texi (Tree-SSA passes): Ditto.
1653         
1654         * doc/configterms.texi (Configure Terms): Fix typo.
1655         * doc/cpp.texi (Common Predefined Macros): Ditto.
1656         * doc/md.texi (Machine Constraints): Ditto.
1657         
1658         * doc/makefile.texi (Makefile): Add comma.
1659
1660 2008-01-31  Tom Browder  <tom.browder@gmail.com>
1661             Gerald Pfeifer  <gerald@pfeifer.com>
1662         
1663         * doc/sourcebuild.texi (Front End): Remove references to CVS
1664         and CVSROOT/modules.
1665         (Texinfo Manuals): Replace reference to CVS by one to SVN.
1666         (Back End): Remove reference to CVS.
1667
1668 2008-01-31  Richard Sandiford  <rsandifo@nildram.co.uk>
1669
1670         PR target/34900
1671         * config/mips/mips.c (gen_load_const_gp): New function, taking a
1672         comment from...
1673         (mips16_gp_pseudo_reg): ...here.
1674         * config/mips/mips.md (load_const_gp): Replace with...
1675         (load_const_gp_<mode>): ...this :P-based insn.
1676
1677 2008-01-31  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1678
1679         * doc/invoke.texi (-ansi): Mention explicitly corresponding -std=
1680         options. Minor fixes.
1681         (-std): Move reference to standards closer to where language
1682         standards are first mentioned.
1683         
1684 2008-01-31  Richard Sandiford  <rsandifo@nildram.co.uk>
1685
1686         PR rtl-optimization/34995
1687         * reload.c (alternative_allows_const_pool_ref): Take an rtx
1688         parameter and return a bool.  If the rtx parameter is nonnull,
1689         check that it satisfies an EXTRA_MEMORY_CONSTRAINT.
1690         (find_reloads): Update call accordingly.  Pass the new operand
1691         if it needed no address reloads, otherwise pass null.
1692
1693 2008-01-30  Richard Henderson  <rth@redhat.com>
1694
1695         PR c/34993
1696         * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
1697         for unbounded arrays.
1698
1699 2008-01-30  Silvius Rus  <rus@google.com>
1700
1701         * config/i386/xmmintrin.h (_mm_prefetch): Add const to first arg.
1702
1703 2008-01-30  Jan Hubicka  <jh@suse.cz>
1704
1705         PR target/34982
1706         * i386.c (init_cumulative_args): Use real function declaration when
1707         calling locally.
1708
1709 2008-01-30  Richard Sandiford  <rsandifo@nildram.co.uk>
1710
1711         PR rtl-optimization/34998
1712         * global.c (build_insn_chain): Treat non-subreg_lowpart
1713         SUBREGs of pseudos as clobbering all the words covered by the
1714         SUBREG, not just all the bytes.
1715         * ra-conflict.c (clear_reg_in_live): Likewise.  Take the
1716         original df_ref rather than an extract parameter.
1717         (global_conflicts): Update call accordingly.
1718
1719 2008-01-30  Andreas Krebbel  <krebbel1@de.ibm.com>
1720
1721         * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange
1722         the overflow check to make it easier to read.
1723         (__fixtfdi): Change the type of the ll member in union
1724         long_double to UDItype_x.
1725
1726 2008-01-30  Jakub Jelinek  <jakub@redhat.com>
1727
1728         PR middle-end/34969
1729         * cgraph.h (cgraph_update_edges_for_call_stmt): New prototype.
1730         * cgraph.c (cgraph_update_edges_for_call_stmt): New function.
1731         * tree-inline.c (fold_marked_statements): Call
1732         cgraph_update_edges_for_call_stmt if folding a call statement.
1733         * cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for
1734         debug_generic_stmt calls, reset it back afterwards.
1735
1736         PR c/35017
1737         * c-decl.c (start_decl): Don't pedwarn about TREE_READONLY
1738         static decls.
1739         * c-typeck.c (build_external_ref): Don't pedwarn about
1740         static vars in current function's scope.
1741
1742 2008-01-29  Joseph Myers  <joseph@codesourcery.com>
1743
1744         * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.
1745
1746 2008-01-29  Bernhard Fischer  <aldot@gcc.gnu.org>
1747
1748         PR c/35002
1749         * ipa-struct-reorg.c: Fix spelling.
1750         * params.def: Ditto.
1751
1752 2008-01-29  Richard Guenther  <rguenther@suse.de>
1753
1754         PR middle-end/35006
1755         * tree-inline.h (struct copy_body_data): Add remapping_type_depth
1756         field.
1757         * tree-inline.c (remap_type): Increment remapping_type_depth
1758         around remapping types.
1759         (copy_body_r): Only add referenced variables if they are referenced
1760         from code, not types.
1761
1762 2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>
1763
1764         PR c++/34055
1765         PR c++/34103
1766         PR c++/34219
1767         PR c++/34606
1768         PR c++/34753
1769         PR c++/34754
1770         PR c++/34755
1771         PR c++/34919
1772         PR c++/34961
1773         * c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print
1774         qualifiers for an ERROR_MARK_NODE or a NULL_TREE.
1775
1776 2008-01-28  Andy Hutchinson   <hutchinsonandy@netscape.net>
1777
1778         PR target/34412
1779         * config/avr/avr.c (expand_prologue): Use correct QI mode frame 
1780         pointer for tiny stack.
1781
1782 2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>
1783
1784         * doc/tree-ssa.texi: Add cindex PHI nodes and improve wording.
1785
1786 2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>
1787
1788         * config/vx-common.h: Fix typo in comment.
1789
1790 2008-01-28  Ian Lance Taylor  <iant@google.com>
1791
1792         PR c++/34862
1793         PR c++/33407
1794         * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
1795         coalesce pointers if they have different DECL_NO_TBAA_P values.
1796         * tree-ssa-copy.c (may_propagate_copy): Don't propagate copies
1797         between variables with different DECL_NO_TBAA_P values.
1798
1799 2008-01-28  Nathan Froyd  <froydnj@codesourcery.com>
1800
1801         PR 31535
1802         * config/rs6000/rs6000.c (small_data_operand): Vectors and floats
1803         are not legitimate small data references on SPE targets.
1804
1805 2008-01-28  David Daney  <ddaney@avtrex.com>
1806
1807         * doc/install.texi (mips-*-*): Recommend binutils 2.18.
1808
1809 2008-01-28  David Daney  <ddaney@avtrex.com>
1810
1811         * doc/install.texi (--disable-libgcj-bc):  Reword documentation.
1812
1813 2008-01-27  Joseph Myers  <joseph@codesourcery.com>
1814
1815         * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
1816         m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*,
1817         *-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*,
1818         *-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout,
1819         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
1820         i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*,
1821         i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*,
1822         vax-*-bsd*, vax-*-ultrix*): Mark obsolete.
1823
1824 2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
1825
1826         * basic-block.h (condjump_equiv_p): Fix comment.
1827
1828 2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
1829
1830         * tree-pretty-print.c (print_generic_decl, print_generic_stmt,
1831         print_generic_stmt_indented): Fix comment.
1832
1833 2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
1834
1835         * configure.ac (__stack_chk_fail): Add detecion for availability
1836         of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined.
1837         * configure: Regenerate.
1838
1839 2008-01-26  Maxim Kuvyrkov  <maxim@codesourcery.com>
1840
1841         PR middle-end/34688
1842         * final.c (output_addr_const): Handle TRUNCATE.
1843
1844 2008-01-26  Zdenek Dvorak  <ook@ucw.cz>
1845
1846         PR target/34711
1847         * tree-ssa-loop-ivopts.c (comp_cost): New type.
1848         (zero_cost, infinite_cost): New constants.
1849         (struct cost_pair): Change type of cost to comp_cost.
1850         (struct iv_ca): Change type of cand_use_cost and cost to comp_cost.
1851         (new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p):
1852         New functions.
1853         (set_use_iv_cost, force_expr_to_var_cost, force_var_cost,
1854         split_address_cost, ptr_difference_cost, difference_cost,
1855         get_computation_cost_at, get_computation_cost,
1856         determine_use_iv_cost_generic, determine_use_iv_cost_address,
1857         determine_use_iv_cost_condition, determine_use_iv_costs,
1858         cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
1859         iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend,
1860         iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set):
1861         Change type of cost to comp_cost.
1862         (determine_iv_cost): Increase cost of non-original ivs, instead
1863         of decreasing the cost of original ones.
1864         (get_address_cost): Indicate the complexity of the addressing mode 
1865         in comp_cost.
1866         (try_add_cand_for): Prefer using ivs not specific to some object.
1867         * tree-flow.h (force_expr_to_var_cost): Declaration removed.
1868
1869 2008-01-26  Peter Bergner  <bergner@vnet.ibm.com>
1870             Janis Johnson  <janis187@us.ibm.com>
1871
1872         PR target/34814
1873         * doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document.
1874         (TARGET_INSTANTIATE_DECLS): Likewise.
1875         * target.h (expand_to_rtl_hook): New target hook.
1876         (instantiate_decls): Likewise.
1877         * function.c (instantiate_decl): Make non-static.  Rename to...
1878         (instantiate_decl_rtl): ... this.
1879         (instantiate_expr): Use instantiate_decl_rtl.
1880         (instantiate_decls_1): Likewise.
1881         (instantiate_decls): Likewise.
1882         (instantiate_virtual_regs: Call new instantiate_decls taget hook.
1883         * function.h (instantiate_decl_rtl): Add prototype.
1884         * cfgexpand.c (target.h): New include.
1885         (tree_expand_cfg): Call new expand_to_rtl_hook target hook.
1886         * target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define.
1887         (TARGET_INSTANTIATE_DECLS): Likewise.
1888         (TARGET_INITIALIZER): New target hooks added.
1889         * config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx):
1890         New prototype.
1891         * config/rs6000/rs6000.c (tree-flow.h): New include.
1892         (machine_function): Add sdmode_stack_slot field.
1893         (rs6000_alloc_sdmode_stack_slot): New function.
1894         (rs6000_instantiate_decls): Likewise.
1895         (rs6000_secondary_memory_needed_rtx): Likewise.
1896         (rs6000_check_sdmode): Likewise.
1897         (TARGET_EXPAND_TO_RTL_HOOK): Target macro defined.
1898         (TARGET_INSTANTIATE_DECLS): Likewise.
1899         (rs6000_hard_regno_mode_ok): Allow SDmode.
1900         (num_insns_constant): Likewise.  Handle _Decimal32 constants.
1901         (rs6000_emit_move): Handle SDmode.
1902         (function_arg_advance): Likewise.
1903         (function_arg): Likewise.
1904         (rs6000_gimplify_va_arg): Likewise.  Add special handling of
1905         SDmode var args for 32-bit compiles.
1906         (rs6000_secondary_reload_class): Handle SDmode.
1907         (rs6000_output_function_epilogue): Likewise.
1908         (rs6000_function_value): Simplify if statement.
1909         (rs6000_libcall_value): Likewise.
1910         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode.
1911         (SECONDARY_MEMORY_NEEDED_RTX): Add define.
1912         * config/rs6000/dfp.md (movsd): New define_expand and splitter.
1913         (movsd_hardfloat): New define_insn.
1914         (movsd_softfloat): Likewise.
1915         (movsd_store): Likewise.
1916         (movsd_load): Likewise.
1917         (extendsddd2): Likewise.
1918         (extendsdtd2): Likewise.
1919         (truncddsd2): Likewise.
1920         (movdd_hardfloat64): Fixup comment.
1921         (UNSPEC_MOVSD_LOAD): New constant.
1922         (UNSPEC_MOVSD_STORE): Likewise.
1923
1924 2008-01-26  Jakub Jelinek  <jakub@redhat.com>
1925
1926         PR c++/34965
1927         * c-pretty-print.c (pp_c_exclusive_or_expression): Handle
1928         TRUTH_XOR_EXPR.
1929         (pp_c_logical_and_expression): Handle TRUTH_AND_EXPR.
1930         (pp_c_logical_or_expression): Handle TRUTH_OR_EXPR.
1931         (pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
1932         and TRUTH_XOR_EXPR.
1933
1934 2008-01-26  David Edelsohn  <edelsohn@gnu.org>
1935
1936         PR target/34794
1937         * config.gcc: Separate AIX 5.3 from AIX 6.1.
1938         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
1939         __LONGDOUBLE128 too.
1940         * config/rs6000/aix61.h: New file.
1941
1942 2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
1943
1944         PR rtl-optimization/34959
1945         * optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz,
1946         popcount and parity rtxes the same mode as their operand.
1947         Truncate or extend the result to the return value's mode
1948         if necessary.
1949
1950 2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
1951
1952         PR target/34981
1953         * config/mips/mips-protos.h (mips_expand_call): Return an rtx.
1954         * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO
1955         to GOT_VERSION_REGNUM.
1956         (CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0.
1957         (EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT.
1958         * config/mips/mips.c (mips_emit_call_insn): New function.
1959         (mips_call_tls_get_addr): Call mips_expand_call directly.
1960         (mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than
1961         emit_call_insn.
1962         (mips16_build_call_stub): Likewise.  Return the call insn or null.
1963         (mips_expand_call): Update the call to mips16_build_call_stub
1964         accordingly and a remove redundant condition.  Assert that MIPS16
1965         stubs do not use lazy binding.  Use mips_emit_call_insn and return
1966         the call insn.
1967         (mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if
1968         TARGET_USE_GOT.
1969         (mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM.
1970         (mips_avoid_hazard): Remove hazard_set handling.
1971         * config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to...
1972         (UNSPEC_RESTORE_GP): ...this.
1973         (UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants.
1974         (FAKE_CALL_REGNO): Rename to...
1975         (GOT_VERSION_REGNUM): ...this.
1976         (type): Add "ghost" value.  Add an associated insn reservation.
1977         (hazard_set): Remove.
1978         (exception_receiver): Rename to...
1979         (restore_gp): ...this and update the unspec identifier accordingly.
1980         (exception_receiver, nonlocal_got_receiver): New expanders.
1981         (load_call<mode>): Use GOT_VERSION_REGNUM.  Don't set
1982         FAKE_CALL_REGNO.  Remove hazard_set attribute.
1983         (set_got_version, update_got_version): New patterns.
1984
1985 2008-01-26  Danny Smith  <dannysmith@users.sourceforge.net>
1986
1987         PR target/34970
1988         * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define.
1989
1990 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
1991
1992         PR other/31955
1993         * doc/install.texi2html: Generate gcc-vers.texi.
1994
1995 2008-01-25  DJ Delorie  <dj@redhat.com>
1996
1997         * config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1998
1999 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
2000
2001         * config/c4x: Remove directory.
2002         * config.gcc (crx-*, mt-*): Mark obsolete.
2003         (c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*,
2004         h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
2005         sh-*-rtemscoff*): Remove cases.
2006         * defaults.h (C4X_FLOAT_FORMAT): Remove.
2007         * real.c (encode_c4x_single, decode_c4x_single,
2008         encode_c4x_extended, decode_c4x_extended, c4x_single_format,
2009         c4x_extended_format): Remove.
2010         * real.h (c4x_single_format, c4x_extended_format): Remove.
2011         * doc/extend.texi (interrupt, naked): Remove mention of attributes
2012         on C4x.
2013         (Pragmas): Remove comment about c4x pragmas.
2014         * doc/install.texi (c4x): Remove target-specific instructions.
2015         * doc/invoke.texi (TMS320C3x/C4x Options): Remove.
2016         * doc/md.texi (Machine Constraints): Remove C4x documentation.
2017         * doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not
2018         refer to C4x source files as examples.
2019         (C4X_FLOAT_FORMAT): Remove documentation.
2020
2021 2008-01-25  Bernd Schmidt  <bernd.schmidt@analog.com>
2022
2023         * config/bfin/bfin.c (override_options): Reorder tests so that
2024         flag_pic gets enabled for -msep-data.
2025
2026 2008-01-25  Richard Guenther  <rguenther@suse.de>
2027
2028         PR middle-end/32244
2029         * expr.c (expand_expr_real_1): Reduce result of LSHIFT_EXPR
2030         to its bitfield precision if required.
2031
2032 2008-01-25  Jakub Jelinek  <jakub@redhat.com>
2033
2034         PR middle-end/33880
2035         * tree-nested.c (walk_omp_for): New function.
2036         (convert_nonlocal_reference, convert_local_reference): Call
2037         walk_omp_for on OMP_FOR.
2038         (convert_call_expr): Call walk_body on OMP_FOR's
2039         OMP_FOR_PRE_INIT_BODY.
2040
2041 2008-01-25  Richard Guenther  <rguenther@suse.de>
2042
2043         PR tree-optimization/34966
2044         * tree-ssa-math-opts.c (execute_cse_sincos_1): For all but
2045         default defs and PHI_NODEs we have to insert after the
2046         defining statement.
2047
2048 2008-01-24  Nick Clifton  <nickc@redhat.com>
2049
2050         * config/stormy16/stormy16-lib2.c (MIN_UNITS_PER_WORD):
2051         Provide a default definition.
2052         (LIBGCC2_UNITS_PER_WORD): Likewise.
2053
2054         * config/stormy16/stormy16.c: Include df.h for the prototype
2055         for df_regs_ever_live_p.
2056         (xstormy16_expand_builtin_va_start): Convert the stack offset
2057         into a component_ref and then use POINTER_PLUS_EXPR to add it
2058         to the incoming_virtual_args_rtx.
2059         (xstormy16_gimplify_va_arg_expr): Rename to
2060         xstormy16_gimplify_va_arg_expr.
2061         Use POINTER_PLUS_EXPR when performing pointer arithmetic.
2062         (TARGET_GIMPLIFY_VA_ARG_EXPR): Use renamed
2063         xstormy16_gimplify_va_arg_expr.
2064         Fix up some formatting issues.
2065
2066         * config/stormy16/stormy16.c: (xstormy16_carry_plus_operand):
2067         Move to predicates.md.
2068         (xs_hi_general_operand): Likewise.
2069         (xs_hi_nonmemory_operand): Likewise.
2070         * config/stormy16/predicates.md:
2071         (xstormy16_carry_plus_operand): New predicate.
2072         (xs_hi_general_operand): New predicate.
2073         (xs_hi_nonmemory_operand): New predicate.
2074         * config/stormy16/stormy16-protos.h:
2075         (xstormy16_carry_plus_operand): Delete prototype.
2076         (xs_hi_general_operand): Likewise.
2077         (xs_hi_nonmemory_operand): Likewise.
2078
2079         * config/storm16/stormy16.md (addhi3): Remove earlyclobber
2080         modifiers as they are no longer needed and they can trigger
2081         reload spill failures.
2082
2083         * config/storm16/stormy16.md (ineqbranchsi): Replace match_dup
2084         with a match_operand in order to help reload.
2085
2086         * config/storm16/stormy16.md (movhi_internal): Replace 'r'
2087         constraint with 'e' for the 8th alternative as this version of
2088         the mov.w instruction only accepts the lower 8 registers.
2089
2090 2008-01-25  Uros Bizjak  <ubizjak@gmail.com>
2091
2092         PR target/34856
2093         * simplifx-rtx.c (simplify_const_binary_operation) [VEC_CONCAT]:
2094         Consider only CONST_INT, CONST_DOUBLE and CONST_FIXED as constant
2095         vector elements.
2096
2097 2008-01-25  Jakub Jelinek  <jakub@redhat.com>
2098
2099         PR middle-end/33333
2100         * gimplify.c (gimplify_omp_for): Gimplify OMP_FOR_PRE_BODY.
2101
2102 2008-01-25  Golovanevsky Olga  <olga@il.ibm.com>
2103
2104         * ipa-struct-reorg.c (remove_str_allocs_in_func, remove_str_allocs):
2105         New functions.
2106         (remove_structure): Update allocations list before removing structure.
2107         
2108 2008-01-25  Golovanevsky Olga  <olga@il.ibm.com>
2109
2110         * ipa-struct-reorg.c (is_safe_cond_expr, 
2111         create_new_stmts_for_cond_expr): Use integer_zerop function,
2112         that recognize not only zero-pointer, but zero-integer too.
2113
2114 2008-01-25  Ben Elliston  <bje@au.ibm.com>
2115
2116         PR other/22232
2117         * fixproto: Escape "." in sed expression that strips leading "./".
2118
2119 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2120
2121         PR driver/34904
2122         * gcc.c (SWITCH_OK): Removed.
2123         (SWITCH_LIVE): Changed to bit.
2124         (SWITCH_FALSE): Likewise.
2125         (SWITCH_IGNORE): Likewise.
2126         (switchstr): Change live_cond to unsigned int.
2127         (process_command): Replace SWITCH_OK with 0.
2128         (do_self_spec): Likewise.
2129         (set_collect_gcc_options): Check the SWITCH_IGNORE bit.
2130         (give_switch): Likewise.
2131         (used_arg): Likewise.
2132         (do_spec_1): Set the SWITCH_IGNORE bit.
2133         (check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE
2134         bits.  Set the SWITCH_LIVE bit.
2135
2136 2008-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
2137
2138         * config/s390/s390.h (MOVE_RATIO): Define new target macro.
2139
2140 2008-01-24  Richard Sandiford  <rsandifo@nildram.co.uk>
2141
2142         PR tree-optimization/34472
2143         * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA
2144         parameter to a "bool *" and set *DATA to false if there is
2145         an unsafe access.  Do not delete the structure here.
2146         (check_cond_exprs): Delete it here instead.
2147         (check_cond_exprs, exclude_cold_structs): Do not increase
2148         I when removing a structure.
2149
2150 2008-01-24  Uros Bizjak  <ubizjak@gmail.com>
2151
2152         PR target/34856
2153         * config/i386/i386.c (ix86_expand_vector_init): Consider only
2154         CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements.
2155
2156 2008-01-24  Jakub Jakub Jelinek  <jakub@redhat.com>
2157
2158         PR middle-end/34934
2159         * tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of
2160         a fixed vector for stack.
2161
2162 2008-01-24  Ben Elliston  <bje@au.ibm.com>
2163
2164         PR c++/25701
2165         * doc/gcc.texi (Software development): Add a direntry for g++.
2166         
2167 2008-01-23  Hans-Peter Nilsson  <hp@axis.com>
2168
2169         * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop
2170         stale and straggling -fforce-addr comments above.
2171
2172         * config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don't
2173         define.
2174         * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define.
2175         * config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define.
2176
2177 2008-01-23  Michael Matz  <matz@suse.de>
2178
2179         PR debug/34895
2180         * dwarf2out.c (force_type_die): Use modified_type_die instead of
2181         gen_type_die.
2182
2183 2008-01-23  Andreas Krebbel  <krebbel1@de.ibm.com>
2184
2185         * ipa-struct-reorg.c (create_new_malloc): Use pointer type as
2186         malloc result type.
2187
2188 2008-01-23 Anatoly Sokolov <aesok@post.ru>
2189
2190         * config/avr/avr.c (avr_current_arch): New variable.
2191         (avr_arch_types): Add 'avr31' and 'avr51' entries.
2192         (avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'.
2193         (avr_mcu_types): Add 'avr31' and 'avr51' architectures.
2194         (avr_override_options): Init 'avr_current_arch'. 
2195         (base_arch_s): Move from here...
2196         * config/avr/avr.h (base_arch_s): ... here. Add new members 
2197         'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename 
2198         'mega' to 'have_jmp_call'.
2199         (TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__", 
2200         "__AVR_HAVE_RAMPZ__",   "__AVR_HAVE_ELPM__" and  "__AVR_HAVE_ELPMX__"
2201         macros.
2202         (LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51' 
2203         architectures.
2204         * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, 
2205         MULTILIB_MATCHES): (Ditto.).
2206
2207 2008-01-23  Richard Guenther  <rguenther@suse.de>
2208
2209         PR middle-end/31529
2210         * cgraphunit.c (cgraph_reset_node): Always mark the node
2211         not reachable if it is not queued already.
2212
2213 2008-01-23  Bernd Schmidt  <bernd.schmidt@analog.com>
2214
2215         * config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.
2216         * config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere.
2217         (cputype_selected): New static variable.
2218         (bfin_handle_option): Set it if -mcpu is used.
2219         (override_option): Select default set of workarounds if no cpu type
2220         selected on the command line.
2221         (workaround_rts_anomaly): Only run if ENABLE_WA_RETS.
2222
2223         From  Michael Frysinger  <michael.frysinger@analog.com>
2224         * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add
2225         BFIN_CPU_BF547, BFIN_CPU_BF523, BFIN_CPU_BF524, and BFIN_CPU_BF526.
2226
2227         * config/bfin/elf.h (LIB_SPEC): Use proper linker script
2228         for bf547, bf523, bf524, and bf526.
2229         * config/bfin/bfin.c (bfin_cpus[]): Add bf547,  bf523, bf524, and
2230         bf526.
2231         * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
2232         __ADSPBF523__ for bf523, __ADSPBF524__ for bf524,
2233         __ADSPBF526__ for bf526, __ADSPBF52x__ for all three, as well as
2234         __ADSPBF547__ and __ADSPBF54x__ for bf547.
2235         * doc/invoke.texi (Blackfin Options): Document that
2236         -mcpu now accept bf547, bf523, bf524, and bf526.
2237
2238 2008-01-22  Eric Botcazou  <ebotcazou@adacore.com>
2239
2240         PR rtl-optimization/34628
2241         * combine.c (try_combine): Stop and undo after the first combination
2242         if an autoincrement side-effect on the first insn has effectively
2243         been lost.
2244
2245 2008-01-22  David Edelsohn  <edelsohn@gnu.org>
2246
2247         PR target/34529
2248         * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
2249         Offset addresses are not valid for Altivec or paired float modes.
2250
2251 2008-01-22  Jakub Jelinek  <jakub@redhat.com>
2252
2253         PR c++/34607
2254         * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for
2255         if DECL_INITIAL (decl) is error_mark_node.
2256
2257         PR c++/34914
2258         * c-common.c (handle_vector_size_attribute): Only allow
2259         integral, scalar float and fixed point types.  Handle OFFSET_TYPE
2260         the same way as pointer, array etc. types.
2261         * tree.c (reconstruct_complex_type): Handle OFFSET_TYPE.
2262
2263         PR c++/34917
2264         * tree.c (build_type_attribute_qual_variant): Call
2265         build_qualified_type if attributes are equal, but quals are not.
2266
2267 2008-01-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2268
2269         PR 32102
2270         * doc/invoke.texi (-Wall): -Wall enables -Wstrict-overflow=1.
2271         * flags.h (warn_strict_aliasing): Remove.
2272         (warn_strict_overflow): Remove.
2273         * opts.c (warn_strict_aliasing): Remove.
2274         (warn_strict_overflow): Remove.
2275         * c-opts.c (c_common_handle_option): -Wall only sets
2276         -Wstrict-aliasing or -Wstrict-overflow if they are uninitialized.
2277         (c_common_post_options): Give default values to -Wstrict-aliasing
2278         and -Wstrict-overflow if they are uninitialized.
2279         * common.opt (Wstrict-aliasing): Specify Var and Init.
2280         (Wstrict-overflow): Likewise.
2281
2282 2008-01-22  Kenneth Zadeck <zadeck@naturalbridge.com>
2283
2284         PR rtl-optimization/26854
2285         PR rtl-optimization/34400
2286         PR rtl-optimization/34884
2287         * ddg.c (create_ddg_dep_from_intra_loop_link): Use
2288         DF_RD->gen.
2289         * df.h (df_changeable_flags.DF_RD_NO_TRIM): Deleted
2290         (df_rd_bb_info.expanded_lr_out): Deleted
2291         * loop_invariant.c (find_defs): Deleted DF_RD_NO_TRIM flag.
2292         * loop_iv.c (iv_analysis_loop_init): Ditto.  * df-problems.c
2293         (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
2294         df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
2295         Removed code to allocate, initialize or free expanded_lr_out.
2296         (df_rd_bb_local_compute_process_def): Restructured to make more
2297         understandable.
2298         (df_rd_confluence_n): Removed code to no apply invalidate_by_call
2299         sets if the sets are being trimmed.
2300
2301 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
2302
2303         PR bootstrap/32287
2304         * configure.ac (ld_vers): Support GNU linker version xx.xx.*
2305         (as_vers): Likewise.
2306         * configure: Regenerated.
2307
2308 2008-01-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2309
2310         PR middle-end/33092
2311         * tree-pass.h (pass_build_alias): New pass.
2312         * tree-ssa-alias.c (gate_build_alias): New.
2313         (pass_build_alias): New.
2314         * passes.c (init_optimization_passes): Add pass_build_alias after
2315         pass_create_structure_vars.
2316
2317 2008-01-22  Wolfgang Gellerich  <gellerich@de.ibm.com>
2318
2319         * config/s390/s390.h (S390_TDC_POSITIVE_NORMALIZED_NUMBER):
2320         Renamed to S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER.
2321         (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): Renamed to
2322         S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER.
2323         (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): Renamed to
2324         S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER.
2325         (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): Renamed to
2326         S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER.
2327         (S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER): New constant.
2328         (S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER): New constant.
2329         (S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER): New constant.
2330         (S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER): New constant.
2331         * config/s390/s390.md (FP_ALL): New mode iterator.
2332         (_d): New mode attribute.
2333         ("*signbit<mode>2>"): Changed mode of first operand.
2334         ("isinf<mode>2"): Changed mode of first operand.
2335         ("*TDC_insn"): Adaptation for DFP modes.
2336
2337 2008-01-22  Ben Elliston  <bje@au.ibm.com>
2338
2339         * tree.c (check_qualified_type): Improve function description.
2340
2341 2008-01-21  Jason Merrill  <jason@redhat.com>
2342
2343         PR c++/34196
2344         * tree.h (TRY_CATCH_IS_CLEANUP): New macro.
2345         * tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR
2346         if it is set.
2347
2348 2008-01-21  DJ Delorie  <dj@redhat.com>
2349
2350         * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not
2351         return zero.
2352
2353 2008-01-21  Richard Guenther  <rguenther@suse.de>
2354
2355         PR middle-end/34856
2356         * tree-cfg.c (verify_expr): Allow all invariant expressions
2357         instead of just constant class ones as reference argument.
2358         * tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR
2359         like any other constant.
2360         * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
2361
2362 2008-01-21  H.J. Lu  <hongjiu.lu@intel.com>
2363
2364         * regmove.c (fixup_match_1): Update call crossed frequencies.
2365
2366 2008-01-21  Richard Guenther  <rguenther@suse.de>
2367
2368         PR c/34885
2369         * tree-inline.c (setup_one_parameter): Deal with mismatched
2370         types using a VIEW_CONVERT_EXPR.
2371
2372 2008-01-21  Alon Dayan  <alond@il.ibm.com>
2373             Olga Golovanevsky  <olga@il.ibm.com>
2374         
2375         PR tree-optimization/34701
2376         * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation
2377         when the structure size is not a power of 2.
2378
2379 2008-01-20  Kenneth Zadeck <zadeck@naturalbridge.com>
2380
2381         * doc/install.texi: Add doc for --enable-checking=df.
2382         
2383 2008-01-20  Kaz Kojima  <kkojima@gcc.gnu.org>
2384
2385         PR rtl-optimization/34808
2386         * emit-rtl.c (try_split): Handle REG_RETVAL notes.
2387
2388 2008-01-20  Richard Sandiford  <rsandifo@nildram.co.uk>
2389
2390         * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per
2391         input.
2392
2393 2008-01-19  Kenneth Zadeck <zadeck@naturalbridge.com>
2394
2395         PR rtl-optimization/26854
2396         PR rtl-optimization/34400
2397         * ddg.c (create_ddg_dep_from_intra_loop_link): Do not use
2398         DF_RD->gen.
2399         * df.h (df_changeable_flags.DF_RD_NO_TRIM): New.
2400         (df_rd_bb_info.expanded_lr_out): New.
2401         * loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag.
2402         * loop_iv.c (iv_analysis_loop_init): Ditto.
2403         * df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
2404         df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
2405         Added code to allocate, initialize or free expanded_lr_out.
2406         (df_rd_bb_local_compute_process_def): Restructured to make
2407         more understandable.
2408         (df_rd_confluence_n): Add code to do nothing with fake edges and
2409         code to no apply invalidate_by_call sets if the sets are being trimmed.
2410         (df_lr_local_finalize): Renamed to df_lr_finalize.
2411         (df_live_local_finalize): Renamed to df_live_finalize.
2412
2413 2008-01-20  Richard Sandiford  <rsandifo@nildram.co.uk>
2414
2415         PR target/34831
2416         * config/mips/mips.md (div<mode>3): Use <recip_condition> when
2417         deciding whether to use reciprocal instructions.
2418
2419 2008-01-19  Uros Bizjak  <ubizjak@gmail.com>
2420
2421         * dwarf2out.c (dwarf2out_switch_text_section): Do not call
2422         dwarf2out_note_section_used if cold_text_section is NULL.
2423
2424 2008-01-19  Jakub Jelinek  <jakub@redhat.com>
2425
2426         PR gcov-profile/34610
2427         * tree-cfg.c (make_edges): Mark both outgoing edges from
2428         OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL.
2429         * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits
2430         from OMP_FOR and OMP_CONTINUE outgoing edges.
2431
2432         * tree-profile.c (tree_profiling): Return early if
2433         cfun->after_tree_profile != 0.  Set cfun->after_tree_profile
2434         at the end.
2435         * omp-low.c (expand_omp_parallel): Copy after_tree_profile
2436         from cfun to child_cfun.
2437         * function.h (struct function): Add after_tree_profile bit.
2438
2439 2008-01-19 Anatoly Sokolov <aesok@post.ru>
2440
2441         * config/avr/avr.S (_exit): Disable interrupt.
2442
2443 2008-01-18  Kenneth Zadeck  <zadeck@naturalbridge.com>
2444             Steven Bosscher  <stevenb.gcc@gmail.com>
2445
2446         PR rtl-optimization/26854
2447         PR rtl-optimization/34400
2448         * df-problems.c (df_live_scratch): New scratch bitmap.
2449         (df_live_alloc): Allocate df_live_scratch when doing df_live.
2450         (df_live_reset): Clear the proper bitmaps.
2451         (df_live_bb_local_compute): Only process the artificial defs once
2452         since the order is not important.
2453         (df_live_init): Init the df_live sets only with the variables
2454         found live by df_lr.
2455         (df_live_transfer_function): Use the df_lr sets to prune the
2456         df_live sets as they are being computed.  
2457         (df_live_free): Free df_live_scratch.
2458
2459 2008-01-18  Ian Lance Taylor  <iant@google.com>
2460
2461         * common.opt: Add fmerge-debug-strings.
2462         * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test
2463         flag_merge_debug_strings rather than flag_merge_constants.
2464         * doc/invoke.texi (Option Summary): Mention
2465         -fmerge-debug-strings.
2466         (Debugging Options): Document -fmerge-debug-strings.
2467
2468 2008-01-18  Ian Lance Taylor  <iant@google.com>
2469
2470         PR c++/33407
2471         * tree.h (DECL_IS_OPERATOR_NEW): Define.
2472         (struct tree_function_decl): Add new field operator_new_flag.
2473         * tree-inline.c (expand_call_inline): When inlining a call to
2474         operator new, force the return value to go into a variable, and
2475         set DECL_NO_TBAA_P on that variable.
2476         * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag.
2477
2478 2008-01-18  Uros Bizjak  <ubizjak@gmail.com>
2479
2480         PR debug/34484
2481         * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with
2482         DWARF2_DEBUGGING_INFO.
2483         (dwarf2out_note_section_used): Ditto.  Add prototype.
2484         (have_multiple_function_sections, text_section_used,
2485         cold_text_section_used, *cold_text_sections): Move declarations
2486         before their uses.
2487
2488 2008-01-17  Bob Wilson  <bob.wilson@acm.org>
2489
2490         * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
2491         field and add signal_ra.
2492         * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove
2493         assignments to frame state pc.  Move end of stack check after
2494         MD_FALLBACK_FRAME_STATE_FOR.
2495         (uw_update_context_1): Use frame state signal_regs if set, instead
2496         of checking signal_frame flag.
2497         (uw_update_context): Use frame state signal_ra if set.
2498         * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define.
2499         * config/xtensa/linux-unwind.h: New file.
2500
2501 2008-01-18  Bernhard Fischer  <aldot@gcc.gnu.org>
2502
2503         * modulo-sched.c (get_sched_window): Fix comment typo.
2504
2505 2008-01-17  Andrew MacLeod  <amacleod@redhat.com>
2506
2507         PR tree-optimization/34648
2508         * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying.
2509
2510 2008-01-17  Anatoly Sokolov <aesok@post.ru>
2511
2512         * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around.
2513         * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add.
2514
2515 2008-01-17  Seongbae Park  <seongbae.park@gmail.com>
2516
2517         PR rtl-optimization/34400
2518         * df-core.c (df_worklist_dataflow_overeager,
2519         df_worklist_dataflow_doublequeue): New functions.
2520         (df_worklist_dataflow): Two different worklist solvers.
2521         * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR):
2522         New param.
2523
2524 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
2525
2526         PR testsuite/34821
2527         * doc/invoke.texi: Document the dependence on pthread for fopenmp
2528         and ftree-parallelize-loops.
2529
2530 2008-01-17  Mircea Namolaru  <namolaru@il.ibm.com>
2531
2532         PR rtl-optimization/34826
2533         * loop-doloop (doloop_modify): Update the REG_BR_PROB note.
2534
2535 2008-01-17  Andreas Krebbel  <krebbel1@de.ibm.com>
2536
2537         * global.c (find_reg): Mark the eh regs as used if necessary.
2538         * ra-conflict.c (global_conflicts): Set no_eh_reg flag.
2539         * ra.h (struct allocno): no_eh_reg field added.  Changed
2540         no_stack_reg type to bitfield.
2541
2542 2008-01-17  Eric Botcazou  <ebotcazou@adacore.com>
2543
2544         * tree.c (substitute_in_expr): Add missing 'break'.
2545
2546 2008-01-17  Richard Guenther  <rguenther@suse.de>
2547
2548         PR tree-optimization/34825
2549         * tree-ssa-math-opts.c (is_division_by): Do not recognize
2550         x / x as division to handle.
2551
2552 2008-01-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2553
2554         * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or
2555         "-pthread" is specified.
2556         * pa-hpux11.h (LIB_SPEC): Likewise.
2557
2558 2008-01-16  Janis Johnson  <janis187@us.ibm.com>
2559             Peter Bergner  <bergner@vnet.ibm.com>
2560
2561         PR rtl-optimization/33796
2562         * sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc.
2563
2564 2008-01-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2565
2566         PR libgfortran/34699
2567         * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on
2568         static links.
2569         * pa-hpux10.h (LINK_SPEC): Likewise.
2570         * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1.
2571
2572 2008-01-16  Richard Guenther  <rguenther@suse.de>
2573
2574         PR middle-end/32628
2575         * fold-const.c (fold_convert_const_int_from_int): Do not
2576         set overflow if that occured only because of a sign extension
2577         change when converting from/to a sizetype with the same
2578         precision and signedness.
2579
2580 2008-01-16  Uros Bizjak  <ubizjak@gmail.com>
2581
2582         PR debug/34249
2583         * dwarf2out.c (output_call_frame_info): Move output of FDE initial
2584         location address to the correct place.  Update copyright year.
2585
2586 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
2587
2588         * lambda-code.c (lambda_transform_legal_p): Handle the case of
2589         no dependences in the dependence_relations vector.
2590
2591 2008-01-16  Jan Hubicka  <jh@suse.cz>
2592
2593         PR rtl-optimization/31396
2594         * regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED.
2595         * cfg.c (dump_reg_info): Print it.
2596         * regs.h (struct reg_info_t): add freq_calls_crossed.
2597         (REG_FREQ_CALLS_CROSSED): New macro.
2598         * global.c (global_alloc): Compute freq_calls_crossed for allocno.
2599         (find_reg): Update call of CALLER_SAVE_PROFITABLE.
2600         * regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2,
2601         regmove_optimize): Update call crossed frequencies.
2602         * local-alloc.c (struct qty): Add freq_calls_crossed.
2603         (alloc_qty): Copute freq_calls_crossed.
2604         (update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED.
2605         (find_free_reg): Update call of CALLER_SAVE_PROFITABLE.
2606         * ra.h (struct allocno): Add freq_calls_crossed.
2607
2608 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
2609
2610         * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for
2611         libgomp when compiling with ftree-parallelize-loops.
2612         (GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops.
2613
2614 2008-01-16  Richard Guenther  <rguenther@suse.de>
2615
2616         PR tree-optimization/34769
2617         * tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458.
2618         * tree.c (int_cst_value): Instead make this function more
2619         permissive in what it accepts as valid input.  Document this
2620         function always sign-extends the value.
2621
2622 2008-01-16  Jakub Jelinek  <jakub@redhat.com>
2623             Richard Guenther  <rguenther@suse.de>
2624
2625         PR c/34668
2626         * gimplify.c (fold_indirect_ref_rhs): Rename to ...
2627         (gimple_fold_indirect_ref_rhs): ... this.
2628         (gimple_fold_indirect_ref): New function with foldings
2629         that preserve lvalueness.
2630         (gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs.
2631         * tree-flow.h (gimple_fold_indirect_ref): Declare.
2632         * tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref
2633         to fold an INDIRECT_REF, fall back to the old use of
2634         fold_indirect_ref_1.
2635
2636 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
2637
2638         * tree-data-ref.c (subscript_dependence_tester_1): Call 
2639         free_conflict_function.
2640         (compute_self_dependence): Same.
2641
2642 2008-01-16  Uros Bizjak  <ubizjak@gmail.com>
2643
2644         PR debug/34249
2645         * debug.h (dwarf2out_switch_text_section): Move declaration from ...
2646         * dwarf2out.c (dwarf2out_switch_text_section): ... here.  Make
2647         function global.
2648         * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]:
2649         Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section
2650         for DWARF2_UNWIND_INFO targets.
2651
2652 2008-01-16  Richard Guenther  <rguenther@suse.de>
2653
2654         PR c/34768
2655         * c-typeck.c (common_pointer_type): Do not merge inconsistent
2656         type qualifiers for function types.
2657
2658 2008-01-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2659
2660         * tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for
2661         loop_iterator li from previous commit.
2662
2663 2008-01-15  Sebastian Pop  <sebastian.pop@amd.com>
2664
2665         * tree-parloops.c (gen_parallel_loop): Free loop bound estimations.
2666
2667 2008-01-12  Sebastian Pop  <sebastian.pop@amd.com>
2668
2669         * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New.
2670         (parallelize_loops): Don't parallelize irreducible components.
2671
2672 2008-01-14  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2673
2674         PR c++/24924
2675         * c-opts (c_common_post_options): Do not enable CPP
2676         flag_pedantic_errors by default.
2677         
2678 2008-01-14  Eric Botcazou  <ebotcazou@adacore.com>
2679
2680         PR rtl-optimization/31944
2681         * cse.c (remove_pseudo_from_table): New function.
2682         (merge_equiv_classes): Use above function to remove pseudo-registers.
2683         (invalidate): Likewise.
2684
2685 2008-01-13  Richard Guenther  <rguenther@suse.de>
2686
2687         PR middle-end/34601
2688         * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE
2689         instead of TYPE_MODE to deal with calls from expand_one_error_var.
2690
2691 2008-01-13  Uros Bizjak  <ubizjak@gmail.com>
2692
2693         * gcse.c (cprop_jump): Call validate_unshare_change instead of
2694         validate_change to unshare the source of the PC set.
2695
2696 2008-01-12  Jan Hubicka  <jh@suse.cz>
2697
2698         PR middle-end/32135
2699         * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct
2700         references above array bounds.  This might trigger bounds checks for
2701         pointers to arrays.
2702
2703 2008-01-12  Sebastian Pop  <sebastian.pop@amd.com>
2704
2705         * tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and
2706         new_replaceable_dependencies.
2707
2708 2008-01-12  Doug Kwan  <dougkwan@google.com>
2709
2710         * c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers
2711         instead of OPT_Wreturn_type in warning due to ignored return type
2712         qualifiers.
2713         * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to
2714         options included in -Wextra.
2715         * c.opt: New option -Wignored_qualifiers.
2716         * doc/invoke.texi (Warning Options, -Wextra): Add new option
2717         -Wignore_qualifiers.
2718         (-Wignored-qualifiers): Document.
2719         (-Wreturn-type): Remove description of functionality now handled
2720         by -Wignored-qualifiers.
2721
2722 2008-01-12  Eric Botcazou  <ebotcazou@adacore.com>
2723
2724         PR ada/33788
2725         * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing
2726         NOP_EXPR if it is between integral types with the same precision.
2727
2728 2008-01-12  Jan Hubicka  <jh@suse.cz>
2729
2730         PR other/28023
2731         * invoke.texi (max-inline-recursive-depth): Fix default value.
2732
2733 2008-01-12  Zdenek Dvorak  <ook@ucw.cz>
2734
2735         * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
2736         correct type.
2737
2738 2008-01-11  Bob Wilson  <bob.wilson@acm.org>
2739         
2740         * config/xtensa/xtensa.c (override_options): Set flag_shlib.
2741         
2742 2008-01-11  James E. Wilson  <wilson@specifix.com>
2743
2744         PR target/26015
2745         * config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.
2746
2747 2008-01-11  Anatoly Sokolov <aesok@post.ru>
2748
2749         * config/avr/avr.c (expand_prologue, expand_epilogue): Don't 
2750         save/restore frame pointer register and don't use 'call-prologues' 
2751         optimization in function with "OS_task" attribute.
2752
2753 2008-01-11  Eric Botcazou  <ebotcazou@adacore.com>
2754
2755         PR middle-end/31309
2756         * expr.c (copy_blkmode_from_reg): Use a mode suited to the size
2757         when copying to memory.
2758
2759 2008-01-11  Steven Bosscher  <stevenb.gcc@gmail.com>
2760
2761         PR rtl-optimization/30905
2762         * cfgcleanup.c: Include dce.h
2763         (crossjumps_occured): New global variable.
2764         (try_crossjump_bb): Exit loop after finding a fallthru edge.
2765         If something changed, set crossjumps_occured to true.
2766         (try_optimize_cfg): Clear crossjumps_occured at the beginning.
2767         Don't add/remove fake edges to exit here...
2768         (cleanup_cfg): ...but do it here, when crossjumping.
2769         Run a fast DCE when successful crossjumps occured in the latest
2770         iteration of try_optimize_cfg.
2771
2772 2008-01-11  Richard Guenther  <rguenther@suse.de>
2773
2774         * tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode.
2775         (struct vn_unary_op_s): Likewise.
2776         (vn_reference_insert): Free old reference on hash collision.
2777
2778 2008-01-10  Raksit Ashok  <raksit@google.com>
2779
2780         PR rtl-optimization/27971
2781         * combine.c (find_split_point): Split PLUS expressions which are
2782         inside a MEM rtx, and whose first operand is complex.
2783
2784 2008-01-10  DJ Delorie  <dj@redhat.com>
2785
2786         * config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from...
2787         (m32c_hard_regno_nregs): ...this, which is now a wrapper.
2788         (m32c_hard_regno_ok): Call the underlying function.
2789
2790 2008-01-10  Richard Guenther  <rguenther@suse.de>
2791
2792         PR middle-end/34683
2793         * tree-cfg.c (tree_merge_blocks): Do not go through the
2794         full-blown folding and stmt updating path if we just deal
2795         with virtual operands.
2796         * tree-ssa-copy.c (may_propagate_copy): Do not short-cut
2797         test for abnormal SSA_NAMEs.
2798
2799 2008-01-10  Andreas Krebbel  <krebbel1@de.ibm.com>
2800
2801         PR middle-end/34641
2802         * reload.c (push_reload): Add assertions.  All constants from
2803         reg_equiv_constant should have been used for replacing the respective
2804         pseudo earlier.
2805         (find_reloads_address): Invoke find_reloads_address_part for
2806         constant taken from the reg_equiv_constant array.
2807
2808 2008-01-10  Steven Bosscher  <stevenb.gcc@gmail.com>
2809
2810         * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed
2811         field (valnum) the first in the struct.  Replace bools with
2812         unit bit fields.
2813
2814 2008-01-10  Richard Guenther  <rguenther@suse.de>
2815
2816         PR tree-optimization/34651
2817         * tree-sra.c (sra_build_assignment): Sanitize.  Use the correct
2818         types and ordering for masking and converting.
2819
2820 2008-01-09  Sebastian Pop  <sebastian.pop@amd.com>
2821
2822         PR tree-optimization/34017
2823         * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Generate code
2824         also for PHI_NODE expressions.
2825
2826 2008-01-09  Jan Hubicka  <jh@suse.cz>
2827
2828         PR tree-optimization/34708
2829         * tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR
2830         based on number of case labels.
2831         (init_inline_once): Remove switch_cost.
2832         * tree-inline.h (eni_weights_d): Remove switch_cost.
2833
2834 2008-01-09  Richard Guenther  <rguenther@suse.de>
2835         Andrew Pinski  <andrew_pinski@playstation.sony.com>
2836
2837         PR middle-end/30132
2838         * gimplify.c (gimplify_cond_expr): Do not create an addressable
2839         temporary if an rvalue is ok or an lvalue is not required.
2840
2841 2008-01-09  Richard Guenther  <rguenther@suse.de>
2842
2843         PR middle-end/34458
2844         * tree-data-ref.c (initialize_matrix_A): Use tree_low_cst,
2845         adjust return type.
2846
2847 2008-01-09  Richard Guenther  <rguenther@suse.de>
2848
2849         PR middle-end/34679
2850         * tree.c (host_integerp): Check for sizetype only if the
2851         type is an integer type.
2852
2853 2008-01-09  Steven Bosscher  <stevenb.gcc@gmail.com>
2854
2855         PR debug/26364
2856         * opts.c (decode_options): Disable inlining of functions called
2857         once if not in unit-at-a-time mode.
2858
2859 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
2860
2861         * Makefile.in (dse.o): Remove duplicate $(RECOG_H) dependency.
2862
2863 2008-01-08  Richard Guenther  <rguenther@suse.de>
2864
2865         PR middle-end/31863
2866         * tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail
2867         out early if the result will be unused.
2868
2869 2008-01-08  Uros Bizjak  <ubizjak@gmail.com>
2870
2871         PR target/34709
2872         Revert:
2873
2874         2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
2875         * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
2876         for TARGET_RECIP.       
2877         
2878 2008-01-08  Jan Sjodin  <jan.sjodin@amd.com>
2879         
2880         * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs
2881         for vectorization tuned.
2882         
2883 2008-01-08  Richard Guenther  <rguenther@suse.de>
2884
2885         PR tree-optimization/34683
2886         * tree-ssa-operands.c (operand_build_cmp): Export.
2887         * tree-ssa-operands.h (operand_build_cmp): Declare.
2888         * tree-vn.c (vuses_compare): Remove.
2889         (sort_vuses): Use operand_build_cmp.
2890         (sort_vuses_heap): Likewise.
2891         * tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc
2892         to re-use old VEC if available.  Do not sort already sorted VUSEs.
2893         (vdefs_to_vec): Do not sort already sorted VDEFs.
2894
2895 2008-01-08  Jakub Jelinek  <jakub@redhat.com>
2896
2897         PR middle-end/34694
2898         * omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION.
2899
2900 2008-01-08  Uros Bizjak  <ubizjak@gmail.com>
2901
2902         PR target/34702
2903         * doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document
2904         limitations of reciprocal sequences on x86 targets.
2905
2906 2008-01-08  Richard Guenther  <rguenther@suse.de>
2907
2908         PR tree-optimization/34683
2909         * tree-flow-inline.h (var_ann): Remove overzealous asserts.
2910
2911 2008-01-07  Jakub Jelinek  <jakub@redhat.com>
2912
2913         PR target/34622
2914         * config/darwin.c (darwin_mergeable_string_section): Don't use
2915         .cstring if int_size_in_bytes != TREE_STRING_LENGTH.
2916
2917 2008-01-07  Uros Bizjak  <ubizjak@gmail.com>
2918
2919         PR target/34682
2920         * config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and
2921         negxf2.  Macroize expander using X87MODEF mode iterator.  Change
2922         predicates of op0 and op1 to register_operand.
2923         (abs<mode>2): Rename from abssf2, absdf2 and negxf2.  Macroize
2924         expander using X87MODEF mode iterator.  Change predicates of
2925         op0 and op1 to register_operand.
2926         ("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from
2927         corresponding patterns and macroize using MODEF macro.  Change
2928         predicates of op0 and op1 to register_operand and remove
2929         "m" constraint. Disparage "r" alternative with "!".
2930         ("*absneg<mode>2_i387"): Rename from corresponding patterns and
2931         macroize using X87MODEF macro.  Change predicates of op0 and op1
2932         to register_operand and remove "m" constraint.  Disparage "r"
2933         alternative with "!".
2934         (absneg splitter with memory operands): Remove.
2935         ("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding
2936         patterns and macroize using X87MODEF mode iterator.
2937         * config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2):
2938         Change predicate of op1 to register_operand.
2939         * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support
2940         for memory operands.
2941
2942 2008-01-07  Nathan Froyd  <froydnj@codesourcery.com>
2943
2944         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548.
2945
2946 2008-01-07  Richard Guenther  <rguenther@suse.de>
2947
2948         * basic-block.h (struct edge_def): Pair dest_idx with goto_locus
2949         fields.
2950
2951 2008-01-07  Richard Guenther  <rguenther@suse.de>
2952
2953         PR tree-optimization/34683
2954         * tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of
2955         VOPs of the needed size to save memory.  Use VEC_quick_push
2956         to save compile-time.
2957         (vdefs_to_vec): Likewise.
2958
2959 2008-01-07  Sa Liu  <saliu@de.ibm.com>
2960
2961         * config/spu/spu.md (divdf3): Genetate inline code for double
2962         division.  The implementation doesn't handle INF or NAN, therefore it
2963         only applies when -ffinite-math-only is given.
2964
2965 2008-01-06  Paolo Carlini  <pcarlini@suse.de>
2966
2967         PR libstdc++/34680
2968         * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate.
2969         * doc/cpp.texi ([Common Predefined Macros]): Document.
2970
2971 2008-01-06  Uros Bizjak  <ubizjak@gmail.com>
2972
2973         * config/i386/i386.c (ix86_emit_swsqrtsf): Use negative constants in
2974         order to use commutative addition instead of subtraction.
2975
2976 2008-01-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2977             Mircea Namolaru  <namolaru@il.ibm.com>
2978             Vladimir Yanovsky  <yanov@il.ibm.com>
2979             Revital Eres  <eres@il.ibm.com>
2980
2981         PR tree-optimization/34263
2982         * tree-outof-ssa.c (process_single_block_loop_latch,
2983         contains_tree_r): New functions.
2984         (analyze_edges_for_bb): Call process_single_block_loop_latch
2985         function to empty single-basic-block latch block if possible.
2986
2987 2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
2988
2989         * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
2990         for TARGET_RECIP.
2991         (ix86_emit_swsqrtsf): Do not filter out infinity for rsqrt expansion.
2992
2993 2008-01-05  Richard Sandiford  <rsandifo@nildram.co.uk>
2994
2995         * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.
2996
2997 2008-01-05  Richard Sandiford  <rsandifo@nildram.co.uk>
2998
2999         * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check.
3000
3001 2008-01-05  Jakub Jelinek  <jakub@redhat.com>
3002
3003         PR tree-optimization/34618
3004         * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P
3005         flag from T.
3006
3007 2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
3008
3009         PR target/34673
3010         * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands
3011         in the call to gen_rtx_NE.  Remove unneeded VECTOR_MODE_P check.
3012         Update copyright year.
3013
3014         * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH.
3015         Update copyright year.
3016         * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand
3017         using NR fixup.
3018
3019 2008-01-05  Zhouyi Zhou  <zhouzhouyi@FreeBSD.org>
3020
3021         * tree-vrp.c (find_conditional_asserts): Remove redundant check that
3022         edge does not point to current bb before changing need_assert.
3023
3024 2008-01-04  Richard Guenther  <rguenther@suse.de>
3025
3026         PR middle-end/34029
3027         * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs
3028         for verifying purposes if they are is_gimple_min_invariant.
3029
3030 2008-01-04  Aldy Hernandez  <aldyh@redhat.com>
3031
3032         PR tree-optimization/34448
3033         PR tree-optimization/34465
3034         * gimplify.c (gimplify_init_constructor): Add new parameter
3035         notify_temp_creation.  Use it.
3036         (gimplify_modify_expr_rhs): Take volatiles into account when
3037         optimizing constructors.
3038         Do not optimize constructors if gimplify_init_constructor will dump to
3039         memory.
3040         * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles.
3041         * gcc.c-torture/compile/pr34448.c: New.
3042
3043 2008-01-04  Jakub Jelinek  <jakub@redhat.com>
3044
3045         PR gcov-profile/34609
3046         * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on
3047         return_slot if result is TREE_ADDRESSABLE.
3048
3049 2008-01-04  Richard Sandiford  <rsandifo@nildram.co.uk>
3050
3051         * config/mips/mips.md (sqrt_condition): Tweak comment.
3052         (recip_condition): Likewise.  Require TARGET_FLOAT64 for DFmode.
3053
3054 2008-01-03  Tom Tromey  <tromey@redhat.com>
3055
3056         PR c/34457
3057         * c-common.c (c_type_hash): Handle VLAs.
3058
3059 2008-01-03  Jan Hubicka  <jh@suse.cz>
3060
3061         PR tree-optimization/31081
3062         * tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to
3063         0 when inlining and not inlining to first basic block.
3064         (remap_decl): When var is initialized to 0, don't set default_def.
3065         (expand_call_inline): Set entry_bb.
3066         * tree-inline.h (copy_body_data): Add entry_bb.
3067
3068 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
3069
3070         PR c++/34619
3071         * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL
3072         before returning.
3073
3074         PR tree-optimization/29484
3075         * tree-inline.c (inline_forbidden_p_2): New function.
3076         (inline_forbidden_p): Disallow inlining if some static var
3077         has an address of a local LABEL_DECL in its initializer.
3078         * doc/extend.texi (Labels as Values): Document &&foo behaviour
3079         vs. inlining.
3080
3081 2008-01-03  Sebastian Pop  <sebastian.pop@amd.com>
3082
3083         PR tree-optimization/34635
3084         * tree-data-ref.c (add_other_self_distances): Make sure that the
3085         evolution step is constant.
3086
3087 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
3088
3089         PR middle-end/34608
3090         * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn.
3091
3092 2008-01-02  Richard Sandiford  <rsandifo@nildram.co.uk>
3093
3094         * tree-sra.c (scalarize_init): Insert the generate_element_init
3095         statements after the generate_element_zero statements.
3096
3097 2008-01-02  Richard Guenther  <rguenther@suse.de>
3098
3099         PR middle-end/34093
3100         PR middle-end/31976
3101         * tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer
3102         for very large number of operands instead of ICEing.
3103
3104 2008-01-02  Arthur Norman <acn1@cam.ac.uk>
3105
3106         PR target/34013
3107         * gcc/config/i386/i386.c (ix86_expand_prologue): Save red-zone
3108         while stack probing.
3109
3110 2008-01-01  Douglas Gregor  <doug.gregor@gmail.com>
3111
3112         * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when
3113         in C++0x mode.
3114
3115 2008-01-01  Volker Reichelt  <v.reichelt@netcologne.de>
3116
3117         PR libmudflap/26442
3118         * tree-mudflap.c (mx_register_decls): Guard warning by
3119         !DECL_ARTIFICIAL check.
3120
3121 2008-01-01  Jakub Jelinek  <jakub@redhat.com>
3122
3123         * config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si,
3124         sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi,
3125         sse5_perm<mode>): Fix constraints.