OSDN Git Service

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