OSDN Git Service

gcc/ChangeLog:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2011-02-02  Alexandre Oliva  <aoliva@redhat.com>
2
3         PR debug/47498
4         PR debug/47501
5         PR debug/45136
6         PR debug/45130
7         * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
8         debug insns.
9         (no_real_insns_p, schedule_block, set_priorities): Drop special
10         treatment of boundary debug insns.
11         * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
12         insns.
13         * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns.
14         * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
15         (BOUNDARY_DEBUG_INSN_P): Likewise.
16         (SCHEDULE_DEBUG_INSN_P): Likewise.
17         * sched-rgn.c (init_ready_list): Drop special treatment of
18         boundary debug insns.
19         * final.c (rest_of_clean_state): Clear notes' BB.
20
21 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
22
23         * config/openbsd.opt (assert=): New Driver option.
24
25 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
26
27         * config/i386/nto.opt: New.
28         * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt.
29
30 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
31
32         * config/i386/netware.opt: New.
33         * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt.
34
35 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
36
37         * config/interix.opt (posix): New Driver option.
38
39 2011-02-01  DJ Delorie  <dj@redhat.com>
40
41         * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition.
42
43         * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg
44         class for A0/A1.
45
46 2011-02-01  Sebastian Pop  <sebastian.pop@amd.com>
47
48         PR tree-optimization/47561
49         * toplev.c (process_options): Print the Graphite flags.  Add
50         flag_loop_flatten to the list of options requiring Graphite.
51
52 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
53
54         * config/i386/cygming.opt (posix): New Driver option.
55
56 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
57
58         * config/arm/vxworks.opt: New.
59         * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt.
60
61 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
62
63         * config/alpha/elf.opt: New.
64         * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*,
65         alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt.
66
67 2011-02-01  Richard Guenther  <rguenther@suse.de>
68
69         PR tree-optimization/47559
70         * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform
71         store-motion on references that can throw.
72
73 2011-02-01  Bernd Schmidt  <bernds@codesourcery.com>
74
75         * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB.
76         * tree-pass.h (TDF_CSELIB): New macro.
77         * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1,
78         cselib_lookup): Check for it rather than for TDF_DETAILS.
79
80 2011-02-01  H.J. Lu  <hongjiu.lu@intel.com>
81
82         PR driver/47547
83         * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output
84         is HOST_BIT_BUCKET.
85
86         * opts.c (finish_options): Don't add x_aux_base_name if it is
87         HOST_BIT_BUCKET.
88
89 2011-02-01  Richard Guenther  <rguenther@suse.de>
90
91         PR tree-optimization/47555
92         Revert
93         2010-07-15  Sebastian Pop  <sebastian.pop@amd.com>
94
95         * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
96
97 2011-02-01  Sebastien Bourdeauducq  <sebastien@milkymist.org>
98
99         PR gcc/46692
100         * config/lm32/t-lm32: Add multilib for all CPU options.
101
102 2011-02-01  Richard Guenther  <rguenther@suse.de>
103
104         PR tree-optimization/47541
105         * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make
106         sure to have a field at offset zero.
107
108 2011-01-31  Joseph Myers  <joseph@codesourcery.com>
109
110         * config/arc/arc.opt (EB, EL): New Driver options.
111
112 2011-01-31  Joseph Myers  <joseph@codesourcery.com>
113
114         * config/alpha/osf5.opt: New.
115         * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt.
116
117 2011-01-31  Joseph Myers  <joseph@codesourcery.com>
118
119         * config/vms/vms.opt (map, mvms-return-codes): New Driver options.
120
121 2011-01-31  Sebastian Pop  <sebastian.pop@amd.com>
122
123         * common.opt (ftree-loop-linear): Use Alias to make it an alias of
124         -floop-interchange.
125         * invoke.texi (-ftree-loop-linear): Make it clear that this flag
126         is an alias of -floop-interchange and that it requires the
127         Graphite infrastructure.
128         * tree-ssa-loop.c (gate_graphite_transforms): Do not set
129         flag_loop_interchange based on the value of flag_tree_loop_linear.
130
131 2011-01-31  Jakub Jelinek  <jakub@redhat.com>
132             Richard Guenther  <rguenther@suse.de>
133
134         PR tree-optimization/47538
135         * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use
136         type instead of r1type, except for comparisons.  For right
137         shifts and comparisons punt if there are mismatches in
138         sizetype vs. non-sizetype types.
139
140 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
141
142         * doc/sourcebuild.texi (Effective-Target Keywords): Document
143         avx_runtime.
144
145 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
146
147         * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld
148         version number.
149         * configure: Regenerate.
150
151 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
152
153         * configure.ac (gcc_cv_ld_static_option): Define.
154         (gcc_cv_ld_dynamic_option): Define.
155         (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive
156         instead.
157         (HAVE_LD_STATIC_DYNAMIC): Update message.
158         (LD_STATIC_OPTION): Define.
159         (LD_DYNAMIC_OPTION): Define.
160         * configure: Regenerate.
161         * config.in: Regenerate.
162         * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS &&
163         HAVE_LD_STATIC_DYNAMIC]: Use them.
164
165 2011-01-31  Nick Clifton  <nickc@redhat.com>
166
167         * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered
168         registers inside interrupt handlers if the handler is not a leaf
169         function.
170
171 2011-01-31  Nick Clifton  <nickc@redhat.com>
172
173         * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for
174         reg_renumber returning an INVALID_REGNUM.
175
176 2011-01-31  Alexandre Oliva  <aoliva@redhat.com>
177
178         PR libgcj/44341
179         * doc/install.texi: Document host options discarded when cross
180         configuring target libraries.
181
182 2011-01-31  Alexandre Oliva  <aoliva@redhat.com>
183
184         Reverted:
185         2011-01-25  Alexandre Oliva  <aoliva@redhat.com>
186         PR debug/45136
187         PR debug/45130
188         * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
189         debug insns.
190         (no_real_insns_p, schedule_block, set_priorities): Drop special
191         treatment of boundary debug insns.
192         * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
193         insns.
194         * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
195         * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
196         (BOUNDARY_DEBUG_INSN_P): Likewise.
197         (SCHEDULE_DEBUG_INSN_P): Likewise.
198         * sched-rgn.c (init_ready_list): Drop special treatment of
199         boundary debug insns.
200         * final.c (rest_of_clean-state): Clear notes' BB.
201
202 2011-01-31  Alan Modra  <amodra@gmail.com>
203
204         * config/rs6000/rs6000.c (print_operand): Rearrange addends in
205         toc relative expressions as we do in print_operand_address.
206
207 2011-01-30  Kazu Hirata  <kazu@codesourcery.com>
208
209         * doc/extend.texi: Follow spelling conventions.
210         * doc/invoke.texi: Fix a typo.
211
212 2011-01-30  Joseph Myers  <joseph@codesourcery.com>
213
214         * config/hpux11.opt: New.
215         * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*,
216         ia64*-*-hpux*): Use hpux11.opt.
217
218 2011-01-30  Jonathan Yong <jon_y@users.sourceforge.net>
219
220         * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules
221         to tmake_file.
222
223 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
224
225         * doc/install.texi (hppa-hp-hpux10): Remove references to HP
226         support sites.
227
228 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
229
230         * doc/install.texi (Binaries): Remove outdated reference for
231         Motorola 68HC11/68HC12 downloads.
232
233 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
234
235         * doc/extend.texi (Thread-Local): Adjust reference to Ulrich
236         Drepper's paper.
237
238 2011-01-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
239
240         PR bootstrap/47147
241         * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as
242         used by NetBSD.
243
244 2011-01-28  Ahmad Sharif <asharif@google.com>
245
246         * value-prof.c (check_counter): Corrected error message.
247
248 2011-01-29  Jie Zhang  <jie@codesourcery.com>
249
250         * config/arm/arm.c (arm_legitimize_reload_address): New.
251         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
252         arm_legitimize_reload_address.
253         * config/arm/arm-protos.h (arm_legitimize_reload_address):
254         Declare.
255
256 2011-01-28  Ian Lance Taylor  <iant@google.com>
257
258         * godump.c (go_define): Ignore macros whose definitions include
259         two adjacent operands.
260
261 2011-01-28  Jakub Jelinek  <jakub@redhat.com>
262
263         PR target/42894
264         * varasm.c (force_const_mem): Store copy of x in desc->constant
265         instead of x itself.
266         * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
267         itself into REG_EQUAL note.
268
269 2011-01-28  Joseph Myers  <joseph@codesourcery.com>
270
271         * config/freebsd.opt (posix, rdynamic): New Driver options.
272
273 2011-01-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
274
275         * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports
276         -Bstatic/-Bdynamic.
277         * configure: Regenerate.
278
279 2011-01-27  Joseph Myers  <joseph@codesourcery.com>
280
281         * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile.
282         * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile.
283
284 2011-01-27  Anatoly Sokolov  <aesok@post.ru>
285
286         * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove.
287         * config/s390/s390-protos.h (s390_preferred_reload_class): Remove.
288         * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
289         (s390_preferred_reload_class): Make static. Change return and
290         'rclass' argument type to reg_class_t.
291
292 2011-01-27  Jan Hubicka  <jh@suse.cz>
293
294         PR middle-end/46949
295         * cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
296         (process_function_and_variable_attributes): Check defined weakrefs.
297
298 2011-01-27  Martin Jambor  <mjambor@suse.cz>
299
300         PR tree-optimization/47228
301         * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of
302         build_ref_for_offset.
303
304 2011-01-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
305
306         * config/spu/spu-elf.h (ASM_SPEC): Remove.
307
308 2011-01-26  Mikael Pettersson <mikpe@it.uu.se>
309
310         PR rtl-optimization/46856
311         * postreload.c (reload_combine_recognize_const_pattern): Do not
312         separate cc0 setter and user on cc0 targets.
313
314 2011-01-26  Nicola Pero  <nicola.pero@meta-innovation.com>
315
316         PR c/43082
317         * c-typeck.c (c_objc_common_truthvalue_conversion): If we are
318         passed a VOID_TYPE expression, immediately emit an error and
319         return error_mark_node.
320
321 2011-01-26  Jeff Law  <law@redhat.com>
322
323         PR rtl-optimization/47464
324         * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p
325         rather than may_trap_p as needed.
326
327 2011-01-26  DJ Delorie  <dj@redhat.com>
328
329         PR rtl-optimization/46878
330         * combine.c (insn_a_feeds_b): Check for the implicit cc0
331         setter/user dependency as well.
332
333 2011-01-26  Eric Botcazou  <ebotcazou@adacore.com>
334
335         PR rtl-optimization/44469
336         * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too
337         after removing trivially dead basic blocks.
338
339 2011-01-26  Joseph Myers  <joseph@codesourcery.com>
340
341         * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}.
342         * config/frv/frv.h (LINK_SPEC): Likewise.
343         * config/i386/netware.h (LINK_SPEC): Likewise.
344         * config/m68k/linux.h (ASM_SPEC): Likewise.
345         * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise.
346         * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
347         * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
348         * config/sparc/linux.h (ASM_SPEC): Likewise.
349         * config/sparc/linux64.h (ASM_SPEC): Likewise.
350         * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
351
352 2011-01-26  Joseph Myers  <joseph@codesourcery.com>
353
354         * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}.
355         * config/frv/frv.h (ASM_SPEC): Likewise.
356         * config/m68k/linux.h (ASM_SPEC): Likewise.
357         * config/pa/pa-linux.h (ASM_SPEC): Likewise.
358         * config/rs6000/linux64.h (ASM_SPEC): Likewise.
359         * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
360         * config/sparc/linux.h (ASM_SPEC): Likewise.
361         * config/sparc/linux64.h (ASM_SPEC): Likewise.
362         * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
363
364 2011-01-26  Joseph Myers  <joseph@codesourcery.com>
365
366         * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}.
367         * config/frv/frv.h (LINK_SPEC): Likewise.
368         * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
369
370 2011-01-26  Joseph Myers  <joseph@codesourcery.com>
371
372         * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}.
373         * config/frv/frv.h (ASM_SPEC): Likewise.
374         * config/i386/sol2-10.h (ASM_SPEC): Likewise.
375         * config/m68k/linux.h (ASM_SPEC): Likewise.
376         * config/pa/pa-linux.h (ASM_SPEC): Likewise.
377         * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
378         * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
379         * config/sol2.h (ASM_SPEC): Remove comment about -Yd,.
380         * config/sparc/linux.h (ASM_SPEC): Likewise.
381         * config/sparc/linux64.h (ASM_SPEC): Likewise.
382         * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
383         * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}.
384
385 2011-01-26  Steve Ellcey  <sje@cup.hp.com>
386
387         PR target/46997
388         * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN.
389         (*mux2): Ditto.
390         (vec_extract_evenodd_help): Ditto.
391         (vec_extract_evenv4hi): Ditto.
392         (vec_extract_oddv4hi): Ditto.
393         (vec_interleave_lowv2si): Ditto.
394         (vec_interleave_highv2si): Ditto.
395         (vec_extract_evenv2si): Ditto.
396         (vec_extract_oddv2si: Ditto.
397         (vec_pack_trunc_v2si): Ditto.
398
399 2011-01-22  Jan Hubicka  <jh@suse.cz>
400
401         PR target/47237
402         * cgraph.h (cgraph_local_info): New field can_change_signature.
403         * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
404         signature can change.
405         (ipcp_estimate_growth): Call sequence simplify only if calle signature
406         can change.
407         (ipcp_insert_stage): Only compute args_to_skip if signature can change.
408         (cgraph_function_versioning): We can not change signature of functions
409         that don't allow that.
410         * lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
411         (lto_input_node): Likewise.
412         * ipa-inline.c (compute_inline_parameters): Compute local.can_change_signature.
413         * ipa-split.c (visit_bb): Never split away APPLY_ARGS.
414         * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions
415         that can not change signature.
416         * i386.c (ix86_function_regparm, ix86_function_sseregparm,
417         init_cumulative_args): Do not use local calling conventions for functions
418         that can not change signature.
419
420 2011-01-22  Jan Hubicka  <jh@suse.cz>
421
422         * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk.
423
424 2011-01-26  Richard Guenther  <rguenther@suse.de>
425
426         PR tree-optimization/47190
427         * cgraphunit.c (process_common_attributes): New function.
428         (process_function_and_variable_attributes): Use it.
429
430 2011-01-26  Richard Guenther  <rguenther@suse.de>
431
432         PR lto/47423
433         * cgraphbuild.c (record_eh_tables): Record reference to personality
434         function.
435
436 2011-01-26  Alexandre Oliva  <aoliva@redhat.com>
437
438         PR debug/45454
439         * sel-sched.c (moveup_expr): Don't let debug insns prevent
440         non-debug insns from moving up.
441
442 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
443
444         PR target/40125
445         * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
446         t-dlldir{,-x} fragment for build and add it to tmake_file.
447         (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
448         * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
449         * config/i386/t-dlldir: New file.
450         (SHLIB_DLLDIR): Define.
451         * config/i386/t-dlldir-x: New file.
452         (SHLIB_DLLDIR): Define.
453         * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
454         (SHLIB_INSTALL): Use it.
455
456 2011-01-26  Chung-Lin Tang  <cltang@codesourcery.com>
457
458         PR target/47246
459         * config/arm/arm.c (thumb2_legitimate_index_p): Change the
460         lower bound of the allowed Thumb-2 coprocessor load/store
461         index range to -256. Add explaining comment.
462
463 2011-01-25  Ian Lance Taylor  <iant@google.com>
464
465         * godump.c (go_define): Improve lexing of macro expansion to only
466         accept expressions which match Go spec.
467
468 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
469
470         PR c++/43601
471         * tree.c (handle_dll_attribute): Handle it.
472         * doc/extend.texi (@item dllexport): Mention it.
473         * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it.
474
475 2011-01-25  Ian Lance Taylor  <iant@google.com>
476
477         PR tree-optimization/26854
478         * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
479         (decl_jump_unsafe): Move higher in file, with no other change.
480         (bind): Set has_jump_unsafe_decl if appropriate.
481         (update_label_decls): Test has_jump_unsafe_decl to avoid loop.
482         (check_earlier_gotos): Likewise.
483         (c_check_switch_jump_warnings): Likewise.
484
485 2011-01-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
486
487         * doc/invoke.texi (Warning Options): Add missing hyphen.
488         (-fprofile-dir): Minor grammatical fixes.
489         (-fbranch-probabilities): Likewise.
490
491 2011-01-25  Alexandre Oliva  <aoliva@redhat.com>
492
493         PR debug/45136
494         PR debug/45130
495         * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
496         debug insns.
497         (no_real_insns_p, schedule_block, set_priorities): Drop special
498         treatment of boundary debug insns.
499         * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
500         insns.
501         * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
502         * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
503         (BOUNDARY_DEBUG_INSN_P): Likewise.
504         (SCHEDULE_DEBUG_INSN_P): Likewise.
505         * sched-rgn.c (init_ready_list): Drop special treatment of
506         boundary debug insns.
507         * final.c (rest_of_clean-state): Clear notes' BB.
508
509 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
510
511         * Makefile.in (LAMBDA_H): Removed.
512         (TREE_DATA_REF_H): Remove dependence on LAMBDA_H.
513         (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o,
514         lambda-trans.o, and tree-loop-linear.o.
515         (lto-symtab.o): Remove dependence on LAMBDA_H.
516         (tree-loop-linear.o): Remove rule.
517         (lambda-mat.o): Same.
518         (lambda-trans.o): Same.
519         (lambda-code.o): Same.
520         (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H.
521         (tree-vect-slp.o): Same.
522         * hwint.h (gcd): Moved here.
523         (least_common_multiple): Same.
524         * lambda-code.c: Removed.
525         * lambda-mat.c: Removed.
526         * lambda-trans.c: Removed.
527         * lambda.h: Removed.
528         * tree-loop-linear.c: Removed.
529         * lto-symtab.c: Do not include lambda.h.
530         * omega.c (gcd): Removed.
531         * passes.c (init_optimization_passes): Remove pass_linear_transform.
532         * tree-data-ref.c (print_lambda_vector): Moved here.
533         (lambda_vector_copy): Same.
534         (lambda_matrix_copy): Same.
535         (lambda_matrix_id): Same.
536         (lambda_vector_first_nz): Same.
537         (lambda_matrix_row_add): Same.
538         (lambda_matrix_row_exchange): Same.
539         (lambda_vector_mult_const): Same.
540         (lambda_vector_negate): Same.
541         (lambda_matrix_row_negate): Same.
542         (lambda_vector_equal): Same.
543         (lambda_matrix_right_hermite): Same.
544         * tree-data-ref.h: Do not include lambda.h.
545         (lambda_vector): Moved here.
546         (lambda_matrix): Same.
547         (dependence_level): Same.
548         (lambda_transform_legal_p): Removed declaration.
549         (lambda_collect_parameters): Same.
550         (lambda_compute_access_matrices): Same.
551         (lambda_vector_gcd): Same.
552         (lambda_vector_new): Same.
553         (lambda_vector_clear): Same.
554         (lambda_vector_lexico_pos): Same.
555         (lambda_vector_zerop): Same.
556         (lambda_matrix_new): Same.
557         * tree-flow.h (least_common_multiple): Removed declaration.
558         * tree-parloops.c (lambda_trans_matrix): Moved here.
559         (LTM_MATRIX): Same.
560         (LTM_ROWSIZE): Same.
561         (LTM_COLSIZE): Same.
562         (LTM_DENOMINATOR): Same.
563         (lambda_trans_matrix_new): Same.
564         (lambda_matrix_vector_mult): Same.
565         (lambda_transform_legal_p): Same.
566         * tree-pass.h (pass_linear_transform): Removed declaration.
567         * tree-ssa-loop.c (tree_linear_transform): Removed.
568         (gate_tree_linear_transform): Removed.
569         (pass_linear_transform): Removed.
570         (gate_graphite_transforms): Make flag_tree_loop_linear an alias of
571         flag_loop_interchange.
572
573 2011-01-25  Jakub Jelinek  <jakub@redhat.com>
574
575         PR tree-optimization/47265
576         PR tree-optimization/47443
577         * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
578         if name still has some uses.
579
580 2011-01-25  Martin Jambor  <mjambor@suse.cz>
581
582         PR tree-optimization/47382
583         * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
584         (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.
585
586 2011-01-25  Joel Sherrill <joel.sherrill@oarcorp.com>
587
588         * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to
589         sjlj_except_unwind_info.
590
591 2011-01-25  Richard Guenther  <rguenther@suse.de>
592
593         PR tree-optimization/47426
594         * tree-ssa-structalias.c (ipa_pta_execute): Make externally
595         visible functions results escape.
596
597 2011-01-25  Jakub Jelinek  <jakub@redhat.com>
598
599         PR target/45701
600         * config/arm/arm.c (any_sibcall_uses_r3): New function.
601         (arm_get_frame_offsets): Use it.
602
603 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
604             Jakub Jelinek  <jakub@redhat.com>
605
606         PR tree-optimization/47271
607         * tree-if-conv.c (bb_postdominates_preds): New.
608         (if_convertible_bb_p): Call bb_postdominates_preds.
609         (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS.
610         (predicate_scalar_phi): Call bb_postdominates_preds.
611
612 2011-01-25  Nick Clifton  <nickc@redhat.com>
613
614         * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types.
615         * config/rx/rx.c (rx_function_value): Likewise.
616         (rx_promote_function_mode): Likewise.
617         (gen_safe_add): Place an outsized immediate value inside an UNSPEC
618         in order to make it legitimate.
619         * config/rx/rx.md (adddi3_internal): If the second operand is a
620         MEM make sure that the first operand is the same as the result
621         register.
622         (addsi3_unspec): Delete.
623         (subdi3): Do not accept immediate operands.
624         (subdi3_internal): Likewise.
625
626 2011-01-25  Jeff Law  <law@redhat.com>
627
628         PR rtl-optimization/37273
629         * ira-costs.c (scan_one_insn): Detect constants living in memory and
630         handle them like argument loads from stack slots.  Do not double
631         count memory for memory constants and argument loads from stack slots.
632
633 2011-01-25  Jakub Jelinek  <jakub@redhat.com>
634
635         PR tree-optimization/47427
636         PR tree-optimization/47428
637         * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
638         coalesce if the new root var would be TREE_READONLY.
639
640 2011-01-25  Richard Guenther  <rguenther@suse.de>
641
642         PR middle-end/47414
643         * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the
644         correct type for TBAA.
645
646 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
647
648         * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New.
649         (close_phi_written_to_memory): Call for_each_index with
650         dr_indices_valid_in_loop.
651
652 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
653
654         * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN
655         when it is initialized.
656
657 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
658
659         * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update
660         call to graphite_find_data_references_in_stmt.
661         * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New.
662         (try_generate_gimple_bb): Call outermost_loop_in_sese_1.  Update
663         call to graphite_find_data_references_in_stmt.
664         (analyze_drs_in_stmts): Same.
665         * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop
666         in which the scalar analysis of indices is performed.
667         (create_data_ref): Same.  Update call to dr_analyze_indices.
668         (find_data_references_in_stmt): Update call to create_data_ref.
669         (graphite_find_data_references_in_stmt): Same.
670         * tree-data-ref.h (graphite_find_data_references_in_stmt): Update
671         declaration.
672         (create_data_ref): Same.
673         * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update
674         call to create_data_ref.
675
676 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
677
678         * graphite-sese-to-poly.c (build_poly_scop): Move
679         rewrite_commutative_reductions_out_of_ssa before
680         find_scop_parameters.
681
682 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
683
684         * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow
685         VAR_DECL, PARM_DECL, and RESULT_DECL.
686
687 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
688
689         * graphite-dependences.c (reduction_dr_1): Allow several reductions
690         in a reduction PBB.
691         * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs
692         that have already been marked as PBB_IS_REDUCTION.
693
694 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
695
696         * graphite-scop-detection.c (same_close_phi_node): New.
697         (remove_duplicate_close_phi): New.
698         (make_close_phi_nodes_unique): New.
699         (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique.
700
701 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
702
703         * graphite-dependences.c (new_poly_ddr): Call same_pdr_p.
704         * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE
705         of both data references to be the same.
706
707 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
708
709         * graphite-dependences.c (build_lexicographical_constraint): Remove the
710         gdim parameter.
711         (build_lexicographical_constraint): Adjust call to ppl_powerset_is_empty.
712         (dependence_polyhedron): Same.
713         (graphite_legal_transform_dr): Same.
714         (graphite_carried_dependence_level_k): Same.
715         * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params parameter.
716         * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration.
717
718 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
719
720         * graphite-sese-to-poly.c
721         (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr.
722         (close_phi_written_to_memory): New.
723         (translate_scalar_reduction_to_array): Call close_phi_written_to_memory
724         and unshare_expr.
725
726 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
727
728         * doc/install.texi: Update the expected version number of PPL to 0.11.
729         * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under
730         #if PPL_VERSION_MINOR < 11.
731
732 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
733
734         * graphite-dependences.c: Include graphite-cloog-util.h.
735         (new_poly_ddr): Inlined into dependence_polyhedron.
736         (free_poly_ddr): Moved close by new_poly_ddr.
737         (dependence_polyhedron_1): Renamed dependence_polyhedron.
738         Early return NULL when ppl_powerset_is_empty returns true.
739         (dependence_polyhedron): Renamed new_poly_ddr.  Call only once
740         poly_drs_may_alias_p.  Avoid one call to ppl_powerset_is_empty.
741         (graphite_legal_transform_dr): Call new_poly_ddr.
742         (graphite_carried_dependence_level_k): Same.
743         (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2.  Use new_poly_ddr.
744         (dot_transformed_deps_stmt_1): Removed.
745         (dot_deps_stmt_1): Call dot_deps_stmt_2.
746         (dot_original_deps): Renamed dot_deps_2.  Call new_poly_ddr.
747         (dot_deps_1): Call dot_deps_2.
748         * Makefile.in (graphite-dependences.o): Add missing dependence on
749         graphite-cloog-util.h.
750
751 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
752
753         * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty.
754         (build_lexicographical_constraint): Same.
755         (dependence_polyhedron_1): Same.
756         (graphite_legal_transform_dr): Same.
757         (graphite_carried_dependence_level_k): Same.
758         * graphite-ppl.c (ppl_powerset_is_empty): New.
759         * graphite-ppl.h (ppl_powerset_is_empty): Declared.
760         * tree-data-ref.c (dump_data_reference): Print the basic block index.
761
762 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
763
764         * graphite-dependences.c (build_pairwise_scheduling): Correctly compute
765         the "a followed by b" relation and document it.
766
767 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
768
769         * graphite-dependences.c (build_lexicographical_constraint): Stop the
770         iteration when the bag of constraints is empty.
771
772 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
773
774         * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work.
775
776 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
777
778         * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop
779         nest and two loop depths as parameters.
780         (lst_try_interchange_loops): Call lst_interchange_profitable_p after
781         lst_perfect_nestify.
782
783 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
784
785         * graphite-dependences.c (print_pddr): Call
786         ppl_io_fprint_Pointset_Powerset_C_Polyhedron.
787
788 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
789
790         * graphite-ppl.c (debug_gmp_value): New.
791         * graphite-ppl.h (debug_gmp_value): Declared.
792
793 2011-01-25  Tobias Grosser  <grosser@fim.uni-passau.de>
794
795         * doc/install.texi: Document availability of cloog-0.16.
796
797 2011-01-25  Vladimir Kargov  <kargov@gmail.com>
798
799         * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free
800         invalid postdominance info.
801
802 2011-01-24  Jan Hubicka  <jh@suse.cz>
803
804         PR c/21659
805         * doc/extend.texi (weak pragma): Drop claim that it must
806         appear before definition.
807         * varasm.c (merge_weak, declare_weak): Only sanity check
808         that DECL is not output at a time it is declared weak.
809
810 2011-01-24  Kenneth Zadeck  <zadeck@naturalbridge.com>
811
812         * machmode.def: Fixed comments.
813
814 2011-01-24  Kai Tietz  <kai.tietz@onevision.com>
815
816         * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
817
818 2011-01-24  Paul Koning  <ni1d@arrl.net>
819
820         * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
821         WORDS_BIG_ENDIAN.
822
823 2011-01-24  H.J. Lu  <hongjiu.lu@intel.com>
824
825         PR target/46519
826         * config/i386/i386.c: Include sbitmap.h and fibheap.h.
827         (block_info): Add scanned and prev.
828         (move_or_delete_vzeroupper_2): Return if the basic block
829         has been scanned and the upper 128bit state is unchanged
830         from the last scan.
831         (move_or_delete_vzeroupper_1): Return true if the exit
832         state is changed.
833         (move_or_delete_vzeroupper): Visit basic blocks using the
834         work-list based algorithm based on vt_find_locations in
835         var-tracking.c.
836
837         * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H).
838
839 2011-01-24  Nick Clifton  <nickc@redhat.com>
840
841         * config/v850/v850.opt (mv850es): New option - alias for -mv850e1.
842         * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass
843         -mv850e1 to the assembler.  If -mv850e1 or -mv850es is specified
844         then define __v850e1__.
845         * doc/invoke.texi: Document -mv850es.
846
847 2011-01-24  Richard Henderson  <rth@redhat.com>
848
849         * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept
850         compound unordered comparisons.
851         * config/rx/rx.c (rx_split_fp_compare): Remove.
852         * config/rx/rx-protos.h: Update.
853         * config/rx/rx.md (gcc_conds, rx_conds): Remove.
854         (cbranchsf4): Don't call rx_split_fp_compare.
855         (*cbranchsf4): Use rx_split_cbranch.
856         (*cmpsf): Don't accept "i" constraint.
857         (*conditional_branch): Only valid after reload.
858         (cstoresf4): Merge expander with insn.  Don't call rx_split_fp_compare.
859
860 2011-01-24  Michael Meissner  <meissner@linux.vnet.ibm.com>
861
862         PR target/47385
863         * config/rs6000/altivec.md (vector constant splitters): Add
864         support for creating vector single precision constants if -mvsx is
865         used and we would create the constant using Altivec primitives.
866
867 2011-01-23  Bernd Schmidt  <bernds@codesourcery.com>
868             Richard Sandiford  <rdsandiford@googlemail.com>
869
870         PR rtl-optimization/47166
871         * reload1.c (emit_reload_insns): Disable the spill_reg_store
872         mechanism for PRE_MODIFY and POST_MODIFY.
873         (inc_for_reload): For PRE_MODIFY, return the insn that sets the
874         reloadreg.
875
876 2011-01-23  Andreas Schwab  <schwab@linux-m68k.org>
877
878         * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.
879
880 2011-01-22  Jan Hubicka  <jh@suse.cz>
881
882         PR lto/47333
883         * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
884
885 2011-01-22  Jan Hubicka  <jh@suse.cz>
886
887         PR tree-optimization/43884
888         PR lto/44334
889         * predict.c (maybe_hot_frequency_p): Use entry block frequency as base.
890         * doc/invoke.texi (hot-bb-frequency-fraction): Update docs.
891
892 2011-01-22  Anatoly Sokolov  <aesok@post.ru>
893
894         * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
895         * config/s390/s390.c (s390_register_move_cost,
896         s390_memory_move_cost): New.
897         (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
898
899 2011-01-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
900
901         PR middle-end/47401
902         * except.c (sjlj_assign_call_site_values): Move setting the
903         crtl->uses_eh_lsda flag to ...
904         (sjlj_mark_call_sites): ... here.
905         (sjlj_emit_function_enter): Support NULL dispatch label.
906         (sjlj_build_landing_pads): In a function with no landing pads
907         that still has must-not-throw regions, generate code to register
908         a personality function with empty LSDA.
909
910 2011-01-21  Richard Henderson  <rth@redhat.com>
911
912         * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
913
914         * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
915
916         * compare-elim.c: New file.
917         * Makefile.in (OBJS-common): Add it.
918         (compare-elim.o): New.
919         * common.opt (fcompare-elim): New.
920         * opts.c (default_options_table): Add OPT_fcompare_elim.
921         * tree-pass.h (pass_compare_elim_after_reload): New.
922         * passes.c (init_optimization_passes): Add it.
923         * recog.h: Protect against re-inclusion.
924         * target.def (TARGET_FLAGS_REGNUM): New POD hook.
925         * doc/invoke.texi (-fcompare-elim): Document it.
926         * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it.
927         * doc/tm.texi: Rebuild.
928
929 2011-01-22  Nick Clifton  <nickc@redhat.com>
930
931         * config/rx/rx.md (cstoresf4): Pass comparison operator to
932         rx_split_fp_compare.
933
934 2011-01-22  Nick Clifton  <nickc@redhat.com>
935
936         * config/rx/rx.md (UNSPEC_CONST): New.
937         (deallocate_and_return): Wrap the amount popped off the stack in
938         an UNSPEC_CONST in order to stop it being rejected by
939         -mmax-constant-size.
940         (pop_and_return): Add a "(return)" rtx.
941         (call): Drop the immediate operand.
942         (call_internal): Likewise.
943         (call_value): Likewise.
944         (call_value_internal): Likewise.
945         (sibcall_internal): Likewise.
946         (sibcall_value_internal): Likewise.
947         (sibcall): Likewise.  Generate an explicit call using
948         sibcall_internal.
949         (sibcall_value): Likewise.
950         (mov<>): FAIL if a constant operand is not legitimate.
951         (addsi3_unpsec): New pattern.
952
953         * config/rx/rx.c (rx_print_operand_address): Handle UNPSEC
954         CONSTs.
955         (ok_for_max_constant): New function.
956         (gen_safe_add): New function.
957         (rx_expand_prologue): Use gen_safe_add.
958         (rx_expand_epilogue): Likewise.
959         (rx_is_legitimate_constant): Use ok_for_max_constant.  Handle
960         UNSPEC CONSTs.
961
962 2011-01-21  Jeff Law  <law@redhat.com>
963
964         PR tree-optimization/47053
965         * tree-ssa-dse.c (need_eh_cleanup): New bitmap.
966         (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when
967         statements are deleted.
968         (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP.  If NEED_EH_CLEANUP
969         is nonempty, then purge dead edges and cleanup the CFG.
970
971 2011-01-21  Alexandre Oliva  <aoliva@redhat.com>
972
973         PR debug/47402
974         Temporarily revert:
975         2011-01-21  Alexandre Oliva  <aoliva@redhat.com>
976         PR debug/47106
977         * tree-dfa.c (create_var_ann): Mark variable as used.
978
979 2011-01-21  Jakub Jelinek  <jakub@redhat.com>
980
981         PR middle-end/45566
982         * except.c (convert_to_eh_region_ranges): Emit queued no-region
983         notes from other section in hot/cold partitioning even if
984         last_action is -3.  Increment call_site_base.
985
986         PR rtl-optimization/47366
987         * fwprop.c (forward_propagate_into): Return bool.  If
988         any changes are made, -fnon-call-exceptions is used and
989         REG_EH_REGION note is present, call purge_dead_edges
990         and return true if it purged anything.
991         (fwprop_addr): Adjust callers, call cleanup_cfg (0) if
992         any EH edges were purged.
993
994 2011-01-21  Jeff Law  <law@redhat.com>
995
996         PR rtl-optimization/41619
997         * caller-save.c (setup_save_areas): Break out code to determine
998         which hard regs are live across calls by examining the reload chains
999         so that it is always used.
1000         Eliminate code which checked REG_N_CALLS_CROSSED.
1001
1002 2011-01-21  Jakub Jelinek  <jakub@redhat.com>
1003
1004         PR tree-optimization/47355
1005         * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if
1006         NOP has non-debug uses beyond PHIs in new_bb.
1007
1008 2011-01-21  Alexandre Oliva  <aoliva@redhat.com>
1009
1010         PR debug/47106
1011         * cfgexpand.c (account_used_vars_for_block): Only account vars
1012         that are annotated as used.
1013         (estimated_stack_frame_size): Don't set TREE_USED.
1014         * tree-dfa.c (create_var_ann): Mark variable as used.
1015
1016 2011-01-21  Richard Guenther  <rguenther@suse.de>
1017
1018         PR middle-end/47395
1019         * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name.
1020
1021 2011-01-21  Richard Guenther  <rguenther@suse.de>
1022
1023         PR tree-optimization/47365
1024         * tree-ssa-sccvn.h (vn_lookup_kind): Declare.
1025         (vn_reference_lookup_pieces): Adjust.
1026         (vn_reference_lookup): Likewise.
1027         * tree-ssa-sccvn.c (vn_walk_kind): New static global.
1028         (vn_reference_lookup_3): Only look through kills if in
1029         VN_WALKREWRITE mode.
1030         (vn_reference_lookup_pieces): Adjust.
1031         (vn_reference_lookup): Likewise.
1032         (visit_reference_op_load): Likewise.
1033         (visit_reference_op_store): Likewise.
1034         * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode.
1035         (compute_avail): Likewise.
1036         (eliminate): Likewise.
1037
1038 2011-01-21  Jakub Jelinek  <jakub@redhat.com>
1039
1040         * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove
1041         DECL_IGNORED_P non-reg vars if they are used.
1042
1043         PR tree-optimization/47391
1044         * varpool.c (const_value_known_p): Return false if
1045         decl is volatile.
1046
1047 2011-01-21  Kai Tietz  <kai.tietz@onevision.com>
1048
1049         PR bootstrap/47215
1050         * config/i386/i386.c (ix86_local_alignment): Handle
1051         case for va_list_type_node is nil.
1052         (ix86_canonical_va_list_type): Likewise.
1053
1054 2011-01-21  Alan Modra  <amodra@gmail.com>
1055
1056         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add
1057         builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__.
1058
1059 2011-01-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1060
1061         * config/arm/arm.md (define_attr type): Rename f_load
1062         and f_store to f_fpa_load and f_fpa_store. Update.
1063         (write_conflict): Deal with rename fallout.
1064         (*push_fp_multi): Likewise.
1065         * config/arm/fpa.md (f_load): Use f_fpa_load.
1066         (f_store): Use f_fpa_store.
1067         (*movsf_fpa): Likewise.
1068         (*movdf_fpa): Likewise.
1069         (*movxf_fpa): Likewise.
1070         (*thumb2_movsf_fpa): Likewise.
1071         (*thumb2_movdf_fpa): Likewise.
1072         (*thumb2_movxf_fpa): Likewise.
1073         * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to
1074         f_loadd and f_stored.
1075         (*thumb2_movdi_vfp): Likewise.
1076         (*thumb2_movsf_vfp): Fix attribute to f_loads.
1077         (*thumb2_movsi_vfp): Likewise.
1078         * config/arm/cortex-m4-fpu.md (cortex_m4_f_load):
1079         Use f_loads instead of f_load.
1080         * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load.
1081
1082 2011-01-20  Anatoly Sokolov  <aesok@post.ru>
1083
1084         * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
1085         * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove.
1086         * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
1087         (xtensa_mode_dependent_address_p): New function.
1088         (constantpool_address_p): Make static. Change return type to bool.
1089         Change argument type to const_rtx. Use CONST_INT_P predicate.
1090
1091 2011-01-20  Alexandre Oliva  <aoliva@redhat.com>
1092
1093         PR debug/46583
1094         * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls.
1095
1096 2011-01-20  Jakub Jelinek  <jakub@redhat.com>
1097
1098         PR debug/47283
1099         * cfgexpand.c (expand_debug_expr): Instead of generating
1100         (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF
1101         etc. handling.
1102
1103 2011-01-20  Richard Guenther  <rguenther@suse.de>
1104
1105         PR middle-end/47370
1106         * tree-inline.c (remap_gimple_op_r): Recurse manually for
1107         the pointer operand of MEM_REFs.
1108
1109 2011-01-20  Jakub Jelinek  <jakub@redhat.com>
1110
1111         PR tree-optimization/46130
1112         * ipa-split.c (consider_split): If return_bb contains non-virtual
1113         PHIs other than for retval or if split_function would not adjust it,
1114         refuse to split.
1115
1116 2011-01-20  Richard Guenther  <rguenther@suse.de>
1117
1118         PR tree-optimization/47167
1119         * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
1120         Revert previous change, only avoid enumeral type changes.
1121
1122 2011-01-19  Mike Stump  <mikestump@comcast.net>
1123
1124         * doc/tm.texi.in (BRANCH_COST): Englishify.
1125         * doc/tm.texi (BRANCH_COST): Likewise.
1126
1127 2011-01-19  Dodji Seketeli  <dodji@redhat.com>
1128
1129         PR c++/47291
1130         * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
1131         (gen_scheduled_generic_parms_dies): New functions.
1132         (gen_struct_or_union_type_die): Schedule template parameters DIEs
1133         generation for the end of CU compilation.
1134         (dwarf2out_finish): Generate template parameters DIEs here.
1135
1136 2011-01-19  Alexandre Oliva  <aoliva@redhat.com>
1137
1138         PR debug/46240
1139         * tree-into-ssa.c (maybe_register_def): Do not attempt to add
1140         debug bind stmt on merge edges.
1141
1142 2011-01-19  Alexandre Oliva  <aoliva@redhat.com>
1143
1144         PR debug/47079
1145         PR debug/46724
1146         * function.c (instantiate_expr): Instantiate incoming rtl of
1147         implicit arguments, and recurse on VALUE_EXPRs.
1148         (instantiate_decls): Instantiate rtl and VALUE_EXPR of result.
1149         * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx.
1150
1151 2011-01-19  Alexandre Oliva  <aoliva@redhat.com>
1152
1153         * c-parser.c (c_parser_for_statement): Initialize
1154         collection_expression.
1155
1156 2011-01-19  Joseph Myers  <joseph@codesourcery.com>
1157
1158         * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.
1159
1160 2011-01-19  Joseph Myers  <joseph@codesourcery.com>
1161
1162         * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove.
1163         (LINK_SHLIB_SPEC): Don't use %(link_path).
1164         (SUBTARGET_EXTRA_SPECS): Remove link_path.
1165
1166 2011-01-19  Joseph Myers  <joseph@codesourcery.com>
1167
1168         * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
1169         (NO_SHARED_LIB_SUPPORT): Remove.
1170         (LINK_SHLIB_SPEC): Remove one conditional definition.
1171
1172 2011-01-19  Joseph Myers  <joseph@codesourcery.com>
1173
1174         * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
1175         %{call_shared}.
1176         * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
1177         * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
1178         * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
1179         %{call_shared} and conditionals on these options not being passed.
1180         * config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
1181         %{call_shared}.
1182
1183 2011-01-19  Jakub Jelinek  <jakub@redhat.com>
1184
1185         * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge,
1186         simplify.
1187
1188         * ipa-split.c: Spelling fixes.
1189
1190 2011-01-19  Richard Henderson  <rth@redhat.com>
1191
1192         * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand.
1193         (*mulsi3): Likewise.
1194
1195         * longlong.h [__mn10300__] (count_leading_zeros): New.
1196         [__mn10300__] (umul_ppmm, smul_ppmm): New.
1197         [__mn10300__] (add_ssaaaa, subddmmss): New.
1198         [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New.
1199         [__mn10300__] (UMUL_TIME, UDIV_TIME): New.
1200
1201 2011-01-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1202
1203         * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
1204
1205 2011-01-19  Richard Henderson  <rth@redhat.com>
1206
1207         * config/mn10300/mn10300.md (addsi3_flags): New.
1208         (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New.
1209         (subsi3_flags, subc_internal, subdi3): New.
1210         (subdi3_internal, *subdi3_degenerate): New.
1211         * config/mn10300/predicates.md (reg_or_am33_const_operand): New.
1212
1213         * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New.
1214         (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn.
1215         (mn10300_expand_epilogue): Use it.  Compute REG_SAVE_BYTES once.
1216         * config/mn10300/mn10300-protos.h: Update.
1217         * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn.
1218         (return_ret): Likewise.  Rename from return_internal_regs.
1219         (return_internal): Remove.
1220
1221         * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove.
1222         (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL.
1223         (mn10300_legitimate_constant_p): Likewise.
1224         (mn10300_can_use_return_insn): Use mn10300_initial_offset.
1225         (mn10300_frame_size): New.
1226         (mn10300_expand_prologue): Use it.
1227         (mn10300_expand_epilogue): Likewise.
1228         (mn10300_initial_offset): Likewise.
1229         * config/mn10300/mn10300-protos.h: Update.
1230         * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove.
1231         * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove.
1232         (prologue, epilogue, return_internal): Tidy output code.
1233         (mn10300_store_multiple_operation, return): Likewise.
1234         (int_label, pop_pic_reg, GOTaddr2picreg): Remove.
1235         (am33_loadPC, mn10300_loadPC, call_next_insn): Remove.
1236         (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove.
1237         (load_pic, am33_load_pic): New.
1238         (mn10300_load_pic0, mn10300_load_pic1): New.
1239
1240         * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes.
1241         * config/mn10300/mn10300.c (CC_FLAG_Z): New.
1242         (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New.
1243         (cc_flags_for_mode, cc_flags_for_code): New.
1244         (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the
1245         overflow flag is not valid.  Validate that the flags we need
1246         for the comparison are valid.
1247         (mn10300_output_cmp): Remove.
1248         (mn10300_output_add): New.
1249         (mn10300_select_cc_mode): Use cc_flags_for_code.
1250         (mn10300_split_cbranch): New.
1251         (mn10300_match_ccmode): New.
1252         (mn10300_split_and_operand_count): New.
1253         * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments
1254         to the function.
1255         * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge...
1256         (addsi3): ... here.  Use mn10300_output_add.
1257         (*addsi3_flags): New.
1258         (*am33_subsi3, *mn10300_subsi3): Merge...
1259         (subsi3): ... here.  Use attribute isa.
1260         (*subsi3_flags): New.
1261         (negsi2): Rewrite from expander to insn_and_split.  Use NOT+INC
1262         when possible.
1263         (*am33_andsi3, *mn10300_andsi3): Merge...
1264         (andsi3): ... here.
1265         (*andsi3_flags): New.
1266         (andsi3 splitters): New.
1267         (*am33_iorsi3, *mn10300_iorsi3): Merge...
1268         (iorsi3): ... here.
1269         (*iorsi3_flags): New.
1270         (*am33_xorsi3, *mn10300_xorsi3): Merge...
1271         (xorsi3): ... here.
1272         (*xorsi3_flags): New.
1273         (*am33_cmpsi2, *mn10300_cmplsi2): Merge...
1274         (one_cmplsi2): ... here.
1275         (*one_cmplsi2_flags): New.
1276         (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload.  Use "r"
1277         instead of "dax" in constraints.  Use mn10300_split_cbranch.
1278         (*cmpsi): Rename from cmpsi.  Do not use mn10300_output_cmp.  Do not
1279         use matching constraints to eliminate a self-comparison.
1280         (*integer_conditional_branch): Rename from integer_conditional_branch.
1281         Use int_mode_flags to match CC_REG.
1282         (*cbranchsi4_btst, *btstsi): New.
1283         (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload.  Use
1284         mn10300_split_cbranch.
1285         (*am33_cmpsf): Rename from am33_cmpsf.
1286         (*float_conditional_branch): Rename from float_conditional_branch.
1287         (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge...
1288         (zero_extendqisi2): ... here.
1289         (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge...
1290         (zero_extendhisi2): ... here.
1291         (*extendqisi2_am33, *extendqisi2_mn10300): Merge...
1292         (extendqisi2): ... here.
1293         (*extendhisi2_am33, *extendhisi2_mn10300): Merge...
1294         (extendhisi2): ... here.
1295         (*am33_ashlsi3, *mn10300_ashlsi3): Merge...
1296         (ashlsi3): ... here.
1297         (*am33_lshrsi3, *mn10300_lshrsi3): Merge...
1298         (lshrsi3): ... here.
1299         (*am33_ashrisi3, *mn10300_ashrsi3): Merge...
1300         (ashrsi3): ... here.
1301         (consecutive add peephole): Remove.
1302         * config/mn10300/predicates.md (label_ref_operand): New.
1303         (int_mode_flags): New.
1304         (CCZN_comparison_operator): New.
1305
1306         * config/mn10300/mn10300.md (UNSPEC_EXT): New.
1307         (throughput_42_latency_43): New reservation.
1308         (mulsidi3, umulsidi3): New expanders.
1309         (mulsidi3_internal): Rewrite from old mulsidi3 pattern.  Expose
1310         the MDR register to allocation; separately allocate the low and
1311         high parts of the DImode result.
1312         (umulsidi3_internal): Similarly.
1313         (*am33_mulsi3, *mn10300_mulsi3): Merge into ...
1314         (*mulsi3): ... here.  Clobber MDR as a scratch as necessary.
1315         (udivsi3, umodsi3): Remove.
1316         (udivmodsi4, divmodsi4): New expanders.
1317         (*udivmodsi4): Rename from udivmodsi4.  Expose MDR properly.
1318         (*divmodsi4): Simiarly.
1319         (ext_internal): New.
1320
1321         * config/mn10300/constraints.md ("z"): New constraint.
1322         * config/mn10300/mn10300.h (MDR_REGNUM): Remove.
1323         (FIXED_REGISTERS): Don't fix MDR.
1324         (CALL_USED_REGSITERS): Reformat nicely.
1325         (REG_ALLOC_ORDER): Add MDR.
1326         (enum regclass): Add MDR_REGS.
1327         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match.
1328         (IRA_COVER_CLASSES): Add MDR_REGS.
1329         (REGNO_REG_CLASS): Handle MDR_REG.
1330         * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS.
1331         (mn10300_register_move_cost): Likewise.
1332         * config/mn10300/mn10300.md (MDR_REG): New.
1333         (*movsi_internal): Handle moves to/from MDR_REGS.
1334
1335         * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle
1336         POST_MODIFY.
1337         (mn10300_secondary_reload): Tidy combination reload classes.
1338         (mn10300_legitimate_address_p): Allow post-modify and reg+reg
1339         addresses for AM33.  Allow symbolic offsets for reg+imm.
1340         (mn10300_regno_in_class_p): New.
1341         (mn10300_legitimize_reload_address): New.
1342         * config/mn10300/mn10300.h (enum reg_class): Remove
1343         DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS,
1344         SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS.  Add
1345         SP_OR_GENERAL_REGS.
1346         (REG_CLASS_NAMES): Update to match.
1347         (REG_CLASS_CONTENTS): Likewise.
1348         (INDEX_REG_CLASS): Use GENERAL_REGS for AM33.
1349         (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33.
1350         (REGNO_IN_RANGE_P): Remove.
1351         (REGNO_DATA_P): Use mn10300_regno_in_class_p.
1352         (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise.
1353         (REGNO_STRICT_OK_FOR_BASE_P): Likewise.
1354         (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise.
1355         (REGNO_STRICT_OK_FOR_INDEX_P): Likewise.
1356         (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove.
1357         (REGNO_GENERAL_P): New.
1358         (HAVE_POST_MODIFY_DISP): New.
1359         (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New.
1360         (LEGITIMIZE_RELOAD_ADDRESS): New.
1361         * config/mn10300/mn10300-protos.h: Update.
1362
1363         * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow
1364         DATA_REGS for AM33 stack-pointer destination.
1365         (mn10300_preferred_output_reload_class): Likewise.
1366         (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class
1367         into a form appropriate for ...
1368         (TARGET_SECONDARY_RELOAD): New.
1369         * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove.
1370         * config/mn10300/mn10300-protos.h: Update.
1371         * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from
1372         reload_insi; use the "A" constraint for the scratch; handle AM33
1373         moves of sp to non-address registers.
1374
1375         * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into
1376         (*movqi_internal): ... here.
1377         (*am33_movhi, *mn10300_movhi): Merge into...
1378         (*movhi_internal): ... here.
1379         (*movsi_internal): Use "r" instead of "dax" in constraints.  Use "A"
1380         as the source/destination of moves from/to SP.
1381         (movsf): Only allow for AM33-2.
1382         (*movsf_internal): Use "r" instead of "dax"; use "F" instead of
1383         any integer constant constraint.  Only allow for AM33-2.  Tidy
1384         all of the alternative outputs.
1385         (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove.
1386         (udivmodsi4): Delete expander and promote *udivmodsi4.  Disallow
1387         for MN103.
1388         (udivsi3, umodsi3): New patterns for MN103 only.
1389
1390 2011-01-19  Joern Rennecke  <amylaar@spamcop.net>
1391
1392         * doc/tm.texi.in: Spell out that a lack of register class unions
1393         can lead to ICEs.
1394         * doc/tm.texi: Regenerate.
1395
1396 2011-01-19  Jakub Jelinek  <jakub@redhat.com>
1397
1398         PR rtl-optimization/47337
1399         * dce.c (check_argument_store): New function.
1400         (find_call_stack_args): Ignore debug insns.  Use check_argument_store.
1401
1402         PR tree-optimization/47290
1403         * tree-eh.c (infinite_empty_loop_p): New function.
1404         (cleanup_empty_eh): Use it.
1405
1406 2011-01-18  Steve Ellcey  <sje@cup.hp.com>
1407
1408         PR target/46997
1409         * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
1410         (a64_expand_widen_sum): Ditto.
1411         * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
1412         (vec_extract_evenodd_help): Ditto.
1413         (vec_extract_evenv4hi): Ditto.
1414         (vec_extract_oddv4hi): Ditto.
1415         (vec_extract_evenv2si): Ditto.
1416         (vec_extract_oddv2si): Ditto.
1417         (vec_extract_evenv2sf): Ditto.
1418         (vec_extract_oddv2sf): Ditto.
1419         (vec_pack_trunc_v4hi: Ditto.
1420         (vec_pack_trunc_v2si): Ditto.
1421         (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
1422         (vec_interleave_highv8qi): Ditto.
1423         (mix1_r): Ditto.
1424         (vec_extract_oddv8qi): Ditto.
1425         (vec_interleave_lowv4hi): Ditto.
1426         (vec_interleave_highv4hi): Ditto.
1427         (vec_interleave_lowv2si): Ditto.
1428         (vec_interleave_highv2si): Ditto.
1429
1430 2011-01-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1431
1432         * doc/extend.texi: Mention __float128 support on hppa HP-UX.
1433         * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
1434         * config/pa/pa.c (pa_expand_builtin): New.  Include "langhooks.h".
1435         (pa_c_mode_for_suffix): New.
1436         (TARGET_EXPAND_BUILTIN): Define.
1437         (TARGET_C_MODE_FOR_SUFFIX): Define.
1438         (pa_builtins): Define.
1439         (pa_init_builtins): Register __float128 type and init new support
1440         builtins.
1441         * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
1442         * config/pa/quadlib.c (_U_Qfcopysign): New.
1443
1444 2011-01-18  Eric Botcazou  <ebotcazou@adacore.com>
1445
1446         PR middle-end/46894
1447         * explow.c (allocate_dynamic_stack_space): Do not assume more than
1448         BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET
1449         are defined.
1450
1451 2011-01-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1452
1453         PR tree-optimization/47179
1454         * config/spu/spu.c (spu_ref_may_alias_errno): New function.
1455         (TARGET_REF_MAY_ALIAS_ERRNO): Define.
1456
1457 2011-01-18  Richard Guenther  <rguenther@suse.de>
1458
1459         PR rtl-optimization/47216
1460         * emit-rtl.c: Include tree-flow.h.
1461         (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead
1462         of replicating it with different semantics.
1463         * Makefile.in (emit-rtl.o): Adjust.
1464
1465 2011-01-18  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1466
1467         * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually
1468         include.
1469         (cortex_a9_dp): Handle neon types correctly.
1470
1471 2011-01-18  Jakub Jelinek  <jakub@redhat.com>
1472
1473         PR rtl-optimization/47299
1474         * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
1475         subtarget.  Use normal multiplication if both operands are
1476         constants.
1477         * expmed.c (expand_widening_mult): Don't try to optimize constant
1478         multiplication if op0 has VOIDmode.  Convert op1 constant to mode
1479         before using it.
1480
1481 2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1482
1483         * doc/lto.texi (LTO): Ensure two spaces after period.  Fix
1484         spacing after 'e.g.', typos, comma, hyphenation.
1485
1486 2011-01-17  Richard Henderson  <rth@redhat.com>
1487
1488         * config/rx/predicates.md (rx_constshift_operand): Use match_test.
1489         (rx_restricted_mem_operand): New.
1490         (rx_shift_operand): Use register_operand.
1491         (rx_source_operand, rx_compare_operand): Likewise.
1492         * config/rx/rx.md (addsi3_flags): New expander.
1493         (adddi3): Rewrite as expander.
1494         (adc_internal, *adc_flags, adddi3_internal): New patterns.
1495         (subsi3_flags): New expander.
1496         (subdi3): Rewrite as expander.
1497         (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
1498
1499         * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
1500         (rx_init_builtins): Remove sat builtin.
1501         (rx_expand_builtin): Likewise.
1502         * config/rx/rx.md (ssaddsi3): New.
1503         (*sat): Rename from sat.  Represent the CC_REG input.
1504
1505         * config/rx/predicates.md (rshift_operator): New.
1506         * config/rx/rx.c (rx_expand_insv): Remove.
1507         * config/rx/rx-protos.h: Update.
1508         * config/rx/rx.md (*bitset): Rename from bitset.  Swap the ashift
1509         operand to the canonical position.
1510         (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
1511         (*bitclr, *bitclr_in_memory): Similarly.
1512         (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
1513         (insv): Retain the zero_extract in the expansion.
1514
1515         * config/rx/rx.md (bswapsi2): Use = not + for output reload.
1516         (bswaphi2, bitinvert, revw): Likewise.
1517
1518         * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
1519         (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
1520         * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
1521         (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
1522         (bitset, bitset_in_memory): Likewise.
1523         (bitinvert, bitinvert_in_memory): Likewise.
1524         (bitclr, bitclr_in_memory): Likewise.
1525         (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
1526         (rx_strend, rx_cmpstrn): Likewise.
1527         (rx_setmem): Likewise.  Make the source BLKmode to match the dest.
1528         (bitop peep2 patterns): Remove.
1529
1530         * config/rx/rx.c (rx_match_ccmode): New.
1531         * config/rx/rx-protos.h: Update.
1532         * config/rx/rx.md (abssi2): Clobber, don't set flags.
1533         (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
1534         (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
1535         (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
1536         (fix_truncsfsi2, floatsisf2): Likewise.
1537         (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
1538         (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
1539         (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
1540         (*subsi3_flags, *xorsi3_flags): New.
1541
1542         * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
1543
1544         * config/rx/rx.c (rx_print_operand): Remove workaround for
1545         unsplit comparison operations.
1546
1547         * config/rx/rx.md (movsicc): Split after reload.
1548         (*movsicc): Merge *movsieq and *movsine via match_operator.
1549         (*stcc): New pattern.
1550
1551         * config/rx/rx.c (rx_float_compare_mode): Remove.
1552         * config/rx/rx.h (rx_float_compare_mode): Remove.
1553         * config/rx/rx.md (cstoresi4): Split after reload.
1554         (*sccc): New pattern.
1555
1556         * config/rx/predicates.md (label_ref_operand): New.
1557         (rx_z_comparison_operator): New.
1558         (rx_zs_comparison_operator): New.
1559         (rx_fp_comparison_operator): New.
1560         * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
1561         Validate that the flags are set properly for the comparison.
1562         (rx_gen_cond_branch_template): Remove.
1563         (rx_cc_modes_compatible): Remove.
1564         (mode_from_flags): New.
1565         (flags_from_code): Rename from flags_needed_for_conditional.
1566         (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
1567         (rx_select_cc_mode): Likewise.
1568         (rx_split_fp_compare): New.
1569         (rx_split_cbranch): New.
1570         * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
1571         (*cbranchsi4): Use match_operator and rx_split_cbranch.
1572         (*cbranchsf4): Similarly.
1573         (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>.  Use
1574         match_operator and rx_split_cbranch.
1575         (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
1576         tstbranchsi4m_ne.  Use match_operator and rx_split_cbranch.
1577         (*cmpsi): Rename from cmpsi.
1578         (*tstsi): Rename from tstsi.
1579         (*cmpsf): Rename from cmpsf; use CC_Fmode.
1580         (*conditional_branch): Rename from conditional_branch.
1581         (*reveresed_conditional_branch): Remove.
1582         (b<code>): Remove expander.
1583         * config/rx/rx-protos.h: Update.
1584
1585         * config/rx/rx.c (rx_compare_redundant): Remove.
1586         * config/rx/rx.md (cmpsi): Don't use it.
1587         * config/rx/rx-protos.h: Update.
1588
1589         * config/rx/rx-modes.def (CC_F): New mode.
1590         * config/rx/rx.c (rx_select_cc_mode): New.
1591         * config/rx/rx.h (SELECT_CC_MODE): Use it.
1592         * config/rx/rx-protos.h: Update.
1593
1594 2011-01-17  Richard Henderson  <rth@redhat.com>
1595
1596         * except.c (dump_eh_tree): Fix stray ; after for statement.
1597
1598 2011-01-17  Richard Guenther  <rguenther@suse.de>
1599
1600         PR tree-optimization/47313
1601         * tree-inline.c (tree_function_versioning): Move DECL_RESULT
1602         handling before copying the body.  Properly deal with
1603         by-reference result in SSA form.
1604
1605 2011-01-17  Ian Lance Taylor  <iant@google.com>
1606
1607         PR target/47219
1608         * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
1609         (struct_value_alias_set): Don't define.
1610         (sparc_option_override): Don't set sparc_sr_alias_set and
1611         struct_value_alias_set.
1612         (save_or_restore_regs): Use gen_frame_mem rather than calling
1613         set_mem_alias_set.
1614         (sparc_struct_value_rtx): Likewise.
1615
1616 2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>
1617
1618         PR target/47318
1619         * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
1620         __m128i.
1621         (_mm_maskstore_pd): Likewise.
1622         (_mm_maskload_ps): Likewise.
1623         (_mm_maskstore_ps): Likewise.
1624         (_mm256_maskload_pd): Change mask to __m256i.
1625         (_mm256_maskstore_pd): Likewise.
1626         (_mm256_maskload_ps): Likewise.
1627         (_mm256_maskstore_ps): Likewise.
1628
1629         * config/i386/i386-builtin-types.def: Updated.
1630         (ix86_expand_special_args_builtin): Likewise.
1631
1632         * config/i386/i386.c (bdesc_special_args): Update
1633         __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
1634         __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
1635         __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
1636         __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
1637
1638         * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
1639         Use <avxpermvecmode> on mask register.
1640         (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
1641
1642 2011-01-17  Olivier Hainque  <hainque@adacore.com>
1643             Michael Haubenwallner  <michael.haubenwallner@salomon.at>
1644             Eric Botcazou  <ebotcazou@adacore.com>
1645
1646         PR target/46655
1647         * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
1648         if <= USHRT_MAX in 32-bit mode.
1649
1650 2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1651
1652         * doc/install.texi (Configuration, Specific): Wrap long
1653         lines in examples.  Allow line wrapping in long options
1654         and URLs where beneficial for PDF output.
1655
1656 2011-01-16  Richard Sandiford  <rdsandiford@googlemail.com>
1657
1658         * config/mips/mips.c (mips_classify_symbol): Don't return
1659         SYMBOL_PC_RELATIVE for nonlocal labels.
1660
1661 2011-01-15  Eric Botcazou  <ebotcazou@adacore.com>
1662
1663         * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
1664
1665 2011-01-15  Jan Hubicka  <jh@suse.cz>
1666
1667         PR tree-optimization/47276
1668         * ipa.c (function_and_variable_visibility): Do not try to mark alias
1669         declarations as needed.
1670
1671 2011-01-15  Martin Jambor  <mjambor@suse.cz>
1672
1673         * common.opt (fdevirtualize): New flag.
1674         * doc/invoke.texi (Option Summary): Document it.
1675         * opts.c (default_options_table): Add devirtualize flag.
1676         * ipa-prop.c (detect_type_change): Return immediately if
1677         devirtualize flag is not set.
1678         (detect_type_change_ssa): Likewise.
1679         (compute_known_type_jump_func): Likewise.
1680         (ipa_analyze_virtual_call_uses): Likewise.
1681
1682 2011-01-14  Martin Jambor  <mjambor@suse.cz>
1683
1684         PR tree-optimization/45934
1685         PR tree-optimization/46302
1686         * ipa-prop.c (type_change_info): New type.
1687         (stmt_may_be_vtbl_ptr_store): New function.
1688         (check_stmt_for_type_change): Likewise.
1689         (detect_type_change): Likewise.
1690         (detect_type_change_ssa): Likewise.
1691         (compute_complex_assign_jump_func): Check for dynamic type change.
1692         (compute_complex_ancestor_jump_func): Likewise.
1693         (compute_known_type_jump_func): Likewise.
1694         (compute_scalar_jump_functions): Likewise.
1695         (ipa_analyze_virtual_call_uses): Likewise.
1696         (ipa_analyze_node): Push and pop cfun, set current_function_decl.
1697
1698 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1699
1700         * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
1701         * config/i386/i386.opt (msse5): New Alias.
1702
1703 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1704
1705         * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
1706         * config/sparc/linux64.h (CC1_SPEC): Likewise.
1707         * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1708         * config/sparc/sparc.h (CC1_SPEC): Likewise.
1709
1710 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1711
1712         * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
1713         -mcpu options.
1714         * config/sparc/linux64.h (CC1_SPEC): Likewise.
1715         * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1716         * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
1717         * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
1718         Likewise.
1719         * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
1720
1721 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1722
1723         * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
1724         -fvec-eabi.
1725
1726 2011-01-14  Mike Stump  <mikestump@comcast.net>
1727
1728         * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
1729         * config/fr30/fr30.md: Likweise
1730         (movsi_push): Likewise.
1731         (movsi_pop): Likewise.
1732         (enter_func): Likewise.
1733         * config/moxie/moxie.md (movsi_push): Likewise.
1734         (movsi_pop): Likewise.
1735
1736 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1737
1738         * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
1739         %{no_archive} %{exact_version}.
1740         * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
1741         * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
1742         %{no_archive} %{exact_version}.
1743         * config/mips/openbsd.h (LINK_SPEC): Likewise.
1744         * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
1745         * config/mips/vxworks.h: Likewise.
1746
1747 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1748
1749         * config/microblaze/microblaze.h (ASM_SPEC): Remove
1750         %{microblaze1}.
1751
1752 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1753
1754         * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
1755         ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
1756
1757 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1758
1759         * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
1760         -nodefaultlib.
1761
1762 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1763
1764         * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
1765         for mcpu not cpu.
1766         * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
1767         CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
1768         not cpu.
1769         (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
1770         Don't handle -shlib.
1771
1772 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1773
1774         * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
1775         (CC1_SPEC): Don't handle -profile.
1776
1777 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1778
1779         * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
1780         * config/mips/mips.h (CC1_SPEC): Likewise.
1781
1782 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1783
1784         * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
1785         * config/mips/mips.h (CC1_SPEC): Likewise.
1786
1787 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1788
1789         * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
1790         * config/m32r/linux.h (LINK_SPEC): Likewise.
1791         * config/mips/linux.h (LINK_SPEC): Likewise.
1792         * config/mips/linux64.h (LINK_SPEC): Likewise.
1793         * config/sparc/linux.h (LINK_SPEC): Likewise.
1794         * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
1795         LINK_SPEC): Likewise.
1796         * config/xtensa/linux.h (LINK_SPEC): Likewise.
1797
1798 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1799
1800         * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
1801         %{version:-v}.
1802         * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
1803
1804 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1805
1806         * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
1807         * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
1808
1809 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
1810
1811         * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
1812
1813 2011-01-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1814
1815         * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
1816         supports -Bstatic/-Bdynamic.
1817         * configure: Regenerate.
1818
1819 2011-01-14  Jan Hubicka  <jh@suse.cz>
1820         Jack Howarth <howarth@bromo.med.uc.edu>
1821
1822         PR target/46037
1823         * config/darwin.c (darwin_override_options): Honor flag_gtoggle
1824         when checking debug_info_level. Test write_symbols instead of
1825         debug_hooks->var_location when setting flag_var_tracking_uninit.
1826
1827 2011-01-14  Richard Guenther  <rguenther@suse.de>
1828
1829         PR tree-optimization/47179
1830         * target.def (ref_may_alias_errno): New target hook.
1831         * targhooks.h (default_ref_may_alias_errno): Declare.
1832         * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
1833         (default_ref_may_alias_errno): New function.
1834         * target.h (struct ao_ref_s): Declare.
1835         * tree-ssa-alias.c: Include target.h.
1836         (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
1837         * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
1838         (targhooks.o): Likewise.
1839         * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
1840         * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
1841
1842 2011-01-14  Richard Guenther  <rguenther@suse.de>
1843
1844         * tree-ssa-structalias.c  (new_var_info): Use DECL_HARD_REGISTER.
1845
1846 2011-01-14  Richard Guenther  <rguenther@suse.de>
1847
1848         PR tree-optimization/47280
1849         * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
1850         return CFG changes.
1851         (tree_ssa_forward_propagate_single_use_vars): Deal with
1852         CFG changes from associate_plusminus.
1853
1854 2011-01-14  Richard Guenther  <rguenther@suse.de>
1855
1856         PR middle-end/47281
1857         Revert
1858         2011-01-11  Richard Guenther  <rguenther@suse.de>
1859
1860         PR tree-optimization/46076
1861         * tree-ssa.c (useless_type_conversion_p): Conversions from
1862         unprototyped to empty argument list function types are useless.
1863
1864 2011-01-14  Richard Guenther  <rguenther@suse.de>
1865
1866         PR tree-optimization/47286
1867         * tree-ssa-structalias.c (new_var_info): Register variables are global.
1868
1869 2011-01-14  Martin Jambor  <mjambor@suse.cz>
1870
1871         PR middle-end/46823
1872         * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
1873
1874 2011-01-13  Anatoly Sokolov  <aesok@post.ru>
1875
1876         * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
1877         LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
1878         * config/xtensa/xtensa.c (xtensa_libcall_value,
1879         xtensa_function_value_regno_p): New functions.
1880         (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
1881
1882 2011-01-13  Kai Tietz  <kai.tietz@onevision.com>
1883
1884         PR c++/47213
1885         * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
1886         PE specific hook.
1887         * config/i386/i386-protos.h (i386_pe_assemble_visibility):
1888         New function prototype.
1889         * config/i386/winnt.c (i386_pe_assemble_visibility):
1890         Warn only if attribute was specified by user.
1891
1892 2011-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1893
1894         PR target/47251
1895         * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
1896         floating point.
1897         (floatunsdidf2_fcfidu): Ditto.
1898
1899 2011-01-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1900
1901         * config/s390/s390.c (print_operand_address): Replace 'error' with
1902         'output_operand_lossage'.
1903         (print_operand): Likewise.
1904
1905 2011-01-13  Jeff Law  <law@redhat.com>
1906
1907         PR rtl-optimization/39077
1908         * doc/invoke.texi (max-gcse-insertion-ratio): Document.
1909         * params.h (MAX_GCSE_INSERTION_RATIO): Define.
1910         * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
1911         * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
1912         * gcse.c (prune_insertions_deletions): New function.
1913         (compute_pre_data): Use it.
1914
1915 2011-01-13  Dodji Seketeli  <dodji@redhat.com>
1916
1917         PR debug/PR46973
1918         * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
1919         static function.
1920         (prune_unused_types_mark): Use it.
1921
1922 2011-01-13  Andrey Belevantsev  <abel@ispras.ru>
1923
1924         PR rtl-optimization/45352
1925         * sel-sched.c: Update copyright years.
1926         (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
1927         in the advancing loop when we have issued issue_rate insns.
1928
1929 2011-01-12  Richard Henderson  <rth@redhat.com>
1930
1931         * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
1932         (TARGET_MD_ASM_CLOBBERS): New.
1933
1934         * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
1935         (TARGET_DELEGITIMIZE_ADDRESS): New.
1936
1937         * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
1938         (clzsi2, *bsch): New patterns.
1939
1940         * config/mn10300/mn10300.md (INT): New mode iterator.
1941         (*mov<INT>_clr): New pattern, and peep2 to generate it.
1942
1943         * config/mn10300/mn10300.c (mn10300_option_override): Force enable
1944         flag_split_wide_types.
1945
1946         * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
1947         (mn10300_trampoline_init): Rewrite without a template, an immediate
1948         load and a direct branch.
1949         * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
1950
1951 2011-01-12  Anatoly Sokolov  <aesok@post.ru>
1952
1953         * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
1954         * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
1955         * config/s390/s390.c (s390_output_addr_const_extra): Make static.
1956         (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
1957
1958 2011-01-12  Kai Tietz  <kai.tietz@onevision.com>
1959
1960         PR debug/47209
1961         * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
1962         of type.
1963
1964 2011-01-12  Jan Hubicka  <jh@suse.cz>
1965
1966         PR driver/47244
1967         * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
1968         (PLUGIN_COND_CLOSE): New macro.
1969         (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
1970
1971 2011-01-12  Richard Guenther  <rguenther@suse.de>
1972
1973         PR lto/47259
1974         * lto-streamer-out.c (output_gimple_stmt): Do not wrap
1975         register variables in a MEM_REF.
1976
1977 2011-01-12  Joseph Myers  <joseph@codesourcery.com>
1978
1979         * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
1980         crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
1981         hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
1982         i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
1983         i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
1984         x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
1985         ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
1986         m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
1987         mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
1988         s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
1989         sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
1990         am33_2.0-*-linux*): Use gnu-user.h before linux.h.
1991         * config/gnu-user.h: New.  Copied from linux.h.
1992         (LINUX_TARGET_STARTFILE_SPEC): Rename to
1993         GNU_USER_TARGET_STARTFILE_SPEC.
1994         (LINUX_TARGET_ENDFILE_SPEC): Rename to
1995         GNU_USER_TARGET_ENDFILE_SPEC.
1996         (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
1997         (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
1998         (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
1999         LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
2000         CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
2001         UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
2002         BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
2003         BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
2004         LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
2005         TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
2006         * config/arm/linux-eabi.h (CC1_SPEC): Use
2007         GNU_USER_TARGET_CC1_SPEC.
2008         (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
2009         (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
2010         (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
2011         * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
2012         LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
2013         LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
2014         CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
2015         LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
2016
2017 2011-01-12  Richard Guenther  <rguenther@suse.de>
2018
2019         PR other/46946
2020         * doc/invoke.texi (ffast-math): Document it is turned on
2021         with -Ofast.
2022
2023 2011-01-12  Jan Hubicka  <jh@suse.cz>
2024
2025         PR tree-optimization/47233
2026         * opts.c (common_handle_option): Disable ipa-reference with profile
2027         feedback.
2028
2029 2011-01-12  Nicola Pero  <nicola.pero@meta-innovation.com>
2030
2031         * c-parser.c (c_parser_objc_at_property_declaration): Improved
2032         error message.
2033
2034 2011-01-12  Nicola Pero  <nicola.pero@meta-innovation.com>
2035
2036         * c-parser.c (c_lex_one_token): Updated and reindented some
2037         comments.  No changes in code.
2038
2039 2011-01-11  Ian Lance Taylor  <iant@google.com>
2040
2041         * godump.c (go_output_var): Don't output the variable if there is
2042         already a type with the same name.
2043
2044 2011-01-11  Ian Lance Taylor  <iant@google.com>
2045
2046         * godump.c (go_format_type): Don't generate float80.
2047
2048 2011-01-11  Richard Henderson  <rth@redhat.com>
2049
2050         * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
2051         declaration.  Rewrite for both speed and size.
2052         (mn10300_address_cost_1): Remove.
2053         (mn10300_register_move_cost): New.
2054         (mn10300_memory_move_cost): New.
2055         (mn10300_rtx_costs): Rewrite for both speed and size.  Don't handle
2056         ZERO_EXTRACT.  Do handle UNSPEC, arithmetic, logicals, compare,
2057         extensions, shifts, BSWAP, CLZ.
2058         (mn10300_wide_const_load_uses_clr): Remove.
2059         (TARGET_REGISTER_MOVE_COST): New.
2060         (TARGET_MEMORY_MOVE_COST): New.
2061         * config/mn10300/mn10300-protos.h: Update.
2062         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
2063
2064         * config/mn10300/constraints.md ("R", "T"): Remove constraints.
2065         * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
2066         * config/mn10300/mn10300-protos.h: Update.
2067         * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
2068         (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
2069         (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
2070         (*test_int_bitfield, *test_byte_bitfield): Remove.
2071         (*bit_test, *subreg_bit_test): Remove.
2072         * config/mn10300/predicates.md (const_8bit_operand): Remove.
2073
2074         * config/mn10300/constraints.md ("c"): Rename from "A".
2075         ("A", "D"): New constraint letters.
2076         * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
2077         (fmssf4, fnmasf4, fnmssf4): Likewise.
2078
2079         * config/mn10300/mn10300.md (isa): New attribute.
2080         (enabled): New attribute.
2081
2082         * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
2083         (abssf2, negsf2): Define only for hardware fp.
2084         (sqrtsf2): Reformat.
2085         (addsf3, subsf3, mulsf3): Merge expander and insn.
2086
2087         * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
2088         (DEBUGGER_AUTO_OFFSET): Remove.
2089         (DEBUGGER_ARG_OFFSET): Remove.
2090
2091         * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
2092         Emit register stores with the same offsets as the hardware.
2093         (mn10300_store_multiple_operation): Don't check that the register
2094         save offsets are monotonic.
2095         * config/mn10300/mn10300-protos.h: Update.
2096
2097         * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
2098
2099         * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
2100         in terms of the value on the stack, not the MDR register.
2101
2102 2011-01-11  Jan Hubicka  <jh@suse.cz>
2103
2104         PR lto/45721
2105         PR lto/45375
2106         * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
2107         (symbol_alias_set_destroy, symbol_alias_set_contains,
2108         propagate_aliases_backward): Declare.
2109         * lto-streamer-out.c (struct sets): New sturcture.
2110         (trivally_defined_alias): New function.
2111         (output_alias_pair_p): Rewrite.
2112         (output_unreferenced_globals): Fix output of alias pairs.
2113         (produce_symtab): Likewise.
2114         * ipa.c (function_and_variable_visibility): Set weak alias destination
2115         as needed in lto.
2116         * varasm.c (symbol_alias_set_t): Remove.
2117         (symbol_alias_set_destroy): Export.
2118         (propagate_aliases_forward, propagate_aliases_backward): New functions
2119         based on ...
2120         (compute_visible_aliases): ... this one; remove.
2121         (trivially_visible_alias): New
2122         (trivially_defined_alias): New.
2123         (remove_unreachable_alias_pairs): Rewrite.
2124         (finish_aliases_1): Reorganize code checking if alias is defined.
2125         * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
2126         in LTO mode.
2127
2128 2011-01-11  Richard Guenther  <rguenther@suse.de>
2129
2130         PR tree-optimization/46076
2131         * tree-ssa.c (useless_type_conversion_p): Conversions from
2132         unprototyped to empty argument list function types are useless.
2133
2134 2011-01-11  Richard Guenther  <rguenther@suse.de>
2135
2136         PR middle-end/45235
2137         * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
2138         volatile MEMs as MEM_READONLY_P.
2139
2140 2011-01-11  Richard Guenther  <rguenther@suse.de>
2141
2142         PR tree-optimization/47239
2143         * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
2144
2145 2011-01-11  Jeff Law  <law@redhat.com>
2146
2147         PR tree-optimization/47086
2148         * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
2149         IVs from statements that might throw.
2150
2151 2011-01-10  Jan Hubicka  <jh@suse.cz>
2152
2153         PR lto/45375
2154         * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
2155
2156 2011-01-10  Jan Hubicka  <jh@suse.cz>
2157
2158         PR lto/45375
2159         * profile.c (read_profile_edge_counts): Ignore profile inconistency
2160         when correcting profile.
2161
2162 2011-01-10  Jan Hubicka  <jh@suse.cz>
2163
2164         PR lto/46083
2165         * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
2166         DECL_FINI_PRIORITY.
2167         * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
2168         Restore DECL_FINI_PRIORITY.
2169
2170 2011-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2171
2172         * doc/gimple.texi: Fix quoting of multi-word return values in
2173         @deftypefn statements.  Ensure presence of return value.  Wrap
2174         overlong @deftypefn lines.
2175         (is_gimple_operand, is_gimple_min_invariant_address): Remove
2176         descriptions of removed functions.
2177         * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
2178         of multi-word return value in @deftypefn statement.
2179
2180 2011-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2181
2182         * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
2183         (Conditional Expressions, Logical Operators)
2184         (Statement and operand traversals): Do not indent smallexample
2185         code.  Fix duplicate function argument in example.
2186
2187 2011-01-10  Jeff Law  <law@redhat.com>
2188
2189         PR tree-optimization/47141
2190         * ipa-split.c (split_function): Handle case where we are
2191         returning a value and the return block has a virtual operand phi.
2192
2193 2011-01-10  Jan Hubicka  <jh@suse.cz>
2194
2195         PR tree-optimization/47234
2196         * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
2197         (pass_feedback_split_functions): Declare.
2198         * passes.c (init_optimization_passes): Add ipa-split as subpass of
2199         tree-profile.
2200         * ipa-split.c (gate_split_functions): Update comments; disable
2201         split-functions for profile_arc_flag and branch_probabilities.
2202         (gate_feedback_split_functions): New function.
2203         (execute_feedback_split_functions): New function.
2204         (pass_feedback_split_functions): New global var.
2205
2206 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2207
2208         PR lto/46760
2209         * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
2210         calling gimple_call_set_cannot_inline.
2211
2212 2011-01-10  Iain Sandoe  <iains@gcc.gnu.org>
2213
2214         * config/darwin-sections.def: Remove unused section.
2215
2216 2011-01-10  Dave Korn  <dave.korn.cygwin@gmail.com>
2217
2218         PR c++/47218
2219         * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
2220
2221 2011-01-09  Nicola Pero  <nicola.pero@meta-innovation.com>
2222
2223         PR objc/47232
2224         * c-parser.c (c_parser_declaration_or_fndef): Improved
2225         error message.
2226
2227 2011-01-09  Kai Tietz  <kai.tietz@onevision.com>
2228
2229         * config/i386/winnt.c (i386_pe_start_function): Make sure
2230         to switch back to function's section.
2231
2232 2011-01-09  Iain Sandoe  <iains@gcc.gnu.org>
2233
2234         PR gcc/46902
2235         PR testsuite/46912
2236         * plugin.c: Move include of dlfcn.h from here...
2237         * system.h: ... to here.
2238
2239 2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2240
2241         * doc/cpp.texi (C++ Named Operators): Fix markup for header
2242         file name.
2243         * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
2244         two extra empty pages in PDF output.
2245
2246 2011-01-08  Nicola Pero  <nicola.pero@meta-innovation.com>
2247
2248         PR objc/47078
2249         * c-parser.c (c_parser_objc_type_name): If the type is unknown,
2250         for error recovery purposes behave as if it was not specified so
2251         that the default type is usd.
2252
2253 2011-01-07  Jan Hubicka  <jh@suse.cz>
2254
2255         PR tree-optmization/46469
2256         * ipa.c (function_and_variable_visibility): Clear needed flags on
2257         nodes with external decls; handle weakrefs merging correctly.
2258
2259 2011-01-07  Joseph Myers  <joseph@codesourcery.com>
2260
2261         * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
2262         not false.
2263
2264 2011-01-07  Jan Hubicka  <jh@suse.cz>
2265
2266         * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
2267         and no longer claim that gold is required for linker plugin.
2268         * configure: Regenerate.
2269         * gcc.c (PLUGIN_COND): New macro.
2270         (LINK_COMMAND_SPEC): Use it.
2271         (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
2272         * config.in (HAVE_LTO_PLUGIN): New.
2273         * configure.ac (--with-lto-plugin): New parameter; autodetect
2274         HAVE_LTO_PLUGIN.
2275
2276 2011-01-07  Jan Hubicka  <jh@suse.cz>
2277
2278         PR tree-optimization/46367
2279         * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
2280         when we can update original.
2281         (cgraph_mark_inline_edge): Sanity check.
2282         * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
2283
2284 2011-01-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2285
2286         * config/spu/spu.h (ASM_COMMENT_START): Define.
2287
2288 2011-01-07  H.J. Lu  <hongjiu.lu@intel.com>
2289
2290         PR driver/42445
2291         * gcc.c (%>S): New.
2292         (SWITCH_KEEP_FOR_GCC): Likewise.
2293         (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
2294         (do_spec_1): Handle "%>".
2295
2296         * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
2297
2298 2011-01-07  Jakub Jelinek  <jakub@redhat.com>
2299
2300         PR target/47201
2301         * config/i386/i386.c (ix86_delegitimize_address): If
2302         simplify_gen_subreg fails, return orig_x.
2303
2304         PR bootstrap/47187
2305         * value-prof.c (gimple_stringop_fixed_value): Handle
2306         lhs of the call properly.
2307
2308 2011-01-07  Jan Hubicka  <jh@suse.cz>
2309
2310         PR lto/45375
2311         * lto-opt.c (lto_reissue_options): Set flag_shlib.
2312
2313 2011-01-07  Iain Sandoe  <iains@gcc.gnu.org>
2314
2315         * target.def (function_switched_text_sections): New hook.
2316         * doc/tm.texi: Regenerated.
2317         * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
2318         * final.c (default_function_switched_text_sections): New.
2319         (final_scan_insn): Call function_switched_text_sections when a
2320         mid-function section change occurs.
2321         * output.h (default_function_switched_text_sections): Declare.
2322         * config/darwin-protos.h (darwin_function_switched_text_sections):
2323         Likewise.
2324         * config/darwin.c (darwin_function_switched_text_sections): New.
2325         * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
2326
2327 2011-01-07  Iain Sandoe  <iains@gcc.gnu.org>
2328
2329         * dwarf2out.c (gen_subprogram_die):  Add pubnames with code ranges for
2330         DWARF >= 3.  Add pubnames for the primary section and a reduced DIE for
2331         the secondary code fragment when outputting for DWARF == 2.
2332
2333 2011-01-07  Anatoly Sokolov  <aesok@post.ru>
2334
2335         * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
2336         * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
2337         Remove.
2338         * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
2339         (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
2340
2341 2011-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2342
2343         PR debug/46704
2344         * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
2345         when it is not empty.
2346
2347 2011-01-06  Changpeng Fang  <changpeng.fang@amd.com>
2348
2349         Bobcat Enablement
2350         * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
2351         (case ${target}): Add btver1.
2352         * config/i386/driver-i386.c (host_detect_local_cpu): Let
2353         -march=native recognize btver1 processors.
2354         * config/i386/i386-c.c (ix86_target_macros_internal): Add
2355         btver1 def_and_undef
2356         * config/i386/i386.c (struct processor_costs btver1_cost): New
2357         btver1 cost table.
2358         (m_BTVER1): New definition.
2359         (m_AMD_MULTIPLE): Includes m_BTVER1.
2360         (initial_ix86_tune_features): Add btver1 tune.
2361         (processor_target_table): Add btver1 entry.
2362         (static const char *const cpu_names): Add btver1 entry.
2363         (software_prefetching_beneficial_p): Add btver1.
2364         (ix86_option_override_internal): Add btver1 instruction sets.
2365         (ix86_issue_rate): Add btver1.
2366         (ix86_adjust_cost): Add btver1.
2367         * config/i386/i386.h (TARGET_BTVER1): New definition.
2368         (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
2369         (enum processor_type): Add PROCESSOR_BTVER1.
2370         * config/i386/i386.md (define_attr "cpu"): Add btver1.
2371
2372 2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2373
2374         PR target/43309
2375         * config/i386/i386.c (legitimize_tls_address)
2376         <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
2377         * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
2378         (tls_initial_exec_64_sun): New pattern.
2379
2380 2011-01-06  Gerald Pfeifer  <gerald@pfeifer.com>
2381
2382         * doc/invoke.texi (Overall Options): Improve wording and markup
2383         of the description of -wrapper.
2384
2385 2011-01-06  Joseph Myers  <joseph@codesourcery.com>
2386
2387         * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
2388         rdynamic, threads): New Driver options.
2389
2390 2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2391
2392         PR target/38118
2393         * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
2394         if coming from .tdata.
2395         * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
2396
2397 2011-01-06  Jan Hubicka  <jh@suse.cz>
2398
2399         PR lto/47188
2400         * collect2.c (main): Do not enable LTOmode when plugin is active.
2401
2402 2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2403
2404         PR other/45915
2405         * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
2406         --version output if supported.
2407         * configure: Regenerate.
2408
2409 2011-01-06  Joseph Myers  <joseph@codesourcery.com>
2410
2411         * config/linux-android.opt (tno-android-cc, tno-android-ld): New
2412         Driver options.
2413
2414 2011-01-06  Jakub Jelinek  <jakub@redhat.com>
2415
2416         PR c/47150
2417         * c-convert.c (convert): When converting a complex expression
2418         other than COMPLEX_EXPR to a different complex type, ensure
2419         c_save_expr is called instead of save_expr, unless in_late_binary_op.
2420         * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
2421         when converting COMPLEX_TYPE.
2422
2423 2011-01-06  Ira Rosen  <irar@il.ibm.com>
2424
2425         PR tree-optimization/47139
2426         * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
2427         only the last reduction value is used outside the loop.  Update
2428         documentation.
2429
2430 2011-01-05  Joseph Myers  <joseph@codesourcery.com>
2431
2432         * config/rtems.opt: New.
2433         * config.gcc (*-*-rtems*): Use rtems.opt.
2434
2435 2011-01-05  Changpeng Fang  <changpeng.fang@amd.com>
2436
2437         * config/i386/i386.c (ix86_option_override_internal): Bulldozer
2438         processors do not support 3DNow instructions.
2439
2440 2011-01-05  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2441
2442         * config/spu/spu.c (spu_option_override): Set parameter
2443         PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
2444
2445 2011-01-05  Jan Hubicka  <jh@suse.cz>
2446
2447         * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
2448         at the command line.
2449
2450 2011-01-05  Martin Jambor  <mjambor@suse.cz>
2451
2452         PR lto/47162
2453         * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
2454         deltas on streamed outgoing edges.
2455         (output_node_opt_summary): Output info for outgoing edges only when
2456         the node is in new parameter set.
2457         (output_cgraph_opt_summary): New parameter set, passed to the two
2458         aforementioned functions.  Update its forward declaration and its
2459         callee too.
2460
2461 2011-01-05  Tom Tromey  <tromey@redhat.com>
2462
2463         * c-parser.c (c_parser_omp_atomic): Pass location of assignment
2464         operator to c_finish_omp_atomic.
2465         * c-typeck.c (lvalue_or_else): Add 'loc' argument.
2466         (build_unary_op): Update.
2467         (build_modify_expr): Update.
2468         (build_asm_expr): Update.
2469
2470 2011-01-05  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2471
2472         * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
2473         newly inserted insns.
2474         (pad_bb): Likewise.
2475         (spu_emit_branch_hint): Likewise.
2476         (insert_hbrp_for_ilb_runout): Likewise.
2477         (spu_machine_dependent_reorg): Call df_finish_pass after
2478         schedule_insns returns.
2479
2480 2011-01-05  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2481
2482         * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
2483
2484 2011-01-05  Eric Botcazou  <ebotcazou@adacore.com>
2485
2486         PR tree-optimization/47005
2487         * tree-sra.c (struct access): Add 'non_addressable' bit.
2488         (create_access): Set it for a DECL_NONADDRESSABLE_P field.
2489         (decide_one_param_reduction): Return 0 if the parameter is passed by
2490         reference and one of the accesses in the group is non_addressable.
2491
2492 2011-01-04  Eric Botcazou  <ebotcazou@adacore.com>
2493
2494         PR tree-optimization/47056
2495         * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
2496         (mark_load): Likewise.  Handle FUNCTION_DECL specially.
2497         (mark_store): Likewise.  Pass STMT to ipa_record_reference.
2498
2499 2011-01-04  Eric Botcazou  <ebotcazou@adacore.com>
2500
2501         * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
2502         initializer.  Skip view conversions from aggregate types.
2503
2504 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
2505
2506         PR bootstrap/47055
2507         * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
2508
2509 2011-01-04  Philipp Thomas <pth@suse.de>
2510
2511         * config/microblaze/microbalse.opt (mxl-float-convert): Fix
2512         obvious typo.
2513
2514 2011-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2515
2516         * function.c (thread_prologue_and_epilogue_insns): Do not crash
2517         on empty epilogue sequences.
2518
2519 2011-01-04  Joseph Myers  <joseph@codesourcery.com>
2520
2521         * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
2522         non-static): New Driver options.
2523
2524 2011-01-04  Jie Zhang  <jie@codesourcery.com>
2525
2526         PR driver/47137
2527         * gcc.c (default_compilers[]): Set combinable field to 0
2528         for all assembly languages.
2529
2530 2011-01-04  Mingjie Xing  <mingjie.xing@gmail.com>
2531
2532         * config/mips/loongson3a.md: New file.
2533         * config/mips/mips.md: Include loongson3a.md.
2534         * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
2535         TUNE_LOONGSON_3A.
2536
2537 2011-01-03  Eric Botcazou  <ebotcazou@adacore.com>
2538
2539         PR middle-end/47017
2540         * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
2541         instead of convert_memory_address_addr_space on the base expression.
2542
2543 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2544
2545         * config/spu/spu.c (spu_option_override): Update error text
2546         for bad -march= / -mtune= values.
2547
2548 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2549
2550         * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
2551         if branch-hint optimization will be performed.
2552
2553 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
2554
2555         PR tree-optimization/47148
2556         * ipa-split.c (split_function): Convert arguments to
2557         DECL_ARG_TYPE if possible.
2558
2559         PR tree-optimization/47155
2560         * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
2561         when computing uns.
2562
2563         PR rtl-optimization/47157
2564         * combine.c (try_combine): If undobuf.other_insn becomes
2565         (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
2566         and set *new_direct_jump_p too.
2567
2568 2011-01-03  Sebastian Pop  <sebastian.pop@amd.com>
2569
2570         PR tree-optimization/47021
2571         * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
2572
2573 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
2574
2575         * gcc.c (process_command): Update copyright notice dates.
2576         * gcov.c (print_version): Likewise.
2577         * gcov-dump.c (print_version): Likewise.
2578         * mips-tfile.c (main): Likewise.
2579         * mips-tdump.c (main): Likewise.
2580
2581 2011-01-03  Martin Jambor  <mjambor@suse.cz>
2582
2583         PR tree-optimization/46801
2584         * tree-sra.c (type_internals_preclude_sra_p): Check whether
2585         aggregate fields start at byte boundary instead of the bit-field flag.
2586
2587 2011-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2588
2589         PR driver/47137
2590         * gcc.c (main): Revert revision 168407.
2591
2592 2011-01-03  Martin Jambor  <mjambor@suse.cz>
2593
2594         * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
2595
2596 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2597
2598         * tree-vect-generic.c (expand_vector_operations_1): When using vector/
2599         vector optab to expand vector/scalar shift, update gimple to vector.
2600
2601 2011-01-03  Martin Jambor  <mjambor@suse.cz>
2602
2603         * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
2604         a thunk.
2605
2606 2011-01-03  Martin Jambor  <mjambor@suse.cz>
2607
2608         PR tree-optimization/46984
2609         * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
2610         HOST_WIDE_INT.
2611         (cgraph_create_indirect_edge): Fixed line length.
2612         (cgraph_indirect_call_info): Declare.
2613         (cgraph_make_edge_direct) Update declaration.
2614         * cgraph.c (cgraph_allocate_init_indirect_info): New function.
2615         (cgraph_create_indirect_edge): Use it.
2616         (cgraph_make_edge_direct): Made delta HOST_WIDE_INT.  Updated all
2617         callees.
2618         * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
2619         the new thunk_delta representation.
2620         * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
2621         HOST_WIDE_INT.
2622         (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
2623         (ipa_read_indirect_edge_info): Likewise.
2624         * lto-cgraph.c (output_edge_opt_summary): New function.
2625         (output_node_opt_summary): Call it on all outgoing edges.
2626         (input_edge_opt_summary): New function.
2627         (input_node_opt_summary): Call it on all outgoing edges.
2628
2629 2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>
2630
2631         PR driver/47137
2632         * gcc.c (main): Don't check have_o when settting combine_inputs.
2633
2634 2011-01-02  Eric Botcazou  <ebotcazou@adacore.com>
2635
2636         * regrename.c: Add general comment describing the pass.
2637         (struct du_head): Remove 'length' field.
2638         (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
2639         (regrename_optimize): Do not sort chains.  Rework comments, add others.
2640         Force renaming to the preferred class (if any) in the first pass and do
2641         not consider registers that belong to it in the second pass.
2642         (create_new_chain): Do not set 'length' field.
2643         (scan_rtx_reg): Likewise.
2644
2645 2011-01-02  Jakub Jelinek  <jakub@redhat.com>
2646
2647         PR tree-optimization/47140
2648         * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
2649         TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
2650         to bit_value_binop.
2651
2652         PR rtl-optimization/47028
2653         * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
2654         parm_birth_insn instead of at the beginning of first bb.
2655
2656 2011-01-02  Mingjie Xing  <mingjie.xing@gmail.com>
2657
2658         * doc/generic.texi: Remove duplicated "@subsubsection Statements".
2659         Remove the word "see" before "@pxref".
2660         * doc/rtl.texi: Remove the word "see" before "@pxref".
2661
2662 2011-01-01  Jan Hubicka  <jh@suse.cz>
2663
2664         * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
2665         memory.
2666
2667 2011-01-01  Kai Tietz  <kai.tietz@onevision.com>
2668
2669         PR target/38662
2670         * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
2671
2672 \f
2673 Copyright (C) 2011 Free Software Foundation, Inc.
2674
2675 Copying and distribution of this file, with or without modification,
2676 are permitted in any medium without royalty provided the copyright
2677 notice and this notice are preserved.