1 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
3 * config/darwin-sections.def: Remove unused section.
5 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
8 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
10 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
13 * c-parser.c (c_parser_declaration_or_fndef): Improved
16 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
18 * config/i386/winnt.c (i386_pe_start_function): Make sure
19 to switch back to function's section.
21 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
25 * plugin.c: Move include of dlfcn.h from here...
26 * system.h: ... to here.
28 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
30 * doc/cpp.texi (C++ Named Operators): Fix markup for header
32 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
33 two extra empty pages in PDF output.
35 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
38 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
39 for error recovery purposes behave as if it was not specified so
40 that the default type is usd.
42 2011-01-07 Jan Hubicka <jh@suse.cz>
44 PR tree-optmization/46469
45 * ipa.c (function_and_variable_visibility): Clear needed flags on
46 nodes with external decls; handle weakrefs merging correctly.
48 2011-01-07 Joseph Myers <joseph@codesourcery.com>
50 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
53 2011-01-07 Jan Hubicka <jh@suse.cz>
55 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
56 and no longer claim that gold is required for linker plugin.
57 * configure: Regenerate.
58 * gcc.c (PLUGIN_COND): New macro.
59 (LINK_COMMAND_SPEC): Use it.
60 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
61 * config.in (HAVE_LTO_PLUGIN): New.
62 * configure.ac (--with-lto-plugin): New parameter; autodetect
65 2011-01-07 Jan Hubicka <jh@suse.cz>
67 PR tree-optimization/46367
68 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
69 when we can update original.
70 (cgraph_mark_inline_edge): Sanity check.
71 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
73 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
75 * config/spu/spu.h (ASM_COMMENT_START): Define.
77 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
81 (SWITCH_KEEP_FOR_GCC): Likewise.
82 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
83 (do_spec_1): Handle "%>".
85 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
87 2011-01-07 Jakub Jelinek <jakub@redhat.com>
90 * config/i386/i386.c (ix86_delegitimize_address): If
91 simplify_gen_subreg fails, return orig_x.
94 * value-prof.c (gimple_stringop_fixed_value): Handle
95 lhs of the call properly.
97 2011-01-07 Jan Hubicka <jh@suse.cz>
100 * lto-opt.c (lto_reissue_options): Set flag_shlib.
102 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
104 * target.def (function_switched_text_sections): New hook.
105 * doc/tm.texi: Regenerated.
106 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
107 * final.c (default_function_switched_text_sections): New.
108 (final_scan_insn): Call function_switched_text_sections when a
109 mid-function section change occurs.
110 * output.h (default_function_switched_text_sections): Declare.
111 * config/darwin-protos.h (darwin_function_switched_text_sections):
113 * config/darwin.c (darwin_function_switched_text_sections): New.
114 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
116 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
118 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
119 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
120 the secondary code fragment when outputting for DWARF == 2.
122 2011-01-07 Anatoly Sokolov <aesok@post.ru>
124 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
125 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
127 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
128 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
130 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
133 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
134 only when it is not empty.
136 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
139 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
140 (case ${target}): Add btver1.
141 * config/i386/driver-i386.c (host_detect_local_cpu): Let
142 -march=native recognize btver1 processors.
143 * config/i386/i386-c.c (ix86_target_macros_internal): Add
145 * config/i386/i386.c (struct processor_costs btver1_cost): New
147 (m_BTVER1): New definition.
148 (m_AMD_MULTIPLE): Includes m_BTVER1.
149 (initial_ix86_tune_features): Add btver1 tune.
150 (processor_target_table): Add btver1 entry.
151 (static const char *const cpu_names): Add btver1 entry.
152 (software_prefetching_beneficial_p): Add btver1.
153 (ix86_option_override_internal): Add btver1 instruction sets.
154 (ix86_issue_rate): Add btver1.
155 (ix86_adjust_cost): Add btver1.
156 * config/i386/i386.h (TARGET_BTVER1): New definition.
157 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
158 (enum processor_type): Add PROCESSOR_BTVER1.
159 * config/i386/i386.md (define_attr "cpu"): Add btver1.
161 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
164 * config/i386/i386.c (legitimize_tls_address)
165 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
166 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
167 (tls_initial_exec_64_sun): New pattern.
169 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
171 * doc/invoke.texi (Overall Options): Improve wording and markup
172 of the description of -wrapper.
174 2011-01-06 Joseph Myers <joseph@codesourcery.com>
176 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
177 rdynamic, threads): New Driver options.
179 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
182 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
183 if coming from .tdata.
184 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
186 2011-01-06 Jan Hubicka <jh@suse.cz>
189 * collect2.c (main): Do not enable LTOmode when plugin is active.
191 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
194 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
195 --version output if supported.
196 * configure: Regenerate.
198 2011-01-06 Joseph Myers <joseph@codesourcery.com>
200 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
203 2011-01-06 Jakub Jelinek <jakub@redhat.com>
206 * c-convert.c (convert): When converting a complex expression
207 other than COMPLEX_EXPR to a different complex type, ensure
208 c_save_expr is called instead of save_expr, unless in_late_binary_op.
209 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
210 when converting COMPLEX_TYPE.
212 2011-01-06 Ira Rosen <irar@il.ibm.com>
214 PR tree-optimization/47139
215 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
216 only the last reduction value is used outside the loop. Update
219 2011-01-05 Joseph Myers <joseph@codesourcery.com>
221 * config/rtems.opt: New.
222 * config.gcc (*-*-rtems*): Use rtems.opt.
224 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
226 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
227 processors do not support 3DNow instructions.
229 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
231 * config/spu/spu.c (spu_option_override): Set parameter
232 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
234 2011-01-05 Jan Hubicka <jh@suse.cz>
236 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
239 2011-01-05 Martin Jambor <mjambor@suse.cz>
242 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
243 deltas on streamed outgoing edges.
244 (output_node_opt_summary): Output info for outgoing edges only when
245 the node is in new parameter set.
246 (output_cgraph_opt_summary): New parameter set, passed to the two
247 aforementioned functions. Update its forward declaration and its
250 2011-01-05 Tom Tromey <tromey@redhat.com>
252 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
253 operator to c_finish_omp_atomic.
254 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
255 (build_unary_op): Update.
256 (build_modify_expr): Update.
257 (build_asm_expr): Update.
259 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
261 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
262 newly inserted insns.
264 (spu_emit_branch_hint): Likewise.
265 (insert_hbrp_for_ilb_runout): Likewise.
266 (spu_machine_dependent_reorg): Call df_finish_pass after
267 schedule_insns returns.
269 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
271 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
273 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
275 PR tree-optimization/47005
276 * tree-sra.c (struct access): Add 'non_addressable' bit.
277 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
278 (decide_one_param_reduction): Return 0 if the parameter is passed by
279 reference and one of the accesses in the group is non_addressable.
281 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
283 PR tree-optimization/47056
284 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
285 (mark_load): Likewise. Handle FUNCTION_DECL specially.
286 (mark_store): Likewise. Pass STMT to ipa_record_reference.
288 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
290 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
291 initializer. Skip view conversions from aggregate types.
293 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
296 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
298 2011-01-04 Philipp Thomas <pth@suse.de>
300 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
303 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
305 * function.c (thread_prologue_and_epilogue_insns): Do not crash
306 on empty epilogue sequences.
308 2011-01-04 Joseph Myers <joseph@codesourcery.com>
310 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
311 non-static): New Driver options.
313 2011-01-04 Jie Zhang <jie@codesourcery.com>
316 * gcc.c (default_compilers[]): Set combinable field to 0
317 for all assembly languages.
319 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
321 * config/mips/loongson3a.md: New file.
322 * config/mips/mips.md: Include loongson3a.md.
323 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
326 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
329 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
330 instead of convert_memory_address_addr_space on the base expression.
332 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
334 * config/spu/spu.c (spu_option_override): Update error text
335 for bad -march= / -mtune= values.
337 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
339 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
340 if branch-hint optimization will be performed.
342 2011-01-03 Jakub Jelinek <jakub@redhat.com>
344 PR tree-optimization/47148
345 * ipa-split.c (split_function): Convert arguments to
346 DECL_ARG_TYPE if possible.
348 PR tree-optimization/47155
349 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
352 PR rtl-optimization/47157
353 * combine.c (try_combine): If undobuf.other_insn becomes
354 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
355 and set *new_direct_jump_p too.
357 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
359 PR tree-optimization/47021
360 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
362 2011-01-03 Jakub Jelinek <jakub@redhat.com>
364 * gcc.c (process_command): Update copyright notice dates.
365 * gcov.c (print_version): Likewise.
366 * gcov-dump.c (print_version): Likewise.
367 * mips-tfile.c (main): Likewise.
368 * mips-tdump.c (main): Likewise.
370 2011-01-03 Martin Jambor <mjambor@suse.cz>
372 PR tree-optimization/46801
373 * tree-sra.c (type_internals_preclude_sra_p): Check whether
374 aggregate fields start at byte boundary instead of the bit-field flag.
376 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
379 * gcc.c (main): Revert revision 168407.
381 2011-01-03 Martin Jambor <mjambor@suse.cz>
383 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
385 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
387 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
388 vector optab to expand vector/scalar shift, update gimple to vector.
390 2011-01-03 Martin Jambor <mjambor@suse.cz>
392 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
395 2011-01-03 Martin Jambor <mjambor@suse.cz>
397 PR tree-optimization/46984
398 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
400 (cgraph_create_indirect_edge): Fixed line length.
401 (cgraph_indirect_call_info): Declare.
402 (cgraph_make_edge_direct) Update declaration.
403 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
404 (cgraph_create_indirect_edge): Use it.
405 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
407 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
408 the new thunk_delta representation.
409 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
411 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
412 (ipa_read_indirect_edge_info): Likewise.
413 * lto-cgraph.c (output_edge_opt_summary): New function.
414 (output_node_opt_summary): Call it on all outgoing edges.
415 (input_edge_opt_summary): New function.
416 (input_node_opt_summary): Call it on all outgoing edges.
418 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
421 * gcc.c (main): Don't check have_o when settting combine_inputs.
423 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
425 * regrename.c: Add general comment describing the pass.
426 (struct du_head): Remove 'length' field.
427 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
428 (regrename_optimize): Do not sort chains. Rework comments, add others.
429 Force renaming to the preferred class (if any) in the first pass and do
430 not consider registers that belong to it in the second pass.
431 (create_new_chain): Do not set 'length' field.
432 (scan_rtx_reg): Likewise.
434 2011-01-02 Jakub Jelinek <jakub@redhat.com>
436 PR tree-optimization/47140
437 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
438 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
441 PR rtl-optimization/47028
442 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
443 parm_birth_insn instead of at the beginning of first bb.
445 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
447 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
448 Remove the word "see" before "@pxref".
449 * doc/rtl.texi: Remove the word "see" before "@pxref".
451 2011-01-01 Jan Hubicka <jh@suse.cz>
453 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
456 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
459 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
462 Copyright (C) 2011 Free Software Foundation, Inc.
464 Copying and distribution of this file, with or without modification,
465 are permitted in any medium without royalty provided the copyright
466 notice and this notice are preserved.