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