OSDN Git Service

PR target/47986
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2011-03-05  Alan Modra  <amodra@gmail.com>
2
3         PR target/47986
4         * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle
5         full cmodel medium/large lo_sum + high addresses.
6
7 2011-03-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8
9         * config/s390/s390.c (s390_decompose_address): Reject non-literal
10         pool references in UNSPEC_LTREL_OFFSET.
11
12 2011-03-04  Jan Hubicka  <jh@suse.cz>
13
14         PR lto/47497
15         * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias.
16         (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here.
17         * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): Add node pointers.
18         * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias,
19         cgraph_add_thunk): Add node pointers.
20         * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are
21         associated to right node.
22         (input_node): Update use of cgraph_same_body_alias
23         and cgraph_add_thunk.
24
25 2011-03-04  Changpeng Fang  <changpeng.fang@amd.com>
26
27         * config/i386/i386.opt (mprefer-avx128): New flag.
28         * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit mode
29         when the flag -mprefer-avx128 is on.
30
31 2011-03-04  Richard Sandiford  <richard.sandiford@linaro.org>
32
33         * dwarf2out.c (compare_loc_operands): Fix address handling.
34
35 2011-03-04  Alan Modra  <amodra@gmail.com>
36
37         * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment.
38
39 2011-03-04  Richard Guenther  <rguenther@suse.de>
40
41         PR middle-end/47968
42         * expmed.c (extract_bit_field_1): Prefer vector modes that
43         vec_extract patterns can handle.
44
45 2011-03-04  Richard Guenther  <rguenther@suse.de>
46
47         PR middle-end/47975
48         * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P.
49
50 2011-03-04  Richard Henderson  <rth@redhat.com>
51
52         * explow.c (emit_stack_save): Remove 'after' parameter.
53         (emit_stack_restore): Likewise.
54         * expr.h: Update to match.
55         * builtins.c, calls.c, stmt.c: Likewise.
56         * config/alpha/alpha.md, config/avr/avr.md: Likewise.
57         * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise.
58         * function.c (expand_function_end): Insert the emit_stack_save
59         sequence before parm_birth_insn instead of after.
60
61 2011-03-03  Uros Bizjak  <ubizjak@gmail.com>
62
63         * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
64         (ssse3_pmaddubsw128): Ditto.
65         (ssse3_pmaddubsw): Ditto.
66
67 2011-03-03  Steve Ellcey  <sje@cup.hp.com>
68
69         * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH
70
71 2011-03-03  Jakub Jelinek  <jakub@redhat.com>
72
73         PR c/47963
74         * gimplify.c (omp_add_variable): Only call omp_notice_variable
75         on TYPE_SIZE_UNIT if it is a DECL.
76
77         PR debug/47283
78         * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF
79         first operand is not is_gimple_mem_ref_addr, try to fold it.
80         If the operand still isn't is_gimple_mem_ref_addr, clear
81         MEM_EXPR on op0.
82
83 2011-03-03  Richard Guenther  <rguenther@suse.de>
84
85         PR middle-end/47283
86         * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code
87         match comment.
88         (refs_may_alias_p_1): For release branches return true if
89         we are confused by our input.
90
91 2011-03-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92
93         * config/s390/s390.c (s390_function_value): Rename to ...
94         (s390_function_and_libcall_value): ... this.
95         (s390_function_value): New function.
96         (s390_libcall_value): New function.
97         (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks.
98         * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove
99         target macro definitions.
100         * config/s390/s390-protos.h (s390_function_value): Remove prototype.
101
102 2011-03-02  Joseph Myers  <joseph@codesourcery.com>
103
104         * config/i386/freebsd64.h (CC1_SPEC): Define.
105         * config/i386/linux64.h (CC1_SPEC): Define.
106         * config/i386/x86-64.h (CC1_SPEC): Don't define.
107
108 2011-03-02  Anatoly Sokolov  <aesok@post.ru>
109
110         * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
111         Remove.
112         * config/stormy16/stormy16.c: Include reload.h.
113         (xstormy16_memory_move_cost): New function.
114         (TARGET_MEMORY_MOVE_COST): Define.
115
116 2011-03-02  Richard Sandiford  <richard.sandiford@linaro.org>
117
118         PR rtl-optimization/47925
119         * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions
120         with side effects.  Remove the more-specific check for volatile asms.
121
122 2011-03-02  Alan Modra  <amodra@gmail.com>
123
124         PR target/47935
125         * config/rs6000/predicates.md (lwa_operand): Check cmodel medium
126         toc relative addresses for valid offsets.
127
128 2011-03-01  Richard Guenther  <rguenther@suse.de>
129
130         PR tree-optimization/47890
131         * tree-vect-loop.c (get_initial_def_for_induction): Set
132         related stmt properly.
133
134 2011-03-01  Richard Guenther  <rguenther@suse.de>
135
136         PR lto/47924
137         * lto-streamer.c (lto_record_common_node): Also register
138         the canonical type.
139
140 2011-03-01  Richard Guenther  <rguenther@suse.de>
141
142         PR lto/46911
143         * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers):
144         Do not stream DECL_ABSTRACT_ORIGIN.
145         (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION,
146         BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN.
147         * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers):
148         Do not stream DECL_ABSTRACT_ORIGIN.
149         (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION,
150         BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN.
151
152 2011-02-28  Anatoly Sokolov  <aesok@post.ru>
153
154         * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE,
155         FUNCTION_VALUE_REGNO_P): Remove.
156         * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove.
157         * config/stormy16/stormy16.c (xstormy16_function_value): Make static.
158         Add 'outgoing' argument.
159         (xstormy16_libcall_value, xstormy16_function_value_regno_p): New
160         function.
161         (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE,
162         TARGET_FUNCTION_VALUE_REGNO_P): Define.
163
164 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
165
166         PR debug/28047
167         * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp.
168         (lookup_filename): Likewise.
169         * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp.
170
171 2011-02-28  Bernd Schmidt  <bernds@codesourcery.com>
172             Jakub Jelinek  <jakub@redhat.com>
173
174         PR middle-end/47893
175         * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define.
176         (assign_stack_local_1): Change last argument type to int.
177         * function.c (assign_stack_local_1): Replace reduce_alignment_ok
178         argument with kind.  If bit ASLK_RECORD_PAD is not set in it,
179         don't record padding space into frame_space_list nor use those areas.
180         (assign_stack_local): Adjust caller.
181         (assign_stack_temp_for_type): Call assign_stack_local_1 instead
182         of assign_stack_local, pass 0 as last argument.
183         * caller-save.c (setup_save_areas): Adjust assign_stack_local_1
184         callers.
185
186 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
187
188         PR debug/47283
189         * cfgexpand.c (convert_debug_memory_address): Add AS parameter.
190         Use target address_mode and pointer_mode hooks instead of hardcoded
191         Pmode and ptr_mode.  Handle some simple cases of extending if
192         POINTERS_EXTEND_UNSIGNED < 0.
193         (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>:
194         Call convert_debug_memory_address.
195         (expand_debug_expr) <case ADDR_EXPR>: Pass as to
196         convert_debug_memory_address.
197
198         PR middle-end/46790
199         * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test.
200         * configure: Regenerated.
201         * config.in: Regenerated.
202         * varasm.c (default_function_section): Return NULL
203         if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name.
204
205 2011-02-28  Martin Jambor  <mjambor@suse.cz>
206
207         * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix
208         the description to match the printed values.
209
210 2011-02-28  Richard Guenther  <rguenther@suse.de>
211
212         * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT
213         of the copied scope tree.
214
215 2011-02-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
216
217         * doc/extend.texi (Function Attributes): Avoid deeply (and
218         wrongly) nested tables.
219
220 2011-02-27  Jakub Jelinek  <jakub@redhat.com>
221
222         PR middle-end/47903
223         * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR,
224         MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if
225         r isn't op0 nor op1.
226
227 2011-02-23  Georg-Johann Lay  <avr@gjlay.de>
228
229         * config/avr/avr.md: Remove magic comment for emacs.
230
231 2011-02-23  Georg-Johann Lay  <avr@gjlay.de>
232
233         PR target/45261
234         * config/avr/avr.c (avr_option_override): Use error on bad options.
235         (avr_help): New function.
236         (TARGET_HELP): Define.
237
238 2011-02-22  Georg-Johann Lay  <avr@gjlay.de>
239
240         PR target/42240
241         * config/avr/avr.c (avr_cannot_modify_jumps_p): New function.
242         (TARGET_CANNOT_MODIFY_JUMPS_P): Define.
243
244 2011-02-26  Gerald Pfeifer  <gerald@pfeifer.com>
245
246         * doc/invoke.texi (ARC Options): Use CPU instead of cpu.
247         (ARM Options): Ditto.
248         (i386 and x86-64 Options): Ditto.
249         (RX Options): Ditto.
250         (SPARC Options): Ditto.
251
252 2011-02-26  Tijl Coosemans  <tijl@coosemans.org>
253
254         * config.gcc (i386-*-freebsd*): Make i486 the default arch on
255         FreeBSD 6 and later.  Generally use cpu generic.
256
257 2011-02-25  Gerald Pfeifer  <gerald@pfeifer.com>
258
259         * doc/cpp.texi: Update copyright years.
260
261 2011-02-25  Sebastien Bourdeauducq  <sebastien@milkymist.org>
262
263         PR target/46898
264         * config/lm32/lm32.md (ashrsi3): Added needed variable.
265
266 2011-02-25  Jon Beniston  <jon@beniston.com>
267
268         PR target/46898
269         * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New.
270         * config/lm32/lm32.md (ashlsi3): Remove unused variable.
271         * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New.
272         (lm32_block_move_inline): Add type cast to remove warning.
273         (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out.
274         (gen_int_relational): Move declarations to start of function.
275
276 2011-02-25  Eric Botcazou  <ebotcazou@adacore.com>
277
278         PR tree-optimization/45470
279         * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement
280         can throw internally only.
281         * tree-vect-stmts.c (vectorizable_call): Likewise.
282
283 2011-02-24  Anatoly Sokolov  <aesok@post.ru>
284
285         * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS,
286         PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
287         * config/stormy16/stormy16-protos.h
288         (xstormy16_preferred_reload_class): Remove.
289         * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make
290         static. Change 'rclass' argument and return type to reg_class_t.
291         (TARGET_PREFERRED_RELOAD_CLASS,
292         TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define.
293
294 2011-02-24  Richard Guenther  <rguenther@suse.de>
295
296         * lto-streamer-in.c (input_bb): Do not find referenced vars
297         in debug statements.
298
299 2011-02-23  Jason Merrill  <jason@redhat.com>
300
301         * common.opt (fabi-version): Document v5 and v6.
302
303 2011-02-23  Richard Guenther  <rguenther@suse.de>
304
305         PR tree-optimization/47849
306         * tree-if-conv.c (main_tree_if_conversion): Free postdom info.
307
308 2011-02-23  Jie Zhang  <jie@codesourcery.com>
309
310         * opts-common.c (decode_cmdline_option): Print empty string
311         argument as "" in decoded->orig_option_with_args_text.
312         * gcc.c (execute): Print empty string argument as ""
313         in the verbose output.
314         (do_spec_1): Keep empty string argument.
315
316 2011-02-23  Nathan Froyd  <froydnj@codesourcery.com>
317
318         * config.gcc: Declare score-* and crx-* obsolete.
319
320 2011-02-23  Jie Zhang  <jie@codesourcery.com>
321
322         PR rtl-optimization/47763
323         * web.c (web_main): Ignore naked clobber when replacing register.
324
325 2011-02-22  Anatoly Sokolov  <aesok@post.ru>
326
327         * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P):
328         Remove.
329
330 2011-02-22  Sebastian Pop  <sebastian.pop@amd.com>
331
332         PR doc/47848
333         * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes.
334
335 2011-02-22  Mike Stump  <mikestump@comcast.net>
336
337         * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin
338         assembler.
339         * configure: Regenerate.
340
341 2011-02-21  Chung-Lin Tang  <cltang@codesourcery.com>
342
343         PR rtl-optimization/46002
344         * ira-color.c (update_copy_costs): Change class intersection
345         test to reg_class_contents[] test of 'hard_regno'.
346
347 2011-02-21  Joseph Myers  <joseph@codesourcery.com>
348
349         * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather
350         than Driver option.
351         * config/hpux11.opt (mt): Likewise.
352         * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise.
353         * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise.
354         * config/vax/elf.opt (mno-asm-pic): Likewise.
355         * config/vms/vms.opt (map, mvms-return-codes): Likewise.
356
357 2011-02-21  Mike Stump  <mikestump@comcast.net>
358
359         PR target/47822
360         * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a
361         tree so we can get save the type.
362         * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot
363         for CFString instead of trying to use past the end of the builtins.
364         * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise.
365         * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise.
366         * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise.
367         * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING):
368         Rename to darwin_builtin_cfstring.
369         (darwin_init_cfstring_builtins): Return the built type.
370
371 2011-02-21  Uros Bizjak  <ubizjak@gmail.com>
372
373         PR target/47840
374         * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32.
375         (_mm256_insert_epi64): Use _mm_insert_epi64.
376
377 2011-02-21  Anatoly Sokolov  <aesok@post.ru>
378
379         * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
380         * config/stormy16/stormy16-protos.h
381         (xstormy16_mode_dependent_address_p): Remove.
382         * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p):
383         Make static. Change return type to bool. Change argument type to
384         const_rtx. Remove dead code.
385         (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
386
387 2011-02-21  Richard Guenther  <rguenther@suse.de>
388
389         PR lto/47820
390         * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers):
391         Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs.
392         (lto_input_ts_block_tree_pointers): Hook a BLOCK into the
393         TUs context.
394         * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers):
395         Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs.
396
397 2011-02-20  Richard Guenther  <rguenther@suse.de>
398
399         PR lto/47822
400         * tree.c (free_lang_data_in_decl): Clean builtins from
401         the TU decl BLOCK_VARS.
402
403 2011-02-19  Alexandre Oliva  <aoliva@redhat.com>
404
405         PR debug/47620
406         PR debug/47630
407         * haifa-sched.c (fix_tick_ready): Skip tick computation
408         for debug insns.
409
410 2011-02-19  Richard Guenther  <rguenther@suse.de>
411
412         PR lto/47647
413         * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers):
414         Remove lazy BLOCK_VARS streaming.
415         (lto_input_ts_block_tree_pointers): Likewise.
416         * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise.
417
418 2011-02-19  Joseph Myers  <joseph@codesourcery.com>
419
420         * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h.
421
422 2011-02-19  Joseph Myers  <joseph@codesourcery.com>
423
424         * config/i386/biarch32.h, config/i386/mach.h,
425         config/rs6000/aix.opt, config/sh/superh64.h: Remove.
426
427 2011-02-19  Jakub Jelinek  <jakub@redhat.com>
428
429         PR target/47800
430         * config/i386/i386.md (peephole2 for shift and plus): Use
431         operands[1] original mode in the first insn.
432
433 2011-02-18  Mike Stump  <mikestump@comcast.net>
434
435         * config/t-darwin (TM_H): Add dependency on darwin-sections.def.
436
437 2011-02-18  Jan Hubicka  <jh@suse.cz>
438
439         PR middle-end/47788
440         * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits
441         to zero when the function is not inlinable at all.
442
443 2011-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
444
445         * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
446         * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
447         pthread_mutex_unlock, pthread_once): Reinstate pthread stubs.
448         * config/pa/t-pa-hpux11: Add rules to build pthread stubs.
449         * config/pa/t-pa64: Likewise.
450         * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
451
452 2011-02-18  Jakub Jelinek  <jakub@redhat.com>
453
454         PR driver/47787
455         * gcc.c (default_compilers): Clear combinable field for "@cpp-output".
456
457 2011-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
458
459         PR target/47792
460         * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name.
461
462 2011-02-18  Anatoly Sokolov  <aesok@post.ru>
463
464         * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
465         RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P,
466         LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P,
467         GO_IF_LEGITIMATE_ADDRESS): Remove macros.
468         * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define.
469         (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p,
470         m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p,
471         m32r_load_postinc_p, m32r_store_preinc_predec_p,
472         m32r_legitimate_address_p): New functions.
473         * config/m32r/constraints.md (constraint "S"): Don't use
474         STORE_PREINC_PREDEC_P.
475         (constraint "U"): Don't use LOAD_POSTINC_P.
476
477 2011-02-18  Chung-Lin Tang  <cltang@codesourcery.com>
478
479         PR rtl-optimization/46178
480         * ira.c (setup_hard_regno_class): Use ira_class_translate[] to
481         compute ira_hard_regno_cover_class[].
482
483 2011-02-18  Richard Guenther  <rguenther@suse.de>
484
485         PR lto/47798
486         * lto-streamer.h (lto_global_var_decls): Declare.
487         * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register
488         statics for global var processing.
489
490 2011-02-18  Richard Guenther  <rguenther@suse.de>
491
492         PR tree-optimization/47737
493         * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix
494         edge dominance check.
495
496 2011-02-18  Jakub Jelinek  <jakub@redhat.com>
497
498         PR debug/47780
499         * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to
500         avoid invalid rtx sharing.
501
502 2011-02-18  Gerald Pfeifer  <gerald@pfeifer.com>
503
504         * doc/cpp.texi (Obsolete Features): Add background on the
505         origin of assertions.
506
507 2011-02-17  Iain Sandoe  <iains@gcc.gnu.org>
508
509         * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for
510         objc_abi == 2.
511         * config/darwin.c (output_objc_section_asm_op): Added support for
512         ABI v1 and v2.
513         (is_objc_metadata): New.
514         (darwin_objc2_section): New.
515         (darwin_objc1_section): New.
516         (machopic_select_section): Added support for ABI v1 and v2.
517         (darwin_emit_objc_zeroed): New.
518         (darwin_output_aligned_bss): Detect objc metadata and treat it
519         appropriately.
520         (darwin_asm_output_aligned_decl_common): Same.
521         (darwin_asm_output_aligned_decl_local): Same.
522         * config/darwin-sections.def: Updated for ABI v1 and v2.
523         * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When
524         compiling Objective-C code for the NeXT runtime, default to using
525         ABI version 0 for 32-bit, and version 2 for 64-bit.
526
527 2011-02-17  Joseph Myers  <joseph@codesourcery.com>
528
529         * common.opt (optimize_fast): New Variable.
530         * opts.c (default_options_optimization): Use opts->x_optimize_fast
531         instead of local variable ofast.
532
533 2011-02-17  Nicola Pero  <nicola.pero@meta-innovation.com>
534
535         * doc/invoke.texi (fobjc-abi-version): Documented.
536         (fobjc-nilcheck): Documented.
537         (fno-nil-receiver): Updated documentation to refer to the NeXT ABI
538         version.
539
540 2011-02-17  Joseph Myers  <joseph@codesourcery.com>
541
542         PR driver/47390
543         * common.opt (export-dynamic): New Driver option.
544         * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}.
545
546 2011-02-17  Joseph Myers  <joseph@codesourcery.com>
547
548         * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*.
549
550 2011-02-17  Alexandre Oliva  <aoliva@redhat.com>
551             Jan Hubicka  <jh@suse.cz>
552
553         PR debug/47106
554         PR debug/47402
555         * cfgexpand.c (account_used_vars_for_block): Remove.
556         (estimated_stack_frame_size): Use referenced vars.
557         * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced
558         that were referenced in the original function.  Test src_fn
559         rather than cfun.  Drop redundant get_var_ann.
560         (setup_one_parameter): Drop redundant get_var_ann.
561         (declare_return_variable): Likewise.
562         (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn.
563         (copy_arguments_for_versioning): Drop redundant get_var_ann.
564         * ipa-inline.c (compute_inline_parameters): Do not compute
565         disregard_inline_limits here.
566         (compute_inlinable_for_current, pass_inlinable): New.
567         (pass_inline_parameters): Require PROP_referenced_vars.
568         * cgraphunit.c (cgraph_process_new_functions): Don't run
569         compute_inline_parameters explicitly unless function is in SSA form.
570         (cgraph_analyze_function): Set .disregard_inline_limits.
571         * tree-sra.c (convert_callers): Compute inliner parameters
572         only for functions already in SSA form.
573
574 2011-02-17  Joseph Myers  <joseph@codesourcery.com>
575
576         * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle
577         -mlittle-endian-data.
578
579 2011-02-17  Joseph Myers  <joseph@codesourcery.com>
580
581         * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and
582         -mno-fpu, not -fpu and -no-fpu.
583         * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise.
584         * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise.
585
586 2011-02-17  Uros Bizjak  <ubizjak@gmail.com>
587
588         PR target/43653
589         * config/i386/i386.c (ix86_secondary_reload): Handle SSE
590         input reload with PLUS RTX.
591
592 2011-02-16  Joseph Myers  <joseph@codesourcery.com>
593
594         * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead
595         of InverseVar(MDMX).
596
597 2011-02-16  Joseph Myers  <joseph@codesourcery.com>
598
599         * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of
600         --m4-340.
601
602 2011-02-16  Joseph Myers  <joseph@codesourcery.com>
603
604         * config/mn10300/mn10300.opt (mno-crt0): New.
605
606 2011-02-16  Joseph Myers  <joseph@codesourcery.com>
607
608         * config/m68k/uclinux.opt (static-libc): New Driver option.
609
610 2011-02-16  Joseph Myers  <joseph@codesourcery.com>
611
612         * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*.
613
614 2011-02-16  Joseph Myers  <joseph@codesourcery.com>
615
616         * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of
617         %{muser-extend-enabled}.
618
619 2011-02-16  Richard Guenther  <rguenther@suse.de>
620
621         PR tree-optimization/47738
622         * tree-ssa-loop.c (run_tree_predictive_commoning): Return
623         the TODO from tree_predictive_commoning.
624
625 2011-02-15  Jeff Law  <law@redhat.com>
626
627         Revert
628         2011-01-25  Jeff Law  <law@redhat.com>
629
630         PR rtl-optimization/37273
631         * ira-costs.c (scan_one_insn): Detect constants living in memory and
632         handle them like argument loads from stack slots.  Do not double
633         count memory for memory constants and argument loads from stack slots.
634
635 2011-02-15  H.J. Lu  <hongjiu.lu@intel.com>
636
637         PR middle-end/47725
638         * combine.c (cant_combine_insn_p): Revert the last change.
639
640 2011-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
641
642         PR target/47755
643         * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI
644         mode for vector constants.  Remove code that checks for TImode.
645
646 2011-02-15  Alexandre Oliva  <aoliva@redhat.com>
647
648         PR debug/47106
649         PR debug/47402
650         * cgraph.h (compute_inline_parameters): Return void.
651         * ipa-inline.c (compute_inline_parameters): Adjust.
652
653 2011-02-15  Alexandre Oliva  <aoliva@redhat.com>
654
655         PR debug/47106
656         PR debug/47402
657         * tree-inline.h (estimated_stack_frame_size): Take cgraph node
658         rather than decl.
659         * cfgexpand.c (estimated_stack_frame_size): Likewise.
660         * ipa-inline.c (compute_inline_parameters): Adjust.
661
662 2011-02-15  Alexandre Oliva  <aoliva@redhat.com>
663
664         PR debug/47106
665         PR debug/47402
666         * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument.
667         Adjust all users.  Pass FN to...
668         * tree-flow-inline.h (first_referenced_var): ... this.  Add
669         fn argument.
670         * ipa-struct-reorg.c: Adjust.
671         * tree-dfa.c: Adjust.
672         * tree-into-ssa.c: Adjust.
673         * tree-sra.c: Adjust.
674         * tree-ssa-alias.c: Adjust.
675         * tree-ssa-live.c: Adjust.
676         * tree-ssa.c: Adjust.
677         * tree-ssanames.c: Adjust.
678         * tree-tailcall.c: Adjust.
679
680 2011-02-15  Alexandre Oliva  <aoliva@redhat.com>
681
682         PR debug/47106
683         PR debug/47402
684         * tree-flow.h (referenced_var_lookup): Add fn parameter.
685         Adjust all callers.
686         * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun.
687         * tree-flow-inline.h: Adjust.
688         * gimple-pretty-print.c: Adjust.
689         * tree-into-ssa.c: Adjust.
690         * tree-ssa.c: Adjust.
691         * cfgexpand.c: Adjust.
692
693 2011-02-15  Nathan Froyd  <froydnj@codesourcery.com>
694
695         * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete.
696         (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
697         (EXTRA_CONSTRAINT): Delete.
698         * config/iq2000/constraints.md: New file.
699         * config/iq2000/iq2000.md: Include it.
700         (define_insn ""): Delete.
701         (movsi_internal2, movhi_internal2, movqi_internal2): Delete
702         unsupported constraint letters from patterns.
703         (call_value, call_value_internal1): Likewise.
704         (call_value_multiple_internal1): Likewise.
705
706 2011-02-15  Nick Clifton  <nickc@redhat.com>
707
708         * config/mn10300/mn10300.c: Include tm-constrs.h.
709         (struct liw_data): New data structure describing an LIW candidate
710         instruction.
711         (extract_bundle): Use struct liw_data.  Allow small integer
712         operands for some instructions.
713         (check_liw_constraints): Use struct liw_data.  Remove swapped
714         parameter.  Add comments describing the checks.  Fix bug when
715         assigning the source of liw1 to the source of liw2.
716         (liw_candidate): Delete.  Code moved into extract_bundle.
717         (mn10300_bundle_liw): Use struct liw_data.  Check constraints
718         before swapping.
719         * config/mn10300/predicates.md (liw_operand): New predicate.
720         Allows registers and small integer constants.
721         * config/mn10300/constraints.md (O): New constraint.  Accetps
722         integers in the range -8 to +7 inclusive.
723         * config/mn10300/mn10300.md (movesi_internal): Add an alternative
724         for moving a small integer into a register.  Give this alternative
725         LIW attributes.
726         (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise.
727         (ashlsi3): Likewise, plus give LIW attributes to the alternatives
728         using the J,K,L and M constraints,
729         (liw): Remove SI mode on second operands to allow for HI and QI
730         mode values.
731         (cmp_liw, liw_cmp): Likewise.  Plus fix order of operands in the
732         instruction.
733
734 2011-02-15  H.J. Lu  <hongjiu.lu@intel.com>
735
736         PR middle-end/47725
737         * combine.c (cant_combine_insn_p): Check zero/sign extended
738         hard registers.
739
740 2011-02-15  Richard Guenther  <rguenther@suse.de>
741
742         PR tree-optimization/47743
743         * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number
744         for a non-type-compatible VN lookup bail out.
745
746 2011-02-15  Nathan Froyd  <froydnj@codesourcery.com>
747
748         * config/fr30/constraints.md: New file.
749         * config/fr30/fr30.md: Include it.
750         * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete.
751         (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
752         (EXTRA_CONSTRAINT): Delete.
753
754 2011-02-15  Nathan Froyd  <froydnj@codesourcery.com>
755
756         * config/frv/constraints.md: New file.
757         * config/frv/predicates.md: Include it.
758         * config/frv/frv.c (reg_class_from_letter): Delete.
759         (frv_option_override): Don't initialize it.
760         * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete.
761         (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete.
762         (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete.
763         (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
764         (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete.
765         (CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
766         (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete.
767         (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete.
768         (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete.
769         (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete.
770         (REG_CLASS_FROM_CONSTRAINT): Delete.
771
772 2011-02-15  Jakub Jelinek  <jakub@redhat.com>
773
774         PR middle-end/47581
775         * config/i386/i386.c (ix86_compute_frame_size): Don't align offset
776         if frame size is 0 in a leaf function.
777
778 2011-02-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
779
780         PR pch/14940
781         * config/alpha/host-osf.c: New file.
782         * config/alpha/x-osf: New file.
783         * config.host (alpha*-dec-osf*): Use it.
784
785 2011-02-14  Anatoly Sokolov  <aesok@post.ru>
786
787         * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
788         * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove.
789         * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to...
790         (rx_mode_dependent_address_p): ...this. Make static. Change argument
791         type to const_rtx.
792         (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
793
794 2011-02-14  Nathan Froyd  <froydnj@codesourcery.com>
795
796         * config/stormy16/constraints.md: New file.
797         * config/stormy16/predicates.md (nonimmediate_nonstack_operand):
798         Use satisfies_constraint_Q and satisfies_constraint_R.
799         * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p):
800         Delete.
801         (xstormy16_legitiamte_address_p): Declare.
802         * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete.
803         (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
804         (EXTRA_CONSTRAINT): Delete.
805         * config/stormy16/stormy16.c (xstormy16_legitimate_address_p):
806         Un-staticize.
807         (xstormy16_extra_constraint_p): Delete.
808
809 2011-02-14  Eric Botcazou  <ebotcazou@adacore.com>
810
811         PR tree-optimization/46494
812         * loop-unroll.c (split_edge_and_insert): Adjust comment.
813         * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info.
814         (pass_rtl_loop_done): Add TODO_verify_flow.
815         * fwprop.c (pass_rtl_fwprop): Likewise.
816         * modulo-sched.c (pass_sms): Likewise.
817         * tree-ssa-dom.c (pass_dominator): Likewise.
818         * tree-ssa-loop-ch.c (pass_ch): Likewise.
819         * tree-ssa-loop.c (pass_complete_unrolli): Likewise.
820         (pass_tree_loop_done): Likewise.
821         * tree-ssa-pre.c (execute_pre): Likewise.
822         * tree-ssa-reassoc.c (pass_reassoc): Likewise.
823         * tree-ssa-sink.c (pass_sink_code): Likewise.
824         * tree-vrp.c (pass_vrp): Likewise.
825
826 2011-02-14  Nathan Froyd  <froydnj@codesourcery.com>
827
828         * config/v850/constraints.md: New file.
829         * config/v850/v850.md: Include it.
830         * config/v850/predicates.md (reg_or_0_operand): Use
831         satisfies_constraint_G.
832         (special_symbolref_operand): Use satisfies_constraint_K.
833         * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p.
834         (GO_IF_LEGITIMATE_ADDRESS): Likewise.
835         (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete.
836         (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
837         (EXTRA_CONSTRAINT): Delete.
838         (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint.
839         (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise.
840         (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise.
841
842 2011-02-14  Anatoly Sokolov  <aesok@post.ru>
843
844         PR target/47696
845         * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device
846         description.
847
848 2011-02-14  Nathan Froyd  <froydnj@codesourcery.com>
849
850         * config/mcore/constraints.md: New file.
851         * config/mcore/mcore.md: Include it.
852         * config/mcore/mcore.c (reg_class_from_letter): Delete.
853         * config/mcore/mcore.h (reg_class_from_letter): Delete.
854         (REG_CLASS_FROM_LETTER): Delete.
855         (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use
856         insn_const_int_ok_for_constraint.
857         (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise.
858         (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise.
859         (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
860         (EXTRA_CONSTRAINT): Delete.
861
862 2011-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
863
864         PR ada/41929
865         * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h>
866         (IS_SIGHANDLER): Define.
867         (sparc64_is_sighandler): New function, split off from
868         sparc64_fallback_frame_state.
869         (sparc_is_sighandler): New function, split off from
870         sparc_fallback_frame_state.
871         (sparc64_fallback_frame_state): Merge with ...
872         (sparc_fallback_frame_state): ... this into ...
873         (MD_FALLBACK_FRAME_STATE_FOR): ... this.
874         Change new_cfa to long.  Remove regs_off, fpu_save_off, fpu_save.
875         Define nframes, mctx.  Use IS_SIGHANDLER, handler_args, mctx, walk
876         stack instead of hardcoded offsets.
877
878 2011-02-14  Andriy Gapon  <avg@freebsd.org>
879
880         PR target/45808
881         * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
882
883 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
884
885         * configure: Regenerate.
886
887 2011-02-12  Joseph Myers  <joseph@codesourcery.com>
888
889         PR driver/45731
890         * gcc.c (asm_options): Correct spec matching --target-help.
891
892 2011-02-12  Martin Jambor  <mjambor@suse.cz>
893
894         * tree-cfg.c (verify_gimple_call): Return true upon invalid argument
895         to gimple call error.
896
897 2011-02-12  Mike Stump  <mikestump@comcast.net>
898
899         * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize
900         comments in backslash regions.
901
902 2011-02-12  Mike Stump  <mikestump@comcast.net>
903             Jakub Jelinek  <jakub@redhat.com>
904             Iain Sandoe  <iains@gcc.gnu.org>
905
906         PR target/47324
907         * dwarf2out.c (output_cfa_loc): When required, apply the
908         DWARF2_FRAME_REG_OUT macro to adjust register numbers.
909         (output_loc_sequence): Likewise.
910         (output_loc_operands_raw): Likewise.
911         (output_loc_sequence_raw): Likewise.
912         (output_cfa_loc): Likewise.
913         (output_loc_list): Suppress register number adjustment when
914         calling output_loc_sequence()
915         (output_die): Likewise.
916
917 2011-02-12  Anatoly Sokolov  <aesok@post.ru>
918
919         * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
920         Remove macros.
921         * config/xtensa/xtensa.c (xtensa_register_move_cost,
922         xtensa_memory_move_cost): New functions.
923         (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define.
924
925 2011-02-12  Alexandre Oliva  <aoliva@redhat.com>
926
927         PR lto/47225
928         * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la
929         in the current directory.
930         * configure: Rebuilt.
931
932 2011-02-12  Iain Sandoe  <iains@gcc.gnu.org>
933
934         * config/darwin.c (darwin_override_options): Add a hunk missed
935         from the commit of r168571.  Trim comment line lengths and
936         correct indents of the preceding block.
937
938 2011-02-12  Iain Sandoe  <iains@gcc.gnu.org>
939
940         * gcc.c (driver_handle_option): Concatenate the argument to -F with
941         the switch.
942
943 2011-02-11  Joseph Myers  <joseph@codesourcery.com>
944
945         * common.opt (nostartfiles): New Driver option.
946
947 2011-02-11  Xinliang David Li  <davidxl@google.com>
948
949         PR tree-optimization/47707
950         * tree-chrec.c (convert_affine_scev): Keep type precision.
951
952 2011-02-11  Eric Botcazou  <ebotcazou@adacore.com>
953
954         PR tree-optimization/47420
955         * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX.
956
957 2011-02-11  Pat Haugen  <pthaugen@us.ibm.com>
958
959         PR rtl-optimization/47614
960         * rtl.h (check_for_inc_dec): Declare.
961         * dse.c (check_for_inc_dec): Externalize...
962         * postreload.c (reload_cse_simplify): ...use it before deleting stmt.
963         (reload_cse_simplify_operands): Don't simplify opnds with side effects.
964
965 2011-02-11  Joseph Myers  <joseph@codesourcery.com>
966
967         PR driver/47678
968         * gcc.c (main): Do not compile inputs if there were errors in
969         option handling.
970         * opts-common.c (read_cmdline_option): Check for wrong language
971         after other error checks.
972
973 2011-02-11  Nathan Froyd  <froydnj@codesourcery.com>
974
975         * cgraph.c: Fix comment typos.
976         * cgraph.h: Likewise.
977         * cgraphunit.c: Likewise.
978         * ipa-cp.c: Likewise.
979         * ipa-inline.c: Likewise.
980         * ipa-prop.c: Likewise.
981         * ipa-pure-const.c: Likewise.
982         * ipa-ref.c: Likewise.
983         * ipa-reference.c: Likewise.
984
985 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
986
987         PR debug/47684
988         * tree-predcom.c (single_nonlooparound_use): Ignore debug uses.
989
990 2011-02-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
991
992         PR testsuite/47400
993         * doc/sourcebuild.texi (Require Support): Document
994         dg-require-ascii-locale.
995
996 2011-02-11  Mingjie Xing  <mingjie.xing@gmail.com>
997
998         * doc/lto.texi (Write summary): Fix missing parentheses.
999
1000 2011-02-10  DJ Delorie  <dj@redhat.com>
1001
1002         * config/m32c/m32c.c (m32c_option_override): Disable
1003         -fcombine-stack-adjustments until flag value tracking and compare
1004         optimization can be rewritten.
1005
1006 2011-02-10  Peter Bergner  <bergner@vnet.ibm.com>
1007
1008         * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to
1009         PROCESSOR_POWER7.
1010         (PROCESSOR_DEFAULT64): Likewise.
1011
1012 2011-02-10  Richard Henderson  <rth@redhat.com>
1013
1014         * config/rx/predicates.md (rx_zs_comparison_operator): Revert
1015         change from 2011-02-03.
1016         * config/rx/rx.c (flags_from_code): Likewise.
1017         (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag
1018         is valid, n/pz otherwise.
1019         (rx_select_cc_mode): Return CCmode if Y is not zero.
1020
1021 2011-02-10  Richard Guenther  <rguenther@suse.de>
1022
1023         * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8.
1024
1025 2011-02-10  Richard Guenther  <rguenther@suse.de>
1026
1027         PR tree-optimization/47677
1028         * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps.
1029
1030 2011-02-10  Jakub Jelinek  <jakub@redhat.com>
1031
1032         PR target/47665
1033         * combine.c (make_compound_operation): Only change shifts into
1034         multiplication for SCALAR_INT_MODE_P.
1035
1036 2011-02-10  Jie Zhang  <jie@codesourcery.com>
1037
1038         PR testsuite/47622
1039         Revert
1040         2011-02-05  Jie Zhang  <jie@codesourcery.com>
1041         PR debug/42631
1042         * web.c (entry_register): Don't clobber the number of the
1043         first uninitialized reference in used[].
1044
1045 2011-02-09  Richard Guenther  <rguenther@suse.de>
1046
1047         PR tree-optimization/47664
1048         * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit
1049         all edges again.
1050
1051 2011-02-09  David Edelsohn  <dje.gcc@gmail.com>
1052
1053         PR target/46481
1054         PR target/47032
1055         * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to
1056         PROCESSOR_POWER7.
1057         (PROCESSOR_DEFAULT64): Same.
1058         (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete.
1059
1060 2011-02-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1061
1062         * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define.
1063
1064 2011-02-09  Martin Jambor  <mjambor@suse.cz>
1065
1066         PR middle-end/45505
1067         * tree-sra.c (struct access): New flags grp_scalar_read and
1068         grp_scalar_write.  Changed description of assignment read and write
1069         flags.
1070         (dump_access): Dump new flags, reorder all of them.
1071         (sort_and_splice_var_accesses): Set the new flag accordingly, use them
1072         to detect multiple scalar reads.
1073         (analyze_access_subtree): Use the new scalar read write flags instead
1074         of the old flags.  Adjusted comments.
1075
1076 2011-02-08  DJ Delorie  <dj@redhat.com>
1077
1078         PR target/47548
1079         * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim
1080         patterns.
1081
1082 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
1083
1084         * config/m68k/uclinux.opt: New.
1085         * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt.
1086
1087 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
1088
1089         * config/cris/elf.opt (sim): New Driver option.
1090
1091 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
1092
1093         * config/xtensa/elf.opt: New.
1094         * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt.
1095
1096 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
1097
1098         * config/vax/elf.opt: New.
1099         * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt.
1100
1101 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
1102
1103         * config/rs6000/aix64.opt (posix, pthread): New Driver options.
1104
1105 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
1106
1107         * config/gnu-user.opt: New.
1108         * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu |
1109         *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu,
1110         *-*-uclinux*): Use gnu-user.opt.
1111
1112 2011-02-08  Thomas Schwinge  <thomas@schwinge.name>
1113
1114         * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option.
1115         * config/i386/gnu.h (CPP_SPEC): Likewise.
1116
1117 2011-02-08  Ian Lance Taylor  <iant@google.com>
1118
1119         * common.opt (fcx-limited-range): Add SetByCombined flag.
1120         (ffinite-math-only, fmath-errno, frounding-math): Likewise.
1121         (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise.
1122         (fassociative-math, freciprocal-math): Likewise.
1123         (funsafe-math-optimizations): Likewise.
1124         * opth-gen.awk: Handle SetByCombined.
1125         * optc-gen.awk: Likewise.
1126         * opts.c (set_fast_math_flags): Don't override flag if set by frontend.
1127         (set_unsafe_math_optimizations_flags): Likewise.
1128         * doc/options.texi (Option properties): Document SetByCombined.
1129
1130 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
1131
1132         * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*,
1133         i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe,
1134         m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*,
1135         m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*,
1136         sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete.
1137
1138 2011-02-08  Sebastian Pop  <sebastian.pop@amd.com>
1139
1140         PR tree-optimization/46834
1141         PR tree-optimization/46994
1142         PR tree-optimization/46995
1143         * graphite-sese-to-poly.c (used_outside_reduction): New.
1144         (detect_commutative_reduction): Call used_outside_reduction.
1145         (rewrite_commutative_reductions_out_of_ssa_close_phi): Call
1146         translate_scalar_reduction_to_array only when at least one
1147         loop-phi/close-phi tuple has been detected.
1148
1149 2011-02-08  Richard Guenther  <rguenther@suse.de>
1150
1151         PR middle-end/47639
1152         * tree-vect-generic.c (expand_vector_operations_1): Update
1153         stmts here ...
1154         (expand_vector_operations): ... not here.  Cleanup EH info
1155         and the CFG if required.
1156
1157 2011-02-08  Richard Guenther  <rguenther@suse.de>
1158
1159         PR tree-optimization/47641
1160         * tree-ssa.c (execute_update_addresses_taken): For asm outputs
1161         require type compatibility.
1162
1163 2011-02-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1164
1165         * gimple-low.c (lower_function_body): Don't remove the location of
1166         the return statement here.
1167         (lower_gimple_return): Do it here instead but only if the return
1168         statement is actually used twice.
1169
1170 2011-02-08  Richard Guenther  <rguenther@suse.de>
1171
1172         PR tree-optimization/47632
1173         * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove
1174         unused up_to_stmt parameter, return whether cfg-cleanup is
1175         necessary, remove EH info properly.
1176         (forward_propagate_into_gimple_cond): Adjust caller.
1177         (forward_propagate_into_cond): Likewise.
1178         (forward_propagate_comparison): Likewise.
1179         (tree_ssa_forward_propagate_single_use_vars): Make
1180         forward_propagate_comparison case similar to the two others.
1181
1182 2011-02-08  Nick Clifton  <nickc@redhat.com>
1183
1184         * config/mn10300/mn10300.opt (mliw): New command line option.
1185         * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec.
1186         (liw_bundling): New automaton.
1187         (liw): New attribute.
1188         (liw_op): New attribute.
1189         (liw_op1, liw_op2, liw_both, liw_either): New reservations.
1190         (movsi_internal): Add LIW attributes.
1191         (andsi3): Likewise.
1192         (iorsi3): Likewise.
1193         (xorsi3): Likewise.
1194         (addsi3): Separate register and immediate alternatives.
1195         Add LIW attributes.
1196         (subsi3): Likewise.
1197         (cmpsi): Likewise.
1198         (aslsi3): Likewise.
1199         (lshrsi3): Likewise.
1200         (ashrsi3): Likewise.
1201         (liw): New pattern.
1202         * config/mn10300/mn10300.c (liw_op_names): New
1203         (mn10300_print_operand): Handle 'W' operand descriptor.
1204         (extract_bundle): New function.
1205         (check_liw_constraints): New function.
1206         (liw_candidate): New function.
1207         (mn10300_bundle_liw): New function.
1208         (mn10300_reorg): New function.
1209         (TARGET_MACHINE_DEPENDENT_REORG): Define.
1210         (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW.
1211         * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define
1212         __LIW__ or __NO_LIW__.
1213         * doc/invoke.texi: Describe the -mliw command line option.
1214
1215 2011-02-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1216
1217         * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts.
1218         * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
1219         pthread_mutex_unlock): Remove.
1220         * config/pa/t-pa-hpux11: Remove rules to build pthread stubs.
1221         * config/pa/t-pa64: Likewise.
1222         * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against
1223         shared libc if not linking against libpthread.
1224         * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
1225
1226 2011-02-07  Iain Sandoe  <iains@gcc.gnu.org>
1227
1228         PR target/47558
1229         * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first
1230         on 10.6 and later to ensure that we always use the unwinder from
1231         the system.  Only add -no_compact_unwind when tarteting darwin
1232         10.6 or later.
1233
1234 2011-02-07  Steve Ellcey  <sje@cup.hp.com>
1235
1236         PR target/46997
1237         * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN.
1238         (vec_interleave_lowv2sf): Ditto.
1239         (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check.
1240         (vec_extract_oddv2sf): Ditto.
1241
1242 2011-02-07  Mike Stump  <mikestump@comcast.net>
1243
1244         PR target/42333
1245         Add __ieee_divdc3 entry point.
1246         * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3
1247         entry point.
1248         (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins.
1249         * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise.
1250         * config/darwin.c (darwin_rename_builtins): Add.
1251         * config/darwin-protos.h (darwin_rename_builtins): Add.
1252
1253 2011-02-07  Michael Meissner  <meissner@linux.vnet.ibm.com>
1254
1255         PR target/47636
1256         * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro
1257         for the condition.
1258
1259 2011-02-07  Mike Stump  <mikestump@comcast.net>
1260
1261         * config/darwin.opt (mmacosx-version-min): Update default OS version.
1262
1263 2011-02-07  Denis Chertykov  <chertykov@gmail.com>
1264
1265         PR target/47534
1266         * config/avr/libgcc.S (exit): Move .endfunc
1267
1268 2011-02-07  Richard Guenther  <rguenther@suse.de>
1269
1270         PR tree-optimization/47615
1271         * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument.
1272         * tree-ssa-sccvn.c (default_vn_walk_kind): New global.
1273         (run_scc_vn): Initialize it.
1274         (visit_reference_op_load): Use it.
1275         * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE.
1276
1277 2011-02-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1278
1279         * config/spu/spu.c (spu_init_libfuncs): Install SImode and
1280         DImode trapping arithmetic libfuncs.
1281
1282 2011-02-07  Richard Guenther  <rguenther@suse.de>
1283
1284         PR tree-optimization/47621
1285         * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from
1286         two duplicates ...
1287         (execute_update_addresses_taken): ... here.  Make it more
1288         conservative in what we accept.
1289
1290 2011-02-06  Joseph Myers  <joseph@codesourcery.com>
1291
1292         * config/sparc/freebsd.h (ASM_SPEC): Define.
1293         * config/sparc/vxworks.h (ASM_SPEC): Define.
1294
1295 2011-02-06  Joseph Myers  <joseph@codesourcery.com>
1296
1297         * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}.
1298
1299 2011-02-06  Steven Bosscher  <steven@gcc.gnu.org>
1300
1301         * doc/invoke.texi: Remove reference to compiler internals from
1302         user documentation.
1303
1304         * reg-notes.def: Remove REG_VALUE_PROFILE.
1305         * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE.
1306
1307 2011-02-05  Jakub Jelinek  <jakub@redhat.com>
1308
1309         PR middle-end/47610
1310         * varasm.c (default_section_type_flags): If decl is NULL,
1311         and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit.
1312
1313 2011-02-05  Jie Zhang  <jie@codesourcery.com>
1314
1315         PR debug/42631
1316         * web.c (entry_register): Don't clobber the number of the
1317         first uninitialized reference in used[].
1318
1319 2011-02-04  Sebastian Pop  <sebastian.pop@amd.com>
1320
1321         PR tree-optimization/46194
1322         * tree-data-ref.c (analyze_miv_subscript): Remove comment.
1323         (build_classic_dist_vector_1): Do not represent classic distance
1324         vectors when the access functions are variating in different loops.
1325
1326 2011-02-04  Joseph Myers  <joseph@codesourcery.com>
1327
1328         * config/mips/iris6.opt: New.
1329         * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt.
1330
1331 2011-02-04  Richard Henderson  <rth@redhat.com>
1332             Steve Ellcey  <sje@cup.hp.com>
1333
1334         PR target/46997
1335         * config/ia64/predicates.md (mux1_brcst_element): New.
1336         * config/ia64/ia64-protos.h (ia64_unpack_assemble): New.
1337         * config/ia64/ia64.c (ia64_unpack_assemble): New.
1338         (ia64_unpack_sign): New.
1339         (ia64_expand_unpack): Rewrite using new routines.
1340         (ia64_expand_widen_sum): Ditto.
1341         (ia64_expand_dot_prod_v8qi): Ditto.
1342         * config/ia64/vect.md (mulv8qi3): Rewrite to use new
1343         routines, add endian check.
1344         (pmpy2_even): Rename from pmpy2_r, add endian check.
1345         (pmpy2_odd): Rename from pmpy2_l, add endian check.
1346         (vec_widen_smult_lo_v4hi): Rewrite using new routines.
1347         (vec_widen_smult_hi_v4hi): Ditto.
1348         (vec_widen_umult_lo_v4hi): Ditto.
1349         (vec_widen_umult_hi_v4hi): Ditto.
1350         (mulv2si3): Change endian checks.
1351         (sdot_prodv4hi): Rewrite with new calls.
1352         (udot_prodv4hi): New.
1353         (vec_pack_ssat_v4hi): Add endian check.
1354         (vec_pack_usat_v4hi): Ditto.
1355         (vec_pack_ssat_v2si): Ditto.
1356         (max1_even): Rename from max1_r, add endian check.
1357         (max1_odd): Rename from max1_l, add endian check.
1358         (*mux1_rev): Format change.
1359         (*mux1_mix): Ditto.
1360         (*mux1_shuf): Ditto.
1361         (*mux1_alt): Ditto.
1362         (*mux1_brcst_v8qi): Use new predicate.
1363         (vec_extract_evenv8qi): Remove endian check.
1364         (vec_extract_oddv8qi): Ditto.
1365         (vec_interleave_lowv4hi): Format change.
1366         (vec_interleave_highv4hi): Ditto.
1367         (mix2_even): Rename from mix2_r, add endian check.
1368         (mix2_odd): Rename from mux2_l, add endian check.
1369         (*mux2): Fix mask setting for TARGET_BIG_ENDIAN.
1370         (vec_extract_evenodd_helper): Format change.
1371         (vec_extract_evenv4hi): Remove endian check.
1372         (vec_extract_oddv4hi): Remove endian check.
1373         (vec_interleave_lowv2si): Format change.
1374         (vec_interleave_highv2si): Format change.
1375         (vec_initv2si): Remove endian check.
1376         (vecinit_v2si): Add endian check.
1377         (reduc_splus_v2sf): Add endian check.
1378         (reduc_smax_v2sf): Ditto.
1379         (reduc_smin_v2sf): Ditto.
1380         (vec_initv2sf): Remove endian check.
1381         (fpack): Add endian check.
1382         (fswap): Add endian check.
1383         (vec_interleave_highv2sf): Add endian check.
1384         (vec_interleave_lowv2sf): Add endian check.
1385         (fmix_lr): Add endian check.
1386         (vec_setv2sf): Format change.
1387         (*vec_extractv2sf_0_be): Use shift to extract operand.
1388         (*vec_extractv2sf_1_be): New.
1389         (vec_pack_trunc_v4hi): Add endian check.
1390         (vec_pack_trunc_v2si): Format change.
1391
1392 2011-02-04  Jakub Jelinek  <jakub@redhat.com>
1393
1394         PR inline-asm/23200
1395         * tree-ssa-ter.c (is_replaceable_p): Add TER argument.  Don't
1396         do bb, locus and block comparison and disallow loads if it is not set.
1397         (stmt_is_replaceable_p): New function.
1398         (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p
1399         callers.
1400         * expr.c (expand_expr_real_1) <case SSA_NAME>: If
1401         get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use
1402         SSA_NAME_DEF_STMT.
1403         * tree-flow.h (stmt_is_replaceable_p): New prototype.
1404
1405 2011-02-04  Joseph Myers  <joseph@codesourcery.com>
1406
1407         * config/rs6000/xilinx.opt: New.
1408         * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt.
1409
1410 2011-02-04  Joseph Myers  <joseph@codesourcery.com>
1411
1412         * config/mips/mips.opt (EB, EL, noasmopt): New Driver options.
1413
1414 2011-02-03  Anatoly Sokolov  <aesok@post.ru>
1415
1416         * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS,
1417         PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
1418         * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class,
1419         secondary_reload_info, xtensa_secondary_reload): Remove.
1420         * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS,
1421         TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define.
1422         (xtensa_preferred_reload_class): Make static. Change return and
1423         'rclass' argument type to reg_class_t. Remove 'isoutput' argument.
1424         Use CONST_DOUBLE_P predicate.
1425         (xtensa_preferred_output_reload_class): New function.
1426         (xtensa_secondary_reload): Make static.
1427
1428 2011-02-03  Joseph Myers  <joseph@codesourcery.com>
1429
1430         * config/microblaze/microblaze.opt (Zxl-mode-bootstrap,
1431         Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel,
1432         Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options.
1433
1434 2011-02-03  Jakub Jelinek  <jakub@redhat.com>
1435
1436         PR middle-end/31490
1437         * output.h (SECTION_RELRO): Define.
1438         (SECTION_MACH_DEP): Adjust.
1439         (get_variable_section): New prototype.
1440         * varpool.c (varpool_finalize_named_section_flags): New function.
1441         (varpool_assemble_pending_decls): Call it.
1442         * cgraph.h (varpool_finalize_named_section_flags): New prototype.
1443         * cgraphunit.c (cgraph_output_in_order): Call
1444         varpool_finalize_named_section_flags.
1445         * varasm.c (get_section): Allow section flags conflicts between
1446         relro and read-only sections if the section hasn't been declared yet.
1447         Set SECTION_OVERRIDE after diagnosing section type conflict.
1448         (get_variable_section): No longer static.
1449         (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for
1450         readonly sections that need relocations.
1451         (decl_readonly_section_1): New function.
1452         (decl_readonly_section): Use it.
1453
1454         Revert:
1455         2010-11-17  Dinar Temirbulatov  <dtemirbulatov@gmail.com>
1456                     Steve Ellcey  <sje@cup.hp.com>
1457
1458         PR middle-end/31490
1459         * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask
1460         if section attribute used.
1461
1462 2011-02-03  Jakub Jelinek  <jakub@redhat.com>
1463
1464         * config/darwin.h (SECTION_NO_ANCHOR): Remove.
1465         * config/darwin.c (SECTION_NO_ANCHOR): Define.
1466         (darwin_init_sections): Remove assertion.
1467
1468 2011-02-03  Nick Clifton  <nickc@redhat.com>
1469
1470         * config/rx/predicates.md (rx_zs_comparison_operator): Remove
1471         lt and ge.
1472         * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode.
1473         * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes
1474         instead of "n" and "pz".
1475         (flags_from_code): LT and GE tests need CC_FLAG_O as well as
1476         CC_FLAG_S.
1477
1478 2011-02-03  Jakub Jelinek  <jakub@redhat.com>
1479
1480         PR target/47312
1481         * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand
1482         fma, expand FMA_EXPR as fma{,f,l} call.
1483
1484         PR lto/47274
1485         * lto-streamer-out.c (write_symbol): When writing kind and visibility,
1486         copy them into a unsigned char variable and pass address of it to
1487         lto_output_data_stream.
1488
1489         PR target/47564
1490         * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx
1491         around backend_init_target and lang_dependent_init_target calls.
1492         * cgraphunit.c (cgraph_debug_gimple_stmt): New function.
1493         (verify_cgraph_node): Don't call set_cfun here.  Use
1494         cgraph_debug_gimple_stmt instead of debug_gimple_stmt.
1495         Set error_found for incorrectly represented calls to thunks.
1496
1497 2011-02-03  Alexandre Oliva  <aoliva@redhat.com>
1498
1499         PR debug/43092
1500         PR rtl-optimization/43494
1501         * rtl.h (for_each_inc_dec_fn): New type.
1502         (for_each_inc_dec): Declare.
1503         * rtlanal.c (struct for_each_inc_dec_ops): New type.
1504         (for_each_inc_dec_find_inc_dec): New fn.
1505         (for_each_inc_dec_find_mem): New fn.
1506         (for_each_inc_dec): New fn.
1507         * dse.c (struct insn_size): Remove.
1508         (replace_inc_dec, replace_inc_dec_mem): Remove.
1509         (emit_inc_dec_insn_before): New fn.
1510         (check_for_inc_dec): Use it, along with for_each_inc_dec.
1511         (canon_address): Pass mem modes to cselib_lookup.
1512         * cselib.h (cselib_lookup): Add memmode argument.  Adjust callers.
1513         (cselib_lookup_from_insn): Likewise.
1514         (cselib_subst_to_values): Likewise.
1515         * cselib.c (find_slot_memmode): New var.
1516         (cselib_find_slot): New fn.  Use it instead of
1517         htab_find_slot_with_hash everywhere.
1518         (entry_and_rtx_equal_p): Use find_slot_memmode.
1519         (autoinc_split): New fn.
1520         (rtx_equal_for_cselib_p): Rename and implement in terms of...
1521         (rtx_equal_for_cselib_1): ... this.  Take memmode, pass it on.
1522         Deal with autoinc.  Special-case recursion into MEMs.
1523         (cselib_hash_rtx): Likewise.
1524         (cselib_lookup_mem): Infer pmode from address mode.  Distinguish
1525         address and MEM modes.
1526         (cselib_subst_to_values): Add memmode, pass it on.
1527         Deal with autoinc.
1528         (cselib_lookup): Add memmode argument, pass it on.
1529         (cselib_lookup_from_insn): Add memmode.
1530         (cselib_invalidate_rtx): Discard obsolete push_operand handling.
1531         (struct cselib_record_autoinc_data): New.
1532         (cselib_record_autoinc_cb): New fn.
1533         (cselib_record_sets): Use it, along with for_each_inc_dec.  Pass MEM
1534         mode to cselib_lookup.  Reset autoinced REGs here instead of...
1535         (cselib_process_insn): ... here.
1536         * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode
1537         to cselib_lookup.
1538         (add_uses): Likewise, also to cselib_subst_to_values.
1539         (add_stores): Likewise.
1540         * sched-deps.c  (add_insn_mem_dependence): Pass mode to
1541         cselib_subst_to_values.
1542         (sched_analyze_1, sched_analyze_2): Likewise.  Adjusted.
1543         * gcse.c (do_local_cprop): Adjusted.
1544         * postreload.c (reload_cse_simplify_set): Adjusted.
1545         (reload_cse_simplify_operands): Adjusted.
1546         * sel-sched-dump (debug_mem_addr_value): Pass mode.
1547
1548 2011-02-03  Alexandre Oliva  <aoliva@redhat.com>
1549
1550         PR tree-optimization/45122
1551         * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make
1552         unsafe assumptions when there's more than one loop exit.
1553
1554 2011-02-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
1555
1556         PR target/47272
1557         * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
1558         Document using vector double with the load/store builtins, and
1559         that the load/store builtins always use Altivec instructions.
1560
1561         * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns
1562         to use altivec memory instructions, even on VSX.
1563         (vector_altivec_store_<mode>): Ditto.
1564
1565         * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New
1566         function.
1567
1568         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
1569         V2DF, V2DI support to load/store overloaded builtins.
1570
1571         * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add
1572         altivec load/store builtins for V2DF/V2DI types.
1573
1574         * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
1575         set avoid indexed addresses on power6 if -maltivec.
1576         (altivec_expand_ld_builtin): Add V2DF, V2DI support, use
1577         vector_altivec_load/vector_altivec_store builtins.
1578         (altivec_expand_st_builtin): Ditto.
1579         (altivec_expand_builtin): Add VSX memory builtins.
1580         (rs6000_init_builtins): Add V2DI types to internal types.
1581         (altivec_init_builtins): Add support for V2DF/V2DI altivec
1582         load/store builtins.
1583         (rs6000_address_for_altivec): Insure memory address is appropriate
1584         for Altivec.
1585
1586         * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for
1587         vec_vsx_ld and vec_vsx_st.
1588         (vsx_store_<mode>): Ditto.
1589
1590         * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type
1591         variables to hold long long types for VSX vector memory builtins.
1592         (RS6000_BTI_unsigned_long_long): Ditto.
1593         (long_long_integer_type_internal_node): Ditti.
1594         (long_long_unsigned_type_internal_node): Ditti.
1595
1596         * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC.
1597         (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator.
1598         (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator.
1599
1600         * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin
1601         short cuts.
1602         (vec_vsx_st): Ditto.
1603
1604 2011-02-02  Joseph Myers  <joseph@codesourcery.com>
1605
1606         * config/pa/pa-hpux10.opt: New.
1607         * config/hpux11.opt (pthread): New Driver option.
1608         * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options.
1609         * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt.
1610
1611 2011-02-02  Joseph Myers  <joseph@codesourcery.com>
1612
1613         * config/ia64/vms.opt: New.
1614         * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt.
1615
1616 2011-02-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
1617
1618         PR target/47580
1619         * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use
1620         gpc_reg_operand instead of vsx_register_operand to match rs6000.md
1621         generator functions.
1622         (vsx_floatuns<VSi><mode>2): Ditto.
1623         (vsx_fix_trunc<mode><VSi>2): Ditto.
1624         (vsx_fixuns_trunc<mode><VSi>2): Ditto.
1625
1626 2011-02-02  Joseph Myers  <joseph@codesourcery.com>
1627
1628         * config/i386/djgpp.opt (posix): New Driver option.
1629
1630 2011-02-02  Gerald Pfeifer  <gerald@pfeifer.com>
1631
1632         * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*):
1633         Move to the unsupported targets list.
1634
1635 2011-02-02  Peter Bergner  <bergner@vnet.ibm.com>
1636
1637         PR rtl-optimization/47525
1638         * df-scan.c: Update copyright years.
1639         (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE
1640         and non-clobber DF_REF_REG_DEF for calls to const and pure functions.
1641
1642 2011-02-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1643
1644         * config/i386/sysv4.h (TARGET_VERSION): Remove.
1645         (SUBTARGET_RETURN_IN_MEMORY): Remove.
1646         (ASM_OUTPUT_ASCII): Remove.
1647         * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef.
1648
1649 2011-02-02  Jeff Law  <law@redhat.com>
1650
1651         PR middle-end/47543
1652         * reload.c (find_reloads_address): Handle reg+d address where both
1653         components are invalid by reloading the entire address.
1654
1655 2011-02-02  Sebastian Pop  <sebastian.pop@amd.com>
1656             Richard Guenther  <rguenther@suse.de>
1657
1658         PR tree-optimization/40979
1659         PR bootstrap/47044
1660         * passes.c (init_optimization_passes): After LIM call copy_prop
1661         and DCE to clean up.
1662         * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func.
1663
1664 2011-02-02  Sebastian Pop  <sebastian.pop@amd.com>
1665
1666         PR tree-optimization/47576
1667         PR tree-optimization/47555
1668         * doc/invoke.texi (scev-max-expr-complexity): Documented.
1669         * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
1670         (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared.
1671         * tree-scalar-evolution.c (follow_ssa_edge): Use
1672         PARAM_SCEV_MAX_EXPR_COMPLEXITY.
1673
1674 2011-02-02  Richard Guenther  <rguenther@suse.de>
1675
1676         PR tree-optimization/47566
1677         * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs.
1678
1679 2011-02-02  Alexandre Oliva  <aoliva@redhat.com>
1680
1681         PR debug/47106
1682         PR debug/47402
1683         * tree-inline.c (declare_return_variable): Remove unused caller
1684         variable.
1685
1686         PR debug/47106
1687         PR debug/47402
1688         * tree-flow-inline.h (clear_is_used, is_used_p): New.
1689         * cfgexpand.c (account_used_vars_for_block): Use them.
1690         * tree-nrv.c (tree_nrv): Likewise.
1691         * tree-ssa-live.c (remove_unused_scope_block_p): Likewise.
1692         (dump_scope_block): Likewise.
1693         (remove_unused_locals): Likewise.
1694
1695         PR debug/47106
1696         PR debug/47402
1697         * tree-inline.c (declare_return_variable): Add result decl to
1698         local decls only once.
1699         * gimple-low.c (record_vars_into): Mark newly-created variables
1700         as referenced.
1701
1702 2011-02-02  Alexandre Oliva  <aoliva@redhat.com>
1703
1704         PR debug/47498
1705         PR debug/47501
1706         PR debug/45136
1707         PR debug/45130
1708         * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
1709         debug insns.
1710         (no_real_insns_p, schedule_block, set_priorities): Drop special
1711         treatment of boundary debug insns.
1712         * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
1713         * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns.
1714         * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
1715         (BOUNDARY_DEBUG_INSN_P): Likewise.
1716         (SCHEDULE_DEBUG_INSN_P): Likewise.
1717         * sched-rgn.c (init_ready_list): Drop special treatment of
1718         boundary debug insns.
1719         * final.c (rest_of_clean_state): Clear notes' BB.
1720
1721 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
1722
1723         * config/openbsd.opt (assert=): New Driver option.
1724
1725 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
1726
1727         * config/i386/nto.opt: New.
1728         * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt.
1729
1730 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
1731
1732         * config/i386/netware.opt: New.
1733         * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt.
1734
1735 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
1736
1737         * config/interix.opt (posix): New Driver option.
1738
1739 2011-02-01  DJ Delorie  <dj@redhat.com>
1740
1741         * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition.
1742
1743         * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg
1744         class for A0/A1.
1745
1746 2011-02-01  Sebastian Pop  <sebastian.pop@amd.com>
1747
1748         PR tree-optimization/47561
1749         * toplev.c (process_options): Print the Graphite flags.  Add
1750         flag_loop_flatten to the list of options requiring Graphite.
1751
1752 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
1753
1754         * config/i386/cygming.opt (posix): New Driver option.
1755
1756 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
1757
1758         * config/arm/vxworks.opt: New.
1759         * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt.
1760
1761 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
1762
1763         * config/alpha/elf.opt: New.
1764         * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*,
1765         alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt.
1766
1767 2011-02-01  Richard Guenther  <rguenther@suse.de>
1768
1769         PR tree-optimization/47559
1770         * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform
1771         store-motion on references that can throw.
1772
1773 2011-02-01  Bernd Schmidt  <bernds@codesourcery.com>
1774
1775         * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB.
1776         * tree-pass.h (TDF_CSELIB): New macro.
1777         * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1,
1778         cselib_lookup): Check for it rather than for TDF_DETAILS.
1779
1780 2011-02-01  H.J. Lu  <hongjiu.lu@intel.com>
1781
1782         PR driver/47547
1783         * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output
1784         is HOST_BIT_BUCKET.
1785
1786         * opts.c (finish_options): Don't add x_aux_base_name if it is
1787         HOST_BIT_BUCKET.
1788
1789 2011-02-01  Richard Guenther  <rguenther@suse.de>
1790
1791         PR tree-optimization/47555
1792         Revert
1793         2010-07-15  Sebastian Pop  <sebastian.pop@amd.com>
1794
1795         * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
1796
1797 2011-02-01  Sebastien Bourdeauducq  <sebastien@milkymist.org>
1798
1799         PR gcc/46692
1800         * config/lm32/t-lm32: Add multilib for all CPU options.
1801
1802 2011-02-01  Richard Guenther  <rguenther@suse.de>
1803
1804         PR tree-optimization/47541
1805         * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make
1806         sure to have a field at offset zero.
1807
1808 2011-01-31  Joseph Myers  <joseph@codesourcery.com>
1809
1810         * config/arc/arc.opt (EB, EL): New Driver options.
1811
1812 2011-01-31  Joseph Myers  <joseph@codesourcery.com>
1813
1814         * config/alpha/osf5.opt: New.
1815         * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt.
1816
1817 2011-01-31  Joseph Myers  <joseph@codesourcery.com>
1818
1819         * config/vms/vms.opt (map, mvms-return-codes): New Driver options.
1820
1821 2011-01-31  Sebastian Pop  <sebastian.pop@amd.com>
1822
1823         * common.opt (ftree-loop-linear): Use Alias to make it an alias of
1824         -floop-interchange.
1825         * invoke.texi (-ftree-loop-linear): Make it clear that this flag
1826         is an alias of -floop-interchange and that it requires the
1827         Graphite infrastructure.
1828         * tree-ssa-loop.c (gate_graphite_transforms): Do not set
1829         flag_loop_interchange based on the value of flag_tree_loop_linear.
1830
1831 2011-01-31  Jakub Jelinek  <jakub@redhat.com>
1832             Richard Guenther  <rguenther@suse.de>
1833
1834         PR tree-optimization/47538
1835         * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use
1836         type instead of r1type, except for comparisons.  For right
1837         shifts and comparisons punt if there are mismatches in
1838         sizetype vs. non-sizetype types.
1839
1840 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1841
1842         * doc/sourcebuild.texi (Effective-Target Keywords): Document
1843         avx_runtime.
1844
1845 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1846
1847         * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld
1848         version number.
1849         * configure: Regenerate.
1850
1851 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1852
1853         * configure.ac (gcc_cv_ld_static_option): Define.
1854         (gcc_cv_ld_dynamic_option): Define.
1855         (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive
1856         instead.
1857         (HAVE_LD_STATIC_DYNAMIC): Update message.
1858         (LD_STATIC_OPTION): Define.
1859         (LD_DYNAMIC_OPTION): Define.
1860         * configure: Regenerate.
1861         * config.in: Regenerate.
1862         * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS &&
1863         HAVE_LD_STATIC_DYNAMIC]: Use them.
1864
1865 2011-01-31  Nick Clifton  <nickc@redhat.com>
1866
1867         * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered
1868         registers inside interrupt handlers if the handler is not a leaf
1869         function.
1870
1871 2011-01-31  Nick Clifton  <nickc@redhat.com>
1872
1873         * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for
1874         reg_renumber returning an INVALID_REGNUM.
1875
1876 2011-01-31  Alexandre Oliva  <aoliva@redhat.com>
1877
1878         PR libgcj/44341
1879         * doc/install.texi: Document host options discarded when cross
1880         configuring target libraries.
1881
1882 2011-01-31  Alexandre Oliva  <aoliva@redhat.com>
1883
1884         Reverted:
1885         2011-01-25  Alexandre Oliva  <aoliva@redhat.com>
1886         PR debug/45136
1887         PR debug/45130
1888         * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
1889         debug insns.
1890         (no_real_insns_p, schedule_block, set_priorities): Drop special
1891         treatment of boundary debug insns.
1892         * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
1893         * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
1894         * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
1895         (BOUNDARY_DEBUG_INSN_P): Likewise.
1896         (SCHEDULE_DEBUG_INSN_P): Likewise.
1897         * sched-rgn.c (init_ready_list): Drop special treatment of
1898         boundary debug insns.
1899         * final.c (rest_of_clean-state): Clear notes' BB.
1900
1901 2011-01-31  Alan Modra  <amodra@gmail.com>
1902
1903         * config/rs6000/rs6000.c (print_operand): Rearrange addends in
1904         toc relative expressions as we do in print_operand_address.
1905
1906 2011-01-30  Kazu Hirata  <kazu@codesourcery.com>
1907
1908         * doc/extend.texi: Follow spelling conventions.
1909         * doc/invoke.texi: Fix a typo.
1910
1911 2011-01-30  Joseph Myers  <joseph@codesourcery.com>
1912
1913         * config/hpux11.opt: New.
1914         * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*,
1915         ia64*-*-hpux*): Use hpux11.opt.
1916
1917 2011-01-30  Jonathan Yong  <jon_y@users.sourceforge.net>
1918
1919         * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules
1920         to tmake_file.
1921
1922 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
1923
1924         * doc/install.texi (hppa-hp-hpux10): Remove references to HP
1925         support sites.
1926
1927 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
1928
1929         * doc/install.texi (Binaries): Remove outdated reference for
1930         Motorola 68HC11/68HC12 downloads.
1931
1932 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
1933
1934         * doc/extend.texi (Thread-Local): Adjust reference to Ulrich
1935         Drepper's paper.
1936
1937 2011-01-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
1938
1939         PR bootstrap/47147
1940         * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as
1941         used by NetBSD.
1942
1943 2011-01-28  Ahmad Sharif  <asharif@google.com>
1944
1945         * value-prof.c (check_counter): Corrected error message.
1946
1947 2011-01-29  Jie Zhang  <jie@codesourcery.com>
1948
1949         * config/arm/arm.c (arm_legitimize_reload_address): New.
1950         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1951         arm_legitimize_reload_address.
1952         * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare.
1953
1954 2011-01-28  Ian Lance Taylor  <iant@google.com>
1955
1956         * godump.c (go_define): Ignore macros whose definitions include
1957         two adjacent operands.
1958
1959 2011-01-28  Jakub Jelinek  <jakub@redhat.com>
1960
1961         PR target/42894
1962         * varasm.c (force_const_mem): Store copy of x in desc->constant
1963         instead of x itself.
1964         * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
1965         itself into REG_EQUAL note.
1966
1967 2011-01-28  Joseph Myers  <joseph@codesourcery.com>
1968
1969         * config/freebsd.opt (posix, rdynamic): New Driver options.
1970
1971 2011-01-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1972
1973         * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports
1974         -Bstatic/-Bdynamic.
1975         * configure: Regenerate.
1976
1977 2011-01-27  Joseph Myers  <joseph@codesourcery.com>
1978
1979         * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile.
1980         * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile.
1981
1982 2011-01-27  Anatoly Sokolov  <aesok@post.ru>
1983
1984         * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove.
1985         * config/s390/s390-protos.h (s390_preferred_reload_class): Remove.
1986         * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
1987         (s390_preferred_reload_class): Make static. Change return and
1988         'rclass' argument type to reg_class_t.
1989
1990 2011-01-27  Jan Hubicka  <jh@suse.cz>
1991
1992         PR middle-end/46949
1993         * cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
1994         (process_function_and_variable_attributes): Check defined weakrefs.
1995
1996 2011-01-27  Martin Jambor  <mjambor@suse.cz>
1997
1998         PR tree-optimization/47228
1999         * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of
2000         build_ref_for_offset.
2001
2002 2011-01-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2003
2004         * config/spu/spu-elf.h (ASM_SPEC): Remove.
2005
2006 2011-01-26  Mikael Pettersson  <mikpe@it.uu.se>
2007
2008         PR rtl-optimization/46856
2009         * postreload.c (reload_combine_recognize_const_pattern): Do not
2010         separate cc0 setter and user on cc0 targets.
2011
2012 2011-01-26  Nicola Pero  <nicola.pero@meta-innovation.com>
2013
2014         PR c/43082
2015         * c-typeck.c (c_objc_common_truthvalue_conversion): If we are
2016         passed a VOID_TYPE expression, immediately emit an error and
2017         return error_mark_node.
2018
2019 2011-01-26  Jeff Law  <law@redhat.com>
2020
2021         PR rtl-optimization/47464
2022         * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p
2023         rather than may_trap_p as needed.
2024
2025 2011-01-26  DJ Delorie  <dj@redhat.com>
2026
2027         PR rtl-optimization/46878
2028         * combine.c (insn_a_feeds_b): Check for the implicit cc0
2029         setter/user dependency as well.
2030
2031 2011-01-26  Eric Botcazou  <ebotcazou@adacore.com>
2032
2033         PR rtl-optimization/44469
2034         * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too
2035         after removing trivially dead basic blocks.
2036
2037 2011-01-26  Joseph Myers  <joseph@codesourcery.com>
2038
2039         * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}.
2040         * config/frv/frv.h (LINK_SPEC): Likewise.
2041         * config/i386/netware.h (LINK_SPEC): Likewise.
2042         * config/m68k/linux.h (ASM_SPEC): Likewise.
2043         * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise.
2044         * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
2045         * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
2046         * config/sparc/linux.h (ASM_SPEC): Likewise.
2047         * config/sparc/linux64.h (ASM_SPEC): Likewise.
2048         * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
2049
2050 2011-01-26  Joseph Myers  <joseph@codesourcery.com>
2051
2052         * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}.
2053         * config/frv/frv.h (ASM_SPEC): Likewise.
2054         * config/m68k/linux.h (ASM_SPEC): Likewise.
2055         * config/pa/pa-linux.h (ASM_SPEC): Likewise.
2056         * config/rs6000/linux64.h (ASM_SPEC): Likewise.
2057         * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
2058         * config/sparc/linux.h (ASM_SPEC): Likewise.
2059         * config/sparc/linux64.h (ASM_SPEC): Likewise.
2060         * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
2061
2062 2011-01-26  Joseph Myers  <joseph@codesourcery.com>
2063
2064         * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}.
2065         * config/frv/frv.h (LINK_SPEC): Likewise.
2066         * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
2067
2068 2011-01-26  Joseph Myers  <joseph@codesourcery.com>
2069
2070         * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}.
2071         * config/frv/frv.h (ASM_SPEC): Likewise.
2072         * config/i386/sol2-10.h (ASM_SPEC): Likewise.
2073         * config/m68k/linux.h (ASM_SPEC): Likewise.
2074         * config/pa/pa-linux.h (ASM_SPEC): Likewise.
2075         * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
2076         * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
2077         * config/sol2.h (ASM_SPEC): Remove comment about -Yd,.
2078         * config/sparc/linux.h (ASM_SPEC): Likewise.
2079         * config/sparc/linux64.h (ASM_SPEC): Likewise.
2080         * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
2081         * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}.
2082
2083 2011-01-26  Steve Ellcey  <sje@cup.hp.com>
2084
2085         PR target/46997
2086         * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN.
2087         (*mux2): Ditto.
2088         (vec_extract_evenodd_help): Ditto.
2089         (vec_extract_evenv4hi): Ditto.
2090         (vec_extract_oddv4hi): Ditto.
2091         (vec_interleave_lowv2si): Ditto.
2092         (vec_interleave_highv2si): Ditto.
2093         (vec_extract_evenv2si): Ditto.
2094         (vec_extract_oddv2si: Ditto.
2095         (vec_pack_trunc_v2si): Ditto.
2096
2097 2011-01-22  Jan Hubicka  <jh@suse.cz>
2098
2099         PR target/47237
2100         * cgraph.h (cgraph_local_info): New field can_change_signature.
2101         * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
2102         signature can change.
2103         (ipcp_estimate_growth): Call sequence simplify only if calle signature
2104         can change.
2105         (ipcp_insert_stage): Only compute args_to_skip if signature can change.
2106         (cgraph_function_versioning): We can not change signature of functions
2107         that don't allow that.
2108         * lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
2109         (lto_input_node): Likewise.
2110         * ipa-inline.c (compute_inline_parameters): Compute
2111         local.can_change_signature.
2112         * ipa-split.c (visit_bb): Never split away APPLY_ARGS.
2113         * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on
2114         functions that can not change signature.
2115         * i386.c (ix86_function_regparm, ix86_function_sseregparm,
2116         init_cumulative_args): Do not use local calling conventions
2117         for functions that can not change signature.
2118
2119 2011-01-22  Jan Hubicka  <jh@suse.cz>
2120
2121         * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk.
2122
2123 2011-01-26  Richard Guenther  <rguenther@suse.de>
2124
2125         PR tree-optimization/47190
2126         * cgraphunit.c (process_common_attributes): New function.
2127         (process_function_and_variable_attributes): Use it.
2128
2129 2011-01-26  Richard Guenther  <rguenther@suse.de>
2130
2131         PR lto/47423
2132         * cgraphbuild.c (record_eh_tables): Record reference to personality
2133         function.
2134
2135 2011-01-26  Alexandre Oliva  <aoliva@redhat.com>
2136
2137         PR debug/45454
2138         * sel-sched.c (moveup_expr): Don't let debug insns prevent
2139         non-debug insns from moving up.
2140
2141 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
2142
2143         PR target/40125
2144         * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
2145         t-dlldir{,-x} fragment for build and add it to tmake_file.
2146         (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
2147         * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
2148         * config/i386/t-dlldir: New file.
2149         (SHLIB_DLLDIR): Define.
2150         * config/i386/t-dlldir-x: New file.
2151         (SHLIB_DLLDIR): Define.
2152         * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
2153         (SHLIB_INSTALL): Use it.
2154
2155 2011-01-26  Chung-Lin Tang  <cltang@codesourcery.com>
2156
2157         PR target/47246
2158         * config/arm/arm.c (thumb2_legitimate_index_p): Change the
2159         lower bound of the allowed Thumb-2 coprocessor load/store
2160         index range to -256. Add explaining comment.
2161
2162 2011-01-25  Ian Lance Taylor  <iant@google.com>
2163
2164         * godump.c (go_define): Improve lexing of macro expansion to only
2165         accept expressions which match Go spec.
2166
2167 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
2168
2169         PR c++/43601
2170         * tree.c (handle_dll_attribute): Handle it.
2171         * doc/extend.texi (@item dllexport): Mention it.
2172         * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it.
2173
2174 2011-01-25  Ian Lance Taylor  <iant@google.com>
2175
2176         PR tree-optimization/26854
2177         * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
2178         (decl_jump_unsafe): Move higher in file, with no other change.
2179         (bind): Set has_jump_unsafe_decl if appropriate.
2180         (update_label_decls): Test has_jump_unsafe_decl to avoid loop.
2181         (check_earlier_gotos): Likewise.
2182         (c_check_switch_jump_warnings): Likewise.
2183
2184 2011-01-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
2185
2186         * doc/invoke.texi (Warning Options): Add missing hyphen.
2187         (-fprofile-dir): Minor grammatical fixes.
2188         (-fbranch-probabilities): Likewise.
2189
2190 2011-01-25  Alexandre Oliva  <aoliva@redhat.com>
2191
2192         PR debug/45136
2193         PR debug/45130
2194         * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
2195         debug insns.
2196         (no_real_insns_p, schedule_block, set_priorities): Drop special
2197         treatment of boundary debug insns.
2198         * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
2199         * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
2200         * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
2201         (BOUNDARY_DEBUG_INSN_P): Likewise.
2202         (SCHEDULE_DEBUG_INSN_P): Likewise.
2203         * sched-rgn.c (init_ready_list): Drop special treatment of
2204         boundary debug insns.
2205         * final.c (rest_of_clean-state): Clear notes' BB.
2206
2207 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2208
2209         * Makefile.in (LAMBDA_H): Removed.
2210         (TREE_DATA_REF_H): Remove dependence on LAMBDA_H.
2211         (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o,
2212         lambda-trans.o, and tree-loop-linear.o.
2213         (lto-symtab.o): Remove dependence on LAMBDA_H.
2214         (tree-loop-linear.o): Remove rule.
2215         (lambda-mat.o): Same.
2216         (lambda-trans.o): Same.
2217         (lambda-code.o): Same.
2218         (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H.
2219         (tree-vect-slp.o): Same.
2220         * hwint.h (gcd): Moved here.
2221         (least_common_multiple): Same.
2222         * lambda-code.c: Removed.
2223         * lambda-mat.c: Removed.
2224         * lambda-trans.c: Removed.
2225         * lambda.h: Removed.
2226         * tree-loop-linear.c: Removed.
2227         * lto-symtab.c: Do not include lambda.h.
2228         * omega.c (gcd): Removed.
2229         * passes.c (init_optimization_passes): Remove pass_linear_transform.
2230         * tree-data-ref.c (print_lambda_vector): Moved here.
2231         (lambda_vector_copy): Same.
2232         (lambda_matrix_copy): Same.
2233         (lambda_matrix_id): Same.
2234         (lambda_vector_first_nz): Same.
2235         (lambda_matrix_row_add): Same.
2236         (lambda_matrix_row_exchange): Same.
2237         (lambda_vector_mult_const): Same.
2238         (lambda_vector_negate): Same.
2239         (lambda_matrix_row_negate): Same.
2240         (lambda_vector_equal): Same.
2241         (lambda_matrix_right_hermite): Same.
2242         * tree-data-ref.h: Do not include lambda.h.
2243         (lambda_vector): Moved here.
2244         (lambda_matrix): Same.
2245         (dependence_level): Same.
2246         (lambda_transform_legal_p): Removed declaration.
2247         (lambda_collect_parameters): Same.
2248         (lambda_compute_access_matrices): Same.
2249         (lambda_vector_gcd): Same.
2250         (lambda_vector_new): Same.
2251         (lambda_vector_clear): Same.
2252         (lambda_vector_lexico_pos): Same.
2253         (lambda_vector_zerop): Same.
2254         (lambda_matrix_new): Same.
2255         * tree-flow.h (least_common_multiple): Removed declaration.
2256         * tree-parloops.c (lambda_trans_matrix): Moved here.
2257         (LTM_MATRIX): Same.
2258         (LTM_ROWSIZE): Same.
2259         (LTM_COLSIZE): Same.
2260         (LTM_DENOMINATOR): Same.
2261         (lambda_trans_matrix_new): Same.
2262         (lambda_matrix_vector_mult): Same.
2263         (lambda_transform_legal_p): Same.
2264         * tree-pass.h (pass_linear_transform): Removed declaration.
2265         * tree-ssa-loop.c (tree_linear_transform): Removed.
2266         (gate_tree_linear_transform): Removed.
2267         (pass_linear_transform): Removed.
2268         (gate_graphite_transforms): Make flag_tree_loop_linear an alias of
2269         flag_loop_interchange.
2270
2271 2011-01-25  Jakub Jelinek  <jakub@redhat.com>
2272
2273         PR tree-optimization/47265
2274         PR tree-optimization/47443
2275         * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
2276         if name still has some uses.
2277
2278 2011-01-25  Martin Jambor  <mjambor@suse.cz>
2279
2280         PR tree-optimization/47382
2281         * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
2282         (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.
2283
2284 2011-01-25  Joel Sherrill  <joel.sherrill@oarcorp.com>
2285
2286         * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to
2287         sjlj_except_unwind_info.
2288
2289 2011-01-25  Richard Guenther  <rguenther@suse.de>
2290
2291         PR tree-optimization/47426
2292         * tree-ssa-structalias.c (ipa_pta_execute): Make externally
2293         visible functions results escape.
2294
2295 2011-01-25  Jakub Jelinek  <jakub@redhat.com>
2296
2297         PR target/45701
2298         * config/arm/arm.c (any_sibcall_uses_r3): New function.
2299         (arm_get_frame_offsets): Use it.
2300
2301 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2302             Jakub Jelinek  <jakub@redhat.com>
2303
2304         PR tree-optimization/47271
2305         * tree-if-conv.c (bb_postdominates_preds): New.
2306         (if_convertible_bb_p): Call bb_postdominates_preds.
2307         (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS.
2308         (predicate_scalar_phi): Call bb_postdominates_preds.
2309
2310 2011-01-25  Nick Clifton  <nickc@redhat.com>
2311
2312         * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types.
2313         * config/rx/rx.c (rx_function_value): Likewise.
2314         (rx_promote_function_mode): Likewise.
2315         (gen_safe_add): Place an outsized immediate value inside an UNSPEC
2316         in order to make it legitimate.
2317         * config/rx/rx.md (adddi3_internal): If the second operand is a MEM
2318         make sure that the first operand is the same as the result register.
2319         (addsi3_unspec): Delete.
2320         (subdi3): Do not accept immediate operands.
2321         (subdi3_internal): Likewise.
2322
2323 2011-01-25  Jeff Law  <law@redhat.com>
2324
2325         PR rtl-optimization/37273
2326         * ira-costs.c (scan_one_insn): Detect constants living in memory and
2327         handle them like argument loads from stack slots.  Do not double
2328         count memory for memory constants and argument loads from stack slots.
2329
2330 2011-01-25  Jakub Jelinek  <jakub@redhat.com>
2331
2332         PR tree-optimization/47427
2333         PR tree-optimization/47428
2334         * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
2335         coalesce if the new root var would be TREE_READONLY.
2336
2337 2011-01-25  Richard Guenther  <rguenther@suse.de>
2338
2339         PR middle-end/47414
2340         * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the
2341         correct type for TBAA.
2342
2343 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2344
2345         * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New.
2346         (close_phi_written_to_memory): Call for_each_index with
2347         dr_indices_valid_in_loop.
2348
2349 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2350
2351         * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN
2352         when it is initialized.
2353
2354 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2355
2356         * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update
2357         call to graphite_find_data_references_in_stmt.
2358         * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New.
2359         (try_generate_gimple_bb): Call outermost_loop_in_sese_1.  Update
2360         call to graphite_find_data_references_in_stmt.
2361         (analyze_drs_in_stmts): Same.
2362         * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop
2363         in which the scalar analysis of indices is performed.
2364         (create_data_ref): Same.  Update call to dr_analyze_indices.
2365         (find_data_references_in_stmt): Update call to create_data_ref.
2366         (graphite_find_data_references_in_stmt): Same.
2367         * tree-data-ref.h (graphite_find_data_references_in_stmt): Update
2368         declaration.
2369         (create_data_ref): Same.
2370         * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update
2371         call to create_data_ref.
2372
2373 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2374
2375         * graphite-sese-to-poly.c (build_poly_scop): Move
2376         rewrite_commutative_reductions_out_of_ssa before find_scop_parameters.
2377
2378 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2379
2380         * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow
2381         VAR_DECL, PARM_DECL, and RESULT_DECL.
2382
2383 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2384
2385         * graphite-dependences.c (reduction_dr_1): Allow several reductions
2386         in a reduction PBB.
2387         * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs
2388         that have already been marked as PBB_IS_REDUCTION.
2389
2390 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2391
2392         * graphite-scop-detection.c (same_close_phi_node): New.
2393         (remove_duplicate_close_phi): New.
2394         (make_close_phi_nodes_unique): New.
2395         (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique.
2396
2397 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2398
2399         * graphite-dependences.c (new_poly_ddr): Call same_pdr_p.
2400         * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE
2401         of both data references to be the same.
2402
2403 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2404
2405         * graphite-dependences.c (build_lexicographical_constraint): Remove
2406         the gdim parameter.
2407         (build_lexicographical_constraint): Adjust call to
2408         ppl_powerset_is_empty.
2409         (dependence_polyhedron): Same.
2410         (graphite_legal_transform_dr): Same.
2411         (graphite_carried_dependence_level_k): Same.
2412         * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params
2413         parameter.
2414         * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration.
2415
2416 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2417
2418         * graphite-sese-to-poly.c
2419         (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr.
2420         (close_phi_written_to_memory): New.
2421         (translate_scalar_reduction_to_array): Call close_phi_written_to_memory
2422         and unshare_expr.
2423
2424 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2425
2426         * doc/install.texi: Update the expected version number of PPL to 0.11.
2427         * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under
2428         #if PPL_VERSION_MINOR < 11.
2429
2430 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2431
2432         * graphite-dependences.c: Include graphite-cloog-util.h.
2433         (new_poly_ddr): Inlined into dependence_polyhedron.
2434         (free_poly_ddr): Moved close by new_poly_ddr.
2435         (dependence_polyhedron_1): Renamed dependence_polyhedron.
2436         Early return NULL when ppl_powerset_is_empty returns true.
2437         (dependence_polyhedron): Renamed new_poly_ddr.  Call only once
2438         poly_drs_may_alias_p.  Avoid one call to ppl_powerset_is_empty.
2439         (graphite_legal_transform_dr): Call new_poly_ddr.
2440         (graphite_carried_dependence_level_k): Same.
2441         (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2.  Use new_poly_ddr.
2442         (dot_transformed_deps_stmt_1): Removed.
2443         (dot_deps_stmt_1): Call dot_deps_stmt_2.
2444         (dot_original_deps): Renamed dot_deps_2.  Call new_poly_ddr.
2445         (dot_deps_1): Call dot_deps_2.
2446         * Makefile.in (graphite-dependences.o): Add missing dependence on
2447         graphite-cloog-util.h.
2448
2449 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2450
2451         * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty.
2452         (build_lexicographical_constraint): Same.
2453         (dependence_polyhedron_1): Same.
2454         (graphite_legal_transform_dr): Same.
2455         (graphite_carried_dependence_level_k): Same.
2456         * graphite-ppl.c (ppl_powerset_is_empty): New.
2457         * graphite-ppl.h (ppl_powerset_is_empty): Declared.
2458         * tree-data-ref.c (dump_data_reference): Print the basic block index.
2459
2460 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2461
2462         * graphite-dependences.c (build_pairwise_scheduling): Correctly compute
2463         the "a followed by b" relation and document it.
2464
2465 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2466
2467         * graphite-dependences.c (build_lexicographical_constraint): Stop the
2468         iteration when the bag of constraints is empty.
2469
2470 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2471
2472         * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work.
2473
2474 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2475
2476         * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop
2477         nest and two loop depths as parameters.
2478         (lst_try_interchange_loops): Call lst_interchange_profitable_p after
2479         lst_perfect_nestify.
2480
2481 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2482
2483         * graphite-dependences.c (print_pddr): Call
2484         ppl_io_fprint_Pointset_Powerset_C_Polyhedron.
2485
2486 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
2487
2488         * graphite-ppl.c (debug_gmp_value): New.
2489         * graphite-ppl.h (debug_gmp_value): Declared.
2490
2491 2011-01-25  Tobias Grosser  <grosser@fim.uni-passau.de>
2492
2493         * doc/install.texi: Document availability of cloog-0.16.
2494
2495 2011-01-25  Vladimir Kargov  <kargov@gmail.com>
2496
2497         * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free
2498         invalid postdominance info.
2499
2500 2011-01-24  Jan Hubicka  <jh@suse.cz>
2501
2502         PR c/21659
2503         * doc/extend.texi (weak pragma): Drop claim that it must
2504         appear before definition.
2505         * varasm.c (merge_weak, declare_weak): Only sanity check
2506         that DECL is not output at a time it is declared weak.
2507
2508 2011-01-24  Kenneth Zadeck  <zadeck@naturalbridge.com>
2509
2510         * machmode.def: Fixed comments.
2511
2512 2011-01-24  Kai Tietz  <kai.tietz@onevision.com>
2513
2514         * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
2515
2516 2011-01-24  Paul Koning  <ni1d@arrl.net>
2517
2518         * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
2519         WORDS_BIG_ENDIAN.
2520
2521 2011-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2522
2523         PR target/46519
2524         * config/i386/i386.c: Include sbitmap.h and fibheap.h.
2525         (block_info): Add scanned and prev.
2526         (move_or_delete_vzeroupper_2): Return if the basic block
2527         has been scanned and the upper 128bit state is unchanged
2528         from the last scan.
2529         (move_or_delete_vzeroupper_1): Return true if the exit
2530         state is changed.
2531         (move_or_delete_vzeroupper): Visit basic blocks using the
2532         work-list based algorithm based on vt_find_locations in
2533         var-tracking.c.
2534
2535         * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H).
2536
2537 2011-01-24  Nick Clifton  <nickc@redhat.com>
2538
2539         * config/v850/v850.opt (mv850es): New option - alias for -mv850e1.
2540         * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass
2541         -mv850e1 to the assembler.  If -mv850e1 or -mv850es is specified
2542         then define __v850e1__.
2543         * doc/invoke.texi: Document -mv850es.
2544
2545 2011-01-24  Richard Henderson  <rth@redhat.com>
2546
2547         * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept
2548         compound unordered comparisons.
2549         * config/rx/rx.c (rx_split_fp_compare): Remove.
2550         * config/rx/rx-protos.h: Update.
2551         * config/rx/rx.md (gcc_conds, rx_conds): Remove.
2552         (cbranchsf4): Don't call rx_split_fp_compare.
2553         (*cbranchsf4): Use rx_split_cbranch.
2554         (*cmpsf): Don't accept "i" constraint.
2555         (*conditional_branch): Only valid after reload.
2556         (cstoresf4): Merge expander with insn.  Don't call rx_split_fp_compare.
2557
2558 2011-01-24  Michael Meissner  <meissner@linux.vnet.ibm.com>
2559
2560         PR target/47385
2561         * config/rs6000/altivec.md (vector constant splitters): Add
2562         support for creating vector single precision constants if -mvsx is
2563         used and we would create the constant using Altivec primitives.
2564
2565 2011-01-23  Bernd Schmidt  <bernds@codesourcery.com>
2566             Richard Sandiford  <rdsandiford@googlemail.com>
2567
2568         PR rtl-optimization/47166
2569         * reload1.c (emit_reload_insns): Disable the spill_reg_store
2570         mechanism for PRE_MODIFY and POST_MODIFY.
2571         (inc_for_reload): For PRE_MODIFY, return the insn that sets the
2572         reloadreg.
2573
2574 2011-01-23  Andreas Schwab  <schwab@linux-m68k.org>
2575
2576         * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.
2577
2578 2011-01-22  Jan Hubicka  <jh@suse.cz>
2579
2580         PR lto/47333
2581         * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
2582
2583 2011-01-22  Jan Hubicka  <jh@suse.cz>
2584
2585         PR tree-optimization/43884
2586         PR lto/44334
2587         * predict.c (maybe_hot_frequency_p): Use entry block frequency as base.
2588         * doc/invoke.texi (hot-bb-frequency-fraction): Update docs.
2589
2590 2011-01-22  Anatoly Sokolov  <aesok@post.ru>
2591
2592         * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
2593         * config/s390/s390.c (s390_register_move_cost,
2594         s390_memory_move_cost): New.
2595         (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
2596
2597 2011-01-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2598
2599         PR middle-end/47401
2600         * except.c (sjlj_assign_call_site_values): Move setting the
2601         crtl->uses_eh_lsda flag to ...
2602         (sjlj_mark_call_sites): ... here.
2603         (sjlj_emit_function_enter): Support NULL dispatch label.
2604         (sjlj_build_landing_pads): In a function with no landing pads
2605         that still has must-not-throw regions, generate code to register
2606         a personality function with empty LSDA.
2607
2608 2011-01-21  Richard Henderson  <rth@redhat.com>
2609
2610         * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
2611
2612         * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
2613
2614         * compare-elim.c: New file.
2615         * Makefile.in (OBJS-common): Add it.
2616         (compare-elim.o): New.
2617         * common.opt (fcompare-elim): New.
2618         * opts.c (default_options_table): Add OPT_fcompare_elim.
2619         * tree-pass.h (pass_compare_elim_after_reload): New.
2620         * passes.c (init_optimization_passes): Add it.
2621         * recog.h: Protect against re-inclusion.
2622         * target.def (TARGET_FLAGS_REGNUM): New POD hook.
2623         * doc/invoke.texi (-fcompare-elim): Document it.
2624         * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it.
2625         * doc/tm.texi: Rebuild.
2626
2627 2011-01-22  Nick Clifton  <nickc@redhat.com>
2628
2629         * config/rx/rx.md (cstoresf4): Pass comparison operator to
2630         rx_split_fp_compare.
2631
2632 2011-01-22  Nick Clifton  <nickc@redhat.com>
2633
2634         * config/rx/rx.md (UNSPEC_CONST): New.
2635         (deallocate_and_return): Wrap the amount popped off the stack in
2636         an UNSPEC_CONST in order to stop it being rejected by
2637         -mmax-constant-size.
2638         (pop_and_return): Add a "(return)" rtx.
2639         (call): Drop the immediate operand.
2640         (call_internal): Likewise.
2641         (call_value): Likewise.
2642         (call_value_internal): Likewise.
2643         (sibcall_internal): Likewise.
2644         (sibcall_value_internal): Likewise.
2645         (sibcall): Likewise.  Generate an explicit call using
2646         sibcall_internal.
2647         (sibcall_value): Likewise.
2648         (mov<>): FAIL if a constant operand is not legitimate.
2649         (addsi3_unpsec): New pattern.
2650
2651         * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs.
2652         (ok_for_max_constant): New function.
2653         (gen_safe_add): New function.
2654         (rx_expand_prologue): Use gen_safe_add.
2655         (rx_expand_epilogue): Likewise.
2656         (rx_is_legitimate_constant): Use ok_for_max_constant.  Handle
2657         UNSPEC CONSTs.
2658
2659 2011-01-21  Jeff Law  <law@redhat.com>
2660
2661         PR tree-optimization/47053
2662         * tree-ssa-dse.c (need_eh_cleanup): New bitmap.
2663         (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when
2664         statements are deleted.
2665         (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP.  If NEED_EH_CLEANUP
2666         is nonempty, then purge dead edges and cleanup the CFG.
2667
2668 2011-01-21  Alexandre Oliva  <aoliva@redhat.com>
2669
2670         PR debug/47402
2671         Temporarily revert:
2672         2011-01-21  Alexandre Oliva  <aoliva@redhat.com>
2673         PR debug/47106
2674         * tree-dfa.c (create_var_ann): Mark variable as used.
2675
2676 2011-01-21  Jakub Jelinek  <jakub@redhat.com>
2677
2678         PR middle-end/45566
2679         * except.c (convert_to_eh_region_ranges): Emit queued no-region
2680         notes from other section in hot/cold partitioning even if
2681         last_action is -3.  Increment call_site_base.
2682
2683         PR rtl-optimization/47366
2684         * fwprop.c (forward_propagate_into): Return bool.  If
2685         any changes are made, -fnon-call-exceptions is used and
2686         REG_EH_REGION note is present, call purge_dead_edges
2687         and return true if it purged anything.
2688         (fwprop_addr): Adjust callers, call cleanup_cfg (0) if
2689         any EH edges were purged.
2690
2691 2011-01-21  Jeff Law  <law@redhat.com>
2692
2693         PR rtl-optimization/41619
2694         * caller-save.c (setup_save_areas): Break out code to determine
2695         which hard regs are live across calls by examining the reload chains
2696         so that it is always used.
2697         Eliminate code which checked REG_N_CALLS_CROSSED.
2698
2699 2011-01-21  Jakub Jelinek  <jakub@redhat.com>
2700
2701         PR tree-optimization/47355
2702         * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if
2703         NOP has non-debug uses beyond PHIs in new_bb.
2704
2705 2011-01-21  Alexandre Oliva  <aoliva@redhat.com>
2706
2707         PR debug/47106
2708         * cfgexpand.c (account_used_vars_for_block): Only account vars
2709         that are annotated as used.
2710         (estimated_stack_frame_size): Don't set TREE_USED.
2711         * tree-dfa.c (create_var_ann): Mark variable as used.
2712
2713 2011-01-21  Richard Guenther  <rguenther@suse.de>
2714
2715         PR middle-end/47395
2716         * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name.
2717
2718 2011-01-21  Richard Guenther  <rguenther@suse.de>
2719
2720         PR tree-optimization/47365
2721         * tree-ssa-sccvn.h (vn_lookup_kind): Declare.
2722         (vn_reference_lookup_pieces): Adjust.
2723         (vn_reference_lookup): Likewise.
2724         * tree-ssa-sccvn.c (vn_walk_kind): New static global.
2725         (vn_reference_lookup_3): Only look through kills if in
2726         VN_WALKREWRITE mode.
2727         (vn_reference_lookup_pieces): Adjust.
2728         (vn_reference_lookup): Likewise.
2729         (visit_reference_op_load): Likewise.
2730         (visit_reference_op_store): Likewise.
2731         * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode.
2732         (compute_avail): Likewise.
2733         (eliminate): Likewise.
2734
2735 2011-01-21  Jakub Jelinek  <jakub@redhat.com>
2736
2737         * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove
2738         DECL_IGNORED_P non-reg vars if they are used.
2739
2740         PR tree-optimization/47391
2741         * varpool.c (const_value_known_p): Return false if
2742         decl is volatile.
2743
2744 2011-01-21  Kai Tietz  <kai.tietz@onevision.com>
2745
2746         PR bootstrap/47215
2747         * config/i386/i386.c (ix86_local_alignment): Handle
2748         case for va_list_type_node is nil.
2749         (ix86_canonical_va_list_type): Likewise.
2750
2751 2011-01-21  Alan Modra  <amodra@gmail.com>
2752
2753         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add
2754         builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__.
2755
2756 2011-01-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2757
2758         * config/arm/arm.md (define_attr type): Rename f_load
2759         and f_store to f_fpa_load and f_fpa_store. Update.
2760         (write_conflict): Deal with rename fallout.
2761         (*push_fp_multi): Likewise.
2762         * config/arm/fpa.md (f_load): Use f_fpa_load.
2763         (f_store): Use f_fpa_store.
2764         (*movsf_fpa): Likewise.
2765         (*movdf_fpa): Likewise.
2766         (*movxf_fpa): Likewise.
2767         (*thumb2_movsf_fpa): Likewise.
2768         (*thumb2_movdf_fpa): Likewise.
2769         (*thumb2_movxf_fpa): Likewise.
2770         * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to
2771         f_loadd and f_stored.
2772         (*thumb2_movdi_vfp): Likewise.
2773         (*thumb2_movsf_vfp): Fix attribute to f_loads.
2774         (*thumb2_movsi_vfp): Likewise.
2775         * config/arm/cortex-m4-fpu.md (cortex_m4_f_load):
2776         Use f_loads instead of f_load.
2777         * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load.
2778
2779 2011-01-20  Anatoly Sokolov  <aesok@post.ru>
2780
2781         * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
2782         * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove.
2783         * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
2784         (xtensa_mode_dependent_address_p): New function.
2785         (constantpool_address_p): Make static. Change return type to bool.
2786         Change argument type to const_rtx. Use CONST_INT_P predicate.
2787
2788 2011-01-20  Alexandre Oliva  <aoliva@redhat.com>
2789
2790         PR debug/46583
2791         * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls.
2792
2793 2011-01-20  Jakub Jelinek  <jakub@redhat.com>
2794
2795         PR debug/47283
2796         * cfgexpand.c (expand_debug_expr): Instead of generating
2797         (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF
2798         etc. handling.
2799
2800 2011-01-20  Richard Guenther  <rguenther@suse.de>
2801
2802         PR middle-end/47370
2803         * tree-inline.c (remap_gimple_op_r): Recurse manually for
2804         the pointer operand of MEM_REFs.
2805
2806 2011-01-20  Jakub Jelinek  <jakub@redhat.com>
2807
2808         PR tree-optimization/46130
2809         * ipa-split.c (consider_split): If return_bb contains non-virtual
2810         PHIs other than for retval or if split_function would not adjust it,
2811         refuse to split.
2812
2813 2011-01-20  Richard Guenther  <rguenther@suse.de>
2814
2815         PR tree-optimization/47167
2816         * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
2817         Revert previous change, only avoid enumeral type changes.
2818
2819 2011-01-19  Mike Stump  <mikestump@comcast.net>
2820
2821         * doc/tm.texi.in (BRANCH_COST): Englishify.
2822         * doc/tm.texi (BRANCH_COST): Likewise.
2823
2824 2011-01-19  Dodji Seketeli  <dodji@redhat.com>
2825
2826         PR c++/47291
2827         * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
2828         (gen_scheduled_generic_parms_dies): New functions.
2829         (gen_struct_or_union_type_die): Schedule template parameters DIEs
2830         generation for the end of CU compilation.
2831         (dwarf2out_finish): Generate template parameters DIEs here.
2832
2833 2011-01-19  Alexandre Oliva  <aoliva@redhat.com>
2834
2835         PR debug/46240
2836         * tree-into-ssa.c (maybe_register_def): Do not attempt to add
2837         debug bind stmt on merge edges.
2838
2839 2011-01-19  Alexandre Oliva  <aoliva@redhat.com>
2840
2841         PR debug/47079
2842         PR debug/46724
2843         * function.c (instantiate_expr): Instantiate incoming rtl of
2844         implicit arguments, and recurse on VALUE_EXPRs.
2845         (instantiate_decls): Instantiate rtl and VALUE_EXPR of result.
2846         * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx.
2847
2848 2011-01-19  Alexandre Oliva  <aoliva@redhat.com>
2849
2850         * c-parser.c (c_parser_for_statement): Initialize
2851         collection_expression.
2852
2853 2011-01-19  Joseph Myers  <joseph@codesourcery.com>
2854
2855         * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.
2856
2857 2011-01-19  Joseph Myers  <joseph@codesourcery.com>
2858
2859         * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove.
2860         (LINK_SHLIB_SPEC): Don't use %(link_path).
2861         (SUBTARGET_EXTRA_SPECS): Remove link_path.
2862
2863 2011-01-19  Joseph Myers  <joseph@codesourcery.com>
2864
2865         * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
2866         (NO_SHARED_LIB_SUPPORT): Remove.
2867         (LINK_SHLIB_SPEC): Remove one conditional definition.
2868
2869 2011-01-19  Joseph Myers  <joseph@codesourcery.com>
2870
2871         * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
2872         %{call_shared}.
2873         * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
2874         * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
2875         * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
2876         %{call_shared} and conditionals on these options not being passed.
2877         * config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
2878         %{call_shared}.
2879
2880 2011-01-19  Jakub Jelinek  <jakub@redhat.com>
2881
2882         * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge,
2883         simplify.
2884
2885         * ipa-split.c: Spelling fixes.
2886
2887 2011-01-19  Richard Henderson  <rth@redhat.com>
2888
2889         * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand.
2890         (*mulsi3): Likewise.
2891
2892         * longlong.h [__mn10300__] (count_leading_zeros): New.
2893         [__mn10300__] (umul_ppmm, smul_ppmm): New.
2894         [__mn10300__] (add_ssaaaa, subddmmss): New.
2895         [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New.
2896         [__mn10300__] (UMUL_TIME, UDIV_TIME): New.
2897
2898 2011-01-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2899
2900         * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
2901
2902 2011-01-19  Richard Henderson  <rth@redhat.com>
2903
2904         * config/mn10300/mn10300.md (addsi3_flags): New.
2905         (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New.
2906         (subsi3_flags, subc_internal, subdi3): New.
2907         (subdi3_internal, *subdi3_degenerate): New.
2908         * config/mn10300/predicates.md (reg_or_am33_const_operand): New.
2909
2910         * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New.
2911         (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn.
2912         (mn10300_expand_epilogue): Use it.  Compute REG_SAVE_BYTES once.
2913         * config/mn10300/mn10300-protos.h: Update.
2914         * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn.
2915         (return_ret): Likewise.  Rename from return_internal_regs.
2916         (return_internal): Remove.
2917
2918         * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove.
2919         (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL.
2920         (mn10300_legitimate_constant_p): Likewise.
2921         (mn10300_can_use_return_insn): Use mn10300_initial_offset.
2922         (mn10300_frame_size): New.
2923         (mn10300_expand_prologue): Use it.
2924         (mn10300_expand_epilogue): Likewise.
2925         (mn10300_initial_offset): Likewise.
2926         * config/mn10300/mn10300-protos.h: Update.
2927         * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove.
2928         * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove.
2929         (prologue, epilogue, return_internal): Tidy output code.
2930         (mn10300_store_multiple_operation, return): Likewise.
2931         (int_label, pop_pic_reg, GOTaddr2picreg): Remove.
2932         (am33_loadPC, mn10300_loadPC, call_next_insn): Remove.
2933         (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove.
2934         (load_pic, am33_load_pic): New.
2935         (mn10300_load_pic0, mn10300_load_pic1): New.
2936
2937         * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes.
2938         * config/mn10300/mn10300.c (CC_FLAG_Z): New.
2939         (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New.
2940         (cc_flags_for_mode, cc_flags_for_code): New.
2941         (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the
2942         overflow flag is not valid.  Validate that the flags we need
2943         for the comparison are valid.
2944         (mn10300_output_cmp): Remove.
2945         (mn10300_output_add): New.
2946         (mn10300_select_cc_mode): Use cc_flags_for_code.
2947         (mn10300_split_cbranch): New.
2948         (mn10300_match_ccmode): New.
2949         (mn10300_split_and_operand_count): New.
2950         * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments
2951         to the function.
2952         * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge...
2953         (addsi3): ... here.  Use mn10300_output_add.
2954         (*addsi3_flags): New.
2955         (*am33_subsi3, *mn10300_subsi3): Merge...
2956         (subsi3): ... here.  Use attribute isa.
2957         (*subsi3_flags): New.
2958         (negsi2): Rewrite from expander to insn_and_split.  Use NOT+INC
2959         when possible.
2960         (*am33_andsi3, *mn10300_andsi3): Merge...
2961         (andsi3): ... here.
2962         (*andsi3_flags): New.
2963         (andsi3 splitters): New.
2964         (*am33_iorsi3, *mn10300_iorsi3): Merge...
2965         (iorsi3): ... here.
2966         (*iorsi3_flags): New.
2967         (*am33_xorsi3, *mn10300_xorsi3): Merge...
2968         (xorsi3): ... here.
2969         (*xorsi3_flags): New.
2970         (*am33_cmpsi2, *mn10300_cmplsi2): Merge...
2971         (one_cmplsi2): ... here.
2972         (*one_cmplsi2_flags): New.
2973         (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload.  Use "r"
2974         instead of "dax" in constraints.  Use mn10300_split_cbranch.
2975         (*cmpsi): Rename from cmpsi.  Do not use mn10300_output_cmp.  Do not
2976         use matching constraints to eliminate a self-comparison.
2977         (*integer_conditional_branch): Rename from integer_conditional_branch.
2978         Use int_mode_flags to match CC_REG.
2979         (*cbranchsi4_btst, *btstsi): New.
2980         (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload.  Use
2981         mn10300_split_cbranch.
2982         (*am33_cmpsf): Rename from am33_cmpsf.
2983         (*float_conditional_branch): Rename from float_conditional_branch.
2984         (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge...
2985         (zero_extendqisi2): ... here.
2986         (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge...
2987         (zero_extendhisi2): ... here.
2988         (*extendqisi2_am33, *extendqisi2_mn10300): Merge...
2989         (extendqisi2): ... here.
2990         (*extendhisi2_am33, *extendhisi2_mn10300): Merge...
2991         (extendhisi2): ... here.
2992         (*am33_ashlsi3, *mn10300_ashlsi3): Merge...
2993         (ashlsi3): ... here.
2994         (*am33_lshrsi3, *mn10300_lshrsi3): Merge...
2995         (lshrsi3): ... here.
2996         (*am33_ashrisi3, *mn10300_ashrsi3): Merge...
2997         (ashrsi3): ... here.
2998         (consecutive add peephole): Remove.
2999         * config/mn10300/predicates.md (label_ref_operand): New.
3000         (int_mode_flags): New.
3001         (CCZN_comparison_operator): New.
3002
3003         * config/mn10300/mn10300.md (UNSPEC_EXT): New.
3004         (throughput_42_latency_43): New reservation.
3005         (mulsidi3, umulsidi3): New expanders.
3006         (mulsidi3_internal): Rewrite from old mulsidi3 pattern.  Expose
3007         the MDR register to allocation; separately allocate the low and
3008         high parts of the DImode result.
3009         (umulsidi3_internal): Similarly.
3010         (*am33_mulsi3, *mn10300_mulsi3): Merge into ...
3011         (*mulsi3): ... here.  Clobber MDR as a scratch as necessary.
3012         (udivsi3, umodsi3): Remove.
3013         (udivmodsi4, divmodsi4): New expanders.
3014         (*udivmodsi4): Rename from udivmodsi4.  Expose MDR properly.
3015         (*divmodsi4): Simiarly.
3016         (ext_internal): New.
3017
3018         * config/mn10300/constraints.md ("z"): New constraint.
3019         * config/mn10300/mn10300.h (MDR_REGNUM): Remove.
3020         (FIXED_REGISTERS): Don't fix MDR.
3021         (CALL_USED_REGSITERS): Reformat nicely.
3022         (REG_ALLOC_ORDER): Add MDR.
3023         (enum regclass): Add MDR_REGS.
3024         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match.
3025         (IRA_COVER_CLASSES): Add MDR_REGS.
3026         (REGNO_REG_CLASS): Handle MDR_REG.
3027         * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS.
3028         (mn10300_register_move_cost): Likewise.
3029         * config/mn10300/mn10300.md (MDR_REG): New.
3030         (*movsi_internal): Handle moves to/from MDR_REGS.
3031
3032         * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle
3033         POST_MODIFY.
3034         (mn10300_secondary_reload): Tidy combination reload classes.
3035         (mn10300_legitimate_address_p): Allow post-modify and reg+reg
3036         addresses for AM33.  Allow symbolic offsets for reg+imm.
3037         (mn10300_regno_in_class_p): New.
3038         (mn10300_legitimize_reload_address): New.
3039         * config/mn10300/mn10300.h (enum reg_class): Remove
3040         DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS,
3041         SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS.  Add
3042         SP_OR_GENERAL_REGS.
3043         (REG_CLASS_NAMES): Update to match.
3044         (REG_CLASS_CONTENTS): Likewise.
3045         (INDEX_REG_CLASS): Use GENERAL_REGS for AM33.
3046         (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33.
3047         (REGNO_IN_RANGE_P): Remove.
3048         (REGNO_DATA_P): Use mn10300_regno_in_class_p.
3049         (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise.
3050         (REGNO_STRICT_OK_FOR_BASE_P): Likewise.
3051         (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise.
3052         (REGNO_STRICT_OK_FOR_INDEX_P): Likewise.
3053         (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove.
3054         (REGNO_GENERAL_P): New.
3055         (HAVE_POST_MODIFY_DISP): New.
3056         (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New.
3057         (LEGITIMIZE_RELOAD_ADDRESS): New.
3058         * config/mn10300/mn10300-protos.h: Update.
3059
3060         * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow
3061         DATA_REGS for AM33 stack-pointer destination.
3062         (mn10300_preferred_output_reload_class): Likewise.
3063         (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class
3064         into a form appropriate for ...
3065         (TARGET_SECONDARY_RELOAD): New.
3066         * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove.
3067         * config/mn10300/mn10300-protos.h: Update.
3068         * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from
3069         reload_insi; use the "A" constraint for the scratch; handle AM33
3070         moves of sp to non-address registers.
3071
3072         * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into
3073         (*movqi_internal): ... here.
3074         (*am33_movhi, *mn10300_movhi): Merge into...
3075         (*movhi_internal): ... here.
3076         (*movsi_internal): Use "r" instead of "dax" in constraints.  Use "A"
3077         as the source/destination of moves from/to SP.
3078         (movsf): Only allow for AM33-2.
3079         (*movsf_internal): Use "r" instead of "dax"; use "F" instead of
3080         any integer constant constraint.  Only allow for AM33-2.  Tidy
3081         all of the alternative outputs.
3082         (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove.
3083         (udivmodsi4): Delete expander and promote *udivmodsi4.  Disallow
3084         for MN103.
3085         (udivsi3, umodsi3): New patterns for MN103 only.
3086
3087 2011-01-19  Joern Rennecke  <amylaar@spamcop.net>
3088
3089         * doc/tm.texi.in: Spell out that a lack of register class unions
3090         can lead to ICEs.
3091         * doc/tm.texi: Regenerate.
3092
3093 2011-01-19  Jakub Jelinek  <jakub@redhat.com>
3094
3095         PR rtl-optimization/47337
3096         * dce.c (check_argument_store): New function.
3097         (find_call_stack_args): Ignore debug insns.  Use check_argument_store.
3098
3099         PR tree-optimization/47290
3100         * tree-eh.c (infinite_empty_loop_p): New function.
3101         (cleanup_empty_eh): Use it.
3102
3103 2011-01-18  Steve Ellcey  <sje@cup.hp.com>
3104
3105         PR target/46997
3106         * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
3107         (a64_expand_widen_sum): Ditto.
3108         * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
3109         (vec_extract_evenodd_help): Ditto.
3110         (vec_extract_evenv4hi): Ditto.
3111         (vec_extract_oddv4hi): Ditto.
3112         (vec_extract_evenv2si): Ditto.
3113         (vec_extract_oddv2si): Ditto.
3114         (vec_extract_evenv2sf): Ditto.
3115         (vec_extract_oddv2sf): Ditto.
3116         (vec_pack_trunc_v4hi: Ditto.
3117         (vec_pack_trunc_v2si): Ditto.
3118         (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
3119         (vec_interleave_highv8qi): Ditto.
3120         (mix1_r): Ditto.
3121         (vec_extract_oddv8qi): Ditto.
3122         (vec_interleave_lowv4hi): Ditto.
3123         (vec_interleave_highv4hi): Ditto.
3124         (vec_interleave_lowv2si): Ditto.
3125         (vec_interleave_highv2si): Ditto.
3126
3127 2011-01-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3128
3129         * doc/extend.texi: Mention __float128 support on hppa HP-UX.
3130         * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
3131         * config/pa/pa.c (pa_expand_builtin): New.  Include "langhooks.h".
3132         (pa_c_mode_for_suffix): New.
3133         (TARGET_EXPAND_BUILTIN): Define.
3134         (TARGET_C_MODE_FOR_SUFFIX): Define.
3135         (pa_builtins): Define.
3136         (pa_init_builtins): Register __float128 type and init new support
3137         builtins.
3138         * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
3139         * config/pa/quadlib.c (_U_Qfcopysign): New.
3140
3141 2011-01-18  Eric Botcazou  <ebotcazou@adacore.com>
3142
3143         PR middle-end/46894
3144         * explow.c (allocate_dynamic_stack_space): Do not assume more than
3145         BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET
3146         are defined.
3147
3148 2011-01-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3149
3150         PR tree-optimization/47179
3151         * config/spu/spu.c (spu_ref_may_alias_errno): New function.
3152         (TARGET_REF_MAY_ALIAS_ERRNO): Define.
3153
3154 2011-01-18  Richard Guenther  <rguenther@suse.de>
3155
3156         PR rtl-optimization/47216
3157         * emit-rtl.c: Include tree-flow.h.
3158         (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead
3159         of replicating it with different semantics.
3160         * Makefile.in (emit-rtl.o): Adjust.
3161
3162 2011-01-18  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3163
3164         * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include.
3165         (cortex_a9_dp): Handle neon types correctly.
3166
3167 2011-01-18  Jakub Jelinek  <jakub@redhat.com>
3168
3169         PR rtl-optimization/47299
3170         * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
3171         subtarget.  Use normal multiplication if both operands are constants.
3172         * expmed.c (expand_widening_mult): Don't try to optimize constant
3173         multiplication if op0 has VOIDmode.  Convert op1 constant to mode
3174         before using it.
3175
3176 2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3177
3178         * doc/lto.texi (LTO): Ensure two spaces after period.  Fix
3179         spacing after 'e.g.', typos, comma, hyphenation.
3180
3181 2011-01-17  Richard Henderson  <rth@redhat.com>
3182
3183         * config/rx/predicates.md (rx_constshift_operand): Use match_test.
3184         (rx_restricted_mem_operand): New.
3185         (rx_shift_operand): Use register_operand.
3186         (rx_source_operand, rx_compare_operand): Likewise.
3187         * config/rx/rx.md (addsi3_flags): New expander.
3188         (adddi3): Rewrite as expander.
3189         (adc_internal, *adc_flags, adddi3_internal): New patterns.
3190         (subsi3_flags): New expander.
3191         (subdi3): Rewrite as expander.
3192         (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
3193
3194         * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
3195         (rx_init_builtins): Remove sat builtin.
3196         (rx_expand_builtin): Likewise.
3197         * config/rx/rx.md (ssaddsi3): New.
3198         (*sat): Rename from sat.  Represent the CC_REG input.
3199
3200         * config/rx/predicates.md (rshift_operator): New.
3201         * config/rx/rx.c (rx_expand_insv): Remove.
3202         * config/rx/rx-protos.h: Update.
3203         * config/rx/rx.md (*bitset): Rename from bitset.  Swap the ashift
3204         operand to the canonical position.
3205         (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
3206         (*bitclr, *bitclr_in_memory): Similarly.
3207         (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
3208         (insv): Retain the zero_extract in the expansion.
3209
3210         * config/rx/rx.md (bswapsi2): Use = not + for output reload.
3211         (bswaphi2, bitinvert, revw): Likewise.
3212
3213         * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
3214         (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
3215         * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
3216         (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
3217         (bitset, bitset_in_memory): Likewise.
3218         (bitinvert, bitinvert_in_memory): Likewise.
3219         (bitclr, bitclr_in_memory): Likewise.
3220         (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
3221         (rx_strend, rx_cmpstrn): Likewise.
3222         (rx_setmem): Likewise.  Make the source BLKmode to match the dest.
3223         (bitop peep2 patterns): Remove.
3224
3225         * config/rx/rx.c (rx_match_ccmode): New.
3226         * config/rx/rx-protos.h: Update.
3227         * config/rx/rx.md (abssi2): Clobber, don't set flags.
3228         (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
3229         (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
3230         (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
3231         (fix_truncsfsi2, floatsisf2): Likewise.
3232         (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
3233         (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
3234         (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
3235         (*subsi3_flags, *xorsi3_flags): New.
3236
3237         * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
3238
3239         * config/rx/rx.c (rx_print_operand): Remove workaround for
3240         unsplit comparison operations.
3241
3242         * config/rx/rx.md (movsicc): Split after reload.
3243         (*movsicc): Merge *movsieq and *movsine via match_operator.
3244         (*stcc): New pattern.
3245
3246         * config/rx/rx.c (rx_float_compare_mode): Remove.
3247         * config/rx/rx.h (rx_float_compare_mode): Remove.
3248         * config/rx/rx.md (cstoresi4): Split after reload.
3249         (*sccc): New pattern.
3250
3251         * config/rx/predicates.md (label_ref_operand): New.
3252         (rx_z_comparison_operator): New.
3253         (rx_zs_comparison_operator): New.
3254         (rx_fp_comparison_operator): New.
3255         * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
3256         Validate that the flags are set properly for the comparison.
3257         (rx_gen_cond_branch_template): Remove.
3258         (rx_cc_modes_compatible): Remove.
3259         (mode_from_flags): New.
3260         (flags_from_code): Rename from flags_needed_for_conditional.
3261         (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
3262         (rx_select_cc_mode): Likewise.
3263         (rx_split_fp_compare): New.
3264         (rx_split_cbranch): New.
3265         * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
3266         (*cbranchsi4): Use match_operator and rx_split_cbranch.
3267         (*cbranchsf4): Similarly.
3268         (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>.  Use
3269         match_operator and rx_split_cbranch.
3270         (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
3271         tstbranchsi4m_ne.  Use match_operator and rx_split_cbranch.
3272         (*cmpsi): Rename from cmpsi.
3273         (*tstsi): Rename from tstsi.
3274         (*cmpsf): Rename from cmpsf; use CC_Fmode.
3275         (*conditional_branch): Rename from conditional_branch.
3276         (*reveresed_conditional_branch): Remove.
3277         (b<code>): Remove expander.
3278         * config/rx/rx-protos.h: Update.
3279
3280         * config/rx/rx.c (rx_compare_redundant): Remove.
3281         * config/rx/rx.md (cmpsi): Don't use it.
3282         * config/rx/rx-protos.h: Update.
3283
3284         * config/rx/rx-modes.def (CC_F): New mode.
3285         * config/rx/rx.c (rx_select_cc_mode): New.
3286         * config/rx/rx.h (SELECT_CC_MODE): Use it.
3287         * config/rx/rx-protos.h: Update.
3288
3289 2011-01-17  Richard Henderson  <rth@redhat.com>
3290
3291         * except.c (dump_eh_tree): Fix stray ; after for statement.
3292
3293 2011-01-17  Richard Guenther  <rguenther@suse.de>
3294
3295         PR tree-optimization/47313
3296         * tree-inline.c (tree_function_versioning): Move DECL_RESULT
3297         handling before copying the body.  Properly deal with
3298         by-reference result in SSA form.
3299
3300 2011-01-17  Ian Lance Taylor  <iant@google.com>
3301
3302         PR target/47219
3303         * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
3304         (struct_value_alias_set): Don't define.
3305         (sparc_option_override): Don't set sparc_sr_alias_set and
3306         struct_value_alias_set.
3307         (save_or_restore_regs): Use gen_frame_mem rather than calling
3308         set_mem_alias_set.
3309         (sparc_struct_value_rtx): Likewise.
3310
3311 2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3312
3313         PR target/47318
3314         * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
3315         __m128i.
3316         (_mm_maskstore_pd): Likewise.
3317         (_mm_maskload_ps): Likewise.
3318         (_mm_maskstore_ps): Likewise.
3319         (_mm256_maskload_pd): Change mask to __m256i.
3320         (_mm256_maskstore_pd): Likewise.
3321         (_mm256_maskload_ps): Likewise.
3322         (_mm256_maskstore_ps): Likewise.
3323
3324         * config/i386/i386-builtin-types.def: Updated.
3325         (ix86_expand_special_args_builtin): Likewise.
3326
3327         * config/i386/i386.c (bdesc_special_args): Update
3328         __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
3329         __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
3330         __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
3331         __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
3332
3333         * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
3334         Use <avxpermvecmode> on mask register.
3335         (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
3336
3337 2011-01-17  Olivier Hainque  <hainque@adacore.com>
3338             Michael Haubenwallner  <michael.haubenwallner@salomon.at>
3339             Eric Botcazou  <ebotcazou@adacore.com>
3340
3341         PR target/46655
3342         * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
3343         if <= USHRT_MAX in 32-bit mode.
3344
3345 2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3346
3347         * doc/install.texi (Configuration, Specific): Wrap long
3348         lines in examples.  Allow line wrapping in long options
3349         and URLs where beneficial for PDF output.
3350
3351 2011-01-16  Richard Sandiford  <rdsandiford@googlemail.com>
3352
3353         * config/mips/mips.c (mips_classify_symbol): Don't return
3354         SYMBOL_PC_RELATIVE for nonlocal labels.
3355
3356 2011-01-15  Eric Botcazou  <ebotcazou@adacore.com>
3357
3358         * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
3359
3360 2011-01-15  Jan Hubicka  <jh@suse.cz>
3361
3362         PR tree-optimization/47276
3363         * ipa.c (function_and_variable_visibility): Do not try to mark alias
3364         declarations as needed.
3365
3366 2011-01-15  Martin Jambor  <mjambor@suse.cz>
3367
3368         * common.opt (fdevirtualize): New flag.
3369         * doc/invoke.texi (Option Summary): Document it.
3370         * opts.c (default_options_table): Add devirtualize flag.
3371         * ipa-prop.c (detect_type_change): Return immediately if
3372         devirtualize flag is not set.
3373         (detect_type_change_ssa): Likewise.
3374         (compute_known_type_jump_func): Likewise.
3375         (ipa_analyze_virtual_call_uses): Likewise.
3376
3377 2011-01-14  Martin Jambor  <mjambor@suse.cz>
3378
3379         PR tree-optimization/45934
3380         PR tree-optimization/46302
3381         * ipa-prop.c (type_change_info): New type.
3382         (stmt_may_be_vtbl_ptr_store): New function.
3383         (check_stmt_for_type_change): Likewise.
3384         (detect_type_change): Likewise.
3385         (detect_type_change_ssa): Likewise.
3386         (compute_complex_assign_jump_func): Check for dynamic type change.
3387         (compute_complex_ancestor_jump_func): Likewise.
3388         (compute_known_type_jump_func): Likewise.
3389         (compute_scalar_jump_functions): Likewise.
3390         (ipa_analyze_virtual_call_uses): Likewise.
3391         (ipa_analyze_node): Push and pop cfun, set current_function_decl.
3392
3393 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3394
3395         * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
3396         * config/i386/i386.opt (msse5): New Alias.
3397
3398 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3399
3400         * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
3401         * config/sparc/linux64.h (CC1_SPEC): Likewise.
3402         * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
3403         * config/sparc/sparc.h (CC1_SPEC): Likewise.
3404
3405 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3406
3407         * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
3408         -mcpu options.
3409         * config/sparc/linux64.h (CC1_SPEC): Likewise.
3410         * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
3411         * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
3412         * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
3413         Likewise.
3414         * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
3415
3416 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3417
3418         * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi.
3419
3420 2011-01-14  Mike Stump  <mikestump@comcast.net>
3421
3422         * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
3423         * config/fr30/fr30.md: Likweise
3424         (movsi_push): Likewise.
3425         (movsi_pop): Likewise.
3426         (enter_func): Likewise.
3427         * config/moxie/moxie.md (movsi_push): Likewise.
3428         (movsi_pop): Likewise.
3429
3430 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3431
3432         * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
3433         %{no_archive} %{exact_version}.
3434         * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
3435         * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
3436         %{no_archive} %{exact_version}.
3437         * config/mips/openbsd.h (LINK_SPEC): Likewise.
3438         * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
3439         * config/mips/vxworks.h: Likewise.
3440
3441 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3442
3443         * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}.
3444
3445 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3446
3447         * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
3448         ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
3449
3450 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3451
3452         * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
3453         -nodefaultlib.
3454
3455 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3456
3457         * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
3458         for mcpu not cpu.
3459         * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
3460         CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
3461         not cpu.
3462         (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
3463         Don't handle -shlib.
3464
3465 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3466
3467         * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
3468         (CC1_SPEC): Don't handle -profile.
3469
3470 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3471
3472         * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
3473         * config/mips/mips.h (CC1_SPEC): Likewise.
3474
3475 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3476
3477         * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
3478         * config/mips/mips.h (CC1_SPEC): Likewise.
3479
3480 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3481
3482         * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
3483         * config/m32r/linux.h (LINK_SPEC): Likewise.
3484         * config/mips/linux.h (LINK_SPEC): Likewise.
3485         * config/mips/linux64.h (LINK_SPEC): Likewise.
3486         * config/sparc/linux.h (LINK_SPEC): Likewise.
3487         * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
3488         LINK_SPEC): Likewise.
3489         * config/xtensa/linux.h (LINK_SPEC): Likewise.
3490
3491 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3492
3493         * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
3494         %{version:-v}.
3495         * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
3496
3497 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3498
3499         * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
3500         * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
3501
3502 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
3503