1f80f216960960ecbcf415f1ddfb2aea3f12f733
[gcc.git] / gcc / ChangeLog
1 2011-01-11 Richard Henderson <rth@redhat.com>
2
3 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
4 declaration. Rewrite for both speed and size.
5 (mn10300_address_cost_1): Remove.
6 (mn10300_register_move_cost): New.
7 (mn10300_memory_move_cost): New.
8 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
9 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
10 extensions, shifts, BSWAP, CLZ.
11 (mn10300_wide_const_load_uses_clr): Remove.
12 (TARGET_REGISTER_MOVE_COST): New.
13 (TARGET_MEMORY_MOVE_COST): New.
14 * config/mn10300/mn10300-protos.h: Update.
15 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
16
17 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
18 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
19 * config/mn10300/mn10300-protos.h: Update.
20 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
21 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
22 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
23 (*test_int_bitfield, *test_byte_bitfield): Remove.
24 (*bit_test, *subreg_bit_test): Remove.
25 * config/mn10300/predicates.md (const_8bit_operand): Remove.
26
27 * config/mn10300/constraints.md ("c"): Rename from "A".
28 ("A", "D"): New constraint letters.
29 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
30 (fmssf4, fnmasf4, fnmssf4): Likewise.
31
32 * config/mn10300/mn10300.md (isa): New attribute.
33 (enabled): New attribute.
34
35 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
36 (abssf2, negsf2): Define only for hardware fp.
37 (sqrtsf2): Reformat.
38 (addsf3, subsf3, mulsf3): Merge expander and insn.
39
40 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
41 (DEBUGGER_AUTO_OFFSET): Remove.
42 (DEBUGGER_ARG_OFFSET): Remove.
43
44 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
45 Emit register stores with the same offsets as the hardware.
46 (mn10300_store_multiple_operation): Don't check that the register
47 save offsets are monotonic.
48 * config/mn10300/mn10300-protos.h: Update.
49
50 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
51
52 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
53 in terms of the value on the stack, not the MDR register.
54
55 2011-01-11 Jan Hubicka <jh@suse.cz>
56
57 PR lto/45721
58 PR lto/45375
59 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
60 (symbol_alias_set_destroy, symbol_alias_set_contains,
61 propagate_aliases_backward): Declare.
62 * lto-streamer-out.c (struct sets): New sturcture.
63 (trivally_defined_alias): New function.
64 (output_alias_pair_p): Rewrite.
65 (output_unreferenced_globals): Fix output of alias pairs.
66 (produce_symtab): Likewise.
67 * ipa.c (function_and_variable_visibility): Set weak alias destination
68 as needed in lto.
69 * varasm.c (symbol_alias_set_t): Remove.
70 (symbol_alias_set_destroy): Export.
71 (propagate_aliases_forward, propagate_aliases_backward): New functions
72 based on ...
73 (compute_visible_aliases): ... this one; remove.
74 (trivially_visible_alias): New
75 (trivially_defined_alias): New.
76 (remove_unreachable_alias_pairs): Rewrite.
77 (finish_aliases_1): Reorganize code checking if alias is defined.
78 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
79 in LTO mode.
80
81 2011-01-11 Richard Guenther <rguenther@suse.de>
82
83 PR tree-optimization/46076
84 * tree-ssa.c (useless_type_conversion_p): Conversions from
85 unprototyped to empty argument list function types are useless.
86
87 2011-01-11 Richard Guenther <rguenther@suse.de>
88
89 PR middle-end/45235
90 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
91 volatile MEMs as MEM_READONLY_P.
92
93 2011-01-11 Richard Guenther <rguenther@suse.de>
94
95 PR tree-optimization/47239
96 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
97
98 2011-01-11 Jeff Law <law@redhat.com>
99
100 * PR tree-optimization/47086
101 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
102 IVs from statements that might throw.
103
104 2011-01-10 Jan Hubicka <jh@suse.cz>
105
106 PR lto/45375
107 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
108
109 2011-01-10 Jan Hubicka <jh@suse.cz>
110
111 PR lto/45375
112 * profile.c (read_profile_edge_counts): Ignore profile inconistency
113 when correcting profile.
114
115 2011-01-10 Jan Hubicka <jh@suse.cz>
116
117 PR lto/46083
118 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
119 DECL_FINI_PRIORITY.
120 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
121 Restore DECL_FINI_PRIORITY.
122
123 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
124
125 * doc/gimple.texi: Fix quoting of multi-word return values in
126 @deftypefn statements. Ensure presence of return value. Wrap
127 overlong @deftypefn lines.
128 (is_gimple_operand, is_gimple_min_invariant_address): Remove
129 descriptions of removed functions.
130 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
131 of multi-word return value in @deftypefn statement.
132
133 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
134
135 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
136 (Conditional Expressions, Logical Operators)
137 (Statement and operand traversals): Do not indent smallexample
138 code. Fix duplicate function argument in example.
139
140 2011-01-10 Jeff Law <law@redhat.com>
141
142 * PR tree-optimization/47141
143 * ipa-split.c (split_function): Handle case where we are
144 returning a value and the return block has a virtual operand phi.
145
146 2011-01-10 Jan Hubicka <jh@suse.cz>
147
148 PR tree-optimization/47234
149 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
150 (pass_feedback_split_functions): Declare.
151 * passes.c (init_optimization_passes): Add ipa-split as subpass of
152 tree-profile.
153 * ipa-split.c (gate_split_functions): Update comments; disable
154 split-functions for profile_arc_flag and branch_probabilities.
155 (gate_feedback_split_functions): New function.
156 (execute_feedback_split_functions): New function.
157 (pass_feedback_split_functions): New global var.
158
159 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
160
161 PR lto/46760
162 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
163 calling gimple_call_set_cannot_inline.
164
165 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
166
167 * config/darwin-sections.def: Remove unused section.
168
169 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
170
171 PR c++/47218
172 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
173
174 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
175
176 PR objc/47232
177 * c-parser.c (c_parser_declaration_or_fndef): Improved
178 error message.
179
180 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
181
182 * config/i386/winnt.c (i386_pe_start_function): Make sure
183 to switch back to function's section.
184
185 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
186
187 PR gcc/46902
188 PR testsuite/46912
189 * plugin.c: Move include of dlfcn.h from here...
190 * system.h: ... to here.
191
192 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
193
194 * doc/cpp.texi (C++ Named Operators): Fix markup for header
195 file name.
196 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
197 two extra empty pages in PDF output.
198
199 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
200
201 PR objc/47078
202 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
203 for error recovery purposes behave as if it was not specified so
204 that the default type is usd.
205
206 2011-01-07 Jan Hubicka <jh@suse.cz>
207
208 PR tree-optmization/46469
209 * ipa.c (function_and_variable_visibility): Clear needed flags on
210 nodes with external decls; handle weakrefs merging correctly.
211
212 2011-01-07 Joseph Myers <joseph@codesourcery.com>
213
214 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
215 not false.
216
217 2011-01-07 Jan Hubicka <jh@suse.cz>
218
219 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
220 and no longer claim that gold is required for linker plugin.
221 * configure: Regenerate.
222 * gcc.c (PLUGIN_COND): New macro.
223 (LINK_COMMAND_SPEC): Use it.
224 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
225 * config.in (HAVE_LTO_PLUGIN): New.
226 * configure.ac (--with-lto-plugin): New parameter; autodetect
227 HAVE_LTO_PLUGIN.
228
229 2011-01-07 Jan Hubicka <jh@suse.cz>
230
231 PR tree-optimization/46367
232 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
233 when we can update original.
234 (cgraph_mark_inline_edge): Sanity check.
235 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
236
237 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
238
239 * config/spu/spu.h (ASM_COMMENT_START): Define.
240
241 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
242
243 PR driver/42445
244 * gcc.c (%>S): New.
245 (SWITCH_KEEP_FOR_GCC): Likewise.
246 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
247 (do_spec_1): Handle "%>".
248
249 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
250
251 2011-01-07 Jakub Jelinek <jakub@redhat.com>
252
253 PR target/47201
254 * config/i386/i386.c (ix86_delegitimize_address): If
255 simplify_gen_subreg fails, return orig_x.
256
257 PR bootstrap/47187
258 * value-prof.c (gimple_stringop_fixed_value): Handle
259 lhs of the call properly.
260
261 2011-01-07 Jan Hubicka <jh@suse.cz>
262
263 PR lto/45375
264 * lto-opt.c (lto_reissue_options): Set flag_shlib.
265
266 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
267
268 * target.def (function_switched_text_sections): New hook.
269 * doc/tm.texi: Regenerated.
270 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
271 * final.c (default_function_switched_text_sections): New.
272 (final_scan_insn): Call function_switched_text_sections when a
273 mid-function section change occurs.
274 * output.h (default_function_switched_text_sections): Declare.
275 * config/darwin-protos.h (darwin_function_switched_text_sections):
276 Likewise.
277 * config/darwin.c (darwin_function_switched_text_sections): New.
278 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
279
280 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
281
282 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
283 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
284 the secondary code fragment when outputting for DWARF == 2.
285
286 2011-01-07 Anatoly Sokolov <aesok@post.ru>
287
288 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
289 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
290 Remove.
291 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
292 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
293
294 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
295
296 PR debug/46704
297 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
298 only when it is not empty.
299
300 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
301
302 Bobcat Enablement
303 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
304 (case ${target}): Add btver1.
305 * config/i386/driver-i386.c (host_detect_local_cpu): Let
306 -march=native recognize btver1 processors.
307 * config/i386/i386-c.c (ix86_target_macros_internal): Add
308 btver1 def_and_undef
309 * config/i386/i386.c (struct processor_costs btver1_cost): New
310 btver1 cost table.
311 (m_BTVER1): New definition.
312 (m_AMD_MULTIPLE): Includes m_BTVER1.
313 (initial_ix86_tune_features): Add btver1 tune.
314 (processor_target_table): Add btver1 entry.
315 (static const char *const cpu_names): Add btver1 entry.
316 (software_prefetching_beneficial_p): Add btver1.
317 (ix86_option_override_internal): Add btver1 instruction sets.
318 (ix86_issue_rate): Add btver1.
319 (ix86_adjust_cost): Add btver1.
320 * config/i386/i386.h (TARGET_BTVER1): New definition.
321 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
322 (enum processor_type): Add PROCESSOR_BTVER1.
323 * config/i386/i386.md (define_attr "cpu"): Add btver1.
324
325 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
326
327 PR target/43309
328 * config/i386/i386.c (legitimize_tls_address)
329 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
330 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
331 (tls_initial_exec_64_sun): New pattern.
332
333 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
334
335 * doc/invoke.texi (Overall Options): Improve wording and markup
336 of the description of -wrapper.
337
338 2011-01-06 Joseph Myers <joseph@codesourcery.com>
339
340 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
341 rdynamic, threads): New Driver options.
342
343 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
344
345 PR target/38118
346 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
347 if coming from .tdata.
348 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
349
350 2011-01-06 Jan Hubicka <jh@suse.cz>
351
352 PR lto/47188
353 * collect2.c (main): Do not enable LTOmode when plugin is active.
354
355 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
356
357 PR other/45915
358 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
359 --version output if supported.
360 * configure: Regenerate.
361
362 2011-01-06 Joseph Myers <joseph@codesourcery.com>
363
364 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
365 Driver options.
366
367 2011-01-06 Jakub Jelinek <jakub@redhat.com>
368
369 PR c/47150
370 * c-convert.c (convert): When converting a complex expression
371 other than COMPLEX_EXPR to a different complex type, ensure
372 c_save_expr is called instead of save_expr, unless in_late_binary_op.
373 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
374 when converting COMPLEX_TYPE.
375
376 2011-01-06 Ira Rosen <irar@il.ibm.com>
377
378 PR tree-optimization/47139
379 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
380 only the last reduction value is used outside the loop. Update
381 documentation.
382
383 2011-01-05 Joseph Myers <joseph@codesourcery.com>
384
385 * config/rtems.opt: New.
386 * config.gcc (*-*-rtems*): Use rtems.opt.
387
388 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
389
390 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
391 processors do not support 3DNow instructions.
392
393 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
394
395 * config/spu/spu.c (spu_option_override): Set parameter
396 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
397
398 2011-01-05 Jan Hubicka <jh@suse.cz>
399
400 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
401 at the command line.
402
403 2011-01-05 Martin Jambor <mjambor@suse.cz>
404
405 PR lto/47162
406 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
407 deltas on streamed outgoing edges.
408 (output_node_opt_summary): Output info for outgoing edges only when
409 the node is in new parameter set.
410 (output_cgraph_opt_summary): New parameter set, passed to the two
411 aforementioned functions. Update its forward declaration and its
412 callee too.
413
414 2011-01-05 Tom Tromey <tromey@redhat.com>
415
416 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
417 operator to c_finish_omp_atomic.
418 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
419 (build_unary_op): Update.
420 (build_modify_expr): Update.
421 (build_asm_expr): Update.
422
423 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
424
425 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
426 newly inserted insns.
427 (pad_bb): Likewise.
428 (spu_emit_branch_hint): Likewise.
429 (insert_hbrp_for_ilb_runout): Likewise.
430 (spu_machine_dependent_reorg): Call df_finish_pass after
431 schedule_insns returns.
432
433 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
434
435 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
436
437 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
438
439 PR tree-optimization/47005
440 * tree-sra.c (struct access): Add 'non_addressable' bit.
441 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
442 (decide_one_param_reduction): Return 0 if the parameter is passed by
443 reference and one of the accesses in the group is non_addressable.
444
445 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
446
447 PR tree-optimization/47056
448 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
449 (mark_load): Likewise. Handle FUNCTION_DECL specially.
450 (mark_store): Likewise. Pass STMT to ipa_record_reference.
451
452 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
453
454 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
455 initializer. Skip view conversions from aggregate types.
456
457 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
458
459 PR bootstrap/47055
460 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
461
462 2011-01-04 Philipp Thomas <pth@suse.de>
463
464 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
465 obvious typo.
466
467 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
468
469 * function.c (thread_prologue_and_epilogue_insns): Do not crash
470 on empty epilogue sequences.
471
472 2011-01-04 Joseph Myers <joseph@codesourcery.com>
473
474 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
475 non-static): New Driver options.
476
477 2011-01-04 Jie Zhang <jie@codesourcery.com>
478
479 PR driver/47137
480 * gcc.c (default_compilers[]): Set combinable field to 0
481 for all assembly languages.
482
483 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
484
485 * config/mips/loongson3a.md: New file.
486 * config/mips/mips.md: Include loongson3a.md.
487 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
488 TUNE_LOONGSON_3A.
489
490 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
491
492 PR middle-end/47017
493 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
494 instead of convert_memory_address_addr_space on the base expression.
495
496 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
497
498 * config/spu/spu.c (spu_option_override): Update error text
499 for bad -march= / -mtune= values.
500
501 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
502
503 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
504 if branch-hint optimization will be performed.
505
506 2011-01-03 Jakub Jelinek <jakub@redhat.com>
507
508 PR tree-optimization/47148
509 * ipa-split.c (split_function): Convert arguments to
510 DECL_ARG_TYPE if possible.
511
512 PR tree-optimization/47155
513 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
514 when computing uns.
515
516 PR rtl-optimization/47157
517 * combine.c (try_combine): If undobuf.other_insn becomes
518 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
519 and set *new_direct_jump_p too.
520
521 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
522
523 PR tree-optimization/47021
524 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
525
526 2011-01-03 Jakub Jelinek <jakub@redhat.com>
527
528 * gcc.c (process_command): Update copyright notice dates.
529 * gcov.c (print_version): Likewise.
530 * gcov-dump.c (print_version): Likewise.
531 * mips-tfile.c (main): Likewise.
532 * mips-tdump.c (main): Likewise.
533
534 2011-01-03 Martin Jambor <mjambor@suse.cz>
535
536 PR tree-optimization/46801
537 * tree-sra.c (type_internals_preclude_sra_p): Check whether
538 aggregate fields start at byte boundary instead of the bit-field flag.
539
540 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
541
542 PR driver/47137
543 * gcc.c (main): Revert revision 168407.
544
545 2011-01-03 Martin Jambor <mjambor@suse.cz>
546
547 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
548
549 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
550
551 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
552 vector optab to expand vector/scalar shift, update gimple to vector.
553
554 2011-01-03 Martin Jambor <mjambor@suse.cz>
555
556 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
557 a thunk.
558
559 2011-01-03 Martin Jambor <mjambor@suse.cz>
560
561 PR tree-optimization/46984
562 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
563 HOST_WIDE_INT.
564 (cgraph_create_indirect_edge): Fixed line length.
565 (cgraph_indirect_call_info): Declare.
566 (cgraph_make_edge_direct) Update declaration.
567 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
568 (cgraph_create_indirect_edge): Use it.
569 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
570 callees.
571 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
572 the new thunk_delta representation.
573 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
574 HOST_WIDE_INT.
575 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
576 (ipa_read_indirect_edge_info): Likewise.
577 * lto-cgraph.c (output_edge_opt_summary): New function.
578 (output_node_opt_summary): Call it on all outgoing edges.
579 (input_edge_opt_summary): New function.
580 (input_node_opt_summary): Call it on all outgoing edges.
581
582 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
583
584 PR driver/47137
585 * gcc.c (main): Don't check have_o when settting combine_inputs.
586
587 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
588
589 * regrename.c: Add general comment describing the pass.
590 (struct du_head): Remove 'length' field.
591 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
592 (regrename_optimize): Do not sort chains. Rework comments, add others.
593 Force renaming to the preferred class (if any) in the first pass and do
594 not consider registers that belong to it in the second pass.
595 (create_new_chain): Do not set 'length' field.
596 (scan_rtx_reg): Likewise.
597
598 2011-01-02 Jakub Jelinek <jakub@redhat.com>
599
600 PR tree-optimization/47140
601 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
602 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
603 to bit_value_binop.
604
605 PR rtl-optimization/47028
606 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
607 parm_birth_insn instead of at the beginning of first bb.
608
609 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
610
611 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
612 Remove the word "see" before "@pxref".
613 * doc/rtl.texi: Remove the word "see" before "@pxref".
614
615 2011-01-01 Jan Hubicka <jh@suse.cz>
616
617 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
618 memory.
619
620 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
621
622 PR target/38662
623 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
624
625 \f
626 Copyright (C) 2011 Free Software Foundation, Inc.
627
628 Copying and distribution of this file, with or without modification,
629 are permitted in any medium without royalty provided the copyright
630 notice and this notice are preserved.