1 2008-05-06 H.J. Lu <hongjiu.lu@intel.com>
4 * config/i386/i386.c (contains_128bit_aligned_vector_p): Renamed
6 (contains_aligned_value_p): This. Handle _Decimal128.
7 (ix86_function_arg_boundary): Only align _Decimal128 to its
8 natural boundary and handle it properly.
10 2008-05-06 Martin Jambor <mjambor@suse.cz>
12 * ipa-cp.c (ipcp_method_orig_node): Renamed to ipcp_get_orig_node.
13 (ipcp_method_is_cloned): Renamed to ipcp_node_is_clone
14 (ipcp_method_set_orig_node): Removed.
15 (ipcp_cval_get_cvalue_type): Removed.
16 (ipcp_method_get_scale): Renamed to ipcp_get_node_scale.
17 (ipcp_method_set_scale): Renamed to ipcp_set_node_scale.
18 (ipcp_cval_set_cvalue_type): Removed.
19 (ipcp_cval_get_cvalue): Removed.
20 (ipcp_cval_set_cvalue): Removed.
21 (ipcp_type_is_const): Renamed to ipcp_lat_is_const.
22 (ipcp_cval_equal_cvalues): Renamed to ipcp_lats_are_equal
23 (ipcp_lats_are_equal): Changed parameters to two ipcp_lattice's
24 (ipcp_cval_meet): Renamed to ipa_lattice_meet
25 (ipcp_cval_changed): Changed to use ipcp_lat_is_const
26 (ipcp_method_cval): Renamed to ipcp_get_ith_lattice
27 (ipcp_get_ith_lattice): Changed parameters.
28 (ipcp_cval_compute): Renamed to ipcp_lattice_from_jfunc
29 (ipcp_lattice_from_jfunc): Changed parameters.
30 (ipcp_redirect): Local lattice pointer instead of lattice type variable.
31 (ipcp_method_cval_print): Added temporary variable info.
32 (ipcp_redirect): Removed already unused local variable caller.
33 (ipcp_redirect): New temporary variable orig_callee_info
34 (ipcp_redirect): Removed newly unused local variable callee.
35 (ipcp_redirect): Removed (a bit confusing) local variable type.
36 (ipcp_insert_stage): Added local variable info.
37 (ipcp_cval_changed): Renamed to ipcp_lattice_changed, parameters
39 (ipcp_formal_create): Removed.
40 (ipcp_method_cval_set): Removed.
41 (ipcp_propagate_stage): Renamed lattice variables.
42 (ipcp_method_cval_set_cvalue_type): Removed.
43 (ipcp_method_cval_print): Renamed to ipcp_print_all_lattices
44 (ipcp_print_all_lattices): Changed printed strings to refer to
45 lattices rather than cvals.
46 (ipcp_method_cval_init): Renamed to ipcp_initialize_node_lattices
47 (ipcp_propagate_const): Changed formal parameters.
48 (build_const_val): Changed formal parameters.
49 (ipcp_insert_stage): Removed useless variable cvalue
50 (build_const_val): Changed formal parameters.
51 (ipcp_method_compute_scale): Renamed to ipcp_compute_node_scale
52 (ipcp_after_propagate): Renamed to ipcp_change_tops_to_bottom
53 (ipcp_callsite_param_print): Renamed to ipcp_print_all_jump_functions
54 (ipcp_profile_mt_count_print): Renamed to ipcp_print_func_profile_counts
55 (ipcp_print_func_profile_counts): Changed string from "method" to
57 (ipcp_profile_cs_count_print): Renamed to ipcp_print_call_profile_counts
58 (ipcp_profile_edge_print): Renamed to ipcp_print_edge_profiles
59 (ipcp_profile_bb_print): Renamed to ipcp_print_bb_profiles
60 (ipcp_structures_print): Renamed to ipcp_print_all_structures
61 (ipcp_profile_print): Renamed to ipcp_print_profile_data
62 (ipcp_lat_is_const): Changed parameters and made inline.
63 (ipcp_replace_map_create): Renamed to ipcp_create_replace_map
64 (ipcp_redirect): Renamed to ipcp_need_redirect_p
65 (ipcp_need_redirect_p): Calls ipcp_lat_is_const instead of using
66 the predicate condition directly
67 (ipcp_propagate_stage): Added local variable args. Removed local
68 variable callee. (Both are mere code simplifications.)
69 (ipcp_method_dont_insert_const): Renamed to
70 ipcp_node_not_modifiable_p.
71 (ipcp_node_not_modifiable_p): Made inline.
72 (ipcp_cloned_create): Renamed to ipcp_init_cloned_node
73 (ipcp_propagate_const): Renamed to ipcp_propagate_one_const
74 (ipcp_print_all_lattices): Removed variable cvalue
75 (ipcp_method_scale_print): Renamed to ipcp_function_scale_print
78 2008-05-06 Olivier Hainque <hainque@adacore.com>
80 * tree-sra.c (try_instantiate_multiple_fields): Early return
81 if field has POINTER_TYPE.
83 2008-05-06 Kai Tietz <kai.tietz@onevision.com>
85 * config/i386/i386.c (output_set_got): Fix for x86_64 output_emit_asm
86 by using 'q' specifier for instruction.
87 (ix86_file_end): Replaced case TARGET_64BIT_MS_ABI by TARGET_64BIT.
89 2008-05-06 Anatoly Sokolov <aesok@post.ru>
91 * config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
92 Change mode of zero_extract from QImode to HImode.
93 (sign bit tests peepholes): (Ditto.).
95 2008-05-06 Uros Bizjak <ubizjak@gmail.com>
97 * config/i386/mmx.md: Remove double backslashes from asm templates.
98 (*addv2sf3): Rename from mmx_addv2sf3 insn pattern.
99 (mmx_addv2sf3): New expander. Use ix86_fixup_binary_operands_no_copy
100 to handle nonimmediate operands.
101 (*mulv2sf3): Rename from mmx_mulv2sf3 insn pattern.
102 (mmx_mulv2sf3): New expander. Use ix86_fixup_binary_operands_no_copy
103 to handle nonimmediate operands.
104 (*<code>v2sf3_finite): New insn pattern.
105 (*<code>v2sf3): Rename from mmx_<code>v2sf3 insn pattern.
106 (mmx_<code>v2sf3): New expander. Use
107 ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
108 (mmx_<plusminus_insn><mode>3): New expander. Use
109 ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
110 (*<plusminus_insn><mode>3): New insn pattern.
111 (mmx_add<mode>3): Removed.
112 (mmx_ssadd<mode>3): Ditto.
113 (mmx_usadd<mode>3): Ditto.
114 (mmx_sub<mode>3): Ditto.
115 (mmx_sssub<mode>3): Ditto.
116 (mmx_ussub<mode>3): Ditto.
117 (*mulv4hi3): Rename from mmx_mulv4hi3 insn pattern.
118 (mmx_mulv4hi3): New expander. Use ix86_fixup_binary_operands_no_copy
119 to handle nonimmediate operands.
120 (*smulv4hi3_highpart): Rename from mmx_smulv4hi3_highpart
122 (mmx_smulv4hi3_highpart): New expander. Use
123 ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
124 (*umulv4hi3_highpart): Rename from mmx_umulv4hi3_highpart
126 (mmx_umulv4hi3_highpart): New expander. Use
127 ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
128 (*<code>v4hi3): Rename from mmx_<code>v4hi3 insn pattern.
129 (mmx_<code>v4hi3): New expander. Use
130 ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
131 (*<code>v8qi3): Rename from mmx_<code>v8qi3 insn pattern.
132 (mmx_<code>v8qi3): New expander. Use
133 ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
134 (*<code><mode>3): Rename from mmx_<code><mode>3 insn pattern.
135 (mmx_<code><mode>3): New expander. Use
136 ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
138 2008-05-05 Jan Hubicka <jh@suse.cz>
140 PR tree-optimization/36118
141 * passes.c (pass_init_dump_file): Fix dump header.
143 2008-05-05 Andrew Pinski <andrew_pinski@playstation.sony.com>
146 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't create
147 VCE for function decls.
149 2008-05-05 H.J. Lu <hongjiu.lu@intel.com>
151 * config/i386/sse.md (sse2_<plusminus_insn><mode>3): Fix a typo.
153 2008-05-05 H.J. Lu <hongjiu.lu@intel.com>
155 * config/i386/i386.md (sat_plusminus): New.
156 (plusminus_insn): Likewise.
157 (plusminus_mnemonic): Likewise.
159 (comm): Add ss_plus, us_plus, ss_minus and us_minus.
160 (*<addsub><mode>3_cc_overflow): Renamed to ...
161 (*<plusminus_insn><mode>3_cc_overflow): This.
162 (*<addsub>si3_zext_cc_overflow): Renamed to ...
163 (*<plusminus_insn>si3_zext_cc_overflow): This.
165 * config/i386/sse.md (<addsub><mode>3): Renamed to ...
166 (<plusminus_insn><mode>3): This.
167 (*<addsub><mode>3): Renamed to ...
168 (*<plusminus_insn><mode>3): This.
169 (<sse>_vm<addsub><mode>3): Renamed to ...
170 (<sse>_vm<plusminus_insn><mode>3): This.
171 (sse3_h<addsub>v4sf3): Renamed to ...
172 (sse3_h<plusminus_insn>v4sf3): This.
173 (sse3_h<addsub>v2df3): Renamed to ...
174 (sse3_h<plusminus_insn>v2df3): This.
175 (<plusminus_insn><mode>3): New.
176 (*<plusminus_insn><mode>3): Likewise.
177 (sse2_<plusminus_insn><mode>3): Likewise.
178 (add<mode>): Removed.
179 (*add<mode>3): Likewise.
180 (sse2_ssadd<mode>3): Likewise.
181 (sse2_usadd<mode>3): Likewise.
182 (sub<mode>3): Likewise.
183 (*sub<mode>3): Likewise.
184 (sse2_sssub<mode>3): Likewise.
185 (sse2_ussub<mode>3): Likewise.
187 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
189 * gthr-single.h: Add in required interface elements as per gthr.h.
190 Add stub types for __gthread_key_t, __gthread_once_t. Add defines
191 for __GTHREAD_ONCE_INIT, __GTHREAD_RECURSIVE_MUTEX_INIT.
192 Generalize UNUSED macro.
193 (__gthread_once): Add.
194 (__gthread_key_create): Add.
195 (__gthread_key_delete): Add.
196 (__gthread_getspecific): Add.
197 (__gthread_setspecific): Add.
199 2008-05-05 Andrew Pinski <Andrew.Pinski@playstation.sony.com>
201 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): If we have
202 the same size types for the indirect reference on the rhs, then
205 2008-05-05 Uros Bizjak <ubizjak@gmail.com>
207 * config/i386/i386.md
208 (*float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit): Use only
209 one insn template instead of template series.
210 (*xordi_1_rex64): Ditto.
211 (*xordi_2_rex64): Ditto.
213 2008-05-05 Ira Rosen <irar@il.ibm.com>
215 PR tree-optimization/36119
216 * tree-vect-transform.c (vectorizable_assignment): Set NCOPIES to 1
219 2008-06-04 Jan Hubicka <jh@suse.cz>
221 tree-optimization/36100
222 * tree-pass.h (pass_O0_always_inline): Declare.
223 * ipa-inline.c (inline_transform): Remove dead code.
224 (cgraph_gate_O0_always_inline, cgraph_O0_always_inline,
225 pass_O0_always_inline): New.
226 * passes.c (init_optimization_passes): Add pass_O0_always_inline.
228 2008-05-04 Kai Tietz <kai.tietz@onevision.com>
230 * config/i386/i386.c (x86_output_mi_thunk): Use movq alternative
231 mnemonic in this_param move for TARGET_64BIT.
233 2008-05-04 Uros Bizjak <ubizjak@gmail.com>
235 * config/i386/i386.md (*strmovsi_1): Simplify asm alternatives.
236 (*strmovsi_rex_1): Ditto.
237 (*strsetsi_1): Ditto.
238 (*strsetsi_rex_1): Ditto.
240 (add<mode>cc): Macroize expander from addqicc, addhicc, addsicc and
241 adddicc expanders using SWI mode iterator.
243 2008-05-04 H.J. Lu <hongjiu.lu@intel.com>
246 * config/i386/i386.c (ix86_expand_special_args_builtin): Remove three
249 2008-05-04 David S. Miller <davem@davemloft.net>
251 * config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes.
252 (sparc*-*-linux*): Use linux.h in tm_file.
253 (sparc-*-linux*): If 'enabled_targets' is 'all', build a bi-arch
254 compiler defaulting to 32-bit.
255 (sparc*-*-*): Remove explicit target settings of need_64bit_hwint,
257 * config/sparc/linux.h: Remove definitions now obtained
258 properly from linux.h
259 * config/sparc/linux64.h: Likewise.
260 (ASM_CPU_DEFAULT_SPEC): Change this to ASM_CPU64_DEFAULT_SPEC, we
261 don't want this setting for 32-bit builds in a biarch compiler.
262 * doc/install.texi: Add sparc-linux to list of targets
263 supporting --enable-targets=all.
265 2008-05-03 Andrew Pinski <pinskia@gmail.com>
267 * Makefile.in (tree-ssa-phiprop.o): Fix dependencies.
269 2008-05-03 H.J. Lu <hongjiu.lu@intel.com>
271 * config/i386/i386.c (ix86_builtin_type): Move V4SI_FTYPE_V4SF
272 after V4SI_FTYPE_V8HI.
273 (ix86_init_mmx_sse_builtins): Move case V4HI_FTYPE_V4HI after
274 case V4SI_FTYPE_V2DF.
276 2008-05-03 Kenneth Zadeck <zadeck@naturalbridge.com>
278 * doc/invoke.texi (max-flow-memory-locations): Removed.
279 * params.def (PARAM_MAX_FLOW_MEMORY_LOCATIONS): Removed.
281 2008-05-03 Richard Guenther <rguenther@suse.de>
284 * opts.c (set_Wstrict_aliasing): Handle the turn-off case.
286 2008-05-02 David S. Miller <davem@davemloft.net>
288 * config.gcc (need_64bit_hwint): Document libcpp dependency.
290 2008-05-02 Simon Baldwin <simonb@google.com>
293 * c-common.h (warn_array_subscript_range): Removed.
294 * c-common.c (warn_array_subscript_range): Ditto.
295 * tree-vrp.c (check_array_ref): Revert to ignoring arrays with size 2.
296 * c-typeck.c (build_array_ref): Remove warn_array_subscript_range.
298 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
300 * config/i386/i386.c (ix86_special_builtin_type): New.
301 (bdesc_special_args): Likewise.
302 (ix86_expand_special_args_builtin): Likewise.
303 (ix86_init_mmx_sse_builtins): Updated.
304 (ix86_expand_builtin): Updated.
305 (ix86_expand_store_builtin): Removed.
306 (ix86_expand_unop_builtin): Likewise.
308 * config/i386/mm3dnow.h (__v2sf): Moved to ...
309 * config/i386/mmintrin.h (__v2sf): Here.
311 * config/i386/xmmintrin.h (_mm_loadh_pi): Replace __v2si with
313 (_mm_loadl_pi): Likewise.
314 (_mm_storeh_pi): Replace __v2si with __v2sf.
315 (_mm_storel_pi): Likewise.
317 * doc/extend.texi: Correct __builtin_ia32_loadhps,
318 __builtin_ia32_loadlps, __builtin_ia32_storehps,
319 __builtin_ia32_storelps, __builtin_ia32_loadhpd and
320 __builtin_ia32_loadlpd.
322 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
324 * config/i386/i386.c (ix86_builtin_type): Add FLOAT_FTYPE_FLOAT,
325 V4SF_FTYPE_V4SF_VEC_MERGE and V2DF_FTYPE_V2DF_VEC_MERGE.
326 (bdesc_args): Updated. Add scalar SSE builtins with vec_merge.
327 (ix86_init_mmx_sse_builtins): Updated.
328 (ix86_expand_args_builtin): Likewise.
329 (ix86_expand_builtin): Likewise.
330 (ix86_expand_unop1_builtin): Renamed to ...
331 (ix86_expand_unop_vec_merge_builtin): This.
333 2008-05-01 Jan Hubicka <jh@suse.cz>
336 * ipa-inline.c (inline_generate_summary): Make static.
337 (inline_transform): Do not call inlining at -O0; make static.
338 * passes.c (execute_todo): Add sanity check.
339 (execute_one_ipa_transform_pass): Execute proper flags.
341 2008-05-01 Eric Botcazou <ebotcazou@adacore.com>
343 * tree.h (TYPE_NONALIASED_COMPONENT): Expand comment.
344 (DECL_NONADDRESSABLE_P): Likewise.
345 * alias.c (record_component_aliases): Fix comment.
347 2008-05-01 Simon Baldwin <simonb@google.com>
349 * c-common.h (warn_array_subscript_range): New function.
350 * c-common.c (warn_array_subscript_range): Ditto.
351 * tree-vrp.c (check_array_ref): Corrected code to agree with
352 comment, ignoring only arrays of size 0 or size 1.
353 * c-typeck.c (build_array_ref): Call warn_array_subscript_range.
355 2008-05-01 H.J. Lu <hongjiu.lu@intel.com>
357 * config/i386/i386.c (ix86_builtin_type): Replace
358 DI_FTYPE_DI_DI_INT with V1DI2DI_FTYPE_V1DI_V1DI_INT.
359 (bdesc_args): Updated.
360 (ix86_init_mmx_sse_builtins): Likewise.
361 (ix86_expand_args_builtin): Likewise.
363 * config/i386/tmmintrin.h (_mm_alignr_pi8): Replace long long
366 * doc/extend.texi: Correct __builtin_ia32_palignr.
368 2008-05-01 H.J. Lu <hongjiu.lu@intel.com>
371 * config/i386/i386.c (bdesc_crc32): Removed.
372 (ix86_expand_crc32): Likewise.
373 (ix86_builtin_type): Replace V2DI2TI_FTYPE_V2DI2TI_INT with
374 V2DI2TI_FTYPE_V2DI_INT, V2DI2TI_FTYPE_V2DI2TI_V2DI2TI_INT with
375 V2DI2TI_FTYPE_V2DI_V2DI_INT. Add UINT64_FTYPE_UINT64_UINT64,
376 UINT_FTYPE_UINT_UINT, UINT_FTYPE_UINT_USHORT and
377 UINT_FTYPE_UINT_UCHAR.
378 (bdesc_args): Updated. Add crc32 builtins.
379 (ix86_init_mmx_sse_builtins): Updated.
380 (ix86_expand_args_builtin): Updated to support subreg.
382 * doc/extend.texi: Correct __builtin_ia32_crc32di.
384 2008-05-01 Jan Hubicka <jh@suse.cz>
386 * tree-pass.h (opt_pass): Add IPA_PASS.
387 (varpool_node, cgraph_node): Forward declare.
388 (ipa_opt_pass): Define.
389 (pass_ipa_inline): Turn into ipa_opt_pass.
390 (pass_apply_inline): Remove.
391 * ipa-inline.c (pass_ipa_inline): Turn into ipa_opt_pass.
392 (apply_inline): Turn into ....
393 (inline_transform): ... this one.
394 (inline_generate_summary): New function.
395 (pass_apply_inline): Remove.
396 * function.h (ipa_opt_pass): Forward declare structure; typedef;
398 (struct function): Add ipa_transforms_to_apply.
399 * passes.c (register_one_dump_file): Work on IPA_PASS.
400 (init_optimization_passes): Remove pass_inline_parameters and
402 (pass_init_dump_file, pass_fini_dump_file): Break out from ....
403 (execute_one_pass) ... here; apply transforms when possible.
404 (add_ipa_transform_pass, execute_ipa_summary_asses,
405 execute_one_ipa_transform_pass): New.
406 (execute_ipa_pass_list): Update for IPA_PASS type.
408 2008-05-01 H.J. Lu <hongjiu.lu@intel.com>
410 * config/i386/i386.c (ix86_builtin_type): Add
411 V2DI_FTYPE_V2DI_V16QI, V2DI_FTYPE_V2DI_UINT_UINT and
412 V2DI_FTYPE_V2DI_V2DI_UINT_UINT.
413 (bdesc_args): Add SSE4a builtins.
414 (ix86_init_mmx_sse_builtins): Updated.
415 (ix86_expand_args_builtin): Likewise.
416 (ix86_expand_builtin): Likewise.
418 2008-05-01 H.J. Lu <hongjiu.lu@intel.com>
420 * config/i386/i386.c (ix86_builtin_type): Add
421 V8HI_FTYPE_V8HI_V8HI_COUNT, V8HI_FTYPE_V8HI_SI_COUNT,
422 V4SI_FTYPE_V4SI_V4SI_COUNT, V4SI_FTYPE_V4SI_SI_COUNT,
423 V4HI_FTYPE_V4HI_V4HI_COUNT, V4HI_FTYPE_V4HI_SI_COUNT,
424 V2DI_FTYPE_V2DI_V2DI_COUNT, V2DI_FTYPE_V2DI_SI_COUNT,
425 V2SI_FTYPE_V2SI_V2SI_COUNT, V2SI_FTYPE_V2SI_SI_COUNT,
426 V1DI_FTYPE_V1DI_V1DI_COUNT, V1DI_FTYPE_V1DI_SI_COUNT,
427 V8HI_FTYPE_V8HI_INT, V4SI_FTYPE_V4SI_INT, V4HI_FTYPE_V4HI_INT,
428 V2DI2TI_FTYPE_V2DI2TI_INT, V2DI2TI_FTYPE_V2DI2TI_V2DI2TI_INT
429 and DI_FTYPE_DI_DI_INT.
430 (bdesc_args): Add MMX/SSE shift, shuffle and palignr builtins.
431 (ix86_init_mmx_sse_builtins): Updated.
432 (ix86_expand_args_builtin): Likewise.
433 (ix86_expand_builtin): Likewise.
434 (ix86_expand_binop_imm_builtin): Removed.
436 * doc/extend.texi: Correct __builtin_ia32_palignr128.
438 2008-04-30 Richard Guenther <rguenther@suse.de>
440 PR tree-optimization/32921
441 * tree-ssa-loop-im.c (mem_refs_may_alias_p): Disambiguate with TBAA.
443 2008-04-30 Richard Sandiford <rsandifo@nildram.co.uk>
445 * config/arm/arm.c (arm_unwind_emit): Use
446 crtl->all_throwers_are_sibcalls instead of
447 cfun->all_throwers_are_sibcalls.
448 (arm_output_fn_unwind): Likewise.
449 * config/frv/frv.c (frv_stack_info): Use crtl->uses_pic_offset_table
450 instead of cfun->uses_pic_offset_table.
451 (frv_expand_prologue): Likewise.
452 (frv_frame_pointer_required): Likewise.
453 (frv_expand_fdpic_call): Likewise.
454 (frv_emit_movsi): Likewise.
455 * config/iq2000/iq2000.c (iq2000_expand_prologue): Use
456 cfun->returns_pcc_struct instead of
457 current_function_returns_pcc_struct.
458 * config/m32c/m32c.c (need_to_save): Use crtl->calls_eh_return
459 instead of cfun->calls_eh_return.
460 (m32c_pushm_popm): Likewise.
461 * config/xtensa/xtensa.h (cfun->calls_alloca): Remove bogus
462 "extern" declaration.
464 2008-04-30 Richard Guenther <rguenther@suse.de>
466 PR tree-optimization/21636
467 * tree-ssa-ccp.c (ccp_fold): Handle &p->x with p being a
469 (evaluate_stmt): Print the likely value.
470 (ccp_visit_stmt): Avoid excessive vertical spacing.
472 2008-04-30 Rafael Espindola <espindola@google.com>
474 * builtins.c (fold_call_expr): Return realret.
475 * tree-ssa-threadedge.c
476 (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
477 __builtin_object_size.
479 2008-04-30 Seongbae Park <seongbae.park@gmail.com>
481 * gcc.c (wrapper_string): New variable.
482 (insert_wrapper): New function.
483 (execute): New option -wrapper.
484 * doc/invoke.texi (Overall Options): New driver option -wrapper.
486 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
488 * config/rs6000/crtresgpr.asm, config/rs6000/crtresxgpr.asm,
489 config/rs6000/crtsavgpr.asm, config/rs6000/crtresfpr.asm,
490 config/rs6000/crtresxfpr.asm, config/rs6000/crtsavfpr.asm: Break out
492 * config/rs6000/crtsavres.asm: ...here. Remove unneeded file.
493 * config/rs6000/e500crtres32gpr.asm, config/rs6000/e500crtres64gpr.asm,
494 config/rs6000/e500crtres64gprctr.asm,
495 config/rs6000/e500crtrest32gpr.asm, config/rs6000/e500crtrest64gpr.asm,
496 config/rs6000/e500crtresx32gpr.asm, config/rs6000/e500crtresx64gpr.asm,
497 config/rs6000/e500crtsav32gpr.asm, config/rs6000/e500crtsav64gpr.asm,
498 config/rs6000/e500crtsav64gprctr.asm,
499 config/rs6000/e500crtsavg32gpr.asm, config/rs6000/e500crtsavg64gpr.asm,
500 config/rs6000/e500crtsavg64gprctr.asm: New files.
501 * config/rs6000/t-ppccomm: Add build rules for new files.
502 (LIB2FUNCS_STATIC_EXTRA): Add new files.
503 * config/rs6000/t-netbsd: Add build rules for new files.
504 (LIB2FUNCS_STATIC_EXTRA): New variable.
505 * config/rs6000/sysv4.h (ENDFILE_SPEC): Don't include crtsavres.o
506 (CRTSAVRES_DEFAULT_SPEC): Likewise.
507 * config/rs6000/netbsd.h (ENDFILE_SPEC): Likewise.
509 2008-04-30 H.J. Lu <hongjiu.lu@intel.com>
511 * config/i386/i386.c (ix86_builtin_type): Add
512 FLOAT128_FTYPE_FLOAT128_FLOAT128, V16QI_FTYPE_V16QI_V16QI,
513 V16QI_FTYPE_V8HI_V8HI, V8QI_FTYPE_V8QI_V8QI,
514 V8QI_FTYPE_V4HI_V4HI, V8HI_FTYPE_V8HI_V8HI,
515 V8HI_FTYPE_V16QI_V16QI, V8HI_FTYPE_V4SI_V4SI,
516 V4SI_FTYPE_V4SI_V4SI, V4SI_FTYPE_V8HI_V8HI,
517 V4SI_FTYPE_V4SF_V4SF, V4SI_FTYPE_V2DF_V2DF,
518 V4HI_FTYPE_V4HI_V4HI, V4HI_FTYPE_V8QI_V8QI,
519 V4HI_FTYPE_V2SI_V2SI, V4SF_FTYPE_V4SF_V4SF,
520 V4SF_FTYPE_V4SF_V4SF_SWAP, V4SF_FTYPE_V4SF_V2SI,
521 V4SF_FTYPE_V4SF_V2DF, V4SF_FTYPE_V4SF_DI,
522 V4SF_FTYPE_V4SF_SI, V2DI_FTYPE_V2DI_V2DI,
523 V2DI_FTYPE_V16QI_V16QI, V2DI_FTYPE_V4SI_V4SI,
524 V2DI_FTYPE_V2DF_V2DF, V2SI_FTYPE_V2SI_V2SI,
525 V2SI_FTYPE_V4HI_V4HI, V2SI_FTYPE_V2SF_V2SF,
526 V2DF_FTYPE_V2DF_V2DF, V2DF_FTYPE_V2DF_V2DF_SWAP,
527 V2DF_FTYPE_V2DF_V4SF, V2DF_FTYPE_V2DF_DI,
528 V2DF_FTYPE_V2DF_SI, V2SF_FTYPE_V2SF_V2SF,
529 V1DI_FTYPE_V1DI_V1DI, V1DI_FTYPE_V8QI_V8QI and
530 V1DI_FTYPE_V2SI_V2SI.
531 (bdesc_2arg): Moved to ...
533 (ix86_init_mmx_sse_builtins): Updated.
534 (ix86_expand_args_builtin): Updated. Take a pointer
535 to const struct builtin_description. Handle comparison
537 (ix86_expand_sse_compare): Take a new argument for swapping operands.
538 (ix86_expand_builtin): Updated.
540 * config/i386/sse.md (ssse3_pmaddubswv8hi3): Renamed to ...
541 (ssse3_pmaddubsw128): This.
542 (ssse3_pmaddubswv4hi3): Renamed to ...
543 (ssse3_pmaddubsw): This.
545 * doc/extend.texi (__builtin_ia32_packsswb128): Correct prototype.
546 (__builtin_ia32_packssdw128): Likewise.
547 (__builtin_ia32_packuswb128): Likewise.
548 (__builtin_ia32_pmaddubsw): Likewise.
549 (__builtin_ia32_pmaddubsw128): Likewise.
551 2008-04-30 Richard Guenther <rguenther@suse.de>
553 PR tree-optimization/14847
554 * tree-ssa-ifcombine.c (get_name_for_bit_test): New helper function.
555 (recognize_bits_test): Use it.
556 (recognize_single_bit_test): Likewise.
558 2008-04-30 Martin Jambor <mjambor@suse.cz>
560 * ipa-cp.c (ipcp_init_stage): Calls ipa_set_called_with_variable_arg
561 instead of setting number of formal parameters to zero.
562 (ipcp_init_stage): Do not set the number of actual parameters to zero
564 (ipcp_propagate_stage): Explicitly skipping all calls to nodes
565 which are called with variable number of arguments.
566 (ipcp_insert_stage): Explicitely skipping all nodes which are
567 called with variable number of arguments.
568 (ipcp_callsite_param_print): Skipps callsites to nodes with varaible
569 number of parameters.
571 * ipa-prop.h (struct ipa_node_params): Added flag
572 called_with_var_arguments
573 (ipa_set_param_count): Added. Changed sole setter to use it.
574 (ipa_get_param_count): Added. All readers of param_count
575 converted to use it instead.
576 (ipa_set_called_with_variable_arg): Added.
577 (ipa_is_called_with_var_arguments): Added.
578 (ipa_get_ith_param): Added. All readers of param_decls converted
580 (ipa_set_cs_argument_count): Added, sole writer to argument_count
582 (ipa_get_cs_argument_count): Added, all readers of argument_count
584 (ipa_get_ith_jump_func): Added. Accessors of jump values changed
587 * ipa-prop.h (struct ipcp_formal): Renamed to ipcp_lattice
588 (struct ipcp_lattice): Renamed cval_type to type
589 (struct ipa_node_params): ipcp_cval renamed to ipcp_lattices
591 * ipa-cp.c (ipcp_cval_get_cvalue): Changed return value to tree
592 (ipcp_cval_set_cvalue): Changed type of parameter value to tree
593 (ipcp_insert_stage): Changed the type of variable cvalue to tree
594 (ipcp_replace_map_create): Changed the type of parameter cvalue to tree
595 (build_const_val): Changed the type of parameter cvalue to tree
596 (ipcp_propagate_const): Changed the type of parameter cvalue to tree
597 (ipcp_method_cval_set_cvalue_type): Renamed parameter cval_type1 to type
599 * ipa-prop.h (struct ipcp_formal): Replaced cvalue with tree called
602 * ipa-prop.c (ipa_methodlist_init): Renamed to ipa_init_func_list
603 (ipa_methodlist_not_empty): Removed, the sole user now checks directly
604 (ipa_add_method): Renamed to ipa_push_func_to_list
605 (ipa_remove_method): Renamed to ipa_pop_func_from_list
606 (ipa_callsite_param_count): Removed.
607 (ipa_callsite_param_count_set): Removed.
608 (ipa_callsite_param): Removed.
609 (ipa_callsite_callee): Removed.
610 (ipa_callsite_compute_param): Renamed to ipa_compute_jump_functions
611 (ipa_callsite_compute_count): Renamed to ipa_count_arguments
612 (ipa_method_formal_count): Removed.
613 (ipa_method_formal_count_set): Removed.
614 (ipa_method_get_tree): Removed.
615 (ipa_method_tree_map_create): Removed.
616 (ipa_method_compute_tree_map): Renamed to ipa_create_param_decls_array
617 (ipa_create_param_decls_array): Creates the array itself
618 (ipa_create_param_decls_array): Temporary variable info instead of
620 (ipa_method_formal_compute_count): Renamed to ipa_count_formal_params
621 (ipa_method_compute_modify): Renamed to ipa_detect_param_modifications
623 (ipa_jf_get_info_type): Removed.
624 (ipa_node_create): Renamed to ipa_create_node_params
625 (ipa_free): Renamed to ipa_free_all_node_params
626 (ipa_nodes_create): Renamed to ipa_create_all_node_params
627 (ipa_edges_create): Renamed to ipa_create_all_edge_args
628 (ipa_edges_free): Renamed to ipa_free_all_edge_args
629 (ipa_nodes_free): Integrated into ipa_free_all_node_params and removed
630 (ipa_free_all_node_params): Deallocation to jump_functions moved to
631 ipa_free_all_edge_args
632 (ipa_method_tree_print): Renamed to ipa_print_all_tree_maps
633 (ipa_method_modify_print): Renamed to ipa_print_all_params_modified
634 (ipa_create_methodlist_node): Removed.
635 (ipa_methodlist_method): Removed.
636 (ipa_methodlist_method_set): Removed.
637 (ipa_methodlist_next_method): Removed.
638 (ipa_methodlist_next_method_set): Removed.
639 (ipa_method_is_modified): Removed.
640 (ipa_method_modify_create): Removed.
641 (ipa_method_modify_init): Temporary variable info instead of a few
643 (ipa_detect_param_modifications): Temporary variable info instead of
645 (ipa_compute_jump_functions): Temporary variable info instead of
647 (ipa_method_modify_set): Removed.
648 (ipa_method_tree_map): Renamed to ipa_get_param_decl_index
649 (ipa_get_param_decl_index): Now accepts struct ipa_node_params rather
650 than craph_node as the first parameter.
651 (ipa_method_modify_stmt): Renamed to ipa_check_stmt_modifications
652 (ipa_method_modify_init): Removed.
653 (ipa_compute_jump_functions): Added a temp variable instead of
654 repeatadly dereferencing the cgraph_edge.aux pointer
655 (ipa_callsite_param_set_type): Removed.
656 (ipa_compute_jump_functions): i renamed to index and moved to
658 (ipa_callsite_param_set_info_type_formal): Removed.
659 (ipa_callsite_param_set_info_type): Removed.
660 (ipa_callsite_param_map_create): Removed.
661 (ipa_callsite_tree): Removed.
662 (ipa_callsite_caller): Removed.
663 (ipa_pop_func_from_list): return_method removed to return_func
665 * ipa-prop.h (enum cvalue_type): Renamed to ipa_lattice_type,
666 prefixed all values with IPA_. Changed all users.
667 (enum jump_func_type): Rnamed UNKNOWN_IPATYPE to IPA_UNKNOWN,
668 CONST_IPATYPE to IPA_CONST, CONST_IPATYPE_REF to IPA_CONST_REF
669 and FORMAL_IPATYPE IPA_PASS_THROUGH.
670 (union parameter_info): Renamed to jump_func_value.
671 (union jump_func_value): Renamed value to constant
672 (struct ipa_jump_func): Renamed info_type to value
673 (struct ipa_node): Renamed to ipa_node_params
674 (struct ipa_node_params): Renamed ipa_arg_num to param_count
675 (struct ipa_node_params): Renamed ipa_param_tree to param_decls
676 (struct ipa_node_params): Renamed ipa_mod to modified_flags
677 (struct ipa_edge): Renamed to ipa_edge_args
678 (struct ipa_edge_args): Renamed ipa_param_num to argument_count
679 (struct ipa_edge_args): Renamed ipa_param_map to jump_functions
680 (struct ipa_methodlist): Renamed to ipa_func_list
681 (struct ipa_func_list): method_p renamed to node, next_method
683 (ipa_methodlist_p): Removed, switched all users to struct pointer
684 (IS_VALID_TREE_MAP_INDEX): Renamed to IS_VALID_JUMP_FUNC_INDEX
686 2008-04-30 Alan Modra <amodra@bigpond.net.au>
688 * config/rs6000/rs6000.c (ALWAYS_RESTORE_ALTIVEC_BEFORE_POP): Define.
689 (rs6000_emit_epilogue): Use backchain to restore only when we
690 have a large frame. Make use of frame pointer to restore if we
691 have one. Handle ALWAYS_RESTORE_ALTIVEC_BEFORE_POP.
693 2008-04-29 Paolo Bonzini <bonzini@gnu.org>
695 * config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
696 Add mode to zero_extract.
697 (sign bit tests peepholes): (Ditto.).
699 2008-04-29 H.J. Lu <hongjiu.lu@intel.com>
701 * config/i386/i386.c (ix86_builtins): Replace Prescott New
702 Instructions in comments with SSE3.
703 (ix86_builtin_type): This. Add FLOAT128_FTYPE_FLOAT128,
704 INT64_FTYPE_V4SF, INT64_FTYPE_V2DF, INT_FTYPE_V16QI,
705 INT_FTYPE_V8QI, INT_FTYPE_V4SF, INT_FTYPE_V2DF,
706 V16QI_FTYPE_V16QI, V8HI_FTYPE_V8HI, V8HI_FTYPE_V16QI,
707 V8QI_FTYPE_V8QI, V4SI_FTYPE_V4SI, V4SI_FTYPE_V16QI,
708 V4SI_FTYPE_V4SF, V4SI_FTYPE_V8HI, V4SI_FTYPE_V2DF,
709 V4HI_FTYPE_V4HI, V4SF_FTYPE_V4SF, V4SF_FTYPE_V4SI,
710 V4SF_FTYPE_V2DF, V2DI_FTYPE_V2DI, V2DI_FTYPE_V16QI,
711 V2DI_FTYPE_V8HI, V2DI_FTYPE_V4SI, V2DF_FTYPE_V2DF,
712 V2DF_FTYPE_V4SI, V2DF_FTYPE_V4SF, V2DF_FTYPE_V2SI,
713 V2SI_FTYPE_V2SI, V2SI_FTYPE_V4SF, V2SI_FTYPE_V2SF,
714 V2SI_FTYPE_V2DF, V2SF_FTYPE_V2SF and V2SF_FTYPE_V2SI.
715 (bdesc_sse_args): Renamed to ...
716 (bdesc_args): This. Add IX86_BUILTIN_PF2ID, IX86_BUILTIN_PFRCP,
717 IX86_BUILTIN_PFRSQRT, IX86_BUILTIN_PI2FD, IX86_BUILTIN_PF2IW,
718 IX86_BUILTIN_PSWAPDSI, IX86_BUILTIN_PSWAPDSF and
720 (bdesc_1arg): Moved to ...
722 (ix86_init_mmx_sse_builtins): Updated. Replace Prescott New
723 Instructions in comments with SSE3.
724 (ix86_expand_sse_operands_builtin): Renamed to ...
725 (ix86_expand_args_builtin): This. Updated.
726 (ix86_expand_unop1_builtin): Update comments.
727 (ix86_expand_builtin): Updated.
729 2008-04-29 Richard Guenther <rguenther@suse.de>
731 PR tree-optimization/36078
732 * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely):
733 Update virtual SSA form after cleaning up the CFG.
735 2008-04-29 Richard Guenther <rguenther@suse.de>
738 * fold-const.c (fold_binary): Fold (A + A) * C to A * 2*C.
740 2008-04-29 Richard Guenther <rguenther@suse.de>
742 * tree-ssa-alias.c (finalize_ref_all_pointers): Remove.
743 (compute_may_aliases): Do not call finalize_ref_all_pointers.
744 (compute_flow_insensitive_aliasing): Do not treat
745 PTR_IS_REF_ALL pointers special.
746 (get_smt_for): Likewise.
747 (may_alias_p): Re-structure.
748 (is_escape_site): A ref-all pointer conversion is not an escape site.
749 * tree-ssa-structalias.c (find_what_p_points_to): Do not treat
750 PTR_IS_REF_ALL pointers special.
751 * tree-ssa-structalias.h (struct alias_info): Remove
752 ref_all_symbol_mem_tag field.
753 (PTR_IS_REF_ALL): Remove.
755 2008-04-29 Richard Guenther <rguenther@suse.de>
758 * fold-const.c (extract_muldiv_1): In combining division constants
759 make sure to never overflow.
761 2008-04-29 Nick Clifton <nickc@redhat.com>
763 * doc/tm.texi (RETURN_ADDR_RTX): Fix typo.
765 2008-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
768 * optc-gen.awk: Work around HP-UX/IA awk bug.
770 2008-04-28 Danny Smith <dannysmith@users.sourceforge.net>
772 * config/i386/cygming-crtend.c (register_frame_ctor): Revert my
775 2008-04-28 Uros Bizjak <ubizjak@gmail.com>
778 * config/i386/i386.md
779 (*float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit):
780 Change operand 1 predicate to nonimmediate_operand.
782 2008-04-28 Jakub Jelinek <jakub@redhat.com>
785 * dwarf2out.c (struct die_struct): Mark as chain_circular through
787 * gengtype.c (walk_type, write_func_for_structure): Handle
789 * doc/gty.texi: Document chain_circular.
791 2008-04-28 Richard Guenther <rguenther@suse.de>
793 PR tree-optimization/36066
794 * tree-vrp.c (execute_vrp): Cleanup the CFG only after finalizing
797 2008-04-28 Uros Bizjak <ubizjak@gmail.com>
800 * config/i386/i386.md
801 (floatdi<X87MODEF:mode>2_i387_with_xmm splitters):
802 Use match_scratch instead of match_operand for operands 3 and 4.
804 2008-04-27 Richard Guenther <rguenther@suse.de>
806 PR tree-optimization/18754
807 PR tree-optimization/34223
808 * tree-pass.h (pass_complete_unrolli): Declare.
809 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Print
810 loop size before and after unconditionally of UL_NO_GROWTH in effect.
811 Rewrite loop into loop closed SSA form if it is not already.
812 (tree_unroll_loops_completely): Re-structure to iterate over
813 innermost loops with intermediate CFG cleanups.
814 Unroll outermost loops only if requested or the code does not grow
816 * tree-ssa-loop.c (gate_tree_vectorize): Don't shortcut if no
818 (tree_vectorize): Instead do so here.
819 (tree_complete_unroll): Also unroll outermost loops.
820 (tree_complete_unroll_inner): New function.
821 (gate_tree_complete_unroll_inner): Likewise.
822 (pass_complete_unrolli): New pass.
823 * tree-ssa-loop-manip.c (find_uses_to_rename_use): Only record
824 uses outside of the loop.
825 (tree_duplicate_loop_to_header_edge): Only verify loop-closed SSA
826 form if it is available.
827 * tree-flow.h (tree_unroll_loops_completely): Add extra parameter.
828 * passes.c (init_optimization_passes): Schedule complete inner
829 loop unrolling pass before the first CCP pass after final inlining.
831 2008-04-27 Nathan Sidwell <nathan@codesourcery.com>
833 * targhooks.h (default_emutls_var_fields,
834 default_emutls_var_init): Declare.
835 * tree.h (DECL_THREAD_LOCAL): Compare against TLS_MODEL_REAL.
836 * target.h (struct gcc_target): Add struct emutls member.
837 * target-def.h (TARGET_EMUTLS_GET_ADDRESS,
838 TARGET_EMUTLS_REGISTER_COMMON, TARGET_EMUTLS_VAR_SECTION,
839 TARGET_EMUTLS_TMPL_SECTION, TARGET_EMUTLS_VAR_PREFIX,
840 TARGET_EMUTLS_TMPL_PREFIX, TARGET_EMUTLS_VAR_FIELDS,
841 TARGET_EMUTLS_VAR_INIT, TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS,
842 TARGET_EMUTLS_VAR_ALIGN_FIXED, TARGET_EMUTLS): New.
843 (TARGET_INITIALIZER): Add TARGET_EMUTLS.
844 * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS,
845 BUILT_IN_EMUTLS_REGISTER_COMMON): Get name from targetm structure.
846 * dwarf2out.c (loc_descriptor_from_tree_1): Check if emutls can
847 emit debug information.
848 * coretypes.h (tls_model): Add TLS_MODEL_EMULATED, TLS_MODEL_REAL.
849 * varasm.c: Include targhooks.h.
850 (emutls_object_section, emutls_tmpl_section): New.
851 (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): Remove.
852 (EMUTLS_SEPARATOR): New.
854 (get_emutls_object_name): New.
855 (default_emutls_var_fields): New, broken out of ...
856 (get_emutls_object_type): ... here. Adjust to use target hooks.
857 (get_emutls_init_templ_addr): Adjust to use target hooks.
858 (emutls_decl): Adjust to use target hooks.
859 (emutls_finish): Likewise.
860 (default_emutls_var_init): New, broken out of ...
861 (assemble_variable): ... here. Adjust to use target hooks.
862 * output.h (enum section_category): Add SECCAT_EMUTLS_VAR,
864 * c-common.c (handle_section_attribute): Prevent overriding
865 sections for emulated tls with special sections.
866 * config/i386/i386.c (x86_64_elf_select_section): Add
867 SECCAT_EMUTLS_VAR and SECCAT_EMUTLS_TMPL.
868 (x86_64_elf_unique_section): Likewise.
869 * config/vxworks.c: Include tree.h.
870 (vxworks_emutls_var_fields, vxworks_emutls_var_init): New.
871 (vxworks_override_options): Set TLS scheme.
872 * doc/tm.texi (Emulated TLS): New node.
874 2008-04-26 Simon Baldwin <simonb@google.com>
877 * builtins.c (c_strlen): Suppressed multiple warnings that can occur
878 with propagated string constants.
880 2008-04-26 Uros Bizjak <ubizjak@gmail.com>
882 * config/i386/i386.md (fix_trunc<mode>_i387_fisttp_with_temp): Use 'X'
883 constraint for operand 2 when operand 0 is memory operand.
884 (fix_truncdi_i387_with_temp): : Use 'X' constraint for operand 4 when
885 operand 0 is memory operand.
886 (fix_trunc<mode>_i387_with_temp): Ditto.
887 (*floatsi<mode>2_vector_mixed_with_temp): Use 'X' constraint for
888 operand 2 when operand 1 is memory operand.
889 (*float<SSEMODEI24:mode><MODEF:mode>2_mixed_with_temp): Ditto.
890 (*floatsi<mode>2_vector_sse_with_temp): Ditto.
891 (*float<SSEMODEI24:mode><MODEF:mode>2_sse_with_temp): Ditto.
892 (*float<SSEMODEI24:mode><X87MODEF:mode>2_i387_with_temp): Ditto.
893 (floatdi<X87MODEF:mode>2_i387_with_xmm): Use 'X' constraint for
894 operands 2,3 and 4 when operand 1 is memory operand.
895 (fistdi2_with_temp): Use 'X' constraint for operand 2 when operand 0
897 (fistdi2_floor_with_temp): Ditto.
898 (fist<mode>2_floor_with_temp): Ditto.
899 (fistdi2_ceil_with_temp): Ditto.
900 (fist<mode>2_ceil_with_temp): Ditto.
901 (*truncdfsf_fast_mixed): Merge alternatives 0 and 1.
903 2008-04-26 David Daney <ddaney@avtrex.com>
905 * config/mips/mips.md (UNSPEC_COMPARE_AND_SWAP_12): New
907 (UNSPEC_SYNC_OLD_OP, UNSPEC_SYNC_NEW_OP, UNSPEC_SYNC_EXCHANGE,
908 UNSPEC_MEMORY_BARRIER, UNSPEC_SET_GOT_VERSION,
909 UNSPEC_UPDATE_GOT_VERSION): Renumber.
910 (sync_compare_and_swap<mode>): New expand for QI and HI modes.
911 (compare_and_swap_12): New insn.
912 * config/mips/mips-protos.h (mips_expand_compare_and_swap_12): Declare.
913 * config/mips/mips.c (mips_force_binary): New function.
914 (mips_emit_int_order_test, mips_expand_synci_loop): Use it.
915 (mips_expand_compare_and_swap_12): New function.
916 * config/mips/mips.h (MIPS_COMPARE_AND_SWAP_12): New macro.
918 2008-04-25 Jan Hubicka <jh@suse.cz>
921 * cfgexpand.c (pass_expand): Turn into RTL pass.
922 * passes.c (execute_one_pass): Do pass typechecking after execution.
923 * tree-pass.h (pass_expand): Turn into RTL pass.
925 * function.h (struct rtl_data): Move here fields
926 accesses_prior_frames, calls_eh_return, saves_all_registers,
927 has_nonlocal_goto, has_asm_statement, is_thunk,
928 all_throwers_are_sibcalls, limit_stack, profile, uses_const_pool,
929 uses_pic_offset_table, uses_eh_lsda, tail_call_emit,
930 arg_pointer_save_area_init from struct function; turn into bool.
931 (struct function): Move
932 calls_eh_return, saves_all_registers, has_nonlocal_goto,
933 has_asm_statement, is_thunk, all_throwers_are_sibcalls, limit_stack,
934 profile, uses_const_pool, uses_pic_offset_table, uses_eh_lsda,
935 tail_call_emit, arg_pointer_save_area_init
936 into struct rtl_data. Remove recursive_call_emit and gimplified flags.
937 (current_function_returns_struct, current_function_returns_pcc_struct,
938 current_function_calls_setjmp, current_function_calls_alloca,
939 current_function_accesses_prior_frames,
940 current_function_calls_eh_return, current_function_is_thunk,
941 current_function_stdarg, current_function_profile,
942 current_function_limit_stack, current_function_uses_pic_offset_table,
943 current_function_uses_const_pool, current_function_has_nonlocal_label,
944 current_function_saves_all_registers,
945 current_function_has_nonlocal_goto,
946 current_function_has_asm_statement): Remove accesor macros.
947 * ra-conflict.c (global_conflicts): Update.
948 * tree-tailcall.c (suitable_for_tail_opt_p): Update.
949 (suitable_for_tail_call_opt_p): Update.
950 * builtins.c (expand_builtin_return_addr): Update.
951 (expand_builtin_setjmp_setup): Update.
952 (expand_builtin_nonlocal_goto): Update.
953 * final.c (final_start_function): Update.
954 (profile_function): Update.
955 (leaf_function_p): Update.
956 (only_leaf_regs_used): Update.
957 * df-scan.c (df_get_exit_block_use_set): Update.
958 * dojump.c (clear_pending_stack_adjust): Update.
959 * tree-stdarg.c (gate_optimize_stdarg): Update.
960 * gimple-low.c (lower_function_body): Update.
961 * global.c (compute_regsets): Update.
962 (global_alloc): Update.
963 * dwarf2out.c (dwarf2out_begin_prologue): Update.
964 * expr.c (expand_assignment): Update.
965 * dse.c (dse_step0): Update.
967 * c-decl.c (store_parm_decls): Update.
968 * local-alloc.c (combine_regs): Update.
969 (find_free_reg): Update.
970 * function.c (assign_parms_augmented_arg_list): Update.
971 (assign_parm_find_data_types): Update.
972 (assign_parms): Update.
973 (allocate_struct_function): Update.
974 (expand_function_start): Update.
975 (expand_function_end): Update.
976 (get_arg_pointer_save_area): Update.
977 (thread_prologue_and_epilogue_insns): Update.
978 (rest_of_match_asm_constraints): Update.
979 * stor-layout.c (variable_size): Update.
980 * gcse.c (gcse_main): Update.
981 (bypass_jumps): Update.
982 * gimplify.c (gimplify_function_tree): Update.
983 * calls.c (emit_call_1): Update.
984 (expand_call): Update.
985 * bt-load.c (compute_defs_uses_and_gen): Update.
986 * except.c (sjlj_assign_call_site_values): Update.
987 (sjlj_emit_function_enter): Update.
988 (can_throw_external): Update.
989 (set_nothrow_function_flags): Update.
990 (expand_builtin_unwind_init): Update.
991 (expand_eh_return): Update.
992 (convert_to_eh_region_ranges): Update.
993 (output_function_exception_table): Update.
994 * emit-rtl.c (gen_tmp_stack_mem): Update.
995 * cfgexpand.c (expand_used_vars): Update.
996 (tree_expand_cfg): Update.
997 * cfgcleanup.c (rest_of_handle_jump): Update.
998 * explow.c (allocate_dynamic_stack_space): Update.
999 * varasm.c (assemble_start_function): Update.
1000 (force_const_mem): Update.
1001 (mark_constant_pool): Update.
1002 * tree-optimize.c (tree_rest_of_compilation): Update.
1003 * stack-ptr-mod.c (notice_stack_pointer_modification): Update.
1004 * tree-cfg.c (notice_special_calls): Update.
1005 (is_ctrl_altering_stmt): Update.
1006 (tree_can_make_abnormal_goto): Update.
1007 (tree_purge_dead_abnormal_call_edges): Update.
1008 * config/alpha/predicates.md: Update.
1009 * config/alpha/alpha.c (alpha_sa_mask): Update.
1010 (alpha_sa_size): Update.
1011 (alpha_does_function_need_gp): Update.
1012 (alpha_expand_prologue): Update.
1013 (alpha_start_function): Update.
1014 (alpha_output_function_end_prologue): Update.
1015 (alpha_expand_epilogue): Update.
1016 * config/frv/frv.c (frv_stack_info): Update.
1017 (frv_expand_epilogue): Update.
1018 * config/s390/s390.c (s390_regs_ever_clobbered): Update.
1019 (s390_register_info): Update.
1020 (s390_frame_info): Update.
1021 (s390_init_frame_layout): Update.
1022 (s390_can_eliminate): Update.
1023 (save_gprs): Update.
1024 * config/spu/spu.c (spu_split_immediate): Update.
1025 (need_to_save_reg): Update.
1026 (spu_expand_prologue): Update.
1027 (spu_expand_epilogue): Update.
1028 * config/sparc/sparc.md: Update.
1029 * config/sparc/sparc.c (eligible_for_return_delay): Update.
1030 (sparc_tls_got): Update.
1031 (legitimize_pic_address): Update.
1032 (sparc_emit_call_insn): Update.
1033 (sparc_expand_prologue): Update.
1034 (output_return): Update.
1035 (print_operand): Update.
1036 (sparc_function_ok_for_sibcall): Update.
1037 * config/sparc/sparc.h (EXIT_IGNORE_STACK): Update.
1038 * config/m32r/m32r.md: Update.
1039 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Update.
1040 (m32r_compute_frame_size): Update.
1041 (m32r_expand_prologue): Update.
1042 (m32r_expand_epilogue): Update.
1043 (m32r_legitimize_pic_address): Update.
1044 * config/m32r/m32r.h (FRAME_POINTER_REQUIRED): Update.
1045 * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): Update.
1046 * config/i386/i386.c (ix86_frame_pointer_required): Update.
1048 (ix86_save_reg): Update.
1049 (ix86_compute_frame_layout): Update.
1050 (ix86_expand_prologue): Update.
1051 (ix86_expand_epilogue): Update.
1052 * config/sh/sh.c (output_stack_adjust): Update.
1053 (calc_live_regs): Update.
1054 (sh5_schedule_saves): Update.
1055 (sh_expand_prologue): Update.
1056 (sh_expand_epilogue): Update.
1057 (sh_setup_incoming_varargs): Update.
1058 (sh_allocate_initial_value): Update.
1059 (sh_get_pr_initial_val): Update.
1060 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): Update.
1061 * config/sh/sh.md (label:): Update.
1062 * config/avr/avr.c (out_movhi_mr_r): Update.
1063 * config/crx/crx.h (enum): Update.
1064 * config/xtensa/xtensa.h (along): Update.
1065 * config/stormy16/stormy16.c Update.
1066 (xstormy16_compute_stack_layout): Update.
1067 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Update.
1068 (fr30_expand_prologue): Update.
1069 * config/cris/cris.c (cris_conditional_register_usage): Update.
1070 (cris_reg_saved_in_regsave_area): Update.
1071 (cris_initial_frame_pointer_offset): Update.
1072 (cris_simple_epilogue): Update.
1073 (cris_expand_prologue): Update.
1074 (cris_expand_epilogue): Update.
1075 (cris_expand_pic_call_address): Update.
1076 (cris_asm_output_symbol_ref): Update.
1077 (cris_asm_output_label_ref): Update.
1078 * config/cris/cris.md Update.
1079 * config/iq2000/iq2000.c (compute_frame_size): Update.
1080 (iq2000_expand_epilogue): Update.
1081 * config/mt/mt.h (save_direction): Update.
1082 * config/mn10300/mn10300.c (mn10300_function_value): Update.
1083 * config/ia64/ia64.c (ia64_compute_frame_size): Update.
1084 (ia64_secondary_reload_class): Update.
1085 * config/m68k/m68k.c (m68k_save_reg): Update.
1086 (m68k_expand_prologue): Update.
1087 (m68k_expand_epilogue): Update.
1088 (legitimize_pic_address): Update.
1089 * config/rs6000/rs6000.c (rs6000_got_register): Update.
1090 (first_reg_to_save): Update.
1091 (first_altivec_reg_to_save): Update.
1092 (compute_vrsave_mask): Update.
1093 (compute_save_world_info): Update.
1094 (rs6000_stack_info): Update.
1095 (spe_func_has_64bit_regs_p): Update.
1096 (rs6000_ra_ever_killed): Update.
1097 (rs6000_emit_eh_reg_restore): Update.
1098 (rs6000_emit_allocate_stack): Update.
1099 (rs6000_emit_prologue): Update.
1100 (rs6000_emit_epilogue): Update.
1101 (rs6000_output_function_epilogue): Update.
1102 (output_profile_hook): Update.
1103 (rs6000_elf_declare_function_name): Update.
1104 * config/rs6000/rs6000.h (rs6000_args): Update.
1105 * config/rs6000/rs6000.md: Update.
1106 * config/mcore/mcore.c (mcore_expand_prolog): Update.
1107 * config/arc/arc.c (arc_output_function_epilogue): Update.
1108 * config/arc/arc.h (FRAME_POINTER_REQUIRED): Update.
1109 * config/darwin.c (machopic_function_base_name): Update.
1110 * config/score/score3.c (score3_compute_frame_size): Update.
1113 (score3_epilogue): Update.
1114 * config/score/score7.c (score7_compute_frame_size): Update.
1115 (score7_prologue): Update.
1116 (score7_epilogue): Update.
1117 * config/score/score.h (FRAME_POINTER_REQUIRED): Update.
1118 * config/arm/linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Update.
1119 * config/arm/arm.c (use_return_insn): Update.
1120 (require_pic_register): Update.
1121 (arm_load_pic_register): Update.
1122 (arm_compute_save_reg0_reg12_mask): Update.
1123 (arm_compute_save_reg_mask): Update.
1124 (thumb1_compute_save_reg_mask): Update.
1125 (output_return_instruction): Update.
1126 (arm_output_function_prologue): Update.
1127 (arm_output_epilogue): Update.
1128 (arm_get_frame_offsets): Update.
1129 (arm_expand_prologue): Update.
1130 (thumb_pushpop): Update.
1131 (thumb_exit): Update.
1132 (thumb1_expand_prologue): Update.
1133 (thumb1_expand_epilogue): Update.
1134 (arm_unwind_emit): Update.
1135 (arm_output_fn_unwind): Update.
1136 * config/arm/arm.h (FRAME_POINTER_REQUIRED): Update.
1137 * config/arm/arm.md: Update.
1138 * config/pa/pa.md: Update.
1139 * config/pa/pa.c (legitimize_pic_address): Update.
1140 (compute_frame_size): Update.
1141 (hppa_expand_prologue): Update.
1142 (hppa_expand_epilogue): Update.
1143 (borx_reg_operand): Update.
1144 * config/pa/pa.h (FRAME_POINTER_REQUIRED): Update.
1145 (HARD_REGNO_RENAME_OK): Update.
1146 * config/mips/mips.c (mips_global_pointer): Update.
1147 (mips_save_reg_p): Update.
1148 (mips_compute_frame_info): Update.
1149 (mips_frame_pointer_required): Update.
1150 (mips_expand_prologue): Update.
1151 (mips_expand_epilogue): Update.
1152 (mips_can_use_return_insn): Update.
1153 (mips_reorg_process_insns): Update.
1154 * config/v850/v850.c (compute_register_save_size): Update.
1155 * config/mmix/mmix.h (FRAME_POINTER_REQUIRED): Update.
1156 * config/mmix/mmix.c (along): Update.
1157 (mmix_expand_epilogue): Update.
1158 * config/bfin/bfin.c (legitimize_pic_address): Update.
1159 (must_save_p): Update.
1160 (stack_frame_needed_p): Update.
1161 (add_to_reg): Update.
1162 (bfin_expand_prologue): Update.
1163 * stmt.c (expand_asm_operands): Update.
1164 * reload1.c (reload): Update.
1165 (init_elim_table): Update.
1167 2008-04-25 Bob Wilson <bob.wilson@acm.org>
1169 * optabs.c (expand_float): Fix REG_EQUAL for UNSIGNED_FLOAT libcall.
1171 2008-04-25 H.J. Lu <hongjiu.lu@intel.com>
1173 * config/i386/sse.md (mov<mode>): Replace SSEMODEI with SSEMODE.
1174 (*mov<mode>_internal): Likewise. Support V4SF and V2DF.
1175 (mov<mode>): Removed.
1176 (*movv4sf_internal): Likewise.
1177 (*movv2df_internal): Likewise.
1179 2008-04-25 Pompapathi V Gadad <Pompapathi.V.Gadad@nsc.com>
1181 * config.gcc (crx-*-elf): Remove deprecation.
1183 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1185 * config/i386/cygming-crtend.c (register_frame_ctor): Register
1186 __gcc_deregister_frame with atexit.
1187 (deregister_frame_dtor): Remove.
1189 2008-04-24 Nathan Froyd <froydnj@codesourcery.com>
1190 Nathan Sidwell <nathan@codesourcery.com>
1192 * config/rs6000/rs6000.opt (mspe): Remove Var property.
1194 * config/rs6000/rs6000.h (rs6000_spe): Declare.
1195 (rs6000_isel): Likewise.
1196 * config/rs6000/rs6000.c (rs6000_spe): New variable.
1197 (rs6000_isel): New variable.
1198 (rs6000_handle_option): Handle OPT_mspe and OPT_misel.
1200 2008-04-24 Jakub Jelinek <jakub@redhat.com>
1203 * c-common.c (handle_vector_size_attribute): Call
1204 lang_hooks.types.reconstruct_complex_type instead of
1205 reconstruct_complex_type.
1206 * config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): Likewise.
1207 * config/spu/spu.c (spu_handle_vector_attribute): Likewise.
1208 * langhooks.h (struct lang_hooks_for_types): Add
1209 reconstruct_complex_type hook.
1210 * langhooks-def.h (LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE): Define.
1211 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add it.
1213 2008-04-24 Richard Guenther <rguenther@suse.de>
1215 * c-common.h (check_builtin_function_arguments): Declare.
1216 * c-common.c (validate_nargs): New function.
1217 (check_builtin_function_arguments): Likewise.
1218 * c-typeck.c (build_function_call): Call
1219 check_builtin_function_arguments.
1220 * builtins.c (fold_builtin_classify): Remove error reporting code.
1221 (fold_builtin_unordered_cmp): Likewise.
1222 (fold_builtin_1): Likewise.
1223 (fold_builtin_n): Likewise.
1225 2008-04-24 Jakub Jelinek <jakub@redhat.com>
1227 PR tree-optimization/36008
1228 * fold-const.c (try_move_mult_to_index): If s == NULL, divide
1229 the original op1, rather than delta by step.
1231 2008-04-22 Antoniu Pop <antoniu.pop@gmail.com>
1232 Sebastian Pop <sebastian.pop@amd.com>
1234 * tree-parloops.c (take_address_of, eliminate_local_variables_1,
1235 eliminate_local_variables_stmt, eliminate_local_variables,
1236 separate_decls_in_loop_name, separate_decls_in_loop_stmt,
1237 separate_decls_in_loop, gen_parallel_loop): Make them work on a region
1238 of code delimited by two edges in the CFG.
1239 (separate_decls_in_loop_name): Renamed separate_decls_in_region_name.
1240 (separate_decls_in_loop_stmt): Renamed separate_decls_in_region_stmt.
1241 (separate_decls_in_loop): Renamed separate_decls_in_region. Isolate
1242 the case of parallelisation of reductions.
1243 (expr_invariant_in_region_p): New.
1245 * tree-flow.h (gather_blocks_in_sese_region): Declared.
1246 * tree-cfg.c (gather_blocks_in_sese_region): Extern.
1248 2008-04-24 Ira Rosen <irar@il.ibm.com>
1249 Richard Guenther <rguenther@suse.de>
1251 PR tree-optimization/36034
1252 * tree-vect-analyze.c (vect_analyze_group_access): SLP is
1253 incapable of dealing with loads with gaps.
1255 2008-04-24 Rafael Espindola <espindola@google.com>
1257 * tree-flow.h (vrp_evaluate_conditional): Change signature.
1258 * tree-ssa-propagate.c (fold_predicate_in): Update call to
1259 vrp_evaluate_conditional.
1260 * tree-vrp.c (vrp_evaluate_conditional_warnv): Remove.
1261 (vrp_evaluate_conditional): Split the cond argument.
1262 (vrp_visit_cond_stmt): Use vrp_evaluate_conditional_warnv_with_ops.
1263 (simplify_stmt_for_jump_threading): Update call to
1264 vrp_evaluate_conditional.
1266 2008-04-24 Ira Rosen <irar@il.ibm.com>
1268 PR tree-optimization/35982
1269 * tree-vect-analyze.c (vect_check_interleaving): Check that the
1270 interleaved data-refs are of the same type.
1272 2008-04-24 Danny Smith <dannysmith@users.net>
1274 * c-format.c (check_format_info_main): Use strncmp rather than a
1275 magic prefix to handle multichar length specs.
1276 * config/i386/msformat-c.c (format_length_info ms_printf_length_specs):
1277 Don't prefix "I64" and "I32" with '\0'.
1279 2008-04-24 Jakub Jelinek <jakub@redhat.com>
1282 * config/i386/i386.c (init_cumulative_args): Don't pass anything
1283 in registers for -m32 only if stdarg_p (fntype).
1285 2008-04-24 Uros Bizjak <ubizjak@gmail.com>
1287 PR rtl-optimization/36006
1288 * expmed.c (store_fixed_bit_field): Copy op0 rtx before moving
1289 temp to op0 in order to avoid invalid rtx sharing.
1291 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
1293 * tree-cfg.c (verify_expr): Check with is_gimple_address. Don't
1294 check TREE_INVARIANT.
1295 * tree-gimple.c (is_gimple_address): New.
1296 (is_gimple_invariant_address): Simplify using decl_address_invariant_p.
1297 * tree-gimple.h (is_gimple_address): New.
1298 * tree.h (decl_address_invariant_p): New.
1299 * tree.c (make_node_stat): Don't set TREE_INVARIANT.
1300 (build_string): Likewise.
1301 (decl_address_invariant_p): New, from is_gimple_invariant_address.
1302 (tree_invariant_p_1): Likewise.
1303 (save_expr): Use it.
1304 (tree_invariant_p): New.
1305 (skip_simple_arithmetic): Use it.
1306 (stabilize_reference_1): Use it.
1307 (recompute_tree_invariant_for_addr_expr): Don't update TREE_INVARIANT,
1309 (build1_stat): Drop code to compute TREE_INVARIANT.
1310 (build2_stat): Drop code to compute TREE_INVARIANT.
1311 (build3_stat): Drop code to compute TREE_INVARIANT.
1312 (build4_stat): Drop code to compute TREE_INVARIANT.
1313 (build5_stat): Drop code to compute TREE_INVARIANT.
1314 (build7_stat): Drop code to compute TREE_INVARIANT.
1315 (merge_dllimport_decl_attributes): Don't mention TREE_INVARIANT.
1316 * tree.h (struct tree_base): Remove invariant_flag.
1317 (TREE_INVARIANT): Remove.
1318 * builtins.c (build_string_literal): Don't set TREE_INVARIANT.
1319 (fold_builtin_expect): Check TREE_CONSTANT.
1320 * tree-ssa-ccp.c (fold_stmt_r): Adjust comment.
1321 * c-tree.h (c_expr_to_decl): Drop third parameter.
1322 * c-typeck.c (build_external_ref): Don't set TREE_INVARIANT.
1323 (build_c_cast): Don't set TREE_INVARIANT.
1324 (pop_init_level): Don't set TREE_INVARIANT.
1325 (c_objc_common_truthvalue_conversion): Don't set TREE_INVARIANT.
1326 * gimplify.c (gimplify_init_ctor_preeval): Add assertion, test
1328 (gimplify_init_constructor): Don't set TREE_INVARIANT.
1329 (gimplify_addr_expr): Adjust comment.
1330 * tree-mudflap.c (mf_build_string):
1331 * print-tree.c (print_node): Don't print TREE_INVARIANT.
1332 * tree-nested.c (convert_nonlocal_reference): Adjust comment.
1333 * c-common.c (fix_string_type): Don't set TREE_INVARIANT.
1334 * langhooks-def.h (lhd_expr_to_decl): Drop third parameter.
1335 * langhooks.c (lhd_expr_to_decl): Drop third parameter.
1336 * langhooks.h (struct lang_hooks): Drop third parameter from
1339 2008-04-23 Richard Guenther <rguenther@suse.de>
1341 PR tree-optimization/27799
1342 PR tree-optimization/32921
1343 PR tree-optimization/32624
1344 * tree-ssa-structalias.c (merge_smts_into): Only merge the
1345 SMTs aliases and the tag itself into the solution.
1346 * tree-ssa-alias.c (compute_flow_sensitive_aliasing): Do not
1347 merge the points-to solution back into the SMT aliases.
1348 (may_alias_p): Use alias_set_subset_of instead of
1349 aliases_conflict_p. A pointer which points to
1350 memory with alias set zero may access any variable.
1352 2008-04-23 Richard Guenther <rguenther@suse.de>
1354 * alias.c (alias_set_subset_of): Correctly handle asking
1355 if zero is a subset of an alias set with zero child.
1356 * tree-ssa-alias.c (have_common_aliases_p): Simplify logic.
1357 (compute_flow_insensitive_aliasing): Correctly walk all
1358 pointers. Do not unnecessarily union sets.
1360 2008-04-23 Richard Guenther <rguenther@suse.de>
1363 * c-common.c (handle_alloc_size_attribute): Use type_num_arguments.
1365 2008-04-22 Tomas Bily <tbily@suse.cz>
1367 * tree-cfg.c (verify_expr): Check for NON_LVALUE_EXPR as
1369 * tree-vrp.c (extract_range_from_unary_expr): Removed unused
1371 * tree-ssa-threadedge.c (simplify_control_stmt_condition): Likewise.
1372 * tree-ssa-structalias.c (get_constraint_for): Likewise.
1373 * tree-inline.c (estimate_num_insns_1): Likewise.
1374 * varasm.c (const_hash_1, compare_constant, copy_constant)
1375 (compute_reloc_for_constant, output_addressed_constants): Likewise.
1376 * emit-rtl.c (component_ref_for_mem_expr)
1377 (set_mem_attributes_minus_bitpos): Likewise.
1378 * expr.c (highest_pow2_factor, expand_expr_real_1, )
1379 (is_aligning_offset): Likewise.
1380 * dwarf2out.c (loc_descriptor_from_tree_1, add_bound_info): Likewise.
1381 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Likewise.
1382 * dojump.c (do_jump): Likewise.
1383 * builtins.c (get_pointer_alignment, get_memory_rtx)
1384 (integer_valued_real_p, fold_builtin_next_arg): Likewise.
1385 * tree-scalar-evolution.c (instantiate_parameters_1): Likewise.
1387 2008-04-23 Jakub Jelinek <jakub@redhat.com>
1389 PR rtl-optimization/36017
1390 * builtins.c (expand_errno_check): Clear CALL_EXPR_TAILCALL before
1391 expanding the library call.
1393 2008-04-22 Ian Lance Taylor <iant@google.com>
1395 * fold-const.c (pointer_may_wrap_p): Call int_size_in_bytes rather
1398 2008-04-22 Pat Haugen <pthaugen@us.ibm.com>
1400 * config/rs6000/rs6000.c (rs6000_register_move_cost): Increase cost
1401 of LR/CTR moves for Power6.
1403 2008-04-22 Kenneth Zadeck <zadeck@naturalbridge.com>
1406 * passes.c (init_optimization_passes): Remove
1407 pass_fast_rtl_byte_dce.
1409 2008-04-22 Uros Bizjak <ubizjak@gmail.com>
1412 * config/i386/xmmintrin.h (_mm_cvtpi16_ps): Rearrange calls to
1413 builtin functions to generate faster code.
1414 (_mm_cvtpu16_ps): Ditto.
1415 (_mm_cvtpi32x2_ps): Ditto.
1417 2008-04-22 Nick Clifton <nickc@redhat.com>
1419 * common.opt (ftree-loop-distribution): Add Optimization
1422 * config/frv/frv.c (frv_stack_info): Use crtl instead of cfun.
1423 (frv_expand_builtin_va_start): Likewise.
1425 * config/arm/arm.c (thumb_find_work_register): Fix location of
1426 argument register count.
1428 2008-04-22 Maxim Kuvyrkov <maxim@codesourcery.com>
1430 Support scheduling for ColdFire V1 and V3 microarchitecture.
1431 Improve scheduling of multiplication instructions.
1433 * config/m68k/m68k.md (cpu): Add cfv1 and cfv3. Rename cf_v2 to cfv1.
1434 (mac): New instruction attribute.
1435 * config/m68k/m68k.c (override_options): Handle cfv1, cfv3 and mac.
1436 (m68k_sched_mac): New variable.
1437 (m68k_sched_attr_type2, m68k_sched_md_init_global): Update.
1438 Handle cfv1 and cfv3.
1439 (max_insn_size): New static variable.
1440 (struct _sched_ib): New type.
1441 (sched_ib): New static variable.
1442 (sched_ib_size, sched_ib_filled, sched_ib_insn): Convert variables
1443 to fields of 'struct _sched_ib sched_ib'. Update all uses.
1444 (m68k_sched_variable_issue): Add modeling of cfv3 instruction buffer.
1446 (m68k_sched_md_init_global, m68k_sched_md_finish_global,
1447 m68k_sched_md_init, m68k_sched_md_finish): Handle cfv1 and cfv3. Init
1448 new variables. Update.
1449 (m68k_sched_dfa_pre_advance_cycle, m68k_sched_dfa_post_advance_cycle):
1450 Add modeling of cfv3 instruction buffer. Update.
1451 * config/m68k/m68k-protos.h (m68k_sched_mac): Declare.
1452 * config/m68k/m68k.h (TUNE_CFV3): New macro.
1453 * config/m68k/cf.md: Change substrings 'cf_v2' to 'cfv12' or 'cfv123'.
1454 (cf_* reservations): Rename to cfv12 or cfv123 to indicate cores
1455 a particular reservation applies to.
1456 (type2): Reorganize attribute values. Rename alu to alu_reg,
1457 alu_l to alu, move_l to omove. Join move to alu. Split mul
1459 (cf_ib_*): Simplify description of instruction buffer.
1460 (cf_ib_w0, cf_ib_w4, cf_ib_w5, cf_ib_w6): Remove.
1461 (cf_mem): Split into cf_mem1 and cf_mem2.
1462 (cf_v2_move_??): Rename to cfv12_alu_??.
1463 (cf_v2_move_l_??): Rename to cfv12_omove_??.
1464 (cf_v2_mul_??): Remove reservations.
1465 (cfv12_mul_l_??, cfv12_mul_w_??, cfv12_mac_w_??, cfv12_mac_l_??,
1466 cfv12_emac_??, cfv12_emac_w_i0): New reservations.
1467 (cfv12_rts, cfv12_call, cfv12_bcc, cfv12_bra, cfv12_jmp): Move to
1469 (cfv3_alu_10, cfv3_omove_10, cfv3_alu_i0, cfv3_omove_i0, cfv3_alu_01,
1470 cfv3_alu_0i, cfv3_alu_11, cfv3_omove_11, cfv3_alu_i1, cfv3_omove_i1,
1471 cfv3_alu_1i, cfv3_omove_1i, cfv3_pea_11, cfv3_pea_i1, cfv3_mul_w_10,
1472 cfv3_mul_l_10, cfv3_mul_w_i0, cfv3_mac_w_10, cfv3_mac_l_10,
1473 cfv3_mac_w_i0, cfv3_emac_10, cfv3_emac_w_i0, cfv3_rts, cfv3_call,
1474 cfv3_bcc, cfv3_bra, cfv3_jmp): New reservations.
1475 (cfv3_*_1, cfv3_*_2, cfv3_*_3): New instruction reservations that are
1476 expansions of the above reservations for instructions of sizes
1479 2008-04-22 Maxim Kuvyrkov <maxim@codesourcery.com>
1481 * rtl-factoring.c (collect_patterns_seqs): Handle CC0 targets.
1483 2008-04-21 Adam Nemet <anemet@caviumnetworks.com>
1485 * coverage.c: Include tree-pass.h.
1486 (coverage_counter_alloc): Print da_file_name to the dump file.
1488 2008-04-21 Kenneth Zadeck <zadeck@naturalbridge.com>
1490 * sbitmap.c (sbitmap_range_empty_p): New function.
1491 * sbitmap.h (sbitmap_range_empty_p): New function.
1492 * bitmap.h: Now includes obstack.h.
1494 2008-04-21 Richard Sandiford <rsandifo@nildram.co.uk>
1495 Kenneth Zadeck <zadeck@naturalbridge.com>
1497 * dbgcnt.def (ra_byte_scan): Added.
1498 * dbgcnt.c (dbg_cnt): Added code to print message to dump_file
1499 when the last hit happens for a counter.
1500 * timevar.def (TV_DF_BYTE_LR): New variable.
1501 * tree-pass.h (pass_fast_rtl_byte_dce): New pass.
1502 * passes.c (pass_fast_rtl_byte_dce): New pass.
1503 * fwprop.c (update_df): Added mode to call df_ref_create.
1504 Renamed DF_REF_WIDTH and DF_REF_OFFSET to DF_REF_EXTRACT_WIDTH and
1505 DF_REF_EXTRACT_OFFSET.
1506 * df.h (DF_BYTE_LR, DF_BYTE_LR_BB_INFO, DF_BYTE_LR_IN,
1507 DF_BYTE_LR_OUT, df_byte_lr): New macro.
1509 (df_ref_extract): Added mode field.
1510 (DF_REF_WIDTH, DF_REF_OFFSET) Renamed to DF_REF_EXTRACT_WIDTH and
1511 DF_REF_EXTRACT_OFFSET.
1512 (DF_REF_EXTRACT_MODE): New macro.
1513 (df_byte_lr_bb_info): New structure.
1514 (df_print_byte_regset, df_compute_accessed_bytes,
1515 df_byte_lr_add_problem, df_byte_lr_get_regno_start,
1516 df_byte_lr_get_regno_len, df_byte_lr_simulate_defs,
1517 df_byte_lr_simulate_uses,
1518 df_byte_lr_simulate_artificial_refs_at_top,
1519 df_byte_lr_simulate_artificial_refs_at_end,
1520 df_compute_accessed_bytes): New function.
1521 (df_ref_create): Add parameter.
1522 (df_byte_lr_get_bb_info): New inline function.
1523 * df-scan.c (df_ref_record, df_uses_record,
1524 df_ref_create_structure): Added mode parameter.
1525 (df_ref_create, df_notes_rescan, df_ref_record, df_def_record_1,
1526 df_defs_record, df_uses_record, df_get_conditional_uses,
1527 df_get_call_refs, df_insn_refs_collect, df_bb_refs_collect,
1528 df_entry_block_defs_collect, df_exit_block_uses_collect):
1529 Added mode parameter to calls to df_ref_record, df_uses_record,
1530 df_ref_create_structure.
1531 (df_ref_equal_p, df_ref_compare): Added test for modes.
1532 (df_ref_create_structure): Added code to set mode. Renamed
1533 DF_REF_WIDTH and DF_REF_OFFSET to DF_REF_EXTRACT_WIDTH and
1534 DF_REF_EXTRACT_OFFSET.
1535 * df-core.c (df_print_byte_regset): New function.
1536 * df-byte-scan.c: New file.
1537 * df-problems.c (df_rd_transfer_function): Removed unnecessary
1538 calls to BITMAP_FREE.
1539 (df_byte_lr_problem_data, df_problem problem_BYTE_LR): New structure.
1540 (df_byte_lr_get_regno_start, df_byte_lr_get_regno_len,
1541 df_byte_lr_set_bb_info, df_byte_lr_free_bb_info,
1542 df_byte_lr_check_regs, df_byte_lr_expand_bitmap,
1543 df_byte_lr_alloc, df_byte_lr_reset, df_byte_lr_bb_local_compute,
1544 df_byte_lr_local_compute, df_byte_lr_init,
1545 df_byte_lr_confluence_0, df_byte_lr_confluence_n,
1546 df_byte_lr_transfer_function, df_byte_lr_free,
1547 df_byte_lr_top_dump, df_byte_lr_bottom_dump,
1548 df_byte_lr_add_problem, df_byte_lr_simulate_defs,
1549 df_byte_lr_simulate_uses,
1550 df_byte_lr_simulate_artificial_refs_at_top,
1551 df_byte_lr_simulate_artificial_refs_at_end): New function.
1552 * dce.c (byte_dce_process_block): New function.
1553 (dce_process_block): au is now passed in rather than computed
1554 locally. Changed loops that look at artificial defs to not look
1555 for conditional or partial ones, because there never are any.
1556 (fast_dce): Now is able to drive byte_dce_process_block or
1557 dce_process_block depending on the kind of dce being done.
1558 (rest_of_handle_fast_dce): Add parameter to fast_dce.
1559 (rest_of_handle_fast_byte_dce): New function.
1560 (rtl_opt_pass pass_fast_rtl_byte_dce): New pass.
1561 * Makefile.in (df-byte-scan.o, debugcnt.o): Added dependencies.
1563 2008-04-21 Daniel Franke <franke.daniel@gmail.com>
1566 * gcc.h: Added fortran options that take arguments to
1567 DEFAULT_SWITCH_TAKES_ARG and DEFAULT_WORD_SWITCH_TAKES_ARG
1570 2008-04-20 Eric Botcazou <ebotcazou@adacore.com>
1572 * tree-sra.c (sra_walk_expr) <VIEW_CONVERT_EXPR>: Disable
1573 scalarization if on the LHS and not a full access.
1575 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1577 * Makefile.in (s-gtyp-input): Remove tmp-gi.list before writing it.
1579 2008-04-18 Rafael Espindola <espindola@google.com>
1581 * tree-vrp.c (find_case_label_index): Fix the binary search.
1582 (find_case_label_range): New.
1583 (vrp_visit_switch_stmt): Use find_case_label_range.
1584 (simplify_switch_using_ranges): Use find_case_label_range.
1586 2008-04-18 Eric Botcazou <ebotcazou@adacore.com>
1588 * gimplify.c (gimplify_modify_expr_rhs) <COND_EXPR>: Gimplify the LHS
1589 using the is_gimple_lvalue predicate instead of is_gimple_min_lval.
1591 2008-04-18 Tom Tromey <tromey@redhat.com>
1594 * doc/cpp.texi (Implementation-defined behavior): Mention
1597 2008-04-18 Ian Lance Taylor <iant@google.com>
1599 * fold-const.c (pointer_may_wrap_p): New static function.
1600 (fold_comparison): Add another test for pointer overflow. Use
1601 pointer_may_wrap_p to disable some false positives.
1603 2008-04-18 Kris Van Hees <kris.van.hees@oracle.com>
1605 * c-common.c (CHAR16_TYPE, CHAR32_TYPE): New macros.
1606 (fname_as_string): Match updated cpp_interpret_string prototype.
1607 (fix_string_type): Support char16_t* and char32_t*.
1608 (c_common_nodes_and_builtins): Add char16_t and char32_t (and
1609 derivative) nodes. Register as builtin if C++0x.
1610 (c_parse_error): Support CPP_CHAR{16,32}.
1611 * c-common.h (RID_CHAR16, RID_CHAR32): New elements.
1612 (enum c_tree_index) <CTI_CHAR16_TYPE, CTI_SIGNED_CHAR16_TYPE,
1613 CTI_UNSIGNED_CHAR16_TYPE, CTI_CHAR32_TYPE, CTI_SIGNED_CHAR32_TYPE,
1614 CTI_UNSIGNED_CHAR32_TYPE, CTI_CHAR16_ARRAY_TYPE,
1615 CTI_CHAR32_ARRAY_TYPE>: New elements.
1616 (char16_type_node, signed_char16_type_node, unsigned_char16_type_node,
1617 char32_type_node, signed_char32_type_node, char16_array_type_node,
1618 char32_array_type_node): New defines.
1619 * c-lex.c (cb_ident): Match updated cpp_interpret_string prototype.
1620 (c_lex_with_flags): Support CPP_CHAR{16,32} and CPP_STRING{16,32}.
1621 (lex_string): Support CPP_STRING{16,32}, match updated
1622 cpp_interpret_string and cpp_interpret_string_notranslate prototypes.
1623 (lex_charconst): Support CPP_CHAR{16,32}.
1624 * c-parser.c (c_parser_postfix_expression): Support CPP_CHAR{16,32}
1625 and CPP_STRING{16,32}.
1627 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
1630 * aclocal.m4: Regenerate.
1631 * configure: Regenerate.
1633 2008-04-18 Jan Hubicka <jh@suse.cz>
1635 * except.c (dw2_size_of_call_site_table,
1636 sjlj_size_of_call_site_table): Use vector API for call_site_record.
1638 * cgraphbuild.c (build_cgraph_edges): Update.
1639 * tree-pass.h: Update comment.
1640 * final.c (leaf_function_p): Update.
1641 (leaf_renumber_regs): Update.
1642 (rest_of_clean_state): Update.
1643 * omp-low.c (expand_omp_parallel): Update.
1644 * ipa-reference.c (analyze_function): Update.
1645 * reorg.c (find_end_label): Update.
1646 (optimize_skip): Update.
1647 (fill_simple_delay_slots): Update.
1648 (fill_simple_delay_slots): Update.
1649 (make_return_insns): Update.
1650 (dbr_schedule): Update.
1651 * gimple-low.c (record_vars_into): Update.
1652 * cfgbuild.c (make_edges): Update.
1653 * function.c (assign_stack_local): Update.
1654 (assign_parm_adjust_stack_rtl): Update.
1655 (locate_and_pad_parm): Update.
1656 (allocate_struct_function): Do not initialize stack_alignment_needed
1657 and preferred_stack_boundary here.
1658 (stack_protect_prologue): Update.
1659 (stack_protect_epilogue): Update.
1660 (expand_function_start): Initialize stack_alignment_needed,
1661 preferred_stack_boundary and max_jumptable_ents.
1662 (expand_function_end): Update.
1663 (free_after_compilation): Do not NULLify epilogue_delay_list.
1664 * function.h (struct rtl_data): Add stack_protect_guard,
1665 stack_alignment_needed,
1666 preferred_stack_boundary, epilogue_delay_list.
1667 (struct function): Remove value_histograms, stack_alignment_needed,
1668 preferred_stack_boundary, epilogue_delay_list, max_jumptable_ents,
1670 unexpanded_var_list, stack_protect_guard.
1671 (current_function_epilogue_delay_list): Remove.
1672 * ipa-type-escape.c (analyze_function): Update.
1673 * gimplify.c (pop_gimplify_context): Update comment.
1674 * calls.c (expand_call): Update.
1675 (emit_library_call_value_1): Update.
1676 * except.c (set_nothrow_function_flags): Update.
1677 * cfgexpand.c (get_decl_align_unit): Update.
1678 (create_stack_guard): Update.
1679 (estimated_stack_frame_size): Update.
1680 (expand_used_vars): Update.
1681 (tree_expand_cfg): Free histogram earliers, init expansion variables.
1682 * explow.c (allocate_dynamic_stack_space): Update.
1683 * tree-ssa-live.c (remove_unused_locals): Update.
1684 * varasm.c (mark_constant_pool): Update.
1685 * tree-inline.c (remap_decls): Update.
1686 (initialize_cfun): Update.
1687 (declare_return_variable): Update.
1688 (inline_forbidden_p): Update.
1689 (expand_call_inline): Update.
1690 (declare_inline_vars): Update.
1691 (tree_function_versioning): Update.
1692 * tree-flow.h (value_histograms): New.
1693 (VALUE_HISTOGRAMS): New macro.
1694 * basic-block.h (control_flow_graph): Add max_jumptable_ents,
1696 * tree-cfg.c (set_bb_for_stmt): Update.
1697 (replace_by_duplicate_decl): Update.
1698 (move_block_to_fn): Update.
1699 (new_label_mapper): Update.
1700 (dump_function_to_file): Update.
1701 * ipa-struct-reorg.c (build_data_structure): Update.
1702 * cfgrtl.c (print_rtl_with_bb): Update.
1703 * reload1.c (reload): Update.
1705 * config/i386/i386.c (setup_incoming_varargs_64,
1706 ix86_compute_frame_layout): Update.
1707 * config/arc/arc.c (arc_output_function_epilogue): Update.
1709 2008-04-18 Marius Strobl <marius@FreeBSD.org>
1711 * gthr-posix.h (__gthread_active_p): Use the Solaris implementation
1712 for FreeBSD as well.
1713 * gthr-posix95.h: Likewise.
1715 2008-04-17 Richard Sandiford <rsandifo@nildram.co.uk>
1717 PR rtl-optimization/35838
1718 * dse.c (find_shift_sequence): Use subreg_lowpart_offset to work
1719 out the byte offset of the first subreg.
1721 2008-04-17 Uros Bizjak <ubizjak@gmail.com>
1723 * config/i386/i386.md (addti3 splitter): Pass arrays of 3 operands
1724 to split_ti instead of three separate calls with single member arrays.
1725 (subti3 splitter): Ditto.
1726 (adddi3 splitter): Ditto with split_di.
1727 (subdi3 splitter): Ditto.
1728 (negti2 splitter): Pass arrays of 2 operands to split_ti instead of
1729 two separate calls with single member arrays. Swap match_dup
1730 operands 1 and 2 to better fit into the array.
1731 (negdi2 splitter): Ditto with split_di.
1732 (movdfcc splitter): Pass arrays of 2 operands to split_di instead of
1733 two separate calls with single member arrays. Swap match_dup operands
1734 6 and 7 to better fit into the array.
1736 2008-04-17 H.J. Lu <hongjiu.lu@intel.com>
1738 * config/i386/i386.c (sse_builtin_type): New.
1739 (bdesc_sse_args): Likewise.
1740 (bdesc_sse_3arg): Removed.
1741 (bdesc_2arg): Remove IX86_BUILTIN_AESKEYGENASSIST128.
1742 (bdesc_1arg): Remove IX86_BUILTIN_ROUNDPD and
1743 IX86_BUILTIN_ROUNDPS.
1744 (ix86_init_mmx_sse_builtins): Handle bdesc_sse_args. Remove
1745 bdesc_sse_3arg. Remove IX86_BUILTIN_ROUNDPD and
1746 IX86_BUILTIN_ROUNDPS.
1747 (ix86_expand_sse_4_operands_builtin): Removed.
1748 (ix86_expand_sse_operands_builtin): New.
1749 (ix86_expand_unop_builtin): Remove CODE_FOR_sse4_1_roundpd
1750 and CODE_FOR_sse4_1_roundps.
1751 (ix86_expand_builtin): Remove IX86_BUILTIN_AESKEYGENASSIST128.
1752 Handle bdesc_sse_args. Remove bdesc_sse_3arg.
1754 2008-04-17 Alan Modra <amodra@bigpond.net.au>
1757 * config/rs6000/rs6000.c (rs6000_emit_epilogue): Restore vr and vrsave
1758 regs before frame pop when needed. If use_backchain_to_restore_sp
1759 then load backchain into a temp reg to restore vr and vrsave. Add
1760 code to restore vr after frame pop if possible.
1762 2008-04-17 Richard Guenther <rguenther@suse.de>
1764 * tree-vn.c (expressions_equal_p): Do not check type
1765 equality or compatibility before calling operand_equal_p.
1766 * fold-const.c (operand_equal_p): Check equivalence of
1767 integer constants before bailing out due to signedness or
1768 precision differences.
1769 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Ignore
1770 spurious differences in type qualification. Ignore types
1771 for COMPONENT_REFs at all.
1773 2008-04-17 Christian Bruel <christian.bruel@st.com>
1775 * config/sh/sh.c (expand_cbranchdi4): Use original operands for
1776 msw_skip comparison.
1778 2008-04-16 Jakub Jelinek <jakub@redhat.com>
1781 * tree-nrv.c (tree_nrv): Don't optimize if result_type is GIMPLE
1784 PR tree-optimization/35899
1785 * tree-inline.c (expand_call_inline): Use GIMPLE_STMT_OPERAND
1786 rather than TREE_OPERAND.
1788 2008-04-16 Uros Bizjak <ubizjak@gmail.com>
1791 * config/i386/i386.md (fmodxf3): Copy operand 1 and operand 2 into
1792 temporary registers. Change operand predicate to general_operand.
1793 (remainderxf3): Ditto.
1795 2008-04-16 Richard Guenther <rguenther@suse.de>
1797 * Makefile.in (tree-affine.o): Add $(FLAGS_H) dependency.
1798 * tree-affine.c (aff_combination_expand): Look through some
1801 2008-04-15 Doug Kwan <dougkwan@google.com>
1803 * dwarf2asm.c (dw2_assemble_integer): Cast to unsigned HOST_WIDE_INT
1805 * tree-pretty-print.c (dump_generic_node): Ditto.
1806 * final.c (output_addr_const): Ditto.
1807 * dwarf2out.c (output_cfi): Ditto.
1808 * c-pretty-print.c (pp_c_integer_constant): Ditto.
1809 * print-rtl.c (print_rtx): Ditto.
1810 * print-tree.c (print_node_brief, print_node): Ditto.
1811 * c-common.c (match_case_to_enum_1): Ditto.
1812 * sched-vis.c (print_value): Ditto.
1813 * config/i386/i386.c (print_operand): Cast to long unsigned int
1816 2008-04-15 Danny Smith <dannysmith@users.sourceforge.net>
1817 * libgcc2.c [L_trampoline]: Remove unnecessary prototype for
1818 MS Windows VirtualProtect function.
1820 2008-04-15 Jan Hubicka <jh@suse.cz>
1822 * gengtype.c (write_root): Param_is argument is OK.
1823 * expr.c (expand_expr_real_1): Update call of get_exception_*.
1824 * function.h: Include varray.h
1825 (rtl_eh): New stucture based on except.c one.
1826 (call_site_record): New forward declaration and vector type.
1827 * calls.c (emit_call_1): Do not call
1828 note_current_region_may_contain_throw.
1829 * except.c (eh_status): Remove cur_region, try_region since they are
1831 Move filter, exc_ptr, ttype_data, ehspec_data, action_record_data and
1832 exception_handler_label_map, ehr_stackadj, ehr_handler, ehr_label,
1833 sjlj_fc, sjlj_exit_after to rth_eh in function.h.
1834 Remove call_site_data_used, call_site_data_size.
1835 Turn call_site_record into vector in function.h.
1836 (note_current_region_may_contain_throw): Remove.
1837 (get_exception_pointer, get_exception_filter): Do not take struct
1838 function argument; update.
1839 (add_ehl_entry, find_exception_handler_labels, ehspec_filter_hash,
1840 add_ttypes_entry, add_ehspec_entry, assign_filter_values,
1841 build_post_landing_pads, dw2_build_landing_pads,
1842 sjlj_assign_call_site_values, sjlj_mark_call_sites,
1843 sjlj_emit_function_enter, sjlj_emit_function_enter,
1844 sjlj_emit_function_exit, sjlj_emit_dispatch_table,
1845 sjlj_build_landing_pads, finish_eh_generation,
1846 remove_exception_handler_label, remove_eh_handler,
1847 maybe_remove_eh_handler, add_reachable_handler,
1848 reachable_handlers, expand_builtin_eh_return, expand_eh_return,
1849 add_action_record, collect_one_action_chain, add_call_site,
1850 convert_to_eh_region_ranges, sjlj_size_of_call_site_table,
1851 sjlj_output_call_site_table, output_function_exception_table,
1852 * except.h (note_current_region_may_contain_throw): Remove
1853 (get_exception_pointer, get_exception_filter): Do not take struct
1855 * Makefile.in (GTFILES): Put varargs before struct function.
1857 2008-04-15 Eric Botcazou <ebotcazou@adacore.com>
1859 * tree-ssa-structalias.c (get_constraint_for_component_ref): Do not
1860 punt for STRING_CST.
1861 (get_constraint_for): Deal with STRING_CST here instead.
1863 2008-04-15 Richard Guenther <rguenther@suse.de>
1865 * tree-ssa-propagate.c (substitute_and_fold): Substitute
1866 statements in a basic-block with a backward walk. Do not
1867 substitute into dead statements but instead remove those.
1869 2008-04-15 Richard Guenther <rguenther@suse.de>
1871 * params.def (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE): Set default
1872 to zero, thus disable creation of SFTs.
1874 2008-04-15 Eric Botcazou <ebotcazou@adacore.com>
1876 * tree-predcom.c (suitable_reference_p): Return false if the
1877 reference can throw.
1879 2008-04-15 Jakub Jelinek <jakub@redhat.com>
1882 * c-decl.c (finish_decl): If extern or static var has variable
1883 size, set TREE_TYPE (decl) to error_mark_node.
1885 2008-04-15 Rafael Espindola <espindola@google.com>
1887 * fold-const.c (tree_call_nonnegative_warnv_p): Remove local
1890 2008-04-15 Richard Guenther <rguenther@suse.de>
1892 * tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
1893 * tree-ssa-sccvn.c (vn_reference_lookup): New parameter maywalk.
1894 (visit_reference_op_load): Do walk vuse-vdef chains on
1895 vn_reference_lookup.
1896 (visit_reference_op_store): But do not here.
1897 * tree-vn.c (vn_lookup): Do not walk vuse-vdef chains on
1898 vn_reference_lookup.
1899 (vn_lookup_with_vuses): But do so here.
1901 2008-04-14 Ian Lance Taylor <iant@google.com>
1903 * fold-const.c (fold_overflow_warning): Remove assertion.
1905 2008-04-15 Ben Elliston <bje@au.ibm.com>
1907 * config/alpha/alpha.c (alpha_initialize_trampoline): Remove temp,
1908 temp1 local variables.
1910 2008-04-15 Zuxy Meng <zuxy.meng@gmail.com>
1913 * config/i386/winnt.c (i386_pe_section_type_flags): Mark
1914 ".text.unlikely" section as executable.
1916 2008-04-14 James E. Wilson <wilson@tuliptree.org>
1918 * config/ia64/ia64.c (rtx_needs_barrier): Handle
1919 UNSPEC_FR_SQRT_RECIP_APPROX_RES.
1920 * config/ia64/ia64.c (UNSPEC_FR_SQRT_RECIP_APPROX_RES): Define.
1921 (divsi3_internal, divdi3_internal_lat, divdi3_internal_thr,
1922 divsf3_internal_lat, sqrt_approx, sqrtsf2_internal_thr,
1923 divdf3_internal_lat, sqrtdf2_internal_thr, divxf3_internal_lat,
1924 divxf3_internal_thr, sqrtxf2_internal_thr, recip_approx): Use it.
1926 2008-04-14 Ian Lance Taylor <iant@google.com>
1928 * flags.h (POINTER_TYPE_OVERFLOW_UNDEFINED): Define.
1929 * fold-const.c (fold_comparison): If appropriate, test
1930 POINTER_TYPE_OVERFLOW_UNDEFINED, and issue an overflow warning.
1931 (fold_binary): Test POINTER_TYPE_OVERFLOW_UNDEFINED when
1932 reassociating a pointer type.
1933 * doc/invoke.texi (Optimize Options): Document that
1934 -fstrict-overflow applies to pointer wraparound.
1936 2008-04-13 Jan Hubicka <jh@suse.cz>
1938 * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx.
1940 2008-04-12 Andrew Pinski <pinskia@gmail.com>
1942 * config/rs6000/rs6000.c (compute_save_world_info): Set lr_save_p if
1943 we are going to "save the world".
1945 2008-04-13 Hans-Peter Nilsson <hp@axis.com>
1947 * config/cris/cris.md ("*andhi_lowpart_non_v32", "*andhi_lowpart_v32")
1948 ("*andqi_lowpart_non_v32", "*andqi_lowpart_v32"): Use "+" for the
1949 operand 0 constraint, not "=".
1951 2008-04-11 James E. Wilson <wilson@tuliptree.org>
1953 * system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING.
1955 2008-04-11 H.J. Lu <hongjiu.lu@intel.com>
1957 * dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead
1958 of size of positions_needed * CHAR_BIT.
1960 2008-04-11 H.J. Lu <hongjiu.lu@intel.com>
1963 * dse.c (store_info): Change positions_needed to unsigned
1965 (lowpart_bitmask): New.
1966 (record_store): Cast to unsigned HOST_WIDE_INT for
1967 positions_needed. Assert width <= size of positions_needed *
1968 CHAR_BIT. Call lowpart_bitmask to initialize positions_needed.
1969 (check_mem_read_rtx): Use unsigned HOST_WIDE_INT on mask. Call
1970 lowpart_bitmask to set mask.
1972 2008-04-11 Bernd Schmidt <bernd.schmidt@analog.com>
1974 * config/bfin/constraints.md: New file.
1975 * config/bfin/bfin.md: Include it.
1976 (adddi3): Use satisfies_constraint functions instead of the old macros.
1977 * config/bfin/bfin.h (REG_CLASS_FROM_LETTER, CONSTRAINT_LEN,
1978 CONST_18UBIT_IMM_P, CONST_16BIT_IMM_P, CONST_16UBIT_IMM_P,
1979 CONST_7BIT_IMM_P, CONST_7NBIT_IMM_P, CONST_5UBIT_IMM_P,
1980 CONST_4BIT_IMM_P, CONST_4UBIT_IMM_P, CONST_3BIT_IMM_P,
1981 CONST_3UBIT_IMM_P, CONST_OK_FOR_K, CONST_OK_FOR_P, CONST_OK_FOR_M,
1982 CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER,
1983 EXTRA_CONSTRAINT): Delete.
1984 * config/bfin/predicates.md (highbits_operand, reg_or_7bit_operand,
1985 reg_or_neg7bit_operand): Use satisfies_constraint functions instead
1987 * config/bfin/bfin.c: Include "tm-constrs.h".
1988 (bfin_secondary_reload, split_load_immediate, bfin_rtx_costs):
1989 Use satisfies_constraint functions instead of the old macros.
1990 * doc/md.texi (Blackfin Constraints): Update file name reference.
1992 2008-04-11 Richard Guenther <rguenther@suse.de>
1994 PR tree-optimization/35869
1995 * tree-vrp.c (execute_vrp): Move switch statement update after
1996 jump threading. Schedule another cfg cleanup run.
1998 2008-04-11 Volker Reichelt <v.reichelt@netcologne.de>
2001 * attribs.c (decl_attributes): Return early on errorneous node.
2003 2008-04-10 Oleg Ryjkov <olegr@google.com>
2005 * tree.h (struct tree_base): Added a new flag default_def_flag.
2006 (SSA_NAME_IS_DEFAULT_DEF): Changed to use the new flag.
2008 2008-04-11 Kaz Kojima <kkojima@gcc.gnu.org>
2010 * config.gcc (need_64bit_hwint): Need 64bit hwint for sh-*-*.
2012 2008-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2015 * pa.md: Define mode iterator P. Define mode attribute dwc.
2016 (dcacheflush): Update pattern to use iterator P and attribute dwc.
2017 (icacheflush): Likewise.
2018 * pa.h (INITIALIZE_TRAMPOLINE): Use dcacheflushsi/icacheflushsi if
2019 !TARGET_64BIT, and dcacheflushdi/icacheflushdi if TARGET_64BIT.
2021 2008-04-11 Ben Elliston <bje@au.ibm.com>
2023 * config/spu/spu.c (spu_init_builtins): Mark builtins as nothrow.
2025 2008-04-10 Rafael Espindola <espindola@google.com>
2027 * tree-vrp.c (extract_range_from_binary_expr): Don't handle
2028 TRUTH_ANDIF_EXPR or TRUTH_ORIF_EXPR.
2029 (extract_range_from_expr): The same.
2031 2008-04-10 Adam Nemet <anemet@caviumnetworks.com>
2033 * config/mips/mips.md (GPR2): New mode iterator.
2035 (*seq_<mode>, *seq_<mode>_mips16, *sne_<mode>, *sgt<u>_<mode>,
2036 *sgt<u>_<mode>_mips16, *sge<u>_<mode>, *slt<u>_<mode>,
2037 *slt<u>_<mode>_mips16 *sle<u>_<mode>, *sle<u>_<mode>_mips16):
2038 Rewrite these to take two modes, the mode of comparison and the
2039 mode of the destination.
2040 * config/mips/mips.c (mips_expand_scc): Instead of having
2041 paradoxical subreg as destination, expand "narrowing" scc if mode
2042 of comparison is SI and target is requested in DI mode.
2043 (mips_emit_int_order_test): Update comment. Make mode of
2044 comparison match CMP0 rather than TARGET. When creating inverse
2045 target use mode of TARGET.
2047 2008-04-10 Adam Nemet <anemet@caviumnetworks.com>
2049 * gcov-dump.c (tag_summary): Only print summaries for the first
2050 GCOV_COUNTERS_SUMMABLE counters.
2052 2008-04-10 Uros Bizjak <ubizjak@gmail.com>
2054 * config/i386/i386.md (absneg): New code iterator.
2055 (absnegprefix): New code attribute.
2056 (<code><mode>2): Macroize expander from abs<mode>2 and neg<mode>2
2057 patterns using absneg code iterator.
2058 (<code>tf2): Macroize expander from abstf2 and negtf2 patterns
2059 using absneg code iterator.
2060 (*<code><mode>2_1): Macroize insn pattern from *abs<mode>2_1 and
2061 *neg<mode>2 patterns using absneg code iterator.
2062 (*<code>extendsfdf2): Macroize insn pattern from *absextendsfdf2 and
2063 *negextendsfdf2 patterns using absneg code iterator.
2064 (*<code>extendsfxf2): Macroize insn pattern from *absextendsfxf2 and
2065 *negextendsfxf2 patterns using absneg code iterator.
2066 (*<code>extendsfdf2): Macroize insn pattern from *absextendsfdf2 and
2067 *negextendsfdf2 patterns using absneg code iterator.
2068 * config/i386/sse.md (<code><mode>2): Macroize expander from
2069 abs<mode>2 and neg<mode>2 patterns using absneg code iterator.
2071 2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
2073 * config/s390/s390.h: Remove the remains of the recent search
2074 & replace action of current_function_outgoing_args_size.
2076 2008-04-10 Ira Rosen <irar@il.ibm.com>
2078 PR tree-optimization/35821
2079 * tree-vect-transform.c (vect_create_data_ref_ptr): Add check that
2080 NEW_STMT_LIST is not NULL.
2082 2008-04-09 David Edelsohn <edelsohn@gnu.org>
2085 * toplev.c (process_options): Remove -ffunction-sections debugging
2088 2008-04-09 Peter Bergner <bergner@vnet.ibm.com>
2090 PR middle-end/PR28690
2091 * explow.c (break_out_memory_refs): Use simplify_gen_binary rather
2092 than gen_rtx_fmt_ee to perform more canonicalizations.
2094 2008-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2097 * collect2.c (write_c_file): Don't wrap in "#ifdef __cplusplus".
2099 2008-04-09 Richard Guenther <rguenther@suse.de>
2101 * tree-cfg.c (verify_stmt): Print complete bogus stmt.
2102 (dump_function_to_file): Dump function arguments with types.
2104 2008-04-08 Richard Guenther <rguenther@suse.de>
2106 * fold-const.c (fold_widened_comparison): Do not allow
2107 sign-changes that change the result.
2109 2008-04-08 Janis Johnson <janis187@us.ibm.com>
2112 * config/rs6000/rs6000.c (rs6000_check_sdmode): Handle additional
2113 kinds of indirect references.
2115 2008-04-08 David Edelsohn <edelsohn@gnu.org>
2117 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Update
2118 GNU Fortran language string.
2120 2008-04-08 Rafael Espindola <espindola@google.com>
2122 * fold-canst.c (tree_call_nonnegative_warnv_p): New.
2123 (tree_invalid_nonnegative_warnv_p): Use tree_call_nonnegative_warnv_p.
2124 * tree.h (tree_call_nonnegative_warnv_p): New.
2126 2008-04-08 Jan Hubicka <jh@suse.cz>
2128 * function.c (free_after_compilation): Clear out regno_reg_rtx
2131 2008-04-08 Peter Bergner <bergner@vnet.ibm.com>
2134 2008-04-07 Peter Bergner <bergner@vnet.ibm.com>
2136 PR middle-end/PR28690
2137 * rtlanal.c: (commutative_operand_precedence): Give SYMBOL_REF's the
2138 same precedence as REG_POINTER and MEM_POINTER operands.
2140 2008-04-08 Richard Guenther <rguenther@suse.de>
2143 * tree-ssa-address.c (create_mem_ref): Use POINTER_PLUS_EXPR
2144 for adding index to base.
2146 2008-04-08 Kai Tietz <kai.tietz@onevision.com>
2148 * config/i386/mingw32.h (ENABLE_EXECUTE_STACK): New.
2149 (MINGW_ENABLE_EXECUTE_STACK): New.
2150 (IN_LIBGCC2): For libgcc include windows.h file for
2151 function declarations.
2153 2008-04-08 Hans-Peter Nilsson <hp@axis.com>
2155 * config/cris/cris.c (cris_address_cost): For a PLUS, swap tem1
2156 and tem2 if tem1 is not a REG or MULT.
2158 2008-04-08 Jan Hubicka <jh@suse.cz>
2160 * function.h (incomming_args): Break out of struct function.
2161 (function_subsections): Break out of struct function.
2162 (rtl_data): Add args, subsections fields. Break out outgoing_args_size,
2163 return_rtx and hard_reg_initial_vals from struct function.
2164 Kill inl_max_label_num.
2165 (current_function_pops_args, current_function_args_info,
2166 current_function_args_size, current_function_args_size,
2167 current_function_pretend_args_size,
2168 current_function_outgoing_args_size,
2169 current_function_internal_arg_pointer, current_function_return_rtx):
2170 Kill compatibility accestor macros.
2171 * builtins.c (expand_builtin_apply_args_1): Update.
2172 (expand_builtin_next_arg): Update.
2173 * df-scan.c (df_get_call_refs): Update.
2174 * dbxout.c (dbxout_function_end): Update.
2175 * dwarf2out.c (dwarf2out_switch_text_section): Update.
2176 (output_line_info): Update.
2177 (secname_for_decl): Update.
2178 (dwarf2out_var_location): Update.
2179 * function.c (free_after_compilation): Update.
2180 (assign_parm_find_stack_rtl): Update.
2181 (assign_parms): Update.
2182 (expand_dummy_function_end): Update.
2183 (expand_function_end): Update.
2184 * calls.c (mem_overlaps_already_clobbered_arg_p): Update.
2185 (expand_call): Update.
2186 (emit_library_call_value_1): Update.
2187 (store_one_arg): Update.
2188 * varasm.c (initialize_cold_section_name): Update.
2189 (unlikely_text_section): Update.
2190 (unlikely_text_section_p): Update.
2191 (assemble_start_function): Update.
2192 (assemble_end_function): Update.
2193 (default_section_type_flags): Update.
2194 (switch_to_section): Update.
2195 * integrate.c (set_decl_abstract_flags): Update.
2196 (get_hard_reg_initial_val): Update.
2197 (has_hard_reg_initial_val): Update.
2198 (allocate_initial_values): Update.
2199 * resource.c (init_resource_info): Update.
2200 * config/alpha/alpha.c (NUM_ARGS): Update.
2201 (direct_return): Update.
2202 (alpha_va_start): Update.
2203 (alpha_sa_size): Update.
2204 (alpha_initial_elimination_offset): Update.
2205 (alpha_expand_prologue): Update.
2206 (alpha_start_function): Update.
2207 (alpha_expand_epilogue): Update.
2208 (unicosmk_initial_elimination_offset):
2209 * config/alpha/alpha.md (call expander): Update.
2210 * config/s390/s390.c (s390_register_info): Update.
2211 (s390_register_info): Update.
2212 (s390_frame_info): Update.
2213 (s390_initial_elimination_offset): Update.
2214 (s390_build_builtin_va_list): Update.
2215 (s390_va_start): Update.
2216 * config/spu/spu.c (direct_return): Update.
2217 (spu_expand_prologue): Update.
2218 (spu_initial_elimination_offset): Update.
2219 (spu_build_builtin_va_list): Update.
2220 (spu_va_start): Update.
2221 * config/sparc/sparc.c (sparc_init_modes): Update.
2222 (sparc_compute_frame_size): Update.
2223 (function_value): Update.
2224 * config/m32r/m32r.c (m32r_compute_frame_size): Update.
2225 * config/i386/i386.md (return expander): Update.
2226 * config/i386/i386.c (ix86_va_start): Update.
2227 (ix86_can_use_return_insn_p): Update.
2228 (ix86_compute_frame_layout): Update.
2229 (ix86_expand_epilogue): Update.
2230 * config/sh/sh.c (output_stack_adjust): Update.
2231 (calc_live_regs): Update.
2232 (sh_expand_prologue): Update.
2233 (sh_builtin_saveregs): Update.
2234 (sh_va_start): Update.
2235 (initial_elimination_offset): Update.
2236 (sh_allocate_initial_value): Update.
2237 (sh_function_ok_for_sibcall): Update.
2238 (sh_get_pr_initial_val): Update.
2239 * config/sh/sh.md (return expander): Update.
2240 * config/avr/avr.c (frame_pointer_required_p): UPdate.
2241 * config/crx/crx.c (crx_compute_frame): UPdate.
2242 (crx_initial_elimination_offset): UPdate.
2243 * config/xtensa/xtensa.c (compute_frame_size): Update
2244 (xtensa_builtin_saveregs): Update.
2245 (xtensa_va_start): Update.
2246 (order_regs_for_local_alloc): Update.
2247 * config/stormy16/stormy16.c (xstormy16_compute_stack_layout): Update.
2248 (xstormy16_expand_builtin_va_start): Update.
2249 * config/fr30/fr30.c (fr30_compute_frame_size): Update.
2250 * config/m68hc11/m68hc11.md (return expanders): Update.
2251 * config/m68hc11/m68hc11.c (expand_prologue): Update.
2252 (expand_epilogue): Update.
2253 * config/cris/cris.c (cris_initial_frame_pointer_offset): Update.
2254 (cris_simple_epilogue): Update.
2255 (cris_expand_prologue): Update.
2256 (cris_expand_epilogue): Update.
2257 * config/iq2000/iq2000.c (iq2000_va_start): Update.
2258 (compute_frame_size): Update.
2259 * config/mt/mt.c (mt_compute_frame_size): Update.
2260 * config/mn10300/mn10300.c (expand_prologue): Update.
2261 (expand_epilogue): Update.
2262 (initial_offset): Update.
2263 (mn10300_builtin_saveregs):
2264 * config/mn10300/mn10300.md (return expander): Update.
2265 * config/ia64/ia64.c (ia64_compute_frame_size): Update.
2266 (ia64_initial_elimination_offset): Update.
2267 (ia64_initial_elimination_offset): Update.
2268 (ia64_expand_prologue): Update.
2269 * config/m68k/m68k.md (return expander): Update.
2270 * config/rs6000/rs6000.c (rs6000_va_start): Update.
2271 (rs6000_stack_info): Update.
2272 * config/mcore/mcore.c (layout_mcore_frame): Update.
2273 (mcore_expand_prolog): Update.
2274 * config/arc/arc.c (arc_compute_frame_size): Update.
2275 * config/score/score3.c (score3_compute_frame_size): Update.
2276 * config/score/score7.c (score7_compute_frame_size): Update.
2277 * config/arm/arm.c (use_return_insn): Update.
2278 (thumb_find_work_register): Update.
2279 (arm_compute_save_reg_mask): Update.
2280 (arm_output_function_prologue): Update.
2281 (arm_output_epilogue): Update.
2282 (arm_size_return_regs): Update.
2283 (arm_get_frame_offsets): Update.
2284 (arm_expand_prologue): Update.
2285 (thumb_exit): Update.
2286 (thumb_unexpanded_epilogue): Update.
2287 (thumb1_output_function_prologue): Update.
2288 * config/pa/pa.md (return expander): Update.
2289 * config/pa/pa.c (compute_frame_size): Update.
2290 (hppa_builtin_saveregs): Update.
2291 * config/mips/mips.c (mips_va_start): Update.
2292 (mips16_build_function_stub): Update.
2293 (mips_compute_frame_info): Update.
2294 (mips_restore_gp): Update.
2295 (mips_output_function_prologue): Update.
2296 (mips_expand_prologue): Update.
2297 * config/v850/v850.c (compute_frame_size): Update.
2298 (expand_prologue): * config/mmix/mmix.c (along): update.
2299 (mmix_initial_elimination_offset): update.
2300 (mmix_reorg): update.
2301 (mmix_use_simple_return): update.
2302 (mmix_expand_prologue): update.
2303 (mmix_expand_epilogue): Update.
2304 * config/bfin/bfin.c (bfin_initial_elimination_offset): Update.
2305 (emit_link_insn): Update.
2307 2008-04-08 Anatoly Sokolov <aesok@post.ru>
2309 * config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Define
2310 __AVR_HAVE_EIJMP_EICALL__ macro if device have EIJMP and EICALL
2312 * config/avr/avr.c (avr_mcu_types): Set AVR31 architecture for
2315 2008-04-07 Jan Hubicka <jh@suse.cz>
2317 * function.h (rtl): Rename to x_rtl.
2319 (return_label, naked_return_label, stack_slot_list, parm_birth_insn,
2320 frame_offset, stack_check_probe_note, arg_pointer_save_area,
2321 used_temp_slots avail_temp_slots, temp_slot_level,
2322 nonlocal_goto_handler_labels): Update accesstors.
2323 (rtl): New global variable.
2324 (struct function): Move some fileds to rtl_data.
2325 (get_arg_pointer_save_area): Update prototype.
2326 * builtins.c (expand_builtin_setjmp_receiver): Update call of
2327 get_arg_pointer_save_area.
2328 * expr.c (init_expr): Update
2329 * function.c (get_frame_size): Update
2330 (assign_stack_local): Update
2331 (expand_function_end): Update.
2332 (get_art_pointer_save_area): Update
2334 * emit-rtl.c (rtl): Declare.
2335 (regno_reg_rtx): Declare.
2336 (first_insn, last_insn, cur_insn_uid, last_location, first_label_num):
2338 (gen_reg_rtx): Update.
2339 * varasm.c (n_deferred_constatns): Update accestor.
2340 (init_varasm_status): Do not allocate varasm_status.
2341 (force_const_mem, get_pool_size, output_constant_pool): Update.
2342 * stmt.c (force_label_rtx): Do not use x_ prefixes.
2343 (expand_nl_goto_receiver): Update get_arg_pointer_save_area.
2344 * m32c/m32.c (m32c_leaf_function_p, m32c_function_needs_enter): Update.
2345 * sparc/sparc.h (INIT_EXPANDERS): Update.
2346 * ia64/ia64.h (INIT_EXPANDERS): Update.
2348 2008-04-07 James E. Wilson <wilson@tuliptree.org>
2350 * reload.c (push_secondary_reload): Add missing break to for loop.
2352 2008-04-07 Peter Bergner <bergner@vnet.ibm.com>
2354 PR middle-end/PR28690
2355 * rtlanal.c: Update copyright years.
2356 (commutative_operand_precedence): Give SYMBOL_REF's the same precedence
2357 as REG_POINTER and MEM_POINTER operands.
2358 * emit-rtl.c (gen_reg_rtx_and_attrs): New function.
2359 (set_reg_attrs_from_value): Call mark_reg_pointer as appropriate.
2360 * rtl.h (gen_reg_rtx_and_attrs): Add prototype for new function.
2361 * gcse.c: Update copyright years.
2362 (pre_delete): Call gen_reg_rtx_and_attrs.
2363 (hoist_code): Likewise.
2364 (build_store_vectors): Likewise.
2365 (delete_store): Likewise.
2366 * loop-invariant.c (move_invariant_reg): Likewise.
2367 Update copyright years.
2369 2008-04-07 Uros Bizjak <ubizjak@gmail.com>
2371 * config/i386/i386.md ("*sse_prologue_save_insn"): Use braced output
2372 control string instead of quoted.
2374 2008-04-07 Kenneth Zadeck <zadeck@naturalbridge.com>
2376 * doc/rtl.texi: Rewrite of subreg section.
2378 2008-04-07 Kai Tietz <kai.tietz@onevision.com>
2381 * config/i386/i386.c (legitimize_pic_address): Add treating
2382 of dllimport SYM_REF's.
2383 (legitimize_dllimport_symbol): Add prototype.
2385 2008-04-07 Eric Botcazou <ebotcazou@adacore.com>
2387 * fold-const.c (fold) <ARRAY_REF>: New case. Try to fold constant
2388 reference in constructor with non self-referential type.
2390 2008-04-07 Eric Botcazou <ebotcazou@adacore.com>
2392 Removal of Return with Depressed Stack Pointer support
2393 * tree.h (TYPE_RETURNS_STACK_DEPRESSED): Delete.
2394 (ECF_SP_DEPRESSED): Likewise.
2395 (ECF_LIBCALL_BLOCK, ECF_NOVOPS): Adjust.
2396 * calls.c (emit_call_1): Do not test ECF_SP_DEPRESSED.
2397 (flags_from_decl_or_type): Do not test TYPE_RETURNS_STACK_DEPRESSED.
2398 (expand_call): Do not test ECF_SP_DEPRESSED.
2399 * dse.c (dse_step0): Do not test TYPE_RETURNS_STACK_DEPRESSED.
2400 * function.c (keep_stack_depressed): Delete.
2401 (handle_epilogue_set): Likewise.
2402 (update_epilogue_consts): Likewise.
2403 (emit_equiv_load): Likewise.
2404 (thread_prologue_and_epilogue_insns): Remove support for Return with
2405 Depressed Stack Pointer.
2406 * print-tree.c (print_node): Do not test TYPE_RETURNS_STACK_DEPRESSED.
2408 2008-04-06 Richard Guenther <rguenther@suse.de>
2410 PR tree-optimization/35400
2411 * tree-vrp.c (vrp_evaluate_conditional): Only query value-range
2412 information from SSA_NAMEs.
2414 2008-04-06 Anatoly Sokolov <aesok@post.ru>
2416 * config/avr/avr.h (avr_mega_p): Remove declaration.
2417 (AVR_MEGA): Remove macro.
2418 * config/avr/avr.c (avr_mega_p): Remove variable.
2419 (avr_override_options): Remove inicializion of avr_mega_p.
2420 Use AVR_HAVE_JMP_CALL instead of AVR_MEGA.
2421 (print_operand): Use AVR_HAVE_JMP_CALL instead of AVR_MEGA.
2422 (avr_jump_mode): (Ditto.).
2423 (avr_output_progmem_section_asm_op): (Ditto.).
2424 (avr_asm_init_sections): (Ditto.).
2425 (avr_asm_init_sections): (Ditto.).
2426 (avr_rtx_costs): (Ditto.).
2427 * config/avr/avr.md: (Ditto.).
2428 * config/avr/avr.h: Use '__AVR_HAVE_JMP_CALL__' instead of
2431 2008-04-06 Richard Guenther <rguenther@suse.de>
2433 PR tree-optimization/35842
2434 * tree-ssa-address.c (fixed_address_object_p): Adjust to match
2435 is_gimple_invariant_address.
2437 2008-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2439 * gcc.c (default_compilers): Sync Fortran extensions list with
2440 that in fortran/lang-specs.h.
2441 * doc/invoke.texi: Likewise.
2442 * dbxout.c (get_lang_number): Use "GNU Fortran" in "GNU F95".
2443 * dwarf2out.c (gen_compile_unit_die): Likewise.
2445 2008-04-06 Tom G. Christensen <tgc@jupiterrise.com>
2447 * gthr-posix95.h (__gthread_cond_wait_recursive): Add missing &.
2449 2008-04-05 Uros Bizjak <ubizjak@gmail.com>
2452 * config/i386/i386.c (ix86_function_regparm): Error if regparm(3)
2453 attribute is used for nested functions.
2455 2008-04-05 Jan Hubicka <jh@suse.cz>
2457 * emit-rtl.c (init_emit): xcalloc regno_pointer_align.
2459 * tree-dump.c (dump_enable_all): Remove prototype; do not accept
2461 (dump_files): Update.
2462 (enable_rtl_dump_file): Do not accept letter argument.
2463 * tree-pass.h (dump_file_info): Remove letter argument.
2464 * toplev.c (decode_d_option): Update -da handling.
2465 * toplev.h (enable_rtl_dump_file): Update prototype.
2466 * passes.c (register_one_dump_file): Do not accept IPA argument; work
2467 it out based on pass type.
2468 (register_dump_files_1): Likewise.
2469 (init_optimization_passes): Update register_one_dump_file calls.
2470 (execute_one_pass): Sanity check that IPA passes are called at IPA
2471 level and RTL passes at RTL level.
2472 (execute_pass_list): IPA pass can not be after or subpass of
2474 (execute_ipa_pass_list): Handle IPA subpasses of IPA subpasses and
2475 disallov RTL subpasses of IPA subpasses.
2477 2008-04-05 Ben Elliston <bje@au.ibm.com>
2479 * tree-cfg.c (need_fake_edge_p): Return false for calls to
2480 builtins that return exactly once and do not throw. Cache call to
2483 2008-04-04 Andy Hutchinson <hutchinsonandy@aim.com>
2485 PR rtl-optimization/34916
2487 * combine.c (create_log_links): Do not create duplicate LOG_LINKS
2488 between instruction pairs.
2490 2008-04-04 Naveen.H.S <naveen.hs@kpitcummins.com>
2492 * doc/invoke.texi: Document -mbitops for SH.
2493 * config/sh/constraints.md (K03, K12, Sbv, Sbw): New constraints.
2494 * config/sh/predicates.md (bitwise_memory_operand): New predicate.
2495 * config/sh/sh.c (print_operand): Add %t operand code.
2496 * config/sh/sh.h (GO_IF_LEGITIMATE_INDEX): Add condition for SH2A.
2497 * config/sh/sh.md (*iorsi3_compact): Fix condition for SH2A.
2498 (extendqisi2_compact): Add the alternative for SH2A 4-byte mov.b.
2499 (extendqihi2): Likewise.
2500 (movqi_i): Likewise.
2501 (insv): Use bset, bclr and bst instructions for SH2A if possible.
2502 (extv): Use bld instruction for SH2A if possible.
2504 (bclr_m2a, bclrmem_m2a, bset_m2a, bsetmem_m2a, bst_m2a, bld_m2a,
2505 bldsign_m2a, bld_reg, *bld_regqi, band_m2a, bandreg_m2a,
2506 bor_m2a, borreg_m2a, bxor_m2a, bxorreg_m2a): New insns.
2507 (bset.b, bclr.b): Define peepholes.
2508 * config/sh/sh.opt (mbitops): New option.
2510 2008-04-04 Janis Johnson <janis187@us.ibm.com>
2513 * config/rs6000/rs6000.c (rs6000_check_sdmode): Handle indirect ref
2514 and view convert expression.
2516 2008-04-04 Jakub Jelinek <jakub@redhat.com>
2519 * tree-cfg.c (remove_useless_stmts_1): Handle OMP_* containers.
2521 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
2523 * config.gcc (extra_headers): Add wmmintrin.h for x86 and x86-64.
2525 * config/i386/cpuid.h (bit_AES): New.
2526 (bit_PCLMUL): Likewise.
2528 * config/i386/i386.c (pta_flags): Add PTA_AES and PTA_PCLMUL.
2529 (override_options): Handle PTA_AES and PTA_PCLMUL. Enable
2530 SSE2 if AES or PCLMUL is enabled.
2531 (ix86_builtins): Add IX86_BUILTIN_AESENC128,
2532 IX86_BUILTIN_AESENCLAST128, IX86_BUILTIN_AESDEC128,
2533 IX86_BUILTIN_AESDECLAST128, IX86_BUILTIN_AESIMC128,
2534 IX86_BUILTIN_AESKEYGENASSIST128 and IX86_BUILTIN_PCLMULQDQ128.
2535 (bdesc_sse_3arg): Add IX86_BUILTIN_PCLMULQDQ128.
2536 (bdesc_2arg): Add IX86_BUILTIN_AESENC128,
2537 IX86_BUILTIN_AESENCLAST128, IX86_BUILTIN_AESDEC128,
2538 IX86_BUILTIN_AESDECLAST128 and IX86_BUILTIN_AESKEYGENASSIST128.
2539 (bdesc_1arg): Add IX86_BUILTIN_AESIMC128.
2540 (ix86_init_mmx_sse_builtins): Define __builtin_ia32_aesenc128,
2541 __builtin_ia32_aesenclast128, __builtin_ia32_aesdec128,
2542 __builtin_ia32_aesdeclast128,__builtin_ia32_aesimc128,
2543 __builtin_ia32_aeskeygenassist128 and
2544 __builtin_ia32_pclmulqdq128.
2545 * config/i386/i386.c (ix86_expand_binop_imm_builtin): New.
2546 (ix86_expand_builtin): Use it for IX86_BUILTIN_PSLLDQI128 and
2547 IX86_BUILTIN_PSRLDQI128. Handle IX86_BUILTIN_AESKEYGENASSIST128.
2549 * config/i386/i386.h (TARGET_AES): New.
2550 (TARGET_PCLMUL): Likewise.
2551 (TARGET_CPU_CPP_BUILTINS): Handle TARGET_AES and TARGET_PCLMUL.
2553 * config/i386/i386.md (UNSPEC_AESENC): New.
2554 (UNSPEC_AESENCLAST): Likewise.
2555 (UNSPEC_AESDEC): Likewise.
2556 (UNSPEC_AESDECLAST): Likewise.
2557 (UNSPEC_AESIMC): Likewise.
2558 (UNSPEC_AESKEYGENASSIST): Likewise.
2559 (UNSPEC_PCLMUL): Likewise.
2561 * config/i386/i386.opt (maes): New.
2562 (mpclmul): Likewise.
2564 * config/i386/sse.md (aesenc): New pattern.
2565 (aesenclast): Likewise.
2567 (aesdeclast): Likewise.
2569 (aeskeygenassist): Likewise.
2570 (pclmulqdq): Likewise.
2572 * config/i386/wmmintrin.h: New.
2574 * doc/extend.texi: Document AES and PCLMUL built-in function.
2576 * doc/invoke.texi: Document -maes and -mpclmul.
2578 2008-04-04 Paolo Bonzini <bonzini@gnu.org>
2580 * function.c (free_after_parsing): Replace with
2581 cxx_push_function_context from C++ front-end.
2582 (allocate_struct_function): Don't call langhook.
2583 * langhooks.h (struct lang_hooks_for_functions): Delete.
2584 (struct lang_hooks): Add back missing_noreturn_ok_p here, delete
2586 * langhooks-def.h (LANG_HOOKS_MISSING_NORETURN_OK_P): Add.
2587 (LANG_HOOKS_FUNCTION_INIT, LANG_HOOKS_FUNCTION_FINAL,
2588 LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P,
2589 LANG_HOOKS_FUNCTION_INITIALIZER): Delete.
2590 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_MISSING_NORETURN_OK_P,
2591 remove LANG_HOOKS_FUNCTION_INITIALIZER.
2592 * tree-cfg.c: Adjust call to missing_noreturn_ok_p langhook.
2594 * c-objc-common.h (LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P):
2595 Rename to LANG_HOOKS_MISSING_NORETURN_OK_P.
2597 2008-04-04 Jakub Jelinek <jakub@redhat.com>
2600 * c-pretty-print.c (pp_c_initializer_list): Handle CONSTRUCTOR
2603 2008-04-04 Richard Guenther <rguenther@suse.de>
2606 * fold-const.c (optimize_minmax_comparison): Use the correct
2607 type for the constant in the simplified comparison.
2609 2008-04-04 Zuxy Meng <zuxy.meng@gmail.com>
2611 * config/i386/driver-i386.c (describe_cache): Add l2_sizekb argument.
2612 Pass L2 size as "--param l2-cache-size" to the compiler.
2613 (decode_l2_cache): New function to decode L2 cache parameters using
2614 0x8000006 extended cpuid function.
2615 (detect_caches_amd): Determine parameters of L2 cache using
2616 decode_l2_caches function.
2617 (decode_caches_intel): Decode L2 cache parameters.
2618 (detect_caches_intel): Determine L2 cache parameters using
2619 decode_caches_intel and decode_l2_caches functions.
2621 2008-04-03 Bob Wilson <bob.wilson@acm.org>
2623 * config/xtensa/xtensa.c (xtensa_secondary_reload_class): Use a
2624 secondary input reload for subword loads from the constant pool.
2626 2008-04-03 Janis Johnson <janis187@us.ibm.com>
2629 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use integer
2630 constants of the appropriate size for runtime calculations.
2633 * dfp.c (decimal_from_decnumber): Retain trailing zeroes for
2634 decimal-float literal constant zero.
2636 2008-04-03 Jakub Jelinek <jakub@redhat.com>
2639 * c-parser.c (c_parser_omp_atomic): Call
2640 default_function_array_conversion on the RHS.
2643 * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: Don't
2644 call is_variable_sized if decl has incomplete type.
2646 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
2648 * config/i386/i386-protos.h (ix86_aligned_p): Removed.
2650 2008-04-03 Adam Nemet <anemet@caviumnetworks.com>
2652 * config/mips/mips.md (any_gt, any_ge, any_lt, any_le): New code
2654 (u): Add attribute values for gt, gtu, ge, geu, lt, ltu, le and leu.
2655 (sgt<u>): Merge sgt and sgtu into new expander.
2656 (sgt, sgtu): Remove expanders.
2657 (*sgt<u>_<mode>): Merge *sgt_<mode> and *sgtu_<mode> into new pattern.
2658 (*sgt_<mode>, *sgtu_<mode>): Remove patterns.
2659 (*sgt<u>_<mode>_mips16): Merge *sgt_<mode>_mips16 and
2660 *sgtu_<mode>_mips16 into new pattern.
2661 (*sgt_<mode>_mips16, *sgtu_<mode>_mips16): Remove patterns.
2662 (sge<u>): Merge sge and sgeu into new expander.
2663 (sge, sgeu): Remove expanders.
2664 (*sge<u>_<mode>): Merge *sge_<mode> and second *sge_<mode> into
2666 (*sge_<mode>, second *sge_<mode>): Remove patterns.
2667 (slt<u>): Merge slt and sltu into new expander.
2668 (slt, sltu): Remove expanders.
2669 (*slt<u>_<mode>): Merge *slt_<mode> and *sltu_<mode> into new pattern.
2670 (*slt_<mode>, *sltu_<mode>): Remove patterns.
2671 (*slt<u>_<mode>_mips16): Merge *slt_<mode>_mips16 and
2672 *sltu_<mode>_mips16 into new pattern.
2673 (*slt_<mode>_mips16, *sltu_<mode>_mips16): Remove patterns.
2674 (sle<u>): Merge sle and sleu into new expander.
2675 (sle, sleu): Remove expanders.
2676 (*sle<u>_<mode>): Merge *sle_<mode> and *sleu_<mode> into new pattern.
2677 (*sle_<mode>, *sleu_<mode>): Remove patterns.
2678 (*sle<u>_<mode>_mips16): Merge *sle_<mode>_mips16 and
2679 *sleu_<mode>_mips16 into new pattern.
2680 (*sle_<mode>_mips16, *sleu_<mode>_mips16): Remove patterns.
2682 2008-04-03 Jan Hubicka <jh@suse.cz>
2684 PR tree-optimization/35795
2685 * alpha/alpha.c (alpha_output_mi_thunk_osf): Free after compilation.
2686 * sparc/sparc.c (sparc_output_mi_thunk): Likewise.
2687 * ia64/ia64.c (ia64_output_mi_thunk): Likewise.
2688 * m68k/m68k.c (m68k_output_mi_thunk): Likewise.
2689 * score/score3.c (score3_output_mi_thunk): Likewise.
2690 * score/score7.c (score7_output_mi_thunk): Likewise.
2691 * mips/mips.c (mips_output_mi_thunk): Likewise.
2693 2008-04-03 Richard Guenther <rguenther@suse.de>
2695 * tree-vrp.c (extract_range_from_unary_expr): Handle all
2696 conversions. Simplify code.
2698 2008-04-03 Kaz Kojima <kkojima@gcc.gnu.org>
2700 * config/sh/sh.c (sh_output_mi_thunk): Free cfun.
2702 2008-04-03 Tom Tromey <tromey@redhat.com>
2703 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2705 * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h.
2706 * config/bfin/t-bfin-linux (generated_files): Add
2707 linux-sysroot-suffix.h.
2708 * doc/install.texi (Prerequisites): Require make 3.80.
2709 * doc/sourcebuild.texi (Front End Directory): Document new
2711 * Makefile.in (generated_files): New variable.
2712 (ALL_HOST_OBJS): New variable.
2713 ($(ALL_HOST_OBJS)): New target.
2715 2008-04-03 Paolo Bonzini <bonzini@gnu.org>
2717 * tree-inline.c (copy_generic_body, copy_decl_no_change): Export.
2718 (remap_block): Call id->transform_lang_insert_block instead
2720 (optimize_inline_calls, unsave_expr_now, tree_function_versioning):
2721 Set id.transform_lang_insert_block to NULL.
2722 (clone_body): Move to cp/optimize.c
2723 * tree-inline.h (struct copy_body_data): Change
2724 transform_lang_insert_block to function pointer.
2725 (copy_generic_body, copy_decl_no_change): Export.
2726 * langhooks.h (struct lang_hooks_for_decls): Kill insert_block.
2727 * langhooks-def.h (LANG_HOOKS_INSERT_BLOCK): Kill.
2728 (LANG_HOOKS_DECLS): Remove LANG_HOOKS_INSERT_BLOCK.
2730 * c-tree.h (insert_block): Kill.
2731 * c-decl.c (insert_block): Kill.
2733 2008-04-03 Paolo Bonzini <bonzini@gnu.org>
2735 * c-objc-common.h (LANG_HOOKS_FUNCTION_ENTER_NESTED,
2736 LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete.
2737 * c-tree.h (c_push_function_context, c_pop_function_context): Remove
2739 * c-decl.c (c_push_function_context, c_pop_function_context): Remove
2740 argument, call {push,pop}_function_context from here.
2741 * c-parser.c: Use c_{push,pop}_function_context.
2743 * function.c (push_function_context_to): Move meat ...
2744 (push_function_context): ... here. Simplify.
2745 * function.c (pop_function_context_from): Move meat ...
2746 (pop_function_context): ... here. Simplify.
2747 * langhooks.h (struct lang_hooks_for_functions): Remove enter_nested,
2749 * langhooks-def.h (LANG_HOOKS_FUNCTION_ENTER_NESTED,
2750 LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete.
2751 (LANG_HOOKS_FUNCTION_INITIALIZER): Delete them from here.
2752 * tree.h (push_function_context_to, pop_function_context_from): Remove.
2754 2008-04-03 Ben Elliston <bje@au.ibm.com>
2756 * expmed.c (extract_force_align_mem_bit_field): Remove.
2758 2008-04-03 Richard Guenther <rguenther@suse.de>
2761 * expr.h (try_casesi): Adjust prototype.
2762 * expr.c (try_casesi): Take fallback label as extra parameter.
2763 Use that for gen_casesi if default_label is NULL.
2764 * stmt.c (expand_case): Pass fallback label to try_casesi,
2765 make sure to fill gaps with a fallback label if default_label
2768 2008-04-03 Dominique d'Humieres <dominiq@lps.ens.fr>
2771 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Free cfun.
2773 2008-04-03 Ben Elliston <bje@au.ibm.com>
2775 * expmed.c (extract_split_bit_field): Remove if (0) code.
2776 * tree-ssa-structalias.c (do_sd_constraint): Likewise.
2777 (do_ds_constraint): Likewise.
2779 2008-04-02 Joseph Myers <joseph@codesourcery.com>
2781 * doc/cppopts.texi (-dU): Document.
2782 * c-common.h (flag_dump_macros): Update comment.
2783 * c-opts.c (handle_OPT_d): Handle -dU.
2784 * c-ppoutput.c (macro_queue, define_queue, undef_queue,
2785 dump_queued_macros, cb_used_define, cb_used_undef): New.
2786 (init_pp_output): Handle -dU.
2787 (cb_line_change): Call dump_queued_macros.
2788 * toplev.c (decode_d_option): Accept -dU as preprocessor option.
2790 2008-04-02 Anatoly Sokolov <aesok@post.ru>
2792 * config/avr/predicates.md (io_address_operand): New predicate.
2793 * config/avr/avr-protos.h (avr_io_address_p): Remove declaration.
2794 * config/avr/avr.c (avr_io_address_p): Remove function.
2795 (out_movqi_r_mr): Use 'io_address_operand' predicate instead of
2796 'avr_io_address_p' function.
2797 (out_movhi_r_mr): (Ditto.).
2798 (out_movqi_mr_r): (Ditto.).
2799 (out_movhi_mr_r): (Ditto.).
2800 (avr_address_cost): (Ditto.).
2802 2008-04-02 Uros Bizjak <ubizjak@gmail.com>
2804 * config/i386/i386.md (*float<SSEMODEI24:mode><X87MODEF:mode>2_1):
2805 Emit gen_floatdi<X87MODEF:mode>2_i387_with_xmm for DImode values
2806 in 32bit mode when XMM registers are available to avoid store
2808 (floatdi<X87MODEF:mode>2_i387_with_xmm): New insn pattern and
2809 corresponding post-reload splitters.
2811 2008-04-02 H.J. Lu <hongjiu.lu@intel.com>
2813 * config/i386/i386.c (bdesc_sse_3arg): Add __builtin_ia32_shufps
2814 and __builtin_ia32_shufpd. Provide __builtin_ia32_roundsd and
2815 __builtin_ia32_roundss.
2816 (ix86_init_mmx_sse_builtins): Remove __builtin_ia32_shufps,
2817 __builtin_ia32_shufpd, __builtin_ia32_roundsd and
2818 __builtin_ia32_roundss.
2819 (ix86_expand_builtin): Don't handle IX86_BUILTIN_SHUFPS and
2820 IX86_BUILTIN_SHUFPD here.
2822 2008-04-02 H.J. Lu <hongjiu.lu@intel.com>
2824 * config/i386/i386.md (plogic): New.
2825 (plogicprefix): Likewise.
2827 * config/i386/mmx.md (mmx_<code><mode>3): New.
2828 (mmx_and<mode>3): Removed.
2829 (mmx_ior<mode>3): Likewise.
2830 (mmx_xor<mode>3): Likewise.
2832 * config/i386/sse.md (<code><mode>3): New.
2833 (*<code><mode>3): Likewise.
2834 (*<code><mode>3): Likewise.
2835 (<code><mode>3): Likewise.
2836 (*sse_<code><mode>3): Likewise.
2837 (*sse2_<code><mode>3): Likewise.
2838 (<code>tf3): Likewise.
2839 (*<code>tf3): Likewise.
2840 (and<mode>3): Likewise.
2841 (*and<mode>3): Likewise.
2842 (ior<mode>3): Removed.
2843 (*ior<mode>3): Likewise.
2844 (xor<mode>3): Likewise.
2845 (*xor<mode>3): Likewise.
2846 (*and<mode>3): Likewise.
2847 (*ior<mode>3): Likewise.
2848 (*xor<mode>3): Likewise.
2849 (and<mode>3): Likewise.
2850 (*sse_and<mode>3): Likewise.
2851 (*sse2_and<mode>3): Likewise.
2853 (*andtf3): Likewise.
2854 (ior<mode>3): Likewise.
2855 (*sse_ior<mode>3): Likewise.
2856 (*sse2_ior<mode>3): Likewise.
2858 (*iortf3): Likewise.
2859 (xor<mode>3): Likewise.
2860 (*sse_xor<mode>3): Likewise.
2861 (*sse2_xor<mode>3): Likewise.
2863 (*xortf3): Likewise.
2865 2008-04-02 Richard Guenther <rguenther@suse.de>
2867 PR tree-optimization/14495
2868 PR tree-optimization/34793
2869 * tree-vrp.c (struct switch_update): New structure.
2870 (to_remove_edges, to_update_switch_stmts): New VECs.
2871 (simplify_switch_using_ranges): New function. Remove not taken
2872 case labels and edges.
2873 (simplify_stmt_using_ranges): Call it.
2874 (identify_jump_threads): Mark edges we have queued for removal
2875 so we don't thread them.
2876 (execute_vrp): Remove edges queued for removal, update SWITCH_STMT
2878 * tree-cfg.c (group_case_labels): Deal with missing default label.
2879 (tree_verify_flow_info): Allow missing default label.
2880 * stmt.c (emit_case_bit_tests): Deal with NULL default_label.
2881 (emit_case_nodes): Likewise.
2882 (expand_case): Do not rely on the default label to be present.
2883 * expr.c (try_casesi): Deal with NULL default_label.
2884 (do_tablejump): Likewise.
2886 2008-04-02 Richard Guenther <rguenther@suse.de>
2888 PR tree-optimization/14495
2889 * tree-vrp.c (vrp_visit_cond_stmt): Do not handle
2890 SWITCH_EXPR here ...
2891 (vrp_visit_switch_stmt): ... but here (new function).
2892 (find_case_label_index): New helper function.
2893 (vrp_visit_stmt): Dispatch to vrp_visit_switch_stmt.
2895 2008-04-02 Paolo Bonzini <bonzini@gnu.org>
2897 * fwprop.c: Fix ISO-C99ism.
2899 2008-04-02 Paolo Bonzini <bonzini@gnu.org>
2902 * Makefile.in (objdir): Set it here.
2903 * configure.ac: Not here. Find dynamic linker characteristics.
2904 * exec-tool.in: Use them.
2905 * aclocal.m4: Regenerate.
2906 * configure: Regenerate.
2908 2008-04-02 Paolo Bonzini <bonzini@gnu.org>
2910 * expr.c (expand_var): Delete it.
2911 * expr.h (expand_var): Delete prototype.
2912 * function.c (expand_function_start): Use expand_decl instead.
2913 * cfgexpand.c (expand_one_static_var, expand_one_var): Don't call
2916 2008-04-02 Andy Hutchinson <hutchinsonamdy@aim.com>
2918 PR rtl-optimization/35542
2919 * fwprop.c (forward_propagate_and_simplify): Replace
2920 loc_reg_mentioned_in_p with reg_mentioned_p.
2922 2008-04-02 Paolo Bonzini <bonzini@gnu.org>
2924 PR rtl-optimization/35281
2925 * fwprop.c (PR_CAN_APPEAR, PR_HANDLE_MEM): New.
2926 (propagate_rtx_1): Handle PR_HANDLE_MEM.
2927 (propagate_rtx): Pass PR_HANDLE_MEM if appropriate.
2928 (varying_mem_p): Move above propagate_rtx.
2929 (all_uses_available_at): Do not check MEMs.
2931 2008-04-02 Rafael Espindola <espindola@google.com>
2933 * tree-vrp.c (extract_code_and_val_from_cond): Remove.
2934 (register_edge_assert_for_2): Split the cond argument.
2935 (register_edge_assert_for_1): Adjust for the change in
2936 register_edge_assert_for_2.
2937 (register_edge_assert_for): Split the cond argument.
2938 (find_switch_asserts): Adjust for the change in
2939 register_edge_assert_for.
2941 2008-04-02 Kai Tietz <kai.tietz@onevision.com>
2943 * config.gcc: Add for x86_64-*-mingw* the t-crtfm to tbuild.
2944 * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Add 8 byte
2945 offsets for 64-bit mingw.
2946 * config/i386/i386.c (ix86_pass_by_reference): Correct calling
2947 abi for x86_64-pc-mingw.
2949 2008-04-02 Richard Guenther <rguenther@suse.de>
2951 * tree-vrp.c (extract_range_from_assert): Make sure to not
2952 produce range min/max with TREE_OVERFOW set.
2953 If merging a anti-range and a range keep the anti-range if
2954 the range covers all values of the type.
2955 (register_edge_assert_for_2): Only allow sign-changing
2956 conversions in detecting canonical range checks. Also
2957 register an assert for the unsigned name if useful.
2959 PR tree-optimization/35787
2960 * tree-vrp.c (vrp_val_max): New function.
2961 (vrp_val_min): Likewise.
2962 (vrp_val_is_max): Move earlier, use vrp_val_{min,max}.
2963 (vrp_val_is_min): Likewise.
2964 (supports_overflow_infinity): Use vrp_val_{min,max}.
2965 (negative_overflow_infinity): Likewise.
2966 (positive_overflow_infinity): Likewise.
2967 (is_negative_overflow_infinity): Use vrp_val_is_{min,max}.
2968 (is_positive_overflow_infinity): Likewise.
2969 (is_overflow_infinity): Likewise.
2970 (avoid_overflow_infinity): Use vrp_val_{min,max} and
2971 vrp_val_is_{min,max}.
2972 (set_and_canonicalize_value_range): Canonicalize anti-ranges
2973 to ranges if possible. Avoid empty ranges.
2975 2008-04-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2978 * fold-const.c (get_pointer_modulus_and_residue): Return modulus 1 if
2979 the expression is a function address.
2981 2008-04-01 George Helffrich <george@gcc.gnu.org>
2983 PR fortran/35154, fortran/23057
2984 * dbxout.c: Emit .stabs debug info for Fortran COMMON block
2985 variables as base symbol name + offset using N_BCOMM/N_ECOMM.
2986 (is_fortran, dbxout_common_name, dbxout_common_check): New functions.
2987 (dbxout_symbol_location): Transform N_LCSYM to N_GSYM for storage
2989 (dbxout_syms): Check for COMMON-based symbol and wrap in
2990 N_BCOMM/N_ECOMM stab bracket, including as many symbols as possible
2991 in bracket for efficiency.
2993 * dwarf2out.c: Emit DWARF debug info for Fortran COMMON block
2994 using DW_TAG_common_block + member offset.
2995 (add_pubname_string): New function.
2996 (dw_expand_expr): New function to find block name and offset for
2998 (common_check): New function to check whether symbol in Fortran COMMON.
2999 (gen_variable_die): If COMMON, use DW_TAG_common_block.
3001 2008-04-01 Volker Reichelt <v.reichelt@netcologne.de>
3004 * c-format.c (init_dynamic_gfc_info): Ignore invalid locus type.
3006 2008-04-02 Ben Elliston <bje@au.ibm.com>
3008 * config/v850/v850.md (casesi): Remove if (0) code.
3009 * config/i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
3010 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
3012 2008-04-01 Uros Bizjak <ubizjak@gmail.com>
3014 * config/i386/i386.md (rex64suffix): New mode attribute.
3015 (floathi<mode>2): Disable expander for SSE math.
3016 (*floathi<mode>2_1): New insn insn_and_split pattern.
3017 (*floathi<mode>2_i387_with_temp): New macroized instruction pattern and
3018 corresponding post-reload splitters.
3019 (*floathi<mode>2_i387): New macroized insn pattern.
3020 (float<SSEMODEI24:mode><X87MODEF:mode>2): New macroized expander.
3021 (*float<SSEMODEI24:mode><X87MODEF:mode>2_1): New macroized
3022 insn_and_split pattern.
3023 (*floatsi<mode>2_vector_mixed_with_temp, *floatsi<mode>2_vector_mixed):
3024 New macroized instruction patterns and corresponding post-reload
3026 (*floatsi<mode>2_mixed_with_temp): New macroized instruction pattern
3027 and corresponding post-reload splitters.
3028 (*floatsi<mode>2_mixed_interunit, *floatsi<mode>2_mixed_nointerunit):
3029 New macroized instruction patterns.
3030 (*floatsi<mode>2_vector_sse_with_temp, *floatsi<mode>2_vector_sse): New
3031 macroized instruction patterns and corresponding post-reload splitters.
3032 (*floatsi<mode>2_sse_with_temp): New macroized instruction pattern and
3033 corresponding post-reload splitters.
3034 (*floatsi<mode>2_sse_interunit, *floatsi<mode>2_mixed_nointerunit):
3035 New macroized instruction patterns.
3036 (*floatsi<mode>2_i387_with_temp): New macroized instruction pattern and
3037 corresponding post-reload splitters.
3038 (*floatsi<mode>2_i387): New macroized instruction patterns.
3040 2008-04-01 H.J. Lu <hongjiu.lu@intel.com>
3042 * config/i386/i386.md (smaxmin): New.
3043 (umaxmin): Likewise.
3044 (maxminiprefix): Likewise.
3045 (maxminfprefix): Likewise.
3046 (<code><mode>3): Likewise.
3047 (smin<mode>3): Removed.
3048 (smax<mode>3): Likewise.
3050 * config/i386/mmx.md (mmx_<code>v2sf3): New.
3051 (mmx_<code>v4hi3): Likewise.
3052 (mmx_<code>v8qi3): Likewise.
3053 (mmx_smaxv2sf3): Removed.
3054 (mmx_sminv2sf3): Likewise.
3055 (mmx_umaxv8qi3): Likewise.
3056 (mmx_smaxv4hi3): Likewise.
3057 (mmx_uminv8qi3): Likewise.
3058 (mmx_sminv4hi3): Likewise.
3060 * config/i386/sse.md (<addsub><mode>3): New.
3061 (*<addsub><mode>3): Likewise.
3062 (<sse>_vm<addsub><mode>3): Likewise.
3063 (<maxmin><mode>3): Likewise.
3064 (*<maxmin><mode>3_finite): Likewise.
3065 (*<maxmin><mode>3): Likewise.
3066 (<sse>_vm<maxmin><mode>3): Likewise.
3067 (sse3_h<addsub>v4sf3): Likewise.
3068 (sse3_h<addsub>v2df3): Likewise.
3069 (<maxmin>v16qi3): Likewise.
3070 (*<maxmin>v16qi3): Likewise.
3071 (<maxmin>v8hi3): Likewise.
3072 (*<maxmin>v8hi3): Likewise.
3073 (*sse4_1_<maxmin><mode>3): Likewise.
3074 (*sse4_1_<maxmin><mode>3): Likewise.
3075 (add<mode>3): Removed.
3076 (*add<mode>3): Likewise.
3077 (<sse>_vmadd<mode>3): Likewise.
3078 (sub<mode>3): Likewise.
3079 (*sub<mode>3): Likewise.
3080 (<sse>_vmsub<mode>3): Likewise.
3081 (smin<mode>3): Likewise.
3082 (*smin<mode>3_finite): Likewise.
3083 (*smin<mode>3): Likewise.
3084 (<sse>_vmsmin<mode>3): Likewise.
3085 (smax<mode>3): Likewise.
3086 (*smax<mode>3_finite): Likewise.
3087 (*smax<mode>3): Likewise.
3088 (<sse>_vmsmax<mode>3): Likewise.
3089 (sse3_haddv4sf3): Likewise.
3090 (sse3_haddv2df3): Likewise.
3091 (sse3_hsubv4sf3): Likewise.
3092 (sse3_hsubv2df3): Likewise.
3093 (umaxv16qi3): Likewise.
3094 (*umaxv16qi3): Likewise.
3095 (smaxv8hi3): Likewise.
3096 (*smaxv8hi3): Likewise.
3097 (*sse4_1_smax<mode>3): Likewise.
3098 (*sse4_1_umax<mode>3): Likewise.
3099 (uminv16qi3): Likewise.
3100 (*uminv16qi3): Likewise.
3101 (sminv8hi3): Likewise.
3102 (*sminv8hi3): Likewise.
3103 (*sse4_1_smin<mode>3): Likewise.
3104 (*sse4_1_umin<mode>3): Likewise.
3106 2008-04-01 Rafael Espindola <espindola@google.com>
3108 * tree-cfg.c (verify_expr): remove in_phi.
3109 (verify_stmt): Don't call walk_tree with verify_expr. Use
3110 is_gimple_min_invariant instead of is_gimple_val.
3112 2008-04-01 Joseph Myers <joseph@codesourcery.com>
3114 * doc/include/gpl_v3.texi: Update for manpage generation.
3115 * doc/gcc.texi, doc/gccint.texi: Include gpl_v3.texi instead of
3117 * doc/sourcebuild.texi: Document gpl_v3.texi as well as gpl.texi.
3118 * Makefile.in (TEXI_GCC_FILES, TEXI_GCCINT_FILES): Include
3119 gpl_v3.texi instead of gpl.texi.
3122 2008-04-01 Jakub Jelinek <jakub@redhat.com>
3125 * c-pch.c (c_common_read_pch): On error close (fd) resp. fclose (f).
3127 2008-04-01 Rafael Espindola <espindola@google.com>
3129 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): New.
3130 (extract_code_and_val_from_cond): Use
3131 extract_code_and_val_from_cond_with_ops.
3133 2008-04-01 Jan Hubicka <jh@suse.cz>
3135 * function.c (free_after_compilation): Free epilogue_delay_list.
3136 (prepare_function_start): Assert that previous compilation was freed.
3138 2008-04-01 Jan Hubicka <jh@suse.cz>
3139 Jim Wilson <wilson@tuliptree.org>
3140 Andreas Tobler <andreast@gcc.gnu.org>
3143 * m32c/m32.c (m32c_leaf_function_p, m32c_function_needs_enter): Use
3144 rtl.emit instead cfun->emit.
3145 * sparc/sparc.h (INIT_EXPANDERS): Likewise.
3146 * ia64/ia64.h (INIT_EXPANDERS): Likewise.
3148 2008-04-01 Ben Elliston <bje@au.ibm.com>
3150 * doc/c-tree.texi (Function Basics): Fix grammatical error.
3152 2008-03-31 Seongbae Park <seongbae.park@gmail.com>
3154 * common.opt (fprofile-dir=, fprofile-use=, fprofile-generate=):
3156 (fprofile-use): Add var flag_profile_use
3157 * coverage.c (coverage_begin_output): Do not open a gcno file for
3158 output only if -ftest-coverage is set.
3159 Do not add getpwd() to gcda file path.
3160 (build_gcov_info): Check the new flag
3161 flag_profile_datafile_relative_path.
3162 (coverage_init): Use profile_data_prefix.
3163 Read profile counter only if flag_profile_use is set.
3164 * opts.c (common_handle_option): New option fprofile-use=,
3165 fprofile-dir=, fprofile-generate=.
3166 * toplev.c (profile_data_prefix): New variable definition.
3167 * toplev.h (profile_data_prefix): New declaration.
3168 * doc/invoke.tex (Option Summary, Optimization Options):
3171 2008-03-31 James E. Wilson <wilson@tuliptree.org>
3173 * varasm.c (output_constant_pool_1): In LABEL_REF check,
3174 use tmp consistently.
3177 * config/ia64/div.md (recip_approx_rf): Use UNSPEC not DIV.
3178 * config/ia64/ia64.c (rtx_needs_barrier): Handle
3179 UNSPEC_FR_RECIP_APPROX_RES.
3180 * config/ia64/ia64.md (UNSPEC_FR_RECIP_APPROX_RES): Define.
3182 2008-03-31 Volker Reichelt <v.reichelt@netcologne.de>
3185 * c-decl.c (store_parm_decls_oldstyle): Skip invalid parameters.
3187 2008-03-31 Andrew Pinski <andrew_pinski@playstation.sony.com>
3190 * fold-const.c (fold_indirect_ref_1): Support accessing non first
3191 element of the vector via a pointer.
3193 2008-03-31 Ian Lance Taylor <iant@google.com>
3195 * tlink.c (scan_linker_output): Look for symbol name in single quotes.
3197 2008-03-31 Jan Hubicka <jh@suse.cz>
3199 * builtins.c (expand_builtin_setjmp_receiver): Update call of
3200 get_arg_pointer_save_area.
3201 * expr.c (init_expr): Just clear out rtl.expr.
3202 * function.c (free_after_compilation): Clear out whole RTL structure.
3203 (get_func_frame_size): Merge into ...
3204 (get_frame_size): ... this one.
3205 (assign_stack_local_1): Merge into ...
3206 (assign_stack_local): ... this one.
3207 (expand_function_end): Update call of get_arg_pointer_save_area.
3208 (get_art_pointer_save_area): Remove cfun argument.
3209 * function.h (emit_status): regno_pointer_align does not need length
3210 attribute. Move x_regno_reg_rtx to ...
3211 (regno_reg_rtx): ... new global array.
3212 (reg_rtx_no, seq_stack, REGNO_POINTER_ALIGN): Update accestors.
3213 (pending_stack_adjust, inhibit_defer_pop, saveregs_value,
3214 apply_args_value, forced_labels, stack_pointer_delta):
3216 (struct varasm_status): Move here from varasm.c
3217 (struct rtl_data): New. Move here some fields from struct function.
3218 (return_label, naked_return_label, stack_slot_list, parm_birth_insn,
3219 frame_offset, stack_check_probe_note, arg_pointer_save_area,
3220 used_temp_slots avail_temp_slots, temp_slot_level,
3221 nonlocal_goto_handler_labels): Update accesstors.
3222 (rtl): New global variable.
3223 (struct function): Move some fileds to rtl_data.
3224 (get_arg_pointer_save_area): Update prototype.
3225 * emit-rtl.c (rtl): Declare.
3226 (regno_reg_rtx): Declare.
3227 (first_insn, last_insn, cur_insn_uid, last_location, first_label_num):
3229 (gen_reg_rtx): Update.
3230 (init_virtual_regs): Do not tate emit_status argument.
3231 (init_emit): Do not allocate emit.
3232 * varasm.c (varasm_statuc): Move to function.h.
3233 (n_deferred_constatns): Update accestor.
3234 (init_varasm_status): Do not allocate varasm_status.
3235 (force_const_mem, get_pool_size, output_constant_pool): Update.
3236 * stmt.c (force_label_rtx): Do not use x_ prefixes.
3237 (expand_nl_goto_receiver): Update get_arg_pointer_save_area.
3239 2008-03-31 Zdenek Dvorak <ook@ucw.cz>
3241 PR rtl-optimization/35729
3242 * loop-invariant.c (check_maybe_invariant): Disallow volatile memory
3245 2008-03-31 H.J. Lu <hongjiu.lu@intel.com>
3248 * config/i386/i386.md (*movti_internal): Emit unaligned SSE
3249 load/store if memory is unaligned.
3250 (*movti_rex64): Likewise.
3252 * config/i386/predicates.md (misaligned_operand): New.
3254 2008-03-31 Andrew Pinski <pinskia@gmail.com>
3257 * tree-ssa-phiopt.c (conditional_replacement): Return early for
3260 2008-03-31 Jan Beulich <jbeulich@novell.com>
3262 * config/ia64/constraints.md: Add 'j' constraint.
3263 * config/ia64/ia64.md (movsi_internal): Add addp4 case.
3264 (movdi_internal): Likewise.
3266 2008-03-30 Volker Reichelt <v.reichelt@netcologne.de>
3269 * c-typeck.c (build_c_cast): Skip invalid fields in unions.
3271 2008-03-30 H.J. Lu <hongjiu.lu@intel.com>
3274 * config/i386/i386.c (ix86_expand_sse_4_operands_builtin): Issue
3275 proper error message for the third argument on blendpd and
3278 * config/i386/sse.md (blendbits): New.
3279 (sse4_1_blendp<ssemodesuffixf2c>): Use it.
3281 2008-03-30 Eric Botcazou <ebotcazou@adacore.com>
3283 * fold-const.c (fold_binary) <BIT_IOR_EXPR>: Add missing conversions.
3285 2008-03-30 Richard Guenther <rguenther@suse.de>
3288 * fold-const.c (fold_sign_changed_comparison): Do leave
3289 conversions to base-types alone.
3291 2008-03-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
3293 * config/rs6000/rs6000.c (rs6000_stack_info): Don't force saving of
3294 the link register if one altivec register is be saved.
3296 2008-03-30 Ben Elliston <bje@au.ibm.com>
3298 * final.c (final_scan_insn): Remove if (0) code.
3300 2008-03-28 Volker Reichelt <v.reichelt@netcologne.de>
3302 * c-parser.c (c_parser_next_token_is_keyword): Simplify.
3304 2008-03-28 H.J. Lu <hongjiu.lu@intel.com>
3306 * config/i386/sse.md (*and<mode>3): Pass <MODE>mode instead
3307 of V4SFmode to ix86_binary_operator_ok.
3309 2008-03-28 Uros Bizjak <ubizjak@gmail.com>
3311 * config/i386/i386.c (override_options): Initialize
3312 ix86_veclib_handler to ix86_veclibabi_svml when
3313 -mveclibabi=svml is used.
3314 (ix86_veclibabi_svml): New function for SVML ABI style
3315 vectorization support.
3316 * doc/invoke.texi (-mveclibabi) [svml]: Document new target option.
3318 2008-03-28 Rafael Espindola <espindola@google.com>
3320 * fold-const.c (tree_unary_nonnegative_warnv_p): Make it public.
3321 (tree_binary_nonnegative_warnv_p): Make it public.
3322 (tree_single_nonnegative_warnv_p): Make it public.
3323 (tree_invalid_nonnegative_warnv_p): Make it public.
3324 (tree_unary_nonzero_warnv_p): Make it public.
3325 (tree_binary_nonzero_warnv_p): Make it public
3326 (tree_single_nonzero_warnv_p): Make it public.
3327 * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops): New function.
3328 (extract_range_from_binary_expr): Split the expr argument.
3329 (extract_range_from_unary_expr): Split the expr argument.
3330 (extract_range_from_comparison): Split the expr argument.
3331 (extract_range_from_expr): Use the new aux functions.
3332 (vrp_evaluate_conditional_warnv): Use
3333 vrp_evaluate_conditional_warnv_with_ops.
3334 * tree.h (tree_unary_nonzero_warnv_p): Declare.
3335 (tree_binary_nonzero_warnv_p): Declare.
3336 (tree_single_nonzero_warnv_p): Declare.
3337 (tree_expr_nonzero_warnv_p): Declare.
3338 (tree_unary_nonnegative_warnv_p): Declare.
3339 (tree_binary_nonnegative_warnv_p): Declare.
3340 (tree_single_nonnegative_warnv_p): Declare.
3341 (tree_invalid_nonnegative_warnv_p): Declare.
3343 2008-03-28 Richard Guenther <rguenther@suse.de>
3345 PR tree-optimization/30317
3346 PR tree-optimization/30911
3347 PR tree-optimization/34793
3348 * tree-vrp.c (set_and_canonicalize_value_range): New function.
3349 (struct assert_locus_d): New member EXPR.
3350 (register_new_assert_for): Add EXPR parameter to support
3351 ASSERT_EXPR <name, expr OP limit>.
3352 (register_edge_assert_for_1): Adjust callers.
3353 (find_assert_locations): Likewise.
3354 (process_assert_insertions_for): Build condition from expression.
3355 (extract_range_from_assert): Handle ASSERT_EXPRs
3356 of the form ASSERT_EXPR <name, expr OP limit>.
3357 (register_edge_assert_for_2): New helper registering
3358 asserts for comparisons. Recognize range tests of the form
3359 (unsigned)i - CST1 OP CST2.
3360 (register_edge_assert_for_1): Use it.
3361 (register_edge_assert_for): Likewise.
3362 (needs_overflow_infinity): Integer sub-types
3363 do not need overflow infinities.
3364 (vrp_val_is_max): The extreme values of integer sub-types
3365 are those of the base type.
3366 (vrp_val_is_min): Likewise.
3367 * tree.def (ASSERT_EXPR): Document extra allowed conditional
3370 2008-03-28 Nick Clifton <nickc@redhat.com>
3373 * config/mn10300/mn10300.c (mn10300_secondary_reload_class):
3374 Return GENERAL_REGS for stack adjustment reloads.
3376 2008-03-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
3379 * config/rs6000/rs6000.c (rs6000_expand_vector_init): Create a
3380 const_vector when all the vectors are constant.
3382 2008-03-27 Bob Wilson <bob.wilson@acm.org>
3384 * config/xtensa/xtensa.c (gen_float_relational): Handle unordered
3386 * config/xtensa/xtensa.md (any_cond): Add unordered comparisons.
3387 (any_scc_sf): Add uneq, unlt, unle and unordered operators.
3389 (s<code>_sf): Use new scc_sf attribute for opcode names.
3391 2008-03-27 Tom Tromey <tromey@redhat.com>
3393 * doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
3394 configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
3395 config/spu/t-spu-elf, config/i386/t-interix,
3396 config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
3397 config/i386/x-darwin, config/i386/x-mingw32,
3398 config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
3399 config/sh/t-sh, config/sh/t-symbian, config/x-linux,
3400 config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
3401 config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
3402 config/rs6000/x-rs6000, config/rs6000/x-darwin64,
3403 config/rs6000/x-darwin, config/rs6000/t-rs6000,
3404 config/score/t-score-elf, config/arm/t-strongarm-pe,
3405 config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
<