1 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * doc/gimple.texi: Fix quoting of multi-word return values in
4 @deftypefn statements. Ensure presence of return value. Wrap
5 overlong @deftypefn lines.
6 (is_gimple_operand, is_gimple_min_invariant_address): Remove
7 descriptions of removed functions.
8 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
9 of multi-word return value in @deftypefn statement.
11 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
14 (Conditional Expressions, Logical Operators)
15 (Statement and operand traversals): Do not indent smallexample
16 code. Fix duplicate function argument in example.
18 2011-01-10 Jeff Law <law@redhat.com>
20 * PR tree-optimization/47141
21 * ipa-split.c (split_function): Handle case where we are
22 returning a value and the return block has a virtual operand phi.
24 2011-01-10 Jan Hubicka <jh@suse.cz>
26 PR tree-optimization/47234
27 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
28 (pass_feedback_split_functions): Declare.
29 * passes.c (init_optimization_passes): Add ipa-split as subpass of
31 * ipa-split.c (gate_split_functions): Update comments; disable
32 split-functions for profile_arc_flag and branch_probabilities.
33 (gate_feedback_split_functions): New function.
34 (execute_feedback_split_functions): New function.
35 (pass_feedback_split_functions): New global var.
37 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
40 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
41 calling gimple_call_set_cannot_inline.
43 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
45 * config/darwin-sections.def: Remove unused section.
47 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
50 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
52 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
55 * c-parser.c (c_parser_declaration_or_fndef): Improved
58 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
60 * config/i386/winnt.c (i386_pe_start_function): Make sure
61 to switch back to function's section.
63 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
67 * plugin.c: Move include of dlfcn.h from here...
68 * system.h: ... to here.
70 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
72 * doc/cpp.texi (C++ Named Operators): Fix markup for header
74 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
75 two extra empty pages in PDF output.
77 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
80 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
81 for error recovery purposes behave as if it was not specified so
82 that the default type is usd.
84 2011-01-07 Jan Hubicka <jh@suse.cz>
86 PR tree-optmization/46469
87 * ipa.c (function_and_variable_visibility): Clear needed flags on
88 nodes with external decls; handle weakrefs merging correctly.
90 2011-01-07 Joseph Myers <joseph@codesourcery.com>
92 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
95 2011-01-07 Jan Hubicka <jh@suse.cz>
97 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
98 and no longer claim that gold is required for linker plugin.
99 * configure: Regenerate.
100 * gcc.c (PLUGIN_COND): New macro.
101 (LINK_COMMAND_SPEC): Use it.
102 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
103 * config.in (HAVE_LTO_PLUGIN): New.
104 * configure.ac (--with-lto-plugin): New parameter; autodetect
107 2011-01-07 Jan Hubicka <jh@suse.cz>
109 PR tree-optimization/46367
110 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
111 when we can update original.
112 (cgraph_mark_inline_edge): Sanity check.
113 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
115 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
117 * config/spu/spu.h (ASM_COMMENT_START): Define.
119 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
123 (SWITCH_KEEP_FOR_GCC): Likewise.
124 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
125 (do_spec_1): Handle "%>".
127 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
129 2011-01-07 Jakub Jelinek <jakub@redhat.com>
132 * config/i386/i386.c (ix86_delegitimize_address): If
133 simplify_gen_subreg fails, return orig_x.
136 * value-prof.c (gimple_stringop_fixed_value): Handle
137 lhs of the call properly.
139 2011-01-07 Jan Hubicka <jh@suse.cz>
142 * lto-opt.c (lto_reissue_options): Set flag_shlib.
144 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
146 * target.def (function_switched_text_sections): New hook.
147 * doc/tm.texi: Regenerated.
148 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
149 * final.c (default_function_switched_text_sections): New.
150 (final_scan_insn): Call function_switched_text_sections when a
151 mid-function section change occurs.
152 * output.h (default_function_switched_text_sections): Declare.
153 * config/darwin-protos.h (darwin_function_switched_text_sections):
155 * config/darwin.c (darwin_function_switched_text_sections): New.
156 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
158 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
160 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
161 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
162 the secondary code fragment when outputting for DWARF == 2.
164 2011-01-07 Anatoly Sokolov <aesok@post.ru>
166 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
167 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
169 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
170 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
172 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
175 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
176 only when it is not empty.
178 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
181 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
182 (case ${target}): Add btver1.
183 * config/i386/driver-i386.c (host_detect_local_cpu): Let
184 -march=native recognize btver1 processors.
185 * config/i386/i386-c.c (ix86_target_macros_internal): Add
187 * config/i386/i386.c (struct processor_costs btver1_cost): New
189 (m_BTVER1): New definition.
190 (m_AMD_MULTIPLE): Includes m_BTVER1.
191 (initial_ix86_tune_features): Add btver1 tune.
192 (processor_target_table): Add btver1 entry.
193 (static const char *const cpu_names): Add btver1 entry.
194 (software_prefetching_beneficial_p): Add btver1.
195 (ix86_option_override_internal): Add btver1 instruction sets.
196 (ix86_issue_rate): Add btver1.
197 (ix86_adjust_cost): Add btver1.
198 * config/i386/i386.h (TARGET_BTVER1): New definition.
199 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
200 (enum processor_type): Add PROCESSOR_BTVER1.
201 * config/i386/i386.md (define_attr "cpu"): Add btver1.
203 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
206 * config/i386/i386.c (legitimize_tls_address)
207 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
208 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
209 (tls_initial_exec_64_sun): New pattern.
211 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
213 * doc/invoke.texi (Overall Options): Improve wording and markup
214 of the description of -wrapper.
216 2011-01-06 Joseph Myers <joseph@codesourcery.com>
218 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
219 rdynamic, threads): New Driver options.
221 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
224 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
225 if coming from .tdata.
226 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
228 2011-01-06 Jan Hubicka <jh@suse.cz>
231 * collect2.c (main): Do not enable LTOmode when plugin is active.
233 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
236 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
237 --version output if supported.
238 * configure: Regenerate.
240 2011-01-06 Joseph Myers <joseph@codesourcery.com>
242 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
245 2011-01-06 Jakub Jelinek <jakub@redhat.com>
248 * c-convert.c (convert): When converting a complex expression
249 other than COMPLEX_EXPR to a different complex type, ensure
250 c_save_expr is called instead of save_expr, unless in_late_binary_op.
251 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
252 when converting COMPLEX_TYPE.
254 2011-01-06 Ira Rosen <irar@il.ibm.com>
256 PR tree-optimization/47139
257 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
258 only the last reduction value is used outside the loop. Update
261 2011-01-05 Joseph Myers <joseph@codesourcery.com>
263 * config/rtems.opt: New.
264 * config.gcc (*-*-rtems*): Use rtems.opt.
266 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
268 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
269 processors do not support 3DNow instructions.
271 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
273 * config/spu/spu.c (spu_option_override): Set parameter
274 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
276 2011-01-05 Jan Hubicka <jh@suse.cz>
278 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
281 2011-01-05 Martin Jambor <mjambor@suse.cz>
284 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
285 deltas on streamed outgoing edges.
286 (output_node_opt_summary): Output info for outgoing edges only when
287 the node is in new parameter set.
288 (output_cgraph_opt_summary): New parameter set, passed to the two
289 aforementioned functions. Update its forward declaration and its
292 2011-01-05 Tom Tromey <tromey@redhat.com>
294 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
295 operator to c_finish_omp_atomic.
296 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
297 (build_unary_op): Update.
298 (build_modify_expr): Update.
299 (build_asm_expr): Update.
301 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
303 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
304 newly inserted insns.
306 (spu_emit_branch_hint): Likewise.
307 (insert_hbrp_for_ilb_runout): Likewise.
308 (spu_machine_dependent_reorg): Call df_finish_pass after
309 schedule_insns returns.
311 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
313 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
315 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
317 PR tree-optimization/47005
318 * tree-sra.c (struct access): Add 'non_addressable' bit.
319 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
320 (decide_one_param_reduction): Return 0 if the parameter is passed by
321 reference and one of the accesses in the group is non_addressable.
323 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
325 PR tree-optimization/47056
326 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
327 (mark_load): Likewise. Handle FUNCTION_DECL specially.
328 (mark_store): Likewise. Pass STMT to ipa_record_reference.
330 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
332 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
333 initializer. Skip view conversions from aggregate types.
335 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
338 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
340 2011-01-04 Philipp Thomas <pth@suse.de>
342 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
345 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
347 * function.c (thread_prologue_and_epilogue_insns): Do not crash
348 on empty epilogue sequences.
350 2011-01-04 Joseph Myers <joseph@codesourcery.com>
352 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
353 non-static): New Driver options.
355 2011-01-04 Jie Zhang <jie@codesourcery.com>
358 * gcc.c (default_compilers[]): Set combinable field to 0
359 for all assembly languages.
361 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
363 * config/mips/loongson3a.md: New file.
364 * config/mips/mips.md: Include loongson3a.md.
365 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
368 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
371 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
372 instead of convert_memory_address_addr_space on the base expression.
374 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
376 * config/spu/spu.c (spu_option_override): Update error text
377 for bad -march= / -mtune= values.
379 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
381 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
382 if branch-hint optimization will be performed.
384 2011-01-03 Jakub Jelinek <jakub@redhat.com>
386 PR tree-optimization/47148
387 * ipa-split.c (split_function): Convert arguments to
388 DECL_ARG_TYPE if possible.
390 PR tree-optimization/47155
391 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
394 PR rtl-optimization/47157
395 * combine.c (try_combine): If undobuf.other_insn becomes
396 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
397 and set *new_direct_jump_p too.
399 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
401 PR tree-optimization/47021
402 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
404 2011-01-03 Jakub Jelinek <jakub@redhat.com>
406 * gcc.c (process_command): Update copyright notice dates.
407 * gcov.c (print_version): Likewise.
408 * gcov-dump.c (print_version): Likewise.
409 * mips-tfile.c (main): Likewise.
410 * mips-tdump.c (main): Likewise.
412 2011-01-03 Martin Jambor <mjambor@suse.cz>
414 PR tree-optimization/46801
415 * tree-sra.c (type_internals_preclude_sra_p): Check whether
416 aggregate fields start at byte boundary instead of the bit-field flag.
418 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
421 * gcc.c (main): Revert revision 168407.
423 2011-01-03 Martin Jambor <mjambor@suse.cz>
425 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
427 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
429 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
430 vector optab to expand vector/scalar shift, update gimple to vector.
432 2011-01-03 Martin Jambor <mjambor@suse.cz>
434 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
437 2011-01-03 Martin Jambor <mjambor@suse.cz>
439 PR tree-optimization/46984
440 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
442 (cgraph_create_indirect_edge): Fixed line length.
443 (cgraph_indirect_call_info): Declare.
444 (cgraph_make_edge_direct) Update declaration.
445 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
446 (cgraph_create_indirect_edge): Use it.
447 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
449 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
450 the new thunk_delta representation.
451 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
453 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
454 (ipa_read_indirect_edge_info): Likewise.
455 * lto-cgraph.c (output_edge_opt_summary): New function.
456 (output_node_opt_summary): Call it on all outgoing edges.
457 (input_edge_opt_summary): New function.
458 (input_node_opt_summary): Call it on all outgoing edges.
460 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
463 * gcc.c (main): Don't check have_o when settting combine_inputs.
465 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
467 * regrename.c: Add general comment describing the pass.
468 (struct du_head): Remove 'length' field.
469 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
470 (regrename_optimize): Do not sort chains. Rework comments, add others.
471 Force renaming to the preferred class (if any) in the first pass and do
472 not consider registers that belong to it in the second pass.
473 (create_new_chain): Do not set 'length' field.
474 (scan_rtx_reg): Likewise.
476 2011-01-02 Jakub Jelinek <jakub@redhat.com>
478 PR tree-optimization/47140
479 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
480 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
483 PR rtl-optimization/47028
484 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
485 parm_birth_insn instead of at the beginning of first bb.
487 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
489 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
490 Remove the word "see" before "@pxref".
491 * doc/rtl.texi: Remove the word "see" before "@pxref".
493 2011-01-01 Jan Hubicka <jh@suse.cz>
495 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
498 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
501 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
504 Copyright (C) 2011 Free Software Foundation, Inc.
506 Copying and distribution of this file, with or without modification,
507 are permitted in any medium without royalty provided the copyright
508 notice and this notice are preserved.