1 2011-01-14 Joseph Myers <joseph@codesourcery.com>
3 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
4 * config/m32r/linux.h (LINK_SPEC): Likewise.
5 * config/mips/linux.h (LINK_SPEC): Likewise.
6 * config/mips/linux64.h (LINK_SPEC): Likewise.
7 * config/sparc/linux.h (LINK_SPEC): Likewise.
8 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
10 * config/xtensa/linux.h (LINK_SPEC): Likewise.
12 2011-01-14 Joseph Myers <joseph@codesourcery.com>
14 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
16 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
18 2011-01-14 Joseph Myers <joseph@codesourcery.com>
20 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
21 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
23 2011-01-14 Joseph Myers <joseph@codesourcery.com>
25 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
27 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
29 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
30 supports -Bstatic/-Bdynamic.
31 * configure: Regenerate.
33 2011-01-14 Jan Hubicka <jh@suse.cz>
34 Jack Howarth <howarth@bromo.med.uc.edu>
37 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
38 when checking debug_info_level. Test write_symbols instead of
39 debug_hooks->var_location when setting flag_var_tracking_uninit.
41 2011-01-14 Richard Guenther <rguenther@suse.de>
43 PR tree-optimization/47179
44 * target.def (ref_may_alias_errno): New target hook.
45 * targhooks.h (default_ref_may_alias_errno): Declare.
46 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
47 (default_ref_may_alias_errno): New function.
48 * target.h (struct ao_ref_s): Declare.
49 * tree-ssa-alias.c: Include target.h.
50 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
51 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
52 (targhooks.o): Likewise.
53 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
54 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
56 2011-01-14 Richard Guenther <rguenther@suse.de>
58 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
60 2011-01-14 Richard Guenther <rguenther@suse.de>
62 PR tree-optimization/47280
63 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
65 (tree_ssa_forward_propagate_single_use_vars): Deal with
66 CFG changes from associate_plusminus.
68 2011-01-14 Richard Guenther <rguenther@suse.de>
72 2011-01-11 Richard Guenther <rguenther@suse.de>
74 PR tree-optimization/46076
75 * tree-ssa.c (useless_type_conversion_p): Conversions from
76 unprototyped to empty argument list function types are useless.
78 2011-01-14 Richard Guenther <rguenther@suse.de>
80 PR tree-optimization/47286
81 * tree-ssa-structalias.c (new_var_info): Register variables are global.
83 2011-01-14 Martin Jambor <mjambor@suse.cz>
86 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
88 2011-01-13 Anatoly Sokolov <aesok@post.ru>
90 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
91 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
92 * config/xtensa/xtensa.c (xtensa_libcall_value,
93 xtensa_function_value_regno_p): New functions.
94 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
96 2011-01-13 Kai Tietz <kai.tietz@onevision.com>
99 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
101 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
102 New function prototype.
103 * config/i386/winnt.c (i386_pe_assemble_visibility):
104 Warn only if attribute was specified by user.
106 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
109 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
111 (floatunsdidf2_fcfidu): Ditto.
113 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
115 * config/s390/s390.c (print_operand_address): Replace 'error' with
116 'output_operand_lossage'.
117 (print_operand): Likewise.
119 2011-01-13 Jeff Law <law@redhat.com>
121 PR rtl-optimization/39077
122 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
123 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
124 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
125 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
126 * gcse.c (prune_insertions_deletions): New function.
127 (compute_pre_data): Use it.
129 2011-01-13 Dodji Seketeli <dodji@redhat.com>
132 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
134 (prune_unused_types_mark): Use it.
136 2011-01-13 Andrey Belevantsev <abel@ispras.ru>
138 PR rtl-optimization/45352
139 * sel-sched.c: Update copyright years.
140 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
141 in the advancing loop when we have issued issue_rate insns.
143 2011-01-12 Richard Henderson <rth@redhat.com>
145 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
146 (TARGET_MD_ASM_CLOBBERS): New.
148 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
149 (TARGET_DELEGITIMIZE_ADDRESS): New.
151 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
152 (clzsi2, *bsch): New patterns.
154 * config/mn10300/mn10300.md (INT): New mode iterator.
155 (*mov<INT>_clr): New pattern, and peep2 to generate it.
157 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
158 flag_split_wide_types.
160 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
161 (mn10300_trampoline_init): Rewrite without a template, an immediate
162 load and a direct branch.
163 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
165 2011-01-12 Anatoly Sokolov <aesok@post.ru>
167 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
168 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
169 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
170 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
172 2011-01-12 Kai Tietz <kai.tietz@onevision.com>
175 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
178 2011-01-12 Jan Hubicka <jh@suse.cz>
181 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
182 (PLUGIN_COND_CLOSE): New macro.
183 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
185 2011-01-12 Richard Guenther <rguenther@suse.de>
188 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
189 register variables in a MEM_REF.
191 2011-01-12 Joseph Myers <joseph@codesourcery.com>
193 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
194 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
195 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
196 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
197 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
198 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
199 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
200 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
201 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
202 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
203 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
204 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
205 * config/gnu-user.h: New. Copied from linux.h.
206 (LINUX_TARGET_STARTFILE_SPEC): Rename to
207 GNU_USER_TARGET_STARTFILE_SPEC.
208 (LINUX_TARGET_ENDFILE_SPEC): Rename to
209 GNU_USER_TARGET_ENDFILE_SPEC.
210 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
211 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
212 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
213 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
214 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
215 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
216 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
217 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
218 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
219 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
220 * config/arm/linux-eabi.h (CC1_SPEC): Use
221 GNU_USER_TARGET_CC1_SPEC.
222 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
223 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
224 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
225 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
226 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
227 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
228 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
229 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
231 2011-01-12 Richard Guenther <rguenther@suse.de>
234 * doc/invoke.texi (ffast-math): Document it is turned on
237 2011-01-12 Jan Hubicka <jh@suse.cz>
239 PR tree-optimization/47233
240 * opts.c (common_handle_option): Disable ipa-reference with profile
243 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
245 * c-parser.c (c_parser_objc_at_property_declaration): Improved
248 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
250 * c-parser.c (c_lex_one_token): Updated and reindented some
251 comments. No changes in code.
253 2011-01-11 Ian Lance Taylor <iant@google.com>
255 * godump.c (go_output_var): Don't output the variable if there is
256 already a type with the same name.
258 2011-01-11 Ian Lance Taylor <iant@google.com>
260 * godump.c (go_format_type): Don't generate float80.
262 2011-01-11 Richard Henderson <rth@redhat.com>
264 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
265 declaration. Rewrite for both speed and size.
266 (mn10300_address_cost_1): Remove.
267 (mn10300_register_move_cost): New.
268 (mn10300_memory_move_cost): New.
269 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
270 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
271 extensions, shifts, BSWAP, CLZ.
272 (mn10300_wide_const_load_uses_clr): Remove.
273 (TARGET_REGISTER_MOVE_COST): New.
274 (TARGET_MEMORY_MOVE_COST): New.
275 * config/mn10300/mn10300-protos.h: Update.
276 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
278 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
279 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
280 * config/mn10300/mn10300-protos.h: Update.
281 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
282 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
283 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
284 (*test_int_bitfield, *test_byte_bitfield): Remove.
285 (*bit_test, *subreg_bit_test): Remove.
286 * config/mn10300/predicates.md (const_8bit_operand): Remove.
288 * config/mn10300/constraints.md ("c"): Rename from "A".
289 ("A", "D"): New constraint letters.
290 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
291 (fmssf4, fnmasf4, fnmssf4): Likewise.
293 * config/mn10300/mn10300.md (isa): New attribute.
294 (enabled): New attribute.
296 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
297 (abssf2, negsf2): Define only for hardware fp.
299 (addsf3, subsf3, mulsf3): Merge expander and insn.
301 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
302 (DEBUGGER_AUTO_OFFSET): Remove.
303 (DEBUGGER_ARG_OFFSET): Remove.
305 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
306 Emit register stores with the same offsets as the hardware.
307 (mn10300_store_multiple_operation): Don't check that the register
308 save offsets are monotonic.
309 * config/mn10300/mn10300-protos.h: Update.
311 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
313 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
314 in terms of the value on the stack, not the MDR register.
316 2011-01-11 Jan Hubicka <jh@suse.cz>
320 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
321 (symbol_alias_set_destroy, symbol_alias_set_contains,
322 propagate_aliases_backward): Declare.
323 * lto-streamer-out.c (struct sets): New sturcture.
324 (trivally_defined_alias): New function.
325 (output_alias_pair_p): Rewrite.
326 (output_unreferenced_globals): Fix output of alias pairs.
327 (produce_symtab): Likewise.
328 * ipa.c (function_and_variable_visibility): Set weak alias destination
330 * varasm.c (symbol_alias_set_t): Remove.
331 (symbol_alias_set_destroy): Export.
332 (propagate_aliases_forward, propagate_aliases_backward): New functions
334 (compute_visible_aliases): ... this one; remove.
335 (trivially_visible_alias): New
336 (trivially_defined_alias): New.
337 (remove_unreachable_alias_pairs): Rewrite.
338 (finish_aliases_1): Reorganize code checking if alias is defined.
339 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
342 2011-01-11 Richard Guenther <rguenther@suse.de>
344 PR tree-optimization/46076
345 * tree-ssa.c (useless_type_conversion_p): Conversions from
346 unprototyped to empty argument list function types are useless.
348 2011-01-11 Richard Guenther <rguenther@suse.de>
351 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
352 volatile MEMs as MEM_READONLY_P.
354 2011-01-11 Richard Guenther <rguenther@suse.de>
356 PR tree-optimization/47239
357 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
359 2011-01-11 Jeff Law <law@redhat.com>
361 PR tree-optimization/47086
362 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
363 IVs from statements that might throw.
365 2011-01-10 Jan Hubicka <jh@suse.cz>
368 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
370 2011-01-10 Jan Hubicka <jh@suse.cz>
373 * profile.c (read_profile_edge_counts): Ignore profile inconistency
374 when correcting profile.
376 2011-01-10 Jan Hubicka <jh@suse.cz>
379 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
381 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
382 Restore DECL_FINI_PRIORITY.
384 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
386 * doc/gimple.texi: Fix quoting of multi-word return values in
387 @deftypefn statements. Ensure presence of return value. Wrap
388 overlong @deftypefn lines.
389 (is_gimple_operand, is_gimple_min_invariant_address): Remove
390 descriptions of removed functions.
391 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
392 of multi-word return value in @deftypefn statement.
394 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
396 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
397 (Conditional Expressions, Logical Operators)
398 (Statement and operand traversals): Do not indent smallexample
399 code. Fix duplicate function argument in example.
401 2011-01-10 Jeff Law <law@redhat.com>
403 PR tree-optimization/47141
404 * ipa-split.c (split_function): Handle case where we are
405 returning a value and the return block has a virtual operand phi.
407 2011-01-10 Jan Hubicka <jh@suse.cz>
409 PR tree-optimization/47234
410 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
411 (pass_feedback_split_functions): Declare.
412 * passes.c (init_optimization_passes): Add ipa-split as subpass of
414 * ipa-split.c (gate_split_functions): Update comments; disable
415 split-functions for profile_arc_flag and branch_probabilities.
416 (gate_feedback_split_functions): New function.
417 (execute_feedback_split_functions): New function.
418 (pass_feedback_split_functions): New global var.
420 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
423 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
424 calling gimple_call_set_cannot_inline.
426 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
428 * config/darwin-sections.def: Remove unused section.
430 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
433 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
435 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
438 * c-parser.c (c_parser_declaration_or_fndef): Improved
441 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
443 * config/i386/winnt.c (i386_pe_start_function): Make sure
444 to switch back to function's section.
446 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
450 * plugin.c: Move include of dlfcn.h from here...
451 * system.h: ... to here.
453 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
455 * doc/cpp.texi (C++ Named Operators): Fix markup for header
457 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
458 two extra empty pages in PDF output.
460 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
463 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
464 for error recovery purposes behave as if it was not specified so
465 that the default type is usd.
467 2011-01-07 Jan Hubicka <jh@suse.cz>
469 PR tree-optmization/46469
470 * ipa.c (function_and_variable_visibility): Clear needed flags on
471 nodes with external decls; handle weakrefs merging correctly.
473 2011-01-07 Joseph Myers <joseph@codesourcery.com>
475 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
478 2011-01-07 Jan Hubicka <jh@suse.cz>
480 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
481 and no longer claim that gold is required for linker plugin.
482 * configure: Regenerate.
483 * gcc.c (PLUGIN_COND): New macro.
484 (LINK_COMMAND_SPEC): Use it.
485 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
486 * config.in (HAVE_LTO_PLUGIN): New.
487 * configure.ac (--with-lto-plugin): New parameter; autodetect
490 2011-01-07 Jan Hubicka <jh@suse.cz>
492 PR tree-optimization/46367
493 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
494 when we can update original.
495 (cgraph_mark_inline_edge): Sanity check.
496 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
498 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
500 * config/spu/spu.h (ASM_COMMENT_START): Define.
502 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
506 (SWITCH_KEEP_FOR_GCC): Likewise.
507 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
508 (do_spec_1): Handle "%>".
510 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
512 2011-01-07 Jakub Jelinek <jakub@redhat.com>
515 * config/i386/i386.c (ix86_delegitimize_address): If
516 simplify_gen_subreg fails, return orig_x.
519 * value-prof.c (gimple_stringop_fixed_value): Handle
520 lhs of the call properly.
522 2011-01-07 Jan Hubicka <jh@suse.cz>
525 * lto-opt.c (lto_reissue_options): Set flag_shlib.
527 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
529 * target.def (function_switched_text_sections): New hook.
530 * doc/tm.texi: Regenerated.
531 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
532 * final.c (default_function_switched_text_sections): New.
533 (final_scan_insn): Call function_switched_text_sections when a
534 mid-function section change occurs.
535 * output.h (default_function_switched_text_sections): Declare.
536 * config/darwin-protos.h (darwin_function_switched_text_sections):
538 * config/darwin.c (darwin_function_switched_text_sections): New.
539 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
541 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
543 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
544 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
545 the secondary code fragment when outputting for DWARF == 2.
547 2011-01-07 Anatoly Sokolov <aesok@post.ru>
549 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
550 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
552 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
553 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
555 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
558 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
559 when it is not empty.
561 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
564 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
565 (case ${target}): Add btver1.
566 * config/i386/driver-i386.c (host_detect_local_cpu): Let
567 -march=native recognize btver1 processors.
568 * config/i386/i386-c.c (ix86_target_macros_internal): Add
570 * config/i386/i386.c (struct processor_costs btver1_cost): New
572 (m_BTVER1): New definition.
573 (m_AMD_MULTIPLE): Includes m_BTVER1.
574 (initial_ix86_tune_features): Add btver1 tune.
575 (processor_target_table): Add btver1 entry.
576 (static const char *const cpu_names): Add btver1 entry.
577 (software_prefetching_beneficial_p): Add btver1.
578 (ix86_option_override_internal): Add btver1 instruction sets.
579 (ix86_issue_rate): Add btver1.
580 (ix86_adjust_cost): Add btver1.
581 * config/i386/i386.h (TARGET_BTVER1): New definition.
582 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
583 (enum processor_type): Add PROCESSOR_BTVER1.
584 * config/i386/i386.md (define_attr "cpu"): Add btver1.
586 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
589 * config/i386/i386.c (legitimize_tls_address)
590 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
591 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
592 (tls_initial_exec_64_sun): New pattern.
594 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
596 * doc/invoke.texi (Overall Options): Improve wording and markup
597 of the description of -wrapper.
599 2011-01-06 Joseph Myers <joseph@codesourcery.com>
601 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
602 rdynamic, threads): New Driver options.
604 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
607 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
608 if coming from .tdata.
609 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
611 2011-01-06 Jan Hubicka <jh@suse.cz>
614 * collect2.c (main): Do not enable LTOmode when plugin is active.
616 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
619 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
620 --version output if supported.
621 * configure: Regenerate.
623 2011-01-06 Joseph Myers <joseph@codesourcery.com>
625 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
628 2011-01-06 Jakub Jelinek <jakub@redhat.com>
631 * c-convert.c (convert): When converting a complex expression
632 other than COMPLEX_EXPR to a different complex type, ensure
633 c_save_expr is called instead of save_expr, unless in_late_binary_op.
634 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
635 when converting COMPLEX_TYPE.
637 2011-01-06 Ira Rosen <irar@il.ibm.com>
639 PR tree-optimization/47139
640 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
641 only the last reduction value is used outside the loop. Update
644 2011-01-05 Joseph Myers <joseph@codesourcery.com>
646 * config/rtems.opt: New.
647 * config.gcc (*-*-rtems*): Use rtems.opt.
649 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
651 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
652 processors do not support 3DNow instructions.
654 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
656 * config/spu/spu.c (spu_option_override): Set parameter
657 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
659 2011-01-05 Jan Hubicka <jh@suse.cz>
661 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
664 2011-01-05 Martin Jambor <mjambor@suse.cz>
667 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
668 deltas on streamed outgoing edges.
669 (output_node_opt_summary): Output info for outgoing edges only when
670 the node is in new parameter set.
671 (output_cgraph_opt_summary): New parameter set, passed to the two
672 aforementioned functions. Update its forward declaration and its
675 2011-01-05 Tom Tromey <tromey@redhat.com>
677 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
678 operator to c_finish_omp_atomic.
679 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
680 (build_unary_op): Update.
681 (build_modify_expr): Update.
682 (build_asm_expr): Update.
684 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
686 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
687 newly inserted insns.
689 (spu_emit_branch_hint): Likewise.
690 (insert_hbrp_for_ilb_runout): Likewise.
691 (spu_machine_dependent_reorg): Call df_finish_pass after
692 schedule_insns returns.
694 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
696 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
698 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
700 PR tree-optimization/47005
701 * tree-sra.c (struct access): Add 'non_addressable' bit.
702 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
703 (decide_one_param_reduction): Return 0 if the parameter is passed by
704 reference and one of the accesses in the group is non_addressable.
706 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
708 PR tree-optimization/47056
709 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
710 (mark_load): Likewise. Handle FUNCTION_DECL specially.
711 (mark_store): Likewise. Pass STMT to ipa_record_reference.
713 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
715 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
716 initializer. Skip view conversions from aggregate types.
718 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
721 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
723 2011-01-04 Philipp Thomas <pth@suse.de>
725 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
728 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
730 * function.c (thread_prologue_and_epilogue_insns): Do not crash
731 on empty epilogue sequences.
733 2011-01-04 Joseph Myers <joseph@codesourcery.com>
735 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
736 non-static): New Driver options.
738 2011-01-04 Jie Zhang <jie@codesourcery.com>
741 * gcc.c (default_compilers[]): Set combinable field to 0
742 for all assembly languages.
744 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
746 * config/mips/loongson3a.md: New file.
747 * config/mips/mips.md: Include loongson3a.md.
748 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
751 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
754 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
755 instead of convert_memory_address_addr_space on the base expression.
757 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
759 * config/spu/spu.c (spu_option_override): Update error text
760 for bad -march= / -mtune= values.
762 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
764 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
765 if branch-hint optimization will be performed.
767 2011-01-03 Jakub Jelinek <jakub@redhat.com>
769 PR tree-optimization/47148
770 * ipa-split.c (split_function): Convert arguments to
771 DECL_ARG_TYPE if possible.
773 PR tree-optimization/47155
774 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
777 PR rtl-optimization/47157
778 * combine.c (try_combine): If undobuf.other_insn becomes
779 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
780 and set *new_direct_jump_p too.
782 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
784 PR tree-optimization/47021
785 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
787 2011-01-03 Jakub Jelinek <jakub@redhat.com>
789 * gcc.c (process_command): Update copyright notice dates.
790 * gcov.c (print_version): Likewise.
791 * gcov-dump.c (print_version): Likewise.
792 * mips-tfile.c (main): Likewise.
793 * mips-tdump.c (main): Likewise.
795 2011-01-03 Martin Jambor <mjambor@suse.cz>
797 PR tree-optimization/46801
798 * tree-sra.c (type_internals_preclude_sra_p): Check whether
799 aggregate fields start at byte boundary instead of the bit-field flag.
801 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
804 * gcc.c (main): Revert revision 168407.
806 2011-01-03 Martin Jambor <mjambor@suse.cz>
808 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
810 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
812 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
813 vector optab to expand vector/scalar shift, update gimple to vector.
815 2011-01-03 Martin Jambor <mjambor@suse.cz>
817 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
820 2011-01-03 Martin Jambor <mjambor@suse.cz>
822 PR tree-optimization/46984
823 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
825 (cgraph_create_indirect_edge): Fixed line length.
826 (cgraph_indirect_call_info): Declare.
827 (cgraph_make_edge_direct) Update declaration.
828 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
829 (cgraph_create_indirect_edge): Use it.
830 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
832 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
833 the new thunk_delta representation.
834 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
836 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
837 (ipa_read_indirect_edge_info): Likewise.
838 * lto-cgraph.c (output_edge_opt_summary): New function.
839 (output_node_opt_summary): Call it on all outgoing edges.
840 (input_edge_opt_summary): New function.
841 (input_node_opt_summary): Call it on all outgoing edges.
843 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
846 * gcc.c (main): Don't check have_o when settting combine_inputs.
848 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
850 * regrename.c: Add general comment describing the pass.
851 (struct du_head): Remove 'length' field.
852 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
853 (regrename_optimize): Do not sort chains. Rework comments, add others.
854 Force renaming to the preferred class (if any) in the first pass and do
855 not consider registers that belong to it in the second pass.
856 (create_new_chain): Do not set 'length' field.
857 (scan_rtx_reg): Likewise.
859 2011-01-02 Jakub Jelinek <jakub@redhat.com>
861 PR tree-optimization/47140
862 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
863 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
866 PR rtl-optimization/47028
867 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
868 parm_birth_insn instead of at the beginning of first bb.
870 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
872 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
873 Remove the word "see" before "@pxref".
874 * doc/rtl.texi: Remove the word "see" before "@pxref".
876 2011-01-01 Jan Hubicka <jh@suse.cz>
878 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
881 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
884 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
887 Copyright (C) 2011 Free Software Foundation, Inc.
889 Copying and distribution of this file, with or without modification,
890 are permitted in any medium without royalty provided the copyright
891 notice and this notice are preserved.