OSDN Git Service

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