]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
configure.ac: Use AS_HELP_STRING throughout.
[gcc.git] / gcc / ChangeLog
CommitLineData
d8debb1d
JJ
12011-01-21 Jakub Jelinek <jakub@redhat.com>
2
3 * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove
4 DECL_IGNORED_P non-reg vars if they are used.
5
3a2df831
JJ
6 PR tree-optimization/47391
7 * varpool.c (const_value_known_p): Return false if
8 decl is volatile.
9
1dd584a2
KT
102011-01-21 Kai Tietz <kai.tietz@onevision.com>
11
12 PR bootstrap/47215
13 * config/i386/i386.c (ix86_local_alignment): Handle
14 case for va_list_type_node is nil.
15 (ix86_canonical_va_list_type): Likewise.
16
7f9f095e
AM
172011-01-21 Alan Modra <amodra@gmail.com>
18
19 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add
20 builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__.
21
837b01f6
RR
222011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
23
24 * config/arm/arm.md (define_attr type): Rename f_load
25 and f_store to f_fpa_load and f_fpa_store. Update.
26 (write_conflict): Deal with rename fallout.
27 (*push_fp_multi): Likewise.
28 * config/arm/fpa.md (f_load): Use f_fpa_load.
29 (f_store): Use f_fpa_store.
30 (*movsf_fpa): Likewise.
31 (*movdf_fpa): Likewise.
32 (*movxf_fpa): Likewise.
33 (*thumb2_movsf_fpa): Likewise.
34 (*thumb2_movdf_fpa): Likewise.
35 (*thumb2_movxf_fpa): Likewise.
36 * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to
37 f_loadd and f_stored.
38 (*thumb2_movdi_vfp): Likewise.
39 (*thumb2_movsf_vfp): Fix attribute to f_loads.
40 (*thumb2_movsi_vfp): Likewise.
41 * config/arm/cortex-m4-fpu.md (cortex_m4_f_load):
42 Use f_loads instead of f_load.
43 * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load.
44
a1a79768
AS
452011-01-20 Anatoly Sokolov <aesok@post.ru>
46
47 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
48 * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove.
49 * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
50 (xtensa_mode_dependent_address_p): New function.
51 (constantpool_address_p): Make static. Change return type to bool.
52 Change argument type to const_rtx. Use CONST_INT_P predicate.
53
427f6cec
AO
542011-01-20 Alexandre Oliva <aoliva@redhat.com>
55
56 PR debug/46583
57 * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls.
58
583ac69c
JJ
592011-01-20 Jakub Jelinek <jakub@redhat.com>
60
61 PR debug/47283
62 * cfgexpand.c (expand_debug_expr): Instead of generating
63 (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF
64 etc. handling.
65
93e452ed
RG
662011-01-20 Richard Guenther <rguenther@suse.de>
67
68 PR middle-end/47370
69 * tree-inline.c (remap_gimple_op_r): Recurse manually for
70 the pointer operand of MEM_REFs.
71
28fc44f3
JJ
722011-01-20 Jakub Jelinek <jakub@redhat.com>
73
74 PR tree-optimization/46130
75 * ipa-split.c (consider_split): If return_bb contains non-virtual
76 PHIs other than for retval or if split_function would not adjust it,
77 refuse to split.
78
ddd268f2
RG
792011-01-20 Richard Guenther <rguenther@suse.de>
80
81 PR tree-optimization/47167
82 * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
83 Revert previous change, only avoid enumeral type changes.
84
7edb6247
DS
852011-01-19 Dodji Seketeli <dodji@redhat.com>
86
87 PR c++/47291
88 * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
89 (gen_scheduled_generic_parms_dies): New functions.
90 (gen_struct_or_union_type_die): Schedule template parameters DIEs
91 generation for the end of CU compilation.
92 (dwarf2out_finish): Generate template parameters DIEs here.
93
23d5ed5d
AO
942011-01-19 Alexandre Oliva <aoliva@redhat.com>
95
96 PR debug/46240
97 * tree-into-ssa.c (maybe_register_def): Do not attempt to add
98 debug bind stmt on merge edges.
99
37d6a488
AO
1002011-01-19 Alexandre Oliva <aoliva@redhat.com>
101
102 PR debug/47079
103 PR debug/46724
104 * function.c (instantiate_expr): Instantiate incoming rtl of
105 implicit arguments, and recurse on VALUE_EXPRs.
106 (instantiate_decls): Instantiate rtl and VALUE_EXPR of result.
107 * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx.
108
689f2c82
AO
1092011-01-19 Alexandre Oliva <aoliva@redhat.com>
110
111 * c-parser.c (c_parser_for_statement): Initialize
112 collection_expression.
113
03029de4
JM
1142011-01-19 Joseph Myers <joseph@codesourcery.com>
115
116 * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.
117
3e03217e
JM
1182011-01-19 Joseph Myers <joseph@codesourcery.com>
119
120 * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove.
121 (LINK_SHLIB_SPEC): Don't use %(link_path).
122 (SUBTARGET_EXTRA_SPECS): Remove link_path.
123
5bbe9b3f
JM
1242011-01-19 Joseph Myers <joseph@codesourcery.com>
125
126 * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
127 (NO_SHARED_LIB_SUPPORT): Remove.
128 (LINK_SHLIB_SPEC): Remove one conditional definition.
129
368e0b39
JM
1302011-01-19 Joseph Myers <joseph@codesourcery.com>
131
132 * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
133 %{call_shared}.
134 * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
135 * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
136 * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
137 %{call_shared} and conditionals on these options not being passed.
138 * config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
139 %{call_shared}.
140
ed7656f6
JJ
1412011-01-19 Jakub Jelinek <jakub@redhat.com>
142
68457901
JJ
143 * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge,
144 simplify.
145
ed7656f6
JJ
146 * ipa-split.c: Spelling fixes.
147
e0d1958f
RH
1482011-01-19 Richard Henderson <rth@redhat.com>
149
150 * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand.
151 (*mulsi3): Likewise.
152
27098b6b
RH
153 * longlong.h [__mn10300__] (count_leading_zeros): New.
154 [__mn10300__] (umul_ppmm, smul_ppmm): New.
155 [__mn10300__] (add_ssaaaa, subddmmss): New.
156 [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New.
157 [__mn10300__] (UMUL_TIME, UDIV_TIME): New.
158
d6be7c36
UW
1592011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
160
161 * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
162
b1efde2a
RH
1632011-01-19 Richard Henderson <rth@redhat.com>
164
44217823
RH
165 * config/mn10300/mn10300.md (addsi3_flags): New.
166 (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New.
167 (subsi3_flags, subc_internal, subdi3): New.
168 (subdi3_internal, *subdi3_degenerate): New.
169 * config/mn10300/predicates.md (reg_or_am33_const_operand): New.
170
37a185d7
RH
171 * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New.
172 (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn.
173 (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once.
174 * config/mn10300/mn10300-protos.h: Update.
175 * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn.
176 (return_ret): Likewise. Rename from return_internal_regs.
177 (return_internal): Remove.
178
040c5757
RH
179 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove.
180 (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL.
181 (mn10300_legitimate_constant_p): Likewise.
182 (mn10300_can_use_return_insn): Use mn10300_initial_offset.
183 (mn10300_frame_size): New.
184 (mn10300_expand_prologue): Use it.
185 (mn10300_expand_epilogue): Likewise.
186 (mn10300_initial_offset): Likewise.
187 * config/mn10300/mn10300-protos.h: Update.
188 * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove.
189 * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove.
190 (prologue, epilogue, return_internal): Tidy output code.
191 (mn10300_store_multiple_operation, return): Likewise.
192 (int_label, pop_pic_reg, GOTaddr2picreg): Remove.
193 (am33_loadPC, mn10300_loadPC, call_next_insn): Remove.
194 (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove.
195 (load_pic, am33_load_pic): New.
196 (mn10300_load_pic0, mn10300_load_pic1): New.
197
bad41521
RH
198 * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes.
199 * config/mn10300/mn10300.c (CC_FLAG_Z): New.
200 (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New.
201 (cc_flags_for_mode, cc_flags_for_code): New.
202 (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the
203 overflow flag is not valid. Validate that the flags we need
204 for the comparison are valid.
205 (mn10300_output_cmp): Remove.
206 (mn10300_output_add): New.
207 (mn10300_select_cc_mode): Use cc_flags_for_code.
208 (mn10300_split_cbranch): New.
209 (mn10300_match_ccmode): New.
210 (mn10300_split_and_operand_count): New.
211 * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments
212 to the function.
213 * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge...
214 (addsi3): ... here. Use mn10300_output_add.
215 (*addsi3_flags): New.
216 (*am33_subsi3, *mn10300_subsi3): Merge...
217 (subsi3): ... here. Use attribute isa.
218 (*subsi3_flags): New.
219 (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC
220 when possible.
221 (*am33_andsi3, *mn10300_andsi3): Merge...
222 (andsi3): ... here.
223 (*andsi3_flags): New.
224 (andsi3 splitters): New.
225 (*am33_iorsi3, *mn10300_iorsi3): Merge...
226 (iorsi3): ... here.
227 (*iorsi3_flags): New.
228 (*am33_xorsi3, *mn10300_xorsi3): Merge...
229 (xorsi3): ... here.
230 (*xorsi3_flags): New.
231 (*am33_cmpsi2, *mn10300_cmplsi2): Merge...
232 (one_cmplsi2): ... here.
233 (*one_cmplsi2_flags): New.
234 (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r"
235 instead of "dax" in constraints. Use mn10300_split_cbranch.
236 (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not
237 use matching constraints to eliminate a self-comparison.
238 (*integer_conditional_branch): Rename from integer_conditional_branch.
239 Use int_mode_flags to match CC_REG.
240 (*cbranchsi4_btst, *btstsi): New.
241 (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use
242 mn10300_split_cbranch.
243 (*am33_cmpsf): Rename from am33_cmpsf.
244 (*float_conditional_branch): Rename from float_conditional_branch.
245 (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge...
246 (zero_extendqisi2): ... here.
247 (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge...
248 (zero_extendhisi2): ... here.
249 (*extendqisi2_am33, *extendqisi2_mn10300): Merge...
250 (extendqisi2): ... here.
251 (*extendhisi2_am33, *extendhisi2_mn10300): Merge...
252 (extendhisi2): ... here.
253 (*am33_ashlsi3, *mn10300_ashlsi3): Merge...
254 (ashlsi3): ... here.
255 (*am33_lshrsi3, *mn10300_lshrsi3): Merge...
256 (lshrsi3): ... here.
257 (*am33_ashrisi3, *mn10300_ashrsi3): Merge...
258 (ashrsi3): ... here.
259 (consecutive add peephole): Remove.
260 * config/mn10300/predicates.md (label_ref_operand): New.
261 (int_mode_flags): New.
262 (CCZN_comparison_operator): New.
263
9efb4993
RH
264 * config/mn10300/mn10300.md (UNSPEC_EXT): New.
265 (throughput_42_latency_43): New reservation.
266 (mulsidi3, umulsidi3): New expanders.
267 (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose
268 the MDR register to allocation; separately allocate the low and
269 high parts of the DImode result.
270 (umulsidi3_internal): Similarly.
271 (*am33_mulsi3, *mn10300_mulsi3): Merge into ...
272 (*mulsi3): ... here. Clobber MDR as a scratch as necessary.
273 (udivsi3, umodsi3): Remove.
274 (udivmodsi4, divmodsi4): New expanders.
275 (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly.
276 (*divmodsi4): Simiarly.
277 (ext_internal): New.
278
c25a21f5
RH
279 * config/mn10300/constraints.md ("z"): New constraint.
280 * config/mn10300/mn10300.h (MDR_REGNUM): Remove.
281 (FIXED_REGISTERS): Don't fix MDR.
282 (CALL_USED_REGSITERS): Reformat nicely.
283 (REG_ALLOC_ORDER): Add MDR.
284 (enum regclass): Add MDR_REGS.
285 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match.
286 (IRA_COVER_CLASSES): Add MDR_REGS.
287 (REGNO_REG_CLASS): Handle MDR_REG.
288 * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS.
289 (mn10300_register_move_cost): Likewise.
290 * config/mn10300/mn10300.md (MDR_REG): New.
291 (*movsi_internal): Handle moves to/from MDR_REGS.
292
36846b26
RH
293 * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle
294 POST_MODIFY.
295 (mn10300_secondary_reload): Tidy combination reload classes.
296 (mn10300_legitimate_address_p): Allow post-modify and reg+reg
297 addresses for AM33. Allow symbolic offsets for reg+imm.
298 (mn10300_regno_in_class_p): New.
299 (mn10300_legitimize_reload_address): New.
300 * config/mn10300/mn10300.h (enum reg_class): Remove
301 DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS,
302 SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add
303 SP_OR_GENERAL_REGS.
304 (REG_CLASS_NAMES): Update to match.
305 (REG_CLASS_CONTENTS): Likewise.
306 (INDEX_REG_CLASS): Use GENERAL_REGS for AM33.
307 (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33.
308 (REGNO_IN_RANGE_P): Remove.
309 (REGNO_DATA_P): Use mn10300_regno_in_class_p.
310 (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise.
311 (REGNO_STRICT_OK_FOR_BASE_P): Likewise.
312 (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise.
313 (REGNO_STRICT_OK_FOR_INDEX_P): Likewise.
314 (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove.
315 (REGNO_GENERAL_P): New.
316 (HAVE_POST_MODIFY_DISP): New.
317 (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New.
318 (LEGITIMIZE_RELOAD_ADDRESS): New.
319 * config/mn10300/mn10300-protos.h: Update.
320
8b119bb6
RH
321 * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow
322 DATA_REGS for AM33 stack-pointer destination.
323 (mn10300_preferred_output_reload_class): Likewise.
324 (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class
325 into a form appropriate for ...
326 (TARGET_SECONDARY_RELOAD): New.
327 * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove.
328 * config/mn10300/mn10300-protos.h: Update.
329 * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from
330 reload_insi; use the "A" constraint for the scratch; handle AM33
331 moves of sp to non-address registers.
332
b1efde2a
RH
333 * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into
334 (*movqi_internal): ... here.
335 (*am33_movhi, *mn10300_movhi): Merge into...
336 (*movhi_internal): ... here.
337 (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A"
338 as the source/destination of moves from/to SP.
339 (movsf): Only allow for AM33-2.
340 (*movsf_internal): Use "r" instead of "dax"; use "F" instead of
341 any integer constant constraint. Only allow for AM33-2. Tidy
342 all of the alternative outputs.
343 (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove.
344 (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow
345 for MN103.
346 (udivsi3, umodsi3): New patterns for MN103 only.
347
b899fd78
JR
3482011-01-19 Joern Rennecke <amylaar@spamcop.net>
349
350 * doc/tm.texi.in: Spell out that a lack of register class unions
351 can lead to ICEs.
352 * doc/tm.texi: Regenerate.
353
afaaa67d
JJ
3542011-01-19 Jakub Jelinek <jakub@redhat.com>
355
2e0642cd
JJ
356 PR rtl-optimization/47337
357 * dce.c (check_argument_store): New function.
358 (find_call_stack_args): Ignore debug insns. Use check_argument_store.
359
afaaa67d
JJ
360 PR tree-optimization/47290
361 * tree-eh.c (infinite_empty_loop_p): New function.
362 (cleanup_empty_eh): Use it.
363
d2cd871f
SE
3642011-01-18 Steve Ellcey <sje@cup.hp.com>
365
366 PR target/46997
367 * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
368 (a64_expand_widen_sum): Ditto.
369 * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
370 (vec_extract_evenodd_help): Ditto.
371 (vec_extract_evenv4hi): Ditto.
372 (vec_extract_oddv4hi): Ditto.
373 (vec_extract_evenv2si): Ditto.
374 (vec_extract_oddv2si): Ditto.
375 (vec_extract_evenv2sf): Ditto.
376 (vec_extract_oddv2sf): Ditto.
377 (vec_pack_trunc_v4hi: Ditto.
378 (vec_pack_trunc_v2si): Ditto.
379 (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
380 (vec_interleave_highv8qi): Ditto.
381 (mix1_r): Ditto.
382 (vec_extract_oddv8qi): Ditto.
383 (vec_interleave_lowv4hi): Ditto.
384 (vec_interleave_highv4hi): Ditto.
385 (vec_interleave_lowv2si): Ditto.
386 (vec_interleave_highv2si): Ditto.
387
41a1208a
JDA
3882011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
389
390 * doc/extend.texi: Mention __float128 support on hppa HP-UX.
391 * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
392 * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h".
393 (pa_c_mode_for_suffix): New.
394 (TARGET_EXPAND_BUILTIN): Define.
395 (TARGET_C_MODE_FOR_SUFFIX): Define.
396 (pa_builtins): Define.
397 (pa_init_builtins): Register __float128 type and init new support
398 builtins.
399 * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
400 * config/pa/quadlib.c (_U_Qfcopysign): New.
401
1ecad98e
EB
4022011-01-18 Eric Botcazou <ebotcazou@adacore.com>
403
404 PR middle-end/46894
405 * explow.c (allocate_dynamic_stack_space): Do not assume more than
406 BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET
407 are defined.
408
d4f2460a
UW
4092011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
410
411 PR tree-optimization/47179
412 * config/spu/spu.c (spu_ref_may_alias_errno): New function.
413 (TARGET_REF_MAY_ALIAS_ERRNO): Define.
414
4994da65
RG
4152011-01-18 Richard Guenther <rguenther@suse.de>
416
417 PR rtl-optimization/47216
418 * emit-rtl.c: Include tree-flow.h.
419 (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead
420 of replicating it with different semantics.
421 * Makefile.in (emit-rtl.o): Adjust.
422
1eb458d1
RR
4232011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
424
425 * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually
426 include.
427 (cortex_a9_dp): Handle neon types correctly.
428
e7ef91dc
JJ
4292011-01-18 Jakub Jelinek <jakub@redhat.com>
430
431 PR rtl-optimization/47299
432 * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
433 subtarget. Use normal multiplication if both operands are
434 constants.
435 * expmed.c (expand_widening_mult): Don't try to optimize constant
436 multiplication if op0 has VOIDmode. Convert op1 constant to mode
437 before using it.
438
535b7874
RW
4392011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
440
441 * doc/lto.texi (LTO): Ensure two spaces after period. Fix
442 spacing after 'e.g.', typos, comma, hyphenation.
443
27bf36f3
RH
4442011-01-17 Richard Henderson <rth@redhat.com>
445
8a5b5449
RH
446 * config/rx/predicates.md (rx_constshift_operand): Use match_test.
447 (rx_restricted_mem_operand): New.
448 (rx_shift_operand): Use register_operand.
449 (rx_source_operand, rx_compare_operand): Likewise.
450 * config/rx/rx.md (addsi3_flags): New expander.
451 (adddi3): Rewrite as expander.
452 (adc_internal, *adc_flags, adddi3_internal): New patterns.
453 (subsi3_flags): New expander.
454 (subdi3): Rewrite as expander.
455 (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
456
784f69be
RH
457 * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
458 (rx_init_builtins): Remove sat builtin.
459 (rx_expand_builtin): Likewise.
460 * config/rx/rx.md (ssaddsi3): New.
461 (*sat): Rename from sat. Represent the CC_REG input.
462
f033541c
RH
463 * config/rx/predicates.md (rshift_operator): New.
464 * config/rx/rx.c (rx_expand_insv): Remove.
465 * config/rx/rx-protos.h: Update.
466 * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift
467 operand to the canonical position.
468 (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
469 (*bitclr, *bitclr_in_memory): Similarly.
470 (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
471 (insv): Retain the zero_extract in the expansion.
472
34fee389
RH
473 * config/rx/rx.md (bswapsi2): Use = not + for output reload.
474 (bswaphi2, bitinvert, revw): Likewise.
475
265c835f
RH
476 * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
477 (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
478 * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
479 (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
480 (bitset, bitset_in_memory): Likewise.
481 (bitinvert, bitinvert_in_memory): Likewise.
482 (bitclr, bitclr_in_memory): Likewise.
483 (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
484 (rx_strend, rx_cmpstrn): Likewise.
485 (rx_setmem): Likewise. Make the source BLKmode to match the dest.
486 (bitop peep2 patterns): Remove.
487
b4d83be3
RH
488 * config/rx/rx.c (rx_match_ccmode): New.
489 * config/rx/rx-protos.h: Update.
490 * config/rx/rx.md (abssi2): Clobber, don't set flags.
491 (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
492 (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
493 (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
494 (fix_truncsfsi2, floatsisf2): Likewise.
495 (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
496 (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
497 (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
498 (*subsi3_flags, *xorsi3_flags): New.
499
d0acb939
RH
500 * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
501
c06fc3d9
RH
502 * config/rx/rx.c (rx_print_operand): Remove workaround for
503 unsplit comparison operations.
504
2882702b
RH
505 * config/rx/rx.md (movsicc): Split after reload.
506 (*movsicc): Merge *movsieq and *movsine via match_operator.
507 (*stcc): New pattern.
508
6f7310f2
RH
509 * config/rx/rx.c (rx_float_compare_mode): Remove.
510 * config/rx/rx.h (rx_float_compare_mode): Remove.
511 * config/rx/rx.md (cstoresi4): Split after reload.
512 (*sccc): New pattern.
513
e963cb1a
RH
514 * config/rx/predicates.md (label_ref_operand): New.
515 (rx_z_comparison_operator): New.
516 (rx_zs_comparison_operator): New.
517 (rx_fp_comparison_operator): New.
518 * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
519 Validate that the flags are set properly for the comparison.
520 (rx_gen_cond_branch_template): Remove.
521 (rx_cc_modes_compatible): Remove.
522 (mode_from_flags): New.
523 (flags_from_code): Rename from flags_needed_for_conditional.
524 (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
525 (rx_select_cc_mode): Likewise.
526 (rx_split_fp_compare): New.
527 (rx_split_cbranch): New.
528 * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
529 (*cbranchsi4): Use match_operator and rx_split_cbranch.
530 (*cbranchsf4): Similarly.
531 (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use
532 match_operator and rx_split_cbranch.
533 (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
534 tstbranchsi4m_ne. Use match_operator and rx_split_cbranch.
535 (*cmpsi): Rename from cmpsi.
536 (*tstsi): Rename from tstsi.
537 (*cmpsf): Rename from cmpsf; use CC_Fmode.
538 (*conditional_branch): Rename from conditional_branch.
539 (*reveresed_conditional_branch): Remove.
540 (b<code>): Remove expander.
541 * config/rx/rx-protos.h: Update.
542
af530bb4
RH
543 * config/rx/rx.c (rx_compare_redundant): Remove.
544 * config/rx/rx.md (cmpsi): Don't use it.
545 * config/rx/rx-protos.h: Update.
546
27bf36f3
RH
547 * config/rx/rx-modes.def (CC_F): New mode.
548 * config/rx/rx.c (rx_select_cc_mode): New.
549 * config/rx/rx.h (SELECT_CC_MODE): Use it.
550 * config/rx/rx-protos.h: Update.
551
d7fde127
RH
5522011-01-17 Richard Henderson <rth@redhat.com>
553
554 * except.c (dump_eh_tree): Fix stray ; after for statement.
555
6ff38230
RG
5562011-01-17 Richard Guenther <rguenther@suse.de>
557
558 PR tree-optimization/47313
559 * tree-inline.c (tree_function_versioning): Move DECL_RESULT
560 handling before copying the body. Properly deal with
561 by-reference result in SSA form.
562
114ce554
ILT
5632011-01-17 Ian Lance Taylor <iant@google.com>
564
bf5cd92b 565 PR target/47219
114ce554
ILT
566 * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
567 (struct_value_alias_set): Don't define.
568 (sparc_option_override): Don't set sparc_sr_alias_set and
569 struct_value_alias_set.
570 (save_or_restore_regs): Use gen_frame_mem rather than calling
571 set_mem_alias_set.
572 (sparc_struct_value_rtx): Likewise.
573
98c6d93c
L
5742011-01-17 H.J. Lu <hongjiu.lu@intel.com>
575
576 PR target/47318
577 * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
578 __m128i.
579 (_mm_maskstore_pd): Likewise.
580 (_mm_maskload_ps): Likewise.
581 (_mm_maskstore_ps): Likewise.
582 (_mm256_maskload_pd): Change mask to __m256i.
583 (_mm256_maskstore_pd): Likewise.
584 (_mm256_maskload_ps): Likewise.
585 (_mm256_maskstore_ps): Likewise.
586
587 * config/i386/i386-builtin-types.def: Updated.
588 (ix86_expand_special_args_builtin): Likewise.
589
590 * config/i386/i386.c (bdesc_special_args): Update
591 __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
592 __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
593 __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
594 __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
595
596 * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
597 Use <avxpermvecmode> on mask register.
598 (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
599
b9361af2
OH
6002011-01-17 Olivier Hainque <hainque@adacore.com>
601 Michael Haubenwallner <michael.haubenwallner@salomon.at>
602 Eric Botcazou <ebotcazou@adacore.com>
603
604 PR target/46655
605 * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
606 if <= USHRT_MAX in 32-bit mode.
607
b7ae9eb5
RW
6082011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
609
610 * doc/install.texi (Configuration, Specific): Wrap long
611 lines in examples. Allow line wrapping in long options
612 and URLs where beneficial for PDF output.
613
4377fad9
RS
6142011-01-16 Richard Sandiford <rdsandiford@googlemail.com>
615
616 * config/mips/mips.c (mips_classify_symbol): Don't return
617 SYMBOL_PC_RELATIVE for nonlocal labels.
618
55959ffa 6192011-01-15 Eric Botcazou <ebotcazou@adacore.com>
be46831f 620
55959ffa
EB
621 * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
622
6232011-01-15 Jan Hubicka <jh@suse.cz>
624
625 PR tree-optimization/47276
be46831f
JH
626 * ipa.c (function_and_variable_visibility): Do not try to mark alias
627 declarations as needed.
628
05842ff5
MJ
6292011-01-15 Martin Jambor <mjambor@suse.cz>
630
631 * common.opt (fdevirtualize): New flag.
632 * doc/invoke.texi (Option Summary): Document it.
633 * opts.c (default_options_table): Add devirtualize flag.
634 * ipa-prop.c (detect_type_change): Return immediately if
635 devirtualize flag is not set.
636 (detect_type_change_ssa): Likewise.
637 (compute_known_type_jump_func): Likewise.
638 (ipa_analyze_virtual_call_uses): Likewise.
639
f65cf2b7
MJ
6402011-01-14 Martin Jambor <mjambor@suse.cz>
641
642 PR tree-optimization/45934
643 PR tree-optimization/46302
644 * ipa-prop.c (type_change_info): New type.
645 (stmt_may_be_vtbl_ptr_store): New function.
646 (check_stmt_for_type_change): Likewise.
647 (detect_type_change): Likewise.
648 (detect_type_change_ssa): Likewise.
649 (compute_complex_assign_jump_func): Check for dynamic type change.
650 (compute_complex_ancestor_jump_func): Likewise.
651 (compute_known_type_jump_func): Likewise.
652 (compute_scalar_jump_functions): Likewise.
653 (ipa_analyze_virtual_call_uses): Likewise.
654 (ipa_analyze_node): Push and pop cfun, set current_function_decl.
655
eb5bb0fd
JM
6562011-01-14 Joseph Myers <joseph@codesourcery.com>
657
658 * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
659 * config/i386/i386.opt (msse5): New Alias.
660
f2060fbe
JM
6612011-01-14 Joseph Myers <joseph@codesourcery.com>
662
663 * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
664 * config/sparc/linux64.h (CC1_SPEC): Likewise.
665 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
666 * config/sparc/sparc.h (CC1_SPEC): Likewise.
667
3a7b4385
JM
6682011-01-14 Joseph Myers <joseph@codesourcery.com>
669
670 * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
671 -mcpu options.
672 * config/sparc/linux64.h (CC1_SPEC): Likewise.
673 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
674 * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
675 * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
676 Likewise.
677 * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
678
a7b778f8
JM
6792011-01-14 Joseph Myers <joseph@codesourcery.com>
680
681 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
682 -fvec-eabi.
683
a7edae0a
MS
6842011-01-14 Mike Stump <mikestump@comcast.net>
685
686 * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
687 * config/fr30/fr30.md: Likweise
688 (movsi_push): Likewise.
689 (movsi_pop): Likewise.
690 (enter_func): Likewise.
691 * config/moxie/moxie.md (movsi_push): Likewise.
692 (movsi_pop): Likewise.
693
cbabf03f
JM
6942011-01-14 Joseph Myers <joseph@codesourcery.com>
695
696 * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
697 %{no_archive} %{exact_version}.
698 * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
699 * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
700 %{no_archive} %{exact_version}.
701 * config/mips/openbsd.h (LINK_SPEC): Likewise.
702 * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
703 * config/mips/vxworks.h: Likewise.
704
438da41a
JM
7052011-01-14 Joseph Myers <joseph@codesourcery.com>
706
707 * config/microblaze/microblaze.h (ASM_SPEC): Remove
708 %{microblaze1}.
709
da290a42
JM
7102011-01-14 Joseph Myers <joseph@codesourcery.com>
711
712 * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
713 ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
714
8989d00e
JM
7152011-01-14 Joseph Myers <joseph@codesourcery.com>
716
717 * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
718 -nodefaultlib.
719
a3010a69
JM
7202011-01-14 Joseph Myers <joseph@codesourcery.com>
721
722 * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
723 for mcpu not cpu.
724 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
725 CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
726 not cpu.
727 (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
728 Don't handle -shlib.
729
e7f2f537
JM
7302011-01-14 Joseph Myers <joseph@codesourcery.com>
731
732 * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
733 (CC1_SPEC): Don't handle -profile.
734
34830bfd
JM
7352011-01-14 Joseph Myers <joseph@codesourcery.com>
736
737 * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
738 * config/mips/mips.h (CC1_SPEC): Likewise.
739
b2d36e74
JM
7402011-01-14 Joseph Myers <joseph@codesourcery.com>
741
742 * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
743 * config/mips/mips.h (CC1_SPEC): Likewise.
744
dabadc52
JM
7452011-01-14 Joseph Myers <joseph@codesourcery.com>
746
747 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
748 * config/m32r/linux.h (LINK_SPEC): Likewise.
749 * config/mips/linux.h (LINK_SPEC): Likewise.
750 * config/mips/linux64.h (LINK_SPEC): Likewise.
751 * config/sparc/linux.h (LINK_SPEC): Likewise.
752 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
753 LINK_SPEC): Likewise.
754 * config/xtensa/linux.h (LINK_SPEC): Likewise.
755
43ee6785
JM
7562011-01-14 Joseph Myers <joseph@codesourcery.com>
757
758 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
759 %{version:-v}.
760 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
761
45e79dfd
JM
7622011-01-14 Joseph Myers <joseph@codesourcery.com>
763
764 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
765 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
766
37e9e71d
JM
7672011-01-14 Joseph Myers <joseph@codesourcery.com>
768
769 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
770
bb127cd8
RO
7712011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
772
773 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
774 supports -Bstatic/-Bdynamic.
775 * configure: Regenerate.
776
89a012ea
JH
7772011-01-14 Jan Hubicka <jh@suse.cz>
778 Jack Howarth <howarth@bromo.med.uc.edu>
779
780 PR target/46037
781 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
782 when checking debug_info_level. Test write_symbols instead of
783 debug_hooks->var_location when setting flag_var_tracking_uninit.
784
7352c013
RG
7852011-01-14 Richard Guenther <rguenther@suse.de>
786
787 PR tree-optimization/47179
788 * target.def (ref_may_alias_errno): New target hook.
789 * targhooks.h (default_ref_may_alias_errno): Declare.
790 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
791 (default_ref_may_alias_errno): New function.
792 * target.h (struct ao_ref_s): Declare.
793 * tree-ssa-alias.c: Include target.h.
794 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
795 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
796 (targhooks.o): Likewise.
797 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
798 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
799
9a6c9288
RG
8002011-01-14 Richard Guenther <rguenther@suse.de>
801
802 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
803
0fdb0d27
RG
8042011-01-14 Richard Guenther <rguenther@suse.de>
805
806 PR tree-optimization/47280
807 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
808 return CFG changes.
809 (tree_ssa_forward_propagate_single_use_vars): Deal with
810 CFG changes from associate_plusminus.
811
8f66db3b
RG
8122011-01-14 Richard Guenther <rguenther@suse.de>
813
814 PR middle-end/47281
815 Revert
816 2011-01-11 Richard Guenther <rguenther@suse.de>
817
280d9630
EB
818 PR tree-optimization/46076
819 * tree-ssa.c (useless_type_conversion_p): Conversions from
820 unprototyped to empty argument list function types are useless.
8f66db3b 821
6c0c92e6
RG
8222011-01-14 Richard Guenther <rguenther@suse.de>
823
824 PR tree-optimization/47286
280d9630 825 * tree-ssa-structalias.c (new_var_info): Register variables are global.
6c0c92e6 826
db09f943
MJ
8272011-01-14 Martin Jambor <mjambor@suse.cz>
828
829 PR middle-end/46823
830 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
831
dde8a3a4
AS
8322011-01-13 Anatoly Sokolov <aesok@post.ru>
833
834 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
835 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
836 * config/xtensa/xtensa.c (xtensa_libcall_value,
837 xtensa_function_value_regno_p): New functions.
838 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
839
a2b63a20
KT
8402011-01-13 Kai Tietz <kai.tietz@onevision.com>
841
842 PR c++/47213
843 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
844 PE specific hook.
845 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
846 New function prototype.
847 * config/i386/winnt.c (i386_pe_assemble_visibility):
848 Warn only if attribute was specified by user.
849
b41f0b34
MM
8502011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
851
852 PR target/47251
853 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
854 floating point.
855 (floatunsdidf2_fcfidu): Ditto.
856
3f3c098d
AK
8572011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
858
859 * config/s390/s390.c (print_operand_address): Replace 'error' with
860 'output_operand_lossage'.
861 (print_operand): Likewise.
862
29fa95ed
JL
8632011-01-13 Jeff Law <law@redhat.com>
864
280d9630 865 PR rtl-optimization/39077
29fa95ed
JL
866 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
867 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
868 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
869 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
870 * gcse.c (prune_insertions_deletions): New function.
871 (compute_pre_data): Use it.
872
71d12276
DS
8732011-01-13 Dodji Seketeli <dodji@redhat.com>
874
875 PR debug/PR46973
876 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
877 static function.
878 (prune_unused_types_mark): Use it.
879
9b0f04e7
AB
8802011-01-13 Andrey Belevantsev <abel@ispras.ru>
881
882 PR rtl-optimization/45352
883 * sel-sched.c: Update copyright years.
884 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
885 in the advancing loop when we have issued issue_rate insns.
886
d6a3e264
RH
8872011-01-12 Richard Henderson <rth@redhat.com>
888
a49b692a
RH
889 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
890 (TARGET_MD_ASM_CLOBBERS): New.
891
126b1483
RH
892 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
893 (TARGET_DELEGITIMIZE_ADDRESS): New.
894
f3d9d2e0
RH
895 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
896 (clzsi2, *bsch): New patterns.
897
d84760c9
RH
898 * config/mn10300/mn10300.md (INT): New mode iterator.
899 (*mov<INT>_clr): New pattern, and peep2 to generate it.
900
ec815d65
RH
901 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
902 flag_split_wide_types.
903
d6a3e264
RH
904 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
905 (mn10300_trampoline_init): Rewrite without a template, an immediate
906 load and a direct branch.
907 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
908
0f8ab434
AS
9092011-01-12 Anatoly Sokolov <aesok@post.ru>
910
911 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
912 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
913 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
914 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
915
d8a24b65
KT
9162011-01-12 Kai Tietz <kai.tietz@onevision.com>
917
918 PR debug/47209
919 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
920 of type.
921
56e22cab
JH
9222011-01-12 Jan Hubicka <jh@suse.cz>
923
924 PR driver/47244
925 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
926 (PLUGIN_COND_CLOSE): New macro.
927 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
928
4b18b3c2
RG
9292011-01-12 Richard Guenther <rguenther@suse.de>
930
931 PR lto/47259
932 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
933 register variables in a MEM_REF.
934
8e38461c
JM
9352011-01-12 Joseph Myers <joseph@codesourcery.com>
936
937 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
938 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
939 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
940 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
941 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
942 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
943 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
944 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
945 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
946 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
947 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
948 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
949 * config/gnu-user.h: New. Copied from linux.h.
950 (LINUX_TARGET_STARTFILE_SPEC): Rename to
951 GNU_USER_TARGET_STARTFILE_SPEC.
952 (LINUX_TARGET_ENDFILE_SPEC): Rename to
953 GNU_USER_TARGET_ENDFILE_SPEC.
954 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
955 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
956 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
957 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
958 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
959 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
960 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
961 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
962 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
963 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
964 * config/arm/linux-eabi.h (CC1_SPEC): Use
965 GNU_USER_TARGET_CC1_SPEC.
966 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
967 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
968 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
969 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
970 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
971 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
972 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
973 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
974
a570fc16
RG
9752011-01-12 Richard Guenther <rguenther@suse.de>
976
977 PR other/46946
978 * doc/invoke.texi (ffast-math): Document it is turned on
979 with -Ofast.
980
b0223c3e
JH
9812011-01-12 Jan Hubicka <jh@suse.cz>
982
983 PR tree-optimization/47233
ca1e00b3
EB
984 * opts.c (common_handle_option): Disable ipa-reference with profile
985 feedback.
b0223c3e 986
d853ee42
NP
9872011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
988
989 * c-parser.c (c_parser_objc_at_property_declaration): Improved
ca1e00b3
EB
990 error message.
991
d853ee42
NP
9922011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
993
994 * c-parser.c (c_lex_one_token): Updated and reindented some
995 comments. No changes in code.
996
4053a5a0
ILT
9972011-01-11 Ian Lance Taylor <iant@google.com>
998
999 * godump.c (go_output_var): Don't output the variable if there is
1000 already a type with the same name.
1001
fa3e04d2
ILT
10022011-01-11 Ian Lance Taylor <iant@google.com>
1003
1004 * godump.c (go_format_type): Don't generate float80.
1005
885fe07c
RH
10062011-01-11 Richard Henderson <rth@redhat.com>
1007
72d6e3c5
RH
1008 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
1009 declaration. Rewrite for both speed and size.
1010 (mn10300_address_cost_1): Remove.
1011 (mn10300_register_move_cost): New.
1012 (mn10300_memory_move_cost): New.
1013 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
1014 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
1015 extensions, shifts, BSWAP, CLZ.
1016 (mn10300_wide_const_load_uses_clr): Remove.
1017 (TARGET_REGISTER_MOVE_COST): New.
1018 (TARGET_MEMORY_MOVE_COST): New.
1019 * config/mn10300/mn10300-protos.h: Update.
1020 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
1021
df37c023
RH
1022 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
1023 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
1024 * config/mn10300/mn10300-protos.h: Update.
1025 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
1026 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
1027 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
1028 (*test_int_bitfield, *test_byte_bitfield): Remove.
1029 (*bit_test, *subreg_bit_test): Remove.
62d3f9b2 1030 * config/mn10300/predicates.md (const_8bit_operand): Remove.
df37c023 1031
85a337b5
RH
1032 * config/mn10300/constraints.md ("c"): Rename from "A".
1033 ("A", "D"): New constraint letters.
1034 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
1035 (fmssf4, fnmasf4, fnmssf4): Likewise.
1036
a5c727e3
RH
1037 * config/mn10300/mn10300.md (isa): New attribute.
1038 (enabled): New attribute.
1039
0d9e23f4
RH
1040 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
1041 (abssf2, negsf2): Define only for hardware fp.
1042 (sqrtsf2): Reformat.
1043 (addsf3, subsf3, mulsf3): Merge expander and insn.
1044
c157b3f0
RH
1045 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
1046 (DEBUGGER_AUTO_OFFSET): Remove.
1047 (DEBUGGER_ARG_OFFSET): Remove.
1048
cc909bba
RH
1049 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
1050 Emit register stores with the same offsets as the hardware.
1051 (mn10300_store_multiple_operation): Don't check that the register
1052 save offsets are monotonic.
1053 * config/mn10300/mn10300-protos.h: Update.
1054
e3b5c2f3
RH
1055 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
1056
885fe07c
RH
1057 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
1058 in terms of the value on the stack, not the MDR register.
1059
6e701822
JH
10602011-01-11 Jan Hubicka <jh@suse.cz>
1061
1062 PR lto/45721
1063 PR lto/45375
1064 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
1065 (symbol_alias_set_destroy, symbol_alias_set_contains,
1066 propagate_aliases_backward): Declare.
1067 * lto-streamer-out.c (struct sets): New sturcture.
1068 (trivally_defined_alias): New function.
1069 (output_alias_pair_p): Rewrite.
1070 (output_unreferenced_globals): Fix output of alias pairs.
1071 (produce_symtab): Likewise.
1072 * ipa.c (function_and_variable_visibility): Set weak alias destination
1073 as needed in lto.
1074 * varasm.c (symbol_alias_set_t): Remove.
1075 (symbol_alias_set_destroy): Export.
1076 (propagate_aliases_forward, propagate_aliases_backward): New functions
1077 based on ...
1078 (compute_visible_aliases): ... this one; remove.
1079 (trivially_visible_alias): New
1080 (trivially_defined_alias): New.
1081 (remove_unreachable_alias_pairs): Rewrite.
1082 (finish_aliases_1): Reorganize code checking if alias is defined.
1083 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
1084 in LTO mode.
1085
1b248907
RG
10862011-01-11 Richard Guenther <rguenther@suse.de>
1087
1088 PR tree-optimization/46076
1089 * tree-ssa.c (useless_type_conversion_p): Conversions from
1090 unprototyped to empty argument list function types are useless.
1091
b1923f0a
RG
10922011-01-11 Richard Guenther <rguenther@suse.de>
1093
1094 PR middle-end/45235
1095 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
1096 volatile MEMs as MEM_READONLY_P.
1097
e98965af
RG
10982011-01-11 Richard Guenther <rguenther@suse.de>
1099
1100 PR tree-optimization/47239
1101 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
1102
9f9ca914
JL
11032011-01-11 Jeff Law <law@redhat.com>
1104
1ee3ea05 1105 PR tree-optimization/47086
9f9ca914
JL
1106 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
1107 IVs from statements that might throw.
1108
345fdcb7
JH
11092011-01-10 Jan Hubicka <jh@suse.cz>
1110
1111 PR lto/45375
1112 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
1113
c459c97b
JH
11142011-01-10 Jan Hubicka <jh@suse.cz>
1115
1116 PR lto/45375
1117 * profile.c (read_profile_edge_counts): Ignore profile inconistency
1118 when correcting profile.
1119
06c9eb51
JH
11202011-01-10 Jan Hubicka <jh@suse.cz>
1121
1122 PR lto/46083
1123 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
1124 DECL_FINI_PRIORITY.
1125 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
1126 Restore DECL_FINI_PRIORITY.
1127
ae9fd815
RW
11282011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1129
1130 * doc/gimple.texi: Fix quoting of multi-word return values in
1131 @deftypefn statements. Ensure presence of return value. Wrap
1132 overlong @deftypefn lines.
1133 (is_gimple_operand, is_gimple_min_invariant_address): Remove
1134 descriptions of removed functions.
1135 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
1136 of multi-word return value in @deftypefn statement.
1137
0ecb4a7c
RW
11382011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1139
1140 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
1141 (Conditional Expressions, Logical Operators)
1142 (Statement and operand traversals): Do not indent smallexample
1143 code. Fix duplicate function argument in example.
1144
2e5e346d
JL
11452011-01-10 Jeff Law <law@redhat.com>
1146
1ee3ea05 1147 PR tree-optimization/47141
2e5e346d
JL
1148 * ipa-split.c (split_function): Handle case where we are
1149 returning a value and the return block has a virtual operand phi.
1150
cf9712cc
JH
11512011-01-10 Jan Hubicka <jh@suse.cz>
1152
1153 PR tree-optimization/47234
1154 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
1155 (pass_feedback_split_functions): Declare.
1156 * passes.c (init_optimization_passes): Add ipa-split as subpass of
1157 tree-profile.
1158 * ipa-split.c (gate_split_functions): Update comments; disable
1159 split-functions for profile_arc_flag and branch_probabilities.
1160 (gate_feedback_split_functions): New function.
1161 (execute_feedback_split_functions): New function.
1162 (pass_feedback_split_functions): New global var.
1163
94cd932c
L
11642011-01-10 H.J. Lu <hongjiu.lu@intel.com>
1165
1166 PR lto/46760
1167 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
1168 calling gimple_call_set_cannot_inline.
1169
fbbfcaf1
IS
11702011-01-10 Iain Sandoe <iains@gcc.gnu.org>
1171
1172 * config/darwin-sections.def: Remove unused section.
1173
d06865bf
DK
11742011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
1175
1176 PR c++/47218
1177 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
1178
96bbfbac
NP
11792011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
1180
1181 PR objc/47232
1182 * c-parser.c (c_parser_declaration_or_fndef): Improved
1183 error message.
1184
1ba6516f
KT
11852011-01-09 Kai Tietz <kai.tietz@onevision.com>
1186
1187 * config/i386/winnt.c (i386_pe_start_function): Make sure
1188 to switch back to function's section.
1189
0c5d770e
IS
11902011-01-09 Iain Sandoe <iains@gcc.gnu.org>
1191
1192 PR gcc/46902
1193 PR testsuite/46912
1194 * plugin.c: Move include of dlfcn.h from here...
1195 * system.h: ... to here.
1196
11972011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4ee1aa2a
RW
1198
1199 * doc/cpp.texi (C++ Named Operators): Fix markup for header
1200 file name.
1201 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
1202 two extra empty pages in PDF output.
1203
046608a3
NP
12042011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
1205
1206 PR objc/47078
1207 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
1208 for error recovery purposes behave as if it was not specified so
1209 that the default type is usd.
1210
8cb114b9
JH
12112011-01-07 Jan Hubicka <jh@suse.cz>
1212
1213 PR tree-optmization/46469
1214 * ipa.c (function_and_variable_visibility): Clear needed flags on
1215 nodes with external decls; handle weakrefs merging correctly.
1216
b294a75e
JM
12172011-01-07 Joseph Myers <joseph@codesourcery.com>
1218
1219 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
1220 not false.
1221
96bdf9b4
JH
12222011-01-07 Jan Hubicka <jh@suse.cz>
1223
1224 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
1225 and no longer claim that gold is required for linker plugin.
1226 * configure: Regenerate.
1227 * gcc.c (PLUGIN_COND): New macro.
1228 (LINK_COMMAND_SPEC): Use it.
1229 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
1230 * config.in (HAVE_LTO_PLUGIN): New.
1231 * configure.ac (--with-lto-plugin): New parameter; autodetect
1232 HAVE_LTO_PLUGIN.
1233
17afc0fe
JH
12342011-01-07 Jan Hubicka <jh@suse.cz>
1235
1236 PR tree-optimization/46367
1237 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
1238 when we can update original.
1239 (cgraph_mark_inline_edge): Sanity check.
1240 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
1241
d4c48c0f
UW
12422011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1243
1244 * config/spu/spu.h (ASM_COMMENT_START): Define.
1245
96f5b137
L
12462011-01-07 H.J. Lu <hongjiu.lu@intel.com>
1247
1248 PR driver/42445
1249 * gcc.c (%>S): New.
1250 (SWITCH_KEEP_FOR_GCC): Likewise.
1251 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
1252 (do_spec_1): Handle "%>".
1253
1254 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
1255
c6a8f6de
JJ
12562011-01-07 Jakub Jelinek <jakub@redhat.com>
1257
c21bbd7a
JJ
1258 PR target/47201
1259 * config/i386/i386.c (ix86_delegitimize_address): If
1260 simplify_gen_subreg fails, return orig_x.
1261
c6a8f6de
JJ
1262 PR bootstrap/47187
1263 * value-prof.c (gimple_stringop_fixed_value): Handle
1264 lhs of the call properly.
1265
fe95fbf9
JH
12662011-01-07 Jan Hubicka <jh@suse.cz>
1267
1268 PR lto/45375
1269 * lto-opt.c (lto_reissue_options): Set flag_shlib.
1270
14d11d40
IS
12712011-01-07 Iain Sandoe <iains@gcc.gnu.org>
1272
72e961c8
EB
1273 * target.def (function_switched_text_sections): New hook.
1274 * doc/tm.texi: Regenerated.
1275 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
14d11d40 1276 * final.c (default_function_switched_text_sections): New.
72e961c8
EB
1277 (final_scan_insn): Call function_switched_text_sections when a
1278 mid-function section change occurs.
14d11d40 1279 * output.h (default_function_switched_text_sections): Declare.
72e961c8
EB
1280 * config/darwin-protos.h (darwin_function_switched_text_sections):
1281 Likewise.
14d11d40 1282 * config/darwin.c (darwin_function_switched_text_sections): New.
72e961c8 1283 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
14d11d40 1284
0b764288
IS
12852011-01-07 Iain Sandoe <iains@gcc.gnu.org>
1286
1287 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
1288 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
1289 the secondary code fragment when outputting for DWARF == 2.
1290
2ac6bb04
AS
12912011-01-07 Anatoly Sokolov <aesok@post.ru>
1292
1293 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
1294 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
1295 Remove.
1296 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
1297 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
1298
9f82de11
EB
12992011-01-06 Eric Botcazou <ebotcazou@adacore.com>
1300
1301 PR debug/46704
280d9630
EB
1302 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
1303 when it is not empty.
9f82de11
EB
1304
13052011-01-06 Changpeng Fang <changpeng.fang@amd.com>
14b52538 1306
1ed72abf 1307 Bobcat Enablement
14b52538 1308 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
1ed72abf 1309 (case ${target}): Add btver1.
14b52538 1310 * config/i386/driver-i386.c (host_detect_local_cpu): Let
1ed72abf 1311 -march=native recognize btver1 processors.
14b52538 1312 * config/i386/i386-c.c (ix86_target_macros_internal): Add
1ed72abf 1313 btver1 def_and_undef
14b52538 1314 * config/i386/i386.c (struct processor_costs btver1_cost): New
1ed72abf
CF
1315 btver1 cost table.
1316 (m_BTVER1): New definition.
1317 (m_AMD_MULTIPLE): Includes m_BTVER1.
1318 (initial_ix86_tune_features): Add btver1 tune.
1319 (processor_target_table): Add btver1 entry.
1320 (static const char *const cpu_names): Add btver1 entry.
1321 (software_prefetching_beneficial_p): Add btver1.
1322 (ix86_option_override_internal): Add btver1 instruction sets.
1323 (ix86_issue_rate): Add btver1.
1324 (ix86_adjust_cost): Add btver1.
14b52538 1325 * config/i386/i386.h (TARGET_BTVER1): New definition.
1ed72abf
CF
1326 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
1327 (enum processor_type): Add PROCESSOR_BTVER1.
14b52538
CF
1328 * config/i386/i386.md (define_attr "cpu"): Add btver1.
1329
e1a973d8
RO
13302011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1331
1332 PR target/43309
1333 * config/i386/i386.c (legitimize_tls_address)
1334 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
1335 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
1336 (tls_initial_exec_64_sun): New pattern.
1337
c73f67c5
GP
13382011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
1339
1340 * doc/invoke.texi (Overall Options): Improve wording and markup
1341 of the description of -wrapper.
1342
bc4c6f9c
JM
13432011-01-06 Joseph Myers <joseph@codesourcery.com>
1344
1345 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
1346 rdynamic, threads): New Driver options.
1347
adb75db0
RO
13482011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1349
1350 PR target/38118
1351 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
1352 if coming from .tdata.
1353 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
1354
402c1cb4
JH
13552011-01-06 Jan Hubicka <jh@suse.cz>
1356
1357 PR lto/47188
1358 * collect2.c (main): Do not enable LTOmode when plugin is active.
1359
a4da6485
RO
13602011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1361
1362 PR other/45915
1363 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
1364 --version output if supported.
1365 * configure: Regenerate.
1366
028dbdf4
JM
13672011-01-06 Joseph Myers <joseph@codesourcery.com>
1368
1369 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
1370 Driver options.
1371
dfe776dd
JJ
13722011-01-06 Jakub Jelinek <jakub@redhat.com>
1373
1374 PR c/47150
1375 * c-convert.c (convert): When converting a complex expression
1376 other than COMPLEX_EXPR to a different complex type, ensure
1377 c_save_expr is called instead of save_expr, unless in_late_binary_op.
1378 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
1379 when converting COMPLEX_TYPE.
1380
210dedfe
IR
13812011-01-06 Ira Rosen <irar@il.ibm.com>
1382
1383 PR tree-optimization/47139
1384 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
1385 only the last reduction value is used outside the loop. Update
1386 documentation.
1387
cd33a412
JM
13882011-01-05 Joseph Myers <joseph@codesourcery.com>
1389
1390 * config/rtems.opt: New.
1391 * config.gcc (*-*-rtems*): Use rtems.opt.
1392
819edd94
CF
13932011-01-05 Changpeng Fang <changpeng.fang@amd.com>
1394
1395 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
1396 processors do not support 3DNow instructions.
1397
dc242c4a
UW
13982011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1399
1400 * config/spu/spu.c (spu_option_override): Set parameter
1401 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
1402
be286227
JH
14032011-01-05 Jan Hubicka <jh@suse.cz>
1404
1405 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
1406 at the command line.
1407
644e637f
MJ
14082011-01-05 Martin Jambor <mjambor@suse.cz>
1409
1410 PR lto/47162
1411 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
1412 deltas on streamed outgoing edges.
1413 (output_node_opt_summary): Output info for outgoing edges only when
1414 the node is in new parameter set.
1415 (output_cgraph_opt_summary): New parameter set, passed to the two
1416 aforementioned functions. Update its forward declaration and its
1417 callee too.
1418
7bd11157
TT
14192011-01-05 Tom Tromey <tromey@redhat.com>
1420
1421 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
1422 operator to c_finish_omp_atomic.
1423 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
1424 (build_unary_op): Update.
1425 (build_modify_expr): Update.
1426 (build_asm_expr): Update.
1427
f626b979
UW
14282011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1429
1430 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
1431 newly inserted insns.
1432 (pad_bb): Likewise.
1433 (spu_emit_branch_hint): Likewise.
1434 (insert_hbrp_for_ilb_runout): Likewise.
1435 (spu_machine_dependent_reorg): Call df_finish_pass after
1436 schedule_insns returns.
1437
4c825c02
UW
14382011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1439
1440 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
1441
5e9fba51
EB
14422011-01-05 Eric Botcazou <ebotcazou@adacore.com>
1443
1444 PR tree-optimization/47005
1445 * tree-sra.c (struct access): Add 'non_addressable' bit.
1446 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
1447 (decide_one_param_reduction): Return 0 if the parameter is passed by
1448 reference and one of the accesses in the group is non_addressable.
1449
3ebb5ca6
EB
14502011-01-04 Eric Botcazou <ebotcazou@adacore.com>
1451
1452 PR tree-optimization/47056
1453 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
1454 (mark_load): Likewise. Handle FUNCTION_DECL specially.
1455 (mark_store): Likewise. Pass STMT to ipa_record_reference.
1456
d5d4d14e
EB
14572011-01-04 Eric Botcazou <ebotcazou@adacore.com>
1458
1459 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
1460 initializer. Skip view conversions from aggregate types.
1461
d996ef70
KT
14622011-01-04 Kai Tietz <kai.tietz@onevision.com>
1463
1464 PR bootstrap/47055
1465 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
1466
017096ca
PT
14672011-01-04 Philipp Thomas <pth@suse.de>
1468
1469 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
1470 obvious typo.
1471
55c623b5
UW
14722011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1473
1474 * function.c (thread_prologue_and_epilogue_insns): Do not crash
1475 on empty epilogue sequences.
1476
b98d6b35
JM
14772011-01-04 Joseph Myers <joseph@codesourcery.com>
1478
1479 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
1480 non-static): New Driver options.
1481
a0d43bac
JZ
14822011-01-04 Jie Zhang <jie@codesourcery.com>
1483
1484 PR driver/47137
1485 * gcc.c (default_compilers[]): Set combinable field to 0
1486 for all assembly languages.
1487
2b18eb32
MX
14882011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
1489
1490 * config/mips/loongson3a.md: New file.
1491 * config/mips/mips.md: Include loongson3a.md.
1492 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
1493 TUNE_LOONGSON_3A.
1494
42a48c4f
EB
14952011-01-03 Eric Botcazou <ebotcazou@adacore.com>
1496
1497 PR middle-end/47017
1498 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
1499 instead of convert_memory_address_addr_space on the base expression.
1500
9c1732c4
UW
15012011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1502
1503 * config/spu/spu.c (spu_option_override): Update error text
1504 for bad -march= / -mtune= values.
1505
aa474365
UW
15062011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1507
1508 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
1509 if branch-hint optimization will be performed.
1510
9766135b
JJ
15112011-01-03 Jakub Jelinek <jakub@redhat.com>
1512
371556ee
JJ
1513 PR tree-optimization/47148
1514 * ipa-split.c (split_function): Convert arguments to
1515 DECL_ARG_TYPE if possible.
1516
1ac12fa2
JJ
1517 PR tree-optimization/47155
1518 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
1519 when computing uns.
1520
9766135b
JJ
1521 PR rtl-optimization/47157
1522 * combine.c (try_combine): If undobuf.other_insn becomes
1523 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
1524 and set *new_direct_jump_p too.
1525
f4a2e571
SP
15262011-01-03 Sebastian Pop <sebastian.pop@amd.com>
1527
1528 PR tree-optimization/47021
1529 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
1530
9f8e43c0
JJ
15312011-01-03 Jakub Jelinek <jakub@redhat.com>
1532
1533 * gcc.c (process_command): Update copyright notice dates.
1534 * gcov.c (print_version): Likewise.
1535 * gcov-dump.c (print_version): Likewise.
1536 * mips-tfile.c (main): Likewise.
1537 * mips-tdump.c (main): Likewise.
1538
1a2e38f3
MJ
15392011-01-03 Martin Jambor <mjambor@suse.cz>
1540
1541 PR tree-optimization/46801
1542 * tree-sra.c (type_internals_preclude_sra_p): Check whether
1543 aggregate fields start at byte boundary instead of the bit-field flag.
1544
56b721c5
L
15452011-01-03 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 PR driver/47137
1548 * gcc.c (main): Revert revision 168407.
1549
839d549b
MJ
15502011-01-03 Martin Jambor <mjambor@suse.cz>
1551
1552 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
1553
4ce99a20 15542011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2fa6eeff
UW
1555
1556 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
1557 vector optab to expand vector/scalar shift, update gimple to vector.
1558
76df0ae6
MJ
15592011-01-03 Martin Jambor <mjambor@suse.cz>
1560
1561 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
1562 a thunk.
1563
ce47fda3
MJ
15642011-01-03 Martin Jambor <mjambor@suse.cz>
1565
1566 PR tree-optimization/46984
1567 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
1568 HOST_WIDE_INT.
1569 (cgraph_create_indirect_edge): Fixed line length.
1570 (cgraph_indirect_call_info): Declare.
1571 (cgraph_make_edge_direct) Update declaration.
1572 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
1573 (cgraph_create_indirect_edge): Use it.
1574 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
1575 callees.
1576 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
1577 the new thunk_delta representation.
1578 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
1579 HOST_WIDE_INT.
1580 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
1581 (ipa_read_indirect_edge_info): Likewise.
1582 * lto-cgraph.c (output_edge_opt_summary): New function.
1583 (output_node_opt_summary): Call it on all outgoing edges.
1584 (input_edge_opt_summary): New function.
1585 (input_node_opt_summary): Call it on all outgoing edges.
1586
1e67fa1f
L
15872011-01-02 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 PR driver/47137
1590 * gcc.c (main): Don't check have_o when settting combine_inputs.
1591
6656b2ac
EB
15922011-01-02 Eric Botcazou <ebotcazou@adacore.com>
1593
1594 * regrename.c: Add general comment describing the pass.
1595 (struct du_head): Remove 'length' field.
1596 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
1597 (regrename_optimize): Do not sort chains. Rework comments, add others.
1598 Force renaming to the preferred class (if any) in the first pass and do
1599 not consider registers that belong to it in the second pass.
1600 (create_new_chain): Do not set 'length' field.
1601 (scan_rtx_reg): Likewise.
1602
bc470c24
JJ
16032011-01-02 Jakub Jelinek <jakub@redhat.com>
1604
4e996296
JJ
1605 PR tree-optimization/47140
1606 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
1607 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
1608 to bit_value_binop.
1609
bc470c24 1610 PR rtl-optimization/47028
6656b2ac
EB
1611 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
1612 parm_birth_insn instead of at the beginning of first bb.
bc470c24 1613
5af62fcd 16142011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
0d52f2a8
MX
1615
1616 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
1617 Remove the word "see" before "@pxref".
1618 * doc/rtl.texi: Remove the word "see" before "@pxref".
1619
0e20c89f
JH
16202011-01-01 Jan Hubicka <jh@suse.cz>
1621
6656b2ac
EB
1622 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
1623 memory.
0e20c89f 1624
220e83ca
KT
16252011-01-01 Kai Tietz <kai.tietz@onevision.com>
1626
1627 PR target/38662
6656b2ac 1628 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
220e83ca 1629
ad41bd84 1630\f
797103eb 1631Copyright (C) 2011 Free Software Foundation, Inc.
ad41bd84
JM
1632
1633Copying and distribution of this file, with or without modification,
1634are permitted in any medium without royalty provided the copyright
1635notice and this notice are preserved.
This page took 2.594439 seconds and 5 git commands to generate.