OSDN Git Service

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