1 2010-12-15 Joseph Myers <joseph@codesourcery.com>
3 * config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define.
4 * config.gcc (xstormy16-*-elf): Don't use svr4.h.
6 2010-12-15 Joseph Myers <joseph@codesourcery.com>
8 * config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
9 * config.gcc (rx-*-elf*): Don't use svr4.h.
11 2010-12-14 Sebastian Pop <sebastian.pop@amd.com>
13 PR tree-optimization/46845
14 * sese.c (scalar_evolution_in_region): Handle scop parameters
17 2010-12-14 Sebastian Pop <sebastian.pop@amd.com>
19 PR tree-optimization/46928
20 * tree-data-ref.c (analyze_overlapping_iterations): Handle "A[p] == A[p]"
21 in data dependence analysis with p a parameter of the loop.
23 2010-12-14 Sebastian Pop <sebastian.pop@amd.com>
25 PR tree-optimization/45948
26 * tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p): New.
27 (stmt_has_scalar_dependences_outside_loop): New.
28 (stmt_generated_in_another_partition): New.
29 (add_scalar_computations_to_partition): New.
30 (rdg_build_partitions): Call add_scalar_computations_to_partition.
32 2010-12-14 Joseph Myers <joseph@codesourcery.com>
34 * config/arc/arc.h (LIB_SPEC): Define.
35 * config.gcc (arc-*-elf*): Don't use svr4.h.
37 2010-12-14 Joseph Myers <joseph@codesourcery.com>
39 * config/sh/elf.h (LIB_SPEC): Define.
40 * config.gcc (sh-*-elf* | sh[12346l]*-*-elf* | sh-*-symbianelf* |
41 sh[12346l]*-*-symbianelf* | sh-*-linux* | sh[2346lbe]*-*-linux* |
42 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* |
43 sh5l*-*-netbsd* | sh64-*-netbsd* | sh64l*-*-netbsd*, sh-*-rtems*,
44 sh-wrs-vxworks): Don't use svr4.h.
46 2010-12-14 Jan Hubicka <jh@suse.cz>
50 * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Construct nodes
51 for aliases when they are used.
53 2010-12-14 Joseph Myers <joseph@codesourcery.com>
55 * config.gcc (sparc-*-elf*, sparc-*-rtems*, sparc-*-linux*,
56 sparc-*-netbsdelf*, sparc*-*-solaris2*, sparc-wrs-vxworks,
57 sparc64-*-elf*, sparc64-*-rtems*, sparc64-*-linux*,
58 sparc64-*-netbsd*, sparc64-*-openbsd*): Don't use svr4.h.
60 2010-12-14 Thomas Klein <th.r.klein@web.de>
62 * config/arm/arm.c (arm_expand_prologue): Report the static stack
63 size if -fstack-usage is used.
64 (thumb1_expand_prologue): Likewise.
66 2010-12-14 Jakub Jelinek <jakub@redhat.com>
69 * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Use gsi_last_bb
70 instead of gsi_last_nondebug_bb if bump_in_latch.
72 PR tree-optimization/46909
73 * gimple-fold.c (and_var_with_comparison_1): Save partial
74 result even in the is_and case, if both partial results
75 are the same, return it.
76 (or_var_with_comparison_1): Use is_or predicate instead of
77 innercode == TRUTH_OR_EXPR test. Save partial result
78 even in the is_or case, if both partial results are the
79 same, return it. In the !is_or case when both partial
80 results are the same, return the partial result instead
83 2010-12-14 Jan Hubicka <jh@suse.cz>
86 * varasm.c (assemble_start_function): Do not call resolve_unique_section.
87 * cfgexpand.c (gimple_expand_cfg): Resolve it here.
89 2010-12-14 Alexander Monakov <amonakov@ispras.ru>
91 PR rtl-optimization/46875
92 * sched-vis.c (print_pattern): Dump "sequence" for ADDR_VECs.
93 * sel-sched-ir.c (bb_has_removable_jump_to_p): Forbid table jumps.
95 2010-12-14 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
97 * config/h8300/h8300.md (define_split) : Add condition for
98 "and with single_zero" splitter to handle 16-bit const operands.
99 * config/h8300/h8300.md (define_split) : Add condition for
100 "ior with single_one" splitter to handle 16-bit const operands.
101 * config/h8300/h8300.md (define_split) : Add condition for
102 "xor with single_one" splitter to handle 16-bit const operands.
103 * testsuite/gcc.dg/h8300-bit-insn-ice.c: New.
105 2010-12-13 Jan Hubicka <jh@suse.cz>
108 * ipa.c (cgraph_build_static_cdtor_1): Break out from ... ; add FINAL parameter.
109 (cgraph_build_static_cdtor): ... here.
110 (build_cdtor): Use cgraph_build_static_cdtor_1.
112 2010-12-13 Joseph Myers <joseph@codesourcery.com>
114 * config/m32c/m32c.h (ENDFILE_SPEC, LINK_SPEC, SIZE_TYPE,
115 PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
116 * config.gcc (m32c-*-rtems*, m32c-*-elf*): Don't use svr4.h.
118 2010-12-14 Bernd Schmidt <bernds@codesourcery.com>
120 PR rtl-optimization/44374
121 Reapply patch with fixes.
122 * basic-block.h (enum bb_flags): Add BB_MODIFIED.
123 * df-core.c (df_set_bb_dirty): Set it.
124 * ifcvt.c (find_memory): Remove function.
125 (dead_or_predicable): Use can_move_insns_across.
126 * df.h (can_move_insns_across): Declare function.
127 * cfgcleanup.c (block_was_dirty): New static variable.
128 (flow_find_head_matching_sequence): Test for epilogue notes.
129 (try_crossjump_bb, try_forward_edges): Test BB_MODIFIED flag rather
130 than df_get_bb_dirty.
131 (try_head_merge_bb): New static function.
132 (try_optimize_cfg): Call it. Call df_analyze if block_was_dirty
134 * df-problems.c: Include "target.h"
135 (df_simulate_find_uses): New static function.
136 (MEMREF_NORMAL, MEMREF_VOLATILE): New macros.
137 (find_memory, find_memory_store): New static functions.
138 (can_move_insns_across): New function.
139 * Makefile.in (df-problems.o): Update dependencies.
141 2010-12-13 Joseph Myers <joseph@codesourcery.com>
143 * config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
144 (DBX_REGISTER_NUMBER): Undefine.
145 * config/xtensa/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
146 (DBX_REGISTER_NUMBER): Undefine.
147 * config.gcc (xtensa*-*-elf*, xtensa*-*-linux*): Don't use svr4.h.
149 2010-12-13 Jack Howarth <howarth@bromo.med.uc.edu>
150 Joseph Myers <joseph@codesourcery.com>
153 * system.h: Include cstring for cxx bootstrap.
155 2010-12-13 Jakub Jelinek <jakub@redhat.com>
158 * lto-streamer-out.c (output_gimple_stmt): Never replace first
159 GIMPLE_DEBUG argument with MEM_REF.
162 * var-tracking.c (emitted_notes, string_pointer_flags): Removed.
163 (emit_note_insn_var_location): Remove ENABLE_RTL_CHECKING verification.
164 (vt_emit_notes): Don't initialize and destroy emitted_notes.
166 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
169 * config.gcc (arm*-*-linux-*eabi): Use bpabi-lib.h.
170 (arm*-*-uclinux*eabi, arm*-*-eabi*): Likewise.
172 2010-12-13 Joseph Myers <joseph@codesourcery.com>
174 * config/v850/v850.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
175 WCHAR_TYPE_SIZE): Define.
176 * config.gcc (v850e1-*-*, v850e-*-*, v850-*-*): Don't use svr4.h.
178 2010-12-13 Joseph Myers <joseph@codesourcery.com>
180 * config.gcc (s390-*-linux*, s390x-*-linux*, s390x-ibm-tpf*):
183 2010-12-13 Joseph Myers <joseph@codesourcery.com>
185 * config/mn10300/linux.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
186 WCHAR_TYPE_SIZE): Undefine.
187 * config/mn10300/mn10300.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
188 WCHAR_TYPE_SIZE): Define.
189 * config.gcc (mn10300-*-*): Don't use svr4.h.
191 2010-12-13 Joseph Myers <joseph@codesourcery.com>
193 * config/m68k/linux.h (DBX_REGISTER_NUMBER): Undefine and
195 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
196 * config.gcc (m68k-*-uclinux*, m68k-*-linux*): Don't use svr4.h.
198 2010-12-13 Alexandre Oliva <aoliva@redhat.com>
201 * jump.c (mark_all_labels): Skip debug insns.
203 2010-12-13 Alexandre Oliva <aoliva@redhat.com>
206 * cfgcleanup.c (try_forward_edges): Skip debug insns.
208 2010-12-12 Jan Hubicka <jh@suse.cz>
209 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
211 * varasm.c (default_function_section): Check flag_reorder_functions
212 and targetm.have_named_sections.
213 * config/darwin.c (darwin_function_section): Check
214 flag_reorder_functions.
216 2010-12-12 Finn Thain <fthain@telegraphics.com.au>
219 * config/m68k/m68k.c (handle_move_double): Insert calls to
220 m68k_final_prescan_insn to clean up @TLS operand syntax.
222 2010-12-10 Sebastian Pop <sebastian.pop@amd.com>
224 PR tree-optimization/43023
225 * tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p):
227 (stores_zero_from_loop): Call stmt_stores_zero.
228 * tree-data-ref.h (stmt_stores_zero): New.
229 * tree-loop-distribution.c (generate_memset_zero): Do not return a
230 boolean. Call gcc_assert on stride_of_unit_type_p.
231 (generate_builtin): Call stmt_stores_zero.
232 (rdg_flag_all_uses): Removed.
233 (rdg_flag_similar_memory_accesses): Removed.
234 (build_rdg_partition_for_component): Removed parameter
235 other_stores. Removed call to rdg_flag_similar_memory_accesses.
236 (can_generate_builtin): New.
237 (similar_memory_accesses): New.
238 (fuse_partitions_with_similar_memory_accesses): New.
239 (rdg_build_partitions): Call
240 fuse_partitions_with_similar_memory_accesses.
242 2010-12-10 Jakub Jelinek <jakub@redhat.com>
244 PR rtl-optimization/46804
245 * regmove.c (optimize_reg_copy_3): Look for REG_EQUAL note
246 on the setter of src_reg rather than on insn. If it is
247 equal to the setter's original SET_SRC, replace it with its
248 zero or sign extension instead of dropping it.
250 2010-12-10 Richard Guenther <rguenther@suse.de>
253 * lto-symtab.c (lto_symtab_merge_decls_2): Avoid type warnings
255 (lto_symtab_merge_decls_1): Adjust.
257 2010-12-10 Dave Korn <dave.korn.cygwin@gmail.com>
261 * target.def (mangle_assembler_name): New target asm_out hook.
262 * targhooks.c (default_mangle_assembler_name): Add default hook
264 * targhooks.h (default_mangle_assembler_name): Add prototype.
265 * lto-symtab.c (lto_symtab_register_decl): Use new hook when
266 processing DECL_ASSEMBLER_NAMEs for lto symtabs.
267 (lto_symtab_get_resolution): Likewise.
268 (lto_cgraph_replace_node): Likewise.
269 (lto_symtab_prevailing_decl): Likewise.
270 * lto-streamer-out.c (write_symbol): Likewise.
271 * doc/tm.texi.in (TARGET_MANGLE_ASSEMBLER_NAME): Add @hook directive.
272 * doc/tm.texi: Regenerate.
273 * config/i386/cygming.h (TARGET_MANGLE_ASSEMBLER_NAME): Define to
274 point at i386_pe_mangle_assembler_name.
275 * config/i386/winnt.c (i386_pe_mangle_assembler_name): New function.
276 * config/i386/i386-protos.h (i386_pe_mangle_assembler_name): Add
279 2010-12-10 Nathan Froyd <froydnj@codesourcery.com>
281 * c-typeck.c (readonly_error): Delete.
283 2010-12-10 Jakub Jelinek <jakub@redhat.com>
285 PR rtl-optimization/46865
286 * rtl.c (rtx_equal_p_cb, rtx_equal_p): For last operand of
287 ASM_OPERANDS and ASM_INPUT if integers are different,
289 * jump.c (rtx_renumbered_equal_p): Likewise.
291 PR tree-optimization/46864
292 * tree-ssa-loop-im.c (loop_suitable_for_sm): Return false even
293 when there are EDGE_EH exit edges.
295 2010-12-10 Tobias Burnus <burnus@net-b.de>
298 * configure.ac: Handle --disable-libquadmath-support.
299 * doc/install.texi: Document --disable-libquadmath and
300 --disable-libquadmath-support
301 * configure: Regenerate.
302 * config.in: Regenerate.
304 2010-12-10 Jack Howarth <howarth@bromo.med.uc.edu>
305 Iain Sandoe <iains@gcc.gnu.org>
308 * config/darwin9.h (DSYMUTIL_SPEC): Add fortran source types.
310 2010-12-10 Iain Sandoe <iains@gcc.gnu.org>
312 * config/rs6000/rs6000.c
313 (rs6000_darwin64_record_arg_advance_recurse): Name register increment
314 explicitly. (rs6000_darwin64_record_arg_recurse): Make sure we split
315 long doubles when we run out of regs. Also flag that this requires
316 stack and therefore cannot be returned by value.
317 (rs6000_darwin64_record_arg): Update comment.
318 (rs6000_function_value): Likewise.
320 2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
322 * c-parser.c (c_parser_objc_class_definition): Recognize
323 Objective-C 2.0 class extensions.
325 2010-12-10 Iain Sandoe <iains@gcc.gnu.org>
327 * config/darwin.c: Remove c-tree.h and c-lang.h
328 * config/t-darwin: Remove dependencies on c-tree.h and c-lang.h.
330 2010-12-10 Joern Rennecke <amylaar@spamcop.net>
333 * doc/tm.texi: Regenerate.
334 * target.def: Fix "preferred" spelling. Refer to rclass by its
336 * config/arm/arm.c (arm_preferred_rename_class): Rename parameter class
339 2010-12-09 Paul Koning <ni1d@arrl.net>
341 * config/pdp11/pdp11-protos.h (output_move_double,
342 output_move_quad): Delete.
343 (output_move_multiple, pdp11_expand_operands): New functions.
344 (pdp11_action, pdp11_partorder): New enums.
345 * config/pdp11/pdp11.md (movdi, movsi, movdf, movsf): Use
346 output_move_multiple.
347 (adddi3, subdi3, negdi2): New patterns.
348 (addsi3, subsi3, negsi2): Use pdp11_expand_operands.
350 (neghi2, negqi2): Use PDPint iterator.
351 * config/pdp11/pdp11.c (find_addr_reg, output_move_double,
352 output_move_quad): Delete.
353 (pdp11_expand_operands, output_move_multiple): New functions.
355 2010-12-09 Joseph Myers <joseph@codesourcery.com>
357 * config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
358 * config.gcc (vax-*-linux*): Don't use svr4.h.
360 2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
362 * c-typeck.c (build_indirect_ref): Call invalid_indirection_error.
364 2010-12-09 Joseph Myers <joseph@codesourcery.com>
366 * doc/extend.texi (Attribute Syntax): Correct description of
367 attributes in pointer declarators.
369 2010-12-09 Joseph Myers <joseph@codesourcery.com>
371 * config/mips/vxworks.h (DBX_REGISTER_NUMBER): Undefine.
372 * config.gcc (mips64*-*-linux* | mipsisa64*-*-linux*,
373 mips*-*-linux*, mips-wrs-vxworks): Don't use svr4.h.
375 2010-12-09 Joseph Myers <joseph@codesourcery.com>
377 * config/mep/mep.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
378 WCHAR_TYPE_SIZE): Define.
379 * config.gcc (mep-*-*): Don't use svr4.h.
381 2010-12-09 Joseph Myers <joseph@codesourcery.com>
383 * config/mcore/mcore.h (PTRDIFF_TYPE, WCHAR_TYPE,
384 WCHAR_TYPE_SIZE): Define.
385 * config/svr3.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
386 WCHAR_TYPE_SIZE): Don't define.
387 * config.gcc (mcore-*-elf): Don't use svr4.h.
389 2010-12-09 Joseph Myers <joseph@codesourcery.com>
391 * config.gcc (m32r-*-elf*, m32rle-*-elf*, m32r-*-rtems*,
392 m32r-*-linux*, m32rle-*-linux*): Don't use svr4.h.
394 2010-12-09 Joseph Myers <joseph@codesourcery.com>
396 * config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
397 WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
398 * config.gcc (iq2000*-*-elf*): Don't use svr4.h.
400 2010-12-09 Joseph Myers <joseph@codesourcery.com>
402 * config.gcc (ia64*-*-linux*, ia64*-*-hpux*): Don't use svr4.h.
404 2010-12-09 Joseph Myers <joseph@codesourcery.com>
406 * config/pa/pa32-linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
407 * config.gcc (hppa*64*-*-linux*, hppa*-*-linux*): Don't use
410 2010-12-09 Joseph Myers <joseph@codesourcery.com>
412 * config/moxie/moxie.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
413 WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
414 * config/moxie/rtems.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
415 WCHAR_TYPE, WCHAR_TYPE_SIZE): Undefine.
416 * config.gcc (moxie-*-elf, moxie-*-uclinux*): Don't use svr4.h.
418 2010-12-09 Joseph Myers <joseph@codesourcery.com>
420 * config/frv/frv.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
421 WCHAR_TYPE_SIZE): Define.
422 * config.gcc (frv-*-elf, frv-*-*linux*): Don't use svr4.h.
424 2010-12-09 Joseph Myers <joseph@codesourcery.com>
426 * config/fr30/fr30.h (LIB_SPEC, LINK_SPEC, SIZE_TYPE,
427 PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
428 * config.gcc (fr30-*-elf): Don't use svr4.h.
430 2010-12-09 Joseph Myers <joseph@codesourcery.com>
432 * config/cris/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
433 * config.gcc (crisv32-*-linux* | cris-*-linux*): Don't use svr4.h.
435 2010-12-09 Richard Guenther <rguenther@suse.de>
438 * gimple-fold.c (canonicalize_constructor_val): Canonicalize
441 2010-12-09 Joseph Myers <joseph@codesourcery.com>
443 * config/i386/netware.h (TARGET_POSIX_IO): Define.
444 * config/i386/nto.h (TARGET_POSIX_IO): Define.
445 * config/ia64/hpux.h (TARGET_POSIX_IO): Define.
446 * config/moxie/moxie.h (TARGET_POSIX_IO): Don't undefine.
447 * config/openbsd.h (TARGET_POSIX_IO): Define.
448 * config/rtems.h (TARGET_POSIX_IO): Define.
449 * config/sh/embed-elf.h (TARGET_POSIX_IO): Don't undefine.
450 * config/sol2.h (TARGET_POSIX_IO): Define.
451 * config/svr4.h (TARGET_POSIX_IO): Don't define.
452 * config/vxworksae.h (TARGET_POSIX_IO): Define.
454 2010-12-09 Joseph Myers <joseph@codesourcery.com>
456 * config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
457 * config/ia64/hpux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
459 * config/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
461 * config/mips/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
463 * config/mips/netbsd.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
465 * config/rs6000/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
467 * config/rs6000/linux64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
469 * config/sol2.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
470 * config/sparc/netbsd-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
472 * config/sparc/openbsd64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
474 * config/sparc/sp64-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
476 * config/svr4.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
478 * config/xtensa/elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
481 2010-12-09 Joseph Myers <joseph@codesourcery.com>
483 * config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
485 * config/m68k/netbsd-elf.h (AS_NEEDS_DASH_FOR_PIPED_INPUT):
487 * config/m68k/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
488 * config/mips/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
489 * config/sol2.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
491 * config/sparc/sparc.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
492 * config/svr4.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
494 2010-12-09 Martin Jambor <mjambor@suse.cz>
496 * ipa-prop.c (compute_complex_ancestor_jump_func): Work also if the
497 zero is the first phi parameter.
499 2010-12-09 Martin Jambor <mjambor@suse.cz>
501 * ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type.
502 * ipa-prop.c (ipa_modify_call_arguments): Use it.
503 * tree-sra.c (splice_param_accesses): Test that all accesses have the
504 same alias reference type.
505 (turn_representatives_into_adjustments): Set alias_ptr_type of the
508 2010-12-09 Martin Jambor <mjambor@suse.cz>
511 * tree-sra.c (splice_param_accesses): Check that there are not
512 multiple ADDRESSABLE types.
514 2010-12-09 Joseph Myers <joseph@codesourcery.com>
516 * config/arc/arc.h (ASM_SPEC): Remove %{v}.
517 * config/bfin/bfin.h (ASM_SPEC): Remove %{v}.
518 * config/cris/cris.h (ASM_SPEC): Remove %{v:-v}.
519 * config/fr30/fr30.h (ASM_SPEC): Remove %{v}.
520 * config/frv/frv.h (ASM_SPEC): Remove %{v}.
521 * config/i386/linux.h (ASM_SPEC): Remove %{v}.
522 * config/i386/linux64.h (ASM_SPEC): Remove %{v}.
523 * config/i386/mingw-w64.h (ASM_SPEC): Remove %{v}.
524 * config/i386/sol2-10.h (ASM_SPEC): Remove %{v}.
525 * config/i386/vxworks.h (ASM_SPEC): Remove %{v}.
526 * config/i386/x86-64.h (ASM_SPEC): Remove %{v}.
527 * config/lm32/lm32.h (ASM_SPEC): Remove %{v}.
528 * config/m32r/m32r.h (ASM_SPEC): Remove %{v}.
529 * config/m68k/linux.h (ASM_SPEC): Remove %{v:-V}.
530 * config/microblaze/microblaze.h (ASM_SPEC): Remove %{v}.
531 * config/mips/mips.h (ASM_SPEC): Remove %{v}.
532 * config/mips/vxworks.h (ASM_SPEC): Remove %{v}.
533 * config/pa/pa-linux.h (ASM_SPEC): Remove %{v:-V}.
534 * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Remove %{v}.
535 * config/rs6000/linux64.h (ASM_SPEC): Remove %{v:-V}.
536 * config/rs6000/vxworks.h (ASM_SPEC): Remove %{v:-v}.
537 * config/sparc/openbsd64.h (ASM_SPEC): Remove %{v:-V}.
538 * config/svr4.h (SVR4_ASM_SPEC): Remove %{v:-V}.
539 * config/xtensa/elf.h (ASM_SPEC): Remove %{v}.
540 * config/xtensa/linux.h (ASM_SPEC): Remove %{v}.
542 2010-12-09 Joseph Myers <joseph@codesourcery.com>
544 * config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.
545 * config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}.
546 * config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not
548 * config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Use %{r:} not
550 * config/sparc/openbsd64.h (LINK_SPEC): Use %{r:} not %{r*:}.
551 * config/vax/netbsd-elf.h (LINK_SPEC): Use %{r:} not %{r*:}.
553 2010-12-09 Joseph Myers <joseph@codesourcery.com>
555 * config/alpha/freebsd.h (LINK_SPEC): Don't use
557 * config/alpha/linux-elf.h (LINK_SPEC): Likewise.
558 * config/arm/freebsd.h (LINK_SPEC): Likewise.
559 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Likewise.
560 * config/bfin/linux.h (LINK_SPEC): Likewise.
561 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Likewise.
562 * config/frv/linux.h (LINK_SPEC): Likewise.
563 * config/i386/freebsd.h (LINK_SPEC): Likewise.
564 * config/i386/freebsd64.h (LINK_SPEC): Likewise.
565 * config/i386/linux.h (LINK_SPEC): Likewise.
566 * config/i386/linux64.h (LINK_SPEC): Likewise.
567 * config/i386/openbsdelf.h (LINK_SPEC): Likewise.
568 * config/ia64/freebsd.h (LINK_SPEC): Likewise.
569 * config/ia64/linux.h (LINK_SPEC): Likewise.
570 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
571 * config/m32r/linux.h (LINK_SPEC): Likewise.
572 * config/m68k/linux.h (LINK_SPEC): Likewise.
573 * config/microblaze/linux.h (LINK_SPEC): Likewise.
574 * config/mips/linux.h (LINK_SPEC): Likewise.
575 * config/mips/linux64.h (LINK_SPEC): Likewise.
576 * config/mips/openbsd.h (LINK_SPEC): Likewise.
577 * config/mn10300/linux.h (LINK_SPEC): Likewise.
578 * config/netbsd-elf.h (LINK_SPEC): Likewise.
579 * config/pa/pa-linux.h (LINK_SPEC): Likewise.
580 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32,
581 LINK_OS_LINUX_SPEC64): Likewise.
582 * config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC,
583 LINK_OS_LINUX_SPEC, LINK_OS_GNU_SPEC, LINK_OS_NETBSD_SPEC):
585 * config/s390/linux.h (LINK_SPEC): Likewise.
586 * config/sh/linux.h (SUBTARGET_LINK_SPEC): Likewise.
587 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
588 * config/sparc/linux.h (LINK_SPEC): Likewise.
589 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
590 LINK_SPEC): Likewise.
591 * config/sparc/openbsd64.h (LINK_SPEC): Likewise.
592 * config/vax/linux.h (LINK_SPEC): Likewise.
593 * config/xtensa/linux.h (LINK_SPEC): Likewise.
595 2010-12-09 Joseph Myers <joseph@codesourcery.com>
597 * config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}.
598 * config/frv/frv.h (ASM_SPEC): Likewise.
599 * config/i386/sol2-10.h (ASM_SPEC): Likewise.
600 * config/i386/sol2.h (ASM_SPEC): Likewise.
601 * config/m68k/linux.h (ASM_SPEC): Likewise.
602 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
603 * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
604 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
605 * config/sol2.h (ASM_SPEC): Likewise.
606 * config/sparc/linux.h (ASM_SPEC): Likewise.
607 * config/sparc/linux64.h (ASM_SPEC): Likewise.
608 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
609 * config/sparc/sysv4.h (ASM_SPEC): Likewise.
610 * config/svr4.h (SVR4_ASM_SPEC): Likewise.
612 2010-12-09 Richard Guenther <rguenther@suse.de>
614 * reginfo.c (struct subregs_of_mode_node): Remove.
615 (subregs_of_mode): Likewise.
616 (som_hash): Likewise.
618 (invalid_mode_changes): New bitmap.
619 (record_subregs_of_mode): Get subregs_of_mode argument.
620 Fill in invalid_mode_changes bitmap.
621 (find_subregs_of_mode): Get subregs_of_mode argument and pass
623 (init_subregs_of_mode): Adjust.
624 (finish_subregs_of_mode): Likewise.
625 (invalid_mode_change_p): Query invalid_mode_changes bitmap.
627 2010-12-09 Richard Guenther <rguenther@suse.de>
629 * ira.c (ira): Do not call finish_subregs_of_mode.
630 * ira-costs.c (finish_costs): Call finish_subregs_of_mode.
632 2010-12-09 Richard Guenther <rguenther@suse.de>
634 * rtl.h (invalid_mode_change_p): Adjust prototype.
635 * reginfo.c (invalid_mode_change_p): Remove from argument.
636 * ira-costs.c (print_allocno_costs): Adjust callers.
637 (find_costs_and_classes): Likewise.
639 2010-12-09 Jakub Jelinek <jakub@redhat.com>
641 * config/s390/s390.md (*mov<mode>cc): Change lgoc and stgoc to
642 locg and stocg even in comment.
643 (sync_old_<atomic><mode>): Give mode to UNSPEC_VOLATILE.
646 * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Use stvx
648 (altivec_expand_stv_builtin): For op0 use mode of operand 1 instead
650 * config/rs6000/altivec.md (VI_scalar): New mode attr.
651 (altivec_stve<VI_char>x, *altivec_stvesfx): Use scalar instead of
652 vector mode for operand 0, put operand 1 into UNSPEC.
654 2010-12-09 Yao Qi <yao@codesourcery.com>
656 * config/arm/arm.c (arm_preferred_rename_class): Implement targethook
657 PREFERRED_RENAME_CLASS.
659 2010-12-08 Ian Lance Taylor <iant@google.com>
661 * doc/sourcebuild.texi (Front End): Remove reference to
662 snapshot-README and snapshot-index.html.
664 2010-12-08 Ian Lance Taylor <iant@google.com>
666 * doc/sourcebuild.texi (Texinfo Manuals): Change update_web_docs
667 to update_web_docs_svn.
668 (Front End): Likewise.
670 2010-12-08 Iain Sandoe <iains@gcc.gnu.org>
672 gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and
673 x86_64-*-darwin* to with_cpu:-core2.
674 gcc/config/i386/mmx.md (*mov<mode>_internal_rex64): Replace movq
675 with movd for darwin assembler.
676 gcc/config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto.
677 (*vec_concatv2di_rex64_sse): Ditto.
679 2010-12-08 Richard Guenther <rguenther@suse.de>
680 Sebastian Pop <sebastian.pop@amd.com>
682 PR tree-optimization/45230
683 PR tree-optimization/45231
684 PR tree-optimization/45370
685 * sese.c (rename_uses): Returns a bool. Call
686 recompute_tree_invariant_for_addr_expr only on the RHS of a
688 (graphite_copy_stmts_from_block): Call fold_stmt_inplace when
689 rename_uses returns true.
690 * tree-ssa-copy.c (replace_exp): Add a comment about calling
691 fold_stmt_inplace after replace_exp.
693 2010-12-08 Mike Stump <mikestump@comcast.net>
696 * config/darwin.h (COLLECT_RUN_DSYMUTIL): Add.
697 (DSYMUTIL_SPEC): Use `linker' flags instead to handle lto better.
698 * config/darwin9.h (COLLECT_RUN_DSYMUTIL): Add.
699 (DSYMUTIL_SPEC): Use `linker' flags instead to handle lto better.
700 * collect2.c (post_ld_pass): Add.
702 (maybe_run_lto_and_relink): Call post_ld_pass after ld.
703 (main): Likewise. Call process_args.
705 2010-12-08 Jakub Jelinek <jakub@redhat.com>
708 * regrename.c (check_new_reg_p): Add ATTRIBUTE_UNUSED to reg
711 2010-12-08 Richard Earnshaw <rearnsha@arm.com>
714 * arm.c (thumb2_reorg): Also try to reduce <commutative_op> Rd, Rn, Rd
715 into a 16-bit instruction.
717 2010-12-08 Michael Meissner <meissner@linux.vnet.ibm.com>
720 * builtins.c (expand_builtin_pow_root): Don't optimize pow(x,y)
721 where y is 0.25, 1./6., or 0.75 if the target does not have a sqrt
722 instruction, but do optimize if y is 0.5 or 1./3. since that
723 changes an expensive call into a cheaper one.
725 2010-12-08 Richard Guenther <rguenther@suse.de>
727 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use a shift
728 instead of a division to divide by BITS_PER_UNIT.
730 2010-12-08 Richard Guenther <rguenther@suse.de>
732 * gimplify.c (gimple_tree_eq): Assert hashes are equal only
733 when checking is enabled.
735 2010-12-07 Andrey Belevantsev <abel@ispras.ru>
738 * haifa-sched.c (sched_create_recovery_edges): Update
740 * sel-sched-ir.c (maybe_tidy_empty_bb): Update dominator info
741 after deleting an empty block.
742 (tidy_control_flow): Also verify dominators.
743 (sel_remove_bb): Update dominator info after removing a block.
744 (sel_redirect_edge_and_branch_force): Assert that no unreachable
745 blocks will be created. Update dominator info.
746 (sel_redirect_edge_and_branch): Update dominator info when
747 basic blocks do not become unreachable.
748 (sel_remove_loop_preheader): Update dominator info.
750 2010-12-07 Richard Guenther <rguenther@suse.de>
752 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref):
753 Reset alignment information.
754 (bump_vector_ptr): Likewise.
756 2010-12-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
760 * config/pa/pa.c (pa_function_section): New function.
761 (TARGET_ASM_FUNCTION_SECTION): Define.
763 2010-12-07 Ian Lance Taylor <iant@google.com>
764 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
767 * configure.ac: Disable AC_MSG_ERROR while looking for the C++
769 * configure: Rebuild.
771 2010-12-07 Paul Koning <ni1d@arrl.net>
773 * config/pdp11/pdp11.c (output_addr_const_pdp11): Output negative
774 values with sign rather than as unsigned.
776 2010-12-07 Paul Koning <ni1d@arrl.net>
778 * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.
779 (pdp11_function_section): New function.
781 2010-12-07 Joseph Myers <joseph@codesourcery.com>
783 * config/mcore/mcore.c Don't include assert.h.
784 (layout_mcore_frame, handle_structs_in_regs): Use gcc_assert.
785 * config/spu/spu.c: Don't include assert.h.
786 (spu_sms_res_mii): Use gcc_assert.
788 2010-12-07 Sebastian Pop <sebastian.pop@amd.com>
790 PR tree-optimization/42327
791 * tree-data-ref.c (omega_setup_subscript): Call build_int_cst
792 instead of using integer_minus_one_node.
794 2010-12-07 Nathan Froyd <froydnj@codesourcery.com>
797 * params.def (CXX_MAX_NAMESPACES_FOR_DIAGNOSTIC_HELP): New parameter.
798 * doc/invoke.texi (cxx-max-namespaces-for-diagnostic-help): Document.
800 2010-12-07 Richard Guenther <rguenther@suse.de>
802 PR tree-optimization/46832
803 * tree-ssa-math-opts.c (execute_optimize_widening_mul): Check
804 that the call has a lhs.
806 2010-12-07 Yao Qi <yao@codesourcery.com>
808 * Makefile.in: Add $(TARGET_H) to the regrename.o rule.
809 * regrename.c (struct du_head): Add new element length.
810 (sort_du_head, get_element, merge, merge_sort_comparison):
811 New functions of merge sort implementation to du_head list.
812 (regrename_optimize): Sort du_head linked list by length.
813 Iterate registers in a preferred-register-first order.
814 Move some code to ...
815 (check_new_reg_p): here. New function.
816 (create_new_chain): Initialize length.
817 (scan_rtx_reg): Increase length for non-debug insns.
818 * target.def: New hook preferred_rename_class.
819 * targhook.c (default_preferred_rename_class): New.
820 * targhook.h: Declare it.
821 * doc/tm.texi.in: New hook TARGET_PREFERRED_RENAME_CLASS.
822 * doc/tm.texi: Regenerate.
824 2010-12-07 Jakub Jelinek <jakub@redhat.com>
827 * tree-parloops.c (separate_decls_in_region): Use UNKNOWN_LOCATION
828 instead of BUILTINS_LOCATION.
829 (create_loop_fn): Add LOC argument, pass it to build_decl instead of
831 (create_parallel_loop): Add LOC argument, use it for OMP clauses
832 and GIMPLE_*OMP* statements.
833 (gen_parallel_loop): Determine locus for the parallel loop, pass it
834 to create_loop_fn and create_parallel_loop.
835 * cfgexpand.c (gimple_expand_cfg): For builtin functions, call
836 set_curr_insn_source_location (UNKNOWN_LOCATION).
838 2010-12-07 Joern Rennecke <amylaar@spamcop.net>
839 Richard Guenther <rguenther@suse.de>
842 * config/bfin/bfin.c (BB_AUX_INDEX): Cast to intptr_t.
843 (bfin_reorder_loops): Change type of index to intptr_t.
845 2010-12-07 Richard Guenther <rguenther@suse.de>
847 PR tree-optimization/46726
848 * tree-inline.c (estimate_num_insns): Special case pow (x, 2.0).
850 2010-12-07 Richard Guenther <rguenther@suse.de>
852 * tree-ssa-math-opts.c (execute_optimize_widening_mul): Unlink
855 2010-12-07 Nicola Pero <nicola.pero@meta-innovation.com>
857 * c-parser.c (c_parser_typeof_specifier): Removed special
858 treatment of objc_volatilized attribute for Objective-C.
860 2010-12-06 Vladimir Makarov <vmakarov@redhat.com>
862 * ira.c (update_equiv_regs): Prohibit move insns if
863 pressure-sensitive scheduling was done.
865 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
867 * c-parser.c (c_parser_for_statement): Use c_fully_fold() instead
868 of c_process_expr_stmt() for the iterating and collection
869 expressions of an Objective-C fast enumeration loop.
871 2010-12-06 Jakub Jelinek <jakub@redhat.com>
874 * dwarf2out.c (modified_type_die): If both is_const_type and
875 is_volatile_type is set, start with DW_TAG_const_type or
876 DW_TAG_volatile_type depending on where we get qualified type
877 in the recursive call.
880 * config/ia64/ia64.c (rtx_needs_barrier): Handle asm CLOBBER
881 as a store into that register.
883 PR tree-optimization/46528
885 * profile.c (branch_prob): Make sure last is never set to a debug
889 * reginfo.c (init_subregs_of_mode): Don't call find_subregs_of_mode
892 PR rtl-optimization/46777
893 * cfglayout.c (duplicate_insn_chain): Avoid duplicating
894 also barrier after tablejump.
896 2010-12-06 Joern Rennecke <amylaar@spamcop.net>
897 Richard Henderson <rth@redhat.com>
900 * config/vax/vax.c (vax_output_int_move): Fold #if into if.
902 2010-12-06 Eric Botcazou <ebotcazou@adacore.com>
904 * config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.
905 * config/sparc/sol2-gas.h (PUSHSECTION_FORMAT): Redefine.
907 2010-12-06 Joern Rennecke <amylaar@spamcop.net>
910 * config/frv/predicates.md (gpr_or_int12_operand): Use IN_RANGE.
911 (gpr_fpr_or_int12_operand, gpr_or_int10_operand): Likewise.
912 (int12_operand, int_2word_operand, uint16_operand): Likewise.
913 (fpr_or_int6_operand, int6_operand, int5_operand): Likewise.
914 (uint5_operand, uint4_operand): Likewise.
915 * config/frv/frv.h (IN_RANGE_P): Delete.
916 (GPR_P, FPR_P, CC_P, ICC_P, FCC_P, CR_P, ICR_P, FCR_P): Use IN_RANGE.
917 (ACC_P, ACCG_P, SPR_P, CONST_OK_FOR_I, CONST_OK_FOR_J): Likewise.
918 (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise.
919 (CONST_OK_FOR_P): Likewise.
920 * config/frv/frv.md (*movqicc_internal2_int): Likewise.
921 (*movqicc_internal2_float, *movhicc_internal2_int): Likewise.
922 (*movhicc_internal2_float, *movsicc_internal2_int): Likewise.
923 (*movsicc_internal2_float, casesi): Likewise.
924 * config/frv/frv.c (frv_frame_offset_rtx): Likewise.
925 (frv_asm_output_mi_thunk, frv_legitimate_address_p_1): Likewise.
926 (frv_emit_movsi, output_move_single, frv_emit_cond_move): Likewise.
927 (frv_split_cond_move, frv_rtx_costs): Likewise.
930 * config/mmix/mmix.c (mmix_intval): Split shift count.
932 2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
934 * config/i386/i386.c (m_COREI7): New.
935 (initial_ix86_tune_features): Turn on
936 X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL and
937 X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL for Core i7.
939 2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
941 * config.gcc: Allow corei7-avx for --with-arch/--with-cpu.
943 * config/i386/driver-i386.c (host_detect_local_cpu): Support
946 * config/i386/i386.c (override_options): Handle "corei7-avx".
948 * doc/invoke.texi: Document corei7-avx.
950 2010-12-06 Richard Guenther <rguenther@suse.de>
952 PR tree-optimization/46806
953 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do not
954 coalesce different types.
956 2010-12-06 Richard Guenther <rguenther@suse.de>
958 PR tree-optimization/46785
959 * tree-vect-loop.c (vect_is_simple_reduction_1): Also allow
960 call statements as operand definition.
962 2010-12-06 Mingjie Xing <mingjie.xing@gmail.com>
964 * doc/tm.texi.in: Fix typo.
965 * doc/tm.texi: Regenerate.
967 2010-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
969 * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]: Fix typo in
972 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
974 * c-family/c-common.h: Removed the declarations of all the objc_
975 callbacks, and moved them into c-objc.h. Removed
976 objc_ivar_visibility_kind and moved it into c-objc.h.
977 * c-family/c-objc.h: New file.
978 * c-family/c-common.c: Include c-objc.h.
979 * c-family/c-format.c: Same change.
980 * c-family/stub-objc.c: Same change.
981 * c-decl.c: Include c-family/c-objc.h.
982 * c-parser.c: Same change.
983 * c-typeck.c: Same change.
984 * c-config-lang.in (gtfiles): Added c-family/c-objc.h.
985 * Makefile.in (c-decl.o): Depend on c-family/c-objc.h.
986 (c-parser.o): same change.
987 (c-typeck.o): Same change.
988 (c-family/c-format.o): Same change.
989 (c-family/stub-objc.o): Same change.
990 (c-family/c-common.o): Same change.
991 (PLUGIN_HEADERS): Added c-family/c-objc.h.
993 2010-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
995 * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]: Ignore
996 --with-dwarf2 option.
998 2010-12-03 Jan Hubicka <jh@suse.cz>
1000 * lto-streamer-in.c (input_cfg): Fix pasto.
1002 2010-12-03 Jan Hubicka <jh@suse.cz>
1004 * ipa.c (cgraph_externally_visible_p): Do not localize builtins
1005 and functions with user asm defined names.
1006 (varpool_externally_visible_p): Do not localize vars with user
1009 2010-12-03 Jan Hubicka <jh@suse.cz>
1011 * dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME
1012 to prevent mangling with lto frontend.
1014 2010-12-03 Jan Hubicka <jh@suse.cz>
1016 * Makefile.in (LTO_STREAMER_H): Add GCOV_IO_H.
1017 * lto-cgraph.c (merge_profile_summaries): Fix thinko.
1019 2010-12-03 Jan Hubicka <jh@suse.cz>
1021 PR tree-optimization/46760
1022 * cgraph.c (cgraph_create_node): Initialize count_materialization_scale.
1023 * cgraph.h (struct cgraph_node): Add count_materialization_scale.
1024 * lto-cgraph.c (lto_output_edge): Fix assert.
1025 (lto_output_node): Output count_materialization_scale.
1026 (output_profile_summary): Output only runs and sum_max.
1027 (input_node): Input count_materialization_scale.
1028 (input_profile_summary): Read data into file specific gcov summary.
1029 (merge_profile_summaries): New function.
1030 (input_cgraph): Update call of input_profile_summary;
1031 call merge_profile_summaries.
1032 * lto-streamer-in.c (input_cfg): Add count_materialization_scale arg;
1033 rescale counts at read in.
1034 (intput_bb): Likewise.
1035 (input_function): Update call of input_bb.
1036 (lto_read_body): Update call of input_cfg.
1037 * lto-streamer.h: Inlclude gcov-io.h
1038 (lto_file_decl_data): Add gcov_ctr_summary.
1040 2010-12-03 Dave Korn <dave.korn.cygwin@gmail.com>
1042 * doc/tm.texi.in (Cond. Exec. Macros): Rename node from this ...
1043 (Cond Exec Macros): ... to this.
1044 * doc/tm.texi: Regenerate.
1046 2010-12-03 Jason Merrill <jason@redhat.com>
1049 * dwarf2out.c (gen_tagged_type_die): Don't put local types in
1052 2010-12-03 Nathan Froyd <froydnj@codesourcery.com>
1054 * config/arm/arm.c (arm_legitimate_index_p): Split
1055 VALID_NEON_QREG_MODE and VALID_NEON_DREG_MODE cases. Permit
1056 slightly larger constants in the latter case.
1057 (thumb2_legitimate_index_p): Likewise.
1059 2010-12-03 Joseph Myers <joseph@codesourcery.com>
1061 * common.opt (N, Q, Qn, Qy, Z, n, r, s, t): New options.
1062 * gcc.c (cc1_options): Add %{Qy:}.
1064 2010-12-03 Joseph Myers <joseph@codesourcery.com>
1066 * gcc.c (LINK_COMMAND_SPEC): Don't handle -A, -d or -m.
1067 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
1068 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
1070 2010-12-03 Alexander Monakov <amonakov@ispras.ru>
1072 PR rtl-optimization/45354
1073 * sel-sched-ir.c (jump_leads_only_to_bb_p): Rename to ...
1074 (bb_has_removable_jump_to_p): This. Update all callers. Make static.
1075 Allow BBs ending with a conditional jump. Forbid EDGE_CROSSING jumps.
1076 * sel-sched-ir.h (jump_leads_only_to_bb_p): Delete prototype.
1078 2010-12-03 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1080 * basic-block.h (struct edge_prediction): Remove forward
1082 * tree-flow.h (struct edge_prediction): Move from here...
1083 * predict.c (struct edge_prediction): ...to here.
1084 * cselib.h (struct elt_list): Move from here...
1085 * cselib.c (struct elt_list): ...to here.
1087 2010-12-02 Ian Lance Taylor <iant@google.com>
1089 * gcc.c (default_compilers): Add entry for ".go".
1090 * common.opt: Add -static-libgo as a driver option.
1091 * doc/install.texi (Configuration): Mention libgo as an option for
1092 --enable-shared. Mention go as an option for --enable-languages.
1093 * doc/invoke.texi (Overall Options): Mention .go as a file name
1094 suffix. Mention go as a -x option.
1095 * doc/frontends.texi (G++ and GCC): Mention Go as a supported
1097 * doc/sourcebuild.texi (Top Level): Mention libgo.
1098 * doc/standards.texi (Standards): Add section on Go language.
1099 Move references for other languages into their own section.
1100 * doc/contrib.texi (Contributors): Mention that I contributed the
1103 2010-12-03 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1105 * tree.h (struct call_expr_arg_iterator_d): Remove GTY tag.
1106 (const_call_expr_arg_iterator_d): Likewise.
1107 (expanded_location): Likewise.
1108 * c-tree.h (struct c_arg_tag_d): Likewise.
1109 * dwarf2out.c (struct cfa_loc): Likewise.
1110 (struct skeleton_chain_struct): Likewise.
1111 * except.c (struct ttypes_filter): Likewise.
1112 * cselib.h (struct cselib_val_struct): Likewise.
1113 (elt_loc_list): Likewise.
1114 (elt_list): Likewise.
1115 * varasm.c (struct addr_const): Likewise.
1116 * tree-flow.h (struct edge_prediction): Likewise.
1117 (struct int_tree_map): Likewise.
1118 (struct _edge_var_map): Likewise.
1120 2010-12-02 H.J. Lu <hongjiu.lu@intel.com>
1123 * config/i386/i386.c (initial_ix86_tune_features): Turn on
1124 X86_TUNE_INTER_UNIT_MOVES for Core 2 and Core i7.
1126 2010-12-02 H.J. Lu <hongjiu.lu@intel.com>
1128 * config.gcc: Allow corei7 for --with-arch=/--with-cpu=.
1130 2010-12-02 Ian Lance Taylor <iant@google.com>
1132 * configure.ac: AC_DEFINE ENABLE_BUILD_WITH_CXX. Check for C++
1133 header files unordered_map, tr1/unordered_map, and ext/hash_map.
1134 * configure, config.in: Rebuild.
1136 2010-11-02 Eric Botcazou <ebotcazou@adacore.com>
1139 * config/sparc/sparc.c (can_use_mov_pic_label_ref): New predicate.
1140 (sparc_expand_move): Call it to decide whether to emit the special
1141 mov{si,di}_pic_label_ref patterns.
1142 (sparc_legitimize_pic_address): Call it to decide whether to emit
1143 the regular PIC sequence for labels. Fix long line.
1144 (sparc_file_end): Set is_thunk for the PIC helper.
1146 2010-12-02 Eric Botcazou <ebotcazou@adacore.com>
1148 * tree.c (build_range_type_1): Do not SET_TYPE_STRUCTURAL_EQUALITY
1149 for a non-shared type.
1151 2010-12-02 Sebastian Pop <sebastian.pop@amd.com>
1154 * tree-scalar-evolution.c (interpret_rhs_expr): Handle ADDR_EXPR
1155 with MEM_REFs as POINTER_PLUS_EXPR.
1157 2010-12-02 Joseph Myers <joseph@codesourcery.com>
1159 * config/i386/linux.h, config/m32r/linux.h, config/m68k/linux.h,
1160 config/sparc/linux.h, config/sparc/linux64.h: Remove comments
1161 mentioning /lib/elf.
1163 2010-12-02 Joseph Myers <joseph@codesourcery.com>
1165 * config/bfin/bfin.h (LINK_SPEC): Remove %{b}.
1166 * config/frv/frv.h (LINK_SPEC): Remove %{b}.
1167 * config/i386/netware.h (LINK_SPEC): Remove %{b}.
1168 * config/i386/nto.h (LINK_SPEC): Remove %{b}.
1169 * config/lm32/uclinux-elf.h (LINK_SPEC): Remove %{b}.
1170 * config/sol2.h (LINK_SPEC): Remove %{b}.
1171 * config/svr4.h (LINK_SPEC): Remove %{b}.
1173 2010-12-02 Joseph Myers <joseph@codesourcery.com>
1175 * config/i386/freebsd.h (LINK_SPEC): Cut long comment.
1176 * config/i386/linux.h (LINK_SPEC): Cut long comment.
1177 * config/i386/netware.h (LINK_SPEC): Remove %{V}.
1178 * config/m32r/linux.h (LINK_SPEC): Cut long comment.
1179 * config/m68k/linux.h (LINK_SPEC): Cut long comment.
1180 * config/sparc/linux.h (LINK_SPEC): Cut long comment.
1181 (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}.
1182 * config/sparc/linux64.h (LINK_SPEC): Cut long comment.
1183 (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}.
1184 * config/sparc/netbsd-elf.h (ASM_SPEC): Remove %{V} and
1187 2010-12-02 Joseph Myers <joseph@codesourcery.com>
1189 * gcc.c (trad_capable_cpp, default_compilers): Don't handle
1192 2010-12-02 Joseph Myers <joseph@codesourcery.com>
1194 * config/alpha/freebsd.h (LINK_SPEC): Don't handle -Wl,.
1195 * config/bfin/bfin.h (ASM_SPEC): Don't handle -Wa,.
1196 * config/frv/frv.h (ASM_SPEC): Don't handle -Wa,.
1197 * config/lm32/uclinux-elf.h (LINK_SPEC): Don't handle -Wl,.
1198 * config/microblaze/microblaze.h (LINK_SPEC): Don't handle -Wl,.
1199 * config/mn10300/linux.h (ASM_SPEC): Don't handle -Wa,.
1200 * config/pa/pa-linux.h (ASM_SPEC): Don't handle -Wa,.
1201 * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't handle -Wa,.
1202 * config/rs6000/linux64.h (ASM_SPEC_COMMON): Don't handle -Wa,.
1203 * config/rs6000/sysv4.h (LINK_SPEC): Don't handle -Wl,.
1204 * config/rs6000/vxworks.h (ASM_SPEC): Don't handle -Wa,.
1205 * config/sol2.h (ASM_SPEC): Don't handle -Wa,.
1206 * config/sparc/linux.h (ASM_SPEC): Don't handle -Wa,.
1207 * config/sparc/linux64.h (ASM_SPEC): Don't handle -Wa,.
1208 * config/sparc/sp-elf.h (ASM_SPEC): Don't handle -Wa,.
1209 * config/sparc/sysv4.h (ASM_SPEC): Don't handle -Wa,.
1210 * config/svr4.h (SVR4_ASM_SPEC): Don't handle -Wa,.
1211 * config/vxworks.h (VXWORKS_LINK_SPEC): Don't handle -Wl,.
1213 2010-12-02 Paul Koning <ni1d@arrl.net>
1215 * config/pdp11/pdp11.c (output_jump): Map unsigned to signed
1216 opcodes if CC_NO_OVERFLOW is set.
1217 (notice_update_cc_on_set): Correct setting of CC0 as a side
1218 effect; set CC_NO_OVERFLOW for cases where C flag is not
1221 2010-12-02 Ian Lance Taylor <iant@google.com>
1223 * doc/install.texi (Configuration): Update default for
1224 --with-boot-ldflags.
1226 2010-12-02 Nathan Froyd <froydnj@codesourcery.com>
1229 * c-decl.c (grokparms): Set arg_info->parms to NULL_TREE when
1232 2010-12-02 Sebastian Pop <sebastian.pop@amd.com>
1234 PR tree-optimization/45199
1235 * tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p): New.
1236 (stores_zero_from_loop): Call
1237 mem_write_stride_of_same_size_as_unit_type_p.
1238 * tree-data-ref.h (stride_of_unit_type_p): New.
1239 * tree-loop-distribution.c (generate_memset_zero): Simplified.
1240 Call stride_of_unit_type_p.
1241 (build_rdg_partition_for_component): Do not call
1242 rdg_flag_similar_memory_accesses when
1243 flag_tree_loop_distribute_patterns is set.
1245 2010-12-02 Richard Guenther <rguenther@suse.de>
1247 * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Disregard
1248 sign-changing conversions for induction detection.
1250 2010-12-02 Richard Guenther <rguenther@suse.de>
1252 PR tree-optimization/46723
1253 * tree-vect-loop.c (get_initial_def_for_induction): Strip
1254 conversions from the induction evolution and apply it to
1256 * tree-vect-stmts.c (vect_get_vec_def_for_operand): Handle
1257 assigns for induction defs.
1259 2010-12-02 Richard Guenther <rguenther@suse.de>
1261 * value-prof.c (gimple_ic): Use stmt_ends_bb_p to detect
1262 the case we need to split the edge and not the block.
1264 2010-12-02 Bernd Schmidt <bernds@codesourcery.com>
1266 DFA model for Core 2 and Core i7 scheduling.
1268 * config/i386/core2.md: New DFA model for Core 2 and Core i7.
1269 * config/i386/i386.c (ix86_option_override_internal): Update entries
1270 for Core 2 and Core i7.
1271 (ix86_issue_rate): Set issue rate to 3 [be realistic].
1272 * config/i386/i386.md: Include "core2.md".
1273 (define_attr cpu): Add "corei7".
1275 2010-12-02 Maxim Kuvyrkov <maxim@codesourcery.com>
1277 Define tuning for Core 2 and Core i7.
1279 * config/i386/i386-c.c (ix86_target_macros_internal): Update.
1280 * config/i386/i386.c (core2_cost): Delete, use generic costs instead.
1281 (m_CORE2): Replace with m_CORE2_{32,64}.
1282 (m_CORE2I7{,_32,_64}): New macros.
1283 (m_GENERIC32, m_GENERIC64): Update.
1284 (initial_ix86_tune_features, x86_accumulate_outgoing_args,)
1285 (x86_arch_always_fancy_math_387): Set m_CORE2I7_32 iff m_GENERIC32 and
1286 set m_CORE2I7_64 iff m_GENERIC64.
1287 (processor_target_table): Use generic costs for Core 2 and Core i7.
1288 (ix86_option_override_internal): Update entries for Core 2 and Core i7.
1289 (ix86_issue_rate): Remove entry for Core 2.
1290 (ia32_multipass_dfa_lookahead, ix86_sched_init_global): Update.
1291 * config/i386/i386.h (TARGET_CORE2_32, TARGET_CORE2_64): New macros.
1292 (TARGET_CORE2): Update.
1293 (PROCESSOR_CORE2_32, PROCESSOR_CORE2_64): New constants.
1294 (PROCESSOR_CORE2): Remove.
1296 2010-12-02 Richard Guenther <rguenther@suse.de>
1298 * lto-streamer.h (LTO_major_version): Bump to 2.
1300 2010-12-02 Richard Guenther <rguenther@suse.de>
1303 * gimple.c (canonical_type_hash_cache): New hashtable.
1304 (gimple_type_hash): Make a wrapper around ...
1305 (gimple_type_hash_1): ... this. Take gtc_mode argument.
1306 (gimple_canonical_type_hash): Likewise.
1307 (gtc_visit): Take a gtc_mode argument.
1308 (gimple_types_compatible_p_1): Likewise. Do not compare struct
1309 tag names or field names when computing canonical types.
1310 (gimple_types_compatible_p): Adjust.
1311 (visit): Take a gtc_mode argument.
1312 (iterative_hash_gimple_type): Likewise. Do not hash struct tag
1313 names or field names when computing hashes of canonical types.
1314 (gimple_register_canonical_type): Use gimple_canonical_type_hash
1316 (print_gimple_types_stats): Dump stats of canonical_type_hash_cache.
1317 (free_gimple_type_tables): Free canonical_type_hash_cache.
1319 2010-12-02 Richard Guenther <rguenther@suse.de>
1320 Ira Rosen <irar@il.ibm.com>
1322 PR tree-optimization/46663
1323 * tree-vect-patterns.c (vect_recog_pow_pattern): Check that
1324 FUNCTION_DECL exists and that it's a builtin.
1326 2010-12-02 Jie Zhang <jie@codesourcery.com>
1329 * varasm.c (compute_visible_aliases): Handle user set
1332 2010-12-01 Michael Meissner <meissner@linux.vnet.ibm.com>
1334 * config/rs6000/rs6000.c (rs6000_option_override_internal): Fix
1335 thinko regarding setting -mno-<xxx> debug switches.
1336 (rs6000_rtx_costs): Add FMA. Delete old rtl based FMA costs.
1338 2010-12-01 Joseph Myers <joseph@codesourcery.com>
1340 * intl.c: Don't include tm.h.
1341 * Makefile.in (intl.o): Don't depend on $(TM_H).
1343 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1345 * graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but
1347 (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
1349 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1351 * graphite-sese-to-poly.c (analyze_drs): Removed.
1352 (build_scop_drs): Do not call analyze_drs.
1353 (analyze_drs_in_stmts): New.
1354 (insert_stmts): New.
1355 (insert_out_of_ssa_copy): Call analyze_drs_in_stmts.
1356 (insert_out_of_ssa_copy_on_edge): Same.
1357 (rewrite_close_phi_out_of_ssa): Call insert_stmts.
1358 (rewrite_phi_out_of_ssa): Same.
1359 (rewrite_cross_bb_scalar_dependence): Same.
1360 (split_reduction_stmt): Move data references in the new basic blocks.
1361 (translate_scalar_reduction_to_array_for_stmt): Call insert_stmts.
1363 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1365 * sese.c (rename_uses): Do not handle ADDR_EXPR in LHS of assignments.
1367 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1370 * graphite-poly.c (new_poly_bb): Returns a poly_bb_p. Do not take
1371 the reduction bool in parameter. Clear PBB_IS_REDUCTION. Set GBB_PBB.
1372 * graphite-poly.h (new_poly_bb): Update declaration.
1373 (gbb_from_bb): Moved here...
1375 * graphite-sese-to-poly.c (var_used_in_not_loop_header_phi_node):
1377 (graphite_stmt_p): Removed.
1378 (try_generate_gimple_bb): Returns a gimple_bb_p. Do not pass in
1379 sbitmap reductions. Always build a gimple_bb_p. Do not call
1381 (build_scop_bbs_1): Do not pass in sbitmap reductions.
1382 (build_scop_bbs): Same.
1383 (gbb_from_bb): ... from here.
1384 (add_conditions_to_constraints): Moved up.
1386 (build_scop_drs): Call analyze_drs. Remove all the PBBs that do
1387 not contain data references.
1388 (new_pbb_from_pbb): New.
1389 (insert_out_of_ssa_copy_on_edge): Call new_pbb_from_pbb after a
1391 (rewrite_close_phi_out_of_ssa): Update call to
1392 insert_out_of_ssa_copy_on_edge.
1393 (rewrite_reductions_out_of_ssa): Now static.
1394 (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
1396 (split_reduction_stmt): Call split_pbb.
1397 (translate_scalar_reduction_to_array): Pass in the scop, do not
1398 pass in the sbitmap reductions.
1399 (rewrite_commutative_reductions_out_of_ssa_close_phi): Same.
1400 (rewrite_commutative_reductions_out_of_ssa_loop): Same.
1401 (rewrite_commutative_reductions_out_of_ssa): Same.
1402 (build_poly_scop): Call build_scop_bbs,
1403 rewrite_commutative_reductions_out_of_ssa,
1404 rewrite_reductions_out_of_ssa, and
1405 rewrite_cross_bb_scalar_deps_out_of_ssa. Move build_scop_drs
1407 * graphite-sese-to-poly.h (rewrite_commutative_reductions_out_of_ssa):
1408 Removed declaration.
1409 (rewrite_reductions_out_of_ssa): Same.
1410 (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
1411 (build_scop_bbs): Same.
1412 * graphite.c (graphite_transform_loops): Do not initialize reductions.
1413 Do not call build_scop_bbs,
1414 rewrite_commutative_reductions_out_of_ssa,
1415 rewrite_reductions_out_of_ssa, and
1416 rewrite_cross_bb_scalar_deps_out_of_ssa.
1417 * sese.h (struct gimple_bb): Add field pbb.
1420 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1422 * graphite-sese-to-poly.c (handle_scalar_deps_crossing_scop_limits):
1424 (rewrite_cross_bb_scalar_deps): Pass in the scop. Call
1425 handle_scalar_deps_crossing_scop_limits.
1426 (rewrite_cross_bb_scalar_deps_out_of_ssa): Create an empty BB
1427 after the scop. Update call to rewrite_cross_bb_scalar_deps.
1429 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1431 * sese.c (rename_uses): Call recompute_tree_invariant_for_addr_expr
1432 when replacing a constant in an ADDR_EXPR.
1434 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1436 * graphite-blocking.c (lst_do_strip_mine_loop): Extra parameter
1438 (lst_do_strip_mine): Same.
1439 (scop_do_strip_mine): Same.
1440 * graphite-poly.c (apply_poly_transforms): Update call to
1442 * graphite-poly.h (scop_do_strip_mine): Update declaration.
1444 2010-12-01 Jan Hubicka <jh@suse.cz>
1446 * tree.c (build_common_builtin_nodes): Do not initialize
1447 BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT.
1448 * builtins.c (expand_builtin_profile_func): Remove.
1449 (expand_builtin): Do not handle BUILT_IN_PROFILE_FUNC_ENTER and
1450 BUILT_IN_PROFILE_FUNC_EXIT.
1451 * builtins.def (profile_func_enter, profile_func_exit): Remove stubs.
1452 (__cyg_profile_func_enter, __cyg_profile_func_exit): New.
1453 * gimplify.c (gimplify_function_tree): Reorganize code calling
1454 profiling functions.
1456 2010-12-01 Joseph Myers <joseph@codesourcery.com>
1458 * opts.c: Expand comment on tm.h include.
1460 2010-12-01 Yao Qi <yao@codesourcery.com>
1462 * config/arm/predicates.md ("vfp_register_operand"): Return true for
1463 VFP_D0_D7_REGS classes.
1465 2010-12-01 Joseph Myers <joseph@codesourcery.com>
1467 * common.opt (flag_stack_check): New Variable entry.
1468 (fcompare-debug-second): Use Var.
1469 * flags.h (flag_compare_debug, flag_stack_check): Remove.
1470 * opts.c (flag_compare_debug): Remove.
1471 (common_handle_option): Don't handle OPT_fcompare_debug_second.
1472 Set opts->x_flag_stack_check for OPT_fstack_check_.
1473 * toplev.c (flag_stack_check): Remove.
1475 2010-12-01 Joseph Myers <joseph@codesourcery.com>
1477 * common.opt (main_input_filename, main_input_basename,
1478 main_input_baselength): New Variable entries. From toplev.c.
1479 * final.c (output_quoted_string): Move from toplev.c.
1480 * output.h (output_quoted_string): Move from toplev.h.
1481 * opts-global.c (read_cmdline_options): Use gcc_options pointer to
1482 access main_input_filename, main_input_baselength and
1483 main_input_basename.
1484 * targhooks.c: Include intl.h and opts.h.
1485 (option_affects_pch_p, default_get_pch_validity): Move from
1487 * targhooks.h (option_affects_pch_p, default_get_pch_validity):
1489 * toplev.c (main_input_filename, main_input_basename,
1490 main_input_baselength): Move to common.opt.
1491 (output_quoted_string): Move to final.c.
1492 (warn_deprecated_use): Move to tree.c.
1493 (option_affects_pch_p, default_get_pch_validity,
1494 pch_option_mismatch, default_pch_valid_p): Move to targhooks.c.
1495 * toplev.h (skip_leading_substring): Move to tree-dump.c.
1496 (warn_deprecated_use): Move to tree.h.
1497 (output_quoted_string): Move to output.h.
1498 (main_input_filename, main_input_basename, main_input_baselength):
1500 (default_get_pch_validity, default_pch_valid_p): Move to
1502 * tree-dump.c (skip_leading_substring): Move from toplev.h.
1503 * tree.c (warn_deprecated_use): Move from toplev.c.
1504 * tree.h (warn_deprecated_use): Move from toplev.h.
1505 * c-typeck.c, config/alpha/alpha.c, config/arc/arc.c,
1506 config/arm/arm.c, config/avr/avr.c, config/bfin/bfin.c,
1507 config/cris/cris.c, config/crx/crx.c, config/fr30/fr30.c,
1508 config/frv/frv.c, config/h8300/h8300.c, config/ia64/ia64.c,
1509 config/iq2000/iq2000.c, config/lm32/lm32.c, config/m32c/m32c.c,
1510 config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c,
1511 config/mcore/mcore.c, config/mep/mep.c,
1512 config/microblaze/microblaze.c, config/mips/mips.c,
1513 config/mmix/mmix.c, config/mn10300/mn10300.c,
1514 config/moxie/moxie.c, config/pa/pa.c, config/pdp11/pdp11.c,
1515 config/picochip/picochip.c, config/s390/s390.c,
1516 config/score/score.c, config/sh/sh.c, config/sparc/sparc.c,
1517 config/spu/spu.c, config/stormy16/stormy16.c, config/v850/v850.c,
1518 config/vax/vax.c, config/xtensa/xtensa.c, gimple-low.c,
1519 graphite-sese-to-poly.c, plugin.c, tree-cfg.c, tree-inline.c,
1520 varasm.c, xcoffout.c: Don't include toplev.h.
1521 * Makefile.in (c-typeck.o, tree-inline.o, tree-cfg.o,
1522 gimple-low.o, graphite-sese-to-poly.o, targhooks.o, plugin.o,
1523 varasm.o, xcoffout.o): Update dependencies.
1524 * config/arm/t-arm (arm.o): Update dependencies.
1525 * config/spu/t-spu-elf (spu.o): Update dependencies.
1527 2010-12-01 Richard Guenther <rguenther@suse.de>
1529 PR tree-optimization/46730
1530 * value-prof.c (gimple_ic): Always generate a separate merge BB.
1532 2010-11-30 Ian Lance Taylor <iant@google.com>
1534 * config/i386/linux.h (ASM_SPEC): Pass -v as -v, not -V. Remove
1535 all of %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}.
1536 * config/i386/linux64.h (ASM_SPEC): Likewise.
1537 * config/i386/mingw-w64.h (ASM_SPEC): Likewise.
1538 * config/i386/sol2-10.h (ASM_SPEC) [USE_GAS]: Likewise.
1539 * config/i386/vxworks.h (ASM_SPEC): Likewise.
1540 * config/i386/x86-64.h (ASM_SPEC): Likewise.
1541 * config/i386/sol2.h (ASM_SPEC): Remove %{Wa,*:%*}.
1542 * config/i386/sol2-10.h (ASM_SPEC) [!USE_GAS]: Likewise.
1544 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
1546 * c-decl.c (finish_function): Call objc_finish_function in
1548 * c-typeck.c (convert_for_assignment): Do not call
1549 objc_type_quals_match().
1551 2010-11-30 Richard Guenther <rguenther@suse.de>
1553 PR tree-optimization/46722
1554 * tree-ssa-math-opts.c (convert_mult_to_fma): Get multiplication
1555 operands as arguments.
1556 (execute_optimize_widening_mul): Also handle power of two as
1559 2010-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
1562 * cgraphunit.c (process_function_and_variable_attributes): Fix
1565 2010-11-30 Joseph Myers <joseph@codesourcery.com>
1567 * hwint.c: New. Extracted from toplev.c.
1568 * hwint.h (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
1570 * toplev.c (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
1572 * toplev.h (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
1574 * builtins.c, combine.c, config/i386/winnt.c, double-int.c,
1575 explow.c, expmed.c, fold-const.c, ggc-page.c, ggc-zone.c, ifcvt.c,
1576 ipa-struct-reorg.c, ira-color.c, matrix-reorg.c, omp-low.c,
1577 real.c, recog.c, reload.c, rtlanal.c, simplify-rtx.c,
1578 stor-layout.c, tree-dfa.c, tree-ssa-alias.c,
1579 tree-ssa-loop-niter.c, tree-vect-data-refs.c,
1580 tree-vect-loop-manip.c, tree-vect-loop.c, tree-vect-stmts.c,
1581 tree-vrp.c: Don't include toplev.h.
1582 * genattrtab.c, genconditions.c, genemit.c, genextract.c,
1583 genoutput.c, genpeep.c, genpreds.c, genrecog.c: Don't include
1584 toplev.h in generated output.
1585 * Makefile.in (OBJS-common): Add hwint.o.
1586 Dependencies for above files changed to remove toplev.h.
1588 (insn-attrtab.o, insn-emit.o, insn-extract.o, insn-output.o,
1589 insn-peep.o, insn-preds.o, insn-recog.o): Don't depend on
1591 * config/i386/t-cygming (winnt.o): Don't depend on toplev.h.
1592 * config/i386/t-interix (winnt.o): Don't depend on toplev.h.
1594 2010-11-30 Richard Guenther <rguenther@suse.de>
1596 PR tree-optimization/46717
1597 * value-prof.c (gimple_ic): Preserve EH edges of the indirect
1598 call. Manually create EH edges for the direct call and update
1601 2010-11-30 Joseph Myers <joseph@codesourcery.com>
1603 * diagnostic-core.h: Include bversion.h.
1604 * toplev.h: Don't include input.h or bversion.h.
1605 (parse_optimize_options): Don't declare here.
1606 * alias.c, auto-inc-dec.c, c-aux-info.c, c-convert.c, c-parser.c,
1607 caller-save.c, cfg.c, cfganal.c, cfgbuild.c, cfgcleanup.c,
1608 combine-stack-adj.c, config/arm/pe.c, config/darwin-c.c,
1609 config/host-darwin.c, config/i386/host-cygwin.c,
1610 config/i386/host-mingw32.c, config/i386/msformat-c.c,
1611 config/i386/netware.c, config/i386/nwld.c,
1612 config/i386/winnt-cxx.c, config/i386/winnt-stubs.c,
1613 config/ia64/ia64-c.c, config/m32c/m32c-pragma.c,
1614 config/mep/mep-pragma.c, config/microblaze/microblaze-c.c,
1615 config/rs6000/host-darwin.c, config/rs6000/rs6000-c.c,
1616 config/score/score3.c, config/score/score7.c,
1617 config/sh/symbian-base.c, config/sh/symbian-c.c,
1618 config/sh/symbian-cxx.c, config/sol2-c.c, config/sol2.c,
1619 config/v850/v850-c.c, config/vxworks.c, convert.c, cppbuiltin.c,
1620 cselib.c, dbgcnt.c, ddg.c, dfp.c, dominance.c, emit-rtl.c,
1621 fixed-value.c, fwprop.c, ggc-common.c, gimple.c, gimplify.c,
1622 graphite-blocking.c, graphite-clast-to-gimple.c,
1623 graphite-dependences.c, graphite-flattening.c,
1624 graphite-interchange.c, graphite-poly.c,
1625 graphite-scop-detection.c, graphite.c, haifa-sched.c,
1626 implicit-zee.c, integrate.c, ipa-pure-const.c, ipa-reference.c,
1627 ira-build.c, ira-conflicts.c, ira-costs.c, ira-lives.c, jump.c,
1628 lists.c, loop-doloop.c, loop-iv.c, lto-cgraph.c, lto-compress.c,
1629 lto-opts.c, lto-section-in.c, lto-section-out.c,
1630 lto-streamer-out.c, lto-symtab.c, modulo-sched.c, optabs.c,
1631 params.c, postreload-gcse.c, postreload.c, predict.c, profile.c,
1632 regcprop.c, reginfo.c, regmove.c, reorg.c, resource.c,
1633 sched-deps.c, sched-ebb.c, sched-rgn.c, sdbout.c,
1634 sel-sched-dump.c, sel-sched-ir.c, sese.c, stmt.c, targhooks.c,
1635 tree-cfgcleanup.c, tree-mudflap.c, tree-nomudflap.c,
1636 tree-object-size.c, tree-outof-ssa.c, tree-phinodes.c,
1637 tree-profile.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-coalesce.c,
1638 tree-ssa-live.c, tree-ssa-loop-prefetch.c, tree-ssa-loop.c,
1639 tree-ssa-operands.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
1640 tree-vect-patterns.c, value-prof.c, var-tracking.c, web.c: Don't
1642 * Makefile.in (TOPLEV_H): Remove. All uses changed to use
1643 toplev.h. Dependencies for above files and c-family files changed
1644 to remove $(TOPLEV_H) or toplev.h.
1645 (C_TREE_H): Don't include $(TOPLEV_H).
1646 (DIAGNOSTIC_CORE_H): Use $(INPUT_H) instead of input.h. Add
1648 * config/arm/t-pe, config/arm/t-wince-pe, config/i386/t-cygming,
1649 config/ia64/t-ia64, config/mep/t-mep, config/score/t-score-elf,
1650 config/t-darwin, config/t-sol2,
1651 config/t-vxworks, config/v850/t-v850, config/v850/t-v850e:
1652 Dependencies for above files changed to remove $(TOPLEV_H) or
1655 2010-11-30 Richard Guenther <rguenther@suse.de>
1658 * gcc.c (main): Use the first input with a compiler as infile
1659 for link spec processing.
1661 2010-11-30 Richard Guenther <rguenther@suse.de>
1664 * cgraphunit.c (ipa_passes): Stop after errors from
1667 2010-11-30 Mingjie Xing <mingjie.xing@gmail.com>
1669 * gcc-plugin.h: Include coretypes.h.
1670 * Makefile.in (FUNCTION_H): Add hard-reg-set.h.
1672 2010-11-30 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1674 * ggc-zone.c (ggc_pch_read): Fix conditional compilation.
1675 * ggc-none.c (ggc_internal_alloc_zone_stat)
1676 (ggc_internal_cleared_alloc_zone_stat): New.
1678 2010-11-29 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
1680 * config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): Check
1681 TARGET_SINGLE_PIC_BASE for RS6000_PIC_OFFSET_TABLE_REGNUM.
1682 (rs6000_emit_prologue): Don't set PIC register if
1683 TARGET_SINGLE_PIC_BASE.
1684 * config/rs6000/rs6000.opt (msingle-pic-base): New option.
1685 * doc/invoke.texi (msingle-pic-base): Document.
1687 2010-11-29 H.J. Lu <hongjiu.lu@intel.com>
1690 * exec-tool.in (id): New.
1691 Check and export LT_RCU_$id instead of LT_RCU.
1693 2010-11-29 Zdenek Dvorak <rakdver@kam.uniff.cz>
1695 PR tree-optimization/46675
1696 * tree-ssa-loop-niter.c (split_to_var_and_offset): Avoid overflow
1697 in offset calculation.
1699 2010-11-29 Jan Hubicka <jh@suse.cz>
1701 * collect2.c (main): Do not imply verbose output with
1702 LTO and linker plugin.
1704 2010-11-29 Dodji Seketeli <dodji@redhat.com>
1706 * dwarf2out.c (print_die): Print the address of the current DIE or
1707 of any DIE referenced by the current one.
1709 2010-11-29 Dodji Seketeli <dodji@redhat.com>
1712 * dwarf2out.c (lookup_type_die_strip_naming_typedef): New
1714 (scope_die_for, gen_type_die_for_member): Replace uses of
1715 lookup_type_die with use of lookup_type_die_strip_naming_typedef.
1717 2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
1719 * config/darwin.c (darwin_mergeable_string_section): Remove blank line.
1720 (darwin_asm_declare_object_name): Correct spelling.
1721 (darwin_output_aligned_bss): Likewise.
1723 2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
1724 Mike Stump <mrs@gcc.gnu.org>
1729 * config/i386/darwin.h (ASM_OUTPUT_COMMON): Remove
1730 (ASM_OUTPUT_LOCAL): Likewise.
1731 * config/darwin-protos.h (darwin_asm_declare_object_name): New.
1732 (darwin_output_aligned_bss): Likewise.
1733 (darwin_asm_output_aligned_decl_local): Likewise.
1734 (darwin_asm_output_aligned_decl_common): Likewise.
1735 (darwin_use_anchors_for_symbol_p): Likewise.
1736 * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Remove.
1737 (TARGET_ASM_OUTPUT_ANCHOR): Define.
1738 (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Define.
1739 (DARWIN_SECTION_ANCHORS): Set to 1.
1740 * config/darwin.c (emit_aligned_common): New var.
1741 (darwin_init_sections): Check that the Darwin private zero-size section
1743 (darwin_text_section): Check for zero-sized objects.
1744 (darwin_mergeable_string_section): Likewise.
1745 (darwin_mergeable_constant_section): Likewise.
1746 (machopic_select_section): Adjust to check for zero-sized objects.
1747 Assert that OBJC meta data are non-zero sized.
1748 (darwin_asm_declare_object_name): New.
1749 (darwin_asm_declare_constant_name): Adjust for zero-sized
1751 (BYTES_ZFILL): Define.
1752 (darwin_emit_weak_or_comdat): New.
1753 (darwin_emit_local_bss): New.
1754 (darwin_emit_common): New.
1755 (darwin_output_aligned_bss): New.
1756 (darwin_asm_output_aligned_decl_common): New.
1757 (darwin_asm_output_aligned_decl_local): New.
1758 (darwin_file_end): Disable subsections_via_symbols when section
1759 anchoring is active.
1760 (darwin_asm_output_anchor): Re-enable.
1761 (darwin_use_anchors_for_symbol_p): New.
1762 (darwin_override_options): Check for versions that can emit
1763 aligned common. Update usage of flags to current.
1764 * config/darwin-sections.def: Update comments and flags for
1765 non-anchor sections. zobj_const_section, zobj_data_section,
1766 zobj_bss_section, zobj_const_data_section: New.
1767 * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Redefine.
1768 (ASM_OUTPUT_ALIGN): Make whitespace output consistent.
1769 (L2_MAX_OFILE_ALIGNMENT): Define.
1770 (ASM_OUTPUT_ALIGNED_BSS): Define.
1771 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define.
1772 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define.
1773 (SECTION_NO_ANCHOR): Define.
1774 (TARGET_ASM_OUTPUT_ANCHOR) Define with a default of NULL.
1775 (DARWIN_SECTION_ANCHORS): Define with a default of 0.
1777 2010-11-29 Joseph Myers <joseph@codesourcery.com>
1779 * system.h: Include "safe-ctype.h" instead of <safe-ctype.h>.
1780 Include <signal.h>, <sys/mman.h>, <sys/resource.h> and <sys/times.h>.
1781 (O_BINARY, SIGCHLD, MAP_FAILED, MAP_ANONYMOUS, kill):
1782 Conditionally define.
1783 (GET_ENVIRONMENT): Poison.
1784 * configure.ac: Don't test for mincore.
1785 * configure: Regenerate.
1786 * config.in: Regenerate.
1787 * collect2-aix.c: Don't include <sys/mman.h>.
1788 * collect2.c: Don't include <signal.h>.
1789 (SIGCHLD): Don't define.
1790 (prefix_from_env): Use getenv instead of GET_ENVIRONMENT.
1791 * config/alpha/alpha.c: Include "splay-tree.h" instead of
1793 * config/arm/arm.c (arm_target_help): Use getenv instead of
1795 * config/avr/driver-avr.c: Don't include <stdlib.h>.
1796 * config/frv/frv.c: Don't include <ctype.h>.
1797 * config/host-darwin.c: Don't include <sys/mman.h>.
1798 * config/host-hpux.c: Don't include <sys/mman.h> or <unistd.h>.
1799 (MAP_FAILED): Don't define.
1800 * config/host-linux.c: Don't include <sys/mman.h> or <limits.h>.
1801 * config/host-solaris.c: Don't include <sys/mman.h>.
1802 * config/i386/cygming.h: Don't include <stdio.h>.
1803 * config/i386/driver-i386.c: Don't include <stdlib.h>.
1804 * config/i386/host-cygwin.c: Don't include <sys/mman.h>.
1805 * config/iq2000/iq2000.c: Don't include <signal.h>.
1806 * config/m32c/m32c-pragma.c: Don't include <stdio.h>.
1807 * config/m68hc11/m68hc11.c: Don't include <stdio.h>.
1808 * config/mep/mep-pragma.c: Don't include <stdio.h>.
1809 * config/microblaze/microblaze.c: Don't include <signal.h>.
1810 * config/mips/mips.c: Don't include <signal.h>.
1811 * config/rs6000/host-darwin.c: Don't include <signal.h>.
1812 * cppdefault.c (cpp_relocated): Use getenv instead of GET_ENVIRONMENT.
1813 * defaults.h (GET_ENVIRONMENT): Don't define.
1814 * et-forest.h: Don't include <ansidecl.h> or <stddef.h>.
1815 * gcc.c: Don't include <signal.h>, <sys/mman.h> or <sys/types.h>.
1816 (SIGCHLD, MAP_FAILED, kill): Don't define.
1817 (process_command): Use getenv instead of GET_ENVIRONMENT.
1818 * genhooks.c: Don't include <string.h>.
1819 * ggc-common.c: Don't include <sys/resource.h>, <sys/mman.h> or
1821 (MAP_FAILED): Don't define.
1822 * ggc-page.c Don't include <sys/mman.h>.
1823 (MAP_ANONYMOUS, MAP_FAILED): Don't define.
1824 * ggc-zone.c: Don't include <sys/mman.h>.
1825 (MAP_ANONYMOUS, MAP_FAILED): Don't define.
1826 * graph.c: Include "config.h" instead of <config.h>.
1827 * incpath.c (add_env_var_paths): Use getenv instead of GET_ENVIRONMENT.
1828 * lto-wrapper.c: Don't include <errno.h>, <signal.h> or "libiberty.h".
1829 (SIGCHLD, kill): Don't define.
1830 * mips-tfile.c: Don't include <signal.h>.
1831 * opts.c: Don't include <signal.h> or <sys/resource.h>.
1832 (print_specific_help): Use getenv instead of GET_ENVIRONMENT.
1833 * passes.c: Don't include <signal.h>, <sys/resource.h> or
1835 * sparseset.h: Don't include <assert.h>.
1836 * timevar.c: Don't include <sys/times.h> or <sys/resource.h>.
1837 * tlink.c: Don't include "libiberty.h".
1838 * toplev.c: Don't include <signal.h> or <sys/times.h>.
1839 * tree-mudflap.c: Include "demangle.h" instead of <demangle.h>.
1840 * tree-switch-conversion.c: Don't include <signal.h>.
1841 * vmsdbgout.c: Don't include <errno.h> or <string.h>.
1843 2010-11-29 Nicola Pero <nicola.pero@meta-innovation.com>
1845 * c-parser.c (c_parser_objc_try_catch_statement): Renamed to
1846 c_parser_objc_try_catch_finally_statement for consistency with the
1847 C++ parser. Parse @catch(...) and pass NULL_TREE to
1848 objc_begin_catch_clause() in that case. Improved error recovery.
1849 Reorganized code to be almost identical to
1850 cp_parser_objc_try_catch_finally_statement.
1852 2010-11-29 Joern Rennecke <amylaar@spamcop.net>
1854 PR tree-optimization/46621
1855 * gimple.h: Don't include tm.h or hard-reg-set.h .
1856 * Makefile.in (GIMPLE_H): Remove $(TM_H).
1859 * cppbuiltin.c: Include target.h .
1860 (define_builtin_macros_for_type_sizes):
1861 Use targetm.float_words_big_endian.
1863 2010-11-27 Jan Hubicka <jh@suse.cz>
1865 * dwarf2out.c (dwarf2out_begin_function): Set cold_text_section
1866 and output cold_text_section_label.
1867 (dwarf2out_init): Don't do that there.
1868 (dwarf2out_finish): Handle cold section end label only if cold
1871 2010-11-27 Eric Botcazou <ebotcazou@adacore.com>
1873 * tree-nested.c (remap_vla_decls): Fully expand value expressions of
1876 2010-11-27 Richard Guenther <rguenther@suse.de>
1878 * gimple.c (gimple_assign_copy_p): Use gimple_assign_single_p.
1879 (gimple_assign_ssa_name_copy_p): Likewise.
1880 (gimple_assign_unary_nop_p): Use is_gimple_assign.
1881 (is_gimple_cast): Remove.
1882 (gimple_assign_single_p): Move ...
1883 * gimple.h (gimple_assign_single_p): ... here.
1884 (is_gimple_cast): Remove.
1885 (gimple_assign_rhs_code): Simplify.
1886 * gimple-fold.c (gimple_fold_builtin): Use CONVERT_EXPR_P
1887 instead of is_gimple_cast.
1888 * ipa-type-escape.c (look_for_casts): Likewise.
1890 2010-11-26 Joseph Myers <joseph@codesourcery.com>
1892 * doc/options.texi (Enum, EnumValue): Document new record types.
1893 (Enum): Document new option flag.
1895 * optc-gen.awk: Handle enumerated option arguments.
1896 * opth-gen.awk: Handle enumerated option arguments.
1897 * opts-common.c (enum_arg_ok_for_language, enum_arg_to_value,
1898 enum_value_to_arg): New.
1899 (decode_cmdline_option): Handle enumerated arguments.
1900 (read_cmdline_option): Handle CL_ERR_ENUM_ARG.
1901 (set_option, option_enabled, get_option_state): Handle CLVC_ENUM.
1902 * opts.c (print_filtered_help, print_specific_help): Take
1903 lang_mask arguments.
1904 (print_filtered_help): Handle printing values of enumerated
1905 options. Print possible arguments for enumerated options.
1906 (print_specific_help): Update call to print_filtered_help.
1907 (common_handle_option): Update calls to print_specific_help. Use
1908 value rather than arg for OPT_fdiagnostics_show_location_. Don't
1909 handle OPT_ffp_contract_, OPT_fexcess_precision_,
1910 OPT_fvisibility_, OPT_ftls_model_, OPT_fira_algorithm_ or
1911 OPT_fira_region_ here.
1912 * opts.h (enum cl_var_type): Add CLVC_ENUM.
1913 (struct cl_option): Add var_enum.
1914 (CL_ENUM_CANONICAL, CL_ENUM_DRIVER_ONLY, struct cl_enum_arg,
1915 struct cl_enum, cl_enums, cl_enums_count): New.
1916 (CL_ERR_ENUM_ARG): Define.
1917 (CL_ERR_NEGATIVE): Update value.
1918 (enum_value_to_arg): Declare.
1919 * common.opt (flag_ira_algorithm, flag_ira_region,
1920 flag_fp_contract_mode, flag_excess_precision_cmdline,
1921 default_visibility, flag_tls_default): Remove Variable entries.
1922 (help_enum_printed): New Variable.
1923 (fdiagnostics-show-location=): Use Enum. Add associated
1924 SourceInclude, Enum and EnumValue entries.
1925 (fexcess-precision=, ffp-contract=, fira-algorithm=, fira-region=,
1926 ftls-model=, fvisibility=): Use Enum, Var and Init. Add
1927 associated Enum and EnumValue entries.
1929 2010-11-26 Joern Rennecke <amylaar@spamcop.net>
1932 * config/microblaze/microblaze.c (microblaze_block_move_straight):
1934 (microblaze_option_override): Don't use C++ style comments.
1935 (save_restore_insns): Remove unused variable base_offset.
1936 (microblaze_expand_prologue): Remove unused variable insn.
1937 (microblaze_secondary_reload): Adjust type to match target.h .
1938 (microblaze_elf_in_small_data_p): Move declarations to start of block.
1939 (microblaze_expand_move): Likewise.
1940 * config/microblaze/microblaze.h (LARGE_INT):
1941 Avoid signed / unsigned comparisons.
1942 (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
1943 (ASM_FORMAT_PRIVATE_NAME): Make format specifier match printed data.
1944 (ASM_FINISH_DECLARE_OBJECT): Likewise. Constify name.
1946 2010-11-26 Michael Matz <matz@suse.de>
1948 * tree-ssa-copy.c (fini_copy_prop): Don't DCE when we have loops.
1950 * passes.c (init_optimization_passes): Remove superfluous
1953 2010-11-26 Richard Guenther <rguenther@suse.de>
1956 * gimple.c (gtc_visit): Do not return true for members of an
1957 SCC still being processed but the current lattice value of
1958 the member. Treat SCC members comparison state as lattice,
1959 starting at equal, eventually dropping to unequal.
1960 (gimple_types_compatible_p_1): Likewise.
1962 2010-11-26 Richard Guenther <rguenther@suse.de>
1965 * dwarf2out.c (dwarf2out_finish): Use comp_unit_die as root
1966 for location list processing.
1968 2010-11-26 Richard Guenther <rguenther@suse.de>
1971 * cgraph.c (cgraph_clone_edge): Clone call_stmt dependent
1974 2010-11-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1976 * config/s390/s390.c (print_operand_address): Replace assert with
1978 (print_operand): Replace assertions, gcc_unreachable and
1979 fatal_insn with error messages.
1981 2010-11-26 Richard Guenther <rguenther@suse.de>
1983 PR tree-optimization/46665
1984 * tree-ssa-structalias.c (pt_solution_set_var): Use DECL_PT_UID.
1986 2010-11-26 Ian Bolton <ian.bolton@arm.com>
1988 * config/arm/arm.c (arm_option_override): enable loop array
1989 prefetching at -O3 for suitable targets, and configure params.
1990 * config/arm/arm-protos.h (struct tune_params): Add fields for
1991 configuring loop array prefetching.
1993 2010-11-26 Christian Borntraeger <borntraeger@de.ibm.com>
1995 * config/s390/2817.md (z196_crack): Add z196_g3 as possible slot.
1997 2010-11-26 Richard Guenther <rguenther@suse.de>
1999 PR tree-optimization/46664
2000 * tree-affine.c (aff_combination_to_tree): Add rest last.
2002 2010-11-26 Michael Haubenwallner <michael.haubenwallner@salomon.at>
2005 * configure.ac: Accept extra arguments for AS_FOR_TARGET,
2006 LD_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET.
2007 * configure: Regenerated.
2008 * exec-tool.in: Not quoting command, may have extra arguments.
2010 2010-11-26 Richard Guenther <rguenther@suse.de>
2012 PR tree-optimization/46528
2014 * profile.c (branch_prob): Do not split blocks based on locations
2015 from debug statements.
2017 2010-11-26 Jakub Jelinek <jakub@redhat.com>
2020 * builtins.c (fold_builtin_memset): Check c is INTEGER_CST instead
2021 of host_integerp check. Use TREE_INT_CST_LOW instead of tree_low_cst.
2024 * tree.h (build1_stat_loc, build2_stat_loc, build3_stat_loc,
2025 build4_stat_loc, build5_stat_loc, build6_stat_loc): New inlines.
2026 (build1_loc, build2_loc, build3_loc, build4_loc, build5_loc,
2027 build6_loc): Define.
2028 * fold-const.c (protected_set_expr_location_unshare): New inline.
2029 (fold_convert_loc, pedantic_non_lvalue_loc): Use it.
2030 (negate_expr, associate_trees, non_lvalue_loc, omit_one_operand_loc,
2031 pedantic_omit_one_operand_loc, omit_two_operands_loc,
2032 fold_truth_not_expr, invert_truthvalue_loc, make_bit_field_ref,
2033 optimize_bit_field_compare, make_range, fold_range_test, fold_truthop,
2034 build_fold_addr_expr_with_type_loc, fold_unary_loc, fold_binary_loc,
2035 fold_indirect_ref_1, build_fold_indirect_ref_loc): Use builN_loc
2036 instead of buildN followed by SET_EXPR_LOCATION or
2037 protected_set_expr_location.
2038 (fold_build1_stat_loc, fold_build2_stat_loc, fold_build3_stat_loc):
2039 Use buildN_stat_loc instead of buildN_stat followed by
2042 2010-11-26 Basile Starynkevitch <basile@starynkevitch.net>
2044 * Makefile.in (s-tm-texi): Remove spurous tab.
2046 2010-11-26 Alexandre Oliva <aoliva@redhat.com>
2049 * tree-cfg.c (replace_uses_by): Don't mark BBs as altered on
2052 2010-11-26 Alexandre Oliva <aoliva@redhat.com>
2054 * toplev.c (finalize): Add no_backend parameter. Don't finish
2055 passes when preprocessing only. Adjust...
2056 (do_compile): ... caller.
2058 2010-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2060 * config/pa/pa.md (negdf2): Condition on !flag_signed_zeros instead of
2061 flag_unsafe_math_optimizations.
2063 Move fnegabs related patterns together. Only use fmpynfadd instruction
2064 to negate a multiply if !flag_signed_zeros is true.
2066 2010-11-25 Uros Bizjak <ubizjak@gmail.com>
2068 * gengtype-state.c (read_state_structures): Initialize "previous".
2070 2010-11-25 Basile Starynkevitch <basile@starynkevitch.net>
2071 Jeremie Salvucci <jeremie.salvucci@free.fr>
2073 * gengtype-state.c: Add new file.
2075 * gengtype.c (type count): New variable.
2076 (new_structure, find_param_structure, create_pointer)
2077 (create_array): Use it to set state_number in types.
2078 (dump_everything): Improve comment.
2079 (main): Call read_state and write_state. Print type_count.
2081 * gengtype.h (type_lineloc): New function.
2082 (read_state, write_state): New declarations.
2084 * Makefile.in (GENGTYPE_FLAGS): New variable.
2085 (s-gtype): Run gengtype twice and generate gtype.state.
2086 (build/gengtype-state.o): New rule.
2087 (build/gengtype$(build_exeext)): Link gengtype-state.o.
2088 (mostlyclean): Update comment. Remove gtype.state.
2090 2010-11-25 Jakub Jelinek <jakub@redhat.com>
2093 * combine.c (try_combine): When substing i2dest for i2src, pass
2094 1 as last argument even if
2095 i0_feeds_i1_n && i1_feeds_i2_n && i0dest_in_i0src.
2097 2010-11-25 H.J. Lu <hongjiu.lu@intel.com>
2100 * builtins.c (target_char_cast): Check INTEGER_CST instead of
2101 host_integerp. Replace tree_low_cst with TREE_INT_CST_LOW.
2103 2010-11-25 Joseph Myers <joseph@codesourcery.com>
2105 * target.def (supports_split_stack, except_unwind_info): Take
2106 gcc_options parameters.
2107 * targhooks.c (default_except_unwind_info,
2108 dwarf2_except_unwind_info, sjlj_except_unwind_info): Take
2109 gcc_options parameters.
2110 * targhooks.h (default_except_unwind_info,
2111 dwarf2_except_unwind_info, sjlj_except_unwind_info): Update
2113 * doc/tm.texi.in (TARGET_IRA_COVER_CLASSES,
2114 TARGET_HAVE_NAMED_SECTIONS, TARGET_UNWIND_TABLES_DEFAULT):
2115 Document that hooks must not be modified.
2116 (TARGET_EXCEPT_UNWIND_INFO): Refer to opts argument.
2117 * doc/tm.texi: Regenerate.
2118 * defaults.h (STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT): Pass
2119 &global_options to targetm.except_unwind_info.
2120 * dwarf2out.c (dwarf2out_do_frame, dwarf2out_do_cfi_asm,
2121 dwarf2out_begin_prologue, dwarf2out_frame_init,
2122 dwarf2out_frame_finish, dwarf2out_assembly_start): Pass
2123 &global_options to targetm.except_unwind_info.
2124 * except.c (init_eh, finish_eh_generation,
2125 gate_convert_to_eh_region_ranges,
2126 output_one_function_exception_table): Pass &global_options to
2127 targetm.except_unwind_info.
2128 * expr.c (build_personality_function): Pass &global_options to
2129 targetm.except_unwind_info.
2130 * function.c (expand_function_end): Pass &global_options to
2131 targetm.except_unwind_info.
2132 * hooks.c (hook_bool_bool_gcc_optionsp_false): New.
2133 * hooks.h (hook_bool_bool_gcc_optionsp_false): Declare.
2134 * opts.c (finish_options): Pass opts to targetm.except_unwind_info
2135 and targetm.supports_split_stack. Remove assertions about opts
2137 (common_handle_option): Remove assertions about opts, opts_set and dc.
2138 * tree-tailcall.c (suitable_for_tail_call_opt_p): Pass
2139 &global_options to targetm.except_unwind_info.
2140 * tree.c (build_common_builtin_nodes: Pass &global_options to
2141 targetm.except_unwind_info.
2142 * config/arm/arm.c (arm_except_unwind_info): Add gcc_options parameter.
2143 (arm_compute_func_type, arm_expand_prologue, thumb_pushpop,
2144 thumb1_expand_prologue, thumb1_output_function_prologue,
2145 arm_unwind_emit, arm_output_fn_unwind): Update calls to
2146 arm_except_unwind_info.
2147 * config/i386/i386.c (ix86_supports_split_stack): Add gcc_options
2149 * config/ia64/ia64.c (ia64_except_unwind_info): Add gcc_options
2151 (ia64_output_function_prologue, ia64_add_bundle_selector_before,
2152 ia64_reorg, ia64_asm_unwind_emit): Update calls to
2153 ia64_except_unwind_info.
2154 * config/pa/pa.c (pa_option_override): Pass &global_options to
2155 targetm.except_unwind_info.
2156 * config/picochip/picochip-protos.h (picochip_except_unwind_info):
2159 2010-11-25 Kai Tietz <kai.tietz@onevision.com>
2161 * cgraphunit.c (process_function_and_variable_attributes):
2162 Mark dllexport-ed function/variables as needed.
2163 * ipa.c (cgraph_externally_visible_p): Make dllexport-ed
2164 as externally visible.
2166 2010-11-25 Alexander Monakov <amonakov@ispras.ru>
2168 PR rtl-optimization/46585
2169 * sel-sched-ir.c (return_regset_to_pool): Verify that RS is not NULL.
2170 (vinsn_init): Skip computation of dependencies for local NOPs.
2171 (vinsn_delete): Don't try to free regsets for local NOPs.
2172 (setup_nop_and_exit_insns): Change definition of nop_pattern.
2174 2010-11-25 Alexander Monakov <amonakov@ispras.ru>
2176 PR rtl-optimization/46602
2177 * sel-sched-ir.c (maybe_tidy_empty_bb): Move checking ...
2178 (tidy_control_flow): Here.
2180 2010-11-25 Joern Rennecke <amylaar@spamcop.net>
2181 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2184 * Makefile.in (s-tm-texi): Remove \r occurences from tmp-tm.texi.
2185 Fix target.def pathname in timestamp comparison.
2187 2010-11-24 Richard Henderson <rth@redhat.com>
2189 * config/ia64/predicates.md (pmpyshr_operand): New.
2190 * config/ia64/ia64.c (ia64_expand_unpack): New.
2191 (ia64_expand_widen_mul_v4hi): New.
2192 (ia64_expand_widen_sum): Update for pattern renames.
2193 (ia64_expand_dot_prod_v8qi): Likewise.
2194 * config/ia64/ia64-protos.h: Update.
2195 * config/ia64/vect.md (vecwider): New mode attribute.
2196 (vec_widen_umult_lo_v8qi, vec_widen_umult_hi_v8qi): New.
2197 (vec_widen_smult_lo_v8qi, vec_widen_smult_hi_v8qi): New.
2198 (pmpyshr2, pmpyshr2_u): New.
2199 (vec_widen_smult_lo_v4hi, vec_widen_smult_hi_v4hi): New.
2200 (vec_widen_umult_lo_v4hi, vec_widen_umult_hi_v4hi): New.
2202 (vec_pack_ssat_v4hi): Rename from pack2_sss.
2203 (vec_pack_usat_v4hi): Rename from *pack2_uss.
2204 (vec_pack_ssat_v2si): Rename from pack4_sss.
2205 (vec_interleave_lowv8qi): Rename from unpack1_l, use the correct
2206 vec_select operation.
2207 (vec_interleave_highv8qi): Similarly.
2208 (mux1_alt): Rename from *mux1_alt.
2209 (vec_extract_evenv8qi, vec_extract_oddv8qi): New.
2210 (vec_interleave_lowv4hi): Rename from unpack2_l.
2211 (vec_interleave_highv4hi): Rename from unpack2_h.
2212 (mix2_r): Rename from *mix2_r.
2213 (mix2_l): Similarly.
2214 (vec_extract_evenodd_helper): New.
2215 (vec_extract_evenv4hi, vec_extract_oddv4hi): New.
2216 (vec_interleave_lowv2si): Rename from *unpack4_l.
2217 (vec_interleave_highv2si): Rename from *unpack4_h.
2218 (vec_extract_evenv2si, vec_extract_oddv2si): New.
2219 (vec_interleave_lowv2sf): Rename from fmix_r.
2220 (vec_interleave_highv2sf): Rename from *fmix_l.
2221 (vec_extract_evenv2sf, vec_extract_oddv2sf): New.
2222 (vec_unpacku_lo_<VECINT12>, vec_unpacku_hi_<VECINT12>): New.
2223 (vec_unpacks_lo_<VECINT12>, vec_unpacks_hi_<VECINT12>): New.
2224 (vec_pack_trunc_v4hi, vec_pack_trunc_v2si): New.
2226 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2228 * targhooks.c (default_except_unwind_info): Remove
2229 MUST_USE_SJLJ_EXCEPTIONS case.
2230 * config/h8300/h8300.h (MUST_USE_SJLJ_EXCEPTIONS): Delete.
2231 * config/h8300/h8300.c (TARGET_EXCEPT_UNWIND_INFO): Define.
2232 * doc/tm.texi.in (MUST_USE_SJLJ_EXCEPTIONS): Delete.
2233 * doc/tm.texi: Regenerate.
2234 * system.h (MUST_USE_SJLJ_EXCEPTIONS): Poison.
2236 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2238 * cppbuiltin.c (define_builtin_macros_for_type_sizes): Define
2239 __FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN.
2240 * config/dfp-bit.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
2241 * doc/cpp.texi (__FLOAT_WORD_ORDER__): Document.
2242 * system.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Poison.
2244 2010-11-24 H.J. Lu <hongjiu.lu@intel.com>
2247 * config/i386/i386.c (ix86_expand_call): Don't check
2250 2010-11-24 H.J. Lu <hongjiu.lu@intel.com>
2253 * config/i386/i386.c (upper_128bits_state): New.
2254 (block_info_def): Remove upper_128bits_set and done. Add state,
2255 referenced, count, processed and rescanned.
2256 (check_avx256_stores): Updated.
2257 (move_or_delete_vzeroupper_2): Updated. Handle deleted BB_END.
2258 Call note_stores only if needed. Set referenced and count.
2259 (move_or_delete_vzeroupper_1): Updated. Set rescan_vzeroupper_p.
2260 (rescan_move_or_delete_vzeroupper): New.
2261 (move_or_delete_vzeroupper): Process and rescan all all basic
2262 blocks instead of predecessor blocks of all exit points.
2263 (ix86_option_override_internal): Enable vzeroupper optimization
2264 only for -fexpensive-optimizations and not optimizing for size.
2265 (use_avx256_p): Removed.
2266 (init_cumulative_args): Don't set use_avx256_p.
2267 (ix86_function_arg): Likewise.
2268 (ix86_expand_move): Likewise.
2269 (ix86_expand_vector_move_misalign): Likewise.
2270 (ix86_local_alignment): Likewise.
2271 (ix86_minimum_alignment): Likewise.
2272 (ix86_expand_epilogue): Don't check use_avx256_p when generating
2274 (ix86_expand_call): Likewise.
2276 * config/i386/i386.h (machine_function): Remove use_vzeroupper_p
2277 and use_avx256_p. Add rescan_vzeroupper_p.
2279 2010-11-24 Joseph Myers <joseph@codesourcery.com>
2281 * toplev.c: Include <signal.h>.
2283 2010-11-24 Richard Guenther <rguenther@suse.de>
2286 * lto-symtab.c (lto_cgraph_replace_node): Mark edges with
2287 conflicting function signatures as non-inlineable.
2289 2010-11-24 Jakub Jelinek <jakub@redhat.com>
2291 PR rtl-optimization/46614
2292 * sched-deps.c (NON_FLUSH_JUMP_KIND, NON_FLUSH_JUMP_P): Define.
2293 (deps_analyze_insn): Mark JUMP_INSNs in
2294 last_pending_memory_flush that weren't added through
2295 flush_pending_lists with NON_FLUSH_JUMP_KIND.
2296 (sched_analyze_2, sched_analyze_insn): Check NON_FLUSH_JUMP_P
2297 on INSN_LIST instead of JUMP_P check on its operand.
2298 * sched-rgn.c (concat_INSN_LIST): Copy over REG_NOTE_KIND.
2300 2010-11-24 Richard Guenther <rguenther@suse.de>
2302 * lto-streamer-in.c (input_gimple_stmt): Use types_compatible_p.
2304 2010-11-24 Richard Guenther <rguenther@suse.de>
2307 * lto-streamer-in.c (input_gimple_stmt): When we cannot find
2308 a FIELD_DECL that is type correct issue a warning and fixup
2309 with a VIEW_CONVERT_EXPR.
2311 2010-11-24 Basile Starynkevitch <basile@starynkevitch.net>
2313 * doc/invoke.texi (Options for Debugging Your Program or GCC):
2314 Explain static numbering of dump files.
2316 2010-11-24 Joseph Myers <joseph@codesourcery.com>
2318 * common.opt (user_vect_verbosity_level): New Variable entry.
2319 (ftree-vectorizer-verbose=): Mark as UInteger.
2320 * flag-types.h (enum vect_verbosity_levels): Move from enum
2321 verbosity_levels in tree-vectorizer.h.
2322 * opts.c: Don't include tree.h.
2323 (vect_set_verbosity_level): Move from tree-vectorizer.c. Use
2324 gcc_options parameter; take integer option argument.
2325 (common_handle_option): Update call to vect_set_verbosity_level.
2326 * tree-vectorizer.c (user_vect_verbosity_level): Remove.
2327 (vect_set_verbosity_level): Move to opts.c.
2328 (vect_verbosity_level, vect_print_dump_info): Update for change of
2330 * tree-vectorizer.h (enum verbosity_levels): Move to flag-types.h.
2331 (vect_print_dump_info): Update for change of enum name.
2332 * tree.h (vect_set_verbosity_level): Remove.
2333 * Makefile.in (opts.o): Update dependencies.
2335 2010-11-24 Jakub Jelinek <jakub@redhat.com>
2338 * cfgexpand.c (maybe_cleanup_end_of_block): Test NEXT_INSN (insn)
2339 instead of insn with any_condjump_p.
2341 2010-11-24 Mingjie Xing <mingjie.xing@gmail.com>
2343 * config/mips/loongson.md: Change the description comment of the file
2344 and update the copyright years.
2345 (define_insn "<u>div<mode>3): Add loongson3a support.
2346 (define_insn "<u>mod<mode>3"): Likewise.
2347 * config/mips/mips.md: Rename mul<mode>3_mul3_ls2ef to
2348 mul<mode>3_mul3_loongson.
2349 (define_expand "mul<mode>3"): Add TARGET_LOONGSON_3A.
2350 (define_insn "mul<mode>3_mul3_loongson"): Add loongson3a support.
2352 2010-11-23 Joseph Myers <joseph@codesourcery.com>
2354 * common.opt (initial_max_fld_align, flag_debug_asm,
2355 flag_dump_rtl_in_asm, flag_dump_all_passed, rtl_dump_and_exit,
2356 flag_print_asm_name, graph_dump_format, help_printed,
2357 help_columns, flag_opts_finished): New Variable entries.
2358 (fdbg-cnt-list, fdbg-cnt=, fdebug-prefix-map=, frandom-seed,
2359 frandom-seed=): Mark deferred.
2360 (fsched-verbose=): Use UInteger and Var.
2361 * flags.h (set_struct_debug_option, flag_print_asm_name,
2362 rtl_dump_and_exit, flag_debug_asm, flag_dump_rtl_in_asm,
2363 graph_dump_format): Don't declare here.
2364 * haifa-sched.c (sched_verbose_param, fix_sched_param): Remove.
2365 * opts-global.c: Include dbgcnt.h and debug.h.
2366 (decode_options): Pass location to finish_options.
2367 (handle_common_deferred_options): Check flag_dump_all_passed.
2368 Handle OPT_fdbg_cnt_, OPT_fdbg_cnt_list, OPT_fdebug_prefix_map_,
2369 OPT_frandom_seed and OPT_frandom_seed_. Don't assert on
2371 * opts.c: Don't include toplev.h, dbgcnt.h or debug.h.
2372 (set_struct_debug_option): Add location_t parameter. Update
2373 recursive call. Use error_at.
2374 (default_options_optimization): Use error_at.
2375 (finish_options): Add location_t parameter. Use
2376 opts->x_flag_opts_finished instead of first_time_p. Use
2377 opts->x_optimize instead of optimize. Use error_at. Pass
2379 (print_filtered_help): Use opts->x_help_printed to track what
2380 options have been printed.
2381 (print_specific_help): Use opts->x_help_columns to track number of
2383 (common_handle_option): Pass locations and gcc_options pointers to
2384 more functions. Use warning_at instead of fnotice and warning.
2385 Don't handle OPT_fdbg_cnt_, OPT_fdbg_cnt_list or
2386 OPT_fdebug_prefix_map_. Use error_at. Set
2387 opts->x_initial_max_fld_align; don't set maximum_field_alignment.
2388 Don't handle OPT_frandom_seed or OPT_frandom_seed_. Don't handle
2389 OPT_fsched_verbose_.
2390 (handle_param): Add location_r parameter. Use error_at.
2391 (set_debug_level): Add location_r parameter. Use error_at and
2393 (setup_core_dumping): Add diagnostic_context parameter.
2394 (decode_d_option): Add gcc_options, location_t and
2395 diagnostic_context parameters and use them instead of global
2396 state. Use warning_at.
2397 (enable_warning_as_error): Use error_at.
2398 * opts.h (finish_options): Update prototype.
2399 (set_struct_debug_option): Declare here.
2400 * rtl.h (fix_sched_param): Remove.
2401 * stor-layout.c (initial_max_fld_align): Remove.
2402 * toplev.c (rtl_dump_and_exit, flag_print_asm_name,
2403 graph_dump_format, flag_debug_asm, flag_dump_rtl_in_asm): Remove.
2404 (process_options): Set maximum_field_alignment.
2405 * tree.h (initial_max_fld_align) Don't declare here.
2406 * Makefile.in (opts.o, opts-global.o): Update dependencies.
2408 2010-11-23 Joseph Myers <joseph@codesourcery.com>
2410 * flag-types.h (struct visibility_flags): Don't declare here.
2411 * flags.h (strip_off_ending, fast_math_flags_set_p,
2412 fast_math_flags_struct_set_p): Declare here.
2413 (visibility_options): Don't declare here.
2414 * opts-common.c (option_enabled, get_option_state): Move from
2416 * opts-global.c: Include diagnostic.h instead of
2417 diagnostic-core.h. Include tree.h, langhooks.h, lto-streamer.h
2419 (const_char_p, ignored_options, in_fnames, num_in_fnames,
2420 write_langs, complain_wrong_lang, postpone_unknown_option_warning,
2421 print_ignored_options, unknown_option_callback,
2422 post_handling_callback, lang_handle_option, add_input_filename,
2423 read_cmdline_options, initial_lang_mask, init_options_once,
2424 decode_cmdline_options_to_array_default_mask,
2425 set_default_handlers, decode_options): Move from opts.c.
2426 (print_ignored_options): Use warning_at instead of saving and
2427 restoring input_location.
2428 * opts.c: Include <signal.h> and <sys/resource.h>. Include rtl.h
2429 instead of expr.h. Don't include langhooks.h, except.h or
2430 lto-streamer.h. Add more comments on includes.
2431 (strip_off_ending, setup_core_dumping, decode_d_option): Move from
2433 (visibility_options): Move to c-family/c-common.c.
2434 (const_char_p, ignored_options, in_fnames, num_in_fnames,
2435 write_langs, complain_wrong_lang, postpone_unknown_option_warning,
2436 print_ignored_options, unknown_option_callback,
2437 post_handling_callback, lang_handle_option, add_input_filename,
2438 read_cmdline_options, initial_lang_mask, init_options_once,
2439 decode_cmdline_options_to_array_default_mask,
2440 set_default_handlers, decode_options): Move to opts-global.c.
2441 (target_handle_option, default_options_optimization,
2442 finish_options, common_handle_option): Remove static.
2443 (option_enabled, get_option_state): Move to opts-common.c.
2444 * opts.h (common_handle_option, target_handle_option,
2445 finish_options, default_options_optimization): Declare.
2446 * toplev.c: Don't include <signal.h> or <sys/resource.h>.
2447 (setup_core_dumping, strip_off_ending, decode_d_option): Move to
2449 * toplev.h (strip_off_ending, decode_d_option,
2450 fast_math_flags_set_p, fast_math_flags_struct_set_p): Don't
2452 * Makefile.in (opts.o, opts-global.o): Update dependencies.
2454 2010-11-23 Dave Korn <dave.korn.cygwin@gmail.com>
2457 * gcc.c (LINK_COMMAND_SPEC): Remove hard-coded pass-through plugin
2458 options, replace by call of pass-through-libs spec function to process
2459 link_gcc_c_sequence spec.
2460 (lto_libgcc_spec): Delete variable.
2461 (static_specs[]): Remove related entry.
2462 (static_spec_functions[]): Add new entry for pass-through-libs.
2463 (main): Don't generate deleted lto_libgcc_spec.
2464 (pass_through_libs_spec_func): New function to implement the new
2465 pass-through-libs spec function.
2466 * doc/invoke.texi (pass-through-libs): Document new spec function.
2468 2010-11-23 Joseph Myers <joseph@codesourcery.com>
2470 * doc/options.texi (Warning, Optimization): Document.
2472 2010-11-23 Jan Hubicka <jh@suse.cz>
2474 * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): New macro.
2475 (tree_decl_with_vis): Add implicit_section_name_p.
2476 * targhooks.h (default_function_section): Declare.
2477 * target.def (function_section): New hook.
2478 * defaults.h (HOT_TEXT_SECTION_NAME,
2479 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
2480 * predict.c (choose_function_section): Remove.
2481 (estimate_bb_frequencies): Do not use choose_function_section.
2482 * coretypes.h (enum node_frequency): Move here from cgraph.h
2483 * cgraph.h (enum node_frequency): Remove.
2484 * varasm.c (initialize_cold_section_name, unlikely_text_section,
2485 unlikely_text_section_p): Remove.
2486 (named_subsection_entry): New structure.
2487 (get_text_section): New function.
2488 (default_function_section): New function.
2489 (function_section_1): Break out from ...; handle profile info.
2490 (function_section): ... here.
2491 (unlikely_text_section): Remove.
2492 (unlikely_text_section_p): Use function_section_1.
2493 (assemble_start_function): Do not initialize cold section.
2494 (default_section_type_flags): Do not special case cold subsection.
2495 (switch_to_section): Likewise.
2496 * output.h (get_text_section): Define.
2497 * config/i386/winnt.c: Do not special case cold section.
2498 * config/darwin-protos.h (darwin_function_section): Declare.
2499 * config/microblaze/microblaze.h (HOT_TEXT_SECTION_NAME,
2500 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
2501 * config/ia64/hpux.h (HOT_TEXT_SECTION_NAME,
2502 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
2503 (TARGET_ASM_FUNCTION_SECTION): Define to ia64_hpux_function_section.
2504 * config/ia64/ia64.c (ia64_hpux_function_section): New function.
2505 * config/darwin.c (machopic_select_section): Use
2506 darwin_function_section.
2507 (darwin_function_section): New function.
2508 * config/darwin.h (HOT_TEXT_SECTION_NAME,
2509 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
2510 (TARGET_ASM_FUNCTION_SECTION): Define.
2511 * system.h (HOT_TEXT_SECTION_NAME,
2512 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Poison.
2514 2010-11-23 Iain Sandoe <iains@gcc.gnu.org>
2516 * config/darwin.h (LINK_COMMAND_SPEC_A): Use %(link_gcc_c_sequence).
2517 LINK_GCC_C_SEQUENCE_SPEC: Define new macro.
2519 2010-11-23 Jakub Jelinek <jakub@redhat.com>
2522 * cfgexpand.c (maybe_cleanup_end_of_block): Remove also BARRIERs
2523 following unconditional jumps.
2525 2010-11-23 Richard Guenther <rguenther@suse.de>
2527 * doc/md.texi (386 constraints): Clarify A constraint documentation.
2529 2010-11-23 Basile Starynkevitch <basile@starynkevitch.net>
2530 Jeremie Salvucci <jeremie.salvucci@free.fr>
2532 * gengtype.c (enum typekind, struct options)
2533 (struct nested_ptr_data, struct pair, NUM_PARAM)
2534 (enum gc_used_num, struct type, UNION_P, UNION_OR_STRUCT_P):
2536 (string_type, scalar_nonchar, scalar_nonchar, scalar_char):
2537 Remove static, add zero state_number.
2538 (typedefs, structures, param_structs, variables): Remove static.
2539 (create_option): Remove.
2540 (create_string_option, create_type_option, create_nested_option):
2542 (create_nested_ptr_option): Use create_nested_option.
2543 (note_variable, adjust_field_rtx_def, adjust_field_type): Call the
2544 new create*option functions.
2545 (process_gc_options): Adjust for discriminated option.
2546 (output_mangled_typename): Handle TYPE_NONE.
2547 (walk_type): Test option kinds.
2548 (write_types_process_field): Handle TYPE_NONE and TYPE_ARRAY.
2549 (write_func_for_structure, write_type, write_local, write_root)
2550 (write_roots, note_def_vec, dump_options): Adjust for
2551 discriminated option.
2553 * gengtype.h (typedefs, structures, param_structs, variables
2554 enum typekind): Move from gengtype.c
2555 (enum option_kind): New discriminating enumeration.
2556 (struct options): Becomes discriminated.
2557 (struct nested_ptr_data): Nove from gengtype.c
2558 (create_string_option, create_type_option, create_nested_option)
2559 (create_nested_ptr_option): New functions
2560 (struct pair, enum_gc_used_enum, NUM_PARAM, struct type, UNION_P)
2561 (UNION_OR_STRUCT_P): Move from gengtype.c
2563 * gengtype-parse.c (str_optvalue_opt, type_optvalue, option): Make
2564 discriminated options.
2566 2010-11-23 Richard Guenther <rguenther@suse.de>
2568 * tree-ssa-sccvn.c (vn_reference_lookup_3): Avoid doing work
2569 twice. Avoid re-allocating the ops vector all the time.
2571 2010-11-23 Richard Guenther <rguenther@suse.de>
2573 * tree-ssa-alias.c (refs_may_alias_p_1): Avoid calls to
2574 is_gimple_min_invariant, group tree code checks to allow
2576 (stmt_may_clobber_ref_p_1): Check for SSA_NAME instead
2579 2010-11-23 Eric Botcazou <ebotcazou@adacore.com>
2581 * config.gcc (sparc*-*-*): Reorder.
2583 2010-11-23 Basile Starynkevitch <basile@starynkevitch.net>
2585 * gengtype.c (header_dot_h_frul, source_dot_c_frul):
2586 Remove ENABLE_CHECKING around DBGPRINTF.
2588 2010-11-22 Joseph Myers <joseph@codesourcery.com>
2590 * common.opt (exit_after_options, write_symbols, debug_info_level,
2591 use_gnu_debug_info_extensions): New Variable entries.
2592 (fprofile-dir=): Use Var.
2593 * flag-types.h (enum debug_info_level): Rename to enum
2595 * flags.h (write_symbols, debug_info_level,
2596 use_gnu_debug_info_extensions): Remove declarations.
2597 * opts.c (exit_after_options, write_symbols, debug_info_level): Remove.
2598 (set_struct_debug_option): Make static variables const.
2599 (use_gnu_debug_info_extensions): Remove.
2600 (set_debug_level, print_filtered_help, print_specific_help,
2601 fast_math_flags_set_p): Take gcc_options parameters and use them
2602 in place of global variables.
2603 (print_filtered_help): Make new_help non-static.
2604 (print_specific_help): Update call to print_filtered_help.
2605 (common_handle_option): Update calls to print_specific_help. Use
2606 gcc_options structure for more settings. Make --help table
2607 const. Don't handle OPT_fprofile_dir_ here. Update calls to
2609 * toplev.c (profile_data_prefix): Remove.
2610 * toplev.h (profile_data_prefix, exit_after_options): Remove
2612 (fast_math_flags_set_p): Update prototype.
2613 * cppbuiltin.c (define_builtin_macros_for_compilation_flags):
2614 Update call to fast_math_flags_set_p.
2616 2010-11-22 Richard Henderson <rth@redhat.com>
2619 * config/crx/crx.c (crx_addr_reg): Rename from crx_addr_reg_p;
2620 return the address register extracted.
2621 (crx_decompose_address): Update the extracted address register.
2623 2010-11-22 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
2626 * gcc.c (main): Don't crash when lto-wrapper program is not found.
2628 2010-11-22 Joern Rennecke <amylaar@spamcop.net>
2631 * config/picochip/picochip.c (picochip_secondary_reload): Make static.
2632 * config/picochip/picochip-protos.h: Don't include "target.h" .
2633 (picochip_secondary_reload): Don't declare.
2636 * config/m32c/m32c-protos.h (m32c_conditional_register_usage): Declare.
2637 * config/m32c/m32c.c (m32c_conditional_register_usage): No longer
2640 2010-11-22 H.J. Lu <hongjiu.lu@intel.com>
2643 * gengtype.c (header_dot_h_frul): Check ENABLE_CHECKING.
2644 (source_dot_c_frul): Likewise.
2646 2010-11-22 Basile Starynkevitch <basile@starynkevitch.net>
2648 * gimple-pretty-print.c (dump_bb_header): Add check for cfun.
2650 2010-11-22 Paolo Bonzini <bonzini@gnu.org>
2653 * Makefile.in (fwprop.o) Add sparseset.h.
2654 * fwprop.c: Include sparseset.h
2655 (struct find_occurrence_data, find_occurrence_callback,
2656 find_occurrence): Remove.
2657 (active_defs, active_defs_check, register_active_defs,
2658 update_df_init, update_uses): New.
2659 (update_df): Rewrite.
2660 (try_fwprop_subst, forward_propagate_asm): Add calls to
2661 update_df_init and update_df.
2662 (fwprop_init): Allocate active_defs and active_defs_check.
2663 (fwprop_done): Free them.
2664 (fwprop, fwprop_addr): Adjust comments.
2665 * df.h (df_uses_create): Declare.
2666 * df-scan.c (df_install_ref_incremental): Break out of df_ref_create.
2667 (df_ref_create): Return result of df_ref_create_structure directly.
2668 (df_ref_create_structure): Call df_install_ref_incremental when
2669 no collection_rec is passed.
2670 (df_ref_record): Do not create multiword hard reg info when no
2671 collection_rec is passed.
2672 (df_uses_create): New.
2674 2010-11-21 Uros Bizjak <ubizjak@gmail.com>
2677 * fold-const.c (pedantic_non_lvalue_loc): Unshare x before
2680 2010-11-22 Richard Guenther <rguenther@suse.de>
2682 * gimple-fold.c (maybe_fold_reference): When canonicalizing
2683 MEM_REFs, preserve volatileness.
2684 * cgraphbuild.c (mark_address): Properly check for FUNCTION_DECL
2687 2010-11-22 Richard Guenther <rguenther@suse.de>
2689 * tree-ssa-ccp.c (get_base_constructor): Remove superfluous breaks.
2691 2010-11-22 Alexander Monakov <amonakov@ispras.ru>
2693 PR rtl-optimization/45652
2694 * alias.c (get_reg_base_value): New.
2695 * rtl.h (get_reg_base_value): Add prototype.
2696 * sel-sched.c (init_regs_for_mode): Use it. Don't use registers with
2697 non-null REG_BASE_VALUE for renaming.
2699 2010-11-22 Jeremie Salvucci <jeremie.salvucci@free.fr>
2700 Basile Starynkevitch <basile@starynkevitch.net>
2702 * gengtype.c: Include xregex.h and obstack.h
2703 Added comments about role of get_output_file_with_visibility and
2704 our regexpr machinery.
2705 (frul_actionrout_t, struct file_rule_st): New.
2706 (hader_dot_h_frul, source_dot_c_frul): New functions.
2707 (NULL_REGEX, NULL_FRULACT): New.
2709 (matching_file_name_substitute): New function.
2710 (get_output_file_with_visibility): Updated comments and rewritten
2711 to use the new files_rules machinery.
2713 * Makefile.in (XREGEX_H): Added variable.
2714 (build/gengtype.o): Added dependencies for xregex.h and obstack.h
2716 2010-11-21 Nathan Froyd <froydnj@codesourcery.com>
2718 * system.h (FUNCTION_ARG_BOUNDARY): Really poison.
2720 2010-11-21 Nathan Froyd <froydnj@codesourcery.com>
2722 * target.def (conditional_register_usage): Define.
2723 * reginfo.c (init_reg_sets_1): Call
2724 targetm.conditional_register_usage.
2725 * system.h (CONDITIONAL_REGISTER_USAGE): Poison.
2726 * doc/tm.texi.in (CONDITIONAL_REGISTER_USAGE): Adjust language
2727 for making it a hook.
2728 * doc/tm.texi: Regenerate.
2729 * config/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2730 * config/alpha/alpha.c (alpha_conditional_register_usage): ...here.
2732 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2733 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2734 * config/arc/arc.c (arc_conditional_register_usage): ...here.
2736 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2737 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2738 * config/arm/arm.c (arm_conditional_register_usage): ...here.
2740 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2741 * config/bfin/bfin.h (CONDITIONAL_REGISTER_USAGE): Delete.
2742 * config/bfin/bfin-protos.h (conditional_register_usage): Delete.
2743 * config/bfin/bfin.c (conditional_register_usage): Move code into...
2744 (bfin_conditional_register_usage): ...here. New function.
2745 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2746 * config/cris/cris.h (CONDITIONAL_REGISTER_USAGE): Delete.
2747 * config/cris/cris-protos.h (cris_conditional_register_usage): Delete.
2748 * config/cris/cris.c (cris_conditional_register_usage): Make static.
2749 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2750 * config/fr30/fr30.h (FIXED_REGISTERS): Adjust comment.
2751 * config/frv/frv.h (CONDITIONAL_REGISTER_USAGE): Delete.
2752 * config/frv/frv-protos.h (frv_conditional_register_usage): Delete.
2753 * config/frv/frv.c (frv_conditional_register_usage): Make static.
2754 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2755 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2756 * config/h8300/h8300.c (h8300_conditional_register_usage): ...here.
2758 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2759 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Delete.
2760 * config/i386/i386-protos.h (ix86_conditional_register_usage): Delete.
2761 * config/i386/i386.c (ix86_conditional_register_usage): Make static.
2762 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2763 * config/m32c/m32c.h (CONDITIONAL_REGISTER_USAGE): Delete.
2764 * config/m32c/m32c-protos.h (m32c_conditional_register_usage): Delete.
2765 * config/m32c/m32c.c (m32c_conditional_register_usage): Make static.
2766 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2767 * config/m32r/m32r.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2768 * config/m32r/m32r.c (m32r_conditional_register_usage): ...here.
2770 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2771 * config/m68hc11/m68hc11.h (CONDITIONAL_REGISTER_USAGE): Delete.
2772 * config/m68hc11/m68hc11-protos.h (m68hc11_conditional_register_usage):
2774 * config/m68hc11/m68hc11.c (m68hc11_conditional_register_usage): Make
2776 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2777 * config/mep/mep.h (CONDITIONAL_REGISTER_USAGE): Delete.
2778 * config/mep/mep-protos.h (mep_conditional_register_usage): Delete.
2779 * config/mep/mep.c (mep_conditional_register_usage): Make static.
2780 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2781 * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Delete.
2782 * config/mips/mips-protos.h (mips_conditional_register_usage): Delete.
2783 * config/mips/mips.c (mips_conditional_register_usage): Make static.
2784 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2785 * config/mmix/mmix.h (CONDITIONAL_REGISTER_USAGE): Delete.
2786 * config/mmix/mmix-protos.h (mmix_conditional_register_usage): Delete.
2787 * config/mmix/mmix.c (mmix_conditional_register_usage): Make static.
2788 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2789 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2790 * config/mn10300/mn10300.c (mn10300_conditional_register_usage):
2791 ...here. New function.
2792 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2793 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2794 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): ...with this...
2795 * config/pa/pa.c (pa_conditional_register_usage): ...here.
2797 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2798 * config/pdp11/pdp11.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2799 * config/pdp11/pdp11.c (pdp11_conditional_register_usage): ...here.
2801 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2802 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Delete.
2803 * config/rs6000/rs6000-protos.h (rs6000_conditional_register_usage):
2805 * config/rs6000/rs6000.c (rs6000_conditional_register_usage): Make
2807 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2808 * config/rx/rx.h (CONDITIONAL_REGISTER_USAGE): Delete.
2809 * config/rx/rx-protos.h (rx_conditional_register_usage): Delete.
2810 * config/rx/rx.c (rx_conditional_register_usage): Make static.
2811 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2812 * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Delete.
2813 * config/s390/s390-protos.h (s390_conditional_register_usage): Delete.
2814 * config/s390/s390.c (s390_conditional_register_usage): Make static.
2815 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2816 * config/score/score.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2817 * config/score/score.c (score_conditional_register_usage): ...here.
2819 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2820 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2821 * config/sh/sh.c (sh_conditional_register_usage): ...here.
2823 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2824 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2825 * config/sparc/sparc.c (sparc_conditional_register_usage): ...here.
2827 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2828 * config/spu/spu.h (CONDITIONAL_REGISTER_USAGE): Delete.
2829 * config/spu/spu-protos.h (spu_conditional_register_usage): Delete.
2830 * config/spu/spu.c (spu_conditional_register_usage): Make static.
2831 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2832 * config/v850/v850.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2833 * config/v850/v850.c (v850_conditional_register_usage): ...here.
2835 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2837 2010-11-21 Jan Hubicka <jh@suse.cz>
2838 Dominique d'Humieres <dominiq@lps.ens.ft>
2841 * tree-emutls.c (get_emutls_init_templ_addr, new_emutls_decl): Do not
2842 finalize external decls.
2844 2010-11-21 Joseph Myers <joseph@codesourcery.com>
2846 * system.h (strerror): Poison.
2848 2010-11-21 Richard Henderson <rth@redhat.com>
2850 * config/ia64/ia64.c (ia64_expand_builtin): Use the correct mode
2853 2010-11-21 Richard Henderson <rth@redhat.com>
2855 PR rtl-optimization/46571
2856 * gcse.c (hash_scan_set): Use next_nonnote_nondebug_insn.
2857 (compute_hash_table_work): Use NONDEBUG_INSN_P.
2859 2010-11-21 Paul Koning <ni1d@arrl.net>
2861 * config/mips/pdp11.md (negsi2): Fix wrong code.
2863 2010-11-21 Paul Koning <ni1d@arrl.net>
2865 * config/mips/pdp11.c (pdp11_legitimate_address_p): New function.
2866 * config/mips/pdp11.h (GO_IF_LEGITIMATE_ADDRESS): Delete.
2868 2010-11-21 Eric Botcazou <ebotcazou@adacore.com>
2870 * config/mips/mips.c (machine_function): Rename load_label_length to
2871 load_label_num_insns.
2872 (mips_load_label_length): Rename to...
2873 (mips_load_label_num_insns): ...this. Adjust to first renaming.
2874 (mips_adjust_insn_length): Adjust to second renaming. Fix thinko.
2876 2010-11-21 Uros Bizjak <ubizjak@gmail.com>
2879 * config/alpha/predicates.md (direct_call_operand): Return false
2880 for !TARGET_SMALL_TEXT targets.
2882 2010-11-20 Joseph Myers <joseph@codesourcery.com>
2884 * doc/tm.texi.in (HANDLE_SYSV_PRAGMA,
2885 HANDLE_PRAGMA_PACK_PUSH_POP): Remove.
2886 (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Don't refer to HANDLE_SYSV_PRAGMA.
2887 * doc/tm.texi: Regenerate.
2888 * system.h (HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_SYSV_PRAGMA,
2889 HANDLE_PRAGMA_WEAK): Poison.
2890 * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Don't define.
2891 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2892 * config/alpha/osf5.h (HANDLE_SYSV_PRAGMA): Don't define.
2893 * config/alpha/vms.h (HANDLE_SYSV_PRAGMA): Don't define.
2894 * config/arm/arm.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2895 * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Don't define.
2896 * config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2897 * config/darwin.h (HANDLE_SYSV_PRAGMA): Don't define.
2898 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2899 * config/elfos.h (HANDLE_SYSV_PRAGMA): Don't define.
2900 * config/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2901 * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Don't define.
2902 * config/i386/cygming.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2903 * config/i386/djgpp.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2904 * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Don't define.
2905 (HANDLE_PRAGMA_WEAK): Don't undefine.
2906 * config/i386/netware.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2907 * config/i386/vxworks.h (HANDLE_SYSV_PRAGMA): Don't define.
2908 * config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2909 * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Don't define.
2910 * config/interix.h (HANDLE_SYSV_PRAGMA): Don't define.
2911 (HANDLE_PRAGMA_WEAK): Don't undefine.
2912 * config/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2913 * config/m32r/linux.h (HANDLE_SYSV_PRAGMA): Don't define.
2914 (HANDLE_PRAGMA_PACK): Don't undefine.
2915 * config/m32r/m32r.h (HANDLE_SYSV_PRAGMA): Don't undefine.
2916 * config/mep/mep.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2917 * config/mips/elf.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2918 * config/mips/sde.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2919 * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Don't define.
2920 * config/netbsd.h (HANDLE_SYSV_PRAGMA): Don't define.
2921 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2922 * config/openbsd.h (HANDLE_SYSV_PRAGMA): Don't define.
2923 * config/pa/pa-hpux.h (HANDLE_SYSV_PRAGMA): Don't define.
2924 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2925 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Don't define.
2926 * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2927 * config/rx/rx.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2928 * config/score/elf.h (HANDLE_SYSV_PRAGMA): Don't define.
2929 * config/spu/spu.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2930 * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Don't define.
2931 * config/xtensa/elf.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2933 2010-11-20 Eric Botcazou <ebotcazou@adacore.com>
2936 * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP): Move to...
2937 * config/sparc/sol2.h (ASM_OUTPUT_ALIGN_WITH_NOP): ...here.
2938 * config/sparc/sol2-gas.h (ASM_OUTPUT_ALIGN_WITH_NOP): Undefine.
2940 2010-11-20 Jan Hubicka <jh@suse.cz>
2942 * cgraph.c (ld_plugin_symbol_resolution_names): New.
2943 (dump_cgraph_node): Dump resolution.
2944 * cgraph.h (ld_plugin_symbol_resolution_names): Declare.
2945 (cgraph_comdat_can_be_unshared_p): Dclare.
2946 * lto-streamer-out.c (produce_symtab): Use
2947 cgraph_comdat_can_be_unshared_p.
2948 * ipa.c (cgraph_address_taken_from_non_vtable_p): New function.
2949 (cgraph_comdat_can_be_unshared_p): New function based on logic
2950 in cgraph_externally_visible_p.
2951 (cgraph_externally_visible_p): Use it.
2952 (varpool_externally_visible_p): Virtual tables can be unshared.
2953 * varpool.c (dump_varpool_node): Dump resolution.
2955 2010-11-20 Jan Hubicka <jh@suse.cz>
2957 * stmt.c (lshift_cheap_p): Support properly optimize_insn_for_speed_p.
2959 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2962 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New variables.
2963 (AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
2965 (STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
2966 (install-strip): New target.
2967 (STRIPPROG): New variable, exported if STRIP is set.
2968 * doc/install.texi (Final install): Minor markup and code style
2969 fixes. Document install-strip target.
2971 2010-11-20 Paul Koning <ni1d@arrl.net>
2973 * config/pdp11/pdp11-protos.h (pdp11_initial_elimination_offset,
2974 pdp11_regno_reg_class): New functions.
2975 * config/pdp11/pdp11.md (define_constants): Add register numbers.
2976 * config/pdp11/pdp11.c (pdp11_regno_reg_class,
2977 pdp11_sp_frame_offset, pdp11_initial_elimination_offset): New
2979 * config/pdp11/pdp11.h (FIXED_REGISTERS, CALL_USED_REGISTERS): Add
2980 frame pointer and argument pointer pseudo-registers.
2981 (ARG_POINTER_REGNUM): Define.
2982 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Add frame pointer and
2984 (FIRST_PARM_OFFSET): Update for argument pointer.
2985 (INITIAL_FRAME_POINTER_OFFSET): Delete.
2986 (ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): New macros.
2987 (REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_INDEX_P, REGISTER_NAMES): Add
2988 frame pointer and argument pointer.
2990 2010-11-20 Jakub Jelinek <jakub@redhat.com>
2993 * tree-parloops.c (try_create_redunction_list): Ignore debug stmts
2994 when looking for immediate uses.
2996 PR tree-optimization/45830
2997 * stmt.c (expand_switch_using_bit_tests_p): New function.
2998 (expand_case): Use it.
2999 * tree.h (expand_switch_using_bit_tests_p): New prototype.
3000 * tree-switch-conversion.c (struct switch_conv_info): Add
3001 bit_test_uniq, bit_test_count and bit_test_bb fields.
3002 (check_range): Fix a comment.
3003 (check_process_case): Compute bit_test_uniq and bit_test_count.
3004 (create_temp_arrays): Use XCNEWVEC, merge 3 arrays into one
3006 (free_temp_arrays): Use XDELETEVEC, adjust for the 3 arrays merging.
3007 (constructor_contains_same_values_p): Use FOR_EACH_VEC_ELT.
3008 (array_value_type): New function.
3009 (build_one_array): Use it, if it returned different type,
3010 fold_convert all constructor fields and convert back to the
3011 wider type in the generated code.
3012 (process_switch): Initialize bit_test_uniq, bit_test_count and
3013 bit_test_bb fields. Don't optimize if expand_switch_using_bit_tests_p
3016 2010-11-19 Michael Matz <matz@suse.de>
3018 PR tree-optimization/46077
3019 * tree-chrec.c (eq_evolutions_p): Accept some expressions.
3021 2010-11-19 Anatoly Sokolov <aesok@post.ru>
3023 * config/mn10300/mn10300.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
3024 * config/mn10300/mn10300.c (mn10300_asm_output_addr_const_extra): New
3026 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
3028 2010-11-19 Uros Bizjak <ubizjak@gmail.com>
3030 * mode-switching.c (optimize_mode_switching): Use
3031 FOR_BB_INSNS instead of open-coded loop.
3032 * cfgrtl.c (redirect_branch_edge): Ditto.
3034 2010-11-19 Joern Rennecke <amylaar@spamcop.net>
3037 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Split shift count
3038 to accomodate 32 bit HOST_WIDE_INT.
3039 (m68hc11_emit_logical): Remove unused variable insn.
3040 (m68hc11_check_z_replacement) <CLOBBER>: Set this_insn_uses_ix and
3041 this_insn_uses_iy before use.
3044 * config/crx/crx.c (crx_expand_epilogue): Remove unused variable.
3046 2010-11-19 Joseph Myers <joseph@codesourcery.com>
3049 * c-tree.h (in_late_binary_op): Move to c-family/c-common.h.
3050 * c-typeck.c (in_late_binary_op): Move to c-family/c-common.c.
3052 2010-11-19 Michael Meissner <meissner@linux.vnet.ibm.com>
3054 * doc/extend.texi (Function attributes): Document PowerPC target
3055 attributes that are supported.
3056 (Pragmas): Document that PowerPC now supports target pragmas.
3058 * doc/options.texi (TargetVariable): Document TargetVariable,
3059 HeaderInclude, and SourceInclude.
3061 * doc/invoke.texi (-mfused-madd): Document that -mfused-madd is
3062 mapped to -ffp-contract=fast, and -mno-fused-madd is mapped to
3065 * optc-gen.awk: Add support for TargetVariable, HeaderInclude, and
3066 SourceInclude directives. Fix a cut+paste error with target save
3067 enum variables. Sort enums in the structures after ints and
3069 * opth-gen.awk: Ditto.
3071 * configure.ac: Add support for HeaderInclude and SourceInclude option
3072 directives to add the appropriate files to the dependency lists.
3073 * configure: Regenerate.
3074 * Makefile.in (OPTIONS_H_EXTRA): New variable for HeaderInclude.
3075 (OPTIONS_C_EXTRA): New variable for SourceInclude.
3076 (OPTIONS_H): Add $(OPTIONS_H_EXTRA).
3077 (options.o): Add $(OPTIONS_C_EXTRA) dependency.
3078 (gcc-options.o): Ditto.
3079 * opt-include.awk: New awk script to handle HeaderInclude and
3082 * config/rs6000/aix.opt (-mxl-compat): Mark option as Save so it
3083 gets saved in the target options.
3084 * config/rs6000/linux64.opt (-mprofile-kernel): Ditto.
3085 * config/rs6000/sysv4.opt (-mbit-align): Ditto.
3086 (-mprototype): Ditto.
3087 (-mbit-word): ditto.
3088 (-mregnames): Ditto.
3089 (-msecure-plt): Ditto.
3091 * config/rs6000/rs6000.opt (-mpowerpc-gpopt): Ditto.
3092 (-mpowerpc-gfxopt): Ditto.
3099 (-mhard-dfp): Ditto.
3102 (-mmultiple): Ditto.
3107 (-mno-update): Ditto.
3108 (-mavoid-indexed-addresses): Ditto.
3109 (-mtls-markers): Ditto.
3110 (-msched-epilog): Ditto.
3111 (-msched-prolog): Ditto.
3112 (-maix-struct-return): Ditto.
3113 (-msvr4-struct-return): Ditto.
3114 (-mxl-compat): Ditto.
3115 (-mrecip-precision): Ditto.
3116 (-mfp-in-toc): Ditto.
3117 (-msum-in-toc): Ditto.
3119 (-mblock-move-inline-limit=): Ditto.
3122 (-mlongcall): Ditto.
3123 (-mgen-cell-microcode): Ditto.
3124 (-mwarn-cell-microcode): Ditto.
3125 (-mwarn-altivec-long): Ditto.
3126 (-mprioritize-restricted-insns=): Ditto.
3127 (-msingle-float): Ditto.
3128 (-mdouble-float): Ditto.
3129 (-msimple-fpu): Ditto.
3130 (-mxilinx-fpu): Ditto.
3131 * config/rs6000/aix64.opt (-mpe): Ditto.
3133 * config/rs6000/rs6000.opt (HeaderInclude): Include rs6000-opts.h.
3134 (rs6000_cpu): Move variable to be a target variable. Rename
3135 cmodel to rs6000_current_cmodel because of macro conflict. Merge
3136 -mdebug=<xxx> variables into a single int.
3137 (rs6000_always_hint): Ditto.
3138 (rs6000_sched_groups): Ditto.
3139 (rs6000_align_branch_targets): Ditto.
3140 (rs6000_sched_costly_dep): Ditto.
3141 (rs6000_sched_insert_nops): Ditto.
3142 (rs6000_long_double_type_size): Ditto.
3143 (rs6000_ieeequad): Ditto.
3144 (rs6000_altivec_abi): Ditto.
3145 (rs6000_spe): Ditto.
3146 (rs6000_spe_abi): Ditto.
3147 (rs6000_float_gprs): Ditto.
3148 (rs6000_darwin64_abi): Ditto.
3149 (can_override_loop_align): Ditto.
3150 (rs6000_sdata): Ditto.
3151 (rs6000_tls_size): Ditto.
3152 (rs6000_current_abi): Ditto.
3153 (rs6000_traceback): Ditto.
3154 (rs6000_alignment_flags): Ditto.
3155 (rs6000_current_cmodel): Ditto.
3156 (rs6000_recip_control): Ditto.
3157 (rs6000_cpu_index): Ditto.
3158 (rs6000_tune_index): Ditto.
3159 (rs6000_debug): Ditto.
3160 (rs6000_target_flags_explict): Ditto.
3162 * config/rs6000/rs6000-protos.h (rs6000_pragma_target_parse): Add
3165 * config/rs6000/linux64.h (rs6000_current_cmode): Rename from
3166 cmodel. Change all uses.
3168 * config/rs6000/rs6000.c (rs6000_always_hint): Move to
3169 rs6000.opt. Combine -mdebug=<xxx> variables into a single int.
3170 Rename cmodel to rs6000_current_cmodel.
3171 (rs6000_sched_groups): Ditto.
3172 (rs6000_align_branch_targets): Ditto.
3173 (rs6000_sched_costly_dep): Ditto.
3174 (rs6000_sched_insert_nops): Ditto.
3175 (rs6000_long_double_type_size): Ditto.
3176 (rs6000_ieeequad): Ditto.
3177 (rs6000_altivec_abi): Ditto.
3178 (rs6000_spe): Ditto.
3179 (rs6000_spe_abi): Ditto.
3180 (rs6000_float_gprs): Ditto.
3181 (rs6000_darwin64_abi): Ditto.
3182 (can_override_loop_align): Ditto.
3183 (rs6000_sdata): Ditto.
3184 (rs6000_tls_size): Ditto.
3185 (rs6000_current_abi): Ditto.
3186 (rs6000_traceback): Ditto.
3187 (rs6000_alignment_flags): Ditto.
3188 (rs6000_current_cmodel): Ditto.
3189 (rs6000_recip_control): Ditto.
3190 (rs6000_cpu_index): Ditto.
3191 (rs6000_tune_index): Ditto.
3192 (rs6000_debug): Ditto.
3193 (rs6000_target_flags_explict): Ditto.
3194 (rs6000_sched_insert_nops_str): Make static.
3195 (rs6000_sched_costly_dep_str): Ditto.
3196 (rs6000_recip_name): Ditto.
3197 (rs6000_abi_name): Ditto.
3198 (rs6000_sdata_name): Ditto.
3199 (enum rs6000_traceback_name): Move to rs6000-opts.h.
3200 (rs6000_parse_tls_size_option): Delete.
3201 (rs6000_valid_attribute_p): New function for target attributes and
3203 (rs6000_function_specific_save): Ditto.
3204 (rs6000_function_specific_restore): Ditto.
3205 (rs6000_function_specific_print): Ditto.
3206 (rs6000_can_inline_p): Ditto.
3207 (rs6000_set_current_function): Ditto.
3208 (rs6000_inner_target_options): Ditto.
3209 (rs6000_debug_target_options): Ditto.
3210 (rs6000_pragma_target_parse): Ditto.
3211 (TARGET_OPTION_VALID_ATTRIBUTE_P): Define target hooks for target
3212 attributes and pragmas.
3213 (TARGET_OPTION_SAVE): Ditto.
3214 (TARGET_OPTION_RESTORE): Ditto.
3215 (TARGET_OPTION_PRINT): Ditto.
3216 (TARGET_CAN_INLINE_P): Ditto.
3217 (TARGET_SET_CURRENT_FUNCTION): Ditto.
3218 (POWER_MASKS): Move to file level scope from the
3219 rs6000_option_override_internal function.
3220 (POWERPC_MASKS): Ditto.
3221 (ISA_*_MASKS): Ditto.
3222 (struct rs6000_ptt): Ditto.
3223 (processor_target_table): Ditto.
3224 (rs6000_cpu_name_lookup): Map cpu name to an index in
3225 processor_target_table.
3226 (rs6000_debug_reg_global): Print more information on processor
3227 options for -mdebug=reg.
3228 (rs6000_init_hard_regno_mode_ok): Add support for target
3229 attributes and pragmas. Merge all -mdebug=<xxx> fields into one.
3230 Allow -mdebug=val1,val2. Rename cmodel variable.
3231 (rs6000_option_override_internal): Ditto.
3232 (rs6000_option_override): Ditto.
3233 (rs6000_handle_option): Ditto.
3234 (rs6000_conditional_register_usage): Add debug trace message.
3235 (struct rs6000_opt_mask): New for target attribute/pragma support.
3236 (rs6000_opt_masks): Ditto.
3237 (struct rs6000_opt_var): Ditto.
3238 (rs6000_opt_vars): Ditto.
3239 (rs6000_previous_function): Ditto.
3241 * config/rs6000/rs6000.h (top level): Include rs6000-opts.h if it
3242 wasn't already included.
3243 (enum rs6000_cmodel): Move to rs6000-opts.h or rs6000.opt.
3244 (enum processor_type): Ditto.
3245 (rs6000_cpu): Ditto.
3246 (enum fpu_type_t): Ditto.
3248 (enum rs6000_dependence_cost): Ditto.
3249 (enum rs6000_nop_insertion): Ditto.
3250 (enum group_termination): Ditto.
3251 (rs6000_long_double_type_size): Ditto.
3252 (rs6000_ieeequad): Ditto.
3253 (rs6000_altivec_abi): Ditto.
3254 (rs6000_spe_abi): Ditto.
3255 (rs6000_spe): Ditto.
3256 (rs6000_float_gprs): Ditto.
3257 (rs6000_alignment_flags): Ditto.
3258 (rs6000_sched_insert_nops): Ditto.
3259 (enum rs6000_vector): Ditto.
3260 (enum rs6000_abi): Ditto.
3261 (rs6000_current_opt): Ditto.
3262 (rs6000_debug_*): Delete.
3263 (MASK_DEBUG*): Combine -mdebug=xxxx into one int.
3264 (TARGET_DEBUG*): Ditto.
3266 * config/rs6000/rs6000-opts.h: New header file to define the enums
3267 that are used in target variables that are now defined in rs6000.opt.
3269 * config/rs6000/sysv4.h (enum rs6000_sdata_type): Move to
3271 (rs6000_sdata): Ditto.
3272 (rs6000_abi_name): Delete.
3273 (rs6000_sdata_name): Ditto.
3274 (rs6000_tls_size_string): Ditto.
3276 2010-11-19 Joseph Myers <joseph@codesourcery.com>
3278 * common.opt (debug_struct_ordinary, debug_struct_generic): New
3280 * dwarf2out.c (matches_main_base, dump_struct_debug, DUMP_GSTRUCT,
3281 should_emit_struct_debug): Move from opts.c.
3282 * flag-types.h (enum debug_struct_file): Move from opts.c.
3283 * flags.h (should_emit_struct_debug): Remove.
3284 (base_of_path): Declare.
3285 (set_struct_debug_option): Add gcc_options parameter.
3286 * optc-gen.awk, opth-gen.awk: Handle array variables.
3287 * opts.c (enum debug_struct_file, debug_struct_ordinary,
3288 debug_struct_generic): Remove.
3289 (set_struct_debug_option): Add gcc_options parameter.
3290 (base_of_path): Remove static.
3291 (main_input_basename, main_input_baselength, matches_main_base,
3292 dump_struct_debug, DUMP_GSTRUCT, should_emit_struct_debug):
3294 * toplev.c (main_input_basename, main_input_baselength): Define
3296 * toplev.h (main_input_basename, main_input_baselength): Declare
3299 2010-11-19 Joseph Myers <joseph@codesourcery.com>
3301 * common.opt (flag_instrument_functions_exclude_functions,
3302 flag_instrument_functions_exclude_files): New Variable definitions.
3303 * flags.h (flag_instrument_functions_exclude_p): Don't declare.
3304 * gimplify.c (char_p): Declare type and vectors.
3305 (flag_instrument_functions_exclude_p): Moved from opts.c. Make static.
3306 * opts.c (flag_instrument_functions_exclude_functions,
3307 flag_instrument_functions_exclude_files): Remove.
3308 (add_comma_separated_to_vector): Take void **.
3309 (flag_instrument_functions_exclude_p): Move to gimplify.c.
3310 (common_handle_option): Use options structure for
3311 -finstrument-functions-exclude- options.
3313 2010-11-19 Joseph Myers <joseph@codesourcery.com>
3315 * doc/options.texi (Var): Document effects of Defer.
3317 * opt-functions.awk (var_type, var_set): Handle deferred options.
3318 * opts-common.c (set_option): Handle CLVC_DEFER.
3319 * common.opt (fcall-saved-, fcall-used-, fdump-, ffixed-,
3320 fplugin=, fplugin-arg-, fstack-limit, fstack-limit-register=,
3321 fstack-limit-symbol=): Mark as deferred.
3322 * opts.c: Don't include rtl.h, ggc.h, output.h, tree-pass.h or
3324 (print_filtered_help): Don't report state of CLVC_DEFER options.
3325 (common_handle_option): Move code for OPT_fcall_used_,
3326 OPT_fcall_saved_, OPT_fdump_, OPT_ffixed_, OPT_fplugin_,
3327 OPT_fplugin_arg_, OPT_fstack_limit, OPT_fstack_limit_register_ and
3328 OPT_fstack_limit_symbol_ to opts-global.c.
3329 (option_enabled, get_option_state): Handle CLVC_DEFER.
3330 * opts.h: Include vec.h.
3331 (enum cl_var_type): Add CLVC_DEFER.
3332 (cl_deferred_option): Define type and vectors.
3333 (handle_common_deferred_options): Declare.
3334 * opts-global.c: New.
3335 * toplev.c (toplev_main): Call handle_common_deferred_options
3336 * Makefile.in (OPTS_H): Include $(VEC_H).
3337 (OBJS-common): Include opts-global.o.
3338 (opts.o): Update dependencies.
3339 (opts-global.o): Add dependencies.
3341 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
3343 * c-parser.c (c_parser_objc_protocol_definition): Pass attributes
3344 to objc_declare_protocols.
3346 2010-11-19 Richard Guenther <rguenther@suse.de>
3349 * lto-streamer-out.c (lto_output_ts_common_tree_pointers): For
3350 IDENTIFIERs do not stream TREE_TYPE.
3351 * lto-streamer-in.c (lto_input_ts_common_tree_pointers): Likewise.
3353 2010-11-19 Christian Borntraeger <borntraeger@de.ibm.com>
3355 * config/s390/s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.
3357 2010-11-19 Jakub Jelinek <jakub@redhat.com>
3360 * dwarf2out.c (const_ok_for_output_1): Don't complain about
3361 non-delegitimized TLS UNSPECs.
3363 2010-11-18 Jack Howarth <howarth@bromo.med.uc.edu>
3364 Ian Lance Taylor <iant@google.com>
3366 * config/darwin-c.c (darwin_additional_format_types): Export.
3368 2010-11-18 Paul Koning <ni1d@arrl.net>
3370 * config/pdp11/pdp11.h (FIRST_PARM_OFFSET): Fix case of no frame
3373 2010-11-18 Paul Koning <ni1d@arrl.net>
3375 * config/pdp11/pdp11.md (abshi2): Delete TARGET_ABSHI_BUILTIN.
3376 * config/pdp11/pdp11.c (TARGET_DEFAULT_TARGET_FLAGS): Ditto.
3377 * config/pdp11/pdp11.opt (-mabshi): Delete.
3379 2010-11-19 Mingjie Xing <mingjie.xing@gmail.com>
3381 * resource.h (struct resources): Fix typo in the comment.
3383 2010-11-19 Uros Bizjak <ubizjak@gmail.com>
3386 * config/i386/i386.c (ix86_reorg): Call compute_bb_for_insn.
3388 2010-11-18 Richard Henderson <rth@redhat.com>
3391 * function.c (maybe_copy_prologue_epilogue_insn): Rename from
3392 maybe_copy_epilogue_insn; handle prologue insns as well.
3393 * rtl.h, cfglayout.c: Update for rename.
3394 * recog.c (peep2_attempt): Copy prologue/epilogue data for
3395 RTX_FRAME_RELATED_P insns.
3397 2010-11-18 Jakub Jelinek <jakub@redhat.com>
3400 * builtins.c (fold_builtin_printf): Don't copy and modify string
3401 before build_string_literal, instead modify what
3402 build_string_literal returned.
3404 2010-11-18 Nathan Froyd <froydnj@codesourcery.com>
3407 * c-typeck.c (build_unary_op): Call build_real_imag_expr for
3408 REALPART_EXPR and IMAGPART_EXPR.
3410 2010-11-18 Richard Guenther <rguenther@suse.de>
3412 PR tree-optimization/46172
3413 * tree-vect-loop-manip.c (remove_dead_stmts_from_loop): New
3415 (slpeel_tree_peel_loop_to_edge): Call it.