OSDN Git Service

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