OSDN Git Service

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