see.c (see_get_extension_data): Don't use SUBREG_REG to test if a node is a SUBREG.
[official-gcc.git] / gcc / ChangeLog
blob2eda8f40bda564669dc39aa61ab8d070ccacbec5
1 2008-05-23  Rafael Espindola  <espindola@google.com>
3         * see.c (see_get_extension_data): Don't use SUBREG_REG to test
4         if a node is a SUBREG.
5         (see_analyze_one_def): Don't use SUBREG_REG to test if a node
6         is a SUBREG.
8 2008-05-23  Paul Brook  <paul@codesourcery.com>
9             Carlos O'Donell  <carlos@codesourcery.com>
11         * doc/extend.texi: Clarify use of __attribute__((naked)).
12         * doc/tm.texi: Document TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS.
13         * target.h (gcc_target): Add allocate_stack_slots_for_args.
14         * function.c (use_register_for_decl): Use
15         targetm.calls.allocate_stack_slots_for_args.
16         * target-def.h (TARGET_CALLS): Add 
17         TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS.
18         * config/arm/arm.c (arm_allocate_stack_slots_for_args): 
19         New function.
20         (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Define.
22 2008-05-23  Eric Botcazou  <ebotcazou@adacore.com>
24         * expr.c (highest_pow2_factor) <BIT_AND_EXPR>: New case.
26 2008-05-23  Steven Munroe  <sjmunroe@us.ibm.com>
28         * config/rs6000/darwin-ldouble.c (fmsub): Eliminate the full
29         PACK/UNPACK between FP_SUB_Q and FD_TRUNC so that the result
30         is only rounded once.
32 2008-05-23  Richard Guenther  <rguenther@suse.de>
34         * tree-ssa-operands.c (mark_difference_for_renaming): Use
35         bitmap_xor.
37 2008-05-23  Uros Bizjak  <ubizjak@gmail.com>
38             Jakub Jelinek  <jakub@redhat.com>
40         PR target/36079
41         * configure.ac: Handle --enable-cld.
42         * configure: Regenerated.
43         * config.gcc: Add USE_IX86_CLD to tm_defines for x86 targets.
44         * config/i386/i386.h (struct machine_function): Add needs_cld field.
45         (ix86_current_function_needs_cld): New define.
46         * config/i386/i386.md (UNSPEC_CLD): New unspec volatile constant.
47         (cld): New isns pattern.
48         (strmov_singleop, rep_mov, strset_singleop, rep_stos, cmpstrnqi_nz_1,
49         cmpstrnqi_1, strlenqi_1): Set ix86_current_function_needs_cld flag.
50         * config/i386/i386.opt (mcld): New option.
51         * config/i386/i386.c (ix86_expand_prologue): Emit cld insn if
52         TARGET_CLD and ix86_current_function_needs_cld.
53         (override_options): Use -mcld by default for 32-bit code if
54         USE_IX86_CLD.
56         * doc/install.texi (Options specification): Document --enable-cld.
57         * doc/invoke.texi (Machine Dependent Options)
58         [i386 and x86-64 Options]: Add -mcld option.
59         (Intel 386 and AMD x86-64 Options): Document -mcld option.
61 2008-05-23  Kai Tietz  <kai.tietz@onevison.com>
62         * config/i386/i386.c (return_in_memory_32): Add ATTRIBUTE_UNUSED.
63         (return_in_memory_64): Likewise.
64         (return_in_memory_ms_64): Likewise.
66 2008-05-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
68         * builtin-types.def (BT_FN_INT_INT_INT_INT_INT_INT_VAR): New.
69         * builtins.c (fold_builtin_fpclassify): New.
70         (fold_builtin_varargs): Handle BUILT_IN_FPCLASSIFY.
71         * builtins.def (BUILT_IN_FPCLASSIFY): New.
72         * c-common.c (handle_type_generic_attribute): Adjust to accept
73         fixed arguments before an elipsis.
74         (check_builtin_function_arguments): Handle BUILT_IN_FPCLASSIFY.
75         * doc/extend.texi: Document __builtin_fpclassify.
77 2008-05-22  Aldy Hernandez  <aldyh@redhat.com>
79         * omp-low.c (gate_expand_omp_ssa): Remove.
80         (pass_expand_omp_ssa): Remove.
81         (gate_expand_omp): Do not check for flag_openmp_ssa.
82         * common.opt (-fopenmp-ssa): Remove.
83         * passes.c (init_optimization_passes): Remove pass_expand_omp_ssa.
85 2008-05-22  Kaz Kojima  <kkojima@gcc.gnu.org>
87         * config/sh/sh.opt (mfixed-range): New option.
88         * config/sh/sh-protos.h (sh_fix_range): Declare.
89         * config/sh/sh.c (sh_fix_range): New function.
90         * config/sh/sh.h (sh_fixed_range_str): Declare.
91         (OVERRIDE_OPTIONS): Call sh_fix_range if sh_fixed_range_str
92         is not empty.
93         * doc/invoke.texi (SH Options): Document -mfixed-range.
95 2008-05-22  Kai Tietz  <kai.tietz@onevision.com>
97         * config/i386/sol2-10.h (SUBTARGET_RETURN_IN_MEMORY): Undefine
98         it before the redeclaration.
100 2008-05-22  Anatoly Sokolov <aesok@post.ru>
102         * config/avr/avr.c (get_sequence_length): Add new function.
103         (expand_prologue, expand_epilogue): Remove duplicate code.
105 2008-05-22  Rafael Espindola  <espindola@google.com>
107         * see.c (see_pre_insert_extensions): Use copy_rtx to avoid invalid rtx
108         sharing.
110 2008-05-22  H.J. Lu  <hongjiu.lu@intel.com>
112         * defaults.h (UNITS_PER_SIMD_WORD): Add scalar mode as argument.
113         * doc/tm.texi (UNITS_PER_SIMD_WORD): Likewise.
115         * tree-vect-analyze.c (vect_compute_data_ref_alignment): Replace
116         UNITS_PER_SIMD_WORD with GET_MODE_SIZE (TYPE_MODE (vectype)).
117         (vect_update_misalignment_for_peel): Likewise.
118         (vector_alignment_reachable_p): Likewise.
119         * tree-vect-transform.c (vectorizable_load): Likewise.
120         * tree-vectorizer.c (vect_supportable_dr_alignment): Likewise.
121         (get_vectype_for_scalar_type): Pass mode of scalar_type
122         to UNITS_PER_SIMD_WORD.
124         * config/arm/arm.h (UNITS_PER_SIMD_WORD): Updated.
125         * config/i386/i386.h (UNITS_PER_SIMD_WORD): Likewise.
126         * config/mips/mips.h (UNITS_PER_SIMD_WORD): Likewise.
127         * config/rs6000/rs6000.h (UNITS_PER_SIMD_WORD): Likewise.
128         * config/sparc/sparc.h (UNITS_PER_SIMD_WORD): Likewise.
130 2008-05-22  Ira Rosen  <irar@il.ibm.com>
132         PR tree-optimization/36293
133         * tree-vect-transform.c (vect_transform_strided_load): Don't check
134         if the first load must be skipped because of a gap.
136 2008-05-22  Richard Guenther  <rguenther@suse.de>
138         * tree-dfa.c (refs_may_alias_p): Exit early if possible.  Handle
139         more cases of offset disambiguation that is possible if
140         strict-aliasing rules apply.
141         * tree-ssa-loop-im.c (mem_refs_may_alias_p): Use refs_may_alias_p
142         for basic offset and type-based disambiguation.
144 2008-05-21  H.J. Lu  <hongjiu.lu@intel.com>
146         * config/i386/i386.c (ix86_expand_vector_init_one_var): Use
147         ix86_expand_vector_set on V16QImode for SSE4.1.
149 2008-05-21  Tom Tromey  <tromey@redhat.com>
151         * c.opt (Wimport): Mark as undocumented.
152         * doc/invoke.texi (Option Summary): Don't mention -Wimport or
153         -Wno-import.
154         (Warning Options): Likewise.
155         * doc/cppopts.texi: Don't mention -Wimport.
157 2008-05-21  Sebastian Pop  <sebastian.pop@amd.com>
159         PR tree-optimization/36287
160         PR tree-optimization/36286
161         * lambda-code.c (build_access_matrix): Do not use the loop->num
162         for computing the number of induction variables: use the loop depth
163         instead.
165 2008-05-21  Kai Tietz  <kai.tietz@onevision.com>
167         PR/36280
168         * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Honor
169         option -f(no-)leading-underscore.
171 2008-05-21  H.J. Lu  <hongjiu.lu@intel.com>
173         * config/i386/i386.c (ix86_expand_vector_init_general): Use
174         GET_MODE_NUNITS (mode).
176 2008-05-21  Peter Bergner  <bergner@vnet.ibm.com>
178         * doc/invoke.texi: Add cpu_type's 464 and 464fp.
179         (-mmulhw): Add 464 to description.
180         (-mdlmzb): Likewise.
181         * config.gcc: Handle --with-cpu=464 and --with-cpu=464fp.
182         * config/rs6000/rs6000.c (processor_target_table): Add 464 and
183         464fp entries.
184         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 464 and 464fp support.
185         * config/rs6000/t-fprules (MULTILIB_MATCHES_FLOAT): Include -mcpu=464.
186         * config/rs6000/rs6000.md: Update comments for 464.
188 2008-05-21  Janis Johnson  <janis187@us.ibm.com>
190         * doc/sourcebuild.texi (Test Directives): Add dg-xfail-run-if.
192 2008-05-21  H.J. Lu  <hongjiu.lu@intel.com>
194         * config/i386/sse.md (vec_extractv4sf): Removed.
195         (vec_extractv2df): Likewise.
196         (vec_extractv2di): Likewise.
197         (vec_extractv4si): Likewise.
198         (vec_extractv8hi): Likewise.
199         (vec_extractv16qi): Likewise.
200         (vec_extract<mode>): New.
202 2008-05-21  H.J. Lu  <hongjiu.lu@intel.com>
204         * config/i386/sse.md (vec_setv4sf): Removed.
205         (vec_setv2df): Likewise.
206         (vec_setv2di): Likewise.
207         (vec_setv4si): Likewise.
208         (vec_setv8hi): Likewise.
209         (vec_setv16qi): Likewise.
210         (vec_set<mode>): New.
212 2008-05-21  H.J. Lu  <hongjiu.lu@intel.com>
214         * config/i386/i386.c (ix86_expand_vector_init_general): Remove
215         goto for vec_concat and vec_interleave.
217 2008-05-21  H.J. Lu  <hongjiu.lu@intel.com>
219         * config/i386/sse.md (vec_initv4sf): Removed.
220         (vec_initv2df): Likewise.
221         (vec_initv2di): Likewise.
222         (vec_initv4si): Likewise.
223         (vec_initv8hi): Likewise.
224         (vec_initv16qi): Likewise.
225         (vec_init<mode>): New.
227 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
229         * collect2.c (find_a_file): Use IS_ABSOLUTE_PATH.
231 2008-05-21  Tom Tromey  <tromey@redhat.com>
233         * ggc-zone.c (lookup_page_table_if_allocated): New function.
234         (zone_find_object_offset): Likewise.
235         (gt_ggc_m_S): Likewise.
236         (highest_bit): Likewise.
237         * ggc-page.c (gt_ggc_m_S): New function.
238         * stringpool.c (string_stack): Remove.
239         (init_stringpool): Update.
240         (ggc_alloc_string): Use ggc_alloc.
241         (maybe_delete_ident): New function.
242         (ggc_purge_stringpool): Likewise.
243         (gt_ggc_m_S): Remove.
244         * ggc-common.c (ggc_protect_identifiers): New global.
245         (ggc_mark_roots): Call ggc_purge_stringpool.  Use
246         ggc_protect_identifiers.
247         * ggc.h (ggc_protect_identifiers): Declare.
248         (gt_ggc_m_S): Update.
249         (ggc_purge_stringpool): Declare.
250         * toplev.c (compile_file): Set and reset ggc_protect_identifiers.
251         * gengtype.c (write_types_process_field) <TYPE_STRING>: Remove
252         special case.
253         (write_root): Cast gt_ggc_m_S to gt_pointer_walker.
255 2008-05-21  David S. Miller  <davem@davemloft.net>
257         * config.gcc (sparc-*-linux*): Always include sparc/t-linux in
258         tmake_file.
260 2008-05-21  Eric Botcazou  <ebotcazou@adacore.com>
262         * cfgexpand.c (tree_expand_cfg): Zap the EH throw statement table
263         once finished.
265 2008-05-20  David Daney  <ddaney@avtrex.com>
267         * config/mips/mips.md (UNSPEC_SYNC_NEW_OP_12,
268         UNSPEC_SYNC_OLD_OP_12, UNSPEC_SYNC_EXCHANGE_12): New define_constants.
269         (UNSPEC_SYNC_EXCHANGE, UNSPEC_MEMORY_BARRIER, UNSPEC_SET_GOT_VERSION,
270         UNSPEC_UPDATE_GOT_VERSION): Renumber.
271         (optab, insn): Add 'plus' and 'minus' to define_code_attr.
272         (atomic_hiqi_op): New define_code_iterator.
273         (sync_compare_and_swap<mode>): Call mips_expand_atomic_qihi instead of
274         mips_expand_compare_and_swap_12.
275         (compare_and_swap_12): Use MIPS_COMPARE_AND_SWAP_12 instead of
276         MIPS_COMPARE_AND_SWAP_12_0.  Pass argument to MIPS_COMPARE_AND_SWAP_12.
277         (sync_<optab><mode>, sync_old_<optab><mode>,
278         sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>,
279         sync_new_nand<mode>): New define_expands for HI and QI mode operands.
280         (sync_<optab>_12, sync_old_<optab>_12, sync_new_<optab>_12,
281         sync_nand_12, sync_old_nand_12, sync_new_nand_12): New insns.
282         (sync_lock_test_and_set<mode>): New define_expand for HI and QI modes.
283         (test_and_set_12): New insn.
284         (sync_old_add<mode>, sync_new_add<mode>, sync_old_<optab><mode>,
285         sync_new_<optab><mode>, sync_old_nand<mode>,
286         sync_new_nand<mode>, sync_lock_test_and_set<mode>):  Add early
287         clobber to operand 0 for SI and DI mode insns.
288         * config/mips/mips-protos.h (mips_gen_fn_6, mips_gen_fn_5,
289         mips_gen_fn_4): New typedefs.
290         (mips_gen_fn_ptrs): Define new union type.
291         (mips_expand_compare_and_swap_12): Remove declaration.
292         (mips_expand_atomic_qihi): Declare function.
293         * config/mips/mips.c (mips_expand_compare_and_swap_12): Rename to...
294         (mips_expand_atomic_qihi): ... this.  Use new generator function
295         parameter.
296         * config/mips/mips.h (MIPS_COMPARE_AND_SWAP_12): Add OPS parameter.
297         (MIPS_COMPARE_AND_SWAP_12_0): Delete macro.
298         (MIPS_COMPARE_AND_SWAP_12_ZERO_OP,
299         MIPS_COMPARE_AND_SWAP_12_NONZERO_OP,
300         MIPS_SYNC_OP_12, MIPS_SYNC_OP_12_NOT_NOP,
301         MIPS_SYNC_OP_12_NOT_NOT, MIPS_SYNC_OLD_OP_12,
302         MIPS_SYNC_OLD_OP_12_NOT_NOP, MIPS_SYNC_OLD_OP_12_NOT_NOP_REG,
303         MIPS_SYNC_OLD_OP_12_NOT_NOT, MIPS_SYNC_OLD_OP_12_NOT_NOT_REG,
304         MIPS_SYNC_NEW_OP_12, MIPS_SYNC_NEW_OP_12_NOT_NOP,
305         MIPS_SYNC_NEW_OP_12_NOT_NOT, MIPS_SYNC_EXCHANGE_12,
306         MIPS_SYNC_EXCHANGE_12_ZERO_OP,
307         MIPS_SYNC_EXCHANGE_12_NONZERO_OP): New macros.
309 2008-05-20  H.J. Lu  <hongjiu.lu@intel.com>
311         * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Add
312         the missing break.
314 2008-05-20  Anatoly Sokolov <aesok@post.ru>
316         * config/avr/avr.h (machine_function): Add 'is_OS_main' field.
317         * config/avr/avr.c (avr_OS_main_function_p): Add new function.
318         (avr_attribute_table): Add 'OS_main' function attribute.
319         (avr_regs_to_save, expand_prologue, expand_epilogue): Handle
320         functions with 'OS_main' attribute.
322 2008-05-20  Richard Guenther  <rguenther@suse.de>
324         PR tree-optimization/35204
325         * tree-ssa-sccvn.c (extract_and_process_scc_for_name): New
326         helper, split out from ...
327         (DFS): ... here.  Make the DFS walk non-recursive.
329 2008-05-20  Sebastian Pop  <sebastian.pop@amd.com>
330             Jan Sjodin  <jan.sjodin@amd.com>
332         PR tree-optimization/36181
333         * tree-parloops.c (loop_has_vector_phi_nodes): New.
334         (parallelize_loops): Don't parallelize when the loop has vector
335         phi nodes.
337 2008-05-20  Jan Sjodin  <jan.sjodin@amd.com>
338             Sebastian Pop  <sebastian.pop@amd.com>
340         * tree-loop-linear.c (gather_interchange_stats): Look in the access
341         matrix, and never look at the tree representation of the memory
342         accesses.
343         (linear_transform_loops): Computes parameters and access matrices.
344         * tree-data-ref.c (compute_data_dependences_for_loop): Returns false
345         when fails.
346         (access_matrix_get_index_for_parameter): New.
347         * tree-data-ref.h (struct access_matrix): New.
348         (AM_LOOP_NEST_NUM, AM_NB_INDUCTION_VARS, AM_PARAMETERS, AM_MATRIX,
349         AM_NB_PARAMETERS, AM_CONST_COLUMN_INDEX, AM_NB_COLUMNS,
350         AM_GET_SUBSCRIPT_ACCESS_VECTOR, AM_GET_ACCESS_MATRIX_ELEMENT,
351         am_vector_index_for_loop): New.
352         (struct data_reference): Add field access_matrix.
353         (DR_ACCESS_MATRIX): New.
354         (compute_data_dependences_for_loop): Update declaration.
355         (lambda_collect_parameters, lambda_compute_access_matrices): Declared.
356         * lambda.h (lambda_vector_vec_p): Declared.
357         * lambda-code.c: Depend on pointer-set.h.
358         (lambda_collect_parameters_from_af, lambda_collect_parameters,
359         av_for_af_base, av_for_af, build_access_matrix,
360         lambda_compute_access_matrices): New.
361         * Makefile.in (lambda-code.o): Depend on pointer-set.h.
363 2008-05-20  Joseph Myers  <joseph@codesourcery.com>
365         * doc/install.texi2html: Generate gcc-vers.texi in $DESTDIR not
366         $SOURCEDIR/include.
368 2008-05-20  Jan Sjodin  <jan.sjodin@amd.com>
369             Sebastian Pop  <sebastian.pop@amd.com>
371         PR tree-optimization/36206
372         * tree-scalar-evolution.c: Remove enum INSERT_SUPERLOOP_CHRECS,
373         FOLD_CONVERSIONS.
374         (instantiate_scev_1): Rename flags to fold_conversions.
375         Do not check for INSERT_SUPERLOOP_CHRECS, keep SSA_NAMEs defined
376         outeside instantiation_loop.
377         * tree-chrec.h (evolution_function_is_affine_in_loop): New.
378         (evolution_function_is_affine_or_constant_p): Removed.
379         * tree-data-ref.c (dr_analyze_indices): Replace resolve_mixers with
380         instantiate_scev.
381         (analyze_siv_subscript): Pass in the loop nest number.
382         Call evolution_function_is_affine_in_loop instead of 
383         evolution_function_is_affine_p.
384         (analyze_overlapping_iterations): Pass in the loop nest number.
386 2008-05-20  Jan Sjodin  <jan.sjodin@amd.com>
387             Sebastian Pop  <sebastian.pop@amd.com>
389         PR tree-optimization/36206
390         * tree-chrec.h (chrec_fold_op): New.
391         * tree-data-ref.c (initialize_matrix_A): Traverse NOP_EXPR, PLUS_EXPR,
392         and other trees.
394 2008-05-20  Nathan Sidwell  <nathan@codesourcery.com>
396         * c-incpath.c (INO_T_EQ): Do not define on non-inode systems.
397         (DIRS_EQ): New.
398         (remove_duplicates): Do not set inode on non-inode systems.
399         Use DIRS_EQ.
401 2008-05-20  Sandra Loosemore  <sandra@codesourcery.com>
403         * config.gcc (tm_file): Update comments about relative pathnames.
405 2008-05-20  Richard Guenther  <rguenther@suse.de>
407         * tree-ssa-reassoc.c (fini_reassoc): Use the statistics infrastructure.
408         * tree-ssa-sccvn.c (process_scc): Likewise.
409         * tree-ssa-sink.c (execute_sink_code): Likewise.
410         * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise.
411         * tree-vrp.c (process_assert_insertions): Likewise.
412         * tree-ssa-dce.c (eliminate_unnecessary_stmts): Likewise.
413         (perform_tree_ssa_dce): Likewise.
414         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
415         (dump_dominator_optimization_stats): Likewise.
416         * tree-vectorizer.c (vectorize_loops): Likewise.
418 2008-05-20  Richard Guenther  <rguenther@suse.de>
420         * tree-vn.c (vn_lookup_with_vuses): Do not use the alias oracle.
422 2008-05-20  Kai Tietz  <kai.tietz@onevision.com>
424         * config/i386/i386-protos.h (ix86_return_in_memory): Removed.
425         (ix86_i386elf_return_in_memory): Likewise.
426         (ix86_i386interix_return_in_memory): Likewise.
427         * config/i386/i386-interix.h (TARGET_RETURN_IN_MEMORY): Removed.
428         (SUBTARGET_RETURN_IN_MEMORY): New.
429         * config/i386/i386elf.h: Likewise.
430         * config/i386/ptx4-i.h: Likewise.
431         * config/i386/sol2-10.h: Likewise.
432         * config/i386/sysv4.h: Likewise.
433         * config/i386/vx-common.h: Likewise.
434         * config/i386/i386.h (TARGET_RETURN_IN_MEMORY): Removed.
435         * config/i386/i386.c (ix86_return_in_memory): Made static and
436         make use of optional SUBTARGET_RETURN_IN_MEMORY macro.
437         (ix86_i386elf_return_in_memory): Removed.
438         (ix86_i386interix_return_in_memory): Removed.
439         (TARGET_RETURN_IN_MEMORY): Declared within i386.c only.
440         * target-def.h (TARGET_RETURN_IN_MEMORY): Remove protection #ifdef.
442 2008-05-20  Alexandre Oliva  <aoliva@redhat.com>
444         * cselib.c (cselib_record_sets): Use correct mode for IF_THEN_ELSE.
446 2008-05-19  Xinliang David Li  <davidxl@google.com>
448         * tree-ssa-dce.c: Revert patches of 2008-05-17 and 2008-05-18. 
449         * opts.c: Ditto.
450         * common.opt: Ditto.
451         * doc/invoke.texi: Ditto.
453 2008-05-19  Eric Botcazou  <ebotcazou@adacore.com>
455         * tree.c (substitute_in_expr) <tcc_vl_exp>: Fix thinko.
456         (substitute_placeholder_in_expr) <tcc_vl_exp>: Minor tweak.
458 2008-05-19  H.J. Lu  <hongjiu.lu@intel.com>
460         * config/i386/i386.c (ix86_expand_vector_init_concat): Change
461         sizes of operand array from 8/4 to 4/2.
462         (ix86_expand_vector_init_general): Change size of operand array
463         from 32 to 16.  Remove op0, op1 and half_mode.
465 2008-05-19  H.J. Lu  <hongjiu.lu@intel.com>
467         * config/i386/i386.c (ix86_expand_vector_init_concat): New.
468         (ix86_expand_vector_init_interleave): Likewise.
469         (ix86_expand_vector_init_general): Use them.  Assert word_mode
470         == SImode when n_words == 4.
472 2008-05-19  Uros Bizjak  <ubizjak@gmail.com>
474         * config/i386/i386.c (ix86_secondary_reload): New static function.
475         (TARGET_SECONDARY_RELOAD): New define.
476         * config/i386/i386.h (SECONDARY_OUTPUT_RELOAD_CLASS): Remove.
477         * config/i386/i386.md (reload_outqi): Remove.
479 2008-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
481         PR middle-end/35509
482         * builtins.c (mathfn_built_in_1): Renamed from mathfn_built_in.
483         Add `implicit' parameter.  Handle BUILT_IN_SIGNBIT.
484         (mathfn_built_in): Rewrite in terms of mathfn_built_in_1.
485         (fold_builtin_classify): Handle BUILT_IN_ISINF_SIGN.
486         (fold_builtin_1): Likewise.
487         * builtins.def (BUILT_IN_ISINF_SIGN): New.
488         c-common.c (check_builtin_function_arguments): Handle
489         BUILT_IN_ISINF_SIGN.
490         * doc/extend.texi: Document __builtin_isinf_sign.
491         * fold-const.c (operand_equal_p): Handle COND_EXPR.
493 2008-05-18  Eric Botcazou  <ebotcazou@adacore.com>
495         * tree-ssa-dom.c (tree_ssa_dominator_optimize): If some blocks need
496         EH cleanup at the end of the pass, search for those that have been
497         turned into forwarder blocks and do the cleanup on their successor.
499 2008-05-18  Richard Guenther  <rguenther@suse.de>
501         * tree-cfg.c (verify_gimple_expr): Allow conversions from
502         pointers to sizetype and vice versa.
504 2008-05-18 Xinliang David Li   <davidxl@google.com>
506         * gcc/tree-ssa-dce.c: Coding style fix.
507         (check_pow): Documentation comment. 
508         (check_log): Documenation comment. Coding style fix.
509         (is_unnecessary_except_errno_call): Ditto.
510         (gen_conditions_for_pow): Ditto.
511         (gen_conditions_for_log): Ditto.
512         (gen_shrink_wrap_conditions): Ditto.
513         (shrink_wrap_one_built_in_calls): Ditto.
514         * gcc/doc/invoke.texi: Better documentation string.
515         * ChangeLog: Fix wrong change log entries from 
516         May 17 checkin on function call DCE.
518 2008-05-17  Kaz Kojima  <kkojima@gcc.gnu.org>
520         * config/sh/sh.c (sh_output_mi_thunk): Update the use of init_flow.
522 2008-05-17  Kenneth Zadeck <zadeck@naturalbridge.com>
524         * doc/rtl.texi (RTL_CONST_CALL_P, RTL_PURE_CALL_P): Fixed typos.
525         * df-problems.c (simulation routines): Fixed block comment to
526         properly say how to add forwards scanning functions.
527         
528 2008-05-17  Eric Botcazou  <ebotcazou@adacore.com>
530         * tree-inline.c (setup_one_parameter): Remove dead code.
532 2008-05-17  Eric Botcazou  <ebotcazou@adacore.com>
534         * fold-const.c (fold_unary) <CASE_CONVERT>: Fold the cast into
535         a BIT_AND_EXPR only for an INTEGER_TYPE.
537 2008-05-17 Xinliang David Li   <davidxl@google.com>
539         * gcc/tree-ssa-dce.c (cond_dead_built_in_calls): New static variable.
540         (check_pow, check_log, is_unnecessary_except_errno_call): New 
541         functions to check for eliminating math functions that are pure 
542         except for setting errno.
543         (gen_conditions_for_pow, gen_conditionas_for_log): New functions to
544         general condition expressions for shrink-wrapping pow/log calls.
545         (gen_shrink_wrap_conditions): Ditto.
546         (shrink_wrap_one_built_in_call): Ditto.
547         (shrink_wrap_conditional_dead_built_in_calls): Ditto.
548         (mark_operand_necessary): If debugging, output if OP is necessary.
549         (eliminate_unnecessary_stmts): Eliminate pow, log calls that are
550         unnecessary.
551         * gcc/opts.c (decode_options): set flag_tree_builtin_dce to 1 when
552         opt level >= 2.
553         * gcc/common.opt: New user flag -ftree-builtin-dce.
554         * gcc/doc/invoke.texi (-ftree-builtin-dce): New option.
556 2008-05-16  David S. Miller  <davem@davemloft.net>
558         * config/sparc/linux.h (NO_PROFILE_COUNTERS): Undef before overriding.
559         * config/sparc/linux64.h (NO_PROFILE_COUNTERS): Likewise.
561 2008-05-16  Uros Bizjak  <ubizjak@gmail.com>
563         PR target/36246
564         * config/i386/i386.h (SECONDARY_MEMORY_NEEDED_MODE): New define.
566 2008-05-16  Kenneth Zadeck <zadeck@naturalbridge.com>
568         * ifcvt.c (dead_or_predicable): Rename
569         df_simulate_one_insn_backwards to df_simulate_one_insn.
570         * recog.c (peephole2_optimize): Ditto.
571         * rtl-factoring.c (collect_pattern_seqs, clear_regs_live_in_seq):
572         Ditto.
573         * df.h: Rename df_simulate_one_insn_backwards to
574         df_simulate_one_insn.  and delete df_simulate_one_insn_forwards.
575         * df-problems.c (df_simulate_artificial_refs_at_top) Reversed
576         scanning of defs and uses.
577         (df_simulate_one_insn_backwards): Renamed to df_simulate_one_insn.
578         (df_simulate_one_insn_forwards): Removed.
580 2008-05-16  Doug Kwan  <dougkwan@google.com>
582         * real.c (real_to_decimal, real_to_hexadecimal): Distinguish
583         QNaN & SNaN.
584         (real_from_string): Handle NaNs and Inf as approriate.
586 2008-05-16  Nathan Froyd  <froydnj@codesourcery.com>
588         * doc/gty.texi (Source Files Containing Type Information): Note
589         that headers should appear first in the gtfiles list.
591 2008-05-16  Kenneth Zadeck <zadeck@naturalbridge.com>
593         * tree.def (COND_EXEC): Properly documented this code.
595 2008-05-16  Diego Novillo  <dnovillo@google.com>
597         * dwarf2asm.c (dw2_assemble_integer): Clarify comment.
598         * tree-nested.c (get_trampoline_type): Set DECL_CONTEXT for
599         the new field.
601 2008-05-16  Kenneth Zadeck <zadeck@naturalbridge.com>
603         * tree-ssa-dse (max_stmt_uid): Removed.
604         (get_stmt_uid, dse_possible_dead_store_p, dse_optimize_stmt, 
605         tree_ssa_dse): Encapsulate all uses of stmt_ann->uid.
606         * tree-ssa-sccvn.c (compare_ops, init_scc_vn): Ditto.
607         * function.h (cfun.last_stmt_uid): New field.
608         * tree-flow-inline.h (set_gimple_stmt_uid, gimple_stmt_uid,
609         gimple_stmt_max_uid, set_gimple_stmt_max_uid, inc_gimple_stmt_max_uid):
610         New functions.
611         * tree-dfa.c (renumber_gimple_stmt_uids): New function.
612         (create_stmt_ann): Initialize the ann->uid field.
613         * tree-ssa-pre.c (compute_avail): Encapsulate the stmt_ann->uid
614         with new calls.
615         * tree-flow.h (renumber_gimple_stmt_uids): New function.
617 2008-05-16  Nathan Froyd  <froydnj@codesourcery.com>
619         * tree-flow.h (init_empty_tree_cfg_for_function): Declare.
620         * tree-cfg.c (init_empty_tree_cfg_for_function): Define.
621         (init_empty_tree_cfg): Call it.
623 2008-05-16  Kenneth Zadeck <zadeck@naturalbridge.com>
625         * cfg.c (init_flow): Add argument THE_FUN.  Use it instead of cfun.
626         Update all users.
628 2008-05-16  Kenneth Zadeck <zadeck@naturalbridge.com>
630         * doc/invoke.text (-fdump-tree-*-verbose): New option.
631         * tree-dump.c (dump_options): New verbose option.
632         * tree-pretty-print.c (dump_phi_nodes, dump_generic_bb_buff):
633         Add verbose dump.
634         * tree-pass.h (TDF_VERBOSE): New dump flag.
635         * print-tree.c (print_node): Added code to be able to print PHI_NODES.
636         (tree-flow.h): Added include.
637         * Makefile.in (print-tree.o):  Added TREE_FLOW_H.
639 2008-05-16  Bernd Schmidt  <bernd.schmidt@analog.com>
641         * config/bfin/bfin.c (bfin_discover_loops): Delete empty loops.
643         From Jie Zhang  <jie.zhang@analog.com>
644         * config/bfin/t-bfin-elf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
645         MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Remove mcpu=bf532-0.3,
646         mcpu=bf561-none and mcpu=bf561-0.2.
647         * config/bfin/t-bfin-uclinux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
648         MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Likewise.
649         * config/bfin/t-bfin-linux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
650         MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Likewise.
651         * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add BFIN_CPU_UNKNOWN.
652         * config/bfin/elf.h (STARTFILE_SPEC): Use specific CRT for BF561.
653         (LIB_SPEC): Use proper linker script for bf561.  Error if no mcpu
654         option.
655         * config/bfin/bfin.c (bfin_cpu_type): Set to BFIN_CPU_UNKNOWN.
656         (cputype_selected): Remove.
657         (bfin_handle_option): Don't use cputype_selected.
658         (override_options): When no mcpu option, enable all workarounds.
659         Don't use bfin_workarounds.
660         * config/bfin/bfin.h (DRIVER_SELF_SPECS): Don't set default
661         processor type.
662         (DEFAULT_CPU_TYPE): Don't define.
664 2008-05-16  Richard Guenther  <rguenther@suse.de>
666         * tree-ssa-propagate.c (substitute_and_fold): Fix stmt walking
667         on deletion of the last stmt.
669 2008-05-15  H.J. Lu  <hongjiu.lu@intel.com>
671         * config/i386/i386.c (ix86_expand_vector_init_general): Optimize
672         V8HImode for SSE2 and V16QImode for SSE4.1.
674 2008-05-15  Kenneth Zadeck <zadeck@naturalbridge.com>
676         * cgraph.h (compute_inline_parameters): Made public.
677         * tree-pass.h (ipa_opt_pass): Removed function_generate_summary,
678         variable_generate_summary, function_write_summary,
679         variable_write_summary, variable_read_summary.  Added generate_summary,
680         write_summary, read_summary.
681         * cgraphunit.c (cgraph_process_new_functions): Changed call from
682         pass_ipa_inline.function_generate_summary, to
683         compute_inline_parameters. 
684         * ipa-inline.c (compute_inline_parameters): Made public and added
685         node parameter.
686         (compute_inline_parameters_for_current): New function.
687         (pass_inline_param): Now calls compute_inline_parameters_for_current.
688         (inline_generate_summary): Removed parameter and made to loop over
689         all cgraph nodes.
690         (pass_ipa_inline): Updated for new IPA_PASS structure.
691         * passes.c (execute_ipa_summary_passes): Now is called once per
692         pass rather than once per node*pass.
693         
694 2008-05-15  Anatoly Sokolov <aesok@post.ru>
696         * config/avr/avr.c (avr_base_arch_macro, avr_have_movw_lpmx_p, 
697         avr_have_mul_p, avr_asm_only_p): Remove variables.
698         (avr_override_options): Remove initialization of removed variables.
699         (avr_file_start):  Convert removed variables to fields of 
700         'struct base_arch_s *avr_current_arch'. 
701         * config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): (Ditto.).
702         (AVR_HAVE_MUL): (Ditto.).
703         (AVR_HAVE_MOVW): (Ditto.).
704         (AVR_HAVE_LPMX): (Ditto.). 
705         (avr_base_arch_macro, avr_have_movw_lpmx_p, avr_have_mul_p, 
706         avr_asm_only_p): Remove declaration.
708 2008-05-15  Diego Novillo  <dnovillo@google.com>
710         * config/arm/arm.c (arm_return_in_memory): Fix return type.
711         * config/arm/arm-protos.h (arm_return_in_memory): Likewise.
713 2008-05-15  Adam Nemet  <anemet@caviumnetworks.com>
715         PR middle-end/36194
716         * combine.c (check_conversion): Rename back to check_promoted_subreg.
717         Don't call record_truncated_value from here.
718         (record_truncated_value): Turn it into a for_each_rtx callback.
719         (record_truncated_values): New function.
720         (combine_instructions): Call note_uses with record_truncated_values.
721         Change name of check_conversion to check_promoted_subreg. 
723 2008-05-15  Janis Johnson  <janis187@us.ibm.com>
725         * doc/sourcebuild.texi: Document support for torture tests.
727 2008-05-15  Uros Bizjak  <ubizjak@gmail.com>
729         * config/i386/sse.md (*vec_concatv2sf_sse4_1): Add "m" constraint
730         to alternative 4 of operand 2.
732 2008-05-15  Richard Guenther  <rguenther@suse.de>
734         * tree-pass.h (current_pass): Declare.
735         (get_pass_for_id): Likewise.
736         * passes.c (passes_by_id, passes_by_id_size): New globals.
737         (set_pass_for_id): New function.
738         (get_pass_for_id): Likewise.
739         (register_one_dump_file): Use set_pass_for_id to populate passes_by_id.
740         (execute_function_todo): Flush per function statistics.
741         * toplev.c (compile_file): Init statistics.
742         (general_init): Do early statistics initialization.
743         (finalize): Finish statistics.
744         * statistics.h (statistics_early_init): Declare.
745         (statistics_init): Likewise.
746         (statistics_fini): Likewise.
747         (statistics_fini_pass): Likewise.
748         (statistics_counter_event): Likewise.
749         (statistics_histogram_event): Likewise.
750         * statistics.c: New file.
751         * Makefile.in (OBJS-common): Add statistics.o.
752         (statistics.o): Add dependencies.
753         * doc/invoke.texi (-fdump-statistics): Document.
755         * tree-ssa-pre.c (compute_antic): Use statistics_histogram_event.
756         (insert): Likewise.
757         (execute_pre): Use statistics_counter_event.
758         * tree-ssa-propagate.c (struct prop_stats_d): Add num_dce field.
759         (substitute_and_fold): Increment it.  Use statistics_counter_event.
761 2008-05-15  Diego Novillo  <dnovillo@google.com>
763         http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00893.html
765         * treestruct.def (TS_STRUCT_FIELD_TAG): Remove.
766         * tree-ssa-alias.c (new_type_alias): Remove references to
767         sub-variables from comment.
768         * tree-ssa-operands.c (swap_tree_operands): Likewise.
770 2008-05-15  H.J. Lu  <hongjiu.lu@intel.com>
772         * config/i386/sse.md (*vec_concatv2sf_sse4_1): Set prefix_extra
773         attribute to 1 only for insertps alternative.
775 2008-05-15  Bernd Schmidt  <bernd.schmidt@analog.com>
777         * config/bfin/bfin.md (loadbytes): New pattern.
778         * config/bfin/bfin.c (enum bfin_builtins): Add BFIN_BUILTIN_LOADBYTES.
779         (bfin_init_builtins): Initialize it.
780         (bdesc_1arg): Add it.
782 2008-05-15  Sa Liu  <saliu@de.ibm.com>
784         * testsuite/gfortran.dg/c_kind_int128_test1.f03: New.
785         * testsuite/gfortran.dg/c_kind_int128_test2.f03: New.
786         * testsuite/lib/target-supports.exp: Add
787         check_effective_target_fortran_integer_16.
789 2008-05-15  Bernd Schmidt  <bernd.schmidt@analog.com>
791         * config/bfin/bfin.h (TARGET_RETURN_IN_MEMORY): Don't define here.
792         * config/bfin/bfin-protos.h (bfin_return_in_memory): Don't declare.
793         * config/bfin/bfin.c (bfin_return_in_memory): Now static.  Return bool.
794         (TARGET_RETURN_IN_MEMORY): Define.
796 2008-05-15  Richard Guenther  <rguenther@suse.de>
798         PR middle-end/36244
799         * tree-ssa-alias.c (new_type_alias): Do not set TREE_READONLY.
800         * tree-flow-inline.h (unmodifiable_var_p): Memory tags never
801         represent unmodifiable vars.
803 2008-05-15  Richard Guenther  <rguenther@suse.de>
805         * tree-dfa.c (refs_may_alias_p): Allow all kinds of
806         INDIRECT_REF and TARGET_MEM_REF.
807         * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle
808         TARGET_MEM_REF.
810 2008-05-15  Uros Bizjak  <ubizjak@gmail.com>
811             H.J. Lu  <hongjiu.lu@intel.com>
813         * config/i386/sse.md (*vec_concatv2sf_sse4_1): New insn pattern.
814         (*vec_concatv2si_sse4_1): Use vector_move_operand predicate
815         for operand 2.  Remove pinsr{q,d} with 0x0 immediate operand from
816         insn alternatives.  Add missing alternatives.
817         (*vec_concatv2di_rex64_sse4_1): Likewise.
818         (*vec_concatv2si_sse2): Use "x" register constraint instead of "Y2".
819         (*vec_concatv2di_rex64_sse): Rename from *vec_concatv2di_rex64.
820         Require TARGET_SSE.
822 2008-05-15  Richard Guenther  <rguenther@suse.de>
824         PR tree-optimization/36009
825         PR tree-optimization/36204
826         * tree-ssa-loop-im.c (tree-ssa-propagate.h): Include.
827         (determine_invariantness_stmt): Record the loop a store is
828         always executed in.
829         * Makefile.in (tree-ssa-loop-im.o): Add tree-ssa-propagate.h
830         dependency.
832 2008-05-15  Richard Guenther  <rguenther@suse.de>
834         PR tree-optimization/34330
835         * tree-ssa-alias.c (get_smt_for): Only assert that accesses
836         through the pointer will alias the SMT.
838 2008-05-14  Andreas Tobler  <a.tobler@schweiz.org>
840         * config/sparc/sparc.h (NO_PROFILE_COUNTERS): Define as 0.
842 2008-05-14  H.J. Lu  <hongjiu.lu@intel.com>
844         * config/i386/sse.md (*sse4_1_pinsrq): Make it 64bit only.
846 2008-05-14  Michael Meissner  <michael.meissner@amd.com>
847             Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
849         * optabs.h (optab_index): Add OTI_vashl, OTI_vlshr, OTI_vashr,
850         OTI_vrotl, OTI_vrotr to support vector/vector shifts.
851         (vashl_optab): New optab for vector/vector shifts.
852         (vashr_optab): Ditto.
853         (vlshr_optab): Ditto.
854         (vrotl_optab): Ditto.
855         (vrotr_optab): Ditto.
856         (optab_subtype): New enum for optab_for_tree_code call.
857         (optab_for_tree_code): Add enum optab_subtype argument.
859         * optabs.c (optab_for_tree_code): Take an additional argument to
860         distinguish between a vector shift by a scalar and vector shift by
861         a vector.  Make lshr/ashr/ashl/rotl/rotr optabs just vector
862         shifted by a scalar.  Use vlshr/vashr/vashl/vrotl/vrotr for the
863         vector shift by a vector.
864         (expand_widen_pattern_expr): Pass additional argument to
865         optab_for_tree_code.
867         * genopinit.c (optabs): Add vashr_optab, vashl_optab, vlshr_optab,
868         vrotl_optab, vrotr_optab.
870         * expr.c (expand_expr_real_1): Update calls to
871         optab_for_tree_code to distinguish between vector shifted by a
872         scalar and vector shifted by a vector.
873         * tree-vectorizer.c (supportable_widening_operation): Ditto.
874         (supportable_narrowing_operation): Ditto.
875         * tree-vect-analyze.c (vect_build_slp_tree): Ditto.
876         * tree-vect-patterns.c (vect_pattern_recog_1): Ditto.
877         * tree-vect-transform.c (vect_model_reduction_cost): Ditto.
878         (vect_create_epilog_for_reduction): Ditto.
879         (vectorizable_reduction): Ditto.
880         (vectorizable_operation): Ditto.
881         (vect_strided_store_supported): Ditto.
882         (vect_strided_load_supported): Ditto.
883         * tree-vect-generic.c (expand_vector_operations_1): Ditto.
884         * expmed.c (expand_shift): Ditto.
886         * doc/md.texi (ashl@var{m}3): Document that operand 2 is always a
887         scalar type.
888         (ashr@var{m}3): Ditto.
889         (vashl@var{m}3): Document new vector/vector shift standard name.
890         (vashr@var{m}3): Ditto.
891         (vlshr@var{m}3): Ditto.
892         (vrotl@var{m}3): Ditto.
893         (vrotr@var{m}3): Ditto.
895         * config/i386/i386.md (PPERM_SRC): Move PPERM masks here from i386.c.
896         (PPERM_INVERT): Ditto.
897         (PPERM_REVERSE): Ditto.
898         (PPERM_REV_INV): Ditto.
899         (PPERM_ZERO): Ditto.
900         (PPERM_ONES): Ditto.
901         (PPERM_SIGN): Ditto.
902         (PPERM_INV_SIGN): Ditto.
903         (PPERM_SRC1): Ditto.
904         (PPERM_SRC2): Ditto.
906         * config/i386/sse.md (mulv2di3): Add SSE5 support.
907         (sse5_pmacsdql_mem): New SSE5 define_and_split that temporarily
908         allows a memory operand to be the value being added, and split it
909         to improve vectorization.
910         (sse5_pmacsdqh_mem): Ditto.
911         (sse5_mulv2div2di3_low): SSE5 32-bit multiply and extend function.
912         (sse5_mulv2div2di3_high): Ditto.
913         (vec_pack_trunc_v8hi): Add SSE5 pperm support.
914         (vec_pack_trunc_v4si): Ditto.
915         (vec_pack_trunc_v2di): Ditto.
916         (sse5_pcmov_<mode>): Remove code that tried to use use
917         andps/andnps instead of pcmov.
918         (vec_widen_smult_hi_v4si): If we have SSE5, use the pmacsdql and
919         pmacsdqh instructions.
920         (vec_widen_smult_lo_v4si): Ditto.
922         * config/i386/i386.c (PPERM_SRC): Move PPERM masks to i386.md.
923         (PPERM_INVERT): Ditto.
924         (PPERM_REVERSE): Ditto.
925         (PPERM_REV_INV): Ditto.
926         (PPERM_ZERO): Ditto.
927         (PPERM_ONES): Ditto.
928         (PPERM_SIGN): Ditto.
929         (PPERM_INV_SIGN): Ditto.
930         (PPERM_SRC1): Ditto.
931         (PPERM_SRC2): Ditto.
932         (ix86_expand_sse_movcc): Move the SSE5 test after the if
933         true/false tests.
934         (ix86_expand_int_vcond): If SSE5 generate all possible integer
935         comparisons.
936         (ix86_sse5_valid_op_p): Allow num_memory to be negative, which
937         says ignore whether the last reference is a memory operand.
939 2008-05-14  Michael Meissner  <michael.meissner@amd.com>
940             Paolo Bonzini <bonzini at gnu dot org>
942         * config/rs6000/rs6000.c (bdesc_2arg): Change the names of vector
943         shift patterns.
945         * config/rs6000/altivec.md (vashl<mode>3): Rename from ashl<mode>3.
946         (vlshr<mode>3): Rename from vlshr<mode>3.
947         (vashr<mode>3): Rename from vashr<mode>3.
948         (mulv4sf3): Change the names of vector shift patterns.
949         (mulv4si3): Ditto.
950         (negv4sf2): Ditt.
952         * config/spu/spu.c (spu_initialize_trampoline): Rename vector
953         shift insns.
955         * config/spu/spu-builtins.def (SI_SHLH): Rename vector shift insns.
956         (SI_SHLHI): Ditto.
957         (SI_SHL): Ditto.
958         (SI_SHLI): Ditto.
959         (SI_ROTH): Ditto.
960         (SI_ROTHI): Ditto.
961         (SI_ROT): Ditto.
962         (SI_ROTI): Ditto.
963         (SPU_RL_0): Ditto.
964         (SPU_RL_1): Ditto.
965         (SPU_RL_2): Ditto.
966         (SPU_RL_3): Ditto.
967         (SPU_RL_4): Ditto.
968         (SPU_RL_5): Ditto.
969         (SPU_RL_6): Ditto.
970         (SPU_RL_7): Ditto.
971         (SPU_SL_0): Ditto.
972         (SPU_SL_1): Ditto.
973         (SPU_SL_2): Ditto.
974         (SPU_SL_3): Ditto.
975         (SPU_SL_4): Ditto.
976         (SPU_SL_5): Ditto.
977         (SPU_SL_6): Ditto.
978         (SPU_SL_7): Ditto.
980         * config/spu/spu.md (v): New iterator macro to add v for vector types.
981         (floatunssidf2_internal): Change vector/vector shift names.
982         (floatunsdidf2_internal): Ditto.
983         (mulv8hi3): Ditto.
984         (ashrdi3): Ditto.
985         (ashrti3): Ditto.
986         (cgt_df): Ditto.
987         (cgt_v2df): Ditto.
988         (dftsv): Ditto.
989         (vashl<mode>3): Rename from ashl<mode>3.
990         (vashr<mode>3): Rename from ashr<mode>3.
991         (vlshr<mode>3): Rename from lshr<mode>3.
992         (vrotl<mode>3): Rename from rotl<mode>3.
994 2008-05-14  Michael Meissner  <michael.meissner@amd.com>
996         PR target/36224
997         * config/i386/sse.md (vec_widen_smult_hi_v4si): Delete, using unsigned
998         multiply gives the wrong value when doing widening multiplies.
999         (vec_widen_smult_lo_v4si): Ditto.
1001 2008-05-14  Kenneth Zadeck <zadeck@naturalbridge.com>
1003         * optabs.c (prepare_cmp_insn): Changed LCT_PURE_MAKE_BLOCK to
1004         LCT_PURE and LCT_CONST_MAKE_BLOCK to LCT_CONST in calls to
1005         emit_library_call_value. 
1006         * builtins.c (expand_builtin_powi, expand_builtin_memcmp): Ditto.
1007         * tree.h (ECF_LIBCALL_BLOCK): Removed.
1008         * calls.c (initialize_argument_information, precompute_arguments, 
1009         expand_call, emit_library_call_value_1): Remove ECF_LIBCALL_BLOCK.
1010         (precompute_arguments): Removed flags parameter.
1011         * rtl.h (LCT_CONST_MAKE_BLOCK, LCT_PURE_MAKE_BLOCK): Removed.
1012         
1013 2008-05-14  Richard Guenther  <rguenther@suse.de>
1015         * tree-ssa-dse.c (dse_possible_dead_store_p): Remove dead code.
1016         Make sure to register the store if the use is a PHI_NODE.
1018 2008-05-14  Olivier Hainque  <hainque@adacore.com>
1020         * expr.c (expand_expr_real_1) <normal_inner_ref>: Force op0 to
1021         memory if the component is to be referenced in BLKmode according
1022         to get_inner_reference.
1024 2008-05-14  Adam Nemet  <anemet@caviumnetworks.com>
1026         * calls.c (emit_library_call_value_1): Restore code clearing
1027         ECF_LIBCALL_BLOCK to ensure that we only call end_sequence once.
1029 2008-05-14  Olivier Hainque  <hainque@adacore.com>
1030             Nicolas Roche  <roche@adacore.com>
1032         * configure.ac: Add support for a "gcc_subdir" variable in
1033         config-lang.in, to denote a subdirectory where the language/GCC
1034         integration files are to be found.
1035         * configure: Regenerate.
1037 2008-05-14  Ira Rosen  <irar@il.ibm.com>
1039         PR tree-optimization/36098
1040         * tree-vect-analyze.c (vect_analyze_group_access): Set the gap
1041         value for the first load in the group in case of a gap.
1042         (vect_build_slp_tree): Check that there are no gaps in loads.
1044 2008-05-14  Kenneth Zadeck <zadeck@naturalbridge.com>
1046         * doc/rtl.texi: Removed reference to REG_NO_CONFLICT notes.
1047         * optabs.c (expand_binop, expand_absneg_bit, expand_unop,
1048         expand_copysign_bit, ): Change call to emit_no_conflict_block to
1049         emit_insn and remove unneeded code to construct extra args.
1050         (emit_no_conflict_block): Removed.
1051         * optabls.h: (emit_no_conflict_block): Removed.
1052         * cse.c (cse_extended_basic_block): Remove search for
1053         REG_NO_CONFLICT note.
1054         * global.c: Removed incorrect comment added in revision 117.
1055         * expr.c (convert_move): Change call to emit_no_conflict_block to
1056         emit_insn.
1057         * recog.c: Change comments so that they do not mention
1058         REG_NO_CONFLICT.
1059         * local_alloc.c (combine_regs): Removed last parameter.
1060         (no_conflict_p): Removed.
1061         (block_alloc): Removed note, no_conflict_combined_regno and set
1062         local vars. Removed all code to process REG_NO_CONFLICT blocks.
1063         (combine_regs): Removed already_dead and code to look for
1064         REG_NO_CONFLICT notes.
1065         * lower_subreg (remove_retval_note): Removed code to look for
1066         REG_NO_CONFLICT block.
1067         (resolve_reg_notes): Removed REG_NO_CONFLICT case.
1068         (resolve_clobber): Remove code to process libcalls that have
1069         REG_NO_CONFLICT notes.
1070         * loop_invariant.c (find_invariant_insn): Removed REG_NO_CONFLICT
1071         case.
1072         * combine.c (can_combine_p, distribute_notes):  Removed
1073         REG_NO_CONFLICT case.
1074         * config/cris/cris.md (movdi pattern): Changed emit_no_conflict_block
1075         to emit_insns.
1076         * config/mn10300/mn10300.md (absdf2, negdf2 patterns): Ditto.
1077         * config/m68k/m68k.md (negdf2, negxf2, absdf2, absxf2 patterns):
1078         Ditto.
1079         * reg-notes.def (NO_CONFLICT): Removed.
1081 2008-05-14  David S. Miller  <davem@davemloft.net>
1083         * config/sparc/sparc.c (sparc_profile_hook): If
1084         NO_PROFILE_COUNTERS, don't generate and pass a label into mcount.
1085         * config/sparc/linux.h (NO_PROFILE_COUNTERS): Define as 1.
1086         * config/sparc/linux64.h (NO_PROFILE_COUNTERS): Likewise.
1088 2008-05-14  Andreas Krebbel  <krebbel1@de.ibm.com>
1090         * cse.c (cse_cc_succs): Invoke delete_insn_and_edges.
1092 2008-05-13  Uros Bizjak  <ubizjak@gmail.com>
1094         PR target/36222
1095         * config/i386/i386.c (ix86_expand_vector_init_general): Rearrange op0
1096         and op1 expansion before vector concat to have less live pseudos.
1098 2008-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1100         * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
1101         ix86_expand_vector_set if supported.
1103 2008-05-13  Diego Novillo  <dnovillo@google.com>
1104             Kenneth Zadeck  <zadeck@naturalbridge.com>
1106         http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00748.html
1108         * tree.h (init_phinodes, fini_phinodes, release_phi_node,
1109         phinodes_print_statistics, init_ssanames, fini_ssanames,
1110         make_ssa_name, duplicate_ssa_name, duplicate_ssa_name_ptr_info,
1111         release_ssa_name, release_defs, replace_ssa_name_symbol,
1112         ssanames_print_statistics): Move ...
1113         * tree-flow.h: ... here.
1114         * tree-ssanames.c (init_ssanames): Add arguments FN and SIZE.
1115         Use FN instead of cfun.
1116         (make_ssa_name_fn): Rename from make_ssa_name.
1117         (pass_release_ssa_names): Add TODO_dump_func to finish flags.
1118         * tree-flow-inline.h (make_ssa_name): Move from
1119         tree-ssanames.c.  Convert to static inline.  Call make_ssa_name_fn.
1120         * omp-low.c (expand_omp_parallel):
1121         * tree-flow-inline.h (redirect_edge_var_map_result):
1122         * tree-ssa.c (init_tree_ssa): Add argument FN.
1123         Use it instead of cfun.  Update all users.
1125 2008-05-13  Tom Tromey  <tromey@redhat.com>
1127         PR preprocessor/22168:
1128         * doc/cpp.texi (Top): Update menu.
1129         (Alternatives to Wrapper #ifndef): New node.
1130         (Other Directives): Document deprecation.
1131         (Obsolete Features): Remove menu.
1132         (Assertions): Merge node into Obsolete Features.
1133         (Obsolete once-only headers): Move earlier; rename to Alternatives
1134         to Wrapper #ifndef.
1135         * doc/cppopts.texi: Update.
1136         * c.opt (Wdeprecated): Enable for C and ObjC.
1137         * doc/invoke.texi (Option Summary): Move -Wno-deprecated.
1138         (C++ Dialect Options): Move -Wno-deprecated from here to...
1139         (Warning Options): ... here.
1141 2008-05-13  Richard Guenther  <rguenther@suse.de>
1143         PR middle-end/36227
1144         * fold-const.c (fold_sign_changed_comparison): Do not allow
1145         changes in pointer-ness.
1147 2008-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
1149         PR target/24713
1150         * config/sh/sh.c (sh_expand_prologue): Don't clear
1151         RTX_FRAME_RELATED_P for push insns.
1153 2008-05-12  Andy Hutchinson  <hutchinsonandy@aim.com>
1155         * config/avr/avr.h (MAX_OFILE_ALIGNMENT): Define.
1157 2008-05-12  Anatoly Sokolov <aesok@post.ru>
1159         * config/avr/avr.h (machine_function): Add 'is_leaf' field.
1160         * config/avr/avr.c (avr_regs_to_save): Compute 'machine->is_leaf'.
1161         Use 'machine->is_leaf' instead of 'leaf_func_p'.
1163 2008-05-12  H.J. Lu  <hongjiu.lu@intel.com>
1165         * config/i386/sse.md (*sse_concatv4sf): Renamed to ...
1166         (*vec_concatv4sf_sse): This.
1167         (*sse2_concatv2si): Renamed to ...
1168         (*vec_concatv2si_sse2): This.
1169         (*sse1_concatv2si): Renamed to ...
1170         (*vec_concatv2si_sse): This.
1171         (*vec_concatv2di_rex): Renamed to ...
1172         (*vec_concatv2di_rex64): This.
1173         (*vec_concatv2si_sse4_1): New.
1174         (*vec_concatv2di_rex64_sse4_1): Likewise.
1176 2008-05-12  Uros Bizjak  <ubizjak@gmail.com>
1178         PR rtl-optimization/36111
1179         * recog.c (validate_replace_rtx_1): Unshare new RTL expression
1180         that was created for swappable operands.
1182 2008-05-12  Samuel Tardieu  <sam@rfc1149.net>
1184         PR ada/36001
1185         * Makefile.in: Substitute GNATMAKE and GNATBIND.
1186         * configure.ac: Add call to ACX_PROG_GNAT.
1188 2008-05-11  Volker Reichelt  <v.reichelt@netcologne.de>
1190         * optc-gen.awk: Fix comment typo.
1192 2008-05-11  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1194         * pretty-print.c (pp_integer_with_precision): Use
1195         HOST_LONG_LONG_FORMAT.
1197 2008-05-10  Kenneth Zadeck  <zadeck@naturalbridge.com>
1199         * gcse.c (store_killed_in_insn): Negated call to RTL_CONST_CALL_P.
1200                 
1201 2008-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1203         * config/i386/i386.c (bdesc_ptest): Removed.
1204         (ix86_builtin_type): Add INT_FTYPE_V2DI_V2DI_PTEST.
1205         (bdesc_args): Add __builtin_ia32_ptestz128,
1206         __builtin_ia32_ptestc128 and __builtin_ia32_ptestnzc128.
1207         (ix86_init_mmx_sse_builtins): Updated.
1208         (ix86_expand_args_builtin): Handle INT_FTYPE_V2DI_V2DI_PTEST.
1209         (ix86_expand_builtin): Updated.
1211 2008-05-10  Richard Sandiford  <rdsandiford@googlemail.com>
1213         * tree-cfg.c (valid_fixed_convert_types_p): New function.
1214         (verify_gimple_expr): Handle FIXED_CONVERT_EXPR.
1216 2008-05-10  Uros Bizjak  <ubizjak@gmail.com>
1218         * value-prof.c (interesting_stringop_to_profile): Do not
1219         return early for BUILT_IN_MEMPCPY.
1221 2008-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1223         * calls.c (expand_call): Don't use callgraph to increase
1224         preferred_stack_boundary.
1226         * cgraph.h (cgraph_rtl_info): Use unsigned on
1227         preferred_incoming_stack_boundary.
1229         * final.c (rest_of_clean_state): Use unsigned on
1230         preferred_stack_boundary.
1232 2008-05-09  Tom Tromey  <tromey@redhat.com>
1234         PR preprocessor/22231:
1235         * c-opts.c (sanitize_cpp_opts): Disallow -MG if compilation is
1236         proceeding.
1238 2008-05-09  Uros Bizjak  <ubizjak@gmail.com>
1240         PR tree-optimization/36129
1241         * tree-ssa-ccp.c: Include value-prof.h.
1242         (execute_fold_all_builtins): Call gimple_remove_stmt_histograms if
1243         built-in function was folded to a constant.
1244         * Makefile.in (tree-ssa-ccp.c): Depend on value-prof.h
1246 2008-05-09  Jan Sjodin  <jan.sjodin@amd.com>
1247             Sebastian Pop  <sebastian.pop@amd.com>
1249         * tree-scalar-evolution.c: Document instantiate_scev.
1250         (instantiate_parameters_1): Renamed instantiate_scev_1.
1251         Don't use the same loop for instantiation_loop and evolution_loop.
1252         (instantiate_scev): New.
1253         (instantiate_parameters): Moved...
1254         (resolve_mixers): Update call to instantiate_scev_1 to pass the
1255         same loop twice.  Maintains the semantics for this function.
1256         * tree-scalar-evolution.h (instantiate_scev): Declare.
1257         (instantiate_parameters): ...here.  Now static inline.
1258         * tree-data-ref.c (dr_analyze_indices): Call instantiate_scev
1259         instead of resolve_mixers.
1261 2008-05-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
1263         * rtl-factoring.c (collect_pattern_seqs): Fix typo.
1265 2008-05-09  Tomas Bily  <tbily@suse.cz>
1267         * config/pa/pa.c (reloc_needed): Use CASE_CONVERT.
1268         * tree-cfg.c (verify_expr, verify_gimple_expr): Likewise.
1269         * tree-ssa-structalias.c (get_constraint_for): Likewise.
1270         * c-common.c (c_common_truthvalue_conversion): Likewise.
1271         * tree-object-size.c (compute_object_offset): Likewise.
1272         * tree-inline.c (estimate_num_insns_1): Likewise.
1273         * varasm.c (const_hash_1, compare_constant, copy_constant)
1274         (compute_reloc_for_constant, output_addressed_constants)
1275         (initializer_constant_valid_p): Likewise.
1276         * c-omp.c (check_omp_for_incr_expr): Likewise.
1277         * gimplify.c (gimplify_expr): Likewise.
1278         * c-typeck.c (c_finish_return): Likewise.
1279         * tree-vectorizer.c (supportable_widening_operation)
1280         (supportable_narrowing_operation): Likewise.
1281         * c-pretty-print.c (pp_c_cast_expression, pp_c_expression): Likewise.
1282         * matrix-reorg.c (can_calculate_expr_before_stmt): Likewise.
1283         * expr.c (highest_pow2_factor, expand_expr_real_1): Likewise.
1284         * dwarf2out.c (loc_descriptor_from_tree_1, add_bound_info)
1285         (descr_info_loc): Likewise.
1286         * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Likewise.
1287         * fold-const.c (operand_equal_p, make_range, extract_muldiv_1)
1288         (fold_unary): Likewise.
1289         * builtins.c (get_pointer_alignment): Likewise.
1290         * tree-scalar-evolution.c (interpret_rhs_modify_stmt)
1291         (instantiate_parameters_1): Likewise.
1292         * tree.c (expr_align, stabilize_reference): Likewise.
1293         * tree-pretty-print.c (dump_generic_node, op_prio): Likewise.
1294         * tree-ssa-loop-niter.c (derive_constant_upper_bound): Likewise.
1295         * convert.c (strip_float_extensions): Use CONVERT_EXPR_P.
1296         * tree-ssa-threadedge.c (simplify_control_stmt_condition): Likewise.
1297         * config/alpha/alpha.c (va_list_skip_additions): Likewise.
1298         * c-common.c (c_alignof_expr, check_function_arguments_recurse):
1299         Likewise.
1300         * tree-ssa.c (tree_ssa_useless_type_conversion): Likewise.
1301         * varasm.c (initializer_constant_valid_p, output_constant): Likewise.
1302         * tree-ssa-forwprop.c (get_prop_source_stmt, can_propagate_from)
1303         (forward_propagate_addr_expr_1, forward_propagate_addr_expr)
1304         (forward_propagate_comparison)
1305         (tree_ssa_forward_propagate_single_use_vars): Likewise.
1306         * cfgexpand.c (discover_nonconstant_array_refs_r): Likewise.
1307         * emit-rtl.c (component_ref_for_mem_expr)
1308         (set_mem_attributes_minus_bitpos): Likewise.
1309         * tree-ssa-phiopt.c (conditional_replacement): Likewise.
1310         * gimplify.c (gimplify_conversion, goa_lhs_expr_p, gimplify_expr):
1311         Likewise.
1312         * c-typeck.c (default_function_array_conversion, build_indirect_ref)
1313         (build_function_call, pointer_diff, build_compound_expr)
1314         (c_finish_return): Likewise.
1315         * tree-vect-analyze.c (vect_determine_vectorization_factor): Likewise.
1316         * matrix-reorg.c (get_inner_of_cast_expr, may_flatten_matrices_1):
1317         Likewise.
1318         * tree-ssa-ifcombine.c (recognize_single_bit_test): Likewise.
1319         * expr.c (is_aligning_offset): Likewise.
1320         * tree-ssa-alias.c (is_escape_site): Likewise.
1321         * tree-stdarg.c (va_list_counter_bump, check_va_list_escapes)
1322         (check_all_va_list_escapes): Likewise.
1323         * tree-ssa-loop-ivopts.c (determine_base_object)
1324         (determine_common_wider_type): Likewise.
1325         * dojump.c (do_jump): Likewise.
1326         * tree-ssa-sccvn.c (simplify_unary_expression): Likewise.
1327         * tree-gimple.c (is_gimple_cast): Likewise.
1328         * fold-const.c (decode_field_reference, )
1329         (fold_sign_changed_comparison, fold_unary, fold_comparison)
1330         (fold_binary): Likewise.
1331         * tree-ssa-alias-warnings.c (find_alias_site_helper)
1332         (already_warned_in_frontend_p): Likewise.
1333         * builtins.c (get_memory_rtx, fold_builtin_next_arg): Likewise.
1334         * tree.c (really_constant_p, get_unwidened): Likewise.
1335         * tree-ssa-loop-niter.c (expand_simple_operations): Likewise.
1336         * tree-ssa-loop-im.c (rewrite_bittest): Likewise.
1337         * tree-vrp.c (register_edge_assert_for_2, register_edge_assert_for_1):
1338         Likewise.
1339         * tree.h (STRIP_NOPS, STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Use
1340         CONVERT_EXPR_P.
1341         (CONVERT_EXPR_P): Define.
1342         (CASE_CONVERT): Define.
1343         
1344 2008-05-08  Kenneth Zadeck  <zadeck@naturalbridge.com>
1346         PR middle-end/36117
1347         * dce.c (deletable_insn_p): Do not delete calls if df_in_progress.
1348         (delete_unmarked_insns): When deleting a call, call
1349         delete_unreachable_blocks.
1350         * rtl.texi (RTL_CONST_CALL_P, RTL_PURE_CALL_P,
1351         RTL_CONST_OR_PURE_CALL_P, RTL_LOOPING_CONST_OR_PURE_CALL_P): Fixed doc.
1353 2008-05-08  Richard Guenther  <rguenther@suse.de>
1355         * doc/invoke.texi (-fdump-tree-salias): Remove documentation.
1356         (-ftree-salias): Likewise.
1357         (salias-max-implicit-fields): Remove param documentation.
1358         (salias-max-array-elements): Likewise.
1359         * tree-pass.h (pass_create_structure_vars): Remove.
1360         * params.h (SALIAS_MAX_IMPLICIT_FIELDS): Remove.
1361         (SALIAS_MAX_ARRAY_ELEMENTS): Likewise.
1362         * tree-ssa-alias.c (create_structure_vars): Remove.
1363         (gate_structure_vars): Likewise.
1364         (pass_create_structure_vars): Likewise.
1365         (gate_build_alias): Likewise.
1366         (pass_build_alias): Adjust to run always and dump the function.
1367         * common.opt (ftree-salias): Hide.
1368         * passes.c (init_optimization_passes): Remove
1369         pass_create_structure_vars, adjust comment.
1370         * params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): Remove.
1371         (PARAM_SALIAS_MAX_ARRAY_ELEMENTS): Likewise.
1372         * opts.c (decode_options): Do not set flag_tree_salias.
1373         (common_handle_option): Add OPT_ftree_salias to the backward
1374         compatibility section.
1376 2008-05-08  Richard Guenther  <rguenther@suse.de>
1378         * tree-flow-inline.h (var_can_have_subvars): Move ...
1379         * tree-ssa-structalias.c (var_can_have_subvars): ... here.
1380         * tree-flow.h (var_can_have_subvars): Remove.
1381         (push_fields_onto_fieldstack): Remove.
1382         (sort_fieldstack): Likewise.
1383         (struct fieldoff): Move ...
1384         * tree-ssa-structalias.c (struct fieldoff): ... here.  Remove
1385         alias_set and base_for_components fields.
1386         (sort_fieldstack): Make static.
1387         (push_fields_onto_fieldstack): Likewise.  Remove code that
1388         handles anything but RECORD_TYPEs.  Remove alias_set and
1389         base_for_components handling.
1390         (create_variable_info_for): Adjust.
1392 2008-05-08  Seongbae Park  <seongbae.park@gmail.com>
1394         * common.opt (Wframe-larger-than=): Shorten the help message
1395         to one line.
1396         * doc/invoke.texi (Wframe-larger-than=): Add more description.
1398 2008-05-08  Rafael Espindola  <espindola@google.com>
1400         * tree-complex.c (expand_complex_div_wide): Don't create CONDs that
1401         trap.
1402         * tree-gimple.c (is_gimple_condexpr): Check that the expression doesn't
1403         trap and that both operands are gimple values.
1404         (canonicalize_cond_expr_cond): Use is_gimple_condexpr.
1405         * gcc/tree-eh.c (tree_could_trap_p): Correctly detect if a comparison
1406         is a fp operation.
1408 2008-05-08  Richard Sandiford  <rsandifo@nildram.co.uk>
1410         * read-rtl.c (join_c_conditions): Return the first string if the
1411         two strings are equal.
1413 2008-05-08  Richard Sandiford  <rsandifo@nildram.co.uk>
1415         * gensupport.h (pred_data): Add a "num_codes" field.
1416         (add_predicate_code): Declare.
1417         * gensupport.c (add_predicate_code): New function.
1418         (std_pred_table): Add an "allows_const_p" field.
1419         (std_preds): Set this field for predicates that allow RTX_CONST_OBJs.
1420         Remove the (incomplete) list of such codes from the codes field.
1421         (init_predicate_table): Use add_predicate_code.  Add all
1422         RTX_CONST_OBJs if allows_const_p is true.
1423         * genrecog.c (process_define_predicate): Use add_predicate_code.
1425 2008-05-08  David Daney  <ddaney@avtrex.com>
1426             Richard Sandiford  <rsandifo@nildram.co.uk>
1427         
1428         * config/mips/mips.md (mips_expand_compare_and_swap_12): Handle
1429         special case of constant zero operands.
1430         * config/mips/mips.c (mips_expand_compare_and_swap_12): Zero extend
1431         old and new values.  Special case constant zero values.
1432         * config/mips/mips.h (MIPS_COMPARE_AND_SWAP): Skip 'sync' if compare
1433         fails.
1434         (MIPS_COMPARE_AND_SWAP_12): Handle constant zero operands.
1435         (MIPS_COMPARE_AND_SWAP_12_0): New macro.
1437 2008-05-08  Paolo Bonzini  <bonzini@gnu.org>
1439         PR target/36090
1440         * simplify-rtx.c (simplify_plus_minus): Create CONST of
1441         similar RTX_CONST_OBJ before CONST_INT.
1443 2008-05-08  Steve Ellcey  <sje@cup.hp.com>
1445         * stmt.c (expand_stack_restore): Change sa mode if needed.
1447 2008-05-08  Richard Guenther  <rguenther@suse.de>
1449         * config/i386/i386-protos.h (ix86_return_in_memory): Adjust
1450         return type to bool.
1451         (ix86_sol10_return_in_memory): Likewise.
1452         (ix86_i386elf_return_in_memory): Likewise.
1453         (ix86_i386interix_return_in_memory): Likewise.
1454         * config/i386/i386.c (ix86_return_in_memory): Likewise.
1455         (ix86_sol10_return_in_memory): Likewise.
1456         (ix86_i386elf_return_in_memory): Likewise.
1457         (ix86_i386interix_return_in_memory): Likewise.
1459 2008-05-08  Kai Tietz  <kai.tietz@onevision.com>
1461         PR bootstrap/36180
1462         * calls.c (compute_argument_block_size ): Add ATTRIBUTE_UNUSED to
1463         fndecl argument.
1464         (emit_library_call_value_1): Add ATTRIBUTE_UNUSED to variable fndecl.
1465         * target-def.h: Check that TARGET_RETURN_IN_MEMORY isn't
1466         declared in front.
1468 2008-05-08  Richard Guenther  <rguenther@suse.de>
1470         * tree-data-ref.c (dr_analyze_alias): Do not set DR_SUBVARS.
1471         * tree-data-ref.h (struct dr_alias): Remove subvars field.
1472         (DR_SUBVARS): Remove.
1473         * tree-dfa.c (dump_subvars_for): Remove.
1474         (debug_subvars_for): Likewise.
1475         (dump_variable): Do not dump subvars.
1476         (remove_referenced_var): Do not remove subvars.
1477         * tree-flow-inline.h (clear_call_clobbered): SFTs no longer exist.
1478         (lookup_subvars_for_var): Remove.
1479         (get_subvars_for_var): Likewise.
1480         (get_subvars_at): Likewise.
1481         (get_first_overlapping_subvar): Likewise.
1482         (overlap_subvar): Likewise.
1483         * tree-flow.h (subvar_t): Remove.
1484         (struct var_ann_d): Remove subvars field.
1485         * tree-ssa-alias.c (mark_aliases_call_clobbered): Remove queued
1486         argument.  Remove special handling of SFTs.
1487         (compute_tag_properties): Likewise.
1488         (set_initial_properties): Likewise.
1489         (compute_call_clobbered): Likewise.
1490         (count_mem_refs): Likewise.
1491         (compute_memory_partitions): Likewise.
1492         (compute_flow_insensitive_aliasing): Likewise.
1493         (setup_pointers_and_addressables): Likewise.
1494         (new_type_alias): Likewise.
1495         (struct used_part): Remove.
1496         (used_portions): Likewise.
1497         (struct used_part_map): Likewise.
1498         (used_part_map_eq): Likewise.
1499         (used_part_map_hash): Likewise.
1500         (free_used_part_map): Likewise.
1501         (up_lookup): Likewise.
1502         (up_insert): Likewise.
1503         (get_or_create_used_part_for): Likewise.
1504         (create_sft): Likewise.
1505         (create_overlap_variables_for): Likewise.
1506         (find_used_portions): Likewise.
1507         (create_structure_vars): Likewise.
1508         * tree.def (STRUCT_FIELD_TAG): Remove.
1509         * tree.h (MTAG_P): Adjust.
1510         (struct tree_memory_tag): Remove base_for_components and
1511         unpartitionable flags.
1512         (struct tree_struct_field_tag): Remove.
1513         (SFT_PARENT_VAR): Likewise.
1514         (SFT_OFFSET): Likewise.
1515         (SFT_SIZE): Likewise.
1516         (SFT_NONADDRESSABLE_P): Likewise.
1517         (SFT_ALIAS_SET): Likewise.
1518         (SFT_UNPARTITIONABLE_P): Likewise.
1519         (SFT_BASE_FOR_COMPONENTS_P): Likewise.
1520         (union tree_node): Remove sft field.
1521         * alias.c (get_alias_set): Remove special handling of SFTs.
1522         * print-tree.c (print_node): Remove handling of SFTs.
1523         * tree-dump.c (dequeue_and_dump): Likewise.
1524         * tree-into-ssa.c (mark_sym_for_renaming): Likewise.
1525         * tree-nrv.c (dest_safe_for_nrv_p): Remove special handling of SFTs.
1526         * tree-predcom.c (set_alias_info): Do not set subvars.
1527         * tree-pretty-print.c (dump_generic_node): Do not handle SFTs.
1528         * tree-ssa-loop-ivopts.c (get_ref_tag): Likewise.
1529         * tree-ssa-operands.c (access_can_touch_variable): Likewise.
1530         (add_vars_for_offset): Remove.
1531         (add_virtual_operand): Remove special handling of SFTs.
1532         (add_call_clobber_ops): Likewise.
1533         (add_call_read_ops): Likewise.
1534         (get_asm_expr_operands): Likewise.
1535         (get_modify_stmt_operands): Likewise.
1536         (get_expr_operands): Likewise.
1537         (add_to_addressable_set): Likewise.
1538         * tree-ssa.c (verify_ssa_name): Do not handle SFTs.
1539         * tree-tailcall.c (suitable_for_tail_opt_p): Likewise.
1540         * tree-vect-transform.c (vect_create_data_ref_ptr): Do not set subvars.
1541         * tree.c (init_ttree): Remove STRUCT_FIELD_TAG initialization.
1542         (tree_code_size): Remove STRUCT_FIELD_TAG handling.
1543         (tree_node_structure): Likewise.
1544         * tree-ssa-structalias.c (set_uids_in_ptset): Remove special
1545         handling of SFTs.
1546         (find_what_p_points_to): Likewise.
1548 2008-05-08  Sa Liu  <saliu@de.ibm.com>
1550         * config/spu/spu.md: Fixed subti3 pattern.
1552 2008-05-08  Richard Guenther  <rguenther@suse.de>
1554         PR middle-end/36154
1555         * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make
1556         sure to create a representative for trailing arrays for PTA.
1558 2008-05-08  Richard Guenther  <rguenther@suse.de>
1560         PR middle-end/36172
1561         * fold-const.c (operand_equal_p): Two objects which types
1562         differ in pointerness are not equal.
1564 2008-05-08  Kai Tietz  <kai.tietz@onevision.com>
1566         * calls.c (compute_argument_block_size): Add argument tree fndecl.
1567         (OUTGOING_REG_PARM_STACK_SPACE): Add function type argument.
1568         (emit_library_call_value_1): Add new variable fndecl initialized by
1569         NULL_TREE. It should be the decl type of orgfun, but this information
1570         seems not to be available here, so it uses the default calling abi.
1571         * config/arm/arm.c (arm_return_in_memory): Add fntype argumen.
1572         * config/arm/arm.h (RETURN_IN_MEMORY): Replace RETURN_IN_MEMORY
1573         by TARGET_RETURN_IN_MEMORY.
1574         * config/i386/i386-interix.h: Likewise.
1575         * config/i386/i386.h: Likewise.
1576         * config/i386/i386elf.h: Likewise.
1577         * config/i386/ptx4-i.h: Likewise.
1578         * config/i386/sol2-10.h: Likewise.
1579         * config/i386/sysv4.h: Likewise.
1580         * config/i386/vx-common.h: Likewise.
1581         * config/cris/cris.h: Removed #if 0 clause.
1582         * config/arm/arm-protos.h (arm_return_in_memory): Add fntype argument.
1583         * config/i386/i386-protos.h (ix86_return_in_memory): Add fntype
1584         argument.
1585         (ix86_sol10_return_in_memory): Likewise.
1586         (ix86_i386elf_return_in_memory): New.
1587         (ix86_i386interix_return_in_memory): New.
1588         * config/mt/mt-protos.h (mt_return_in_memory): New.
1589         * config/mt/mt.c: Likewise.
1590         * config/mt/mt.h (OUTGOING_REG_PARM_STACK_SPACE): Add FNTYPE argument.
1591         (RETURN_IN_MEMORY):  Replace by TARGET_RETURN_IN_MEMORY.
1592         * config/bfin/bfin.h: Likewise.
1593         * config/bfin/bfin-protos.h (bfin_return_in_memory): Add fntype
1594         argument.
1595         * config/bfin/bfin.c: Likewise.
1596         * config/pa/pa.h (OUTGOING_REG_PARM_STACK_SPACE): Add FNTYPE argument.
1597         * config/alpha/unicosmk.h: Likewise.
1598         * config/i386/cygming.h: Likewise.
1599         * config/iq2000/iq2000.h: Likewise.
1600         * config/mips/mips.h: Likewise.
1601         * config/mn10300/mn10300.h: Likewise.
1602         * config/rs6000/rs6000.h: Likewise.
1603         * config/score/score.h: Likewise.
1604         * config/spu/spu.h: Likewise.
1605         * config/v850/v850.h: Likewise.
1606         * defaults.h: Likewise.
1607         * doc/tm.texi (OUTGOING_REG_PARM_STACK_SPACE): Adjust documentation.
1608         * expr.c (emit_block_move): Adjust use of
1609         OUTGOING_REG_PARM_STACK_SPACE.
1610         * function.c (STACK_DYNAMIC_OFFSET): Adjust use of
1611         OUTGOING_REG_PARM_STACK_SPACE.
1612         * targhooks.c (default_return_in_memory): Remove RETURN_IN_MEMORY.
1614 2008-05-08  Jakub Jelinek  <jakub@redhat.com>
1616         * tree-parloops.c (create_parallel_loop): Set OMP_RETURN_NOWAIT
1617         on OMP_RETURN for OMP_FOR.
1619         PR debug/35896
1620         * dwarf2out.c (dw_expand_expr, common_check): Removed.
1621         (fortran_common): New function.
1622         (gen_variable_die): Call fortran_common instead of common_check,
1623         adjust for it returning tree instead of rtx.  Formatting.
1625 2008-05-07  Kenneth Zadeck  <zadeck@naturalbridge.com>
1627         PR rtl/7335
1628         PR rtl/33826
1629         * see.c (see_copy_insn): Copy new pure const attributes for new call.
1630         * c-decl.c (merge_decls): Ditto.
1631         * postreload.c (record_opr_changes): Change CONST_OR_PURE_CALL_P
1632         to RTL_CONST_OR_PURE_CALL_P.
1633         * tree.c (define_local_buitin): Rename DECL_IS_PURE to DECL_PURE_P.
1634         Initialized DECL_LOOPING_CONST_PURE.
1635         (process_call_operands): Set tree_side_effects properly.
1636         * tree.h (TREE_READONLY_DECL_P): Removed.
1637         (DECL_IS_PURE): Renamed to DECL_PURE_P.
1638         (DECL_LOOPING_OR_CONST_P): New macro.
1639         (struct tree_function_decl): Added looping_const_or_pure_p.
1640         (ECF_*) Renumbered.
1641         (ECF_LOOPING_OR_CONST_P): New macro.
1642         * rtlanal.c (pure_const_p): Removed.
1643         * builtins.c (expand_builtin): Rename DECL_IS_PURE to DECL_PURE_P.
1644         * reorg.c (delete_prior_computation) Changed CONST_OR_PURE_CALL_P
1645         to RTL_CONST_CALL_P.
1646         * ipa-pure-const.c (pure_const_state_e): Added looping field.
1647         (check_decl, check_tree, check_call, scan_function): Initialize
1648         looping.
1649         (analyze_function): Rename DECL_IS_PURE to DECL_PURE_P.
1650         (static_execute): Set looping true for recursive functions.
1651         Undo setting state to IPA_NEITHER for recursive functions.
1652         * cse.c (cse_insn): 
1653         * ifcvt.c (noce_can_store_speculate_p): Changed
1654         CONST_OR_PURE_CALL_P and pure_call_p to RTL_CONST_CALL_P or 
1655         RTL_CONST_OR_PURE_CALL_P.
1656         * dse.c (scan_insn): Ditto.
1657         * local-alloc.c (validate_equiv_mem, memref_used_between_p): Ditto.
1658         * gcse.c (oprs_not_seen_p) Changed CONST_OR_PURE_CALL_P to
1659         RTL_CONST_OR_PURE_CALL_P.
1660         (store_killed_in_insn): Changed CONST_OR_PURE_CALL_P and
1661         pure_call_p to RTL_CONST_CALL_P.
1662         * gimplify.c (gimplify_call_expr): Clear side effects for
1663         non-looping pure and constant calls.
1664         * calls.c (emit_call_1): Set rtl flags from ecf flags.
1665         (flags_from_decl_or_type): Set ecf flags from decl flags.
1666         (initialize_argument_information): Turn off
1667         ECF_LOOPING_CONST_OR_PURE when turning off ECF_CONST.
1668         Change const to pure if callee_copies is true rather than just
1669         turning off const.
1670         (expand_call): Turn off ECF_LOOPING_PURE_CONST_CALL and remove old
1671         way of marking pure calls.
1672         (emit_library_call_value_1): Turn off ECF_LOOPING_PURE_CONST_CALL.
1673         Remove hack that was supposed to fix pr7335 and remove old
1674         way of marking pure calls.
1675         * emit-rtl.c (emit_copy_of_insn_after): Copy RTL_CONST_CALL_P,
1676         RTL_PURE_CALL_P, RTL_LOOPING_CONST_OR_PURE_CALL_P.
1677         * cselib.c (cselib_process_insn): Changed CONST_OR_PURE_CALL_P to
1678         RTL_CONST_OR_PURE_CALL_P.
1679         * tree-ssa-pre.c (can_value_number_call): Fixed spacing.
1680         * loop-invariant.c (find_exits, find_invariant_bb): Changed
1681         CONST_OR_PURE_CALL_P to RTL_CONST_OR_PURE_CALL_P.
1682         * sched-deps.c (schedule_analyze): Ditto.
1683         * rtl.h (struct rtx_def): Use call field, unchanging field, and
1684         return_val field of calls to represent pure and const function info.
1685         (CONST_OR_PURE_CALL_P): Deleted macro.
1686         (RTL_CONST_CALL_P, RTL_PURE_CALL_P,
1687         RTL_LOOPING_CONST_OR_PURE_CALL_P, RTL_CONST_OR_PURE_P): New macros.
1688         * tree-inline.c (copy_body_r): Changed TREE_READONLY_DECL_P to
1689         TREE_READONLY.
1690         * tree-optimize.c (execute_fixup_cfg): Added test for
1691         ECF_LOOPING_CONST_OR_PURE.
1692         * c-common.c (handle_pure_attribute): Changed DECL_IS_PURE to
1693         DECL_PURE_P.
1694         * tree-cfg.c (update_call_expr_flags): Do not clear tree side
1695         effects for looping pure or const calls.
1696         (verify_gimple_expr): Added verification code. 
1697         * config/alpha/alpha.c (alpha_legitimize_address,
1698         alpha_emit_xfloating_libcall): Changed CONST_OR_PURE_CALL_P to
1699         RTL_CONST_CALL_P.
1700         * config/s390/s390.c (s390_emit_tls_call_insn): Ditto.
1701         * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Ditto.
1702         * config/mips/mips.c (mips_call_tls_get_addr): Ditto.
1703         * cfgrtl.c (need_fake_edge_p): Changed CONST_OR_PURE_CALL_P to
1704         RTL_CONST_OR_PURE_CALL_P.
1705         * dce.c (deletable_insn_p): Allow non looping, non sibling, pure
1706         and const calls to be deleted.
1708 2008-05-07  Uros Bizjak  <ubizjak@gmail.com>
1710         PR target/35714
1711         * config/i386/mmx.md (mmx_subv2sf3): New expander.
1712         (*mmx_subv2sf3): Rename from mmx_subv2sf3 insn pattern.
1713         (*mmx_eqv2sf3): Rename from mmx_eqv2sf3 insn pattern.
1714         (mmx_eqv2sf3): New expander.  Use ix86_fixup_binary_operands_no_copy
1715         to handle nonimmediate operands.
1716         (*mmx_paddwd): Rename from mmx_paddwd insn pattern.
1717         (mmx_paddwd): New expander.  Use ix86_fixup_binary_operands_no_copy
1718         to handle nonimmediate operands.
1719         (*mmx_pmulhrwv4hi3): Rename from mmx_pmulhrwv4hi3 insn pattern.
1720         (mmx_pmulhrwv4hi3): New expander.  Use
1721         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1722         (*sse2_umulv1siv1di3): Rename from sse2_umulv1siv1di3 insn pattern.
1723         (sse2_umulv1siv1di3): New expander.  Use
1724         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1725         (*mmx_eq<mode>3): Rename from mmx_eq<mode>3 insn pattern.
1726         (mmx_eq<mode>3): New expander.  Use
1727         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1728         (*mmx_uavgv8qi3): Rename from mmx_uavgv8qi3 insn pattern.
1729         (mmx_uavgv8qi3): New expander.  Use
1730         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1731         (*mmx_uavgv4hi3): Rename from mmx_uavgv4hi3 insn pattern.
1732         (mmx_uavgv4hi3): New expander.  Use
1733         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1735         * config/i386/sse.md
1736         (sse_movhlps_exp): New expander.  Use ix86_fixup_binary_operands
1737         to handle nonimmediate operands.
1738         (sse_movlhps_exp): New expander.  Use ix86_fixup_binary_operands
1739         to handle nonimmediate operands.
1740         (sse_loadhps_exp): New expander.  Use ix86_fixup_binary_operands
1741         to handle nonimmediate operands.
1742         (sse_loadlps_exp): New expander.  Use ix86_fixup_binary_operands
1743         to handle nonimmediate operands.
1744         (sse2_unpckhpd_exp): New expander.  Use
1745         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1746         (sse2_unpcklpd_exp): New expander.  Use
1747         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1748         (sse_loadhpd_exp): New expander.  Use ix86_fixup_binary_operands
1749         to handle nonimmediate operands.
1750         (sse_loadlpd): New expander.  Use ix86_fixup_binary_operands
1751         to handle nonimmediate operands.
1752         (*sse2_<plusminus_insn><mode>3): Rename from
1753         sse2_<plusminus_insn><mode>3 insn pattern.
1754         (sse2_<plusminus_insn><mode>3): New expander.  Use
1755         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1756         (*sse2_umulv2siv2di3): Rename from sse2_umulv2siv2di3 insn pattern.
1757         (sse2_umulv2siv2di3): New expander.  Use
1758         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1759         (*sse4_1_mulv2siv2di3): Rename from sse4_1_mulv2siv2di3 insn pattern.
1760         (sse4_1_mulv2siv2di3): New expander.  Use
1761         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1762         (*sse2_pmaddwd): Rename from sse2_pmaddwd insn pattern.
1763         (sse2_pmaddwd): New expander.  Use
1764         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1765         (*sse2_eq<mode>3): Rename from sse2_eq<mode>3 insn pattern.
1766         (sse2_eq<mode>3): New expander.  Use
1767         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1768         (*sse4_1_eqv2di3): Rename from sse4_1_eqv2di3 insn pattern.
1769         (sse4_1_eqv2di3): New expander.  Use
1770         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1771         (*sse2_uavgv16qi3): Rename from sse2_uavgv16qi3 insn pattern.
1772         (sse2_uavgv16qi3): New expander.  Use
1773         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1774         (*sse2_uavgv16qi3): Rename from sse2_uavgv16qi3 insn pattern.
1775         (sse2_uavgv16qi3): New expander.  Use
1776         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1777         (*sse2_uavgv8hi3): Rename from sse2_uavgv8hi3 insn pattern.
1778         (sse2_uavgv8hi3): New expander.  Use
1779         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1780         (*ssse3_pmulhrswv8hi3): Rename from ssse3_pmulhrswv8hi3 insn pattern.
1781         (ssse3_pmulhrswv8hi3): New expander.  Use
1782         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1783         (*ssse3_pmulhrswv4hi3): Rename from ssse3_pmulhrswv4hi3 insn pattern.
1784         (ssse3_pmulhrswv4hi3): New expander.  Use
1785         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
1787         (<sse>_vm<plusminus_insn><mode>3): Do not use ix86_binary_operator_ok.
1788         (<sse>_vmmul<mode>3): Ditto.
1789         (divv4sf3): Do not use ix86_fixup_binary_operands_no_copy.
1790         (divv2df3): Ditto.
1791         (ssse3_pmaddubsw128): Use register_operand for operand 1.
1792         (ssse3_pmaddubsw): Ditto.
1794         * config/i386/i386.c (struct_builtin_description)
1795         [IX86_BUILTIN_LOADHPS]: Use CODE_FOR_sse_loadhps_exp.
1796         [IX86_BUILTIN_STOREHPS]: Use CODE_FOR_sse_loadlps_exp.
1797         [IX86_BUILTIN_LOADHPD]: Use CODE_FOR_sse2_loadhpd_exp.
1798         [IX86_BUILTIN_LOADLPD]: Use CODE_FOR_sse2_loadlpd_exp.
1799         [IX86_BUILTIN_MOVHLPS]: Use CODE_FOR_sse_movhlps_exp.
1800         [IX86_BUILTIN_MOVLHPS]: Use CODE_FOR_sse_movlhps_exp.
1801         [IX86_BUILTIN_UNPCKHPD]: Use FOR_sse2_unpckhpd_exp.
1802         [IX86_BUILTIN_UNPCKLPD]: Use FOR_sse2_unpcklpd_exp.
1803         (ix86_fixup_binary_operands): Assert that src1
1804         and src2 must have the same mode when swapped.
1805         (ix86_expand_binop_builtin): Do not use ix86_fixup_binary_operands
1806         and ix86_binary_operator_ok.  Do not force operands in registers
1807         when optimizing.
1809 2008-05-07  Jan Hubicka  <jh@suse.cz>
1811         * cgraph.c (dump_cgraph_node): Update.
1812         * cgraph.h (cgraph_local_info): Break out inline summary.
1813         * cgraphunit.c (cgraph_process_new_functions): Use inliner analysis
1814         hook.
1815         * ipa-inline (inline_summary): New accestor function.
1816         (cgraph_clone_inlined_nodes, cgraph_check_inline_limits,
1817         cgraph_decide_inlining, compute_inline_parameters): Update.
1818         * ipa.c (cgraph_remove_unreachable_nodes): Remove statistics.
1820 2008-05-07  Maxim Kuvyrkov  <maxim@codesourcery.com>
1822         Cleanup ColdFire scheduling support and add V4 pipeline model.
1824         * config/m68k/m68k.md (UNSPEC_TIE): New constant.
1825         (define_attr cpu): Add cfv4 value.
1826         (define_attr type, define_attr type1): Merge into a single 'type'
1827         attribute.  Update all uses.
1828         (define_attr opx_type, define_attr opy_type, define_attr opx_access):
1829         Rearrange and update.  Rename value 'reg' to 'Rn', add value 'FPn'.
1830         Update all uses.
1831         (define_attr opx_mem, define_attr opy_mem): Remove.
1832         (define_attr op_mem): Clean up, update comment.
1833         (define_attr size): Use specific values instead of general int.
1834         (define_attr guess, define_attr split): Remove.  Update all uses.
1835         (movdf_internal, tstsi_internal, tsthi_internal, tstqi_internal,
1836         tst<mode>_68881, pushexthisi_const, movsi_const0_68000_10,
1837         movsi_const0_68040_60, movsi_const0, movsi_cf, movstrictqi_cf,
1838         zero_extendhisi2_cf, zero_extendqisi2_cfv4, cfv4_extendhisi2,
1839         68k_extendhisi2, extendqihi2, cfv4_extendqisi2, 68k_extendqisi2,
1840         floatsi<mode>2_68881, ftrunc<mode>2_68881, ftrunc<mode>2_cf,
1841         fix<mode>qi2_68881, fix<mode>hi2_68881, fix<mode>si2_68881,
1842         adddi_dishl32, addsi3_5200, add<mode>3_floatsi_68881,
1843         add<mode>3_floathi_68881, add<mode>3_floatqi_68881,
1844         add<mode>3_68881, add<mode>3_cf, subdi_dishl32, subsi3,
1845         sub<mode>3_floatsi_68881, sub<mode>3_floathi_68881,
1846         sub<mode>3_floatqi_68881, sub<mode>3_68881, sub<mode>3_cf,
1847         mulhi3, mulhisi3, mulhisisi3_s, mulsi3_68020, mulsi3_cf,
1848         umulhisi3, mulhisisi3_z, mul<mode>3_floatsi_68881,
1849         mul<mode>3_floathi_68881, mul<mode>3_floatqi_68881, fmul<mode>3_cf,
1850         div<mode>3_cf, sqrt<mode>2_cf, abs<mode>2_cf, clzsi2,
1851         one_cmplsi2_5200, subreghi1ashrdi_const32, ashrsi3, lshrsi3,
1852         bsetmemqi, bsetmemqi_ext, bclrmemqi, bclrmemqi_ext,
1853         beq, bne, bgt, blt, bordered, bunordered, buneq, bunge, bungt, bunle,
1854         bunlt, bltgt, tablejump_internal, call, non_symbolic_call_value,
1855         symbolic_call_value_jsr, symbolic_call_value_bsr, link):
1856         Update or set attributes.
1857         (stack_tie): New fake instruction.
1859         * config/m68k/m68k.h (TUNE_CFV4): New macro.
1860         (m68k_sched_attr_size): Update declaration.
1861         (m68k_sched_attr_type2): Remove.
1862         (m68k_sched_address_bypass_p, m68k_sched_indexed_address_bypass_p):
1863         Declare new bypass predicates.
1865         * config/m68k/m68k.c (m68k_sched_issue_rate,
1866         m68k_sched_first_cycle_multipass_dfa_lookahead): Declare hook
1867         implementations.
1868         (TARGET_SCHED_ISSUE_RATE,
1869         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Override hooks.
1870         (override_options): Handle scheduling for ColdFire V4 core.
1871         (m68k_expand_prologue): Emit stack_tie.
1872         (enum attr_op_type): Split value 'OP_TYPE_REG' to 'OP_TYPE_RN' and
1873         'OP_TYPE_FPN'.  Update all uses.
1874         (sched_guess_p): Remove.
1875         (sched_address_type): Handle symbolic addresses.
1876         (sched_get_operand): New static function.
1877         (sched_operand_type): Merge into sched_attr_op_type.
1878         (sched_attr_op_type): Handle FP registers, handle quick constants,
1879         update.
1880         (m68k_sched_attr_opx_type, m68k_sched_attr_opy_type): Update.
1881         (m68k_sched_attr_size): Update.  Move logic to ...
1882         (sched_get_attr_size_int): New static function.
1883         (sched_get_opxy_mem_type): New static function.
1884         (m68k_sched_attr_op_mem): Update.
1885         (m68k_sched_attr_type2): Remove.
1886         (sched_cfv4_bypass_data): New static variable.
1887         (m68k_sched_adjust_cost): Handle ColdFire V4 bypass.
1888         (m68k_sched_issue_rate): Implement scheduler hook.
1889         (struct _sched_ib: enabled_p): New field.
1890         (m68k_sched_variable_issue): Update.  Handle V4.
1891         (SCHED_DUMP_TODO, SCHED_DUMP_DONE, SCHED_DUMP_NOTHING,
1892         sched_dump_class_func_t, sched_dump_split_class,
1893         sched_dump_dfa_guess_unit_code, sched_dump_dfa_state,
1894         sched_dump_dfa_class, m68k_sched_dump): Remove.
1895         (m68k_sched_first_cycle_multipass_dfa_lookahead): Implement scheduler
1896         hook.
1897         (m68k_sched_init_global): Remove statisctics dumping, introduce
1898         sanity check that all instructions have pipeline reservations.  Handle
1899         ColdFire V4 core.
1900         (m68k_sched_dfa_pre_advance_cycle, m68k_sched_dfa_post_advance_cycle):
1901         Handle ColdFire V4 core.
1902         (sched_mem_operand_p, sched_get_reg_operand, sched_get_mem_operand):
1903         New static functions.
1904         (m68k_sched_address_bypass_p): New bypass predicate.
1905         (sched_get_indexed_address_scale): New static function.
1906         (m68k_sched_indexed_address_bypass_p): New bypass predicate.
1908         * cf.md: Update comments.
1909         (define_attr type2): Remove.  Use 'type' attribute instead.
1910         Update all uses.
1911         (cf_ib): Rename to cfv123_ib.  Update all uses.
1912         (cf_oep): Rename to cfv123_oep.  Update all uses.
1913         (cf_chr): Rename to cfv123_chr.  Update all uses.
1914         (cf_mem): Rename to cfv123_mem.  Update all uses.
1915         (cf_mac): Move to more appropriate place.
1916         (cfv123_guess): New automaton and cpu_unit.
1917         (cfv123_*, cfv12_*, cfv1_*, cfv2_*, cfv3_*): Use type attribute.
1918         Update uses of 'size' attribute.  Handle before reload scheduling.
1919         (cfv123_guess): New dummy reservation for unhandled instructions.
1920         (cfv4_*): Pipeline description of ColdFire V4 core.
1921         (ignore): New reservation to handle 'ignore' type.
1923 2008-05-07  Ian Lance Taylor  <iant@google.com>
1925         PR middle-end/36013
1926         * gimplify.c (find_single_pointer_decl_1): Don't look through
1927         indirections.
1928         (find_single_pointer_decl): Adjust comments.
1930 2008-05-07  Jakub Jelinek  <jakub@redhat.com>
1932         PR middle-end/36137
1933         * fold-const.c (fold_binary): Use STRIP_SIGN_NOPS instead of
1934         STRIP_NOPS on arguments even for MIN_EXPR and MAX_EXPR.
1936         PR middle-end/36106
1937         * omp-low.c (expand_omp_atomic_pipeline): Load value using the
1938         integral type rather than floating point, then VIEW_CONVERT_EXPR
1939         to the floating point type.
1941 2008-05-07  Uros Bizjak  <ubizjak@gmail.com>
1943         * config/i386/i386.c (ix86_expand_copysign): Force non-zero constant
1944         TFmode op0 to register.
1946 2008-05-07  Alan Modra  <amodra@bigpond.net.au>
1948         * c-decl.c (grokdeclarator): Comment typo.
1950 2008-05-06  Aldy Hernandez  <aldyh@redhat.com>
1952         * tree-flow.h: Remove prototype for computed_goto_p.
1953         * tree-cfg.c (computed_goto_p): Make static.
1955 2008-05-06  H.J. Lu  <hongjiu.lu@intel.com>
1957         PR target/35657
1958         * config/i386/i386.c (contains_128bit_aligned_vector_p): Renamed to ...
1959         (contains_aligned_value_p): This.  Handle _Decimal128.
1960         (ix86_function_arg_boundary): Only align _Decimal128 to its
1961         natural boundary and handle it properly.
1963 2008-05-06  Martin Jambor  <mjambor@suse.cz>
1965         * ipa-cp.c (ipcp_method_orig_node): Renamed to ipcp_get_orig_node.
1966         (ipcp_method_is_cloned): Renamed to ipcp_node_is_clone
1967         (ipcp_method_set_orig_node): Removed.
1968         (ipcp_cval_get_cvalue_type): Removed.
1969         (ipcp_method_get_scale): Renamed to ipcp_get_node_scale.
1970         (ipcp_method_set_scale): Renamed to ipcp_set_node_scale.
1971         (ipcp_cval_set_cvalue_type): Removed.
1972         (ipcp_cval_get_cvalue): Removed.
1973         (ipcp_cval_set_cvalue): Removed.
1974         (ipcp_type_is_const): Renamed to ipcp_lat_is_const.
1975         (ipcp_cval_equal_cvalues): Renamed to ipcp_lats_are_equal
1976         (ipcp_lats_are_equal): Changed parameters to two ipcp_lattice's
1977         (ipcp_cval_meet): Renamed to ipa_lattice_meet
1978         (ipcp_cval_changed): Changed to use ipcp_lat_is_const
1979         (ipcp_method_cval): Renamed to ipcp_get_ith_lattice
1980         (ipcp_get_ith_lattice): Changed parameters.
1981         (ipcp_cval_compute): Renamed to ipcp_lattice_from_jfunc
1982         (ipcp_lattice_from_jfunc): Changed parameters.
1983         (ipcp_redirect): Local lattice pointer instead of lattice type variable.
1984         (ipcp_method_cval_print): Added temporary variable info.
1985         (ipcp_redirect): Removed already unused local variable caller.
1986         (ipcp_redirect): New temporary variable orig_callee_info
1987         (ipcp_redirect): Removed newly unused local variable callee.
1988         (ipcp_redirect): Removed (a bit confusing) local variable type.
1989         (ipcp_insert_stage): Added local variable info.
1990         (ipcp_cval_changed): Renamed to ipcp_lattice_changed, parameters 
1991         renamed too
1992         (ipcp_formal_create): Removed.
1993         (ipcp_method_cval_set): Removed.
1994         (ipcp_propagate_stage): Renamed lattice variables.
1995         (ipcp_method_cval_set_cvalue_type): Removed.
1996         (ipcp_method_cval_print): Renamed to ipcp_print_all_lattices
1997         (ipcp_print_all_lattices): Changed printed strings to refer to 
1998         lattices rather than cvals.
1999         (ipcp_method_cval_init): Renamed to ipcp_initialize_node_lattices
2000         (ipcp_propagate_const): Changed formal parameters.
2001         (build_const_val): Changed formal parameters.
2002         (ipcp_insert_stage): Removed useless variable cvalue
2003         (build_const_val): Changed formal parameters.
2004         (ipcp_method_compute_scale): Renamed to ipcp_compute_node_scale
2005         (ipcp_after_propagate): Renamed to ipcp_change_tops_to_bottom
2006         (ipcp_callsite_param_print): Renamed to ipcp_print_all_jump_functions
2007         (ipcp_profile_mt_count_print): Renamed to ipcp_print_func_profile_counts
2008         (ipcp_print_func_profile_counts): Changed string from "method" to 
2009         "function"
2010         (ipcp_profile_cs_count_print): Renamed to ipcp_print_call_profile_counts
2011         (ipcp_profile_edge_print): Renamed to ipcp_print_edge_profiles
2012         (ipcp_profile_bb_print): Renamed to ipcp_print_bb_profiles
2013         (ipcp_structures_print): Renamed to ipcp_print_all_structures
2014         (ipcp_profile_print): Renamed to ipcp_print_profile_data
2015         (ipcp_lat_is_const): Changed parameters and made inline.
2016         (ipcp_replace_map_create): Renamed to ipcp_create_replace_map
2017         (ipcp_redirect): Renamed to ipcp_need_redirect_p
2018         (ipcp_need_redirect_p): Calls ipcp_lat_is_const instead of using 
2019         the predicate condition directly
2020         (ipcp_propagate_stage): Added local variable args. Removed local
2021         variable callee.  (Both are mere code simplifications.)
2022         (ipcp_method_dont_insert_const): Renamed to
2023         ipcp_node_not_modifiable_p.
2024         (ipcp_node_not_modifiable_p): Made inline.
2025         (ipcp_cloned_create): Renamed to ipcp_init_cloned_node
2026         (ipcp_propagate_const): Renamed to ipcp_propagate_one_const
2027         (ipcp_print_all_lattices): Removed variable cvalue
2028         (ipcp_method_scale_print): Renamed to ipcp_function_scale_print
2029         Updated comments.
2031 2008-05-06  Olivier Hainque  <hainque@adacore.com>
2033         * tree-sra.c (try_instantiate_multiple_fields): Early return
2034         if field has POINTER_TYPE.
2036 2008-05-06  Kai Tietz  <kai.tietz@onevision.com>
2038         * config/i386/i386.c (output_set_got): Fix for x86_64 output_emit_asm
2039         by using 'q' specifier for instruction.
2040         (ix86_file_end): Replaced case TARGET_64BIT_MS_ABI by TARGET_64BIT.
2042 2008-05-06  Anatoly Sokolov <aesok@post.ru>
2044         * config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
2045         Change mode of zero_extract from QImode to HImode.
2046         (sign bit tests peepholes): (Ditto.).
2048 2008-05-06  Uros Bizjak  <ubizjak@gmail.com>
2050         * config/i386/mmx.md: Remove double backslashes from asm templates.
2051         (*mmx_addv2sf3): Rename from mmx_addv2sf3 insn pattern.
2052         (mmx_addv2sf3): New expander.  Use ix86_fixup_binary_operands_no_copy
2053         to handle nonimmediate operands.
2054         (*mmx_mulv2sf3): Rename from mmx_mulv2sf3 insn pattern.
2055         (mmx_mulv2sf3): New expander.  Use ix86_fixup_binary_operands_no_copy
2056         to handle nonimmediate operands.
2057         (*mmx_<code>v2sf3_finite): New insn pattern.
2058         (*mmx_<code>v2sf3): Rename from mmx_<code>v2sf3 insn pattern.
2059         (mmx_<code>v2sf3): New expander.  Use
2060         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
2061         (mmx_<plusminus_insn><mode>3): New expander.  Use
2062         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
2063         (*mmx_<plusminus_insn><mode>3): New insn pattern.
2064         (mmx_add<mode>3): Removed.
2065         (mmx_ssadd<mode>3): Ditto.
2066         (mmx_usadd<mode>3): Ditto.
2067         (mmx_sub<mode>3): Ditto.
2068         (mmx_sssub<mode>3): Ditto.
2069         (mmx_ussub<mode>3): Ditto.
2070         (*mmx_mulv4hi3): Rename from mmx_mulv4hi3 insn pattern.
2071         (mmx_mulv4hi3): New expander.  Use ix86_fixup_binary_operands_no_copy
2072         to handle nonimmediate operands.
2073         (*mmx_smulv4hi3_highpart): Rename from mmx_smulv4hi3_highpart
2074         insn pattern.
2075         (mmx_smulv4hi3_highpart): New expander.  Use
2076         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
2077         (*mmx_umulv4hi3_highpart): Rename from mmx_umulv4hi3_highpart
2078         insn pattern.
2079         (mmx_umulv4hi3_highpart): New expander.  Use
2080         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
2081         (*mmx_<code>v4hi3): Rename from mmx_<code>v4hi3 insn pattern.
2082         (mmx_<code>v4hi3): New expander.  Use
2083         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
2084         (*mmx_<code>v8qi3): Rename from mmx_<code>v8qi3 insn pattern.
2085         (mmx_<code>v8qi3): New expander.  Use
2086         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
2087         (*mmx_<code><mode>3): Rename from mmx_<code><mode>3 insn pattern.
2088         (mmx_<code><mode>3): New expander.  Use
2089         ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
2091 2008-05-05  Jan Hubicka  <jh@suse.cz>
2093         PR tree-optimization/36118
2094         * passes.c (pass_init_dump_file): Fix dump header.
2096 2008-05-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2098         PR middle-end/36141
2099         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't create
2100         VCE for function decls.
2102 2008-05-05  H.J. Lu  <hongjiu.lu@intel.com>
2104         * config/i386/sse.md (sse2_<plusminus_insn><mode>3): Fix a typo.
2106 2008-05-05  H.J. Lu  <hongjiu.lu@intel.com>
2108         * config/i386/i386.md (sat_plusminus): New.
2109         (plusminus_insn): Likewise.
2110         (plusminus_mnemonic): Likewise.
2111         (addsub): Removed.
2112         (comm): Add ss_plus, us_plus, ss_minus and us_minus.
2113         (*<addsub><mode>3_cc_overflow): Renamed to ...
2114         (*<plusminus_insn><mode>3_cc_overflow): This.
2115         (*<addsub>si3_zext_cc_overflow): Renamed to ...
2116         (*<plusminus_insn>si3_zext_cc_overflow): This.
2118         * config/i386/sse.md (<addsub><mode>3): Renamed to ...
2119         (<plusminus_insn><mode>3): This.
2120         (*<addsub><mode>3): Renamed to ...
2121         (*<plusminus_insn><mode>3): This.
2122         (<sse>_vm<addsub><mode>3): Renamed to ...
2123         (<sse>_vm<plusminus_insn><mode>3): This.
2124         (sse3_h<addsub>v4sf3): Renamed to ...
2125         (sse3_h<plusminus_insn>v4sf3): This.
2126         (sse3_h<addsub>v2df3): Renamed to ...
2127         (sse3_h<plusminus_insn>v2df3): This.
2128         (<plusminus_insn><mode>3): New.
2129         (*<plusminus_insn><mode>3): Likewise.
2130         (sse2_<plusminus_insn><mode>3): Likewise.
2131         (add<mode>): Removed.
2132         (*add<mode>3): Likewise.
2133         (sse2_ssadd<mode>3): Likewise.
2134         (sse2_usadd<mode>3): Likewise.
2135         (sub<mode>3): Likewise.
2136         (*sub<mode>3): Likewise.
2137         (sse2_sssub<mode>3): Likewise.
2138         (sse2_ussub<mode>3): Likewise.
2140 2008-05-05  Benjamin Kosnik  <bkoz@redhat.com>
2142         * gthr-single.h: Add in required interface elements as per gthr.h.
2143         Add stub types for __gthread_key_t, __gthread_once_t. Add defines
2144         for __GTHREAD_ONCE_INIT, __GTHREAD_RECURSIVE_MUTEX_INIT.
2145         Generalize UNUSED macro. 
2146         (__gthread_once): Add.
2147         (__gthread_key_create): Add.
2148         (__gthread_key_delete): Add.
2149         (__gthread_getspecific): Add.
2150         (__gthread_setspecific): Add.
2151         
2152 2008-05-05  Andrew Pinski  <Andrew.Pinski@playstation.sony.com>
2154         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): If we have
2155         the same size types for the indirect reference on the rhs, then
2156         create a VCE.
2158 2008-05-05  Uros Bizjak  <ubizjak@gmail.com>
2160         * config/i386/i386.md
2161         (*float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit): Use only
2162         one insn template instead of template series.
2163         (*xordi_1_rex64): Ditto.
2164         (*xordi_2_rex64): Ditto.
2166 2008-05-05  Ira Rosen  <irar@il.ibm.com>
2168         PR tree-optimization/36119
2169         * tree-vect-transform.c (vectorizable_assignment): Set NCOPIES to 1
2170         in case of SLP.
2172 2008-06-04  Jan Hubicka  <jh@suse.cz>
2174         tree-optimization/36100
2175         * tree-pass.h (pass_O0_always_inline): Declare.
2176         * ipa-inline.c (inline_transform): Remove dead code.
2177         (cgraph_gate_O0_always_inline, cgraph_O0_always_inline,
2178         pass_O0_always_inline): New.
2179         * passes.c (init_optimization_passes): Add pass_O0_always_inline.
2181 2008-05-04  Kai Tietz  <kai.tietz@onevision.com>
2183         * config/i386/i386.c (x86_output_mi_thunk): Use movq alternative
2184         mnemonic in this_param move for TARGET_64BIT.
2186 2008-05-04  Uros Bizjak  <ubizjak@gmail.com>
2188         * config/i386/i386.md (*strmovsi_1): Simplify asm alternatives.
2189         (*strmovsi_rex_1): Ditto.
2190         (*strsetsi_1): Ditto.
2191         (*strsetsi_rex_1): Ditto.
2193         (add<mode>cc): Macroize expander from addqicc, addhicc, addsicc and
2194         adddicc expanders using SWI mode iterator.
2196 2008-05-04  H.J. Lu  <hongjiu.lu@intel.com>
2198         PR target/36121
2199         * config/i386/i386.c (ix86_expand_special_args_builtin): Remove three
2200         argument handling.
2202 2008-05-04  David S. Miller  <davem@davemloft.net>
2204         * config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes.
2205         (sparc*-*-linux*): Use linux.h in tm_file.
2206         (sparc-*-linux*): If 'enabled_targets' is 'all', build a bi-arch
2207         compiler defaulting to 32-bit.
2208         (sparc*-*-*): Remove explicit target settings of need_64bit_hwint,
2209         no longer needed.
2210         * config/sparc/linux.h: Remove definitions now obtained
2211         properly from linux.h
2212         * config/sparc/linux64.h: Likewise.
2213         (ASM_CPU_DEFAULT_SPEC): Change this to ASM_CPU64_DEFAULT_SPEC, we
2214         don't want this setting for 32-bit builds in a biarch compiler.
2215         * doc/install.texi: Add sparc-linux to list of targets
2216         supporting --enable-targets=all.
2218 2008-05-03  Andrew Pinski  <pinskia@gmail.com>
2220         * Makefile.in (tree-ssa-phiprop.o): Fix dependencies.
2222 2008-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2224         * config/i386/i386.c (ix86_builtin_type): Move V4SI_FTYPE_V4SF
2225         after V4SI_FTYPE_V8HI.
2226         (ix86_init_mmx_sse_builtins): Move case V4HI_FTYPE_V4HI after
2227         case V4SI_FTYPE_V2DF.
2229 2008-05-03  Kenneth Zadeck  <zadeck@naturalbridge.com>
2231         * doc/invoke.texi (max-flow-memory-locations): Removed.
2232         * params.def (PARAM_MAX_FLOW_MEMORY_LOCATIONS): Removed.
2233         
2234 2008-05-03  Richard Guenther  <rguenther@suse.de>
2236         PR middle-end/34973
2237         * opts.c (set_Wstrict_aliasing): Handle the turn-off case.
2239 2008-05-02  David S. Miller  <davem@davemloft.net>
2241         * config.gcc (need_64bit_hwint): Document libcpp dependency.
2243 2008-05-02  Simon Baldwin <simonb@google.com>
2245         PR bootstrap/36108
2246         * c-common.h (warn_array_subscript_range): Removed.
2247         * c-common.c (warn_array_subscript_range): Ditto.
2248         * tree-vrp.c (check_array_ref): Revert to ignoring arrays with size 2.
2249         * c-typeck.c (build_array_ref): Remove warn_array_subscript_range.
2251 2008-05-02  H.J. Lu  <hongjiu.lu@intel.com>
2253         * config/i386/i386.c (ix86_special_builtin_type): New.
2254         (bdesc_special_args): Likewise.
2255         (ix86_expand_special_args_builtin): Likewise.
2256         (ix86_init_mmx_sse_builtins): Updated.
2257         (ix86_expand_builtin): Updated.
2258         (ix86_expand_store_builtin): Removed.
2259         (ix86_expand_unop_builtin): Likewise.
2261         * config/i386/mm3dnow.h (__v2sf): Moved to ...
2262         * config/i386/mmintrin.h (__v2sf): Here.
2264         * config/i386/xmmintrin.h (_mm_loadh_pi): Replace __v2si with
2265         const __v2sf.
2266         (_mm_loadl_pi): Likewise.
2267         (_mm_storeh_pi): Replace __v2si with __v2sf.
2268         (_mm_storel_pi): Likewise.
2270         * doc/extend.texi: Correct __builtin_ia32_loadhps,
2271         __builtin_ia32_loadlps, __builtin_ia32_storehps,
2272         __builtin_ia32_storelps, __builtin_ia32_loadhpd and
2273         __builtin_ia32_loadlpd.
2275 2008-05-02  H.J. Lu  <hongjiu.lu@intel.com>
2277         * config/i386/i386.c (ix86_builtin_type): Add FLOAT_FTYPE_FLOAT,
2278         V4SF_FTYPE_V4SF_VEC_MERGE and V2DF_FTYPE_V2DF_VEC_MERGE.
2279         (bdesc_args): Updated.  Add scalar SSE builtins with vec_merge.
2280         (ix86_init_mmx_sse_builtins): Updated.
2281         (ix86_expand_args_builtin): Likewise.
2282         (ix86_expand_builtin): Likewise.
2283         (ix86_expand_unop1_builtin): Renamed to ...
2284         (ix86_expand_unop_vec_merge_builtin): This.
2286 2008-05-01  Jan Hubicka  <jh@suse.cz>
2288         PR bootstrap/36100
2289         * ipa-inline.c (inline_generate_summary): Make static.
2290         (inline_transform): Do not call inlining at -O0; make static.
2291         * passes.c (execute_todo): Add sanity check.
2292         (execute_one_ipa_transform_pass): Execute proper flags.
2294 2008-05-01  Eric Botcazou  <ebotcazou@adacore.com>
2296         * tree.h (TYPE_NONALIASED_COMPONENT): Expand comment.
2297         (DECL_NONADDRESSABLE_P): Likewise.
2298         * alias.c (record_component_aliases): Fix comment.
2300 2008-05-01  Simon Baldwin <simonb@google.com>
2302         * c-common.h (warn_array_subscript_range): New function.
2303         * c-common.c (warn_array_subscript_range): Ditto.
2304         * tree-vrp.c (check_array_ref): Corrected code to agree with
2305         comment, ignoring only arrays of size 0 or size 1.
2306         * c-typeck.c (build_array_ref): Call warn_array_subscript_range.
2308 2008-05-01  H.J. Lu  <hongjiu.lu@intel.com>
2310         * config/i386/i386.c (ix86_builtin_type): Replace
2311         DI_FTYPE_DI_DI_INT with V1DI2DI_FTYPE_V1DI_V1DI_INT.
2312         (bdesc_args): Updated.
2313         (ix86_init_mmx_sse_builtins): Likewise.
2314         (ix86_expand_args_builtin): Likewise.
2316         * config/i386/tmmintrin.h (_mm_alignr_pi8): Replace long long
2317         with __v1di.
2319         * doc/extend.texi: Correct __builtin_ia32_palignr.
2321 2008-05-01  H.J. Lu  <hongjiu.lu@intel.com>
2323         PR target/36095
2324         * config/i386/i386.c (bdesc_crc32): Removed.
2325         (ix86_expand_crc32): Likewise.
2326         (ix86_builtin_type): Replace V2DI2TI_FTYPE_V2DI2TI_INT with
2327         V2DI2TI_FTYPE_V2DI_INT, V2DI2TI_FTYPE_V2DI2TI_V2DI2TI_INT with
2328         V2DI2TI_FTYPE_V2DI_V2DI_INT.  Add UINT64_FTYPE_UINT64_UINT64,
2329         UINT_FTYPE_UINT_UINT, UINT_FTYPE_UINT_USHORT and
2330         UINT_FTYPE_UINT_UCHAR.
2331         (bdesc_args): Updated. Add crc32 builtins.
2332         (ix86_init_mmx_sse_builtins): Updated.
2333         (ix86_expand_args_builtin): Updated to support subreg.
2335         * doc/extend.texi: Correct __builtin_ia32_crc32di.
2337 2008-05-01  Jan Hubicka  <jh@suse.cz>
2339         * tree-pass.h (opt_pass): Add IPA_PASS.
2340         (varpool_node, cgraph_node): Forward declare.
2341         (ipa_opt_pass): Define.
2342         (pass_ipa_inline): Turn into ipa_opt_pass.
2343         (pass_apply_inline): Remove.
2344         * ipa-inline.c (pass_ipa_inline): Turn into ipa_opt_pass.
2345         (apply_inline): Turn into ....
2346         (inline_transform): ... this one.
2347         (inline_generate_summary): New function.
2348         (pass_apply_inline): Remove.
2349         * function.h (ipa_opt_pass): Forward declare structure; typedef;
2350         vector.
2351         (struct function): Add ipa_transforms_to_apply.
2352         * passes.c (register_one_dump_file): Work on IPA_PASS.
2353         (init_optimization_passes): Remove pass_inline_parameters and
2354         pass_apply_inline.
2355         (pass_init_dump_file, pass_fini_dump_file): Break out from ....
2356         (execute_one_pass) ... here; apply transforms when possible.
2357         (add_ipa_transform_pass, execute_ipa_summary_asses,
2358         execute_one_ipa_transform_pass): New.
2359         (execute_ipa_pass_list): Update for IPA_PASS type.
2361 2008-05-01  H.J. Lu  <hongjiu.lu@intel.com>
2363         * config/i386/i386.c (ix86_builtin_type): Add
2364         V2DI_FTYPE_V2DI_V16QI, V2DI_FTYPE_V2DI_UINT_UINT and
2365         V2DI_FTYPE_V2DI_V2DI_UINT_UINT.
2366         (bdesc_args): Add SSE4a builtins.
2367         (ix86_init_mmx_sse_builtins): Updated.
2368         (ix86_expand_args_builtin): Likewise.
2369         (ix86_expand_builtin): Likewise.
2371 2008-05-01  H.J. Lu  <hongjiu.lu@intel.com>
2373         * config/i386/i386.c (ix86_builtin_type): Add
2374         V8HI_FTYPE_V8HI_V8HI_COUNT, V8HI_FTYPE_V8HI_SI_COUNT,
2375         V4SI_FTYPE_V4SI_V4SI_COUNT, V4SI_FTYPE_V4SI_SI_COUNT,
2376         V4HI_FTYPE_V4HI_V4HI_COUNT, V4HI_FTYPE_V4HI_SI_COUNT,
2377         V2DI_FTYPE_V2DI_V2DI_COUNT, V2DI_FTYPE_V2DI_SI_COUNT,
2378         V2SI_FTYPE_V2SI_V2SI_COUNT, V2SI_FTYPE_V2SI_SI_COUNT,
2379         V1DI_FTYPE_V1DI_V1DI_COUNT, V1DI_FTYPE_V1DI_SI_COUNT,
2380         V8HI_FTYPE_V8HI_INT, V4SI_FTYPE_V4SI_INT, V4HI_FTYPE_V4HI_INT,
2381         V2DI2TI_FTYPE_V2DI2TI_INT, V2DI2TI_FTYPE_V2DI2TI_V2DI2TI_INT
2382         and DI_FTYPE_DI_DI_INT.
2383         (bdesc_args): Add MMX/SSE shift, shuffle and palignr builtins.
2384         (ix86_init_mmx_sse_builtins): Updated.
2385         (ix86_expand_args_builtin): Likewise.
2386         (ix86_expand_builtin): Likewise.
2387         (ix86_expand_binop_imm_builtin): Removed.
2389         * doc/extend.texi: Correct __builtin_ia32_palignr128.
2391 2008-04-30  Richard Guenther  <rguenther@suse.de>
2393         PR tree-optimization/32921
2394         * tree-ssa-loop-im.c (mem_refs_may_alias_p): Disambiguate with TBAA.
2396 2008-04-30  Richard Sandiford  <rsandifo@nildram.co.uk>
2398         * config/arm/arm.c (arm_unwind_emit): Use
2399         crtl->all_throwers_are_sibcalls instead of
2400         cfun->all_throwers_are_sibcalls.
2401         (arm_output_fn_unwind): Likewise.
2402         * config/frv/frv.c (frv_stack_info): Use crtl->uses_pic_offset_table
2403         instead of cfun->uses_pic_offset_table.
2404         (frv_expand_prologue): Likewise.
2405         (frv_frame_pointer_required): Likewise.
2406         (frv_expand_fdpic_call): Likewise.
2407         (frv_emit_movsi): Likewise.
2408         * config/iq2000/iq2000.c (iq2000_expand_prologue): Use
2409         cfun->returns_pcc_struct instead of
2410         current_function_returns_pcc_struct.
2411         * config/m32c/m32c.c (need_to_save): Use crtl->calls_eh_return
2412         instead of cfun->calls_eh_return.
2413         (m32c_pushm_popm): Likewise.
2414         * config/xtensa/xtensa.h (cfun->calls_alloca): Remove bogus
2415         "extern" declaration.
2417 2008-04-30  Richard Guenther  <rguenther@suse.de>
2419         PR tree-optimization/21636
2420         * tree-ssa-ccp.c (ccp_fold): Handle &p->x with p being a
2421         constant address.
2422         (evaluate_stmt): Print the likely value.
2423         (ccp_visit_stmt): Avoid excessive vertical spacing.
2425 2008-04-30  Rafael Espindola  <espindola@google.com>
2427         * builtins.c (fold_call_expr): Return realret.
2428         * tree-ssa-threadedge.c
2429         (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
2430         __builtin_object_size.
2432 2008-04-30  Seongbae Park  <seongbae.park@gmail.com>
2434         * gcc.c (wrapper_string): New variable.
2435         (insert_wrapper): New function.
2436         (execute): New option -wrapper.
2437         * doc/invoke.texi (Overall Options): New driver option -wrapper.
2439 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
2441         * config/rs6000/crtresgpr.asm, config/rs6000/crtresxgpr.asm,
2442         config/rs6000/crtsavgpr.asm, config/rs6000/crtresfpr.asm,
2443         config/rs6000/crtresxfpr.asm, config/rs6000/crtsavfpr.asm: Break out
2444         from...
2445         * config/rs6000/crtsavres.asm: ...here.  Remove unneeded file.
2446         * config/rs6000/e500crtres32gpr.asm, config/rs6000/e500crtres64gpr.asm,
2447         config/rs6000/e500crtres64gprctr.asm,
2448         config/rs6000/e500crtrest32gpr.asm, config/rs6000/e500crtrest64gpr.asm,
2449         config/rs6000/e500crtresx32gpr.asm, config/rs6000/e500crtresx64gpr.asm,
2450         config/rs6000/e500crtsav32gpr.asm, config/rs6000/e500crtsav64gpr.asm,
2451         config/rs6000/e500crtsav64gprctr.asm,
2452         config/rs6000/e500crtsavg32gpr.asm, config/rs6000/e500crtsavg64gpr.asm,
2453         config/rs6000/e500crtsavg64gprctr.asm: New files.
2454         * config/rs6000/t-ppccomm: Add build rules for new files.
2455         (LIB2FUNCS_STATIC_EXTRA): Add new files.
2456         * config/rs6000/t-netbsd: Add build rules for new files.
2457         (LIB2FUNCS_STATIC_EXTRA): New variable.
2458         * config/rs6000/sysv4.h (ENDFILE_SPEC): Don't include crtsavres.o
2459         (CRTSAVRES_DEFAULT_SPEC): Likewise.
2460         * config/rs6000/netbsd.h (ENDFILE_SPEC): Likewise.
2462 2008-04-30  H.J. Lu  <hongjiu.lu@intel.com>
2464         * config/i386/i386.c (ix86_builtin_type): Add
2465         FLOAT128_FTYPE_FLOAT128_FLOAT128, V16QI_FTYPE_V16QI_V16QI,
2466         V16QI_FTYPE_V8HI_V8HI, V8QI_FTYPE_V8QI_V8QI,
2467         V8QI_FTYPE_V4HI_V4HI, V8HI_FTYPE_V8HI_V8HI,
2468         V8HI_FTYPE_V16QI_V16QI, V8HI_FTYPE_V4SI_V4SI,
2469         V4SI_FTYPE_V4SI_V4SI, V4SI_FTYPE_V8HI_V8HI,
2470         V4SI_FTYPE_V4SF_V4SF, V4SI_FTYPE_V2DF_V2DF,
2471         V4HI_FTYPE_V4HI_V4HI, V4HI_FTYPE_V8QI_V8QI,
2472         V4HI_FTYPE_V2SI_V2SI, V4SF_FTYPE_V4SF_V4SF,
2473         V4SF_FTYPE_V4SF_V4SF_SWAP, V4SF_FTYPE_V4SF_V2SI,
2474         V4SF_FTYPE_V4SF_V2DF, V4SF_FTYPE_V4SF_DI,
2475         V4SF_FTYPE_V4SF_SI, V2DI_FTYPE_V2DI_V2DI,
2476         V2DI_FTYPE_V16QI_V16QI, V2DI_FTYPE_V4SI_V4SI,
2477         V2DI_FTYPE_V2DF_V2DF, V2SI_FTYPE_V2SI_V2SI,
2478         V2SI_FTYPE_V4HI_V4HI, V2SI_FTYPE_V2SF_V2SF,
2479         V2DF_FTYPE_V2DF_V2DF, V2DF_FTYPE_V2DF_V2DF_SWAP,
2480         V2DF_FTYPE_V2DF_V4SF, V2DF_FTYPE_V2DF_DI,
2481         V2DF_FTYPE_V2DF_SI, V2SF_FTYPE_V2SF_V2SF,
2482         V1DI_FTYPE_V1DI_V1DI, V1DI_FTYPE_V8QI_V8QI and
2483         V1DI_FTYPE_V2SI_V2SI.
2484         (bdesc_2arg): Moved to ...
2485         (bdesc_args): Here.
2486         (ix86_init_mmx_sse_builtins): Updated.
2487         (ix86_expand_args_builtin): Updated.  Take a pointer
2488         to const struct builtin_description.  Handle comparison
2489         builtin functions.
2490         (ix86_expand_sse_compare): Take a new argument for swapping operands.
2491         (ix86_expand_builtin): Updated.
2493         * config/i386/sse.md (ssse3_pmaddubswv8hi3): Renamed to ...
2494         (ssse3_pmaddubsw128): This.
2495         (ssse3_pmaddubswv4hi3): Renamed to ...
2496         (ssse3_pmaddubsw): This.
2498         * doc/extend.texi (__builtin_ia32_packsswb128): Correct prototype.
2499         (__builtin_ia32_packssdw128): Likewise.
2500         (__builtin_ia32_packuswb128): Likewise.
2501         (__builtin_ia32_pmaddubsw): Likewise.
2502         (__builtin_ia32_pmaddubsw128): Likewise.
2504 2008-04-30  Richard Guenther  <rguenther@suse.de>
2506         PR tree-optimization/14847
2507         * tree-ssa-ifcombine.c (get_name_for_bit_test): New helper function.
2508         (recognize_bits_test): Use it.
2509         (recognize_single_bit_test): Likewise.
2511 2008-04-30  Martin Jambor  <mjambor@suse.cz>
2513         * ipa-cp.c (ipcp_init_stage): Calls ipa_set_called_with_variable_arg
2514         instead of setting number of formal parameters to zero.
2515         (ipcp_init_stage): Do not set the number of actual parameters to zero 
2516         either.
2517         (ipcp_propagate_stage): Explicitly skipping all calls to nodes
2518         which are called with variable number of arguments.
2519         (ipcp_insert_stage): Explicitely skipping all nodes which are
2520         called with variable number of arguments.
2521         (ipcp_callsite_param_print): Skipps callsites to nodes with varaible 
2522         number of parameters.
2524         * ipa-prop.h (struct ipa_node_params): Added flag
2525         called_with_var_arguments
2526         (ipa_set_param_count): Added.  Changed sole setter to use it.
2527         (ipa_get_param_count): Added.  All readers of param_count
2528         converted to use it instead.
2529         (ipa_set_called_with_variable_arg): Added.
2530         (ipa_is_called_with_var_arguments): Added.
2531         (ipa_get_ith_param): Added.  All readers of param_decls converted
2532         to use it instead.
2533         (ipa_set_cs_argument_count): Added, sole writer to argument_count 
2534         changed to use it. 
2535         (ipa_get_cs_argument_count): Added, all readers of argument_count
2536         changed to cal it.
2537         (ipa_get_ith_jump_func): Added. Accessors of jump values changed 
2538         to use it.
2539         
2540         * ipa-prop.h (struct ipcp_formal): Renamed to ipcp_lattice
2541         (struct ipcp_lattice): Renamed cval_type to type
2542         (struct ipa_node_params): ipcp_cval renamed to ipcp_lattices
2544         * ipa-cp.c (ipcp_cval_get_cvalue): Changed return value to tree
2545         (ipcp_cval_set_cvalue): Changed type of parameter value to tree
2546         (ipcp_insert_stage): Changed the type of variable cvalue to tree
2547         (ipcp_replace_map_create): Changed the type of parameter cvalue to tree
2548         (build_const_val): Changed the type of parameter cvalue to tree
2549         (ipcp_propagate_const): Changed the type of parameter cvalue to tree
2550         (ipcp_method_cval_set_cvalue_type): Renamed parameter cval_type1 to type
2551         
2552         * ipa-prop.h (struct ipcp_formal): Replaced cvalue with tree called 
2553         constant 
2555         * ipa-prop.c (ipa_methodlist_init): Renamed to ipa_init_func_list
2556         (ipa_methodlist_not_empty): Removed, the sole user now checks directly
2557         (ipa_add_method): Renamed to ipa_push_func_to_list
2558         (ipa_remove_method): Renamed to ipa_pop_func_from_list
2559         (ipa_callsite_param_count): Removed.
2560         (ipa_callsite_param_count_set): Removed.
2561         (ipa_callsite_param): Removed.
2562         (ipa_callsite_callee): Removed.
2563         (ipa_callsite_compute_param): Renamed to ipa_compute_jump_functions
2564         (ipa_callsite_compute_count): Renamed to ipa_count_arguments
2565         (ipa_method_formal_count): Removed.
2566         (ipa_method_formal_count_set): Removed.
2567         (ipa_method_get_tree): Removed.
2568         (ipa_method_tree_map_create): Removed.
2569         (ipa_method_compute_tree_map): Renamed to ipa_create_param_decls_array
2570         (ipa_create_param_decls_array): Creates the array itself
2571         (ipa_create_param_decls_array): Temporary variable info instead of 
2572         a few dereferences.
2573         (ipa_method_formal_compute_count): Renamed to ipa_count_formal_params
2574         (ipa_method_compute_modify): Renamed to ipa_detect_param_modifications
2575         (get_type): Removed.
2576         (ipa_jf_get_info_type): Removed.
2577         (ipa_node_create): Renamed to ipa_create_node_params
2578         (ipa_free): Renamed to ipa_free_all_node_params
2579         (ipa_nodes_create): Renamed to ipa_create_all_node_params
2580         (ipa_edges_create): Renamed to ipa_create_all_edge_args
2581         (ipa_edges_free): Renamed to ipa_free_all_edge_args
2582         (ipa_nodes_free): Integrated into ipa_free_all_node_params and removed
2583         (ipa_free_all_node_params): Deallocation to jump_functions moved to 
2584         ipa_free_all_edge_args
2585         (ipa_method_tree_print): Renamed to ipa_print_all_tree_maps
2586         (ipa_method_modify_print): Renamed to ipa_print_all_params_modified
2587         (ipa_create_methodlist_node): Removed.
2588         (ipa_methodlist_method): Removed.
2589         (ipa_methodlist_method_set): Removed.
2590         (ipa_methodlist_next_method): Removed.
2591         (ipa_methodlist_next_method_set): Removed.
2592         (ipa_method_is_modified): Removed.
2593         (ipa_method_modify_create): Removed.
2594         (ipa_method_modify_init): Temporary variable info instead of a few 
2595         dereferences.
2596         (ipa_detect_param_modifications): Temporary variable info instead of 
2597         a few dereferences.
2598         (ipa_compute_jump_functions): Temporary variable info instead of 
2599         a few dereferences.
2600         (ipa_method_modify_set): Removed.
2601         (ipa_method_tree_map): Renamed to ipa_get_param_decl_index
2602         (ipa_get_param_decl_index): Now accepts struct ipa_node_params rather 
2603         than craph_node as the first parameter.
2604         (ipa_method_modify_stmt): Renamed to ipa_check_stmt_modifications
2605         (ipa_method_modify_init): Removed.
2606         (ipa_compute_jump_functions): Added a temp variable instead of 
2607         repeatadly dereferencing the cgraph_edge.aux pointer
2608         (ipa_callsite_param_set_type): Removed.
2609         (ipa_compute_jump_functions): i renamed to index and moved to 
2610         an inner block
2611         (ipa_callsite_param_set_info_type_formal): Removed.
2612         (ipa_callsite_param_set_info_type): Removed.
2613         (ipa_callsite_param_map_create): Removed.
2614         (ipa_callsite_tree): Removed.
2615         (ipa_callsite_caller): Removed.
2616         (ipa_pop_func_from_list): return_method removed to return_func
2618         * ipa-prop.h (enum cvalue_type): Renamed to ipa_lattice_type,
2619         prefixed all values with IPA_. Changed all users.
2620         (enum jump_func_type): Rnamed UNKNOWN_IPATYPE to IPA_UNKNOWN, 
2621         CONST_IPATYPE to IPA_CONST, CONST_IPATYPE_REF to IPA_CONST_REF 
2622         and FORMAL_IPATYPE IPA_PASS_THROUGH. 
2623         (union parameter_info): Renamed to jump_func_value.
2624         (union jump_func_value): Renamed value to constant
2625         (struct ipa_jump_func): Renamed info_type to value
2626         (struct ipa_node): Renamed to ipa_node_params
2627         (struct ipa_node_params): Renamed ipa_arg_num to param_count
2628         (struct ipa_node_params): Renamed ipa_param_tree to param_decls
2629         (struct ipa_node_params): Renamed ipa_mod to modified_flags
2630         (struct ipa_edge): Renamed to ipa_edge_args
2631         (struct ipa_edge_args): Renamed ipa_param_num to argument_count
2632         (struct ipa_edge_args): Renamed ipa_param_map to jump_functions
2633         (struct ipa_methodlist): Renamed to ipa_func_list
2634         (struct ipa_func_list): method_p renamed to node, next_method
2635         renamed to next
2636         (ipa_methodlist_p): Removed, switched all users to struct pointer
2637         (IS_VALID_TREE_MAP_INDEX): Renamed to IS_VALID_JUMP_FUNC_INDEX
2639 2008-04-30  Alan Modra  <amodra@bigpond.net.au>
2641         * config/rs6000/rs6000.c (ALWAYS_RESTORE_ALTIVEC_BEFORE_POP): Define.
2642         (rs6000_emit_epilogue): Use backchain to restore only when we
2643         have a large frame.  Make use of frame pointer to restore if we
2644         have one.  Handle ALWAYS_RESTORE_ALTIVEC_BEFORE_POP.
2646 2008-04-29  Paolo Bonzini  <bonzini@gnu.org>
2648         * config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
2649         Add mode to zero_extract.
2650         (sign bit tests peepholes): (Ditto.).
2652 2008-04-29  H.J. Lu  <hongjiu.lu@intel.com>
2654         * config/i386/i386.c (ix86_builtins): Replace Prescott New
2655         Instructions in comments with SSE3.
2656         (ix86_builtin_type): This.  Add FLOAT128_FTYPE_FLOAT128,
2657         INT64_FTYPE_V4SF, INT64_FTYPE_V2DF, INT_FTYPE_V16QI,
2658         INT_FTYPE_V8QI, INT_FTYPE_V4SF, INT_FTYPE_V2DF,
2659         V16QI_FTYPE_V16QI, V8HI_FTYPE_V8HI, V8HI_FTYPE_V16QI,
2660         V8QI_FTYPE_V8QI, V4SI_FTYPE_V4SI, V4SI_FTYPE_V16QI,
2661         V4SI_FTYPE_V4SF, V4SI_FTYPE_V8HI, V4SI_FTYPE_V2DF,
2662         V4HI_FTYPE_V4HI, V4SF_FTYPE_V4SF, V4SF_FTYPE_V4SI,
2663         V4SF_FTYPE_V2DF, V2DI_FTYPE_V2DI, V2DI_FTYPE_V16QI,
2664         V2DI_FTYPE_V8HI, V2DI_FTYPE_V4SI, V2DF_FTYPE_V2DF,
2665         V2DF_FTYPE_V4SI, V2DF_FTYPE_V4SF, V2DF_FTYPE_V2SI,
2666         V2SI_FTYPE_V2SI, V2SI_FTYPE_V4SF, V2SI_FTYPE_V2SF,
2667         V2SI_FTYPE_V2DF, V2SF_FTYPE_V2SF and V2SF_FTYPE_V2SI.
2668         (bdesc_sse_args): Renamed to ...
2669         (bdesc_args): This.  Add IX86_BUILTIN_PF2ID, IX86_BUILTIN_PFRCP,
2670         IX86_BUILTIN_PFRSQRT, IX86_BUILTIN_PI2FD, IX86_BUILTIN_PF2IW,
2671         IX86_BUILTIN_PSWAPDSI, IX86_BUILTIN_PSWAPDSF and
2672         IX86_BUILTIN_FABSQ.
2673         (bdesc_1arg): Moved to ...
2674         (bdesc_args): Here.
2675         (ix86_init_mmx_sse_builtins): Updated.  Replace Prescott New
2676         Instructions in comments with SSE3.
2677         (ix86_expand_sse_operands_builtin): Renamed to ...
2678         (ix86_expand_args_builtin): This.  Updated.
2679         (ix86_expand_unop1_builtin): Update comments.
2680         (ix86_expand_builtin): Updated.
2682 2008-04-29  Richard Guenther  <rguenther@suse.de>
2684         PR tree-optimization/36078
2685         * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely):
2686         Update virtual SSA form after cleaning up the CFG.
2688 2008-04-29  Richard Guenther  <rguenther@suse.de>
2690         PR middle-end/15255
2691         * fold-const.c (fold_binary): Fold (A + A) * C to A * 2*C.
2693 2008-04-29  Richard Guenther  <rguenther@suse.de>
2695         * tree-ssa-alias.c (finalize_ref_all_pointers): Remove.
2696         (compute_may_aliases): Do not call finalize_ref_all_pointers.
2697         (compute_flow_insensitive_aliasing): Do not treat
2698         PTR_IS_REF_ALL pointers special.
2699         (get_smt_for): Likewise.
2700         (may_alias_p): Re-structure.
2701         (is_escape_site): A ref-all pointer conversion is not an escape site.
2702         * tree-ssa-structalias.c (find_what_p_points_to): Do not treat
2703         PTR_IS_REF_ALL pointers special.
2704         * tree-ssa-structalias.h (struct alias_info): Remove
2705         ref_all_symbol_mem_tag field.
2706         (PTR_IS_REF_ALL): Remove.
2708 2008-04-29  Richard Guenther  <rguenther@suse.de>
2710         PR middle-end/36077
2711         * fold-const.c (extract_muldiv_1): In combining division constants
2712         make sure to never overflow.
2714 2008-04-29  Nick Clifton  <nickc@redhat.com>
2716         * doc/tm.texi (RETURN_ADDR_RTX): Fix typo.
2718 2008-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2720         PR bootstrap/35169
2721         * optc-gen.awk: Work around HP-UX/IA awk bug.
2723 2008-04-28  Danny Smith  <dannysmith@users.sourceforge.net>
2725         * config/i386/cygming-crtend.c (register_frame_ctor): Revert my
2726         2008-04-25 commit.
2728 2008-04-28  Uros Bizjak  <ubizjak@gmail.com>
2730         PR target/36073
2731         * config/i386/i386.md
2732         (*float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit):
2733         Change operand 1 predicate to nonimmediate_operand.
2735 2008-04-28  Jakub Jelinek  <jakub@redhat.com>
2737         PR debug/36060
2738         * dwarf2out.c (struct die_struct): Mark as chain_circular through
2739         die_sub field.
2740         * gengtype.c (walk_type, write_func_for_structure): Handle
2741         chain_circular.
2742         * doc/gty.texi: Document chain_circular.
2744 2008-04-28  Richard Guenther  <rguenther@suse.de>
2746         PR tree-optimization/36066
2747         * tree-vrp.c (execute_vrp): Cleanup the CFG only after finalizing
2748         SCEV and loop.
2750 2008-04-28  Uros Bizjak  <ubizjak@gmail.com>
2752         PR target/36064
2753         * config/i386/i386.md
2754         (floatdi<X87MODEF:mode>2_i387_with_xmm splitters):
2755         Use match_scratch instead of match_operand for operands 3 and 4.
2757 2008-04-27  Richard Guenther  <rguenther@suse.de>
2759         PR tree-optimization/18754
2760         PR tree-optimization/34223
2761         * tree-pass.h (pass_complete_unrolli): Declare.
2762         * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Print
2763         loop size before and after unconditionally of UL_NO_GROWTH in effect.
2764         Rewrite loop into loop closed SSA form if it is not already.
2765         (tree_unroll_loops_completely): Re-structure to iterate over
2766         innermost loops with intermediate CFG cleanups.
2767         Unroll outermost loops only if requested or the code does not grow
2768         doing so.
2769         * tree-ssa-loop.c (gate_tree_vectorize): Don't shortcut if no
2770         loops are available.
2771         (tree_vectorize): Instead do so here.
2772         (tree_complete_unroll): Also unroll outermost loops.
2773         (tree_complete_unroll_inner): New function.
2774         (gate_tree_complete_unroll_inner): Likewise.
2775         (pass_complete_unrolli): New pass.
2776         * tree-ssa-loop-manip.c (find_uses_to_rename_use): Only record
2777         uses outside of the loop.
2778         (tree_duplicate_loop_to_header_edge): Only verify loop-closed SSA
2779         form if it is available.  
2780         * tree-flow.h (tree_unroll_loops_completely): Add extra parameter.
2781         * passes.c (init_optimization_passes): Schedule complete inner
2782         loop unrolling pass before the first CCP pass after final inlining.
2784 2008-04-27  Nathan Sidwell  <nathan@codesourcery.com>
2786         * targhooks.h (default_emutls_var_fields,
2787         default_emutls_var_init): Declare.
2788         * tree.h (DECL_THREAD_LOCAL): Compare against TLS_MODEL_REAL.
2789         * target.h (struct gcc_target): Add struct emutls member.
2790         * target-def.h (TARGET_EMUTLS_GET_ADDRESS,
2791         TARGET_EMUTLS_REGISTER_COMMON, TARGET_EMUTLS_VAR_SECTION,
2792         TARGET_EMUTLS_TMPL_SECTION, TARGET_EMUTLS_VAR_PREFIX,
2793         TARGET_EMUTLS_TMPL_PREFIX, TARGET_EMUTLS_VAR_FIELDS,
2794         TARGET_EMUTLS_VAR_INIT, TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS,
2795         TARGET_EMUTLS_VAR_ALIGN_FIXED, TARGET_EMUTLS): New.
2796         (TARGET_INITIALIZER): Add TARGET_EMUTLS.
2797         * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS,
2798         BUILT_IN_EMUTLS_REGISTER_COMMON): Get name from targetm structure.
2799         * dwarf2out.c (loc_descriptor_from_tree_1): Check if emutls can
2800         emit debug information.
2801         * coretypes.h (tls_model): Add TLS_MODEL_EMULATED, TLS_MODEL_REAL.
2802         * varasm.c: Include targhooks.h.
2803         (emutls_object_section, emutls_tmpl_section): New.
2804         (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): Remove.
2805         (EMUTLS_SEPARATOR): New.
2806         (prefix_name): New.
2807         (get_emutls_object_name): New.
2808         (default_emutls_var_fields): New, broken out of ...
2809         (get_emutls_object_type): ... here.  Adjust to use target hooks.
2810         (get_emutls_init_templ_addr): Adjust to use target hooks.
2811         (emutls_decl): Adjust to use target hooks.
2812         (emutls_finish): Likewise.
2813         (default_emutls_var_init): New, broken out of ...
2814         (assemble_variable): ... here.  Adjust to use target hooks.
2815         * output.h (enum section_category): Add SECCAT_EMUTLS_VAR,
2816         SECCAT_EMUTLS_TMPL.
2817         * c-common.c (handle_section_attribute): Prevent overriding
2818         sections for emulated tls with special sections.
2819         * config/i386/i386.c (x86_64_elf_select_section): Add
2820         SECCAT_EMUTLS_VAR and SECCAT_EMUTLS_TMPL.
2821         (x86_64_elf_unique_section): Likewise.
2822         * config/vxworks.c: Include tree.h.
2823         (vxworks_emutls_var_fields, vxworks_emutls_var_init): New.
2824         (vxworks_override_options): Set TLS scheme.
2825         * doc/tm.texi (Emulated TLS): New node.
2827 2008-04-26  Simon Baldwin <simonb@google.com>
2829         PR c/35652
2830         * builtins.c (c_strlen): Suppressed multiple warnings that can occur
2831         with propagated string constants.
2833 2008-04-26  Uros Bizjak  <ubizjak@gmail.com>
2835         * config/i386/i386.md (fix_trunc<mode>_i387_fisttp_with_temp): Use 'X'
2836         constraint for operand 2 when operand 0 is memory operand.
2837         (fix_truncdi_i387_with_temp): : Use 'X' constraint for operand 4 when
2838         operand 0 is memory operand.
2839         (fix_trunc<mode>_i387_with_temp): Ditto.
2840         (*floatsi<mode>2_vector_mixed_with_temp): Use 'X' constraint for
2841         operand 2 when operand 1 is memory operand.
2842         (*float<SSEMODEI24:mode><MODEF:mode>2_mixed_with_temp): Ditto.
2843         (*floatsi<mode>2_vector_sse_with_temp): Ditto.
2844         (*float<SSEMODEI24:mode><MODEF:mode>2_sse_with_temp): Ditto.
2845         (*float<SSEMODEI24:mode><X87MODEF:mode>2_i387_with_temp): Ditto.
2846         (floatdi<X87MODEF:mode>2_i387_with_xmm): Use 'X' constraint for
2847         operands 2,3 and 4 when operand 1 is memory operand.
2848         (fistdi2_with_temp): Use 'X' constraint for operand 2 when operand 0
2849         is memory operand.
2850         (fistdi2_floor_with_temp): Ditto.
2851         (fist<mode>2_floor_with_temp): Ditto.
2852         (fistdi2_ceil_with_temp): Ditto.
2853         (fist<mode>2_ceil_with_temp): Ditto.
2854         (*truncdfsf_fast_mixed): Merge alternatives 0 and 1.
2856 2008-04-26  David Daney  <ddaney@avtrex.com>
2858         * config/mips/mips.md (UNSPEC_COMPARE_AND_SWAP_12): New
2859         unspec_volitile.
2860         (UNSPEC_SYNC_OLD_OP, UNSPEC_SYNC_NEW_OP, UNSPEC_SYNC_EXCHANGE,
2861         UNSPEC_MEMORY_BARRIER, UNSPEC_SET_GOT_VERSION,
2862         UNSPEC_UPDATE_GOT_VERSION): Renumber.
2863         (sync_compare_and_swap<mode>): New expand for QI and HI modes.
2864         (compare_and_swap_12): New insn.
2865         * config/mips/mips-protos.h (mips_expand_compare_and_swap_12): Declare.
2866         * config/mips/mips.c (mips_force_binary): New function.
2867         (mips_emit_int_order_test, mips_expand_synci_loop): Use it.
2868         (mips_expand_compare_and_swap_12): New function.
2869         * config/mips/mips.h (MIPS_COMPARE_AND_SWAP_12): New macro.
2871 2008-04-25  Jan Hubicka  <jh@suse.cz>
2873         PR testsuite/35843
2874         * cfgexpand.c (pass_expand): Turn into RTL pass.
2875         * passes.c (execute_one_pass): Do pass typechecking after execution.
2876         * tree-pass.h (pass_expand): Turn into RTL pass.
2878         * function.h (struct rtl_data): Move here fields
2879         accesses_prior_frames, calls_eh_return, saves_all_registers,
2880         has_nonlocal_goto, has_asm_statement, is_thunk,
2881         all_throwers_are_sibcalls, limit_stack, profile, uses_const_pool,
2882         uses_pic_offset_table, uses_eh_lsda, tail_call_emit,
2883         arg_pointer_save_area_init from struct function; turn into bool.
2884         (struct function): Move
2885         calls_eh_return, saves_all_registers, has_nonlocal_goto,
2886         has_asm_statement, is_thunk, all_throwers_are_sibcalls, limit_stack,
2887         profile, uses_const_pool, uses_pic_offset_table, uses_eh_lsda,
2888         tail_call_emit, arg_pointer_save_area_init
2889         into struct rtl_data.  Remove recursive_call_emit and gimplified flags.
2890         (current_function_returns_struct, current_function_returns_pcc_struct,
2891         current_function_calls_setjmp, current_function_calls_alloca,
2892         current_function_accesses_prior_frames,
2893         current_function_calls_eh_return, current_function_is_thunk,
2894         current_function_stdarg, current_function_profile,
2895         current_function_limit_stack, current_function_uses_pic_offset_table,
2896         current_function_uses_const_pool, current_function_has_nonlocal_label,
2897         current_function_saves_all_registers,
2898         current_function_has_nonlocal_goto,
2899         current_function_has_asm_statement): Remove accesor macros.
2900         * ra-conflict.c (global_conflicts): Update.
2901         * tree-tailcall.c (suitable_for_tail_opt_p): Update.
2902         (suitable_for_tail_call_opt_p): Update.
2903         * builtins.c (expand_builtin_return_addr): Update.
2904         (expand_builtin_setjmp_setup): Update.
2905         (expand_builtin_nonlocal_goto): Update.
2906         * final.c (final_start_function): Update.
2907         (profile_function): Update.
2908         (leaf_function_p): Update.
2909         (only_leaf_regs_used): Update.
2910         * df-scan.c (df_get_exit_block_use_set): Update.
2911         * dojump.c (clear_pending_stack_adjust): Update.
2912         * tree-stdarg.c (gate_optimize_stdarg): Update.
2913         * gimple-low.c (lower_function_body): Update.
2914         * global.c (compute_regsets): Update.
2915         (global_alloc): Update.
2916         * dwarf2out.c (dwarf2out_begin_prologue): Update.
2917         * expr.c (expand_assignment): Update.
2918         * dse.c (dse_step0): Update.
2919         (dse_step1): Update.
2920         * c-decl.c (store_parm_decls): Update.
2921         * local-alloc.c (combine_regs): Update.
2922         (find_free_reg): Update.
2923         * function.c (assign_parms_augmented_arg_list): Update.
2924         (assign_parm_find_data_types): Update.
2925         (assign_parms): Update.
2926         (allocate_struct_function): Update.
2927         (expand_function_start): Update.
2928         (expand_function_end): Update.
2929         (get_arg_pointer_save_area): Update.
2930         (thread_prologue_and_epilogue_insns): Update.
2931         (rest_of_match_asm_constraints): Update.
2932         * stor-layout.c (variable_size): Update.
2933         * gcse.c (gcse_main): Update.
2934         (bypass_jumps): Update.
2935         * gimplify.c (gimplify_function_tree): Update.
2936         * calls.c (emit_call_1): Update.
2937         (expand_call): Update.
2938         * bt-load.c (compute_defs_uses_and_gen): Update.
2939         * except.c (sjlj_assign_call_site_values): Update.
2940         (sjlj_emit_function_enter): Update.
2941         (can_throw_external): Update.
2942         (set_nothrow_function_flags): Update.
2943         (expand_builtin_unwind_init): Update.
2944         (expand_eh_return): Update.
2945         (convert_to_eh_region_ranges): Update.
2946         (output_function_exception_table): Update.
2947         * emit-rtl.c (gen_tmp_stack_mem): Update.
2948         * cfgexpand.c (expand_used_vars): Update.
2949         (tree_expand_cfg): Update.
2950         * cfgcleanup.c (rest_of_handle_jump): Update.
2951         * explow.c (allocate_dynamic_stack_space): Update.
2952         * varasm.c (assemble_start_function): Update.
2953         (force_const_mem): Update.
2954         (mark_constant_pool): Update.
2955         * tree-optimize.c (tree_rest_of_compilation): Update.
2956         * stack-ptr-mod.c (notice_stack_pointer_modification): Update.
2957         * tree-cfg.c (notice_special_calls): Update.
2958         (is_ctrl_altering_stmt): Update.
2959         (tree_can_make_abnormal_goto): Update.
2960         (tree_purge_dead_abnormal_call_edges): Update.
2961         * config/alpha/predicates.md: Update.
2962         * config/alpha/alpha.c (alpha_sa_mask): Update.
2963         (alpha_sa_size): Update.
2964         (alpha_does_function_need_gp): Update.
2965         (alpha_expand_prologue): Update.
2966         (alpha_start_function): Update.
2967         (alpha_output_function_end_prologue): Update.
2968         (alpha_expand_epilogue): Update.
2969         * config/frv/frv.c (frv_stack_info): Update.
2970         (frv_expand_epilogue): Update.
2971         * config/s390/s390.c (s390_regs_ever_clobbered): Update.
2972         (s390_register_info): Update.
2973         (s390_frame_info): Update.
2974         (s390_init_frame_layout): Update.
2975         (s390_can_eliminate): Update.
2976         (save_gprs): Update.
2977         * config/spu/spu.c (spu_split_immediate): Update.
2978         (need_to_save_reg): Update.
2979         (spu_expand_prologue): Update.
2980         (spu_expand_epilogue): Update.
2981         * config/sparc/sparc.md: Update.
2982         * config/sparc/sparc.c (eligible_for_return_delay): Update.
2983         (sparc_tls_got): Update.
2984         (legitimize_pic_address): Update.
2985         (sparc_emit_call_insn): Update.
2986         (sparc_expand_prologue): Update.
2987         (output_return): Update.
2988         (print_operand): Update.
2989         (sparc_function_ok_for_sibcall): Update.
2990         * config/sparc/sparc.h (EXIT_IGNORE_STACK): Update.
2991         * config/m32r/m32r.md: Update.
2992         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Update.
2993         (m32r_compute_frame_size): Update.
2994         (m32r_expand_prologue): Update.
2995         (m32r_expand_epilogue): Update.
2996         (m32r_legitimize_pic_address): Update.
2997         * config/m32r/m32r.h (FRAME_POINTER_REQUIRED): Update.
2998         * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): Update.
2999         * config/i386/i386.c (ix86_frame_pointer_required): Update.
3000         (gen_push): Update.
3001         (ix86_save_reg): Update.
3002         (ix86_compute_frame_layout): Update.
3003         (ix86_expand_prologue): Update.
3004         (ix86_expand_epilogue): Update.
3005         * config/sh/sh.c (output_stack_adjust): Update.
3006         (calc_live_regs): Update.
3007         (sh5_schedule_saves): Update.
3008         (sh_expand_prologue): Update.
3009         (sh_expand_epilogue): Update.
3010         (sh_setup_incoming_varargs): Update.
3011         (sh_allocate_initial_value): Update.
3012         (sh_get_pr_initial_val): Update.
3013         * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): Update.
3014         * config/sh/sh.md (label:): Update.
3015         * config/avr/avr.c (out_movhi_mr_r): Update.
3016         * config/crx/crx.h (enum): Update.
3017         * config/xtensa/xtensa.h (along): Update.
3018         * config/stormy16/stormy16.c Update.
3019         (xstormy16_compute_stack_layout): Update.
3020         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Update.
3021         (fr30_expand_prologue): Update.
3022         * config/cris/cris.c (cris_conditional_register_usage): Update.
3023         (cris_reg_saved_in_regsave_area): Update.
3024         (cris_initial_frame_pointer_offset): Update.
3025         (cris_simple_epilogue): Update.
3026         (cris_expand_prologue): Update.
3027         (cris_expand_epilogue): Update.
3028         (cris_expand_pic_call_address): Update.
3029         (cris_asm_output_symbol_ref): Update.
3030         (cris_asm_output_label_ref): Update.
3031         * config/cris/cris.md Update.
3032         * config/iq2000/iq2000.c (compute_frame_size): Update.
3033         (iq2000_expand_epilogue): Update.
3034         * config/mt/mt.h (save_direction): Update.
3035         * config/mn10300/mn10300.c (mn10300_function_value): Update.
3036         * config/ia64/ia64.c (ia64_compute_frame_size): Update.
3037         (ia64_secondary_reload_class): Update.
3038         * config/m68k/m68k.c (m68k_save_reg): Update.
3039         (m68k_expand_prologue): Update.
3040         (m68k_expand_epilogue): Update.
3041         (legitimize_pic_address): Update.
3042         * config/rs6000/rs6000.c (rs6000_got_register): Update.
3043         (first_reg_to_save): Update.
3044         (first_altivec_reg_to_save): Update.
3045         (compute_vrsave_mask): Update.
3046         (compute_save_world_info): Update.
3047         (rs6000_stack_info): Update.
3048         (spe_func_has_64bit_regs_p): Update.
3049         (rs6000_ra_ever_killed): Update.
3050         (rs6000_emit_eh_reg_restore): Update.
3051         (rs6000_emit_allocate_stack): Update.
3052         (rs6000_emit_prologue): Update.
3053         (rs6000_emit_epilogue): Update.
3054         (rs6000_output_function_epilogue): Update.
3055         (output_profile_hook): Update.
3056         (rs6000_elf_declare_function_name): Update.
3057         * config/rs6000/rs6000.h (rs6000_args): Update.
3058         * config/rs6000/rs6000.md: Update.
3059         * config/mcore/mcore.c (mcore_expand_prolog): Update.
3060         * config/arc/arc.c (arc_output_function_epilogue): Update.
3061         * config/arc/arc.h (FRAME_POINTER_REQUIRED): Update.
3062         * config/darwin.c (machopic_function_base_name): Update.
3063         * config/score/score3.c (score3_compute_frame_size): Update.
3064         (rpush): Update.
3065         (rpop): Update.
3066         (score3_epilogue): Update.
3067         * config/score/score7.c (score7_compute_frame_size): Update.
3068         (score7_prologue): Update.
3069         (score7_epilogue): Update.
3070         * config/score/score.h (FRAME_POINTER_REQUIRED): Update.
3071         * config/arm/linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Update.
3072         * config/arm/arm.c (use_return_insn): Update.
3073         (require_pic_register): Update.
3074         (arm_load_pic_register): Update.
3075         (arm_compute_save_reg0_reg12_mask): Update.
3076         (arm_compute_save_reg_mask): Update.
3077         (thumb1_compute_save_reg_mask): Update.
3078         (output_return_instruction): Update.
3079         (arm_output_function_prologue): Update.
3080         (arm_output_epilogue): Update.
3081         (arm_get_frame_offsets): Update.
3082         (arm_expand_prologue): Update.
3083         (thumb_pushpop): Update.
3084         (thumb_exit): Update.
3085         (thumb1_expand_prologue): Update.
3086         (thumb1_expand_epilogue): Update.
3087         (arm_unwind_emit): Update.
3088         (arm_output_fn_unwind): Update.
3089         * config/arm/arm.h (FRAME_POINTER_REQUIRED): Update.
3090         * config/arm/arm.md: Update.
3091         * config/pa/pa.md: Update.
3092         * config/pa/pa.c (legitimize_pic_address): Update.
3093         (compute_frame_size): Update.
3094         (hppa_expand_prologue): Update.
3095         (hppa_expand_epilogue): Update.
3096         (borx_reg_operand): Update.
3097         * config/pa/pa.h (FRAME_POINTER_REQUIRED): Update.
3098         (HARD_REGNO_RENAME_OK): Update.
3099         * config/mips/mips.c (mips_global_pointer): Update.
3100         (mips_save_reg_p): Update.
3101         (mips_compute_frame_info): Update.
3102         (mips_frame_pointer_required): Update.
3103         (mips_expand_prologue): Update.
3104         (mips_expand_epilogue): Update.
3105         (mips_can_use_return_insn): Update.
3106         (mips_reorg_process_insns): Update.
3107         * config/v850/v850.c (compute_register_save_size): Update.
3108         * config/mmix/mmix.h (FRAME_POINTER_REQUIRED): Update.
3109         * config/mmix/mmix.c (along): Update.
3110         (mmix_expand_epilogue): Update.
3111         * config/bfin/bfin.c (legitimize_pic_address): Update.
3112         (must_save_p): Update.
3113         (stack_frame_needed_p): Update.
3114         (add_to_reg): Update.
3115         (bfin_expand_prologue): Update.
3116         * stmt.c (expand_asm_operands): Update.
3117         * reload1.c (reload): Update.
3118         (init_elim_table): Update.
3120 2008-04-25  Bob Wilson  <bob.wilson@acm.org>
3121         
3122         * optabs.c (expand_float): Fix REG_EQUAL for UNSIGNED_FLOAT libcall.
3123         
3124 2008-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3126         * config/i386/sse.md (mov<mode>): Replace SSEMODEI with SSEMODE.
3127         (*mov<mode>_internal): Likewise.  Support V4SF and V2DF.
3128         (mov<mode>): Removed.
3129         (*movv4sf_internal): Likewise.
3130         (*movv2df_internal): Likewise.
3132 2008-04-25  Pompapathi V Gadad <Pompapathi.V.Gadad@nsc.com>
3134         * config.gcc (crx-*-elf): Remove deprecation.
3136 2008-04-25  Danny Smith  <dannysmith@users.sourceforge.net>
3138         * config/i386/cygming-crtend.c (register_frame_ctor): Register
3139         __gcc_deregister_frame with atexit.
3140         (deregister_frame_dtor): Remove.
3142 2008-04-24  Nathan Froyd  <froydnj@codesourcery.com>
3143             Nathan Sidwell  <nathan@codesourcery.com>
3145         * config/rs6000/rs6000.opt (mspe): Remove Var property.
3146         (misel): Likewise.
3147         * config/rs6000/rs6000.h (rs6000_spe): Declare.
3148         (rs6000_isel): Likewise.
3149         * config/rs6000/rs6000.c (rs6000_spe): New variable.
3150         (rs6000_isel): New variable.
3151         (rs6000_handle_option): Handle OPT_mspe and OPT_misel.
3153 2008-04-24  Jakub Jelinek  <jakub@redhat.com>
3155         PR c++/35758
3156         * c-common.c (handle_vector_size_attribute): Call
3157         lang_hooks.types.reconstruct_complex_type instead of
3158         reconstruct_complex_type.
3159         * config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): Likewise.
3160         * config/spu/spu.c (spu_handle_vector_attribute): Likewise.
3161         * langhooks.h (struct lang_hooks_for_types): Add
3162         reconstruct_complex_type hook.
3163         * langhooks-def.h (LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE): Define.
3164         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add it.
3166 2008-04-24  Richard Guenther  <rguenther@suse.de>
3168         * c-common.h (check_builtin_function_arguments): Declare.
3169         * c-common.c (validate_nargs): New function.
3170         (check_builtin_function_arguments): Likewise.
3171         * c-typeck.c (build_function_call): Call
3172         check_builtin_function_arguments.
3173         * builtins.c (fold_builtin_classify): Remove error reporting code.
3174         (fold_builtin_unordered_cmp): Likewise.
3175         (fold_builtin_1): Likewise.
3176         (fold_builtin_n): Likewise.
3178 2008-04-24  Jakub Jelinek  <jakub@redhat.com>
3180         PR tree-optimization/36008
3181         * fold-const.c (try_move_mult_to_index): If s == NULL, divide
3182         the original op1, rather than delta by step.
3184 2008-04-22  Antoniu Pop  <antoniu.pop@gmail.com>
3185             Sebastian Pop  <sebastian.pop@amd.com>
3187         * tree-parloops.c (take_address_of, eliminate_local_variables_1,
3188         eliminate_local_variables_stmt, eliminate_local_variables,
3189         separate_decls_in_loop_name, separate_decls_in_loop_stmt,
3190         separate_decls_in_loop, gen_parallel_loop): Make them work on a region
3191         of code delimited by two edges in the CFG.
3192         (separate_decls_in_loop_name): Renamed separate_decls_in_region_name.
3193         (separate_decls_in_loop_stmt): Renamed separate_decls_in_region_stmt.
3194         (separate_decls_in_loop): Renamed separate_decls_in_region.  Isolate 
3195         the case of parallelisation of reductions.
3196         (expr_invariant_in_region_p): New.
3198         * tree-flow.h (gather_blocks_in_sese_region): Declared.
3199         * tree-cfg.c (gather_blocks_in_sese_region): Extern.
3201 2008-04-24  Ira Rosen  <irar@il.ibm.com>
3202             Richard Guenther  <rguenther@suse.de>
3204         PR tree-optimization/36034
3205         * tree-vect-analyze.c (vect_analyze_group_access): SLP is
3206         incapable of dealing with loads with gaps.
3208 2008-04-24  Rafael Espindola  <espindola@google.com>
3210         * tree-flow.h (vrp_evaluate_conditional): Change signature.
3211         * tree-ssa-propagate.c (fold_predicate_in): Update call to
3212         vrp_evaluate_conditional.
3213         * tree-vrp.c (vrp_evaluate_conditional_warnv): Remove.
3214         (vrp_evaluate_conditional): Split the cond argument.
3215         (vrp_visit_cond_stmt): Use vrp_evaluate_conditional_warnv_with_ops.
3216         (simplify_stmt_for_jump_threading): Update call to
3217         vrp_evaluate_conditional.
3219 2008-04-24  Ira Rosen  <irar@il.ibm.com>
3221         PR tree-optimization/35982
3222         * tree-vect-analyze.c (vect_check_interleaving): Check that the
3223         interleaved data-refs are of the same type.
3225 2008-04-24  Danny Smith  <dannysmith@users.net>
3227         * c-format.c (check_format_info_main): Use strncmp rather than a
3228         magic prefix to handle multichar length specs.
3229         * config/i386/msformat-c.c (format_length_info ms_printf_length_specs):
3230         Don't prefix "I64" and "I32" with '\0'.
3232 2008-04-24  Jakub Jelinek  <jakub@redhat.com>
3234         PR target/36015
3235         * config/i386/i386.c (init_cumulative_args): Don't pass anything
3236         in registers for -m32 only if stdarg_p (fntype).
3238 2008-04-24  Uros Bizjak  <ubizjak@gmail.com>
3240         PR rtl-optimization/36006
3241         * expmed.c (store_fixed_bit_field): Copy op0 rtx before moving
3242         temp to op0 in order to avoid invalid rtx sharing.
3244 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
3246         * tree-cfg.c (verify_expr): Check with is_gimple_address.  Don't
3247         check TREE_INVARIANT.
3248         * tree-gimple.c (is_gimple_address): New.
3249         (is_gimple_invariant_address): Simplify using decl_address_invariant_p.
3250         * tree-gimple.h (is_gimple_address): New.
3251         * tree.h (decl_address_invariant_p): New.
3252         * tree.c (make_node_stat): Don't set TREE_INVARIANT.
3253         (build_string): Likewise.
3254         (decl_address_invariant_p): New, from is_gimple_invariant_address.
3255         (tree_invariant_p_1): Likewise.
3256         (save_expr): Use it.
3257         (tree_invariant_p): New.
3258         (skip_simple_arithmetic): Use it.
3259         (stabilize_reference_1): Use it.
3260         (recompute_tree_invariant_for_addr_expr): Don't update TREE_INVARIANT,
3261         simplify.
3262         (build1_stat): Drop code to compute TREE_INVARIANT.
3263         (build2_stat): Drop code to compute TREE_INVARIANT.
3264         (build3_stat): Drop code to compute TREE_INVARIANT.
3265         (build4_stat): Drop code to compute TREE_INVARIANT.
3266         (build5_stat): Drop code to compute TREE_INVARIANT.
3267         (build7_stat): Drop code to compute TREE_INVARIANT.
3268         (merge_dllimport_decl_attributes): Don't mention TREE_INVARIANT.
3269         * tree.h (struct tree_base): Remove invariant_flag.
3270         (TREE_INVARIANT): Remove.
3271         * builtins.c (build_string_literal): Don't set TREE_INVARIANT.
3272         (fold_builtin_expect): Check TREE_CONSTANT.
3273         * tree-ssa-ccp.c (fold_stmt_r): Adjust comment.
3274         * c-tree.h (c_expr_to_decl): Drop third parameter.
3275         * c-typeck.c (build_external_ref): Don't set TREE_INVARIANT.
3276         (build_c_cast): Don't set TREE_INVARIANT.
3277         (pop_init_level): Don't set TREE_INVARIANT.
3278         (c_objc_common_truthvalue_conversion): Don't set TREE_INVARIANT.
3279         * gimplify.c (gimplify_init_ctor_preeval): Add assertion, test
3280         TREE_CONSTANT.
3281         (gimplify_init_constructor): Don't set TREE_INVARIANT.
3282         (gimplify_addr_expr): Adjust comment.
3283         * tree-mudflap.c (mf_build_string):
3284         * print-tree.c (print_node): Don't print TREE_INVARIANT.
3285         * tree-nested.c (convert_nonlocal_reference): Adjust comment.
3286         * c-common.c (fix_string_type): Don't set TREE_INVARIANT.
3287         * langhooks-def.h (lhd_expr_to_decl): Drop third parameter.
3288         * langhooks.c (lhd_expr_to_decl): Drop third parameter.
3289         * langhooks.h (struct lang_hooks): Drop third parameter from
3290         expr_to_decl.
3292 2008-04-23  Richard Guenther  <rguenther@suse.de>
3294         PR tree-optimization/27799
3295         PR tree-optimization/32921
3296         PR tree-optimization/32624
3297         * tree-ssa-structalias.c (merge_smts_into): Only merge the
3298         SMTs aliases and the tag itself into the solution.
3299         * tree-ssa-alias.c (compute_flow_sensitive_aliasing): Do not
3300         merge the points-to solution back into the SMT aliases.
3301         (may_alias_p): Use alias_set_subset_of instead of
3302         aliases_conflict_p.  A pointer which points to
3303         memory with alias set zero may access any variable.
3305 2008-04-23  Richard Guenther  <rguenther@suse.de>
3307         * alias.c (alias_set_subset_of): Correctly handle asking
3308         if zero is a subset of an alias set with zero child.
3309         * tree-ssa-alias.c (have_common_aliases_p): Simplify logic.
3310         (compute_flow_insensitive_aliasing): Correctly walk all
3311         pointers.  Do not unnecessarily union sets.
3313 2008-04-23  Richard Guenther  <rguenther@suse.de>
3315         PR middle-end/36021
3316         * c-common.c (handle_alloc_size_attribute): Use type_num_arguments.
3318 2008-04-22  Tomas Bily  <tbily@suse.cz>
3320         * tree-cfg.c (verify_expr): Check for NON_LVALUE_EXPR as
3321         unreachable case.
3322         * tree-vrp.c (extract_range_from_unary_expr): Removed unused
3323         NON_LVALUE_EXPR.
3324         * tree-ssa-threadedge.c (simplify_control_stmt_condition): Likewise.
3325         * tree-ssa-structalias.c (get_constraint_for): Likewise.
3326         * tree-inline.c (estimate_num_insns_1): Likewise.
3327         * varasm.c (const_hash_1, compare_constant, copy_constant)
3328         (compute_reloc_for_constant, output_addressed_constants): Likewise.
3329         * emit-rtl.c (component_ref_for_mem_expr)
3330         (set_mem_attributes_minus_bitpos): Likewise.
3331         * expr.c (highest_pow2_factor, expand_expr_real_1, )
3332         (is_aligning_offset): Likewise.
3333         * dwarf2out.c (loc_descriptor_from_tree_1, add_bound_info): Likewise.
3334         * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Likewise.
3335         * dojump.c (do_jump): Likewise.
3336         * builtins.c (get_pointer_alignment, get_memory_rtx)
3337         (integer_valued_real_p, fold_builtin_next_arg): Likewise.
3338         * tree-scalar-evolution.c (instantiate_parameters_1): Likewise.
3340 2008-04-23  Jakub Jelinek  <jakub@redhat.com>
3342         PR rtl-optimization/36017
3343         * builtins.c (expand_errno_check): Clear CALL_EXPR_TAILCALL before
3344         expanding the library call.
3346 2008-04-22  Ian Lance Taylor  <iant@google.com>
3348         * fold-const.c (pointer_may_wrap_p): Call int_size_in_bytes rather
3349         than size_in_bytes.
3351 2008-04-22  Pat Haugen  <pthaugen@us.ibm.com>
3353         * config/rs6000/rs6000.c (rs6000_register_move_cost): Increase cost
3354         of LR/CTR moves for Power6.
3356 2008-04-22  Kenneth Zadeck  <zadeck@naturalbridge.com>
3358         PR middle-end/36003
3359         * passes.c (init_optimization_passes): Remove
3360         pass_fast_rtl_byte_dce.
3361         
3362 2008-04-22  Uros Bizjak  <ubizjak@gmail.com>
3364         PR target/29096
3365         * config/i386/xmmintrin.h (_mm_cvtpi16_ps): Rearrange calls to
3366         builtin functions to generate faster code.
3367         (_mm_cvtpu16_ps): Ditto.
3368         (_mm_cvtpi32x2_ps): Ditto.
3370 2008-04-22  Nick Clifton  <nickc@redhat.com>
3372         * common.opt (ftree-loop-distribution): Add Optimization
3373         attribute.
3375         * config/frv/frv.c (frv_stack_info): Use crtl instead of cfun.
3376         (frv_expand_builtin_va_start): Likewise.
3378         * config/arm/arm.c (thumb_find_work_register): Fix location of
3379         argument register count.
3381 2008-04-22  Maxim Kuvyrkov  <maxim@codesourcery.com>
3383         Support scheduling for ColdFire V1 and V3 microarchitecture.
3384         Improve scheduling of multiplication instructions.
3386         * config/m68k/m68k.md (cpu): Add cfv1 and cfv3.  Rename cf_v2 to cfv1.
3387         (mac): New instruction attribute.
3388         * config/m68k/m68k.c (override_options): Handle cfv1, cfv3 and mac.
3389         (m68k_sched_mac): New variable.
3390         (m68k_sched_attr_type2, m68k_sched_md_init_global): Update.
3391         Handle cfv1 and cfv3.
3392         (max_insn_size): New static variable.
3393         (struct _sched_ib): New type.
3394         (sched_ib): New static variable.
3395         (sched_ib_size, sched_ib_filled, sched_ib_insn): Convert variables
3396         to fields of 'struct _sched_ib sched_ib'.  Update all uses.
3397         (m68k_sched_variable_issue): Add modeling of cfv3 instruction buffer.
3398         Update.
3399         (m68k_sched_md_init_global, m68k_sched_md_finish_global,
3400         m68k_sched_md_init, m68k_sched_md_finish): Handle cfv1 and cfv3.  Init
3401         new variables.  Update.
3402         (m68k_sched_dfa_pre_advance_cycle, m68k_sched_dfa_post_advance_cycle):
3403         Add modeling of cfv3 instruction buffer.  Update.
3404         * config/m68k/m68k-protos.h (m68k_sched_mac): Declare.
3405         * config/m68k/m68k.h (TUNE_CFV3): New macro.
3406         * config/m68k/cf.md: Change substrings 'cf_v2' to 'cfv12' or 'cfv123'.
3407         (cf_* reservations): Rename to cfv12 or cfv123 to indicate cores
3408         a particular reservation applies to.
3409         (type2): Reorganize attribute values.  Rename alu to alu_reg,
3410         alu_l to alu, move_l to omove.  Join move to alu.  Split mul
3411         to mul_l and mul_w.
3412         (cf_ib_*): Simplify description of instruction buffer.
3413         (cf_ib_w0, cf_ib_w4, cf_ib_w5, cf_ib_w6): Remove.
3414         (cf_mem): Split into cf_mem1 and cf_mem2.
3415         (cf_v2_move_??): Rename to cfv12_alu_??.
3416         (cf_v2_move_l_??): Rename to cfv12_omove_??.
3417         (cf_v2_mul_??): Remove reservations.
3418         (cfv12_mul_l_??, cfv12_mul_w_??, cfv12_mac_w_??, cfv12_mac_l_??,
3419         cfv12_emac_??, cfv12_emac_w_i0): New reservations.
3420         (cfv12_rts, cfv12_call, cfv12_bcc, cfv12_bra, cfv12_jmp): Move to
3421         appropriate place.
3422         (cfv3_alu_10, cfv3_omove_10, cfv3_alu_i0, cfv3_omove_i0, cfv3_alu_01,
3423         cfv3_alu_0i, cfv3_alu_11, cfv3_omove_11, cfv3_alu_i1, cfv3_omove_i1,
3424         cfv3_alu_1i, cfv3_omove_1i, cfv3_pea_11, cfv3_pea_i1, cfv3_mul_w_10,
3425         cfv3_mul_l_10, cfv3_mul_w_i0, cfv3_mac_w_10, cfv3_mac_l_10,
3426         cfv3_mac_w_i0, cfv3_emac_10, cfv3_emac_w_i0, cfv3_rts, cfv3_call,
3427         cfv3_bcc, cfv3_bra, cfv3_jmp): New reservations.
3428         (cfv3_*_1, cfv3_*_2, cfv3_*_3): New instruction reservations that are
3429         expansions of the above reservations for instructions of sizes
3430         1, 2 and 3 words.
3432 2008-04-22  Maxim Kuvyrkov  <maxim@codesourcery.com>
3434         * rtl-factoring.c (collect_patterns_seqs): Handle CC0 targets.
3436 2008-04-21  Adam Nemet  <anemet@caviumnetworks.com>
3438         * coverage.c: Include tree-pass.h.
3439         (coverage_counter_alloc): Print da_file_name to the dump file.
3441 2008-04-21  Kenneth Zadeck  <zadeck@naturalbridge.com>
3443         * sbitmap.c (sbitmap_range_empty_p): New function.
3444         * sbitmap.h (sbitmap_range_empty_p): New function.
3445         * bitmap.h: Now includes obstack.h.
3447 2008-04-21  Richard Sandiford  <rsandifo@nildram.co.uk>
3448             Kenneth Zadeck  <zadeck@naturalbridge.com>
3450         * dbgcnt.def (ra_byte_scan): Added.
3451         * dbgcnt.c (dbg_cnt): Added code to print message to dump_file
3452         when the last hit happens for a counter.  
3453         * timevar.def (TV_DF_BYTE_LR): New variable.
3454         * tree-pass.h (pass_fast_rtl_byte_dce): New pass.
3455         * passes.c (pass_fast_rtl_byte_dce): New pass.
3456         * fwprop.c (update_df): Added mode to call df_ref_create.
3457         Renamed DF_REF_WIDTH and DF_REF_OFFSET to DF_REF_EXTRACT_WIDTH and
3458         DF_REF_EXTRACT_OFFSET.
3459         * df.h (DF_BYTE_LR, DF_BYTE_LR_BB_INFO, DF_BYTE_LR_IN, 
3460         DF_BYTE_LR_OUT, df_byte_lr): New macro.
3461         (df_mm): New enum.
3462         (df_ref_extract): Added mode field.
3463         (DF_REF_WIDTH, DF_REF_OFFSET) Renamed to DF_REF_EXTRACT_WIDTH and
3464         DF_REF_EXTRACT_OFFSET.
3465         (DF_REF_EXTRACT_MODE): New macro.
3466         (df_byte_lr_bb_info): New structure.
3467         (df_print_byte_regset, df_compute_accessed_bytes, 
3468         df_byte_lr_add_problem, df_byte_lr_get_regno_start,
3469         df_byte_lr_get_regno_len, df_byte_lr_simulate_defs,
3470         df_byte_lr_simulate_uses,
3471         df_byte_lr_simulate_artificial_refs_at_top,
3472         df_byte_lr_simulate_artificial_refs_at_end,
3473         df_compute_accessed_bytes): New function.
3474         (df_ref_create): Add parameter.
3475         (df_byte_lr_get_bb_info): New inline function.
3476         * df-scan.c (df_ref_record, df_uses_record,
3477         df_ref_create_structure): Added mode parameter.
3478         (df_ref_create, df_notes_rescan, df_ref_record, df_def_record_1, 
3479         df_defs_record, df_uses_record, df_get_conditional_uses,
3480         df_get_call_refs, df_insn_refs_collect, df_bb_refs_collect, 
3481         df_entry_block_defs_collect, df_exit_block_uses_collect):
3482         Added mode parameter to calls to df_ref_record, df_uses_record,
3483         df_ref_create_structure.
3484         (df_ref_equal_p, df_ref_compare): Added test for modes.
3485         (df_ref_create_structure): Added code to set mode.  Renamed
3486         DF_REF_WIDTH and DF_REF_OFFSET to DF_REF_EXTRACT_WIDTH and
3487         DF_REF_EXTRACT_OFFSET.
3488         * df-core.c (df_print_byte_regset): New function.
3489         * df-byte-scan.c: New file.
3490         * df-problems.c (df_rd_transfer_function): Removed unnecessary
3491         calls to BITMAP_FREE.  
3492         (df_byte_lr_problem_data, df_problem problem_BYTE_LR): New structure.
3493         (df_byte_lr_get_regno_start, df_byte_lr_get_regno_len,
3494         df_byte_lr_set_bb_info, df_byte_lr_free_bb_info, 
3495         df_byte_lr_check_regs, df_byte_lr_expand_bitmap, 
3496         df_byte_lr_alloc, df_byte_lr_reset, df_byte_lr_bb_local_compute,
3497         df_byte_lr_local_compute, df_byte_lr_init,
3498         df_byte_lr_confluence_0, df_byte_lr_confluence_n, 
3499         df_byte_lr_transfer_function, df_byte_lr_free, 
3500         df_byte_lr_top_dump, df_byte_lr_bottom_dump,
3501         df_byte_lr_add_problem, df_byte_lr_simulate_defs, 
3502         df_byte_lr_simulate_uses,
3503         df_byte_lr_simulate_artificial_refs_at_top,
3504         df_byte_lr_simulate_artificial_refs_at_end): New function.
3505         * dce.c (byte_dce_process_block): New function.
3506         (dce_process_block): au is now passed in rather than computed
3507         locally.  Changed loops that look at artificial defs to not look
3508         for conditional or partial ones, because there never are any.  
3509         (fast_dce): Now is able to drive byte_dce_process_block or 
3510         dce_process_block depending on the kind of dce being done.
3511         (rest_of_handle_fast_dce): Add parameter to fast_dce.
3512         (rest_of_handle_fast_byte_dce): New function.
3513         (rtl_opt_pass pass_fast_rtl_byte_dce): New pass.
3514         * Makefile.in (df-byte-scan.o, debugcnt.o): Added dependencies.
3516 2008-04-21  Daniel Franke  <franke.daniel@gmail.com>
3518         PR fortran/35019
3519         * gcc.h: Added fortran options that take arguments to
3520         DEFAULT_SWITCH_TAKES_ARG and DEFAULT_WORD_SWITCH_TAKES_ARG
3521         macros.
3523 2008-04-20  Eric Botcazou  <ebotcazou@adacore.com>
3525         * tree-sra.c (sra_walk_expr) <VIEW_CONVERT_EXPR>: Disable
3526         scalarization if on the LHS and not a full access.
3528 2008-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3530         * Makefile.in (s-gtyp-input): Remove tmp-gi.list before writing it.
3532 2008-04-18  Rafael Espindola  <espindola@google.com>
3534         * tree-vrp.c (find_case_label_index): Fix the binary search.
3535         (find_case_label_range): New.
3536         (vrp_visit_switch_stmt): Use find_case_label_range.
3537         (simplify_switch_using_ranges): Use find_case_label_range.
3539 2008-04-18  Eric Botcazou  <ebotcazou@adacore.com>
3541         * gimplify.c (gimplify_modify_expr_rhs) <COND_EXPR>: Gimplify the LHS
3542         using the is_gimple_lvalue predicate instead of is_gimple_min_lval.
3544 2008-04-18  Tom Tromey  <tromey@redhat.com>
3546         PR libcpp/15500:
3547         * doc/cpp.texi (Implementation-defined behavior): Mention
3548         -finput-charset.
3550 2008-04-18  Ian Lance Taylor  <iant@google.com>
3552         * fold-const.c (pointer_may_wrap_p): New static function.
3553         (fold_comparison): Add another test for pointer overflow.  Use
3554         pointer_may_wrap_p to disable some false positives.
3556 2008-04-18  Kris Van Hees <kris.van.hees@oracle.com>
3557           
3558         * c-common.c (CHAR16_TYPE, CHAR32_TYPE): New macros.
3559         (fname_as_string): Match updated cpp_interpret_string prototype.
3560         (fix_string_type): Support char16_t* and char32_t*.
3561         (c_common_nodes_and_builtins): Add char16_t and char32_t (and
3562         derivative) nodes.  Register as builtin if C++0x.
3563         (c_parse_error): Support CPP_CHAR{16,32}.
3564         * c-common.h (RID_CHAR16, RID_CHAR32): New elements. 
3565         (enum c_tree_index) <CTI_CHAR16_TYPE, CTI_SIGNED_CHAR16_TYPE,
3566         CTI_UNSIGNED_CHAR16_TYPE, CTI_CHAR32_TYPE, CTI_SIGNED_CHAR32_TYPE,
3567         CTI_UNSIGNED_CHAR32_TYPE, CTI_CHAR16_ARRAY_TYPE,
3568         CTI_CHAR32_ARRAY_TYPE>: New elements.
3569         (char16_type_node, signed_char16_type_node, unsigned_char16_type_node,
3570         char32_type_node, signed_char32_type_node, char16_array_type_node,
3571         char32_array_type_node): New defines.
3572         * c-lex.c (cb_ident): Match updated cpp_interpret_string prototype.
3573         (c_lex_with_flags): Support CPP_CHAR{16,32} and CPP_STRING{16,32}.
3574         (lex_string): Support CPP_STRING{16,32}, match updated
3575         cpp_interpret_string and cpp_interpret_string_notranslate prototypes.
3576         (lex_charconst): Support CPP_CHAR{16,32}.
3577         * c-parser.c (c_parser_postfix_expression): Support CPP_CHAR{16,32}
3578         and CPP_STRING{16,32}.
3580 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
3582         PR bootstrap/35457
3583         * aclocal.m4: Regenerate.
3584         * configure: Regenerate.
3586 2008-04-18  Jan Hubicka  <jh@suse.cz>
3588         * except.c (dw2_size_of_call_site_table,
3589         sjlj_size_of_call_site_table): Use vector API for call_site_record.
3591         * cgraphbuild.c (build_cgraph_edges): Update.
3592         * tree-pass.h: Update comment.
3593         * final.c (leaf_function_p): Update.
3594         (leaf_renumber_regs): Update.
3595         (rest_of_clean_state): Update.
3596         * omp-low.c (expand_omp_parallel): Update.
3597         * ipa-reference.c (analyze_function): Update.
3598         * reorg.c (find_end_label): Update.
3599         (optimize_skip): Update.
3600         (fill_simple_delay_slots): Update.
3601         (fill_simple_delay_slots): Update.
3602         (make_return_insns): Update.
3603         (dbr_schedule): Update.
3604         * gimple-low.c (record_vars_into): Update.
3605         * cfgbuild.c (make_edges): Update.
3606         * function.c (assign_stack_local): Update.
3607         (assign_parm_adjust_stack_rtl): Update.
3608         (locate_and_pad_parm): Update.
3609         (allocate_struct_function): Do not initialize stack_alignment_needed
3610         and preferred_stack_boundary here.
3611         (stack_protect_prologue): Update.
3612         (stack_protect_epilogue): Update.
3613         (expand_function_start): Initialize stack_alignment_needed,
3614         preferred_stack_boundary and max_jumptable_ents.
3615         (expand_function_end): Update.
3616         (free_after_compilation): Do not NULLify epilogue_delay_list.
3617         * function.h (struct rtl_data): Add stack_protect_guard,
3618         stack_alignment_needed,
3619         preferred_stack_boundary, epilogue_delay_list.
3620         (struct function): Remove value_histograms, stack_alignment_needed,
3621         preferred_stack_boundary, epilogue_delay_list, max_jumptable_ents,
3622         last_label_uid,
3623         unexpanded_var_list, stack_protect_guard.
3624         (current_function_epilogue_delay_list): Remove.
3625         * ipa-type-escape.c (analyze_function): Update.
3626         * gimplify.c (pop_gimplify_context): Update comment.
3627         * calls.c (expand_call): Update.
3628         (emit_library_call_value_1): Update.
3629         * except.c (set_nothrow_function_flags): Update.
3630         * cfgexpand.c (get_decl_align_unit): Update.
3631         (create_stack_guard): Update.
3632         (estimated_stack_frame_size): Update.
3633         (expand_used_vars): Update.
3634         (tree_expand_cfg): Free histogram earliers, init expansion variables.
3635         * explow.c (allocate_dynamic_stack_space): Update.
3636         * tree-ssa-live.c (remove_unused_locals): Update.
3637         * varasm.c (mark_constant_pool): Update.
3638         * tree-inline.c (remap_decls): Update.
3639         (initialize_cfun): Update.
3640         (declare_return_variable): Update.
3641         (inline_forbidden_p): Update.
3642         (expand_call_inline): Update.
3643         (declare_inline_vars): Update.
3644         (tree_function_versioning): Update.
3645         * tree-flow.h (value_histograms): New.
3646         (VALUE_HISTOGRAMS): New macro.
3647         * basic-block.h (control_flow_graph): Add max_jumptable_ents,
3648         last_label_uid.
3649         * tree-cfg.c (set_bb_for_stmt): Update.
3650         (replace_by_duplicate_decl): Update.
3651         (move_block_to_fn): Update.
3652         (new_label_mapper): Update.
3653         (dump_function_to_file): Update.
3654         * ipa-struct-reorg.c (build_data_structure): Update.
3655         * cfgrtl.c (print_rtl_with_bb): Update.
3656         * reload1.c (reload): Update.
3657         (reload): Update.
3658         * config/i386/i386.c (setup_incoming_varargs_64,
3659         ix86_compute_frame_layout): Update.
3660         * config/arc/arc.c (arc_output_function_epilogue): Update.
3662 2008-04-18  Marius Strobl <marius@FreeBSD.org>
3664         * gthr-posix.h (__gthread_active_p): Use the Solaris implementation
3665         for FreeBSD as well.
3666         * gthr-posix95.h: Likewise.
3668 2008-04-17  Richard Sandiford  <rsandifo@nildram.co.uk>
3670         PR rtl-optimization/35838
3671         * dse.c (find_shift_sequence): Use subreg_lowpart_offset to work
3672         out the byte offset of the first subreg.
3674 2008-04-17  Uros Bizjak  <ubizjak@gmail.com>
3676         * config/i386/i386.md (addti3 splitter): Pass arrays of 3 operands
3677         to split_ti instead of three separate calls with single member arrays.
3678         (subti3 splitter): Ditto.
3679         (adddi3 splitter): Ditto with split_di.
3680         (subdi3 splitter): Ditto.
3681         (negti2 splitter): Pass arrays of 2 operands to split_ti instead of
3682         two separate calls with single member arrays.  Swap match_dup
3683         operands 1 and 2 to better fit into the array.
3684         (negdi2 splitter): Ditto with split_di.
3685         (movdfcc splitter):  Pass arrays of 2 operands to split_di instead of
3686         two separate calls with single member arrays.  Swap match_dup operands
3687         6 and 7 to better fit into the array.
3689 2008-04-17  H.J. Lu  <hongjiu.lu@intel.com>
3691         * config/i386/i386.c (sse_builtin_type): New.
3692         (bdesc_sse_args): Likewise.
3693         (bdesc_sse_3arg): Removed.
3694         (bdesc_2arg): Remove IX86_BUILTIN_AESKEYGENASSIST128.
3695         (bdesc_1arg): Remove IX86_BUILTIN_ROUNDPD and
3696         IX86_BUILTIN_ROUNDPS.
3697         (ix86_init_mmx_sse_builtins): Handle bdesc_sse_args.  Remove
3698         bdesc_sse_3arg.  Remove IX86_BUILTIN_ROUNDPD and
3699         IX86_BUILTIN_ROUNDPS.
3700         (ix86_expand_sse_4_operands_builtin): Removed.
3701         (ix86_expand_sse_operands_builtin): New.
3702         (ix86_expand_unop_builtin): Remove CODE_FOR_sse4_1_roundpd
3703         and CODE_FOR_sse4_1_roundps.
3704         (ix86_expand_builtin): Remove IX86_BUILTIN_AESKEYGENASSIST128.
3705         Handle bdesc_sse_args.  Remove bdesc_sse_3arg.
3707 2008-04-17  Alan Modra  <amodra@bigpond.net.au>
3709         PR target/35907
3710         * config/rs6000/rs6000.c (rs6000_emit_epilogue): Restore vr and vrsave
3711         regs before frame pop when needed.  If use_backchain_to_restore_sp
3712         then load backchain into a temp reg to restore vr and vrsave.  Add
3713         code to restore vr after frame pop if possible.
3715 2008-04-17  Richard Guenther  <rguenther@suse.de>
3717         * tree-vn.c (expressions_equal_p): Do not check type
3718         equality or compatibility before calling operand_equal_p.
3719         * fold-const.c (operand_equal_p): Check equivalence of
3720         integer constants before bailing out due to signedness or
3721         precision differences.
3722         * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Ignore
3723         spurious differences in type qualification.  Ignore types
3724         for COMPONENT_REFs at all.
3726 2008-04-17  Christian Bruel  <christian.bruel@st.com>
3728         * config/sh/sh.c (expand_cbranchdi4): Use original operands for
3729         msw_skip comparison.
3730         
3731 2008-04-16  Jakub Jelinek  <jakub@redhat.com>
3733         PR c/35739
3734         * tree-nrv.c (tree_nrv): Don't optimize if result_type is GIMPLE
3735         reg type.
3737         PR tree-optimization/35899
3738         * tree-inline.c (expand_call_inline): Use GIMPLE_STMT_OPERAND
3739         rather than TREE_OPERAND.
3741 2008-04-16  Uros Bizjak  <ubizjak@gmail.com>
3743         PR target/35944
3744         * config/i386/i386.md (fmodxf3): Copy operand 1 and operand 2 into
3745         temporary registers.  Change operand predicate to general_operand.
3746         (remainderxf3): Ditto.
3748 2008-04-16  Richard Guenther  <rguenther@suse.de>
3750         * Makefile.in (tree-affine.o): Add $(FLAGS_H) dependency.
3751         * tree-affine.c (aff_combination_expand): Look through some
3752         conversions.
3754 2008-04-15  Doug Kwan  <dougkwan@google.com>
3756         * dwarf2asm.c (dw2_assemble_integer): Cast to unsigned HOST_WIDE_INT
3757         for hex printing.
3758         * tree-pretty-print.c (dump_generic_node): Ditto.
3759         * final.c (output_addr_const): Ditto.
3760         * dwarf2out.c (output_cfi): Ditto.
3761         * c-pretty-print.c (pp_c_integer_constant): Ditto.
3762         * print-rtl.c (print_rtx): Ditto.
3763         * print-tree.c (print_node_brief, print_node): Ditto.
3764         * c-common.c (match_case_to_enum_1): Ditto.
3765         * sched-vis.c (print_value): Ditto.
3766         * config/i386/i386.c (print_operand): Cast to long unsigned int
3767         for hex printing.
3769 2008-04-15  Danny Smith  <dannysmith@users.sourceforge.net>
3770         * libgcc2.c [L_trampoline]: Remove  unnecessary prototype for
3771         MS Windows VirtualProtect function.
3773 2008-04-15  Jan Hubicka  <jh@suse.cz>
3775         * gengtype.c (write_root): Param_is argument is OK.
3776         * expr.c (expand_expr_real_1): Update call of get_exception_*.
3777         * function.h: Include varray.h
3778         (rtl_eh): New stucture based on except.c one.
3779         (call_site_record): New forward declaration and vector type.
3780         * calls.c (emit_call_1): Do not call
3781         note_current_region_may_contain_throw.
3782         * except.c (eh_status): Remove cur_region, try_region since they are
3783         unused.
3784         Move filter, exc_ptr, ttype_data, ehspec_data, action_record_data and
3785         exception_handler_label_map, ehr_stackadj, ehr_handler, ehr_label,
3786         sjlj_fc, sjlj_exit_after to rth_eh in function.h. 
3787         Remove call_site_data_used, call_site_data_size.
3788         Turn call_site_record into vector in function.h.
3789         (note_current_region_may_contain_throw): Remove.
3790         (get_exception_pointer, get_exception_filter): Do not take struct
3791         function argument; update.
3792         (add_ehl_entry, find_exception_handler_labels, ehspec_filter_hash,
3793         add_ttypes_entry, add_ehspec_entry, assign_filter_values,
3794         build_post_landing_pads, dw2_build_landing_pads,
3795         sjlj_assign_call_site_values, sjlj_mark_call_sites,
3796         sjlj_emit_function_enter, sjlj_emit_function_enter, 
3797         sjlj_emit_function_exit, sjlj_emit_dispatch_table,
3798         sjlj_build_landing_pads, finish_eh_generation,
3799         remove_exception_handler_label, remove_eh_handler,
3800         maybe_remove_eh_handler, add_reachable_handler,
3801         reachable_handlers, expand_builtin_eh_return, expand_eh_return,
3802         add_action_record, collect_one_action_chain, add_call_site,
3803         convert_to_eh_region_ranges, sjlj_size_of_call_site_table,
3804         sjlj_output_call_site_table, output_function_exception_table,
3805         * except.h (note_current_region_may_contain_throw): Remove
3806         (get_exception_pointer, get_exception_filter): Do not take struct
3807         function argument.
3808         * Makefile.in (GTFILES): Put varargs before struct function.
3810 2008-04-15  Eric Botcazou  <ebotcazou@adacore.com>
3812         * tree-ssa-structalias.c (get_constraint_for_component_ref): Do not
3813         punt for STRING_CST.
3814         (get_constraint_for): Deal with STRING_CST here instead.
3816 2008-04-15  Richard Guenther  <rguenther@suse.de>
3818         * tree-ssa-propagate.c (substitute_and_fold): Substitute
3819         statements in a basic-block with a backward walk.  Do not
3820         substitute into dead statements but instead remove those.
3822 2008-04-15  Richard Guenther  <rguenther@suse.de>
3824         * params.def (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE): Set default
3825         to zero, thus disable creation of SFTs.
3827 2008-04-15  Eric Botcazou  <ebotcazou@adacore.com>
3829         * tree-predcom.c (suitable_reference_p): Return false if the
3830         reference can throw.
3832 2008-04-15  Jakub Jelinek  <jakub@redhat.com>
3834         PR c/35751
3835         * c-decl.c (finish_decl): If extern or static var has variable
3836         size, set TREE_TYPE (decl) to error_mark_node.
3838 2008-04-15  Rafael Espindola  <espindola@google.com>
3840         * fold-const.c (tree_call_nonnegative_warnv_p): Remove local
3841         variable arg1.
3843 2008-04-15  Richard Guenther  <rguenther@suse.de>
3845         * tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
3846         * tree-ssa-sccvn.c (vn_reference_lookup): New parameter maywalk.
3847         (visit_reference_op_load): Do walk vuse-vdef chains on
3848         vn_reference_lookup.
3849         (visit_reference_op_store): But do not here.
3850         * tree-vn.c (vn_lookup): Do not walk vuse-vdef chains on
3851         vn_reference_lookup.
3852         (vn_lookup_with_vuses): But do so here.
3854 2008-04-14  Ian Lance Taylor  <iant@google.com>
3856         * fold-const.c (fold_overflow_warning): Remove assertion.
3858 2008-04-15  Ben Elliston  <bje@au.ibm.com>
3860         * config/alpha/alpha.c (alpha_initialize_trampoline): Remove temp,
3861         temp1 local variables.
3863 2008-04-15  Zuxy Meng  <zuxy.meng@gmail.com>
3865         PR target/35661
3866         * config/i386/winnt.c (i386_pe_section_type_flags): Mark
3867         ".text.unlikely" section as executable.
3869 2008-04-14  James E. Wilson  <wilson@tuliptree.org>
3871         * config/ia64/ia64.c (rtx_needs_barrier): Handle
3872         UNSPEC_FR_SQRT_RECIP_APPROX_RES.
3873         * config/ia64/ia64.c (UNSPEC_FR_SQRT_RECIP_APPROX_RES): Define.
3874         (divsi3_internal, divdi3_internal_lat, divdi3_internal_thr,
3875         divsf3_internal_lat, sqrt_approx, sqrtsf2_internal_thr,
3876         divdf3_internal_lat, sqrtdf2_internal_thr, divxf3_internal_lat,
3877         divxf3_internal_thr, sqrtxf2_internal_thr, recip_approx): Use it.
3879 2008-04-14  Ian Lance Taylor  <iant@google.com>
3881         * flags.h (POINTER_TYPE_OVERFLOW_UNDEFINED): Define.
3882         * fold-const.c (fold_comparison): If appropriate, test
3883         POINTER_TYPE_OVERFLOW_UNDEFINED, and issue an overflow warning.
3884         (fold_binary): Test POINTER_TYPE_OVERFLOW_UNDEFINED when
3885         reassociating a pointer type.
3886         * doc/invoke.texi (Optimize Options): Document that
3887         -fstrict-overflow applies to pointer wraparound.
3889 2008-04-13  Jan Hubicka  <jh@suse.cz>
3891         * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx.
3893 2008-04-12  Andrew Pinski  <pinskia@gmail.com>
3895         * config/rs6000/rs6000.c (compute_save_world_info): Set lr_save_p if
3896         we are going to "save the world".
3898 2008-04-13  Hans-Peter Nilsson  <hp@axis.com>
3900         * config/cris/cris.md ("*andhi_lowpart_non_v32", "*andhi_lowpart_v32")
3901         ("*andqi_lowpart_non_v32", "*andqi_lowpart_v32"): Use "+" for the
3902         operand 0 constraint, not "=".
3904 2008-04-11  James E. Wilson  <wilson@tuliptree.org>
3906         * system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING.
3908 2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>
3910         * dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead
3911         of size of positions_needed * CHAR_BIT.
3913 2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>
3915         PR middle-end/35897
3916         * dse.c (store_info): Change positions_needed to unsigned
3917         HOST_WIDE_INT.
3918         (lowpart_bitmask): New.
3919         (record_store): Cast to unsigned HOST_WIDE_INT for
3920         positions_needed.  Assert width <= size of positions_needed *
3921         CHAR_BIT.  Call lowpart_bitmask to initialize positions_needed.
3922         (check_mem_read_rtx): Use unsigned HOST_WIDE_INT on mask.  Call
3923         lowpart_bitmask to set mask.
3925 2008-04-11  Bernd Schmidt  <bernd.schmidt@analog.com>
3927         * config/bfin/constraints.md: New file.
3928         * config/bfin/bfin.md: Include it.
3929         (adddi3): Use satisfies_constraint functions instead of the old macros.
3930         * config/bfin/bfin.h (REG_CLASS_FROM_LETTER, CONSTRAINT_LEN,
3931         CONST_18UBIT_IMM_P, CONST_16BIT_IMM_P, CONST_16UBIT_IMM_P,
3932         CONST_7BIT_IMM_P, CONST_7NBIT_IMM_P, CONST_5UBIT_IMM_P,
3933         CONST_4BIT_IMM_P, CONST_4UBIT_IMM_P, CONST_3BIT_IMM_P,
3934         CONST_3UBIT_IMM_P, CONST_OK_FOR_K, CONST_OK_FOR_P, CONST_OK_FOR_M,
3935         CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER,
3936         EXTRA_CONSTRAINT): Delete.
3937         * config/bfin/predicates.md (highbits_operand, reg_or_7bit_operand,
3938         reg_or_neg7bit_operand): Use satisfies_constraint functions instead
3939         of the old macros.
3940         * config/bfin/bfin.c: Include "tm-constrs.h".
3941         (bfin_secondary_reload, split_load_immediate, bfin_rtx_costs):
3942         Use satisfies_constraint functions instead of the old macros.
3943         * doc/md.texi (Blackfin Constraints): Update file name reference.
3945 2008-04-11  Richard Guenther  <rguenther@suse.de>
3947         PR tree-optimization/35869
3948         * tree-vrp.c (execute_vrp): Move switch statement update after
3949         jump threading.  Schedule another cfg cleanup run.
3951 2008-04-11  Volker Reichelt  <v.reichelt@netcologne.de>
3953         PR c/35744
3954         * attribs.c (decl_attributes): Return early on errorneous node.
3956 2008-04-10  Oleg Ryjkov  <olegr@google.com>
3958         * tree.h (struct tree_base): Added a new flag default_def_flag.
3959         (SSA_NAME_IS_DEFAULT_DEF): Changed to use the new flag.
3961 2008-04-11  Kaz Kojima  <kkojima@gcc.gnu.org>
3963         * config.gcc (need_64bit_hwint): Need 64bit hwint for sh-*-*.
3965 2008-04-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3967         PR target/35768
3968         * pa.md: Define mode iterator P.  Define mode attribute dwc.
3969         (dcacheflush): Update pattern to use iterator P and attribute dwc.
3970         (icacheflush): Likewise.
3971         * pa.h (INITIALIZE_TRAMPOLINE): Use dcacheflushsi/icacheflushsi if
3972         !TARGET_64BIT, and dcacheflushdi/icacheflushdi if TARGET_64BIT.
3974 2008-04-11  Ben Elliston  <bje@au.ibm.com>
3976         * config/spu/spu.c (spu_init_builtins): Mark builtins as nothrow.
3978 2008-04-10  Rafael Espindola  <espindola@google.com>
3980         * tree-vrp.c (extract_range_from_binary_expr): Don't handle
3981         TRUTH_ANDIF_EXPR or TRUTH_ORIF_EXPR.
3982         (extract_range_from_expr): The same.
3984 2008-04-10  Adam Nemet  <anemet@caviumnetworks.com>
3986         * config/mips/mips.md (GPR2): New mode iterator.
3987         (seq): Add comment.
3988         (*seq_<mode>, *seq_<mode>_mips16, *sne_<mode>, *sgt<u>_<mode>,
3989         *sgt<u>_<mode>_mips16, *sge<u>_<mode>, *slt<u>_<mode>,
3990         *slt<u>_<mode>_mips16 *sle<u>_<mode>, *sle<u>_<mode>_mips16):
3991         Rewrite these to take two modes, the mode of comparison and the
3992         mode of the destination.
3993         * config/mips/mips.c (mips_expand_scc): Instead of having
3994         paradoxical subreg as destination, expand "narrowing" scc if mode
3995         of comparison is SI and target is requested in DI mode.
3996         (mips_emit_int_order_test): Update comment.  Make mode of
3997         comparison match CMP0 rather than TARGET.  When creating inverse
3998         target use mode of TARGET.
4000 2008-04-10  Adam Nemet  <anemet@caviumnetworks.com>
4002         * gcov-dump.c (tag_summary): Only print summaries for the first
4003         GCOV_COUNTERS_SUMMABLE counters.
4005 2008-04-10  Uros Bizjak  <ubizjak@gmail.com>
4007         * config/i386/i386.md (absneg): New code iterator.
4008         (absnegprefix): New code attribute.
4009         (<code><mode>2): Macroize expander from abs<mode>2 and neg<mode>2
4010         patterns using absneg code iterator.
4011         (<code>tf2): Macroize expander from abstf2 and negtf2 patterns
4012         using absneg code iterator.
4013         (*<code><mode>2_1): Macroize insn pattern from *abs<mode>2_1 and
4014         *neg<mode>2 patterns using absneg code iterator.
4015         (*<code>extendsfdf2): Macroize insn pattern from *absextendsfdf2 and
4016         *negextendsfdf2 patterns using absneg code iterator.
4017         (*<code>extendsfxf2): Macroize insn pattern from *absextendsfxf2 and
4018         *negextendsfxf2 patterns using absneg code iterator.
4019         (*<code>extendsfdf2): Macroize insn pattern from *absextendsfdf2 and
4020         *negextendsfdf2 patterns using absneg code iterator.
4021         * config/i386/sse.md (<code><mode>2): Macroize expander from
4022         abs<mode>2 and neg<mode>2 patterns using absneg code iterator. 
4024 2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>
4026         * config/s390/s390.h: Remove the remains of the recent search
4027         & replace action of current_function_outgoing_args_size.
4029 2008-04-10  Ira Rosen  <irar@il.ibm.com>
4031         PR tree-optimization/35821
4032         * tree-vect-transform.c (vect_create_data_ref_ptr): Add check that
4033         NEW_STMT_LIST is not NULL.
4035 2008-04-09  David Edelsohn  <edelsohn@gnu.org>
4037         PR libstdc++/35597
4038         * toplev.c (process_options): Remove -ffunction-sections debugging
4039         warning.
4041 2008-04-09  Peter Bergner  <bergner@vnet.ibm.com>
4043         PR middle-end/PR28690
4044         * explow.c (break_out_memory_refs): Use simplify_gen_binary rather
4045         than gen_rtx_fmt_ee to perform more canonicalizations.
4047 2008-04-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4049         PR driver/35665
4050         * collect2.c (write_c_file): Don't wrap in "#ifdef __cplusplus".
4052 2008-04-09  Richard Guenther  <rguenther@suse.de>
4054         * tree-cfg.c (verify_stmt): Print complete bogus stmt.
4055         (dump_function_to_file): Dump function arguments with types.
4057 2008-04-08  Richard Guenther  <rguenther@suse.de>
4059         * fold-const.c (fold_widened_comparison): Do not allow
4060         sign-changes that change the result.
4062 2008-04-08  Janis Johnson  <janis187@us.ibm.com>
4064         PR target/35839
4065         * config/rs6000/rs6000.c (rs6000_check_sdmode): Handle additional
4066         kinds of indirect references.
4068 2008-04-08  David Edelsohn  <edelsohn@gnu.org>
4070         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Update
4071         GNU Fortran language string.
4073 2008-04-08  Rafael Espindola  <espindola@google.com>
4075         * fold-canst.c (tree_call_nonnegative_warnv_p): New.
4076         (tree_invalid_nonnegative_warnv_p): Use tree_call_nonnegative_warnv_p.
4077         * tree.h (tree_call_nonnegative_warnv_p): New.
4079 2008-04-08  Jan Hubicka  <jh@suse.cz>
4081         * function.c (free_after_compilation): Clear out regno_reg_rtx
4082         pointer.
4084 2008-04-08  Peter Bergner  <bergner@vnet.ibm.com>
4086         Revert
4087         2008-04-07  Peter Bergner  <bergner@vnet.ibm.com>
4089         PR middle-end/PR28690
4090         * rtlanal.c: (commutative_operand_precedence): Give SYMBOL_REF's the
4091         same precedence as REG_POINTER and MEM_POINTER operands.
4093 2008-04-08  Richard Guenther  <rguenther@suse.de>
4095         PR middle-end/35834
4096         * tree-ssa-address.c (create_mem_ref): Use POINTER_PLUS_EXPR
4097         for adding index to base.
4099 2008-04-08  Kai Tietz  <kai.tietz@onevision.com>
4101         * config/i386/mingw32.h (ENABLE_EXECUTE_STACK): New.
4102         (MINGW_ENABLE_EXECUTE_STACK): New.
4103         (IN_LIBGCC2): For libgcc include windows.h file for
4104         function declarations.
4106 2008-04-08  Hans-Peter Nilsson  <hp@axis.com>
4108         * config/cris/cris.c (cris_address_cost): For a PLUS, swap tem1
4109         and tem2 if tem1 is not a REG or MULT.
4111 2008-04-08  Jan Hubicka  <jh@suse.cz>
4113         * function.h (incomming_args): Break out of struct function.
4114         (function_subsections): Break out of struct function.
4115         (rtl_data): Add args, subsections fields. Break out outgoing_args_size,
4116         return_rtx and hard_reg_initial_vals from struct function.
4117         Kill inl_max_label_num.
4118         (current_function_pops_args, current_function_args_info,
4119         current_function_args_size, current_function_args_size,
4120         current_function_pretend_args_size,
4121         current_function_outgoing_args_size,
4122         current_function_internal_arg_pointer, current_function_return_rtx):
4123         Kill compatibility accestor macros.
4124         * builtins.c (expand_builtin_apply_args_1): Update.
4125         (expand_builtin_next_arg): Update.
4126         * df-scan.c (df_get_call_refs): Update.
4127         * dbxout.c (dbxout_function_end): Update.
4128         * dwarf2out.c (dwarf2out_switch_text_section): Update.
4129         (output_line_info): Update.
4130         (secname_for_decl): Update.
4131         (dwarf2out_var_location): Update.
4132         * function.c (free_after_compilation): Update.
4133         (assign_parm_find_stack_rtl): Update.
4134         (assign_parms): Update.
4135         (expand_dummy_function_end): Update.
4136         (expand_function_end): Update.
4137         * calls.c (mem_overlaps_already_clobbered_arg_p): Update.
4138         (expand_call): Update.
4139         (emit_library_call_value_1): Update.
4140         (store_one_arg): Update.
4141         * varasm.c (initialize_cold_section_name): Update.
4142         (unlikely_text_section): Update.
4143         (unlikely_text_section_p): Update.
4144         (assemble_start_function): Update.
4145         (assemble_end_function): Update.
4146         (default_section_type_flags): Update.
4147         (switch_to_section): Update.
4148         * integrate.c (set_decl_abstract_flags): Update.
4149         (get_hard_reg_initial_val): Update.
4150         (has_hard_reg_initial_val): Update.
4151         (allocate_initial_values): Update.
4152         * resource.c (init_resource_info): Update.
4153         * config/alpha/alpha.c (NUM_ARGS): Update.
4154         (direct_return): Update.
4155         (alpha_va_start): Update.
4156         (alpha_sa_size): Update.
4157         (alpha_initial_elimination_offset): Update.
4158         (alpha_expand_prologue): Update.
4159         (alpha_start_function): Update.
4160         (alpha_expand_epilogue): Update.
4161         (unicosmk_initial_elimination_offset):
4162         * config/alpha/alpha.md (call expander): Update.
4163         * config/s390/s390.c (s390_register_info): Update.
4164         (s390_register_info): Update.
4165         (s390_frame_info): Update.
4166         (s390_initial_elimination_offset): Update.
4167         (s390_build_builtin_va_list): Update.
4168         (s390_va_start): Update.
4169         * config/spu/spu.c (direct_return): Update.
4170         (spu_expand_prologue): Update.
4171         (spu_initial_elimination_offset): Update.
4172         (spu_build_builtin_va_list): Update.
4173         (spu_va_start): Update.
4174         * config/sparc/sparc.c (sparc_init_modes): Update.
4175         (sparc_compute_frame_size): Update.
4176         (function_value): Update.
4177         * config/m32r/m32r.c (m32r_compute_frame_size): Update.
4178         * config/i386/i386.md (return expander): Update.
4179         * config/i386/i386.c (ix86_va_start): Update.
4180         (ix86_can_use_return_insn_p): Update.
4181         (ix86_compute_frame_layout): Update.
4182         (ix86_expand_epilogue): Update.
4183         * config/sh/sh.c (output_stack_adjust): Update.
4184         (calc_live_regs): Update.
4185         (sh_expand_prologue): Update.
4186         (sh_builtin_saveregs): Update.
4187         (sh_va_start): Update.
4188         (initial_elimination_offset): Update.
4189         (sh_allocate_initial_value): Update.
4190         (sh_function_ok_for_sibcall): Update.
4191         (sh_get_pr_initial_val): Update.
4192         * config/sh/sh.md (return expander): Update.
4193         * config/avr/avr.c (frame_pointer_required_p): UPdate.
4194         * config/crx/crx.c (crx_compute_frame): UPdate.
4195         (crx_initial_elimination_offset): UPdate.
4196         * config/xtensa/xtensa.c (compute_frame_size): Update
4197         (xtensa_builtin_saveregs): Update.
4198         (xtensa_va_start): Update.
4199         (order_regs_for_local_alloc): Update.
4200         * config/stormy16/stormy16.c (xstormy16_compute_stack_layout): Update.
4201         (xstormy16_expand_builtin_va_start): Update.
4202         * config/fr30/fr30.c (fr30_compute_frame_size): Update.
4203         * config/m68hc11/m68hc11.md (return expanders): Update.
4204         * config/m68hc11/m68hc11.c (expand_prologue): Update.
4205         (expand_epilogue): Update.
4206         * config/cris/cris.c (cris_initial_frame_pointer_offset): Update.
4207         (cris_simple_epilogue): Update.
4208         (cris_expand_prologue): Update.
4209         (cris_expand_epilogue): Update.
4210         * config/iq2000/iq2000.c (iq2000_va_start): Update.
4211         (compute_frame_size): Update.
4212         * config/mt/mt.c (mt_compute_frame_size): Update.
4213         * config/mn10300/mn10300.c (expand_prologue): Update.
4214         (expand_epilogue): Update.
4215         (initial_offset): Update.
4216         (mn10300_builtin_saveregs):
4217         * config/mn10300/mn10300.md (return expander): Update.
4218         * config/ia64/ia64.c (ia64_compute_frame_size): Update.
4219         (ia64_initial_elimination_offset): Update.
4220         (ia64_initial_elimination_offset): Update.
4221         (ia64_expand_prologue): Update.
4222         * config/m68k/m68k.md (return expander): Update.
4223         * config/rs6000/rs6000.c (rs6000_va_start): Update.
4224         (rs6000_stack_info): Update.
4225         * config/mcore/mcore.c (layout_mcore_frame): Update.
4226         (mcore_expand_prolog): Update.
4227         * config/arc/arc.c (arc_compute_frame_size): Update.
4228         * config/score/score3.c (score3_compute_frame_size): Update.
4229         * config/score/score7.c (score7_compute_frame_size): Update.
4230         * config/arm/arm.c (use_return_insn): Update.
4231         (thumb_find_work_register): Update.
4232         (arm_compute_save_reg_mask): Update.
4233         (arm_output_function_prologue): Update.
4234         (arm_output_epilogue): Update.
4235         (arm_size_return_regs): Update.
4236         (arm_get_frame_offsets): Update.
4237         (arm_expand_prologue): Update.
4238         (thumb_exit): Update.
4239         (thumb_unexpanded_epilogue): Update.
4240         (thumb1_output_function_prologue): Update.
4241         * config/pa/pa.md (return expander): Update.
4242         * config/pa/pa.c (compute_frame_size): Update.
4243         (hppa_builtin_saveregs): Update.
4244         * config/mips/mips.c (mips_va_start): Update.
4245         (mips16_build_function_stub): Update.
4246         (mips_compute_frame_info): Update.
4247         (mips_restore_gp): Update.
4248         (mips_output_function_prologue): Update.
4249         (mips_expand_prologue): Update.
4250         * config/v850/v850.c (compute_frame_size): Update.
4251         (expand_prologue): * config/mmix/mmix.c (along): update.
4252         (mmix_initial_elimination_offset): update.
4253         (mmix_reorg): update.
4254         (mmix_use_simple_return): update.
4255         (mmix_expand_prologue): update.
4256         (mmix_expand_epilogue): Update.
4257         * config/bfin/bfin.c (bfin_initial_elimination_offset): Update.
4258         (emit_link_insn): Update.
4260 2008-04-08  Anatoly Sokolov <aesok@post.ru>
4262         * config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Define 
4263         __AVR_HAVE_EIJMP_EICALL__ macro if device have EIJMP and EICALL 
4264         instructions.
4265         * config/avr/avr.c (avr_mcu_types): Set AVR31 architecture for 
4266         atmega103 device.
4268 2008-04-07  Jan Hubicka  <jh@suse.cz>
4270         * function.h (rtl): Rename to x_rtl.
4271         (crtl): New define.
4272         (return_label, naked_return_label, stack_slot_list, parm_birth_insn,
4273         frame_offset, stack_check_probe_note, arg_pointer_save_area,
4274         used_temp_slots avail_temp_slots, temp_slot_level,
4275         nonlocal_goto_handler_labels): Update accesstors.
4276         (rtl): New global variable.
4277         (struct function): Move some fileds to rtl_data.
4278         (get_arg_pointer_save_area): Update prototype.
4279         * builtins.c (expand_builtin_setjmp_receiver): Update call of
4280         get_arg_pointer_save_area.
4281         * expr.c (init_expr): Update
4282         * function.c (get_frame_size): Update
4283         (assign_stack_local): Update
4284         (expand_function_end): Update.
4285         (get_art_pointer_save_area): Update
4286         * function.h 
4287         * emit-rtl.c (rtl): Declare.
4288         (regno_reg_rtx): Declare.
4289         (first_insn, last_insn, cur_insn_uid, last_location, first_label_num):
4290         Update.
4291         (gen_reg_rtx): Update.
4292         * varasm.c (n_deferred_constatns): Update accestor.
4293         (init_varasm_status): Do not allocate varasm_status.
4294         (force_const_mem, get_pool_size, output_constant_pool): Update.
4295         * stmt.c (force_label_rtx): Do not use x_ prefixes.
4296         (expand_nl_goto_receiver): Update get_arg_pointer_save_area.
4297         * m32c/m32.c (m32c_leaf_function_p, m32c_function_needs_enter): Update.
4298         * sparc/sparc.h (INIT_EXPANDERS): Update.
4299         * ia64/ia64.h (INIT_EXPANDERS): Update.
4301 2008-04-07  James E. Wilson  <wilson@tuliptree.org>
4303         * reload.c (push_secondary_reload): Add missing break to for loop.
4305 2008-04-07  Peter Bergner  <bergner@vnet.ibm.com>
4307         PR middle-end/PR28690
4308         * rtlanal.c: Update copyright years.
4309         (commutative_operand_precedence): Give SYMBOL_REF's the same precedence
4310         as REG_POINTER and MEM_POINTER operands.
4311         * emit-rtl.c (gen_reg_rtx_and_attrs): New function.
4312         (set_reg_attrs_from_value): Call mark_reg_pointer as appropriate.
4313         * rtl.h (gen_reg_rtx_and_attrs): Add prototype for new function.
4314         * gcse.c: Update copyright years.
4315         (pre_delete): Call gen_reg_rtx_and_attrs.
4316         (hoist_code): Likewise.
4317         (build_store_vectors): Likewise.
4318         (delete_store): Likewise.
4319         * loop-invariant.c (move_invariant_reg): Likewise.
4320         Update copyright years.
4322 2008-04-07  Uros Bizjak  <ubizjak@gmail.com>
4324         * config/i386/i386.md ("*sse_prologue_save_insn"): Use braced output
4325         control string instead of quoted.
4327 2008-04-07  Kenneth Zadeck  <zadeck@naturalbridge.com>
4329         * doc/rtl.texi: Rewrite of subreg section.
4331 2008-04-07  Kai Tietz  <kai.tietz@onevision.com>
4333         PR/35842
4334         * config/i386/i386.c (legitimize_pic_address): Add treating
4335         of dllimport SYM_REF's.
4336         (legitimize_dllimport_symbol): Add prototype.
4338 2008-04-07  Eric Botcazou  <ebotcazou@adacore.com>
4340         * fold-const.c (fold) <ARRAY_REF>: New case.  Try to fold constant
4341         reference in constructor with non self-referential type.
4343 2008-04-07  Eric Botcazou  <ebotcazou@adacore.com>
4345         Removal of Return with Depressed Stack Pointer support
4346         * tree.h (TYPE_RETURNS_STACK_DEPRESSED): Delete.
4347         (ECF_SP_DEPRESSED): Likewise.
4348         (ECF_LIBCALL_BLOCK, ECF_NOVOPS): Adjust.
4349         * calls.c (emit_call_1): Do not test ECF_SP_DEPRESSED.
4350         (flags_from_decl_or_type): Do not test TYPE_RETURNS_STACK_DEPRESSED.
4351         (expand_call): Do not test ECF_SP_DEPRESSED.
4352         * dse.c (dse_step0): Do not test TYPE_RETURNS_STACK_DEPRESSED.
4353         * function.c (keep_stack_depressed): Delete.
4354         (handle_epilogue_set): Likewise.
4355         (update_epilogue_consts): Likewise.
4356         (emit_equiv_load): Likewise.
4357         (thread_prologue_and_epilogue_insns): Remove support for Return with
4358         Depressed Stack Pointer.
4359         * print-tree.c (print_node): Do not test TYPE_RETURNS_STACK_DEPRESSED.
4361 2008-04-06  Richard Guenther  <rguenther@suse.de>
4363         PR tree-optimization/35400
4364         * tree-vrp.c (vrp_evaluate_conditional): Only query value-range
4365         information from SSA_NAMEs.
4367 2008-04-06  Anatoly Sokolov <aesok@post.ru>
4369         * config/avr/avr.h (avr_mega_p): Remove declaration.
4370         (AVR_MEGA): Remove macro.
4371         * config/avr/avr.c (avr_mega_p): Remove variable.
4372         (avr_override_options): Remove inicializion of avr_mega_p.
4373         Use AVR_HAVE_JMP_CALL instead of AVR_MEGA.
4374         (print_operand): Use AVR_HAVE_JMP_CALL instead of AVR_MEGA.
4375         (avr_jump_mode): (Ditto.).
4376         (avr_output_progmem_section_asm_op): (Ditto.).
4377         (avr_asm_init_sections): (Ditto.).
4378         (avr_asm_init_sections): (Ditto.).
4379         (avr_rtx_costs): (Ditto.).
4380         * config/avr/avr.md: (Ditto.).
4381         * config/avr/avr.h: Use '__AVR_HAVE_JMP_CALL__' instead of 
4382         '__AVR_MEGA__'.
4384 2008-04-06  Richard Guenther  <rguenther@suse.de>
4386         PR tree-optimization/35842
4387         * tree-ssa-address.c (fixed_address_object_p): Adjust to match
4388         is_gimple_invariant_address.
4390 2008-04-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
4392         * gcc.c (default_compilers): Sync Fortran extensions list with
4393         that in fortran/lang-specs.h.
4394         * doc/invoke.texi: Likewise.
4395         * dbxout.c (get_lang_number): Use "GNU Fortran" in "GNU F95".
4396         * dwarf2out.c (gen_compile_unit_die): Likewise.
4398 2008-04-06  Tom G. Christensen  <tgc@jupiterrise.com>
4400         * gthr-posix95.h (__gthread_cond_wait_recursive): Add missing &.
4402 2008-04-05  Uros Bizjak  <ubizjak@gmail.com>
4404         PR target/12329
4405         * config/i386/i386.c (ix86_function_regparm): Error if regparm(3)
4406         attribute is used for nested functions.
4408 2008-04-05  Jan Hubicka  <jh@suse.cz>
4410         * emit-rtl.c (init_emit): xcalloc regno_pointer_align.
4412         * tree-dump.c (dump_enable_all): Remove prototype; do not accept
4413         letter argument.
4414         (dump_files): Update.
4415         (enable_rtl_dump_file): Do not accept letter argument.
4416         * tree-pass.h (dump_file_info): Remove letter argument.
4417         * toplev.c (decode_d_option): Update -da handling.
4418         * toplev.h (enable_rtl_dump_file): Update prototype.
4419         * passes.c (register_one_dump_file): Do not accept IPA argument; work
4420         it out based on pass type.
4421         (register_dump_files_1): Likewise.
4422         (init_optimization_passes): Update register_one_dump_file calls.
4423         (execute_one_pass): Sanity check that IPA passes are called at IPA
4424         level and RTL passes at RTL level.
4425         (execute_pass_list): IPA pass can not be after or subpass of
4426         GIMPLE/RTL pass.
4427         (execute_ipa_pass_list): Handle IPA subpasses of IPA subpasses and
4428         disallov RTL subpasses of IPA subpasses.
4430 2008-04-05  Ben Elliston  <bje@au.ibm.com>
4432         * tree-cfg.c (need_fake_edge_p): Return false for calls to
4433         builtins that return exactly once and do not throw. Cache call to
4434         call_expr_flags.
4436 2008-04-04 Andy Hutchinson <hutchinsonandy@aim.com>
4438         PR rtl-optimization/34916
4439         PR middle-end/35519
4440         * combine.c (create_log_links): Do not create duplicate LOG_LINKS
4441         between instruction pairs.
4443 2008-04-04  Naveen.H.S  <naveen.hs@kpitcummins.com>
4445         * doc/invoke.texi: Document -mbitops for SH.
4446         * config/sh/constraints.md (K03, K12, Sbv, Sbw): New constraints.
4447         * config/sh/predicates.md (bitwise_memory_operand): New predicate.
4448         * config/sh/sh.c (print_operand): Add %t operand code.
4449         * config/sh/sh.h (GO_IF_LEGITIMATE_INDEX): Add condition for SH2A.
4450         * config/sh/sh.md (*iorsi3_compact): Fix condition for SH2A.
4451         (extendqisi2_compact): Add the alternative for SH2A 4-byte mov.b.
4452         (extendqihi2): Likewise.
4453         (movqi_i): Likewise.
4454         (insv): Use bset, bclr and bst instructions for SH2A if possible.
4455         (extv): Use bld instruction for SH2A if possible.
4456         (extzv): Likewise.
4457         (bclr_m2a, bclrmem_m2a, bset_m2a, bsetmem_m2a, bst_m2a, bld_m2a,
4458         bldsign_m2a, bld_reg, *bld_regqi, band_m2a, bandreg_m2a,
4459         bor_m2a, borreg_m2a, bxor_m2a, bxorreg_m2a): New insns.
4460         (bset.b, bclr.b): Define peepholes.
4461         * config/sh/sh.opt (mbitops): New option.
4463 2008-04-04  Janis Johnson  <janis187@us.ibm.com>
4465         PR target/35620
4466         * config/rs6000/rs6000.c (rs6000_check_sdmode): Handle indirect ref
4467         and view convert expression.
4469 2008-04-04  Jakub Jelinek  <jakub@redhat.com>
4471         PR target/35364
4472         * tree-cfg.c (remove_useless_stmts_1): Handle OMP_* containers.
4474 2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>
4476         * config.gcc (extra_headers): Add wmmintrin.h for x86 and x86-64.
4478         * config/i386/cpuid.h (bit_AES): New.
4479         (bit_PCLMUL): Likewise.
4481         * config/i386/i386.c (pta_flags): Add PTA_AES and PTA_PCLMUL.
4482         (override_options): Handle PTA_AES and PTA_PCLMUL.  Enable
4483         SSE2 if AES or PCLMUL is enabled.
4484         (ix86_builtins): Add IX86_BUILTIN_AESENC128,
4485         IX86_BUILTIN_AESENCLAST128, IX86_BUILTIN_AESDEC128,
4486         IX86_BUILTIN_AESDECLAST128, IX86_BUILTIN_AESIMC128,
4487         IX86_BUILTIN_AESKEYGENASSIST128 and IX86_BUILTIN_PCLMULQDQ128.
4488         (bdesc_sse_3arg): Add IX86_BUILTIN_PCLMULQDQ128.
4489         (bdesc_2arg): Add IX86_BUILTIN_AESENC128,
4490         IX86_BUILTIN_AESENCLAST128, IX86_BUILTIN_AESDEC128,
4491         IX86_BUILTIN_AESDECLAST128 and IX86_BUILTIN_AESKEYGENASSIST128.
4492         (bdesc_1arg): Add IX86_BUILTIN_AESIMC128.
4493         (ix86_init_mmx_sse_builtins): Define __builtin_ia32_aesenc128,
4494         __builtin_ia32_aesenclast128, __builtin_ia32_aesdec128,
4495         __builtin_ia32_aesdeclast128,__builtin_ia32_aesimc128,
4496         __builtin_ia32_aeskeygenassist128 and
4497         __builtin_ia32_pclmulqdq128.
4498         * config/i386/i386.c (ix86_expand_binop_imm_builtin): New.
4499         (ix86_expand_builtin): Use it for IX86_BUILTIN_PSLLDQI128 and
4500         IX86_BUILTIN_PSRLDQI128.  Handle IX86_BUILTIN_AESKEYGENASSIST128.
4502         * config/i386/i386.h (TARGET_AES): New.
4503         (TARGET_PCLMUL): Likewise.
4504         (TARGET_CPU_CPP_BUILTINS): Handle TARGET_AES and TARGET_PCLMUL.
4506         * config/i386/i386.md (UNSPEC_AESENC): New.
4507         (UNSPEC_AESENCLAST): Likewise.
4508         (UNSPEC_AESDEC): Likewise.
4509         (UNSPEC_AESDECLAST): Likewise.
4510         (UNSPEC_AESIMC): Likewise.
4511         (UNSPEC_AESKEYGENASSIST): Likewise.
4512         (UNSPEC_PCLMUL): Likewise.
4514         * config/i386/i386.opt (maes): New.
4515         (mpclmul): Likewise.
4517         * config/i386/sse.md (aesenc): New pattern.
4518         (aesenclast): Likewise.
4519         (aesdec): Likewise.
4520         (aesdeclast): Likewise.
4521         (aesimc): Likewise.
4522         (aeskeygenassist): Likewise.
4523         (pclmulqdq): Likewise.
4525         * config/i386/wmmintrin.h: New.
4527         * doc/extend.texi: Document AES and PCLMUL built-in function.
4529         * doc/invoke.texi: Document -maes and -mpclmul.
4531 2008-04-04  Paolo Bonzini  <bonzini@gnu.org>
4533         * function.c (free_after_parsing): Replace with
4534         cxx_push_function_context from C++ front-end.
4535         (allocate_struct_function): Don't call langhook.
4536         * langhooks.h (struct lang_hooks_for_functions): Delete.
4537         (struct lang_hooks): Add back missing_noreturn_ok_p here, delete
4538         member "function".
4539         * langhooks-def.h (LANG_HOOKS_MISSING_NORETURN_OK_P): Add.
4540         (LANG_HOOKS_FUNCTION_INIT, LANG_HOOKS_FUNCTION_FINAL,
4541         LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P,
4542         LANG_HOOKS_FUNCTION_INITIALIZER): Delete.
4543         (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_MISSING_NORETURN_OK_P,
4544         remove LANG_HOOKS_FUNCTION_INITIALIZER.
4545         * tree-cfg.c: Adjust call to missing_noreturn_ok_p langhook.
4547         * c-objc-common.h (LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P):
4548         Rename to LANG_HOOKS_MISSING_NORETURN_OK_P.
4549         
4550 2008-04-04  Jakub Jelinek  <jakub@redhat.com>
4552         PR c/35440
4553         * c-pretty-print.c (pp_c_initializer_list): Handle CONSTRUCTOR
4554         for all types.
4556 2008-04-04  Richard Guenther  <rguenther@suse.de>
4558         PR middle-end/35823
4559         * fold-const.c (optimize_minmax_comparison): Use the correct
4560         type for the constant in the simplified comparison.
4562 2008-04-04  Zuxy Meng <zuxy.meng@gmail.com>
4564         * config/i386/driver-i386.c (describe_cache): Add l2_sizekb argument.
4565         Pass L2 size as "--param l2-cache-size" to the compiler.
4566         (decode_l2_cache): New function to decode L2 cache parameters using
4567         0x8000006 extended cpuid function.
4568         (detect_caches_amd): Determine parameters of L2 cache using
4569         decode_l2_caches function.
4570         (decode_caches_intel): Decode L2 cache parameters.
4571         (detect_caches_intel): Determine L2 cache parameters using
4572         decode_caches_intel and decode_l2_caches functions.
4574 2008-04-03  Bob Wilson  <bob.wilson@acm.org>
4576         * config/xtensa/xtensa.c (xtensa_secondary_reload_class): Use a
4577         secondary input reload for subword loads from the constant pool.
4579 2008-04-03  Janis Johnson  <janis187@us.ibm.com>
4581         PR target/35713
4582         * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use integer
4583           constants of the appropriate size for runtime calculations.
4585         PR c/35712
4586         * dfp.c (decimal_from_decnumber): Retain trailing zeroes for
4587           decimal-float literal constant zero.
4589 2008-04-03  Jakub Jelinek  <jakub@redhat.com>
4591         PR c/35738
4592         * c-parser.c (c_parser_omp_atomic): Call
4593         default_function_array_conversion on the RHS.
4595         PR middle-end/35818
4596         * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: Don't
4597         call is_variable_sized if decl has incomplete type.
4599 2008-04-03  H.J. Lu  <hongjiu.lu@intel.com>
4601         * config/i386/i386-protos.h (ix86_aligned_p): Removed.
4603 2008-04-03  Adam Nemet  <anemet@caviumnetworks.com>
4605         * config/mips/mips.md (any_gt, any_ge, any_lt, any_le): New code
4606         iterators.
4607         (u): Add attribute values for gt, gtu, ge, geu, lt, ltu, le and leu.
4608         (sgt<u>): Merge sgt and sgtu into new expander.
4609         (sgt, sgtu): Remove expanders.
4610         (*sgt<u>_<mode>): Merge *sgt_<mode> and *sgtu_<mode> into new pattern.
4611         (*sgt_<mode>, *sgtu_<mode>): Remove patterns.
4612         (*sgt<u>_<mode>_mips16): Merge *sgt_<mode>_mips16 and
4613         *sgtu_<mode>_mips16 into new pattern.
4614         (*sgt_<mode>_mips16, *sgtu_<mode>_mips16): Remove patterns.
4615         (sge<u>): Merge sge and sgeu into new expander.
4616         (sge, sgeu): Remove expanders.
4617         (*sge<u>_<mode>): Merge *sge_<mode> and second *sge_<mode> into
4618         new pattern.
4619         (*sge_<mode>, second *sge_<mode>): Remove patterns.
4620         (slt<u>): Merge slt and sltu into new expander.
4621         (slt, sltu): Remove expanders.
4622         (*slt<u>_<mode>): Merge *slt_<mode> and *sltu_<mode> into new pattern.
4623         (*slt_<mode>, *sltu_<mode>): Remove patterns.
4624         (*slt<u>_<mode>_mips16): Merge *slt_<mode>_mips16 and
4625         *sltu_<mode>_mips16 into new pattern.
4626         (*slt_<mode>_mips16, *sltu_<mode>_mips16): Remove patterns.
4627         (sle<u>): Merge sle and sleu into new expander.
4628         (sle, sleu): Remove expanders.
4629         (*sle<u>_<mode>): Merge *sle_<mode> and *sleu_<mode> into new pattern.
4630         (*sle_<mode>, *sleu_<mode>): Remove patterns.
4631         (*sle<u>_<mode>_mips16): Merge *sle_<mode>_mips16 and
4632         *sleu_<mode>_mips16 into new pattern.
4633         (*sle_<mode>_mips16, *sleu_<mode>_mips16): Remove patterns.
4635 2008-04-03  Jan Hubicka  <jh@suse.cz>
4637         PR tree-optimization/35795
4638         * alpha/alpha.c (alpha_output_mi_thunk_osf): Free after compilation.
4639         * sparc/sparc.c (sparc_output_mi_thunk): Likewise.
4640         * ia64/ia64.c (ia64_output_mi_thunk): Likewise.
4641         * m68k/m68k.c (m68k_output_mi_thunk): Likewise.
4642         * score/score3.c (score3_output_mi_thunk): Likewise.
4643         * score/score7.c (score7_output_mi_thunk): Likewise.
4644         * mips/mips.c (mips_output_mi_thunk): Likewise.
4646 2008-04-03  Richard Guenther  <rguenther@suse.de>
4648         * tree-vrp.c (extract_range_from_unary_expr): Handle all
4649         conversions.  Simplify code.
4651 2008-04-03  Kaz Kojima  <kkojima@gcc.gnu.org>
4653         * config/sh/sh.c (sh_output_mi_thunk): Free cfun.
4655 2008-04-03  Tom Tromey  <tromey@redhat.com>
4656             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4658         * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h.
4659         * config/bfin/t-bfin-linux (generated_files): Add
4660         linux-sysroot-suffix.h.
4661         * doc/install.texi (Prerequisites): Require make 3.80.
4662         * doc/sourcebuild.texi (Front End Directory): Document new
4663         variable.
4664         * Makefile.in (generated_files): New variable.
4665         (ALL_HOST_OBJS): New variable.
4666         ($(ALL_HOST_OBJS)): New target.
4668 2008-04-03  Paolo Bonzini  <bonzini@gnu.org>
4670         * tree-inline.c (copy_generic_body, copy_decl_no_change): Export.
4671         (remap_block): Call id->transform_lang_insert_block instead
4672         of langhook.
4673         (optimize_inline_calls, unsave_expr_now, tree_function_versioning):
4674         Set id.transform_lang_insert_block to NULL.
4675         (clone_body): Move to cp/optimize.c
4676         * tree-inline.h (struct copy_body_data): Change
4677         transform_lang_insert_block to function pointer.
4678         (copy_generic_body, copy_decl_no_change): Export.
4679         * langhooks.h (struct lang_hooks_for_decls): Kill insert_block.
4680         * langhooks-def.h (LANG_HOOKS_INSERT_BLOCK): Kill.
4681         (LANG_HOOKS_DECLS): Remove LANG_HOOKS_INSERT_BLOCK.
4683         * c-tree.h (insert_block): Kill.
4684         * c-decl.c (insert_block): Kill.
4686 2008-04-03  Paolo Bonzini  <bonzini@gnu.org>
4688         * c-objc-common.h (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4689         LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete.
4690         * c-tree.h (c_push_function_context, c_pop_function_context): Remove
4691         argument.
4692         * c-decl.c (c_push_function_context, c_pop_function_context): Remove
4693         argument, call {push,pop}_function_context from here.
4694         * c-parser.c: Use c_{push,pop}_function_context.
4696         * function.c (push_function_context_to): Move meat ...
4697         (push_function_context): ... here.  Simplify.
4698         * function.c (pop_function_context_from): Move meat ...
4699         (pop_function_context): ... here.  Simplify.
4700         * langhooks.h (struct lang_hooks_for_functions): Remove enter_nested,
4701         leave_nested).
4702         * langhooks-def.h (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4703         LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete.
4704         (LANG_HOOKS_FUNCTION_INITIALIZER): Delete them from here.
4705         * tree.h (push_function_context_to, pop_function_context_from): Remove.
4707 2008-04-03  Ben Elliston  <bje@au.ibm.com>
4709         * expmed.c (extract_force_align_mem_bit_field): Remove.
4711 2008-04-03  Richard Guenther  <rguenther@suse.de>
4713         PR middle-end/35800
4714         * expr.h (try_casesi): Adjust prototype.
4715         * expr.c (try_casesi): Take fallback label as extra parameter.
4716         Use that for gen_casesi if default_label is NULL.
4717         * stmt.c (expand_case): Pass fallback label to try_casesi,
4718         make sure to fill gaps with a fallback label if default_label
4719         is not present.
4721 2008-04-03  Dominique d'Humieres <dominiq@lps.ens.fr>
4723         PR target/35801
4724         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Free cfun.
4726 2008-04-03  Ben Elliston  <bje@au.ibm.com>
4728         * expmed.c (extract_split_bit_field): Remove if (0) code.
4729         * tree-ssa-structalias.c (do_sd_constraint): Likewise.
4730         (do_ds_constraint): Likewise.
4732 2008-04-02  Joseph Myers  <joseph@codesourcery.com>
4734         * doc/cppopts.texi (-dU): Document.
4735         * c-common.h (flag_dump_macros): Update comment.
4736         * c-opts.c (handle_OPT_d): Handle -dU.
4737         * c-ppoutput.c (macro_queue, define_queue, undef_queue,
4738         dump_queued_macros, cb_used_define, cb_used_undef): New.
4739         (init_pp_output): Handle -dU.
4740         (cb_line_change): Call dump_queued_macros.
4741         * toplev.c (decode_d_option): Accept -dU as preprocessor option.
4743 2008-04-02  Anatoly Sokolov <aesok@post.ru>
4745         * config/avr/predicates.md (io_address_operand): New predicate. 
4746         * config/avr/avr-protos.h (avr_io_address_p): Remove declaration.
4747         * config/avr/avr.c (avr_io_address_p): Remove function.
4748         (out_movqi_r_mr): Use 'io_address_operand' predicate instead of 
4749         'avr_io_address_p' function.
4750         (out_movhi_r_mr): (Ditto.).
4751         (out_movqi_mr_r): (Ditto.).
4752         (out_movhi_mr_r): (Ditto.).
4753         (avr_address_cost): (Ditto.).
4755 2008-04-02  Uros Bizjak  <ubizjak@gmail.com>
4757         * config/i386/i386.md (*float<SSEMODEI24:mode><X87MODEF:mode>2_1):
4758         Emit gen_floatdi<X87MODEF:mode>2_i387_with_xmm for DImode values
4759         in 32bit mode when XMM registers are available to avoid store
4760         forwarding stalls.
4761         (floatdi<X87MODEF:mode>2_i387_with_xmm): New insn pattern and
4762         corresponding post-reload splitters.
4764 2008-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4766         * config/i386/i386.c (bdesc_sse_3arg): Add __builtin_ia32_shufps
4767         and __builtin_ia32_shufpd.  Provide __builtin_ia32_roundsd and
4768         __builtin_ia32_roundss.
4769         (ix86_init_mmx_sse_builtins): Remove __builtin_ia32_shufps,
4770         __builtin_ia32_shufpd, __builtin_ia32_roundsd and
4771         __builtin_ia32_roundss.
4772         (ix86_expand_builtin): Don't handle IX86_BUILTIN_SHUFPS and
4773         IX86_BUILTIN_SHUFPD here.
4775 2008-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4777         * config/i386/i386.md (plogic): New.
4778         (plogicprefix): Likewise.
4780         * config/i386/mmx.md (mmx_<code><mode>3): New.
4781         (mmx_and<mode>3): Removed.
4782         (mmx_ior<mode>3): Likewise.
4783         (mmx_xor<mode>3): Likewise.
4785         * config/i386/sse.md (<code><mode>3): New.
4786         (*<code><mode>3): Likewise.
4787         (*<code><mode>3): Likewise.
4788         (<code><mode>3): Likewise.
4789         (*sse_<code><mode>3): Likewise.
4790         (*sse2_<code><mode>3): Likewise.
4791         (<code>tf3): Likewise.
4792         (*<code>tf3): Likewise.
4793         (and<mode>3): Likewise.
4794         (*and<mode>3): Likewise.
4795         (ior<mode>3): Removed.
4796         (*ior<mode>3): Likewise.
4797         (xor<mode>3): Likewise.
4798         (*xor<mode>3): Likewise.
4799         (*and<mode>3): Likewise.
4800         (*ior<mode>3): Likewise.
4801         (*xor<mode>3): Likewise.
4802         (and<mode>3): Likewise.
4803         (*sse_and<mode>3): Likewise.
4804         (*sse2_and<mode>3): Likewise.
4805         (andtf3): Likewise.
4806         (*andtf3): Likewise.
4807         (ior<mode>3): Likewise.
4808         (*sse_ior<mode>3): Likewise.
4809         (*sse2_ior<mode>3): Likewise.
4810         (iortf3): Likewise.
4811         (*iortf3): Likewise.
4812         (xor<mode>3): Likewise.
4813         (*sse_xor<mode>3): Likewise.
4814         (*sse2_xor<mode>3): Likewise.
4815         (xortf3): Likewise.
4816         (*xortf3): Likewise.
4818 2008-04-02  Richard Guenther  <rguenther@suse.de>
4820         PR tree-optimization/14495
4821         PR tree-optimization/34793
4822         * tree-vrp.c (struct switch_update): New structure.
4823         (to_remove_edges, to_update_switch_stmts): New VECs.
4824         (simplify_switch_using_ranges): New function.  Remove not taken
4825         case labels and edges.
4826         (simplify_stmt_using_ranges): Call it.
4827         (identify_jump_threads): Mark edges we have queued for removal
4828         so we don't thread them.
4829         (execute_vrp): Remove edges queued for removal, update SWITCH_STMT
4830         case label vector.
4831         * tree-cfg.c (group_case_labels): Deal with missing default label.
4832         (tree_verify_flow_info): Allow missing default label.
4833         * stmt.c (emit_case_bit_tests): Deal with NULL default_label.
4834         (emit_case_nodes): Likewise.
4835         (expand_case): Do not rely on the default label to be present.
4836         * expr.c (try_casesi): Deal with NULL default_label.
4837         (do_tablejump): Likewise.
4839 2008-04-02  Richard Guenther  <rguenther@suse.de>
4841         PR tree-optimization/14495
4842         * tree-vrp.c (vrp_visit_cond_stmt): Do not handle
4843         SWITCH_EXPR here ...
4844         (vrp_visit_switch_stmt): ... but here (new function).
4845         (find_case_label_index): New helper function.
4846         (vrp_visit_stmt): Dispatch to vrp_visit_switch_stmt.
4848 2008-04-02  Paolo Bonzini  <bonzini@gnu.org>
4850         * fwprop.c: Fix ISO-C99ism.
4852 2008-04-02  Paolo Bonzini  <bonzini@gnu.org>
4854         PR bootstrap/35752
4855         * Makefile.in (objdir): Set it here.
4856         * configure.ac: Not here.  Find dynamic linker characteristics.
4857         * exec-tool.in: Use them.
4858         * aclocal.m4: Regenerate.
4859         * configure: Regenerate.
4861 2008-04-02  Paolo Bonzini  <bonzini@gnu.org>
4863         * expr.c (expand_var): Delete it.
4864         * expr.h (expand_var): Delete prototype.
4865         * function.c (expand_function_start): Use expand_decl instead.
4866         * cfgexpand.c (expand_one_static_var, expand_one_var): Don't call
4867         langhook.
4869 2008-04-02  Andy Hutchinson <hutchinsonamdy@aim.com>
4871         PR rtl-optimization/35542
4872         * fwprop.c (forward_propagate_and_simplify): Replace
4873         loc_reg_mentioned_in_p with reg_mentioned_p.
4875 2008-04-02  Paolo Bonzini  <bonzini@gnu.org>
4877         PR rtl-optimization/35281
4878         * fwprop.c (PR_CAN_APPEAR, PR_HANDLE_MEM): New.
4879         (propagate_rtx_1): Handle PR_HANDLE_MEM.
4880         (propagate_rtx): Pass PR_HANDLE_MEM if appropriate.
4881         (varying_mem_p): Move above propagate_rtx.
4882         (all_uses_available_at): Do not check MEMs.
4884 2008-04-02  Rafael Espindola  <espindola@google.com>
4886         * tree-vrp.c (extract_code_and_val_from_cond): Remove.
4887         (register_edge_assert_for_2): Split the cond argument.
4888         (register_edge_assert_for_1): Adjust for the change in
4889         register_edge_assert_for_2.
4890         (register_edge_assert_for): Split the cond argument.
4891         (find_switch_asserts): Adjust for the change in
4892         register_edge_assert_for.
4894 2008-04-02  Kai Tietz  <kai.tietz@onevision.com>
4896         * config.gcc: Add for x86_64-*-mingw* the t-crtfm to tbuild.
4897         * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Add 8 byte
4898         offsets for 64-bit mingw.
4899         * config/i386/i386.c (ix86_pass_by_reference): Correct calling
4900         abi for x86_64-pc-mingw.
4902 2008-04-02  Richard Guenther  <rguenther@suse.de>
4904         * tree-vrp.c (extract_range_from_assert): Make sure to not
4905         produce range min/max with TREE_OVERFOW set.
4906         If merging a anti-range and a range keep the anti-range if
4907         the range covers all values of the type.
4908         (register_edge_assert_for_2): Only allow sign-changing
4909         conversions in detecting canonical range checks.  Also
4910         register an assert for the unsigned name if useful.
4912         PR tree-optimization/35787
4913         * tree-vrp.c (vrp_val_max): New function.
4914         (vrp_val_min): Likewise.
4915         (vrp_val_is_max): Move earlier, use vrp_val_{min,max}.
4916         (vrp_val_is_min): Likewise.
4917         (supports_overflow_infinity): Use vrp_val_{min,max}.
4918         (negative_overflow_infinity): Likewise.
4919         (positive_overflow_infinity): Likewise.
4920         (is_negative_overflow_infinity): Use vrp_val_is_{min,max}.
4921         (is_positive_overflow_infinity): Likewise.
4922         (is_overflow_infinity): Likewise.
4923         (avoid_overflow_infinity): Use vrp_val_{min,max} and
4924         vrp_val_is_{min,max}.
4925         (set_and_canonicalize_value_range): Canonicalize anti-ranges
4926         to ranges if possible.  Avoid empty ranges.
4928 2008-04-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4930         PR middle-end/35705
4931         * fold-const.c (get_pointer_modulus_and_residue): Return modulus 1 if
4932         the expression is a function address.
4934 2008-04-01  George Helffrich  <george@gcc.gnu.org>
4936         PR fortran/35154, fortran/23057
4937         * dbxout.c: Emit .stabs debug info for Fortran COMMON block
4938         variables as base symbol name + offset using N_BCOMM/N_ECOMM.
4939         (is_fortran, dbxout_common_name, dbxout_common_check): New functions.
4940         (dbxout_symbol_location): Transform N_LCSYM to N_GSYM for storage
4941         in common.
4942         (dbxout_syms): Check for COMMON-based symbol and wrap in
4943         N_BCOMM/N_ECOMM stab bracket, including as many symbols as possible
4944         in bracket for efficiency.
4946         * dwarf2out.c: Emit DWARF debug info for Fortran COMMON block
4947         using DW_TAG_common_block + member offset.
4948         (add_pubname_string): New function.
4949         (dw_expand_expr): New function to find block name and offset for
4950         COMMON var.
4951         (common_check): New function to check whether symbol in Fortran COMMON.
4952         (gen_variable_die): If COMMON, use DW_TAG_common_block.
4954 2008-04-01  Volker Reichelt  <v.reichelt@netcologne.de>
4956         PR c/35436
4957         * c-format.c (init_dynamic_gfc_info): Ignore invalid locus type.
4959 2008-04-02  Ben Elliston  <bje@au.ibm.com>
4961         * config/v850/v850.md (casesi): Remove if (0) code.
4962         * config/i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
4963         * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
4965 2008-04-01  Uros Bizjak  <ubizjak@gmail.com>
4967         * config/i386/i386.md (rex64suffix): New mode attribute.
4968         (floathi<mode>2): Disable expander for SSE math.
4969         (*floathi<mode>2_1): New insn insn_and_split pattern.
4970         (*floathi<mode>2_i387_with_temp): New macroized instruction pattern and
4971         corresponding post-reload splitters.
4972         (*floathi<mode>2_i387): New macroized insn pattern.
4973         (float<SSEMODEI24:mode><X87MODEF:mode>2): New macroized expander.
4974         (*float<SSEMODEI24:mode><X87MODEF:mode>2_1): New macroized
4975         insn_and_split pattern.
4976         (*floatsi<mode>2_vector_mixed_with_temp, *floatsi<mode>2_vector_mixed):
4977         New macroized instruction patterns and corresponding post-reload
4978         splitters.
4979         (*floatsi<mode>2_mixed_with_temp): New macroized instruction pattern
4980         and corresponding post-reload splitters.
4981         (*floatsi<mode>2_mixed_interunit, *floatsi<mode>2_mixed_nointerunit):
4982         New macroized instruction patterns.
4983         (*floatsi<mode>2_vector_sse_with_temp, *floatsi<mode>2_vector_sse): New
4984         macroized instruction patterns and corresponding post-reload splitters.
4985         (*floatsi<mode>2_sse_with_temp): New macroized instruction pattern and
4986         corresponding post-reload splitters.
4987         (*floatsi<mode>2_sse_interunit, *floatsi<mode>2_mixed_nointerunit):
4988         New macroized instruction patterns.
4989         (*floatsi<mode>2_i387_with_temp): New macroized instruction pattern and
4990         corresponding post-reload splitters.
4991         (*floatsi<mode>2_i387): New macroized instruction patterns.
4993 2008-04-01  H.J. Lu  <hongjiu.lu@intel.com>
4995         * config/i386/i386.md (smaxmin): New.
4996         (umaxmin): Likewise.
4997         (maxminiprefix): Likewise.
4998         (maxminfprefix): Likewise.
4999         (<code><mode>3): Likewise.
5000         (smin<mode>3): Removed.
5001         (smax<mode>3): Likewise.
5003         * config/i386/mmx.md (mmx_<code>v2sf3): New.
5004         (mmx_<code>v4hi3): Likewise.
5005         (mmx_<code>v8qi3): Likewise.
5006         (mmx_smaxv2sf3): Removed.
5007         (mmx_sminv2sf3): Likewise.
5008         (mmx_umaxv8qi3): Likewise.
5009         (mmx_smaxv4hi3): Likewise.
5010         (mmx_uminv8qi3): Likewise.
5011         (mmx_sminv4hi3): Likewise.
5013         * config/i386/sse.md (<addsub><mode>3): New.
5014         (*<addsub><mode>3): Likewise.
5015         (<sse>_vm<addsub><mode>3): Likewise.
5016         (<maxmin><mode>3): Likewise.
5017         (*<maxmin><mode>3_finite): Likewise.
5018         (*<maxmin><mode>3): Likewise.
5019         (<sse>_vm<maxmin><mode>3): Likewise.
5020         (sse3_h<addsub>v4sf3): Likewise.
5021         (sse3_h<addsub>v2df3): Likewise.
5022         (<maxmin>v16qi3): Likewise.
5023         (*<maxmin>v16qi3): Likewise.
5024         (<maxmin>v8hi3): Likewise.
5025         (*<maxmin>v8hi3): Likewise.
5026         (*sse4_1_<maxmin><mode>3): Likewise.
5027         (*sse4_1_<maxmin><mode>3): Likewise.
5028         (add<mode>3): Removed.
5029         (*add<mode>3): Likewise.
5030         (<sse>_vmadd<mode>3): Likewise.
5031         (sub<mode>3): Likewise.
5032         (*sub<mode>3): Likewise.
5033         (<sse>_vmsub<mode>3): Likewise.
5034         (smin<mode>3): Likewise.
5035         (*smin<mode>3_finite): Likewise.
5036         (*smin<mode>3): Likewise.
5037         (<sse>_vmsmin<mode>3): Likewise.
5038         (smax<mode>3): Likewise.
5039         (*smax<mode>3_finite): Likewise.
5040         (*smax<mode>3): Likewise.
5041         (<sse>_vmsmax<mode>3): Likewise.
5042         (sse3_haddv4sf3): Likewise.
5043         (sse3_haddv2df3): Likewise.
5044         (sse3_hsubv4sf3): Likewise.
5045         (sse3_hsubv2df3): Likewise.
5046         (umaxv16qi3): Likewise.
5047         (*umaxv16qi3): Likewise.
5048         (smaxv8hi3): Likewise.
5049         (*smaxv8hi3): Likewise.
5050         (*sse4_1_smax<mode>3): Likewise.
5051         (*sse4_1_umax<mode>3): Likewise.
5052         (uminv16qi3): Likewise.
5053         (*uminv16qi3): Likewise.
5054         (sminv8hi3): Likewise.
5055         (*sminv8hi3): Likewise.
5056         (*sse4_1_smin<mode>3): Likewise.
5057         (*sse4_1_umin<mode>3): Likewise.
5059 2008-04-01  Rafael Espindola  <espindola@google.com>
5061         * tree-cfg.c (verify_expr): remove in_phi.
5062         (verify_stmt): Don't call walk_tree with verify_expr. Use
5063         is_gimple_min_invariant instead of is_gimple_val.
5065 2008-04-01  Joseph Myers  <joseph@codesourcery.com>
5067         * doc/include/gpl_v3.texi: Update for manpage generation.
5068         * doc/gcc.texi, doc/gccint.texi: Include gpl_v3.texi instead of
5069         gpl.texi.
5070         * doc/sourcebuild.texi: Document gpl_v3.texi as well as gpl.texi.
5071         * Makefile.in (TEXI_GCC_FILES, TEXI_GCCINT_FILES): Include
5072         gpl_v3.texi instead of gpl.texi.
5073         (gpl.pod): New.
5075 2008-04-01  Jakub Jelinek  <jakub@redhat.com>
5077         PR pch/13675
5078         * c-pch.c (c_common_read_pch): On error close (fd) resp. fclose (f).
5080 2008-04-01  Rafael Espindola  <espindola@google.com>
5082         * tree-vrp.c (extract_code_and_val_from_cond_with_ops): New.
5083         (extract_code_and_val_from_cond): Use
5084         extract_code_and_val_from_cond_with_ops.
5086 2008-04-01  Jan Hubicka  <jh@suse.cz>
5088         * function.c (free_after_compilation): Free epilogue_delay_list.
5089         (prepare_function_start): Assert that previous compilation was freed.
5091 2008-04-01  Jan Hubicka  <jh@suse.cz>
5092             Jim Wilson  <wilson@tuliptree.org>
5093             Andreas Tobler <andreast@gcc.gnu.org>
5095         PR middle-end/35781
5096         * m32c/m32.c (m32c_leaf_function_p, m32c_function_needs_enter): Use
5097         rtl.emit instead cfun->emit.
5098         * sparc/sparc.h (INIT_EXPANDERS): Likewise.
5099         * ia64/ia64.h (INIT_EXPANDERS): Likewise.
5101 2008-04-01  Ben Elliston  <bje@au.ibm.com>
5103         * doc/c-tree.texi (Function Basics): Fix grammatical error.
5105 2008-03-31  Seongbae Park <seongbae.park@gmail.com>
5107         * common.opt (fprofile-dir=, fprofile-use=, fprofile-generate=):
5108         New options
5109         (fprofile-use): Add var flag_profile_use
5110         * coverage.c (coverage_begin_output): Do not open a gcno file for
5111         output only if -ftest-coverage is set.
5112         Do not add getpwd() to gcda file path.
5113         (build_gcov_info): Check the new flag
5114         flag_profile_datafile_relative_path.
5115         (coverage_init): Use profile_data_prefix.
5116         Read profile counter only if flag_profile_use is set.
5117         * opts.c (common_handle_option): New option fprofile-use=,
5118         fprofile-dir=, fprofile-generate=.
5119         * toplev.c (profile_data_prefix): New variable definition.
5120         * toplev.h (profile_data_prefix): New declaration.
5121         * doc/invoke.tex (Option Summary, Optimization Options):
5122         Add new options.
5124 2008-03-31  James E. Wilson  <wilson@tuliptree.org>
5126         * varasm.c (output_constant_pool_1): In LABEL_REF check,
5127         use tmp consistently.
5129         PR target/35695
5130         * config/ia64/div.md (recip_approx_rf): Use UNSPEC not DIV.
5131         * config/ia64/ia64.c (rtx_needs_barrier): Handle
5132         UNSPEC_FR_RECIP_APPROX_RES.
5133         * config/ia64/ia64.md (UNSPEC_FR_RECIP_APPROX_RES): Define.
5135 2008-03-31  Volker Reichelt  <v.reichelt@netcologne.de>
5137         PR c/35750
5138         * c-decl.c (store_parm_decls_oldstyle): Skip invalid parameters.
5140 2008-03-31  Andrew Pinski  <andrew_pinski@playstation.sony.com>
5142         PR middle-end/30186
5143         * fold-const.c (fold_indirect_ref_1): Support accessing non first
5144         element of the vector via a pointer.
5146 2008-03-31  Ian Lance Taylor  <iant@google.com>
5148         * tlink.c (scan_linker_output): Look for symbol name in single quotes.
5150 2008-03-31  Jan Hubicka  <jh@suse.cz>
5152         * builtins.c (expand_builtin_setjmp_receiver): Update call of
5153         get_arg_pointer_save_area.
5154         * expr.c (init_expr): Just clear out rtl.expr.
5155         * function.c (free_after_compilation): Clear out whole RTL structure.
5156         (get_func_frame_size): Merge into ...
5157         (get_frame_size): ... this one.
5158         (assign_stack_local_1): Merge into ...
5159         (assign_stack_local): ... this one.
5160         (expand_function_end): Update call of get_arg_pointer_save_area.
5161         (get_art_pointer_save_area): Remove cfun argument.
5162         * function.h (emit_status): regno_pointer_align does not need length
5163         attribute. Move x_regno_reg_rtx to ...
5164         (regno_reg_rtx): ... new global array.
5165         (reg_rtx_no, seq_stack, REGNO_POINTER_ALIGN): Update accestors.
5166         (pending_stack_adjust, inhibit_defer_pop, saveregs_value,
5167         apply_args_value, forced_labels, stack_pointer_delta):
5168         Update accestors.
5169         (struct varasm_status): Move here from varasm.c
5170         (struct rtl_data): New. Move here some fields from struct function.
5171         (return_label, naked_return_label, stack_slot_list, parm_birth_insn,
5172         frame_offset, stack_check_probe_note, arg_pointer_save_area,
5173         used_temp_slots avail_temp_slots, temp_slot_level,
5174         nonlocal_goto_handler_labels): Update accesstors.
5175         (rtl): New global variable.
5176         (struct function): Move some fileds to rtl_data.
5177         (get_arg_pointer_save_area): Update prototype.
5178         * emit-rtl.c (rtl): Declare.
5179         (regno_reg_rtx): Declare.
5180         (first_insn, last_insn, cur_insn_uid, last_location, first_label_num):
5181         Update.
5182         (gen_reg_rtx): Update.
5183         (init_virtual_regs): Do not tate emit_status argument.
5184         (init_emit): Do not allocate emit.
5185         * varasm.c (varasm_statuc): Move to function.h.
5186         (n_deferred_constatns): Update accestor.
5187         (init_varasm_status): Do not allocate varasm_status.
5188         (force_const_mem, get_pool_size, output_constant_pool): Update.
5189         * stmt.c (force_label_rtx): Do not use x_ prefixes.
5190         (expand_nl_goto_receiver): Update get_arg_pointer_save_area.
5192 2008-03-31  Zdenek Dvorak  <ook@ucw.cz>
5194         PR rtl-optimization/35729
5195         * loop-invariant.c (check_maybe_invariant): Disallow volatile memory
5196         references.
5198 2008-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5200         PR target/32000
5201         * config/i386/i386.md (*movti_internal): Emit unaligned SSE
5202         load/store if memory is unaligned.
5203         (*movti_rex64): Likewise.
5205         * config/i386/predicates.md (misaligned_operand): New.
5207 2008-03-31  Andrew Pinski  <pinskia@gmail.com>
5209         PR tree-opt/35431
5210         * tree-ssa-phiopt.c (conditional_replacement): Return early for
5211         complex types.
5213 2008-03-31  Jan Beulich  <jbeulich@novell.com>
5215         * config/ia64/constraints.md: Add 'j' constraint.
5216         * config/ia64/ia64.md (movsi_internal): Add addp4 case.
5217         (movdi_internal): Likewise.
5219 2008-03-30  Volker Reichelt  <v.reichelt@netcologne.de>
5221         PR c/35748
5222         * c-typeck.c (build_c_cast): Skip invalid fields in unions.
5224 2008-03-30  H.J. Lu  <hongjiu.lu@intel.com>
5226         PR target/35757
5227         * config/i386/i386.c (ix86_expand_sse_4_operands_builtin): Issue
5228         proper error message for the third argument on blendpd and
5229         blendps.
5231         * config/i386/sse.md (blendbits): New.
5232         (sse4_1_blendp<ssemodesuffixf2c>): Use it.
5234 2008-03-30  Eric Botcazou  <ebotcazou@adacore.com>
5236         * fold-const.c (fold_binary) <BIT_IOR_EXPR>: Add missing conversions.
5238 2008-03-30  Richard Guenther  <rguenther@suse.de>
5240         PR middle-end/31023
5241         * fold-const.c (fold_sign_changed_comparison): Do leave
5242         conversions to base-types alone.
5244 2008-03-29  Andrew Pinski  <andrew_pinski@playstation.sony.com>
5246         * config/rs6000/rs6000.c (rs6000_stack_info): Don't force saving of
5247         the link register if one altivec register is be saved.
5249 2008-03-30  Ben Elliston  <bje@au.ibm.com>
5251         * final.c (final_scan_insn): Remove if (0) code.
5253 2008-03-28  Volker Reichelt  <v.reichelt@netcologne.de>
5255         * c-parser.c (c_parser_next_token_is_keyword): Simplify.
5257 2008-03-28  H.J. Lu  <hongjiu.lu@intel.com>
5259         * config/i386/sse.md (*and<mode>3): Pass <MODE>mode instead
5260         of V4SFmode to ix86_binary_operator_ok.
5262 2008-03-28  Uros Bizjak  <ubizjak@gmail.com>
5264         * config/i386/i386.c (override_options): Initialize
5265         ix86_veclib_handler to ix86_veclibabi_svml when
5266         -mveclibabi=svml is used.
5267         (ix86_veclibabi_svml): New function for SVML ABI style
5268         vectorization support.
5269         * doc/invoke.texi (-mveclibabi) [svml]: Document new target option.
5271 2008-03-28  Rafael Espindola  <espindola@google.com>
5273         * fold-const.c (tree_unary_nonnegative_warnv_p): Make it public.
5274         (tree_binary_nonnegative_warnv_p): Make it public.
5275         (tree_single_nonnegative_warnv_p): Make it public.
5276         (tree_invalid_nonnegative_warnv_p): Make it public.
5277         (tree_unary_nonzero_warnv_p): Make it public.
5278         (tree_binary_nonzero_warnv_p): Make it public
5279         (tree_single_nonzero_warnv_p): Make it public.
5280         * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops): New function.
5281         (extract_range_from_binary_expr): Split the expr argument.
5282         (extract_range_from_unary_expr): Split the expr argument.
5283         (extract_range_from_comparison): Split the expr argument.
5284         (extract_range_from_expr): Use the new aux functions.
5285         (vrp_evaluate_conditional_warnv): Use
5286         vrp_evaluate_conditional_warnv_with_ops.
5287         * tree.h (tree_unary_nonzero_warnv_p): Declare.
5288         (tree_binary_nonzero_warnv_p): Declare.
5289         (tree_single_nonzero_warnv_p): Declare.
5290         (tree_expr_nonzero_warnv_p): Declare.
5291         (tree_unary_nonnegative_warnv_p): Declare.
5292         (tree_binary_nonnegative_warnv_p): Declare.
5293         (tree_single_nonnegative_warnv_p): Declare.
5294         (tree_invalid_nonnegative_warnv_p): Declare.
5296 2008-03-28  Richard Guenther  <rguenther@suse.de>
5298         PR tree-optimization/30317
5299         PR tree-optimization/30911
5300         PR tree-optimization/34793
5301         * tree-vrp.c (set_and_canonicalize_value_range): New function.
5302         (struct assert_locus_d): New member EXPR.
5303         (register_new_assert_for): Add EXPR parameter to support
5304         ASSERT_EXPR <name, expr OP limit>.
5305         (register_edge_assert_for_1): Adjust callers.
5306         (find_assert_locations): Likewise.
5307         (process_assert_insertions_for): Build condition from expression.
5308         (extract_range_from_assert): Handle ASSERT_EXPRs
5309         of the form ASSERT_EXPR <name, expr OP limit>.
5310         (register_edge_assert_for_2): New helper registering
5311         asserts for comparisons.  Recognize range tests of the form
5312         (unsigned)i - CST1 OP CST2.
5313         (register_edge_assert_for_1): Use it.
5314         (register_edge_assert_for): Likewise.
5315         (needs_overflow_infinity): Integer sub-types
5316         do not need overflow infinities.
5317         (vrp_val_is_max): The extreme values of integer sub-types
5318         are those of the base type.
5319         (vrp_val_is_min): Likewise.
5320         * tree.def (ASSERT_EXPR): Document extra allowed conditional
5321         expressions.
5323 2008-03-28  Nick Clifton  <nickc@redhat.com>
5325         PR target/31110
5326         * config/mn10300/mn10300.c (mn10300_secondary_reload_class):
5327         Return GENERAL_REGS for stack adjustment reloads.
5329 2008-03-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
5331         PR target/31334
5332         * config/rs6000/rs6000.c (rs6000_expand_vector_init): Create a
5333         const_vector when all the vectors are constant.
5335 2008-03-27  Bob Wilson  <bob.wilson@acm.org>
5337         * config/xtensa/xtensa.c (gen_float_relational): Handle unordered
5338         comparisons.
5339         * config/xtensa/xtensa.md (any_cond): Add unordered comparisons.
5340         (any_scc_sf): Add uneq, unlt, unle and unordered operators.
5341         (scc_sf): New.
5342         (s<code>_sf): Use new scc_sf attribute for opcode names.
5344 2008-03-27  Tom Tromey  <tromey@redhat.com>
5346         * doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
5347         configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
5348         config/spu/t-spu-elf, config/i386/t-interix,
5349         config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
5350         config/i386/x-darwin, config/i386/x-mingw32,
5351         config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
5352         config/sh/t-sh, config/sh/t-symbian, config/x-linux,
5353         config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
5354         config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
5355         config/rs6000/x-rs6000, config/rs6000/x-darwin64,
5356         config/rs6000/x-darwin, config/rs6000/t-rs6000,
5357         config/score/t-score-elf, config/arm/t-strongarm-pe,
5358         config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
5359         config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
5360         Revert automatic dependency patch.
5362 2008-03-27  H.J. Lu  <hongjiu.lu@intel.com>
5364         PR target/35657
5365         * config/i386/i386.c (ix86_function_arg_boundary): Align
5366         decimal floating point to its natural boundary.
5368 2008-03-27  Richard Guenther  <rguenther@suse.de>
5370         PR middle-end/35716
5371         * fold-const.c (fold_comparison): Restrict distinct decl
5372         comparison folding to VAR_DECLs and PARM_DECLs.  Do not
5373         solely rely on operand_equal_p.
5375 2008-03-27  Richard Guenther  <rguenther@suse.de>
5377         PR c/32511
5378         * c-common.c (handle_weak_attribute): Reject combination of
5379         weak and inline.
5381 2008-03-27  Richard Guenther  <rguenther@suse.de>
5383         PR tree-optimization/32810
5384         * tree-ssa-ccp.c (get_symbol_constant_value): Strip useless
5385         conversions from DECL_INITIAL.
5386         (fold_const_aggregate_ref): Likewise from constructor elements.
5388 2008-03-27  Zdenek Dvorak  <ook@ucw.cz>
5390         * tree-affine.h (aff_combination_expand): Declare.
5391         (get_inner_reference_aff): Likewise.
5392         * tree-affine.c (aff_combination_expand): Split out from
5393         tree_to_aff_combination_expand.
5394         (get_inner_reference_aff): New function.
5395         * tree-parloops.c (loop_parallel_p): Free vectorizer info.
5396         * tree-ssa-loop-im.c: Include tree-affine.h and pointer-set.h.
5397         (struct lim_aux_data): sm_done field removed.
5398         (mem_ref_loc_p, mem_ref_locs_p): New types.
5399         (struct mem_ref): Added id, stored, accesses_in_loop,
5400         indep_loop, dep_loop, indep_ref, dep_ref fields.
5401         Removed is_stored, locs and next fields.
5402         (memory_accesses): New variable.
5403         (movement_possibility): Do not allow moving statements
5404         that store to memory.
5405         (outermost_indep_loop, simple_mem_ref_in_stmt, mem_ref_in_stmt):
5406         New functions.
5407         (determine_max_movement): For statements with memory references,
5408         find the outermost loop in that the reference is independent.
5409         (move_computations_stmt): Mark the virtual operands for renaming.
5410         (memref_free, mem_ref_alloc, mem_ref_locs_alloc, mark_ref_stored,
5411         gather_mem_refs_stmt, gather_mem_refs_in_loops, vtoe_hash, vtoe_eq,
5412         vtoe_free, record_vop_access, get_vop_accesses, get_vop_stores,
5413         add_vop_ref_mapping, create_vop_ref_mapping_loop,
5414         create_vop_ref_mapping, analyze_memory_references,
5415         cannot_overlap_p, mem_refs_may_alias_p, rewrite_mem_ref_loc,
5416         get_all_locs_in_loop, ref_always_accessed_p,
5417         refs_independent_p, record_indep_loop, ref_indep_loop_p_1,
5418         ref_indep_loop_p, can_sm_ref_p, find_refs_for_sm,
5419         store_motion_loop, store_motion): New functions.
5420         (struct vop_to_refs_elt): New type.
5421         (record_mem_ref_loc, free_mem_ref_locs, rewrite_mem_refs,
5422         memref_hash, memref_eq, hoist_memory_references): Rewritten.
5423         (schedule_sm): Replaced by...
5424         (execute_sm): ... this.
5425         (determine_lsm_ref, hoist_memory_references,
5426         loop_suitable_for_sm, gather_mem_refs_stmt, gather_mem_refs,
5427         find_more_ref_vops, free_mem_ref, free_mem_refs,
5428         determine_lsm_loop, determine_lsm): Removed.
5429         (tree_ssa_lim_finalize): Free data structures used by store motion.
5430         (tree_ssa_lim): Call analyze_memory_references.  Use
5431         store_motion instead of determine_lsm.
5433 2008-03-27  Paolo Bonzini  <bonzini@gnu.org>
5435         * config.cc (m68hc11, m6811, m68hc12, m6812): Add usegas.h,
5436         rename tmake_file to m68hc11/t-m68hc11.
5437         (mcore): Set inhibit_libc to true.
5438         * config.host (alpha*-dec-*vms*): Set extra_programs.
5439         (interix3*): Don't use host_xmake_file.
5440         * configure.ac: Let config.gcc override inhibit_libc.
5441         * configure: Regenerate.
5443         * config/alpha/x-vms (EXTRA_PROGRAMS): Remove.
5444         * config/t-openbsd-thread: Remove commented out lines.
5445         
5446         * config/x-interix: Remove.
5448         * config/m68hc11/t-m68hc11-gas: Rename to...
5449         * config/m68hc11/t-m68hc11: ... this.  Remove T_CPPFLAGS.
5451         * config/mcore/t-mcore: Remove T_CFLAGS.
5452         * config/mcore/t-mcore-pe: Likewise.
5454 2008-03-27  Paolo Bonzini  <bonzini@gnu.org>
5456         * configure.ac: Replace custom __GNU_SOURCE test with
5457         AC_USE_SYSTEM_EXTENSIONS.  Move it earlier.
5458         * aclocal.m4: Regenerate.
5459         * configure: Regenerate.
5460         * config.in: Regenerate.
5462 2008-03-27  Richard Guenther  <rguenther@suse.de>
5464         * fold-const.c (target.h): Include.
5465         (fold_comparison): Fold comparison of addresses of decls
5466         that bind locally or of constants.  Consolidate address folding code.
5467         * tree-vrp.c (operand_less_p): Deal with non-INTEGER_CST
5468         results from fold_binary_to_constant.
5469         (compare_values_warnv): Likewise.
5471 2008-03-27  Andrew Pinski  <pinskia@gmail.com>
5473         PR middle-end/35429
5474         * fold-const.c (fold_truthop): Check for integeral types when folding
5475         a == 0 && b == 0 and a != 0 || b != 0 .
5477 2008-03-26  Eric Botcazou  <ebotcazou@adacore.com>
5479         * tree.c (get_unwidened): Remove code fiddling with COMPONENT_REF.
5481 2008-03-26  Andreas Schwab  <schwab@suse.de>
5483         * doc/invoke.texi: Fix use of @item vs. @itemx.
5485 2008-03-26  Tom Tromey  <tromey@redhat.com>
5487         * Makefile.in (build/gensupport.o, build/print-rtl.o,
5488         build/read-rtl.o, build/rtl.o, build/gencondmd.o, build/genattr.o,
5489         build/genattrtab.o, build/genautomata.o, build/gencheck.o,
5490         build/gencodes.o, build/genconditions.o, build/genconfig.o,
5491         build/genconstants.o, build/genemit.o, build/genextract.o,
5492         build/genflags.o, build/genmddeps.o, build/genopinit.o,
5493         build/genoutput.o, build/genpeep.o, build/genrecog.o): Depend on
5494         options.h.
5496 2008-03-26  Richard Guenther  <rguenther@suse.de>
5498         Revert
5499         2008-03-26  Richard Guenther  <rguenther@suse.de>
5501         * fold-const.c (target.h): Include.
5502         (fold_comparison): Fold comparison of addresses of two decls
5503         that bind locally.  Consolidate address folding code.
5505 2008-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5507         * builtins.c (expand_builtin_pow, fold_builtin_cabs,
5508         fold_builtin_sqrt, fold_builtin_cbrt, fold_builtin_logarithm,
5509         fold_builtin_hypot, fold_builtin_pow): Remove uses of dconst3,
5510         dconstsqrt2, dconstthird, dconste and/or dconst10.
5511         * config/i386/i386.c (ix86_emit_swsqrtsf): Likewise.
5512         * emit-rtl.c (dconst3, dconst10, dconstm2, dconstthird,
5513         dconstsqrt2, dconste): Delete.
5514         (init_emit_once): Likewise.  Simplify initializing dconstm1.
5515         Constify variable.
5516         * real.c (get_real_const): New.
5517         * real.h (dconst3, dconst10, dconstm2, dconstthird,
5518         dconstsqrt2, dconste): Delete.
5519         (real_value_const, get_real_const): New.
5521 2008-03-26  H.J. Lu  <hongjiu.lu@intel.com>
5523         * config/i386/cygming.h (BIGGEST_ALIGNMENT): Removed.
5525         * config/i386/i386.c (ix86_function_arg_boundary): Check
5526         BIGGEST_ALIGNMENT instead of 128.
5527         (setup_incoming_varargs_64): Likewise.
5529 2008-03-26  Tom Tromey  <tromey@redhat.com>
5531         * Makefile.in (DEPFILES): Add missing '/'.
5533 2008-03-26  Richard Guenther  <rguenther@suse.de>
5535         * fold-const.c (target.h): Include.
5536         (fold_comparison): Fold comparison of addresses of two decls
5537         that bind locally.  Consolidate address folding code.
5539 2008-03-26  Nick Clifton  <nickc@redhat.com>
5541         PR target/31232
5542         * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): Do
5543         not allow INT+INT as a legitimate addressing mode.
5545 2008-03-26  Richard Guenther  <rguenther@suse.de>
5547         * tree-flow.h (widen_bitfield): Remove declaration.
5548         * tree-ssa-ccp.c (visit_assignment): Remove unneeded code.
5549         (widen_bitfield): Remove function.
5550         * tree-ssa-dom.c (record_equivalences_from_stmt): Remove unneeded
5551         code.
5553 2008-03-25  Andrew Pinski  <andrew_pinski@playstation.sony.com>
5555         PR target/31558
5556         * config/rs6000/rs6000-c.c (rs6000_builtin_type_compatible): Handle
5557         error_mark_node's.
5559 2008-03-25  Richard Sandiford  <rsandifo@nildram.co.uk>
5561         PR rtl-optimization/35232
5562         * reload1.c (reg_reloaded_call_part_clobbered): Clarify comment.
5563         (forget_old_reloads_1, forget_marked_reloads): Don't clear
5564         reg_reloaded_call_part_clobbered here.
5565         (reload_regs_reach_end_p): New function.
5566         (reload_reg_rtx_for_input): New variable.
5567         (reload_reg_rtx_for_output): Likewise.
5568         (emit_input_reload_insns): Use reloadreg rather than rl->reg_rtx
5569         when reassigning a pseudo register.  Load reloadreg from 
5570         reload_reg_rtx_for_input, moving the mode and register
5571         calculation to...
5572         (do_input_reload): ...here.  Use the mode-adjusted reg_rtx
5573         instead of the original when deciding whether an input reload
5574         would be a no-op or whether an output reload can be deleted.
5575         (emit_output_reload_insns): Use the mode-adjusted reg_rtx
5576         when setting up new_spill_reg_store.  Load it from
5577         reload_reg_rtx_for_output, moving the mode and register
5578         calculation to...
5579         (do_output_reload): ...here.  Use the mode-adjusted reg_rtx
5580         instead of the original when deciding whether an output reload
5581         would be a no-op.  Do the same when modifying insn notes.
5582         Use rtx_equal_p instead of == to compare the registers.
5583         (inherit_piecemeal_p): Take a mode and two register numbers
5584         as argument.
5585         (emit_reload_insns): Clear new_spill_reg_store for every hard
5586         register in the reload register.  Remove spill registers
5587         from reg_reloaded_valid before considering whether to record
5588         inheritance information for them.  Use reload_reg_rtx_for_output
5589         instead of reg_rtx when recording output reloads.  Use
5590         reload_reg_rtx_for_input instead of reg_rtx when recording
5591         input reloads.  Set or clear reg_reloaded_call_part_clobbered
5592         at the same time as setting reg_reloaded_valid.
5593         (delete_output_reload): Add a new_reload_reg parameter and use it
5594         instead of rld[j].reg_rtx.
5595         (emit_input_reload_insns, do_input_reload, do_output_reload): Adjust
5596         calls accordingly.
5598 2008-03-25  Tom Tromey  <tromey@redhat.com>
5600         * Makefile.in (build/gensupport.o): Depend on insn-modes.h.
5601         (build/genattr.o): Likewise.
5602         (build/genattrtab.o): Likewise.
5603         (build/gencodes.o): Likewise.
5604         (build/genconfig.o): Likewise.
5605         (build/genconstants.o): Likewise.
5606         (build/genemit.o): Likewise.
5607         (build/genextract.o): Likewise.
5608         (build/genflags.o): Likewise.
5610 2008-03-25  Bob Wilson  <bob.wilson@acm.org>
5611         
5612         * config/xtensa/xtensa.c (xtensa_va_start): Use build_int_cst
5613         instead of size_int for integer types.
5614         (xtensa_gimplify_va_arg_expr): Likewise.  Convert index to sizetype
5615         to match type of MINUS_EXPR.
5616         
5617 2008-03-25  Tom Tromey  <tromey@redhat.com>
5619         * configure: Rebuilt.
5620         * configure.ac (BUILD_DEPMODE): Extract CCDEPMODE from temporary
5621         Makefile.
5623 2008-03-25  Tom Tromey  <tromey@redhat.com>
5625         * config/x-solaris (host-solaris.o): Update.
5626         * config/x-linux (host-linux.o): Update.
5627         * config/x-hpux (host-hpux.o): Update.
5628         * config/x-darwin (host-darwin.o): Update.
5629         * config/v850/t-v850e (v850-c.o): Update.
5630         * config/v850/t-v850 (v850-c.o): Update.
5631         * config/t-vxworks (vxworks.o): Update.
5632         * config/t-sol2 (sol2-c.o, sol2.o): Update.
5633         * config/t-darwin (darwin.o, darwin-c.o, darwin-driver.o): Update.
5634         * config/spu/t-spu-elf (spu-c.o): Update.
5635         (spu.o): Remove.
5636         * config/sh/t-symbian (sh-c.o): Update.
5637         (symbian.o): Update.
5638         * config/sh/t-sh (sh-c.o): Update.
5639         * config/score/t-score-elf (score7.o, score3.o): Update.
5640         * config/rs6000/x-rs6000 (driver-rs6000.o): Update.
5641         * config/rs6000/x-darwin64 (host-ppc64-darwin.o): Update.
5642         * config/rs6000/x-darwin (host-ppc-darwin.o): Update.
5643         * config/rs6000/t-rs6000 (rs6000-c.o): Update.
5644         (rs6000.o): Remove.
5645         * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h.
5646         * config/m32c/t-m32c (m32c-pragma.o): Update.
5647         * config/ia64/t-ia64 (ia64-c.o): Update.
5648         * config/i386/x-mingw32 (host-mingw32.o): Update.
5649         * config/i386/x-i386 (driver-i386.o): Update.
5650         * config/i386/x-darwin (host-i386-darwin.o): Update.
5651         * config/i386/x-cygwin (host-cygwin.o): Update.
5652         * config/i386/t-nwld (nwld.o): Update.
5653         * config/i386/t-netware (netware.o): Update.
5654         * config/i386/t-interix (winnt.o): Update.
5655         * config/i386/t-cygwin (cygwin1.o, cygwin2.o): Update.
5656         * config/i386/t-cygming (winnt.o, winnt-cxx.o, winnt-stubs.o,
5657         msformat-c.o): Update.
5658         * config/bfin/t-bfin-linux (generated_files): Add
5659         linux-sysroot-suffix.h.
5660         * config/arm/t-wince-pe (pe.o): Update.
5661         * config/arm/t-strongarm-pe (pe.o): Update.
5662         * config/arm/t-pe (pe.o): Update.
5663         * config/arm/t-arm (arm-c.o): Update.
5664         * doc/install.texi (Prerequisites): Require make 3.80.
5665         * Makefile.in: Remove .o targets.
5666         (CCDEPMODE, DEPDIR, depcomp, BUILD_DEPMODE): New variables.
5667         (OBSTACK_H, FIBHEAP_H, PARTITION_H, MD5_H, BCONFIG_H): Remove.
5668         (simple_generated_h, simple_generated_c): Move earlier.
5669         (generated_files): New variable.
5670         (TARGET_H, MACHMODE_H, HOOKS_H, HOSTHOOKS_DEF_H, LANGHOOKS_DEF_H,
5671         TARGET_DEF_H, RTL_BASE_H, RTL_H, PARAMS_H, BUILTINS_DEF, TREE_H,
5672         BASIC_BLOCK_H, GCOV_IO_H, COVERAGE_H, DEMANGLE_H, RECOG_H,
5673         ALIAS_H, EMIT_RTL_H, FLAGS_H, FUNCTION_H, EXPR_H, OPTABS_H,
5674         REGS_H, RA_H, RESOURCE_H, SCHED_INT_H, INTEGRATE_H, CFGLAYOUT_H,
5675         CFGLOOP_H, IPA_UTILS_H, IPA_REFERENCE_H, IPA_TYPE_ESCAPE_H,
5676         CGRAPH_H, DF_H, RESOURCE_H, DDG_H, GCC_H, GGC_H, TIMEVAR_H,
5677         INSN_ATTR_H, C_COMMON_H, C_PRAGMA_H, C_TREE_H, SYSTEM_H,
5678         PREDICT_H, DECNUM_H, MKDEPS_H, SYMTAB_H, TREE_DUMP_H,
5679         TREE_GIMPLE_H, TREE_FLOW_H, TREE_SSA_LIVE_H, PRETTY_PRINT_H,
5680         DIAGNOSTIC_H, C_PRETTY_PRINT_H, SCEV_H, LAMBDA_H, TREE_DATA_REF_H,
5681         VARRAY_H, TREE_INLINE_H, REAL_H, DBGCNT_H, EBIMAP_H): Remove.
5682         (.c.o): Remove.
5683         (COMPILE.base, COMPILE): New variables.
5684         (%.o): New pattern rule.
5685         (ALL_HOST_OBJS): New variable.
5686         (xgcc$(exeext), cpp$(exeext)): Remove extra version.o.
5687         (dummy-checksum.o, cc1-checksum.o): Remove.
5688         (DRIVER_SHLIB): New variable.
5689         (DRIVER_DEFINES): Use it.
5690         (gencondmd.c): Move out of build/.
5691         (s-conditions): Update.
5692         (BUILDCOMPILE.base, BUILDCOMPILE): New variables.
5693         (ALL_BUILD_OBJS): Likewise.
5694         (build/%.o): Use BUILDCOMPILE.
5695         (build/ggc-none.o, build/ggc-none.o, build/min-insn-modes.o,
5696         build/print-rtl.o, build/read-rtl.o, build/rtl.o, build/vec.o,
5697         build/gencondmd.o, build/genattrtab.o, build/genautomata.o,
5698         build/gencheck.o, build/gencodes.o, build/genconditions.o,
5699         build/genconfig.o, build/genconstants.o, build/genemit.o,
5700         build/genextract.o, build/genflags.o, build/genmddeps.o,
5701         build/genopinit.o, build/genoutput.o, build/genpeep.o,
5702         build/genpreds.o, build/genrecog.o, build/gcov-iov.o,
5703         build/gen-protos.o, build/scan.o, build/fix-header.o,
5704         build/scan-decls.o): Simplify.
5705         (collect2.o, c-opts.o, gcc.o, gccspec.o, gcc-options.o,
5706         cppdefault.o, protoize.o, unprotoize.o, intl.o, version.o,
5707         prefix.o, toplev.o): Reduce to variable setting.
5708         (libbackend.o): Use COMPILE.  Remove most dependencies.  Move later.
5709         ($(out_object_file), gcc-options.o): New targets.
5710         ($(ALL_HOST_OBJS)): New target.  Include dependency files.
5711         * configure: Rebuilt.
5712         * configure.ac: Call ZW_CREATE_DEPDIR, ZW_PROG_COMPILER_DEPENDENCIES.
5713         * doc/sourcebuild.texi (Front End Directory): Document new variable.
5715 2008-03-25  Douglas Gregor  <doug.gregor@gmail.com>
5717         * c-common.c (c_sizeof_or_alignof_type): If we're not allowed to
5718         complain when we hit an error, return ERROR_MARK_NODE.
5720 2008-03-25  Naveen.H.S  <naveen.hs@kpitcummins.com>
5722         * config/sh/constraints.md (Pso, Psz): New constraints.
5723         * config/sh/sh.c (print_operand): Add %V and %W operand codes.
5724         * config/sh/sh.md (*andsi3_bclr, *iorsi3_bset): New insns.
5726 2008-03-25  Naveen.H.S  <naveen.hs@kpitcummins.com>
5728         * config/sh/sh.c (sh_expand_t_scc): Emit movrt for SH2A if possible.
5729         * config/sh/sh.md (xorsi3_movrt, movrt): New insns.
5731 2008-03-25  Naveen.H.S  <naveen.hs@kpitcummins.com>
5733         * config/sh/sh.md (prefetch): Add condition for SH2A target.
5734         (prefetch_sh2a): New.   
5736 2008-03-25  Jayant Sonar  <Jayant.sonar@kpitcummins.com>
5737             Naveen.H.S  <naveen.hs@kpitcummins.com>
5739         * config/sh/constraints.md (I28): New constraint.
5740         * config/sh/sh.c (broken_move): Add support for movi20s.
5741         * config/sh/sh.md (movsi_ie): Add the alternative for movi20s.
5743 2008-03-25  Anil Paranjape  <anil.paranjape@kpitcummins.com>
5744             Jayant Sonar  <Jayant.sonar@kpitcummins.com>
5745             Naveen.H.S  <naveen.hs@kpitcummins.com>
5747         * config/sh/sh.c (SH_ATTRIBUTES): Define.
5748         (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define.
5749         (print_operand): Handle resbank in %@ operand code.
5750         (sh_encode_section_info): New.
5751         (push_regs): Add conditions for resbank.
5752         (sh_expand_epilogue): Likewise.
5753         (sh_insert_attributes): Likewise.
5754         (sh_attribute_table): Likewise.
5755         (sh_handle_resbank_handler_attribute): New.
5756         (sh2a_handle_function_vector_handler_attribute): New.
5757         (sh2a_is_function_vector_call): New.
5758         (sh2a_get_function_vector_number): New.
5759         (sh2a_function_vector_p): New.
5760         (sh_cfun_resbank_handler_p): New.
5761         * config/sh/sh.md (calli): Emit jsr/n if possible.
5762         (calli_tbr_rel): New.
5763         (calli_pcrel): Emit jsr/n if possible.
5764         (return_i): Emit rts/n if possible.
5765         (call_valuei_tbr_rel): New.
5766         (call_valuei_pcrel): Add condition for SH2A target.
5767         (call_value): Likewise.
5768         * config/sh/sh-protos.h (sh_cfun_resbank_handler_p): Declare.
5769         (sh2a_get_function_vector_number): Likewise.
5770         (sh2a_is_function_vector_call): Likewise.
5771         * doc/extend.texi: Document TBR relative addressing of SH2A.
5772         (resbank): Add description for SH2A.
5774 2008-03-24  Richard Guenther  <rguenther@suse.de>
5776         PR c/22371
5777         * gimplify.c (gimplify_modify_expr): For frontend type-correct
5778         pointer assignments change conversions according to middle-end rules.
5779         (gimplify_modify_expr_rhs): Deal with NULL TARGET_EXPR_INITIAL.
5780         * configure.ac: Include type checking in yes.
5781         * configure: Regenerate.
5783 2008-03-24  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
5785         * diagnostic.c (diagnostic_count_diagnostic): Delete.
5786         (diagnostic_report_diagnostic): Update. Handle ICEs here.
5787         
5788 2008-03-24  Nathan Sidwell  <nathan@codesourcery.com>
5790         * gthr-vxworks.h (UNUSED): Define.
5792 2008-03-23  H.J. Lu  <hongjiu.lu@intel.com>
5794         * config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and CX_REG.
5796 2008-03-23  Zuxy Meng <zuxy.meng@gmail.com>
5798         * doc/extend.texi (Function Attributes): Add missing comma in the
5799         example of the "alloc_size" attribute.
5800         
5801 2008-03-23  Uros Bizjak  <ubizjak@gmail.com>
5803         Revert:
5804         2008-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5806         * config/i386/i386-modes.def: Use 4 byte alignment on DI for
5807         32bit host.
5809         2008-03-19  Uros Bizjak  <ubizjak@gmail.com>
5811         PR target/35496
5812         * stor-layout.c (update_alignment_for_field): Set minimum alignment
5813         of the underlying type of a MS bitfield layout to the natural
5814         alignment of the type.
5816         2008-03-22  Uros Bizjak  <ubizjak@gmail.com>
5818         * config/i386/i386.c (assign_386_stack_local): Align DImode slots
5819         to their natural alignment to avoid store forwarding stalls.
5821 2008-03-22  Richard Guenther  <rguenther@suse.de>
5823         * tree-cfg.c (verify_expr): Recurse again for invariant addresses.
5824         For PHI nodes verify the address is invariant.
5825         * tree-ssa-ccp.c (ccp_decl_initial_min_invariant): Remove.
5826         (get_symbol_constant_value): Use is_gimple_min_invariant.
5827         (maybe_fold_stmt_indirect): Likewise.
5829 2008-03-22  Richard Sandiford  <rsandifo@nildram.co.uk>
5831         PR rtl-optimization/33927
5832         * Makefile.in (dse.o): Depend on $(TM_P_H).
5833         * expr.h (extract_low_bits): Declare.
5834         * expmed.c (extract_low_bits): New function.
5835         * rtlhooks.c (gen_lowpart_general): Generalize SUBREG handling.
5836         * dse.c: Include tm_p.h.
5837         (find_shift_sequence): Remove the read_reg argument and return the
5838         read value.  Emit the instructions instead of returning them.
5839         Iterate on new_mode rather than calculating it each time.
5840         Check MODES_TIEABLE_P.  Use simplify_gen_subreg to convert the
5841         source to NEW_MODE and extract_low_bits to convert the shifted
5842         value to READ_MODE.
5843         (replace_read): Allow the load and store to have different mode
5844         classes.  Use extract_low_bits when SHIFT == 0.  Create the shift
5845         or extraction instructions before trying the replacement.  Update
5846         dump-file code accordingly, avoiding use of REGNO (store_info->rhs).
5848 2008-03-22  Uros Bizjak  <ubizjak@gmail.com>
5850         * config/i386/i386.c (assign_386_stack_local): Align DImode slots
5851         to their natural alignment to avoid store forwarding stalls.
5853 2008-03-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
5855         PR target/27946
5856         * config/rs6000/rs6000.md (floatdidf2): Discouraging fprs and
5857         encouraging but not allowing gprs for input;
5858         change the input constraint to !f#r.
5859         (fix_truncdfdi2): Discouraging fprs and encouraging but not allowing
5860         gprs for output;
5861         change the output constraint to !f#r.
5863 2008-03-21  Uros Bizjak  <ubizjak@gmail.com>
5865         PR target/13958
5866         * config/i386/i386.md ("*floatunssi<mode2>_1"): New pattern with
5867         corresponding post-reload splitters.
5868         ("floatunssi<mode>2"): Expand to unsigned_float x87 insn pattern
5869         when x87 FP math is selected.
5870         * config/i386/i386-protos.h (ix86_expand_convert_uns_sixf_sse):
5871         New function prototype.
5872         * config/i386/i386.c (ix86_expand_convert_uns_sixf_sse): New
5873         unreachable function to ease macroization of insn patterns.
5875 2008-03-21  Martin Jambor  <mjambor@suse.cz>
5877         * tree-data-ref.c (dump_data_dependence_relation): Avoid data
5878         reference dumps if ddr is NULL or dependence is unknown.
5880 2008-03-20  Kaz Kojima  <kkojima@gcc.gnu.org>
5882         * config/sh/linux-atomic.asm (ATOMIC_TEST_AND_SET): Take
5883         unsigned extension into account.
5884         (ATOMIC_COMPARE_AND_SWAP): Likewise.
5885         (ATOMIC_FETCH_AND_OP, ATOMIC_FETCH_AND_COMBOP): Likewise.
5886         Do computations on a scratch register.
5888 2008-03-21  Richard Guenther  <rguenther@suse.de>
5890         * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop):
5891         Use is_gimple_min_invariant instead of TREE_INVARIANT.
5892         * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Likewise.
5893         * tree-ssa-dom.c (record_equality): Likewise.
5894         * tree-inline.c (copy_body_r): Likewise.
5895         * tree-ssa-pre.c (make_values_for_stmt): Remove test for
5896         TREE_INVARIANT.
5898 2008-03-20  Kaz Kojima  <kkojima@gcc.gnu.org>
5900         * config/sh/sh.c (split_branches): Pass zero to redirect_jump
5901         as 'delete_unused' argument.
5903 2008-03-20  Richard Guenther  <rguenther@suse.de>
5905         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Remove
5906         special casing of constant qualifiers.
5907         * tree-ssa.c (useless_type_conversion_p_1): Instead do not
5908         care about them in general.
5909         * tree-ssa-ccp.c (ccp_fold): Addresses are constant or not
5910         regardless of their type.
5911         (fold_stmt_r): Forcefully fold *& if we end up with that.
5913 2008-03-20  Paul Brook  <paul@codesourcery.com>
5915         * config.gcc (arm*-*-uclinux*): Remove duplicate arm/uclinux-elf.h.
5916         * config/arm/uclinux-eabi.h (SUBTARGET_EXTRA_LINK_SPEC): Add extra
5917         linker flags.
5918         * config/arm/bpabi.h (SUBTARGET_EXTRA_LINK_SPEC): Provide default
5919         definition.
5920         (LINK_SPEC): Use SUBTARGET_EXTRA_LINK_SPEC.
5921         * config/arm/unwind-arm.h (_Unwind_decode_target2): Add uClinux.
5923 2008-03-20  Volker Reichelt  <v.reichelt@netcologne.de>
5925         * common.opt (Wmudflap): New option.
5926         * tree-mudflap.c (mf_xform_derefs_1): Guard warning by OPT_Wmudflap.
5927         (mx_register_decls): Likewise.
5928         (mudflap_finish_file): Likewise.
5929         * doc/invoke.texi: Document -Wno-mudflap.
5931 2008-03-20  Kai Tietz  <kai.tietz@onevision.com>
5933         * c-format.c (replace_format_name_to_system_name): New.
5934         (cmp_attribs): New.
5935         (convert_format_name_to_system_name): New.
5936         (decode_format_attr): Add use of convert_format_name_to_system_name.
5937         (format_types_orig): Add gnu_ prefix to names.
5938         (check_format_info_main): Special treating of \0 escaped names for
5939         supporting multi-character format specifiers as I32, I64.
5940         (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): Use of user defined attributes.
5941         (gnu_target_overrides_format_attributes): New.
5942         * c-format.h: Add structure target_ovr_attr to hold
5943         system specific formatter names.
5944         * config.gcc: Add for x86&x86_64 cygwin and mingw32 targets the
5945         msformat-c.o file to c_target_objs and cxx_target_objs.
5946         * config/i386/mingw32.h (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New.
5947         (TARGET_OVERRIDES_FORMAT_ATTRIBUTES_COUNT): New.
5948         (TARGET_N_FORMAT_TYPES): New.
5949         * config/i386/msformat-c.c: New.
5950         * config/i386/t-cygming: Add build rule for msformat-c.o.
5951         * doc/extend.texi: Add new format names gnu_* and ms_* and
5952         further details.
5953         * doc/tm.texi: (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New.
5955 2008-03-20  Ira Rosen  <irar@il.ibm.com>
5957         * doc/invoke.texi (-O3): Add -ftree-vectorize to the list of
5958         optimizations turned on under -O3.
5959         (ftree-vectorize): Add that the flag is turned on with -O3.
5961 2008-03-20  Ben Elliston  <bje@au.ibm.com>
5963         * regmove.c (try_auto_increment): Fix spelling error in comment.
5964         * final.c (final_scan_insn): Likewise.
5966 2008-03-20  Uros Bizjak  <ubizjak@gmail.com>
5968         PR target/14552
5969         * config/i386/mmx.md (*mov<mode>_internal_rex64"): Adjust register
5970         allocator preferences for "y" and "r" class registers.
5971         ("*mov<mode>_internal"): Ditto.
5972         ("*movv2sf_internal_rex64"): Ditto.
5973         ("*movv2sf_internal"): Ditto.
5975 2008-03-19  Michael Matz  <matz@suse.de>
5977         PR middle-end/35616
5978         * calls.c (expand_call): Check overlap of arguments with call
5979         address for sibcalls.
5981 2008-03-19  Uros Bizjak  <ubizjak@gmail.com>
5983         PR target/35496
5984         * stor-layout.c (update_alignment_for_field): Set minimum alignment
5985         of the underlying type of a MS bitfield layout to the natural
5986         alignment of the type.
5988 2008-03-19  Jan Hubicka  <jh@suse.cz>
5990         PR other/35094
5991         * toplev.c (decode_d_option): Handle all CPP flags.
5992         * tree-vrp.c: Update tree_pass descriptors.
5993         * regrename.c: Update tree_pass descriptors.
5994         * fwprop.c: Update tree_pass descriptors.
5995         * doc/invoke.texi: Remove documentation of dropped -d? flags.
5996         * tree-into-ssa.c: Update tree_pass descriptors.
5997         * tree-dump.c: Update tree_pass descriptors.
5998         * tree-complex.c: Update tree_pass descriptors.
5999         * tree-dump.h: Update tree_pass descriptors.
6000         * see.c: Update tree_pass descriptors.
6001         * cgraphbuild.c: Update tree_pass descriptors.
6002         * tracer.c: Update tree_pass descriptors.
6003         * tree-loop-distribution.c: Update tree_pass descriptors.
6004         * cgraph.c: Update tree_pass descriptors.
6005         * postreload-gcse.c: Update tree_pass descriptors.
6006         * postreload.c: Update tree_pass descriptors.
6007         * tree-ssa-loop-ch.c: Update tree_pass descriptors.
6008         * tree-tailcall.c: Update tree_pass descriptors.
6009         * tree-pass.h (tree_opt_pass): Rename to ...
6010         (opt_pass) ... this one; add "type" field and remove letter field.
6011         (gimple_opt_pass, rtl_opt_pass, simple_ipa_opt_pass): New.
6012         (execute_pass_list, execute_ipa_pass_list, all_passes, all_ipa_passes,
6013         all_lowering_passes): Update declaration.
6014         * ipa-cp.c: Update tree_pass descriptors.
6015         * final.c: Update tree_pass descriptors.
6016         * omp-low.c: Update tree_pass descriptors.
6017         * tree-ssa-dse.c: Update tree_pass descriptors.
6018         * ipa-reference.c: Update tree_pass descriptors.
6019         * tree-ssa-uncprop.c: Update tree_pass descriptors.
6020         * auto-inc-dec.c: Update tree_pass descriptors.
6021         * reorg.c: Update tree_pass descriptors.
6022         * cgraphunit.c: Update tree_pass descriptors.
6023         * tree-ssa-copyrename.c: Update tree_pass descriptors.
6024         * tree-ssa-ccp.c: Update tree_pass descriptors.
6025         * df-core.c: Update tree_pass descriptors.
6026         * mode-switching.c: Update tree_pass descriptors.
6027         * tree-nomudflap.c: Update tree_pass descriptors.
6028         * modulo-sched.c: Update tree_pass descriptors.
6029         * ipa-pure-const.c: Update tree_pass descriptors.
6030         * cse.c: Update tree_pass descriptors.
6031         * web.c: Update tree_pass descriptors.
6032         * tree-stdarg.c: Update tree_pass descriptors.
6033         * tree-ssa-math-opts.c: Update tree_pass descriptors.
6034         * tree-ssa-dom.c: Update tree_pass descriptors.
6035         * tree-nrv.c: Update tree_pass descriptors.
6036         * tree-ssa-alias.c: Update tree_pass descriptors.
6037         * loop-init.c: Update tree_pass descriptors.
6038         * gimple-low.c: Update tree_pass descriptors.
6039         * ipa-inline.c: Update tree_pass descriptors.
6040         * tree-ssa-sink.c: Update tree_pass descriptors.
6041         * global.c: Update tree_pass descriptors.
6042         * ifcvt.c: Update tree_pass descriptors.
6043         * jump.c: Update tree_pass descriptors.
6044         * predict.c: Update tree_pass descriptors.
6045         * tree-ssa-loop.c: Update tree_pass descriptors.
6046         * recog.c: Update tree_pass descriptors.
6047         * dse.c: Update tree_pass descriptors.
6048         * tree-ssa-ifcombine.c: Update tree_pass descriptors.
6049         * tree-eh.c: Update tree_pass descriptors.
6050         * regmove.c: Update tree_pass descriptors.
6051         * local-alloc.c
6052         * function.c: Update tree_pass descriptors.
6053         * tree-vectorizer.c: Update tree_pass descriptors.
6054         * gcse.c: Update tree_pass descriptors.
6055         * ipa-type-escape.c: Update tree_pass descriptors.
6056         * tree-if-conv.c: Update tree_pass descriptors.
6057         * init-regs.c: Update tree_pass descriptors.
6058         * ipa.c: Update tree_pass descriptors.
6059         * tree-ssa-phiopt.c: Update tree_pass descriptors.
6060         * rtl-factoring.c: Update tree_pass descriptors.
6061         * lower-subreg.c: Update tree_pass descriptors.
6062         * bt-load.c: Update tree_pass descriptors.
6063         * tree-dfa.c: Update tree_pass descriptors.
6064         * except.c: Update tree_pass descriptors.
6065         * emit-rtl.c: Update tree_pass descriptors.
6066         * cfgexpand.c: Update tree_pass descriptors.
6067         * tree-cfgcleanup.c: Update tree_pass descriptors.
6068         * cfgcleanup.c: Update tree_pass descriptors.
6069         * tree-ssa-pre.c: Update tree_pass descriptors.
6070         * tree-sra.c: Update tree_pass descriptors.
6071         * tree-mudflap.c: Update tree_pass descriptors.
6072         * tree-ssa-copy.c: Update tree_pass descriptors.
6073         * cfglayout.c: Update tree_pass descriptors.
6074         * tree-ssa-forwprop.c: Update tree_pass descriptors.
6075         * tree-ssa-dce.c: Update tree_pass descriptors.
6076         * tree-ssa.c: Update tree_pass descriptors.
6077         * regclass.c: Update tree_pass descriptors.
6078         * integrate.c: Update tree_pass descriptors.
6079         * tree-optimize.c: Update tree_pass descriptors.
6080         * tree-ssa-phiprop.c: Update tree_pass descriptors.
6081         * tree-object-size.c: Update tree_pass descriptors.
6082         * combine.c: Update tree_pass descriptors.
6083         * tree-outof-ssa.c: Update tree_pass descriptors.
6084         * bb-reorder.c: Update tree_pass descriptors.
6085         * stack-ptr-mod.c: Update tree_pass descriptors.
6086         * var-tracking.c: Update tree_pass descriptors.
6087         * tree-profile.c: Update tree_pass descriptors.
6088         * tree-vect-generic.c: Update tree_pass descriptors.
6089         * reg-stack.c: Update tree_pass descriptors.
6090         * sched-rgn.c: Update tree_pass descriptors.
6091         * tree-ssa-structalias.c: Update tree_pass descriptors.
6092         * tree-cfg.c: Update tree_pass descriptors.
6093         * passes.c (current_pass): Update declaration.
6094         (finish_optimization_passes): Update.
6095         (all_passes, all_ipa_passes, all_lowering_passes): Update declaration.
6096         (register_one_dump_file, register_dump_files_1, next_pass_1):
6097         Update arguments.
6098         (init_optimization_passes): Update handling of new types.
6099         (execute_one_pass, execute_pass_list, execute_ipa_pass_list): Update.
6100         * ipa-struct-reorg.c: Update tree_pass descriptors.
6101         * tree-ssa-reassoc.c: Update tree_pass descriptors.
6102         * combine-stack-adj.c: Update tree_pass descriptors.
6103         * cfgrtl.c: Update tree_pass descriptors.
6104         * dce.c: Update tree_pass descriptors.
6105         * tree-ssanames.c: Update tree_pass descriptors.
6107 2008-03-19  Richard Guenther  <rguenther@suse.de>
6109         PR middle-end/35609
6110         * tree-ssa.c (walk_data): New structure.
6111         (warn_uninitialized_var): If not always_executed warn with "maybe"
6112         instead of "is".
6113         (execute_early_warn_uninitialized): Compute post-dominators.
6114         Initialize always_executed before processing each basic block.
6116 2008-03-18  Mikulas Patocka  <mikulas@artax.karlin.mff.cuni.cz>
6118         PR target/35504
6119         * config/i386/i386.c (x86_this_parameter): Calculate correct location
6120         of "this" pointer when "regparm = N" or "fastcall" is in effect.
6122 2008-03-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6124         * doc/include/texinfo.tex: Update to version 2008-03-17.10.
6126 2008-03-18  Paolo Bonzini  <bonzini@gnu.org>
6128         * expr.c (store_expr): Assume lang_hooks.reduce_bit_field_operations
6129         is true.
6130         (expand_expr_real_1) <REDUCE_BIT_FIELD>: Don't look at ignore.
6131         (expand_expr_real_1): Assume lang_hooks.reduce_bit_field_operations
6132         is true.  Add "&& !ignore" condition to reduce_bit_field.  Modify
6133         target after ignore has been set, and move there also the commputation
6134         of subtarget and original_target.
6135         * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Delete.
6136         (LANG_HOOKS_INITIALIZER): Remove it.
6137         * langhooks.h (struct lang_hooks): Remove reduce_bit_field_operations.
6139 2008-03-18  Richard Guenther  <rguenther@suse.de>
6141         * tree-ssa-sccvn.c (visit_reference_op_load): If the lookup
6142         found an expression with constants, note that in the VN for the lhs.
6143         * tree-ssa-pre.c (eliminate): Visit COND_EXPR statements and
6144         fold them to constants if possible.  Run cleanup_cfg if done so.
6145         (execute_pre): Return todo.
6146         (do_pre): Likewise.
6147         (execute_fre): Likewise.
6148         * tree-ssa-forwprop.c (can_propagate_from): Allow propagation
6149         of constants.
6150         (get_prop_source_stmt): Look through pointer conversions.
6152 2008-03-18  Jan Hubicka  <jh@suse.cz>
6154         * tree-pretty-print.c: Include predict.h.
6155         (dump_generic_node): Dump predictor.
6156         * tree.h (PREDICT_EXPR_OUTCOME, PREDICT_EXPR_PREDICTION): Update.
6157         * tree-gimple.c (is_gimple_stmt): Add PREDICT_EXPR.
6158         * gimple-low.c (lower_stmt): Likewise.
6159         * expr.c (expand_expr_real): Likewise.
6160         * predict.c (tree_bb_level_predictions): Use PREDICT_EXPRs and remove
6161         them.
6162         (build_predict_expr, build_predict_expr): New.
6163         * predict.h (predictor_name, build_predict_expr): Update.
6164         * c-typeck.c (c_finish_bc_stmt): Add prediction.
6165         * gimplify.c (gimplify_expr): Add PREDICT_EXPR.
6166         * predict.def (PRED_CONTINUE): Update hitrate.
6167         * tree.def (PREDICT_EXPR): Define.
6168         * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Mark PREDICT_EXPR;
6169         do not handle BIND_EXPR.
6170         * tree-inline.c (estimate_num_insns_1): PREDICT_EXPR is free.
6171         * tree-cfg.c (verify_gimple_stmt): PREDICT_EXPR is valid.
6172         * tree-ssa-operands.c (get_expr_operands): PREDICT_EXPR takes no
6173         operands.
6175 2008-03-18  Michael Matz  <matz@suse.de>
6177         * gcov-io.h (__gcov_merge_ior, __gcov_fork): Mark hidden.
6179 2008-03-18  Richard Guenther  <rguenther@suse.de>
6181         * tree-gimple.h (is_gimple_invariant_address): Declare.
6182         (is_gimple_constant): Likewise.
6183         * tree-gimple.c (is_gimple_constant): New function.
6184         (is_gimple_invariant_address): Likewise.
6185         (is_gimple_min_invariant): Implement in terms of is_gimple_constant
6186         and is_gimple_invariant_address.
6187         * tree-ssa-loop-niter.c (expand_simple_operations): Revert
6188         previous change.
6189         * tree-data-ref.c (get_references_in_stmt): A SSA_NAME is not
6190         an addressable base.
6192 2008-03-18  Jakub Jelinek  <jakub@redhat.com>
6194         PR middle-end/35611
6195         * gimplify.c (gimplify_expr): Gimplify second operand of
6196         OMP_ATOMIC_LOAD.
6198 2008-03-17  Richard Guenther  <rguenther@suse.de>
6200         PR tree-optimization/19637
6201         * fold-const.c (fold_unary): Remove restrictions of removing
6202         intermediate pointer-conversions (P2)(P1)P0.
6203         * tree-ssa-ccp.c (maybe_fold_stmt_addition): Recover from
6204         conversion to void pointer.
6205         (get_maxval_strlen): Handle addresses of the form &(*p)[0].
6207 2008-03-16  James E. Wilson  <wilson@tuliptree.org>
6209         PR debug/31510
6210         * dbxout.c (dbxout_expand_expr, case VAR_DECL): Return NULL for
6211         emulated thread local variables.
6213 2008-03-16  Richard Guenther  <rguenther@suse.de>
6215         PR middle-end/35607
6216         * tree-ssa-loop-niter.c (expand_simple_operations): Do not
6217         expand TREE_INVARIANT operations that are not gimple invariant.
6219 2008-03-16  Hans-Peter Nilsson  <hp@axis.com>
6221         * doc/extend.texi (Alignment): Say that the ABI controls
6222         the __alignof__ for non-strict-alignment targets rather
6223         than being a recommendation.
6225 2008-03-15  Paul Brook  <paul@codesourcery.com>
6227         * config/arm/arm.c (arm_unwind_emit): Suppress unused unwinding
6228         annotations.
6229         (arm_output_fn_unwind): Mark functions that can not be unwound.
6231 2008-03-15  Paul Brook  <paul@codesourcery.com>
6233         * config/arm/arm.c (arm_rtx_costs_1): Add costs for ARMv6 value
6234         extension instructions.
6236 2008-03-15  Richard Guenther  <rguenther@suse.de>
6238         * tree-ssa-ccp.c (ccp_fold): Also read from constant values
6239         and fold constant aggregate refs.
6240         (fold_const_aggregate_ref): Handle string constants
6241         and constructors in ARRAY_REFs.  Handle INDIRECT_REF.
6242         (evaluate_stmt): Simplify now that ccp_fold folds constant
6243         aggregate refs.
6245 2008-03-15  Paul Brook  <paul@codesourcery.com>
6247         * config/arm/arm.md (insv): Use gen_insv_t2 and gen_insv_zero.
6248         (extzv): Use gen_extzv_t2.
6249         (insv_t2, insv_zero, extv, extzv_t2): New patterns.
6251 2008-03-15  Richard Guenther  <rguenther@suse.de>
6253         * tree-ssa-ccp.c (get_symbol_constant_value): Export.
6254         (fold_const_aggregate_ref): Likewise.
6255         (get_value): Return NULL if we don't have any values.
6256         (ccp_finalize): Set const_val to NULL after freeing it.
6257         * tree-flow.h (get_symbol_constant_value): Declare.
6258         (fold_const_aggregate_ref): Likewise.
6259         * tree-ssa-sccvn.c (try_to_simplify): Use them.
6261 2008-03-15  Richard Guenther  <rguenther@suse.de>
6263         PR middle-end/35593
6264         * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Make sure
6265         to not produce negative array indices if not allowed.  Add
6266         parameter to indicate that.
6267         (maybe_fold_offset_to_component_ref): Allow negative array
6268         indices only for the first member of a structure.
6269         (maybe_fold_offset_to_reference): Allow negative array indices.
6270         (maybe_fold_stmt_addition): Likewise.
6272 2008-03-15  Bjoern Haase  <bjoern.m.haase@web.de>
6273             Anatoly Sokolov <aesok@post.ru>
6275         * config/avr/avr.c (avr_arch_types): Add avr6 entry.
6276         (avr_arch): Add ARCH_AVR6.
6277         (avr_mcu_types): Add 'atmega2560' and 'atmega2561' entry.
6278         (initial_elimination_offset): Initialize and use 'avr_pc_size' 
6279         instead of fixed value 2.
6280         (print_operand_address): Use gs() asm specifier instead of pm().
6281         (avr_assemble_integer): (Ditto.).
6282         (avr_output_addr_vec_elt): (Ditto.).
6283         (print_operand): Handle "!" code.
6284         * config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Add 
6285         __AVR_3_BYTE_PC__, __AVR_2_BYTE_PC__ and __AVR_HAVE_JMP_CALL__.
6286         (AVR_HAVE_EIJMP_EICALL): Define.
6287         (AVR_3_BYTE_PC): Redefine.
6288         (AVR_2_BYTE_PC): (Ditto.).
6289         (PRINT_OPERAND_PUNCT_VALID_P): Add '!' code.
6290         (LINK_SPEC): Add atmega2560 and atmega2561.
6291         (CRT_BINUTILS_SPEC): Add atmega2560 (crtm2560.o) and atmega2561 
6292         (crtm2561.o).
6293         * config/avr/avr.md (call_insn): Use eicall instead of icall 
6294         for 3 byte PC devices.
6295         (call_value_insn): (Ditto.).
6296         (*tablejump_enh): Use eijmp instead of ijmp for 3 byte PC devices.
6297         (indirect_jump): Use only for for 2 byte PC devices.
6298         (*tablejump): (Ditto.).
6299         (*indirect_jump_avr6): Add insn.
6300         (*tablejump_rjmp): Don't use for 3 byte PC devices.
6301         * config/avr/libgcc.S (__prologue_saves__): Use eijmp 
6302         instead of ijmp for 3 byte PC devices.
6303         (__tablejump2__): (Ditto.).
6304         * config/avr/t-avr (MULITLIB_OPTIONS): Add avr6 architecture.
6305         (MULITLIB_DIRNAMES): (Ditto.). 
6306         (MULTILIB_MATCHES): Add atmega2560 and atmega2561 to list.
6308 2008-03-15  Uros Bizjak  <ubizjak@gmail.com>
6310         * config/i386/mmx.md ("sse2_umulv1siv2di3"): Rename from
6311         "sse2_umulsidi3".  Use V1DI mode for operand 0.
6312         ("mmx_psadbw"): Use V1DI mode for operand 0.
6313         * config/i386/i386-modes.def (V1SI): New vector mode.
6314         * config/i386/i386.c (struct builtin_description)
6315         [IX86_BUILTIN_PMULUDQ]: Use CODE_FOR_sse2_umulv1siv1di3.
6316         (v1di_ftype_v8qi_v8qi): Rename from di_ftype_v8qi_v8qi.
6317         (v1di_ftype_v2si_v2si): Rename from di_ftype_v2si_v2si.
6318         (ix86_init_mmx_sse_builtins) [__builtin_ia32_psadbw]: Use
6319         v1di_ftype_v8qi_v8qi type.
6320         [__builtin_ia32_pmuludq]: Use v1di_ftype_v2si_v2si type.
6322         * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psadbw,
6323         __builtin_ia32_pmuludq]: Fix the mode of return value.
6325 2008-03-15  Richard Guenther  <rguenther@suse.de>
6327         PR middle-end/35595
6328         * tree-ssa-pre.c (bitmap_find_leader): Handle expression
6329         being a PHI_NODE.
6331 2008-03-14  Bob Wilson  <bob.wilson@acm.org>
6332         
6333         * doc/invoke.texi (Option Summary, Xtensa Options): Document
6334         -mserialize-volatile and -mno-serialize-volatile Xtensa options.
6335         * config/xtensa/xtensa.c (print_operand): Do not emit MEMW instructions
6336         unless TARGET_SERIALIZE_VOLATILE is enabled.
6337         * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
6338         * config/xtensa/xtensa.h (TARGET_DEFAULT): Add MASK_SERIALIZE_VOLATILE.
6339         * config/xtensa/xtensa.opt (mserialize_volatile): New option.
6341 2008-03-14  Richard Guenther  <rguenther@suse.de>
6343         PR tree-optimization/34172
6344         * tree-flow.h (refs_may_alias_p): Declare.
6345         (get_single_def_stmt): Likewise.
6346         (get_single_def_stmt_from_phi): Likewise.
6347         (get_single_def_stmt_with_phi): Likewise.
6348         * tree-dfa.c (refs_may_alias_p): New function.
6349         (get_single_def_stmt): Likewise.
6350         (get_single_def_stmt_from_phi): Likewise.
6351         (get_single_def_stmt_with_phi): Likewise.
6352         * tree-ssa-sccvn.c (get_def_ref_stmt_vuses): New function.
6353         (vn_reference_lookup_1): New helper function.
6354         (vn_reference_lookup): Walk the virtual use-def chain to
6355         continue searching for a match if the def does not alias the
6356         reference we are looking for.
6358 2008-03-14  David Edelsohn  <edelsohn@gnu.org>
6360         * doc/install.texi (Binaries): Remove UCLA archive.  Add HVCC
6361         archive and Perzl.  Update The Written Word listing.
6363 2008-03-14  Richard Guenther  <rguenther@suse.de>
6365         PR tree-optimization/34043
6366         PR tree-optimization/33989
6367         * tree-ssa-pre.c (execute_pre): Allow SCCVN to do insertion
6368         when doing FRE.
6369         (bitmap_find_leader): Use extra argument to verify dominance
6370         relationship inside a basic-block.
6371         (can_PRE_operation): Add VIEW_CONVERT_EXPR.
6372         (find_leader_in_sets): Adjust.
6373         (create_component_ref_by_pieces): Take extra argument for
6374         dominance check, handle lookup failures.
6375         (find_or_generate_expression): Likewise.
6376         (create_expression_by_pieces): Likewise.
6377         (insert_into_preds_of_block): Adjust.
6378         (create_value_expr_from): If asked for, verify all operands
6379         are in the blocks AVAIL_OUT set.
6380         (make_values_for_stmt): Check for SSA_NAMEs that are life
6381         over an abnormal edge.
6382         (compute_avail): Remove such check.
6383         (do_SCCVN_insertion): New function.
6384         (eliminate): If we do not find a leader suitable for replacement
6385         insert a replacement expression from SCCVN if available.
6386         * tree-ssa-sccvn.h (run_scc_vn): Update prototype.
6387         (struct vn_ssa_aux): Add needs_insertion flag.
6388         * tree-ssa-sccvn.c (may_insert): New global flag.
6389         (copy_reference_ops_from_ref): Value-number union member access
6390         based on its size, not type and member if insertion is allowed.
6391         (visit_reference_op_load): For a weak match from union type
6392         punning lookup a view-converted value and insert a SSA_NAME
6393         for that value if that is not found.
6394         (visit_use): Make dumps shorter.  Do not disallow value numbering
6395         SSA_NAMEs that are life over an abnormal edge to constants.
6396         (free_scc_vn): Release inserted SSA_NAMEs.
6397         (run_scc_vn): New flag to specify whether insertion is allowed.
6398         Process SSA_NAMEs in forward order.
6399         * tree-ssa-loop-im.c (for_each_index): Handle invariant
6400         ADDR_EXPRs inside VIEW_CONVERT_EXPR.
6401         * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPRs from/to
6402         pointer type to/from integral types that do not change the
6403         precision to regular conversions.
6405 2008-03-13  Uros Bizjak  <ubizjak@gmail.com>
6407         * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?,
6408         __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i,
6409         __builtin_ia32_psrl?i, __builtin_ia32_psra?i, __builtin_ia32_psll?128,
6410         __builtin_ia32_psrl?128, __builtin_ia32_psra?128]: Fix the mode of
6411         input arguments and the mode of return value.  Built-in functions
6412         that operate on whole 64-bit MMX register now use V1DI mode.
6414 2008-03-13  Alon Dayan  <alond@il.ibm.com>
6415             Olga Golovanevsky  <olga@il.ibm.com>
6417         PR tree-optimization/35041
6418         * ipa-struct-reorg.c (find_pos_in_stmt_1): Add another option
6419         to locate the right position in a statement.
6421 2008-03-13  Uros Bizjak  <ubizjak@gmail.com>
6423         PR target/34000
6424         PR target/35553
6425         * config/i386/xmmintrin.h:  Change all static inline functions to
6426         extern inline and add __gnu_inline__ attribute.
6427         * config/i386/bmintrin.h: Ditto.
6428         * config/i386/smmintrin.h: Ditto.
6429         * config/i386/tmmintrin.h: Ditto.
6430         * config/i386/mmintrin-common.h: Ditto.
6431         * config/i386/ammintrin.h: Ditto.
6432         * config/i386/emmintrin.h: Ditto.
6433         * config/i386/pmmintrin.h: Ditto.
6434         * config/i386/mmintrin.h: Ditto.
6435         * config/i386/mm3dnow.h: Ditto.
6437 2008-03-13  Jakub Jelinek  <jakub@redhat.com>
6439         PR middle-end/35185
6440         * omp-low.c (lower_regimplify, init_tmp_var, save_tmp_var): Removed.
6441         (lower_omp_2): New function.
6442         (lower_omp_1, lower_omp): Rewritten.
6444 2008-03-13  Danny Smith  <dannysmith@users.sourceforge.net>
6446         PR 35054
6447         * doc/extend.texi (Structure-Packing Pragmas): Replace "Win32"
6448         with the phrase "Microsoft Windows compilers".
6449         (Push/Pop Macro Pragmas): New subsection. Document
6450         #pragma push_macro and pragma pop_macro.
6452 2008-03-12  Paul Brook  <paul@codesourcery.com>
6454         * config/arm/arm.c (output_move_double): Prefer LDRD to LDM.
6456 2008-03-12  Paul Brook  <paul@codesourcery.com>
6458         * config/arm/thumb2.md: Extend peephole to cover 3-arg subs.
6459         (thumb2_alusi3_short): Exclude PLUS and MINUS.
6460         (thumb2_addsi_shortim): Rename ...
6461         (thumb2_addsi_short): ... to this.  Allow register operands.
6462         (thumb2_subsi_short): New pattern.
6463         (thumb2_one_cmplsi2_short,
6464         thumb2_negsi2_short): New patterns and peepholes.
6466 2008-03-12  Paul Brook  <paul@codesourcery.com>
6468         * config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2.
6470 2008-03-12  Uros Bizjak  <ubizjak@gmail.com>
6472         * config/i386/i386.md (int_cond): New code iterator.
6473         (fp_cond): Ditto.
6474         ("s<code>"): Macroize expander from seq, sne, sgt, sgtu, slt, sltu,
6475         sge, sgeu, sle and sleu expanders usign int_cond code iterator.
6476         ("s<code>"): Macroize expander from sunordered, sordered, suneq, sunge,
6477         sungt, sunle, sunlt and sltgt expanders usign fp_cond code iterator.
6478         ("b<code>"): Macroize expander from beq, bne, bgt, bgtu, blt, bltu,
6479         bge, bgeu, ble and bleu expanders usign int_cond code iterator.
6480         ("b<code>"): Macroize expander from bunordered, bordered, buneq, bunge,
6481         bungt, bunle, bunlt and bltgt expanders usign fp_cond code iterator.
6483 2008-03-12  Paul Brook  <paul@codesourcery.com>
6485         * config/arm/arm.c (use_return_insn): Use offsets->saved_regs_mask
6486         instead of {arm,thumb}_compute_save_reg_mask.
6487         (output_return_instruction): Ditto.
6488         (thumb_unexpanded_epilogue): Ditto.
6489         (thumb1_expand_prologue): Ditto.
6490         (thumb1_output_function_prologue): Ditto.
6491         (arm_set_return_address): Ditto.
6492         (thumb_set_return_address): Ditto.
6493         (arm_get_frame_offsets): Set offsets->saved_regs_mask.  Push extra
6494         regs to achieve stack alignment.
6495         (thumb1_compute_save_reg_mask): Fix compiler warning.
6496         (arm_output_epilogue): Use offsets->saved_regs_mask.
6497         Adjust stack pointer by poping call clobered registers.
6498         (arm_expand_prologue): Use offsets->saved_regs_mask.
6499         Adjust stack pointer by pushing extra registers.
6500         * config/arm.h (arm_stack_offsets): Add saved_regs_mask.
6502 2008-03-12  Paolo Bonzini  <bonzini@gnu.org>
6504         PR tree-opt/35422
6505         * fold-const.c (fold_unary) <NOP_EXPR>: Distribute a narrowing
6506         conversion to the operands of a multiplication.
6508 2008-03-12  Richard Guenther  <rguenther@suse.de>
6510         * Makefile.in (OBJS-common): Add tree-ssa-phiprop.o
6511         (tree-ssa-phiprop.o): Copy dependencies from tree-ssa-forwprop.o.
6512         * timevar.def (TV_TREE_PHIPROP): Add.
6513         * tree-ssa-phiprop.c: Split from tree-ssa-forwprop.c, added
6514         pass description.  Use TV_TREE_PHIPROP.
6515         * tree-ssa-forwprop.c: Remove phiprop code.
6517 2008-03-12  Jakub Jelinek  <jakub@redhat.com>
6519         PR middle-end/35549
6520         * omp-low.c (maybe_lookup_decl): Constify first argument.
6521         (use_pointer_for_field): Change last argument from bool to
6522         omp_context *.  Disallow shared copy-in/out in nested
6523         parallel if decl is shared in outer parallel too.
6524         (build_outer_var_ref, scan_sharing_clauses,
6525         lower_rec_input_clauses, lower_copyprivate_clauses,
6526         lower_send_clauses, lower_send_shared_vars): Adjust callers.
6528 2008-03-12  Victor Kaplansky  <victork@il.ibm.com>
6529             Ira Rosen  <irar@il.ibm.com>
6531         * tree-vectorizer.c (free_stmt_vec_info): New function.
6532         (destroy_loop_vec_info): Move code to free_stmt_vec_info().
6533         Call free_stmt_vec_info(). Free LOOP_VINFO_STRIDED_STORES..
6534         * tree-vectorizer.h (free_stmt_vec_info): Declare.
6535         * tree-vect-transform.c (vectorizable_conversion): Free
6536         vec_oprnds0 if it was allocated.
6537         (vect_permute_store_chain): Remove unused VECs.
6538         (vectorizable_store): Free VECs that are allocated in the..
6539         function.
6540         (vect_transform_strided_load, vectorizable_load): Likewise.
6541         (vect_remove_stores): Simplify the code.
6542         (vect_transform_loop): Move code to vect_remove_stores().
6543         Call vect_remove_stores() and free_stmt_vec_info().
6545 2008-03-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6547         * pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on
6548         TARGET_HPUX.  Revise comment.
6549         (TARGET_LONG_PIC_PCREL_CALL): Revise comment.
6550         * pa.c (output_call): Update for revised TARGET_LONG_PIC_SDIFF_CALL.
6551         Use sr4 variant of `be' instruction when not generating PIC code.
6552         (attr_length_call): Adjust for above change.
6554 2008-03-11  Andrew Pinski  <andrew_pinski@playstation.sony.com>
6556         * ipa-reference.c (static_execute): Remove module_statics_const and
6557         associated setting code.
6559 2008-03-11  Uros Bizjak  <ubizjak@gmail.com>
6561         PR target/35540
6562         * config/i386/i386.md (paritysi2, paritydi2): Use register_operand
6563         predicate for operand 1.
6564         (paritysi2_cmp): Use register_operand predicate for operand 2.
6565         Use earlyclobber modifier for operand 1.  Remove support for
6566         memory operands.
6567         (paritydi2_cmp): Use register_operand predicate for operand 3.
6568         Use earlyclobber modifier for operand 1.  Remove support for
6569         memory operands.
6571 2008-03-11  Paul Brook  <paul@codesourcery.com>
6572             Vladimir Prus  <vladimir@codesourcery.com>
6574         * config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME.
6575         (arm_compute_save_reg0_reg12_mask): Always
6576         check if register 11 must be saved.  Always safe hard frame pointer
6577         when frame_pointer_needeed.
6578         (arm_compute_save_reg_mask): Save IP and PC
6579         only with apcs frames.
6580         (arm_output_epilogue): Adjust Thumb2 codepath to
6581         be also invoked and work for ARM non-apcs frames.
6582         (arm_expand_prologue): Don't bother saving IP
6583         for non-apcs frame, since it's not clobbered by
6584         prologue code.  Implement non-apcs frame
6585         layout.
6587 2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
6589         PR rtl-optimization/35281
6590         * expr.c (convert_move): Use a new pseudo for the intermediate
6591         from_mode->word_mode result.
6593 2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
6595         * langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
6596         * langhooks.h (struct lang_hooks): Delete clear_binding_stack member.
6597         * toplev.c (compile_file): Don't call it.
6599 2008-03-11  Uros Bizjak  <ubizjak@gmail.com>
6601         PR middle-end/35526
6602         * expr.c (store_expr): Call emit_block_move if the mode
6603         of "temp" RTX is BLKmode.
6605 2008-03-11  Andrew Pinski  <andrew_pinski@playstation.sony.com>
6606             Richard Guenther  <rguenther@suse.de>
6608         PR tree-optimization/31358
6609         * tree-ssa-loop-manip.c (create_iv): Call force_gimple_operand for
6610         the step with a NULL_TREE.
6611         * tree-ssa-loop-ivopts.c (find_bivs): Convert the step
6612         to sizetype if type is a pointer type.
6613         (add_candidate_1): Don't convert the base and step to
6614         the generic type if the orginal type is a pointer type.
6615         (add_iv_value_candidates): Use sizetype for the step
6616         if type is a pointer type.
6617         (cand_value_at): Likewise.
6618         * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR
6619         for pointer types.
6620         * tree-affine.c (tree_to_aff_combination <POINTER_PLUS_EXPR>):
6621         Don't convert the tem affine to the type.
6622         (add_elt_to_tree): Use sizetype for the step if a pointer.
6623         Use POINTER_PLUS_EXPR for pointers.
6624         (aff_combination_to_tree): Use sizetype for the step if a
6625         pointer.
6627 2008-03-10  Vladimir Makarov  <vmakarov@redhat.com>
6629         * config/i386/sse.md (ssse3_pmaddubswv8hi3, ssse3_pmaddubswv4hi3):
6630         Remove commutativity hint.
6632 2008-03-10  Jakub Jelinek  <jakub@redhat.com>
6634         PR c/35438
6635         PR c/35439
6636         * c-parser.c (c_parser_omp_threadprivate): Don't add vars with
6637         errorneous type.  Check that v is a VAR_DECL.
6639         PR middle-end/35099
6640         * tree-cfg.c (new_label_mapper): Update cfun->last_label_uid.
6642 2008-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6644         PR tree-optimization/35494
6645         * tree-ssa-ccp.c (get_symbol_constant_value): Check if value
6646         may be overriden at link and run time.
6648 2008-03-10  Richard Guenther  <rguenther@suse.de>
6650         PR tree-optimization/34677
6651         * tree-ssa-pre.c (modify_expr_node_pool): Remove.
6652         (poolify_tree): Likewise.
6653         (modify_expr_template): Likewise.
6654         (poolify_modify_stmt): Likewise.
6655         (insert_fake_stores): Handle all component-ref style stores
6656         in addition to INDIRECT_REF.  Also handle complex types.
6657         Do not poolify the inserted load.
6658         (realify_fake_stores): Do not rebuild the tree but only
6659         make it a SSA_NAME copy.
6660         (init_pre): Remove initialzation of modify_expr_template.
6661         Do not allocate modify_expr_node_pool.
6662         (fini_pre): Do not free modify_expr_node_pool.
6664 2008-03-10  Paul Brook  <paul@codesourcery.com>
6666         * config/arm/arm.md (UNSPEC_STACK_ALIGN, UNSPEC_PIC_OFFSET): Renumber
6667         to avoid conflicts.
6669 2008-03-10  Paul Brook  <paul@codesourcery.com>
6670             Mark Shinwell  <shinwell@codesourcery.com>
6672         * config/arm/cortex-r4.md: New.
6673         * config/arm/thumb2.md (divsi3, udivsi3): Annotate with
6674         insn attributes.
6675         * config/arm/arm.md: Include cortex-r4.md.
6676         (insn): Add smmls, sdiv and udiv values.
6677         (generic_sched): Don't use generic scheduling for Cortex-R4.
6678         (arm_issue_rate): New function.
6679         (TARGET_SCHED_ISSUE_RATE): Define.
6681 2008-03-10  Sebastian Pop  <sebastian.pop@amd.com>
6683         * doc/invoke.texi (-ftree-loop-distribution): Add an example.
6685 2008-03-10  Richard Guenther  <rguenther@suse.de>
6687         * tree-ssa-pre.c (get_sccvn_value): Simplify.
6688         (compute_avail): Do not add stmt uses to AVAIL_OUT.
6690 2008-03-10  Paolo Bonzini  <bonzini@gnu.org>
6692         * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS):
6693         Set default to true.
6695 2008-03-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6697         * c.opt (Wsynth): Deprecate.
6698         * doc/invoke.texi (Option Summary, Warning Options): Document
6699         -Wno-format-contains-nul.
6701 2008-03-09  Uros Bizjak  <ubizjak@gmail.com>
6703         PR target/35496
6704         * config/i386/i386.c (ix86_constant_alignment): Compute alignment using
6705         ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST.
6707 2008-03-09  Ira Rosen  <irar@il.ibm.com>
6709         * config/rs6000/rs6000.c (builtin_description): Rename vector
6710         left shift operations.
6711         * config/rs6000/altivec.md (UNSPEC_VSL): Remove.
6712         (altivec_vsl<VI_char>): Rename to ...
6713         (ashl<mode>3): ... new name.
6714         (mulv4sf3, mulv4si3, negv4sf2): Replace gen_altivec_vslw with
6715         gen_ashlv4si3.
6716         (absv4sf2): Convert to use ashift:V4SI instead of UNSPEC_VSL.
6718 2008-03-08  Richard Guenther  <rguenther@suse.de>
6720         * coverage.h (tree_coverage_counter_addr): Declare.
6721         * coverage.c (tree_coverage_counter_addr): New function.
6722         * tree-profile.c (tree_gen_edge_profiler): Unshare counter
6723         before using again.
6724         (tree_gen_pow2_profiler): Use tree_coverage_counter_addr.
6725         (tree_gen_one_value_profiler): Likewise.
6726         (tree_gen_ic_profiler): Likewise.
6727         (tree_gen_average_profiler): Likewise.
6728         (tree_gen_ior_profiler): Likewise.
6730 2008-03-08  Richard Guenther  <rguenther@suse.de>
6732         * tree-ssa-sccvn.h (vn_binary_op_lookup): Remove.
6733         (vn_binary_op_insert): Likewise.
6734         (vn_unary_op_lookup): Likewise.
6735         (vn_unary_op_insert): Likewise.
6736         (vn_nary_op_lookup): Declare.
6737         (vn_nary_op_insert): Likewise.
6738         * tree-ssa-sccvn.c (struct vn_tables_s): Merge unary
6739         and binary hashes, use a single obstack for unary_op_pool
6740         and binary_op_pool.
6741         (struct vn_binary_op_s, struct vn_unary_op_s): Replace with
6742         a single struct vn_nary_op_s.  Store tree code length and
6743         a variable number of operands.
6744         (struct vn_reference_op_struct): Remove unused op2.
6745         (vn_reference_op_eq): Do not compare op2.
6746         (vn_reference_op_compute_hash): Do not compute hash of op2.
6747         (vn_unary_op_hash, vn_binary_op_hash): Replace with vn_nary_op_hash.
6748         (vn_unary_op_compute_hash, vn_binary_op_compute_hash): Replace
6749         with vn_nary_op_compute_hash.
6750         (vn_unary_op_eq, vn_binary_op_eq): Replace with vn_nary_op_eq.
6751         (vn_unary_op_lookup, vn_binary_op_lookup): Replace with
6752         vn_nary_op_lookup.
6753         (vn_unary_op_insert, vn_binary_op_insert): Replace with
6754         vn_nary_op_insert.
6755         (visit_unary_op): Call nary functions.
6756         (visit_binary_op): Likewise.
6757         (process_scc): Adjust for struct vn_tables_s changes.
6758         (allocate_vn_table): Likewise.
6759         (free_vn_table): Likewise.
6760         * tree-vn.c (vn_add): Call nary functions.
6761         (vn_lookup): Likewise.
6763 2008-03-08  Jakub Jelinek  <jakub@redhat.com>
6765         PR target/35498
6766         * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Shift
6767         wdst back after sync_compare_and_swapqhi_internal.
6769 2008-03-08  Uros Bizjak  <ubizjak@gmail.com>
6771         PR target/22152
6772         * config/i386/i386-modes.def (V1DI): New vector mode.
6773         * config/i386/i386.h (VALID_MMX_REG_MODE): Add V1DImode.
6774         * config/i386/mmx.md (MMXMODEI8): New mode iterator.
6775         (MMXMODE248): Ditto.
6776         (MMXMODE): Add V1DI mode.
6777         (mmxvecsize): Change DI mode to V1DI mode.
6778         ("mov<mode>): Use MMXMODEI8 mode iterator.
6779         ("*mov<mode>_internal_rex64"): Ditto.
6780         ("*mov<mode>_internal"): Ditto.
6781         ("mmx_add<mode>3"): Ditto.  Handle V1DImode for TARGET_SSE2.
6782         ("mmx_sub<mode>3"): Ditto.
6783         ("mmx_adddi3"): Remove insn pattern.
6784         ("mmx_subdi3"): Ditto.
6785         ("mmx_ashr<mode>3"): Use SImode and "yN" constraint for operand 2.
6786         ("mmx_lshr<mode>3"): Ditto. Use MMXMODE248 mode iterator.
6787         ("mmx_ashl<mode>3"): Ditto.
6788         ("mmx_lshrdi3"): Remove insn pattern.
6789         ("mmx_ashldi3"): Ditto.
6790         * config/i386/i386.c (classify_argument): Handle V1DImode.
6791         (function_arg_advance_32): Ditto.
6792         (function_arg_32): Ditto.
6793         (struct builtin_description) [IX86_BUILTIN_PADDQ]: Use
6794         mmx_addv1di3 insn pattern.
6795         [IX86_BUILTIN_PSUBQ]: Use mmx_subv1di3 insn pattern.
6796         [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, IX86_BUILTIN_PSRA?,
6797         IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, IX86_BUILTIN_PSRA?I,
6798         IX86_BUILTIN_PSLL?I128, IX86_BUILTIN_PSRL?I128, IX86_BUILTIN_PSRA?I128]:
6799         Remove definitions of built-in functions.
6800         (V1DI_type_node): New node.
6801         (v1di_ftype_v1di_int): Ditto.
6802         (v1di_ftype_v1di_v1di): Ditto.
6803         (v2si_ftype_v2si_si): Ditto.
6804         (v4hi_ftype_v4hi_di): Remove node.
6805         (v2si_ftype_v2si_di): Ditto.
6806         (ix86_init_mmx_sse_builtins): Handle V1DImode.
6807         (__builtin_ia32_psll?, __builtin_ia32_psrl?, __builtin_ia32_psra?):
6808         Redefine builtins using def_builtin_const with *_ftype_*_int node.
6809         (__builtin_ia32_psll?i, __builtin_ia32_psrl?i, __builtin_ia32_psra?i):
6810         Add new builtins using def_builtin_const.
6811         (ix86_expand_builtin) [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?,
6812         IX86_BUILTIN_PSRA?, IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I,
6813         IX86_BUILTIN_PSRA?I]: Handle builtin definitions.
6814         * config/i386/mmintrin.h (__v1di): New typedef.
6815         (_mm_add_si64): Cast arguments to __v1di type.
6816         (_mm_sub_si64): Ditto.
6817         (_mm_sll_pi16): Cast __count to __v4hi type.
6818         (_mm_sll_pi32): Cast __count to __v2si type.
6819         (_mm_sll_si64): Cast arguments to __v1di type.
6820         (_mm_srl_pi16): Cast __count to __v4hi type.
6821         (_mm_srl_pi32): Cast __count to __v2si type.
6822         (_mm_srl_si64): Cast arguments to __v1di type.
6823         (_mm_sra_pi16): Cast __count to __v4hi type.
6824         (_mm_sra_pi32): Cast __count to __v2si type.
6825         (_mm_slli_pi16): Use __builtin_ia32_psllwi.
6826         (_mm_slli_pi32): Use __builtin_ia32_pslldi.
6827         (_mm_slli_si64): Use __builtin_ia32_psllqi. Cast __m to __v1di type.
6828         (_mm_srli_pi16): Use __builtin_ia32_psrlwi.
6829         (_mm_srli_pi32): Use __builtin_ia32_psrldi.
6830         (_mm_srli_si64): Use __builtin_ia32_psrlqi. Cast __m to __v1di type.
6831         (_mm_srai_pi16): Use __builtin_ia32_psrawi.
6832         (_mm_srai_pi32): Use __builtin_ia32_psradi.
6833         * config/i386/i386.md (UNSPEC_NOP): Remove unspec definition.
6834         * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?,
6835         __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i,
6836         __builtin_ia32_psrl?i, __builtin_ia32_psra?i]: Add new builtins.
6838 2008-03-07  Joseph Myers  <joseph@codesourcery.com>
6840         * doc/include/texinfo.tex: Update to version 2008-03-07.10.
6842 2008-03-07  Peter Bergner  <bergner@vnet.ibm.com>
6844         PR target/35373
6845         * config/rs6000/rs6000.c (rs6000_legitimize_address): Don't generate
6846         reg+const addressing for Altivec modes.  Don't generate reg+reg
6847         addressing for TFmode or TDmode quantities.
6849 2008-03-07  Paolo Bonzini  <bonzini@gnu.org>
6851         * c-common.c (vector_types_convertible_p): Call langhook
6852         instead of comptypes.
6854 2008-03-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
6856         PR tree-opt/35402
6857         * tree-ssa-ccp.c (get_symbol_constant_value): Handle
6858         integral and scalar float variables which have a
6859         NULL DECL_INITIAL.
6861 2008-03-06  Nathan Froyd  <froydnj@codesourcery.com>
6863         * dwarf2out.c (dwarf2out_frame_debug_expr): Consult the
6864         dwarf_register_span hook when emitting unwind information for
6865         register-to-memory saves.
6866         * config/rs6000/rs6000.c (spe_synthesize_frame): Delete.
6867         (rs6000_frame_related): Remove call to spe_synthesize_frame.
6869 2008-03-06  Jakub Jelinek  <jakub@redhat.com>
6871         * gimplify.c (goa_lhs_expr_p): Allow different ADDR_EXPR nodes
6872         for the same VAR_DECL.
6874 2008-03-06  Tom Tromey  <tromey@redhat.com>
6876         * treelang: Delete.
6877         * doc/standards.texi (Standards): Don't mention treelang.
6878         * doc/invoke.texi (Overall Options): Don't mention treelang.
6879         * doc/install.texi (Prerequisites): Don't mention bison or
6880         treelang.
6881         (Configuration): Don't mention treelang.
6882         (Building): Likewise.
6883         * doc/frontends.texi (G++ and GCC): Don't mention treelang.
6885 2008-03-06  Paolo Bonzini  <bonzini@gnu.org>
6887         * simplify-rtx.c (simplify_subreg): Remove useless shifts from
6888         word-extractions out of a multi-word object.
6890 2008-03-06  Richard Guenther  <rguenther@suse.de>
6892         * tree.def (BIT_FIELD_REF): Constrain result type and its precision.
6893         * tree-cfg.c (verify_expr): Verify BIT_FIELD_REF constraints on
6894         result type and precision.
6895         * expr.c (get_inner_reference): Set unsignedp based on the result
6896         type of BIT_FIELD_REF.
6897         * tree.h (BIT_FIELD_REF_UNSIGNED): Remove.
6898         * tree-sra.c (instantiate_element): Do not set BIT_FIELD_REF_UNSIGNED.
6899         (try_instantiate_multiple_fields): Likewise.  Use the correct type
6900         for BIT_FIELD_REF.
6901         (sra_build_assignment): Likewise.
6902         (sra_build_elt_assignment): Likewise.
6903         (sra_explode_bitfield_assignment): Likewise.
6904         * print-tree.c (print_node): Do not check BIT_FIELD_REF_UNSIGNED.
6905         * tree-vect-transform.c (vect_create_epilog_for_reduction): Do not
6906         set BIT_FIELD_REF_UNSIGNED.
6907         (vectorizable_load): Likewise.
6909 2008-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
6911         * cse.c (cse_extended_basic_block): Invalidate artificial defs
6912         at bb start.
6914 2008-03-06  Richard Guenther  <rguenther@suse.de>
6916         * alias.c (struct alias_set_entry): Move has_zero_child field
6917         to pack with alias_set.
6919 2008-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6921         * config/i386/i386-modes.def: Use 4 byte alignment on DI for
6922         32bit host.
6924 2008-03-05  Ian Lance Taylor  <iant@google.com>
6926         * alias.h (alias_set_type): Change from HOST_WIDE_INT to int.
6928 2008-03-05  Kenneth Zadeck  <zadeck@naturalbridge.com>
6930         * fwprop.c (update_df): Support width and offset parameters of
6931         df_ref_create.
6932         * ra-conflict.c (mark_reg_store, clear_reg_in_live,
6933         global_conflicts): Change DF_REF_EXTRACT to either
6934         DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT.  Change
6935         DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART.
6936         * df-scan.c (df_ref_record, df_defs_record,
6937         df_ref_create_structure, df_def_record_1, df_uses_record,
6938         df_get_conditional_uses, df_get_call_refs, df_insn_refs_collect,
6939         df_bb_refs_collect, df_entry_block_defs_collect,
6940         df_exit_block_uses_collect): Support new width and offset fields.
6941         (ref_extract_pool): New storage pool.
6942         (df_free_ref): New function.
6943         (df_reg_chain_unlink, df_free_collection_rec,
6944         df_sort_and_compress_refs): Call df_free_ref.
6945         (df_ref_equal_p, df_ref_compare): Compare offset and width fields
6946         of df_ref_extract.
6947         (df_ref_create_structure): Allocate df_ref_extract if offset and
6948         width fields are used.
6949         (df_def_record_1): Get offset and width from ZERO_EXTRACT.
6950         (df_uses_record): Get offset and width from ZERO_EXTRACT 
6951         and SIGN_EXTRACT.
6952         * global.c (build_insn_chain): Change DF_REF_EXTRACT to either
6953         DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT.  Change
6954         DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART.
6955         * df.h (df_ref_flags): Change DF_REF_EXTRACT to either
6956         DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT.  Change
6957         DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART.
6958         (df_ref_extract): New structure.
6959         (DF_REF_WIDTH, DF_REF_OFFSET): New macros.
6960         (df_ref_create): Add width and offset parameters.
6961         
6962 2008-03-05  Richard Guenther  <rguenther@suse.de>
6964         * tree-ssa-structalias.c (get_constraint_for_component_ref):
6965         Use ranges_overlap_p.
6966         (offset_overlaps_with_access): Rename
6967         to ranges_overlap_p and move ...
6968         * tree-flow-inline.h (ranges_overlap_p): ... here.
6970         * tree.h (get_inner_reference, handled_component_p): Update
6971         comments.
6973         * tree.h (record_component_aliases, get_alias_set,
6974         alias_sets_conflict_p, alias_sets_must_conflict_p,
6975         objects_must_conflict_p): Move declarations ...
6976         * alias.h (record_component_aliases, get_alias_set,
6977         alias_sets_conflict_p, alias_sets_must_conflict_p,
6978         objects_must_conflict_p): ... here.
6979         Include coretypes.h.
6980         * Makefile.in (ALIAS_H): Add coretypes.h dependency.
6982 2008-03-05  Aldy Hernandez  <aldyh@redhat.com>
6984         * cfg.c: Include tree-flow.h.
6985         (remove_edge_raw): Call redirect_edge_var_map_clear.
6986         (redirect_edge_succ_nodup): Call redirect_edge_var_map_dup.
6987         * tree-flow-inline.h (redirect_edge_var_map_def): New.
6988         (redirect_edge_var_map_result): New.
6989         * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Replace
6990         PENDING_STMT use with redirect_edge_var_map_*.
6991         * tree-ssa.c (edge_var_maps): New definition.
6992         (redirect_edge_var_map_add): New.
6993         (redirect_edge_var_map_clear): New.
6994         (redirect_edge_var_map_dup): New.
6995         (redirect_edge_var_map_vector): New.
6996         (redirect_edge_var_map_destroy): New.
6997         (ssa_redirect_edge): Replace PENDING_STMT use with
6998         redirect_edge_var_map_*.
6999         (flush_pending_stmts): Same.
7000         (delete_tree_ssa): Destroy edge var map.
7001         * tree-flow.h (struct _edge_var_map): New.
7002         Define edge_var_map vector type.
7003         Declare redirect_edge_var_map_* prototypes.
7004         * Makefile.in (cfg.o): Depend on TREE_FLOW_H.
7005         * tree-cfg.c (reinstall_phi_args): Replace
7006         PENDING_STMT use with redirect_edge_var_map_*.
7008 2008-03-05  Richard Guenther  <rguenther@suse.de>
7010         PR tree-optimization/35472
7011         * tree-ssa-dse.c (dse_optimize_stmt): Do not delete a store
7012         whose single use_stmt has a overlapping set of loaded and
7013         stored symbols as that use_stmt might be a noop assignment then.
7015 2008-03-05  Joel Sherrill <joel.sherrill@oarcorp.com>
7017         * gthr-rtems.h: Implement __gthread_mutex_destroy.
7019 2008-03-05  Richard Guenther  <rguenther@suse.de>
7021         PR c++/35336
7022         * tree.def (BIT_FIELD_REF): Document that operands 1 and 2
7023         should be constants.
7024         * tree-cfg.c (verify_expr): Verify it.
7025         * fold-const.c (fold_truthop): Remove code generating
7026         BIT_FIELD_REFs of structure bases.
7027         (fold_binary): Likewise.
7028         (fold_ternary): Position and size of BIT_FIELD_REFs are
7029         always host integers.
7030         (make_bit_field_ref): Remove.
7031         (optimize_bit_field_compare): Remove.
7032         (all_ones_mask_p): Remove.
7034 2008-03-05  Gabor Loki  <loki@gcc.gnu.org>
7036         PR gcc/33009
7037         * rtl-factoring.c (clear_regs_live_in_seq): Fix backward steps.
7038         (split_block_and_df_analyze): New. Split basic block and rebuild
7039         dataflow.
7040         (block_label_after): Use SPLIT_BLOCK_AND_DF_ANALYZE instead of
7041         SPLIT_BLOCK.
7042         (split_pattern_seq): Likewise.
7043         (erase_matching_seqs): Likewise.
7044         (split_pattern_seq): Skip return insn in case of REG_NORETURN note.
7046 2008-03-04  Geoff Keating  <geoffk@apple.com>
7048         * fold-const.c (tree_single_nonnegative_warnv_p): Fix mixed
7049         declaration and code.
7050         (tree_invalid_nonnegative_warnv_p): Likewise.
7052 2008-03-05  Serge Belyshev  <belyshev@depni.sinp.msu.ru>
7054         * doc/install.texi (Testing): Correct quoting for the RUNTESTFLAGS
7055         examples.  Truncate option-names then causing overfull hbox.
7057 2008-03-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7059         PR target/35222
7060         * configure.ac (CONFIG_SJLJ_EXCEPTIONS): Force SJLJ exceptions
7061         on hpux10.
7062         * configure: Rebuilt.
7064 2008-03-04  Rafael Espindola  <espindola@google.com>
7066         * fold-const.c (tree_simple_nonnegative_warnv_p): New.
7067         (tree_unary_nonnegative_warnv_p): New.
7068         (tree_binary_nonnegative_warnv_p): New.
7069         (tree_single_nonnegative_warnv_p): New.
7070         (tree_invalid_nonnegative_warnv_p): New.
7071         (tree_expr_nonnegative_warnv_p): Redefine in term of the new functions.
7073 2008-03-04  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
7075         PR 28322
7076         * opts.c (handle_option): Postpone 'unknown option' errors only for
7077         warning options.
7079 2008-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7081         PR target/35453
7082         * config/i386/smmintrin.h (SIDD_XXX): Renamed to ...
7083         (_SIDD_XXX): This.
7085 2008-03-04  Rafael Espindola  <espindola@google.com>
7087         * fold-const.c (tree_unary_nonzero_warnv_p): New.
7088         (tree_binary_nonzero_warnv_p): New.
7089         (tree_single_nonzero_warnv_p): New.
7090         (tree_expr_nonzero_warnv_p): Redefine using the new functions.
7092 2008-03-04  Uros Bizjak  <ubizjak@gmail.com>
7094         PR middle-end/35456
7095         * fold-const.c (fold_cond_expr_with_comparison): Prevent
7096         transformations for modes that have signed zeros.
7097         * ifcvt.c (noce_try_abs): Ditto.
7099 2008-03-04  Joseph Myers  <joseph@codesourcery.com>
7101         * config/i386/i386.c (override_options): Force
7102         -maccumulate-outgoing-args on if TARGET_STACK_PROBE.
7104 2008-03-04  Jan Hubicka  <jh@suse.cz>
7106         PR c++/35262
7107         * ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo
7108         in last commit.
7110 2008-03-04  Danny Smith  <dannysmith@users.sourceforge.net>
7112         * config/i386/i386.md (allocate_stack_worker_32): Use  __chkstk
7113         label to probe the stack.
7115 2008-03-04  Danny Smith  <dannysmith@users.sourceforge.net>
7117         * gthr-win32.h [__GTHREAD_HIDE_WIN32API]
7118         (__gthr_win32_mutex_destroy): Declare.
7119         [__GTHREAD_HIDE_WIN32API] (__gthread_mutex_destroy): Use
7120         __gthr_win32_mutex_destroy.
7121         * config/i386/gthr-win32.c  (__gthr_win32_mutex_destroy): Define.
7123 2008-03-03  Jan Hubicka  <jh@suse.cz>
7125         PR c++/35262
7126         * ipa-inline.c (cgraph_decide_inlining_of_small_function): Be more
7127         aggressive on inlining cold calls.
7129 2008-03-03  Richard Guenther  <rguenther@suse.de>
7131         * tree-ssa-sccvn.c (visit_reference_op_store): Do not insert
7132         struct copies into the expression table.
7133         (simplify_unary_expression): Handle VIEW_CONVERT_EXPR.
7134         (try_to_simplify): Likewise.
7135         * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPR of
7136         integral and pointer arguments which do not change the
7137         precision to NOP_EXPRs.
7138         * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Adjust
7139         VIEW_CONVERT_EXPR case.
7141 2008-03-02  Sebastian Pop  <sebastian.pop@amd.com>
7143         * tree-scalar-evolution.c (instantiate_parameters_1): An SSA_NAME
7144         defined in a loop at depth 0 is invariant.
7145         * tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto.
7146         * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Should never
7147         be called at loop depth 0.
7149 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
7151         PR driver/35420
7152         * gcc.c (process_command): Update copyright notice dates.
7153         * gcov.c (print_version): Likewise.
7154         * gcov-dump.c (print_version): Likewise.
7155         * mips-tfile.c (main): Likewise.
7156         * mips-tdump.c (main): Likewise.
7158 2008-03-02  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
7160         PR 24924
7161         * c-common.c (flag_permissive): Delete.
7162         (constant_expression_warnings): Check flags first.
7163         (constant_expression_error): New.
7164         * c-common.h (flag_permissive): Delete.
7165         (constant_expression_error): Declare.
7166         * flags.h (flag_permissive): Declare. Update description.
7167         * diagnostic.c (pedwarn): Update.
7168         (permerror): New.
7169         * diagnostic.h: (pedantic_error_kind): Rename as pedantic_warning_kind.
7170         (permissive_error_kind): New.
7171         * toplev.c (flag_permissive): Define. Update description.
7172         * toplev.h (permissive_error_kind): Declare.
7173         * c-errors.c (pedwarn_c99): Use pedantic_warning_kind.
7174         (pedwarn_c90): Use pedantic_warning_kind.
7175         * c-opts.c (c_common_post_options): flag_permissive does not affect
7176         flag_pedantic_errors.
7178 2008-03-02  Joseph Myers  <joseph@codesourcery.com>
7180         * libgcc2.c (__addvSI3, __addvsi3, __addvDI3, __subvSI3,
7181         __subvsi3, __subvDI3, __negvSI2, __negvsi2, __negvDI2, __absvSI2,
7182         __absvsi2, __absvDI2): Use unsigned arithmetic.
7184 2008-03-02  Andi Kleen  <ak@suse.de>
7185             Richard Guenther  <rguenther@suse.de>
7187         * struct-equiv.c: Remove file.
7188         * cfg_cleanup.c (condjump_equiv_p): Remove.
7189         * Makefile.in (OBJS-common): Remove struct-equiv.o.
7190         (struct-equiv.o): Remove rule.
7191         * basic-block.h (struct_equiv_checkpoint, STRUCT_EQUIV_*,
7192         insns_match_p, struct_equiv_block_eq, struct_equiv_init, 
7193         rtx_equiv_p, condjump_equiv_p): Remove prototypes.
7195 2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
7197         * ifcvt.c (noce_process_if_block): Try to handle only the then
7198         block if the else block exists but isn't suitable.
7200 2008-03-01  Janne Blomqvist  <jb@gcc.gnu.org>
7202         PR gcc/35063
7203         * gthr-posix.h (__gthread_mutex_destroy): Remove extra declarations.
7204         * gthr-posix95.h (__gthread_mutex_destroy): Likewise. Note this fixes
7205         regression from previous patch.
7207 2008-03-01  Janne Blomqvist  <jb@gcc.gnu.org>
7209         PR gcc/35063
7210         * gthr.h: Add __gthread_mutex_destroy as a function that must be
7211         implemented.
7212         * gthr-vxworks.h (__gthread_mutex_destroy): Null implementation.
7213         * gthr-single.h (__gthread_mutex_destroy): Likewise.
7214         * gthr-rtems.h (__gthread_mutex_destroy): Likewise.
7215         * gthr-mipssde.h (__gthread_mutex_destroy): Likewise.
7216         * gthr-nks.h (__gthread_mutex_destroy): Likewise.
7217         * gthr-solaris.h (__gthread_mutex_destroy): Call mutex_destroy.
7218         * gthr-win32.h (__GTHREAD_MUTEX_DESTROY_FUNCTION): Remove.
7219         (__gthread_mutex_destroy_function): Rename to
7220         __gthread_mutex_destroy.
7221         * gthr-dce.h (__gthread_mutex_destroy): Call
7222         pthread_mutex_destroy.
7223         * gthr-tpf.h (__gthread_mutex_destroy): Likewise.
7224         * gthr-posix.h (__gthread_mutex_destroy): Likewise.
7225         * gthr-posix95.h (__gthread_mutex_destroy): Likewise.
7227 2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
7229         * df-scan.c (df_ref_chain_change_bb): Simplify.
7230         (df_insn_change_bb): Add new_bb argument.  Simplify.  Call
7231         set_block_for_insn if there's any change.
7232         * df.h ((df_insn_change_bb): Fix prototype.
7233         * cfgrtl.c (update_bb_for_insn_chain): Pass bb to
7234         df_insn_change_bb, don't call set_block_for_insn.
7235         * emit-rtl.c (reorder_insns): Likewise.
7236         * haifa-sched.c (move_insn): Likewise.
7238 2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
7240         * rtlanal.c (loc_mentioned_in_p): Test XVECEXPs correctly.
7242 2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
7244         * tree-flow-inline.h (next_readonly_imm_use): Return
7245         NULL_USE_OPERAND_P after the end.
7247 2008-03-01  Richard Guenther  <rguenther@suse.de>
7249         PR tree-optimization/35411
7250         * tree-sra.c (sra_build_assignment): Split conversion to
7251         final type to a separate statement if we are not assigning
7252         to a register.
7254 2008-02-29  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
7256         * fold-const.c (fold_convertible_p): Correct the logic to follow
7257         that in fold_convert().
7259 2008-02-29  Douglas Gregor  <doug.gregor@gmail.com>
7261         PR c++/35315
7262         * tree-inline.c (build_duplicate_type): When we make a
7263         duplicate type, make it unique in the canonical types system.
7265 2008-02-29  Tom Tromey  <tromey@redhat.com>
7267         * toplev.c (input_file_stack, input_file_stack_tick, fs_p,
7268         input_file_stack_history, input_file_stack_restored): Remove.
7269         (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise.
7270         * input.h (struct file_stack): Remove.
7271         (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise.
7272         (input_file_stack, input_file_stack_tick, INPUT_FILE_STACK_BITS):
7273         Likewise.
7274         * diagnostic.h (struct diagnostic_context) <last_module>: Change
7275         type.
7276         (diagnostic_last_module_changed): Add 'map' argument.
7277         (diagnostic_set_last_function): Likewise.
7278         * diagnostic.c (undiagnostic_report_current_module): Iterate using
7279         line map, not input_file_stack.
7280         * c-lex.c (fe_file_change): Don't use push_srcloc or pop_srcloc.
7282 2008-02-29  Paul Brook  <paul@codesourcery.com>
7284         * config/arm/arm.md (arm_addsi3): Add r/k/n alternative.
7286 2008-02-29  Paul Brook  <paul@codesourcery.com>
7288         * config/arm/ieee754-df.S (muldf3): Use RET macros.
7290 2008-02-29  Richard Guenther  <rguenther@suse.de>
7292         * tree-ssa-pre.c (get_sccvn_value): Create missing VNs via
7293         vn_lookup_or_add.
7294         * tree-ssa-sccnv.c (visit_reference_op_store): Use the rhs
7295         value for comparing for a store match.
7296         (simplify_unary_expression): Do nothing for SSA_NAMEs.
7297         (try_to_simplify): Do not do a full-blown reference lookup.
7299 2008-02-29  Kaz Kojima  <kkojima@gcc.gnu.org>
7301         * config/sh/sh.c (sh_scalar_mode_supported_p): New function.
7302         (TARGET_SCALAR_MODE_SUPPORTED_P): Define.
7304         * config/sh/sh.h (OVERRIDE_OPTIONS): Don't warn for profiling.
7306 2008-02-29  Sebastian Pop  <sebastian.pop@amd.com>
7308         * tree-loop-linear.c (try_interchange_loops): Compare memory access
7309         strides against cache sizes.
7311 2008-02-29  Kaz Kojima  <kkojima@gcc.gnu.org>
7313         * config/sh/sh.c (sh_secondary_reload): Handle loading a float
7314         constant to fpul.
7316 2008-02-28  Richard Sandiford  <rsandifo@nildram.co.uk>
7318         * simplify-rtx.c (simplify_unary_operation_1): Extend the handling
7319         of SUBREG_PROMOTED_VAR_P to cope with cases where the extended value
7320         is smaller than the original promoted value.
7321         (simplify_subreg): If OP is a SUBREG, try to preserve its
7322         SUBREG_PROMOTED_VAR_P information.
7324 2008-02-28  Steven Bosscher  <stevenb.gcc@gmail.com>
7326         * tree-ssa-sccvn (vn_ssa_aux_obstack): New obstack.
7327         (VN_INFO_GET): Allocate new objects on the obstack.
7328         (init_scc_vn): Initialize the obstack.  Use XDELETE instead of free
7329         for rpo_numbers_temp, for consistency.
7330         (free_scc_vn): Free the obstack.
7332 2008-02-28  Sebastian Pop  <sebastian.pop@amd.com>
7334         * doc/invoke.texi: Document -ftree-loop-distribution.
7335         * tree-loop-distribution.c: New.
7336         * tree-pass.h (pass_loop_distribution): New.
7337         * graphds.h (struct graph): Add htab_t indices.
7338         * timevar.def (TV_TREE_LOOP_DISTRIBUTION): New.
7339         * tree-vectorizer.c (rename_variables_in_loop): Extern.
7340         (slpeel_tree_duplicate_loop_to_edge_cfg): Init PENDING_STMT to NULL.
7341         * tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared.
7342         * tree-data-ref.c (debug_data_dependence_relations): New.
7343         (dump_data_dependence_relation): Also print data references.
7344         (free_data_ref): Extern.
7345         (same_access_functions): Moved...
7346         (find_vertex_for_stmt): Renamed rdg_vertex_for_stmt.
7347         (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
7348         debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg,
7349         struct rdg_vertex_info, rdg_vertex_for_stmt): New.
7350         (create_rdg_edge_for_ddr, create_rdg_vertices): Cleaned up.
7351         (stmts_from_loop): Skip LABEL_EXPR.
7352         (hash_stmt_vertex_info, eq_stmt_vertex_info, hash_stmt_vertex_del):
7353         New.
7354         (build_rdg): Initialize rdg->indices htab.
7355         (free_rdg, stores_from_loop, ref_base_address,
7356         rdg_defs_used_in_other_loops_p, have_similar_memory_accesses,
7357         have_similar_memory_accesses_1, ref_base_address_1,
7358         remove_similar_memory_refs): New.
7359         * tree-data-ref.h: Depend on tree-chrec.h.
7360         (debug_data_dependence_relations, free_data_ref): Declared.
7361         (same_access_functions): ... here.
7362         (ddr_is_anti_dependent, ddrs_have_anti_deps, ddr_dependence_level):
7363         New.
7364         (struct rdg_vertex): Add has_mem_write and has_mem_reads.
7365         (RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT,
7366         RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT): New.
7367         (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
7368         debug_rdg_component, dump_rdg, debug_rdg, dot_rdg,
7369         rdg_vertex_for_stmt): Declared.
7370         (struct rdg_edge): Add level.
7371         (RDGE_LEVEL): New.
7372         (free_rdg, stores_from_loop, remove_similar_memory_refs,
7373         rdg_defs_used_in_other_loops_p, have_similar_memory_accesses):
7374         Declared.
7375         (rdg_has_similar_memory_accesses): New.
7376         * tree-vect-analyze.c: Remove unused static decls.
7377         * lambda.h (dependence_level): New.
7378         * common.opt (ftree-loop-distribution): New.
7379         * tree-flow.h (mark_virtual_ops_in_bb, 
7380         slpeel_tree_duplicate_loop_to_edge_cfg,
7381         rename_variables_in_loop): Declared.
7382         * Makefile.in (TREE_DATA_REF_H): Depend on tree-chrec.h.
7383         (OBJS-common): Add tree-loop-distribution.o.
7384         (tree-loop-distribution.o): New rule.
7385         * tree-cfg.c (mark_virtual_ops_in_bb): New.
7386         (mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb.
7387         * passes.c (init_optimization_passes): Schedule pass_loop_distribution.
7389 2008-02-28  Joseph Myers  <joseph@codesourcery.com>
7391         PR target/33963
7392         * tree.c (handle_dll_attribute): Disallow TYPE_DECLs for types
7393         other than structures and unions.
7395 2008-02-28  Richard Guenther  <rguenther@suse.de>
7397         Revert:
7398         2008-02-26  Richard Guenther  <rguenther@suse.de>
7400         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
7401         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
7402         (lookup_decl_from_uid): Declare.
7403         (remove_decl_from_map): Likewise.
7404         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
7405         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
7406         (decl_for_uid_map): New global hashtable mapping DECL_UID
7407         to the decl tree.
7408         (init_ttree): Allocate it.
7409         (insert_decl_to_uid_decl_map): New helper function.
7410         (make_node_stat): Insert new decls into the map.
7411         (copy_node_stat): Likewise.
7412         (lookup_decl_from_uid): New function.
7413         (remove_decl_from_map): Likewise.
7414         (print_decl_for_uid_map_statistics): New helper.
7415         (dump_tree_statistics): Call it.
7417         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
7418         (referenced_var_iterator): Adjust.
7419         (FOR_EACH_REFERENCED_VAR): Adjust.
7420         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
7421         (num_referenced_vars): Adjust.
7422         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
7423         (first_referenced_var): Remove.
7424         (end_referenced_vars_p): Likewise.
7425         (next_referenced_var): Likewise.
7426         (referenced_var_iterator_set): New helper function.
7427         * tree-dfa.c (referenced_var_lookup): Adjust.
7428         (referenced_var_check_and_insert): Likewise.
7429         (remove_referenced_var): Likewise.
7430         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
7431         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
7432         (verify_call_clobbering): Likewise.
7433         (verify_memory_partitions): Likewise.
7434         (init_tree_ssa): Allocate bitmap instead of hashtable for
7435         referenced_vars.
7436         (delete_tree_ssa): Adjust.
7437         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
7438         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
7439         (compute_tag_properties): Likewise.
7440         (set_initial_properties): Likewise.
7441         (find_partition_for): Likewise.
7442         (update_reference_counts): Likewise.
7443         (dump_may_aliases_for): Likewise.
7444         * tree-ssa-operands.c (add_virtual_operand): Likewise.
7445         (add_call_clobber_ops): Likewise.
7446         (add_call_read_ops): Likewise.
7447         (get_asm_expr_operands): Likewise.
7448         * tree-into-ssa.c (dump_decl_set): Likewise.
7449         (update_ssa): Likewise.
7450         * tree-sra.c (scan_function): Likewise.
7451         (decide_instantiations): Likewise.
7452         (scalarize_parms): Likewise.
7453         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
7454         (dsa_named_for): Likewise.
7455         * tree-ssa-structalias.c (update_alias_info): Likewise.
7456         (merge_smts_into): Likewise.
7458 2008-02-27  David Daney  <ddaney@avtrex.com>
7460         PR target/34409
7461         * config/mips/iris.h (MIPS_DEBUGGING_INFO): Define.
7462         * config/mips/openbsd.h (MIPS_DEBUGGING_INFO): Same.
7463         * config/mips/sde.h (MIPS_DEBUGGING_INFO): Remove undef.
7464         * config/mips/vxworks.h (MIPS_DEBUGGING_INFO): Same.
7465         * config/mips/mips.h (MIPS_DEBUGGING_INFO): Remove define.
7467 2008-02-27  Uros Bizjak  <ubizjak@gmail.com>
7469         PR target/25477
7470         * config/darwin-ppc-ldouble-patch.def (BUILT_IN_NANL): Add.
7471         (BUILT_IN_NEXTTOWARD): Remove.
7472         (BUILT_IN_NEXTTOWARDF): Ditto.
7473         * config/darwin.c (darwin_patch_builtin): Use ACONCAT instead of
7474         alloca/strcpy/strcat.  Remove commented-out code.  Fix whitespace.
7476 2008-02-27  Tom Tromey  <tromey@redhat.com>
7478         * tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check
7479         DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body.
7481 2008-02-27  Jan Beulich  <jbeulich@novell.com>
7483         * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to
7484         update the respective field on newdecl.
7486 2008-02-27  Revital Eres  <eres@il.ibm.com>
7488         PR rtl-optimization/34999
7489         * bb-reorder.c (add_labels_and_missing_jumps): Do not handle
7490         crossing edges that ends with a call insn.
7491         (fix_up_fall_thru_edges): Handle crossing edges that ends with a
7492         call insn and clear the EDGE_CROSSING flag of the crossing edge
7493         when fixing fallthru edges.
7495 2008-02-27  Richard Guenther  <rguenther@suse.de>
7497         PR middle-end/35390
7498         * fold-const.c (fold_unary): Return the correct argument,
7499         converted to the result type.
7501 2008-02-27  Richard Guenther  <rguenther@suse.de>
7503         PR middle-end/34971
7504         * expr.c (expand_expr_real_1): Assert on rotates that operate
7505         on partial modes.
7506         * fold-const.c (fold_binary): Use the types precision, not the
7507         bitsize of the mode if folding rotate expressions.  Build rotates
7508         only for full modes.
7510 2008-02-27  Jakub Jelinek  <jakub@redhat.com>
7512         * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA
7513         and CPP_PRAGMA_EOL.
7514         * c-pragma.c (pragma_ns_name): New typedef.
7515         (registered_pp_pragmas): New variable.
7516         (c_pp_lookup_pragma): New function.
7517         (c_register_pragma_1): If flag_preprocess_only, do nothing
7518         for non-expanded pragmas, for expanded ones push pragma's
7519         namespace and name into registered_pp_pragmas vector.
7520         (c_invoke_pragma_handler): Register OpenMP pragmas even when
7521         flag_preprocess_only, don't register GCC pch_preprocess
7522         pragma if flag_preprocess_only.
7523         * c-opts.c (c_common_init): Call init_pragma even if
7524         flag_preprocess_only.
7525         * c-pragma.c (c_pp_lookup_pragma): New prototype.
7526         * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Don't call
7527         cpp_register_pragma if flag_preprocess_only.
7529 2008-02-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7531         PR c/28800
7532         * c-parser.c (c_parser_translation_unit): Warn for empty
7533         translation unit, not empty source file.
7535 2008-02-26  Paul Brook  <paul@codesourcery.com>
7537         * config/arm/arm.c (thumb_set_frame_pointer): Ensure SP is first
7538         operand for Thumb-2.
7539         * config/arm/arm.h (reg_class): Add CORE_REGS.
7540         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Ditto.
7541         (BASE_REG_CLASS): Use CORE_REGS.
7542         (PREFERRED_RELOAD_CLASS): Add STACK_REG.
7543         (REGNO_MODE_OK_FOR_REG_BASE_P): Use REGNO_MODE_OK_FOR_BASE_P.
7544         (REGNO_OK_FOR_INDEX_P): Exclude SP.
7545         (ARM_REG_OK_FOR_INDEX_P): Always define.  Use
7546         ARM_REGNO_OK_FOR_INDEX_P.
7547         (ARM_PRINT_OPERAND_ADDRESS): Swap operands for [reg, sp].
7548         * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn,
7549         arm_movsi_insn, thumb1_movsi_insni, stack_tie): Add "k" alternatives.
7550         (ldm/stm peepholes): Ditto.
7551         * config/arm/thumb2.md (thumb2_movdi): Add "k" alternatives.
7552         * config/arm/vfp.md (arm_movsi_vfp, thumb2_movsi_vfp): Ditto.
7553         * config/arm/iwmmxt.md (iwmmxt_movsi_insn): Ditto.
7554         * config/arm/constraints.md: Enable "k" constraint on ARM.
7556 2008-02-27  Ben Elliston  <bje@au.ibm.com>
7558         * config/rs6000/rs6000.c: Annotate cache line size field in all
7559         instances of struct processor_costs.
7561 2008-02-26  David Edelsohn  <edelsohn@gnu.org>
7563         * dbgcnt.def (cfg_cleanup, cprop1, cprop2, dce_fast, dce_ud, dse1,
7564         dse2, gcse, if_conversion, if_after_combine, if_after_reload,
7565         jump_bypass): New counters.
7566         * cfgcleanup.c (cleanup_cfg): Add dbg_cnt.
7567         * dce.c (gate_ud_dce): Same.
7568         (gate_fast_dce): Same.
7569         * dse.c (gate_dse1): New function.
7570         (gate_dse2): New function.
7571         (gate_dse): Merge results of new gate functions.
7572         * gcse.c (gcse_main): Bracket cprop1 and cprop2 with dbg_cnt.
7573         (gate_handle_jump_bypass): Add dbg_cnt.
7574         (gate_handle_gcse): Add dbg_cnt.
7575         * ifcvt.c (gate_handle_if_conversion): Same.
7576         (gate_handle_if_after_combine): Same.
7577         (gate_handle_if_after_reload): Same.
7578         * Makefile.in: Add DBGCNT_H to cfgcleanup.o and ifcvt.o.
7580 2008-02-26  Edmar Wienskoski  <edmar@freescale.com>
7582         * config/rs6000/rs6000.c (processor_costs): Update e300 cache
7583         line sizes.
7584         * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus.
7586 2008-02-26  Jason Merrill  <jason@redhat.com>
7588         PR c++/35315
7589         * attribs.c (decl_attributes): Leave ATTR_FLAG_TYPE_IN_PLACE 
7590         alone if it's the naming decl for the type's main variant.
7592 2008-02-26  Tom Tromey  <tromey@redhat.com>
7594         * system.h (USE_MAPPED_LOCATION): Poison.
7595         * Makefile.in (GTFILES): Put CPP_ID_DATA_H first.
7596         * tree-cfg.c (make_cond_expr_edges): Remove old location code.
7597         (make_goto_expr_edges): Likewise.
7598         (remove_bb): Likewise.
7599         (execute_warn_function_return): Likewise.
7600         * basic-block.h (struct edge_def) <goto_locus>: Change type to
7601         location_t.
7602         * c-common.c (fname_decl): Remove old location code.
7603         * tree-vect-transform.c (vect_finish_stmt_generation): Remove old
7604         location code.
7605         * rtl.h (ASM_OPERANDS_SOURCE_LOCATION): Remove old-location
7606         variant.
7607         (ASM_INPUT_SOURCE_LOCATION): Likewise.
7608         (gen_rtx_ASM_INPUT): Likewise.
7609         (gen_rtx_ASM_INPUT_loc): Likewise.
7610         (get_rtx_asm_OPERANDS): Remove.
7611         * cfglayout.c (insn_locators_alloc): Remove old location code.
7612         (set_curr_insn_source_location): Likewise.
7613         (curr_insn_locator): Likewise.
7614         * print-tree.c (print_node): Remove old location code.
7615         * tree-mudflap.c (mf_varname_tree): Remove old location code.
7616         (mf_file_function_line_tree): Remove test of USE_MAPPED_LOCATION.
7617         * cfgexpand.c (expand_gimple_cond_expr): Don't use
7618         location_from_locus.
7619         (construct_exit_block): Remove old location code.
7620         * emit-rtl.c (force_next_line_note): Remove old location code.
7621         * profile.c (branch_prob): Remove old location code.
7622         * tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE,
7623         LOC_LINE): Remove old-location variants.
7624         * langhooks.c (lhd_print_error_function): Remove old location
7625         code.
7626         * configure, config.in: Rebuilt.
7627         * configure.ac (--enable-mapped-location): Remove.
7628         * c-decl.c (c_init_decl_processing): Remove old location code.
7629         (finish_function): Likewise.
7630         * recog.c (decode_asm_operands): Remove old location code.
7631         * c-pch.c (c_common_read_pch): Remove old location code.
7632         * rtl.def (ASM_INPUT, ASM_OPERANDS): Remove old location
7633         variants.
7634         * gimple-low.c (lower_function_body): Remove old location code.
7635         * toplev.c (unknown_location): Remove.
7636         (push_srcloc): Remove old-location variant.
7637         (process_options): Remove old location code.
7638         (lang_dependent_init): Likewise.
7639         * input.h (UNKNOWN_LOCATION): Move definition.
7640         (location_t): Undeprecate.
7641         (source_locus): Remove.
7642         (location_from_locus): Remove.
7643         (struct location_s): Remove.
7644         Remove all old-location code.
7645         (input_line, input_filename): Remove.
7646         * final.c (final_scan_insn): Remove old location code.
7647         * diagnostic.c (diagnostic_build_prefix): Remove
7648         USE_MAPPED_LOCATION test.
7649         * tree.h (gimple_stmt) <locus>: Now a location_t.
7650         (tree_exp) <locus>: Likewise.
7651         (DECL_IS_BUILTIN): Remove old-location variant.
7652         (annotate_with_file_line, annotate_with_locus): Likewise.
7653         (expr_locus, set_expr_locus): Update.
7654         * tree.c (build1_stat): Remove old location code.
7655         (last_annotated_node): Remove.
7656         (annotate_with_file_line): Remove old-location variant.
7657         (annotate_with_locus): Likewise.
7658         (expr_location): Remove old location code.
7659         (set_expr_location): Likewise.
7660         (expr_has_location): Likewise.
7661         (expr_locus): Likewise.
7662         (set_expr_locus): Likewise.
7663         (expr_filename): Don't use location_from_locus.
7664         (expr_lineno): Likewise.
7665         * rtl-error.c (location_for_asm): Remove old location code.
7666         * c-lex.c (cb_line_change): Remove old location code.
7667         (fe_file_change): Likewise.
7668         (cb_def_pragma): Likewise.
7669         (c_lex_with_flags): Likewise.
7670         * gengtype.c (do_typedef): Don't special-case location types.
7671         (define_location_structures): Remove.
7672         (main): Don't call define_location_structures.
7673         * tree-pretty-print.c (dump_implicit_edges): Remove old location
7674         code.
7676 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
7678         PR 26264
7679         * builtins.def (BUILT_IN_STDARG_START): Remove.
7680         * builtins.c (expand_builtin): Remove BUILT_IN_STDARG_START.
7681         * tree-stdarg.c (execute_optimize_stdarg): Likewise.
7682         * tree-inline.c (inline_forbidden_p_1): Likewise.
7683         
7684 2008-02-26  Richard Guenther  <rguenther@suse.de>
7686         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
7687         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
7688         (lookup_decl_from_uid): Declare.
7689         (remove_decl_from_map): Likewise.
7690         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
7691         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
7692         (decl_for_uid_map): New global hashtable mapping DECL_UID
7693         to the decl tree.
7694         (init_ttree): Allocate it.
7695         (insert_decl_to_uid_decl_map): New helper function.
7696         (make_node_stat): Insert new decls into the map.
7697         (copy_node_stat): Likewise.
7698         (lookup_decl_from_uid): New function.
7699         (remove_decl_from_map): Likewise.
7700         (print_decl_for_uid_map_statistics): New helper.
7701         (dump_tree_statistics): Call it.
7703         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
7704         (referenced_var_iterator): Adjust.
7705         (FOR_EACH_REFERENCED_VAR): Adjust.
7706         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
7707         (num_referenced_vars): Adjust.
7708         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
7709         (first_referenced_var): Remove.
7710         (end_referenced_vars_p): Likewise.
7711         (next_referenced_var): Likewise.
7712         (referenced_var_iterator_set): New helper function.
7713         * tree-dfa.c (referenced_var_lookup): Adjust.
7714         (referenced_var_check_and_insert): Likewise.
7715         (remove_referenced_var): Likewise.
7716         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
7717         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
7718         (verify_call_clobbering): Likewise.
7719         (verify_memory_partitions): Likewise.
7720         (init_tree_ssa): Allocate bitmap instead of hashtable for
7721         referenced_vars.
7722         (delete_tree_ssa): Adjust.
7723         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
7724         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
7725         (compute_tag_properties): Likewise.
7726         (set_initial_properties): Likewise.
7727         (find_partition_for): Likewise.
7728         (update_reference_counts): Likewise.
7729         (dump_may_aliases_for): Likewise.
7730         * tree-ssa-operands.c (add_virtual_operand): Likewise.
7731         (add_call_clobber_ops): Likewise.
7732         (add_call_read_ops): Likewise.
7733         (get_asm_expr_operands): Likewise.
7734         * tree-into-ssa.c (dump_decl_set): Likewise.
7735         (update_ssa): Likewise.
7736         * tree-sra.c (scan_function): Likewise.
7737         (decide_instantiations): Likewise.
7738         (scalarize_parms): Likewise.
7739         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
7740         (dsa_named_for): Likewise.
7741         * tree-ssa-structalias.c (update_alias_info): Likewise.
7742         (merge_smts_into): Likewise.
7744 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
7746         PR 34351
7747         * doc/invoke.texi (-Wall): Add -Wvolatile-register-var.
7748         * c-opts.c (c_common_handle_option): Wall enables
7749         Wvolatile-register-var.
7750         * common.opt: Move Wvolatile-register-var to...
7751         * c.opt: ...here.
7752         
7753 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
7755         * common.opt (Wlarger-than=): New.
7756         * doc/invoke.texi (Warning Options): Replace -Wlarger-than- with
7757         -Wlarger-than=.
7758         * opts.c (common_handle_option): Handle -Wlarger-than=.
7759         * optc-gen.awk: Likewise.
7760         * opth-gen.awk: Likewise.
7761         * stor-layout.c (layout_decl): Use -Wlarger-than= for warning.
7762         * tree-optimize.c (tree_rest_of_compilation): Likewise.
7763         
7764 2008-02-26  Manuel Lopez-Ibanez <manu@gcc.gnu.org>
7766         * c-common.c (match_case_to_enum_1): Add appropriate
7767         OPT_W* parameter to warning.
7768         (c_do_switch_warnings): Likewise.
7769         * c-typeck.c (warning_init): Add one more parameter following
7770         'warning' function.
7771         (push_init_level): Update call to warning_init.
7772         (pop_init_level): Likewise.
7773         (add_pending_init): Likewise.
7774         (output_init_element: Likewise.
7776 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
7778         PR 28322
7779         * toplev.c (toplev_main): If there are warnings or error, print
7780         errors for ignored options.
7781         * opts.c (ignored_options): New static variable.
7782         (postpone_unknown_option_error): New.
7783         (print_ignored_options): New.
7784         (handle_option): Postpone errors for unknown -Wno-* options.
7785         * opts.h (print_ignored_options): Declare.
7786         
7787 2008-02-25  Richard Sandiford  <rsandifo@nildram.co.uk>
7789         * config/mips/mips.md (loadgp_blockage, blockage): Change type
7790         to "ghost".
7792 2008-02-25  Richard Guenther  <rguenther@suse.de>
7794         Revert:
7795         2008-02-25  Richard Guenther  <rguenther@suse.de>
7797         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
7798         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
7799         (lookup_decl_from_uid): Declare.
7800         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
7801         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
7802         (decl_for_uid_map): New global hashtable mapping DECL_UID
7803         to the decl tree.
7804         (init_ttree): Allocate it.
7805         (insert_decl_to_uid_decl_map): New helper function.
7806         (make_node_stat): Insert new decls into the map.
7807         (copy_node_stat): Likewise.
7808         (lookup_decl_from_uid): New function.
7809         (print_decl_for_uid_map_statistics): New helper.
7810         (dump_tree_statistics): Call it.
7812         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
7813         (referenced_var_iterator): Adjust.
7814         (FOR_EACH_REFERENCED_VAR): Adjust.
7815         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
7816         (num_referenced_vars): Adjust.
7817         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
7818         (first_referenced_var): Remove.
7819         (end_referenced_vars_p): Likewise.
7820         (next_referenced_var): Likewise.
7821         (referenced_var_iterator_set): New helper function.
7822         * tree-dfa.c (referenced_var_lookup): Adjust.
7823         (referenced_var_check_and_insert): Likewise.
7824         (remove_referenced_var): Likewise.
7825         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
7826         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
7827         (verify_call_clobbering): Likewise.
7828         (verify_memory_partitions): Likewise.
7829         (init_tree_ssa): Allocate bitmap instead of hashtable for
7830         referenced_vars.
7831         (delete_tree_ssa): Adjust.
7832         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
7833         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
7834         (compute_tag_properties): Likewise.
7835         (set_initial_properties): Likewise.
7836         (find_partition_for): Likewise.
7837         (update_reference_counts): Likewise.
7838         (dump_may_aliases_for): Likewise.
7839         * tree-ssa-operands.c (add_virtual_operand): Likewise.
7840         (add_call_clobber_ops): Likewise.
7841         (add_call_read_ops): Likewise.
7842         (get_asm_expr_operands): Likewise.
7843         * tree-into-ssa.c (dump_decl_set): Likewise.
7844         (update_ssa): Likewise.
7845         * tree-sra.c (scan_function): Likewise.
7846         (decide_instantiations): Likewise.
7847         (scalarize_parms): Likewise.
7848         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
7849         (dsa_named_for): Likewise.
7850         * tree-ssa-structalias.c (update_alias_info): Likewise.
7851         (merge_smts_into): Likewise.
7853 2008-02-25  Janne Blomqvist  <jb@gcc.gnu.org>
7855         PR fortran/29549
7856         * doc/invoke.texi (-fcx-limited-range): Document new option.
7857         * toplev.c (process_options): Handle -fcx-fortran-rules.
7858         * common.opt: Add documentation for -fcx-fortran-rules.
7860 2008-02-25  Janne Blomqvist  <jb@gcc.gnu.org>
7862         PR c/35162
7863         * doc/invoke.texi (-fcx-limited-range): Correct to be in line with
7864         actual behaviour and C99.
7865         
7866 2008-02-26  Ben Elliston  <bje@au.ibm.com>
7868         * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define.
7869         (ASM_CPU_POWER6_SPEC): Likewise.
7870         (ASM_CPU_SPEC): Pass %(asm_cpu_power5) for -mcpu=power5.
7871         Likewise, pass %(asm_cpu_power6) for -mcpu=power6.
7872         (EXTRA_SPECS): Add asm_cpu_power5, asm_cpu_power6 spec strings.
7874 2008-02-25  Richard Guenther  <rguenther@suse.de>
7876         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
7877         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
7878         (lookup_decl_from_uid): Declare.
7879         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
7880         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
7881         (decl_for_uid_map): New global hashtable mapping DECL_UID
7882         to the decl tree.
7883         (init_ttree): Allocate it.
7884         (insert_decl_to_uid_decl_map): New helper function.
7885         (make_node_stat): Insert new decls into the map.
7886         (copy_node_stat): Likewise.
7887         (lookup_decl_from_uid): New function.
7888         (print_decl_for_uid_map_statistics): New helper.
7889         (dump_tree_statistics): Call it.
7891         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
7892         (referenced_var_iterator): Adjust.
7893         (FOR_EACH_REFERENCED_VAR): Adjust.
7894         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
7895         (num_referenced_vars): Adjust.
7896         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
7897         (first_referenced_var): Remove.
7898         (end_referenced_vars_p): Likewise.
7899         (next_referenced_var): Likewise.
7900         (referenced_var_iterator_set): New helper function.
7901         * tree-dfa.c (referenced_var_lookup): Adjust.
7902         (referenced_var_check_and_insert): Likewise.
7903         (remove_referenced_var): Likewise.
7904         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
7905         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
7906         (verify_call_clobbering): Likewise.
7907         (verify_memory_partitions): Likewise.
7908         (init_tree_ssa): Allocate bitmap instead of hashtable for
7909         referenced_vars.
7910         (delete_tree_ssa): Adjust.
7911         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
7912         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
7913         (compute_tag_properties): Likewise.
7914         (set_initial_properties): Likewise.
7915         (find_partition_for): Likewise.
7916         (update_reference_counts): Likewise.
7917         (dump_may_aliases_for): Likewise.
7918         * tree-ssa-operands.c (add_virtual_operand): Likewise.
7919         (add_call_clobber_ops): Likewise.
7920         (add_call_read_ops): Likewise.
7921         (get_asm_expr_operands): Likewise.
7922         * tree-into-ssa.c (dump_decl_set): Likewise.
7923         (update_ssa): Likewise.
7924         * tree-sra.c (scan_function): Likewise.
7925         (decide_instantiations): Likewise.
7926         (scalarize_parms): Likewise.
7927         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
7928         (dsa_named_for): Likewise.
7929         * tree-ssa-structalias.c (update_alias_info): Likewise.
7930         (merge_smts_into): Likewise.
7932 2008-02-25  Andreas Krebbel  <krebbel1@de.ibm.com>
7934         PR target/35258
7935         * cse.c (cse_insn): Avoid creation of overlapping MEMs.
7936         * alias.c (nonoverlapping_memrefs_p): Export for use in other modules.
7937         * alias.h (nonoverlapping_memrefs_p): Likewise.
7939 2008-02-25  Jan Beulich  <jbeulich@novell.com>
7941         * Makefile.in: Also prefix uses of crt0.o and mcrt0.o with $(T).
7942         * config/i386/netware-libgcc.exp: Add __bswap?i2,
7943         __emultls_get_address, __emultls_register_common,
7944         __floatundi?f, and _Unwind_GetIPInfo.
7945         * config/i386/netware.c (gen_stdcall_or_fastcall_decoration):
7946         Sync with config/i386/winnt.c:gen_stdcall_or_fastcall_suffix().
7947         (gen_regparm_prefix): Likewise.
7948         (i386_nlm_encode_section_info): Sync with
7949         config/i386/winnt.c:i386_pe_encode_section_info().
7950         (i386_nlm_maybe_mangle_decl_assembler_name): New.
7951         i386_nlm_mangle_decl_assembler_name): New.
7952         (netware_override_options): New.
7953         * config/i386/netware.h (netware_override_options): Declare.
7954         (OVERRIDE_OPTIONS): Re-define to netware_override_options.
7955         (i386_nlm_mangle_decl_assembler_name): Declare.
7956         (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define.
7958 2008-02-25  Ben Elliston  <bje@au.ibm.com>
7960         PR other/32948
7961         * c-decl.c (grokdeclarator): Remove unused local variables
7962         `typedef_type' and `type_as_written'.
7963         * bb-reorder.c
7964         (find_rarely_executed_basic_blocks_and_crossing_edges): Remove
7965         unused local variable `has_hot_blocks'.
7966         (fix_crossing_conditional_branches): Remove unused local variable
7967         `prev_bb'.
7968         
7969 2008-02-25  Uros Bizjak  <ubizjak@gmail.com>
7971         PR middle-end/19984
7972         * builtins.def (BUILT_IN_NAN): Define as c99 builtin
7973         using DEF_C99_BUILTIN.
7974         (BUILT_IN_NANF): Ditto.
7975         (BUILT_IN_NANL): Ditto.
7977 2008-02-25  Ayal Zaks  <zaks@il.ibm.com>
7978             Revital Eres  <eres@il.ibm.com>
7980         * modulo-sched.c (calculate_must_precede_follow): Address TODO
7981         regarding the order of two dependent insns in the same row.
7983 2008-02-25  Eric Botcazou  <ebotcazou@adacore.com>
7985         * stor-layout.c (layout_decl): Do not bump the alignment of a
7986         bit-field to more than byte alignment if it is packed.
7988 2008-02-24  David Edelsohn  <edelsohn@gnu.org>
7990         * config/rs6000/rs6000.c (processor_costs): Add cache costs for
7991         e300c2 and e300c3.
7993 2008-02-24  Diego Novillo  <dnovillo@google.com>
7995         http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
7997         PR 33738
7998         * tree-vrp.c (vrp_evaluate_conditional): With
7999         -Wtype-limits, emit a warning when comparing against a
8000         constant outside the natural range of OP0's type.
8001         * c.opt (Wtype-limits): Move ...
8002         * common.opt (Wtype-limits): ... here.
8004 2008-02-24  Edmar Wienskoski  <edmar@freescale.com>
8006         * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.
8007         * config/rs6000/e300c2c3.md: New file.
8008         * config/rs6000/rs6000.c (processor_costs): Add new costs for
8009         e300c2 and e300c3.
8010         (rs6000_override_options): Add e300c2 and e300c3 cases to
8011         processor_target_table. Do not allow usage of Altivec or Spe
8012         with e300 cores. Initialize rs6000_cost for e300c2 and e300c3.
8013         (rs6000_issue_rate): Set issue rate for e300c2 and e300c3.
8014         * config/rs6000/rs6000.h (processor_type): Add
8015         PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3.
8016         (ASM_CPU_SPEC): Add e300c2 and e300c3.
8017         * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2
8018         and ppce300c3. Include e300c2c3.md.
8020 2008-02-23  David Edelsohn  <edelsohn@gnu.org>
8022         * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT
8023         instead of TARGET_STRICT_ALIGN.
8025 2008-02-23  Joseph Myers  <joseph@codesourcery.com>
8027         * explow.c (memory_address): Assert that the generated address is
8028         valid.
8030 2008-02-23  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
8032         PR target/25477
8033         * config/darwin-protos.h: Add darwin_patch_builtins prototype.
8034         * config/darwin-ppc-ldouble-patch.def: New file.
8035         * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro.
8036         * config/rs6000/rs6000.c (rs6000_init_builtins): Call
8037         SUBTARGET_INIT_BUILTINS if defined.
8038         * config/darwin.c (darwin_patch_builtin, darwin_patch_builtins):
8039         New functions.
8041 2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
8043         PR rtl-opt/33512
8044         * simplify-rtx.c (simplify_binary_operation_1): Add simplification
8045         of (and X (ior (not X) Y) and (and (ior (not X) Y) X).
8047 2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
8049         PR pch/35027
8050         * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH
8051         file" warning condtional on -Winvalid-PCH.
8053 2008-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
8055         * expmed.c (extract_bit_field): Always use adjust_address for MEM.
8057 2008-02-23  Uros Bizjak  <ubizjak@gmail.com>
8059         PR target/22076
8060         PR target/34256 
8061         * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to
8062         prevent reload from using MMX registers.
8063         (*mov<mode>_internal): Ditto.
8064         (*movv2sf_internal_rex64): Ditto.
8065         (*movv2sf_internal): Ditto.
8067 2008-02-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8069         PR documentation/31569
8070         * doc/install.texi2html: Use makeinfo --no-number-sections.
8072 2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
8074         * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to
8075         ensure that we can address an entire entity > 8 bytes.  Don't
8076         generate reg+reg addressing for such data.
8078 2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
8080         * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
8081         strings when optimizing for size, unless the target cares about
8082         alignment.
8084 2008-02-22  Tom Tromey  <tromey@redhat.com>
8086         * regclass.c (current_pass): Remove declaration.
8088 2008-02-22  Anatoly Sokolov <aesok@post.ru>
8090         * config/avr/libgcc.S (__RAMPZ__): Define.
8091         (__do_copy_data): Add for devices with 128KB code memory.
8093 2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
8095         * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
8096         Use spe_abi.
8097         * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise.
8099 2008-02-22  Hans-Peter Nilsson  <hp@axis.com>
8101         * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for
8102         GENNONACR_REGS.
8104 2008-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8106         PR c/19999
8107         * c-typeck.c (build_binary_op): Warn about floating point
8108         comparisons if FLOAT_TYPE_P, not only for REAL_TYPE.
8110 2008-02-21  Janis Johnson  <janis187@us.ibm.com>
8112         PR target/34526
8113         * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment.
8114         (rs6000_explicit_options): Split abi into spe_abi and altivec_abi,
8115         add vrsave.
8116         (rs6000_override_options): Set altivec_abi as default, not override,
8117         for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for
8118         TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI
8119         is used; use new member spe_abi.
8120         (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use
8121         spe_abi and altivec_abi.
8123 2008-02-22  Tomas Bily  <tbily@suse.cz>
8125         * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo.
8127 2008-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8129         PR bootstrap/35273
8130         * config.build (build_file_translate): Set to `CMD //c' only if
8131         it works.
8132         * Makefile.in (build_file_translate): Improve comment.
8134 2008-02-21  Jan Hubicka  <jh@suse.cz>
8136         * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,
8137         PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL,
8138         PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update.
8140 2008-02-21  Michael Matz  <matz@suse.de>
8142         PR target/35264
8143         * config/i386/i386.c (ix86_expand_branch): Add missing breaks.
8145 2008-02-21  Uros Bizjak  <ubizjak@gmail.com>
8147         * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
8148         movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P
8149         as insn constraint.
8150         * config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn
8151         from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and
8152         SSE_VEC_FLOAT_MODE_P as insn constraint.
8153         (<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns.
8154         (sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and
8155         sse4a_movntdf using MODEF mode iterator.
8156         (sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and
8157         sse4a_vmmovntv4sf using SSEMODEF2P mode iterator.
8158         (sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns.
8159         (sse4_1_blendvp<ssemodesuffixf2c>): Ditto.
8160         (sse4_1_dpp<ssemodesuffixf2c>): Ditto.
8161         (sse4_1_roundp<ssemodesuffixf2c>): Ditto.
8162         (sse4_1_rounds<ssemodesuffixf2c>): Ditto.
8164 2008-02-21  Richard Guenther  <rguenther@suse.de>
8166         * tree.def (PAREN_EXPR): New tree code.
8167         * fold-const.c (fold_unary): Remove PAREN_EXPR around constants
8168         and PAREN_EXPR.
8169         * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR.
8170         * expr.c (expand_expr_real_1): Likewise.
8171         * tree-inline.c (estimate_num_insns_1): Likewise.
8172         * tree-complex.c (expand_complex_move): Likewise.
8173         * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x)
8174         as plain x.
8176 2008-02-20  Kaz Kojima  <kkojima@gcc.gnu.org>
8178         PR target/35225
8179         * config/sh/sh.c (find_barrier): Don't go past 'from' argument.
8181 2008-02-20  Kaz Kojima  <kkojima@gcc.gnu.org>
8183         PR target/35190
8184         * config/sh/sh.md (jump_compact): Disable for crossing jumps.
8186         * config/sh/sh.c (find_barrier): Don't go past
8187         NOTE_INSN_SWITCH_TEXT_SECTIONS note.
8189 2008-02-20  DJ Delorie  <dj@redhat.com>
8191         * config/h8300/h8300.md (insv): Force source operand to be a register.
8193         * config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn
8194         as a jump, not as a plain insn.
8195         
8196 2008-02-20  Seongbae Park <seongbae.park@gmail.com>
8198         * doc/invoke.texi (Warning Options): Add new option
8199         -Wframe-larger-than=.
8200         (-Wframe-larger-than): Document.
8202         * flags.h (warn_frame_larger_than, frame_larger_than_size):
8203         Add declarations for new option variables.
8205         * final.c (final_start_function): Check the frame size
8206         before emission and issue a Wframe-larger-than warning.
8208         * opts.c (warn_frame_larger_than, frame_larger_than_size):
8209         Add definitions for new option variables.
8210         (common_handle_option): Handle new option OPT_Wframe_larger_than_.
8212         * common.opt (Wframe-larger-than=): New option.
8214 2008-02-20  Uros Bizjak  <ubizjak@gmail.com>
8216         * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template.
8217         (<sse>_div<mode>3): Ditto.
8218         (<sse>_vmdiv<mode>3): Ditto.
8219         (<sse>_vmsqrt<mode>2): Ditto.
8220         (*smax<mode>3): Ditto.
8221         (sse5_frcz<mode>2): Ditto.
8222         (sse5_vmfrcz<mode>2): Ditto.  Use TARGET_SSE5 instead of TARGET_ROUND
8223         as insn constraint.
8225 2008-02-20  Richard Guenther  <rguenther@suse.de>
8227         PR middle-end/35265
8228         * builtins.c (validate_arg): If we want an INTEGER_TYPE,
8229         be happy with INTEGRAL_TYPE_P.
8231 2008-02-20  Richard Guenther  <rguenther@suse.de>
8233         * fold-const.c (split_tree): Associate floatig-point expressions
8234         if flag_associative_math is set.
8236 2008-02-20  Richard Guenther  <rguenther@suse.de>
8238         * tree.h (fold_real_zero_addition_p): Declare.
8239         * fold-const.c (fold_real_zero_addition_p): Export.
8240         * tree-ssa-reassoc.c (eliminate_using_constants): Also handle
8241         floating-point operations with zero and one.
8243 2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
8245         * doc/install.texi: Correct references to CFLAGS, replacing them
8246         with BOOT_CFLAGS.  Document flags used during bootstrap for
8247         target libraries.
8248                                 
8249 2008-02-20  Uros Bizjak  <ubizjak@gmail.com>
8251         * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
8252         * config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf
8253         and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as
8254         insn constraint.
8255         (smin<mode>3): Ditto from similar patterns.
8256         (smax<mode>3): Ditto.
8257         (*ieee_smin<mode>3): Ditto.
8258         (*ieee_smax<mode>3): Ditto.
8259         * config/i386/sse.md (sse): New mode attribute.
8260         (mov<mode>): Macroize expander from movv4sf and movv2df using
8261         SSEMODEF2P mode iterator.
8262         (<sse>_movnt<mode>): Ditto from similar patterns. Use
8263         SSE_VEC_FLOAT_MODE_P as insn constraint.
8264         (storent<mode>): Ditto.
8265         (storent<mode>): Macroize expander from storentsf and storentdf using
8266         MODEF mode iterator.
8267         (neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P
8268         mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint.
8269         (abs<mode>2): Ditto from similar patterns.
8270         (add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto.
8271         (sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto.
8272         (<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto.
8273         (<sse>_vmsqrt<mode>2): Ditto.
8274         (smin<mode>3, *smin<mode>3_finite, *smin<mode>3)
8275         (<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto.
8276         (smax<mode>3, *smax<mode>3_finite, *smax<mode>3)
8277         (<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto.
8278         (<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3,
8279         sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4
8280         mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as
8281         insn constraint.
8282         (<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode
8283         iterator and SSE_FLOAT_MODE_P as insn constraint.
8284         (<sse>_ucomi): Ditto from similar patterns.
8285         (<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and
8286         sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and
8287         SSE_VEC_FLOAT_MODE_P as insn constraint.
8288         (vcond<mode>): Ditto from similar patterns.
8289         (and<mode>3, *and<mode>3): Ditto.
8290         (<sse>_nand<mode>3): Ditto.
8291         (ior<mode>3, *ior<mode>3): Ditto.
8292         (xor<mode>3, *xor<mode>3): Ditto.
8293         (*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode
8294         iterator and SSE_FLOAT_MODE_P as insn constraint.
8295         (*nand<mode>3): Ditto from similar patterns.
8296         (*ior<mode>3): Ditto.
8297         (*xor<mode>3): Ditto.
8299 2008-02-20  Ira Rosen  <irar@il.ibm.com>
8301         * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
8302         vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi,
8303         vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement.
8305 2008-02-19  Jan Hubicka  <jh@suse.cz>
8307         * predict.c (tree_bb_level_predictions): Remove variable next
8308         mistakely introduced by previous commit.
8310 2008-02-19  Jan Hubicka  <jh@suse.cz>
8312         * predict.c (predict_paths_leading_to): Rewrite.
8313         (predict_paths_for_bb): New.
8314         (tree_bb_level_predictions): Update call of predict_paths_leading_to.
8316 2008-02-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8318         PR bootstrap/35218
8319         * Makefile.in (build_file_translate): New.
8320         (gcc-vers.texi): Use it for translating $(abs_srcdir).
8321         * config.build (build_file_translate): Set to `CMD //c' on MinGW.
8322         * configure.ac (build_file_translate): Substitute it.
8323         * configure: Regenerate.
8325 2008-02-19  Jan Hubicka  <jh@suse.cz>
8327         PR rtl-optimization/34408
8328         * see.c (see_def_extension_not_merged): Copy subreg so we don't have
8329         invalid sharing.
8331 2008-02-19  Jan Hubicka  <jh@suse.cz>
8333         PR middle-end/28779
8334         * tree-inline.c (estimate_num_insns_1): Fix counting of cost of
8335         call_expr.
8337 2008-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8339         PR Ada/35186
8340         * config/i386/i386-modes.def: Revert the last DI alignment
8341         change until Ada people can look into it.
8343 2008-02-19  Nick Clifton  <nickc@redhat.com>
8345         * opts.c (print_specific_help): Fix typo in --help text.
8347 2008-02-19  Jakub Jelinek  <jakub@redhat.com>
8349         PR target/35239
8350         * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special
8351         32-bit inline asm without asm alternatives for host GCC < 3.0.
8353 2008-02-19  Richard Guenther  <rguenther@suse.de>
8355         PR tree-optimization/34989
8356         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure.
8357         Allow propagation to INDIRECT_REF if we can simplify only.
8359 2008-02-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
8361         * c-common.c (warn_for_collisions_1): Use appropriate option when
8362         warning.
8364 2008-02-19  Nick Clifton  <nickc@redhat.com>
8366         PR other/31349
8367         * opts.c (undocumented_msg): Leave blank unless checking is enabled.
8368         (handle_options): Fix indentation.
8369         (print_filtered_help): If no language-specific options were
8370         displayed tell the user how to list all the options supported by
8371         the language's front-end.
8372         (print_specific_help): Fix indentation and remove duplicate line.
8373         (common_handle_option): Handle the -v option.
8374         For --help enable the display of undocumented options if the -v
8375         switch has been included on the command line.
8376         For --help= check for overlaps in the arguments between the option
8377         classes and the language names and issue a warning when they
8378         cannot be disambiguated.
8379         * c.opt (v): Pass on to the common option handler.
8381 2008-02-19  Revital Eres  <eres@il.ibm.com> 
8383         * modulo-sched.c (sms_schedule): Change dump message when
8384         create_ddg function fails.
8385         (try_scheduling_node_in_cycle): Rename row to cycle.
8386         (print_partial_schedule): Rename CYCLE to ROW.
8388 2008-02-19  Christian Bruel  <christian.bruel@st.com>
8389             Zdenek Dvorak  <ook@ucw.cz>
8391         * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment.
8393 2008-02-19  Uros Bizjak  <ubizjak@gmail.com>
8395         PR target/33555
8396         * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern.
8397         (*x86_movdicc_0_m1_se): Ditto.
8399 2008-02-19  Uros Bizjak  <ubizjak@gmail.com>
8401         * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
8402         (CMPtype): Define as __gcc_CMPtype.
8403         * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef.
8404         (CMPtype): Define as __gcc_CMPtype.
8406 2008-02-19  Hans-Peter Nilsson  <hp@axis.com>
8408         Support valgrind 3.3 for --enable-checking=valgrind.
8409         * system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines
8410         here.
8411         [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS.
8412         [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE.
8413         [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE.
8414         * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines.
8415         Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and
8416         VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED,
8417         VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS
8418         respectively.
8419         * ggc-zone.c: Similar.
8420         * ggc-page.c: Similar.
8422 2008-02-19  Paul Brook  <paul@codesourcery.com>
8424         PR target/35071
8425         * config/arm/ieee754-df.S: Fix do_it typo.
8426         * config/arm/ieee754-sf.S: Fix do_it typo.
8428 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8430         PR target/35189
8431         * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New.
8432         (OPTION_MASK_ISA_3DNOW_SET): Likewise.
8433         (OPTION_MASK_ISA_SSE_SET): Likewise.
8434         (OPTION_MASK_ISA_SSE2_SET): Likewise.
8435         (OPTION_MASK_ISA_SSE3_SET): Likewise.
8436         (OPTION_MASK_ISA_SSSE3_SET): Likewise.
8437         (OPTION_MASK_ISA_SSE4_1_SET): Likewise.
8438         (OPTION_MASK_ISA_SSE4_2_SET): Likewise.
8439         (OPTION_MASK_ISA_SSE4_SET): Likewise.
8440         (OPTION_MASK_ISA_SSE4A_SET): Likewise.
8441         (OPTION_MASK_ISA_SSE5_SET): Likewise.
8442         (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise.
8443         (OPTION_MASK_ISA_MMX_UNSET): Updated.
8444         (OPTION_MASK_ISA_3DNOW_UNSET): Updated.
8445         (OPTION_MASK_ISA_SSE_UNSET): Likewise.
8446         (OPTION_MASK_ISA_SSE3_UNSET): Likewise.
8447         (OPTION_MASK_ISA_SSSE3_UNSET): Likewise.
8448         (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise.
8449         (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise.
8450         (OPTION_MASK_ISA_SSE4A_UNSET): Likewise.
8451         (OPTION_MASK_ISA_SSE5_UNSET): Likewise.
8452         (OPTION_MASK_ISA_SSE4): Removed.
8453         (ix86_handle_option): Turn on bits in ix86_isa_flags and
8454         ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for -mXXX.
8455         (override_options): Don't turn on implied SSE/MMX bits in
8456         ix86_isa_flags.
8458 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8460         * config/i386/i386-modes.def: Use 4 byte alignment on DI for
8461         32bit host.
8463 2008-02-18  Joey Ye  <joey.ye@intel.com>
8465         PR middle-end/34921
8466         * tree-nested.c (insert_field_into_struct): Set type alignment
8467         to field alignment if the former is less than the latter.
8469 2008-02-18  Jakub Jelinek  <jakub@redhat.com>
8471         * BASE-VER: Set to 4.4.0.
8473 2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8475         * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate.
8476         * doc/cfg.texi: Likewise.
8477         * doc/extend.texi: Likewise.
8478         * doc/gty.texi: Likewise.
8479         * doc/invoke.texi: Likewise.
8480         * doc/loop.texi: Likewise.
8481         * doc/md.texi: Likewise.
8482         * doc/passes.texi: Likewise.
8483         * doc/rtl.texi: Likewise.
8484         * doc/sourcebuild.texi: Likewise.
8485         * doc/tm.texi: Likewise.
8486         * doc/tree-ssa.texi: Likewise.
8488 2008-02-17  Richard Guenther  <rguenther@suse.de>
8490         PR middle-end/35227
8491         * tree-complex.c (init_parameter_lattice_values): Handle parameters
8492         without default definition.
8494 2008-02-17  Richard Guenther  <rguenther@suse.de>
8496         PR tree-optimization/35231
8497         * tree-vrp.c (register_edge_assert_for): Do not assume A == 0
8498         if A | B != 1.
8500 2008-02-17  Uros Bizjak  <ubizjak@gmail.com>
8502         Revert:
8503         2008-02-15  Uros Bizjak  <ubizjak@gmail.com>    
8504         * config/i386/sfp-machine.h (CMPtype): Define as typedef using
8505         libgcc_cmp_return mode.
8507 2008-02-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
8509         PR c/28368
8510         * doc/invoke.texi (-std): Clarify description of -std= and -ansi.
8512 2008-02-16  Ralf Corsepius  <ralf.corsepius@rtems.org>
8514         * config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475
8515         multilibs.
8517 2008-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8519         * doc/c-tree.texi: Use `@.' where appropriate.
8520         * doc/extend.texi: Likewise.
8521         * doc/install.texi: Likewise.
8522         * doc/invoke.texi: Likewise.
8523         * doc/loop.texi: Likewise.
8524         * doc/makefile.texi: Likewise.
8525         * doc/md.texi: Likewise.
8526         * doc/passes.texi: Likewise.
8527         * doc/standards.texi: Likewise.
8528         * doc/tm.texi: Likewise.
8530 2008-02-15  Jakub Jelinek  <jakub@redhat.com>
8532         PR middle-end/35196
8533         * omp-low.c (expand_omp_for_generic): Don't initialize fd->v
8534         in entry_bb.
8535         (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb
8536         rather than in entry_bb.
8538 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
8540         * config/i386/sfp-machine.h (CMPtype): Define as typedef using
8541         libgcc_cmp_return mode.
8543 2008-02-15  Jakub Jelinek  <jakub@redhat.com>
8545         PR middle-end/35130
8546         * tree-nested.c (convert_call_expr): Put FRAME.* vars into
8547         OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause.
8549 2008-02-15  Richard Guenther  <rguenther@suse.de>
8550             Zdenek Dvorak  <ook@ucw.cz>
8552         PR tree-optimization/35164
8553         * tree-flow.h (stmt_references_abnormal_ssa_name): Declare.
8554         * tree-dfa.c (stmt_references_abnormal_ssa_name): New function.
8555         * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars):
8556         Only propagate addresses which do not have abnormal SSA_NAMEs
8557         in their operands.
8559 2008-02-15  Joseph Myers  <joseph@codesourcery.com>
8561         PR target/35088
8562         * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define.
8564 2008-02-15  Jan Hubicka  <jh@suse.cz>
8566         PR middle-end/35149
8567         * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag.
8569 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
8571         PR middle-end/34621
8572         * function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY
8573         when calculating alignment_pad.
8575 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
8577         * config/i386/i386.h (CLEAR_RATIO): Use MIN macro.
8578         (WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define.
8579         * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro
8580         and STACK_BOUNDARY define.
8582 2008-02-14  Danny Smith  <dannysmith@users.sourceforge.net>
8584         PR preprocessor/35061
8585         * c-pragma.c (handle_pragma_pop_macro): Check that
8586         pushed_macro_table has been allocated.
8588 2008-02-14  Eric Botcazou  <ebotcazou@adacore.com>
8590         PR middle-end/35136
8591         * gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change.
8592         (force_gimple_operand): Likewise.
8593         * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases
8594         for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR.
8595         Also recurse on the operand for regular VIEW_CONVERT_EXPRs.
8596         (find_interesting_uses_address): Check addressability and alignment
8597         of the base expression only after substituting bases of IVs into it.
8599 2008-02-14  Michael Matz  <matz@suse.de>
8601         PR target/34930
8602         * function.c (instantiate_virtual_regs_in_insn): Reload address
8603         before falling back to reloading the whole operand.
8605 2008-02-14  Andreas Krebbel  <krebbel1@de.ibm.com>
8607         * config/s390/s390.c (s390_mainpool_start): Emit the pool
8608         before the first section switch note.
8610 2008-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8612         * doc/bugreport.texi: Update copyright years.
8613         * doc/c-tree.texi: Likewise.
8614         * doc/cfg.texi: Likewise.
8615         * doc/cpp.texi: Likewise.
8616         * doc/cppinternals.texi: Likewise.
8617         * doc/fragments.texi: Likewise.
8618         * doc/frontends.texi: Likewise.
8619         * doc/gcc.texi: Likewise.
8620         * doc/gty.texi: Likewise.
8621         * doc/hostconfig.texi: Likewise.
8622         * doc/implement-c.texi: Likewise.
8623         * doc/libgcc.texi: Likewise.
8624         * doc/loop.texi: Likewise.
8625         * doc/makefile.texi: Likewise.
8626         * doc/options.texi: Likewise.
8627         * doc/passes.texi: Likewise.
8628         * doc/rtl.texi: Likewise.
8629         * doc/sourcebuild.texi: Likewise.
8630         * doc/standards.texi: Likewise.
8631         * doc/tree-ssa.texi: Likewise.
8632         * doc/trouble.texi: Likewise.
8634         * doc/extend.texi: Use @: or add comma where appropriate.
8635         * doc/invoke.texi: Likewise.
8636         * doc/tm.texi: Likewise.
8638 2008-02-14  Alan Modra  <amodra@bigpond.net.au>
8640         PR target/34393
8641         * config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
8642         to a reg.
8644 2008-02-14  Jesper Nilsson  <jesper.nilsson@axis.com>
8646         * doc/md.texi (clz, ctz): Add reference.
8647         * doc/rtl.texi (clz, ctz): Likewise.
8649 2008-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8651         PR other/35148
8652         * Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of
8653         srcdir.
8655 2008-02-13  Andreas Krebbel  <krebbel1@de.ibm.com>
8657         * config/s390/s390.c (struct constant_pool): New field
8658         emit_pool_after added.
8659         (s390_mainpool_start): Set the emit_pool_after flag according
8660         to the section switch notes.
8661         (s390_mainpool_finish): Consider emit_pool_after when emitting
8662         the literal pool at the end of the function.
8663         (s390_chunkify_start): Force literal pool splits at section
8664         switch notes.
8666 2008-02-13  Michael Matz  <matz@suse.de>
8668         PR debug/35065
8669         * var-tracking.c (clobber_variable_part): Correctly traverse the
8670         list.
8672 2008-02-13  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
8674         PR 29673
8675         * doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined.
8676         Add -fdump-ipa-inline.
8677         * tree-dump.c (dump_files): Remove tree-inlined dump.
8678         * tree-pass.h (tree_dump_index): Remove TDI_inlined.
8679         
8680 2008-02-12  Richard Guenther  <rguenther@suse.de>
8682         PR tree-optimization/35171
8683         * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with
8684         default defs.
8686 2008-02-12  Richard Guenther  <rguenther@suse.de>
8688         PR middle-end/35163
8689         * fold-const.c (fold_widened_comparison): Use get_unwidened in
8690         value-preserving mode.  Disallow final truncation.
8692 2008-02-12  Eric Botcazou  <ebotcazou@adacore.com>
8694         PR middle-end/35136
8695         * gimplify.c (force_gimple_operand_bsi): Move SSA renaming
8696         code from here to...
8697         (force_gimple_operand): ...here.
8699 2008-02-12  Jakub Jelinek  <jakub@redhat.com>
8701         PR c++/35144
8702         * tree-sra.c (sra_build_assignment): fold_convert SRC if copying
8703         non-compatible pointers.
8704         (generate_element_copy): If SRC and DST are RECORD_TYPEs with
8705         different FIELD_DECLs, try harder by comparing field offsets, sizes
8706         and types.
8708         PR inline-asm/35160
8709         * function.c (match_asm_constraints_1): Don't replace the same input
8710         multiple times.
8712 2008-02-12  Anatoly Sokolov <aesok@post.ru>
8714         * config/avr/avr.h (AVR_HAVE_RAMPZ): Define.
8715         * config/avr/avr.c (expand_prologue): Save RAMPZ register.
8716         (expand_epilogue): Restore RAMPZ register.
8717         * config/avr/avr.md (RAMPZ_ADDR): New constant.
8719 2008-02-11  Kai Tietz  <kai.tietz@onevision.com>
8721         * config/i386/cygwin.asm: (__alloca): Correct calling
8722         convention and alignment.
8723         (__chkstk): Force 8 byte stack alignment.
8725 2008-02-11  Uros Bizjak  <ubizjak@gmail.com>
8726             Richard Guenther  <rguenther@suse.de>
8728         PR tree-optimization/33992
8729         * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of
8730         the zero we compare against.
8732 2008-02-10  Danny Smith  <dannysmith@users.sourceforge.net>
8734         PR libfortran/35063
8735         * gthr-win32.h (__gthread_mutex_destroy_function): New function
8736         to CloseHandle after unlocking to prevent accumulation of handle
8737         count.
8739 2008-02-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8741         PR middle_end/34150
8742         * pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a
8743         pic_label_operand source.  Similarly, add a REG_LABEL_OPERAND note
8744         and update LABEL_NUSES during and after reload.
8746 2008-02-08  Steven Bosscher  <stevenb.gcc@gmail.com>
8748         PR middle-end/34627
8749         * combine.c (simplify_if_then_else): Make sure the comparison is
8750         against const0_rtx when simplifying to (abs x) or (neg (abs X)).
8752 2008-02-08  Richard Sandiford  <rsandifo@nildram.co.uk>
8754         PR bootstrap/35051
8755         * double-int.h: Don't include gmp.h for GENERATOR_FILEs.
8756         (mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs.
8757         * real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs.
8758         (real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs.
8759         * tree.h (get_type_static_bounds): Likewise.
8761 2008-02-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8763         * doc/invoke.texi (Option Summary, C++ Dialect Options)
8764         (Objective-C and Objective-C++ Dialect Options, Warning Options):
8765         Make -Wfoo language annotations match what the compiler outputs.
8767 2008-02-08  Sa Liu  <saliu@de.ibm.com>
8769         * config/spu/spu-builtins.def: Fixed wrong parameter type in spu 
8770         intrinsics spu_convts, spu_convtu, spu_convtf.
8772 2008-02-08  Hans-Peter Nilsson  <hp@axis.com>
8774         * doc/extend.texi (Function Attributes) <noinline>: Mention
8775         asm ("") as method to keep calls.
8777 2008-02-07  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
8779         PR other/32754
8780         * doc/options.texi (Options): Replace references to opts.sh with
8781         optc-gen.awk.
8782         * opts-common.c: Likewise.
8783         * optc-gen.awk: Likewise.
8784         
8785 2008-02-07  Andreas Krebbel  <krebbel1@de.ibm.com>
8787         * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.
8789 2008-02-07  Richard Henderson  <rth@redhat.com>
8791         PR rtl-opt/33410
8792         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an
8793         EXPR_LIST for the REG_EQUAL instead of a comparison with a 
8794         funny mode.
8796 2008-02-07  Uros Bizjak  <ubizjak@gmail.com>
8798         PR tree-optimization/35085
8799         * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update
8800         for operand entry oe2 in addition to operand entry oe3 in order to
8801         expose more opportunities for vectorizer sum reduction.
8803 2008-02-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8805         PR other/35107
8806         * Makefile.in (LIBS): Remove $(GMPLIBS).
8807         (cc1-dummy, cc1): Add $(GMPLIBS).
8809 2008-02-06  Jan Hubicka  <jh@suse.cz>
8811         PR target/23322
8812         * i386.md (moddf_integer): Do not produce partial memory stalls for
8813         targets where it hurts.
8815 2008-02-06  Uros Bizjak  <ubizjak@gmail.com>
8817         PR target/35083
8818         * optabs.c (expand_float): Do not check for decimal modes when
8819         expanding unsigned integer through signed conversion.
8821 2008-02-06  Nick Clifton  <nickc@redhat.com>
8823         * config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup
8824         inside the clobber with a match_operand and duplicated operand
8825         number in the constraint.
8826         (ineqbranchsi): Delete redundant comment.
8828 2008-02-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
8830         * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add 
8831         builtin_define ("__USE_INIT_FINI__").
8832         * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add
8833         -msx multilibs.
8834         * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT.
8836 2008-02-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8838         PR documentation/30330
8839         * doc/invoke.texi (C++ Dialect Options)
8840         (Objective-C and Objective-C++ Dialect Options, Warning Options):
8841         For each warning option -Wfoo that allows -Wno-foo, ensure both
8842         -Wfoo and -Wno-foo are listed in the option index.  Fix index
8843         entry of -Wswitch-default, index -Wnormalized= including the
8844         `=', and -Wlarger-than-@var{len} including @var{len}.
8846 2008-02-05  Uros Bizjak  <ubizjak@gmail.com>
8848         * config/i386/i386.md (floatunssisf2): Use
8849         ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
8850         (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2.
8851         Macroize expander using MODEF mode iterator.
8853 2008-02-05  Diego Novillo  <dnovillo@google.com>
8855         http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html
8857         PR 33738
8858         * tree-vrp.c (vrp_evaluate_conditional): Revert fix for PR 33738.
8860 2008-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8862         PR other/35070
8863         * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.
8865 2008-02-05  H.J. Lu  <hongjiu.lu@intel.com>
8867         PR target/35084
8868         * config/i386/i386.c (ix86_function_sseregparm): Add an arg
8869         to indicate if a message should be generated.
8870         (init_cumulative_args): Updated.
8871         (function_value_32): Likewise.
8873 2008-02-05  Joseph Myers  <joseph@codesourcery.com>
8875         * doc/include/texinfo.tex: Update to version 2008-02-04.16.
8877 2008-02-05  Uros Bizjak  <ubizjak@gmail.com>
8879         PR target/35083
8880         * config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
8881         Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.
8883 2008-02-04  Diego Novillo  <dnovillo@google.com>
8885         http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
8887         PR 33738
8888         * tree-vrp.c (vrp_evaluate_conditional): With
8889         -Wtype-limits, emit a warning when comparing against a
8890         constant outside the natural range of OP0's type.
8892 2008-02-04  Richard Guenther  <rguenther@suse.de>
8894         PR middle-end/33631
8895         * expr.c (count_type_elements): Give for unions instead of
8896         guessing.
8898 2008-02-04  Richard Guenther  <rguenther@suse.de>
8900         PR middle-end/35043
8901         * gimplify.c (gimplify_init_ctor_eval): Convert array indices
8902         to TYPE_DOMAINs base type instead of using bitsizetype here.
8904 2008-02-03  Jason Merrill  <jason@redhat.com>
8906         * print-tree.c (print_node) [CONSTRUCTOR]: Print elements.
8908 2008-02-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8910         PR other/29972
8911         * doc/invoke.texi (C++ Dialect Options, Optimize Options)
8912         (HPPA Options, i386 and x86-64 Options, IA-64 Options)
8913         (RS/6000 and PowerPC Options): Fix typos and markup.
8914         * doc/passes.texi (Tree-SSA passes): Likewise.
8916 2008-02-02  Michael Matz  <matz@suse.de>
8918         PR target/35045
8919         * postreload-gcse.c (record_last_reg_set_info_regno): Renamed
8920         from record_last_reg_set_info.
8921         (record_last_reg_set_info): Take an RTX argument, iterate over all
8922         constituent hardregs.
8923         (record_last_set_info, record_opr_changes): Change calls to
8924         new signature or to record_last_reg_set_info_regno.
8926 2008-02-02  Gerald Pfeifer  <gerald@pfeifer.com>
8928         * doc/extend.texi (X86 Built-in Functions): Fix grammar.
8930 2008-02-01  Hans-Peter Nilsson  <hp@axis.com>
8932         PR rtl-optimization/34773
8933         * reg-notes.def (EQUAL): Mention significance of combination of
8934         REG_EQUAL and REG_RETVAL.
8935         * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an
8936         insn that has a REG_RETVAL.
8938 2008-02-01  Roger Sayle  <roger@eyesopen.com>
8940         PR bootstrap/33781
8941         * configure.ac (--enable-fixed-point): Disable unless explicitly
8942         requested on IRIX.
8943         * configure: Regenerate.
8945 2008-02-01  Richard Guenther  <rguenther@suse.de>
8947         PR other/35042
8948         * invoke.texi (-finline-limit): Remove no longer true parts
8949         of the documentation.  Note that there is no default value.
8951 2008-02-01  Andrew Pinski  <pinskia@gmail.com>
8952             Mark Mitchell  <mark@codesourcery.com>
8953             Ben Elliston  <bje@au.ibm.com>
8955         PR c/29326
8956         * doc/extend.texi (Other Builtins): Document.
8958 2008-01-31  Tom Browder <tom.browder@gmail.com>
8960         * doc/c-tree.texi (Types): Fix grammar.
8961         (Expression trees): Ditto.
8962         * doc/passes.texi (Tree-SSA passes): Ditto.
8963         
8964         * doc/configterms.texi (Configure Terms): Fix typo.
8965         * doc/cpp.texi (Common Predefined Macros): Ditto.
8966         * doc/md.texi (Machine Constraints): Ditto.
8967         
8968         * doc/makefile.texi (Makefile): Add comma.
8970 2008-01-31  Tom Browder  <tom.browder@gmail.com>
8971             Gerald Pfeifer  <gerald@pfeifer.com>
8972         
8973         * doc/sourcebuild.texi (Front End): Remove references to CVS
8974         and CVSROOT/modules.
8975         (Texinfo Manuals): Replace reference to CVS by one to SVN.
8976         (Back End): Remove reference to CVS.
8978 2008-01-31  Richard Sandiford  <rsandifo@nildram.co.uk>
8980         PR target/34900
8981         * config/mips/mips.c (gen_load_const_gp): New function, taking a
8982         comment from...
8983         (mips16_gp_pseudo_reg): ...here.
8984         * config/mips/mips.md (load_const_gp): Replace with...
8985         (load_const_gp_<mode>): ...this :P-based insn.
8987 2008-01-31  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
8989         * doc/invoke.texi (-ansi): Mention explicitly corresponding -std=
8990         options. Minor fixes.
8991         (-std): Move reference to standards closer to where language
8992         standards are first mentioned.
8993         
8994 2008-01-31  Richard Sandiford  <rsandifo@nildram.co.uk>
8996         PR rtl-optimization/34995
8997         * reload.c (alternative_allows_const_pool_ref): Take an rtx
8998         parameter and return a bool.  If the rtx parameter is nonnull,
8999         check that it satisfies an EXTRA_MEMORY_CONSTRAINT.
9000         (find_reloads): Update call accordingly.  Pass the new operand
9001         if it needed no address reloads, otherwise pass null.
9003 2008-01-30  Richard Henderson  <rth@redhat.com>
9005         PR c/34993
9006         * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
9007         for unbounded arrays.
9009 2008-01-30  Silvius Rus  <rus@google.com>
9011         * config/i386/xmmintrin.h (_mm_prefetch): Add const to first arg.
9013 2008-01-30  Jan Hubicka  <jh@suse.cz>
9015         PR target/34982
9016         * i386.c (init_cumulative_args): Use real function declaration when
9017         calling locally.
9019 2008-01-30  Richard Sandiford  <rsandifo@nildram.co.uk>
9021         PR rtl-optimization/34998
9022         * global.c (build_insn_chain): Treat non-subreg_lowpart
9023         SUBREGs of pseudos as clobbering all the words covered by the
9024         SUBREG, not just all the bytes.
9025         * ra-conflict.c (clear_reg_in_live): Likewise.  Take the
9026         original df_ref rather than an extract parameter.
9027         (global_conflicts): Update call accordingly.
9029 2008-01-30  Andreas Krebbel  <krebbel1@de.ibm.com>
9031         * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange
9032         the overflow check to make it easier to read.
9033         (__fixtfdi): Change the type of the ll member in union
9034         long_double to UDItype_x.
9036 2008-01-30  Jakub Jelinek  <jakub@redhat.com>
9038         PR middle-end/34969
9039         * cgraph.h (cgraph_update_edges_for_call_stmt): New prototype.
9040         * cgraph.c (cgraph_update_edges_for_call_stmt): New function.
9041         * tree-inline.c (fold_marked_statements): Call
9042         cgraph_update_edges_for_call_stmt if folding a call statement.
9043         * cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for
9044         debug_generic_stmt calls, reset it back afterwards.
9046         PR c/35017
9047         * c-decl.c (start_decl): Don't pedwarn about TREE_READONLY
9048         static decls.
9049         * c-typeck.c (build_external_ref): Don't pedwarn about
9050         static vars in current function's scope.
9052 2008-01-29  Joseph Myers  <joseph@codesourcery.com>
9054         * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.
9056 2008-01-29  Bernhard Fischer  <aldot@gcc.gnu.org>
9058         PR c/35002
9059         * ipa-struct-reorg.c: Fix spelling.
9060         * params.def: Ditto.
9062 2008-01-29  Richard Guenther  <rguenther@suse.de>
9064         PR middle-end/35006
9065         * tree-inline.h (struct copy_body_data): Add remapping_type_depth
9066         field.
9067         * tree-inline.c (remap_type): Increment remapping_type_depth
9068         around remapping types.
9069         (copy_body_r): Only add referenced variables if they are referenced
9070         from code, not types.
9072 2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>
9074         PR c++/34055
9075         PR c++/34103
9076         PR c++/34219
9077         PR c++/34606
9078         PR c++/34753
9079         PR c++/34754
9080         PR c++/34755
9081         PR c++/34919
9082         PR c++/34961
9083         * c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print
9084         qualifiers for an ERROR_MARK_NODE or a NULL_TREE.
9086 2008-01-28  Andy Hutchinson   <hutchinsonandy@netscape.net>
9088         PR target/34412
9089         * config/avr/avr.c (expand_prologue): Use correct QI mode frame 
9090         pointer for tiny stack.
9092 2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>
9094         * doc/tree-ssa.texi: Add cindex PHI nodes and improve wording.
9096 2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>
9098         * config/vx-common.h: Fix typo in comment.
9100 2008-01-28  Ian Lance Taylor  <iant@google.com>
9102         PR c++/34862
9103         PR c++/33407
9104         * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
9105         coalesce pointers if they have different DECL_NO_TBAA_P values.
9106         * tree-ssa-copy.c (may_propagate_copy): Don't propagate copies
9107         between variables with different DECL_NO_TBAA_P values.
9109 2008-01-28  Nathan Froyd  <froydnj@codesourcery.com>
9111         PR 31535
9112         * config/rs6000/rs6000.c (small_data_operand): Vectors and floats
9113         are not legitimate small data references on SPE targets.
9115 2008-01-28  David Daney  <ddaney@avtrex.com>
9117         * doc/install.texi (mips-*-*): Recommend binutils 2.18.
9119 2008-01-28  David Daney  <ddaney@avtrex.com>
9121         * doc/install.texi (--disable-libgcj-bc):  Reword documentation.
9123 2008-01-27  Joseph Myers  <joseph@codesourcery.com>
9125         * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
9126         m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*,
9127         *-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*,
9128         *-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout,
9129         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9130         i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*,
9131         i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*,
9132         vax-*-bsd*, vax-*-ultrix*): Mark obsolete.
9134 2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
9136         * basic-block.h (condjump_equiv_p): Fix comment.
9138 2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
9140         * tree-pretty-print.c (print_generic_decl, print_generic_stmt,
9141         print_generic_stmt_indented): Fix comment.
9143 2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
9145         * configure.ac (__stack_chk_fail): Add detecion for availability
9146         of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined.
9147         * configure: Regenerate.
9149 2008-01-26  Maxim Kuvyrkov  <maxim@codesourcery.com>
9151         PR middle-end/34688
9152         * final.c (output_addr_const): Handle TRUNCATE.
9154 2008-01-26  Zdenek Dvorak  <ook@ucw.cz>
9156         PR target/34711
9157         * tree-ssa-loop-ivopts.c (comp_cost): New type.
9158         (zero_cost, infinite_cost): New constants.
9159         (struct cost_pair): Change type of cost to comp_cost.
9160         (struct iv_ca): Change type of cand_use_cost and cost to comp_cost.
9161         (new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p):
9162         New functions.
9163         (set_use_iv_cost, force_expr_to_var_cost, force_var_cost,
9164         split_address_cost, ptr_difference_cost, difference_cost,
9165         get_computation_cost_at, get_computation_cost,
9166         determine_use_iv_cost_generic, determine_use_iv_cost_address,
9167         determine_use_iv_cost_condition, determine_use_iv_costs,
9168         cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
9169         iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend,
9170         iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set):
9171         Change type of cost to comp_cost.
9172         (determine_iv_cost): Increase cost of non-original ivs, instead
9173         of decreasing the cost of original ones.
9174         (get_address_cost): Indicate the complexity of the addressing mode 
9175         in comp_cost.
9176         (try_add_cand_for): Prefer using ivs not specific to some object.
9177         * tree-flow.h (force_expr_to_var_cost): Declaration removed.
9179 2008-01-26  Peter Bergner  <bergner@vnet.ibm.com>
9180             Janis Johnson  <janis187@us.ibm.com>
9182         PR target/34814
9183         * doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document.
9184         (TARGET_INSTANTIATE_DECLS): Likewise.
9185         * target.h (expand_to_rtl_hook): New target hook.
9186         (instantiate_decls): Likewise.
9187         * function.c (instantiate_decl): Make non-static.  Rename to...
9188         (instantiate_decl_rtl): ... this.
9189         (instantiate_expr): Use instantiate_decl_rtl.
9190         (instantiate_decls_1): Likewise.
9191         (instantiate_decls): Likewise.
9192         (instantiate_virtual_regs: Call new instantiate_decls taget hook.
9193         * function.h (instantiate_decl_rtl): Add prototype.
9194         * cfgexpand.c (target.h): New include.
9195         (tree_expand_cfg): Call new expand_to_rtl_hook target hook.
9196         * target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define.
9197         (TARGET_INSTANTIATE_DECLS): Likewise.
9198         (TARGET_INITIALIZER): New target hooks added.
9199         * config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx):
9200         New prototype.
9201         * config/rs6000/rs6000.c (tree-flow.h): New include.
9202         (machine_function): Add sdmode_stack_slot field.
9203         (rs6000_alloc_sdmode_stack_slot): New function.
9204         (rs6000_instantiate_decls): Likewise.
9205         (rs6000_secondary_memory_needed_rtx): Likewise.
9206         (rs6000_check_sdmode): Likewise.
9207         (TARGET_EXPAND_TO_RTL_HOOK): Target macro defined.
9208         (TARGET_INSTANTIATE_DECLS): Likewise.
9209         (rs6000_hard_regno_mode_ok): Allow SDmode.
9210         (num_insns_constant): Likewise.  Handle _Decimal32 constants.
9211         (rs6000_emit_move): Handle SDmode.
9212         (function_arg_advance): Likewise.
9213         (function_arg): Likewise.
9214         (rs6000_gimplify_va_arg): Likewise.  Add special handling of
9215         SDmode var args for 32-bit compiles.
9216         (rs6000_secondary_reload_class): Handle SDmode.
9217         (rs6000_output_function_epilogue): Likewise.
9218         (rs6000_function_value): Simplify if statement.
9219         (rs6000_libcall_value): Likewise.
9220         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode.
9221         (SECONDARY_MEMORY_NEEDED_RTX): Add define.
9222         * config/rs6000/dfp.md (movsd): New define_expand and splitter.
9223         (movsd_hardfloat): New define_insn.
9224         (movsd_softfloat): Likewise.
9225         (movsd_store): Likewise.
9226         (movsd_load): Likewise.
9227         (extendsddd2): Likewise.
9228         (extendsdtd2): Likewise.
9229         (truncddsd2): Likewise.
9230         (movdd_hardfloat64): Fixup comment.
9231         (UNSPEC_MOVSD_LOAD): New constant.
9232         (UNSPEC_MOVSD_STORE): Likewise.
9234 2008-01-26  Jakub Jelinek  <jakub@redhat.com>
9236         PR c++/34965
9237         * c-pretty-print.c (pp_c_exclusive_or_expression): Handle
9238         TRUTH_XOR_EXPR.
9239         (pp_c_logical_and_expression): Handle TRUTH_AND_EXPR.
9240         (pp_c_logical_or_expression): Handle TRUTH_OR_EXPR.
9241         (pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
9242         and TRUTH_XOR_EXPR.
9244 2008-01-26  David Edelsohn  <edelsohn@gnu.org>
9246         PR target/34794
9247         * config.gcc: Separate AIX 5.3 from AIX 6.1.
9248         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
9249         __LONGDOUBLE128 too.
9250         * config/rs6000/aix61.h: New file.
9252 2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
9254         PR rtl-optimization/34959
9255         * optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz,
9256         popcount and parity rtxes the same mode as their operand.
9257         Truncate or extend the result to the return value's mode
9258         if necessary.
9260 2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
9262         PR target/34981
9263         * config/mips/mips-protos.h (mips_expand_call): Return an rtx.
9264         * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO
9265         to GOT_VERSION_REGNUM.
9266         (CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0.
9267         (EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT.
9268         * config/mips/mips.c (mips_emit_call_insn): New function.
9269         (mips_call_tls_get_addr): Call mips_expand_call directly.
9270         (mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than
9271         emit_call_insn.
9272         (mips16_build_call_stub): Likewise.  Return the call insn or null.
9273         (mips_expand_call): Update the call to mips16_build_call_stub
9274         accordingly and a remove redundant condition.  Assert that MIPS16
9275         stubs do not use lazy binding.  Use mips_emit_call_insn and return
9276         the call insn.
9277         (mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if
9278         TARGET_USE_GOT.
9279         (mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM.
9280         (mips_avoid_hazard): Remove hazard_set handling.
9281         * config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to...
9282         (UNSPEC_RESTORE_GP): ...this.
9283         (UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants.
9284         (FAKE_CALL_REGNO): Rename to...
9285         (GOT_VERSION_REGNUM): ...this.
9286         (type): Add "ghost" value.  Add an associated insn reservation.
9287         (hazard_set): Remove.
9288         (exception_receiver): Rename to...
9289         (restore_gp): ...this and update the unspec identifier accordingly.
9290         (exception_receiver, nonlocal_got_receiver): New expanders.
9291         (load_call<mode>): Use GOT_VERSION_REGNUM.  Don't set
9292         FAKE_CALL_REGNO.  Remove hazard_set attribute.
9293         (set_got_version, update_got_version): New patterns.
9295 2008-01-26  Danny Smith  <dannysmith@users.sourceforge.net>
9297         PR target/34970
9298         * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define.
9300 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
9302         PR other/31955
9303         * doc/install.texi2html: Generate gcc-vers.texi.
9305 2008-01-25  DJ Delorie  <dj@redhat.com>
9307         * config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9309 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
9311         * config/c4x: Remove directory.
9312         * config.gcc (crx-*, mt-*): Mark obsolete.
9313         (c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*,
9314         h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9315         sh-*-rtemscoff*): Remove cases.
9316         * defaults.h (C4X_FLOAT_FORMAT): Remove.
9317         * real.c (encode_c4x_single, decode_c4x_single,
9318         encode_c4x_extended, decode_c4x_extended, c4x_single_format,
9319         c4x_extended_format): Remove.
9320         * real.h (c4x_single_format, c4x_extended_format): Remove.
9321         * doc/extend.texi (interrupt, naked): Remove mention of attributes
9322         on C4x.
9323         (Pragmas): Remove comment about c4x pragmas.
9324         * doc/install.texi (c4x): Remove target-specific instructions.
9325         * doc/invoke.texi (TMS320C3x/C4x Options): Remove.
9326         * doc/md.texi (Machine Constraints): Remove C4x documentation.
9327         * doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not
9328         refer to C4x source files as examples.
9329         (C4X_FLOAT_FORMAT): Remove documentation.
9331 2008-01-25  Bernd Schmidt  <bernd.schmidt@analog.com>
9333         * config/bfin/bfin.c (override_options): Reorder tests so that
9334         flag_pic gets enabled for -msep-data.
9336 2008-01-25  Richard Guenther  <rguenther@suse.de>
9338         PR middle-end/32244
9339         * expr.c (expand_expr_real_1): Reduce result of LSHIFT_EXPR
9340         to its bitfield precision if required.
9342 2008-01-25  Jakub Jelinek  <jakub@redhat.com>
9344         PR middle-end/33880
9345         * tree-nested.c (walk_omp_for): New function.
9346         (convert_nonlocal_reference, convert_local_reference): Call
9347         walk_omp_for on OMP_FOR.
9348         (convert_call_expr): Call walk_body on OMP_FOR's
9349         OMP_FOR_PRE_INIT_BODY.
9351 2008-01-25  Richard Guenther  <rguenther@suse.de>
9353         PR tree-optimization/34966
9354         * tree-ssa-math-opts.c (execute_cse_sincos_1): For all but
9355         default defs and PHI_NODEs we have to insert after the
9356         defining statement.
9358 2008-01-24  Nick Clifton  <nickc@redhat.com>
9360         * config/stormy16/stormy16-lib2.c (MIN_UNITS_PER_WORD):
9361         Provide a default definition.
9362         (LIBGCC2_UNITS_PER_WORD): Likewise.
9364         * config/stormy16/stormy16.c: Include df.h for the prototype
9365         for df_regs_ever_live_p.
9366         (xstormy16_expand_builtin_va_start): Convert the stack offset
9367         into a component_ref and then use POINTER_PLUS_EXPR to add it
9368         to the incoming_virtual_args_rtx.
9369         (xstormy16_gimplify_va_arg_expr): Rename to
9370         xstormy16_gimplify_va_arg_expr.
9371         Use POINTER_PLUS_EXPR when performing pointer arithmetic.
9372         (TARGET_GIMPLIFY_VA_ARG_EXPR): Use renamed
9373         xstormy16_gimplify_va_arg_expr.
9374         Fix up some formatting issues.
9376         * config/stormy16/stormy16.c: (xstormy16_carry_plus_operand):
9377         Move to predicates.md.
9378         (xs_hi_general_operand): Likewise.
9379         (xs_hi_nonmemory_operand): Likewise.
9380         * config/stormy16/predicates.md:
9381         (xstormy16_carry_plus_operand): New predicate.
9382         (xs_hi_general_operand): New predicate.
9383         (xs_hi_nonmemory_operand): New predicate.
9384         * config/stormy16/stormy16-protos.h:
9385         (xstormy16_carry_plus_operand): Delete prototype.
9386         (xs_hi_general_operand): Likewise.
9387         (xs_hi_nonmemory_operand): Likewise.
9389         * config/storm16/stormy16.md (addhi3): Remove earlyclobber
9390         modifiers as they are no longer needed and they can trigger
9391         reload spill failures.
9393         * config/storm16/stormy16.md (ineqbranchsi): Replace match_dup
9394         with a match_operand in order to help reload.
9396         * config/storm16/stormy16.md (movhi_internal): Replace 'r'
9397         constraint with 'e' for the 8th alternative as this version of
9398         the mov.w instruction only accepts the lower 8 registers.
9400 2008-01-25  Uros Bizjak  <ubizjak@gmail.com>
9402         PR target/34856
9403         * simplifx-rtx.c (simplify_const_binary_operation) [VEC_CONCAT]:
9404         Consider only CONST_INT, CONST_DOUBLE and CONST_FIXED as constant
9405         vector elements.
9407 2008-01-25  Jakub Jelinek  <jakub@redhat.com>
9409         PR middle-end/33333
9410         * gimplify.c (gimplify_omp_for): Gimplify OMP_FOR_PRE_BODY.
9412 2008-01-25  Golovanevsky Olga  <olga@il.ibm.com>
9414         * ipa-struct-reorg.c (remove_str_allocs_in_func, remove_str_allocs):
9415         New functions.
9416         (remove_structure): Update allocations list before removing structure.
9417         
9418 2008-01-25  Golovanevsky Olga  <olga@il.ibm.com>
9420         * ipa-struct-reorg.c (is_safe_cond_expr, 
9421         create_new_stmts_for_cond_expr): Use integer_zerop function,
9422         that recognize not only zero-pointer, but zero-integer too.
9424 2008-01-25  Ben Elliston  <bje@au.ibm.com>
9426         PR other/22232
9427         * fixproto: Escape "." in sed expression that strips leading "./".
9429 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
9431         PR driver/34904
9432         * gcc.c (SWITCH_OK): Removed.
9433         (SWITCH_LIVE): Changed to bit.
9434         (SWITCH_FALSE): Likewise.
9435         (SWITCH_IGNORE): Likewise.
9436         (switchstr): Change live_cond to unsigned int.
9437         (process_command): Replace SWITCH_OK with 0.
9438         (do_self_spec): Likewise.
9439         (set_collect_gcc_options): Check the SWITCH_IGNORE bit.
9440         (give_switch): Likewise.
9441         (used_arg): Likewise.
9442         (do_spec_1): Set the SWITCH_IGNORE bit.
9443         (check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE
9444         bits.  Set the SWITCH_LIVE bit.
9446 2008-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
9448         * config/s390/s390.h (MOVE_RATIO): Define new target macro.
9450 2008-01-24  Richard Sandiford  <rsandifo@nildram.co.uk>
9452         PR tree-optimization/34472
9453         * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA
9454         parameter to a "bool *" and set *DATA to false if there is
9455         an unsafe access.  Do not delete the structure here.
9456         (check_cond_exprs): Delete it here instead.
9457         (check_cond_exprs, exclude_cold_structs): Do not increase
9458         I when removing a structure.
9460 2008-01-24  Uros Bizjak  <ubizjak@gmail.com>
9462         PR target/34856
9463         * config/i386/i386.c (ix86_expand_vector_init): Consider only
9464         CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements.
9466 2008-01-24  Jakub Jakub Jelinek  <jakub@redhat.com>
9468         PR middle-end/34934
9469         * tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of
9470         a fixed vector for stack.
9472 2008-01-24  Ben Elliston  <bje@au.ibm.com>
9474         PR c++/25701
9475         * doc/gcc.texi (Software development): Add a direntry for g++.
9476         
9477 2008-01-23  Hans-Peter Nilsson  <hp@axis.com>
9479         * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop
9480         stale and straggling -fforce-addr comments above.
9482         * config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don't
9483         define.
9484         * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define.
9485         * config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define.
9487 2008-01-23  Michael Matz  <matz@suse.de>
9489         PR debug/34895
9490         * dwarf2out.c (force_type_die): Use modified_type_die instead of
9491         gen_type_die.
9493 2008-01-23  Andreas Krebbel  <krebbel1@de.ibm.com>
9495         * ipa-struct-reorg.c (create_new_malloc): Use pointer type as
9496         malloc result type.
9498 2008-01-23 Anatoly Sokolov <aesok@post.ru>
9500         * config/avr/avr.c (avr_current_arch): New variable.
9501         (avr_arch_types): Add 'avr31' and 'avr51' entries.
9502         (avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'.
9503         (avr_mcu_types): Add 'avr31' and 'avr51' architectures.
9504         (avr_override_options): Init 'avr_current_arch'. 
9505         (base_arch_s): Move from here...
9506         * config/avr/avr.h (base_arch_s): ... here. Add new members 
9507         'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename 
9508         'mega' to 'have_jmp_call'.
9509         (TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__", 
9510         "__AVR_HAVE_RAMPZ__",   "__AVR_HAVE_ELPM__" and  "__AVR_HAVE_ELPMX__"
9511         macros.
9512         (LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51' 
9513         architectures.
9514         * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, 
9515         MULTILIB_MATCHES): (Ditto.).
9517 2008-01-23  Richard Guenther  <rguenther@suse.de>
9519         PR middle-end/31529
9520         * cgraphunit.c (cgraph_reset_node): Always mark the node
9521         not reachable if it is not queued already.
9523 2008-01-23  Bernd Schmidt  <bernd.schmidt@analog.com>
9525         * config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.
9526         * config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere.
9527         (cputype_selected): New static variable.
9528         (bfin_handle_option): Set it if -mcpu is used.
9529         (override_option): Select default set of workarounds if no cpu type
9530         selected on the command line.
9531         (workaround_rts_anomaly): Only run if ENABLE_WA_RETS.
9533         From  Michael Frysinger  <michael.frysinger@analog.com>
9534         * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add
9535         BFIN_CPU_BF547, BFIN_CPU_BF523, BFIN_CPU_BF524, and BFIN_CPU_BF526.
9537         * config/bfin/elf.h (LIB_SPEC): Use proper linker script
9538         for bf547, bf523, bf524, and bf526.
9539         * config/bfin/bfin.c (bfin_cpus[]): Add bf547,  bf523, bf524, and
9540         bf526.
9541         * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
9542         __ADSPBF523__ for bf523, __ADSPBF524__ for bf524,
9543         __ADSPBF526__ for bf526, __ADSPBF52x__ for all three, as well as
9544         __ADSPBF547__ and __ADSPBF54x__ for bf547.
9545         * doc/invoke.texi (Blackfin Options): Document that
9546         -mcpu now accept bf547, bf523, bf524, and bf526.
9548 2008-01-22  Eric Botcazou  <ebotcazou@adacore.com>
9550         PR rtl-optimization/34628
9551         * combine.c (try_combine): Stop and undo after the first combination
9552         if an autoincrement side-effect on the first insn has effectively
9553         been lost.
9555 2008-01-22  David Edelsohn  <edelsohn@gnu.org>
9557         PR target/34529
9558         * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
9559         Offset addresses are not valid for Altivec or paired float modes.
9561 2008-01-22  Jakub Jelinek  <jakub@redhat.com>
9563         PR c++/34607
9564         * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for
9565         if DECL_INITIAL (decl) is error_mark_node.
9567         PR c++/34914
9568         * c-common.c (handle_vector_size_attribute): Only allow
9569         integral, scalar float and fixed point types.  Handle OFFSET_TYPE
9570         the same way as pointer, array etc. types.
9571         * tree.c (reconstruct_complex_type): Handle OFFSET_TYPE.
9573         PR c++/34917
9574         * tree.c (build_type_attribute_qual_variant): Call
9575         build_qualified_type if attributes are equal, but quals are not.
9577 2008-01-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
9579         PR 32102
9580         * doc/invoke.texi (-Wall): -Wall enables -Wstrict-overflow=1.
9581         * flags.h (warn_strict_aliasing): Remove.
9582         (warn_strict_overflow): Remove.
9583         * opts.c (warn_strict_aliasing): Remove.
9584         (warn_strict_overflow): Remove.
9585         * c-opts.c (c_common_handle_option): -Wall only sets
9586         -Wstrict-aliasing or -Wstrict-overflow if they are uninitialized.
9587         (c_common_post_options): Give default values to -Wstrict-aliasing
9588         and -Wstrict-overflow if they are uninitialized.
9589         * common.opt (Wstrict-aliasing): Specify Var and Init.
9590         (Wstrict-overflow): Likewise.
9592 2008-01-22  Kenneth Zadeck  <zadeck@naturalbridge.com>
9594         PR rtl-optimization/26854
9595         PR rtl-optimization/34400
9596         PR rtl-optimization/34884
9597         * ddg.c (create_ddg_dep_from_intra_loop_link): Use
9598         DF_RD->gen.
9599         * df.h (df_changeable_flags.DF_RD_NO_TRIM): Deleted
9600         (df_rd_bb_info.expanded_lr_out): Deleted
9601         * loop_invariant.c (find_defs): Deleted DF_RD_NO_TRIM flag.
9602         * loop_iv.c (iv_analysis_loop_init): Ditto.  * df-problems.c
9603         (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
9604         df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
9605         Removed code to allocate, initialize or free expanded_lr_out.
9606         (df_rd_bb_local_compute_process_def): Restructured to make more
9607         understandable.
9608         (df_rd_confluence_n): Removed code to no apply invalidate_by_call
9609         sets if the sets are being trimmed.
9611 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
9613         PR bootstrap/32287
9614         * configure.ac (ld_vers): Support GNU linker version xx.xx.*
9615         (as_vers): Likewise.
9616         * configure: Regenerated.
9618 2008-01-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
9620         PR middle-end/33092
9621         * tree-pass.h (pass_build_alias): New pass.
9622         * tree-ssa-alias.c (gate_build_alias): New.
9623         (pass_build_alias): New.
9624         * passes.c (init_optimization_passes): Add pass_build_alias after
9625         pass_create_structure_vars.
9627 2008-01-22  Wolfgang Gellerich  <gellerich@de.ibm.com>
9629         * config/s390/s390.h (S390_TDC_POSITIVE_NORMALIZED_NUMBER):
9630         Renamed to S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER.
9631         (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): Renamed to
9632         S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER.
9633         (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): Renamed to
9634         S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER.
9635         (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): Renamed to
9636         S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER.
9637         (S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER): New constant.
9638         (S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER): New constant.
9639         (S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER): New constant.
9640         (S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER): New constant.
9641         * config/s390/s390.md (FP_ALL): New mode iterator.
9642         (_d): New mode attribute.
9643         ("*signbit<mode>2>"): Changed mode of first operand.
9644         ("isinf<mode>2"): Changed mode of first operand.
9645         ("*TDC_insn"): Adaptation for DFP modes.
9647 2008-01-22  Ben Elliston  <bje@au.ibm.com>
9649         * tree.c (check_qualified_type): Improve function description.
9651 2008-01-21  Jason Merrill  <jason@redhat.com>
9653         PR c++/34196
9654         * tree.h (TRY_CATCH_IS_CLEANUP): New macro.
9655         * tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR
9656         if it is set.
9658 2008-01-21  DJ Delorie  <dj@redhat.com>
9660         * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not
9661         return zero.
9663 2008-01-21  Richard Guenther  <rguenther@suse.de>
9665         PR middle-end/34856
9666         * tree-cfg.c (verify_expr): Allow all invariant expressions
9667         instead of just constant class ones as reference argument.
9668         * tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR
9669         like any other constant.
9670         * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
9672 2008-01-21  H.J. Lu  <hongjiu.lu@intel.com>
9674         * regmove.c (fixup_match_1): Update call crossed frequencies.
9676 2008-01-21  Richard Guenther  <rguenther@suse.de>
9678         PR c/34885
9679         * tree-inline.c (setup_one_parameter): Deal with mismatched
9680         types using a VIEW_CONVERT_EXPR.
9682 2008-01-21  Alon Dayan  <alond@il.ibm.com>
9683             Olga Golovanevsky  <olga@il.ibm.com>
9684         
9685         PR tree-optimization/34701
9686         * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation
9687         when the structure size is not a power of 2.
9689 2008-01-20  Kenneth Zadeck  <zadeck@naturalbridge.com>
9691         * doc/install.texi: Add doc for --enable-checking=df.
9692         
9693 2008-01-20  Kaz Kojima  <kkojima@gcc.gnu.org>
9695         PR rtl-optimization/34808
9696         * emit-rtl.c (try_split): Handle REG_RETVAL notes.
9698 2008-01-20  Richard Sandiford  <rsandifo@nildram.co.uk>
9700         * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per
9701         input.
9703 2008-01-19  Kenneth Zadeck  <zadeck@naturalbridge.com>
9705         PR rtl-optimization/26854
9706         PR rtl-optimization/34400
9707         * ddg.c (create_ddg_dep_from_intra_loop_link): Do not use
9708         DF_RD->gen.
9709         * df.h (df_changeable_flags.DF_RD_NO_TRIM): New.
9710         (df_rd_bb_info.expanded_lr_out): New.
9711         * loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag.
9712         * loop_iv.c (iv_analysis_loop_init): Ditto.
9713         * df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
9714         df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
9715         Added code to allocate, initialize or free expanded_lr_out.
9716         (df_rd_bb_local_compute_process_def): Restructured to make
9717         more understandable.
9718         (df_rd_confluence_n): Add code to do nothing with fake edges and
9719         code to no apply invalidate_by_call sets if the sets are being trimmed.
9720         (df_lr_local_finalize): Renamed to df_lr_finalize.
9721         (df_live_local_finalize): Renamed to df_live_finalize.
9723 2008-01-20  Richard Sandiford  <rsandifo@nildram.co.uk>
9725         PR target/34831
9726         * config/mips/mips.md (div<mode>3): Use <recip_condition> when
9727         deciding whether to use reciprocal instructions.
9729 2008-01-19  Uros Bizjak  <ubizjak@gmail.com>
9731         * dwarf2out.c (dwarf2out_switch_text_section): Do not call
9732         dwarf2out_note_section_used if cold_text_section is NULL.
9734 2008-01-19  Jakub Jelinek  <jakub@redhat.com>
9736         PR gcov-profile/34610
9737         * tree-cfg.c (make_edges): Mark both outgoing edges from
9738         OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL.
9739         * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits
9740         from OMP_FOR and OMP_CONTINUE outgoing edges.
9742         * tree-profile.c (tree_profiling): Return early if
9743         cfun->after_tree_profile != 0.  Set cfun->after_tree_profile
9744         at the end.
9745         * omp-low.c (expand_omp_parallel): Copy after_tree_profile
9746         from cfun to child_cfun.
9747         * function.h (struct function): Add after_tree_profile bit.
9749 2008-01-19 Anatoly Sokolov <aesok@post.ru>
9751         * config/avr/avr.S (_exit): Disable interrupt.
9753 2008-01-18  Kenneth Zadeck  <zadeck@naturalbridge.com>
9754             Steven Bosscher  <stevenb.gcc@gmail.com>
9756         PR rtl-optimization/26854
9757         PR rtl-optimization/34400
9758         * df-problems.c (df_live_scratch): New scratch bitmap.
9759         (df_live_alloc): Allocate df_live_scratch when doing df_live.
9760         (df_live_reset): Clear the proper bitmaps.
9761         (df_live_bb_local_compute): Only process the artificial defs once
9762         since the order is not important.
9763         (df_live_init): Init the df_live sets only with the variables
9764         found live by df_lr.
9765         (df_live_transfer_function): Use the df_lr sets to prune the
9766         df_live sets as they are being computed.  
9767         (df_live_free): Free df_live_scratch.
9769 2008-01-18  Ian Lance Taylor  <iant@google.com>
9771         * common.opt: Add fmerge-debug-strings.
9772         * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test
9773         flag_merge_debug_strings rather than flag_merge_constants.
9774         * doc/invoke.texi (Option Summary): Mention
9775         -fmerge-debug-strings.
9776         (Debugging Options): Document -fmerge-debug-strings.
9778 2008-01-18  Ian Lance Taylor  <iant@google.com>
9780         PR c++/33407
9781         * tree.h (DECL_IS_OPERATOR_NEW): Define.
9782         (struct tree_function_decl): Add new field operator_new_flag.
9783         * tree-inline.c (expand_call_inline): When inlining a call to
9784         operator new, force the return value to go into a variable, and
9785         set DECL_NO_TBAA_P on that variable.
9786         * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag.
9788 2008-01-18  Uros Bizjak  <ubizjak@gmail.com>
9790         PR debug/34484
9791         * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with
9792         DWARF2_DEBUGGING_INFO.
9793         (dwarf2out_note_section_used): Ditto.  Add prototype.
9794         (have_multiple_function_sections, text_section_used,
9795         cold_text_section_used, *cold_text_sections): Move declarations
9796         before their uses.
9798 2008-01-17  Bob Wilson  <bob.wilson@acm.org>
9800         * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
9801         field and add signal_ra.
9802         * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove
9803         assignments to frame state pc.  Move end of stack check after
9804         MD_FALLBACK_FRAME_STATE_FOR.
9805         (uw_update_context_1): Use frame state signal_regs if set, instead
9806         of checking signal_frame flag.
9807         (uw_update_context): Use frame state signal_ra if set.
9808         * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define.
9809         * config/xtensa/linux-unwind.h: New file.
9811 2008-01-18  Bernhard Fischer  <aldot@gcc.gnu.org>
9813         * modulo-sched.c (get_sched_window): Fix comment typo.
9815 2008-01-17  Andrew MacLeod  <amacleod@redhat.com>
9817         PR tree-optimization/34648
9818         * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying.
9820 2008-01-17  Anatoly Sokolov <aesok@post.ru>
9822         * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around.
9823         * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add.
9825 2008-01-17  Seongbae Park  <seongbae.park@gmail.com>
9827         PR rtl-optimization/34400
9828         * df-core.c (df_worklist_dataflow_overeager,
9829         df_worklist_dataflow_doublequeue): New functions.
9830         (df_worklist_dataflow): Two different worklist solvers.
9831         * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR):
9832         New param.
9834 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
9836         PR testsuite/34821
9837         * doc/invoke.texi: Document the dependence on pthread for fopenmp
9838         and ftree-parallelize-loops.
9840 2008-01-17  Mircea Namolaru  <namolaru@il.ibm.com>
9842         PR rtl-optimization/34826
9843         * loop-doloop (doloop_modify): Update the REG_BR_PROB note.
9845 2008-01-17  Andreas Krebbel  <krebbel1@de.ibm.com>
9847         * global.c (find_reg): Mark the eh regs as used if necessary.
9848         * ra-conflict.c (global_conflicts): Set no_eh_reg flag.
9849         * ra.h (struct allocno): no_eh_reg field added.  Changed
9850         no_stack_reg type to bitfield.
9852 2008-01-17  Eric Botcazou  <ebotcazou@adacore.com>
9854         * tree.c (substitute_in_expr): Add missing 'break'.
9856 2008-01-17  Richard Guenther  <rguenther@suse.de>
9858         PR tree-optimization/34825
9859         * tree-ssa-math-opts.c (is_division_by): Do not recognize
9860         x / x as division to handle.
9862 2008-01-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9864         * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or
9865         "-pthread" is specified.
9866         * pa-hpux11.h (LIB_SPEC): Likewise.
9868 2008-01-16  Janis Johnson  <janis187@us.ibm.com>
9869             Peter Bergner  <bergner@vnet.ibm.com>
9871         PR rtl-optimization/33796
9872         * sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc.
9874 2008-01-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9876         PR libgfortran/34699
9877         * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on
9878         static links.
9879         * pa-hpux10.h (LINK_SPEC): Likewise.
9880         * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1.
9882 2008-01-16  Richard Guenther  <rguenther@suse.de>
9884         PR middle-end/32628
9885         * fold-const.c (fold_convert_const_int_from_int): Do not
9886         set overflow if that occured only because of a sign extension
9887         change when converting from/to a sizetype with the same
9888         precision and signedness.
9890 2008-01-16  Uros Bizjak  <ubizjak@gmail.com>
9892         PR debug/34249
9893         * dwarf2out.c (output_call_frame_info): Move output of FDE initial
9894         location address to the correct place.  Update copyright year.
9896 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
9898         * lambda-code.c (lambda_transform_legal_p): Handle the case of
9899         no dependences in the dependence_relations vector.
9901 2008-01-16  Jan Hubicka  <jh@suse.cz>
9903         PR rtl-optimization/31396
9904         * regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED.
9905         * cfg.c (dump_reg_info): Print it.
9906         * regs.h (struct reg_info_t): add freq_calls_crossed.
9907         (REG_FREQ_CALLS_CROSSED): New macro.
9908         * global.c (global_alloc): Compute freq_calls_crossed for allocno.
9909         (find_reg): Update call of CALLER_SAVE_PROFITABLE.
9910         * regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2,
9911         regmove_optimize): Update call crossed frequencies.
9912         * local-alloc.c (struct qty): Add freq_calls_crossed.
9913         (alloc_qty): Copute freq_calls_crossed.
9914         (update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED.
9915         (find_free_reg): Update call of CALLER_SAVE_PROFITABLE.
9916         * ra.h (struct allocno): Add freq_calls_crossed.
9918 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
9920         * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for
9921         libgomp when compiling with ftree-parallelize-loops.
9922         (GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops.
9924 2008-01-16  Richard Guenther  <rguenther@suse.de>
9926         PR tree-optimization/34769
9927         * tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458.
9928         * tree.c (int_cst_value): Instead make this function more
9929         permissive in what it accepts as valid input.  Document this
9930         function always sign-extends the value.
9932 2008-01-16  Jakub Jelinek  <jakub@redhat.com>
9933             Richard Guenther  <rguenther@suse.de>
9935         PR c/34668
9936         * gimplify.c (fold_indirect_ref_rhs): Rename to ...
9937         (gimple_fold_indirect_ref_rhs): ... this.
9938         (gimple_fold_indirect_ref): New function with foldings
9939         that preserve lvalueness.
9940         (gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs.
9941         * tree-flow.h (gimple_fold_indirect_ref): Declare.
9942         * tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref
9943         to fold an INDIRECT_REF, fall back to the old use of
9944         fold_indirect_ref_1.
9946 2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
9948         * tree-data-ref.c (subscript_dependence_tester_1): Call 
9949         free_conflict_function.
9950         (compute_self_dependence): Same.
9952 2008-01-16  Uros Bizjak  <ubizjak@gmail.com>
9954         PR debug/34249
9955         * debug.h (dwarf2out_switch_text_section): Move declaration from ...
9956         * dwarf2out.c (dwarf2out_switch_text_section): ... here.  Make
9957         function global.
9958         * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]:
9959         Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section
9960         for DWARF2_UNWIND_INFO targets.
9962 2008-01-16  Richard Guenther  <rguenther@suse.de>
9964         PR c/34768
9965         * c-typeck.c (common_pointer_type): Do not merge inconsistent
9966         type qualifiers for function types.
9968 2008-01-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
9970         * tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for
9971         loop_iterator li from previous commit.
9973 2008-01-15  Sebastian Pop  <sebastian.pop@amd.com>
9975         * tree-parloops.c (gen_parallel_loop): Free loop bound estimations.
9977 2008-01-12  Sebastian Pop  <sebastian.pop@amd.com>
9979         * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New.
9980         (parallelize_loops): Don't parallelize irreducible components.
9982 2008-01-14  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
9984         PR c++/24924
9985         * c-opts (c_common_post_options): Do not enable CPP
9986         flag_pedantic_errors by default.
9987         
9988 2008-01-14  Eric Botcazou  <ebotcazou@adacore.com>
9990         PR rtl-optimization/31944
9991         * cse.c (remove_pseudo_from_table): New function.
9992         (merge_equiv_classes): Use above function to remove pseudo-registers.
9993         (invalidate): Likewise.
9995 2008-01-13  Richard Guenther  <rguenther@suse.de>
9997         PR middle-end/34601
9998         * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE
9999         instead of TYPE_MODE to deal with calls from expand_one_error_var.
10001 2008-01-13  Uros Bizjak  <ubizjak@gmail.com>
10003         * gcse.c (cprop_jump): Call validate_unshare_change instead of
10004         validate_change to unshare the source of the PC set.
10006 2008-01-12  Jan Hubicka  <jh@suse.cz>
10008         PR middle-end/32135
10009         * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct
10010         references above array bounds.  This might trigger bounds checks for
10011         pointers to arrays.
10013 2008-01-12  Sebastian Pop  <sebastian.pop@amd.com>
10015         * tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and
10016         new_replaceable_dependencies.
10018 2008-01-12  Doug Kwan  <dougkwan@google.com>
10020         * c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers
10021         instead of OPT_Wreturn_type in warning due to ignored return type
10022         qualifiers.
10023         * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to
10024         options included in -Wextra.
10025         * c.opt: New option -Wignored_qualifiers.
10026         * doc/invoke.texi (Warning Options, -Wextra): Add new option
10027         -Wignore_qualifiers.
10028         (-Wignored-qualifiers): Document.
10029         (-Wreturn-type): Remove description of functionality now handled
10030         by -Wignored-qualifiers.
10032 2008-01-12  Eric Botcazou  <ebotcazou@adacore.com>
10034         PR ada/33788
10035         * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing
10036         NOP_EXPR if it is between integral types with the same precision.
10038 2008-01-12  Jan Hubicka  <jh@suse.cz>
10040         PR other/28023
10041         * invoke.texi (max-inline-recursive-depth): Fix default value.
10043 2008-01-12  Zdenek Dvorak  <ook@ucw.cz>
10045         * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
10046         correct type.
10048 2008-01-11  Bob Wilson  <bob.wilson@acm.org>
10049         
10050         * config/xtensa/xtensa.c (override_options): Set flag_shlib.
10051         
10052 2008-01-11  James E. Wilson  <wilson@specifix.com>
10054         PR target/26015
10055         * config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.
10057 2008-01-11  Anatoly Sokolov <aesok@post.ru>
10059         * config/avr/avr.c (expand_prologue, expand_epilogue): Don't 
10060         save/restore frame pointer register and don't use 'call-prologues' 
10061         optimization in function with "OS_task" attribute.
10063 2008-01-11  Eric Botcazou  <ebotcazou@adacore.com>
10065         PR middle-end/31309
10066         * expr.c (copy_blkmode_from_reg): Use a mode suited to the size
10067         when copying to memory.
10069 2008-01-11  Steven Bosscher  <stevenb.gcc@gmail.com>
10071         PR rtl-optimization/30905
10072         * cfgcleanup.c: Include dce.h
10073         (crossjumps_occured): New global variable.
10074         (try_crossjump_bb): Exit loop after finding a fallthru edge.
10075         If something changed, set crossjumps_occured to true.
10076         (try_optimize_cfg): Clear crossjumps_occured at the beginning.
10077         Don't add/remove fake edges to exit here...
10078         (cleanup_cfg): ...but do it here, when crossjumping.
10079         Run a fast DCE when successful crossjumps occured in the latest
10080         iteration of try_optimize_cfg.
10082 2008-01-11  Richard Guenther  <rguenther@suse.de>
10084         * tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode.
10085         (struct vn_unary_op_s): Likewise.
10086         (vn_reference_insert): Free old reference on hash collision.
10088 2008-01-10  Raksit Ashok  <raksit@google.com>
10090         PR rtl-optimization/27971
10091         * combine.c (find_split_point): Split PLUS expressions which are
10092         inside a MEM rtx, and whose first operand is complex.
10094 2008-01-10  DJ Delorie  <dj@redhat.com>
10096         * config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from...
10097         (m32c_hard_regno_nregs): ...this, which is now a wrapper.
10098         (m32c_hard_regno_ok): Call the underlying function.
10100 2008-01-10  Richard Guenther  <rguenther@suse.de>
10102         PR middle-end/34683
10103         * tree-cfg.c (tree_merge_blocks): Do not go through the
10104         full-blown folding and stmt updating path if we just deal
10105         with virtual operands.
10106         * tree-ssa-copy.c (may_propagate_copy): Do not short-cut
10107         test for abnormal SSA_NAMEs.
10109 2008-01-10  Andreas Krebbel  <krebbel1@de.ibm.com>
10111         PR middle-end/34641
10112         * reload.c (push_reload): Add assertions.  All constants from
10113         reg_equiv_constant should have been used for replacing the respective
10114         pseudo earlier.
10115         (find_reloads_address): Invoke find_reloads_address_part for
10116         constant taken from the reg_equiv_constant array.
10118 2008-01-10  Steven Bosscher  <stevenb.gcc@gmail.com>
10120         * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed
10121         field (valnum) the first in the struct.  Replace bools with
10122         unit bit fields.
10124 2008-01-10  Richard Guenther  <rguenther@suse.de>
10126         PR tree-optimization/34651
10127         * tree-sra.c (sra_build_assignment): Sanitize.  Use the correct
10128         types and ordering for masking and converting.
10130 2008-01-09  Sebastian Pop  <sebastian.pop@amd.com>
10132         PR tree-optimization/34017
10133         * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Generate code
10134         also for PHI_NODE expressions.
10136 2008-01-09  Jan Hubicka  <jh@suse.cz>
10138         PR tree-optimization/34708
10139         * tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR
10140         based on number of case labels.
10141         (init_inline_once): Remove switch_cost.
10142         * tree-inline.h (eni_weights_d): Remove switch_cost.
10144 2008-01-09  Richard Guenther  <rguenther@suse.de>
10145         Andrew Pinski  <andrew_pinski@playstation.sony.com>
10147         PR middle-end/30132
10148         * gimplify.c (gimplify_cond_expr): Do not create an addressable
10149         temporary if an rvalue is ok or an lvalue is not required.
10151 2008-01-09  Richard Guenther  <rguenther@suse.de>
10153         PR middle-end/34458
10154         * tree-data-ref.c (initialize_matrix_A): Use tree_low_cst,
10155         adjust return type.
10157 2008-01-09  Richard Guenther  <rguenther@suse.de>
10159         PR middle-end/34679
10160         * tree.c (host_integerp): Check for sizetype only if the
10161         type is an integer type.
10163 2008-01-09  Steven Bosscher  <stevenb.gcc@gmail.com>
10165         PR debug/26364
10166         * opts.c (decode_options): Disable inlining of functions called
10167         once if not in unit-at-a-time mode.
10169 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
10171         * Makefile.in (dse.o): Remove duplicate $(RECOG_H) dependency.
10173 2008-01-08  Richard Guenther  <rguenther@suse.de>
10175         PR middle-end/31863
10176         * tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail
10177         out early if the result will be unused.
10179 2008-01-08  Uros Bizjak  <ubizjak@gmail.com>
10181         PR target/34709
10182         Revert:
10184         2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
10185         * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
10186         for TARGET_RECIP.       
10187         
10188 2008-01-08  Jan Sjodin  <jan.sjodin@amd.com>
10189         
10190         * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs
10191         for vectorization tuned.
10192         
10193 2008-01-08  Richard Guenther  <rguenther@suse.de>
10195         PR tree-optimization/34683
10196         * tree-ssa-operands.c (operand_build_cmp): Export.
10197         * tree-ssa-operands.h (operand_build_cmp): Declare.
10198         * tree-vn.c (vuses_compare): Remove.
10199         (sort_vuses): Use operand_build_cmp.
10200         (sort_vuses_heap): Likewise.
10201         * tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc
10202         to re-use old VEC if available.  Do not sort already sorted VUSEs.
10203         (vdefs_to_vec): Do not sort already sorted VDEFs.
10205 2008-01-08  Jakub Jelinek  <jakub@redhat.com>
10207         PR middle-end/34694
10208         * omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION.
10210 2008-01-08  Uros Bizjak  <ubizjak@gmail.com>
10212         PR target/34702
10213         * doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document
10214         limitations of reciprocal sequences on x86 targets.
10216 2008-01-08  Richard Guenther  <rguenther@suse.de>
10218         PR tree-optimization/34683
10219         * tree-flow-inline.h (var_ann): Remove overzealous asserts.
10221 2008-01-07  Jakub Jelinek  <jakub@redhat.com>
10223         PR target/34622
10224         * config/darwin.c (darwin_mergeable_string_section): Don't use
10225         .cstring if int_size_in_bytes != TREE_STRING_LENGTH.
10227 2008-01-07  Uros Bizjak  <ubizjak@gmail.com>
10229         PR target/34682
10230         * config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and
10231         negxf2.  Macroize expander using X87MODEF mode iterator.  Change
10232         predicates of op0 and op1 to register_operand.
10233         (abs<mode>2): Rename from abssf2, absdf2 and negxf2.  Macroize
10234         expander using X87MODEF mode iterator.  Change predicates of
10235         op0 and op1 to register_operand.
10236         ("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from
10237         corresponding patterns and macroize using MODEF macro.  Change
10238         predicates of op0 and op1 to register_operand and remove
10239         "m" constraint. Disparage "r" alternative with "!".
10240         ("*absneg<mode>2_i387"): Rename from corresponding patterns and
10241         macroize using X87MODEF macro.  Change predicates of op0 and op1
10242         to register_operand and remove "m" constraint.  Disparage "r"
10243         alternative with "!".
10244         (absneg splitter with memory operands): Remove.
10245         ("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding
10246         patterns and macroize using X87MODEF mode iterator.
10247         * config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2):
10248         Change predicate of op1 to register_operand.
10249         * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support
10250         for memory operands.
10252 2008-01-07  Nathan Froyd  <froydnj@codesourcery.com>
10254         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548.
10256 2008-01-07  Richard Guenther  <rguenther@suse.de>
10258         * basic-block.h (struct edge_def): Pair dest_idx with goto_locus
10259         fields.
10261 2008-01-07  Richard Guenther  <rguenther@suse.de>
10263         PR tree-optimization/34683
10264         * tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of
10265         VOPs of the needed size to save memory.  Use VEC_quick_push
10266         to save compile-time.
10267         (vdefs_to_vec): Likewise.
10269 2008-01-07  Sa Liu  <saliu@de.ibm.com>
10271         * config/spu/spu.md (divdf3): Genetate inline code for double
10272         division.  The implementation doesn't handle INF or NAN, therefore it
10273         only applies when -ffinite-math-only is given.
10275 2008-01-06  Paolo Carlini  <pcarlini@suse.de>
10277         PR libstdc++/34680
10278         * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate.
10279         * doc/cpp.texi ([Common Predefined Macros]): Document.
10281 2008-01-06  Uros Bizjak  <ubizjak@gmail.com>
10283         * config/i386/i386.c (ix86_emit_swsqrtsf): Use negative constants in
10284         order to use commutative addition instead of subtraction.
10286 2008-01-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
10287             Mircea Namolaru  <namolaru@il.ibm.com>
10288             Vladimir Yanovsky  <yanov@il.ibm.com>
10289             Revital Eres  <eres@il.ibm.com>
10291         PR tree-optimization/34263
10292         * tree-outof-ssa.c (process_single_block_loop_latch,
10293         contains_tree_r): New functions.
10294         (analyze_edges_for_bb): Call process_single_block_loop_latch
10295         function to empty single-basic-block latch block if possible.
10297 2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
10299         * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
10300         for TARGET_RECIP.
10301         (ix86_emit_swsqrtsf): Do not filter out infinity for rsqrt expansion.
10303 2008-01-05  Richard Sandiford  <rsandifo@nildram.co.uk>
10305         * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.
10307 2008-01-05  Richard Sandiford  <rsandifo@nildram.co.uk>
10309         * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check.
10311 2008-01-05  Jakub Jelinek  <jakub@redhat.com>
10313         PR tree-optimization/34618
10314         * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P
10315         flag from T.
10317 2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
10319         PR target/34673
10320         * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands
10321         in the call to gen_rtx_NE.  Remove unneeded VECTOR_MODE_P check.
10322         Update copyright year.
10324         * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH.
10325         Update copyright year.
10326         * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand
10327         using NR fixup.
10329 2008-01-05  Zhouyi Zhou  <zhouzhouyi@FreeBSD.org>
10331         * tree-vrp.c (find_conditional_asserts): Remove redundant check that
10332         edge does not point to current bb before changing need_assert.
10334 2008-01-04  Richard Guenther  <rguenther@suse.de>
10336         PR middle-end/34029
10337         * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs
10338         for verifying purposes if they are is_gimple_min_invariant.
10340 2008-01-04  Aldy Hernandez  <aldyh@redhat.com>
10342         PR tree-optimization/34448
10343         PR tree-optimization/34465
10344         * gimplify.c (gimplify_init_constructor): Add new parameter
10345         notify_temp_creation.  Use it.
10346         (gimplify_modify_expr_rhs): Take volatiles into account when
10347         optimizing constructors.
10348         Do not optimize constructors if gimplify_init_constructor will dump to
10349         memory.
10350         * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles.
10351         * gcc.c-torture/compile/pr34448.c: New.
10353 2008-01-04  Jakub Jelinek  <jakub@redhat.com>
10355         PR gcov-profile/34609
10356         * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on
10357         return_slot if result is TREE_ADDRESSABLE.
10359 2008-01-04  Richard Sandiford  <rsandifo@nildram.co.uk>
10361         * config/mips/mips.md (sqrt_condition): Tweak comment.
10362         (recip_condition): Likewise.  Require TARGET_FLOAT64 for DFmode.
10364 2008-01-03  Tom Tromey  <tromey@redhat.com>
10366         PR c/34457
10367         * c-common.c (c_type_hash): Handle VLAs.
10369 2008-01-03  Jan Hubicka  <jh@suse.cz>
10371         PR tree-optimization/31081
10372         * tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to
10373         0 when inlining and not inlining to first basic block.
10374         (remap_decl): When var is initialized to 0, don't set default_def.
10375         (expand_call_inline): Set entry_bb.
10376         * tree-inline.h (copy_body_data): Add entry_bb.
10378 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
10380         PR c++/34619
10381         * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL
10382         before returning.
10384         PR tree-optimization/29484
10385         * tree-inline.c (inline_forbidden_p_2): New function.
10386         (inline_forbidden_p): Disallow inlining if some static var
10387         has an address of a local LABEL_DECL in its initializer.
10388         * doc/extend.texi (Labels as Values): Document &&foo behaviour
10389         vs. inlining.
10391 2008-01-03  Sebastian Pop  <sebastian.pop@amd.com>
10393         PR tree-optimization/34635
10394         * tree-data-ref.c (add_other_self_distances): Make sure that the
10395         evolution step is constant.
10397 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
10399         PR middle-end/34608
10400         * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn.
10402 2008-01-02  Richard Sandiford  <rsandifo@nildram.co.uk>
10404         * tree-sra.c (scalarize_init): Insert the generate_element_init
10405         statements after the generate_element_zero statements.
10407 2008-01-02  Richard Guenther  <rguenther@suse.de>
10409         PR middle-end/34093
10410         PR middle-end/31976
10411         * tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer
10412         for very large number of operands instead of ICEing.
10414 2008-01-02  Arthur Norman <acn1@cam.ac.uk>
10416         PR target/34013
10417         * config/i386/i386.c (ix86_expand_prologue): Save red-zone
10418         while stack probing.
10420 2008-01-01  Douglas Gregor  <doug.gregor@gmail.com>
10422         * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when
10423         in C++0x mode.
10425 2008-01-01  Volker Reichelt  <v.reichelt@netcologne.de>
10427         PR libmudflap/26442
10428         * tree-mudflap.c (mx_register_decls): Guard warning by
10429         !DECL_ARTIFICIAL check.
10431 2008-01-01  Jakub Jelinek  <jakub@redhat.com>
10433         * config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si,
10434         sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi,
10435         sse5_perm<mode>): Fix constraints.