1 2011-01-07 Jakub Jelinek <jakub@redhat.com>
4 * config/i386/i386.c (ix86_delegitimize_address): If
5 simplify_gen_subreg fails, return orig_x.
8 * value-prof.c (gimple_stringop_fixed_value): Handle
9 lhs of the call properly.
11 2011-01-07 Jan Hubicka <jh@suse.cz>
14 * lto-opt.c (lto_reissue_options): Set flag_shlib.
16 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
18 * target.def (function_switched_text_sections): New Hook.
19 * doc/tm.texi Regenerated.
20 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS)
22 * final.c (default_function_switched_text_sections): New.
23 (final_scan_insn): Call function_switched_text_sections when a mid-function section
25 * output.h (default_function_switched_text_sections): Declare.
26 * config/darwin-protos.h (darwin_function_switched_text_sections) : Likewise.
27 * config/darwin.c (darwin_function_switched_text_sections): New.
28 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS)
31 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
33 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
34 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
35 the secondary code fragment when outputting for DWARF == 2.
37 2011-01-07 Anatoly Sokolov <aesok@post.ru>
39 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
40 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
42 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
43 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
45 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
48 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
49 only when it is not empty.
51 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
54 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
55 (case ${target}): Add btver1.
56 * config/i386/driver-i386.c (host_detect_local_cpu): Let
57 -march=native recognize btver1 processors.
58 * config/i386/i386-c.c (ix86_target_macros_internal): Add
60 * config/i386/i386.c (struct processor_costs btver1_cost): New
62 (m_BTVER1): New definition.
63 (m_AMD_MULTIPLE): Includes m_BTVER1.
64 (initial_ix86_tune_features): Add btver1 tune.
65 (processor_target_table): Add btver1 entry.
66 (static const char *const cpu_names): Add btver1 entry.
67 (software_prefetching_beneficial_p): Add btver1.
68 (ix86_option_override_internal): Add btver1 instruction sets.
69 (ix86_issue_rate): Add btver1.
70 (ix86_adjust_cost): Add btver1.
71 * config/i386/i386.h (TARGET_BTVER1): New definition.
72 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
73 (enum processor_type): Add PROCESSOR_BTVER1.
74 * config/i386/i386.md (define_attr "cpu"): Add btver1.
76 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
79 * config/i386/i386.c (legitimize_tls_address)
80 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
81 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
82 (tls_initial_exec_64_sun): New pattern.
84 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
86 * doc/invoke.texi (Overall Options): Improve wording and markup
87 of the description of -wrapper.
89 2011-01-06 Joseph Myers <joseph@codesourcery.com>
91 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
92 rdynamic, threads): New Driver options.
94 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
97 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
98 if coming from .tdata.
99 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
101 2011-01-06 Jan Hubicka <jh@suse.cz>
104 * collect2.c (main): Do not enable LTOmode when plugin is active.
106 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
109 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
110 --version output if supported.
111 * configure: Regenerate.
113 2011-01-06 Joseph Myers <joseph@codesourcery.com>
115 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
118 2011-01-06 Jakub Jelinek <jakub@redhat.com>
121 * c-convert.c (convert): When converting a complex expression
122 other than COMPLEX_EXPR to a different complex type, ensure
123 c_save_expr is called instead of save_expr, unless in_late_binary_op.
124 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
125 when converting COMPLEX_TYPE.
127 2011-01-06 Ira Rosen <irar@il.ibm.com>
129 PR tree-optimization/47139
130 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
131 only the last reduction value is used outside the loop. Update
134 2011-01-05 Joseph Myers <joseph@codesourcery.com>
136 * config/rtems.opt: New.
137 * config.gcc (*-*-rtems*): Use rtems.opt.
139 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
141 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
142 processors do not support 3DNow instructions.
144 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
146 * config/spu/spu.c (spu_option_override): Set parameter
147 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
149 2011-01-05 Jan Hubicka <jh@suse.cz>
151 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
154 2011-01-05 Martin Jambor <mjambor@suse.cz>
157 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
158 deltas on streamed outgoing edges.
159 (output_node_opt_summary): Output info for outgoing edges only when
160 the node is in new parameter set.
161 (output_cgraph_opt_summary): New parameter set, passed to the two
162 aforementioned functions. Update its forward declaration and its
165 2011-01-05 Tom Tromey <tromey@redhat.com>
167 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
168 operator to c_finish_omp_atomic.
169 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
170 (build_unary_op): Update.
171 (build_modify_expr): Update.
172 (build_asm_expr): Update.
174 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
176 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
177 newly inserted insns.
179 (spu_emit_branch_hint): Likewise.
180 (insert_hbrp_for_ilb_runout): Likewise.
181 (spu_machine_dependent_reorg): Call df_finish_pass after
182 schedule_insns returns.
184 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
186 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
188 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
190 PR tree-optimization/47005
191 * tree-sra.c (struct access): Add 'non_addressable' bit.
192 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
193 (decide_one_param_reduction): Return 0 if the parameter is passed by
194 reference and one of the accesses in the group is non_addressable.
196 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
198 PR tree-optimization/47056
199 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
200 (mark_load): Likewise. Handle FUNCTION_DECL specially.
201 (mark_store): Likewise. Pass STMT to ipa_record_reference.
203 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
205 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
206 initializer. Skip view conversions from aggregate types.
208 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
211 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
213 2011-01-04 Philipp Thomas <pth@suse.de>
215 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
218 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
220 * function.c (thread_prologue_and_epilogue_insns): Do not crash
221 on empty epilogue sequences.
223 2011-01-04 Joseph Myers <joseph@codesourcery.com>
225 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
226 non-static): New Driver options.
228 2011-01-04 Jie Zhang <jie@codesourcery.com>
231 * gcc.c (default_compilers[]): Set combinable field to 0
232 for all assembly languages.
234 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
236 * config/mips/loongson3a.md: New file.
237 * config/mips/mips.md: Include loongson3a.md.
238 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
241 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
244 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
245 instead of convert_memory_address_addr_space on the base expression.
247 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
249 * config/spu/spu.c (spu_option_override): Update error text
250 for bad -march= / -mtune= values.
252 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
254 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
255 if branch-hint optimization will be performed.
257 2011-01-03 Jakub Jelinek <jakub@redhat.com>
259 PR tree-optimization/47148
260 * ipa-split.c (split_function): Convert arguments to
261 DECL_ARG_TYPE if possible.
263 PR tree-optimization/47155
264 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
267 PR rtl-optimization/47157
268 * combine.c (try_combine): If undobuf.other_insn becomes
269 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
270 and set *new_direct_jump_p too.
272 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
274 PR tree-optimization/47021
275 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
277 2011-01-03 Jakub Jelinek <jakub@redhat.com>
279 * gcc.c (process_command): Update copyright notice dates.
280 * gcov.c (print_version): Likewise.
281 * gcov-dump.c (print_version): Likewise.
282 * mips-tfile.c (main): Likewise.
283 * mips-tdump.c (main): Likewise.
285 2011-01-03 Martin Jambor <mjambor@suse.cz>
287 PR tree-optimization/46801
288 * tree-sra.c (type_internals_preclude_sra_p): Check whether
289 aggregate fields start at byte boundary instead of the bit-field flag.
291 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
294 * gcc.c (main): Revert revision 168407.
296 2011-01-03 Martin Jambor <mjambor@suse.cz>
298 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
300 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
302 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
303 vector optab to expand vector/scalar shift, update gimple to vector.
305 2011-01-03 Martin Jambor <mjambor@suse.cz>
307 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
310 2011-01-03 Martin Jambor <mjambor@suse.cz>
312 PR tree-optimization/46984
313 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
315 (cgraph_create_indirect_edge): Fixed line length.
316 (cgraph_indirect_call_info): Declare.
317 (cgraph_make_edge_direct) Update declaration.
318 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
319 (cgraph_create_indirect_edge): Use it.
320 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
322 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
323 the new thunk_delta representation.
324 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
326 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
327 (ipa_read_indirect_edge_info): Likewise.
328 * lto-cgraph.c (output_edge_opt_summary): New function.
329 (output_node_opt_summary): Call it on all outgoing edges.
330 (input_edge_opt_summary): New function.
331 (input_node_opt_summary): Call it on all outgoing edges.
333 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
336 * gcc.c (main): Don't check have_o when settting combine_inputs.
338 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
340 * regrename.c: Add general comment describing the pass.
341 (struct du_head): Remove 'length' field.
342 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
343 (regrename_optimize): Do not sort chains. Rework comments, add others.
344 Force renaming to the preferred class (if any) in the first pass and do
345 not consider registers that belong to it in the second pass.
346 (create_new_chain): Do not set 'length' field.
347 (scan_rtx_reg): Likewise.
349 2011-01-02 Jakub Jelinek <jakub@redhat.com>
351 PR tree-optimization/47140
352 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
353 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
356 PR rtl-optimization/47028
357 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
358 parm_birth_insn instead of at the beginning of first bb.
360 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
362 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
363 Remove the word "see" before "@pxref".
364 * doc/rtl.texi: Remove the word "see" before "@pxref".
366 2011-01-01 Jan Hubicka <jh@suse.cz>
368 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
371 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
374 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
377 Copyright (C) 2011 Free Software Foundation, Inc.
379 Copying and distribution of this file, with or without modification,
380 are permitted in any medium without royalty provided the copyright
381 notice and this notice are preserved.