OSDN Git Service

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