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