1 2011-01-12 Anatoly Sokolov <aesok@post.ru>
3 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
4 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
5 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
6 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
8 2011-01-12 Kai Tietz <kai.tietz@onevision.com>
11 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
14 2011-01-12 Jan Hubicka <jh@suse.cz>
17 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
18 (PLUGIN_COND_CLOSE): New macro.
19 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
21 2011-01-12 Richard Guenther <rguenther@suse.de>
24 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
25 register variables in a MEM_REF.
27 2011-01-12 Joseph Myers <joseph@codesourcery.com>
29 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
30 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
31 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
32 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
33 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
34 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
35 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
36 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
37 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
38 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
39 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
40 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
41 * config/gnu-user.h: New. Copied from linux.h.
42 (LINUX_TARGET_STARTFILE_SPEC): Rename to
43 GNU_USER_TARGET_STARTFILE_SPEC.
44 (LINUX_TARGET_ENDFILE_SPEC): Rename to
45 GNU_USER_TARGET_ENDFILE_SPEC.
46 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
47 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
48 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
49 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
50 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
51 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
52 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
53 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
54 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
55 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
56 * config/arm/linux-eabi.h (CC1_SPEC): Use
57 GNU_USER_TARGET_CC1_SPEC.
58 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
59 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
60 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
61 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
62 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
63 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
64 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
65 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
67 2011-01-12 Richard Guenther <rguenther@suse.de>
70 * doc/invoke.texi (ffast-math): Document it is turned on
73 2011-01-12 Jan Hubicka <jh@suse.cz>
75 PR tree-optimization/47233
76 * opts.c (common_handle_option): Disable ipa-reference with profile
79 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
81 * c-parser.c (c_parser_objc_at_property_declaration): Improved
84 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
86 * c-parser.c (c_lex_one_token): Updated and reindented some
87 comments. No changes in code.
89 2011-01-11 Ian Lance Taylor <iant@google.com>
91 * godump.c (go_output_var): Don't output the variable if there is
92 already a type with the same name.
94 2011-01-11 Ian Lance Taylor <iant@google.com>
96 * godump.c (go_format_type): Don't generate float80.
98 2011-01-11 Richard Henderson <rth@redhat.com>
100 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
101 declaration. Rewrite for both speed and size.
102 (mn10300_address_cost_1): Remove.
103 (mn10300_register_move_cost): New.
104 (mn10300_memory_move_cost): New.
105 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
106 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
107 extensions, shifts, BSWAP, CLZ.
108 (mn10300_wide_const_load_uses_clr): Remove.
109 (TARGET_REGISTER_MOVE_COST): New.
110 (TARGET_MEMORY_MOVE_COST): New.
111 * config/mn10300/mn10300-protos.h: Update.
112 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
114 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
115 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
116 * config/mn10300/mn10300-protos.h: Update.
117 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
118 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
119 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
120 (*test_int_bitfield, *test_byte_bitfield): Remove.
121 (*bit_test, *subreg_bit_test): Remove.
122 * config/mn10300/predicates.md (const_8bit_operand): Remove.
124 * config/mn10300/constraints.md ("c"): Rename from "A".
125 ("A", "D"): New constraint letters.
126 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
127 (fmssf4, fnmasf4, fnmssf4): Likewise.
129 * config/mn10300/mn10300.md (isa): New attribute.
130 (enabled): New attribute.
132 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
133 (abssf2, negsf2): Define only for hardware fp.
135 (addsf3, subsf3, mulsf3): Merge expander and insn.
137 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
138 (DEBUGGER_AUTO_OFFSET): Remove.
139 (DEBUGGER_ARG_OFFSET): Remove.
141 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
142 Emit register stores with the same offsets as the hardware.
143 (mn10300_store_multiple_operation): Don't check that the register
144 save offsets are monotonic.
145 * config/mn10300/mn10300-protos.h: Update.
147 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
149 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
150 in terms of the value on the stack, not the MDR register.
152 2011-01-11 Jan Hubicka <jh@suse.cz>
156 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
157 (symbol_alias_set_destroy, symbol_alias_set_contains,
158 propagate_aliases_backward): Declare.
159 * lto-streamer-out.c (struct sets): New sturcture.
160 (trivally_defined_alias): New function.
161 (output_alias_pair_p): Rewrite.
162 (output_unreferenced_globals): Fix output of alias pairs.
163 (produce_symtab): Likewise.
164 * ipa.c (function_and_variable_visibility): Set weak alias destination
166 * varasm.c (symbol_alias_set_t): Remove.
167 (symbol_alias_set_destroy): Export.
168 (propagate_aliases_forward, propagate_aliases_backward): New functions
170 (compute_visible_aliases): ... this one; remove.
171 (trivially_visible_alias): New
172 (trivially_defined_alias): New.
173 (remove_unreachable_alias_pairs): Rewrite.
174 (finish_aliases_1): Reorganize code checking if alias is defined.
175 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
178 2011-01-11 Richard Guenther <rguenther@suse.de>
180 PR tree-optimization/46076
181 * tree-ssa.c (useless_type_conversion_p): Conversions from
182 unprototyped to empty argument list function types are useless.
184 2011-01-11 Richard Guenther <rguenther@suse.de>
187 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
188 volatile MEMs as MEM_READONLY_P.
190 2011-01-11 Richard Guenther <rguenther@suse.de>
192 PR tree-optimization/47239
193 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
195 2011-01-11 Jeff Law <law@redhat.com>
197 * PR tree-optimization/47086
198 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
199 IVs from statements that might throw.
201 2011-01-10 Jan Hubicka <jh@suse.cz>
204 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
206 2011-01-10 Jan Hubicka <jh@suse.cz>
209 * profile.c (read_profile_edge_counts): Ignore profile inconistency
210 when correcting profile.
212 2011-01-10 Jan Hubicka <jh@suse.cz>
215 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
217 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
218 Restore DECL_FINI_PRIORITY.
220 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
222 * doc/gimple.texi: Fix quoting of multi-word return values in
223 @deftypefn statements. Ensure presence of return value. Wrap
224 overlong @deftypefn lines.
225 (is_gimple_operand, is_gimple_min_invariant_address): Remove
226 descriptions of removed functions.
227 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
228 of multi-word return value in @deftypefn statement.
230 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
232 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
233 (Conditional Expressions, Logical Operators)
234 (Statement and operand traversals): Do not indent smallexample
235 code. Fix duplicate function argument in example.
237 2011-01-10 Jeff Law <law@redhat.com>
239 * PR tree-optimization/47141
240 * ipa-split.c (split_function): Handle case where we are
241 returning a value and the return block has a virtual operand phi.
243 2011-01-10 Jan Hubicka <jh@suse.cz>
245 PR tree-optimization/47234
246 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
247 (pass_feedback_split_functions): Declare.
248 * passes.c (init_optimization_passes): Add ipa-split as subpass of
250 * ipa-split.c (gate_split_functions): Update comments; disable
251 split-functions for profile_arc_flag and branch_probabilities.
252 (gate_feedback_split_functions): New function.
253 (execute_feedback_split_functions): New function.
254 (pass_feedback_split_functions): New global var.
256 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
259 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
260 calling gimple_call_set_cannot_inline.
262 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
264 * config/darwin-sections.def: Remove unused section.
266 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
269 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
271 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
274 * c-parser.c (c_parser_declaration_or_fndef): Improved
277 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
279 * config/i386/winnt.c (i386_pe_start_function): Make sure
280 to switch back to function's section.
282 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
286 * plugin.c: Move include of dlfcn.h from here...
287 * system.h: ... to here.
289 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
291 * doc/cpp.texi (C++ Named Operators): Fix markup for header
293 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
294 two extra empty pages in PDF output.
296 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
299 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
300 for error recovery purposes behave as if it was not specified so
301 that the default type is usd.
303 2011-01-07 Jan Hubicka <jh@suse.cz>
305 PR tree-optmization/46469
306 * ipa.c (function_and_variable_visibility): Clear needed flags on
307 nodes with external decls; handle weakrefs merging correctly.
309 2011-01-07 Joseph Myers <joseph@codesourcery.com>
311 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
314 2011-01-07 Jan Hubicka <jh@suse.cz>
316 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
317 and no longer claim that gold is required for linker plugin.
318 * configure: Regenerate.
319 * gcc.c (PLUGIN_COND): New macro.
320 (LINK_COMMAND_SPEC): Use it.
321 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
322 * config.in (HAVE_LTO_PLUGIN): New.
323 * configure.ac (--with-lto-plugin): New parameter; autodetect
326 2011-01-07 Jan Hubicka <jh@suse.cz>
328 PR tree-optimization/46367
329 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
330 when we can update original.
331 (cgraph_mark_inline_edge): Sanity check.
332 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
334 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
336 * config/spu/spu.h (ASM_COMMENT_START): Define.
338 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
342 (SWITCH_KEEP_FOR_GCC): Likewise.
343 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
344 (do_spec_1): Handle "%>".
346 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
348 2011-01-07 Jakub Jelinek <jakub@redhat.com>
351 * config/i386/i386.c (ix86_delegitimize_address): If
352 simplify_gen_subreg fails, return orig_x.
355 * value-prof.c (gimple_stringop_fixed_value): Handle
356 lhs of the call properly.
358 2011-01-07 Jan Hubicka <jh@suse.cz>
361 * lto-opt.c (lto_reissue_options): Set flag_shlib.
363 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
365 * target.def (function_switched_text_sections): New hook.
366 * doc/tm.texi: Regenerated.
367 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
368 * final.c (default_function_switched_text_sections): New.
369 (final_scan_insn): Call function_switched_text_sections when a
370 mid-function section change occurs.
371 * output.h (default_function_switched_text_sections): Declare.
372 * config/darwin-protos.h (darwin_function_switched_text_sections):
374 * config/darwin.c (darwin_function_switched_text_sections): New.
375 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
377 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
379 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
380 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
381 the secondary code fragment when outputting for DWARF == 2.
383 2011-01-07 Anatoly Sokolov <aesok@post.ru>
385 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
386 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
388 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
389 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
391 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
394 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
395 only when it is not empty.
397 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
400 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
401 (case ${target}): Add btver1.
402 * config/i386/driver-i386.c (host_detect_local_cpu): Let
403 -march=native recognize btver1 processors.
404 * config/i386/i386-c.c (ix86_target_macros_internal): Add
406 * config/i386/i386.c (struct processor_costs btver1_cost): New
408 (m_BTVER1): New definition.
409 (m_AMD_MULTIPLE): Includes m_BTVER1.
410 (initial_ix86_tune_features): Add btver1 tune.
411 (processor_target_table): Add btver1 entry.
412 (static const char *const cpu_names): Add btver1 entry.
413 (software_prefetching_beneficial_p): Add btver1.
414 (ix86_option_override_internal): Add btver1 instruction sets.
415 (ix86_issue_rate): Add btver1.
416 (ix86_adjust_cost): Add btver1.
417 * config/i386/i386.h (TARGET_BTVER1): New definition.
418 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
419 (enum processor_type): Add PROCESSOR_BTVER1.
420 * config/i386/i386.md (define_attr "cpu"): Add btver1.
422 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
425 * config/i386/i386.c (legitimize_tls_address)
426 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
427 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
428 (tls_initial_exec_64_sun): New pattern.
430 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
432 * doc/invoke.texi (Overall Options): Improve wording and markup
433 of the description of -wrapper.
435 2011-01-06 Joseph Myers <joseph@codesourcery.com>
437 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
438 rdynamic, threads): New Driver options.
440 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
443 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
444 if coming from .tdata.
445 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
447 2011-01-06 Jan Hubicka <jh@suse.cz>
450 * collect2.c (main): Do not enable LTOmode when plugin is active.
452 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
455 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
456 --version output if supported.
457 * configure: Regenerate.
459 2011-01-06 Joseph Myers <joseph@codesourcery.com>
461 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
464 2011-01-06 Jakub Jelinek <jakub@redhat.com>
467 * c-convert.c (convert): When converting a complex expression
468 other than COMPLEX_EXPR to a different complex type, ensure
469 c_save_expr is called instead of save_expr, unless in_late_binary_op.
470 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
471 when converting COMPLEX_TYPE.
473 2011-01-06 Ira Rosen <irar@il.ibm.com>
475 PR tree-optimization/47139
476 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
477 only the last reduction value is used outside the loop. Update
480 2011-01-05 Joseph Myers <joseph@codesourcery.com>
482 * config/rtems.opt: New.
483 * config.gcc (*-*-rtems*): Use rtems.opt.
485 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
487 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
488 processors do not support 3DNow instructions.
490 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
492 * config/spu/spu.c (spu_option_override): Set parameter
493 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
495 2011-01-05 Jan Hubicka <jh@suse.cz>
497 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
500 2011-01-05 Martin Jambor <mjambor@suse.cz>
503 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
504 deltas on streamed outgoing edges.
505 (output_node_opt_summary): Output info for outgoing edges only when
506 the node is in new parameter set.
507 (output_cgraph_opt_summary): New parameter set, passed to the two
508 aforementioned functions. Update its forward declaration and its
511 2011-01-05 Tom Tromey <tromey@redhat.com>
513 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
514 operator to c_finish_omp_atomic.
515 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
516 (build_unary_op): Update.
517 (build_modify_expr): Update.
518 (build_asm_expr): Update.
520 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
522 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
523 newly inserted insns.
525 (spu_emit_branch_hint): Likewise.
526 (insert_hbrp_for_ilb_runout): Likewise.
527 (spu_machine_dependent_reorg): Call df_finish_pass after
528 schedule_insns returns.
530 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
532 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
534 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
536 PR tree-optimization/47005
537 * tree-sra.c (struct access): Add 'non_addressable' bit.
538 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
539 (decide_one_param_reduction): Return 0 if the parameter is passed by
540 reference and one of the accesses in the group is non_addressable.
542 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
544 PR tree-optimization/47056
545 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
546 (mark_load): Likewise. Handle FUNCTION_DECL specially.
547 (mark_store): Likewise. Pass STMT to ipa_record_reference.
549 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
551 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
552 initializer. Skip view conversions from aggregate types.
554 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
557 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
559 2011-01-04 Philipp Thomas <pth@suse.de>
561 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
564 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
566 * function.c (thread_prologue_and_epilogue_insns): Do not crash
567 on empty epilogue sequences.
569 2011-01-04 Joseph Myers <joseph@codesourcery.com>
571 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
572 non-static): New Driver options.
574 2011-01-04 Jie Zhang <jie@codesourcery.com>
577 * gcc.c (default_compilers[]): Set combinable field to 0
578 for all assembly languages.
580 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
582 * config/mips/loongson3a.md: New file.
583 * config/mips/mips.md: Include loongson3a.md.
584 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
587 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
590 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
591 instead of convert_memory_address_addr_space on the base expression.
593 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
595 * config/spu/spu.c (spu_option_override): Update error text
596 for bad -march= / -mtune= values.
598 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
600 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
601 if branch-hint optimization will be performed.
603 2011-01-03 Jakub Jelinek <jakub@redhat.com>
605 PR tree-optimization/47148
606 * ipa-split.c (split_function): Convert arguments to
607 DECL_ARG_TYPE if possible.
609 PR tree-optimization/47155
610 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
613 PR rtl-optimization/47157
614 * combine.c (try_combine): If undobuf.other_insn becomes
615 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
616 and set *new_direct_jump_p too.
618 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
620 PR tree-optimization/47021
621 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
623 2011-01-03 Jakub Jelinek <jakub@redhat.com>
625 * gcc.c (process_command): Update copyright notice dates.
626 * gcov.c (print_version): Likewise.
627 * gcov-dump.c (print_version): Likewise.
628 * mips-tfile.c (main): Likewise.
629 * mips-tdump.c (main): Likewise.
631 2011-01-03 Martin Jambor <mjambor@suse.cz>
633 PR tree-optimization/46801
634 * tree-sra.c (type_internals_preclude_sra_p): Check whether
635 aggregate fields start at byte boundary instead of the bit-field flag.
637 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
640 * gcc.c (main): Revert revision 168407.
642 2011-01-03 Martin Jambor <mjambor@suse.cz>
644 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
646 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
648 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
649 vector optab to expand vector/scalar shift, update gimple to vector.
651 2011-01-03 Martin Jambor <mjambor@suse.cz>
653 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
656 2011-01-03 Martin Jambor <mjambor@suse.cz>
658 PR tree-optimization/46984
659 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
661 (cgraph_create_indirect_edge): Fixed line length.
662 (cgraph_indirect_call_info): Declare.
663 (cgraph_make_edge_direct) Update declaration.
664 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
665 (cgraph_create_indirect_edge): Use it.
666 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
668 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
669 the new thunk_delta representation.
670 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
672 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
673 (ipa_read_indirect_edge_info): Likewise.
674 * lto-cgraph.c (output_edge_opt_summary): New function.
675 (output_node_opt_summary): Call it on all outgoing edges.
676 (input_edge_opt_summary): New function.
677 (input_node_opt_summary): Call it on all outgoing edges.
679 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
682 * gcc.c (main): Don't check have_o when settting combine_inputs.
684 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
686 * regrename.c: Add general comment describing the pass.
687 (struct du_head): Remove 'length' field.
688 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
689 (regrename_optimize): Do not sort chains. Rework comments, add others.
690 Force renaming to the preferred class (if any) in the first pass and do
691 not consider registers that belong to it in the second pass.
692 (create_new_chain): Do not set 'length' field.
693 (scan_rtx_reg): Likewise.
695 2011-01-02 Jakub Jelinek <jakub@redhat.com>
697 PR tree-optimization/47140
698 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
699 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
702 PR rtl-optimization/47028
703 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
704 parm_birth_insn instead of at the beginning of first bb.
706 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
708 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
709 Remove the word "see" before "@pxref".
710 * doc/rtl.texi: Remove the word "see" before "@pxref".
712 2011-01-01 Jan Hubicka <jh@suse.cz>
714 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
717 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
720 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
723 Copyright (C) 2011 Free Software Foundation, Inc.
725 Copying and distribution of this file, with or without modification,
726 are permitted in any medium without royalty provided the copyright
727 notice and this notice are preserved.