OSDN Git Service

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