]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
re PR target/47986 (gcc.c-torture/execute/20040709-1.c fails with non-delegitimized...
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
ea868305
AM
12011-03-05 Alan Modra <amodra@gmail.com>
2
3 PR target/47986
4 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle
5 full cmodel medium/large lo_sum + high addresses.
6
bc6ce334
AK
72011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8
9 * config/s390/s390.c (s390_decompose_address): Reject non-literal
10 pool references in UNSPEC_LTREL_OFFSET.
11
87e7b310
JH
122011-03-04 Jan Hubicka <jh@suse.cz>
13
14 PR lto/47497
15 * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias.
16 (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here.
17 * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): Add node pointers.
18 * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias,
19 cgraph_add_thunk): Add node pointers.
20 * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are
21 associated to right node.
22 (input_node): Update use of cgraph_same_body_alias
23 and cgraph_add_thunk.
24
d9c64246
CF
252011-03-04 Changpeng Fang <changpeng.fang@amd.com>
26
27 * config/i386/i386.opt (mprefer-avx128): New flag.
28 * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit mode
29 when the flag -mprefer-avx128 is on.
30
08707076
RS
312011-03-04 Richard Sandiford <richard.sandiford@linaro.org>
32
33 * dwarf2out.c (compare_loc_operands): Fix address handling.
34
52517c81
AM
352011-03-04 Alan Modra <amodra@gmail.com>
36
37 * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment.
38
b147c5b9
RG
392011-03-04 Richard Guenther <rguenther@suse.de>
40
41 PR middle-end/47968
42 * expmed.c (extract_bit_field_1): Prefer vector modes that
43 vec_extract patterns can handle.
44
8750672f
RG
452011-03-04 Richard Guenther <rguenther@suse.de>
46
47 PR middle-end/47975
48 * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P.
49
9eac0f2a
RH
502011-03-04 Richard Henderson <rth@redhat.com>
51
52 * explow.c (emit_stack_save): Remove 'after' parameter.
53 (emit_stack_restore): Likewise.
54 * expr.h: Update to match.
55 * builtins.c, calls.c, stmt.c: Likewise.
56 * config/alpha/alpha.md, config/avr/avr.md: Likewise.
57 * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise.
58 * function.c (expand_function_end): Insert the emit_stack_save
59 sequence before parm_birth_insn instead of after.
60
dfee1406
UB
612011-03-03 Uros Bizjak <ubizjak@gmail.com>
62
63 * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
64 (ssse3_pmaddubsw128): Ditto.
65 (ssse3_pmaddubsw): Ditto.
66
f1d4c3de
SE
672011-03-03 Steve Ellcey <sje@cup.hp.com>
68
69 * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH
70
71f3a3f5
JJ
712011-03-03 Jakub Jelinek <jakub@redhat.com>
72
423ed416
JJ
73 PR c/47963
74 * gimplify.c (omp_add_variable): Only call omp_notice_variable
75 on TYPE_SIZE_UNIT if it is a DECL.
76
71f3a3f5
JJ
77 PR debug/47283
78 * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF
79 first operand is not is_gimple_mem_ref_addr, try to fold it.
80 If the operand still isn't is_gimple_mem_ref_addr, clear
81 MEM_EXPR on op0.
82
4b1a5c0d
RG
832011-03-03 Richard Guenther <rguenther@suse.de>
84
85 PR middle-end/47283
86 * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code
87 match comment.
88 (refs_may_alias_p_1): For release branches return true if
89 we are confused by our input.
90
b46616fd
AK
912011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92
93 * config/s390/s390.c (s390_function_value): Rename to ...
94 (s390_function_and_libcall_value): ... this.
95 (s390_function_value): New function.
96 (s390_libcall_value): New function.
dfee1406 97 (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks.
b46616fd
AK
98 * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove
99 target macro definitions.
100 * config/s390/s390-protos.h (s390_function_value): Remove prototype.
101
46d8fabb
JM
1022011-03-02 Joseph Myers <joseph@codesourcery.com>
103
104 * config/i386/freebsd64.h (CC1_SPEC): Define.
105 * config/i386/linux64.h (CC1_SPEC): Define.
106 * config/i386/x86-64.h (CC1_SPEC): Don't define.
107
6b1ce545
AS
1082011-03-02 Anatoly Sokolov <aesok@post.ru>
109
110 * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
111 Remove.
112 * config/stormy16/stormy16.c: Include reload.h.
113 (xstormy16_memory_move_cost): New function.
114 (TARGET_MEMORY_MOVE_COST): Define.
115
34161e98
RS
1162011-03-02 Richard Sandiford <richard.sandiford@linaro.org>
117
118 PR rtl-optimization/47925
119 * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions
120 with side effects. Remove the more-specific check for volatile asms.
121
f60a97cf
AM
1222011-03-02 Alan Modra <amodra@gmail.com>
123
124 PR target/47935
125 * config/rs6000/predicates.md (lwa_operand): Check cmodel medium
126 toc relative addresses for valid offsets.
127
f2ca11ca
RG
1282011-03-01 Richard Guenther <rguenther@suse.de>
129
130 PR tree-optimization/47890
131 * tree-vect-loop.c (get_initial_def_for_induction): Set
132 related stmt properly.
133
7a00d9ea
RG
1342011-03-01 Richard Guenther <rguenther@suse.de>
135
136 PR lto/47924
137 * lto-streamer.c (lto_record_common_node): Also register
138 the canonical type.
139
06c7edcc
RG
1402011-03-01 Richard Guenther <rguenther@suse.de>
141
142 PR lto/46911
143 * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers):
144 Do not stream DECL_ABSTRACT_ORIGIN.
145 (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION,
146 BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN.
147 * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers):
148 Do not stream DECL_ABSTRACT_ORIGIN.
149 (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION,
150 BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN.
151
998871e9
AS
1522011-02-28 Anatoly Sokolov <aesok@post.ru>
153
154 * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE,
155 FUNCTION_VALUE_REGNO_P): Remove.
b2e2ea67 156 * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove.
998871e9
AS
157 * config/stormy16/stormy16.c (xstormy16_function_value): Make static.
158 Add 'outgoing' argument.
159 (xstormy16_libcall_value, xstormy16_function_value_regno_p): New
160 function.
161 (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE,
162 TARGET_FUNCTION_VALUE_REGNO_P): Define.
163
94369251
KT
1642011-02-28 Kai Tietz <kai.tietz@onevision.com>
165
166 PR debug/28047
167 * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp.
168 (lookup_filename): Likewise.
b2e2ea67 169 * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp.
94369251 170
80a832cd
JJ
1712011-02-28 Bernd Schmidt <bernds@codesourcery.com>
172 Jakub Jelinek <jakub@redhat.com>
173
174 PR middle-end/47893
175 * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define.
176 (assign_stack_local_1): Change last argument type to int.
177 * function.c (assign_stack_local_1): Replace reduce_alignment_ok
178 argument with kind. If bit ASLK_RECORD_PAD is not set in it,
b2e2ea67 179 don't record padding space into frame_space_list nor use those areas.
80a832cd
JJ
180 (assign_stack_local): Adjust caller.
181 (assign_stack_temp_for_type): Call assign_stack_local_1 instead
182 of assign_stack_local, pass 0 as last argument.
183 * caller-save.c (setup_save_areas): Adjust assign_stack_local_1
184 callers.
185
1b500976
JJ
1862011-02-28 Jakub Jelinek <jakub@redhat.com>
187
f61c6f34
JJ
188 PR debug/47283
189 * cfgexpand.c (convert_debug_memory_address): Add AS parameter.
190 Use target address_mode and pointer_mode hooks instead of hardcoded
191 Pmode and ptr_mode. Handle some simple cases of extending if
192 POINTERS_EXTEND_UNSIGNED < 0.
193 (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>:
194 Call convert_debug_memory_address.
195 (expand_debug_expr) <case ADDR_EXPR>: Pass as to
196 convert_debug_memory_address.
197
1b500976
JJ
198 PR middle-end/46790
199 * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test.
200 * configure: Regenerated.
201 * config.in: Regenerated.
202 * varasm.c (default_function_section): Return NULL
b2e2ea67 203 if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name.
1b500976 204
2f2935b6
MJ
2052011-02-28 Martin Jambor <mjambor@suse.cz>
206
207 * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix
208 the description to match the printed values.
209
474086eb
RG
2102011-02-28 Richard Guenther <rguenther@suse.de>
211
212 * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT
213 of the copied scope tree.
214
15bf6f3a
RW
2152011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
216
217 * doc/extend.texi (Function Attributes): Avoid deeply (and
218 wrongly) nested tables.
219
f6b439c9
JJ
2202011-02-27 Jakub Jelinek <jakub@redhat.com>
221
222 PR middle-end/47903
223 * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR,
224 MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if
225 r isn't op0 nor op1.
226
1d8ca2c7
GJL
2272011-02-23 Georg-Johann Lay <avr@gjlay.de>
228
229 * config/avr/avr.md: Remove magic comment for emacs.
230
593fca4b
GJL
2312011-02-23 Georg-Johann Lay <avr@gjlay.de>
232
233 PR target/45261
234 * config/avr/avr.c (avr_option_override): Use error on bad options.
235 (avr_help): New function.
236 (TARGET_HELP): Define.
237
6609216e
GJL
2382011-02-22 Georg-Johann Lay <avr@gjlay.de>
239
240 PR target/42240
241 * config/avr/avr.c (avr_cannot_modify_jumps_p): New function.
242 (TARGET_CANNOT_MODIFY_JUMPS_P): Define.
243
03d458af
GP
2442011-02-26 Gerald Pfeifer <gerald@pfeifer.com>
245
246 * doc/invoke.texi (ARC Options): Use CPU instead of cpu.
247 (ARM Options): Ditto.
248 (i386 and x86-64 Options): Ditto.
249 (RX Options): Ditto.
250 (SPARC Options): Ditto.
251
1c379b78
TC
2522011-02-26 Tijl Coosemans <tijl@coosemans.org>
253
254 * config.gcc (i386-*-freebsd*): Make i486 the default arch on
255 FreeBSD 6 and later. Generally use cpu generic.
256
d5ed058c 2572011-02-25 Gerald Pfeifer <gerald@pfeifer.com>
b2e2ea67 258
d5ed058c
GP
259 * doc/cpp.texi: Update copyright years.
260
509d65dd 2612011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org>
308d39cd 262
509d65dd 263 PR target/46898
308d39cd
SB
264 * config/lm32/lm32.md (ashrsi3): Added needed variable.
265
509d65dd 2662011-02-25 Jon Beniston <jon@beniston.com>
308d39cd 267
509d65dd 268 PR target/46898
308d39cd
SB
269 * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New.
270 * config/lm32/lm32.md (ashlsi3): Remove unused variable.
271 * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New.
272 (lm32_block_move_inline): Add type cast to remove warning.
b2e2ea67 273 (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out.
308d39cd
SB
274 (gen_int_relational): Move declarations to start of function.
275
822ba6d7
EB
2762011-02-25 Eric Botcazou <ebotcazou@adacore.com>
277
278 PR tree-optimization/45470
279 * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement
280 can throw internally only.
281 * tree-vect-stmts.c (vectorizable_call): Likewise.
282
ef795fc2
AS
2832011-02-24 Anatoly Sokolov <aesok@post.ru>
284
285 * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS,
286 PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
287 * config/stormy16/stormy16-protos.h
288 (xstormy16_preferred_reload_class): Remove.
289 * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make
290 static. Change 'rclass' argument and return type to reg_class_t.
291 (TARGET_PREFERRED_RELOAD_CLASS,
292 TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define.
293
1c3277ee
RG
2942011-02-24 Richard Guenther <rguenther@suse.de>
295
296 * lto-streamer-in.c (input_bb): Do not find referenced vars
297 in debug statements.
298
67e18edb
JM
2992011-02-23 Jason Merrill <jason@redhat.com>
300
301 * common.opt (fabi-version): Document v5 and v6.
302
b14fad9d
RG
3032011-02-23 Richard Guenther <rguenther@suse.de>
304
305 PR tree-optimization/47849
306 * tree-if-conv.c (main_tree_if_conversion): Free postdom info.
307
7fcf46f5
JZ
3082011-02-23 Jie Zhang <jie@codesourcery.com>
309
310 * opts-common.c (decode_cmdline_option): Print empty string
311 argument as "" in decoded->orig_option_with_args_text.
312 * gcc.c (execute): Print empty string argument as ""
313 in the verbose output.
314 (do_spec_1): Keep empty string argument.
315
f85b70fd
NF
3162011-02-23 Nathan Froyd <froydnj@codesourcery.com>
317
318 * config.gcc: Declare score-* and crx-* obsolete.
319
b152a615
JZ
3202011-02-23 Jie Zhang <jie@codesourcery.com>
321
322 PR rtl-optimization/47763
323 * web.c (web_main): Ignore naked clobber when replacing register.
324
bb6e77bc
AS
3252011-02-22 Anatoly Sokolov <aesok@post.ru>
326
327 * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P):
328 Remove.
329
68bf6491
SP
3302011-02-22 Sebastian Pop <sebastian.pop@amd.com>
331
332 PR doc/47848
333 * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes.
334
88ee1fc7
MS
3352011-02-22 Mike Stump <mikestump@comcast.net>
336
337 * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin
338 assembler.
339 * configure: Regenerate.
340
6042d1dd
CLT
3412011-02-21 Chung-Lin Tang <cltang@codesourcery.com>
342
343 PR rtl-optimization/46002
344 * ira-color.c (update_copy_costs): Change class intersection
345 test to reg_class_contents[] test of 'hard_regno'.
346
7de97f9e
JM
3472011-02-21 Joseph Myers <joseph@codesourcery.com>
348
349 * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather
350 than Driver option.
351 * config/hpux11.opt (mt): Likewise.
352 * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise.
353 * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise.
354 * config/vax/elf.opt (mno-asm-pic): Likewise.
355 * config/vms/vms.opt (map, mvms-return-codes): Likewise.
356
d1d46f9f
MS
3572011-02-21 Mike Stump <mikestump@comcast.net>
358
359 PR target/47822
360 * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a
361 tree so we can get save the type.
362 * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot
363 for CFString instead of trying to use past the end of the builtins.
364 * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise.
365 * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise.
366 * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise.
367 * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING):
368 Rename to darwin_builtin_cfstring.
369 (darwin_init_cfstring_builtins): Return the built type.
370
23e0d930
UB
3712011-02-21 Uros Bizjak <ubizjak@gmail.com>
372
373 PR target/47840
374 * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32.
375 (_mm256_insert_epi64): Use _mm_insert_epi64.
376
192997cf
AS
3772011-02-21 Anatoly Sokolov <aesok@post.ru>
378
379 * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
380 * config/stormy16/stormy16-protos.h
381 (xstormy16_mode_dependent_address_p): Remove.
382 * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p):
383 Make static. Change return type to bool. Change argument type to
384 const_rtx. Remove dead code.
385 (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
386
e292d003
RG
3872011-02-21 Richard Guenther <rguenther@suse.de>
388
389 PR lto/47820
390 * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers):
391 Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs.
392 (lto_input_ts_block_tree_pointers): Hook a BLOCK into the
393 TUs context.
23e0d930 394 * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers):
e292d003
RG
395 Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs.
396
77f846e9
RG
3972011-02-20 Richard Guenther <rguenther@suse.de>
398
399 PR lto/47822
400 * tree.c (free_lang_data_in_decl): Clean builtins from
401 the TU decl BLOCK_VARS.
23e0d930 402
b2cddfc8
AO
4032011-02-19 Alexandre Oliva <aoliva@redhat.com>
404
405 PR debug/47620
406 PR debug/47630
407 * haifa-sched.c (fix_tick_ready): Skip tick computation
408 for debug insns.
409
becf4c11
RG
4102011-02-19 Richard Guenther <rguenther@suse.de>
411
412 PR lto/47647
413 * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers):
414 Remove lazy BLOCK_VARS streaming.
415 (lto_input_ts_block_tree_pointers): Likewise.
416 * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise.
417
27f98305
JM
4182011-02-19 Joseph Myers <joseph@codesourcery.com>
419
420 * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h.
421
064bf3f4
JM
4222011-02-19 Joseph Myers <joseph@codesourcery.com>
423
424 * config/i386/biarch32.h, config/i386/mach.h,
425 config/rs6000/aix.opt, config/sh/superh64.h: Remove.
426
9215ddc3
JJ
4272011-02-19 Jakub Jelinek <jakub@redhat.com>
428
429 PR target/47800
430 * config/i386/i386.md (peephole2 for shift and plus): Use
431 operands[1] original mode in the first insn.
432
8b021004
MS
4332011-02-18 Mike Stump <mikestump@comcast.net>
434
65ded153 435 * config/t-darwin (TM_H): Add dependency on darwin-sections.def.
8b021004 436
f84ae14c
JH
4372011-02-18 Jan Hubicka <jh@suse.cz>
438
439 PR middle-end/47788
65ded153
EB
440 * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits
441 to zero when the function is not inlinable at all.
f84ae14c 442
eddabc80
JDA
4432011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
444
445 * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
446 * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
447 pthread_mutex_unlock, pthread_once): Reinstate pthread stubs.
448 * config/pa/t-pa-hpux11: Add rules to build pthread stubs.
449 * config/pa/t-pa64: Likewise.
450 * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
451
ca3da783
JJ
4522011-02-18 Jakub Jelinek <jakub@redhat.com>
453
454 PR driver/47787
455 * gcc.c (default_compilers): Clear combinable field for "@cpp-output".
456
430aa868
JDA
4572011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
458
459 PR target/47792
460 * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name.
461
4bf7ff7e
AS
4622011-02-18 Anatoly Sokolov <aesok@post.ru>
463
464 * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
465 RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P,
466 LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P,
467 GO_IF_LEGITIMATE_ADDRESS): Remove macros.
468 * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define.
469 (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p,
470 m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p,
471 m32r_load_postinc_p, m32r_store_preinc_predec_p,
472 m32r_legitimate_address_p): New functions.
473 * config/m32r/constraints.md (constraint "S"): Don't use
474 STORE_PREINC_PREDEC_P.
475 (constraint "U"): Don't use LOAD_POSTINC_P.
476
7efcf910
CLT
4772011-02-18 Chung-Lin Tang <cltang@codesourcery.com>
478
479 PR rtl-optimization/46178
480 * ira.c (setup_hard_regno_class): Use ira_class_translate[] to
481 compute ira_hard_regno_cover_class[].
482
237d6259
RG
4832011-02-18 Richard Guenther <rguenther@suse.de>
484
485 PR lto/47798
486 * lto-streamer.h (lto_global_var_decls): Declare.
487 * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register
488 statics for global var processing.
489
12d80acc
RG
4902011-02-18 Richard Guenther <rguenther@suse.de>
491
492 PR tree-optimization/47737
493 * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix
494 edge dominance check.
495
abfea58d
JJ
4962011-02-18 Jakub Jelinek <jakub@redhat.com>
497
498 PR debug/47780
499 * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to
500 avoid invalid rtx sharing.
501
f73c8882
GP
5022011-02-18 Gerald Pfeifer <gerald@pfeifer.com>
503
504 * doc/cpp.texi (Obsolete Features): Add background on the
505 origin of assertions.
506
d764a8e6
IS
5072011-02-17 Iain Sandoe <iains@gcc.gnu.org>
508
509 * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for
23e0d930 510 objc_abi == 2.
d764a8e6
IS
511 * config/darwin.c (output_objc_section_asm_op): Added support for
512 ABI v1 and v2.
513 (is_objc_metadata): New.
514 (darwin_objc2_section): New.
515 (darwin_objc1_section): New.
516 (machopic_select_section): Added support for ABI v1 and v2.
517 (darwin_emit_objc_zeroed): New.
518 (darwin_output_aligned_bss): Detect objc metadata and treat it
519 appropriately.
520 (darwin_asm_output_aligned_decl_common): Same.
521 (darwin_asm_output_aligned_decl_local): Same.
522 * config/darwin-sections.def: Updated for ABI v1 and v2.
523 * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When
524 compiling Objective-C code for the NeXT runtime, default to using
525 ABI version 0 for 32-bit, and version 2 for 64-bit.
526
0a8134ca
JM
5272011-02-17 Joseph Myers <joseph@codesourcery.com>
528
529 * common.opt (optimize_fast): New Variable.
530 * opts.c (default_options_optimization): Use opts->x_optimize_fast
531 instead of local variable ofast.
532
0a256240
NP
5332011-02-17 Nicola Pero <nicola.pero@meta-innovation.com>
534
535 * doc/invoke.texi (fobjc-abi-version): Documented.
536 (fobjc-nilcheck): Documented.
537 (fno-nil-receiver): Updated documentation to refer to the NeXT ABI
538 version.
539
fa381cb2
JM
5402011-02-17 Joseph Myers <joseph@codesourcery.com>
541
542 PR driver/47390
543 * common.opt (export-dynamic): New Driver option.
544 * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}.
545
5437eaa6
JM
5462011-02-17 Joseph Myers <joseph@codesourcery.com>
547
548 * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*.
549
bb7e6d55
AO
5502011-02-17 Alexandre Oliva <aoliva@redhat.com>
551 Jan Hubicka <jh@suse.cz>
552
553 PR debug/47106
554 PR debug/47402
555 * cfgexpand.c (account_used_vars_for_block): Remove.
556 (estimated_stack_frame_size): Use referenced vars.
557 * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced
558 that were referenced in the original function. Test src_fn
559 rather than cfun. Drop redundant get_var_ann.
560 (setup_one_parameter): Drop redundant get_var_ann.
561 (declare_return_variable): Likewise.
562 (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn.
563 (copy_arguments_for_versioning): Drop redundant get_var_ann.
564 * ipa-inline.c (compute_inline_parameters): Do not compute
565 disregard_inline_limits here.
bb7e6d55
AO
566 (compute_inlinable_for_current, pass_inlinable): New.
567 (pass_inline_parameters): Require PROP_referenced_vars.
568 * cgraphunit.c (cgraph_process_new_functions): Don't run
23e0d930 569 compute_inline_parameters explicitly unless function is in SSA form.
bb7e6d55
AO
570 (cgraph_analyze_function): Set .disregard_inline_limits.
571 * tree-sra.c (convert_callers): Compute inliner parameters
572 only for functions already in SSA form.
573
f181a8a7
JM
5742011-02-17 Joseph Myers <joseph@codesourcery.com>
575
576 * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle
577 -mlittle-endian-data.
578
c6869789
JM
5792011-02-17 Joseph Myers <joseph@codesourcery.com>
580
581 * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and
582 -mno-fpu, not -fpu and -no-fpu.
583 * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise.
584 * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise.
585
fbf4bfd3
UB
5862011-02-17 Uros Bizjak <ubizjak@gmail.com>
587
588 PR target/43653
589 * config/i386/i386.c (ix86_secondary_reload): Handle SSE
590 input reload with PLUS RTX.
591
70be5dc7
JM
5922011-02-16 Joseph Myers <joseph@codesourcery.com>
593
594 * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead
595 of InverseVar(MDMX).
596
30b1646e
JM
5972011-02-16 Joseph Myers <joseph@codesourcery.com>
598
599 * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of
600 --m4-340.
601
ab7b71e9
JM
6022011-02-16 Joseph Myers <joseph@codesourcery.com>
603
604 * config/mn10300/mn10300.opt (mno-crt0): New.
605
466f3f08
JM
6062011-02-16 Joseph Myers <joseph@codesourcery.com>
607
608 * config/m68k/uclinux.opt (static-libc): New Driver option.
609
8226cd7b
JM
6102011-02-16 Joseph Myers <joseph@codesourcery.com>
611
612 * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*.
613
45cab1d7
JM
6142011-02-16 Joseph Myers <joseph@codesourcery.com>
615
616 * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of
617 %{muser-extend-enabled}.
618
65aab64f
RG
6192011-02-16 Richard Guenther <rguenther@suse.de>
620
621 PR tree-optimization/47738
622 * tree-ssa-loop.c (run_tree_predictive_commoning): Return
623 the TODO from tree_predictive_commoning.
624
fc2fa4fb
JL
6252011-02-15 Jeff Law <law@redhat.com>
626
627 Revert
628 2011-01-25 Jeff Law <law@redhat.com>
629
630 PR rtl-optimization/37273
631 * ira-costs.c (scan_one_insn): Detect constants living in memory and
632 handle them like argument loads from stack slots. Do not double
633 count memory for memory constants and argument loads from stack slots.
634
4e380b8e
L
6352011-02-15 H.J. Lu <hongjiu.lu@intel.com>
636
637 PR middle-end/47725
638 * combine.c (cant_combine_insn_p): Revert the last change.
639
e3a69bb4
MM
6402011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
641
642 PR target/47755
643 * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI
644 mode for vector constants. Remove code that checks for TImode.
645
de650422
AO
6462011-02-15 Alexandre Oliva <aoliva@redhat.com>
647
648 PR debug/47106
649 PR debug/47402
650 * cgraph.h (compute_inline_parameters): Return void.
651 * ipa-inline.c (compute_inline_parameters): Adjust.
652
30925d94
AO
6532011-02-15 Alexandre Oliva <aoliva@redhat.com>
654
655 PR debug/47106
656 PR debug/47402
657 * tree-inline.h (estimated_stack_frame_size): Take cgraph node
658 rather than decl.
659 * cfgexpand.c (estimated_stack_frame_size): Likewise.
660 * ipa-inline.c (compute_inline_parameters): Adjust.
661
1b9a784a
AO
6622011-02-15 Alexandre Oliva <aoliva@redhat.com>
663
664 PR debug/47106
665 PR debug/47402
666 * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument.
667 Adjust all users. Pass FN to...
668 * tree-flow-inline.h (first_referenced_var): ... this. Add
669 fn argument.
670 * ipa-struct-reorg.c: Adjust.
671 * tree-dfa.c: Adjust.
672 * tree-into-ssa.c: Adjust.
673 * tree-sra.c: Adjust.
674 * tree-ssa-alias.c: Adjust.
675 * tree-ssa-live.c: Adjust.
676 * tree-ssa.c: Adjust.
677 * tree-ssanames.c: Adjust.
678 * tree-tailcall.c: Adjust.
679
27c6b086
AO
6802011-02-15 Alexandre Oliva <aoliva@redhat.com>
681
682 PR debug/47106
683 PR debug/47402
684 * tree-flow.h (referenced_var_lookup): Add fn parameter.
685 Adjust all callers.
686 * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun.
687 * tree-flow-inline.h: Adjust.
688 * gimple-pretty-print.c: Adjust.
689 * tree-into-ssa.c: Adjust.
690 * tree-ssa.c: Adjust.
691 * cfgexpand.c: Adjust.
692
679e8183
NF
6932011-02-15 Nathan Froyd <froydnj@codesourcery.com>
694
fbf4bfd3
UB
695 * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete.
696 (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
697 (EXTRA_CONSTRAINT): Delete.
698 * config/iq2000/constraints.md: New file.
699 * config/iq2000/iq2000.md: Include it.
679e8183
NF
700 (define_insn ""): Delete.
701 (movsi_internal2, movhi_internal2, movqi_internal2): Delete
702 unsupported constraint letters from patterns.
703 (call_value, call_value_internal1): Likewise.
704 (call_value_multiple_internal1): Likewise.
705
a45d420a
NC
7062011-02-15 Nick Clifton <nickc@redhat.com>
707
708 * config/mn10300/mn10300.c: Include tm-constrs.h.
709 (struct liw_data): New data structure describing an LIW candidate
710 instruction.
711 (extract_bundle): Use struct liw_data. Allow small integer
712 operands for some instructions.
713 (check_liw_constraints): Use struct liw_data. Remove swapped
714 parameter. Add comments describing the checks. Fix bug when
715 assigning the source of liw1 to the source of liw2.
716 (liw_candidate): Delete. Code moved into extract_bundle.
717 (mn10300_bundle_liw): Use struct liw_data. Check constraints
718 before swapping.
719 * config/mn10300/predicates.md (liw_operand): New predicate.
720 Allows registers and small integer constants.
721 * config/mn10300/constraints.md (O): New constraint. Accetps
722 integers in the range -8 to +7 inclusive.
723 * config/mn10300/mn10300.md (movesi_internal): Add an alternative
724 for moving a small integer into a register. Give this alternative
725 LIW attributes.
726 (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise.
727 (ashlsi3): Likewise, plus give LIW attributes to the alternatives
728 using the J,K,L and M constraints,
729 (liw): Remove SI mode on second operands to allow for HI and QI
730 mode values.
731 (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the
732 instruction.
733
8a73faf1
L
7342011-02-15 H.J. Lu <hongjiu.lu@intel.com>
735
736 PR middle-end/47725
737 * combine.c (cant_combine_insn_p): Check zero/sign extended
738 hard registers.
739
48feba28
RG
7402011-02-15 Richard Guenther <rguenther@suse.de>
741
742 PR tree-optimization/47743
743 * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number
744 for a non-type-compatible VN lookup bail out.
745
ad1c1eeb
NF
7462011-02-15 Nathan Froyd <froydnj@codesourcery.com>
747
748 * config/fr30/constraints.md: New file.
749 * config/fr30/fr30.md: Include it.
750 * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete.
751 (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
752 (EXTRA_CONSTRAINT): Delete.
753
49ac143d
NF
7542011-02-15 Nathan Froyd <froydnj@codesourcery.com>
755
756 * config/frv/constraints.md: New file.
757 * config/frv/predicates.md: Include it.
758 * config/frv/frv.c (reg_class_from_letter): Delete.
759 (frv_option_override): Don't initialize it.
760 * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete.
761 (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete.
762 (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete.
763 (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
764 (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete.
765 (CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
766 (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete.
767 (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete.
768 (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete.
769 (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete.
770 (REG_CLASS_FROM_CONSTRAINT): Delete.
771
c95f9494
JJ
7722011-02-15 Jakub Jelinek <jakub@redhat.com>
773
774 PR middle-end/47581
775 * config/i386/i386.c (ix86_compute_frame_size): Don't align offset
776 if frame size is 0 in a leaf function.
777
13aed611
RO
7782011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
779
780 PR pch/14940
781 * config/alpha/host-osf.c: New file.
782 * config/alpha/x-osf: New file.
783 * config.host (alpha*-dec-osf*): Use it.
784
b09c3081
AS
7852011-02-14 Anatoly Sokolov <aesok@post.ru>
786
787 * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
788 * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove.
789 * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to...
790 (rx_mode_dependent_address_p): ...this. Make static. Change argument
791 type to const_rtx.
792 (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
793
d634083b
NF
7942011-02-14 Nathan Froyd <froydnj@codesourcery.com>
795
796 * config/stormy16/constraints.md: New file.
797 * config/stormy16/predicates.md (nonimmediate_nonstack_operand):
798 Use satisfies_constraint_Q and satisfies_constraint_R.
799 * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p):
800 Delete.
801 (xstormy16_legitiamte_address_p): Declare.
802 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete.
803 (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
804 (EXTRA_CONSTRAINT): Delete.
fbf4bfd3 805 * config/stormy16/stormy16.c (xstormy16_legitimate_address_p):
d634083b
NF
806 Un-staticize.
807 (xstormy16_extra_constraint_p): Delete.
808
c7dd803e
EB
8092011-02-14 Eric Botcazou <ebotcazou@adacore.com>
810
811 PR tree-optimization/46494
812 * loop-unroll.c (split_edge_and_insert): Adjust comment.
813 * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info.
814 (pass_rtl_loop_done): Add TODO_verify_flow.
815 * fwprop.c (pass_rtl_fwprop): Likewise.
816 * modulo-sched.c (pass_sms): Likewise.
817 * tree-ssa-dom.c (pass_dominator): Likewise.
818 * tree-ssa-loop-ch.c (pass_ch): Likewise.
819 * tree-ssa-loop.c (pass_complete_unrolli): Likewise.
820 (pass_tree_loop_done): Likewise.
821 * tree-ssa-pre.c (execute_pre): Likewise.
822 * tree-ssa-reassoc.c (pass_reassoc): Likewise.
823 * tree-ssa-sink.c (pass_sink_code): Likewise.
824 * tree-vrp.c (pass_vrp): Likewise.
825
c6150df6
NF
8262011-02-14 Nathan Froyd <froydnj@codesourcery.com>
827
c7dd803e
EB
828 * config/v850/constraints.md: New file.
829 * config/v850/v850.md: Include it.
830 * config/v850/predicates.md (reg_or_0_operand): Use
831 satisfies_constraint_G.
832 (special_symbolref_operand): Use satisfies_constraint_K.
833 * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p.
834 (GO_IF_LEGITIMATE_ADDRESS): Likewise.
835 (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete.
836 (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
837 (EXTRA_CONSTRAINT): Delete.
838 (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint.
839 (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise.
840 (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise.
c6150df6 841
30dd1ea3
AS
8422011-02-14 Anatoly Sokolov <aesok@post.ru>
843
844 PR target/47696
845 * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device
846 description.
847
944f4bb3
NF
8482011-02-14 Nathan Froyd <froydnj@codesourcery.com>
849
850 * config/mcore/constraints.md: New file.
851 * config/mcore/mcore.md: Include it.
852 * config/mcore/mcore.c (reg_class_from_letter): Delete.
853 * config/mcore/mcore.h (reg_class_from_letter): Delete.
854 (REG_CLASS_FROM_LETTER): Delete.
855 (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use
856 insn_const_int_ok_for_constraint.
857 (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise.
858 (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise.
859 (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
860 (EXTRA_CONSTRAINT): Delete.
861
ad56a54c
RO
8622011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
863
864 PR ada/41929
865 * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h>
866 (IS_SIGHANDLER): Define.
867 (sparc64_is_sighandler): New function, split off from
868 sparc64_fallback_frame_state.
869 (sparc_is_sighandler): New function, split off from
870 sparc_fallback_frame_state.
871 (sparc64_fallback_frame_state): Merge with ...
872 (sparc_fallback_frame_state): ... this into ...
873 (MD_FALLBACK_FRAME_STATE_FOR): ... this.
fbf4bfd3
UB
874 Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save.
875 Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk
876 stack instead of hardcoded offsets.
ad56a54c 877
fbf4bfd3 8782011-02-14 Andriy Gapon <avg@freebsd.org>
67932abf
AG
879
880 PR target/45808
881 * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
882
029c8f3e
RW
8832011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
884
885 * configure: Regenerate.
886
a016dc83
JM
8872011-02-12 Joseph Myers <joseph@codesourcery.com>
888
889 PR driver/45731
890 * gcc.c (asm_options): Correct spec matching --target-help.
891
8957a0ec
MJ
8922011-02-12 Martin Jambor <mjambor@suse.cz>
893
894 * tree-cfg.c (verify_gimple_call): Return true upon invalid argument
895 to gimple call error.
896
6ef828bc
MS
8972011-02-12 Mike Stump <mikestump@comcast.net>
898
899 * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize
900 comments in backslash regions.
901
a4015be5
MS
9022011-02-12 Mike Stump <mikestump@comcast.net>
903 Jakub Jelinek <jakub@redhat.com>
904 Iain Sandoe <iains@gcc.gnu.org>
905
906 PR target/47324
907 * dwarf2out.c (output_cfa_loc): When required, apply the
908 DWARF2_FRAME_REG_OUT macro to adjust register numbers.
909 (output_loc_sequence): Likewise.
910 (output_loc_operands_raw): Likewise.
911 (output_loc_sequence_raw): Likewise.
912 (output_cfa_loc): Likewise.
913 (output_loc_list): Suppress register number adjustment when
914 calling output_loc_sequence()
915 (output_die): Likewise.
916
5378dda2
AS
9172011-02-12 Anatoly Sokolov <aesok@post.ru>
918
919 * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
920 Remove macros.
921 * config/xtensa/xtensa.c (xtensa_register_move_cost,
922 xtensa_memory_move_cost): New functions.
923 (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define.
924
f3d533d3
AO
9252011-02-12 Alexandre Oliva <aoliva@redhat.com>
926
927 PR lto/47225
928 * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la
929 in the current directory.
930 * configure: Rebuilt.
931
9d53403c
IS
9322011-02-12 Iain Sandoe <iains@gcc.gnu.org>
933
934 * config/darwin.c (darwin_override_options): Add a hunk missed
fbf4bfd3 935 from the commit of r168571. Trim comment line lengths and
9d53403c
IS
936 correct indents of the preceding block.
937
a350a6c8
IS
9382011-02-12 Iain Sandoe <iains@gcc.gnu.org>
939
940 * gcc.c (driver_handle_option): Concatenate the argument to -F with
941 the switch.
942
bab79a40
JM
9432011-02-11 Joseph Myers <joseph@codesourcery.com>
944
945 * common.opt (nostartfiles): New Driver option.
946
1bbc6693
XDL
9472011-02-11 Xinliang David Li <davidxl@google.com>
948
949 PR tree-optimization/47707
950 * tree-chrec.c (convert_affine_scev): Keep type precision.
951
1da7d8c0
EB
9522011-02-11 Eric Botcazou <ebotcazou@adacore.com>
953
954 PR tree-optimization/47420
955 * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX.
956
9572011-02-11 Pat Haugen <pthaugen@us.ibm.com>
3f82421f
PH
958
959 PR rtl-optimization/47614
960 * rtl.h (check_for_inc_dec): Declare.
961 * dse.c (check_for_inc_dec): Externalize...
962 * postreload.c (reload_cse_simplify): ...use it before deleting stmt.
963 (reload_cse_simplify_operands): Don't simplify opnds with side effects.
964
4df47bca
JM
9652011-02-11 Joseph Myers <joseph@codesourcery.com>
966
967 PR driver/47678
968 * gcc.c (main): Do not compile inputs if there were errors in
969 option handling.
970 * opts-common.c (read_cmdline_option): Check for wrong language
971 after other error checks.
972
61502ca8
NF
9732011-02-11 Nathan Froyd <froydnj@codesourcery.com>
974
975 * cgraph.c: Fix comment typos.
976 * cgraph.h: Likewise.
977 * cgraphunit.c: Likewise.
978 * ipa-cp.c: Likewise.
979 * ipa-inline.c: Likewise.
980 * ipa-prop.c: Likewise.
981 * ipa-pure-const.c: Likewise.
982 * ipa-ref.c: Likewise.
983 * ipa-reference.c: Likewise.
984
b63f974e
JJ
9852011-02-11 Jakub Jelinek <jakub@redhat.com>
986
d50c5e0c
JJ
987 PR debug/47684
988 * tree-predcom.c (single_nonlooparound_use): Ignore debug uses.
b63f974e 989
6dd2a13c
RO
9902011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
991
992 PR testsuite/47400
993 * doc/sourcebuild.texi (Require Support): Document
994 dg-require-ascii-locale.
995
4a087ccf
MX
9962011-02-11 Mingjie Xing <mingjie.xing@gmail.com>
997
998 * doc/lto.texi (Write summary): Fix missing parentheses.
999
a4403164
DD
10002011-02-10 DJ Delorie <dj@redhat.com>
1001
1002 * config/m32c/m32c.c (m32c_option_override): Disable
1003 -fcombine-stack-adjustments until flag value tracking and compare
1004 optimization can be rewritten.
1005
4fac45bd
PB
10062011-02-10 Peter Bergner <bergner@vnet.ibm.com>
1007
1008 * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to
1009 PROCESSOR_POWER7.
1010 (PROCESSOR_DEFAULT64): Likewise.
1011
72602cd1
RH
10122011-02-10 Richard Henderson <rth@redhat.com>
1013
1014 * config/rx/predicates.md (rx_zs_comparison_operator): Revert
1015 change from 2011-02-03.
1016 * config/rx/rx.c (flags_from_code): Likewise.
1017 (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag
1018 is valid, n/pz otherwise.
1019 (rx_select_cc_mode): Return CCmode if Y is not zero.
1020
ea57f573
RG
10212011-02-10 Richard Guenther <rguenther@suse.de>
1022
ea4c3e65 1023 * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8.
ea57f573 1024
92b1d23b
RG
10252011-02-10 Richard Guenther <rguenther@suse.de>
1026
1027 PR tree-optimization/47677
1028 * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps.
1029
525a2d06
JJ
10302011-02-10 Jakub Jelinek <jakub@redhat.com>
1031
1032 PR target/47665
1033 * combine.c (make_compound_operation): Only change shifts into
1034 multiplication for SCALAR_INT_MODE_P.
1035
06c969bd
JZ
10362011-02-10 Jie Zhang <jie@codesourcery.com>
1037
1038 PR testsuite/47622
1039 Revert
1040 2011-02-05 Jie Zhang <jie@codesourcery.com>
1041 PR debug/42631
1042 * web.c (entry_register): Don't clobber the number of the
1043 first uninitialized reference in used[].
1044
282ec48e
RG
10452011-02-09 Richard Guenther <rguenther@suse.de>
1046
1047 PR tree-optimization/47664
1048 * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit
1049 all edges again.
1050
df98c3e8
DE
10512011-02-09 David Edelsohn <dje.gcc@gmail.com>
1052
d0f21cd6
DE
1053 PR target/46481
1054 PR target/47032
df98c3e8
DE
1055 * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to
1056 PROCESSOR_POWER7.
1057 (PROCESSOR_DEFAULT64): Same.
1058 (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete.
1059
67b6839f
RO
10602011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1061
1062 * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define.
1063
4fd73214
MJ
10642011-02-09 Martin Jambor <mjambor@suse.cz>
1065
1066 PR middle-end/45505
1067 * tree-sra.c (struct access): New flags grp_scalar_read and
1068 grp_scalar_write. Changed description of assignment read and write
1069 flags.
1070 (dump_access): Dump new flags, reorder all of them.
1071 (sort_and_splice_var_accesses): Set the new flag accordingly, use them
1072 to detect multiple scalar reads.
1073 (analyze_access_subtree): Use the new scalar read write flags instead
1074 of the old flags. Adjusted comments.
1075
91140cd3
DD
10762011-02-08 DJ Delorie <dj@redhat.com>
1077
1078 PR target/47548
1079 * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim
1080 patterns.
1081
4254bbfe
JM
10822011-02-08 Joseph Myers <joseph@codesourcery.com>
1083
1084 * config/m68k/uclinux.opt: New.
1085 * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt.
1086
f1fda84e
JM
10872011-02-08 Joseph Myers <joseph@codesourcery.com>
1088
1089 * config/cris/elf.opt (sim): New Driver option.
1090
4933ae74
JM
10912011-02-08 Joseph Myers <joseph@codesourcery.com>
1092
1093 * config/xtensa/elf.opt: New.
1094 * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt.
1095
4ad70280
JM
10962011-02-08 Joseph Myers <joseph@codesourcery.com>
1097
1098 * config/vax/elf.opt: New.
1099 * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt.
1100
20893707
JM
11012011-02-08 Joseph Myers <joseph@codesourcery.com>
1102
1103 * config/rs6000/aix64.opt (posix, pthread): New Driver options.
1104
b8e7038e
JM
11052011-02-08 Joseph Myers <joseph@codesourcery.com>
1106
1107 * config/gnu-user.opt: New.
1108 * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu |
1109 *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu,
1110 *-*-uclinux*): Use gnu-user.opt.
1111
e1c5225a
TS
11122011-02-08 Thomas Schwinge <thomas@schwinge.name>
1113
1114 * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option.
1115 * config/i386/gnu.h (CPP_SPEC): Likewise.
1116
5e46b0c6
ILT
11172011-02-08 Ian Lance Taylor <iant@google.com>
1118
1119 * common.opt (fcx-limited-range): Add SetByCombined flag.
1120 (ffinite-math-only, fmath-errno, frounding-math): Likewise.
1121 (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise.
1122 (fassociative-math, freciprocal-math): Likewise.
1123 (funsafe-math-optimizations): Likewise.
1124 * opth-gen.awk: Handle SetByCombined.
1125 * optc-gen.awk: Likewise.
ea4c3e65 1126 * opts.c (set_fast_math_flags): Don't override flag if set by frontend.
5e46b0c6
ILT
1127 (set_unsafe_math_optimizations_flags): Likewise.
1128 * doc/options.texi (Option properties): Document SetByCombined.
1129
32243d46
JM
11302011-02-08 Joseph Myers <joseph@codesourcery.com>
1131
1132 * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*,
1133 i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe,
1134 m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*,
1135 m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*,
1136 sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete.
1137
479c1fb3
SP
11382011-02-08 Sebastian Pop <sebastian.pop@amd.com>
1139
1140 PR tree-optimization/46834
1141 PR tree-optimization/46994
1142 PR tree-optimization/46995
1143 * graphite-sese-to-poly.c (used_outside_reduction): New.
1144 (detect_commutative_reduction): Call used_outside_reduction.
1145 (rewrite_commutative_reductions_out_of_ssa_close_phi): Call
1146 translate_scalar_reduction_to_array only when at least one
1147 loop-phi/close-phi tuple has been detected.
1148
3865a06f
RG
11492011-02-08 Richard Guenther <rguenther@suse.de>
1150
1151 PR middle-end/47639
1152 * tree-vect-generic.c (expand_vector_operations_1): Update
1153 stmts here ...
1154 (expand_vector_operations): ... not here. Cleanup EH info
1155 and the CFG if required.
1156
62902f3f
RG
11572011-02-08 Richard Guenther <rguenther@suse.de>
1158
1159 PR tree-optimization/47641
1160 * tree-ssa.c (execute_update_addresses_taken): For asm outputs
1161 require type compatibility.
1162
0efb9d64
AK
11632011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1164
1165 * gimple-low.c (lower_function_body): Don't remove the location of
1166 the return statement here.
1167 (lower_gimple_return): Do it here instead but only if the return
1168 statement is actually used twice.
1169
034b8ae4
RG
11702011-02-08 Richard Guenther <rguenther@suse.de>
1171
1172 PR tree-optimization/47632
1173 * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove
1174 unused up_to_stmt parameter, return whether cfg-cleanup is
1175 necessary, remove EH info properly.
1176 (forward_propagate_into_gimple_cond): Adjust caller.
1177 (forward_propagate_into_cond): Likewise.
1178 (forward_propagate_comparison): Likewise.
1179 (tree_ssa_forward_propagate_single_use_vars): Make
1180 forward_propagate_comparison case similar to the two others.
1181
298362c8
NC
11822011-02-08 Nick Clifton <nickc@redhat.com>
1183
1184 * config/mn10300/mn10300.opt (mliw): New command line option.
1185 * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec.
1186 (liw_bundling): New automaton.
1187 (liw): New attribute.
1188 (liw_op): New attribute.
1189 (liw_op1, liw_op2, liw_both, liw_either): New reservations.
1190 (movsi_internal): Add LIW attributes.
1191 (andsi3): Likewise.
1192 (iorsi3): Likewise.
1193 (xorsi3): Likewise.
1194 (addsi3): Separate register and immediate alternatives.
1195 Add LIW attributes.
1196 (subsi3): Likewise.
1197 (cmpsi): Likewise.
1198 (aslsi3): Likewise.
1199 (lshrsi3): Likewise.
1200 (ashrsi3): Likewise.
1201 (liw): New pattern.
1202 * config/mn10300/mn10300.c (liw_op_names): New
1203 (mn10300_print_operand): Handle 'W' operand descriptor.
1204 (extract_bundle): New function.
1205 (check_liw_constraints): New function.
1206 (liw_candidate): New function.
1207 (mn10300_bundle_liw): New function.
1208 (mn10300_reorg): New function.
1209 (TARGET_MACHINE_DEPENDENT_REORG): Define.
1210 (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW.
1211 * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define
1212 __LIW__ or __NO_LIW__.
1213 * doc/invoke.texi: Describe the -mliw command line option.
1214
90488014
JDA
12152011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1216
1217 * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts.
1218 * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
1219 pthread_mutex_unlock): Remove.
1220 * config/pa/t-pa-hpux11: Remove rules to build pthread stubs.
1221 * config/pa/t-pa64: Likewise.
1222 * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against
1223 shared libc if not linking against libpthread.
1224 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
1225
689ff841
IS
12262011-02-07 Iain Sandoe <iains@gcc.gnu.org>
1227
1228 PR target/47558
1229 * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first
1230 on 10.6 and later to ensure that we always use the unwinder from
1231 the system. Only add -no_compact_unwind when tarteting darwin
1232 10.6 or later.
1233
821014aa
SE
12342011-02-07 Steve Ellcey <sje@cup.hp.com>
1235
1236 PR target/46997
1237 * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN.
1238 (vec_interleave_lowv2sf): Ditto.
1239 (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check.
1240 (vec_extract_oddv2sf): Ditto.
1241
41cf94fb
MS
12422011-02-07 Mike Stump <mikestump@comcast.net>
1243
62dea57d 1244 PR target/42333
41cf94fb
MS
1245 Add __ieee_divdc3 entry point.
1246 * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3
1247 entry point.
1248 (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins.
1249 * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise.
1250 * config/darwin.c (darwin_rename_builtins): Add.
1251 * config/darwin-protos.h (darwin_rename_builtins): Add.
1252
ee09a3dd
MM
12532011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com>
1254
1255 PR target/47636
1256 * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro
1257 for the condition.
1258
83296cd0
MS
12592011-02-07 Mike Stump <mikestump@comcast.net>
1260
ea4c3e65 1261 * config/darwin.opt (mmacosx-version-min): Update default OS version.
83296cd0 1262
0f4e946f
DC
12632011-02-07 Denis Chertykov <chertykov@gmail.com>
1264
1265 PR target/47534
1266 * config/avr/libgcc.S (exit): Move .endfunc
1267
1ec87690
RG
12682011-02-07 Richard Guenther <rguenther@suse.de>
1269
1270 PR tree-optimization/47615
1271 * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument.
1272 * tree-ssa-sccvn.c (default_vn_walk_kind): New global.
1273 (run_scc_vn): Initialize it.
1274 (visit_reference_op_load): Use it.
1275 * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE.
1276
b46ae6da
UW
12772011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1278
1279 * config/spu/spu.c (spu_init_libfuncs): Install SImode and
1280 DImode trapping arithmetic libfuncs.
1281
c0aae19c
RG
12822011-02-07 Richard Guenther <rguenther@suse.de>
1283
1284 PR tree-optimization/47621
1285 * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from
1286 two duplicates ...
1287 (execute_update_addresses_taken): ... here. Make it more
1288 conservative in what we accept.
1289
295d926b
JM
12902011-02-06 Joseph Myers <joseph@codesourcery.com>
1291
1292 * config/sparc/freebsd.h (ASM_SPEC): Define.
1293 * config/sparc/vxworks.h (ASM_SPEC): Define.
1294
bdeb2471
JM
12952011-02-06 Joseph Myers <joseph@codesourcery.com>
1296
1297 * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}.
1298
d5d3781a
SB
12992011-02-06 Steven Bosscher <steven@gcc.gnu.org>
1300
1301 * doc/invoke.texi: Remove reference to compiler internals from
1302 user documentation.
1303
1304 * reg-notes.def: Remove REG_VALUE_PROFILE.
1305 * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE.
1306
c42c09fc
JJ
13072011-02-05 Jakub Jelinek <jakub@redhat.com>
1308
1309 PR middle-end/47610
1310 * varasm.c (default_section_type_flags): If decl is NULL,
38be4072 1311 and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit.
c42c09fc 1312
beea2755
JZ
13132011-02-05 Jie Zhang <jie@codesourcery.com>
1314
1315 PR debug/42631
1316 * web.c (entry_register): Don't clobber the number of the
1317 first uninitialized reference in used[].
1318
a130584a
SP
13192011-02-04 Sebastian Pop <sebastian.pop@amd.com>
1320
1321 PR tree-optimization/46194
1322 * tree-data-ref.c (analyze_miv_subscript): Remove comment.
1323 (build_classic_dist_vector_1): Do not represent classic distance
1324 vectors when the access functions are variating in different loops.
1325
962101ac
JM
13262011-02-04 Joseph Myers <joseph@codesourcery.com>
1327
1328 * config/mips/iris6.opt: New.
1329 * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt.
1330
55eaaa5b
RH
13312011-02-04 Richard Henderson <rth@redhat.com>
1332 Steve Ellcey <sje@cup.hp.com>
1333
1334 PR target/46997
1335 * config/ia64/predicates.md (mux1_brcst_element): New.
1336 * config/ia64/ia64-protos.h (ia64_unpack_assemble): New.
1337 * config/ia64/ia64.c (ia64_unpack_assemble): New.
1338 (ia64_unpack_sign): New.
1339 (ia64_expand_unpack): Rewrite using new routines.
1340 (ia64_expand_widen_sum): Ditto.
1341 (ia64_expand_dot_prod_v8qi): Ditto.
1342 * config/ia64/vect.md (mulv8qi3): Rewrite to use new
1343 routines, add endian check.
1344 (pmpy2_even): Rename from pmpy2_r, add endian check.
1345 (pmpy2_odd): Rename from pmpy2_l, add endian check.
1346 (vec_widen_smult_lo_v4hi): Rewrite using new routines.
1347 (vec_widen_smult_hi_v4hi): Ditto.
1348 (vec_widen_umult_lo_v4hi): Ditto.
1349 (vec_widen_umult_hi_v4hi): Ditto.
1350 (mulv2si3): Change endian checks.
1351 (sdot_prodv4hi): Rewrite with new calls.
1352 (udot_prodv4hi): New.
1353 (vec_pack_ssat_v4hi): Add endian check.
1354 (vec_pack_usat_v4hi): Ditto.
1355 (vec_pack_ssat_v2si): Ditto.
1356 (max1_even): Rename from max1_r, add endian check.
1357 (max1_odd): Rename from max1_l, add endian check.
1358 (*mux1_rev): Format change.
1359 (*mux1_mix): Ditto.
1360 (*mux1_shuf): Ditto.
1361 (*mux1_alt): Ditto.
1362 (*mux1_brcst_v8qi): Use new predicate.
1363 (vec_extract_evenv8qi): Remove endian check.
1364 (vec_extract_oddv8qi): Ditto.
1365 (vec_interleave_lowv4hi): Format change.
1366 (vec_interleave_highv4hi): Ditto.
1367 (mix2_even): Rename from mix2_r, add endian check.
1368 (mix2_odd): Rename from mux2_l, add endian check.
1369 (*mux2): Fix mask setting for TARGET_BIG_ENDIAN.
1370 (vec_extract_evenodd_helper): Format change.
1371 (vec_extract_evenv4hi): Remove endian check.
1372 (vec_extract_oddv4hi): Remove endian check.
1373 (vec_interleave_lowv2si): Format change.
1374 (vec_interleave_highv2si): Format change.
1375 (vec_initv2si): Remove endian check.
1376 (vecinit_v2si): Add endian check.
1377 (reduc_splus_v2sf): Add endian check.
1378 (reduc_smax_v2sf): Ditto.
1379 (reduc_smin_v2sf): Ditto.
1380 (vec_initv2sf): Remove endian check.
1381 (fpack): Add endian check.
1382 (fswap): Add endian check.
1383 (vec_interleave_highv2sf): Add endian check.
1384 (vec_interleave_lowv2sf): Add endian check.
1385 (fmix_lr): Add endian check.
1386 (vec_setv2sf): Format change.
1387 (*vec_extractv2sf_0_be): Use shift to extract operand.
1388 (*vec_extractv2sf_1_be): New.
1389 (vec_pack_trunc_v4hi): Add endian check.
1390 (vec_pack_trunc_v2si): Format change.
1391
dcde5957
JJ
13922011-02-04 Jakub Jelinek <jakub@redhat.com>
1393
1394 PR inline-asm/23200
1395 * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't
38be4072 1396 do bb, locus and block comparison and disallow loads if it is not set.
dcde5957
JJ
1397 (stmt_is_replaceable_p): New function.
1398 (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p
1399 callers.
1400 * expr.c (expand_expr_real_1) <case SSA_NAME>: If
1401 get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use
1402 SSA_NAME_DEF_STMT.
1403 * tree-flow.h (stmt_is_replaceable_p): New prototype.
1404
a64a8e5a
JM
14052011-02-04 Joseph Myers <joseph@codesourcery.com>
1406
1407 * config/rs6000/xilinx.opt: New.
1408 * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt.
1409
4da2ed2f
JM
14102011-02-04 Joseph Myers <joseph@codesourcery.com>
1411
1412 * config/mips/mips.opt (EB, EL, noasmopt): New Driver options.
1413
a6e508f9
AS
14142011-02-03 Anatoly Sokolov <aesok@post.ru>
1415
1416 * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS,
1417 PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
1418 * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class,
1419 secondary_reload_info, xtensa_secondary_reload): Remove.
1420 * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS,
1421 TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define.
1422 (xtensa_preferred_reload_class): Make static. Change return and
1423 'rclass' argument type to reg_class_t. Remove 'isoutput' argument.
1424 Use CONST_DOUBLE_P predicate.
1425 (xtensa_preferred_output_reload_class): New function.
1426 (xtensa_secondary_reload): Make static.
1427
82dc0de3
JM
14282011-02-03 Joseph Myers <joseph@codesourcery.com>
1429
1430 * config/microblaze/microblaze.opt (Zxl-mode-bootstrap,
1431 Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel,
1432 Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options.
1433
7fece979
JJ
14342011-02-03 Jakub Jelinek <jakub@redhat.com>
1435
1436 PR middle-end/31490
1437 * output.h (SECTION_RELRO): Define.
1438 (SECTION_MACH_DEP): Adjust.
1439 (get_variable_section): New prototype.
1440 * varpool.c (varpool_finalize_named_section_flags): New function.
1441 (varpool_assemble_pending_decls): Call it.
1442 * cgraph.h (varpool_finalize_named_section_flags): New prototype.
1443 * cgraphunit.c (cgraph_output_in_order): Call
1444 varpool_finalize_named_section_flags.
1445 * varasm.c (get_section): Allow section flags conflicts between
1446 relro and read-only sections if the section hasn't been declared yet.
1447 Set SECTION_OVERRIDE after diagnosing section type conflict.
1448 (get_variable_section): No longer static.
1449 (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for
1450 readonly sections that need relocations.
1451 (decl_readonly_section_1): New function.
1452 (decl_readonly_section): Use it.
1453
1454 Revert:
509d65dd 1455 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com>
7fece979
JJ
1456 Steve Ellcey <sje@cup.hp.com>
1457
1458 PR middle-end/31490
1459 * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask
1460 if section attribute used.
1461
d18d5478
JJ
14622011-02-03 Jakub Jelinek <jakub@redhat.com>
1463
1464 * config/darwin.h (SECTION_NO_ANCHOR): Remove.
1465 * config/darwin.c (SECTION_NO_ANCHOR): Define.
1466 (darwin_init_sections): Remove assertion.
1467
6479ed4b
NC
14682011-02-03 Nick Clifton <nickc@redhat.com>
1469
1470 * config/rx/predicates.md (rx_zs_comparison_operator): Remove
1471 lt and ge.
38be4072 1472 * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode.
6479ed4b
NC
1473 * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes
1474 instead of "n" and "pz".
1475 (flags_from_code): LT and GE tests need CC_FLAG_O as well as
1476 CC_FLAG_S.
1477
89843f5d
JJ
14782011-02-03 Jakub Jelinek <jakub@redhat.com>
1479
65450d64
JJ
1480 PR target/47312
1481 * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand
1482 fma, expand FMA_EXPR as fma{,f,l} call.
1483
7d58701c
JJ
1484 PR lto/47274
1485 * lto-streamer-out.c (write_symbol): When writing kind and visibility,
1486 copy them into a unsigned char variable and pass address of it to
1487 lto_output_data_stream.
1488
89843f5d
JJ
1489 PR target/47564
1490 * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx
1491 around backend_init_target and lang_dependent_init_target calls.
1492 * cgraphunit.c (cgraph_debug_gimple_stmt): New function.
1493 (verify_cgraph_node): Don't call set_cfun here. Use
1494 cgraph_debug_gimple_stmt instead of debug_gimple_stmt.
1495 Set error_found for incorrectly represented calls to thunks.
1496
4deef538
AO
14972011-02-03 Alexandre Oliva <aoliva@redhat.com>
1498
1499 PR debug/43092
1500 PR rtl-optimization/43494
1501 * rtl.h (for_each_inc_dec_fn): New type.
1502 (for_each_inc_dec): Declare.
1503 * rtlanal.c (struct for_each_inc_dec_ops): New type.
1504 (for_each_inc_dec_find_inc_dec): New fn.
1505 (for_each_inc_dec_find_mem): New fn.
1506 (for_each_inc_dec): New fn.
1507 * dse.c (struct insn_size): Remove.
1508 (replace_inc_dec, replace_inc_dec_mem): Remove.
1509 (emit_inc_dec_insn_before): New fn.
1510 (check_for_inc_dec): Use it, along with for_each_inc_dec.
1511 (canon_address): Pass mem modes to cselib_lookup.
1512 * cselib.h (cselib_lookup): Add memmode argument. Adjust callers.
1513 (cselib_lookup_from_insn): Likewise.
1514 (cselib_subst_to_values): Likewise.
1515 * cselib.c (find_slot_memmode): New var.
1516 (cselib_find_slot): New fn. Use it instead of
1517 htab_find_slot_with_hash everywhere.
1518 (entry_and_rtx_equal_p): Use find_slot_memmode.
1519 (autoinc_split): New fn.
1520 (rtx_equal_for_cselib_p): Rename and implement in terms of...
1521 (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on.
1522 Deal with autoinc. Special-case recursion into MEMs.
1523 (cselib_hash_rtx): Likewise.
1524 (cselib_lookup_mem): Infer pmode from address mode. Distinguish
1525 address and MEM modes.
1526 (cselib_subst_to_values): Add memmode, pass it on.
1527 Deal with autoinc.
1528 (cselib_lookup): Add memmode argument, pass it on.
1529 (cselib_lookup_from_insn): Add memmode.
1530 (cselib_invalidate_rtx): Discard obsolete push_operand handling.
1531 (struct cselib_record_autoinc_data): New.
1532 (cselib_record_autoinc_cb): New fn.
1533 (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM
1534 mode to cselib_lookup. Reset autoinced REGs here instead of...
1535 (cselib_process_insn): ... here.
1536 * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode
1537 to cselib_lookup.
1538 (add_uses): Likewise, also to cselib_subst_to_values.
1539 (add_stores): Likewise.
1540 * sched-deps.c (add_insn_mem_dependence): Pass mode to
1541 cselib_subst_to_values.
1542 (sched_analyze_1, sched_analyze_2): Likewise. Adjusted.
1543 * gcse.c (do_local_cprop): Adjusted.
1544 * postreload.c (reload_cse_simplify_set): Adjusted.
1545 (reload_cse_simplify_operands): Adjusted.
1546 * sel-sched-dump (debug_mem_addr_value): Pass mode.
1547
1551d44a
AO
15482011-02-03 Alexandre Oliva <aoliva@redhat.com>
1549
1550 PR tree-optimization/45122
1551 * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make
1552 unsafe assumptions when there's more than one loop exit.
1553
c9485473
MM
15542011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com>
1555
1556 PR target/47272
1557 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
1558 Document using vector double with the load/store builtins, and
1559 that the load/store builtins always use Altivec instructions.
1560
1561 * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns
1562 to use altivec memory instructions, even on VSX.
1563 (vector_altivec_store_<mode>): Ditto.
1564
1565 * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New
1566 function.
1567
1568 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
1569 V2DF, V2DI support to load/store overloaded builtins.
1570
1571 * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add
1572 altivec load/store builtins for V2DF/V2DI types.
1573
1574 * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
1575 set avoid indexed addresses on power6 if -maltivec.
1576 (altivec_expand_ld_builtin): Add V2DF, V2DI support, use
1577 vector_altivec_load/vector_altivec_store builtins.
1578 (altivec_expand_st_builtin): Ditto.
1579 (altivec_expand_builtin): Add VSX memory builtins.
1580 (rs6000_init_builtins): Add V2DI types to internal types.
1581 (altivec_init_builtins): Add support for V2DF/V2DI altivec
1582 load/store builtins.
1583 (rs6000_address_for_altivec): Insure memory address is appropriate
1584 for Altivec.
1585
1586 * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for
1587 vec_vsx_ld and vec_vsx_st.
1588 (vsx_store_<mode>): Ditto.
1589
1590 * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type
1591 variables to hold long long types for VSX vector memory builtins.
1592 (RS6000_BTI_unsigned_long_long): Ditto.
1593 (long_long_integer_type_internal_node): Ditti.
1594 (long_long_unsigned_type_internal_node): Ditti.
1595
1596 * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC.
1597 (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator.
1598 (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator.
1599
1600 * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin
1601 short cuts.
1602 (vec_vsx_st): Ditto.
1603
b24d1acf
JM
16042011-02-02 Joseph Myers <joseph@codesourcery.com>
1605
1606 * config/pa/pa-hpux10.opt: New.
1607 * config/hpux11.opt (pthread): New Driver option.
1608 * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options.
1609 * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt.
1610
aa18dd0f
JM
16112011-02-02 Joseph Myers <joseph@codesourcery.com>
1612
1613 * config/ia64/vms.opt: New.
1614 * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt.
1615
28fc3eee
MM
16162011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com>
1617
1618 PR target/47580
1619 * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use
1620 gpc_reg_operand instead of vsx_register_operand to match rs6000.md
1621 generator functions.
1622 (vsx_floatuns<VSi><mode>2): Ditto.
1623 (vsx_fix_trunc<mode><VSi>2): Ditto.
1624 (vsx_fixuns_trunc<mode><VSi>2): Ditto.
1625
b5838b1f
JM
16262011-02-02 Joseph Myers <joseph@codesourcery.com>
1627
1628 * config/i386/djgpp.opt (posix): New Driver option.
1629
0db8fa89
GP
16302011-02-02 Gerald Pfeifer <gerald@pfeifer.com>
1631
1632 * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*):
1633 Move to the unsupported targets list.
1634
9cd4f22a
PB
16352011-02-02 Peter Bergner <bergner@vnet.ibm.com>
1636
1637 PR rtl-optimization/47525
1638 * df-scan.c: Update copyright years.
1639 (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE
1640 and non-clobber DF_REF_REG_DEF for calls to const and pure functions.
1641
9ed8059c
RO
16422011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1643
1644 * config/i386/sysv4.h (TARGET_VERSION): Remove.
1645 (SUBTARGET_RETURN_IN_MEMORY): Remove.
1646 (ASM_OUTPUT_ASCII): Remove.
1647 * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef.
1648
2a737389
JL
16492011-02-02 Jeff Law <law@redhat.com>
1650
1651 PR middle-end/47543
1652 * reload.c (find_reloads_address): Handle reg+d address where both
1653 components are invalid by reloading the entire address.
1654
9dac82c4
SP
16552011-02-02 Sebastian Pop <sebastian.pop@amd.com>
1656 Richard Guenther <rguenther@suse.de>
1657
1658 PR tree-optimization/40979
1659 PR bootstrap/47044
1660 * passes.c (init_optimization_passes): After LIM call copy_prop
1661 and DCE to clean up.
1662 * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func.
1663
14dd9aab
SP
16642011-02-02 Sebastian Pop <sebastian.pop@amd.com>
1665
1666 PR tree-optimization/47576
1667 PR tree-optimization/47555
1668 * doc/invoke.texi (scev-max-expr-complexity): Documented.
1669 * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
1670 (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared.
1671 * tree-scalar-evolution.c (follow_ssa_edge): Use
1672 PARAM_SCEV_MAX_EXPR_COMPLEXITY.
1673
5cbf5c20
RG
16742011-02-02 Richard Guenther <rguenther@suse.de>
1675
1676 PR tree-optimization/47566
1677 * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs.
1678
83d70792
AO
16792011-02-02 Alexandre Oliva <aoliva@redhat.com>
1680
e829c321
AO
1681 PR debug/47106
1682 PR debug/47402
1683 * tree-inline.c (declare_return_variable): Remove unused caller
1684 variable.
1685
83d70792
AO
1686 PR debug/47106
1687 PR debug/47402
1688 * tree-flow-inline.h (clear_is_used, is_used_p): New.
1689 * cfgexpand.c (account_used_vars_for_block): Use them.
1690 * tree-nrv.c (tree_nrv): Likewise.
1691 * tree-ssa-live.c (remove_unused_scope_block_p): Likewise.
1692 (dump_scope_block): Likewise.
1693 (remove_unused_locals): Likewise.
1694
aaa2ac93
AO
1695 PR debug/47106
1696 PR debug/47402
1697 * tree-inline.c (declare_return_variable): Add result decl to
1698 local decls only once.
1699 * gimple-low.c (record_vars_into): Mark newly-created variables
1700 as referenced.
1701
a59d15cf
AO
17022011-02-02 Alexandre Oliva <aoliva@redhat.com>
1703
1704 PR debug/47498
1705 PR debug/47501
1706 PR debug/45136
1707 PR debug/45130
1708 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
1709 debug insns.
1710 (no_real_insns_p, schedule_block, set_priorities): Drop special
1711 treatment of boundary debug insns.
38be4072 1712 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
a59d15cf
AO
1713 * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns.
1714 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
1715 (BOUNDARY_DEBUG_INSN_P): Likewise.
1716 (SCHEDULE_DEBUG_INSN_P): Likewise.
1717 * sched-rgn.c (init_ready_list): Drop special treatment of
1718 boundary debug insns.
1719 * final.c (rest_of_clean_state): Clear notes' BB.
1720
6fc2f091
JM
17212011-02-01 Joseph Myers <joseph@codesourcery.com>
1722
1723 * config/openbsd.opt (assert=): New Driver option.
1724
fc523387
JM
17252011-02-01 Joseph Myers <joseph@codesourcery.com>
1726
1727 * config/i386/nto.opt: New.
1728 * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt.
1729
6d9821e5
JM
17302011-02-01 Joseph Myers <joseph@codesourcery.com>
1731
1732 * config/i386/netware.opt: New.
1733 * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt.
1734
cef932d4
JM
17352011-02-01 Joseph Myers <joseph@codesourcery.com>
1736
1737 * config/interix.opt (posix): New Driver option.
1738
22843acd
DD
17392011-02-01 DJ Delorie <dj@redhat.com>
1740
56490b74
DD
1741 * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition.
1742
22843acd
DD
1743 * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg
1744 class for A0/A1.
1745
199c8f2f
SP
17462011-02-01 Sebastian Pop <sebastian.pop@amd.com>
1747
1748 PR tree-optimization/47561
1749 * toplev.c (process_options): Print the Graphite flags. Add
1750 flag_loop_flatten to the list of options requiring Graphite.
1751
926bcf22
JM
17522011-02-01 Joseph Myers <joseph@codesourcery.com>
1753
1754 * config/i386/cygming.opt (posix): New Driver option.
1755
59793c51
JM
17562011-02-01 Joseph Myers <joseph@codesourcery.com>
1757
1758 * config/arm/vxworks.opt: New.
1759 * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt.
1760
183c38a4
JM
17612011-02-01 Joseph Myers <joseph@codesourcery.com>
1762
1763 * config/alpha/elf.opt: New.
1764 * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*,
1765 alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt.
1766
9939e416
RG
17672011-02-01 Richard Guenther <rguenther@suse.de>
1768
1769 PR tree-optimization/47559
1770 * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform
1771 store-motion on references that can throw.
1772
4a3c9687
BS
17732011-02-01 Bernd Schmidt <bernds@codesourcery.com>
1774
1775 * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB.
1776 * tree-pass.h (TDF_CSELIB): New macro.
1777 * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1,
1778 cselib_lookup): Check for it rather than for TDF_DETAILS.
1779
dd3b31fb
L
17802011-02-01 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 PR driver/47547
1783 * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output
1784 is HOST_BIT_BUCKET.
1785
1786 * opts.c (finish_options): Don't add x_aux_base_name if it is
1787 HOST_BIT_BUCKET.
1788
34c1de79
RG
17892011-02-01 Richard Guenther <rguenther@suse.de>
1790
1791 PR tree-optimization/47555
1792 Revert
1793 2010-07-15 Sebastian Pop <sebastian.pop@amd.com>
1794
1795 * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
1796
dd2804d2
SB
17972011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org>
1798
1799 PR gcc/46692
1800 * config/lm32/t-lm32: Add multilib for all CPU options.
1801
3fd3b156
RG
18022011-02-01 Richard Guenther <rguenther@suse.de>
1803
1804 PR tree-optimization/47541
1805 * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make
1806 sure to have a field at offset zero.
1807
f16072b6
JM
18082011-01-31 Joseph Myers <joseph@codesourcery.com>
1809
1810 * config/arc/arc.opt (EB, EL): New Driver options.
1811
6456cf2e
JM
18122011-01-31 Joseph Myers <joseph@codesourcery.com>
1813
1814 * config/alpha/osf5.opt: New.
1815 * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt.
1816
cdde6ab4
JM
18172011-01-31 Joseph Myers <joseph@codesourcery.com>
1818
1819 * config/vms/vms.opt (map, mvms-return-codes): New Driver options.
1820
7633415c
SP
18212011-01-31 Sebastian Pop <sebastian.pop@amd.com>
1822
1823 * common.opt (ftree-loop-linear): Use Alias to make it an alias of
1824 -floop-interchange.
1825 * invoke.texi (-ftree-loop-linear): Make it clear that this flag
1826 is an alias of -floop-interchange and that it requires the
1827 Graphite infrastructure.
1828 * tree-ssa-loop.c (gate_graphite_transforms): Do not set
1829 flag_loop_interchange based on the value of flag_tree_loop_linear.
1830
0425d6f5
JJ
18312011-01-31 Jakub Jelinek <jakub@redhat.com>
1832 Richard Guenther <rguenther@suse.de>
1833
1834 PR tree-optimization/47538
1835 * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use
1836 type instead of r1type, except for comparisons. For right
1837 shifts and comparisons punt if there are mismatches in
1838 sizetype vs. non-sizetype types.
1839
500b16c3
RO
18402011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1841
1842 * doc/sourcebuild.texi (Effective-Target Keywords): Document
1843 avx_runtime.
1844
e279edb0
RO
18452011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1846
1847 * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld
1848 version number.
1849 * configure: Regenerate.
1850
c6092243
RO
18512011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1852
1853 * configure.ac (gcc_cv_ld_static_option): Define.
1854 (gcc_cv_ld_dynamic_option): Define.
1855 (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive
1856 instead.
1857 (HAVE_LD_STATIC_DYNAMIC): Update message.
1858 (LD_STATIC_OPTION): Define.
1859 (LD_DYNAMIC_OPTION): Define.
1860 * configure: Regenerate.
1861 * config.in: Regenerate.
1862 * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS &&
1863 HAVE_LD_STATIC_DYNAMIC]: Use them.
1864
d7862be3
NC
18652011-01-31 Nick Clifton <nickc@redhat.com>
1866
1867 * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered
1868 registers inside interrupt handlers if the handler is not a leaf
1869 function.
1870
ba4ec0e0
NC
18712011-01-31 Nick Clifton <nickc@redhat.com>
1872
1873 * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for
1874 reg_renumber returning an INVALID_REGNUM.
1875
29a63921
AO
18762011-01-31 Alexandre Oliva <aoliva@redhat.com>
1877
1878 PR libgcj/44341
1879 * doc/install.texi: Document host options discarded when cross
1880 configuring target libraries.
1881
ef591d3f
AO
18822011-01-31 Alexandre Oliva <aoliva@redhat.com>
1883
1884 Reverted:
1885 2011-01-25 Alexandre Oliva <aoliva@redhat.com>
1886 PR debug/45136
1887 PR debug/45130
1888 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
1889 debug insns.
1890 (no_real_insns_p, schedule_block, set_priorities): Drop special
1891 treatment of boundary debug insns.
38be4072 1892 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
ef591d3f
AO
1893 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
1894 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
1895 (BOUNDARY_DEBUG_INSN_P): Likewise.
1896 (SCHEDULE_DEBUG_INSN_P): Likewise.
1897 * sched-rgn.c (init_ready_list): Drop special treatment of
1898 boundary debug insns.
1899 * final.c (rest_of_clean-state): Clear notes' BB.
1900
61052244
AM
19012011-01-31 Alan Modra <amodra@gmail.com>
1902
1903 * config/rs6000/rs6000.c (print_operand): Rearrange addends in
1904 toc relative expressions as we do in print_operand_address.
1905
c4c8962b
KH
19062011-01-30 Kazu Hirata <kazu@codesourcery.com>
1907
1908 * doc/extend.texi: Follow spelling conventions.
1909 * doc/invoke.texi: Fix a typo.
1910
e543b94c
JM
19112011-01-30 Joseph Myers <joseph@codesourcery.com>
1912
1913 * config/hpux11.opt: New.
1914 * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*,
1915 ia64*-*-hpux*): Use hpux11.opt.
1916
509d65dd 19172011-01-30 Jonathan Yong <jon_y@users.sourceforge.net>
a70e0551
JY
1918
1919 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules
1920 to tmake_file.
1921
7be03a0e
GP
19222011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1923
1924 * doc/install.texi (hppa-hp-hpux10): Remove references to HP
1925 support sites.
1926
419d1d37
GP
19272011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1928
b596ed64
GP
1929 * doc/install.texi (Binaries): Remove outdated reference for
1930 Motorola 68HC11/68HC12 downloads.
1931
19322011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
61052244 1933
419d1d37
GP
1934 * doc/extend.texi (Thread-Local): Adjust reference to Ulrich
1935 Drepper's paper.
1936
4406d0e9
JW
19372011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
1938
1939 PR bootstrap/47147
1940 * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as
1941 used by NetBSD.
1942
38be4072 19432011-01-28 Ahmad Sharif <asharif@google.com>
e0b77418
AS
1944
1945 * value-prof.c (check_counter): Corrected error message.
1946
0cd98787
JZ
19472011-01-29 Jie Zhang <jie@codesourcery.com>
1948
1949 * config/arm/arm.c (arm_legitimize_reload_address): New.
1950 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1951 arm_legitimize_reload_address.
38be4072 1952 * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare.
0cd98787 1953
9b798ac5
ILT
19542011-01-28 Ian Lance Taylor <iant@google.com>
1955
1956 * godump.c (go_define): Ignore macros whose definitions include
1957 two adjacent operands.
1958
591e29d9
JJ
19592011-01-28 Jakub Jelinek <jakub@redhat.com>
1960
1961 PR target/42894
1962 * varasm.c (force_const_mem): Store copy of x in desc->constant
1963 instead of x itself.
1964 * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
1965 itself into REG_EQUAL note.
1966
62dcc44a
JM
19672011-01-28 Joseph Myers <joseph@codesourcery.com>
1968
1969 * config/freebsd.opt (posix, rdynamic): New Driver options.
1970
c9f58b9a
RO
19712011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1972
1973 * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports
1974 -Bstatic/-Bdynamic.
1975 * configure: Regenerate.
1976
5f02b9db
JM
19772011-01-27 Joseph Myers <joseph@codesourcery.com>
1978
1979 * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile.
1980 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile.
1981
5df97412
AS
19822011-01-27 Anatoly Sokolov <aesok@post.ru>
1983
1984 * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove.
1985 * config/s390/s390-protos.h (s390_preferred_reload_class): Remove.
1986 * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
1987 (s390_preferred_reload_class): Make static. Change return and
1988 'rclass' argument type to reg_class_t.
1989
779d4b91
JH
19902011-01-27 Jan Hubicka <jh@suse.cz>
1991
1992 PR middle-end/46949
1993 * cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
1994 (process_function_and_variable_attributes): Check defined weakrefs.
1995
e80b21ed
MJ
19962011-01-27 Martin Jambor <mjambor@suse.cz>
1997
1998 PR tree-optimization/47228
1999 * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of
2000 build_ref_for_offset.
2001
6dcc4f31
UW
20022011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2003
2004 * config/spu/spu-elf.h (ASM_SPEC): Remove.
2005
509d65dd 20062011-01-26 Mikael Pettersson <mikpe@it.uu.se>
3b8ff89f
MP
2007
2008 PR rtl-optimization/46856
2009 * postreload.c (reload_combine_recognize_const_pattern): Do not
2010 separate cc0 setter and user on cc0 targets.
2011
04af8788
NP
20122011-01-26 Nicola Pero <nicola.pero@meta-innovation.com>
2013
2014 PR c/43082
2015 * c-typeck.c (c_objc_common_truthvalue_conversion): If we are
2016 passed a VOID_TYPE expression, immediately emit an error and
2017 return error_mark_node.
2018
f7a60085
JL
20192011-01-26 Jeff Law <law@redhat.com>
2020
2021 PR rtl-optimization/47464
2022 * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p
2023 rather than may_trap_p as needed.
2024
5c2917ec
DD
20252011-01-26 DJ Delorie <dj@redhat.com>
2026
2027 PR rtl-optimization/46878
2028 * combine.c (insn_a_feeds_b): Check for the implicit cc0
2029 setter/user dependency as well.
2030
bef16e87
EB
20312011-01-26 Eric Botcazou <ebotcazou@adacore.com>
2032
2033 PR rtl-optimization/44469
2034 * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too
2035 after removing trivially dead basic blocks.
2036
c75d884b
JM
20372011-01-26 Joseph Myers <joseph@codesourcery.com>
2038
2039 * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}.
2040 * config/frv/frv.h (LINK_SPEC): Likewise.
2041 * config/i386/netware.h (LINK_SPEC): Likewise.
2042 * config/m68k/linux.h (ASM_SPEC): Likewise.
2043 * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise.
2044 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
2045 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
2046 * config/sparc/linux.h (ASM_SPEC): Likewise.
2047 * config/sparc/linux64.h (ASM_SPEC): Likewise.
2048 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
2049
d3153553
JM
20502011-01-26 Joseph Myers <joseph@codesourcery.com>
2051
2052 * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}.
2053 * config/frv/frv.h (ASM_SPEC): Likewise.
2054 * config/m68k/linux.h (ASM_SPEC): Likewise.
2055 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
2056 * config/rs6000/linux64.h (ASM_SPEC): Likewise.
2057 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
2058 * config/sparc/linux.h (ASM_SPEC): Likewise.
2059 * config/sparc/linux64.h (ASM_SPEC): Likewise.
2060 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
2061
b89b1e9d
JM
20622011-01-26 Joseph Myers <joseph@codesourcery.com>
2063
2064 * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}.
2065 * config/frv/frv.h (LINK_SPEC): Likewise.
2066 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
2067
12eb1a9c
JM
20682011-01-26 Joseph Myers <joseph@codesourcery.com>
2069
2070 * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}.
2071 * config/frv/frv.h (ASM_SPEC): Likewise.
2072 * config/i386/sol2-10.h (ASM_SPEC): Likewise.
2073 * config/m68k/linux.h (ASM_SPEC): Likewise.
2074 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
2075 * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
2076 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
2077 * config/sol2.h (ASM_SPEC): Remove comment about -Yd,.
2078 * config/sparc/linux.h (ASM_SPEC): Likewise.
2079 * config/sparc/linux64.h (ASM_SPEC): Likewise.
2080 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
2081 * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}.
2082
e435f098
SE
20832011-01-26 Steve Ellcey <sje@cup.hp.com>
2084
2085 PR target/46997
2086 * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN.
2087 (*mux2): Ditto.
2088 (vec_extract_evenodd_help): Ditto.
2089 (vec_extract_evenv4hi): Ditto.
2090 (vec_extract_oddv4hi): Ditto.
2091 (vec_interleave_lowv2si): Ditto.
2092 (vec_interleave_highv2si): Ditto.
2093 (vec_extract_evenv2si): Ditto.
2094 (vec_extract_oddv2si: Ditto.
2095 (vec_pack_trunc_v2si): Ditto.
2096
34f0eee0
JH
20972011-01-22 Jan Hubicka <jh@suse.cz>
2098
2099 PR target/47237
2100 * cgraph.h (cgraph_local_info): New field can_change_signature.
2101 * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
2102 signature can change.
2103 (ipcp_estimate_growth): Call sequence simplify only if calle signature
2104 can change.
2105 (ipcp_insert_stage): Only compute args_to_skip if signature can change.
2106 (cgraph_function_versioning): We can not change signature of functions
2107 that don't allow that.
2108 * lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
2109 (lto_input_node): Likewise.
38be4072
UB
2110 * ipa-inline.c (compute_inline_parameters): Compute
2111 local.can_change_signature.
34f0eee0 2112 * ipa-split.c (visit_bb): Never split away APPLY_ARGS.
38be4072
UB
2113 * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on
2114 functions that can not change signature.
34f0eee0 2115 * i386.c (ix86_function_regparm, ix86_function_sseregparm,
38be4072
UB
2116 init_cumulative_args): Do not use local calling conventions
2117 for functions that can not change signature.
34f0eee0 2118
980ca891
JH
21192011-01-22 Jan Hubicka <jh@suse.cz>
2120
2121 * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk.
2122
768e3c60
RG
21232011-01-26 Richard Guenther <rguenther@suse.de>
2124
2125 PR tree-optimization/47190
61052244
AM
2126 * cgraphunit.c (process_common_attributes): New function.
2127 (process_function_and_variable_attributes): Use it.
768e3c60 2128
21d6a1c7
RG
21292011-01-26 Richard Guenther <rguenther@suse.de>
2130
2131 PR lto/47423
2132 * cgraphbuild.c (record_eh_tables): Record reference to personality
2133 function.
2134
48bb58b1
AO
21352011-01-26 Alexandre Oliva <aoliva@redhat.com>
2136
2137 PR debug/45454
2138 * sel-sched.c (moveup_expr): Don't let debug insns prevent
2139 non-debug insns from moving up.
2140
58c741a6
DK
21412011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
2142
2143 PR target/40125
2144 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
2145 t-dlldir{,-x} fragment for build and add it to tmake_file.
2146 (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
2147 * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
2148 * config/i386/t-dlldir: New file.
2149 (SHLIB_DLLDIR): Define.
2150 * config/i386/t-dlldir-x: New file.
2151 (SHLIB_DLLDIR): Define.
2152 * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
2153 (SHLIB_INSTALL): Use it.
2154
bff99262
CLT
21552011-01-26 Chung-Lin Tang <cltang@codesourcery.com>
2156
2157 PR target/47246
2158 * config/arm/arm.c (thumb2_legitimate_index_p): Change the
2159 lower bound of the allowed Thumb-2 coprocessor load/store
2160 index range to -256. Add explaining comment.
2161
82c03907
ILT
21622011-01-25 Ian Lance Taylor <iant@google.com>
2163
2164 * godump.c (go_define): Improve lexing of macro expansion to only
2165 accept expressions which match Go spec.
2166
47ea1edf
DK
21672011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
2168
d4dba752 2169 PR c++/43601
47ea1edf
DK
2170 * tree.c (handle_dll_attribute): Handle it.
2171 * doc/extend.texi (@item dllexport): Mention it.
2172 * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it.
2173
744f0946
ILT
21742011-01-25 Ian Lance Taylor <iant@google.com>
2175
2176 PR tree-optimization/26854
2177 * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
2178 (decl_jump_unsafe): Move higher in file, with no other change.
2179 (bind): Set has_jump_unsafe_decl if appropriate.
2180 (update_label_decls): Test has_jump_unsafe_decl to avoid loop.
2181 (check_earlier_gotos): Likewise.
2182 (c_check_switch_jump_warnings): Likewise.
2183
5734f2b3
JW
21842011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com>
2185
2186 * doc/invoke.texi (Warning Options): Add missing hyphen.
2187 (-fprofile-dir): Minor grammatical fixes.
2188 (-fbranch-probabilities): Likewise.
2189
9bdbdcef
AO
21902011-01-25 Alexandre Oliva <aoliva@redhat.com>
2191
2192 PR debug/45136
2193 PR debug/45130
2194 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
2195 debug insns.
2196 (no_real_insns_p, schedule_block, set_priorities): Drop special
2197 treatment of boundary debug insns.
38be4072 2198 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
9bdbdcef
AO
2199 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
2200 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
2201 (BOUNDARY_DEBUG_INSN_P): Likewise.
2202 (SCHEDULE_DEBUG_INSN_P): Likewise.
2203 * sched-rgn.c (init_ready_list): Drop special treatment of
2204 boundary debug insns.
2205 * final.c (rest_of_clean-state): Clear notes' BB.
2206
b305e3da
SP
22072011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2208
2209 * Makefile.in (LAMBDA_H): Removed.
2210 (TREE_DATA_REF_H): Remove dependence on LAMBDA_H.
2211 (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o,
2212 lambda-trans.o, and tree-loop-linear.o.
2213 (lto-symtab.o): Remove dependence on LAMBDA_H.
2214 (tree-loop-linear.o): Remove rule.
2215 (lambda-mat.o): Same.
2216 (lambda-trans.o): Same.
2217 (lambda-code.o): Same.
2218 (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H.
2219 (tree-vect-slp.o): Same.
2220 * hwint.h (gcd): Moved here.
2221 (least_common_multiple): Same.
2222 * lambda-code.c: Removed.
2223 * lambda-mat.c: Removed.
2224 * lambda-trans.c: Removed.
2225 * lambda.h: Removed.
2226 * tree-loop-linear.c: Removed.
2227 * lto-symtab.c: Do not include lambda.h.
2228 * omega.c (gcd): Removed.
2229 * passes.c (init_optimization_passes): Remove pass_linear_transform.
2230 * tree-data-ref.c (print_lambda_vector): Moved here.
2231 (lambda_vector_copy): Same.
2232 (lambda_matrix_copy): Same.
2233 (lambda_matrix_id): Same.
2234 (lambda_vector_first_nz): Same.
2235 (lambda_matrix_row_add): Same.
2236 (lambda_matrix_row_exchange): Same.
2237 (lambda_vector_mult_const): Same.
2238 (lambda_vector_negate): Same.
2239 (lambda_matrix_row_negate): Same.
2240 (lambda_vector_equal): Same.
2241 (lambda_matrix_right_hermite): Same.
2242 * tree-data-ref.h: Do not include lambda.h.
2243 (lambda_vector): Moved here.
2244 (lambda_matrix): Same.
2245 (dependence_level): Same.
2246 (lambda_transform_legal_p): Removed declaration.
2247 (lambda_collect_parameters): Same.
2248 (lambda_compute_access_matrices): Same.
2249 (lambda_vector_gcd): Same.
2250 (lambda_vector_new): Same.
2251 (lambda_vector_clear): Same.
2252 (lambda_vector_lexico_pos): Same.
2253 (lambda_vector_zerop): Same.
2254 (lambda_matrix_new): Same.
2255 * tree-flow.h (least_common_multiple): Removed declaration.
2256 * tree-parloops.c (lambda_trans_matrix): Moved here.
2257 (LTM_MATRIX): Same.
2258 (LTM_ROWSIZE): Same.
2259 (LTM_COLSIZE): Same.
2260 (LTM_DENOMINATOR): Same.
2261 (lambda_trans_matrix_new): Same.
2262 (lambda_matrix_vector_mult): Same.
2263 (lambda_transform_legal_p): Same.
2264 * tree-pass.h (pass_linear_transform): Removed declaration.
2265 * tree-ssa-loop.c (tree_linear_transform): Removed.
2266 (gate_tree_linear_transform): Removed.
2267 (pass_linear_transform): Removed.
2268 (gate_graphite_transforms): Make flag_tree_loop_linear an alias of
2269 flag_loop_interchange.
2270
6bdfdb96
JJ
22712011-01-25 Jakub Jelinek <jakub@redhat.com>
2272
2273 PR tree-optimization/47265
2274 PR tree-optimization/47443
2275 * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
2276 if name still has some uses.
2277
e4cba915
MJ
22782011-01-25 Martin Jambor <mjambor@suse.cz>
2279
2280 PR tree-optimization/47382
2281 * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
2282 (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.
2283
509d65dd 22842011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com>
f822b8ea
JS
2285
2286 * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to
2287 sjlj_except_unwind_info.
2288
194313e2
RG
22892011-01-25 Richard Guenther <rguenther@suse.de>
2290
2291 PR tree-optimization/47426
2292 * tree-ssa-structalias.c (ipa_pta_execute): Make externally
2293 visible functions results escape.
2294
147a0bcf
JJ
22952011-01-25 Jakub Jelinek <jakub@redhat.com>
2296
2297 PR target/45701
2298 * config/arm/arm.c (any_sibcall_uses_r3): New function.
2299 (arm_get_frame_offsets): Use it.
2300
db963b52
SP
23012011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2302 Jakub Jelinek <jakub@redhat.com>
2303
2304 PR tree-optimization/47271
2305 * tree-if-conv.c (bb_postdominates_preds): New.
2306 (if_convertible_bb_p): Call bb_postdominates_preds.
2307 (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS.
2308 (predicate_scalar_phi): Call bb_postdominates_preds.
2309
bcddd3b9
NC
23102011-01-25 Nick Clifton <nickc@redhat.com>
2311
2312 * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types.
2313 * config/rx/rx.c (rx_function_value): Likewise.
2314 (rx_promote_function_mode): Likewise.
2315 (gen_safe_add): Place an outsized immediate value inside an UNSPEC
2316 in order to make it legitimate.
38be4072
UB
2317 * config/rx/rx.md (adddi3_internal): If the second operand is a MEM
2318 make sure that the first operand is the same as the result register.
bcddd3b9
NC
2319 (addsi3_unspec): Delete.
2320 (subdi3): Do not accept immediate operands.
2321 (subdi3_internal): Likewise.
2322
7e6cb022
JL
23232011-01-25 Jeff Law <law@redhat.com>
2324
2325 PR rtl-optimization/37273
2326 * ira-costs.c (scan_one_insn): Detect constants living in memory and
2327 handle them like argument loads from stack slots. Do not double
2328 count memory for memory constants and argument loads from stack slots.
2329
9ffa621e
JJ
23302011-01-25 Jakub Jelinek <jakub@redhat.com>
2331
2332 PR tree-optimization/47427
2333 PR tree-optimization/47428
2334 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
2335 coalesce if the new root var would be TREE_READONLY.
2336
5bd6e652
RG
23372011-01-25 Richard Guenther <rguenther@suse.de>
2338
2339 PR middle-end/47414
2340 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the
2341 correct type for TBAA.
2342
7c48ea69
SP
23432011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2344
2345 * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New.
2346 (close_phi_written_to_memory): Call for_each_index with
2347 dr_indices_valid_in_loop.
2348
38013f25
SP
23492011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2350
2351 * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN
2352 when it is initialized.
2353
5c640e29
SP
23542011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2355
2356 * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update
2357 call to graphite_find_data_references_in_stmt.
2358 * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New.
2359 (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update
2360 call to graphite_find_data_references_in_stmt.
2361 (analyze_drs_in_stmts): Same.
2362 * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop
2363 in which the scalar analysis of indices is performed.
2364 (create_data_ref): Same. Update call to dr_analyze_indices.
2365 (find_data_references_in_stmt): Update call to create_data_ref.
2366 (graphite_find_data_references_in_stmt): Same.
2367 * tree-data-ref.h (graphite_find_data_references_in_stmt): Update
2368 declaration.
2369 (create_data_ref): Same.
2370 * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update
2371 call to create_data_ref.
2372
ac53c069
SP
23732011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2374
2375 * graphite-sese-to-poly.c (build_poly_scop): Move
38be4072 2376 rewrite_commutative_reductions_out_of_ssa before find_scop_parameters.
ac53c069 2377
3d17df15
SP
23782011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2379
2380 * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow
2381 VAR_DECL, PARM_DECL, and RESULT_DECL.
2382
c513da01
SP
23832011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2384
2385 * graphite-dependences.c (reduction_dr_1): Allow several reductions
2386 in a reduction PBB.
2387 * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs
2388 that have already been marked as PBB_IS_REDUCTION.
2389
3a292d59
SP
23902011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2391
2392 * graphite-scop-detection.c (same_close_phi_node): New.
2393 (remove_duplicate_close_phi): New.
2394 (make_close_phi_nodes_unique): New.
2395 (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique.
2396
ba858447
SP
23972011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2398
2399 * graphite-dependences.c (new_poly_ddr): Call same_pdr_p.
2400 * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE
2401 of both data references to be the same.
2402
8d865c56
SP
24032011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2404
38be4072
UB
2405 * graphite-dependences.c (build_lexicographical_constraint): Remove
2406 the gdim parameter.
2407 (build_lexicographical_constraint): Adjust call to
2408 ppl_powerset_is_empty.
8d865c56
SP
2409 (dependence_polyhedron): Same.
2410 (graphite_legal_transform_dr): Same.
2411 (graphite_carried_dependence_level_k): Same.
38be4072
UB
2412 * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params
2413 parameter.
8d865c56
SP
2414 * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration.
2415
50034a36
SP
24162011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2417
2418 * graphite-sese-to-poly.c
2419 (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr.
2420 (close_phi_written_to_memory): New.
2421 (translate_scalar_reduction_to_array): Call close_phi_written_to_memory
2422 and unshare_expr.
2423
0deada9e
SP
24242011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2425
2426 * doc/install.texi: Update the expected version number of PPL to 0.11.
2427 * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under
2428 #if PPL_VERSION_MINOR < 11.
2429
d7d3d6af
SP
24302011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2431
2432 * graphite-dependences.c: Include graphite-cloog-util.h.
2433 (new_poly_ddr): Inlined into dependence_polyhedron.
2434 (free_poly_ddr): Moved close by new_poly_ddr.
2435 (dependence_polyhedron_1): Renamed dependence_polyhedron.
2436 Early return NULL when ppl_powerset_is_empty returns true.
2437 (dependence_polyhedron): Renamed new_poly_ddr. Call only once
2438 poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty.
2439 (graphite_legal_transform_dr): Call new_poly_ddr.
2440 (graphite_carried_dependence_level_k): Same.
2441 (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr.
2442 (dot_transformed_deps_stmt_1): Removed.
2443 (dot_deps_stmt_1): Call dot_deps_stmt_2.
2444 (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr.
2445 (dot_deps_1): Call dot_deps_2.
2446 * Makefile.in (graphite-dependences.o): Add missing dependence on
2447 graphite-cloog-util.h.
2448
28c5db57
SP
24492011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2450
2451 * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty.
2452 (build_lexicographical_constraint): Same.
2453 (dependence_polyhedron_1): Same.
2454 (graphite_legal_transform_dr): Same.
2455 (graphite_carried_dependence_level_k): Same.
2456 * graphite-ppl.c (ppl_powerset_is_empty): New.
2457 * graphite-ppl.h (ppl_powerset_is_empty): Declared.
2458 * tree-data-ref.c (dump_data_reference): Print the basic block index.
2459
5168d98f
SP
24602011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2461
2462 * graphite-dependences.c (build_pairwise_scheduling): Correctly compute
2463 the "a followed by b" relation and document it.
2464
4a40293a
SP
24652011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2466
2467 * graphite-dependences.c (build_lexicographical_constraint): Stop the
2468 iteration when the bag of constraints is empty.
2469
271fb6fa
SP
24702011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2471
2472 * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work.
2473
92d23680
SP
24742011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2475
2476 * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop
2477 nest and two loop depths as parameters.
2478 (lst_try_interchange_loops): Call lst_interchange_profitable_p after
2479 lst_perfect_nestify.
2480
2f51deff
SP
24812011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2482
2483 * graphite-dependences.c (print_pddr): Call
2484 ppl_io_fprint_Pointset_Powerset_C_Polyhedron.
2485
07f3593c
SP
24862011-01-25 Sebastian Pop <sebastian.pop@amd.com>
2487
2488 * graphite-ppl.c (debug_gmp_value): New.
2489 * graphite-ppl.h (debug_gmp_value): Declared.
2490
3fae6099
TG
24912011-01-25 Tobias Grosser <grosser@fim.uni-passau.de>
2492
2493 * doc/install.texi: Document availability of cloog-0.16.
2494
1c3ba85b
SP
24952011-01-25 Vladimir Kargov <kargov@gmail.com>
2496
2497 * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free
2498 invalid postdominance info.
2499
e8ba94fc
JH
25002011-01-24 Jan Hubicka <jh@suse.cz>
2501
2502 PR c/21659
2503 * doc/extend.texi (weak pragma): Drop claim that it must
2504 appear before definition.
2505 * varasm.c (merge_weak, declare_weak): Only sanity check
2506 that DECL is not output at a time it is declared weak.
2507
2b6e2d13
KZ
25082011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com>
2509
2510 * machmode.def: Fixed comments.
1c3ba85b 2511
9841210f
KT
25122011-01-24 Kai Tietz <kai.tietz@onevision.com>
2513
2514 * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
2515
25162011-01-24 Paul Koning <ni1d@arrl.net>
e046112d
PK
2517
2518 * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
1c3ba85b 2519 WORDS_BIG_ENDIAN.
e046112d 2520
a6c5070a
L
25212011-01-24 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 PR target/46519
2524 * config/i386/i386.c: Include sbitmap.h and fibheap.h.
2525 (block_info): Add scanned and prev.
2526 (move_or_delete_vzeroupper_2): Return if the basic block
2527 has been scanned and the upper 128bit state is unchanged
2528 from the last scan.
2529 (move_or_delete_vzeroupper_1): Return true if the exit
2530 state is changed.
2531 (move_or_delete_vzeroupper): Visit basic blocks using the
2532 work-list based algorithm based on vt_find_locations in
2533 var-tracking.c.
2534
2535 * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H).
2536
a40d79d7
NC
25372011-01-24 Nick Clifton <nickc@redhat.com>
2538
2539 * config/v850/v850.opt (mv850es): New option - alias for -mv850e1.
2540 * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass
2541 -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified
2542 then define __v850e1__.
2543 * doc/invoke.texi: Document -mv850es.
2544
440eb8de
RH
25452011-01-24 Richard Henderson <rth@redhat.com>
2546
2547 * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept
2548 compound unordered comparisons.
2549 * config/rx/rx.c (rx_split_fp_compare): Remove.
2550 * config/rx/rx-protos.h: Update.
2551 * config/rx/rx.md (gcc_conds, rx_conds): Remove.
2552 (cbranchsf4): Don't call rx_split_fp_compare.
2553 (*cbranchsf4): Use rx_split_cbranch.
2554 (*cmpsf): Don't accept "i" constraint.
2555 (*conditional_branch): Only valid after reload.
2556 (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare.
2557
3ff79f99
MM
25582011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com>
2559
2560 PR target/47385
2561 * config/rs6000/altivec.md (vector constant splitters): Add
2562 support for creating vector single precision constants if -mvsx is
2563 used and we would create the constant using Altivec primitives.
2564
ff3d9d08
BS
25652011-01-23 Bernd Schmidt <bernds@codesourcery.com>
2566 Richard Sandiford <rdsandiford@googlemail.com>
2567
2568 PR rtl-optimization/47166
2569 * reload1.c (emit_reload_insns): Disable the spill_reg_store
2570 mechanism for PRE_MODIFY and POST_MODIFY.
2571 (inc_for_reload): For PRE_MODIFY, return the insn that sets the
2572 reloadreg.
2573
7fcaf152
AS
25742011-01-23 Andreas Schwab <schwab@linux-m68k.org>
2575
8788adb6 2576 * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.
7fcaf152 2577
d09b58c4
JH
25782011-01-22 Jan Hubicka <jh@suse.cz>
2579
2580 PR lto/47333
2581 * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
2582
e8ff8c5a
JH
25832011-01-22 Jan Hubicka <jh@suse.cz>
2584
2585 PR tree-optimization/43884
2586 PR lto/44334
8788adb6 2587 * predict.c (maybe_hot_frequency_p): Use entry block frequency as base.
e8ff8c5a
JH
2588 * doc/invoke.texi (hot-bb-frequency-fraction): Update docs.
2589
ccaed3ba
AS
25902011-01-22 Anatoly Sokolov <aesok@post.ru>
2591
2592 * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
2593 * config/s390/s390.c (s390_register_move_cost,
2594 s390_memory_move_cost): New.
2595 (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
2596
0cecee06
UW
25972011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2598
2599 PR middle-end/47401
2600 * except.c (sjlj_assign_call_site_values): Move setting the
2601 crtl->uses_eh_lsda flag to ...
2602 (sjlj_mark_call_sites): ... here.
2603 (sjlj_emit_function_enter): Support NULL dispatch label.
2604 (sjlj_build_landing_pads): In a function with no landing pads
2605 that still has must-not-throw regions, generate code to register
2606 a personality function with empty LSDA.
2607
e692f276
RH
26082011-01-21 Richard Henderson <rth@redhat.com>
2609
1b7ae0b7
RH
2610 * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
2611
3843787f
RH
2612 * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
2613
e692f276
RH
2614 * compare-elim.c: New file.
2615 * Makefile.in (OBJS-common): Add it.
2616 (compare-elim.o): New.
2617 * common.opt (fcompare-elim): New.
2618 * opts.c (default_options_table): Add OPT_fcompare_elim.
2619 * tree-pass.h (pass_compare_elim_after_reload): New.
2620 * passes.c (init_optimization_passes): Add it.
2621 * recog.h: Protect against re-inclusion.
2622 * target.def (TARGET_FLAGS_REGNUM): New POD hook.
2623 * doc/invoke.texi (-fcompare-elim): Document it.
2624 * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it.
2625 * doc/tm.texi: Rebuild.
2626
9a7c2050
NC
26272011-01-22 Nick Clifton <nickc@redhat.com>
2628
2629 * config/rx/rx.md (cstoresf4): Pass comparison operator to
2630 rx_split_fp_compare.
2631
15ba5696
NC
26322011-01-22 Nick Clifton <nickc@redhat.com>
2633
2634 * config/rx/rx.md (UNSPEC_CONST): New.
2635 (deallocate_and_return): Wrap the amount popped off the stack in
2636 an UNSPEC_CONST in order to stop it being rejected by
2637 -mmax-constant-size.
2638 (pop_and_return): Add a "(return)" rtx.
2639 (call): Drop the immediate operand.
2640 (call_internal): Likewise.
2641 (call_value): Likewise.
2642 (call_value_internal): Likewise.
2643 (sibcall_internal): Likewise.
2644 (sibcall_value_internal): Likewise.
2645 (sibcall): Likewise. Generate an explicit call using
2646 sibcall_internal.
2647 (sibcall_value): Likewise.
2648 (mov<>): FAIL if a constant operand is not legitimate.
2649 (addsi3_unpsec): New pattern.
9a7c2050 2650
38be4072 2651 * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs.
15ba5696
NC
2652 (ok_for_max_constant): New function.
2653 (gen_safe_add): New function.
2654 (rx_expand_prologue): Use gen_safe_add.
2655 (rx_expand_epilogue): Likewise.
2656 (rx_is_legitimate_constant): Use ok_for_max_constant. Handle
2657 UNSPEC CONSTs.
2658
caaf13d3
JL
26592011-01-21 Jeff Law <law@redhat.com>
2660
2661 PR tree-optimization/47053
2662 * tree-ssa-dse.c (need_eh_cleanup): New bitmap.
2663 (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when
2664 statements are deleted.
2665 (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP
2666 is nonempty, then purge dead edges and cleanup the CFG.
2667
12c30f2f
AO
26682011-01-21 Alexandre Oliva <aoliva@redhat.com>
2669
2670 PR debug/47402
2671 Temporarily revert:
2672 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
2673 PR debug/47106
2674 * tree-dfa.c (create_var_ann): Mark variable as used.
2675
7360d2ac
JJ
26762011-01-21 Jakub Jelinek <jakub@redhat.com>
2677
aaa52a96
JJ
2678 PR middle-end/45566
2679 * except.c (convert_to_eh_region_ranges): Emit queued no-region
2680 notes from other section in hot/cold partitioning even if
2681 last_action is -3. Increment call_site_base.
2682
7360d2ac
JJ
2683 PR rtl-optimization/47366
2684 * fwprop.c (forward_propagate_into): Return bool. If
2685 any changes are made, -fnon-call-exceptions is used and
2686 REG_EH_REGION note is present, call purge_dead_edges
2687 and return true if it purged anything.
2688 (fwprop_addr): Adjust callers, call cleanup_cfg (0) if
2689 any EH edges were purged.
2690
e90b336f
JL
26912011-01-21 Jeff Law <law@redhat.com>
2692
2693 PR rtl-optimization/41619
2694 * caller-save.c (setup_save_areas): Break out code to determine
2695 which hard regs are live across calls by examining the reload chains
2696 so that it is always used.
2697 Eliminate code which checked REG_N_CALLS_CROSSED.
2698
3ffe07e1
JJ
26992011-01-21 Jakub Jelinek <jakub@redhat.com>
2700
2701 PR tree-optimization/47355
2702 * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if
2703 NOP has non-debug uses beyond PHIs in new_bb.
2704
1c7d0b34
AO
27052011-01-21 Alexandre Oliva <aoliva@redhat.com>
2706
2707 PR debug/47106
2708 * cfgexpand.c (account_used_vars_for_block): Only account vars
2709 that are annotated as used.
2710 (estimated_stack_frame_size): Don't set TREE_USED.
2711 * tree-dfa.c (create_var_ann): Mark variable as used.
2712
f99cc488
RG
27132011-01-21 Richard Guenther <rguenther@suse.de>
2714
2715 PR middle-end/47395
2716 * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name.
2717
3bc27de7
RG
27182011-01-21 Richard Guenther <rguenther@suse.de>
2719
2720 PR tree-optimization/47365
2721 * tree-ssa-sccvn.h (vn_lookup_kind): Declare.
2722 (vn_reference_lookup_pieces): Adjust.
2723 (vn_reference_lookup): Likewise.
2724 * tree-ssa-sccvn.c (vn_walk_kind): New static global.
2725 (vn_reference_lookup_3): Only look through kills if in
2726 VN_WALKREWRITE mode.
2727 (vn_reference_lookup_pieces): Adjust.
2728 (vn_reference_lookup): Likewise.
2729 (visit_reference_op_load): Likewise.
2730 (visit_reference_op_store): Likewise.
2731 * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode.
2732 (compute_avail): Likewise.
2733 (eliminate): Likewise.
2734
d8debb1d
JJ
27352011-01-21 Jakub Jelinek <jakub@redhat.com>
2736
2737 * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove
2738 DECL_IGNORED_P non-reg vars if they are used.
2739
3a2df831
JJ
2740 PR tree-optimization/47391
2741 * varpool.c (const_value_known_p): Return false if
2742 decl is volatile.
2743
1dd584a2
KT
27442011-01-21 Kai Tietz <kai.tietz@onevision.com>
2745
2746 PR bootstrap/47215
2747 * config/i386/i386.c (ix86_local_alignment): Handle
2748 case for va_list_type_node is nil.
2749 (ix86_canonical_va_list_type): Likewise.
2750
7f9f095e
AM
27512011-01-21 Alan Modra <amodra@gmail.com>
2752
2753 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add
2754 builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__.
2755
837b01f6
RR
27562011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2757
2758 * config/arm/arm.md (define_attr type): Rename f_load
2759 and f_store to f_fpa_load and f_fpa_store. Update.
2760 (write_conflict): Deal with rename fallout.
2761 (*push_fp_multi): Likewise.
2762 * config/arm/fpa.md (f_load): Use f_fpa_load.
2763 (f_store): Use f_fpa_store.
2764 (*movsf_fpa): Likewise.
2765 (*movdf_fpa): Likewise.
2766 (*movxf_fpa): Likewise.
2767 (*thumb2_movsf_fpa): Likewise.
2768 (*thumb2_movdf_fpa): Likewise.
2769 (*thumb2_movxf_fpa): Likewise.
2770 * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to
2771 f_loadd and f_stored.
2772 (*thumb2_movdi_vfp): Likewise.
2773 (*thumb2_movsf_vfp): Fix attribute to f_loads.
2774 (*thumb2_movsi_vfp): Likewise.
2775 * config/arm/cortex-m4-fpu.md (cortex_m4_f_load):
2776 Use f_loads instead of f_load.
2777 * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load.
2778
a1a79768
AS
27792011-01-20 Anatoly Sokolov <aesok@post.ru>
2780
2781 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
2782 * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove.
2783 * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
2784 (xtensa_mode_dependent_address_p): New function.
2785 (constantpool_address_p): Make static. Change return type to bool.
2786 Change argument type to const_rtx. Use CONST_INT_P predicate.
2787
427f6cec
AO
27882011-01-20 Alexandre Oliva <aoliva@redhat.com>
2789
2790 PR debug/46583
2791 * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls.
2792
583ac69c
JJ
27932011-01-20 Jakub Jelinek <jakub@redhat.com>
2794
2795 PR debug/47283
2796 * cfgexpand.c (expand_debug_expr): Instead of generating
2797 (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF
2798 etc. handling.
2799
93e452ed
RG
28002011-01-20 Richard Guenther <rguenther@suse.de>
2801
2802 PR middle-end/47370
2803 * tree-inline.c (remap_gimple_op_r): Recurse manually for
2804 the pointer operand of MEM_REFs.
2805
28fc44f3
JJ
28062011-01-20 Jakub Jelinek <jakub@redhat.com>
2807
2808 PR tree-optimization/46130
2809 * ipa-split.c (consider_split): If return_bb contains non-virtual
2810 PHIs other than for retval or if split_function would not adjust it,
2811 refuse to split.
2812
ddd268f2
RG
28132011-01-20 Richard Guenther <rguenther@suse.de>
2814
2815 PR tree-optimization/47167
2816 * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
2817 Revert previous change, only avoid enumeral type changes.
2818
882020aa
MS
28192011-01-19 Mike Stump <mikestump@comcast.net>
2820
2821 * doc/tm.texi.in (BRANCH_COST): Englishify.
2822 * doc/tm.texi (BRANCH_COST): Likewise.
2823
7edb6247
DS
28242011-01-19 Dodji Seketeli <dodji@redhat.com>
2825
2826 PR c++/47291
2827 * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
61052244
AM
2828 (gen_scheduled_generic_parms_dies): New functions.
2829 (gen_struct_or_union_type_die): Schedule template parameters DIEs
2830 generation for the end of CU compilation.
2831 (dwarf2out_finish): Generate template parameters DIEs here.
7edb6247 2832
23d5ed5d
AO
28332011-01-19 Alexandre Oliva <aoliva@redhat.com>
2834
2835 PR debug/46240
2836 * tree-into-ssa.c (maybe_register_def): Do not attempt to add
2837 debug bind stmt on merge edges.
2838
37d6a488
AO
28392011-01-19 Alexandre Oliva <aoliva@redhat.com>
2840
2841 PR debug/47079
2842 PR debug/46724
2843 * function.c (instantiate_expr): Instantiate incoming rtl of
2844 implicit arguments, and recurse on VALUE_EXPRs.
2845 (instantiate_decls): Instantiate rtl and VALUE_EXPR of result.
2846 * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx.
2847
689f2c82
AO
28482011-01-19 Alexandre Oliva <aoliva@redhat.com>
2849
2850 * c-parser.c (c_parser_for_statement): Initialize
2851 collection_expression.
2852
03029de4
JM
28532011-01-19 Joseph Myers <joseph@codesourcery.com>
2854
2855 * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.
2856
3e03217e
JM
28572011-01-19 Joseph Myers <joseph@codesourcery.com>
2858
2859 * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove.
2860 (LINK_SHLIB_SPEC): Don't use %(link_path).
2861 (SUBTARGET_EXTRA_SPECS): Remove link_path.
2862
5bbe9b3f
JM
28632011-01-19 Joseph Myers <joseph@codesourcery.com>
2864
2865 * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
2866 (NO_SHARED_LIB_SUPPORT): Remove.
2867 (LINK_SHLIB_SPEC): Remove one conditional definition.
2868
368e0b39
JM
28692011-01-19 Joseph Myers <joseph@codesourcery.com>
2870
2871 * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
2872 %{call_shared}.
2873 * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
2874 * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
2875 * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
2876 %{call_shared} and conditionals on these options not being passed.
2877 * config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
2878 %{call_shared}.
2879
ed7656f6
JJ
28802011-01-19 Jakub Jelinek <jakub@redhat.com>
2881
68457901
JJ
2882 * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge,
2883 simplify.
2884
ed7656f6
JJ
2885 * ipa-split.c: Spelling fixes.
2886
e0d1958f
RH
28872011-01-19 Richard Henderson <rth@redhat.com>
2888
2889 * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand.
2890 (*mulsi3): Likewise.
2891
27098b6b
RH
2892 * longlong.h [__mn10300__] (count_leading_zeros): New.
2893 [__mn10300__] (umul_ppmm, smul_ppmm): New.
2894 [__mn10300__] (add_ssaaaa, subddmmss): New.
2895 [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New.
2896 [__mn10300__] (UMUL_TIME, UDIV_TIME): New.
2897
d6be7c36
UW
28982011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2899
2900 * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
2901
b1efde2a
RH
29022011-01-19 Richard Henderson <rth@redhat.com>
2903
44217823
RH
2904 * config/mn10300/mn10300.md (addsi3_flags): New.
2905 (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New.
2906 (subsi3_flags, subc_internal, subdi3): New.
2907 (subdi3_internal, *subdi3_degenerate): New.
2908 * config/mn10300/predicates.md (reg_or_am33_const_operand): New.
2909
37a185d7
RH
2910 * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New.
2911 (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn.
2912 (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once.
2913 * config/mn10300/mn10300-protos.h: Update.
2914 * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn.
2915 (return_ret): Likewise. Rename from return_internal_regs.
2916 (return_internal): Remove.
2917
040c5757
RH
2918 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove.
2919 (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL.
2920 (mn10300_legitimate_constant_p): Likewise.
2921 (mn10300_can_use_return_insn): Use mn10300_initial_offset.
2922 (mn10300_frame_size): New.
2923 (mn10300_expand_prologue): Use it.
2924 (mn10300_expand_epilogue): Likewise.
2925 (mn10300_initial_offset): Likewise.
2926 * config/mn10300/mn10300-protos.h: Update.
2927 * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove.
2928 * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove.
2929 (prologue, epilogue, return_internal): Tidy output code.
2930 (mn10300_store_multiple_operation, return): Likewise.
2931 (int_label, pop_pic_reg, GOTaddr2picreg): Remove.
2932 (am33_loadPC, mn10300_loadPC, call_next_insn): Remove.
2933 (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove.
2934 (load_pic, am33_load_pic): New.
2935 (mn10300_load_pic0, mn10300_load_pic1): New.
2936
bad41521
RH
2937 * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes.
2938 * config/mn10300/mn10300.c (CC_FLAG_Z): New.
2939 (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New.
2940 (cc_flags_for_mode, cc_flags_for_code): New.
2941 (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the
2942 overflow flag is not valid. Validate that the flags we need
2943 for the comparison are valid.
2944 (mn10300_output_cmp): Remove.
2945 (mn10300_output_add): New.
2946 (mn10300_select_cc_mode): Use cc_flags_for_code.
2947 (mn10300_split_cbranch): New.
2948 (mn10300_match_ccmode): New.
2949 (mn10300_split_and_operand_count): New.
2950 * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments
2951 to the function.
2952 * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge...
2953 (addsi3): ... here. Use mn10300_output_add.
2954 (*addsi3_flags): New.
2955 (*am33_subsi3, *mn10300_subsi3): Merge...
2956 (subsi3): ... here. Use attribute isa.
2957 (*subsi3_flags): New.
2958 (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC
2959 when possible.
2960 (*am33_andsi3, *mn10300_andsi3): Merge...
2961 (andsi3): ... here.
2962 (*andsi3_flags): New.
2963 (andsi3 splitters): New.
2964 (*am33_iorsi3, *mn10300_iorsi3): Merge...
2965 (iorsi3): ... here.
2966 (*iorsi3_flags): New.
2967 (*am33_xorsi3, *mn10300_xorsi3): Merge...
2968 (xorsi3): ... here.
2969 (*xorsi3_flags): New.
2970 (*am33_cmpsi2, *mn10300_cmplsi2): Merge...
2971 (one_cmplsi2): ... here.
2972 (*one_cmplsi2_flags): New.
2973 (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r"
2974 instead of "dax" in constraints. Use mn10300_split_cbranch.
2975 (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not
2976 use matching constraints to eliminate a self-comparison.
2977 (*integer_conditional_branch): Rename from integer_conditional_branch.
2978 Use int_mode_flags to match CC_REG.
2979 (*cbranchsi4_btst, *btstsi): New.
2980 (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use
2981 mn10300_split_cbranch.
2982 (*am33_cmpsf): Rename from am33_cmpsf.
2983 (*float_conditional_branch): Rename from float_conditional_branch.
2984 (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge...
2985 (zero_extendqisi2): ... here.
2986 (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge...
2987 (zero_extendhisi2): ... here.
2988 (*extendqisi2_am33, *extendqisi2_mn10300): Merge...
2989 (extendqisi2): ... here.
2990 (*extendhisi2_am33, *extendhisi2_mn10300): Merge...
2991 (extendhisi2): ... here.
2992 (*am33_ashlsi3, *mn10300_ashlsi3): Merge...
2993 (ashlsi3): ... here.
2994 (*am33_lshrsi3, *mn10300_lshrsi3): Merge...
2995 (lshrsi3): ... here.
2996 (*am33_ashrisi3, *mn10300_ashrsi3): Merge...
2997 (ashrsi3): ... here.
2998 (consecutive add peephole): Remove.
2999 * config/mn10300/predicates.md (label_ref_operand): New.
3000 (int_mode_flags): New.
3001 (CCZN_comparison_operator): New.
3002
9efb4993
RH
3003 * config/mn10300/mn10300.md (UNSPEC_EXT): New.
3004 (throughput_42_latency_43): New reservation.
3005 (mulsidi3, umulsidi3): New expanders.
3006 (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose
3007 the MDR register to allocation; separately allocate the low and
3008 high parts of the DImode result.
3009 (umulsidi3_internal): Similarly.
3010 (*am33_mulsi3, *mn10300_mulsi3): Merge into ...
3011 (*mulsi3): ... here. Clobber MDR as a scratch as necessary.
3012 (udivsi3, umodsi3): Remove.
3013 (udivmodsi4, divmodsi4): New expanders.
3014 (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly.
3015 (*divmodsi4): Simiarly.
3016 (ext_internal): New.
3017
c25a21f5
RH
3018 * config/mn10300/constraints.md ("z"): New constraint.
3019 * config/mn10300/mn10300.h (MDR_REGNUM): Remove.
3020 (FIXED_REGISTERS): Don't fix MDR.
3021 (CALL_USED_REGSITERS): Reformat nicely.
3022 (REG_ALLOC_ORDER): Add MDR.
3023 (enum regclass): Add MDR_REGS.
3024 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match.
3025 (IRA_COVER_CLASSES): Add MDR_REGS.
3026 (REGNO_REG_CLASS): Handle MDR_REG.
3027 * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS.
3028 (mn10300_register_move_cost): Likewise.
3029 * config/mn10300/mn10300.md (MDR_REG): New.
3030 (*movsi_internal): Handle moves to/from MDR_REGS.
3031
36846b26
RH
3032 * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle
3033 POST_MODIFY.
3034 (mn10300_secondary_reload): Tidy combination reload classes.
3035 (mn10300_legitimate_address_p): Allow post-modify and reg+reg
3036 addresses for AM33. Allow symbolic offsets for reg+imm.
3037 (mn10300_regno_in_class_p): New.
3038 (mn10300_legitimize_reload_address): New.
3039 * config/mn10300/mn10300.h (enum reg_class): Remove
3040 DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS,
3041 SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add
3042 SP_OR_GENERAL_REGS.
3043 (REG_CLASS_NAMES): Update to match.
3044 (REG_CLASS_CONTENTS): Likewise.
3045 (INDEX_REG_CLASS): Use GENERAL_REGS for AM33.
3046 (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33.
3047 (REGNO_IN_RANGE_P): Remove.
3048 (REGNO_DATA_P): Use mn10300_regno_in_class_p.
3049 (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise.
3050 (REGNO_STRICT_OK_FOR_BASE_P): Likewise.
3051 (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise.
3052 (REGNO_STRICT_OK_FOR_INDEX_P): Likewise.
3053 (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove.
3054 (REGNO_GENERAL_P): New.
3055 (HAVE_POST_MODIFY_DISP): New.
3056 (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New.
3057 (LEGITIMIZE_RELOAD_ADDRESS): New.
3058 * config/mn10300/mn10300-protos.h: Update.
3059
8b119bb6
RH
3060 * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow
3061 DATA_REGS for AM33 stack-pointer destination.
3062 (mn10300_preferred_output_reload_class): Likewise.
3063 (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class
3064 into a form appropriate for ...
3065 (TARGET_SECONDARY_RELOAD): New.
3066 * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove.
3067 * config/mn10300/mn10300-protos.h: Update.
3068 * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from
3069 reload_insi; use the "A" constraint for the scratch; handle AM33
3070 moves of sp to non-address registers.
3071
b1efde2a
RH
3072 * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into
3073 (*movqi_internal): ... here.
3074 (*am33_movhi, *mn10300_movhi): Merge into...
3075 (*movhi_internal): ... here.
3076 (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A"
3077 as the source/destination of moves from/to SP.
3078 (movsf): Only allow for AM33-2.
1c3ba85b 3079 (*movsf_internal): Use "r" instead of "dax"; use "F" instead of
b1efde2a
RH
3080 any integer constant constraint. Only allow for AM33-2. Tidy
3081 all of the alternative outputs.
3082 (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove.
3083 (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow
3084 for MN103.
3085 (udivsi3, umodsi3): New patterns for MN103 only.
3086
b899fd78
JR
30872011-01-19 Joern Rennecke <amylaar@spamcop.net>
3088
3089 * doc/tm.texi.in: Spell out that a lack of register class unions
3090 can lead to ICEs.
3091 * doc/tm.texi: Regenerate.
3092
afaaa67d
JJ
30932011-01-19 Jakub Jelinek <jakub@redhat.com>
3094
2e0642cd
JJ
3095 PR rtl-optimization/47337
3096 * dce.c (check_argument_store): New function.
3097 (find_call_stack_args): Ignore debug insns. Use check_argument_store.
3098
afaaa67d
JJ
3099 PR tree-optimization/47290
3100 * tree-eh.c (infinite_empty_loop_p): New function.
3101 (cleanup_empty_eh): Use it.
3102
d2cd871f
SE
31032011-01-18 Steve Ellcey <sje@cup.hp.com>
3104
3105 PR target/46997
3106 * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
3107 (a64_expand_widen_sum): Ditto.
3108 * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
3109 (vec_extract_evenodd_help): Ditto.
3110 (vec_extract_evenv4hi): Ditto.
3111 (vec_extract_oddv4hi): Ditto.
3112 (vec_extract_evenv2si): Ditto.
3113 (vec_extract_oddv2si): Ditto.
3114 (vec_extract_evenv2sf): Ditto.
3115 (vec_extract_oddv2sf): Ditto.
3116 (vec_pack_trunc_v4hi: Ditto.
3117 (vec_pack_trunc_v2si): Ditto.
3118 (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
3119 (vec_interleave_highv8qi): Ditto.
3120 (mix1_r): Ditto.
3121 (vec_extract_oddv8qi): Ditto.
3122 (vec_interleave_lowv4hi): Ditto.
3123 (vec_interleave_highv4hi): Ditto.
3124 (vec_interleave_lowv2si): Ditto.
3125 (vec_interleave_highv2si): Ditto.
3126
41a1208a
JDA
31272011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3128
3129 * doc/extend.texi: Mention __float128 support on hppa HP-UX.
3130 * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
3131 * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h".
3132 (pa_c_mode_for_suffix): New.
3133 (TARGET_EXPAND_BUILTIN): Define.
3134 (TARGET_C_MODE_FOR_SUFFIX): Define.
3135 (pa_builtins): Define.
3136 (pa_init_builtins): Register __float128 type and init new support
3137 builtins.
3138 * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
3139 * config/pa/quadlib.c (_U_Qfcopysign): New.
3140
1ecad98e
EB
31412011-01-18 Eric Botcazou <ebotcazou@adacore.com>
3142
3143 PR middle-end/46894
3144 * explow.c (allocate_dynamic_stack_space): Do not assume more than
3145 BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET
3146 are defined.
3147
d4f2460a
UW
31482011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3149
3150 PR tree-optimization/47179
3151 * config/spu/spu.c (spu_ref_may_alias_errno): New function.
3152 (TARGET_REF_MAY_ALIAS_ERRNO): Define.
3153
4994da65
RG
31542011-01-18 Richard Guenther <rguenther@suse.de>
3155
3156 PR rtl-optimization/47216
3157 * emit-rtl.c: Include tree-flow.h.
3158 (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead
3159 of replicating it with different semantics.
3160 * Makefile.in (emit-rtl.o): Adjust.
3161
1eb458d1
RR
31622011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3163
38be4072 3164 * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include.
61052244 3165 (cortex_a9_dp): Handle neon types correctly.
1eb458d1 3166
e7ef91dc
JJ
31672011-01-18 Jakub Jelinek <jakub@redhat.com>
3168
3169 PR rtl-optimization/47299
3170 * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
38be4072 3171 subtarget. Use normal multiplication if both operands are constants.
e7ef91dc
JJ
3172 * expmed.c (expand_widening_mult): Don't try to optimize constant
3173 multiplication if op0 has VOIDmode. Convert op1 constant to mode
3174 before using it.
3175
535b7874
RW
31762011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3177
3178 * doc/lto.texi (LTO): Ensure two spaces after period. Fix
3179 spacing after 'e.g.', typos, comma, hyphenation.
3180
27bf36f3
RH
31812011-01-17 Richard Henderson <rth@redhat.com>
3182
8a5b5449
RH
3183 * config/rx/predicates.md (rx_constshift_operand): Use match_test.
3184 (rx_restricted_mem_operand): New.
3185 (rx_shift_operand): Use register_operand.
3186 (rx_source_operand, rx_compare_operand): Likewise.
3187 * config/rx/rx.md (addsi3_flags): New expander.
3188 (adddi3): Rewrite as expander.
3189 (adc_internal, *adc_flags, adddi3_internal): New patterns.
3190 (subsi3_flags): New expander.
3191 (subdi3): Rewrite as expander.
3192 (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
3193
784f69be
RH
3194 * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
3195 (rx_init_builtins): Remove sat builtin.
3196 (rx_expand_builtin): Likewise.
3197 * config/rx/rx.md (ssaddsi3): New.
3198 (*sat): Rename from sat. Represent the CC_REG input.
3199
f033541c
RH
3200 * config/rx/predicates.md (rshift_operator): New.
3201 * config/rx/rx.c (rx_expand_insv): Remove.
3202 * config/rx/rx-protos.h: Update.
3203 * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift
3204 operand to the canonical position.
3205 (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
3206 (*bitclr, *bitclr_in_memory): Similarly.
3207 (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
3208 (insv): Retain the zero_extract in the expansion.
3209
34fee389
RH
3210 * config/rx/rx.md (bswapsi2): Use = not + for output reload.
3211 (bswaphi2, bitinvert, revw): Likewise.
3212
265c835f
RH
3213 * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
3214 (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
3215 * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
3216 (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
3217 (bitset, bitset_in_memory): Likewise.
3218 (bitinvert, bitinvert_in_memory): Likewise.
3219 (bitclr, bitclr_in_memory): Likewise.
3220 (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
3221 (rx_strend, rx_cmpstrn): Likewise.
3222 (rx_setmem): Likewise. Make the source BLKmode to match the dest.
3223 (bitop peep2 patterns): Remove.
3224
b4d83be3
RH
3225 * config/rx/rx.c (rx_match_ccmode): New.
3226 * config/rx/rx-protos.h: Update.
3227 * config/rx/rx.md (abssi2): Clobber, don't set flags.
3228 (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
3229 (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
3230 (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
3231 (fix_truncsfsi2, floatsisf2): Likewise.
3232 (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
3233 (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
3234 (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
3235 (*subsi3_flags, *xorsi3_flags): New.
3236
d0acb939
RH
3237 * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
3238
c06fc3d9
RH
3239 * config/rx/rx.c (rx_print_operand): Remove workaround for
3240 unsplit comparison operations.
3241
2882702b
RH
3242 * config/rx/rx.md (movsicc): Split after reload.
3243 (*movsicc): Merge *movsieq and *movsine via match_operator.
3244 (*stcc): New pattern.
3245
6f7310f2
RH
3246 * config/rx/rx.c (rx_float_compare_mode): Remove.
3247 * config/rx/rx.h (rx_float_compare_mode): Remove.
3248 * config/rx/rx.md (cstoresi4): Split after reload.
3249 (*sccc): New pattern.
3250
e963cb1a
RH
3251 * config/rx/predicates.md (label_ref_operand): New.
3252 (rx_z_comparison_operator): New.
3253 (rx_zs_comparison_operator): New.
3254 (rx_fp_comparison_operator): New.
3255 * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
3256 Validate that the flags are set properly for the comparison.
3257 (rx_gen_cond_branch_template): Remove.
3258 (rx_cc_modes_compatible): Remove.
3259 (mode_from_flags): New.
3260 (flags_from_code): Rename from flags_needed_for_conditional.
3261 (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
3262 (rx_select_cc_mode): Likewise.
3263 (rx_split_fp_compare): New.
3264 (rx_split_cbranch): New.
3265 * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
3266 (*cbranchsi4): Use match_operator and rx_split_cbranch.
3267 (*cbranchsf4): Similarly.
3268 (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use
3269 match_operator and rx_split_cbranch.
3270 (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
3271 tstbranchsi4m_ne. Use match_operator and rx_split_cbranch.
3272 (*cmpsi): Rename from cmpsi.
3273 (*tstsi): Rename from tstsi.
3274 (*cmpsf): Rename from cmpsf; use CC_Fmode.
3275 (*conditional_branch): Rename from conditional_branch.
3276 (*reveresed_conditional_branch): Remove.
3277 (b<code>): Remove expander.
3278 * config/rx/rx-protos.h: Update.
3279
af530bb4
RH
3280 * config/rx/rx.c (rx_compare_redundant): Remove.
3281 * config/rx/rx.md (cmpsi): Don't use it.
3282 * config/rx/rx-protos.h: Update.
3283
27bf36f3
RH
3284 * config/rx/rx-modes.def (CC_F): New mode.
3285 * config/rx/rx.c (rx_select_cc_mode): New.
3286 * config/rx/rx.h (SELECT_CC_MODE): Use it.
3287 * config/rx/rx-protos.h: Update.
3288
d7fde127
RH
32892011-01-17 Richard Henderson <rth@redhat.com>
3290
3291 * except.c (dump_eh_tree): Fix stray ; after for statement.
3292
6ff38230
RG
32932011-01-17 Richard Guenther <rguenther@suse.de>
3294
3295 PR tree-optimization/47313
3296 * tree-inline.c (tree_function_versioning): Move DECL_RESULT
3297 handling before copying the body. Properly deal with
3298 by-reference result in SSA form.
3299
114ce554
ILT
33002011-01-17 Ian Lance Taylor <iant@google.com>
3301
bf5cd92b 3302 PR target/47219
114ce554
ILT
3303 * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
3304 (struct_value_alias_set): Don't define.
3305 (sparc_option_override): Don't set sparc_sr_alias_set and
3306 struct_value_alias_set.
3307 (save_or_restore_regs): Use gen_frame_mem rather than calling
3308 set_mem_alias_set.
3309 (sparc_struct_value_rtx): Likewise.
3310
98c6d93c
L
33112011-01-17 H.J. Lu <hongjiu.lu@intel.com>
3312
3313 PR target/47318
3314 * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
3315 __m128i.
3316 (_mm_maskstore_pd): Likewise.
3317 (_mm_maskload_ps): Likewise.
3318 (_mm_maskstore_ps): Likewise.
3319 (_mm256_maskload_pd): Change mask to __m256i.
3320 (_mm256_maskstore_pd): Likewise.
3321 (_mm256_maskload_ps): Likewise.
3322 (_mm256_maskstore_ps): Likewise.
3323
3324 * config/i386/i386-builtin-types.def: Updated.
3325 (ix86_expand_special_args_builtin): Likewise.
3326
3327 * config/i386/i386.c (bdesc_special_args): Update
3328 __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
3329 __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
3330 __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
3331 __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
3332
3333 * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
3334 Use <avxpermvecmode> on mask register.
3335 (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
3336
b9361af2 33372011-01-17 Olivier Hainque <hainque@adacore.com>
61052244
AM
3338 Michael Haubenwallner <michael.haubenwallner@salomon.at>
3339 Eric Botcazou <ebotcazou@adacore.com>
b9361af2
OH
3340
3341 PR target/46655
3342 * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
3343 if <= USHRT_MAX in 32-bit mode.
3344
b7ae9eb5
RW
33452011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3346
3347 * doc/install.texi (Configuration, Specific): Wrap long
3348 lines in examples. Allow line wrapping in long options
3349 and URLs where beneficial for PDF output.
3350
4377fad9
RS
33512011-01-16 Richard Sandiford <rdsandiford@googlemail.com>
3352
3353 * config/mips/mips.c (mips_classify_symbol): Don't return
3354 SYMBOL_PC_RELATIVE for nonlocal labels.
3355
55959ffa 33562011-01-15 Eric Botcazou <ebotcazou@adacore.com>
be46831f 3357
55959ffa
EB
3358 * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
3359
33602011-01-15 Jan Hubicka <jh@suse.cz>
3361
3362 PR tree-optimization/47276
be46831f
JH
3363 * ipa.c (function_and_variable_visibility): Do not try to mark alias
3364 declarations as needed.
3365
05842ff5
MJ
33662011-01-15 Martin Jambor <mjambor@suse.cz>
3367
3368 * common.opt (fdevirtualize): New flag.
3369 * doc/invoke.texi (Option Summary): Document it.
3370 * opts.c (default_options_table): Add devirtualize flag.
3371 * ipa-prop.c (detect_type_change): Return immediately if
3372 devirtualize flag is not set.
3373 (detect_type_change_ssa): Likewise.
3374 (compute_known_type_jump_func): Likewise.
3375 (ipa_analyze_virtual_call_uses): Likewise.
3376
f65cf2b7
MJ
33772011-01-14 Martin Jambor <mjambor@suse.cz>
3378
3379 PR tree-optimization/45934
3380 PR tree-optimization/46302
3381 * ipa-prop.c (type_change_info): New type.
3382 (stmt_may_be_vtbl_ptr_store): New function.
3383 (check_stmt_for_type_change): Likewise.
3384 (detect_type_change): Likewise.
3385 (detect_type_change_ssa): Likewise.
3386 (compute_complex_assign_jump_func): Check for dynamic type change.
3387 (compute_complex_ancestor_jump_func): Likewise.
3388 (compute_known_type_jump_func): Likewise.
3389 (compute_scalar_jump_functions): Likewise.
3390 (ipa_analyze_virtual_call_uses): Likewise.
3391 (ipa_analyze_node): Push and pop cfun, set current_function_decl.
3392
eb5bb0fd
JM
33932011-01-14 Joseph Myers <joseph@codesourcery.com>
3394
3395 * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
3396 * config/i386/i386.opt (msse5): New Alias.
3397
f2060fbe
JM
33982011-01-14 Joseph Myers <joseph@codesourcery.com>
3399
3400 * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
3401 * config/sparc/linux64.h (CC1_SPEC): Likewise.
3402 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
3403 * config/sparc/sparc.h (CC1_SPEC): Likewise.
3404
3a7b4385
JM
34052011-01-14 Joseph Myers <joseph@codesourcery.com>
3406
3407 * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
3408 -mcpu options.
3409 * config/sparc/linux64.h (CC1_SPEC): Likewise.
3410 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
3411 * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
3412 * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
3413 Likewise.
3414 * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
3415
a7b778f8
JM
34162011-01-14 Joseph Myers <joseph@codesourcery.com>
3417
38be4072 3418 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi.
a7b778f8 3419
a7edae0a
MS
34202011-01-14 Mike Stump <mikestump@comcast.net>
3421
3422 * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
3423 * config/fr30/fr30.md: Likweise
3424 (movsi_push): Likewise.
3425 (movsi_pop): Likewise.
3426 (enter_func): Likewise.
3427 * config/moxie/moxie.md (movsi_push): Likewise.
3428 (movsi_pop): Likewise.
3429
cbabf03f
JM
34302011-01-14 Joseph Myers <joseph@codesourcery.com>
3431
3432 * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
3433 %{no_archive} %{exact_version}.
3434 * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
3435 * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
3436 %{no_archive} %{exact_version}.
3437 * config/mips/openbsd.h (LINK_SPEC): Likewise.
3438 * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
3439 * config/mips/vxworks.h: Likewise.
3440
438da41a
JM
34412011-01-14 Joseph Myers <joseph@codesourcery.com>
3442
38be4072 3443 * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}.
438da41a 3444
da290a42
JM
34452011-01-14 Joseph Myers <joseph@codesourcery.com>
3446
3447 * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
3448 ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
3449
8989d00e
JM
34502011-01-14 Joseph Myers <joseph@codesourcery.com>
3451
3452 * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
3453 -nodefaultlib.
3454
a3010a69
JM
34552011-01-14 Joseph Myers <joseph@codesourcery.com>
3456
3457 * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
3458 for mcpu not cpu.
3459 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
3460 CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
3461 not cpu.
3462 (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
3463 Don't handle -shlib.
3464
e7f2f537
JM
34652011-01-14 Joseph Myers <joseph@codesourcery.com>
3466
3467 * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
3468 (CC1_SPEC): Don't handle -profile.
3469
34830bfd
JM
34702011-01-14 Joseph Myers <joseph@codesourcery.com>
3471
3472 * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
3473 * config/mips/mips.h (CC1_SPEC): Likewise.
3474
b2d36e74
JM
34752011-01-14 Joseph Myers <joseph@codesourcery.com>
3476
3477 * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
3478 * config/mips/mips.h (CC1_SPEC): Likewise.
3479
dabadc52
JM
34802011-01-14 Joseph Myers <joseph@codesourcery.com>
3481
3482 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
3483 * config/m32r/linux.h (LINK_SPEC): Likewise.
3484 * config/mips/linux.h (LINK_SPEC): Likewise.
3485 * config/mips/linux64.h (LINK_SPEC): Likewise.
3486 * config/sparc/linux.h (LINK_SPEC): Likewise.
3487 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
3488 LINK_SPEC): Likewise.
3489 * config/xtensa/linux.h (LINK_SPEC): Likewise.
3490
43ee6785
JM
34912011-01-14 Joseph Myers <joseph@codesourcery.com>
3492
3493 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
3494 %{version:-v}.
3495 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
3496
45e79dfd
JM
34972011-01-14 Joseph Myers <joseph@codesourcery.com>
3498
3499 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
3500 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
3501
37e9e71d
JM
35022011-01-14 Joseph Myers <joseph@codesourcery.com>
3503
3504 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
3505
bb127cd8
RO
35062011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3507
3508 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
3509 supports -Bstatic/-Bdynamic.
3510 * configure: Regenerate.
3511
89a012ea 35122011-01-14 Jan Hubicka <jh@suse.cz>
509d65dd 3513 Jack Howarth <howarth@bromo.med.uc.edu>
89a012ea
JH
3514
3515 PR target/46037
3516 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
3517 when checking debug_info_level. Test write_symbols instead of
3518 debug_hooks->var_location when setting flag_var_tracking_uninit.
3519
7352c013
RG
35202011-01-14 Richard Guenther <rguenther@suse.de>
3521
3522 PR tree-optimization/47179
3523 * target.def (ref_may_alias_errno): New target hook.
3524 * targhooks.h (default_ref_may_alias_errno): Declare.
3525 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
3526 (default_ref_may_alias_errno): New function.
3527 * target.h (struct ao_ref_s): Declare.
3528 * tree-ssa-alias.c: Include target.h.
3529 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
3530 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
3531 (targhooks.o): Likewise.
3532 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
3533 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
3534
9a6c9288
RG
35352011-01-14 Richard Guenther <rguenther@suse.de>
3536
3537 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
3538
0fdb0d27
RG
35392011-01-14 Richard Guenther <rguenther@suse.de>
3540
3541 PR tree-optimization/47280
3542 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
3543 return CFG changes.
3544 (tree_ssa_forward_propagate_single_use_vars): Deal with
3545 CFG changes from associate_plusminus.
3546
8f66db3b
RG
35472011-01-14 Richard Guenther <rguenther@suse.de>
3548
3549 PR middle-end/47281
3550 Revert
3551 2011-01-11 Richard Guenther <rguenther@suse.de>
3552
280d9630
EB
3553 PR tree-optimization/46076
3554 * tree-ssa.c (useless_type_conversion_p): Conversions from
3555 unprototyped to empty argument list function types are useless.
8f66db3b 3556
6c0c92e6
RG
35572011-01-14 Richard Guenther <rguenther@suse.de>
3558
3559 PR tree-optimization/47286
280d9630 3560 * tree-ssa-structalias.c (new_var_info): Register variables are global.
6c0c92e6 3561
db09f943
MJ
35622011-01-14 Martin Jambor <mjambor@suse.cz>
3563
3564 PR middle-end/46823
3565 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
3566
dde8a3a4
AS
35672011-01-13 Anatoly Sokolov <aesok@post.ru>
3568
3569 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
3570 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
3571 * config/xtensa/xtensa.c (xtensa_libcall_value,
3572 xtensa_function_value_regno_p): New functions.
3573 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
3574
a2b63a20
KT
35752011-01-13 Kai Tietz <kai.tietz@onevision.com>
3576
3577 PR c++/47213
3578 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
3579 PE specific hook.
3580 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
3581 New function prototype.
3582 * config/i386/winnt.c (i386_pe_assemble_visibility):
3583 Warn only if attribute was specified by user.
3584
b41f0b34
MM
35852011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3586
3587 PR target/47251
3588 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
3589 floating point.
3590 (floatunsdidf2_fcfidu): Ditto.
3591
3f3c098d
AK
35922011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3593
3594 * config/s390/s390.c (print_operand_address): Replace 'error' with
3595 'output_operand_lossage'.
3596 (print_operand): Likewise.
3597
29fa95ed
JL
35982011-01-13 Jeff Law <law@redhat.com>
3599
280d9630 3600 PR rtl-optimization/39077
29fa95ed
JL
3601 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
3602 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
3603 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
3604 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
3605 * gcse.c (prune_insertions_deletions): New function.
3606 (compute_pre_data): Use it.
3607
71d12276
DS
36082011-01-13 Dodji Seketeli <dodji@redhat.com>
3609
3610 PR debug/PR46973
3611 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
3612 static function.
61052244 3613 (prune_unused_types_mark): Use it.
71d12276 3614
9b0f04e7
AB
36152011-01-13 Andrey Belevantsev <abel@ispras.ru>
3616
3617 PR rtl-optimization/45352
1c3ba85b 3618 * sel-sched.c: Update copyright years.
9b0f04e7 3619 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
1c3ba85b 3620 in the advancing loop when we have issued issue_rate insns.
9b0f04e7 3621
d6a3e264
RH
36222011-01-12 Richard Henderson <rth@redhat.com>
3623
a49b692a
RH
3624 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
3625 (TARGET_MD_ASM_CLOBBERS): New.
3626
126b1483
RH
3627 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
3628 (TARGET_DELEGITIMIZE_ADDRESS): New.
3629
f3d9d2e0
RH
3630 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
3631 (clzsi2, *bsch): New patterns.
3632
d84760c9
RH
3633 * config/mn10300/mn10300.md (INT): New mode iterator.
3634 (*mov<INT>_clr): New pattern, and peep2 to generate it.
3635
ec815d65
RH
3636 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
3637 flag_split_wide_types.
3638
d6a3e264
RH
3639 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
3640 (mn10300_trampoline_init): Rewrite without a template, an immediate
3641 load and a direct branch.
3642 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
3643
0f8ab434
AS
36442011-01-12 Anatoly Sokolov <aesok@post.ru>
3645
3646 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
3647 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
3648 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
3649 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
3650
d8a24b65
KT
36512011-01-12 Kai Tietz <kai.tietz@onevision.com>
3652
3653 PR debug/47209
3654 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
3655 of type.
3656
56e22cab
JH
36572011-01-12 Jan Hubicka <jh@suse.cz>
3658
3659 PR driver/47244
3660 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
3661 (PLUGIN_COND_CLOSE): New macro.
3662 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
3663
4b18b3c2
RG
36642011-01-12 Richard Guenther <rguenther@suse.de>
3665
3666 PR lto/47259
3667 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
3668 register variables in a MEM_REF.
3669
8e38461c
JM
36702011-01-12 Joseph Myers <joseph@codesourcery.com>
3671
3672 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
3673 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
3674 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
3675 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
3676 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
3677 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
3678 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
3679 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
3680 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
3681 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
3682 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
3683 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
3684 * config/gnu-user.h: New. Copied from linux.h.
3685 (LINUX_TARGET_STARTFILE_SPEC): Rename to
3686 GNU_USER_TARGET_STARTFILE_SPEC.
3687 (LINUX_TARGET_ENDFILE_SPEC): Rename to
3688 GNU_USER_TARGET_ENDFILE_SPEC.
3689 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
3690 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
3691 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
3692 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
3693 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
3694 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
3695 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
3696 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
3697 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
3698 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
3699 * config/arm/linux-eabi.h (CC1_SPEC): Use
3700 GNU_USER_TARGET_CC1_SPEC.
3701 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
3702 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
3703 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
3704 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
3705 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
3706 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
3707 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
3708 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
3709
a570fc16
RG
37102011-01-12 Richard Guenther <rguenther@suse.de>
3711
3712 PR other/46946
3713 * doc/invoke.texi (ffast-math): Document it is turned on
3714 with -Ofast.
3715
b0223c3e
JH
37162011-01-12 Jan Hubicka <jh@suse.cz>
3717
3718 PR tree-optimization/47233
ca1e00b3
EB
3719 * opts.c (common_handle_option): Disable ipa-reference with profile
3720 feedback.
b0223c3e 3721
1c3ba85b 37222011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
d853ee42
NP
3723
3724 * c-parser.c (c_parser_objc_at_property_declaration): Improved
ca1e00b3
EB
3725 error message.
3726
d853ee42
NP
37272011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
3728
3729 * c-parser.c (c_lex_one_token): Updated and reindented some
3730 comments. No changes in code.
3731
4053a5a0
ILT
37322011-01-11 Ian Lance Taylor <iant@google.com>
3733
3734 * godump.c (go_output_var): Don't output the variable if there is
3735 already a type with the same name.
3736
fa3e04d2
ILT
37372011-01-11 Ian Lance Taylor <iant@google.com>
3738
3739 * godump.c (go_format_type): Don't generate float80.
3740
885fe07c
RH
37412011-01-11 Richard Henderson <rth@redhat.com>
3742
72d6e3c5
RH
3743 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
3744 declaration. Rewrite for both speed and size.
3745 (mn10300_address_cost_1): Remove.
3746 (mn10300_register_move_cost): New.
3747 (mn10300_memory_move_cost): New.
3748 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
3749 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
3750 extensions, shifts, BSWAP, CLZ.
3751 (mn10300_wide_const_load_uses_clr): Remove.
3752 (TARGET_REGISTER_MOVE_COST): New.
3753 (TARGET_MEMORY_MOVE_COST): New.
3754 * config/mn10300/mn10300-protos.h: Update.
3755 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
3756
df37c023
RH
3757 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
3758 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
3759 * config/mn10300/mn10300-protos.h: Update.
3760 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
3761 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
3762 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
3763 (*test_int_bitfield, *test_byte_bitfield): Remove.
3764 (*bit_test, *subreg_bit_test): Remove.
62d3f9b2 3765 * config/mn10300/predicates.md (const_8bit_operand): Remove.
df37c023 3766
85a337b5
RH
3767 * config/mn10300/constraints.md ("c"): Rename from "A".
3768 ("A", "D"): New constraint letters.
3769 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
3770 (fmssf4, fnmasf4, fnmssf4): Likewise.
3771
a5c727e3
RH
3772 * config/mn10300/mn10300.md (isa): New attribute.
3773 (enabled): New attribute.
3774
0d9e23f4
RH
3775 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
3776 (abssf2, negsf2): Define only for hardware fp.
3777 (sqrtsf2): Reformat.
3778 (addsf3, subsf3, mulsf3): Merge expander and insn.
3779
c157b3f0
RH
3780 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
3781 (DEBUGGER_AUTO_OFFSET): Remove.
3782 (DEBUGGER_ARG_OFFSET): Remove.
3783
cc909bba
RH
3784 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
3785 Emit register stores with the same offsets as the hardware.
3786 (mn10300_store_multiple_operation): Don't check that the register
3787 save offsets are monotonic.
3788 * config/mn10300/mn10300-protos.h: Update.
3789
e3b5c2f3
RH
3790 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
3791
885fe07c
RH
3792 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
3793 in terms of the value on the stack, not the MDR register.
3794
6e701822
JH
37952011-01-11 Jan Hubicka <jh@suse.cz>
3796
3797 PR lto/45721
3798 PR lto/45375
3799 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
3800 (symbol_alias_set_destroy, symbol_alias_set_contains,
3801 propagate_aliases_backward): Declare.
3802 * lto-streamer-out.c (struct sets): New sturcture.
3803 (trivally_defined_alias): New function.
3804 (output_alias_pair_p): Rewrite.
3805 (output_unreferenced_globals): Fix output of alias pairs.
3806 (produce_symtab): Likewise.
3807 * ipa.c (function_and_variable_visibility): Set weak alias destination
3808 as needed in lto.
3809 * varasm.c (symbol_alias_set_t): Remove.
3810 (symbol_alias_set_destroy): Export.
3811 (propagate_aliases_forward, propagate_aliases_backward): New functions
3812 based on ...
3813 (compute_visible_aliases): ... this one; remove.
3814 (trivially_visible_alias): New
3815 (trivially_defined_alias): New.
3816 (remove_unreachable_alias_pairs): Rewrite.
3817 (finish_aliases_1): Reorganize code checking if alias is defined.
3818 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
3819 in LTO mode.
3820
1b248907
RG
38212011-01-11 Richard Guenther <rguenther@suse.de>
3822
3823 PR tree-optimization/46076
3824 * tree-ssa.c (useless_type_conversion_p): Conversions from
3825 unprototyped to empty argument list function types are useless.
3826
b1923f0a
RG
38272011-01-11 Richard Guenther <rguenther@suse.de>
3828
3829 PR middle-end/45235
3830 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
3831 volatile MEMs as MEM_READONLY_P.
3832
e98965af
RG
38332011-01-11 Richard Guenther <rguenther@suse.de>
3834
3835 PR tree-optimization/47239
3836 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
3837
9f9ca914
JL
38382011-01-11 Jeff Law <law@redhat.com>
3839
1ee3ea05 3840 PR tree-optimization/47086
9f9ca914
JL
3841 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
3842 IVs from statements that might throw.
3843
345fdcb7
JH
38442011-01-10 Jan Hubicka <jh@suse.cz>
3845
3846 PR lto/45375
3847 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
3848
c459c97b
JH
38492011-01-10 Jan Hubicka <jh@suse.cz>
3850
3851 PR lto/45375
3852 * profile.c (read_profile_edge_counts): Ignore profile inconistency
3853 when correcting profile.
3854
06c9eb51
JH
38552011-01-10 Jan Hubicka <jh@suse.cz>
3856
3857 PR lto/46083
3858 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
3859 DECL_FINI_PRIORITY.
3860 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
3861 Restore DECL_FINI_PRIORITY.
3862
ae9fd815
RW
38632011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3864
3865 * doc/gimple.texi: Fix quoting of multi-word return values in
3866 @deftypefn statements. Ensure presence of return value. Wrap
3867 overlong @deftypefn lines.
3868 (is_gimple_operand, is_gimple_min_invariant_address): Remove
3869 descriptions of removed functions.
3870 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
3871 of multi-word return value in @deftypefn statement.
3872
0ecb4a7c
RW
38732011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3874
3875 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
3876 (Conditional Expressions, Logical Operators)
3877 (Statement and operand traversals): Do not indent smallexample
3878 code. Fix duplicate function argument in example.
3879
2e5e346d
JL
38802011-01-10 Jeff Law <law@redhat.com>
3881
1ee3ea05 3882 PR tree-optimization/47141
2e5e346d
JL
3883 * ipa-split.c (split_function): Handle case where we are
3884 returning a value and the return block has a virtual operand phi.
3885
cf9712cc
JH
38862011-01-10 Jan Hubicka <jh@suse.cz>
3887
1c3ba85b 3888 PR tree-optimization/47234
cf9712cc
JH
3889 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
3890 (pass_feedback_split_functions): Declare.
3891 * passes.c (init_optimization_passes): Add ipa-split as subpass of
3892 tree-profile.
3893 * ipa-split.c (gate_split_functions): Update comments; disable
3894 split-functions for profile_arc_flag and branch_probabilities.
3895 (gate_feedback_split_functions): New function.
3896 (execute_feedback_split_functions): New function.
3897 (pass_feedback_split_functions): New global var.
3898
94cd932c
L
38992011-01-10 H.J. Lu <hongjiu.lu@intel.com>
3900
3901 PR lto/46760
3902 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
3903 calling gimple_call_set_cannot_inline.
3904
fbbfcaf1
IS
39052011-01-10 Iain Sandoe <iains@gcc.gnu.org>
3906
3907 * config/darwin-sections.def: Remove unused section.
3908
d06865bf
DK
39092011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
3910
3911 PR c++/47218
3912 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
3913
96bbfbac
NP
39142011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
3915
3916 PR objc/47232
3917 * c-parser.c (c_parser_declaration_or_fndef): Improved
3918 error message.
3919
1ba6516f
KT
39202011-01-09 Kai Tietz <kai.tietz@onevision.com>
3921
3922 * config/i386/winnt.c (i386_pe_start_function): Make sure
3923 to switch back to function's section.
3924
0c5d770e
IS
39252011-01-09 Iain Sandoe <iains@gcc.gnu.org>
3926
3927 PR gcc/46902
3928 PR testsuite/46912
3929 * plugin.c: Move include of dlfcn.h from here...
3930 * system.h: ... to here.
3931
39322011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4ee1aa2a
RW
3933
3934 * doc/cpp.texi (C++ Named Operators): Fix markup for header
3935 file name.
3936 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
3937 two extra empty pages in PDF output.
3938
046608a3
NP
39392011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
3940
3941 PR objc/47078
3942 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
3943 for error recovery purposes behave as if it was not specified so
3944 that the default type is usd.
3945
8cb114b9
JH
39462011-01-07 Jan Hubicka <jh@suse.cz>
3947
3948 PR tree-optmization/46469
3949 * ipa.c (function_and_variable_visibility): Clear needed flags on
3950 nodes with external decls; handle weakrefs merging correctly.
3951
b294a75e
JM
39522011-01-07 Joseph Myers <joseph@codesourcery.com>
3953
3954 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
3955 not false.
3956
96bdf9b4
JH
39572011-01-07 Jan Hubicka <jh@suse.cz>
3958
3959 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
3960 and no longer claim that gold is required for linker plugin.
3961 * configure: Regenerate.
3962 * gcc.c (PLUGIN_COND): New macro.
3963 (LINK_COMMAND_SPEC): Use it.
3964 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
3965 * config.in (HAVE_LTO_PLUGIN): New.
3966 * configure.ac (--with-lto-plugin): New parameter; autodetect
3967 HAVE_LTO_PLUGIN.
3968
17afc0fe
JH
39692011-01-07 Jan Hubicka <jh@suse.cz>
3970
3971 PR tree-optimization/46367
3972 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
3973 when we can update original.
3974 (cgraph_mark_inline_edge): Sanity check.
3975 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
3976
d4c48c0f
UW
39772011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3978
3979 * config/spu/spu.h (ASM_COMMENT_START): Define.
3980
96f5b137
L
39812011-01-07 H.J. Lu <hongjiu.lu@intel.com>
3982
3983 PR driver/42445
3984 * gcc.c (%>S): New.
3985 (SWITCH_KEEP_FOR_GCC): Likewise.
3986 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
3987 (do_spec_1): Handle "%>".
3988
3989 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
3990
c6a8f6de
JJ
39912011-01-07 Jakub Jelinek <jakub@redhat.com>
3992
c21bbd7a
JJ
3993 PR target/47201
3994 * config/i386/i386.c (ix86_delegitimize_address): If
3995 simplify_gen_subreg fails, return orig_x.
3996
c6a8f6de
JJ
3997 PR bootstrap/47187
3998 * value-prof.c (gimple_stringop_fixed_value): Handle
3999 lhs of the call properly.
4000
fe95fbf9
JH
40012011-01-07 Jan Hubicka <jh@suse.cz>
4002
4003 PR lto/45375
4004 * lto-opt.c (lto_reissue_options): Set flag_shlib.
4005
14d11d40
IS
40062011-01-07 Iain Sandoe <iains@gcc.gnu.org>
4007
72e961c8
EB
4008 * target.def (function_switched_text_sections): New hook.
4009 * doc/tm.texi: Regenerated.
4010 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
14d11d40 4011 * final.c (default_function_switched_text_sections): New.
72e961c8
EB
4012 (final_scan_insn): Call function_switched_text_sections when a
4013 mid-function section change occurs.
14d11d40 4014 * output.h (default_function_switched_text_sections): Declare.
72e961c8
EB
4015 * config/darwin-protos.h (darwin_function_switched_text_sections):
4016 Likewise.
14d11d40 4017 * config/darwin.c (darwin_function_switched_text_sections): New.
72e961c8 4018 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
14d11d40 4019
0b764288
IS
40202011-01-07 Iain Sandoe <iains@gcc.gnu.org>
4021
4022 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
4023 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
4024 the secondary code fragment when outputting for DWARF == 2.
4025
2ac6bb04
AS
40262011-01-07 Anatoly Sokolov <aesok@post.ru>
4027
4028 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
4029 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
4030 Remove.
4031 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
4032 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
4033
9f82de11
EB
40342011-01-06 Eric Botcazou <ebotcazou@adacore.com>
4035
4036 PR debug/46704
280d9630
EB
4037 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
4038 when it is not empty.
9f82de11
EB
4039
40402011-01-06 Changpeng Fang <changpeng.fang@amd.com>
14b52538 4041
1ed72abf 4042 Bobcat Enablement
14b52538 4043 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
1ed72abf 4044 (case ${target}): Add btver1.
14b52538 4045 * config/i386/driver-i386.c (host_detect_local_cpu): Let
1ed72abf 4046 -march=native recognize btver1 processors.
14b52538 4047 * config/i386/i386-c.c (ix86_target_macros_internal): Add
1ed72abf 4048 btver1 def_and_undef
14b52538 4049 * config/i386/i386.c (struct processor_costs btver1_cost): New
1ed72abf
CF
4050 btver1 cost table.
4051 (m_BTVER1): New definition.
4052 (m_AMD_MULTIPLE): Includes m_BTVER1.
4053 (initial_ix86_tune_features): Add btver1 tune.
4054 (processor_target_table): Add btver1 entry.
4055 (static const char *const cpu_names): Add btver1 entry.
4056 (software_prefetching_beneficial_p): Add btver1.
4057 (ix86_option_override_internal): Add btver1 instruction sets.
4058 (ix86_issue_rate): Add btver1.
4059 (ix86_adjust_cost): Add btver1.
14b52538 4060 * config/i386/i386.h (TARGET_BTVER1): New definition.
1ed72abf
CF
4061 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
4062 (enum processor_type): Add PROCESSOR_BTVER1.
14b52538
CF
4063 * config/i386/i386.md (define_attr "cpu"): Add btver1.
4064
e1a973d8
RO
40652011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4066
4067 PR target/43309
4068 * config/i386/i386.c (legitimize_tls_address)
4069 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
4070 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
4071 (tls_initial_exec_64_sun): New pattern.
4072
c73f67c5
GP
40732011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
4074
4075 * doc/invoke.texi (Overall Options): Improve wording and markup
4076 of the description of -wrapper.
4077
bc4c6f9c
JM
40782011-01-06 Joseph Myers <joseph@codesourcery.com>
4079
4080 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
4081 rdynamic, threads): New Driver options.
4082
adb75db0
RO
40832011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4084
4085 PR target/38118
4086 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
4087 if coming from .tdata.
4088 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4089
402c1cb4
JH
40902011-01-06 Jan Hubicka <jh@suse.cz>
4091
4092 PR lto/47188
4093 * collect2.c (main): Do not enable LTOmode when plugin is active.
4094
a4da6485
RO
40952011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4096
4097 PR other/45915
4098 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
4099 --version output if supported.
4100 * configure: Regenerate.
4101
028dbdf4
JM
41022011-01-06 Joseph Myers <joseph@codesourcery.com>
4103
4104 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
4105 Driver options.
4106
dfe776dd
JJ
41072011-01-06 Jakub Jelinek <jakub@redhat.com>
4108
4109 PR c/47150
4110 * c-convert.c (convert): When converting a complex expression
4111 other than COMPLEX_EXPR to a different complex type, ensure
4112 c_save_expr is called instead of save_expr, unless in_late_binary_op.
4113 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
4114 when converting COMPLEX_TYPE.
4115
210dedfe
IR
41162011-01-06 Ira Rosen <irar@il.ibm.com>
4117
4118 PR tree-optimization/47139
4119 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
4120 only the last reduction value is used outside the loop. Update
4121 documentation.
4122
cd33a412
JM
41232011-01-05 Joseph Myers <joseph@codesourcery.com>
4124
4125 * config/rtems.opt: New.
4126 * config.gcc (*-*-rtems*): Use rtems.opt.
4127
819edd94
CF
41282011-01-05 Changpeng Fang <changpeng.fang@amd.com>
4129
4130 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
4131 processors do not support 3DNow instructions.
4132
dc242c4a
UW
41332011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4134
4135 * config/spu/spu.c (spu_option_override): Set parameter
4136 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
4137
be286227
JH
41382011-01-05 Jan Hubicka <jh@suse.cz>
4139
4140 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
4141 at the command line.
4142
644e637f
MJ
41432011-01-05 Martin Jambor <mjambor@suse.cz>
4144
4145 PR lto/47162
4146 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
4147 deltas on streamed outgoing edges.
4148 (output_node_opt_summary): Output info for outgoing edges only when
4149 the node is in new parameter set.
4150 (output_cgraph_opt_summary): New parameter set, passed to the two
4151 aforementioned functions. Update its forward declaration and its
4152 callee too.
4153
7bd11157
TT
41542011-01-05 Tom Tromey <tromey@redhat.com>
4155
4156 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
4157 operator to c_finish_omp_atomic.
4158 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
4159 (build_unary_op): Update.
4160 (build_modify_expr): Update.
4161 (build_asm_expr): Update.
4162
f626b979
UW
41632011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4164
4165 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
4166 newly inserted insns.
4167 (pad_bb): Likewise.
4168 (spu_emit_branch_hint): Likewise.
4169 (insert_hbrp_for_ilb_runout): Likewise.
4170 (spu_machine_dependent_reorg): Call df_finish_pass after
4171 schedule_insns returns.
4172
4c825c02
UW
41732011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4174
4175 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
4176
5e9fba51
EB
41772011-01-05 Eric Botcazou <ebotcazou@adacore.com>
4178
4179 PR tree-optimization/47005
4180 * tree-sra.c (struct access): Add 'non_addressable' bit.
4181 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
4182 (decide_one_param_reduction): Return 0 if the parameter is passed by
4183 reference and one of the accesses in the group is non_addressable.
4184
3ebb5ca6
EB
41852011-01-04 Eric Botcazou <ebotcazou@adacore.com>
4186
4187 PR tree-optimization/47056
4188 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
4189 (mark_load): Likewise. Handle FUNCTION_DECL specially.
4190 (mark_store): Likewise. Pass STMT to ipa_record_reference.
4191
d5d4d14e
EB
41922011-01-04 Eric Botcazou <ebotcazou@adacore.com>
4193
4194 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
4195 initializer. Skip view conversions from aggregate types.
4196
d996ef70
KT
41972011-01-04 Kai Tietz <kai.tietz@onevision.com>
4198
4199 PR bootstrap/47055
4200 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
4201
509d65dd 42022011-01-04 Philipp Thomas <pth@suse.de>
017096ca
PT
4203
4204 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
4205 obvious typo.
4206
55c623b5
UW
42072011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4208
4209 * function.c (thread_prologue_and_epilogue_insns): Do not crash
4210 on empty epilogue sequences.
4211
b98d6b35
JM
42122011-01-04 Joseph Myers <joseph@codesourcery.com>
4213
4214 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
4215 non-static): New Driver options.
4216
a0d43bac
JZ
42172011-01-04 Jie Zhang <jie@codesourcery.com>
4218
4219 PR driver/47137
4220 * gcc.c (default_compilers[]): Set combinable field to 0
4221 for all assembly languages.
4222
2b18eb32
MX
42232011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
4224
4225 * config/mips/loongson3a.md: New file.
4226 * config/mips/mips.md: Include loongson3a.md.
4227 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
4228 TUNE_LOONGSON_3A.
4229
42a48c4f
EB
42302011-01-03 Eric Botcazou <ebotcazou@adacore.com>
4231
4232 PR middle-end/47017
4233 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
4234 instead of convert_memory_address_addr_space on the base expression.
4235
9c1732c4
UW
42362011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4237
4238 * config/spu/spu.c (spu_option_override): Update error text
4239 for bad -march= / -mtune= values.
4240
aa474365
UW
42412011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4242
4243 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
4244 if branch-hint optimization will be performed.
4245
9766135b
JJ
42462011-01-03 Jakub Jelinek <jakub@redhat.com>
4247
371556ee
JJ
4248 PR tree-optimization/47148
4249 * ipa-split.c (split_function): Convert arguments to
4250 DECL_ARG_TYPE if possible.
4251
1ac12fa2
JJ
4252 PR tree-optimization/47155
4253 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
4254 when computing uns.
4255
9766135b
JJ
4256 PR rtl-optimization/47157
4257 * combine.c (try_combine): If undobuf.other_insn becomes
4258 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
4259 and set *new_direct_jump_p too.
4260
f4a2e571
SP
42612011-01-03 Sebastian Pop <sebastian.pop@amd.com>
4262
4263 PR tree-optimization/47021
4264 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
4265
9f8e43c0
JJ
42662011-01-03 Jakub Jelinek <jakub@redhat.com>
4267
4268 * gcc.c (process_command): Update copyright notice dates.
4269 * gcov.c (print_version): Likewise.
4270 * gcov-dump.c (print_version): Likewise.
4271 * mips-tfile.c (main): Likewise.
4272 * mips-tdump.c (main): Likewise.
4273
1a2e38f3
MJ
42742011-01-03 Martin Jambor <mjambor@suse.cz>
4275
4276 PR tree-optimization/46801
4277 * tree-sra.c (type_internals_preclude_sra_p): Check whether
4278 aggregate fields start at byte boundary instead of the bit-field flag.
4279
56b721c5
L
42802011-01-03 H.J. Lu <hongjiu.lu@intel.com>
4281
4282 PR driver/47137
4283 * gcc.c (main): Revert revision 168407.
4284
839d549b
MJ
42852011-01-03 Martin Jambor <mjambor@suse.cz>
4286
4287 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
4288
4ce99a20 42892011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2fa6eeff
UW
4290
4291 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
4292 vector optab to expand vector/scalar shift, update gimple to vector.
4293
76df0ae6
MJ
42942011-01-03 Martin Jambor <mjambor@suse.cz>
4295
4296 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
4297 a thunk.
4298
ce47fda3
MJ
42992011-01-03 Martin Jambor <mjambor@suse.cz>
4300
4301 PR tree-optimization/46984
4302 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
4303 HOST_WIDE_INT.
4304 (cgraph_create_indirect_edge): Fixed line length.
4305 (cgraph_indirect_call_info): Declare.
4306 (cgraph_make_edge_direct) Update declaration.
4307 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
4308 (cgraph_create_indirect_edge): Use it.
4309 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
4310 callees.
4311 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
4312 the new thunk_delta representation.
4313 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
4314 HOST_WIDE_INT.
4315 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
4316 (ipa_read_indirect_edge_info): Likewise.
4317 * lto-cgraph.c (output_edge_opt_summary): New function.
4318 (output_node_opt_summary): Call it on all outgoing edges.
4319 (input_edge_opt_summary): New function.
4320 (input_node_opt_summary): Call it on all outgoing edges.
4321
1e67fa1f
L
43222011-01-02 H.J. Lu <hongjiu.lu@intel.com>
4323
4324 PR driver/47137
4325 * gcc.c (main): Don't check have_o when settting combine_inputs.
4326
6656b2ac
EB
43272011-01-02 Eric Botcazou <ebotcazou@adacore.com>
4328
4329 * regrename.c: Add general comment describing the pass.
4330 (struct du_head): Remove 'length' field.
4331 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
4332 (regrename_optimize): Do not sort chains. Rework comments, add others.
4333 Force renaming to the preferred class (if any) in the first pass and do
4334 not consider registers that belong to it in the second pass.
4335 (create_new_chain): Do not set 'length' field.
4336 (scan_rtx_reg): Likewise.
4337
bc470c24
JJ
43382011-01-02 Jakub Jelinek <jakub@redhat.com>
4339
4e996296
JJ
4340 PR tree-optimization/47140
4341 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
4342 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
4343 to bit_value_binop.
4344
bc470c24 4345 PR rtl-optimization/47028
6656b2ac
EB
4346 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
4347 parm_birth_insn instead of at the beginning of first bb.
bc470c24 4348
5af62fcd 43492011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
0d52f2a8
MX
4350
4351 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
4352 Remove the word "see" before "@pxref".
4353 * doc/rtl.texi: Remove the word "see" before "@pxref".
4354
0e20c89f
JH
43552011-01-01 Jan Hubicka <jh@suse.cz>
4356
6656b2ac
EB
4357 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
4358 memory.
0e20c89f 4359
220e83ca
KT
43602011-01-01 Kai Tietz <kai.tietz@onevision.com>
4361
4362 PR target/38662
6656b2ac 4363 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
220e83ca 4364
ad41bd84 4365\f
797103eb 4366Copyright (C) 2011 Free Software Foundation, Inc.
ad41bd84
JM
4367
4368Copying and distribution of this file, with or without modification,
4369are permitted in any medium without royalty provided the copyright
4370notice and this notice are preserved.