OSDN Git Service

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