Markup and minor fixes in LTO documentation.
[gcc.git] / gcc / ChangeLog
1 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2
3 * doc/lto.texi (LTO): Ensure two spaces after period. Fix
4 spacing after 'e.g.', typos, comma, hyphenation.
5
6 2011-01-17 Richard Henderson <rth@redhat.com>
7
8 * config/rx/predicates.md (rx_constshift_operand): Use match_test.
9 (rx_restricted_mem_operand): New.
10 (rx_shift_operand): Use register_operand.
11 (rx_source_operand, rx_compare_operand): Likewise.
12 * config/rx/rx.md (addsi3_flags): New expander.
13 (adddi3): Rewrite as expander.
14 (adc_internal, *adc_flags, adddi3_internal): New patterns.
15 (subsi3_flags): New expander.
16 (subdi3): Rewrite as expander.
17 (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
18
19 * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
20 (rx_init_builtins): Remove sat builtin.
21 (rx_expand_builtin): Likewise.
22 * config/rx/rx.md (ssaddsi3): New.
23 (*sat): Rename from sat. Represent the CC_REG input.
24
25 * config/rx/predicates.md (rshift_operator): New.
26 * config/rx/rx.c (rx_expand_insv): Remove.
27 * config/rx/rx-protos.h: Update.
28 * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift
29 operand to the canonical position.
30 (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
31 (*bitclr, *bitclr_in_memory): Similarly.
32 (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
33 (insv): Retain the zero_extract in the expansion.
34
35 * config/rx/rx.md (bswapsi2): Use = not + for output reload.
36 (bswaphi2, bitinvert, revw): Likewise.
37
38 * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
39 (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
40 * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
41 (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
42 (bitset, bitset_in_memory): Likewise.
43 (bitinvert, bitinvert_in_memory): Likewise.
44 (bitclr, bitclr_in_memory): Likewise.
45 (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
46 (rx_strend, rx_cmpstrn): Likewise.
47 (rx_setmem): Likewise. Make the source BLKmode to match the dest.
48 (bitop peep2 patterns): Remove.
49
50 * config/rx/rx.c (rx_match_ccmode): New.
51 * config/rx/rx-protos.h: Update.
52 * config/rx/rx.md (abssi2): Clobber, don't set flags.
53 (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
54 (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
55 (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
56 (fix_truncsfsi2, floatsisf2): Likewise.
57 (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
58 (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
59 (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
60 (*subsi3_flags, *xorsi3_flags): New.
61
62 * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
63
64 * config/rx/rx.c (rx_print_operand): Remove workaround for
65 unsplit comparison operations.
66
67 * config/rx/rx.md (movsicc): Split after reload.
68 (*movsicc): Merge *movsieq and *movsine via match_operator.
69 (*stcc): New pattern.
70
71 * config/rx/rx.c (rx_float_compare_mode): Remove.
72 * config/rx/rx.h (rx_float_compare_mode): Remove.
73 * config/rx/rx.md (cstoresi4): Split after reload.
74 (*sccc): New pattern.
75
76 * config/rx/predicates.md (label_ref_operand): New.
77 (rx_z_comparison_operator): New.
78 (rx_zs_comparison_operator): New.
79 (rx_fp_comparison_operator): New.
80 * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
81 Validate that the flags are set properly for the comparison.
82 (rx_gen_cond_branch_template): Remove.
83 (rx_cc_modes_compatible): Remove.
84 (mode_from_flags): New.
85 (flags_from_code): Rename from flags_needed_for_conditional.
86 (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
87 (rx_select_cc_mode): Likewise.
88 (rx_split_fp_compare): New.
89 (rx_split_cbranch): New.
90 * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
91 (*cbranchsi4): Use match_operator and rx_split_cbranch.
92 (*cbranchsf4): Similarly.
93 (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use
94 match_operator and rx_split_cbranch.
95 (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
96 tstbranchsi4m_ne. Use match_operator and rx_split_cbranch.
97 (*cmpsi): Rename from cmpsi.
98 (*tstsi): Rename from tstsi.
99 (*cmpsf): Rename from cmpsf; use CC_Fmode.
100 (*conditional_branch): Rename from conditional_branch.
101 (*reveresed_conditional_branch): Remove.
102 (b<code>): Remove expander.
103 * config/rx/rx-protos.h: Update.
104
105 * config/rx/rx.c (rx_compare_redundant): Remove.
106 * config/rx/rx.md (cmpsi): Don't use it.
107 * config/rx/rx-protos.h: Update.
108
109 * config/rx/rx-modes.def (CC_F): New mode.
110 * config/rx/rx.c (rx_select_cc_mode): New.
111 * config/rx/rx.h (SELECT_CC_MODE): Use it.
112 * config/rx/rx-protos.h: Update.
113
114 2011-01-17 Richard Henderson <rth@redhat.com>
115
116 * except.c (dump_eh_tree): Fix stray ; after for statement.
117
118 2011-01-17 Richard Guenther <rguenther@suse.de>
119
120 PR tree-optimization/47313
121 * tree-inline.c (tree_function_versioning): Move DECL_RESULT
122 handling before copying the body. Properly deal with
123 by-reference result in SSA form.
124
125 2011-01-17 Ian Lance Taylor <iant@google.com>
126
127 PR target/47219
128 * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
129 (struct_value_alias_set): Don't define.
130 (sparc_option_override): Don't set sparc_sr_alias_set and
131 struct_value_alias_set.
132 (save_or_restore_regs): Use gen_frame_mem rather than calling
133 set_mem_alias_set.
134 (sparc_struct_value_rtx): Likewise.
135
136 2011-01-17 H.J. Lu <hongjiu.lu@intel.com>
137
138 PR target/47318
139 * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
140 __m128i.
141 (_mm_maskstore_pd): Likewise.
142 (_mm_maskload_ps): Likewise.
143 (_mm_maskstore_ps): Likewise.
144 (_mm256_maskload_pd): Change mask to __m256i.
145 (_mm256_maskstore_pd): Likewise.
146 (_mm256_maskload_ps): Likewise.
147 (_mm256_maskstore_ps): Likewise.
148
149 * config/i386/i386-builtin-types.def: Updated.
150 (ix86_expand_special_args_builtin): Likewise.
151
152 * config/i386/i386.c (bdesc_special_args): Update
153 __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
154 __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
155 __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
156 __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
157
158 * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
159 Use <avxpermvecmode> on mask register.
160 (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
161
162 2011-01-17 Olivier Hainque <hainque@adacore.com>
163 Michael Haubenwallner <michael.haubenwallner@salomon.at>
164 Eric Botcazou <ebotcazou@adacore.com>
165
166 PR target/46655
167 * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
168 if <= USHRT_MAX in 32-bit mode.
169
170 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
171
172 * doc/install.texi (Configuration, Specific): Wrap long
173 lines in examples. Allow line wrapping in long options
174 and URLs where beneficial for PDF output.
175
176 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com>
177
178 * config/mips/mips.c (mips_classify_symbol): Don't return
179 SYMBOL_PC_RELATIVE for nonlocal labels.
180
181 2011-01-15 Eric Botcazou <ebotcazou@adacore.com>
182
183 * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
184
185 2011-01-15 Jan Hubicka <jh@suse.cz>
186
187 PR tree-optimization/47276
188 * ipa.c (function_and_variable_visibility): Do not try to mark alias
189 declarations as needed.
190
191 2011-01-15 Martin Jambor <mjambor@suse.cz>
192
193 * common.opt (fdevirtualize): New flag.
194 * doc/invoke.texi (Option Summary): Document it.
195 * opts.c (default_options_table): Add devirtualize flag.
196 * ipa-prop.c (detect_type_change): Return immediately if
197 devirtualize flag is not set.
198 (detect_type_change_ssa): Likewise.
199 (compute_known_type_jump_func): Likewise.
200 (ipa_analyze_virtual_call_uses): Likewise.
201
202 2011-01-14 Martin Jambor <mjambor@suse.cz>
203
204 PR tree-optimization/45934
205 PR tree-optimization/46302
206 * ipa-prop.c (type_change_info): New type.
207 (stmt_may_be_vtbl_ptr_store): New function.
208 (check_stmt_for_type_change): Likewise.
209 (detect_type_change): Likewise.
210 (detect_type_change_ssa): Likewise.
211 (compute_complex_assign_jump_func): Check for dynamic type change.
212 (compute_complex_ancestor_jump_func): Likewise.
213 (compute_known_type_jump_func): Likewise.
214 (compute_scalar_jump_functions): Likewise.
215 (ipa_analyze_virtual_call_uses): Likewise.
216 (ipa_analyze_node): Push and pop cfun, set current_function_decl.
217
218 2011-01-14 Joseph Myers <joseph@codesourcery.com>
219
220 * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
221 * config/i386/i386.opt (msse5): New Alias.
222
223 2011-01-14 Joseph Myers <joseph@codesourcery.com>
224
225 * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
226 * config/sparc/linux64.h (CC1_SPEC): Likewise.
227 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
228 * config/sparc/sparc.h (CC1_SPEC): Likewise.
229
230 2011-01-14 Joseph Myers <joseph@codesourcery.com>
231
232 * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
233 -mcpu options.
234 * config/sparc/linux64.h (CC1_SPEC): Likewise.
235 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
236 * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
237 * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
238 Likewise.
239 * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
240
241 2011-01-14 Joseph Myers <joseph@codesourcery.com>
242
243 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
244 -fvec-eabi.
245
246 2011-01-14 Mike Stump <mikestump@comcast.net>
247
248 * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
249 * config/fr30/fr30.md: Likweise
250 (movsi_push): Likewise.
251 (movsi_pop): Likewise.
252 (enter_func): Likewise.
253 * config/moxie/moxie.md (movsi_push): Likewise.
254 (movsi_pop): Likewise.
255
256 2011-01-14 Joseph Myers <joseph@codesourcery.com>
257
258 * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
259 %{no_archive} %{exact_version}.
260 * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
261 * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
262 %{no_archive} %{exact_version}.
263 * config/mips/openbsd.h (LINK_SPEC): Likewise.
264 * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
265 * config/mips/vxworks.h: Likewise.
266
267 2011-01-14 Joseph Myers <joseph@codesourcery.com>
268
269 * config/microblaze/microblaze.h (ASM_SPEC): Remove
270 %{microblaze1}.
271
272 2011-01-14 Joseph Myers <joseph@codesourcery.com>
273
274 * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
275 ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
276
277 2011-01-14 Joseph Myers <joseph@codesourcery.com>
278
279 * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
280 -nodefaultlib.
281
282 2011-01-14 Joseph Myers <joseph@codesourcery.com>
283
284 * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
285 for mcpu not cpu.
286 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
287 CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
288 not cpu.
289 (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
290 Don't handle -shlib.
291
292 2011-01-14 Joseph Myers <joseph@codesourcery.com>
293
294 * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
295 (CC1_SPEC): Don't handle -profile.
296
297 2011-01-14 Joseph Myers <joseph@codesourcery.com>
298
299 * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
300 * config/mips/mips.h (CC1_SPEC): Likewise.
301
302 2011-01-14 Joseph Myers <joseph@codesourcery.com>
303
304 * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
305 * config/mips/mips.h (CC1_SPEC): Likewise.
306
307 2011-01-14 Joseph Myers <joseph@codesourcery.com>
308
309 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
310 * config/m32r/linux.h (LINK_SPEC): Likewise.
311 * config/mips/linux.h (LINK_SPEC): Likewise.
312 * config/mips/linux64.h (LINK_SPEC): Likewise.
313 * config/sparc/linux.h (LINK_SPEC): Likewise.
314 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
315 LINK_SPEC): Likewise.
316 * config/xtensa/linux.h (LINK_SPEC): Likewise.
317
318 2011-01-14 Joseph Myers <joseph@codesourcery.com>
319
320 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
321 %{version:-v}.
322 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
323
324 2011-01-14 Joseph Myers <joseph@codesourcery.com>
325
326 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
327 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
328
329 2011-01-14 Joseph Myers <joseph@codesourcery.com>
330
331 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
332
333 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
334
335 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
336 supports -Bstatic/-Bdynamic.
337 * configure: Regenerate.
338
339 2011-01-14 Jan Hubicka <jh@suse.cz>
340 Jack Howarth <howarth@bromo.med.uc.edu>
341
342 PR target/46037
343 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
344 when checking debug_info_level. Test write_symbols instead of
345 debug_hooks->var_location when setting flag_var_tracking_uninit.
346
347 2011-01-14 Richard Guenther <rguenther@suse.de>
348
349 PR tree-optimization/47179
350 * target.def (ref_may_alias_errno): New target hook.
351 * targhooks.h (default_ref_may_alias_errno): Declare.
352 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
353 (default_ref_may_alias_errno): New function.
354 * target.h (struct ao_ref_s): Declare.
355 * tree-ssa-alias.c: Include target.h.
356 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
357 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
358 (targhooks.o): Likewise.
359 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
360 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
361
362 2011-01-14 Richard Guenther <rguenther@suse.de>
363
364 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
365
366 2011-01-14 Richard Guenther <rguenther@suse.de>
367
368 PR tree-optimization/47280
369 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
370 return CFG changes.
371 (tree_ssa_forward_propagate_single_use_vars): Deal with
372 CFG changes from associate_plusminus.
373
374 2011-01-14 Richard Guenther <rguenther@suse.de>
375
376 PR middle-end/47281
377 Revert
378 2011-01-11 Richard Guenther <rguenther@suse.de>
379
380 PR tree-optimization/46076
381 * tree-ssa.c (useless_type_conversion_p): Conversions from
382 unprototyped to empty argument list function types are useless.
383
384 2011-01-14 Richard Guenther <rguenther@suse.de>
385
386 PR tree-optimization/47286
387 * tree-ssa-structalias.c (new_var_info): Register variables are global.
388
389 2011-01-14 Martin Jambor <mjambor@suse.cz>
390
391 PR middle-end/46823
392 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
393
394 2011-01-13 Anatoly Sokolov <aesok@post.ru>
395
396 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
397 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
398 * config/xtensa/xtensa.c (xtensa_libcall_value,
399 xtensa_function_value_regno_p): New functions.
400 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
401
402 2011-01-13 Kai Tietz <kai.tietz@onevision.com>
403
404 PR c++/47213
405 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
406 PE specific hook.
407 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
408 New function prototype.
409 * config/i386/winnt.c (i386_pe_assemble_visibility):
410 Warn only if attribute was specified by user.
411
412 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
413
414 PR target/47251
415 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
416 floating point.
417 (floatunsdidf2_fcfidu): Ditto.
418
419 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
420
421 * config/s390/s390.c (print_operand_address): Replace 'error' with
422 'output_operand_lossage'.
423 (print_operand): Likewise.
424
425 2011-01-13 Jeff Law <law@redhat.com>
426
427 PR rtl-optimization/39077
428 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
429 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
430 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
431 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
432 * gcse.c (prune_insertions_deletions): New function.
433 (compute_pre_data): Use it.
434
435 2011-01-13 Dodji Seketeli <dodji@redhat.com>
436
437 PR debug/PR46973
438 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
439 static function.
440 (prune_unused_types_mark): Use it.
441
442 2011-01-13 Andrey Belevantsev <abel@ispras.ru>
443
444 PR rtl-optimization/45352
445 * sel-sched.c: Update copyright years.
446 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
447 in the advancing loop when we have issued issue_rate insns.
448
449 2011-01-12 Richard Henderson <rth@redhat.com>
450
451 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
452 (TARGET_MD_ASM_CLOBBERS): New.
453
454 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
455 (TARGET_DELEGITIMIZE_ADDRESS): New.
456
457 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
458 (clzsi2, *bsch): New patterns.
459
460 * config/mn10300/mn10300.md (INT): New mode iterator.
461 (*mov<INT>_clr): New pattern, and peep2 to generate it.
462
463 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
464 flag_split_wide_types.
465
466 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
467 (mn10300_trampoline_init): Rewrite without a template, an immediate
468 load and a direct branch.
469 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
470
471 2011-01-12 Anatoly Sokolov <aesok@post.ru>
472
473 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
474 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
475 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
476 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
477
478 2011-01-12 Kai Tietz <kai.tietz@onevision.com>
479
480 PR debug/47209
481 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
482 of type.
483
484 2011-01-12 Jan Hubicka <jh@suse.cz>
485
486 PR driver/47244
487 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
488 (PLUGIN_COND_CLOSE): New macro.
489 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
490
491 2011-01-12 Richard Guenther <rguenther@suse.de>
492
493 PR lto/47259
494 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
495 register variables in a MEM_REF.
496
497 2011-01-12 Joseph Myers <joseph@codesourcery.com>
498
499 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
500 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
501 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
502 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
503 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
504 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
505 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
506 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
507 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
508 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
509 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
510 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
511 * config/gnu-user.h: New. Copied from linux.h.
512 (LINUX_TARGET_STARTFILE_SPEC): Rename to
513 GNU_USER_TARGET_STARTFILE_SPEC.
514 (LINUX_TARGET_ENDFILE_SPEC): Rename to
515 GNU_USER_TARGET_ENDFILE_SPEC.
516 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
517 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
518 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
519 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
520 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
521 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
522 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
523 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
524 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
525 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
526 * config/arm/linux-eabi.h (CC1_SPEC): Use
527 GNU_USER_TARGET_CC1_SPEC.
528 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
529 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
530 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
531 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
532 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
533 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
534 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
535 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
536
537 2011-01-12 Richard Guenther <rguenther@suse.de>
538
539 PR other/46946
540 * doc/invoke.texi (ffast-math): Document it is turned on
541 with -Ofast.
542
543 2011-01-12 Jan Hubicka <jh@suse.cz>
544
545 PR tree-optimization/47233
546 * opts.c (common_handle_option): Disable ipa-reference with profile
547 feedback.
548
549 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
550
551 * c-parser.c (c_parser_objc_at_property_declaration): Improved
552 error message.
553
554 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
555
556 * c-parser.c (c_lex_one_token): Updated and reindented some
557 comments. No changes in code.
558
559 2011-01-11 Ian Lance Taylor <iant@google.com>
560
561 * godump.c (go_output_var): Don't output the variable if there is
562 already a type with the same name.
563
564 2011-01-11 Ian Lance Taylor <iant@google.com>
565
566 * godump.c (go_format_type): Don't generate float80.
567
568 2011-01-11 Richard Henderson <rth@redhat.com>
569
570 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
571 declaration. Rewrite for both speed and size.
572 (mn10300_address_cost_1): Remove.
573 (mn10300_register_move_cost): New.
574 (mn10300_memory_move_cost): New.
575 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
576 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
577 extensions, shifts, BSWAP, CLZ.
578 (mn10300_wide_const_load_uses_clr): Remove.
579 (TARGET_REGISTER_MOVE_COST): New.
580 (TARGET_MEMORY_MOVE_COST): New.
581 * config/mn10300/mn10300-protos.h: Update.
582 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
583
584 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
585 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
586 * config/mn10300/mn10300-protos.h: Update.
587 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
588 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
589 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
590 (*test_int_bitfield, *test_byte_bitfield): Remove.
591 (*bit_test, *subreg_bit_test): Remove.
592 * config/mn10300/predicates.md (const_8bit_operand): Remove.
593
594 * config/mn10300/constraints.md ("c"): Rename from "A".
595 ("A", "D"): New constraint letters.
596 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
597 (fmssf4, fnmasf4, fnmssf4): Likewise.
598
599 * config/mn10300/mn10300.md (isa): New attribute.
600 (enabled): New attribute.
601
602 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
603 (abssf2, negsf2): Define only for hardware fp.
604 (sqrtsf2): Reformat.
605 (addsf3, subsf3, mulsf3): Merge expander and insn.
606
607 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
608 (DEBUGGER_AUTO_OFFSET): Remove.
609 (DEBUGGER_ARG_OFFSET): Remove.
610
611 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
612 Emit register stores with the same offsets as the hardware.
613 (mn10300_store_multiple_operation): Don't check that the register
614 save offsets are monotonic.
615 * config/mn10300/mn10300-protos.h: Update.
616
617 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
618
619 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
620 in terms of the value on the stack, not the MDR register.
621
622 2011-01-11 Jan Hubicka <jh@suse.cz>
623
624 PR lto/45721
625 PR lto/45375
626 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
627 (symbol_alias_set_destroy, symbol_alias_set_contains,
628 propagate_aliases_backward): Declare.
629 * lto-streamer-out.c (struct sets): New sturcture.
630 (trivally_defined_alias): New function.
631 (output_alias_pair_p): Rewrite.
632 (output_unreferenced_globals): Fix output of alias pairs.
633 (produce_symtab): Likewise.
634 * ipa.c (function_and_variable_visibility): Set weak alias destination
635 as needed in lto.
636 * varasm.c (symbol_alias_set_t): Remove.
637 (symbol_alias_set_destroy): Export.
638 (propagate_aliases_forward, propagate_aliases_backward): New functions
639 based on ...
640 (compute_visible_aliases): ... this one; remove.
641 (trivially_visible_alias): New
642 (trivially_defined_alias): New.
643 (remove_unreachable_alias_pairs): Rewrite.
644 (finish_aliases_1): Reorganize code checking if alias is defined.
645 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
646 in LTO mode.
647
648 2011-01-11 Richard Guenther <rguenther@suse.de>
649
650 PR tree-optimization/46076
651 * tree-ssa.c (useless_type_conversion_p): Conversions from
652 unprototyped to empty argument list function types are useless.
653
654 2011-01-11 Richard Guenther <rguenther@suse.de>
655
656 PR middle-end/45235
657 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
658 volatile MEMs as MEM_READONLY_P.
659
660 2011-01-11 Richard Guenther <rguenther@suse.de>
661
662 PR tree-optimization/47239
663 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
664
665 2011-01-11 Jeff Law <law@redhat.com>
666
667 PR tree-optimization/47086
668 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
669 IVs from statements that might throw.
670
671 2011-01-10 Jan Hubicka <jh@suse.cz>
672
673 PR lto/45375
674 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
675
676 2011-01-10 Jan Hubicka <jh@suse.cz>
677
678 PR lto/45375
679 * profile.c (read_profile_edge_counts): Ignore profile inconistency
680 when correcting profile.
681
682 2011-01-10 Jan Hubicka <jh@suse.cz>
683
684 PR lto/46083
685 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
686 DECL_FINI_PRIORITY.
687 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
688 Restore DECL_FINI_PRIORITY.
689
690 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
691
692 * doc/gimple.texi: Fix quoting of multi-word return values in
693 @deftypefn statements. Ensure presence of return value. Wrap
694 overlong @deftypefn lines.
695 (is_gimple_operand, is_gimple_min_invariant_address): Remove
696 descriptions of removed functions.
697 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
698 of multi-word return value in @deftypefn statement.
699
700 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
701
702 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
703 (Conditional Expressions, Logical Operators)
704 (Statement and operand traversals): Do not indent smallexample
705 code. Fix duplicate function argument in example.
706
707 2011-01-10 Jeff Law <law@redhat.com>
708
709 PR tree-optimization/47141
710 * ipa-split.c (split_function): Handle case where we are
711 returning a value and the return block has a virtual operand phi.
712
713 2011-01-10 Jan Hubicka <jh@suse.cz>
714
715 PR tree-optimization/47234
716 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
717 (pass_feedback_split_functions): Declare.
718 * passes.c (init_optimization_passes): Add ipa-split as subpass of
719 tree-profile.
720 * ipa-split.c (gate_split_functions): Update comments; disable
721 split-functions for profile_arc_flag and branch_probabilities.
722 (gate_feedback_split_functions): New function.
723 (execute_feedback_split_functions): New function.
724 (pass_feedback_split_functions): New global var.
725
726 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
727
728 PR lto/46760
729 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
730 calling gimple_call_set_cannot_inline.
731
732 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
733
734 * config/darwin-sections.def: Remove unused section.
735
736 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
737
738 PR c++/47218
739 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
740
741 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
742
743 PR objc/47232
744 * c-parser.c (c_parser_declaration_or_fndef): Improved
745 error message.
746
747 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
748
749 * config/i386/winnt.c (i386_pe_start_function): Make sure
750 to switch back to function's section.
751
752 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
753
754 PR gcc/46902
755 PR testsuite/46912
756 * plugin.c: Move include of dlfcn.h from here...
757 * system.h: ... to here.
758
759 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
760
761 * doc/cpp.texi (C++ Named Operators): Fix markup for header
762 file name.
763 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
764 two extra empty pages in PDF output.
765
766 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
767
768 PR objc/47078
769 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
770 for error recovery purposes behave as if it was not specified so
771 that the default type is usd.
772
773 2011-01-07 Jan Hubicka <jh@suse.cz>
774
775 PR tree-optmization/46469
776 * ipa.c (function_and_variable_visibility): Clear needed flags on
777 nodes with external decls; handle weakrefs merging correctly.
778
779 2011-01-07 Joseph Myers <joseph@codesourcery.com>
780
781 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
782 not false.
783
784 2011-01-07 Jan Hubicka <jh@suse.cz>
785
786 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
787 and no longer claim that gold is required for linker plugin.
788 * configure: Regenerate.
789 * gcc.c (PLUGIN_COND): New macro.
790 (LINK_COMMAND_SPEC): Use it.
791 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
792 * config.in (HAVE_LTO_PLUGIN): New.
793 * configure.ac (--with-lto-plugin): New parameter; autodetect
794 HAVE_LTO_PLUGIN.
795
796 2011-01-07 Jan Hubicka <jh@suse.cz>
797
798 PR tree-optimization/46367
799 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
800 when we can update original.
801 (cgraph_mark_inline_edge): Sanity check.
802 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
803
804 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
805
806 * config/spu/spu.h (ASM_COMMENT_START): Define.
807
808 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
809
810 PR driver/42445
811 * gcc.c (%>S): New.
812 (SWITCH_KEEP_FOR_GCC): Likewise.
813 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
814 (do_spec_1): Handle "%>".
815
816 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
817
818 2011-01-07 Jakub Jelinek <jakub@redhat.com>
819
820 PR target/47201
821 * config/i386/i386.c (ix86_delegitimize_address): If
822 simplify_gen_subreg fails, return orig_x.
823
824 PR bootstrap/47187
825 * value-prof.c (gimple_stringop_fixed_value): Handle
826 lhs of the call properly.
827
828 2011-01-07 Jan Hubicka <jh@suse.cz>
829
830 PR lto/45375
831 * lto-opt.c (lto_reissue_options): Set flag_shlib.
832
833 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
834
835 * target.def (function_switched_text_sections): New hook.
836 * doc/tm.texi: Regenerated.
837 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
838 * final.c (default_function_switched_text_sections): New.
839 (final_scan_insn): Call function_switched_text_sections when a
840 mid-function section change occurs.
841 * output.h (default_function_switched_text_sections): Declare.
842 * config/darwin-protos.h (darwin_function_switched_text_sections):
843 Likewise.
844 * config/darwin.c (darwin_function_switched_text_sections): New.
845 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
846
847 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
848
849 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
850 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
851 the secondary code fragment when outputting for DWARF == 2.
852
853 2011-01-07 Anatoly Sokolov <aesok@post.ru>
854
855 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
856 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
857 Remove.
858 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
859 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
860
861 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
862
863 PR debug/46704
864 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
865 when it is not empty.
866
867 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
868
869 Bobcat Enablement
870 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
871 (case ${target}): Add btver1.
872 * config/i386/driver-i386.c (host_detect_local_cpu): Let
873 -march=native recognize btver1 processors.
874 * config/i386/i386-c.c (ix86_target_macros_internal): Add
875 btver1 def_and_undef
876 * config/i386/i386.c (struct processor_costs btver1_cost): New
877 btver1 cost table.
878 (m_BTVER1): New definition.
879 (m_AMD_MULTIPLE): Includes m_BTVER1.
880 (initial_ix86_tune_features): Add btver1 tune.
881 (processor_target_table): Add btver1 entry.
882 (static const char *const cpu_names): Add btver1 entry.
883 (software_prefetching_beneficial_p): Add btver1.
884 (ix86_option_override_internal): Add btver1 instruction sets.
885 (ix86_issue_rate): Add btver1.
886 (ix86_adjust_cost): Add btver1.
887 * config/i386/i386.h (TARGET_BTVER1): New definition.
888 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
889 (enum processor_type): Add PROCESSOR_BTVER1.
890 * config/i386/i386.md (define_attr "cpu"): Add btver1.
891
892 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
893
894 PR target/43309
895 * config/i386/i386.c (legitimize_tls_address)
896 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
897 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
898 (tls_initial_exec_64_sun): New pattern.
899
900 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
901
902 * doc/invoke.texi (Overall Options): Improve wording and markup
903 of the description of -wrapper.
904
905 2011-01-06 Joseph Myers <joseph@codesourcery.com>
906
907 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
908 rdynamic, threads): New Driver options.
909
910 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
911
912 PR target/38118
913 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
914 if coming from .tdata.
915 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
916
917 2011-01-06 Jan Hubicka <jh@suse.cz>
918
919 PR lto/47188
920 * collect2.c (main): Do not enable LTOmode when plugin is active.
921
922 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
923
924 PR other/45915
925 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
926 --version output if supported.
927 * configure: Regenerate.
928
929 2011-01-06 Joseph Myers <joseph@codesourcery.com>
930
931 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
932 Driver options.
933
934 2011-01-06 Jakub Jelinek <jakub@redhat.com>
935
936 PR c/47150
937 * c-convert.c (convert): When converting a complex expression
938 other than COMPLEX_EXPR to a different complex type, ensure
939 c_save_expr is called instead of save_expr, unless in_late_binary_op.
940 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
941 when converting COMPLEX_TYPE.
942
943 2011-01-06 Ira Rosen <irar@il.ibm.com>
944
945 PR tree-optimization/47139
946 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
947 only the last reduction value is used outside the loop. Update
948 documentation.
949
950 2011-01-05 Joseph Myers <joseph@codesourcery.com>
951
952 * config/rtems.opt: New.
953 * config.gcc (*-*-rtems*): Use rtems.opt.
954
955 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
956
957 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
958 processors do not support 3DNow instructions.
959
960 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
961
962 * config/spu/spu.c (spu_option_override): Set parameter
963 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
964
965 2011-01-05 Jan Hubicka <jh@suse.cz>
966
967 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
968 at the command line.
969
970 2011-01-05 Martin Jambor <mjambor@suse.cz>
971
972 PR lto/47162
973 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
974 deltas on streamed outgoing edges.
975 (output_node_opt_summary): Output info for outgoing edges only when
976 the node is in new parameter set.
977 (output_cgraph_opt_summary): New parameter set, passed to the two
978 aforementioned functions. Update its forward declaration and its
979 callee too.
980
981 2011-01-05 Tom Tromey <tromey@redhat.com>
982
983 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
984 operator to c_finish_omp_atomic.
985 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
986 (build_unary_op): Update.
987 (build_modify_expr): Update.
988 (build_asm_expr): Update.
989
990 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
991
992 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
993 newly inserted insns.
994 (pad_bb): Likewise.
995 (spu_emit_branch_hint): Likewise.
996 (insert_hbrp_for_ilb_runout): Likewise.
997 (spu_machine_dependent_reorg): Call df_finish_pass after
998 schedule_insns returns.
999
1000 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1001
1002 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
1003
1004 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
1005
1006 PR tree-optimization/47005
1007 * tree-sra.c (struct access): Add 'non_addressable' bit.
1008 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
1009 (decide_one_param_reduction): Return 0 if the parameter is passed by
1010 reference and one of the accesses in the group is non_addressable.
1011
1012 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
1013
1014 PR tree-optimization/47056
1015 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
1016 (mark_load): Likewise. Handle FUNCTION_DECL specially.
1017 (mark_store): Likewise. Pass STMT to ipa_record_reference.
1018
1019 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
1020
1021 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
1022 initializer. Skip view conversions from aggregate types.
1023
1024 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1025
1026 PR bootstrap/47055
1027 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
1028
1029 2011-01-04 Philipp Thomas <pth@suse.de>
1030
1031 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
1032 obvious typo.
1033
1034 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1035
1036 * function.c (thread_prologue_and_epilogue_insns): Do not crash
1037 on empty epilogue sequences.
1038
1039 2011-01-04 Joseph Myers <joseph@codesourcery.com>
1040
1041 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
1042 non-static): New Driver options.
1043
1044 2011-01-04 Jie Zhang <jie@codesourcery.com>
1045
1046 PR driver/47137
1047 * gcc.c (default_compilers[]): Set combinable field to 0
1048 for all assembly languages.
1049
1050 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
1051
1052 * config/mips/loongson3a.md: New file.
1053 * config/mips/mips.md: Include loongson3a.md.
1054 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
1055 TUNE_LOONGSON_3A.
1056
1057 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
1058
1059 PR middle-end/47017
1060 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
1061 instead of convert_memory_address_addr_space on the base expression.
1062
1063 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1064
1065 * config/spu/spu.c (spu_option_override): Update error text
1066 for bad -march= / -mtune= values.
1067
1068 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1069
1070 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
1071 if branch-hint optimization will be performed.
1072
1073 2011-01-03 Jakub Jelinek <jakub@redhat.com>
1074
1075 PR tree-optimization/47148
1076 * ipa-split.c (split_function): Convert arguments to
1077 DECL_ARG_TYPE if possible.
1078
1079 PR tree-optimization/47155
1080 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
1081 when computing uns.
1082
1083 PR rtl-optimization/47157
1084 * combine.c (try_combine): If undobuf.other_insn becomes
1085 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
1086 and set *new_direct_jump_p too.
1087
1088 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
1089
1090 PR tree-optimization/47021
1091 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
1092
1093 2011-01-03 Jakub Jelinek <jakub@redhat.com>
1094
1095 * gcc.c (process_command): Update copyright notice dates.
1096 * gcov.c (print_version): Likewise.
1097 * gcov-dump.c (print_version): Likewise.
1098 * mips-tfile.c (main): Likewise.
1099 * mips-tdump.c (main): Likewise.
1100
1101 2011-01-03 Martin Jambor <mjambor@suse.cz>
1102
1103 PR tree-optimization/46801
1104 * tree-sra.c (type_internals_preclude_sra_p): Check whether
1105 aggregate fields start at byte boundary instead of the bit-field flag.
1106
1107 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 PR driver/47137
1110 * gcc.c (main): Revert revision 168407.
1111
1112 2011-01-03 Martin Jambor <mjambor@suse.cz>
1113
1114 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
1115
1116 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1117
1118 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
1119 vector optab to expand vector/scalar shift, update gimple to vector.
1120
1121 2011-01-03 Martin Jambor <mjambor@suse.cz>
1122
1123 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
1124 a thunk.
1125
1126 2011-01-03 Martin Jambor <mjambor@suse.cz>
1127
1128 PR tree-optimization/46984
1129 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
1130 HOST_WIDE_INT.
1131 (cgraph_create_indirect_edge): Fixed line length.
1132 (cgraph_indirect_call_info): Declare.
1133 (cgraph_make_edge_direct) Update declaration.
1134 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
1135 (cgraph_create_indirect_edge): Use it.
1136 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
1137 callees.
1138 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
1139 the new thunk_delta representation.
1140 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
1141 HOST_WIDE_INT.
1142 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
1143 (ipa_read_indirect_edge_info): Likewise.
1144 * lto-cgraph.c (output_edge_opt_summary): New function.
1145 (output_node_opt_summary): Call it on all outgoing edges.
1146 (input_edge_opt_summary): New function.
1147 (input_node_opt_summary): Call it on all outgoing edges.
1148
1149 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 PR driver/47137
1152 * gcc.c (main): Don't check have_o when settting combine_inputs.
1153
1154 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
1155
1156 * regrename.c: Add general comment describing the pass.
1157 (struct du_head): Remove 'length' field.
1158 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
1159 (regrename_optimize): Do not sort chains. Rework comments, add others.
1160 Force renaming to the preferred class (if any) in the first pass and do
1161 not consider registers that belong to it in the second pass.
1162 (create_new_chain): Do not set 'length' field.
1163 (scan_rtx_reg): Likewise.
1164
1165 2011-01-02 Jakub Jelinek <jakub@redhat.com>
1166
1167 PR tree-optimization/47140
1168 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
1169 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
1170 to bit_value_binop.
1171
1172 PR rtl-optimization/47028
1173 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
1174 parm_birth_insn instead of at the beginning of first bb.
1175
1176 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
1177
1178 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
1179 Remove the word "see" before "@pxref".
1180 * doc/rtl.texi: Remove the word "see" before "@pxref".
1181
1182 2011-01-01 Jan Hubicka <jh@suse.cz>
1183
1184 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
1185 memory.
1186
1187 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
1188
1189 PR target/38662
1190 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
1191
1192 \f
1193 Copyright (C) 2011 Free Software Foundation, Inc.
1194
1195 Copying and distribution of this file, with or without modification,
1196 are permitted in any medium without royalty provided the copyright
1197 notice and this notice are preserved.