1 2010-12-13 Joseph Myers <joseph@codesourcery.com>
3 * config/m68k/linux.h (DBX_REGISTER_NUMBER): Undefine and
5 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
6 * config.gcc (m68k-*-uclinux*, m68k-*-linux*): Don't use svr4.h.
8 2010-12-13 Alexandre Oliva <aoliva@redhat.com>
11 * jump.c (mark_all_labels): Skip debug insns.
13 2010-12-13 Alexandre Oliva <aoliva@redhat.com>
16 * cfgcleanup.c (try_forward_edges): Skip debug insns.
18 2010-12-12 Jan Hubicka <jh@suse.cz>
19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
21 * varasm.c (default_function_section): Check flag_reorder_functions
22 and targetm.have_named_sections.
23 * config/darwin.c (darwin_function_section): Check
24 flag_reorder_functions.
26 2010-12-12 Finn Thain <fthain@telegraphics.com.au>
29 * config/m68k/m68k.c (handle_move_double): Insert calls to
30 m68k_final_prescan_insn to clean up @TLS operand syntax.
32 2010-12-10 Sebastian Pop <sebastian.pop@amd.com>
34 PR tree-optimization/43023
35 * tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p):
37 (stores_zero_from_loop): Call stmt_stores_zero.
38 * tree-data-ref.h (stmt_stores_zero): New.
39 * tree-loop-distribution.c (generate_memset_zero): Do not return a
40 boolean. Call gcc_assert on stride_of_unit_type_p.
41 (generate_builtin): Call stmt_stores_zero.
42 (rdg_flag_all_uses): Removed.
43 (rdg_flag_similar_memory_accesses): Removed.
44 (build_rdg_partition_for_component): Removed parameter
45 other_stores. Removed call to rdg_flag_similar_memory_accesses.
46 (can_generate_builtin): New.
47 (similar_memory_accesses): New.
48 (fuse_partitions_with_similar_memory_accesses): New.
49 (rdg_build_partitions): Call
50 fuse_partitions_with_similar_memory_accesses.
52 2010-12-10 Jakub Jelinek <jakub@redhat.com>
54 PR rtl-optimization/46804
55 * regmove.c (optimize_reg_copy_3): Look for REG_EQUAL note
56 on the setter of src_reg rather than on insn. If it is
57 equal to the setter's original SET_SRC, replace it with its
58 zero or sign extension instead of dropping it.
60 2010-12-10 Richard Guenther <rguenther@suse.de>
63 * lto-symtab.c (lto_symtab_merge_decls_2): Avoid type warnings
65 (lto_symtab_merge_decls_1): Adjust.
67 2010-12-10 Dave Korn <dave.korn.cygwin@gmail.com>
71 * target.def (mangle_assembler_name): New target asm_out hook.
72 * targhooks.c (default_mangle_assembler_name): Add default hook
74 * targhooks.h (default_mangle_assembler_name): Add prototype.
75 * lto-symtab.c (lto_symtab_register_decl): Use new hook when
76 processing DECL_ASSEMBLER_NAMEs for lto symtabs.
77 (lto_symtab_get_resolution): Likewise.
78 (lto_cgraph_replace_node): Likewise.
79 (lto_symtab_prevailing_decl): Likewise.
80 * lto-streamer-out.c (write_symbol): Likewise.
81 * doc/tm.texi.in (TARGET_MANGLE_ASSEMBLER_NAME): Add @hook directive.
82 * doc/tm.texi: Regenerate.
83 * config/i386/cygming.h (TARGET_MANGLE_ASSEMBLER_NAME): Define to
84 point at i386_pe_mangle_assembler_name.
85 * config/i386/winnt.c (i386_pe_mangle_assembler_name): New function.
86 * config/i386/i386-protos.h (i386_pe_mangle_assembler_name): Add
89 2010-12-10 Nathan Froyd <froydnj@codesourcery.com>
91 * c-typeck.c (readonly_error): Delete.
93 2010-12-10 Jakub Jelinek <jakub@redhat.com>
95 PR rtl-optimization/46865
96 * rtl.c (rtx_equal_p_cb, rtx_equal_p): For last operand of
97 ASM_OPERANDS and ASM_INPUT if integers are different,
99 * jump.c (rtx_renumbered_equal_p): Likewise.
101 PR tree-optimization/46864
102 * tree-ssa-loop-im.c (loop_suitable_for_sm): Return false even
103 when there are EDGE_EH exit edges.
105 2010-12-10 Tobias Burnus <burnus@net-b.de>
108 * configure.ac: Handle --disable-libquadmath-support.
109 * doc/install.texi: Document --disable-libquadmath and
110 --disable-libquadmath-support
111 * configure: Regenerate.
112 * config.in: Regenerate.
114 2010-12-10 Jack Howarth <howarth@bromo.med.uc.edu>
115 Iain Sandoe <iains@gcc.gnu.org>
118 * config/darwin9.h (DSYMUTIL_SPEC): Add fortran source types.
120 2010-12-10 Iain Sandoe <iains@gcc.gnu.org>
122 * config/rs6000/rs6000.c
123 (rs6000_darwin64_record_arg_advance_recurse): Name register increment
124 explicitly. (rs6000_darwin64_record_arg_recurse): Make sure we split
125 long doubles when we run out of regs. Also flag that this requires
126 stack and therefore cannot be returned by value.
127 (rs6000_darwin64_record_arg): Update comment.
128 (rs6000_function_value): Likewise.
130 2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
132 * c-parser.c (c_parser_objc_class_definition): Recognize
133 Objective-C 2.0 class extensions.
135 2010-12-10 Iain Sandoe <iains@gcc.gnu.org>
137 * config/darwin.c: Remove c-tree.h and c-lang.h
138 * config/t-darwin: Remove dependencies on c-tree.h and c-lang.h.
140 2010-12-10 Joern Rennecke <amylaar@spamcop.net>
143 * doc/tm.texi: Regenerate.
144 * target.def: Fix "preferred" spelling. Refer to rclass by its
146 * config/arm/arm.c (arm_preferred_rename_class): Rename parameter class
149 2010-12-09 Paul Koning <ni1d@arrl.net>
151 * config/pdp11/pdp11-protos.h (output_move_double,
152 output_move_quad): Delete.
153 (output_move_multiple, pdp11_expand_operands): New functions.
154 (pdp11_action, pdp11_partorder): New enums.
155 * config/pdp11/pdp11.md (movdi, movsi, movdf, movsf): Use
156 output_move_multiple.
157 (adddi3, subdi3, negdi2): New patterns.
158 (addsi3, subsi3, negsi2): Use pdp11_expand_operands.
160 (neghi2, negqi2): Use PDPint iterator.
161 * config/pdp11/pdp11.c (find_addr_reg, output_move_double,
162 output_move_quad): Delete.
163 (pdp11_expand_operands, output_move_multiple): New functions.
165 2010-12-09 Joseph Myers <joseph@codesourcery.com>
167 * config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
168 * config.gcc (vax-*-linux*): Don't use svr4.h.
170 2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
172 * c-typeck.c (build_indirect_ref): Call invalid_indirection_error.
174 2010-12-09 Joseph Myers <joseph@codesourcery.com>
176 * doc/extend.texi (Attribute Syntax): Correct description of
177 attributes in pointer declarators.
179 2010-12-09 Joseph Myers <joseph@codesourcery.com>
181 * config/mips/vxworks.h (DBX_REGISTER_NUMBER): Undefine.
182 * config.gcc (mips64*-*-linux* | mipsisa64*-*-linux*,
183 mips*-*-linux*, mips-wrs-vxworks): Don't use svr4.h.
185 2010-12-09 Joseph Myers <joseph@codesourcery.com>
187 * config/mep/mep.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
188 WCHAR_TYPE_SIZE): Define.
189 * config.gcc (mep-*-*): Don't use svr4.h.
191 2010-12-09 Joseph Myers <joseph@codesourcery.com>
193 * config/mcore/mcore.h (PTRDIFF_TYPE, WCHAR_TYPE,
194 WCHAR_TYPE_SIZE): Define.
195 * config/svr3.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
196 WCHAR_TYPE_SIZE): Don't define.
197 * config.gcc (mcore-*-elf): Don't use svr4.h.
199 2010-12-09 Joseph Myers <joseph@codesourcery.com>
201 * config.gcc (m32r-*-elf*, m32rle-*-elf*, m32r-*-rtems*,
202 m32r-*-linux*, m32rle-*-linux*): Don't use svr4.h.
204 2010-12-09 Joseph Myers <joseph@codesourcery.com>
206 * config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
207 WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
208 * config.gcc (iq2000*-*-elf*): Don't use svr4.h.
210 2010-12-09 Joseph Myers <joseph@codesourcery.com>
212 * config.gcc (ia64*-*-linux*, ia64*-*-hpux*): Don't use svr4.h.
214 2010-12-09 Joseph Myers <joseph@codesourcery.com>
216 * config/pa/pa32-linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
217 * config.gcc (hppa*64*-*-linux*, hppa*-*-linux*): Don't use
220 2010-12-09 Joseph Myers <joseph@codesourcery.com>
222 * config/moxie/moxie.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
223 WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
224 * config/moxie/rtems.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
225 WCHAR_TYPE, WCHAR_TYPE_SIZE): Undefine.
226 * config.gcc (moxie-*-elf, moxie-*-uclinux*): Don't use svr4.h.
228 2010-12-09 Joseph Myers <joseph@codesourcery.com>
230 * config/frv/frv.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
231 WCHAR_TYPE_SIZE): Define.
232 * config.gcc (frv-*-elf, frv-*-*linux*): Don't use svr4.h.
234 2010-12-09 Joseph Myers <joseph@codesourcery.com>
236 * config/fr30/fr30.h (LIB_SPEC, LINK_SPEC, SIZE_TYPE,
237 PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
238 * config.gcc (fr30-*-elf): Don't use svr4.h.
240 2010-12-09 Joseph Myers <joseph@codesourcery.com>
242 * config/cris/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
243 * config.gcc (crisv32-*-linux* | cris-*-linux*): Don't use svr4.h.
245 2010-12-09 Richard Guenther <rguenther@suse.de>
248 * gimple-fold.c (canonicalize_constructor_val): Canonicalize
251 2010-12-09 Joseph Myers <joseph@codesourcery.com>
253 * config/i386/netware.h (TARGET_POSIX_IO): Define.
254 * config/i386/nto.h (TARGET_POSIX_IO): Define.
255 * config/ia64/hpux.h (TARGET_POSIX_IO): Define.
256 * config/moxie/moxie.h (TARGET_POSIX_IO): Don't undefine.
257 * config/openbsd.h (TARGET_POSIX_IO): Define.
258 * config/rtems.h (TARGET_POSIX_IO): Define.
259 * config/sh/embed-elf.h (TARGET_POSIX_IO): Don't undefine.
260 * config/sol2.h (TARGET_POSIX_IO): Define.
261 * config/svr4.h (TARGET_POSIX_IO): Don't define.
262 * config/vxworksae.h (TARGET_POSIX_IO): Define.
264 2010-12-09 Joseph Myers <joseph@codesourcery.com>
266 * config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
267 * config/ia64/hpux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
269 * config/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
271 * config/mips/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
273 * config/mips/netbsd.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
275 * config/rs6000/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
277 * config/rs6000/linux64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
279 * config/sol2.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
280 * config/sparc/netbsd-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
282 * config/sparc/openbsd64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
284 * config/sparc/sp64-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
286 * config/svr4.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
288 * config/xtensa/elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
291 2010-12-09 Joseph Myers <joseph@codesourcery.com>
293 * config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
295 * config/m68k/netbsd-elf.h (AS_NEEDS_DASH_FOR_PIPED_INPUT):
297 * config/m68k/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
298 * config/mips/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
299 * config/sol2.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
301 * config/sparc/sparc.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
302 * config/svr4.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
304 2010-12-09 Martin Jambor <mjambor@suse.cz>
306 * ipa-prop.c (compute_complex_ancestor_jump_func): Work also if the
307 zero is the first phi parameter.
309 2010-12-09 Martin Jambor <mjambor@suse.cz>
311 * ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type.
312 * ipa-prop.c (ipa_modify_call_arguments): Use it.
313 * tree-sra.c (splice_param_accesses): Test that all accesses have the
314 same alias reference type.
315 (turn_representatives_into_adjustments): Set alias_ptr_type of the
318 2010-12-09 Martin Jambor <mjambor@suse.cz>
321 * tree-sra.c (splice_param_accesses): Check that there are not
322 multiple ADDRESSABLE types.
324 2010-12-09 Joseph Myers <joseph@codesourcery.com>
326 * config/arc/arc.h (ASM_SPEC): Remove %{v}.
327 * config/bfin/bfin.h (ASM_SPEC): Remove %{v}.
328 * config/cris/cris.h (ASM_SPEC): Remove %{v:-v}.
329 * config/fr30/fr30.h (ASM_SPEC): Remove %{v}.
330 * config/frv/frv.h (ASM_SPEC): Remove %{v}.
331 * config/i386/linux.h (ASM_SPEC): Remove %{v}.
332 * config/i386/linux64.h (ASM_SPEC): Remove %{v}.
333 * config/i386/mingw-w64.h (ASM_SPEC): Remove %{v}.
334 * config/i386/sol2-10.h (ASM_SPEC): Remove %{v}.
335 * config/i386/vxworks.h (ASM_SPEC): Remove %{v}.
336 * config/i386/x86-64.h (ASM_SPEC): Remove %{v}.
337 * config/lm32/lm32.h (ASM_SPEC): Remove %{v}.
338 * config/m32r/m32r.h (ASM_SPEC): Remove %{v}.
339 * config/m68k/linux.h (ASM_SPEC): Remove %{v:-V}.
340 * config/microblaze/microblaze.h (ASM_SPEC): Remove %{v}.
341 * config/mips/mips.h (ASM_SPEC): Remove %{v}.
342 * config/mips/vxworks.h (ASM_SPEC): Remove %{v}.
343 * config/pa/pa-linux.h (ASM_SPEC): Remove %{v:-V}.
344 * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Remove %{v}.
345 * config/rs6000/linux64.h (ASM_SPEC): Remove %{v:-V}.
346 * config/rs6000/vxworks.h (ASM_SPEC): Remove %{v:-v}.
347 * config/sparc/openbsd64.h (ASM_SPEC): Remove %{v:-V}.
348 * config/svr4.h (SVR4_ASM_SPEC): Remove %{v:-V}.
349 * config/xtensa/elf.h (ASM_SPEC): Remove %{v}.
350 * config/xtensa/linux.h (ASM_SPEC): Remove %{v}.
352 2010-12-09 Joseph Myers <joseph@codesourcery.com>
354 * config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.
355 * config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}.
356 * config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not
358 * config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Use %{r:} not
360 * config/sparc/openbsd64.h (LINK_SPEC): Use %{r:} not %{r*:}.
361 * config/vax/netbsd-elf.h (LINK_SPEC): Use %{r:} not %{r*:}.
363 2010-12-09 Joseph Myers <joseph@codesourcery.com>
365 * config/alpha/freebsd.h (LINK_SPEC): Don't use
367 * config/alpha/linux-elf.h (LINK_SPEC): Likewise.
368 * config/arm/freebsd.h (LINK_SPEC): Likewise.
369 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Likewise.
370 * config/bfin/linux.h (LINK_SPEC): Likewise.
371 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Likewise.
372 * config/frv/linux.h (LINK_SPEC): Likewise.
373 * config/i386/freebsd.h (LINK_SPEC): Likewise.
374 * config/i386/freebsd64.h (LINK_SPEC): Likewise.
375 * config/i386/linux.h (LINK_SPEC): Likewise.
376 * config/i386/linux64.h (LINK_SPEC): Likewise.
377 * config/i386/openbsdelf.h (LINK_SPEC): Likewise.
378 * config/ia64/freebsd.h (LINK_SPEC): Likewise.
379 * config/ia64/linux.h (LINK_SPEC): Likewise.
380 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
381 * config/m32r/linux.h (LINK_SPEC): Likewise.
382 * config/m68k/linux.h (LINK_SPEC): Likewise.
383 * config/microblaze/linux.h (LINK_SPEC): Likewise.
384 * config/mips/linux.h (LINK_SPEC): Likewise.
385 * config/mips/linux64.h (LINK_SPEC): Likewise.
386 * config/mips/openbsd.h (LINK_SPEC): Likewise.
387 * config/mn10300/linux.h (LINK_SPEC): Likewise.
388 * config/netbsd-elf.h (LINK_SPEC): Likewise.
389 * config/pa/pa-linux.h (LINK_SPEC): Likewise.
390 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32,
391 LINK_OS_LINUX_SPEC64): Likewise.
392 * config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC,
393 LINK_OS_LINUX_SPEC, LINK_OS_GNU_SPEC, LINK_OS_NETBSD_SPEC):
395 * config/s390/linux.h (LINK_SPEC): Likewise.
396 * config/sh/linux.h (SUBTARGET_LINK_SPEC): Likewise.
397 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
398 * config/sparc/linux.h (LINK_SPEC): Likewise.
399 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
400 LINK_SPEC): Likewise.
401 * config/sparc/openbsd64.h (LINK_SPEC): Likewise.
402 * config/vax/linux.h (LINK_SPEC): Likewise.
403 * config/xtensa/linux.h (LINK_SPEC): Likewise.
405 2010-12-09 Joseph Myers <joseph@codesourcery.com>
407 * config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}.
408 * config/frv/frv.h (ASM_SPEC): Likewise.
409 * config/i386/sol2-10.h (ASM_SPEC): Likewise.
410 * config/i386/sol2.h (ASM_SPEC): Likewise.
411 * config/m68k/linux.h (ASM_SPEC): Likewise.
412 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
413 * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
414 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
415 * config/sol2.h (ASM_SPEC): Likewise.
416 * config/sparc/linux.h (ASM_SPEC): Likewise.
417 * config/sparc/linux64.h (ASM_SPEC): Likewise.
418 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
419 * config/sparc/sysv4.h (ASM_SPEC): Likewise.
420 * config/svr4.h (SVR4_ASM_SPEC): Likewise.
422 2010-12-09 Richard Guenther <rguenther@suse.de>
424 * reginfo.c (struct subregs_of_mode_node): Remove.
425 (subregs_of_mode): Likewise.
426 (som_hash): Likewise.
428 (invalid_mode_changes): New bitmap.
429 (record_subregs_of_mode): Get subregs_of_mode argument.
430 Fill in invalid_mode_changes bitmap.
431 (find_subregs_of_mode): Get subregs_of_mode argument and pass
433 (init_subregs_of_mode): Adjust.
434 (finish_subregs_of_mode): Likewise.
435 (invalid_mode_change_p): Query invalid_mode_changes bitmap.
437 2010-12-09 Richard Guenther <rguenther@suse.de>
439 * ira.c (ira): Do not call finish_subregs_of_mode.
440 * ira-costs.c (finish_costs): Call finish_subregs_of_mode.
442 2010-12-09 Richard Guenther <rguenther@suse.de>
444 * rtl.h (invalid_mode_change_p): Adjust prototype.
445 * reginfo.c (invalid_mode_change_p): Remove from argument.
446 * ira-costs.c (print_allocno_costs): Adjust callers.
447 (find_costs_and_classes): Likewise.
449 2010-12-09 Jakub Jelinek <jakub@redhat.com>
451 * config/s390/s390.md (*mov<mode>cc): Change lgoc and stgoc to
452 locg and stocg even in comment.
453 (sync_old_<atomic><mode>): Give mode to UNSPEC_VOLATILE.
456 * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Use stvx
458 (altivec_expand_stv_builtin): For op0 use mode of operand 1 instead
460 * config/rs6000/altivec.md (VI_scalar): New mode attr.
461 (altivec_stve<VI_char>x, *altivec_stvesfx): Use scalar instead of
462 vector mode for operand 0, put operand 1 into UNSPEC.
464 2010-12-09 Yao Qi <yao@codesourcery.com>
466 * config/arm/arm.c (arm_preferred_rename_class): Implement targethook
467 PREFERRED_RENAME_CLASS.
469 2010-12-08 Ian Lance Taylor <iant@google.com>
471 * doc/sourcebuild.texi (Front End): Remove reference to
472 snapshot-README and snapshot-index.html.
474 2010-12-08 Ian Lance Taylor <iant@google.com>
476 * doc/sourcebuild.texi (Texinfo Manuals): Change update_web_docs
477 to update_web_docs_svn.
478 (Front End): Likewise.
480 2010-12-08 Iain Sandoe <iains@gcc.gnu.org>
482 gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and
483 x86_64-*-darwin* to with_cpu:-core2.
484 gcc/config/i386/mmx.md (*mov<mode>_internal_rex64): Replace movq
485 with movd for darwin assembler.
486 gcc/config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto.
487 (*vec_concatv2di_rex64_sse): Ditto.
489 2010-12-08 Richard Guenther <rguenther@suse.de>
490 Sebastian Pop <sebastian.pop@amd.com>
492 PR tree-optimization/45230
493 PR tree-optimization/45231
494 PR tree-optimization/45370
495 * sese.c (rename_uses): Returns a bool. Call
496 recompute_tree_invariant_for_addr_expr only on the RHS of a
498 (graphite_copy_stmts_from_block): Call fold_stmt_inplace when
499 rename_uses returns true.
500 * tree-ssa-copy.c (replace_exp): Add a comment about calling
501 fold_stmt_inplace after replace_exp.
503 2010-12-08 Mike Stump <mikestump@comcast.net>
506 * config/darwin.h (COLLECT_RUN_DSYMUTIL): Add.
507 (DSYMUTIL_SPEC): Use `linker' flags instead to handle lto better.
508 * config/darwin9.h (COLLECT_RUN_DSYMUTIL): Add.
509 (DSYMUTIL_SPEC): Use `linker' flags instead to handle lto better.
510 * collect2.c (post_ld_pass): Add.
512 (maybe_run_lto_and_relink): Call post_ld_pass after ld.
513 (main): Likewise. Call process_args.
515 2010-12-08 Jakub Jelinek <jakub@redhat.com>
518 * regrename.c (check_new_reg_p): Add ATTRIBUTE_UNUSED to reg
521 2010-12-08 Richard Earnshaw <rearnsha@arm.com>
524 * arm.c (thumb2_reorg): Also try to reduce <commutative_op> Rd, Rn, Rd
525 into a 16-bit instruction.
527 2010-12-08 Michael Meissner <meissner@linux.vnet.ibm.com>
530 * builtins.c (expand_builtin_pow_root): Don't optimize pow(x,y)
531 where y is 0.25, 1./6., or 0.75 if the target does not have a sqrt
532 instruction, but do optimize if y is 0.5 or 1./3. since that
533 changes an expensive call into a cheaper one.
535 2010-12-08 Richard Guenther <rguenther@suse.de>
537 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use a shift
538 instead of a division to divide by BITS_PER_UNIT.
540 2010-12-08 Richard Guenther <rguenther@suse.de>
542 * gimplify.c (gimple_tree_eq): Assert hashes are equal only
543 when checking is enabled.
545 2010-12-07 Andrey Belevantsev <abel@ispras.ru>
548 * haifa-sched.c (sched_create_recovery_edges): Update
550 * sel-sched-ir.c (maybe_tidy_empty_bb): Update dominator info
551 after deleting an empty block.
552 (tidy_control_flow): Also verify dominators.
553 (sel_remove_bb): Update dominator info after removing a block.
554 (sel_redirect_edge_and_branch_force): Assert that no unreachable
555 blocks will be created. Update dominator info.
556 (sel_redirect_edge_and_branch): Update dominator info when
557 basic blocks do not become unreachable.
558 (sel_remove_loop_preheader): Update dominator info.
560 2010-12-07 Richard Guenther <rguenther@suse.de>
562 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref):
563 Reset alignment information.
564 (bump_vector_ptr): Likewise.
566 2010-12-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
570 * config/pa/pa.c (pa_function_section): New function.
571 (TARGET_ASM_FUNCTION_SECTION): Define.
573 2010-12-07 Ian Lance Taylor <iant@google.com>
574 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
577 * configure.ac: Disable AC_MSG_ERROR while looking for the C++
579 * configure: Rebuild.
581 2010-12-07 Paul Koning <ni1d@arrl.net>
583 * config/pdp11/pdp11.c (output_addr_const_pdp11): Output negative
584 values with sign rather than as unsigned.
586 2010-12-07 Paul Koning <ni1d@arrl.net>
588 * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.
589 (pdp11_function_section): New function.
591 2010-12-07 Joseph Myers <joseph@codesourcery.com>
593 * config/mcore/mcore.c Don't include assert.h.
594 (layout_mcore_frame, handle_structs_in_regs): Use gcc_assert.
595 * config/spu/spu.c: Don't include assert.h.
596 (spu_sms_res_mii): Use gcc_assert.
598 2010-12-07 Sebastian Pop <sebastian.pop@amd.com>
600 PR tree-optimization/42327
601 * tree-data-ref.c (omega_setup_subscript): Call build_int_cst
602 instead of using integer_minus_one_node.
604 2010-12-07 Nathan Froyd <froydnj@codesourcery.com>
607 * params.def (CXX_MAX_NAMESPACES_FOR_DIAGNOSTIC_HELP): New parameter.
608 * doc/invoke.texi (cxx-max-namespaces-for-diagnostic-help): Document.
610 2010-12-07 Richard Guenther <rguenther@suse.de>
612 PR tree-optimization/46832
613 * tree-ssa-math-opts.c (execute_optimize_widening_mul): Check
614 that the call has a lhs.
616 2010-12-07 Yao Qi <yao@codesourcery.com>
618 * Makefile.in: Add $(TARGET_H) to the regrename.o rule.
619 * regrename.c (struct du_head): Add new element length.
620 (sort_du_head, get_element, merge, merge_sort_comparison):
621 New functions of merge sort implementation to du_head list.
622 (regrename_optimize): Sort du_head linked list by length.
623 Iterate registers in a preferred-register-first order.
624 Move some code to ...
625 (check_new_reg_p): here. New function.
626 (create_new_chain): Initialize length.
627 (scan_rtx_reg): Increase length for non-debug insns.
628 * target.def: New hook preferred_rename_class.
629 * targhook.c (default_preferred_rename_class): New.
630 * targhook.h: Declare it.
631 * doc/tm.texi.in: New hook TARGET_PREFERRED_RENAME_CLASS.
632 * doc/tm.texi: Regenerate.
634 2010-12-07 Jakub Jelinek <jakub@redhat.com>
637 * tree-parloops.c (separate_decls_in_region): Use UNKNOWN_LOCATION
638 instead of BUILTINS_LOCATION.
639 (create_loop_fn): Add LOC argument, pass it to build_decl instead of
641 (create_parallel_loop): Add LOC argument, use it for OMP clauses
642 and GIMPLE_*OMP* statements.
643 (gen_parallel_loop): Determine locus for the parallel loop, pass it
644 to create_loop_fn and create_parallel_loop.
645 * cfgexpand.c (gimple_expand_cfg): For builtin functions, call
646 set_curr_insn_source_location (UNKNOWN_LOCATION).
648 2010-12-07 Joern Rennecke <amylaar@spamcop.net>
649 Richard Guenther <rguenther@suse.de>
652 * config/bfin/bfin.c (BB_AUX_INDEX): Cast to intptr_t.
653 (bfin_reorder_loops): Change type of index to intptr_t.
655 2010-12-07 Richard Guenther <rguenther@suse.de>
657 PR tree-optimization/46726
658 * tree-inline.c (estimate_num_insns): Special case pow (x, 2.0).
660 2010-12-07 Richard Guenther <rguenther@suse.de>
662 * tree-ssa-math-opts.c (execute_optimize_widening_mul): Unlink
665 2010-12-07 Nicola Pero <nicola.pero@meta-innovation.com>
667 * c-parser.c (c_parser_typeof_specifier): Removed special
668 treatment of objc_volatilized attribute for Objective-C.
670 2010-12-06 Vladimir Makarov <vmakarov@redhat.com>
672 * ira.c (update_equiv_regs): Prohibit move insns if
673 pressure-sensitive scheduling was done.
675 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
677 * c-parser.c (c_parser_for_statement): Use c_fully_fold() instead
678 of c_process_expr_stmt() for the iterating and collection
679 expressions of an Objective-C fast enumeration loop.
681 2010-12-06 Jakub Jelinek <jakub@redhat.com>
684 * dwarf2out.c (modified_type_die): If both is_const_type and
685 is_volatile_type is set, start with DW_TAG_const_type or
686 DW_TAG_volatile_type depending on where we get qualified type
687 in the recursive call.
690 * config/ia64/ia64.c (rtx_needs_barrier): Handle asm CLOBBER
691 as a store into that register.
693 PR tree-optimization/46528
695 * profile.c (branch_prob): Make sure last is never set to a debug
699 * reginfo.c (init_subregs_of_mode): Don't call find_subregs_of_mode
702 PR rtl-optimization/46777
703 * cfglayout.c (duplicate_insn_chain): Avoid duplicating
704 also barrier after tablejump.
706 2010-12-06 Joern Rennecke <amylaar@spamcop.net>
707 Richard Henderson <rth@redhat.com>
710 * config/vax/vax.c (vax_output_int_move): Fold #if into if.
712 2010-12-06 Eric Botcazou <ebotcazou@adacore.com>
714 * config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.
715 * config/sparc/sol2-gas.h (PUSHSECTION_FORMAT): Redefine.
717 2010-12-06 Joern Rennecke <amylaar@spamcop.net>
720 * config/frv/predicates.md (gpr_or_int12_operand): Use IN_RANGE.
721 (gpr_fpr_or_int12_operand, gpr_or_int10_operand): Likewise.
722 (int12_operand, int_2word_operand, uint16_operand): Likewise.
723 (fpr_or_int6_operand, int6_operand, int5_operand): Likewise.
724 (uint5_operand, uint4_operand): Likewise.
725 * config/frv/frv.h (IN_RANGE_P): Delete.
726 (GPR_P, FPR_P, CC_P, ICC_P, FCC_P, CR_P, ICR_P, FCR_P): Use IN_RANGE.
727 (ACC_P, ACCG_P, SPR_P, CONST_OK_FOR_I, CONST_OK_FOR_J): Likewise.
728 (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise.
729 (CONST_OK_FOR_P): Likewise.
730 * config/frv/frv.md (*movqicc_internal2_int): Likewise.
731 (*movqicc_internal2_float, *movhicc_internal2_int): Likewise.
732 (*movhicc_internal2_float, *movsicc_internal2_int): Likewise.
733 (*movsicc_internal2_float, casesi): Likewise.
734 * config/frv/frv.c (frv_frame_offset_rtx): Likewise.
735 (frv_asm_output_mi_thunk, frv_legitimate_address_p_1): Likewise.
736 (frv_emit_movsi, output_move_single, frv_emit_cond_move): Likewise.
737 (frv_split_cond_move, frv_rtx_costs): Likewise.
740 * config/mmix/mmix.c (mmix_intval): Split shift count.
742 2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
744 * config/i386/i386.c (m_COREI7): New.
745 (initial_ix86_tune_features): Turn on
746 X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL and
747 X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL for Core i7.
749 2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
751 * config.gcc: Allow corei7-avx for --with-arch/--with-cpu.
753 * config/i386/driver-i386.c (host_detect_local_cpu): Support
756 * config/i386/i386.c (override_options): Handle "corei7-avx".
758 * doc/invoke.texi: Document corei7-avx.
760 2010-12-06 Richard Guenther <rguenther@suse.de>
762 PR tree-optimization/46806
763 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do not
764 coalesce different types.
766 2010-12-06 Richard Guenther <rguenther@suse.de>
768 PR tree-optimization/46785
769 * tree-vect-loop.c (vect_is_simple_reduction_1): Also allow
770 call statements as operand definition.
772 2010-12-06 Mingjie Xing <mingjie.xing@gmail.com>
774 * doc/tm.texi.in: Fix typo.
775 * doc/tm.texi: Regenerate.
777 2010-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
779 * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]: Fix typo in
782 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
784 * c-family/c-common.h: Removed the declarations of all the objc_
785 callbacks, and moved them into c-objc.h. Removed
786 objc_ivar_visibility_kind and moved it into c-objc.h.
787 * c-family/c-objc.h: New file.
788 * c-family/c-common.c: Include c-objc.h.
789 * c-family/c-format.c: Same change.
790 * c-family/stub-objc.c: Same change.
791 * c-decl.c: Include c-family/c-objc.h.
792 * c-parser.c: Same change.
793 * c-typeck.c: Same change.
794 * c-config-lang.in (gtfiles): Added c-family/c-objc.h.
795 * Makefile.in (c-decl.o): Depend on c-family/c-objc.h.
796 (c-parser.o): same change.
797 (c-typeck.o): Same change.
798 (c-family/c-format.o): Same change.
799 (c-family/stub-objc.o): Same change.
800 (c-family/c-common.o): Same change.
801 (PLUGIN_HEADERS): Added c-family/c-objc.h.
803 2010-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
805 * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]: Ignore
806 --with-dwarf2 option.
808 2010-12-03 Jan Hubicka <jh@suse.cz>
810 * lto-streamer-in.c (input_cfg): Fix pasto.
812 2010-12-03 Jan Hubicka <jh@suse.cz>
814 * ipa.c (cgraph_externally_visible_p): Do not localize builtins
815 and functions with user asm defined names.
816 (varpool_externally_visible_p): Do not localize vars with user
819 2010-12-03 Jan Hubicka <jh@suse.cz>
821 * dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME
822 to prevent mangling with lto frontend.
824 2010-12-03 Jan Hubicka <jh@suse.cz>
826 * Makefile.in (LTO_STREAMER_H): Add GCOV_IO_H.
827 * lto-cgraph.c (merge_profile_summaries): Fix thinko.
829 2010-12-03 Jan Hubicka <jh@suse.cz>
831 PR tree-optimization/46760
832 * cgraph.c (cgraph_create_node): Initialize count_materialization_scale.
833 * cgraph.h (struct cgraph_node): Add count_materialization_scale.
834 * lto-cgraph.c (lto_output_edge): Fix assert.
835 (lto_output_node): Output count_materialization_scale.
836 (output_profile_summary): Output only runs and sum_max.
837 (input_node): Input count_materialization_scale.
838 (input_profile_summary): Read data into file specific gcov summary.
839 (merge_profile_summaries): New function.
840 (input_cgraph): Update call of input_profile_summary;
841 call merge_profile_summaries.
842 * lto-streamer-in.c (input_cfg): Add count_materialization_scale arg;
843 rescale counts at read in.
844 (intput_bb): Likewise.
845 (input_function): Update call of input_bb.
846 (lto_read_body): Update call of input_cfg.
847 * lto-streamer.h: Inlclude gcov-io.h
848 (lto_file_decl_data): Add gcov_ctr_summary.
850 2010-12-03 Dave Korn <dave.korn.cygwin@gmail.com>
852 * doc/tm.texi.in (Cond. Exec. Macros): Rename node from this ...
853 (Cond Exec Macros): ... to this.
854 * doc/tm.texi: Regenerate.
856 2010-12-03 Jason Merrill <jason@redhat.com>
859 * dwarf2out.c (gen_tagged_type_die): Don't put local types in
862 2010-12-03 Nathan Froyd <froydnj@codesourcery.com>
864 * config/arm/arm.c (arm_legitimate_index_p): Split
865 VALID_NEON_QREG_MODE and VALID_NEON_DREG_MODE cases. Permit
866 slightly larger constants in the latter case.
867 (thumb2_legitimate_index_p): Likewise.
869 2010-12-03 Joseph Myers <joseph@codesourcery.com>
871 * common.opt (N, Q, Qn, Qy, Z, n, r, s, t): New options.
872 * gcc.c (cc1_options): Add %{Qy:}.
874 2010-12-03 Joseph Myers <joseph@codesourcery.com>
876 * gcc.c (LINK_COMMAND_SPEC): Don't handle -A, -d or -m.
877 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
878 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
880 2010-12-03 Alexander Monakov <amonakov@ispras.ru>
882 PR rtl-optimization/45354
883 * sel-sched-ir.c (jump_leads_only_to_bb_p): Rename to ...
884 (bb_has_removable_jump_to_p): This. Update all callers. Make static.
885 Allow BBs ending with a conditional jump. Forbid EDGE_CROSSING jumps.
886 * sel-sched-ir.h (jump_leads_only_to_bb_p): Delete prototype.
888 2010-12-03 Laurynas Biveinis <laurynas.biveinis@gmail.com>
890 * basic-block.h (struct edge_prediction): Remove forward
892 * tree-flow.h (struct edge_prediction): Move from here...
893 * predict.c (struct edge_prediction): ...to here.
894 * cselib.h (struct elt_list): Move from here...
895 * cselib.c (struct elt_list): ...to here.
897 2010-12-02 Ian Lance Taylor <iant@google.com>
899 * gcc.c (default_compilers): Add entry for ".go".
900 * common.opt: Add -static-libgo as a driver option.
901 * doc/install.texi (Configuration): Mention libgo as an option for
902 --enable-shared. Mention go as an option for --enable-languages.
903 * doc/invoke.texi (Overall Options): Mention .go as a file name
904 suffix. Mention go as a -x option.
905 * doc/frontends.texi (G++ and GCC): Mention Go as a supported
907 * doc/sourcebuild.texi (Top Level): Mention libgo.
908 * doc/standards.texi (Standards): Add section on Go language.
909 Move references for other languages into their own section.
910 * doc/contrib.texi (Contributors): Mention that I contributed the
913 2010-12-03 Laurynas Biveinis <laurynas.biveinis@gmail.com>
915 * tree.h (struct call_expr_arg_iterator_d): Remove GTY tag.
916 (const_call_expr_arg_iterator_d): Likewise.
917 (expanded_location): Likewise.
918 * c-tree.h (struct c_arg_tag_d): Likewise.
919 * dwarf2out.c (struct cfa_loc): Likewise.
920 (struct skeleton_chain_struct): Likewise.
921 * except.c (struct ttypes_filter): Likewise.
922 * cselib.h (struct cselib_val_struct): Likewise.
923 (elt_loc_list): Likewise.
924 (elt_list): Likewise.
925 * varasm.c (struct addr_const): Likewise.
926 * tree-flow.h (struct edge_prediction): Likewise.
927 (struct int_tree_map): Likewise.
928 (struct _edge_var_map): Likewise.
930 2010-12-02 H.J. Lu <hongjiu.lu@intel.com>
933 * config/i386/i386.c (initial_ix86_tune_features): Turn on
934 X86_TUNE_INTER_UNIT_MOVES for Core 2 and Core i7.
936 2010-12-02 H.J. Lu <hongjiu.lu@intel.com>
938 * config.gcc: Allow corei7 for --with-arch=/--with-cpu=.
940 2010-12-02 Ian Lance Taylor <iant@google.com>
942 * configure.ac: AC_DEFINE ENABLE_BUILD_WITH_CXX. Check for C++
943 header files unordered_map, tr1/unordered_map, and ext/hash_map.
944 * configure, config.in: Rebuild.
946 2010-11-02 Eric Botcazou <ebotcazou@adacore.com>
949 * config/sparc/sparc.c (can_use_mov_pic_label_ref): New predicate.
950 (sparc_expand_move): Call it to decide whether to emit the special
951 mov{si,di}_pic_label_ref patterns.
952 (sparc_legitimize_pic_address): Call it to decide whether to emit
953 the regular PIC sequence for labels. Fix long line.
954 (sparc_file_end): Set is_thunk for the PIC helper.
956 2010-12-02 Eric Botcazou <ebotcazou@adacore.com>
958 * tree.c (build_range_type_1): Do not SET_TYPE_STRUCTURAL_EQUALITY
959 for a non-shared type.
961 2010-12-02 Sebastian Pop <sebastian.pop@amd.com>
964 * tree-scalar-evolution.c (interpret_rhs_expr): Handle ADDR_EXPR
965 with MEM_REFs as POINTER_PLUS_EXPR.
967 2010-12-02 Joseph Myers <joseph@codesourcery.com>
969 * config/i386/linux.h, config/m32r/linux.h, config/m68k/linux.h,
970 config/sparc/linux.h, config/sparc/linux64.h: Remove comments
973 2010-12-02 Joseph Myers <joseph@codesourcery.com>
975 * config/bfin/bfin.h (LINK_SPEC): Remove %{b}.
976 * config/frv/frv.h (LINK_SPEC): Remove %{b}.
977 * config/i386/netware.h (LINK_SPEC): Remove %{b}.
978 * config/i386/nto.h (LINK_SPEC): Remove %{b}.
979 * config/lm32/uclinux-elf.h (LINK_SPEC): Remove %{b}.
980 * config/sol2.h (LINK_SPEC): Remove %{b}.
981 * config/svr4.h (LINK_SPEC): Remove %{b}.
983 2010-12-02 Joseph Myers <joseph@codesourcery.com>
985 * config/i386/freebsd.h (LINK_SPEC): Cut long comment.
986 * config/i386/linux.h (LINK_SPEC): Cut long comment.
987 * config/i386/netware.h (LINK_SPEC): Remove %{V}.
988 * config/m32r/linux.h (LINK_SPEC): Cut long comment.
989 * config/m68k/linux.h (LINK_SPEC): Cut long comment.
990 * config/sparc/linux.h (LINK_SPEC): Cut long comment.
991 (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}.
992 * config/sparc/linux64.h (LINK_SPEC): Cut long comment.
993 (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}.
994 * config/sparc/netbsd-elf.h (ASM_SPEC): Remove %{V} and
997 2010-12-02 Joseph Myers <joseph@codesourcery.com>
999 * gcc.c (trad_capable_cpp, default_compilers): Don't handle
1002 2010-12-02 Joseph Myers <joseph@codesourcery.com>
1004 * config/alpha/freebsd.h (LINK_SPEC): Don't handle -Wl,.
1005 * config/bfin/bfin.h (ASM_SPEC): Don't handle -Wa,.
1006 * config/frv/frv.h (ASM_SPEC): Don't handle -Wa,.
1007 * config/lm32/uclinux-elf.h (LINK_SPEC): Don't handle -Wl,.
1008 * config/microblaze/microblaze.h (LINK_SPEC): Don't handle -Wl,.
1009 * config/mn10300/linux.h (ASM_SPEC): Don't handle -Wa,.
1010 * config/pa/pa-linux.h (ASM_SPEC): Don't handle -Wa,.
1011 * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't handle -Wa,.
1012 * config/rs6000/linux64.h (ASM_SPEC_COMMON): Don't handle -Wa,.
1013 * config/rs6000/sysv4.h (LINK_SPEC): Don't handle -Wl,.
1014 * config/rs6000/vxworks.h (ASM_SPEC): Don't handle -Wa,.
1015 * config/sol2.h (ASM_SPEC): Don't handle -Wa,.
1016 * config/sparc/linux.h (ASM_SPEC): Don't handle -Wa,.
1017 * config/sparc/linux64.h (ASM_SPEC): Don't handle -Wa,.
1018 * config/sparc/sp-elf.h (ASM_SPEC): Don't handle -Wa,.
1019 * config/sparc/sysv4.h (ASM_SPEC): Don't handle -Wa,.
1020 * config/svr4.h (SVR4_ASM_SPEC): Don't handle -Wa,.
1021 * config/vxworks.h (VXWORKS_LINK_SPEC): Don't handle -Wl,.
1023 2010-12-02 Paul Koning <ni1d@arrl.net>
1025 * config/pdp11/pdp11.c (output_jump): Map unsigned to signed
1026 opcodes if CC_NO_OVERFLOW is set.
1027 (notice_update_cc_on_set): Correct setting of CC0 as a side
1028 effect; set CC_NO_OVERFLOW for cases where C flag is not
1031 2010-12-02 Ian Lance Taylor <iant@google.com>
1033 * doc/install.texi (Configuration): Update default for
1034 --with-boot-ldflags.
1036 2010-12-02 Nathan Froyd <froydnj@codesourcery.com>
1039 * c-decl.c (grokparms): Set arg_info->parms to NULL_TREE when
1042 2010-12-02 Sebastian Pop <sebastian.pop@amd.com>
1044 PR tree-optimization/45199
1045 * tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p): New.
1046 (stores_zero_from_loop): Call
1047 mem_write_stride_of_same_size_as_unit_type_p.
1048 * tree-data-ref.h (stride_of_unit_type_p): New.
1049 * tree-loop-distribution.c (generate_memset_zero): Simplified.
1050 Call stride_of_unit_type_p.
1051 (build_rdg_partition_for_component): Do not call
1052 rdg_flag_similar_memory_accesses when
1053 flag_tree_loop_distribute_patterns is set.
1055 2010-12-02 Richard Guenther <rguenther@suse.de>
1057 * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Disregard
1058 sign-changing conversions for induction detection.
1060 2010-12-02 Richard Guenther <rguenther@suse.de>
1062 PR tree-optimization/46723
1063 * tree-vect-loop.c (get_initial_def_for_induction): Strip
1064 conversions from the induction evolution and apply it to
1066 * tree-vect-stmts.c (vect_get_vec_def_for_operand): Handle
1067 assigns for induction defs.
1069 2010-12-02 Richard Guenther <rguenther@suse.de>
1071 * value-prof.c (gimple_ic): Use stmt_ends_bb_p to detect
1072 the case we need to split the edge and not the block.
1074 2010-12-02 Bernd Schmidt <bernds@codesourcery.com>
1076 DFA model for Core 2 and Core i7 scheduling.
1078 * config/i386/core2.md: New DFA model for Core 2 and Core i7.
1079 * config/i386/i386.c (ix86_option_override_internal): Update entries
1080 for Core 2 and Core i7.
1081 (ix86_issue_rate): Set issue rate to 3 [be realistic].
1082 * config/i386/i386.md: Include "core2.md".
1083 (define_attr cpu): Add "corei7".
1085 2010-12-02 Maxim Kuvyrkov <maxim@codesourcery.com>
1087 Define tuning for Core 2 and Core i7.
1089 * config/i386/i386-c.c (ix86_target_macros_internal): Update.
1090 * config/i386/i386.c (core2_cost): Delete, use generic costs instead.
1091 (m_CORE2): Replace with m_CORE2_{32,64}.
1092 (m_CORE2I7{,_32,_64}): New macros.
1093 (m_GENERIC32, m_GENERIC64): Update.
1094 (initial_ix86_tune_features, x86_accumulate_outgoing_args,)
1095 (x86_arch_always_fancy_math_387): Set m_CORE2I7_32 iff m_GENERIC32 and
1096 set m_CORE2I7_64 iff m_GENERIC64.
1097 (processor_target_table): Use generic costs for Core 2 and Core i7.
1098 (ix86_option_override_internal): Update entries for Core 2 and Core i7.
1099 (ix86_issue_rate): Remove entry for Core 2.
1100 (ia32_multipass_dfa_lookahead, ix86_sched_init_global): Update.
1101 * config/i386/i386.h (TARGET_CORE2_32, TARGET_CORE2_64): New macros.
1102 (TARGET_CORE2): Update.
1103 (PROCESSOR_CORE2_32, PROCESSOR_CORE2_64): New constants.
1104 (PROCESSOR_CORE2): Remove.
1106 2010-12-02 Richard Guenther <rguenther@suse.de>
1108 * lto-streamer.h (LTO_major_version): Bump to 2.
1110 2010-12-02 Richard Guenther <rguenther@suse.de>
1113 * gimple.c (canonical_type_hash_cache): New hashtable.
1114 (gimple_type_hash): Make a wrapper around ...
1115 (gimple_type_hash_1): ... this. Take gtc_mode argument.
1116 (gimple_canonical_type_hash): Likewise.
1117 (gtc_visit): Take a gtc_mode argument.
1118 (gimple_types_compatible_p_1): Likewise. Do not compare struct
1119 tag names or field names when computing canonical types.
1120 (gimple_types_compatible_p): Adjust.
1121 (visit): Take a gtc_mode argument.
1122 (iterative_hash_gimple_type): Likewise. Do not hash struct tag
1123 names or field names when computing hashes of canonical types.
1124 (gimple_register_canonical_type): Use gimple_canonical_type_hash
1126 (print_gimple_types_stats): Dump stats of canonical_type_hash_cache.
1127 (free_gimple_type_tables): Free canonical_type_hash_cache.
1129 2010-12-02 Richard Guenther <rguenther@suse.de>
1130 Ira Rosen <irar@il.ibm.com>
1132 PR tree-optimization/46663
1133 * tree-vect-patterns.c (vect_recog_pow_pattern): Check that
1134 FUNCTION_DECL exists and that it's a builtin.
1136 2010-12-02 Jie Zhang <jie@codesourcery.com>
1139 * varasm.c (compute_visible_aliases): Handle user set
1142 2010-12-01 Michael Meissner <meissner@linux.vnet.ibm.com>
1144 * config/rs6000/rs6000.c (rs6000_option_override_internal): Fix
1145 thinko regarding setting -mno-<xxx> debug switches.
1146 (rs6000_rtx_costs): Add FMA. Delete old rtl based FMA costs.
1148 2010-12-01 Joseph Myers <joseph@codesourcery.com>
1150 * intl.c: Don't include tm.h.
1151 * Makefile.in (intl.o): Don't depend on $(TM_H).
1153 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1155 * graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but
1157 (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
1159 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1161 * graphite-sese-to-poly.c (analyze_drs): Removed.
1162 (build_scop_drs): Do not call analyze_drs.
1163 (analyze_drs_in_stmts): New.
1164 (insert_stmts): New.
1165 (insert_out_of_ssa_copy): Call analyze_drs_in_stmts.
1166 (insert_out_of_ssa_copy_on_edge): Same.
1167 (rewrite_close_phi_out_of_ssa): Call insert_stmts.
1168 (rewrite_phi_out_of_ssa): Same.
1169 (rewrite_cross_bb_scalar_dependence): Same.
1170 (split_reduction_stmt): Move data references in the new basic blocks.
1171 (translate_scalar_reduction_to_array_for_stmt): Call insert_stmts.
1173 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1175 * sese.c (rename_uses): Do not handle ADDR_EXPR in LHS of assignments.
1177 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1180 * graphite-poly.c (new_poly_bb): Returns a poly_bb_p. Do not take
1181 the reduction bool in parameter. Clear PBB_IS_REDUCTION. Set GBB_PBB.
1182 * graphite-poly.h (new_poly_bb): Update declaration.
1183 (gbb_from_bb): Moved here...
1185 * graphite-sese-to-poly.c (var_used_in_not_loop_header_phi_node):
1187 (graphite_stmt_p): Removed.
1188 (try_generate_gimple_bb): Returns a gimple_bb_p. Do not pass in
1189 sbitmap reductions. Always build a gimple_bb_p. Do not call
1191 (build_scop_bbs_1): Do not pass in sbitmap reductions.
1192 (build_scop_bbs): Same.
1193 (gbb_from_bb): ... from here.
1194 (add_conditions_to_constraints): Moved up.
1196 (build_scop_drs): Call analyze_drs. Remove all the PBBs that do
1197 not contain data references.
1198 (new_pbb_from_pbb): New.
1199 (insert_out_of_ssa_copy_on_edge): Call new_pbb_from_pbb after a
1201 (rewrite_close_phi_out_of_ssa): Update call to
1202 insert_out_of_ssa_copy_on_edge.
1203 (rewrite_reductions_out_of_ssa): Now static.
1204 (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
1206 (split_reduction_stmt): Call split_pbb.
1207 (translate_scalar_reduction_to_array): Pass in the scop, do not
1208 pass in the sbitmap reductions.
1209 (rewrite_commutative_reductions_out_of_ssa_close_phi): Same.
1210 (rewrite_commutative_reductions_out_of_ssa_loop): Same.
1211 (rewrite_commutative_reductions_out_of_ssa): Same.
1212 (build_poly_scop): Call build_scop_bbs,
1213 rewrite_commutative_reductions_out_of_ssa,
1214 rewrite_reductions_out_of_ssa, and
1215 rewrite_cross_bb_scalar_deps_out_of_ssa. Move build_scop_drs
1217 * graphite-sese-to-poly.h (rewrite_commutative_reductions_out_of_ssa):
1218 Removed declaration.
1219 (rewrite_reductions_out_of_ssa): Same.
1220 (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
1221 (build_scop_bbs): Same.
1222 * graphite.c (graphite_transform_loops): Do not initialize reductions.
1223 Do not call build_scop_bbs,
1224 rewrite_commutative_reductions_out_of_ssa,
1225 rewrite_reductions_out_of_ssa, and
1226 rewrite_cross_bb_scalar_deps_out_of_ssa.
1227 * sese.h (struct gimple_bb): Add field pbb.
1230 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1232 * graphite-sese-to-poly.c (handle_scalar_deps_crossing_scop_limits):
1234 (rewrite_cross_bb_scalar_deps): Pass in the scop. Call
1235 handle_scalar_deps_crossing_scop_limits.
1236 (rewrite_cross_bb_scalar_deps_out_of_ssa): Create an empty BB
1237 after the scop. Update call to rewrite_cross_bb_scalar_deps.
1239 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1241 * sese.c (rename_uses): Call recompute_tree_invariant_for_addr_expr
1242 when replacing a constant in an ADDR_EXPR.
1244 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
1246 * graphite-blocking.c (lst_do_strip_mine_loop): Extra parameter
1248 (lst_do_strip_mine): Same.
1249 (scop_do_strip_mine): Same.
1250 * graphite-poly.c (apply_poly_transforms): Update call to
1252 * graphite-poly.h (scop_do_strip_mine): Update declaration.
1254 2010-12-01 Jan Hubicka <jh@suse.cz>
1256 * tree.c (build_common_builtin_nodes): Do not initialize
1257 BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT.
1258 * builtins.c (expand_builtin_profile_func): Remove.
1259 (expand_builtin): Do not handle BUILT_IN_PROFILE_FUNC_ENTER and
1260 BUILT_IN_PROFILE_FUNC_EXIT.
1261 * builtins.def (profile_func_enter, profile_func_exit): Remove stubs.
1262 (__cyg_profile_func_enter, __cyg_profile_func_exit): New.
1263 * gimplify.c (gimplify_function_tree): Reorganize code calling
1264 profiling functions.
1266 2010-12-01 Joseph Myers <joseph@codesourcery.com>
1268 * opts.c: Expand comment on tm.h include.
1270 2010-12-01 Yao Qi <yao@codesourcery.com>
1272 * config/arm/predicates.md ("vfp_register_operand"): Return true for
1273 VFP_D0_D7_REGS classes.
1275 2010-12-01 Joseph Myers <joseph@codesourcery.com>
1277 * common.opt (flag_stack_check): New Variable entry.
1278 (fcompare-debug-second): Use Var.
1279 * flags.h (flag_compare_debug, flag_stack_check): Remove.
1280 * opts.c (flag_compare_debug): Remove.
1281 (common_handle_option): Don't handle OPT_fcompare_debug_second.
1282 Set opts->x_flag_stack_check for OPT_fstack_check_.
1283 * toplev.c (flag_stack_check): Remove.
1285 2010-12-01 Joseph Myers <joseph@codesourcery.com>
1287 * common.opt (main_input_filename, main_input_basename,
1288 main_input_baselength): New Variable entries. From toplev.c.
1289 * final.c (output_quoted_string): Move from toplev.c.
1290 * output.h (output_quoted_string): Move from toplev.h.
1291 * opts-global.c (read_cmdline_options): Use gcc_options pointer to
1292 access main_input_filename, main_input_baselength and
1293 main_input_basename.
1294 * targhooks.c: Include intl.h and opts.h.
1295 (option_affects_pch_p, default_get_pch_validity): Move from
1297 * targhooks.h (option_affects_pch_p, default_get_pch_validity):
1299 * toplev.c (main_input_filename, main_input_basename,
1300 main_input_baselength): Move to common.opt.
1301 (output_quoted_string): Move to final.c.
1302 (warn_deprecated_use): Move to tree.c.
1303 (option_affects_pch_p, default_get_pch_validity,
1304 pch_option_mismatch, default_pch_valid_p): Move to targhooks.c.
1305 * toplev.h (skip_leading_substring): Move to tree-dump.c.
1306 (warn_deprecated_use): Move to tree.h.
1307 (output_quoted_string): Move to output.h.
1308 (main_input_filename, main_input_basename, main_input_baselength):
1310 (default_get_pch_validity, default_pch_valid_p): Move to
1312 * tree-dump.c (skip_leading_substring): Move from toplev.h.
1313 * tree.c (warn_deprecated_use): Move from toplev.c.
1314 * tree.h (warn_deprecated_use): Move from toplev.h.
1315 * c-typeck.c, config/alpha/alpha.c, config/arc/arc.c,
1316 config/arm/arm.c, config/avr/avr.c, config/bfin/bfin.c,
1317 config/cris/cris.c, config/crx/crx.c, config/fr30/fr30.c,
1318 config/frv/frv.c, config/h8300/h8300.c, config/ia64/ia64.c,
1319 config/iq2000/iq2000.c, config/lm32/lm32.c, config/m32c/m32c.c,
1320 config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c,
1321 config/mcore/mcore.c, config/mep/mep.c,
1322 config/microblaze/microblaze.c, config/mips/mips.c,
1323 config/mmix/mmix.c, config/mn10300/mn10300.c,
1324 config/moxie/moxie.c, config/pa/pa.c, config/pdp11/pdp11.c,
1325 config/picochip/picochip.c, config/s390/s390.c,
1326 config/score/score.c, config/sh/sh.c, config/sparc/sparc.c,
1327 config/spu/spu.c, config/stormy16/stormy16.c, config/v850/v850.c,
1328 config/vax/vax.c, config/xtensa/xtensa.c, gimple-low.c,
1329 graphite-sese-to-poly.c, plugin.c, tree-cfg.c, tree-inline.c,
1330 varasm.c, xcoffout.c: Don't include toplev.h.
1331 * Makefile.in (c-typeck.o, tree-inline.o, tree-cfg.o,
1332 gimple-low.o, graphite-sese-to-poly.o, targhooks.o, plugin.o,
1333 varasm.o, xcoffout.o): Update dependencies.
1334 * config/arm/t-arm (arm.o): Update dependencies.
1335 * config/spu/t-spu-elf (spu.o): Update dependencies.
1337 2010-12-01 Richard Guenther <rguenther@suse.de>
1339 PR tree-optimization/46730
1340 * value-prof.c (gimple_ic): Always generate a separate merge BB.
1342 2010-11-30 Ian Lance Taylor <iant@google.com>
1344 * config/i386/linux.h (ASM_SPEC): Pass -v as -v, not -V. Remove
1345 all of %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}.
1346 * config/i386/linux64.h (ASM_SPEC): Likewise.
1347 * config/i386/mingw-w64.h (ASM_SPEC): Likewise.
1348 * config/i386/sol2-10.h (ASM_SPEC) [USE_GAS]: Likewise.
1349 * config/i386/vxworks.h (ASM_SPEC): Likewise.
1350 * config/i386/x86-64.h (ASM_SPEC): Likewise.
1351 * config/i386/sol2.h (ASM_SPEC): Remove %{Wa,*:%*}.
1352 * config/i386/sol2-10.h (ASM_SPEC) [!USE_GAS]: Likewise.
1354 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
1356 * c-decl.c (finish_function): Call objc_finish_function in
1358 * c-typeck.c (convert_for_assignment): Do not call
1359 objc_type_quals_match().
1361 2010-11-30 Richard Guenther <rguenther@suse.de>
1363 PR tree-optimization/46722
1364 * tree-ssa-math-opts.c (convert_mult_to_fma): Get multiplication
1365 operands as arguments.
1366 (execute_optimize_widening_mul): Also handle power of two as
1369 2010-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
1372 * cgraphunit.c (process_function_and_variable_attributes): Fix
1375 2010-11-30 Joseph Myers <joseph@codesourcery.com>
1377 * hwint.c: New. Extracted from toplev.c.
1378 * hwint.h (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
1380 * toplev.c (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
1382 * toplev.h (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
1384 * builtins.c, combine.c, config/i386/winnt.c, double-int.c,
1385 explow.c, expmed.c, fold-const.c, ggc-page.c, ggc-zone.c, ifcvt.c,
1386 ipa-struct-reorg.c, ira-color.c, matrix-reorg.c, omp-low.c,
1387 real.c, recog.c, reload.c, rtlanal.c, simplify-rtx.c,
1388 stor-layout.c, tree-dfa.c, tree-ssa-alias.c,
1389 tree-ssa-loop-niter.c, tree-vect-data-refs.c,
1390 tree-vect-loop-manip.c, tree-vect-loop.c, tree-vect-stmts.c,
1391 tree-vrp.c: Don't include toplev.h.
1392 * genattrtab.c, genconditions.c, genemit.c, genextract.c,
1393 genoutput.c, genpeep.c, genpreds.c, genrecog.c: Don't include
1394 toplev.h in generated output.
1395 * Makefile.in (OBJS-common): Add hwint.o.
1396 Dependencies for above files changed to remove toplev.h.
1398 (insn-attrtab.o, insn-emit.o, insn-extract.o, insn-output.o,
1399 insn-peep.o, insn-preds.o, insn-recog.o): Don't depend on
1401 * config/i386/t-cygming (winnt.o): Don't depend on toplev.h.
1402 * config/i386/t-interix (winnt.o): Don't depend on toplev.h.
1404 2010-11-30 Richard Guenther <rguenther@suse.de>
1406 PR tree-optimization/46717
1407 * value-prof.c (gimple_ic): Preserve EH edges of the indirect
1408 call. Manually create EH edges for the direct call and update
1411 2010-11-30 Joseph Myers <joseph@codesourcery.com>
1413 * diagnostic-core.h: Include bversion.h.
1414 * toplev.h: Don't include input.h or bversion.h.
1415 (parse_optimize_options): Don't declare here.
1416 * alias.c, auto-inc-dec.c, c-aux-info.c, c-convert.c, c-parser.c,
1417 caller-save.c, cfg.c, cfganal.c, cfgbuild.c, cfgcleanup.c,
1418 combine-stack-adj.c, config/arm/pe.c, config/darwin-c.c,
1419 config/host-darwin.c, config/i386/host-cygwin.c,
1420 config/i386/host-mingw32.c, config/i386/msformat-c.c,
1421 config/i386/netware.c, config/i386/nwld.c,
1422 config/i386/winnt-cxx.c, config/i386/winnt-stubs.c,
1423 config/ia64/ia64-c.c, config/m32c/m32c-pragma.c,
1424 config/mep/mep-pragma.c, config/microblaze/microblaze-c.c,
1425 config/rs6000/host-darwin.c, config/rs6000/rs6000-c.c,
1426 config/score/score3.c, config/score/score7.c,
1427 config/sh/symbian-base.c, config/sh/symbian-c.c,
1428 config/sh/symbian-cxx.c, config/sol2-c.c, config/sol2.c,
1429 config/v850/v850-c.c, config/vxworks.c, convert.c, cppbuiltin.c,
1430 cselib.c, dbgcnt.c, ddg.c, dfp.c, dominance.c, emit-rtl.c,
1431 fixed-value.c, fwprop.c, ggc-common.c, gimple.c, gimplify.c,
1432 graphite-blocking.c, graphite-clast-to-gimple.c,
1433 graphite-dependences.c, graphite-flattening.c,
1434 graphite-interchange.c, graphite-poly.c,
1435 graphite-scop-detection.c, graphite.c, haifa-sched.c,
1436 implicit-zee.c, integrate.c, ipa-pure-const.c, ipa-reference.c,
1437 ira-build.c, ira-conflicts.c, ira-costs.c, ira-lives.c, jump.c,
1438 lists.c, loop-doloop.c, loop-iv.c, lto-cgraph.c, lto-compress.c,
1439 lto-opts.c, lto-section-in.c, lto-section-out.c,
1440 lto-streamer-out.c, lto-symtab.c, modulo-sched.c, optabs.c,
1441 params.c, postreload-gcse.c, postreload.c, predict.c, profile.c,
1442 regcprop.c, reginfo.c, regmove.c, reorg.c, resource.c,
1443 sched-deps.c, sched-ebb.c, sched-rgn.c, sdbout.c,
1444 sel-sched-dump.c, sel-sched-ir.c, sese.c, stmt.c, targhooks.c,
1445 tree-cfgcleanup.c, tree-mudflap.c, tree-nomudflap.c,
1446 tree-object-size.c, tree-outof-ssa.c, tree-phinodes.c,
1447 tree-profile.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-coalesce.c,
1448 tree-ssa-live.c, tree-ssa-loop-prefetch.c, tree-ssa-loop.c,
1449 tree-ssa-operands.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
1450 tree-vect-patterns.c, value-prof.c, var-tracking.c, web.c: Don't
1452 * Makefile.in (TOPLEV_H): Remove. All uses changed to use
1453 toplev.h. Dependencies for above files and c-family files changed
1454 to remove $(TOPLEV_H) or toplev.h.
1455 (C_TREE_H): Don't include $(TOPLEV_H).
1456 (DIAGNOSTIC_CORE_H): Use $(INPUT_H) instead of input.h. Add
1458 * config/arm/t-pe, config/arm/t-wince-pe, config/i386/t-cygming,
1459 config/ia64/t-ia64, config/mep/t-mep, config/score/t-score-elf,
1460 config/t-darwin, config/t-sol2,
1461 config/t-vxworks, config/v850/t-v850, config/v850/t-v850e:
1462 Dependencies for above files changed to remove $(TOPLEV_H) or
1465 2010-11-30 Richard Guenther <rguenther@suse.de>
1468 * gcc.c (main): Use the first input with a compiler as infile
1469 for link spec processing.
1471 2010-11-30 Richard Guenther <rguenther@suse.de>
1474 * cgraphunit.c (ipa_passes): Stop after errors from
1477 2010-11-30 Mingjie Xing <mingjie.xing@gmail.com>
1479 * gcc-plugin.h: Include coretypes.h.
1480 * Makefile.in (FUNCTION_H): Add hard-reg-set.h.
1482 2010-11-30 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1484 * ggc-zone.c (ggc_pch_read): Fix conditional compilation.
1485 * ggc-none.c (ggc_internal_alloc_zone_stat)
1486 (ggc_internal_cleared_alloc_zone_stat): New.
1488 2010-11-29 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
1490 * config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): Check
1491 TARGET_SINGLE_PIC_BASE for RS6000_PIC_OFFSET_TABLE_REGNUM.
1492 (rs6000_emit_prologue): Don't set PIC register if
1493 TARGET_SINGLE_PIC_BASE.
1494 * config/rs6000/rs6000.opt (msingle-pic-base): New option.
1495 * doc/invoke.texi (msingle-pic-base): Document.
1497 2010-11-29 H.J. Lu <hongjiu.lu@intel.com>
1500 * exec-tool.in (id): New.
1501 Check and export LT_RCU_$id instead of LT_RCU.
1503 2010-11-29 Zdenek Dvorak <rakdver@kam.uniff.cz>
1505 PR tree-optimization/46675
1506 * tree-ssa-loop-niter.c (split_to_var_and_offset): Avoid overflow
1507 in offset calculation.
1509 2010-11-29 Jan Hubicka <jh@suse.cz>
1511 * collect2.c (main): Do not imply verbose output with
1512 LTO and linker plugin.
1514 2010-11-29 Dodji Seketeli <dodji@redhat.com>
1516 * dwarf2out.c (print_die): Print the address of the current DIE or
1517 of any DIE referenced by the current one.
1519 2010-11-29 Dodji Seketeli <dodji@redhat.com>
1522 * dwarf2out.c (lookup_type_die_strip_naming_typedef): New
1524 (scope_die_for, gen_type_die_for_member): Replace uses of
1525 lookup_type_die with use of lookup_type_die_strip_naming_typedef.
1527 2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
1529 * config/darwin.c (darwin_mergeable_string_section): Remove blank line.
1530 (darwin_asm_declare_object_name): Correct spelling.
1531 (darwin_output_aligned_bss): Likewise.
1533 2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
1534 Mike Stump <mrs@gcc.gnu.org>
1539 * config/i386/darwin.h (ASM_OUTPUT_COMMON): Remove
1540 (ASM_OUTPUT_LOCAL): Likewise.
1541 * config/darwin-protos.h (darwin_asm_declare_object_name): New.
1542 (darwin_output_aligned_bss): Likewise.
1543 (darwin_asm_output_aligned_decl_local): Likewise.
1544 (darwin_asm_output_aligned_decl_common): Likewise.
1545 (darwin_use_anchors_for_symbol_p): Likewise.
1546 * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Remove.
1547 (TARGET_ASM_OUTPUT_ANCHOR): Define.
1548 (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Define.
1549 (DARWIN_SECTION_ANCHORS): Set to 1.
1550 * config/darwin.c (emit_aligned_common): New var.
1551 (darwin_init_sections): Check that the Darwin private zero-size section
1553 (darwin_text_section): Check for zero-sized objects.
1554 (darwin_mergeable_string_section): Likewise.
1555 (darwin_mergeable_constant_section): Likewise.
1556 (machopic_select_section): Adjust to check for zero-sized objects.
1557 Assert that OBJC meta data are non-zero sized.
1558 (darwin_asm_declare_object_name): New.
1559 (darwin_asm_declare_constant_name): Adjust for zero-sized
1561 (BYTES_ZFILL): Define.
1562 (darwin_emit_weak_or_comdat): New.
1563 (darwin_emit_local_bss): New.
1564 (darwin_emit_common): New.
1565 (darwin_output_aligned_bss): New.
1566 (darwin_asm_output_aligned_decl_common): New.
1567 (darwin_asm_output_aligned_decl_local): New.
1568 (darwin_file_end): Disable subsections_via_symbols when section
1569 anchoring is active.
1570 (darwin_asm_output_anchor): Re-enable.
1571 (darwin_use_anchors_for_symbol_p): New.
1572 (darwin_override_options): Check for versions that can emit
1573 aligned common. Update usage of flags to current.
1574 * config/darwin-sections.def: Update comments and flags for
1575 non-anchor sections. zobj_const_section, zobj_data_section,
1576 zobj_bss_section, zobj_const_data_section: New.
1577 * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Redefine.
1578 (ASM_OUTPUT_ALIGN): Make whitespace output consistent.
1579 (L2_MAX_OFILE_ALIGNMENT): Define.
1580 (ASM_OUTPUT_ALIGNED_BSS): Define.
1581 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define.
1582 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define.
1583 (SECTION_NO_ANCHOR): Define.
1584 (TARGET_ASM_OUTPUT_ANCHOR) Define with a default of NULL.
1585 (DARWIN_SECTION_ANCHORS): Define with a default of 0.
1587 2010-11-29 Joseph Myers <joseph@codesourcery.com>
1589 * system.h: Include "safe-ctype.h" instead of <safe-ctype.h>.
1590 Include <signal.h>, <sys/mman.h>, <sys/resource.h> and <sys/times.h>.
1591 (O_BINARY, SIGCHLD, MAP_FAILED, MAP_ANONYMOUS, kill):
1592 Conditionally define.
1593 (GET_ENVIRONMENT): Poison.
1594 * configure.ac: Don't test for mincore.
1595 * configure: Regenerate.
1596 * config.in: Regenerate.
1597 * collect2-aix.c: Don't include <sys/mman.h>.
1598 * collect2.c: Don't include <signal.h>.
1599 (SIGCHLD): Don't define.
1600 (prefix_from_env): Use getenv instead of GET_ENVIRONMENT.
1601 * config/alpha/alpha.c: Include "splay-tree.h" instead of
1603 * config/arm/arm.c (arm_target_help): Use getenv instead of
1605 * config/avr/driver-avr.c: Don't include <stdlib.h>.
1606 * config/frv/frv.c: Don't include <ctype.h>.
1607 * config/host-darwin.c: Don't include <sys/mman.h>.
1608 * config/host-hpux.c: Don't include <sys/mman.h> or <unistd.h>.
1609 (MAP_FAILED): Don't define.
1610 * config/host-linux.c: Don't include <sys/mman.h> or <limits.h>.
1611 * config/host-solaris.c: Don't include <sys/mman.h>.
1612 * config/i386/cygming.h: Don't include <stdio.h>.
1613 * config/i386/driver-i386.c: Don't include <stdlib.h>.
1614 * config/i386/host-cygwin.c: Don't include <sys/mman.h>.
1615 * config/iq2000/iq2000.c: Don't include <signal.h>.
1616 * config/m32c/m32c-pragma.c: Don't include <stdio.h>.
1617 * config/m68hc11/m68hc11.c: Don't include <stdio.h>.
1618 * config/mep/mep-pragma.c: Don't include <stdio.h>.
1619 * config/microblaze/microblaze.c: Don't include <signal.h>.
1620 * config/mips/mips.c: Don't include <signal.h>.
1621 * config/rs6000/host-darwin.c: Don't include <signal.h>.
1622 * cppdefault.c (cpp_relocated): Use getenv instead of GET_ENVIRONMENT.
1623 * defaults.h (GET_ENVIRONMENT): Don't define.
1624 * et-forest.h: Don't include <ansidecl.h> or <stddef.h>.
1625 * gcc.c: Don't include <signal.h>, <sys/mman.h> or <sys/types.h>.
1626 (SIGCHLD, MAP_FAILED, kill): Don't define.
1627 (process_command): Use getenv instead of GET_ENVIRONMENT.
1628 * genhooks.c: Don't include <string.h>.
1629 * ggc-common.c: Don't include <sys/resource.h>, <sys/mman.h> or
1631 (MAP_FAILED): Don't define.
1632 * ggc-page.c Don't include <sys/mman.h>.
1633 (MAP_ANONYMOUS, MAP_FAILED): Don't define.
1634 * ggc-zone.c: Don't include <sys/mman.h>.
1635 (MAP_ANONYMOUS, MAP_FAILED): Don't define.
1636 * graph.c: Include "config.h" instead of <config.h>.
1637 * incpath.c (add_env_var_paths): Use getenv instead of GET_ENVIRONMENT.
1638 * lto-wrapper.c: Don't include <errno.h>, <signal.h> or "libiberty.h".
1639 (SIGCHLD, kill): Don't define.
1640 * mips-tfile.c: Don't include <signal.h>.
1641 * opts.c: Don't include <signal.h> or <sys/resource.h>.
1642 (print_specific_help): Use getenv instead of GET_ENVIRONMENT.
1643 * passes.c: Don't include <signal.h>, <sys/resource.h> or
1645 * sparseset.h: Don't include <assert.h>.
1646 * timevar.c: Don't include <sys/times.h> or <sys/resource.h>.
1647 * tlink.c: Don't include "libiberty.h".
1648 * toplev.c: Don't include <signal.h> or <sys/times.h>.
1649 * tree-mudflap.c: Include "demangle.h" instead of <demangle.h>.
1650 * tree-switch-conversion.c: Don't include <signal.h>.
1651 * vmsdbgout.c: Don't include <errno.h> or <string.h>.
1653 2010-11-29 Nicola Pero <nicola.pero@meta-innovation.com>
1655 * c-parser.c (c_parser_objc_try_catch_statement): Renamed to
1656 c_parser_objc_try_catch_finally_statement for consistency with the
1657 C++ parser. Parse @catch(...) and pass NULL_TREE to
1658 objc_begin_catch_clause() in that case. Improved error recovery.
1659 Reorganized code to be almost identical to
1660 cp_parser_objc_try_catch_finally_statement.
1662 2010-11-29 Joern Rennecke <amylaar@spamcop.net>
1664 PR tree-optimization/46621
1665 * gimple.h: Don't include tm.h or hard-reg-set.h .
1666 * Makefile.in (GIMPLE_H): Remove $(TM_H).
1669 * cppbuiltin.c: Include target.h .
1670 (define_builtin_macros_for_type_sizes):
1671 Use targetm.float_words_big_endian.
1673 2010-11-27 Jan Hubicka <jh@suse.cz>
1675 * dwarf2out.c (dwarf2out_begin_function): Set cold_text_section
1676 and output cold_text_section_label.
1677 (dwarf2out_init): Don't do that there.
1678 (dwarf2out_finish): Handle cold section end label only if cold
1681 2010-11-27 Eric Botcazou <ebotcazou@adacore.com>
1683 * tree-nested.c (remap_vla_decls): Fully expand value expressions of
1686 2010-11-27 Richard Guenther <rguenther@suse.de>
1688 * gimple.c (gimple_assign_copy_p): Use gimple_assign_single_p.
1689 (gimple_assign_ssa_name_copy_p): Likewise.
1690 (gimple_assign_unary_nop_p): Use is_gimple_assign.
1691 (is_gimple_cast): Remove.
1692 (gimple_assign_single_p): Move ...
1693 * gimple.h (gimple_assign_single_p): ... here.
1694 (is_gimple_cast): Remove.
1695 (gimple_assign_rhs_code): Simplify.
1696 * gimple-fold.c (gimple_fold_builtin): Use CONVERT_EXPR_P
1697 instead of is_gimple_cast.
1698 * ipa-type-escape.c (look_for_casts): Likewise.
1700 2010-11-26 Joseph Myers <joseph@codesourcery.com>
1702 * doc/options.texi (Enum, EnumValue): Document new record types.
1703 (Enum): Document new option flag.
1705 * optc-gen.awk: Handle enumerated option arguments.
1706 * opth-gen.awk: Handle enumerated option arguments.
1707 * opts-common.c (enum_arg_ok_for_language, enum_arg_to_value,
1708 enum_value_to_arg): New.
1709 (decode_cmdline_option): Handle enumerated arguments.
1710 (read_cmdline_option): Handle CL_ERR_ENUM_ARG.
1711 (set_option, option_enabled, get_option_state): Handle CLVC_ENUM.
1712 * opts.c (print_filtered_help, print_specific_help): Take
1713 lang_mask arguments.
1714 (print_filtered_help): Handle printing values of enumerated
1715 options. Print possible arguments for enumerated options.
1716 (print_specific_help): Update call to print_filtered_help.
1717 (common_handle_option): Update calls to print_specific_help. Use
1718 value rather than arg for OPT_fdiagnostics_show_location_. Don't
1719 handle OPT_ffp_contract_, OPT_fexcess_precision_,
1720 OPT_fvisibility_, OPT_ftls_model_, OPT_fira_algorithm_ or
1721 OPT_fira_region_ here.
1722 * opts.h (enum cl_var_type): Add CLVC_ENUM.
1723 (struct cl_option): Add var_enum.
1724 (CL_ENUM_CANONICAL, CL_ENUM_DRIVER_ONLY, struct cl_enum_arg,
1725 struct cl_enum, cl_enums, cl_enums_count): New.
1726 (CL_ERR_ENUM_ARG): Define.
1727 (CL_ERR_NEGATIVE): Update value.
1728 (enum_value_to_arg): Declare.
1729 * common.opt (flag_ira_algorithm, flag_ira_region,
1730 flag_fp_contract_mode, flag_excess_precision_cmdline,
1731 default_visibility, flag_tls_default): Remove Variable entries.
1732 (help_enum_printed): New Variable.
1733 (fdiagnostics-show-location=): Use Enum. Add associated
1734 SourceInclude, Enum and EnumValue entries.
1735 (fexcess-precision=, ffp-contract=, fira-algorithm=, fira-region=,
1736 ftls-model=, fvisibility=): Use Enum, Var and Init. Add
1737 associated Enum and EnumValue entries.
1739 2010-11-26 Joern Rennecke <amylaar@spamcop.net>
1742 * config/microblaze/microblaze.c (microblaze_block_move_straight):
1744 (microblaze_option_override): Don't use C++ style comments.
1745 (save_restore_insns): Remove unused variable base_offset.
1746 (microblaze_expand_prologue): Remove unused variable insn.
1747 (microblaze_secondary_reload): Adjust type to match target.h .
1748 (microblaze_elf_in_small_data_p): Move declarations to start of block.
1749 (microblaze_expand_move): Likewise.
1750 * config/microblaze/microblaze.h (LARGE_INT):
1751 Avoid signed / unsigned comparisons.
1752 (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
1753 (ASM_FORMAT_PRIVATE_NAME): Make format specifier match printed data.
1754 (ASM_FINISH_DECLARE_OBJECT): Likewise. Constify name.
1756 2010-11-26 Michael Matz <matz@suse.de>
1758 * tree-ssa-copy.c (fini_copy_prop): Don't DCE when we have loops.
1760 * passes.c (init_optimization_passes): Remove superfluous
1763 2010-11-26 Richard Guenther <rguenther@suse.de>
1766 * gimple.c (gtc_visit): Do not return true for members of an
1767 SCC still being processed but the current lattice value of
1768 the member. Treat SCC members comparison state as lattice,
1769 starting at equal, eventually dropping to unequal.
1770 (gimple_types_compatible_p_1): Likewise.
1772 2010-11-26 Richard Guenther <rguenther@suse.de>
1775 * dwarf2out.c (dwarf2out_finish): Use comp_unit_die as root
1776 for location list processing.
1778 2010-11-26 Richard Guenther <rguenther@suse.de>
1781 * cgraph.c (cgraph_clone_edge): Clone call_stmt dependent
1784 2010-11-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1786 * config/s390/s390.c (print_operand_address): Replace assert with
1788 (print_operand): Replace assertions, gcc_unreachable and
1789 fatal_insn with error messages.
1791 2010-11-26 Richard Guenther <rguenther@suse.de>
1793 PR tree-optimization/46665
1794 * tree-ssa-structalias.c (pt_solution_set_var): Use DECL_PT_UID.
1796 2010-11-26 Ian Bolton <ian.bolton@arm.com>
1798 * config/arm/arm.c (arm_option_override): enable loop array
1799 prefetching at -O3 for suitable targets, and configure params.
1800 * config/arm/arm-protos.h (struct tune_params): Add fields for
1801 configuring loop array prefetching.
1803 2010-11-26 Christian Borntraeger <borntraeger@de.ibm.com>
1805 * config/s390/2817.md (z196_crack): Add z196_g3 as possible slot.
1807 2010-11-26 Richard Guenther <rguenther@suse.de>
1809 PR tree-optimization/46664
1810 * tree-affine.c (aff_combination_to_tree): Add rest last.
1812 2010-11-26 Michael Haubenwallner <michael.haubenwallner@salomon.at>
1815 * configure.ac: Accept extra arguments for AS_FOR_TARGET,
1816 LD_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET.
1817 * configure: Regenerated.
1818 * exec-tool.in: Not quoting command, may have extra arguments.
1820 2010-11-26 Richard Guenther <rguenther@suse.de>
1822 PR tree-optimization/46528
1824 * profile.c (branch_prob): Do not split blocks based on locations
1825 from debug statements.
1827 2010-11-26 Jakub Jelinek <jakub@redhat.com>
1830 * builtins.c (fold_builtin_memset): Check c is INTEGER_CST instead
1831 of host_integerp check. Use TREE_INT_CST_LOW instead of tree_low_cst.
1834 * tree.h (build1_stat_loc, build2_stat_loc, build3_stat_loc,
1835 build4_stat_loc, build5_stat_loc, build6_stat_loc): New inlines.
1836 (build1_loc, build2_loc, build3_loc, build4_loc, build5_loc,
1837 build6_loc): Define.
1838 * fold-const.c (protected_set_expr_location_unshare): New inline.
1839 (fold_convert_loc, pedantic_non_lvalue_loc): Use it.
1840 (negate_expr, associate_trees, non_lvalue_loc, omit_one_operand_loc,
1841 pedantic_omit_one_operand_loc, omit_two_operands_loc,
1842 fold_truth_not_expr, invert_truthvalue_loc, make_bit_field_ref,
1843 optimize_bit_field_compare, make_range, fold_range_test, fold_truthop,
1844 build_fold_addr_expr_with_type_loc, fold_unary_loc, fold_binary_loc,
1845 fold_indirect_ref_1, build_fold_indirect_ref_loc): Use builN_loc
1846 instead of buildN followed by SET_EXPR_LOCATION or
1847 protected_set_expr_location.
1848 (fold_build1_stat_loc, fold_build2_stat_loc, fold_build3_stat_loc):
1849 Use buildN_stat_loc instead of buildN_stat followed by
1852 2010-11-26 Basile Starynkevitch <basile@starynkevitch.net>
1854 * Makefile.in (s-tm-texi): Remove spurous tab.
1856 2010-11-26 Alexandre Oliva <aoliva@redhat.com>
1859 * tree-cfg.c (replace_uses_by): Don't mark BBs as altered on
1862 2010-11-26 Alexandre Oliva <aoliva@redhat.com>
1864 * toplev.c (finalize): Add no_backend parameter. Don't finish
1865 passes when preprocessing only. Adjust...
1866 (do_compile): ... caller.
1868 2010-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1870 * config/pa/pa.md (negdf2): Condition on !flag_signed_zeros instead of
1871 flag_unsafe_math_optimizations.
1873 Move fnegabs related patterns together. Only use fmpynfadd instruction
1874 to negate a multiply if !flag_signed_zeros is true.
1876 2010-11-25 Uros Bizjak <ubizjak@gmail.com>
1878 * gengtype-state.c (read_state_structures): Initialize "previous".
1880 2010-11-25 Basile Starynkevitch <basile@starynkevitch.net>
1881 Jeremie Salvucci <jeremie.salvucci@free.fr>
1883 * gengtype-state.c: Add new file.
1885 * gengtype.c (type count): New variable.
1886 (new_structure, find_param_structure, create_pointer)
1887 (create_array): Use it to set state_number in types.
1888 (dump_everything): Improve comment.
1889 (main): Call read_state and write_state. Print type_count.
1891 * gengtype.h (type_lineloc): New function.
1892 (read_state, write_state): New declarations.
1894 * Makefile.in (GENGTYPE_FLAGS): New variable.
1895 (s-gtype): Run gengtype twice and generate gtype.state.
1896 (build/gengtype-state.o): New rule.
1897 (build/gengtype$(build_exeext)): Link gengtype-state.o.
1898 (mostlyclean): Update comment. Remove gtype.state.
1900 2010-11-25 Jakub Jelinek <jakub@redhat.com>
1903 * combine.c (try_combine): When substing i2dest for i2src, pass
1904 1 as last argument even if
1905 i0_feeds_i1_n && i1_feeds_i2_n && i0dest_in_i0src.
1907 2010-11-25 H.J. Lu <hongjiu.lu@intel.com>
1910 * builtins.c (target_char_cast): Check INTEGER_CST instead of
1911 host_integerp. Replace tree_low_cst with TREE_INT_CST_LOW.
1913 2010-11-25 Joseph Myers <joseph@codesourcery.com>
1915 * target.def (supports_split_stack, except_unwind_info): Take
1916 gcc_options parameters.
1917 * targhooks.c (default_except_unwind_info,
1918 dwarf2_except_unwind_info, sjlj_except_unwind_info): Take
1919 gcc_options parameters.
1920 * targhooks.h (default_except_unwind_info,
1921 dwarf2_except_unwind_info, sjlj_except_unwind_info): Update
1923 * doc/tm.texi.in (TARGET_IRA_COVER_CLASSES,
1924 TARGET_HAVE_NAMED_SECTIONS, TARGET_UNWIND_TABLES_DEFAULT):
1925 Document that hooks must not be modified.
1926 (TARGET_EXCEPT_UNWIND_INFO): Refer to opts argument.
1927 * doc/tm.texi: Regenerate.
1928 * defaults.h (STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT): Pass
1929 &global_options to targetm.except_unwind_info.
1930 * dwarf2out.c (dwarf2out_do_frame, dwarf2out_do_cfi_asm,
1931 dwarf2out_begin_prologue, dwarf2out_frame_init,
1932 dwarf2out_frame_finish, dwarf2out_assembly_start): Pass
1933 &global_options to targetm.except_unwind_info.
1934 * except.c (init_eh, finish_eh_generation,
1935 gate_convert_to_eh_region_ranges,
1936 output_one_function_exception_table): Pass &global_options to
1937 targetm.except_unwind_info.
1938 * expr.c (build_personality_function): Pass &global_options to
1939 targetm.except_unwind_info.
1940 * function.c (expand_function_end): Pass &global_options to
1941 targetm.except_unwind_info.
1942 * hooks.c (hook_bool_bool_gcc_optionsp_false): New.
1943 * hooks.h (hook_bool_bool_gcc_optionsp_false): Declare.
1944 * opts.c (finish_options): Pass opts to targetm.except_unwind_info
1945 and targetm.supports_split_stack. Remove assertions about opts
1947 (common_handle_option): Remove assertions about opts, opts_set and dc.
1948 * tree-tailcall.c (suitable_for_tail_call_opt_p): Pass
1949 &global_options to targetm.except_unwind_info.
1950 * tree.c (build_common_builtin_nodes: Pass &global_options to
1951 targetm.except_unwind_info.
1952 * config/arm/arm.c (arm_except_unwind_info): Add gcc_options parameter.
1953 (arm_compute_func_type, arm_expand_prologue, thumb_pushpop,
1954 thumb1_expand_prologue, thumb1_output_function_prologue,
1955 arm_unwind_emit, arm_output_fn_unwind): Update calls to
1956 arm_except_unwind_info.
1957 * config/i386/i386.c (ix86_supports_split_stack): Add gcc_options
1959 * config/ia64/ia64.c (ia64_except_unwind_info): Add gcc_options
1961 (ia64_output_function_prologue, ia64_add_bundle_selector_before,
1962 ia64_reorg, ia64_asm_unwind_emit): Update calls to
1963 ia64_except_unwind_info.
1964 * config/pa/pa.c (pa_option_override): Pass &global_options to
1965 targetm.except_unwind_info.
1966 * config/picochip/picochip-protos.h (picochip_except_unwind_info):
1969 2010-11-25 Kai Tietz <kai.tietz@onevision.com>
1971 * cgraphunit.c (process_function_and_variable_attributes):
1972 Mark dllexport-ed function/variables as needed.
1973 * ipa.c (cgraph_externally_visible_p): Make dllexport-ed
1974 as externally visible.
1976 2010-11-25 Alexander Monakov <amonakov@ispras.ru>
1978 PR rtl-optimization/46585
1979 * sel-sched-ir.c (return_regset_to_pool): Verify that RS is not NULL.
1980 (vinsn_init): Skip computation of dependencies for local NOPs.
1981 (vinsn_delete): Don't try to free regsets for local NOPs.
1982 (setup_nop_and_exit_insns): Change definition of nop_pattern.
1984 2010-11-25 Alexander Monakov <amonakov@ispras.ru>
1986 PR rtl-optimization/46602
1987 * sel-sched-ir.c (maybe_tidy_empty_bb): Move checking ...
1988 (tidy_control_flow): Here.
1990 2010-11-25 Joern Rennecke <amylaar@spamcop.net>
1991 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1994 * Makefile.in (s-tm-texi): Remove \r occurences from tmp-tm.texi.
1995 Fix target.def pathname in timestamp comparison.
1997 2010-11-24 Richard Henderson <rth@redhat.com>
1999 * config/ia64/predicates.md (pmpyshr_operand): New.
2000 * config/ia64/ia64.c (ia64_expand_unpack): New.
2001 (ia64_expand_widen_mul_v4hi): New.
2002 (ia64_expand_widen_sum): Update for pattern renames.
2003 (ia64_expand_dot_prod_v8qi): Likewise.
2004 * config/ia64/ia64-protos.h: Update.
2005 * config/ia64/vect.md (vecwider): New mode attribute.
2006 (vec_widen_umult_lo_v8qi, vec_widen_umult_hi_v8qi): New.
2007 (vec_widen_smult_lo_v8qi, vec_widen_smult_hi_v8qi): New.
2008 (pmpyshr2, pmpyshr2_u): New.
2009 (vec_widen_smult_lo_v4hi, vec_widen_smult_hi_v4hi): New.
2010 (vec_widen_umult_lo_v4hi, vec_widen_umult_hi_v4hi): New.
2012 (vec_pack_ssat_v4hi): Rename from pack2_sss.
2013 (vec_pack_usat_v4hi): Rename from *pack2_uss.
2014 (vec_pack_ssat_v2si): Rename from pack4_sss.
2015 (vec_interleave_lowv8qi): Rename from unpack1_l, use the correct
2016 vec_select operation.
2017 (vec_interleave_highv8qi): Similarly.
2018 (mux1_alt): Rename from *mux1_alt.
2019 (vec_extract_evenv8qi, vec_extract_oddv8qi): New.
2020 (vec_interleave_lowv4hi): Rename from unpack2_l.
2021 (vec_interleave_highv4hi): Rename from unpack2_h.
2022 (mix2_r): Rename from *mix2_r.
2023 (mix2_l): Similarly.
2024 (vec_extract_evenodd_helper): New.
2025 (vec_extract_evenv4hi, vec_extract_oddv4hi): New.
2026 (vec_interleave_lowv2si): Rename from *unpack4_l.
2027 (vec_interleave_highv2si): Rename from *unpack4_h.
2028 (vec_extract_evenv2si, vec_extract_oddv2si): New.
2029 (vec_interleave_lowv2sf): Rename from fmix_r.
2030 (vec_interleave_highv2sf): Rename from *fmix_l.
2031 (vec_extract_evenv2sf, vec_extract_oddv2sf): New.
2032 (vec_unpacku_lo_<VECINT12>, vec_unpacku_hi_<VECINT12>): New.
2033 (vec_unpacks_lo_<VECINT12>, vec_unpacks_hi_<VECINT12>): New.
2034 (vec_pack_trunc_v4hi, vec_pack_trunc_v2si): New.
2036 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2038 * targhooks.c (default_except_unwind_info): Remove
2039 MUST_USE_SJLJ_EXCEPTIONS case.
2040 * config/h8300/h8300.h (MUST_USE_SJLJ_EXCEPTIONS): Delete.
2041 * config/h8300/h8300.c (TARGET_EXCEPT_UNWIND_INFO): Define.
2042 * doc/tm.texi.in (MUST_USE_SJLJ_EXCEPTIONS): Delete.
2043 * doc/tm.texi: Regenerate.
2044 * system.h (MUST_USE_SJLJ_EXCEPTIONS): Poison.
2046 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2048 * cppbuiltin.c (define_builtin_macros_for_type_sizes): Define
2049 __FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN.
2050 * config/dfp-bit.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
2051 * doc/cpp.texi (__FLOAT_WORD_ORDER__): Document.
2052 * system.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Poison.
2054 2010-11-24 H.J. Lu <hongjiu.lu@intel.com>
2057 * config/i386/i386.c (ix86_expand_call): Don't check
2060 2010-11-24 H.J. Lu <hongjiu.lu@intel.com>
2063 * config/i386/i386.c (upper_128bits_state): New.
2064 (block_info_def): Remove upper_128bits_set and done. Add state,
2065 referenced, count, processed and rescanned.
2066 (check_avx256_stores): Updated.
2067 (move_or_delete_vzeroupper_2): Updated. Handle deleted BB_END.
2068 Call note_stores only if needed. Set referenced and count.
2069 (move_or_delete_vzeroupper_1): Updated. Set rescan_vzeroupper_p.
2070 (rescan_move_or_delete_vzeroupper): New.
2071 (move_or_delete_vzeroupper): Process and rescan all all basic
2072 blocks instead of predecessor blocks of all exit points.
2073 (ix86_option_override_internal): Enable vzeroupper optimization
2074 only for -fexpensive-optimizations and not optimizing for size.
2075 (use_avx256_p): Removed.
2076 (init_cumulative_args): Don't set use_avx256_p.
2077 (ix86_function_arg): Likewise.
2078 (ix86_expand_move): Likewise.
2079 (ix86_expand_vector_move_misalign): Likewise.
2080 (ix86_local_alignment): Likewise.
2081 (ix86_minimum_alignment): Likewise.
2082 (ix86_expand_epilogue): Don't check use_avx256_p when generating
2084 (ix86_expand_call): Likewise.
2086 * config/i386/i386.h (machine_function): Remove use_vzeroupper_p
2087 and use_avx256_p. Add rescan_vzeroupper_p.
2089 2010-11-24 Joseph Myers <joseph@codesourcery.com>
2091 * toplev.c: Include <signal.h>.
2093 2010-11-24 Richard Guenther <rguenther@suse.de>
2096 * lto-symtab.c (lto_cgraph_replace_node): Mark edges with
2097 conflicting function signatures as non-inlineable.
2099 2010-11-24 Jakub Jelinek <jakub@redhat.com>
2101 PR rtl-optimization/46614
2102 * sched-deps.c (NON_FLUSH_JUMP_KIND, NON_FLUSH_JUMP_P): Define.
2103 (deps_analyze_insn): Mark JUMP_INSNs in
2104 last_pending_memory_flush that weren't added through
2105 flush_pending_lists with NON_FLUSH_JUMP_KIND.
2106 (sched_analyze_2, sched_analyze_insn): Check NON_FLUSH_JUMP_P
2107 on INSN_LIST instead of JUMP_P check on its operand.
2108 * sched-rgn.c (concat_INSN_LIST): Copy over REG_NOTE_KIND.
2110 2010-11-24 Richard Guenther <rguenther@suse.de>
2112 * lto-streamer-in.c (input_gimple_stmt): Use types_compatible_p.
2114 2010-11-24 Richard Guenther <rguenther@suse.de>
2117 * lto-streamer-in.c (input_gimple_stmt): When we cannot find
2118 a FIELD_DECL that is type correct issue a warning and fixup
2119 with a VIEW_CONVERT_EXPR.
2121 2010-11-24 Basile Starynkevitch <basile@starynkevitch.net>
2123 * doc/invoke.texi (Options for Debugging Your Program or GCC):
2124 Explain static numbering of dump files.
2126 2010-11-24 Joseph Myers <joseph@codesourcery.com>
2128 * common.opt (user_vect_verbosity_level): New Variable entry.
2129 (ftree-vectorizer-verbose=): Mark as UInteger.
2130 * flag-types.h (enum vect_verbosity_levels): Move from enum
2131 verbosity_levels in tree-vectorizer.h.
2132 * opts.c: Don't include tree.h.
2133 (vect_set_verbosity_level): Move from tree-vectorizer.c. Use
2134 gcc_options parameter; take integer option argument.
2135 (common_handle_option): Update call to vect_set_verbosity_level.
2136 * tree-vectorizer.c (user_vect_verbosity_level): Remove.
2137 (vect_set_verbosity_level): Move to opts.c.
2138 (vect_verbosity_level, vect_print_dump_info): Update for change of
2140 * tree-vectorizer.h (enum verbosity_levels): Move to flag-types.h.
2141 (vect_print_dump_info): Update for change of enum name.
2142 * tree.h (vect_set_verbosity_level): Remove.
2143 * Makefile.in (opts.o): Update dependencies.
2145 2010-11-24 Jakub Jelinek <jakub@redhat.com>
2148 * cfgexpand.c (maybe_cleanup_end_of_block): Test NEXT_INSN (insn)
2149 instead of insn with any_condjump_p.
2151 2010-11-24 Mingjie Xing <mingjie.xing@gmail.com>
2153 * config/mips/loongson.md: Change the description comment of the file
2154 and update the copyright years.
2155 (define_insn "<u>div<mode>3): Add loongson3a support.
2156 (define_insn "<u>mod<mode>3"): Likewise.
2157 * config/mips/mips.md: Rename mul<mode>3_mul3_ls2ef to
2158 mul<mode>3_mul3_loongson.
2159 (define_expand "mul<mode>3"): Add TARGET_LOONGSON_3A.
2160 (define_insn "mul<mode>3_mul3_loongson"): Add loongson3a support.
2162 2010-11-23 Joseph Myers <joseph@codesourcery.com>
2164 * common.opt (initial_max_fld_align, flag_debug_asm,
2165 flag_dump_rtl_in_asm, flag_dump_all_passed, rtl_dump_and_exit,
2166 flag_print_asm_name, graph_dump_format, help_printed,
2167 help_columns, flag_opts_finished): New Variable entries.
2168 (fdbg-cnt-list, fdbg-cnt=, fdebug-prefix-map=, frandom-seed,
2169 frandom-seed=): Mark deferred.
2170 (fsched-verbose=): Use UInteger and Var.
2171 * flags.h (set_struct_debug_option, flag_print_asm_name,
2172 rtl_dump_and_exit, flag_debug_asm, flag_dump_rtl_in_asm,
2173 graph_dump_format): Don't declare here.
2174 * haifa-sched.c (sched_verbose_param, fix_sched_param): Remove.
2175 * opts-global.c: Include dbgcnt.h and debug.h.
2176 (decode_options): Pass location to finish_options.
2177 (handle_common_deferred_options): Check flag_dump_all_passed.
2178 Handle OPT_fdbg_cnt_, OPT_fdbg_cnt_list, OPT_fdebug_prefix_map_,
2179 OPT_frandom_seed and OPT_frandom_seed_. Don't assert on
2181 * opts.c: Don't include toplev.h, dbgcnt.h or debug.h.
2182 (set_struct_debug_option): Add location_t parameter. Update
2183 recursive call. Use error_at.
2184 (default_options_optimization): Use error_at.
2185 (finish_options): Add location_t parameter. Use
2186 opts->x_flag_opts_finished instead of first_time_p. Use
2187 opts->x_optimize instead of optimize. Use error_at. Pass
2189 (print_filtered_help): Use opts->x_help_printed to track what
2190 options have been printed.
2191 (print_specific_help): Use opts->x_help_columns to track number of
2193 (common_handle_option): Pass locations and gcc_options pointers to
2194 more functions. Use warning_at instead of fnotice and warning.
2195 Don't handle OPT_fdbg_cnt_, OPT_fdbg_cnt_list or
2196 OPT_fdebug_prefix_map_. Use error_at. Set
2197 opts->x_initial_max_fld_align; don't set maximum_field_alignment.
2198 Don't handle OPT_frandom_seed or OPT_frandom_seed_. Don't handle
2199 OPT_fsched_verbose_.
2200 (handle_param): Add location_r parameter. Use error_at.
2201 (set_debug_level): Add location_r parameter. Use error_at and
2203 (setup_core_dumping): Add diagnostic_context parameter.
2204 (decode_d_option): Add gcc_options, location_t and
2205 diagnostic_context parameters and use them instead of global
2206 state. Use warning_at.
2207 (enable_warning_as_error): Use error_at.
2208 * opts.h (finish_options): Update prototype.
2209 (set_struct_debug_option): Declare here.
2210 * rtl.h (fix_sched_param): Remove.
2211 * stor-layout.c (initial_max_fld_align): Remove.
2212 * toplev.c (rtl_dump_and_exit, flag_print_asm_name,
2213 graph_dump_format, flag_debug_asm, flag_dump_rtl_in_asm): Remove.
2214 (process_options): Set maximum_field_alignment.
2215 * tree.h (initial_max_fld_align) Don't declare here.
2216 * Makefile.in (opts.o, opts-global.o): Update dependencies.
2218 2010-11-23 Joseph Myers <joseph@codesourcery.com>
2220 * flag-types.h (struct visibility_flags): Don't declare here.
2221 * flags.h (strip_off_ending, fast_math_flags_set_p,
2222 fast_math_flags_struct_set_p): Declare here.
2223 (visibility_options): Don't declare here.
2224 * opts-common.c (option_enabled, get_option_state): Move from
2226 * opts-global.c: Include diagnostic.h instead of
2227 diagnostic-core.h. Include tree.h, langhooks.h, lto-streamer.h
2229 (const_char_p, ignored_options, in_fnames, num_in_fnames,
2230 write_langs, complain_wrong_lang, postpone_unknown_option_warning,
2231 print_ignored_options, unknown_option_callback,
2232 post_handling_callback, lang_handle_option, add_input_filename,
2233 read_cmdline_options, initial_lang_mask, init_options_once,
2234 decode_cmdline_options_to_array_default_mask,
2235 set_default_handlers, decode_options): Move from opts.c.
2236 (print_ignored_options): Use warning_at instead of saving and
2237 restoring input_location.
2238 * opts.c: Include <signal.h> and <sys/resource.h>. Include rtl.h
2239 instead of expr.h. Don't include langhooks.h, except.h or
2240 lto-streamer.h. Add more comments on includes.
2241 (strip_off_ending, setup_core_dumping, decode_d_option): Move from
2243 (visibility_options): Move to c-family/c-common.c.
2244 (const_char_p, ignored_options, in_fnames, num_in_fnames,
2245 write_langs, complain_wrong_lang, postpone_unknown_option_warning,
2246 print_ignored_options, unknown_option_callback,
2247 post_handling_callback, lang_handle_option, add_input_filename,
2248 read_cmdline_options, initial_lang_mask, init_options_once,
2249 decode_cmdline_options_to_array_default_mask,
2250 set_default_handlers, decode_options): Move to opts-global.c.
2251 (target_handle_option, default_options_optimization,
2252 finish_options, common_handle_option): Remove static.
2253 (option_enabled, get_option_state): Move to opts-common.c.
2254 * opts.h (common_handle_option, target_handle_option,
2255 finish_options, default_options_optimization): Declare.
2256 * toplev.c: Don't include <signal.h> or <sys/resource.h>.
2257 (setup_core_dumping, strip_off_ending, decode_d_option): Move to
2259 * toplev.h (strip_off_ending, decode_d_option,
2260 fast_math_flags_set_p, fast_math_flags_struct_set_p): Don't
2262 * Makefile.in (opts.o, opts-global.o): Update dependencies.
2264 2010-11-23 Dave Korn <dave.korn.cygwin@gmail.com>
2267 * gcc.c (LINK_COMMAND_SPEC): Remove hard-coded pass-through plugin
2268 options, replace by call of pass-through-libs spec function to process
2269 link_gcc_c_sequence spec.
2270 (lto_libgcc_spec): Delete variable.
2271 (static_specs[]): Remove related entry.
2272 (static_spec_functions[]): Add new entry for pass-through-libs.
2273 (main): Don't generate deleted lto_libgcc_spec.
2274 (pass_through_libs_spec_func): New function to implement the new
2275 pass-through-libs spec function.
2276 * doc/invoke.texi (pass-through-libs): Document new spec function.
2278 2010-11-23 Joseph Myers <joseph@codesourcery.com>
2280 * doc/options.texi (Warning, Optimization): Document.
2282 2010-11-23 Jan Hubicka <jh@suse.cz>
2284 * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): New macro.
2285 (tree_decl_with_vis): Add implicit_section_name_p.
2286 * targhooks.h (default_function_section): Declare.
2287 * target.def (function_section): New hook.
2288 * defaults.h (HOT_TEXT_SECTION_NAME,
2289 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
2290 * predict.c (choose_function_section): Remove.
2291 (estimate_bb_frequencies): Do not use choose_function_section.
2292 * coretypes.h (enum node_frequency): Move here from cgraph.h
2293 * cgraph.h (enum node_frequency): Remove.
2294 * varasm.c (initialize_cold_section_name, unlikely_text_section,
2295 unlikely_text_section_p): Remove.
2296 (named_subsection_entry): New structure.
2297 (get_text_section): New function.
2298 (default_function_section): New function.
2299 (function_section_1): Break out from ...; handle profile info.
2300 (function_section): ... here.
2301 (unlikely_text_section): Remove.
2302 (unlikely_text_section_p): Use function_section_1.
2303 (assemble_start_function): Do not initialize cold section.
2304 (default_section_type_flags): Do not special case cold subsection.
2305 (switch_to_section): Likewise.
2306 * output.h (get_text_section): Define.
2307 * config/i386/winnt.c: Do not special case cold section.
2308 * config/darwin-protos.h (darwin_function_section): Declare.
2309 * config/microblaze/microblaze.h (HOT_TEXT_SECTION_NAME,
2310 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
2311 * config/ia64/hpux.h (HOT_TEXT_SECTION_NAME,
2312 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
2313 (TARGET_ASM_FUNCTION_SECTION): Define to ia64_hpux_function_section.
2314 * config/ia64/ia64.c (ia64_hpux_function_section): New function.
2315 * config/darwin.c (machopic_select_section): Use
2316 darwin_function_section.
2317 (darwin_function_section): New function.
2318 * config/darwin.h (HOT_TEXT_SECTION_NAME,
2319 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
2320 (TARGET_ASM_FUNCTION_SECTION): Define.
2321 * system.h (HOT_TEXT_SECTION_NAME,
2322 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Poison.
2324 2010-11-23 Iain Sandoe <iains@gcc.gnu.org>
2326 * config/darwin.h (LINK_COMMAND_SPEC_A): Use %(link_gcc_c_sequence).
2327 LINK_GCC_C_SEQUENCE_SPEC: Define new macro.
2329 2010-11-23 Jakub Jelinek <jakub@redhat.com>
2332 * cfgexpand.c (maybe_cleanup_end_of_block): Remove also BARRIERs
2333 following unconditional jumps.
2335 2010-11-23 Richard Guenther <rguenther@suse.de>
2337 * doc/md.texi (386 constraints): Clarify A constraint documentation.
2339 2010-11-23 Basile Starynkevitch <basile@starynkevitch.net>
2340 Jeremie Salvucci <jeremie.salvucci@free.fr>
2342 * gengtype.c (enum typekind, struct options)
2343 (struct nested_ptr_data, struct pair, NUM_PARAM)
2344 (enum gc_used_num, struct type, UNION_P, UNION_OR_STRUCT_P):
2346 (string_type, scalar_nonchar, scalar_nonchar, scalar_char):
2347 Remove static, add zero state_number.
2348 (typedefs, structures, param_structs, variables): Remove static.
2349 (create_option): Remove.
2350 (create_string_option, create_type_option, create_nested_option):
2352 (create_nested_ptr_option): Use create_nested_option.
2353 (note_variable, adjust_field_rtx_def, adjust_field_type): Call the
2354 new create*option functions.
2355 (process_gc_options): Adjust for discriminated option.
2356 (output_mangled_typename): Handle TYPE_NONE.
2357 (walk_type): Test option kinds.
2358 (write_types_process_field): Handle TYPE_NONE and TYPE_ARRAY.
2359 (write_func_for_structure, write_type, write_local, write_root)
2360 (write_roots, note_def_vec, dump_options): Adjust for
2361 discriminated option.
2363 * gengtype.h (typedefs, structures, param_structs, variables
2364 enum typekind): Move from gengtype.c
2365 (enum option_kind): New discriminating enumeration.
2366 (struct options): Becomes discriminated.
2367 (struct nested_ptr_data): Nove from gengtype.c
2368 (create_string_option, create_type_option, create_nested_option)
2369 (create_nested_ptr_option): New functions
2370 (struct pair, enum_gc_used_enum, NUM_PARAM, struct type, UNION_P)
2371 (UNION_OR_STRUCT_P): Move from gengtype.c
2373 * gengtype-parse.c (str_optvalue_opt, type_optvalue, option): Make
2374 discriminated options.
2376 2010-11-23 Richard Guenther <rguenther@suse.de>
2378 * tree-ssa-sccvn.c (vn_reference_lookup_3): Avoid doing work
2379 twice. Avoid re-allocating the ops vector all the time.
2381 2010-11-23 Richard Guenther <rguenther@suse.de>
2383 * tree-ssa-alias.c (refs_may_alias_p_1): Avoid calls to
2384 is_gimple_min_invariant, group tree code checks to allow
2386 (stmt_may_clobber_ref_p_1): Check for SSA_NAME instead
2389 2010-11-23 Eric Botcazou <ebotcazou@adacore.com>
2391 * config.gcc (sparc*-*-*): Reorder.
2393 2010-11-23 Basile Starynkevitch <basile@starynkevitch.net>
2395 * gengtype.c (header_dot_h_frul, source_dot_c_frul):
2396 Remove ENABLE_CHECKING around DBGPRINTF.
2398 2010-11-22 Joseph Myers <joseph@codesourcery.com>
2400 * common.opt (exit_after_options, write_symbols, debug_info_level,
2401 use_gnu_debug_info_extensions): New Variable entries.
2402 (fprofile-dir=): Use Var.
2403 * flag-types.h (enum debug_info_level): Rename to enum
2405 * flags.h (write_symbols, debug_info_level,
2406 use_gnu_debug_info_extensions): Remove declarations.
2407 * opts.c (exit_after_options, write_symbols, debug_info_level): Remove.
2408 (set_struct_debug_option): Make static variables const.
2409 (use_gnu_debug_info_extensions): Remove.
2410 (set_debug_level, print_filtered_help, print_specific_help,
2411 fast_math_flags_set_p): Take gcc_options parameters and use them
2412 in place of global variables.
2413 (print_filtered_help): Make new_help non-static.
2414 (print_specific_help): Update call to print_filtered_help.
2415 (common_handle_option): Update calls to print_specific_help. Use
2416 gcc_options structure for more settings. Make --help table
2417 const. Don't handle OPT_fprofile_dir_ here. Update calls to
2419 * toplev.c (profile_data_prefix): Remove.
2420 * toplev.h (profile_data_prefix, exit_after_options): Remove
2422 (fast_math_flags_set_p): Update prototype.
2423 * cppbuiltin.c (define_builtin_macros_for_compilation_flags):
2424 Update call to fast_math_flags_set_p.
2426 2010-11-22 Richard Henderson <rth@redhat.com>
2429 * config/crx/crx.c (crx_addr_reg): Rename from crx_addr_reg_p;
2430 return the address register extracted.
2431 (crx_decompose_address): Update the extracted address register.
2433 2010-11-22 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
2436 * gcc.c (main): Don't crash when lto-wrapper program is not found.
2438 2010-11-22 Joern Rennecke <amylaar@spamcop.net>
2441 * config/picochip/picochip.c (picochip_secondary_reload): Make static.
2442 * config/picochip/picochip-protos.h: Don't include "target.h" .
2443 (picochip_secondary_reload): Don't declare.
2446 * config/m32c/m32c-protos.h (m32c_conditional_register_usage): Declare.
2447 * config/m32c/m32c.c (m32c_conditional_register_usage): No longer
2450 2010-11-22 H.J. Lu <hongjiu.lu@intel.com>
2453 * gengtype.c (header_dot_h_frul): Check ENABLE_CHECKING.
2454 (source_dot_c_frul): Likewise.
2456 2010-11-22 Basile Starynkevitch <basile@starynkevitch.net>
2458 * gimple-pretty-print.c (dump_bb_header): Add check for cfun.
2460 2010-11-22 Paolo Bonzini <bonzini@gnu.org>
2463 * Makefile.in (fwprop.o) Add sparseset.h.
2464 * fwprop.c: Include sparseset.h
2465 (struct find_occurrence_data, find_occurrence_callback,
2466 find_occurrence): Remove.
2467 (active_defs, active_defs_check, register_active_defs,
2468 update_df_init, update_uses): New.
2469 (update_df): Rewrite.
2470 (try_fwprop_subst, forward_propagate_asm): Add calls to
2471 update_df_init and update_df.
2472 (fwprop_init): Allocate active_defs and active_defs_check.
2473 (fwprop_done): Free them.
2474 (fwprop, fwprop_addr): Adjust comments.
2475 * df.h (df_uses_create): Declare.
2476 * df-scan.c (df_install_ref_incremental): Break out of df_ref_create.
2477 (df_ref_create): Return result of df_ref_create_structure directly.
2478 (df_ref_create_structure): Call df_install_ref_incremental when
2479 no collection_rec is passed.
2480 (df_ref_record): Do not create multiword hard reg info when no
2481 collection_rec is passed.
2482 (df_uses_create): New.
2484 2010-11-21 Uros Bizjak <ubizjak@gmail.com>
2487 * fold-const.c (pedantic_non_lvalue_loc): Unshare x before
2490 2010-11-22 Richard Guenther <rguenther@suse.de>
2492 * gimple-fold.c (maybe_fold_reference): When canonicalizing
2493 MEM_REFs, preserve volatileness.
2494 * cgraphbuild.c (mark_address): Properly check for FUNCTION_DECL
2497 2010-11-22 Richard Guenther <rguenther@suse.de>
2499 * tree-ssa-ccp.c (get_base_constructor): Remove superfluous breaks.
2501 2010-11-22 Alexander Monakov <amonakov@ispras.ru>
2503 PR rtl-optimization/45652
2504 * alias.c (get_reg_base_value): New.
2505 * rtl.h (get_reg_base_value): Add prototype.
2506 * sel-sched.c (init_regs_for_mode): Use it. Don't use registers with
2507 non-null REG_BASE_VALUE for renaming.
2509 2010-11-22 Jeremie Salvucci <jeremie.salvucci@free.fr>
2510 Basile Starynkevitch <basile@starynkevitch.net>
2512 * gengtype.c: Include xregex.h and obstack.h
2513 Added comments about role of get_output_file_with_visibility and
2514 our regexpr machinery.
2515 (frul_actionrout_t, struct file_rule_st): New.
2516 (hader_dot_h_frul, source_dot_c_frul): New functions.
2517 (NULL_REGEX, NULL_FRULACT): New.
2519 (matching_file_name_substitute): New function.
2520 (get_output_file_with_visibility): Updated comments and rewritten
2521 to use the new files_rules machinery.
2523 * Makefile.in (XREGEX_H): Added variable.
2524 (build/gengtype.o): Added dependencies for xregex.h and obstack.h
2526 2010-11-21 Nathan Froyd <froydnj@codesourcery.com>
2528 * system.h (FUNCTION_ARG_BOUNDARY): Really poison.
2530 2010-11-21 Nathan Froyd <froydnj@codesourcery.com>
2532 * target.def (conditional_register_usage): Define.
2533 * reginfo.c (init_reg_sets_1): Call
2534 targetm.conditional_register_usage.
2535 * system.h (CONDITIONAL_REGISTER_USAGE): Poison.
2536 * doc/tm.texi.in (CONDITIONAL_REGISTER_USAGE): Adjust language
2537 for making it a hook.
2538 * doc/tm.texi: Regenerate.
2539 * config/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2540 * config/alpha/alpha.c (alpha_conditional_register_usage): ...here.
2542 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2543 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2544 * config/arc/arc.c (arc_conditional_register_usage): ...here.
2546 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2547 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2548 * config/arm/arm.c (arm_conditional_register_usage): ...here.
2550 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2551 * config/bfin/bfin.h (CONDITIONAL_REGISTER_USAGE): Delete.
2552 * config/bfin/bfin-protos.h (conditional_register_usage): Delete.
2553 * config/bfin/bfin.c (conditional_register_usage): Move code into...
2554 (bfin_conditional_register_usage): ...here. New function.
2555 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2556 * config/cris/cris.h (CONDITIONAL_REGISTER_USAGE): Delete.
2557 * config/cris/cris-protos.h (cris_conditional_register_usage): Delete.
2558 * config/cris/cris.c (cris_conditional_register_usage): Make static.
2559 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2560 * config/fr30/fr30.h (FIXED_REGISTERS): Adjust comment.
2561 * config/frv/frv.h (CONDITIONAL_REGISTER_USAGE): Delete.
2562 * config/frv/frv-protos.h (frv_conditional_register_usage): Delete.
2563 * config/frv/frv.c (frv_conditional_register_usage): Make static.
2564 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2565 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2566 * config/h8300/h8300.c (h8300_conditional_register_usage): ...here.
2568 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2569 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Delete.
2570 * config/i386/i386-protos.h (ix86_conditional_register_usage): Delete.
2571 * config/i386/i386.c (ix86_conditional_register_usage): Make static.
2572 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2573 * config/m32c/m32c.h (CONDITIONAL_REGISTER_USAGE): Delete.
2574 * config/m32c/m32c-protos.h (m32c_conditional_register_usage): Delete.
2575 * config/m32c/m32c.c (m32c_conditional_register_usage): Make static.
2576 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2577 * config/m32r/m32r.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2578 * config/m32r/m32r.c (m32r_conditional_register_usage): ...here.
2580 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2581 * config/m68hc11/m68hc11.h (CONDITIONAL_REGISTER_USAGE): Delete.
2582 * config/m68hc11/m68hc11-protos.h (m68hc11_conditional_register_usage):
2584 * config/m68hc11/m68hc11.c (m68hc11_conditional_register_usage): Make
2586 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2587 * config/mep/mep.h (CONDITIONAL_REGISTER_USAGE): Delete.
2588 * config/mep/mep-protos.h (mep_conditional_register_usage): Delete.
2589 * config/mep/mep.c (mep_conditional_register_usage): Make static.
2590 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2591 * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Delete.
2592 * config/mips/mips-protos.h (mips_conditional_register_usage): Delete.
2593 * config/mips/mips.c (mips_conditional_register_usage): Make static.
2594 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2595 * config/mmix/mmix.h (CONDITIONAL_REGISTER_USAGE): Delete.
2596 * config/mmix/mmix-protos.h (mmix_conditional_register_usage): Delete.
2597 * config/mmix/mmix.c (mmix_conditional_register_usage): Make static.
2598 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2599 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2600 * config/mn10300/mn10300.c (mn10300_conditional_register_usage):
2601 ...here. New function.
2602 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2603 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2604 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): ...with this...
2605 * config/pa/pa.c (pa_conditional_register_usage): ...here.
2607 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2608 * config/pdp11/pdp11.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2609 * config/pdp11/pdp11.c (pdp11_conditional_register_usage): ...here.
2611 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2612 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Delete.
2613 * config/rs6000/rs6000-protos.h (rs6000_conditional_register_usage):
2615 * config/rs6000/rs6000.c (rs6000_conditional_register_usage): Make
2617 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2618 * config/rx/rx.h (CONDITIONAL_REGISTER_USAGE): Delete.
2619 * config/rx/rx-protos.h (rx_conditional_register_usage): Delete.
2620 * config/rx/rx.c (rx_conditional_register_usage): Make static.
2621 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2622 * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Delete.
2623 * config/s390/s390-protos.h (s390_conditional_register_usage): Delete.
2624 * config/s390/s390.c (s390_conditional_register_usage): Make static.
2625 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2626 * config/score/score.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2627 * config/score/score.c (score_conditional_register_usage): ...here.
2629 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2630 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2631 * config/sh/sh.c (sh_conditional_register_usage): ...here.
2633 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2634 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2635 * config/sparc/sparc.c (sparc_conditional_register_usage): ...here.
2637 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2638 * config/spu/spu.h (CONDITIONAL_REGISTER_USAGE): Delete.
2639 * config/spu/spu-protos.h (spu_conditional_register_usage): Delete.
2640 * config/spu/spu.c (spu_conditional_register_usage): Make static.
2641 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2642 * config/v850/v850.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2643 * config/v850/v850.c (v850_conditional_register_usage): ...here.
2645 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2647 2010-11-21 Jan Hubicka <jh@suse.cz>
2648 Dominique d'Humieres <dominiq@lps.ens.ft>
2651 * tree-emutls.c (get_emutls_init_templ_addr, new_emutls_decl): Do not
2652 finalize external decls.
2654 2010-11-21 Joseph Myers <joseph@codesourcery.com>
2656 * system.h (strerror): Poison.
2658 2010-11-21 Richard Henderson <rth@redhat.com>
2660 * config/ia64/ia64.c (ia64_expand_builtin): Use the correct mode
2663 2010-11-21 Richard Henderson <rth@redhat.com>
2665 PR rtl-optimization/46571
2666 * gcse.c (hash_scan_set): Use next_nonnote_nondebug_insn.
2667 (compute_hash_table_work): Use NONDEBUG_INSN_P.
2669 2010-11-21 Paul Koning <ni1d@arrl.net>
2671 * config/mips/pdp11.md (negsi2): Fix wrong code.
2673 2010-11-21 Paul Koning <ni1d@arrl.net>
2675 * config/mips/pdp11.c (pdp11_legitimate_address_p): New function.
2676 * config/mips/pdp11.h (GO_IF_LEGITIMATE_ADDRESS): Delete.
2678 2010-11-21 Eric Botcazou <ebotcazou@adacore.com>
2680 * config/mips/mips.c (machine_function): Rename load_label_length to
2681 load_label_num_insns.
2682 (mips_load_label_length): Rename to...
2683 (mips_load_label_num_insns): ...this. Adjust to first renaming.
2684 (mips_adjust_insn_length): Adjust to second renaming. Fix thinko.
2686 2010-11-21 Uros Bizjak <ubizjak@gmail.com>
2689 * config/alpha/predicates.md (direct_call_operand): Return false
2690 for !TARGET_SMALL_TEXT targets.
2692 2010-11-20 Joseph Myers <joseph@codesourcery.com>
2694 * doc/tm.texi.in (HANDLE_SYSV_PRAGMA,
2695 HANDLE_PRAGMA_PACK_PUSH_POP): Remove.
2696 (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Don't refer to HANDLE_SYSV_PRAGMA.
2697 * doc/tm.texi: Regenerate.
2698 * system.h (HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_SYSV_PRAGMA,
2699 HANDLE_PRAGMA_WEAK): Poison.
2700 * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Don't define.
2701 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2702 * config/alpha/osf5.h (HANDLE_SYSV_PRAGMA): Don't define.
2703 * config/alpha/vms.h (HANDLE_SYSV_PRAGMA): Don't define.
2704 * config/arm/arm.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2705 * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Don't define.
2706 * config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2707 * config/darwin.h (HANDLE_SYSV_PRAGMA): Don't define.
2708 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2709 * config/elfos.h (HANDLE_SYSV_PRAGMA): Don't define.
2710 * config/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2711 * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Don't define.
2712 * config/i386/cygming.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2713 * config/i386/djgpp.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2714 * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Don't define.
2715 (HANDLE_PRAGMA_WEAK): Don't undefine.
2716 * config/i386/netware.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2717 * config/i386/vxworks.h (HANDLE_SYSV_PRAGMA): Don't define.
2718 * config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2719 * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Don't define.
2720 * config/interix.h (HANDLE_SYSV_PRAGMA): Don't define.
2721 (HANDLE_PRAGMA_WEAK): Don't undefine.
2722 * config/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2723 * config/m32r/linux.h (HANDLE_SYSV_PRAGMA): Don't define.
2724 (HANDLE_PRAGMA_PACK): Don't undefine.
2725 * config/m32r/m32r.h (HANDLE_SYSV_PRAGMA): Don't undefine.
2726 * config/mep/mep.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2727 * config/mips/elf.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2728 * config/mips/sde.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2729 * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Don't define.
2730 * config/netbsd.h (HANDLE_SYSV_PRAGMA): Don't define.
2731 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2732 * config/openbsd.h (HANDLE_SYSV_PRAGMA): Don't define.
2733 * config/pa/pa-hpux.h (HANDLE_SYSV_PRAGMA): Don't define.
2734 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2735 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Don't define.
2736 * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2737 * config/rx/rx.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2738 * config/score/elf.h (HANDLE_SYSV_PRAGMA): Don't define.
2739 * config/spu/spu.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2740 * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Don't define.
2741 * config/xtensa/elf.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2743 2010-11-20 Eric Botcazou <ebotcazou@adacore.com>
2746 * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP): Move to...
2747 * config/sparc/sol2.h (ASM_OUTPUT_ALIGN_WITH_NOP): ...here.
2748 * config/sparc/sol2-gas.h (ASM_OUTPUT_ALIGN_WITH_NOP): Undefine.
2750 2010-11-20 Jan Hubicka <jh@suse.cz>
2752 * cgraph.c (ld_plugin_symbol_resolution_names): New.
2753 (dump_cgraph_node): Dump resolution.
2754 * cgraph.h (ld_plugin_symbol_resolution_names): Declare.
2755 (cgraph_comdat_can_be_unshared_p): Dclare.
2756 * lto-streamer-out.c (produce_symtab): Use
2757 cgraph_comdat_can_be_unshared_p.
2758 * ipa.c (cgraph_address_taken_from_non_vtable_p): New function.
2759 (cgraph_comdat_can_be_unshared_p): New function based on logic
2760 in cgraph_externally_visible_p.
2761 (cgraph_externally_visible_p): Use it.
2762 (varpool_externally_visible_p): Virtual tables can be unshared.
2763 * varpool.c (dump_varpool_node): Dump resolution.
2765 2010-11-20 Jan Hubicka <jh@suse.cz>
2767 * stmt.c (lshift_cheap_p): Support properly optimize_insn_for_speed_p.
2769 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2772 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New variables.
2773 (AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
2775 (STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
2776 (install-strip): New target.
2777 (STRIPPROG): New variable, exported if STRIP is set.
2778 * doc/install.texi (Final install): Minor markup and code style
2779 fixes. Document install-strip target.
2781 2010-11-20 Paul Koning <ni1d@arrl.net>
2783 * config/pdp11/pdp11-protos.h (pdp11_initial_elimination_offset,
2784 pdp11_regno_reg_class): New functions.
2785 * config/pdp11/pdp11.md (define_constants): Add register numbers.
2786 * config/pdp11/pdp11.c (pdp11_regno_reg_class,
2787 pdp11_sp_frame_offset, pdp11_initial_elimination_offset): New
2789 * config/pdp11/pdp11.h (FIXED_REGISTERS, CALL_USED_REGISTERS): Add
2790 frame pointer and argument pointer pseudo-registers.
2791 (ARG_POINTER_REGNUM): Define.
2792 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Add frame pointer and
2794 (FIRST_PARM_OFFSET): Update for argument pointer.
2795 (INITIAL_FRAME_POINTER_OFFSET): Delete.
2796 (ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): New macros.
2797 (REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_INDEX_P, REGISTER_NAMES): Add
2798 frame pointer and argument pointer.
2800 2010-11-20 Jakub Jelinek <jakub@redhat.com>
2803 * tree-parloops.c (try_create_redunction_list): Ignore debug stmts
2804 when looking for immediate uses.
2806 PR tree-optimization/45830
2807 * stmt.c (expand_switch_using_bit_tests_p): New function.
2808 (expand_case): Use it.
2809 * tree.h (expand_switch_using_bit_tests_p): New prototype.
2810 * tree-switch-conversion.c (struct switch_conv_info): Add
2811 bit_test_uniq, bit_test_count and bit_test_bb fields.
2812 (check_range): Fix a comment.
2813 (check_process_case): Compute bit_test_uniq and bit_test_count.
2814 (create_temp_arrays): Use XCNEWVEC, merge 3 arrays into one
2816 (free_temp_arrays): Use XDELETEVEC, adjust for the 3 arrays merging.
2817 (constructor_contains_same_values_p): Use FOR_EACH_VEC_ELT.
2818 (array_value_type): New function.
2819 (build_one_array): Use it, if it returned different type,
2820 fold_convert all constructor fields and convert back to the
2821 wider type in the generated code.
2822 (process_switch): Initialize bit_test_uniq, bit_test_count and
2823 bit_test_bb fields. Don't optimize if expand_switch_using_bit_tests_p
2826 2010-11-19 Michael Matz <matz@suse.de>
2828 PR tree-optimization/46077
2829 * tree-chrec.c (eq_evolutions_p): Accept some expressions.
2831 2010-11-19 Anatoly Sokolov <aesok@post.ru>
2833 * config/mn10300/mn10300.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
2834 * config/mn10300/mn10300.c (mn10300_asm_output_addr_const_extra): New
2836 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
2838 2010-11-19 Uros Bizjak <ubizjak@gmail.com>
2840 * mode-switching.c (optimize_mode_switching): Use
2841 FOR_BB_INSNS instead of open-coded loop.
2842 * cfgrtl.c (redirect_branch_edge): Ditto.
2844 2010-11-19 Joern Rennecke <amylaar@spamcop.net>
2847 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Split shift count
2848 to accomodate 32 bit HOST_WIDE_INT.
2849 (m68hc11_emit_logical): Remove unused variable insn.
2850 (m68hc11_check_z_replacement) <CLOBBER>: Set this_insn_uses_ix and
2851 this_insn_uses_iy before use.
2854 * config/crx/crx.c (crx_expand_epilogue): Remove unused variable.
2856 2010-11-19 Joseph Myers <joseph@codesourcery.com>
2859 * c-tree.h (in_late_binary_op): Move to c-family/c-common.h.
2860 * c-typeck.c (in_late_binary_op): Move to c-family/c-common.c.
2862 2010-11-19 Michael Meissner <meissner@linux.vnet.ibm.com>
2864 * doc/extend.texi (Function attributes): Document PowerPC target
2865 attributes that are supported.
2866 (Pragmas): Document that PowerPC now supports target pragmas.
2868 * doc/options.texi (TargetVariable): Document TargetVariable,
2869 HeaderInclude, and SourceInclude.
2871 * doc/invoke.texi (-mfused-madd): Document that -mfused-madd is
2872 mapped to -ffp-contract=fast, and -mno-fused-madd is mapped to
2875 * optc-gen.awk: Add support for TargetVariable, HeaderInclude, and
2876 SourceInclude directives. Fix a cut+paste error with target save
2877 enum variables. Sort enums in the structures after ints and
2879 * opth-gen.awk: Ditto.
2881 * configure.ac: Add support for HeaderInclude and SourceInclude option
2882 directives to add the appropriate files to the dependency lists.
2883 * configure: Regenerate.
2884 * Makefile.in (OPTIONS_H_EXTRA): New variable for HeaderInclude.
2885 (OPTIONS_C_EXTRA): New variable for SourceInclude.
2886 (OPTIONS_H): Add $(OPTIONS_H_EXTRA).
2887 (options.o): Add $(OPTIONS_C_EXTRA) dependency.
2888 (gcc-options.o): Ditto.
2889 * opt-include.awk: New awk script to handle HeaderInclude and
2892 * config/rs6000/aix.opt (-mxl-compat): Mark option as Save so it
2893 gets saved in the target options.
2894 * config/rs6000/linux64.opt (-mprofile-kernel): Ditto.
2895 * config/rs6000/sysv4.opt (-mbit-align): Ditto.
2896 (-mprototype): Ditto.
2897 (-mbit-word): ditto.
2898 (-mregnames): Ditto.
2899 (-msecure-plt): Ditto.
2901 * config/rs6000/rs6000.opt (-mpowerpc-gpopt): Ditto.
2902 (-mpowerpc-gfxopt): Ditto.
2909 (-mhard-dfp): Ditto.
2912 (-mmultiple): Ditto.
2917 (-mno-update): Ditto.
2918 (-mavoid-indexed-addresses): Ditto.
2919 (-mtls-markers): Ditto.
2920 (-msched-epilog): Ditto.
2921 (-msched-prolog): Ditto.
2922 (-maix-struct-return): Ditto.
2923 (-msvr4-struct-return): Ditto.
2924 (-mxl-compat): Ditto.
2925 (-mrecip-precision): Ditto.
2926 (-mfp-in-toc): Ditto.
2927 (-msum-in-toc): Ditto.
2929 (-mblock-move-inline-limit=): Ditto.
2932 (-mlongcall): Ditto.
2933 (-mgen-cell-microcode): Ditto.
2934 (-mwarn-cell-microcode): Ditto.
2935 (-mwarn-altivec-long): Ditto.
2936 (-mprioritize-restricted-insns=): Ditto.
2937 (-msingle-float): Ditto.
2938 (-mdouble-float): Ditto.
2939 (-msimple-fpu): Ditto.
2940 (-mxilinx-fpu): Ditto.
2941 * config/rs6000/aix64.opt (-mpe): Ditto.
2943 * config/rs6000/rs6000.opt (HeaderInclude): Include rs6000-opts.h.
2944 (rs6000_cpu): Move variable to be a target variable. Rename
2945 cmodel to rs6000_current_cmodel because of macro conflict. Merge
2946 -mdebug=<xxx> variables into a single int.
2947 (rs6000_always_hint): Ditto.
2948 (rs6000_sched_groups): Ditto.
2949 (rs6000_align_branch_targets): Ditto.
2950 (rs6000_sched_costly_dep): Ditto.
2951 (rs6000_sched_insert_nops): Ditto.
2952 (rs6000_long_double_type_size): Ditto.
2953 (rs6000_ieeequad): Ditto.
2954 (rs6000_altivec_abi): Ditto.
2955 (rs6000_spe): Ditto.
2956 (rs6000_spe_abi): Ditto.
2957 (rs6000_float_gprs): Ditto.
2958 (rs6000_darwin64_abi): Ditto.
2959 (can_override_loop_align): Ditto.
2960 (rs6000_sdata): Ditto.
2961 (rs6000_tls_size): Ditto.
2962 (rs6000_current_abi): Ditto.
2963 (rs6000_traceback): Ditto.
2964 (rs6000_alignment_flags): Ditto.
2965 (rs6000_current_cmodel): Ditto.
2966 (rs6000_recip_control): Ditto.
2967 (rs6000_cpu_index): Ditto.
2968 (rs6000_tune_index): Ditto.
2969 (rs6000_debug): Ditto.
2970 (rs6000_target_flags_explict): Ditto.
2972 * config/rs6000/rs6000-protos.h (rs6000_pragma_target_parse): Add
2975 * config/rs6000/linux64.h (rs6000_current_cmode): Rename from
2976 cmodel. Change all uses.
2978 * config/rs6000/rs6000.c (rs6000_always_hint): Move to
2979 rs6000.opt. Combine -mdebug=<xxx> variables into a single int.
2980 Rename cmodel to rs6000_current_cmodel.
2981 (rs6000_sched_groups): Ditto.
2982 (rs6000_align_branch_targets): Ditto.
2983 (rs6000_sched_costly_dep): Ditto.
2984 (rs6000_sched_insert_nops): Ditto.
2985 (rs6000_long_double_type_size): Ditto.
2986 (rs6000_ieeequad): Ditto.
2987 (rs6000_altivec_abi): Ditto.
2988 (rs6000_spe): Ditto.
2989 (rs6000_spe_abi): Ditto.
2990 (rs6000_float_gprs): Ditto.
2991 (rs6000_darwin64_abi): Ditto.
2992 (can_override_loop_align): Ditto.
2993 (rs6000_sdata): Ditto.
2994 (rs6000_tls_size): Ditto.
2995 (rs6000_current_abi): Ditto.
2996 (rs6000_traceback): Ditto.
2997 (rs6000_alignment_flags): Ditto.
2998 (rs6000_current_cmodel): Ditto.
2999 (rs6000_recip_control): Ditto.
3000 (rs6000_cpu_index): Ditto.
3001 (rs6000_tune_index): Ditto.
3002 (rs6000_debug): Ditto.
3003 (rs6000_target_flags_explict): Ditto.
3004 (rs6000_sched_insert_nops_str): Make static.
3005 (rs6000_sched_costly_dep_str): Ditto.
3006 (rs6000_recip_name): Ditto.
3007 (rs6000_abi_name): Ditto.
3008 (rs6000_sdata_name): Ditto.
3009 (enum rs6000_traceback_name): Move to rs6000-opts.h.
3010 (rs6000_parse_tls_size_option): Delete.
3011 (rs6000_valid_attribute_p): New function for target attributes and
3013 (rs6000_function_specific_save): Ditto.
3014 (rs6000_function_specific_restore): Ditto.
3015 (rs6000_function_specific_print): Ditto.
3016 (rs6000_can_inline_p): Ditto.
3017 (rs6000_set_current_function): Ditto.
3018 (rs6000_inner_target_options): Ditto.
3019 (rs6000_debug_target_options): Ditto.
3020 (rs6000_pragma_target_parse): Ditto.
3021 (TARGET_OPTION_VALID_ATTRIBUTE_P): Define target hooks for target
3022 attributes and pragmas.
3023 (TARGET_OPTION_SAVE): Ditto.
3024 (TARGET_OPTION_RESTORE): Ditto.
3025 (TARGET_OPTION_PRINT): Ditto.
3026 (TARGET_CAN_INLINE_P): Ditto.
3027 (TARGET_SET_CURRENT_FUNCTION): Ditto.
3028 (POWER_MASKS): Move to file level scope from the
3029 rs6000_option_override_internal function.
3030 (POWERPC_MASKS): Ditto.
3031 (ISA_*_MASKS): Ditto.
3032 (struct rs6000_ptt): Ditto.
3033 (processor_target_table): Ditto.
3034 (rs6000_cpu_name_lookup): Map cpu name to an index in
3035 processor_target_table.
3036 (rs6000_debug_reg_global): Print more information on processor
3037 options for -mdebug=reg.
3038 (rs6000_init_hard_regno_mode_ok): Add support for target
3039 attributes and pragmas. Merge all -mdebug=<xxx> fields into one.
3040 Allow -mdebug=val1,val2. Rename cmodel variable.
3041 (rs6000_option_override_internal): Ditto.
3042 (rs6000_option_override): Ditto.
3043 (rs6000_handle_option): Ditto.
3044 (rs6000_conditional_register_usage): Add debug trace message.
3045 (struct rs6000_opt_mask): New for target attribute/pragma support.
3046 (rs6000_opt_masks): Ditto.
3047 (struct rs6000_opt_var): Ditto.
3048 (rs6000_opt_vars): Ditto.
3049 (rs6000_previous_function): Ditto.
3051 * config/rs6000/rs6000.h (top level): Include rs6000-opts.h if it
3052 wasn't already included.
3053 (enum rs6000_cmodel): Move to rs6000-opts.h or rs6000.opt.
3054 (enum processor_type): Ditto.
3055 (rs6000_cpu): Ditto.
3056 (enum fpu_type_t): Ditto.
3058 (enum rs6000_dependence_cost): Ditto.
3059 (enum rs6000_nop_insertion): Ditto.
3060 (enum group_termination): Ditto.
3061 (rs6000_long_double_type_size): Ditto.
3062 (rs6000_ieeequad): Ditto.
3063 (rs6000_altivec_abi): Ditto.
3064 (rs6000_spe_abi): Ditto.
3065 (rs6000_spe): Ditto.
3066 (rs6000_float_gprs): Ditto.
3067 (rs6000_alignment_flags): Ditto.
3068 (rs6000_sched_insert_nops): Ditto.
3069 (enum rs6000_vector): Ditto.
3070 (enum rs6000_abi): Ditto.
3071 (rs6000_current_opt): Ditto.
3072 (rs6000_debug_*): Delete.
3073 (MASK_DEBUG*): Combine -mdebug=xxxx into one int.
3074 (TARGET_DEBUG*): Ditto.
3076 * config/rs6000/rs6000-opts.h: New header file to define the enums
3077 that are used in target variables that are now defined in rs6000.opt.
3079 * config/rs6000/sysv4.h (enum rs6000_sdata_type): Move to
3081 (rs6000_sdata): Ditto.
3082 (rs6000_abi_name): Delete.
3083 (rs6000_sdata_name): Ditto.
3084 (rs6000_tls_size_string): Ditto.
3086 2010-11-19 Joseph Myers <joseph@codesourcery.com>
3088 * common.opt (debug_struct_ordinary, debug_struct_generic): New
3090 * dwarf2out.c (matches_main_base, dump_struct_debug, DUMP_GSTRUCT,
3091 should_emit_struct_debug): Move from opts.c.
3092 * flag-types.h (enum debug_struct_file): Move from opts.c.
3093 * flags.h (should_emit_struct_debug): Remove.
3094 (base_of_path): Declare.
3095 (set_struct_debug_option): Add gcc_options parameter.
3096 * optc-gen.awk, opth-gen.awk: Handle array variables.
3097 * opts.c (enum debug_struct_file, debug_struct_ordinary,
3098 debug_struct_generic): Remove.
3099 (set_struct_debug_option): Add gcc_options parameter.
3100 (base_of_path): Remove static.
3101 (main_input_basename, main_input_baselength, matches_main_base,
3102 dump_struct_debug, DUMP_GSTRUCT, should_emit_struct_debug):
3104 * toplev.c (main_input_basename, main_input_baselength): Define
3106 * toplev.h (main_input_basename, main_input_baselength): Declare
3109 2010-11-19 Joseph Myers <joseph@codesourcery.com>
3111 * common.opt (flag_instrument_functions_exclude_functions,
3112 flag_instrument_functions_exclude_files): New Variable definitions.
3113 * flags.h (flag_instrument_functions_exclude_p): Don't declare.
3114 * gimplify.c (char_p): Declare type and vectors.
3115 (flag_instrument_functions_exclude_p): Moved from opts.c. Make static.
3116 * opts.c (flag_instrument_functions_exclude_functions,
3117 flag_instrument_functions_exclude_files): Remove.
3118 (add_comma_separated_to_vector): Take void **.
3119 (flag_instrument_functions_exclude_p): Move to gimplify.c.
3120 (common_handle_option): Use options structure for
3121 -finstrument-functions-exclude- options.
3123 2010-11-19 Joseph Myers <joseph@codesourcery.com>
3125 * doc/options.texi (Var): Document effects of Defer.
3127 * opt-functions.awk (var_type, var_set): Handle deferred options.
3128 * opts-common.c (set_option): Handle CLVC_DEFER.
3129 * common.opt (fcall-saved-, fcall-used-, fdump-, ffixed-,
3130 fplugin=, fplugin-arg-, fstack-limit, fstack-limit-register=,
3131 fstack-limit-symbol=): Mark as deferred.
3132 * opts.c: Don't include rtl.h, ggc.h, output.h, tree-pass.h or
3134 (print_filtered_help): Don't report state of CLVC_DEFER options.
3135 (common_handle_option): Move code for OPT_fcall_used_,
3136 OPT_fcall_saved_, OPT_fdump_, OPT_ffixed_, OPT_fplugin_,
3137 OPT_fplugin_arg_, OPT_fstack_limit, OPT_fstack_limit_register_ and
3138 OPT_fstack_limit_symbol_ to opts-global.c.
3139 (option_enabled, get_option_state): Handle CLVC_DEFER.
3140 * opts.h: Include vec.h.
3141 (enum cl_var_type): Add CLVC_DEFER.
3142 (cl_deferred_option): Define type and vectors.
3143 (handle_common_deferred_options): Declare.
3144 * opts-global.c: New.
3145 * toplev.c (toplev_main): Call handle_common_deferred_options
3146 * Makefile.in (OPTS_H): Include $(VEC_H).
3147 (OBJS-common): Include opts-global.o.
3148 (opts.o): Update dependencies.
3149 (opts-global.o): Add dependencies.
3151 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
3153 * c-parser.c (c_parser_objc_protocol_definition): Pass attributes
3154 to objc_declare_protocols.
3156 2010-11-19 Richard Guenther <rguenther@suse.de>
3159 * lto-streamer-out.c (lto_output_ts_common_tree_pointers): For
3160 IDENTIFIERs do not stream TREE_TYPE.
3161 * lto-streamer-in.c (lto_input_ts_common_tree_pointers): Likewise.
3163 2010-11-19 Christian Borntraeger <borntraeger@de.ibm.com>
3165 * config/s390/s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.
3167 2010-11-19 Jakub Jelinek <jakub@redhat.com>
3170 * dwarf2out.c (const_ok_for_output_1): Don't complain about
3171 non-delegitimized TLS UNSPECs.
3173 2010-11-18 Jack Howarth <howarth@bromo.med.uc.edu>
3174 Ian Lance Taylor <iant@google.com>
3176 * config/darwin-c.c (darwin_additional_format_types): Export.
3178 2010-11-18 Paul Koning <ni1d@arrl.net>
3180 * config/pdp11/pdp11.h (FIRST_PARM_OFFSET): Fix case of no frame
3183 2010-11-18 Paul Koning <ni1d@arrl.net>
3185 * config/pdp11/pdp11.md (abshi2): Delete TARGET_ABSHI_BUILTIN.
3186 * config/pdp11/pdp11.c (TARGET_DEFAULT_TARGET_FLAGS): Ditto.
3187 * config/pdp11/pdp11.opt (-mabshi): Delete.
3189 2010-11-19 Mingjie Xing <mingjie.xing@gmail.com>
3191 * resource.h (struct resources): Fix typo in the comment.
3193 2010-11-19 Uros Bizjak <ubizjak@gmail.com>
3196 * config/i386/i386.c (ix86_reorg): Call compute_bb_for_insn.
3198 2010-11-18 Richard Henderson <rth@redhat.com>
3201 * function.c (maybe_copy_prologue_epilogue_insn): Rename from
3202 maybe_copy_epilogue_insn; handle prologue insns as well.
3203 * rtl.h, cfglayout.c: Update for rename.
3204 * recog.c (peep2_attempt): Copy prologue/epilogue data for
3205 RTX_FRAME_RELATED_P insns.
3207 2010-11-18 Jakub Jelinek <jakub@redhat.com>
3210 * builtins.c (fold_builtin_printf): Don't copy and modify string
3211 before build_string_literal, instead modify what
3212 build_string_literal returned.
3214 2010-11-18 Nathan Froyd <froydnj@codesourcery.com>
3217 * c-typeck.c (build_unary_op): Call build_real_imag_expr for
3218 REALPART_EXPR and IMAGPART_EXPR.
3220 2010-11-18 Richard Guenther <rguenther@suse.de>
3222 PR tree-optimization/46172
3223 * tree-vect-loop-manip.c (remove_dead_stmts_from_loop): New
3225 (slpeel_tree_peel_loop_to_edge): Call it.
3227 2010-11-18 Jeff Law <law@redhat.com>
3229 PR middle-end-optimization/46297
3230 * postreload.c (reload_combine_note_store): Deal with embedded
3231 side effects in MEM expressions.
3233 2010-11-18 Richard Guenther <rguenther@suse.de>
3236 * dwarf2out.c (add_AT_die_ref): Work around LTO losing types
3237 when checking is not enabled.
3239 2010-11-18 Richard Guenther <rguenther@suse.de>
3242 * gimple.c (gimple_register_type): Update TYPE_MAIN_VARIANT of
3244 (gimple_register_canonical_type): Also cache the canoncial type
3245 for non type leaders.
3247 2010-11-18 Richard Guenther <rguenther@suse.de>
3249 * lto-wrapper.c (run_gcc): Fix -flto=N parsing.
3251 2010-11-18 Alexander Monakov <amonakov@ispras.ru>
3254 * sel-sched-ir.c (init_expr): Use the correct type for
3256 * sel-sched.c (fill_vec_av_set): Use explicitly signed char type.
3258 2010-11-17 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
3260 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Support -fpic
3261 as well as -mrelocatable at the same time.
3263 2010-11-17 Quentin Neill <quentin.neill.gnu@gmail.com>
3266 * config/i386/bmiintrin.h (__lzcnt_u16, __lzcnt_u32, __lzcnt_u64):
3267 Call the clz builtin.
3269 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com>
3270 Steve Ellcey <sje@cup.hp.com>
3273 * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask
3274 if section attribute used.
3276 2010-11-17 Jan Hubicka <jh@suse.cz>
3278 * builtins.c (expand_builtin_mathfn_2, expand_builtin_mathfn): Do not
3279 expand errno setting variant when optimizing for size.
3281 2010-11-17 Eric Botcazou <ebotcazou@adacore.com>
3283 * postreload.c (reload_combine): Call control_flow_insn_p only once.
3284 Reverse backward loop. Fix formatting issues.
3286 2010-11-17 Paolo Bonzini <bonzini@gnu.org>
3288 * c-parser.c (c_token_is_qualifier,
3289 c_parser_next_token_is_qualifier): New.
3290 (c_parser_declaration_or_fndef, c_parser_struct_declaration):
3291 Improve error message on specs->tagdef_seen_p.
3292 (c_parser_struct_or_union_specifier): Improve error recovery.
3293 (c_parser_declspecs): Move exit condition on C_ID_ID early.
3294 Reorganize exit condition for C_ID_TYPENAME/C_ID_CLASSNAME
3295 using c_parser_next_token_is_qualifier; extend it to cover
3296 a ctsk_tagdef typespec and !typespec_ok in general.
3298 2010-11-17 Richard Guenther <rguenther@suse.de>
3300 * value-prof.c (gimple_divmod_fixed_value_transform): Update the stmt.
3301 (gimple_mod_pow2_value_transform): Likewise.
3302 (gimple_mod_subtract_transform): Likewise.
3304 2010-11-17 Richard Guenther <rguenther@suse.de>
3307 * gimple.c (gimple_register_canonical_type): Make sure to only
3308 make type leaders canonical types.
3310 2010-11-17 Michael Matz <matz@suse.de>
3312 * timevar.def (TV_IPA_OPT, TV_EARLY_LOCAL, TV_OPTIMIZE,
3313 TV_POSTRELOAD, TV_REMOVE_UNUSED, TV_ADDRESS_TAKEN, TV_TODO,
3314 TV_VERIFY_LOOP_CLOSED, TV_VERIFY_RTL_SHARING,
3315 TV_REBUILD_FREQUENCIES, TV_REPAIR_LOOPS): New.
3316 * tree-into-ssa.c (rewrite_into_ssa): Don't push/pop timevar here ...
3317 (pass_build_ssa): ... but here.
3318 * cgraphbuild.c (pass_rebuild_cgraph): Use timevar.
3319 * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Use timevar.
3320 * tree-emutls.c (pass_ipa_lower_emutls): Ditto.
3321 * df-core.c (pass_df_initialize_opt, pass_df_initialize_no_opt): Ditto.
3322 * predict.c (rebuild_frequencies): Ditto.
3323 * tree-vectorizer.c (pass_ipa_increase_alignment): Ditto.
3324 * emit-rtl.c (verify_rtl_sharing): Ditto.
3325 * tree-cfgcleanup.c (repair_loop_structures): Ditto.
3326 * tree-ssa-live.c (remove_unused_locals): Ditto.
3327 * cfglayout.c (pass_into_cfg_layout, pass_outof_cfg_layout): Ditto.
3328 * tree-ssa.c (pass_early_warn_uninitialized,
3329 execute_update_addresses_taken, pass_update_address_taken): Ditto.
3330 * tree-optimize.c (pass_all_optimizations, pass_early_local_passes,
3331 pass_cleanup_cfg_post_optimizing, tree_rest_of_compilation): Ditto.
3332 * passes.c (pass_postreload, execute_todo): Ditto.
3333 * tree-ssanames.c (pass_release_ssa_names): Ditto.
3335 2010-11-17 Joseph Myers <joseph@codesourcery.com>
3337 * doc/invoke.texi (-dy): Remove.
3338 * langhooks-def.h (lhd_do_nothing_i): Don't declare.
3339 (LANG_HOOKS_PARSE_FILE): Define to lhd_do_nothing.
3340 * langhooks.c (lhd_do_nothing_i): Remove.
3341 * langhooks.h (lang_hooks.parse_file): Take no arguments.
3342 * toplev.c (set_yydebug): Remove.
3343 (compile_file): Update call to lang_hooks.parse_file.
3344 (decode_d_option): Don't handle -dy.
3346 2010-11-17 Jakub Jelinek <jakub@redhat.com>
3348 PR rtl-optimization/46440
3349 * combine.c (update_cfg_for_uncondjump): When changing
3350 an indirect jump into unconditional jump, remove BARRIERs
3353 2010-11-17 Joseph Myers <joseph@codesourcery.com>
3355 * opts.c (target_handle_option): Do not assert that loc ==
3358 2010-11-17 Jakub Jelinek <jakub@redhat.com>
3359 Richard Guenther <rguenther@suse.de>
3362 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1,
3363 call_may_clobber_ref_p_1): Return true for __sync_* and some
3364 OpenMP builtins that act as threading barriers.
3366 2010-11-17 Richard Guenther <rguenther@suse.de>
3368 PR tree-optimization/46498
3369 * tree-ssa-dce.c (perform_tree_ssa_dce): Compute dominator info.
3371 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
3373 * config/xtensa/xtensa.c (function_arg_boundary): Really rename to...
3374 (xtensa_function_arg_boundary): ...this.
3375 * config/picochip/pichochip.c (picochip_function_arg_boundary): Fix
3376 thinko in declaration.
3377 (picochip_function_arg, picochip_arg_partial_bytes): Pass proper
3378 number of parameters to picochip_function_arg_boundary.
3379 (picochip_arg_advance): Likewise.
3381 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
3384 * config/pa/pa.c (pa_function_arg_boundary): Move TYPE_SIZE accesses
3385 under check for type.
3387 2010-11-16 Eric Botcazou <ebotcazou@adacore.com>
3389 * ifcvt.c (dead_or_predicable): Fix typo.
3391 2010-11-16 Richard Henderson <rth@redhat.com>
3393 * config.gcc [s390*-*] (extra_options): Add fused-madd.opt.
3394 * config/s390/s390.opt (mfused-madd): Remove.
3395 * config/s390/s390.c (s390_rtx_costs): Handle FMA.
3396 (TARGET_DEFAULT_TARGET_FLAGS): Remove MASK_FUSED_MADD.
3397 * config/s390/s390.md (fma<DSF>4): Rename from *fmadd<DSF>; use FMA.
3398 (fms<DSF>4): Rename from *fmsub<DSF>; use FMA.
3400 2010-11-16 Richard Henderson <rth@redhat.com>
3402 * config.gcc [powerpc*, rs6000*] (extra_options): Add fused-madd.opt.
3403 * config/rs6000/rs6000.opt (mfused-madd): Remove.
3404 * config/rs6000/altivec.md (altivec_vmaddfp): Remove.
3405 (*altivec_vmaddfp_1): Remove.
3406 (*altivec_fmav4sf4): Rename from altivec_vmaddfp_2; use FMA.
3407 (altivec_mulv4sf3): Expand to FMA directly.
3408 (*altivec_vnmsubfp): Rename from altivec_vnmsubfp.
3409 (*altivec_vnmsubfp_1, *altivec_vnmsubfp_2): Remove.
3410 * config/rs6000/paired.md (paired_madds0): Use FMA.
3411 (paired_madds1): Likewise.
3412 (*paired_madd): Rename from paired_madd; use FMA.
3413 (*paired_msub, *paired_nmadd, *paired_nmsub): Similarly.
3414 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Do not
3415 consider TARGET_FUSED_MADD wrt rs6000_recip_control.
3416 (bdesc_3arg): Update CODE_FOR_* for pattern renames.