Daily bump.
[official-gcc.git] / gcc / ChangeLog
blob6340525846b4bb1ae5a394453eb7bd79fc94d13a
1 2008-01-20  Richard Sandiford  <rsandifo@nildram.co.uk>
3         PR target/34831
4         * config/mips/mips.md (div<mode>3): Use <recip_condition> when
5         deciding whether to use reciprocal instructions.
7 2008-01-19  Uros Bizjak  <ubizjak@gmail.com>
9         * dwarf2out.c (dwarf2out_switch_text_section): Do not call
10         dwarf2out_note_section_used if cold_text_section is NULL.
12 2008-01-19  Jakub Jelinek  <jakub@redhat.com>
14         PR gcov-profile/34610
15         * tree-cfg.c (make_edges): Mark both outgoing edges from
16         OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL.
17         * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits
18         from OMP_FOR and OMP_CONTINUE outgoing edges.
20         * tree-profile.c (tree_profiling): Return early if
21         cfun->after_tree_profile != 0.  Set cfun->after_tree_profile
22         at the end.
23         * omp-low.c (expand_omp_parallel): Copy after_tree_profile
24         from cfun to child_cfun.
25         * function.h (struct function): Add after_tree_profile bit.
27 2008-01-19 Anatoly Sokolov <aesok@post.ru>
29         * config/avr/avr.S (_exit): Disable interrupt.
31 2008-01-18  Kenneth Zadeck  <zadeck@naturalbridge.com>
32             Steven Bosscher  <stevenb.gcc@gmail.com>
34         PR rtl-optimization/26854
35         PR rtl-optimization/34400
36         * df-problems.c (df_live_scratch): New scratch bitmap.
37         (df_live_alloc): Allocate df_live_scratch when doing df_live.
38         (df_live_reset): Clear the proper bitmaps.
39         (df_live_bb_local_compute): Only process the artificial defs once
40         since the order is not important.
41         (df_live_init): Init the df_live sets only with the variables
42         found live by df_lr.
43         (df_live_transfer_function): Use the df_lr sets to prune the
44         df_live sets as they are being computed.  
45         (df_live_free): Free df_live_scratch.
47 2008-01-18  Ian Lance Taylor  <iant@google.com>
49         * common.opt: Add fmerge-debug-strings.
50         * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test
51         flag_merge_debug_strings rather than flag_merge_constants.
52         * doc/invoke.texi (Option Summary): Mention
53         -fmerge-debug-strings.
54         (Debugging Options): Document -fmerge-debug-strings.
56 2008-01-18  Ian Lance Taylor  <iant@google.com>
58         PR c++/33407
59         * tree.h (DECL_IS_OPERATOR_NEW): Define.
60         (struct tree_function_decl): Add new field operator_new_flag.
61         * tree-inline.c (expand_call_inline): When inlining a call to
62         operator new, force the return value to go into a variable, and
63         set DECL_NO_TBAA_P on that variable.
64         * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag.
66 2008-01-18  Uros Bizjak  <ubizjak@gmail.com>
68         PR debug/34484
69         * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with
70         DWARF2_DEBUGGING_INFO.
71         (dwarf2out_note_section_used): Ditto.  Add prototype.
72         (have_multiple_function_sections, text_section_used,
73         cold_text_section_used, *cold_text_sections): Move declarations
74         before their uses.
76 2007-01-17  Bob Wilson  <bob.wilson@acm.org>
78         * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
79         field and add signal_ra.
80         * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove
81         assignments to frame state pc.  Move end of stack check after
82         MD_FALLBACK_FRAME_STATE_FOR.
83         (uw_update_context_1): Use frame state signal_regs if set, instead
84         of checking signal_frame flag.
85         (uw_update_context): Use frame state signal_ra if set.
86         * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define.
87         * config/xtensa/linux-unwind.h: New file.
89 2007-01-18  Bernhard Fischer  <aldot@gcc.gnu.org>
91         * modulo-sched.c (get_sched_window): Fix comment typo.
93 2008-01-17  Andrew MacLeod  <amacleod@redhat.com>
95         PR tree-optimization/34648
96         * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying.
98 2008-01-17  Anatoly Sokolov <aesok@post.ru>
100         * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around.
101         * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add.
103 2008-01-17  Seongbae Park  <seongbae.park@gmail.com>
105         PR rtl-optimization/34400
106         * df-core.c (df_worklist_dataflow_overeager,
107         df_worklist_dataflow_doublequeue): New functions.
108         (df_worklist_dataflow): Two different worklist solvers.
109         * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR):
110         New param.
112 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
114         PR testsuite/34821
115         * doc/invoke.texi: Document the dependence on pthread for fopenmp
116         and ftree-parallelize-loops.
118 2008-01-17  Mircea Namolaru  <namolaru@il.ibm.com>
120         PR rtl-optimization/34826
121         * loop-doloop (doloop_modify): Update the REG_BR_PROB note.
123 2008-01-17  Andreas Krebbel  <krebbel1@de.ibm.com>
125         * global.c (find_reg): Mark the eh regs as used if necessary.
126         * ra-conflict.c (global_conflicts): Set no_eh_reg flag.
127         * ra.h (struct allocno): no_eh_reg field added.  Changed
128         no_stack_reg type to bitfield.
130 2008-01-17  Eric Botcazou  <ebotcazou@adacore.com>
132         * tree.c (substitute_in_expr): Add missing 'break'.
134 2008-01-17  Richard Guenther  <rguenther@suse.de>
136         PR tree-optimization/34825
137         * tree-ssa-math-opts.c (is_division_by): Do not recognize
138         x / x as division to handle.
140 2008-01-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
142         * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or
143         "-pthread" is specified.
144         * pa-hpux11.h (LIB_SPEC): Likewise.
146 2007-01-16  Janis Johnson  <janis187@us.ibm.com>
147             Peter Bergner  <bergner@vnet.ibm.com>
149         PR rtl-optimization/33796
150         * sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc.
152 2008-01-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
154         PR libgfortran/34699
155         * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on
156         static links.
157         * pa-hpux10.h (LINK_SPEC): Likewise.
158         * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1.
160 2008-01-16  Richard Guenther  <rguenther@suse.de>
162         PR middle-end/32628
163         * fold-const.c (fold_convert_const_int_from_int): Do not
164         set overflow if that occured only because of a sign extension
165         change when converting from/to a sizetype with the same
166         precision and signedness.
168 2008-01-16  Uros Bizjak  <ubizjak@gmail.com>
170         PR debug/34249
171         * dwarf2out.c (output_call_frame_info): Move output of FDE initial
172         location address to the correct place.  Update copyright year.
174 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
176         * lambda-code.c (lambda_transform_legal_p): Handle the case of
177         no dependences in the dependence_relations vector.
179 2008-01-16  Jan Hubicka  <jh@suse.cz>
181         PR rtl-optimization/31396
182         * regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED.
183         * cfg.c (dump_reg_info): Print it.
184         * regs.h (struct reg_info_t): add freq_calls_crossed.
185         (REG_FREQ_CALLS_CROSSED): New macro.
186         * global.c (global_alloc): Compute freq_calls_crossed for allocno.
187         (find_reg): Update call of CALLER_SAVE_PROFITABLE.
188         * regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2,
189         regmove_optimize): Update call crossed frequencies.
190         * local-alloc.c (struct qty): Add freq_calls_crossed.
191         (alloc_qty): Copute freq_calls_crossed.
192         (update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED.
193         (find_free_reg): Update call of CALLER_SAVE_PROFITABLE.
194         * ra.h (struct allocno): Add freq_calls_crossed.
196 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
198         * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for
199         libgomp when compiling with ftree-parallelize-loops.
200         (GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops.
202 2008-01-16  Richard Guenther  <rguenther@suse.de>
204         PR tree-optimization/34769
205         * tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458.
206         * tree.c (int_cst_value): Instead make this function more
207         permissive in what it accepts as valid input.  Document this
208         function always sign-extends the value.
210 2008-01-16  Jakub Jelinek  <jakub@redhat.com>
211             Richard Guenther  <rguenther@suse.de>
213         PR c/34668
214         * gimplify.c (fold_indirect_ref_rhs): Rename to ...
215         (gimple_fold_indirect_ref_rhs): ... this.
216         (gimple_fold_indirect_ref): New function with foldings
217         that preserve lvalueness.
218         (gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs.
219         * tree-flow.h (gimple_fold_indirect_ref): Declare.
220         * tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref
221         to fold an INDIRECT_REF, fall back to the old use of
222         fold_indirect_ref_1.
224 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
226         * tree-data-ref.c (subscript_dependence_tester_1): Call 
227         free_conflict_function.
228         (compute_self_dependence): Same.
230 2008-01-16  Uros Bizjak  <ubizjak@gmail.com>
232         PR debug/34249
233         * debug.h (dwarf2out_switch_text_section): Move declaration from ...
234         * dwarf2out.c (dwarf2out_switch_text_section): ... here.  Make
235         function global.
236         * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]:
237         Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section
238         for DWARF2_UNWIND_INFO targets.
240 2008-01-16  Richard Guenther  <rguenther@suse.de>
242         PR c/34768
243         * c-typeck.c (common_pointer_type): Do not merge inconsistent
244         type qualifiers for function types.
246 2008-01-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
248         * tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for
249         loop_iterator li from previous commit.
251 2008-01-15  Sebastian Pop  <sebastian.pop@amd.com>
253         * tree-parloops.c (gen_parallel_loop): Free loop bound estimations.
255 2008-01-12  Sebastian Pop  <sebastian.pop@amd.com>
257         * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New.
258         (parallelize_loops): Don't parallelize irreducible components.
260 2008-01-14  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
262         PR c++/24924
263         * c-opts (c_common_post_options): Do not enable CPP
264         flag_pedantic_errors by default.
265         
266 2008-01-14  Eric Botcazou  <ebotcazou@adacore.com>
268         PR rtl-optimization/31944
269         * cse.c (remove_pseudo_from_table): New function.
270         (merge_equiv_classes): Use above function to remove pseudo-registers.
271         (invalidate): Likewise.
273 2008-01-13  Richard Guenther  <rguenther@suse.de>
275         PR middle-end/34601
276         * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE
277         instead of TYPE_MODE to deal with calls from expand_one_error_var.
279 2008-01-13  Uros Bizjak  <ubizjak@gmail.com>
281         * gcse.c (cprop_jump): Call validate_unshare_change instead of
282         validate_change to unshare the source of the PC set.
284 2008-01-12  Jan Hubicka  <jh@suse.cz>
286         PR middle-end/32135
287         * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct
288         references above array bounds.  This might trigger bounds checks for
289         pointers to arrays.
291 2008-01-12  Sebastian Pop  <sebastian.pop@amd.com>
293         * tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and
294         new_replaceable_dependencies.
296 2008-01-12  Doug Kwan  <dougkwan@google.com>
298         * c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers
299         instead of OPT_Wreturn_type in warning due to ignored return type
300         qualifiers.
301         * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to
302         options included in -Wextra.
303         * c.opt: New option -Wignored_qualifiers.
304         * doc/invoke.texi (Warning Options, -Wextra): Add new option
305         -Wignore_qualifiers.
306         (-Wignored-qualifiers): Document.
307         (-Wreturn-type): Remove description of functionality now handled
308         by -Wignored-qualifiers.
310 2008-01-12  Eric Botcazou  <ebotcazou@adacore.com>
312         PR ada/33788
313         * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing
314         NOP_EXPR if it is between integral types with the same precision.
316 2008-01-12  Jan Hubicka  <jh@suse.cz>
318         PR other/28023
319         * invoke.texi (max-inline-recursive-depth): Fix default value.
321 2008-01-12  Zdenek Dvorak  <ook@ucw.cz>
323         * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
324         correct type.
326 2008-01-11  Bob Wilson  <bob.wilson@acm.org>
327         
328         * config/xtensa/xtensa.c (override_options): Set flag_shlib.
329         
330 2008-01-11  James E. Wilson  <wilson@specifix.com>
332         PR target/26015
333         * config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.
335 2008-01-11  Anatoly Sokolov <aesok@post.ru>
337         * config/avr/avr.c (expand_prologue, expand_epilogue): Don't 
338         save/restore frame pointer register and don't use 'call-prologues' 
339         optimization in function with "OS_task" attribute.
341 2008-01-11  Eric Botcazou  <ebotcazou@adacore.com>
343         PR middle-end/31309
344         * expr.c (copy_blkmode_from_reg): Use a mode suited to the size
345         when copying to memory.
347 2008-01-11  Steven Bosscher  <stevenb.gcc@gmail.com>
349         PR rtl-optimization/30905
350         * cfgcleanup.c: Include dce.h
351         (crossjumps_occured): New global variable.
352         (try_crossjump_bb): Exit loop after finding a fallthru edge.
353         If something changed, set crossjumps_occured to true.
354         (try_optimize_cfg): Clear crossjumps_occured at the beginning.
355         Don't add/remove fake edges to exit here...
356         (cleanup_cfg): ...but do it here, when crossjumping.
357         Run a fast DCE when successful crossjumps occured in the latest
358         iteration of try_optimize_cfg.
360 2008-01-11  Richard Guenther  <rguenther@suse.de>
362         * tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode.
363         (struct vn_unary_op_s): Likewise.
364         (vn_reference_insert): Free old reference on hash collision.
366 2008-01-10  Raksit Ashok  <raksit@google.com>
368         PR rtl-optimization/27971
369         * combine.c (find_split_point): Split PLUS expressions which are
370         inside a MEM rtx, and whose first operand is complex.
372 2008-01-10  DJ Delorie  <dj@redhat.com>
374         * config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from...
375         (m32c_hard_regno_nregs): ...this, which is now a wrapper.
376         (m32c_hard_regno_ok): Call the underlying function.
378 2008-01-10  Richard Guenther  <rguenther@suse.de>
380         PR middle-end/34683
381         * tree-cfg.c (tree_merge_blocks): Do not go through the
382         full-blown folding and stmt updating path if we just deal
383         with virtual operands.
384         * tree-ssa-copy.c (may_propagate_copy): Do not short-cut
385         test for abnormal SSA_NAMEs.
387 2008-01-10  Andreas Krebbel  <krebbel1@de.ibm.com>
389         PR middle-end/34641
390         * reload.c (push_reload): Add assertions.  All constants from
391         reg_equiv_constant should have been used for replacing the respective
392         pseudo earlier.
393         (find_reloads_address): Invoke find_reloads_address_part for
394         constant taken from the reg_equiv_constant array.
396 2008-01-10  Steven Bosscher  <stevenb.gcc@gmail.com>
398         * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed
399         field (valnum) the first in the struct.  Replace bools with
400         unit bit fields.
402 2008-01-10  Richard Guenther  <rguenther@suse.de>
404         PR tree-optimization/34651
405         * tree-sra.c (sra_build_assignment): Sanitize.  Use the correct
406         types and ordering for masking and converting.
408 2008-01-09  Sebastian Pop  <sebastian.pop@amd.com>
410         PR tree-optimization/34017
411         * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Generate code
412         also for PHI_NODE expressions.
414 2008-01-09  Jan Hubicka  <jh@suse.cz>
416         PR tree-optimization/34708
417         * tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR
418         based on number of case labels.
419         (init_inline_once): Remove switch_cost.
420         * tree-inline.h (eni_weights_d): Remove switch_cost.
422 2008-01-09  Richard Guenther  <rguenther@suse.de>
423         Andrew Pinski  <andrew_pinski@playstation.sony.com>
425         PR middle-end/30132
426         * gimplify.c (gimplify_cond_expr): Do not create an addressable
427         temporary if an rvalue is ok or an lvalue is not required.
429 2008-01-09  Richard Guenther  <rguenther@suse.de>
431         PR middle-end/34458
432         * tree-data-ref.c (initialize_matrix_A): Use tree_low_cst,
433         adjust return type.
435 2008-01-09  Richard Guenther  <rguenther@suse.de>
437         PR middle-end/34679
438         * tree.c (host_integerp): Check for sizetype only if the
439         type is an integer type.
441 2008-01-09  Steven Bosscher  <stevenb.gcc@gmail.com>
443         PR debug/26364
444         * opts.c (decode_options): Disable inlining of functions called
445         once if not in unit-at-a-time mode.
447 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
449         * Makefile.in (dse.o): Remove duplicate $(RECOG_H) dependency.
451 2008-01-08  Richard Guenther  <rguenther@suse.de>
453         PR middle-end/31863
454         * tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail
455         out early if the result will be unused.
457 2008-01-08  Uros Bizjak  <ubizjak@gmail.com>
459         PR target/34709
460         Revert:
462         2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
463         * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
464         for TARGET_RECIP.       
465         
466 2008-01-08  Jan Sjodin  <jan.sjodin@amd.com>
467         
468         * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs
469         for vectorization tuned.
470         
471 2008-01-08  Richard Guenther  <rguenther@suse.de>
473         PR tree-optimization/34683
474         * tree-ssa-operands.c (operand_build_cmp): Export.
475         * tree-ssa-operands.h (operand_build_cmp): Declare.
476         * tree-vn.c (vuses_compare): Remove.
477         (sort_vuses): Use operand_build_cmp.
478         (sort_vuses_heap): Likewise.
479         * tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc
480         to re-use old VEC if available.  Do not sort already sorted VUSEs.
481         (vdefs_to_vec): Do not sort already sorted VDEFs.
483 2008-01-08  Jakub Jelinek  <jakub@redhat.com>
485         PR middle-end/34694
486         * omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION.
488 2008-01-08  Uros Bizjak  <ubizjak@gmail.com>
490         PR target/34702
491         * doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document
492         limitations of reciprocal sequences on x86 targets.
494 2008-01-08  Richard Guenther  <rguenther@suse.de>
496         PR tree-optimization/34683
497         * tree-flow-inline.h (var_ann): Remove overzealous asserts.
499 2008-01-07  Jakub Jelinek  <jakub@redhat.com>
501         PR target/34622
502         * config/darwin.c (darwin_mergeable_string_section): Don't use
503         .cstring if int_size_in_bytes != TREE_STRING_LENGTH.
505 2008-01-07  Uros Bizjak  <ubizjak@gmail.com>
507         PR target/34682
508         * config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and
509         negxf2.  Macroize expander using X87MODEF mode iterator.  Change
510         predicates of op0 and op1 to register_operand.
511         (abs<mode>2): Rename from abssf2, absdf2 and negxf2.  Macroize
512         expander using X87MODEF mode iterator.  Change predicates of
513         op0 and op1 to register_operand.
514         ("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from
515         corresponding patterns and macroize using MODEF macro.  Change
516         predicates of op0 and op1 to register_operand and remove
517         "m" constraint. Disparage "r" alternative with "!".
518         ("*absneg<mode>2_i387"): Rename from corresponding patterns and
519         macroize using X87MODEF macro.  Change predicates of op0 and op1
520         to register_operand and remove "m" constraint.  Disparage "r"
521         alternative with "!".
522         (absneg splitter with memory operands): Remove.
523         ("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding
524         patterns and macroize using X87MODEF mode iterator.
525         * config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2):
526         Change predicate of op1 to register_operand.
527         * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support
528         for memory operands.
530 2008-01-07  Nathan Froyd  <froydnj@codesourcery.com>
532         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548.
534 2008-01-07  Richard Guenther  <rguenther@suse.de>
536         * basic-block.h (struct edge_def): Pair dest_idx with goto_locus
537         fields.
539 2008-01-07  Richard Guenther  <rguenther@suse.de>
541         PR tree-optimization/34683
542         * tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of
543         VOPs of the needed size to save memory.  Use VEC_quick_push
544         to save compile-time.
545         (vdefs_to_vec): Likewise.
547 2008-01-07  Sa Liu  <saliu@de.ibm.com>
549         * config/spu/spu.md (divdf3): Genetate inline code for double
550         division.  The implementation doesn't handle INF or NAN, therefore it
551         only applies when -ffinite-math-only is given.
553 2008-01-06  Paolo Carlini  <pcarlini@suse.de>
555         PR libstdc++/34680
556         * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate.
557         * doc/cpp.texi ([Common Predefined Macros]): Document.
559 2008-01-06  Uros Bizjak  <ubizjak@gmail.com>
561         * config/i386/i386.c (ix86_emit_swsqrtsf): Use negative constants in
562         order to use commutative addition instead of subtraction.
564 2008-01-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
565             Mircea Namolaru  <namolaru@il.ibm.com>
566             Vladimir Yanovsky  <yanov@il.ibm.com>
567             Revital Eres  <eres@il.ibm.com>
569         PR tree-optimization/34263
570         * tree-outof-ssa.c (process_single_block_loop_latch,
571         contains_tree_r): New functions.
572         (analyze_edges_for_bb): Call process_single_block_loop_latch
573         function to empty single-basic-block latch block if possible.
575 2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
577         * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
578         for TARGET_RECIP.
579         (ix86_emit_swsqrtsf): Do not filter out infinity for rsqrt expansion.
581 2008-01-05  Richard Sandiford  <rsandifo@nildram.co.uk>
583         * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.
585 2008-01-05  Richard Sandiford  <rsandifo@nildram.co.uk>
587         * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check.
589 2008-01-05  Jakub Jelinek  <jakub@redhat.com>
591         PR tree-optimization/34618
592         * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P
593         flag from T.
595 2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
597         PR target/34673
598         * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands
599         in the call to gen_rtx_NE.  Remove unneeded VECTOR_MODE_P check.
600         Update copyright year.
602         * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH.
603         Update copyright year.
604         * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand
605         using NR fixup.
607 2008-01-05  Zhouyi Zhou  <zhouzhouyi@FreeBSD.org>
609         * tree-vrp.c (find_conditional_asserts): Remove redundant check that
610         edge does not point to current bb before changing need_assert.
612 2008-01-04  Richard Guenther  <rguenther@suse.de>
614         PR middle-end/34029
615         * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs
616         for verifying purposes if they are is_gimple_min_invariant.
618 2008-01-04  Aldy Hernandez  <aldyh@redhat.com>
620         PR tree-optimization/34448
621         PR tree-optimization/34465
622         * gimplify.c (gimplify_init_constructor): Add new parameter
623         notify_temp_creation.  Use it.
624         (gimplify_modify_expr_rhs): Take volatiles into account when
625         optimizing constructors.
626         Do not optimize constructors if gimplify_init_constructor will dump to
627         memory.
628         * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles.
629         * gcc.c-torture/compile/pr34448.c: New.
631 2008-01-04  Jakub Jelinek  <jakub@redhat.com>
633         PR gcov-profile/34609
634         * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on
635         return_slot if result is TREE_ADDRESSABLE.
637 2008-01-04  Richard Sandiford  <rsandifo@nildram.co.uk>
639         * config/mips/mips.md (sqrt_condition): Tweak comment.
640         (recip_condition): Likewise.  Require TARGET_FLOAT64 for DFmode.
642 2008-01-03  Tom Tromey  <tromey@redhat.com>
644         PR c/34457
645         * c-common.c (c_type_hash): Handle VLAs.
647 2008-01-03  Jan Hubicka  <jh@suse.cz>
649         PR tree-optimization/31081
650         * tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to
651         0 when inlining and not inlining to first basic block.
652         (remap_decl): When var is initialized to 0, don't set default_def.
653         (expand_call_inline): Set entry_bb.
654         * tree-inline.h (copy_body_data): Add entry_bb.
656 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
658         PR c++/34619
659         * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL
660         before returning.
662         PR tree-optimization/29484
663         * tree-inline.c (inline_forbidden_p_2): New function.
664         (inline_forbidden_p): Disallow inlining if some static var
665         has an address of a local LABEL_DECL in its initializer.
666         * doc/extend.texi (Labels as Values): Document &&foo behaviour
667         vs. inlining.
669 2008-01-03  Sebastian Pop  <sebastian.pop@amd.com>
671         PR tree-optimization/34635
672         * tree-data-ref.c (add_other_self_distances): Make sure that the
673         evolution step is constant.
675 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
677         PR middle-end/34608
678         * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn.
680 2008-01-02  Richard Sandiford  <rsandifo@nildram.co.uk>
682         * tree-sra.c (scalarize_init): Insert the generate_element_init
683         statements after the generate_element_zero statements.
685 2008-01-02  Richard Guenther  <rguenther@suse.de>
687         PR middle-end/34093
688         PR middle-end/31976
689         * tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer
690         for very large number of operands instead of ICEing.
692 2008-01-02  Arthur Norman <acn1@cam.ac.uk>
694         PR target/34013
695         * gcc/config/i386/i386.c (ix86_expand_prologue): Save red-zone
696         while stack probing.
698 2008-01-01  Douglas Gregor  <doug.gregor@gmail.com>
700         * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when
701         in C++0x mode.
703 2008-01-01  Volker Reichelt  <v.reichelt@netcologne.de>
705         PR libmudflap/26442
706         * tree-mudflap.c (mx_register_decls): Guard warning by
707         !DECL_ARTIFICIAL check.
709 2008-01-01  Jakub Jelinek  <jakub@redhat.com>
711         * config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si,
712         sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi,
713         sse5_perm<mode>): Fix constraints.