OSDN Git Service

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