]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
convert.c (strip_float_extensions): Move ...
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
73ddd02d
RG
12012-03-07 Richard Guenther <rguenther@suse.de>
2
3 * convert.c (strip_float_extensions): Move ...
4 * tree.c (strip_float_extensions): ... here.
5
1274e3a4
GJL
62012-03-07 Georg-Johann Lay <avr@gjlay.de>
7
8 PR target/52484
9 * config/avr/avr.md (xload<mode>_A): Add R22... to register footprint.
10
96f9265a
RG
112012-03-07 Richard Guenther <rguenther@suse.de>
12
13 * omp-low.c (extract_omp_for_data): Use signed_type_for.
14 (expand_omp_for_generic): Likewise.
15 (expand_omp_for_static_nochunk): Likewise.
16 (expand_omp_for_static_chunk): Likewise.
17 * tree-vect-stmts.c (vect_gen_perm_mask): Use type_for_mode.
18 * tree-vect-slp.c (vect_transform_slp_perm_load): Likewise.
19 * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop):
20 Use unsigned_type_for.
21 (vect_create_cond_for_align_checks): Use signed_type_for.
22
3f1960ac
AB
232012-03-07 Andrey Belevantsev <abel@ispras.ru>
24
25 PR rtl-optimization/52203
26 * sel-sched.c (estimate_insn_cost): New parameter pempty. Adjust
27 all callers to pass NULL except ...
28 (reset_sched_cycles_in_current_ebb): ... here, save the value
29 in new variable 'empty'. Increase issue_rate only for
30 non-empty insns.
31
d6baa446
RC
322012-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
33
34 PR target/51417
35 * Makefile.in: Let install-gcc-ar depend on installdirs, gcc-ar$(exeext),
36 gcc-nm$(exeext), gcc-ranlib$(exeext).
37 Don't double canonicalize if cross-compiling.
38
42601c63
GJL
392012-03-07 Georg-Johann Lay <avr@gjlay.de>
40
41 PR target/52506
42 * gcc/config/avr/avr.c (expand_epilogue): Fix order of restoration
43 to: RAMPZ, RAMPY, RAMPX, RAMPD.
44 (expand_prologue): Only clear RAMPZ if it has effect on RAM-read.
45
61108225
GJL
462012-03-07 Georg-Johann Lay <avr@gjlay.de>
47
48 PR target/52505
49 * config/avr/avr.c (avr_out_xload): Don't read unintentionally
50 from RAM.
51 * config/avr/avr.md (xload_8): Adjust insn length.
52
b30e10ab
GJL
532012-03-07 Georg-Johann Lay <avr@gjlay.de>
54
55 PR target/52461
56 * gcc/config/avr/avr.c (avr_out_lpm): Clear RAMPZ after usage
57 if RAMPZ affects reading from RAM.
58
eb3e63cc
RG
592012-03-07 Richard Guenther <rguenther@suse.de>
60
61 PR pch/52518
62 PR pch/38987
63 * doc/invoke.texi (Precompiled Headers): Remove sentence that
64 suggests you can include PCHs from inside another header.
65
788284ef
RS
662012-03-07 Richard Sandiford <rdsandiford@googlemail.com>
67
68 PR middle-end/52515
69 * rtl.h (pc_rtx, cc0_rtx, ret_rtx, simple_return_rtx): Add GTY markers.
70
98b1d9b2
KT
712012-03-07 Kai Tietz <ktietz@redhat.com>
72
73 * doc/invoke.texi (fwritable-relocated-rdata): Document
74 new Cygwin/MinGW target option.
75 * config/i386/winnt.c (i386_pe_unique_section): Ignore
76 reloc if flag -fwritable-relocated-rdata is not set.
77 (i386_pe_section_type_flags): Likewise.
78 * config/i386/cygming.opt (fwritable-relocated-rdata):
79 Add new flag variable flag_writable_rel_rdata.
80
f409d239
RG
812012-03-07 Richard Guenther <rguenther@suse.de>
82
83 * tree-ssa-math-opts.c (convert_mult_to_widen): Check actual
84 precision against gimple constraints.
85
ca4adc91
RS
862012-03-06 Richard Sandiford <rdsandiford@googlemail.com>
87
88 PR middle-end/52372
89 * rtl.h (pc_rtx, ret_rtx, simple_return_rtx, cc0_rtx): Redefine as
90 variables.
91 (GR_PC, GR_CC0, GR_RETURN, GR_SIMPLE_RETURN): Delete.
92 * emit-rtl.c (pc_rtx, ret_rtx, simple_return_rtx, cc0_rtx): New
93 variables.
94 (init_emit_regs): Move associated initialization to...
95 (init_emit_once): ...here.
96
22a89c86
RH
972012-03-06 Richard Henderson <rth@redhat.com>
98
99 * config/m68k/m68k.h (ISA_HAS_TAS): New.
100 * config/m68k/sync.md (atomic_test_and_set): Use it.
101 (atomic_test_and_set_1): Likewise.
102
46402cbe
MM
1032012-03-06 Michael Meissner <meissner@linux.vnet.ibm.com>
104
105 PR target/50310
106 * config/rs6000/vector.md (vector_uneq<mode>): Add support for
107 UNEQ, LTGT, ORDERED, and UNORDERED IEEE vector comparisons.
108 (vector_ltgt<mode>): Likewise.
109 (vector_ordered<mode>): Likewise.
110 (vector_unordered<mode>): Likewise.
111 * config/rs6000/rs6000.c (rs6000_emit_vector_compare_inner):
112 Likewise.
113
6342e53f
AH
1142012-03-06 Aldy Hernandez <aldyh@redhat.com>
115
116 * trans-mem.c: New typedef for tm_region_p.
117 Define vector types for tm_region_p.
118 (tm_region_init): Replace region_worklist to a vector called
119 bb_regions.
120
d8f56643
RG
1212012-03-06 Richard Guenther <rguenther@suse.de>
122
123 * fold-const.c (build_fold_addr_expr_with_type_loc): Fold
124 MEM_REF with constant pointer operand.
125
9da5500b
RG
1262012-03-06 Richard Guenther <rguenther@suse.de>
127
128 PR middle-end/52493
129 * tree-ssa-alias.c (ptr_derefs_may_alias_p): Robustify.
130
66df6e9e
TG
1312012-03-06 Tristan Gingold <gingold@adacore.com>
132
133 * config/vms/vms-c.c (vms_pragma_nomember_alignment): Handle
134 octaword.
135 (external_model_kind): Improve documentation.
136 (vms_pragma_extern_model): Handle relaxed_redef.
137 (vms_c_register_pragma): Allow expansion for nomember_alignment.
138
837fd3b0
GJL
1392012-03-06 Georg-Johann Lay <avr@gjlay.de>
140
141 * doc/invoke.texi (AVR Options): -mmcu=: Document the XMEGA cores.
142 Explain RAMPD, RAMPX, RAMPDY, RAMPZ usage by avr-gcc.
143 Some more notes on EIND usage and reorder EIND subsection.
144
17a27c59
TG
1452012-03-06 Tristan Gingold <gingold@adacore.com>
146
147 * config/vms/vms.c (VMS_CRTL_LDBL): Rename from VMS_CRTL_PRNTF.
148 * config/vms/vms-crtlmap.map: Rename PRNTF to LDBL.
149
a2ddaaf5
TG
1502012-03-06 Tristan Gingold <gingold@adacore.com>
151
152 * config/vms/t-vmsnative (version): Define.
153 * config/vms/t-vms (STMP_FIXPROTO, STMP_FIXINC, version): Remove.
154
b7b5540a
AB
1552012-03-06 Andrey Belevantsev <abel@ispras.ru>
156
157 PR rtl-optimization/52250
158 * sel-sched-ir.c (maybe_tidy_empty_bb): Try harder to find a bb
159 to put note list into. Unconditionally call move_bb_info.
160 (move_bb_info): Do not assert the blocks being in the same region,
a2ddaaf5 161 just drop the note list if they are not.
b7b5540a 162
9747719a
OE
1632012-03-06 Oleg Endo <olegendo@gcc.gnu.org>
164
165 PR target/51244
166 * config/sh/sh.c (sh_expand_t_scc): Remove SH2A special case
167 and use unified expansion logic.
168 * config/sh/sh.md (xorsi3_movrt): Rename to movrt. Move
169 closer to the existing movt insn.
170 (negc): Rename insn to *negc. Add new expander.
171 (movnegt): Use xor pattern for T bit negation. Reserve helper
172 constant for negc pattern.
173 (*movnegt): New insn and splitter.
174
5de72424
BS
1752012-03-05 Bernd Schmidt <bernds@codesourcery.com>
176
177 * c-typeck.c (pointer_diff): Check for POINTER_PLUS_EXPR, not
178 PLUS_EXPR.
179
3b1552c1
RH
1802012-03-05 Richard Henderson <rth@redhat.com>
181
182 * genemit.c (main): Include "target.h" in insn-emit.c.
183 * Makefile.in (insn-emit.o): Depend on TARGET_H.
184 * config/sh/sync.md (atomic_test_and_set): Reference
185 targetm.atomic_test_and_set_trueval instead of
186 TARGET_ATOMIC_TEST_AND_SET_TRUEVAL.
187
1565f169
JR
1882012-03-05 Joern Rennecke <joern.rennecke@embecosm.com>
189
190 * config/epiphany/epiphany.c (epiphany_function_value_regno_p):
191 Make static.
192
c0814136
SB
1932012-03-05 Steven Bosscher <steven@gcc.gnu.org>
194
195 * langhooks.c (add_builtin_type): New function.
196 * langhooks.h (add_builtin_type): Export it.
197 * config/mep/mep.c (mep_init_builtins): Use it.
198 * config/rs6000/rs6000.c (rs6000_init_builtins): Use it.
199
1e3c1d95
JJ
2002012-03-05 Jakub Jelinek <jakub@redhat.com>
201
202 PR debug/51902
203 * tree.h (BLOCK_SAME_RANGE): Define.
204 * function.c (block_fragments_nreverse): Clear BLOCK_SAME_RANGE
205 if BLOCK_FRAGMENT_CHAIN is non-NULL, but has it cleared.
206 Also clear BLOCK_SAME_RANGE if fragment chain's supercontext fragment
207 isn't equal to supercontext fragment's fragment chain.
208 Adjust BLOCK_SUPERCONTEXT to point to supercontext fragment's
209 fragment origin.
210 (blocks_nreverse_all): Likewise.
211 (reorder_blocks_1): Compute BLOCK_SAME_RANGE bits. Set
212 BLOCK_SUPERCONTEXT to supercontext fragment instead of
213 supercontext fragment's fragment origin.
214 * dwarf2out.c (add_high_low_attributes): If stmt has the same
215 range as its parent (or parents thereof etc.), use the parent's
216 DW_AT_ranges value instead of creating a new .debug_ranges range.
217
4999c62c
RH
2182012-03-05 Richard Henderson <rth@redhat.com>
219
220 PR tree-opt/52242
221 Revert: 2011-11-26 Richard Henderson <rth@redhat.com>
222 * omp-low.c (expand_omp_atomic): Assume anything aligned to
223 BIGGEST_ALIGNMENT is aligned.
224
95a6dda5
RH
2252012-03-05 Richard Henderson <rth@redhat.com>
226
227 * config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): Move...
228 * config/sh/sh.c: ... here.
229
b7313c30
RH
2302012-03-05 Richard Henderson <rth@redhat.com>
231
232 PR target/52481
233 * config/m68k/sync.md (atomic_test_and_set): Use expand_simple_unop
234 instead of calling negqi2 directly.
235
f49b12f4
RH
2362012-03-05 Aldy Hernandez <aldyh@redhat.com>
237
238 PR middle-end/52463
239 * trans-mem.c (tm_region_init): Use last_basic_block.
240
ab649754
OE
2412012-03-05 Oleg Endo <olegendo@gcc.gnu.org>
242
243 * config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New hook.
244 * config/sh/sync.md (atomic_test_and_set): New expander.
245 (tasb, atomic_test_and_set_soft): New insns.
246 * config/sh/sh.opt (menable-tas): New option.
247 * doc/invoke.texi (SH Options): Document it.
248
510dbcce
RG
2492012-03-05 Richard Guenther <rguenther@suse.de>
250
251 * cfgloop.c (verify_loop_structure): Verify dominators before
252 using them.
253 * graphite-clast-to-gimple.c (graphite_verify): Do not verify
254 dominators from here.
255 * graphite-scop-detection.c (create_sese_edges): Likewise.
256 * loop-doloop.c (doloop_optimize_loops): Likewise.
257 * loop-init.c (loop_optimizer_init): Likewise.
258 * loop-unroll.c (unroll_and_peel_loops): Likewise.
259 * loop-unswitch.c (unswitch_loops): Likewise.
260 * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Likewise.
261 * tree-parloops.c (parallelize_loops): Likewise. Verify
262 only when checking is enabled.
263 * tree-loop-distribution.c (tree_loop_distribution): Likewise.
264
50bcfce0
BS
2652012-03-05 Bernd Schmidt <bernds@codesourcery.com>
266
267 * genautomata.c (parse_automata_opt): New static function.
268 (initiate_automaton_gen): Remove all option handling code. Remove
269 argc argument. All callers changed.
270 (main): Call init_rtx_reader_args_cb with the new function as
271 argument.
272
cd7d9fd7
RG
2732012-03-05 Richard Guenther <rguenther@suse.de>
274
275 * cfgexpand.c (gimple_expand_cfg): Free dominator info.
276 * tree-if-conv.c (combine_blocks): Free post-dominator info
277 after breaking it.
278 * tree-parloops.c (create_parallel_loop): Free and re-compute
279 dominator info after breaking it.
280
b55f62cc
RG
2812012-03-05 Richard Guenther <rguenther@suse.de>
282
283 PR middle-end/52353
284 * optabs.h (trapv_unoptab_p): New function.
285 (trapv_binoptab_p): Likewise.
286 * optabs.c (expand_binop): Use emit_libcall_block_1 with
287 a proper equiv_may_trap argument.
288 (expand_unop): Likewise.
289 (emit_libcall_block_1): Take extra argument whether the
290 instruction may trap. Renamed from ...
291 (emit_libcall_block): ... this. New wrapper.
292
f9df6f16
JJ
2932012-03-05 Jakub Jelinek <jakub@redhat.com>
294
3877a6a6
JJ
295 PR tree-optimization/51721
296 * tree-vrp.c (register_edge_assert_for_2): If comparing
297 lhs of right shift by constant with an integer constant,
298 add ASSERT_EXPRs for the rhs1 of the right shift.
299
f9df6f16
JJ
300 * cfgrtl.c (cfg_layout_merge_blocks): Cleanup.
301
45c0175b
RG
3022012-03-05 Richard Guenther <rguenther@suse.de>
303
304 * tree.c (integer_zerop): Handle VECTOR_CSTs.
305 (integer_onep): Likewise.
306 (integer_all_onesp): Likewise.
307
d84f3a05
GJL
3082012-03-05 Georg-Johann Lay <avr@gjlay.de>
309
310 * config/avr/avr.md (*umaddqihi4.2): New insn-and-split.
311
55b86fb0
L
3122012-03-04 H.J. Lu <hongjiu.lu@intel.com>
313
314 * config/i386/i386.c (pro_epilogue_adjust_stack): Check Pmode
315 instead of TARGET_64BIT.
316
4732e8de
L
3172012-03-04 H.J. Lu <hongjiu.lu@intel.com>
318
319 * config/i386/i386.c (ix86_expand_prologue): Check Pmode to set
320 adjust_stack_insn.
321
5ca9708b
L
3222012-03-04 H.J. Lu <hongjiu.lu@intel.com>
323
324 * config/i386/i386.c (ix86_print_operand_address): Only handle
325 zero-extended DImode addresses.
326
f0050a4b
UB
3272012-03-04 Uros Bizjak <ubizjak@gmail.com>
328
329 * config/i386/i386.c (ix86_print_operand) <case '+'>: Declare
330 taken and cputaken as bool.
331
904eea2c
UB
3322012-03-04 Uros Bizjak <ubizjak@gmail.com>
333
334 * config/i386/constraints.md (Ya): New internal constraint.
335 * config/i386/i386.md (zero_extendsidi2): Remove expansion.
336 (*zero_extendsidi2_rex64): Add x,x alternative.
337 (*zero_extendsidi2): Ditto. Add o,0 alternative.
338 Remove flags reg clobber. Adjust corresponding splits.
339 (zero_extend<mode>si2): Macroize expander from zero_extendhisi2 and
340 zero_extendqisi2 expanders using SWI12 mode iterator.
341 (zero_extend<mode>si2_and): Macroize insn from
342 zero_extendhisi2_and and zero_extendqisi2_and. Merge corresponding
343 splitters.
344 (*zero_extend<mode>si2): Macroize insn from
345 *zero_extendhisi2_movzbl and *zero_extendqisi2_movzbl.
346 (*zero_extend*2_movzbl_and): Remove insn patterns.
347 (zero_extendqihi2_and): Merge corresponding splitter.
348 (*zero_extendqihi2): Rename from *zero_extendqihi2_movzbl.
349 (*zero_extend*2_movzbl_and): Remove insn patterns.
350 (*anddi_1): Split TYPE_IMOVX instructions.
351 (*andsi_1): Use Ya for alternative 2. Split TYPE_IMOVX instructions.
352 (*andhi_1): Ditto.
353 (and->zext splitter): Add splitter pattern.
354 (zero extend with andsi3 splitter): Adjust zero_extend pattern.
355
b12866c7
SL
3562012-03-04 Sandra Loosemore <sandra@codesourcery.com>
357
358 * doc/invoke.texi (C++ Dialect Options): Minor copy-edits to
359 x86-specific text.
360 (Debugging Options): Likewise.
361 (Optimize Options): Likewise.
362 (i386 and x86-64 Options): Discuss -march before -mtune, consistently
363 with other architectures. Use official processor names with correct
364 spelling/capitalization. Fix formatting and grammar issues.
365 (i386 and x86-64 Windows Options): Similar cleanup here.
366
4feaca8b
KK
3672012-03-03 Kaz Kojima <kkojima@gcc.gnu.org>
368
369 * config/sh/sh.md (abssi2): Add TARGET_SH1 condition.
370
59248459
KK
3712012-03-03 Kaz Kojima <kkojima@gcc.gnu.org>
372
373 * config/sh/sh.c (sh_dwarf_register_span): Don't apply
374 DBX_REGISTER_NUMBER.
375
dea148c4
KK
3762012-03-03 Kaz Kojima <kkojima@gcc.gnu.org>
377
378 * config/sh/sh.c (shiftcosts): Return MAX_COST when the first
379 operand is CONST_INT. Take COSTS_N_INSNS into account.
380 (sh_rtx_costs): Don't apply COSTS_N_INSNS to the return value
381 of shiftcosts.
382
a6de595f
RH
3832012-03-02 Richard Henderson <rth@redhat.com>
384
385 * optabs.c (expand_atomic_test_and_set): Honor
386 atomic_test_and_set_trueval even when atomic_test_and_set
387 optab is not in use.
388
4978c736
KK
3892012-03-02 Kaz Kojima <kkojima@gcc.gnu.org>
390
391 PR target/48596
392 PR target/48806
393 * config/sh/sh.c (sh_register_move_cost): Increase cost between
394 GENERAL_REGS and FP_REGS for SImode.
395
5e44ea89
OE
3962012-03-02 Oleg Endo <olegendo@gcc.gnu.org>
397
398 PR target/49486
399 * config/sh/sh.md (negdi2): Add TARGET_SH1 condition.
400 (absdi2): New expander.
401 (*absdi2, *negabsdi2, negdi_cond): New insns and splits.
402
349e6f05
OE
4032012-03-02 Oleg Endo <olegendo@gcc.gnu.org>
404
b5ea8036
OE
405 * config/sh/sync.md (atomic_exchange<mode>): New expander.
406 (atomic_exchange<mode>_soft): New insn.
407
4082012-03-02 Oleg Endo <olegendo@gcc.gnu.org>
409
410 * config/sh/sync.md: Update copyright notice dates.
349e6f05
OE
411 (atomic_compare_and_swap<mode>): Use SImode for return value instead
412 of QImode.
b5ea8036 413 (atomic_compare_and_swap<mode>_soft): Likewise.
349e6f05
OE
414
4152012-03-02 Oleg Endo <olegendo@gcc.gnu.org>
904eea2c 416
b6a0df6c
OE
417 PR target/31640
418 * config/sh/sh.h (LOOP_ALIGN): Move logic to sh_loop_align.
419 * config/sh/sh.c: Update copyright notice dates.
420 (sh_loop_align): Add logic from LOOP_ALIGN. Don't disable loop
421 alignment for TARGET_HARD_SH4.
904eea2c 422 (sh_option_override): Reduce default function alignment. Set
b6a0df6c
OE
423 loop alignment to 4 bytes when not optimizing for size.
424
093193be
MK
4252012-03-02 Maxim Kuvyrkov <maxim@codesourcery.com>
426
290d87eb 427 PR middle-end/50335
093193be
MK
428 * doc/invoke.texi (floop-flatten): Remove.
429 * toplev.c (process_options): Remove references to flag_loop_flatten.
430 * tree-ssa-loop.c (gate_graphite_transform): Same.
431 * common.opt (floop-flatten): Obsolete.
432 * graphite-poly.c (apply_poly_transforms): Remove reference to
433 flag_loop_flatten.
434 * Makefile.in (graphite-flattening.o): Remove.
435 * graphite-flattening.c: Remove.
436
34c5f21a
UB
4372012-03-02 Uros Bizjak <ubizjak@gmail.com>
438
439 * compare-elim.c (find_comparisons_in_bb): Eliminate only compares
440 having mode compatible with the mode of previous compare. Substitute
441 compare mode of previous compare with the mode, compatible
442 with eliminated and previous compare.
443
6f975f93
PB
4442012-03-02 Peter Bergner <bergner@vnet.ibm.com>
445
446 * config/rs6000/dfp.md (floatdidd2): New define_insn.
447
76945a7c
UB
4482012-03-02 Uros Bizjak <ubizjak@gmail.com>
449
450 * config/i386/i386.c (ix86_cc_modes_compatible): Declare CCZmode
451 compatible with CCGOCmode and CCGCmode.
452
2ff16893
PB
4532012-03-02 Peter Bergner <bergner@vnet.ibm.com>
454
455 * config/rs6000/vsx.md (vsx_set_<mode>): Reorder operands.
456
5d216c70
UW
4572012-03-02 Ulrich Weigand <ulrich.weigand@linaro.org>
458
459 * config/arm/arm.c (arm_sat_operator_match): New function.
460 * config/arm/arm-protos.h (arm_sat_operator_match): Add prototype.
461 * config/arm/arm.md ("insn" attribute): Add "sat" value.
462 ("SAT", "SATrev"): New code iterators.
463 ("SATlo", "SAThi"): New code iterator attributes.
464 ("*satsi_<SAT:code>"): New pattern.
465 ("*satsi_<SAT:code>_shift"): Likewise.
466 * config/arm/arm-fixed.md ("arm_ssatsihi_shift"): Add "insn"
467 and "shift" attributes.
468 ("arm_usatsihi"): Add "insn" attribute.
469 * config/arm/predicates.md (sat_shift_operator): Allow multiplication
470 by powers of two. Do not allow shift by 32.
471
2b57045b
UB
4722012-03-02 Uros Bizjak <ubizjak@gmail.com>
473
474 PR target/46716
475 * config/i386/i386.c (construct_container): Use gen_reg_or_parallel
476 to pass the argument in the register of "natural" mode.
477
c4ddde1b
RG
4782012-03-02 Richard Guenther <rguenther@suse.de>
479
480 PR tree-optimization/52406
481 * tree-data-ref.h: Update documentation about DR_BASE_OBJECT.
482 (struct indices): Add unconstrained_base member.
483 (struct dr_alias): Remove unused vops member.
484 (DR_UNCONSTRAINED_BASE): New define.
485 * tree-data-ref.c (dr_analyze_indices): For COMPONENT_REFs
486 add indices to allow their disambiguation. Make DR_BASE_OBJECT
487 be an artificial access that covers the whole indexed object,
488 or mark it with DR_UNCONSTRAINED_BASE if we cannot do so. Canonicalize
489 plain decl base-objects to their MEM_REF variant.
490 (dr_may_alias_p): When the base-object of either data reference
491 has unknown size use only points-to information.
492 (compute_affine_dependence): Make dumps easier to read and
493 more verbose.
494 * tree-vect-data-ref.c (vector_alignment_reachable_p): Use
495 DR_REF when looking for packed references.
496 (vect_supportable_dr_alignment): Likewise.
497
2d68f67f
GY
4982012-03-02 Greta Yorsh <Greta.Yorsh@arm.com>
499
2b57045b 500 * config/arm/arm-ldmstm.ml (write_ldm_commutative_peephole):
2d68f67f
GY
501 Improve conditions for peepholes of loads followed by commutative
502 operators.
2b57045b 503 * config/arm/ldmstm.md: Regenerated.
2d68f67f 504
45c29d4d
RG
5052012-03-02 Richard Guenther <rguenther@suse.de>
506
507 * BASE-VER: Set to 4.8.0.
508
9094e001
RE
5092012-03-01 Richard Earnshaw <rearnsha@arm.com>
510
511 * config.gcc (obsolete): Add all ARM targets using the FPA.
512 (with_fpu): Obsolete selection of the FPA or Maverick on ARM.
513 * doc/install.texi: Avoid references to obsolete ARM ports.
514
82b06589
JR
5152012-03-01 Joern Rennecke <joern.rennecke@embecosm.com>
516
517 * config/epiphany/epiphany.md (movmisalign<mode>): New patterns.
518
08b03910
JB
5192012-03-01 Jeremy Bennett <jeremy.bennett@embecosm.com>
520 Joern Rennecke <joern.rennecke@embecosm.com>
521
522 * doc/extend.texi: Expand and update information on interrupt
523 attribute for Epiphany.
524
1ce35c11
OE
5252012-03-01 Oleg Endo <olegendo@gcc.gnu.org>
526
527 * config/sh/sh-protos.h: Update copyright notice dates.
528 * config/sh/sh.h: Likewise.
529 * config/sh/sh.md: Likewise.
530 * config/sh/constraints.md: Likewise.
531 * config/sh/predicates.md: Likewise.
532
f51a9d10
OE
5332012-03-01 Oleg Endo <olegendo@gcc.gnu.org>
534
535 * config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function.
536 * config/sh/sh.c (tertiary_reload_operand): Likewise.
537
d4217ae1
OE
5382012-03-01 Oleg Endo <olegendo@gcc.gnu.org>
539
540 * config/sh/constraints.md: Fix comment typo.
541
5d9dc69a
JDA
5422012-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
543
544 PR target/52408
545 * config/pa/pa.md (zvdep_imm32): Change type of variable x from int to
546 unsigned HOST_WIDE_INT.
547 (zvdep_imm64): Likewise.
548 (vdepi_ior): Change type of variable x from int to HOST_WIDE_INT.
549 (vdepi_and): Likewise.
550 Likewise for unamed 64-bit patterns.
551 * config/pa/predicates.md (lhs_lshift_cint_operand): Update comment.
552
0f68ba3e
AO
5532012-03-01 Alexandre Oliva <aoliva@redhat.com>
554
555 PR debug/52001
556 PR rtl-optimization/52417
557 * cselib.c (cselib_any_perm_equivs): New variable.
558 (cselib_reset_table): Check that it's not set when not
559 preserving constants.
560 (cselib_add_permanent_equiv): Set it.
561 (cselib_have_permanent_equivalences): New.
562 (cselib_init, cselib_finish): Reset it.
563 * cselib.h (cselib_have_permanent_equivalences): Declare.
564 * alias.c (get_addr): Restore earlier behavior when there
565 aren't permanent equivalences.
566
2aceddd8
SB
5672012-03-01 Steven Bosscher <steven@gcc.gnu.org>
568
569 * config/mn10300/mn10300-modes.def: Fix copyright notice.
570 * config/v850/v850-modes.def: Fix copyright notice.
571
1619fcfc
GJL
5722012-03-01 Georg-Johann Lay <avr@gjlay.de>
573
574 * doc/extend.texi (AVR Built-in Functions): Document
575 __builtin_avr_flash_segment.
576
577 * config/avr/builtins.def (__builtin_avr_flash_segment): New entry.
578 * config/avr/avr.md (flash_segment, flash_segment1): New expanders.
579 (*split.flash_segment): New insn-and-split.
580 * config/avr/avr.c (avr_init_builtins): Add local variables:
581 const_memx_void_node, const_memx_ptr_type_node,
582 char_ftype_const_memx_ptr.
583
69ef9a79
JJ
5842012-03-01 Jakub Jelinek <jakub@redhat.com>
585
586 PR tree-optimization/52445
587 * tree-ssa-phiopt.c (struct name_to_bb): Remove ssa_name field,
588 add ssa_name_ver, offset and size fields and change store field
589 to bool.
590 (name_to_bb_hash, name_to_bb_eq): Adjust for the above changes.
591 (add_or_mark_expr): Likewise. Only consider previous stores
592 with the same size and offset.
593 (nt_init_block): Only look at gimple_assign_single_p stmts,
594 doesn't look at rhs2.
595
c1d9cb02
RG
5962012-03-01 Richard Guenther <rguenther@suse.de>
597
598 PR middle-end/52443
599 * tree-cfg.c (verify_gimple_assign_unary): Allow any
600 conversions from integral types to pointer types.
601
b2ef48ef
GJL
6022012-03-01 Georg-Johann Lay <avr@gjlay.de>
603
604 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Restore built-in
2b57045b 605 defines for __UINT24_MAX__, __INT24_MAX__, __INT24_MIN__
b2ef48ef
GJL
606 unintentionally removed in r184616.
607
283b5296
VK
6082012-03-01 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
609
610 * doc/invoke.texi: Document AMD bdver2 and remove mentioning
611 3DNow from bdver1.
612
29ebe616
JJ
6132012-02-29 Jakub Jelinek <jakub@redhat.com>
614 Uros Bizjak <ubizjak@gmail.com>
615
616 PR target/52437
617 * config/i386/sse.md (vec_set<mode>_0): Swap "*r" and "fF"
618 alternatives, add "e" constraint to the new last alternative
619 and ! to last 3 alternatives.
620
fd787640
EB
6212012-02-29 Eric Botcazou <ebotcazou@adacore.com>
622
623 * dwarf2out.c (modified_type_die): Set DW_AT_GNAT_descriptive_type and
624 DW_AT_artificial attributes at the end of the processing.
625 (gen_array_type_die): Likewise.
626 (gen_enumeration_type_die): Likewise.
627 (gen_struct_or_union_type_die): Likewise.
628 (add_gnat_descriptive_type_attribute): Do not suppress debug info for
629 the parent type.
630
598e67d7
JJ
6312012-02-29 Jakub Jelinek <jakub@redhat.com>
632
a3017cf1
JJ
633 PR middle-end/52419
634 * expr.c (expand_assignment): If doing misaligned store that doesn't
635 cover all mode bits, perform a RMW cycle.
636
598e67d7
JJ
637 PR tree-optimization/52429
638 * tree-parloops.c (separate_decls_in_region_debug): Return early
639 if var is LABEL_DECL.
640
529b39d8
BS
6412012-02-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
642
643 PR tree-optimization/52424
644 * tree-ssa-dom.c (dom_opt_leave_block): Push a marker before
645 calling dom_thread_across_edge.
646
43c626f0
GJL
6472012-02-29 Georg-Johann Lay <avr@gjlay.de>
648
649 * config/avr/avr.c: Move definition of TARGET macros to end of file.
650
20848609
GJL
6512012-02-29 Georg-Johann Lay <avr@gjlay.de>
652
653 * config/avr/avr-protos.h (avr_output_bld): Remove unused prototype.
654 * config/avr/avr.c (avr_output_bld): Remove unused function.
655 (avr_out_sbxx_branch): Use "%T" to print bit position.
656
1edaa8b7
GJL
6572012-02-29 Georg-Johann Lay <avr@gjlay.de>
658
659 * config/avr/avr.md: Untabify.
660
6612012-02-29 Georg-Johann Lay <avr@gjlay.de>
662
663 * config/avr/avr.md (eqne): New code iterator.
664 (*dec-and-branchsi): Use it in text peephole's condition.
665 (*dec-and-branchhi): Ditto.
666 (*dec-and-branchqi): Ditto.
667
df51e502
GJL
6682012-02-29 Georg-Johann Lay <avr@gjlay.de>
669
670 PR target/49939
671 * config/avr/avr.h (ASM_SPEC): Add -mno-skip-bug if we know that
672 the device does not have the skip-bug.
673
bf997c7d
OE
6742012-02-29 Oleg Endo <olegendo@gcc.gnu.org>
675
676 * doc/invoke.texi (-msoft-atomic): Add more detailed description.
677 (-mbranch-cost, -mcbranchdi -mcmpeqdi -mfused-madd
678 -mpretend-cmove): New.
679
bf743fc4
JJ
6802012-02-29 Jakub Jelinek <jakub@redhat.com>
681
682 PR bootstrap/52397
683 * df.h (struct df_d): Adjust comment that hard_regs_live_count
684 doesn't count DEBUG_INSN refs.
685 * df-scan.c (df_ref_create_structure): Don't set DF_HARD_REG_LIVE
686 for DEBUG_INSN refs.
687
211bea38
UW
6882012-02-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
689
690 Partially revert:
691
692 2012-02-20 Richard Guenther <rguenther@suse.de>
693 PR tree-optimization/52298
694 * tree-vect-stmts.c (vectorizable_load): Properly use
695 STMT_VINFO_DR_STEP instead of DR_STEP when vectorizing
696 outer loops.
697
19c0d7df
AH
6982012-02-28 Aldy Hernandez <aldyh@redhat.com>
699
700 PR middle-end/51752
701 * gimple.h (gimple_in_transaction): New.
702 (gimple_set_in_transaction): New.
703 (struct gimple_statement_base): Add in_transaction field.
704 * tree-ssa-loop-im.c: (movement_possibility): Restrict movement of
705 transaction loads.
706 (tree_ssa_lim_initialize): Compute transaction bits.
707 * tree.h (compute_transaction_bits): Protoize.
708 * trans-mem.c (tm_region_init): Use the heap to store BB
709 auxilliary data.
710 (compute_transaction_bits): New.
711
cdbfc61d
BRF
7122012-02-28 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
713
714 * gcc.c (display_help): Document --help=common and sort entries
715 alphabetically.
716
6c6b6634
BRF
7172012-02-28 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
718
719 * doc/install.texi: Document check-$LANG specific shortcuts
720
fd92bb80
MGD
7212012-02-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
722
723 PR target/51534
724 * config/arm/arm.c (neon_builtin_data): Add entries for vcgeu
725 and vcgtu.
726 * config/arm/arm_neon.h: Regenerate.
727 * config/arm/neon.md (unspec): Add UNSPEC_VCGEU, and UNSPEC_VCGTU.
728 (neon_vcgeu): New insn.
729 (neon_vcgtu): Likewise.
730 * config/arm/neon.ml (s_8_32, u_8_32): New lists.
2b57045b 731 (ops): Unsigned comparison intrinsics call a different builtin.
fd92bb80 732
8eef33ca
RG
7332012-02-28 Richard Guenther <rguenther@suse.de>
734
735 PR target/52407
736 * config/i386/i386.c (ix86_expand_vector_set): Fix element
737 ordering for the VEC_CONCAT for two element vectors for
738 V2SFmode, V2SImode and V2DImode.
739
e3ed9d60
RE
7402012-02-28 Richard Earnshaw <rearnsha@arm.com>
741
742 PR target/49448
743 * config.gcc (arm*-*-linux*): Use an unambiguous pattern for
744 detecting big-endian triplets.
745
192af6e8
RE
7462012-02-28 Richard Earnshaw <rearnsha@arm.com>
747
748 * arm.c (aapcs_vfp_is_call_or_return_candidate): Only use the machine
749 mode if there is no type information available.
750
b0eaa5b4
TK
7512012-02-28 Thomas Koenig <tkoenig@gcc.gnu.org>
752
753 PR tree-optimization/53207
754 * doc/invoke.texi: Document as experimental and relying on graphite.
755
f37cf6a9
GJL
7562012-02-28 Georg-Johann Lay <avr@gjlay.de>
757
758 * config/avr/avr-devices.c (avr_mcu_type): Adjust NULL part
759 of initializer to changes from r184614.
2b57045b 760
85998a93
RG
7612012-02-28 Richard Guenther <rguenther@suse.de>
762
763 PR tree-optimization/52395
764 * tree-sra.c (build_ref_for_offset): Also look at the base
765 TYPE_ALIGN when figuring out the alignment of the replacement.
766
3a5a825a
RG
7672012-02-28 Richard Guenther <rguenther@suse.de>
768
769 PR tree-optimization/52402
770 * ipa-prop.c (ipa_modify_call_arguments): Properly use
771 mis-aligned types when creating the accesses at the call site.
772
639d0302
GJL
7732012-02-28 Georg-Johann Lay <avr@gjlay.de>
774
775 * config/avr/builtins.def: New file.
776 * config/avr/t-avr (avr.o, avr-c.o): Depend on it.
777 * config/avr/avr.c (enum avr_builtin_id): Use it.
778 (avr_init_builtins): Use it. And use avr_bdesc.
779 (bdesc_1arg): Remove.
780 (bdesc_2arg): Remove.
781 (bdesc_3arg): Remove.
782 (struct avr_builtin_description): Add field n_args.
783 (avr_bdesc): New static variable using builtins.def.
784 (avr_expand_builtin): Use it.
785 Don't call avr_expand_delay_cycles if op0 is not CONST_INT.
786 (avr_fold_builtin): Fold AVR_BUILTIN_SWAP.
787 Don't fold AVR_BUILTIN_INSERT_BITS if arg0 is not INTEGER_CST.
788
8310dca7
GJL
7892012-02-28 Georg-Johann Lay <avr@gjlay.de>
790
791 PR target/52148
792 * config/avr/avr.md (movmem_<mode>): Replace match_operand that
793 match only one single hard register with respective hard reg rtx.
794 (movmemx_<mode>): Ditto.
795 * config/avr/avr.c (avr_emit_movmemhi): Adapt expanding to new
796 insn anatomy of movmem[x]_<mode>.
797 (avr_out_movmem): Same for printing assembler and operand usage.
798
bae3b1bf
GJL
7992012-02-28 Georg-Johann Lay <avr@gjlay.de>
800
801 PR target/49868
802 PR target/52261
803 * doc/extend.texi (AVR Named Address Spaces): No more try to fix
804 address spaces located outside of device flash.
805
806 * config/avr/avr.h (base_arch_s): Remove field n_segments.
807 (mcu_type_s): Add field n_flash.
808 * config/avr/avr-devices.c (avr_arch_types): Remove .n_segments.
809 Set .have_elpm and .have_elpmx to 1 for avrxmega4 and avrxmega5.
810 (AVR_MCU): Add N_FLASH argument.
811 * config/avr/avr-mcus.def (AVR_MCU): Add initializer for .n_flash.
812 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Only define built-in
813 macro __FLASH<n> if that address space makes sense for the device.
814 * config/avr/avr.c (avr_out_lpm): Don't try to fix address spaces
815 outside of target flash.
816 (avr_asm_named_section): Ditto.
817 (avr_asm_select_section): Ditto.
818 (avr_addr_space_convert): Ditto.
819 (avr_emit_movmemhi): Ditto.
820 (avr_nonconst_pointer_addrspace, avr_pgm_check_var_decl): Error if
821 address space is outside of device flash.
822 (avr_insert_attributes): Ditto.
823 (avr_xload_libgcc_p): Use avr_current_device->n_flash instead of
824 avr_current_arch->n_segments.
825
afbf6e97
L
8262012-02-27 H.J. Lu <hongjiu.lu@intel.com>
827
828 PR target/52352
2b57045b 829 * config/i386/i386.md (*movabs<mode>_1): Enable only for TARGET_LP64.
afbf6e97
L
830 (*movabs<mode>_2): Likewise.
831
2e216592
JJ
8322012-02-27 Jakub Jelinek <jakub@redhat.com>
833
56b15099
JJ
834 PR target/52375
835 * config/arm/neon.md (vashr<mode>3, vlshr<mode>3): Use
836 s_register_operand in the test instead of REG_P. Don't call
837 gen_reg_rtx if it won't be used.
838
2e216592
JJ
839 PR tree-optimization/52376
840 * ipa-split.c (split_function): Ignore CLOBBER stmts.
841
2662a821
SH
8422012-02-27 Stuart Henderson <shenders@gcc.gnu.org>
843
844 * ifcvt.c (noce_get_condition): Check condition variable is not
845 small_register_classes_for_mode_p before accepting.
846
f59280cf
UB
8472012-02-27 Uros Bizjak <ubizjak@gmail.com>
848
849 * config/i386/i386.md (*movabs<mode>_1): Fix operand 1 constraints.
850
d2d6bcce
MGD
8512012-02-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
852
853 Revert:
854 2012-01-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
855 * config/arm/arm-cores.def (cortex-a15): Use cortex_a15_tune for
856 tuning parameters.
857 * config/arm/arm.c (arm_cortex_a15_tune): New static variable.
858
dac73555
OE
8592012-02-27 Oleg Endo <olegendo@gcc.gnu.org>
860
861 * config/sh/sh.h: Delete dead GO_IF_LEGITIMATE_INDEX macro.
862
2eff0b9d
OE
8632012-02-26 Oleg Endo <olegendo@gcc.gnu.org>
864
865 * config/sh/predicates.md: Remove blank lines.
866 * config/sh/sh.c: Fix typos in comments.
867 * config/sh/constraints.md: Likewise.
868 * config/sh/sh.md: Remove blank lines.
869 Fix typos in comments. Use ;; as comment characters.
870
7afd1a8e
WL
8712012-02-26 Walter Lee <walt@tilera.com>
872
f59280cf 873 * config/tilegx/tilegx.c (match_pcrel_step2): Fix instruction pattern.
7afd1a8e
WL
874 (replace_mov_pcrel_step2): Ditto.
875
0e224656
AO
8762012-02-25 Alexandre Oliva <aoliva@redhat.com>
877
a5628378
AO
878 PR debug/52001
879 * alias.c (refs_newer_value_cb, refs_newer_value_p): New.
880 (get_addr): Walk canonical value's locs. Avoid returning VALUEs
881 and locs that reference values newer than the non-canonical value
882 at hand. Return the canonical value as a worst case.
883 (memrefs_conflict_p): Walk canonical value's locs.
884
0e224656
AO
885 PR debug/52001
886 * cselib.c (preserve_only_constants): Rename to...
887 (preserve_constants_and_equivs): ... this. Split out...
888 (invariant_or_equiv_p): ... this. Preserve plus expressions
889 of other preserved expressions too.
890 (cselib_reset_table): Adjust.
891 * var-tracking.c (reverse_op): Use canonical value to build
892 reverse operation.
893
15498cfa
KT
8942012-02-23 Kai Tietz <ktietz@redhat.com>
895
896 * config/i386/i386.c (ix86_delegitimize_address): Handle
897 UNSPEC_PCREL plus displacement.
898
39e73abc
GJL
8992012-02-24 Georg-Johann Lay <avr@gjlay.de>
900
901 PR target/52261
902 * config/avr/avr.c (avr_out_movhi_mr_r_xmega): Use base
903 to test for unusedness in st X addressing.
904
b9af73fc
RG
9052012-02-24 Richard Guenther <rguenther@suse.de>
906
907 PR middle-end/52361
f59280cf 908 * gimple.c (walk_gimple_op): Use predicates with less redundant tests.
b9af73fc
RG
909 (is_gimple_reg_type): Move inline ...
910 * gimple.h (is_gimple_reg_type): ... here.
911
6ae4eccd
RG
9122012-02-24 Richard Guenther <rguenther@suse.de>
913
914 PR middle-end/52361
915 * passes.c (execute_function_todo): When verifying SSA form
916 verify gimple form first.
917 * tree-ssa.c (verify_ssa): Do not verify gimple form here.
918
bf948210
RG
9192012-02-24 Richard Guenther <rguenther@suse.de>
920
921 PR middle-end/52355
922 * fold-const.c (fold_addr_of_array_ref_difference): New function.
f59280cf 923 (fold_binary_loc): Use it to extend the existing &a[i] - &a[j] folding.
bf948210 924
b8f4632c
BRF
9252012-02-13 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
926
927 * tree-if-conv (predicate_scalar_phi): Commentary typo fix.
928
4021ad55
BRF
9292012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
930
931 * tree-phinodes.c (make_phi_node): Mark static.
932 * tree-flow.h (make_phi_node): Remove extern decl.
933 * doc/gimple.texi (make_phi_node): Remove documentation.
934
0eb09f31
BRF
9352012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
936
f59280cf 937 * tree-into-ssa (update_ssa): Avoid trailing whitespace in dump_file.
0eb09f31
BRF
938 * tree-ssa-sccvn.c (print_scc): Ditto.
939
6a953a91
BRF
9402012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
941
942 * doc/passes.texi (Full redundancy elimination): Fix typo.
943
55532e32
BRF
9442012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
945
946 * doc/invoke.texi (-fdse, -fdce): Remove duplicate entries.
947
6cbb4c32
EB
9482012-02-23 Eric Botcazou <ebotcazou@adacore.com>
949
950 PR bootstrap/52287
951 * haifa-sched.c (rank_for_schedule): Stabilize sort for debug insns.
952
560ad308
UB
9532012-02-23 Uros Bizjak <ubizjak@gmail.com>
954
955 PR c/52290
956 * c-decl.c (start_function): Exit early if decl1 is not FUNTION_DECL.
957
f71f1418
GJL
9582012-02-23 Georg-Johann Lay <avr@gjlay.de>
959
960 * config/avr/avr.md (code_stdname): Add ior, xor.
961 (xior): New code iterator.
962 (*<code_stdname><mode>qi.byte0): Use xior instead of ior.
963 (*<code_stdname><mode>qi.byte1-3): Ditto.
964
a348dc7f
JJ
9652012-02-23 Jakub Jelinek <jakub@redhat.com>
966
967 PR tree-optimization/52019
968 * ipa-split.c (find_return_bb, find_retval, visit_bb): Ignore
969 CLOBBER stmts.
970
e10e461e
UW
9712012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
972
973 * acinclude.m4: Use HAVE_INITFINI_ARRAY_SUPPORT instead of
974 HAVE_INITFINI_ARRAY to work around namespace pollution in
975 certain versions of newlib system headers.
976 * config.in: Regenerate.
977 * configure: Regenerate.
978 * config/initfini-array.h: Use HAVE_INITFINI_ARRAY_SUPPORT
979 instead of HAVE_INITFINI_ARRAY.
980
9517e333
UB
9812012-02-22 Uros Bizjak <ubizjak@gmail.com>
982
983 PR target/52330
984 * config/i386/i386.c (ix86_print_operand) <case 'H'>: Error out if x
985 is not offsettable memory reference.
986
219db888
GJL
9872012-02-22 Georg-Johann Lay <avr@gjlay.de>
988
989 PR target/18145
990 * config/avr/avr.c (avr_asm_output_aligned_decl_common): Skip
991 setting avr_need_clear_bss_p for __gnu_lto* symbols.
992
45958634
GJL
9932012-02-22 Georg-Johann Lay <avr@gjlay.de>
994
995 * config/avr/avr.h (avr_accumulate_outgoing_args): Return int.
9517e333 996 * config/avr/avr.c (avr_accumulate_outgoing_args): Return int.
45958634 997
bbd6a014
RO
9982012-02-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
999
1000 * configure.ac (LIB_TLS_SPEC): Enforce use of alternate thread
1001 library on Solaris 8 even without TLS support.
1002 * configure: Regenerate.
1003
3e888a5e
RG
10042012-02-22 Richard Guenther <rguenther@suse.de>
1005
1006 PR middle-end/52329
1007 * gimple-fold.c (fold_stmt_1): Also canonicalize ADDR_EXPRs
1008 for GIMPLE_DEBUG stmts.
bbd6a014 1009
f18a7b25
MJ
10102012-02-22 Martin Jambor <mjambor@suse.cz>
1011
1012 PR middle-end/51782
1013 * emit-rtl.c (set_mem_attributes_minus_bitpos): Set address space
1014 according to the base object.
1015
0b262c28
GJL
10162012-02-22 Georg-Johann Lay <avr@gjlay.de>
1017
1018 PR rtl-optimization/50063
1019 * config/avr/avr.md (movhi_sp_r): Handle -1 (unknown IRQ state)
1020 and 2 (8-bit SP) in operand 2.
1021 * config/avr/avr.c (avr_prologue_setup_frame): Adjust prologue
1022 setup to use movhi_sp_r instead of vanilla move to write SP.
1023 Adjust REG_CFA notes to superseed unspec.
1024 (expand_epilogue): Adjust epilogue setup to use movhi_sp_r instead
1025 of vanilla move.
1026 As function body might contain CLI or SEI: Use irq_state 0 (IRQ
1027 known to be off) only with TARGET_NO_INTERRUPTS. Never use
1028 irq_state 1 (IRQ known to be on) here.
1029
2805e6c0
BS
10302012-02-21 Bernd Schmidt <bernds@codesourcery.com>
1031
1032 * ira.c (check_allocation): Use REG_WORDS_BIG_ENDIAN, not
1033 WORDS_BIG_ENDIAN.
1034 * ira-color.c (setup_profitable_hard_regs, check_hard_reg_p,
1035 assign_hard_reg): Likewise.
1036
10372012-02-21 Georg-Johann Lay <avr@gjlay.de>
1890e136
GJL
1038
1039 * config/avr/avr.md (neghi2): Remove "!d,0" alternative. Tweak "r,0".
1040
2805e6c0 10412012-02-21 Georg-Johann Lay <avr@gjlay.de>
4998825d
GJL
1042
1043 * config/avr/avr.md
1044 (*dec-and-branchhi!=-1.d.clobber): New text peephole.
1045 (*dec-and-branchhi!=-1.l.clobber): New text peephole.
1046
2805e6c0 10472012-02-21 Georg-Johann Lay <avr@gjlay.de>
0545950b
GJL
1048
1049 * config/avr/avr-protos.h (avr_accumulate_outgoing_args): Move
1050 prototype from here to...
1051 * config/avr/avr.h: ...here.
1052
23d2a817
RE
10532012-02-21 Richard Earnshaw <rearnsha@arm.com>
1054
1055 PR target/52294
2805e6c0 1056 * thumb2.md (thumb2_shiftsi3_short): Split register and
23d2a817
RE
1057 immediate shifts. For register shifts tie operands 0 and 1.
1058 (peephole2 for above): Check that register-controlled shifts
1059 have suitably tied operands.
1060
602c3369
QN
10612012-02-21 Quentin Neill <quentin.neill@amd.com>
1062
1063 PR target/52137
1064 * config/i386/bdver1.md (bdver1_call, bdver1_push,
1065 bdver1_pop, bdver1_leave, bdver1_lea, bdver1_imul_DI, bdver1_imul,
1066 bdver1_imul_mem_DI, bdver1_imul_mem, bdver1_idiv, bdver1_idiv_mem,
1067 bdver1_str, bdver1_idirect, bdver1_ivector, bdver1_idirect_loadmov,
1068 bdver1_idirect_load, bdver1_ivector_load, bdver1_idirect_movstore,
1069 bdver1_idirect_both, bdver1_ivector_both, bdver1_idirect_store,
1070 bdver1_ivector_store, bdver1_fldxf, bdver1_fld, bdver1_fstxf,
1071 bdver1_fst, bdver1_fist, bdver1_fmov_bdver1, bdver1_fadd_load,
1072 bdver1_fadd, bdver1_fmul_load, bdver1_fmul, bdver1_fsgn,
1073 bdver1_fdiv_load, bdver1_fdiv, bdver1_fpspc_load, bdver1_fpspc,
1074 bdver1_fcmov_load, bdver1_fcmov, bdver1_fcomi_load,
1075 bdver1_fcomi, bdver1_fcom_load, bdver1_fcom,
1076 bdver1_fxch, bdver1_ssevector_avx128_unaligned_load,
1077 bdver1_ssevector_avx256_unaligned_load,
1078 bdver1_ssevector_sse128_unaligned_load,
1079 bdver1_ssevector_avx128_load, bdver1_ssevector_avx256_load,
1080 bdver1_ssevector_sse128_load, bdver1_ssescalar_movq_load,
1081 bdver1_ssescalar_vmovss_load, bdver1_ssescalar_sse128_load,
1082 bdver1_mmxsse_load, bdver1_sse_store_avx256, bdver1_sse_store,
1083 bdver1_mmxsse_store_short, bdver1_ssevector_avx256,
1084 bdver1_movss_movsd, bdver1_mmxssemov, bdver1_sselog_load_256,
1085 bdver1_sselog_256, bdver1_sselog_load, bdver1_sselog,
1086 bdver1_ssecmp_load, bdver1_ssecmp, bdver1_ssecomi_load,
1087 bdver1_ssecomi, bdver1_vcvtX2Y_avx256_load, bdver1_vcvtX2Y_avx256,
1088 bdver1_ssecvt_cvtss2sd_load, bdver1_ssecvt_cvtss2sd,
1089 bdver1_sseicvt_cvtsi2sd_load, bdver1_sseicvt_cvtsi2sd,
1090 bdver1_ssecvt_cvtpd2ps_load, bdver1_ssecvt_cvtpd2ps,
1091 bdver1_ssecvt_cvtdq2ps_load, bdver1_ssecvt_cvtdq2ps,
1092 bdver1_ssecvt_cvtdq2pd_load, bdver1_ssecvt_cvtdq2pd,
1093 bdver1_ssecvt_cvtps2pd_load, bdver1_ssecvt_cvtps2pd,
1094 bdver1_ssecvt_cvtsX2si_load, bdver1_ssecvt_cvtsX2si,
1095 bdver1_ssecvt_cvtpd2pi_load, bdver1_ssecvt_cvtpd2pi,
1096 bdver1_ssecvt_cvtpd2dq_load, bdver1_ssecvt_cvtpd2dq,
1097 bdver1_ssecvt_cvtps2pi_load, bdver1_ssecvt_cvtps2pi,
1098 bdver1_ssemuladd_load_256, bdver1_ssemuladd_256,
1099 bdver1_ssemuladd_load, bdver1_ssemuladd, bdver1_sseimul_load,
1100 bdver1_sseimul, bdver1_sseiadd_load, bdver1_sseiadd,
1101 bdver1_ssediv_double_load_256, bdver1_ssediv_double_256,
1102 bdver1_ssediv_single_load_256, bdver1_ssediv_single_256,
1103 bdver1_ssediv_double_load, bdver1_ssediv_double,
1104 bdver1_ssediv_single_load, bdver1_ssediv_single, bdver1_sseins):
1105 Add "bdver2" attribute.
1106
61369bb8
AK
11072012-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1108
1109 * config/s390/s390.c (s390_option_override): Make -mhard-dfp the
1110 default if possible and not specified otherwise.
1111
0c2ad203
RG
11122012-02-21 Richard Guenther <rguenther@suse.de>
1113
1114 PR middle-end/52314
1115 * gimplify.c (create_tmp_from_val): Use the main variant type
1116 for the type of the temporary we create.
1117
01718e96
RG
11182012-02-21 Richard Guenther <rguenther@suse.de>
1119
1120 PR tree-optimization/52324
1121 * gimplify.c (gimplify_expr): When re-gimplifying expressions
1122 do not gimplify a MEM_REF address operand if it is already
1123 in suitable form.
1124
8540e6e8
AK
11252012-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1126
1127 * config/s390/s390.md ("fixuns_trunc<mode>si2"): Replace
1128 TARGET_HARD_FLOAT with TARGET_HARD_DFP.
1129
d1e4b493
RG
11302012-02-21 Richard Guenther <rguenther@suse.de>
1131
1132 * tree-vect-stmts.c (vectorizable_load): Use pre-computed
1133 nested_in_vect_loop.
1134
949e47e5
JJ
11352012-02-21 Jakub Jelinek <jakub@redhat.com>
1136
1137 PR tree-optimization/52318
1138 * gimple-fold.c (gimplify_and_update_call_from_tree): Add
1139 vdef also to non-pure/const call stmts in the sequence.
1140
a2ddaaf5
TG
11412012-02-21 Tristan Gingold <gingold@adacore.com>
1142
1143 * config/vms/vms-ld.c (main): Fix IDENTIFICATION padding.
1144
3ed27cf5
DM
11452012-02-20 David S. Miller <davem@davemloft.net>
1146
1147 * config/sparc/sparc.md (load_pcrel_sym<P:mode>): Explain why we
1148 don't use the "rd %pc" instruction on v9 for PIC register loads.
1149
a4d031c7
AH
11502012-02-20 Aldy Hernandez <aldyh@redhat.com>
1151
1152 PR middle-end/52141
1153 * trans-mem.c (ipa_tm_scan_irr_block): Error out on GIMPLE_ASM's
1154 in a transaction safe function.
1155
9954e17f
KT
11562012-02-20 Kai Tietz <ktietz@redhat.com>
1157
1158 PR target/52238
1159 * stor-layout.c (place_field): Handle desired_align for
1160 ms-bitfields, too.
1161
a7ce6ec3
RG
11622012-02-20 Richard Guenther <rguenther@suse.de>
1163
1164 PR tree-optimization/52298
1165 * tree-vect-stmts.c (vectorizable_store): Properly use
1166 STMT_VINFO_DR_STEP instead of DR_STEP when vectorizing
1167 outer loops.
1168 (vectorizable_load): Likewise.
1169 * tree-vect-data-refs.c (vect_analyze_data_ref_access):
1170 Access DR_STEP after ensuring it is not NULL.
1171
5a226e0a
JJ
11722012-02-20 Jakub Jelinek <jakub@redhat.com>
1173
1174 PR tree-optimization/52286
1175 * fold-const.c (fold_binary_loc): For (X & C1) | C2
1176 optimization use double_int_to_tree instead of build_int_cst_wide,
1177 rewrite to use double_int vars.
1178
e992fc2e
RO
11792012-02-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1180
1181 PR target/50166
1182 * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Require gcc_SUN_LD_VERSION.
1183 Define _start.
1184 Remove -e 0 from $gcc_cv_ld invocation.
1185 Only use __GLIBC_PREREQ if defined.
1186 Enable on Solaris since Solaris 8 patch.
1187 (gcc_SUN_LD_VERSION): New macro.
1188 * configure.ac (ld_ver) <*-*-solaris2*>: Refer to
1189 gcc_SUN_LD_VERSION for version number format.
1190 * configure: Regenerate.
1191 * varasm.c (get_elf_initfini_array_priority_section): Set
1192 SECTION_NOTYPE for non-default priority.
1193 Use get_section instead of get_unnamed_section to emit
1194 .init_array/.fini_array with default priority.
1195
78c27266
RS
11962012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1197
1198 * config/mips/mips.c (mips_need_mips16_rdhwr_p): New variable.
1199 (mips_get_tp): Set it. Record that __mips16_rdhwr binds locally.
1200 (mips_start_unique_function, mips_output_mips16_rdhwr)
1201 (mips_code_end): New functions.
1202 (TARGET_ASM_CODE_END): Define.
1203
5adeb246
RS
12042012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1205
1206 * config/mips/mips.c (mips16_build_call_stub): Add CFI information
1207 to stubs with non-sibling calls.
1208
e1813255
SL
12092012-02-18 Sandra Loosemore <sandra@codesourcery.com>
1210
1211 * doc/invoke.texi (-fira-* options): Copy-edit.
1212 (ira-* parameters): Copy-edit.
1213
141a25c2
SL
12142012-02-17 Sandra Loosemore <sandra@codesourcery.com>
1215
1216 * doc/invoke.texi: Minor copy-edits to bring into conformance with
1217 GCC coding conventions.
1218
195a2e9d
SL
12192012-02-17 Sandra Loosemore <sandra@codesourcery.com>
1220
1221 * doc/invoke.texi: Consistently hyphenate "big-endian"/"little-endian"
1222 when used as adjectives.
1223
1b015db7
SL
12242012-02-16 Sandra Loosemore <sandra@codesourcery.com>
1225
1226 * doc/invoke.texi: Clean up "that"/"which" confusion.
1227
7feed462
SB
12282012-02-17 Steven Bosscher <steven@gcc.gnu.org>
1229
1230 * system.h: Poison SMALL_REGISTER_CLASSES
1231 * config/rl78/rl78.h: Replace SMALL_REGISTER_CLASSES with hook.
1232 * config/rx/rx.h: Remove SMALL_REGISTER_CLASSES.
1233
ca786352
JJ
12342012-02-16 Jakub Jelinek <jakub@redhat.com>
1235
1236 PR tree-optimization/52285
1237 * tree-tailcall.c (find_tail_calls): Ignore gimple_clobber_p stmts
1238 when deciding if a call is a tail call or tail recursion.
1239
525b3f60
KT
12402012-02-16 Kai Tietz <ktietz@redhat.com>
1241
1242 * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
1243 interger-constant displacement for UNSPEC_PCREL.
1244
04c937f5
JJ
12452012-02-16 Jakub Jelinek <jakub@redhat.com>
1246
3db93c89
JJ
1247 PR rtl-optimization/52208
1248 * ira-costs.c (scan_one_insn): Don't decrease mem_cost
1249 for MEMs with REG_EQUIV, if the MEM isn't general_operand.
1250
e20f6b4b
JJ
1251 PR tree-optimization/52255
1252 * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): If
1253 loop->header has virtual PHI, but exit_e->dest doesn't, add
1254 virtual PHI to exit_e->dest and adjust all uses after the loop.
1255
04c937f5
JJ
1256 PR debug/52260
1257 * dwarf2out.c (copy_decls_walk): Fill in *slot before traversing
1258 children with clone_tree_hash, not after it.
1259
cebb4698
IS
12602012-02-16 Iain Sandoe <iains@gcc.gnu.org>
1261
1262 * config/darwin.h (ASM_OUTPUT_LABELREF): Add user label prefix for
1263 extended identifiers.
1264
cc8b9c31
JJ
12652012-02-16 Jakub Jelinek <jakub@redhat.com>
1266
183d6db2
JJ
1267 PR middle-end/51929
1268 * cgraphunit.c (verify_edge_corresponds_to_fndecl): If node is
1269 a same_body_alias, also test whether e->callee isn't a former
1270 or current clone of the decl this is a same body alias of.
1271
cc8b9c31
JJ
1272 PR translation/52264
1273 * cgraphunit.c (verify_cgraph_node): Fix a typo.
1274
e3a66c38
SL
12752012-02-15 Sandra Loosemore <sandra@codesourcery.com>
1276
1277 * doc/invoke.texi: Clean up "n-bit/byte/word" modifiers.
1278
a0367cc1
MM
12792012-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
1280
1281 PR target/52199
1282 * config/rs6000/rs6000.c (rs6000_expand_vector_init): Use
1283 force_reg instead of copy_to_reg for better optimization. Force
1284 non-register or memory operands into a register.
1285
b1cef2a5
AM
12862012-02-15 Andrew MacLeod <amacleod@redhat.com>
1287
1288 * extend.texi: Reserve upper bits of memory model for future use.
1289
2da8c1ad
GJL
12902012-01-15 Georg-Johann Lay <avr@gjlay.de>
1291 Anatoly Sokolov <aesok@post.ru>
1292 Eric Weddington <eric.weddington@atmel.com>
1293
1294 PR target/52261
1295 * config/avr/avr-devices.c (avr_arch_types): Add avrxmega2,
1296 avrxmega4, avrxmega5, avrxmega6, avrxmega7.
1297 Rewrite initializers for .macro.
1298 * config/avr/avr-mcus.def (AVR_MCU): Add known MCUs:
1299 avrxmega2: atxmega16a4, atxmega16d4, atxmega16x1, atxmega32a4
1300 atxmega32d4, atxmega32x1.
1301 avrxmega4: atxmega64a3, atxmega64d3.
1302 avrxmega5: atxmega64a1, atxmega64a1u.
1303 avrxmega6: atxmega128a3, atxmega128d3, atxmega192a3, atxmega192d3,
1304 atxmega256a3, atxmega256a3b, atxmega256a3bu, atxmega256d3.
1305 avrxmega7: atxmega128a1, atxmega128a1u.
1306 * config/avr/avr.h (enum avr_arch): Add: ARCH_AVRXMEGA2,
1307 ARCH_AVRXMEGA4, ARCH_AVRXMEGA5, ARCH_AVRXMEGA6, ARCH_AVRXMEGA7.
1308 (struct base_arch_s): Rename reserved to xmega_p.
1309 Rename reserved2 to have_rampd.
1310 (AVR_XMEGA): New define.
1311 (AVR_HAVE_RAMPD, AVR_HAVE_RAMPX, AVR_HAVE_RAMPY): New defines.
1312 (AVR_HAVE_RAMPZ): Change definition to fit xmega.
1313 * config/avr/predicates.md (io_address_operand): Take into
1314 account SFR offset.
1315 (low_io_address_operand): Ditto.
1316 (high_io_address_operand): Ditto.
1317 * config/avr/avr.md (isa): Add alternatives no_xmega, xmega.
1318 (enabled, movhi_sp_r): Use them.
1319 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use
1320 cpp_define_formatted to built-in define __AVR_ARCH__.
1321 (__AVR_XMEGA__): New built-in define.
1322 (__AVR_HAVE_RAMPD__): New built-in define.
1323 (__AVR_HAVE_RAMPX__): New built-in define.
1324 (__AVR_HAVE_RAMPY__): New built-in define.
1325 (__AVR_HAVE_RAMPZ__): Change condition when to built-in define it.
1326
1327 * config/avr/avr.c (avr_addr_t): Add ccp, rampd, rampx, rampy.
1328 (avr_option_override): Initialize them.
1329 (sreg_rtx, rampd_rtx, rampx_rtx, rampy_rtx): New GTY rtx.
1330 (avr_init_expanders): Initialize them. No more block several calls.
1331 (emit_push_sfr): New static function.
1332 (avr_prologue_setup_frame): Use it to push SREG, RAMPD/X/Y/Z as needed.
1333 Handle AVR_XMEGA.
1334 (expand_epilogue): Handle AVR_XMEGA. Pop RAMPD/X/Y/Z as needed.
1335 (avr_print_operand): Print addreeses as symbols for
1336 RAMPX, RAMPY, RAMPD, CCP.
1337 (output_movhi): Handle AVR_XMEGA when writing to SP.
1338 (avr_out_movhi_mr_r_xmega): New static function.
1339 (out_movhi_mr_r): Forward to avr_out_movhi_mr_r_xmega for AVR_XMEGA.
1340 (avr_file_start): Print symbol defines for __RAMPX__, __RAMPY__,
1341 __RAMPD__, __CCP__ as needed.
1342
1343 * config/avr/multilib.h: Regenerate.
1344 * config/avr/t-multilib: Regenerate.
1345 * config/avr/avr-tables.opt: Regenerate.
1346
28db21ee
TG
13472012-02-15 Tobias Grosser <grosser@fim.uni-passau.de>
1348
1349 PR tree-optimization/50561
1350 * graphite-flattening.c (lst_project_loop): Do not
1351 remove old scattering dimensions after flattening.
1352 (lst_do_flatten): Likewise.
1353
0c578db6
GJL
13542012-02-15 Georg-Johann Lay <avr@gjlay.de>
1355
1356 * doc/extend.texi (AVR Built-in Functions): Remove doc for
1357 __builtin_avr_map8, __builtin_avr_map16.
1358 Document __builtin_avr_insert_bits.
1359
1360 * config/avr/avr.md (map_bitsqi, map_bitshi): Remove.
1361 (insert_bits): New insn.
1362 (adjust_len.map_bits): Rename to insert_bits.
1363 (UNSPEC_MAP_BITS): Rename to UNSPEC_INSERT_BITS.
1364 * avr-protos.h (avr_out_map_bits): Remove.
1365 (avr_out_insert_bits, avr_has_nibble_0xf): New.
1366 * config/avr/constraints.md (Cxf,C0f): New.
1367 * config/avr/avr.c (avr_cpu_cpp_builtins): Remove built-in
1368 defines __BUILTIN_AVR_MAP8, __BUILTIN_AVR_MAP16.
1369 New built-in define __BUILTIN_AVR_INSERT_BITS.
1370 * config/avr/avr.c (TARGET_FOLD_BUILTIN): New define.
1371 (enum avr_builtin_id): Add AVR_BUILTIN_INSERT_BITS.
1372 (avr_move_bits): Rewrite.
1373 (avr_fold_builtin, avr_map_metric, avr_map_decompose): New static
1374 functions.
1375 (avr_map_op_t): New typedef.
1376 (avr_map_op): New static variable.
1377 (avr_out_insert_bits, avr_has_nibble_0xf): New functions.
1378 (adjust_insn_length): Handle ADJUST_LEN_INSERT_BITS.
1379 (avr_init_builtins): Add definition for __builtin_avr_insert_bits.
1380 (bdesc_3arg, avr_expand_triop_builtin): New.
1381 (avr_expand_builtin): Use them. And handle AVR_BUILTIN_INSERT_BITS.
1382 (avr_revert_map, avr_swap_map, avr_id_map, avr_sig_map): Remove.
1383 (avr_map_hamming_byte, avr_map_hamming_nonstrict): Remove.
1384 (avr_map_equal_p, avr_map_sig_p): Remove.
1385 (avr_out_swap_bits, avr_out_revert_bits, avr_out_map_bits): Remove.
1386 (bdesc_2arg): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
1387 (adjust_insn_length): Remove handling for ADJUST_LEN_MAP_BITS.
1388 (enum avr_builtin_id): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
1389 (avr_init_builtins): Remove __builtin_avr_map8, __builtin_avr_map16.
1390 (avr_expand_builtin): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
1391
9e7fe10e
BS
13922012-02-14 Bernd Schmidt <bernds@codesourcery.com>
1393
1394 * config/c6x/c6x.md (reserve_cycles): New attribute.
1395 * config/c6x/c6x.c (c6x_sched_reorder_1): Ensure insns we predicate
1396 don't reserve functional units after the branch occurs.
1397
a7ff6e27
AH
13982012-02-14 Aldy Hernandez <aldyh@redhat.com>
1399
1400 PR middle-end/52142
1401 * ipa-inline.c (can_inline_edge_p): Do not inline tm_pure
1402 functions into non-tm_pure functions.
1403
aa47290b
EB
14042012-02-14 Eric Botcazou <ebotcazou@adacore.com>
1405
1406 PR lto/52178
1407 * gimple.c (iterative_hash_gimple_type): Use RECORD_OR_UNION_TYPE_P.
1408 (iterative_hash_canonical_type): Likewise.
1409 * tree-ssa-pre.c (fini_pre): Clean up the CFG only after purging all
1410 the dead edges.
1411
14122012-02-14 Bernd Schmidt <bernds@codesourcery.com>
b75f962c
BS
1413
1414 * haifa-sched.c (prune_ready_list): Ensure that if there is a
9517e333 1415 sched-group insn, it either remains alone or the entire list is pruned.
b75f962c 1416
169264b3
JW
14172012-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1418
1419 * doc/install.texi (Prerequisites): Fix grammar.
1420 (Configuration): Likewise.
1421
7a07ae52
JW
14222012-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1423
1424 * doc/install.texi (Prerequisites): Suggest building GMP, MPFR and
1425 MPC as part of GCC before describing configuring with --with-gmp etc.
1426 (Installing GCC: Configuration): --with-gmp etc. aren't needed if
1427 sources are present.
1428
a85ce59d
JJ
14292012-02-14 Jakub Jelinek <jakub@redhat.com>
1430
1431 PR debug/51950
1432 * dwarf2out.c (clone_tree_hash): New function.
1433 (copy_decls_walk): Use it instead of clone_tree.
1434
8085c586
RG
14352012-02-14 Richard Guenther <rguenther@suse.de>
1436
1437 PR tree-optimization/52244
1438 PR tree-optimization/51528
1439 * tree-sra.c (analyze_access_subtree): Only create INTEGER_TYPE
1440 replacements for integral types.
1441
dd552284
WL
14422012-02-14 Walter Lee <walt@tilera.com>
1443
1444 * config.gcc: Handle tilegx and tilepro.
1445 * configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for
1446 tilegx and tilepro.
1447 Add HAVE_AS_TLS check for tilegx and tilepro.
1448 * configure: Regenerate.
1449 * doc/contrib.texi: Add Mat Hostetter and self.
1450 * doc/extend.texi (TILE-Gx Built-in Functions): New node.
1451 Document instruction intrinsics and network accessing intrinsics.
1452 (TILEPro Built-in Functions): New node. Document instruction
1453 intrinsics and network accessing intrinsics.
1454 * doc/install.texi (Specific, tilegx-*-linux*): Document it.
1455 (Specific, tilepro-*-linux*): Likewise.
1456 * doc/invoke.texi (TILE-Gx Options): New section.
1457 (TILEPro Options): New section.
1458 * doc/md.texi (TILE-Gx): New section.
1459 (TILEPro): New section.
1460 * common/config/tilegx/tilegx-common.c: New file.
1461 * common/config/tilepro/tilepro-common.c: New file.
1462 * config/tilegx/constraints.md: New file.
1463 * config/tilegx/linux.h: New file.
1464 * config/tilegx/mul-tables.c: New file.
1465 * config/tilegx/predicates.md: New file.
1466 * config/tilegx/sync.md: New file.
1467 * config/tilegx/t-tilegx: New file.
1468 * config/tilegx/tilegx-builtins.h: New file.
1469 * config/tilegx/tilegx-c.c: New file.
1470 * config/tilegx/tilegx-generic.md: New file.
1471 * config/tilegx/tilegx-modes.def: New file.
1472 * config/tilegx/tilegx-multiply.h: New file.
1473 * config/tilegx/tilegx-protos.h: New file.
1474 * config/tilegx/tilegx.c: New file.
1475 * config/tilegx/tilegx.h: New file.
1476 * config/tilegx/tilegx.md: New file.
1477 * config/tilegx/tilegx.opt: New file.
1478 * config/tilepro/constraints.md: New file.
1479 * config/tilepro/gen-mul-tables.cc: New file.
1480 * config/tilepro/linux.h: New file.
1481 * config/tilepro/mul-tables.c: New file.
1482 * config/tilepro/predicates.md: New file.
1483 * config/tilepro/t-tilepro: New file.
1484 * config/tilepro/tilepro-builtins.h: New file.
1485 * config/tilepro/tilepro-c.c: New file.
1486 * config/tilepro/tilepro-generic.md: New file.
1487 * config/tilepro/tilepro-modes.def: New file.
1488 * config/tilepro/tilepro-multiply.h: New file.
1489 * config/tilepro/tilepro-protos.h: New file.
1490 * config/tilepro/tilepro.c: New file.
1491 * config/tilepro/tilepro.h: New file.
1492 * config/tilepro/tilepro.md: New file.
1493 * config/tilepro/tilepro.opt: New file.
1494
7daac345
JJ
14952012-02-14 Jakub Jelinek <jakub@redhat.com>
1496
1497 PR tree-optimization/52210
1498 * tree-vect-slp.c (vect_get_and_check_slp_defs): Call
1499 vect_model_simple_cost with two entry vect_def_type array instead
1500 of an address of dt.
1501
837487be
RG
15022012-02-14 Richard Guenther <rguenther@suse.de>
1503
1504 PR lto/52178
1505 * tree-streamer-in.c (lto_input_ts_field_decl_tree_pointers):
1506 Do not stream DECL_QUALIFIER.
1507 * tree-streamer-out.c (write_ts_field_decl_tree_pointers): Likewise.
1508 * tree.c (free_lang_data_in_decl): Free DECL_QUALIFIER.
1509 (find_decls_types_r): Do not walk DECL_QUALIFIER.
1510
45f41865
JJ
15112012-02-14 Jakub Jelinek <jakub@redhat.com>
1512
1513 PR c/52181
1514 * c-decl.c (merge_decls): Copy DECL_USER_ALIGN bit from olddecl to
1515 newdecl.
1516
9a76e83d
JJ
15172012-02-13 Jakub Jelinek <jakub@redhat.com>
1518
1519 PR bootstrap/52172
1520 * cselib.h (cselib_subst_to_values_from_insn): New prototype.
1521 * cselib.c (cselib_subst_to_values_from_insn): New function.
1522 * sched-deps.c (add_insn_mem_dependence,
1523 sched_analyze_1, sched_analyze_2): Use it.
1524
993716bd
JH
15252012-02-13 Jan Hubicka <jh@suse.cz>
1526
1527 PR middle-end/52214
1528 * predict.c (predict_paths_for_bb): Fix thinko in prevoius patch.
1529
255a9a1b
EB
15302012-02-13 Eric Botcazou <ebotcazou@adacore.com>
1531
1532 * gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
1533 (GTM_SELF_SPECS): Define if not already defined.
1534 (driver_self_specs): Add GTM_SELF_SPECS.
9517e333
UB
1535 * config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm.
1536 (GTM_SELF_SPECS): Define.
255a9a1b
EB
1537 * config/i386/cygwin.h (GTM_SELF_SPECS): Likewise.
1538 * config/i386/mingw32.h (GTM_SELF_SPECS): Likewise.
1539
9abd5ed9
JJ
15402012-02-13 Jakub Jelinek <jakub@redhat.com>
1541
67b977ad
JJ
1542 * cselib.c (expand_loc): Return sp, fp, hfp or cfa base reg right
1543 away if seen.
1544
9517e333 1545 * cselib.c (dump_cselib_val): Don't assume l->setting_insn is non-NULL.
42286976 1546
9abd5ed9 1547 PR middle-end/52230
9517e333
UB
1548 * omp-low.c (expand_omp_for): If a static schedule without chunk size
1549 has NULL region->cont, force fd.chunk_size to be integer_zero_node.
9abd5ed9 1550
8ca1b342
AM
15512012-02-13 Andrew MacLeod <amacleod@redhat.com>
1552
1553 PR c/52190
1554 * doc/extend.texi : Fix another __atomic_compare_exchange typo.
1555
1eb3478f
RG
15562012-02-13 Richard Guenther <rguenther@suse.de>
1557
1558 PR translation/52211
1559 * passes.c (enable_disable_pass): Fix typo.
1560
205ec405
JJ
15612012-02-13 Jakub Jelinek <jakub@redhat.com>
1562
1563 PR middle-end/52209
1564 * expr.c (expand_expr_real_2) <case BIT_NOT_EXPR>: Only expand using
1565 XOR for reduce_bit_field if type is unsigned.
1566
31d7b439
EB
15672012-02-12 Eric Botcazou <ebotcazou@adacore.com>
1568
1569 * config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): In 64-bit mode,
1570 disallow changes from SFmode to mode with different size in FP regs.
1571
15722012-02-12 Robert Millan <rmh@gnu.org>
9517e333 1573 Gerald Pfeifer <gerald@pfeifer.com>
56c534c5
RM
1574
1575 * ginclude/stddef.h [__FreeBSD_kernel__] (__size_t): Do not define.
1576 Tweak comment.
1577
4cb0fdbc
RS
15782012-02-11 Richard Sandiford <rdsandiford@googlemail.com>
1579
1580 PR rtl-optimization/52175
1581 * reorg.c (fill_slots_from_thread): Don't apply add/sub optimization
1582 to frame-related instructions.
1583
4e92c31f
JM
15842012-02-10 Jason Merrill <jason@redhat.com>
1585
1586 PR c++/51910
1587 * tlink.c (demangled_hash_entry): Change mangled to a VEC.
1588 (demangle_new_symbols): Fill it.
1589 (scan_linker_output): Walk it.
1590 (start_tweaking): Split out from scan_linker_output.
1591 (maybe_tweak): Update sym->chosen.
1592 * Makefile.in (COLLECT2_OBJS): Add vec.o and gcc-none.o
1593
bd0ba05d
JJ
15942012-02-11 Jakub Jelinek <jakub@redhat.com>
1595
1596 PR debug/52132
9517e333 1597 * reg-stack.c (subst_stack_regs_in_debug_insn): Don't use get_true_reg.
bd0ba05d 1598
28f7ff45
UB
15992012-02-11 Uros Bizjak <ubizjak@gmail.com>
1600
1601 * compare-elim.c (find_comparisons_in_bb): Eliminate only compares
1602 having the same mode as previous compare.
1603
8c92f3e8
EB
16042012-02-10 Eric Botcazou <ebotcazou@adacore.com>
1605
1606 * config/sparc/sparc.c (sparc_flat_expand_prologue): Use emit_use.
1607 * config/sparc/sparc.md (UNSPECV_GOTO): Delete.
1608 (nonlocal_goto_internal): Likewise.
1609 (nonlocal_goto): Emit a use and an indirect jump directly.
1610
9ac1504b
AM
16112012-02-10 Andrew MacLeod <amacleod@redhat.com>
1612
1613 PR c/52190
1614 * doc/extend.texi : Update comments for __atomic_compare_exchange and
1615 __atomic_{is,always}_lock_free.
1616
877fb450
L
16172012-02-10 Uros Bizjak <ubizjak@gmail.com>
1618
1619 PR target/52146
1620 * config/i386/i386.c (ix86_legitimate_address_p): Disallow
1621 negative constant address for x32.
1622
1d4fb493
RH
16232012-02-10 Richard Henderson <rth@redhat.com>
1624
28f7ff45
UB
1625 * tree-ssa-dce.c (propagate_necessity): Handle GIMPLE_TRANSACTION.
1626 * tree-ssa-operands.c (parse_ssa_operands): Add virtual operands
1627 for GIMPLE_TRANSACTION. Tidy if's into a switch.
1d4fb493 1628
8bd37302
BS
16292012-02-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1630 Ira Rosen <irar@il.ibm.com>
1631
1632 PR tree-optimization/50031
1633 * targhooks.c (default_builtin_vectorization_cost): Handle
1634 vec_promote_demote.
1635 * target.h (enum vect_cost_for_stmt): Add vec_promote_demote.
1636 * tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Handle
1637 all types of reduction and pattern statements.
1638 (vect_estimate_min_profitable_iters): Likewise.
1639 * tree-vect-stmts.c (vect_model_promotion_demotion_cost): New function.
1640 (vect_get_load_cost): Use vec_perm for permutations; add dump logic
1641 for explicit realigns.
1642 (vectorizable_conversion): Call vect_model_promotion_demotion_cost.
1643 * config/spu/spu.c (spu_builtin_vectorization_cost): Handle
1644 vec_promote_demote.
1645 * config/i386/i386.c (ix86_builtin_vectorization_cost): Likewise.
1646 * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Update
1647 vec_perm for VSX and handle vec_promote_demote.
1648
58d38fd2
JJ
16492012-02-10 Jakub Jelinek <jakub@redhat.com>
1650
1651 PR middle-end/52177
1652 * builtins.c (fold_builtin_atomic_always_lock_free,
1653 expand_builtin_atomic_always_lock_free,
28f7ff45
UB
1654 fold_builtin_atomic_is_lock_free, expand_builtin_atomic_is_lock_free):
1655 Return and/or test boolean_true_node/boolean_false_node instead of
58d38fd2
JJ
1656 integer_one_node/integer_zero_node.
1657
0f3b7e9a
JH
16582012-02-10 Jan Hubicka <jh@suse.cz>
1659
1660 PR middle-end/48600
1661 * predict.c (predict_paths_for_bb): Prevent looping.
1662 (predict_paths_leading_to_edge, predict_paths_leading_to): Update.
1663
76c9058b
RZ
16642012-02-10 Roman Zhuykov <zhroma@ispras.ru>
1665
1666 * config/arm/arm.c (output_move_double): In one case properly
1667 count number of instructions that will be emitted.
1668
7cbf224d
RG
16692012-02-10 Richard Guenther <rguenther@suse.de>
1670
1671 PR translation/52193
1672 * cgraphunit.c (cgraph_mark_functions_to_output): Fix typo.
1673
16e0be9b
PB
16742012-02-09 Peter Bergner <bergner@vnet.ibm.com>
1675
1676 PR middle-end/52140
1677 * dojump.c (do_compare_rtx_and_jump): Use SCALAR_FLOAT_MODE_P.
1678
65cca5de
JJ
16792012-02-09 Jakub Jelinek <jakub@redhat.com>
1680
1681 PR debug/52165
1682 * var-tracking.c (emit_note_insn_var_location): If
1683 EMIT_NOTE_BEFORE_INSN and insn is NOTE_INSN_CALL_ARG_LOCATION,
1684 emit it before next non-NOTE_INSN_CALL_ARG_LOCATION
1685 non-NOTE_DURING_CALL_P insn.
1686
15ed19ff
BC
16872012-02-09 Bin Cheng <bin.cheng@arm.com>
1688
1689 PR middle-end/51867
1690 * builtins.c (expand_builtin): Don't check DECL_ASSEMBLER_NAME_SET_P.
1691
5371f719
MG
16922012-02-08 Magnus Granberg <zorry@gentoo.org>
1693
1694 PR driver/48524
28f7ff45
UB
1695 * gcc.c (switch_matches) Support switches with separated form,
1696 -D and -U.
5371f719 1697
82b37806
GJL
16982012-02-08 Georg-Johann Lay <avr@gjlay.de>
1699
1700 * config/avr/avr.md (SREG_ADDR): Remove constant definition.
1701 (SP_ADDR): Ditto.
1702 (RAMPZ_ADDR): Ditto.
1703 * config/avr/avr.c (avr_addr_t): New typedef.
1704 (avr_addr): New struct to hold RAM address of SPL, SPH, RAMPZ, SREG.
1705 (avr_init_expanders): Initialize it.
1706 (expand_prologue): Use avr_addr instead of RAMPZ_ADDR, SP_ADDR,
1707 SREG_ADDR.
1708 (expand_epilogue): Ditto.
1709 (avr_print_operand): Ditto.
1710 (avr_file_start): Ditto.
1711 (avr_emit_movmemhi): Ditto.
1712
31432e21
RG
17132012-02-08 Richard Guenther <rguenther@suse.de>
1714
1715 PR tree-optimization/46886
1716 * tree-flow.h (do_while_loop_p): Declare.
1717 * tree-ssa-loop-ch.c (do_while_loop_p): Export.
28f7ff45 1718 * tree-parloops.c (parallelize_loops): Only parallelize do-while loops.
31432e21 1719
c51ec0a3
AM
17202012-02-08 Andrew MacLeod <amacleod@redhat.com>
1721
1722 * optabs.c (expand_atomic_load): Do not assume compare_and_swap will
1723 always succeed for integers larger than a native word.
1724
ea72cc1d
RG
17252012-02-08 Richard Guenther <rguenther@suse.de>
1726
1727 PR rtl-optimization/52170
1728 * simplify-rtx.c (simplify_plus_minus): Use CONSTM1_RTX to
1729 properly handle integer vector modes.
1730
bd73623c
JJ
17312012-02-08 Jakub Jelinek <jakub@redhat.com>
1732
9e66e106
JJ
1733 PR gcov-profile/52150
1734 * coverage.c: Include target.h.
1735 (build_var): Call targetm.strip_name_encoding on the assembler name.
1736 Change one _ into . or $ if the target allows it.
1737 * Makefile.in (coverage.o): Depend on $(TARGET_H).
1738
bd73623c
JJ
1739 PR rtl-optimization/52139
1740 * cfgrtl.c (cfg_layout_merge_blocks): If BB_END
1741 is a BARRIER after emit_insn_after_noloc, move BB_END
1742 to the last non-BARRIER insn before it.
1743
4566de10
RS
17442012-02-07 Richard Sandiford <rdsandiford@googlemail.com>
1745
1746 PR middle-end/24306
1747 * config/mips/mips.c (mips_std_gimplify_va_arg_expr): New function.
1748 (mips_gimplify_va_arg_expr): Call it instead of
1749 std_gimplify_va_arg_expr.
1750
7cb5ce1a
MM
17512012-02-07 Michael Meissner <meissner@linux.vnet.ibm.com>
1752
1753 * config/rs6000/rs6000.c (rs6000_trampoline_init): Fix error
1754 message for -mno-pointers-to-nested-function.
1755
f22cfd73
EB
17562012-02-07 Eric Botcazou <ebotcazou@adacore.com>
1757
1758 PR middle-end/51994
1759 * expr.c (get_inner_reference): If there is an offset, add a negative
1760 bit position to it (if any).
1761
13a72c0b
JJ
17622012-02-07 Jakub Jelinek <jakub@redhat.com>
1763
1764 PR rtl-optimization/52060
1765 * combine.c (try_combine): Add i0src_copy and i0src_copy2 variables,
1766 copy i1src to i1src_copy whenever added_sets_2 && i1_feeds_i2_n already
1767 before i1dest -> i1src substitution in newpat, copy i0src to i0src_copy
1768 and/or i0src_copy2 when needed.
1769
deb3f362
JJ
17702012-02-07 Jakub Jelinek <jakub@redhat.com>
1771
117cb2bc
JJ
1772 * gcc.c (main): Don't look for lto-wrapper or lto-wrapper
1773 or LTOPLUGINSONAME if have_c.
1774
deb3f362
JJ
1775 * config/freebsd-spec.h: Add comment about what macros can be defined
1776 in this header.
1777 (LINK_EH_SPEC, LINK_SSP_SPEC, USE_LD_AS_NEEDED): Don't define here.
1778 * config/freebsd.h (LINK_EH_SPEC, LINK_SSP_SPEC, USE_LD_AS_NEEDED): But
1779 here instead.
1780
b1edf2bc
RG
17812012-02-07 Richard Guenther <rguenther@suse.de>
1782
1783 * gimple-pretty-print.c (dump_gimple_phi): Avoid excessive
1784 newline in -alias dumps.
1785
26cfb9ab 17862012-02-07 Kai Tietz <ktietz@redhat.com>
28f7ff45 1787 Dave Korn <dave.korn.cygwin@gmail.com>
26cfb9ab
KT
1788
1789 PR target/40068
1790 * config/i386/winnt-cxx.c (i386_pe_adjust_class_at_definition):
1791 Take care that typinfo gets dllexport-attribute.
1792
b1b95093
JJ
17932012-02-07 Jakub Jelinek <jakub@redhat.com>
1794
1795 PR middle-end/52074
1796 * expr.c (expand_expr_addr_expr_1): For CONSTANT_CLASS_P or CONST_DECL
1797 if modifier < EXPAND_SUM call force_operand on the result.
1798
60098013
JR
17992012-02-07 Joern Rennecke <joern.rennecke@embecosm.com>
1800
1801 * config/epiphany/epiphany.h (ASM_DECLARE_FUNCTION_SIZE): Redefine,
1802 adding __forwarder_dst__ prefix if a forwarder_section attribute is
1803 present.
1804 (epiphany_function_type): Replace types for specific interrupts with
1805 EPIPHANY_FUNCTION_INTERRUPT.
1806 (EPIPHANY_INTERRUPT_P): Update.
1807 * config/epiphany/epiphany.c (epiphany_handle_forwarder_attribute):
1808 New static function.
1809 (epiphany_attribute_table) <interrupt>: min_len is 0, max_len is 9.
1810 <disinterrupt>: Affects type identity.
1811 (epiphany_handle_interrupt_attribute): Handle variable number of
1812 arguments.
1813 (epiphany_compute_function_type): Update for new
1814 epiphany_function_type definition.
1815 (epiphany_expand_prologue): Don't save (reg:DI GPR_0) for interrupt
1816 handlers with a longcall forwarder.
1817 (epiphany_start_function): Handle multiple interrupt arguments and/or
1818 forwarder_section attribute.
1819
28f7ff45
UB
1820 * config/epiphany/epiphany.h (LIB_SPEC): Link libc again after
1821 libgloss.
be648db7 1822
30f0eb2d
AM
18232012-02-07 Alan Modra <amodra@gmail.com>
1824
1825 PR target/52107
1826 * config/rs6000/rs6000.c (rs6000_emit_move): Don't create DImode
1827 subregs of TFmode.
1828
c5f14d62
BS
18292012-02-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1830
1831 PR tree-optimization/50969
1832 * tree-vect-stmts.c (vect_model_store_cost): Correct statement cost to
1833 use vec_perm rather than vector_stmt.
1834 (vect_model_load_cost): Likewise.
1835 * config/i386/i386.c (ix86_builtin_vectorization_cost): Change cost of
1836 vec_perm to be the same as other vector statements.
1837 * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Revise
1838 cost of vec_perm for TARGET_VSX.
1839
973a39ae
RG
18402012-02-06 Richard Guenther <rguenther@suse.de>
1841
1842 PR tree-optimization/52115
1843 * tree-sra.c (access_has_replacements_p): New function.
1844 (sra_modify_assign): Use it to decide whether a use is uninitialized.
1845
fe924d9f
PM
18462012-02-06 Patrick Marlier <patrick.marlier@gmail.com>
1847
1848 PR middle-end/52047
1849 * trans-mem.c (expand_call_tm): Add an assertion.
1850 * calls.c (flags_from_decl_or_type): Add ECF_TM_PURE to 'no vops'
1851 functions.
1852
1d30a09a
RG
18532012-02-06 Richard Guenther <rguenther@suse.de>
1854
1855 PR tree-optimization/50955
1856 * tree-ssa-loop-ivopts.c (get_computation_cost_at): Artificially
1857 raise cost of expressions that replace an address with an
1858 expression based on a different pointer.
1859
2c8b5d61
JJ
18602012-02-06 Jakub Jelinek <jakub@redhat.com>
1861
1862 PR target/52129
1863 * calls.c (mem_overlaps_already_clobbered_arg_p): If val is
1864 CONST_INT_P, subtract resp. add crtl->args.pretend_args_size to it.
1865
9039ea91
JW
18662012-02-06 Jonathan Wakely <jwakely.gcc@gmail.com>
1867
1868 PR c++/48680
1869 * doc/invoke.texi (C++ Dialect Options): Use @option markup for
1870 -Weffc++ and specify guidelines come from second edition.
1871
7ca9ea76
RS
18722012-02-05 Richard Sandiford <rdsandiford@googlemail.com>
1873
1874 * config/mips/mips.md (sibcall_internal, sibcall_value_internal)
1875 (sibcall_value_multiple_internal, call_split, call_internal_direct)
1876 (call_direct_split, call_value_split, call_value_internal_direct)
1877 (call_value_direct_split, call_value_multiple_split): Use jal and
1878 jal_macro attributes.
1879
7bd8c53f
RS
18802012-02-05 Richard Sandiford <rdsandiford@googlemail.com>
1881
1882 * reload1.c (reload_regs_reach_end_p): Replace with...
1883 (reload_reg_rtx_reaches_end_p): ...this function.
1884 (new_spill_reg_store): Update commentary.
1885 (emit_input_reload_insns): Don't clear new_spill_reg_store here.
1886 (emit_output_reload_insns): Check reload_reg_rtx_reaches_end_p
1887 before setting new_spill_reg_store.
1888 (emit_reload_insns): Use a separate loop to clear new_spill_reg_store.
1889 Use reload_reg_rtx_reaches_end_p instead of reload_regs_reach_end_p.
1890 Also use reload_reg_rtx_reaches_end_p when reading new_spill_reg_store
1891 for non-spill reload registers.
1892
24ee1384
IR
18932012-02-05 Ira Rosen <irar@il.ibm.com>
1894
1895 PR tree-optimization/52091
1896 * tree-vectorizer.h (vect_is_simple_use): Add an argument.
1897 (vect_is_simple_use_1): Likewise.
1898 * tree-vect-loop.c (vectorizable_reduction): Update calls
1899 to vect_is_simple_use_1 and vect_is_simple_use.
1900 (vectorizable_live_operation): Likewise.
1901 * tree-vect-patterns.c (widened_name_p,
28f7ff45 1902 vect_recog_vector_vector_shift_pattern, check_bool_pattern): Likewise.
24ee1384 1903 * tree-vect-stmts.c (process_use, vect_get_vec_def_for_operand,
28f7ff45
UB
1904 vectorizable_call, vectorizable_conversion, vectorizable_assignment,
1905 vectorizable_shift,vectorizable_operation, vectorizable_store,
1906 vectorizable_load): Likewise.
24ee1384
IR
1907 (vect_is_simple_cond): Add an argument, pass it to
1908 vect_is_simple_use_1.
1909 (vectorizable_condition): Update calls to vect_is_simple_cond,
1910 vect_is_simple_use.
1911 (vect_is_simple_use): Add an argument, the statement in which
1912 OPERAND is used. Check that if OPERAND's def stmt is a double
1913 reduction phi node, the use is a phi node too.
1914 (vect_is_simple_use_1): Add an argument, pass it to
1915 vect_is_simple_use.
1916 * tree-vect-slp.c (vect_get_and_check_slp_defs): Update a call
1917 to vect_is_simple_use.
1918
d5785e76
JJ
19192012-02-04 Jakub Jelinek <jakub@redhat.com>
1920
22439481
JJ
1921 PR rtl-optimization/52095
1922 * modulo-sched.c (dump_insn_locator): New function.
1923 (loop_canon_p, sms_schedule): Use it.
1924
d5785e76
JJ
1925 PR rtl-optimization/52113
1926 * lower-subreg.c (decompose_multiword_subregs): Call recog_memoized
1927 even for decomposable shift/zext insns.
1928
32410d02
JJ
19292012-02-03 Jakub Jelinek <jakub@redhat.com>
1930 Zdenek Dvorak <ook@ucw.cz>
1931
1932 PR rtl-optimization/52092
1933 * loop-unswitch.c (unswitch_single_loop): Call copy_rtx_if_shared
1934 on get_iv_value result.
1935
75471253
AP
19362012-02-02 Andrew Pinski <apinski@cavium.com>
1937
1938 PR middle-end/47982
1939 PR middle-end/43967
1940 * doc/libgcc.texi (__udivmoddi4/__udivmodti4): Fix documentation typo.
1941
1f01c3ec
JJ
19422012-02-02 Jakub Jelinek <jakub@redhat.com>
1943
1944 PR middle-end/48071
1945 * diagnostic.c (diagnostic_finish): Remove trailing newlines.
1946
662f8070
VM
19472012-02-02 Vladimir Makarov <vmakarov@redhat.com>
1948
1949 PR rtl-optimization/49800
1950 * haifa-sched.c (sched_init): Call regstat_init_n_sets_and_refs.
1951 (sched_finish): Call regstat_free_n_sets_and_refs.
1952
14bc59cb
RS
19532012-02-02 Jia Liu <proljc@gmail.com>
1954
1955 * config/mips/mips-dspr2.md (mips_prepend): Mask operand 3 rather
1956 than operand 2.
1957
9517e333
UB
19582012-02-02 Jan Hubicka <jh@suse.cz>
1959 Tom de Vries <tom@codesourcery.com>
5ee770bf
JH
1960
1961 PR middle-end/51998
1962 * cgraphunit.c (cgraph_analyze_function): Break cyclic aliases.
1963 * varpool.c (varpool_analyze_pending_decls): Likewise.
1964
b25364a0
S
19652012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1966 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1967
1968 * config.gcc: Add cr16-* support.
1969
1970 * doc/extend.texi: Document cr16 extensions.
1971 * doc/install.texi: Document cr16 install.
1972 * doc/invoke.texi: Document cr16 options.
1973 * doc/md.texi: Document cr16 constraints.
1974
1975 * common/config/cr16/cr16-common.c: New file.
1976 * config/cr16/cr16.c: New file.
1977 * config/cr16/cr16.h: New file.
1978 * config/cr16/cr16.md: New file.
1979 * config/cr16/cr16.opt: New file.
1980 * config/cr16/cr16-protos.h: New file.
1981 * config/cr16/predicates.md: New file.
1982 * config/cr16/constraints.md: New file.
1983 * config/cr16/t-cr16: New file.
1984
13c931c9
JJ
19852012-02-02 Jakub Jelinek <jakub@redhat.com>
1986
903e49f5
JJ
1987 PR target/52086
1988 * config/i386/i386.md (*addqi_2 peephole with SImode addition): Check
1989 that operands[2] is either immediate, or q_regs_operand.
1990
13c931c9
JJ
1991 PR tree-optimization/52073
1992 * tree-vect-stmts.c (vect_mark_relevant): When checking uses of
1993 a pattern stmt for pattern uses, ignore uses outside of the loop.
1994
c2453253
GJL
19952012-02-01 Georg-Johann Lay <avr@gjlay.de>
1996
1997 * config/avr/avr.c: Resolve all AS1 and AS2 macros.
1998 * config/avr/avr.h (AS1, AS2, AS2C, AS3): Remove.
1999 (OUT_AS1, OUT_AS2): Remove.
2000
07ad5438
GJL
20012012-02-01 Georg-Johann Lay <avr@gjlay.de>
2002
2003 PR rtl-optimization/51374
2004 * combine.c (can_combine_p): Don't allow volatile_refs_p insns
2005 to cross other volatile_refs_p insns.
2006
99ea07f8
RG
20072012-02-01 Richard Guenther <rguenther@suse.de>
2008
2009 * doc/invoke.texi (fno-inline): Clarify documentation.
2010 (finline-small-functions): Likewise.
2011 (finline-functions): Likewise.
2012 * common.opt (finline): Adjust comment and documentation.
2013 (finline-small-functions): Clarify documentation.
2014 (finline-functions): Likewise.
2015 (finline-functions-called-once): Likewise.
2016
3db684fb
TG
20172012-02-01 Tristan Gingold <gingold@adacore.com>
2018
2019 * c-typeck.c (composite_type): Keep mode for pointers.
2020
35aebd56
RS
20212012-01-31 Richard Sandiford <rdsandiford@googlemail.com>
2022
2023 * function.h (regno_reg_rtx): Adjust comment.
2024 * reginfo.c (init_reg_modes_target): Only use the previous mode
2025 if it fits within one register. Remove MIPS comment.
2026
8bb1a172
JJ
20272012-01-31 Jakub Jelinek <jakub@redhat.com>
2028
2029 PR bootstrap/52058
2030 * combine.c (do_SUBST_LINK, SUBST_LINK): Guard with #ifndef HAVE_cc0.
2031
01496eca
AK
20322012-01-31 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2033
2034 * config/s390/s390.md ("*ashr<mode>3_and"): Add missing z196 flag
2035 to srak instruction.
2036
a2be33be
MGD
20372012-01-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2038
28f7ff45 2039 * config/arm/thumb2.md (thumb2_mov_notscc): Use MVN for true condition.
a2be33be 2040
dd887943
JJ
20412012-01-31 Jakub Jelinek <jakub@redhat.com>
2042
2043 PR bootstrap/52041
2044 PR bootstrap/52039
2045 PR target/51974
2046 * ipa-prop.c (detect_type_change_1): Call ao_ref_init.
2047
63d7ceaa
RG
20482012-01-31 Richard Guenther <rguenther@suse.de>
2049
2050 PR tree-optimization/51528
2051 * tree-sra.c (sra_modify_assign): Avoid copy-in/out for aggregate
2052 assigns.
2053
68c8a824
JJ
20542012-01-31 Jakub Jelinek <jakub@redhat.com>
2055
2056 PR bootstrap/52041
2057 PR bootstrap/52039
2058 PR target/51974
2059 * ree.c (add_removable_extension): Change def_map argument
2060 to unsigned *, store in def_map 1 + offset into *insn_list vector
2061 instead of pointers into the vector.
2062 (find_removable_extensions): Adjust caller.
2063
a7fd5c6b
GJL
20642012-01-30 Georg-Johann Lay <avr@gjlay.de>
2065
2066 * config/avr/avr.md: Resolve all AS1 and AS2 macros.
2067 Transform all "* quoted-c-code" to { c-code }.
2068 Remove redundant test for "optimize" in combine patterns.
2069 Move (include "avr-dimode.md") to end of file.
2070
ab07692c
BC
20712012-01-30 Bin Cheng <bin.cheng@arm.com>
2072
2073 PR target/51835
2074 * config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI
2075 for __aeabi_d2iz/__aeabi_d2uiz with hard-float.
2076
e799d447
RG
20772012-01-30 Richard Guenther <rguenther@suse.de>
2078
2079 PR tree-optimization/52028
2080 * tree-loop-distribution.c (ldist_gen): Properly update
2081 virtual SSA form.
2082
dd44dcb0
JJ
20832012-01-30 Jakub Jelinek <jakub@redhat.com>
2084
2026d51a
JJ
2085 PR debug/52027
2086 * dwarf2out.c (dwarf2out_switch_text_section): Don't call
2087 set_cur_line_info_table if not emitting debug info.
2088
2f326699
JJ
2089 PR tree-optimization/52046
2090 * tree-vect-patterns.c (check_bool_pattern): Give up if
2091 a comparison could throw.
2092
dd44dcb0
JJ
2093 PR debug/52048
2094 * tree-ssa-tail-merge.c (local_def): Ignore debug uses.
2095
ab448cfa
RG
20962012-01-30 Richard Guenther <rguenther@suse.de>
2097
2098 PR tree-optimization/52045
2099 * tree-optimize.c (execute_cleanup_cfg_post_optimizing): Update
2100 SSA form if cfgcleanup did anything.
2101
f8698b37
RG
21022012-01-30 Richard Guenther <rguenther@suse.de>
2103
2104 PR tree-optimization/52045
2105 * ipa-inline-transform.c (inline_transform): Call execute_fixup_cfg
2106 before computing final todo.
2107
fdad69c1
RG
21082012-01-30 Richard Guenther <rguenther@suse.de>
2109
2110 PR tree-optimization/51528
2111 * tree-sra.c (sra_modify_assign): Re-factor in preparation
2112 for PR51528 fix.
2113
8203ac49
PB
21142012-01-30 Paolo Bonzini <bonzini@gnu.org>
2115
2116 * df-problems.c (df_kill_notes): Check that the use refers
2117 to the note under examination.
2118
98e4350f
EB
21192012-01-30 Eric Botcazou <ebotcazou@adacore.com>
2120
2121 PR target/51920
2122 * config/sparc/sparc.c (vector_init_fpmerge): Remove INNER_MODE
2123 parameter and use short-lived pseudos.
2124 (vector_init_faligndata): Remove INNER_MODE parameter and use loop.
2125 (sparc_expand_vector_init): Const-ify local variables and adjust
2126 calls to above functions.
2127
733ccf09
GJL
21282012-01-30 Georg-Johann Lay <avr@gjlay.de>
2129
2130 * config/avr/avr.c (out_movqi_mr_r): Fix length computation.
2131
1d7b264e
SL
21322012-01-29 Sandra Loosemore <sandra@codesourcery.com>
2133
2134 * doc/invoke.texi: Make usage of "compile time" and
2135 "run time"/"runtime" consistent throughout the file.
2136
1e86df8d
UB
21372012-01-29 Uros Bizjak <ubizjak@gmail.com>
2138
28f7ff45 2139 * config/alpha/alpha.c (alpha_option_override): Default to
1e86df8d
UB
2140 full IEEE compliance mode for Go language.
2141
fc4c0b43
TC
21422011-01-29 Tijl Coosemans <tijl@coosemans.org>
2143
2144 * config/freebsd-spec.h [TARGET_LIBC_PROVIDES_SSP]
2145 (LINK_SSP_SPEC): Define.
2146
df8b5535
JDA
21472012-01-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2148
2149 PR target/51871
2150 * config/pa/pa.c (pa_return_addr_rtx): Add support for PA2.0 export
2151 stubs.
2152
6b6985ba
SL
21532012-01-28 Sandra Loosemore <sandra@codesourcery.com>
2154
2155 * doc/invoke.texi: Correct hyphenation of "floating point",
2156 "double precision", and related terminology throughout the file.
2157
8ea2d689
JJ
21582012-01-28 Jakub Jelinek <jakub@redhat.com>
2159
2160 PR target/52006
2161 * config/arm/arm.md (pic_add_dot_plus_eight peephole2): Use
2162 arm_general_register_operand predicate for operand 2 instead of
2163 register_operand.
2164
183dd130
ILT
21652012-01-27 Ian Lance Taylor <iant@google.com>
2166
2167 PR go/47656
2168 * builtins.def (BUILT_IN_INIT_HEAP_TRAMPOLINE): Define.
2169 * builtins.c (expand_builtin_init_trampoline): Add onstack
2170 parameter. Change caller.
2171 (expand_builtin): Handle BUILT_IN_INIT_HEAP_TRAMPOLINE.
2172 * tree.c (build_common_builtin_nodes): Declare
2173 __builtin_init_heap_trampoline.
2174
38ee0815
GJL
21752012-01-27 Georg-Johann Lay <avr@gjlay.de>
2176
2177 * config/avr/avr-protos.h (lpm_reg_rtx, lpm_addr_reg_rtx,
2178 tmp_reg_rtx, zero_reg_rtx, all_regs_rtx, rampz_rtx): Make global.
2179 * config/avr/avr.c: Ditto.
2180 (avr_regnames): Remove because unused.
2181 * config/avr/avr.md (*cpse.ne): New peephole.
2182 (*cpse.eq): New peephole from former cpse peepholes.
2183
b6c71f77
ME
21842012-01-27 Michael Eager <eager@eagercon.com>
2185
2186 * config/microblaze.c (microblaze_emit_compare): Correct
2187 test after pcmp instruction.
2188
13604927
RG
21892012-01-27 Richard Guenther <rguenther@suse.de>
2190
2191 PR tree-optimization/52020
2192 * tree-sra.c (sra_modify_assign): Do not transform clobbers.
2193
ace018f9
RG
21942012-01-27 Richard Guenther <rguenther@suse.de>
2195
2196 * ipa-pure-const.c (check_stmt): Clobbers do not make a
2197 function non-const/pure.
2198
aff86594
RG
21992012-01-27 Richard Guenther <rguenther@suse.de>
2200
2201 PR tree-optimization/50444
2202 * tree-sra.c (build_ref_for_offset): Properly adjust the
2203 MEM_REF type for unaligned accesses.
2204
22345357
RG
22052012-01-27 Richard Guenther <rguenther@suse.de>
2206
2207 PR tree-optimization/50444
2208 * expr.c (mem_ref_refers_to_non_mem_p): New function.
2209 (expand_assignment): Use it. Properly handle misaligned
2210 bases when expanding stores to component references.
2211 (expand_expr_real_1): Use mem_ref_refers_to_non_mem_p and
2212 refactor that case.
2213
3881dee9
AB
22142012-01-27 Andrey Belevantsev <abel@ispras.ru>
2215
2216 PR middle-end/51389
2217 * Makefile.in (tree-data-ref.o): Depend on $(PARAMS_H).
2218 * tree-data-ref.h (find_data_references_in_loop): Remove declaration.
2219 * tree-data-ref.c (find_data_references_in_loop): Make static.
2220 (compute_all_dependences): Change return type to bool. Bail out
2221 for too many datarefs in a loop. Move the hunk resetting the data
2222 dependences vector from ...
2223 (compute_data_dependences_for_loop): ... here. Account for
2224 compute_all_dependences returning false.
2225 (compute_data_dependences_for_bb): Likewise.
2226 * params.def (PARAM_LOOP_MAX_DATAREFS_FOR_DATADEPS): New param.
2227 * doc/invoke.texi (loop-max-datarefs-for-datadeps): Document it.
2228
45c83429
RG
22292012-01-27 Richard Guenther <rguenther@suse.de>
2230
2231 PR middle-end/51959
2232 * expr.c (store_field): Use the alias-set of the scratch memory
2233 for storing to it.
2234
842679dc
TV
22352012-01-27 Tom de Vries <tom@codesourcery.com>
2236
2237 PR tree-optimization/51990
1e86df8d
UB
2238 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle
2239 WITH_SIZE_EXPR.
842679dc
TV
2240 * tree-ssa-pre.c (create_component_ref_by_pieces_1): Same.
2241
ae25db45
JJ
22422012-01-27 Jakub Jelinek <jakub@redhat.com>
2243
2244 PR debug/52001
2245 * var-tracking.c (reverse_op): Don't add any reverse operation
2246 if V already has any constant locations.
2247
cb485fff
SL
22482012-01-27 Sandra Loosemore <sandra@codesourcery.com>
2249
2250 * doc/invoke.texi: Correct usage of "command line" (noun)
2251 vs "command-line" (adjective) throughout.
2252
e3bd34b8
SL
22532012-01-27 Sandra Loosemore <sandra@codesourcery.com>
2254
2255 * doc/invoke.texi (Language Independent Options): Move
2256 -Wcoverage-mismatch blurb from here....
2257 (Warning Options): ...to here.
2258
b7c0a0d4
PB
22592012-01-27 Peter Bergner <bergner@vnet.ibm.com>
2260
2261 * config/rs6000/rs6000.c (rs6000_option_override_internal):
2262 Set rs6000_always_hint to false for 476.
2263
2fda54bd
MK
22642012-01-27 Matthias Klose <doko@ubuntu.com>
2265
2266 * gcc.c (add_sysrooted_prefix): Remove trailing dir separator from
2267 system root.
2268 * incpath.c (add_standard_paths): Likewise.
2269
4c1fd084
RH
22702012-01-27 Richard Henderson <rth@redhat.com>
2271
2272 * config/m68k/m68k.c (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New.
2273 * config/m68k/sync.md (atomic_test_and_set): Rename from
2274 sync_test_and_setqi and adjust the operands.
2275 (atomic_test_and_set_1): Rename from sync_test_and_setqi_1
2276 and unconditionally enable.
2277
5a843a13
RH
22782012-01-27 Richard Henderson <rth@redhat.com>
2279
2280 * config/sparc/sparc.c (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New.
2281 * config/sparc/sync.md (atomic_test_and_set): Only handle QImode.
2282 (ldstub): Rename from ldstubqi.
2283 (ldstub<I24MODE>): Remove.
2284
57c5ab1b
RH
22852012-01-27 Richard Henderson <rth@redhat.com>
2286
2287 * target.def (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New.
2288 * c-cppbuiltin.c (cpp_atomic_builtins): Define
2289 __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
2290 * doc/tm.texi.in (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): Add doc hook.
2291 * doc/tm.texi: Rebuild.
2292
15e73e06
RH
22932012-01-27 Richard Henderson <rth@redhat.com>
2294
2295 * optabs.c (gen_atomic_test_and_set): Remove default.
2296 (maybe_emit_atomic_test_and_set): Use maybe_expand_insn.
2297
089dacc5
JJ
22982012-01-26 Jakub Jelinek <jakub@redhat.com>
2299
2300 PR rtl-optimization/51978
1e86df8d 2301 * ree.c (make_defs_and_copies_lists): Change set_pat type to const_rtx.
089dacc5
JJ
2302 (combine_reaching_defs): Likewise.
2303 (struct re_info): Remove.
2304 (add_removable_extension): Remove x and data arguments,
2305 add insn, insn_list and def_map. Use the arguments directly
2306 instead of using struct re_info.
2307 (find_removable_extensions): Don't call add_removable_extension
2308 through note_stores, instead just call it with single_set
2309 result if non-NULL.
2310 (find_and_remove_re): Pass curr_cand->expr instead of
1e86df8d 2311 PATTERN (curr_cand->insn) as set_pat argument to combine_reaching_defs.
089dacc5 2312
81bfd197
MM
23132012-01-26 Michael Matz <matz@suse.de>
2314
2315 PR tree-optimization/46590
2316 * cfgexpand.c: Revert last change (r183305).
2317 * gimplify.c (gimplify_bind_expr): Add clobbers for all non-gimple
2318 regs.
2319 * tree-eh.c (cleanup_empty_eh): Try to optimize clobbers before
2320 checking for emptiness.
2321
892123df
JJ
23222012-01-26 Jakub Jelinek <jakub@redhat.com>
2323
2324 PR middle-end/51895
2325 * expr.c (expand_expr_real_1): Handle BLKmode MEM_REF of
2326 non-addressable non-BLKmode base correctly.
2327
1a47f99c
MM
23282012-01-26 Michael Matz <matz@suse.de>
2329
2330 PR tree-optimization/48794
2331 * tree-eh.c (remove_unreachable_handlers_no_lp): Don't remove
2332 regions referenced from RESX/EH_DISPATCH.
2333
3d427cc1
AK
23342012-01-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2335
2336 * config/s390/s390.h: Make BRANCH_COST an option.
2337 * config/s390/s390.opt: New option -mbranch-cost.
2338
3be18e47
RH
23392012-01-26 Richard Henderson <rth@redhat.com>
2340
2341 Revert 2012-01-24 change:
2342 * trans-mem.c (requires_barrier): Do not instrument thread local
2343 variables and emit save/restore for them.
2344
21ae439c
JJ
23452012-01-25 Jakub Jelinek <jakub@redhat.com>
2346
2347 PR middle-end/51986
2348 * sched-deps.c (sched_get_condition_with_rev_uncached): Don't test
2349 for pat == 0.
2350
e906c889
RS
23512012-01-25 Richard Sandiford <rdsandiford@googlemail.com>
2352
55d4e75e
RS
2353 * config/mips/mips.c (mips_small_data_pattern_1): Don't process
2354 ASM_OPERANDS.
e906c889 2355
3a840863
GJL
23562012-01-25 Georg-Johann Lay <avr@gjlay.de>
2357
2358 PR target/49868
2359 Rename __pgm to __flash.
2360 Rename __pgm1 to __flash1.
2361 Rename __pgm2 to __flash2.
2362 Rename __pgm3 to __flash3.
2363 Rename __pgm4 to __flash4.
2364 Rename __pgm5 to __flash5.
2365 Rename __pgmx to __memx.
2366 * doc/extend.texi (AVR Named Address Spaces)
2367 Rename address space names as indicated above.
2368 * config/avr/avr.c (avr_addrspace): Ditto.
2369
2370 * config/avr/avr-protos.h
2371 (avr_mem_pgmx_p): Rename to avr_mem_memx_p.
2372 (avr_mem_pgm_p): Rename to avr_mem_flash_p.
2373 * config/avr/predicates.md: Ditto.
2374 * config/avr/avr.c Ditto, and
2375 (avr_decl_pgmx_p): Rename to avr_decl_memx_p.
2376 (avr_decl_pgm_p): Rename to avr_decl_flash_p.
2377
2378 * config/avr/avr.h (ADDR_SPACE_PGM): Rename to ADDR_SPACE_FLASH.
2379 (ADDR_SPACE_PGM1): Rename to ADDR_SPACE_FLASH1.
2380 (ADDR_SPACE_PGM2): Rename to ADDR_SPACE_FLASH2.
2381 (ADDR_SPACE_PGM3): Rename to ADDR_SPACE_FLASH3.
2382 (ADDR_SPACE_PGM4): Rename to ADDR_SPACE_FLASH4.
2383 (ADDR_SPACE_PGM5): Rename to ADDR_SPACE_FLASH5.
2384 (ADDR_SPACE_PGMX): Rename to ADDR_SPACE_MEMX.
2385 * config/avr/avr.c: Ditto.
2386 * config/avr/avr.md: Ditto.
2387
b3310d49
JM
23882012-01-25 Jason Merrill <jason@redhat.com>
2389
2390 PR c++/51992
2391 * tree.c (find_decls_types_in_node): Walk gimple_call_fntype.
2392
06e1d03d
JJ
23932012-01-25 Jakub Jelinek <jakub@redhat.com>
2394
2395 PR tree-optimization/51987
2396 * tree-data-ref.c (get_references_in_stmt): Handle references in
2397 non-volatile GIMPLE_ASM.
2398
8bf43909
RG
23992012-01-25 Richard Guenther <rguenther@suse.de>
2400
2401 * tree-ssa-sccvn.c (vn_reference_eq): Also compare if both
2402 bases are dereferenced.
2403
3dbdd1b9
AB
24042012-01-25 Andrey Belevantsev <abel@ispras.ru>
2405
2406 PR rtl-optimization/48374
1e86df8d 2407 * sel-sched-ir.h (get_all_loop_exits): Check for zero successors.
3dbdd1b9 2408
9ca3d00e
AB
24092012-01-25 Andrey Belevantsev <abel@ispras.ru>
2410
2411 * tree-predcom.c (tree_predictive_commoning_loop): Bail out when
2412 compute_data_dependences_for_loop returns false.
2413 * tree-parloops.c (loop_parallel_p): Likewise.
2414
87c0fb4b
RG
24152012-01-25 Richard Guenther <rguenther@suse.de>
2416
2417 * tree.h (get_pointer_alignment_1): Declare.
2418 * builtins.c (get_pointer_alignment_1): New function.
2419 (get_pointer_alignment): Use it.
2420
2630025d
RR
24212012-01-25 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
2422
2423 PR rtl-optimization/48308
2424 * combine.c (enum undo_kind): Add UNDO_LINKS.
2425 (struct undo): Add member l to other_contents and where.
2426 (do_SUBST_LINK): New.
2427 (SUBST_LINK): New.
2428 (try_combine): Handle LOG_LINKS for the dummy i1 case.
2429 (undo_all): Handle UNDO_LINKS.
2430
42cf0609
RH
24312012-01-25 Richard Henderson <rth@redhat.com>
2432
2433 * optabs.c (maybe_emit_atomic_test_and_set): Allow non-QImode
2434 mem inputs.
2435
1efaf134
RS
24362012-01-24 Richard Sandiford <rdsandiford@googlemail.com>
2437
2438 * optabs.c (gen_atomic_test_and_set): Use each argument.
2439
63b9d91a
RS
24402012-01-24 Richard Sandiford <rdsandiford@googlemail.com>
2441
2442 * config/mips/mips-ps-3d.md (mips_addr_ps, reduc_splus_v2sf)
2443 (mips_cvt_pw_ps, mips_cvt_ps_pw, mips_mulr_ps, mips_cabs_cond_<fmt>)
2444 (mips_cabs_cond_4s, mips_cabs_cond_ps, bc1any4t, bc1any4f, bc1any2t)
2445 (bc1any2f, mips_rsqrt1_<fmt>, mips_rsqrt2_<fmt>, mips_recip1_<fmt>)
2446 (mips_recip2_<fmt>): Require TARGET_MIPS3D rather than
2447 TARGET_PAIRED_SINGLE_FLOAT.
2448
55356334
RS
24492012-01-24 Richard Sandiford <rdsandiford@googlemail.com>
2450
2451 * doc/rtl.texi (MEM_IN_STRUCT_P, MEM_SCALAR_P): Delete.
2452 (in_struct, return_val): Remove MEM documentation.
2453 * rtl.h (rtx_def): Remove MEM meanings from in_struct and return_val.
2454 (MEM_IN_STRUCT_P, MEM_SCALAR_P): Delete.
2455 (MEM_COPY_ATTRIBUTES): Remove references to MEM_IN_STRUCT_P
2456 and MEM_SCALAR.
2457 * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
2458 * cfgexpand.c (add_alias_set_conflicts): Likewise.
2459 * expr.c (store_field): Likewise.
2460 * function.c (assign_stack_temp_for_type): Likewise.
2461 * ifcvt.c (noce_try_cmove_arith): Likewise.
2462 * reload1.c (reload): Likewise.
2463 * config/alpha/alpha.c (alpha_set_memflags_1): Likewise.
2464 (alpha_set_memflags): Likewise.
2465 * config/m32c/m32c.c (m32c_immd_dbl_mov): Nullify.
2466
53d9622b
RS
24672012-01-24 Richard Sandiford <rdsandiford@googlemail.com>
2468
2469 * rtl.h (true_dependence, canon_true_dependence): Remove varies
2470 parameter.
2471 * alias.c (fixed_scalar_and_varying_struct_p): Delete.
2472 (true_dependence_1, write_dependence_p, may_alias_p): Don't call it.
2473 (true_dependence_1, true_dependence, canon_true_dependence): Remove
2474 varies parameter.
2475 * cselib.c (cselib_rtx_varies_p): Delete.
2476 (cselib_invalidate_mem): Update call to canon_true_dependence.
2477 * dse.c (record_store, check_mem_read_rtx): Likewise.
2478 (scan_reads_nospill): Likewise.
2479 * cse.c (check_dependence): Likewise.
2480 (cse_rtx_varies_p): Delete.
2481 * expr.c (safe_from_p): Update call to true_dependence.
2482 * ira.c (validate_equiv_mem_from_store): Likewise.
2483 (memref_referenced_p): Likewise.
2484 * postreload-gcse.c (find_mem_conflicts): Likewise.
2485 * sched-deps.c (sched_analyze_2): Likewise.
2486 * store-motion.c (load_kills_store): Likewise.
2487 * config/frv/frv.c (frv_registers_conflict_p_1): Likewise.
2488 * gcse.c (mems_conflict_for_gcse_p): Likewise.
2489 (compute_transp): Update call to canon_true_dependence.
2490
f8a27aa6
RH
24912012-01-25 Richard Henderson <rth@redhat.com>
2492
2493 * optabs.c (CODE_FOR_atomic_test_and_set): Provide default.
2494 (maybe_emit_atomic_test_and_set): New.
2495 (expand_sync_lock_test_and_set): Use it.
2496 (expand_atomic_test_and_set): Likewise.
2497 * doc/extend.texi (__atomic_test_and_set): Adjust the docs to match
2498 the implementation; clarify implementation defined details.
2499 * doc/md.texi (atomic_test_and_set): Document.
2500
f1d4a790
RH
25012012-01-25 Richard Henderson <rth@redhat.com>
2502
2503 * config/sparc/predicates.md (zero_or_v7_operand): Use match_code.
2504
ed6cf318
RH
25052012-01-25 Richard Henderson <rth@redhat.com>
2506
2507 PR target/51968
2508 * config/arm/arm.c (neon_split_vcombine): Emit deleted note
2509 to effect no-op split.
2510
dda6ecae
AH
25112012-01-24 Aldy Hernandez <aldyh@redhat.com>
2512
2513 PR lto/51698
2514 * builtin-types.def: (BT_CONST_DOUBLE_PTR): New.
2515 (BT_FN_VOID_PTR_CONST_PTR_SIZE): New.
2516 (BT_FN_VOID_PTR_INT_SIZE): New.
2517 (BT_FN_UINT_UINT_VAR): Remove.
2518 (BT_FN_UINT32_UINT32_VAR): New.
2519 (BT_FN_DOUBLE_VPTR): Remove.
2520 (BT_FN_DOUBLE_CONST_DOUBLE_PTR): New.
2521
1e86df8d 2522 * gtm-builtins.def (_ITM_abortTransaction): Set return type to void.
dda6ecae
AH
2523 (_ITM_changeTransactionMode): Same.
2524 (_ITM_memmoveRtWt): Change return type to void.
2525 (_ITM_memcpyRtWt): Same.
2526 (_ITM_memsetW): Same.
2527 (_ITM_RaRD): Change types to double.
2528 (_ITM_RD): Same.
2529 (_ITM_RaWD): Same.
2530 (_ITM_RfWD): Same.
2531
2532 * builtins.def (DEF_TM_BUILTIN): Set BOTH_P to true.
2533
1aa5d1c7
AH
25342012-01-24 Aldy Hernandez <aldyh@redhat.com>
2535 Patrick Marlier <patrick.marlier@gmail.com>
2536
2537 * trans-mem.c (requires_barrier): Do not instrument thread local
2538 variables and emit save/restore for them.
2539
c5c90089
JM
25402012-01-24 Jason Merrill <jason@redhat.com>
2541
2542 PR c++/51812
2543 * cgraphunit.c (cgraph_decide_is_function_needed): Don't always
2544 output static aliases.
2545
5460e1fc
JJ
25462012-01-24 Jakub Jelinek <jakub@redhat.com>
2547
2548 PR driver/47249
2549 * common.opt (-pie, -shared, pie, shared): Change from Common to
2550 Driver.
2551 * gcc.c (display_help): Display help for -pie and -shared.
2552
aa9ec4db
GJL
25532012-01-24 Georg-Johann Lay <avr@gjlay.de>
2554
2555 PR target/49868
2556 * doc/extend.texi (AVR Named Address Spaces): Move sample code up.
2557 Remove note on size/offset limitation.
2558 (AVR Variable Attributes): Add example how to read data located
2559 with progmem. Refer to named address spaces.
2560 * doc/invoke.texi (AVR Options): Fix typo.
2561
a9d3ac1e
RG
25622012-01-24 Richard Guenther <rguenther@suse.de>
2563
2564 Forward-port to trunk
2565 2010-09-21 Jakub Jelinek <jakub@redhat.com>
2566
2567 PR middle-end/45678
2568 * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: If
2569 op0 isn't sufficiently aligned and there is movmisalignM
2570 insn for mode, use it to load op0 into a temporary register.
2571
93bcc8c9
JJ
25722012-01-24 Jakub Jelinek <jakub@redhat.com>
2573
2574 PR target/51957
2575 * target.def (const_not_ok_for_debug_p): New hook.
2576 * doc/tm.texi.in (TARGET_CONST_NOT_OK_FOR_DEBUG_P): New hook
2577 documentation.
2578 * doc/tm.texi: Regenerated.
2579 * dwarf2out.c (const_ok_for_output_1): If
2580 targetm.const_not_ok_for_debug_p returns true, fail.
2581 * config/rs6000/rs6000.c (rs6000_const_not_ok_for_debug_p): New
2582 function.
2583 (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Redefine.
2584
986ce92f
KT
25852012-01-23 Kai Tietz <ktietz@redhat.com>
2586
2587 PR target/51900
2588 * config/i386/predicates.md (symbolic_operand): Allow
2589 UNSPEC_PCREL as PIC expression for lea.
2590 * config/i386/winnt.c (i386_pe_binds_local_p): Reworked.
2591 * config/i386/i386.c (ix86_delegitimize_address): Handle
2592 UNSPEC_PCREL for none-MEM, too.
2593
e617b554
AH
25942012-01-23 Aldy Hernandez <aldyh@redhat.com>
2595
2596 * trans-mem.c (ipa_tm_create_version): Set externally_visible.
2597 (ipa_tm_create_version_alias): Same.
2598
1e86df8d 25992012-01-23 Uros Bizjak <ubizjak@gmail.com>
5752c591
UB
2600
2601 PR libitm/51830
2602 * builtin-types.def (BT_FN_UINT_UINT_VAR): New.
2603 * gtm-builtins.def (BUILT_IN_TM_START): Declare as BT_FN_UINT_UINT_VAR.
2604
f2ede0ee
AH
26052012-01-23 Aldy Hernandez <aldyh@redhat.com>
2606 Patrick Marlier <patrick.marlier@gmail.com>
2607 Iain Sandoe <developer@sandoe-acoustics.co.uk>
2608
2609 PR lto/51916
2610 * lto-wrapper.c (run_gcc): Pass the LTO section name to
2611 simple_object_start_read.
2612
191879f9
RG
26132012-01-23 Richard Guenther <rguenther@suse.de>
2614
f2ede0ee 2615
191879f9
RG
2616 PR tree-optimization/51895
2617 * tree-sra.c (decide_one_param_reduction): Avoid sub-optimal
2618 parameter decomposition into BLKmode components.
2619
b31799f4
EB
26202012-01-23 Eric Botcazou <ebotcazou@adacore.com>
2621
2622 * tree-ssa-structalias.c (intra_create_variable_infos): Do not create
2623 fake variables for restrict-qualified pointers whose pointed-to type
2624 contains a placeholder.
2625
b2d2adc6
RG
26262012-01-23 Richard Guenther <rguenther@suse.de>
2627
2628 PR tree-optimization/51949
5752c591 2629 * ipa-split.c (execute_split_functions): Do not split malloc functions.
b2d2adc6 2630
b57cca0b
JJ
26312012-01-23 Jakub Jelinek <jakub@redhat.com>
2632
2633 PR rtl-optimization/51933
2634 * ree.c (transform_ifelse): Return true right away if dstreg is
2635 already wider or equal to cand->mode.
2636 (enum ext_modified_kind, struct ext_modified, ext_state): New types.
2637 (make_defs_and_copies_lists): Remove defs_list and copies_list
2638 arguments, add state argument, just truncate state->work_list
2639 instead of always allocating and freeing the vector. Assert that
5752c591 2640 get_defs succeeds instead of returning 2. Changed return type to bool.
b57cca0b
JJ
2641 (merge_def_and_ext): Add state argument. If SET_DEST doesn't
2642 have ext_src_mode, see if it has been modified already with the
2643 right kind of extension and has been extended before from the
2644 ext_src_mode. If SET_DEST is already wider or equal to cand->mode,
5752c591 2645 just return true. Remember the original mode in state->modified array.
b57cca0b
JJ
2646 (combine_reaching_defs): Add state argument. Don't allocate and
2647 free here def_list, copied_list and vec vectors, instead just
5752c591 2648 VEC_truncate the vectors in *state. Don't handle outcome == 2 here.
b57cca0b
JJ
2649 (find_and_remove_re): Set DF_DEFER_INSN_RESCAN df flag.
2650 Add state variable, clear vectors in it, initialize state.modified
2651 if needed. Free all the vectors at the end and state.modified too.
2652 Don't skip a candidate if the extension expression has been modified.
2653
daecebc8
DR
26542012-01-22 Douglas B Rupp <rupp@gnat.com>
2655
2656 PR target/47096
2657 * config.gcc: (i[34567]86-*-interix3*): Remove from obsolete
2658 configurations. Change triplet to i[34567]86-*-interix[3-9]*.
2659 (extra_options) interix.opt -> i386/interix.opt"
2660 (extra_objs):Add winnt-stubs.o
2661 * configure.ac: Add interix to target_os .comm on PE check.
2662 * configure: Regenerate.
2663 * config/interix3.h: Delete and move bits to..
2664 * config/interix.h: Delete and move bits to..
2665 * config/i386/i386-interix3.h: Delete and move bits to..
2666 * config/i386/i386-interix.h: ..here.
2667 (TARGET_CPU_DEFAULT): Remove redefinition.
2668 (TARGET_ASM_CONSTRUCTOR): Undefine.
2669 (SUBTARGET_SWITCHES): Define for ms-bitfields.
2670 (TARGET_OS_CPP_BUILTINS): Remove __OPENNT. Add __declspec.
2671 (PTRDIFF_TYPE): Define.
2672 (LONG_DOUBLE_TYPE_SIZE): Define.
2673 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
2674 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2675 (TARGET_SECTION_TYPE_FLAGS): Define.
2676 (ASM_DECLARE_FUNCTION_NAME): Define.
2677 (ASM_OUTPUT_EXTERNAL): Define.
2678 (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
2679 (ASM_OUTPUT_ALIGNED_BSS): Define.
2680 (PCC_BITFIELD_TYPE_MATTERS): Define.
2681 (USE_CONST_SECTION): Define.
2682 (SUBTARGET_ENCODE_SECTION_INFO): Remove.
2683 (TARGET_ASM_FUNCTION_RODATA_SECTION): Remove.
2684 (SUPPORTS_ONE_ONLY): Remove.
2685 (I386_PE_STRIP_ENCODING): Define.
2686 * config/interix.opt: Delete and move bits to..
2687 * config/i386/interix.opt: ..here. New.
2688 (mpe-aligned-commons): Add.
2689 * config/i386/t-interix: Add copyright header.
2690 (winnt-stubs.o): Add rule.
2691
bbe04f21
JM
26922012-01-22 Jason Merrill <jason@redhat.com>
2693
2694 PR c++/51832
2695 * varpool.c (varpool_analyze_pending_decls): Copy DECL_EXTERNAL
2696 for extra name aliases.
2697
ca10595c
EB
26982012-01-22 Eric Botcazou <ebotcazou@adacore.com>
2699
2700 PR rtl-optimization/51924
2701 * ree.c (combine_set_extension): Improve debugging message.
2702 (combine_reaching_defs): Likewise.
2703 (get_defs): Rename confusingly named variable.
2704 (find_and_remove_re): Skip a candidate if the extension expression has
2705 been modified.
2706
4787ac51
RM
27072012-01-21 Robert Millan <rmh@gnu.org>
2708 Gerald Pfeifer <gerald@pfeifer.com>
2709
2710 * config/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKERX32): New macro.
2711 (GNU_USER_DYNAMIC_LINKER): Adjust indentation.
2712
82294ec1
JJ
27132012-01-20 Jakub Jelinek <jakub@redhat.com>
2714
2715 PR tree-optimization/51914
2716 * tree-vect-stmts.c (vectorizable_conversion): For
2717 cvt_type && modifier == WIDEN, put temporary with cvt_type
2718 at the beginning of vec_dsts and set vec_dest to temporary
2719 with vectype_out.
2720
68cc3174
EB
27212012-01-20 Eric Botcazou <ebotcazou@adacore.com>
2722
2723 * cfgrtl.c (rtl_dump_bb): Do not dump insns for {ENTRY|EXIT}_BLOCK.
2724
cdee0298
TC
27252011-01-20 Tijl Coosemans <tijl@coosemans.org>
2726
2727 * config/i386/i386.c: Fix checks for !TARGET_MACHO.
2728 * config/rs6000/rs6000.c: Likewise.
2729
4c2708c5
JJ
27302012-01-20 Jakub Jelinek <jakub@redhat.com>
2731
2732 PR target/51915
2733 * config/arm/arm.c (arm_count_output_move_double_insns): Call
2734 output_move_double on a copy of operands array.
2735
5752c591
UB
27362012-01-20 Cary Coutant <ccoutant@google.com>
2737 Dodji Seketeli <dodji@redhat.com>
2d663cb9
CC
2738
2739 PR debug/45682
2740 * dwarf2out.c (copy_declaration_context): Return ref to parent
2741 of declaration DIE, if necessary.
2742 (remove_child_or_replace_with_skeleton): Add new parameter; update
2743 caller. Place skeleton DIE under parent DIE of original declaration.
2744 Move call to copy_declaration_context to here ...
2745 (break_out_comdat_types): ... from here.
2746
afa73d3a
AK
27472012-01-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2748
2749 PR rtl-optimization/51856
2750 * reload.c (find_reloads_subreg_address): Set the address_reloaded
2751 flag to reloaded.
2752
3675f54b
RR
27532012-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
2754
2755 PR target/51819
2756 * config/arm/arm.c (arm_print_operand): Correct output of alignment
2757 hints for neon loads and stores.
2758
542bf446
GJL
27592012-01-20 Georg-Johann Lay <avr@gjlay.de>
2760
2761 PR target/49868
2762 PR target/50887
2763 * doc/extend.texi (Named Address Spaces): Split into subsections.
2764 (AVR Named Address Spaces): New subsection.
2765 (M32C Named Address Spaces): New subsection.
2766 (RL78 Named Address Spaces): New subsection.
2767 (SPU Named Address Spaces): New subsection.
2768 (Variable Attributes): New anchor "AVR Variable Attributes".
2769 (AVR Variable Attributes): Rewrite and avoid wording
2770 "address space" in this context.
2771 * doc/invoke.texi (AVR Options): Rewrite and add documentation
2772 for -maccumulate-args, -mbranch-cost=, -mrelax, -mshort-calls.
2773 (AVR Built-in Macros): New subsubsection therein.
2774 * doc/md.texi (AVR constraints): Remove "C04", "R".
2775
a88b3135
RG
27762012-01-20 Richard Guenther <rguenther@suse.de>
2777
2778 PR tree-optimization/51903
2779 * tree-ssa-pre.c (eliminate): Properly purging of EH edges
2780 when removing stmts.
2781
f06129ea
RR
27822012-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
2783
2784 PR target/50313
2785 * config/arm/arm.c (arm_load_pic_register): Use
2786 gen_pic_load_addr_unified. Delete calls to gen_pic_load_addr_32bit
2787 , gen_pic_add_dot_plus_eight and gen_pic_add_dot_plus_four.
2788 (arm_pic_static_addr): Likewise.
2789 (arm_rtx_costs_1): Adjust cost for UNSPEC_PIC_UNIFIED.
2790 (arm_note_pic_base): Handle UNSPEC_PIC_UNIFIED.
2791 * config/arm/arm.md (UNSPEC_PIC_UNIFIED): Define.
2792 (pic_load_addr_unified): New.
2793
229bfbcf
AB
27942012-01-20 Andrey Belevantsev <abel@ispras.ru>
2795
2796 PR target/51106
2797 * function.c (instantiate_virtual_regs_in_insn): Use
2798 delete_insn_and_edges when removing a wrong asm insn.
2799
2608d841
VM
28002012-01-19 Vladimir Makarov <vmakarov@redhat.com>
2801
2802 PR rtl-optimization/40761
5752c591
UB
2803 * ira-int.h (struct ira_loop_tree_node): Add comment for member loop.
2804 Add new member loop_num.
2608d841
VM
2805 (IRA_LOOP_NODE_BY_INDEX): Modify the check.
2806 (ira_build): Remove the parameter.
2807
5752c591 2808 * ira.c (ira_print_disposition): Use loop_num instead of loop->num.
2608d841
VM
2809 (ira.c): Do not build CFG loops for one region allocation. Remove
2810 argument from ira_build call.
2811
2812 * ira-build.c (init_loop_tree_node): New function.
2813 (create_loop_tree_nodes): Use it. Separate the case when CFG
2814 loops are not built.
2815 (more_one_region_p): Check current_loops.
2816 (finish_loop_tree_nodes): Separate the case when CFG loops are not
2817 built.
2818 (add_loop_to_tree): Process loop equal to NULL too.
2819 (form_loop_tree): Separate the case when CFG loops are not built.
2820 Use explicitly number for the root.
2821 (rebuild_regno_allocno_maps, create_loop_tree_node_allocnos): Add
2822 an assertion.
2823 (ira_print_expanded_allocno, loop_compare_func): Use loop_num
2824 instead of loop->num.
5752c591 2825 (mark_loops_for_removal): Ditto. Use loop_num instead of loop->num.
2608d841
VM
2826 (mark_all_loops_for_removal): Ditto.
2827 (remove_unnecessary_regions): Separate the case when CFG loops
2828 are not built.
2829 (ira_build): Remove the parameter. Use explicit number of regions
2830 when CFG loops are not built.
2831
5752c591
UB
2832 * ira-color.c (print_loop_title): Separate the case for the root node.
2833 Use loop_num instead of loop->num.
2608d841
VM
2834 (move_spill_restore): Use loop_num instead of loop->num.
2835
2836 * ira-emit.c (setup_entered_from_non_parent_p): Add an assertion.
2837 (change_loop): Ditto.
2838 (change_loop): Use loop_num instead of loop->num.
2839
2840 * ira-lives.c (process_bb_node_lives): Ditto.
2841
5752c591 2842 * ira-costs.c (print_allocno_costs, find_costs_and_classes): Ditto.
2608d841
VM
2843
2844 * ira-conflicts.c (print_allocno_conflicts): Ditto.
2845
dc2c7a52
JJ
28462012-01-19 Jakub Jelinek <jakub@redhat.com>
2847
58b3ebf2
JJ
2848 PR libmudflap/40778
2849 * tree-mudflap.c (mf_artificial): New function.
2850 (execute_mudflap_function_ops, execute_mudflap_function_decls,
2851 mx_register_decls, mudflap_enqueue_decl): Use it.
2852
dc2c7a52
JJ
2853 PR target/51876
2854 * config/arm/neon.md (*neon_vswp<mode>): Fix up operand
2855 numbers in the insn pattern.
2856
d5038d06
MM
28572012-01-19 Michael Matz <matz@suse.de>
2858
2859 PR tree-optimization/46590
2860 * cfgexpand.c (add_scope_conflicts_1): New old_conflicts argument,
2861 use it in remembering which conflicts we already created.
2862 (add_scope_conflicts): Adjust call to above, (de)allocate helper
2863 bitmap.
2864
aad038ca
AH
28652012-01-19 Aldy Hernandez <aldyh@redhat.com>
2866
2867 PR lto/51280
2868 * lto-wrapper.c (run_gcc): Pass -fgnu_tm on.
2869 (merge_and_complain): Same.
2870
e9c9f128
JJ
28712012-01-19 Jakub Jelinek <jakub@redhat.com>
2872
2873 PR bootstrap/50237
2874 * config/initfini-array.h: Guard content of the header
2875 with #ifdef HAVE_INITFINI_ARRAY.
2876 * configure.ac: Move gcc_AC_INITFINI_ARRAY much later into the file.
2877 Add initfini-array.h to tm_file here.
5752c591 2878 * acinclude.m4 (gcc_AC_INITFINI_ARRAY): For non-ia64 do a linker test.
e9c9f128
JJ
2879 * config.gcc: Don't add initfini-array.h to tm_file here.
2880 * configure: Regenerated.
2881
28822012-01-19 Andrey Belevantsev <abel@ispras.ru>
f90aa714
AB
2883
2884 PR rtl-optimization/51505
2885 * df-problems.c (df_kill_notes): New parameter live. Update comment.
2886 Remove REG_EQUAL/REG_EQUIV notes referring to dead registers.
5752c591 2887 (df_note_bb_compute): Update the call to df_kill_notes.
f90aa714 2888
63c0efdb
AH
28892012-01-18 Aldy Hernandez <aldyh@redhat.com>
2890
2891 * trans-mem.c (requires_barrier): Remove call to is_global_var.
2892
b8cf611d
RG
28932012-01-18 Richard Guenther <rguenther@suse.de>
2894
2895 * tree-ssa.c (useless_type_conversion_p): Remove special-casing
2896 of conversions to void *.
2897
3bdb97b8
AK
28982012-01-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2899 Richard Sandiford <rdsandiford@googlemail.com>
2900
2901 PR middle-end/50325
2902 PR middle-end/51192
2903 * optabs.h (simplify_expand_binop): Declare.
2904 * optabs.c (simplify_expand_binop): Make global.
2905 * expmed.c (store_bit_field_1): Use simplify_expand_binop on big
2906 endian targets if the source cannot be exactly covered by word
2907 mode chunks.
2908
ee3d2ecd
JJ
29092012-01-17 Jakub Jelinek <jakub@redhat.com>
2910
2911 PR bootstrap/51872
2912 * hard-reg-set.h (struct hard_reg_set_container): New type.
2913 * target.h (struct hard_reg_set_container): Forward declare.
2914 * target.def (set_up_by_prologue): New target hook.
2915 * doc/tm.texi.in (TARGET_SET_UP_BY_PROLOGUE): Document it.
2916 * doc/tm.texi: Regenerated.
2917 * function.c (thread_prologue_and_epilogue_insns): Change
2918 set_up_by_prologue HARD_REG_SET into struct hard_reg_set_container.
2919 Call targetm.set_up_by_prologue on it.
2920 * config/rs6000/rs6000.c (rs6000_set_up_by_prologue): New function.
2921 (TARGET_SET_UP_BY_PROLOGUE): Redefine to it.
2922
be61ce52
NC
29232012-01-17 Nick Clifton <nickc@redhat.com>
2924
2925 * config/rx/rx.c (rx_can_use_simple_return): New function.
2926 * config/rx/rx-protos.h (rx_can_use_simple_return): Prototype.
2927 * config/rx/rx.md (return): Predicate on rx_can_use_simple_return.
2928
e831c1e8
RG
29292012-01-17 Richard Guenther <rguenther@suse.de>
2930
2931 PR middle-end/51782
2932 * expr.c (expand_assignment): Take address-space information
2933 from the address operand of MEM_REF and TARGET_MEM_REF.
2934 (expand_expr_real_1): Likewise.
2935
67463efb
AK
29362012-01-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2937
2938 * ira.c (do_reload): Make sure ira_dump_file is re-set if no
2939 reload dump is requested.
2940
59cbe98e
AH
29412012-01-17 Aldy Hernandez <aldyh@redhat.com>
2942
2943 PR other/51165
2944 * trans-mem.c (requires_barrier): Call may_be_aliased.
2945
e6fa9204
JJ
29462012-01-17 Jakub Jelinek <jakub@redhat.com>
2947
2948 PR tree-optimization/51877
2949 * tree-ssa-tail-merge.c (gimple_equal_p): Don't return true whenever
2950 call arguments and fndecls compare equal, instead return false if they
2951 don't. Return true only if lhs1 and lhs2 are either both NULL, or
2952 both SSA_NAMEs that are valueized the same, or they satisfy
2953 operand_equal_p.
2954
26923657
RO
29552012-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2956
2957 * configure.ac (gcc_cv_target_dl_iterate_phdr): Only check on
2958 Solaris 11+.
2959 * configure: Regenerate.
2960
c53153e7
JH
29612012-01-16 Jan Hubicka <jh@suse.cz>
2962
2963 PR c/12245
2964 PR c++/14179
2965 * convert.c (convert_to_integer): Use fold_convert for
2966 converting an INTEGER_CST to integer type.
2967
7aeb037b
JM
29682012-01-16 Jason Merrill <jason@redhat.com>
2969
2970 PR c++/14179
2971 * vec.c (vec_gc_o_reserve_1): Use ggc_round_alloc_size.
2972
90dda0e9
JJ
29732012-01-16 Jakub Jelinek <jakub@redhat.com>
2974
00fbd5c8
JJ
2975 PR bootstrap/51860
2976 * config/s390/s390.c (s390_chunkify_start): Don't skip
2977 call insns followed by NOTE_INSN_CALL_ARG_LOCATION note. Skip
2978 NOTE_INSN_VAR_LOCATION and NOTE_INSN_CALL_ARG_LOCATION notes.
2979 If insn is followed by NOTE_INSN_VAR_LOCATION or
2980 NOTE_INSN_CALL_ARG_LOCATION notes, insert jump after all those notes.
2981 Don't use location of note insns.
2982
90dda0e9
JJ
2983 PR tree-optimization/51865
2984 * tree-inline.c (tree_function_versioning): Call remap_decl
2985 on DECL_RESULT whenever it has VOID_TYPE_P type.
2986
62835cee
RS
29872012-01-15 Richard Sandiford <rdsandiford@googlemail.com>
2988
2989 * config/mips/mips.c (mips16_build_call_stub): Don't use a stub
2990 for calls to locally-binding MIPS16 functions if only the return
2991 type uses float regs.
2992
ddaf8125
RS
29932012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
2994 Richard Sandiford <rdsandiford@googlemail.com>
2995
2996 * config/mips/mips-protos.h (SYMBOL_FORCE_TO_MEM): Delete.
2997 (SYMBOL_32_HIGH): Likewise.
2998 (mips_output_tls_reloc_directive): Declare.
2999 * config/mips/mips.h (PIC_FUNCTION_ADDR_REGNUM): Move to mips.md.
3000 (mips_use_pcrel_pool_p, mips_lo_relocs, mips_hi_relocs): Declare.
3001 * config/mips/mips.c (mips_use_pcrel_pool_p): New variable.
3002 (mips_lo_relocs, mips_hi_relocs): Make extern.
3003 (mips16_stub_function): Move up file.
3004 (mips_classify_symbol): Remove SYMBOL_FORCE_TO_MEM handling.
3005 (mips_symbolic_constant_p): Likewise. Remove SYMBOL_32_HIGH too.
3006 (mips_symbol_insns_1): Likewise. Check mips_use_pcrel_pool_p.
5752c591
UB
3007 (mips_cannot_force_const_mem): Use mips_use_pcrel_pool_p instead of
3008 SYMBOL_FORCE_TO_MEM. Only check mips_tls_symbol_ref_1 if it's false.
ddaf8125
RS
3009 (mips_get_tp): Add MIPS16 support.
3010 (mips_legitimize_tls_address): Remove MIPS16 sorry().
3011 Generalize DTPREL and TPREL handling.
3012 (mips_init_relocs): Initialize mips_use_pcrel_pool_p.
3013 Add MIPS16 TLS support.
3014 (mips_output_tls_reloc_directive): New function.
3015 (mips16_rewrite_pool_refs): Ignore UNSPEC_TLS_GET_TPs.
3016 * config/mips/predicates.md (symbolic_operand_with_high)
3017 (tls_reloc_operand): New predicates.
3018 (force_to_mem_operand): Use mips_use_pcrel_pool_p.
3019 * config/mips/mips.md (UNSPEC_UNSHIFTED_HIGH): New unspec.
3020 (PIC_FUNCTION_ADDR_REGNUM): Moved from mips.h.
5752c591 3021 (*unshifted_high): New instruction. Use it for MIPS16 high splitter.
ddaf8125
RS
3022 (consttable_tls_reloc, tls_get_tp_mips16_<mode>): New patterns.
3023 (*tls_get_tp_mips16_call_<mode>): Likewise.
3024
bf63ef6c
UB
30252012-01-15 Uros Bizjak <ubizjak@gmail.com>
3026
3027 PR rtl-optimization/51821
3028 * recog.c (peep2_find_free_register): Determine clobbered registers
3029 from insn pattern.
3030
cfbaed3b
DC
30312012-01-14 Denis Chertykov <chertykov@gmail.com>
3032
3033 PR target/50925
3034 * config/avr/avr-protos.h: Revert change of 2012-01-09.
3035 * config/avr/avr.c: Likewise.
3036 * config/avr/avr.h: Likewise.
3037
12448f77
ILT
30382012-01-13 Ian Lance Taylor <iant@google.com>
3039
3040 PR c++/50012
3041 * tree.h (TYPE_QUALS): Add cast to int.
3042 (TYPE_QUALS_NO_ADDR_SPACE): Likewise.
3043
9ab6f957
ILT
30442012-01-13 Ian Lance Taylor <iant@google.com>
3045
3046 * ipa-cp.c (ipa_get_indirect_edge_target): Add typecasts when
3047 comparing param_index to VEC_length result.
3048
8554df86
SB
30492012-01-13 Steven Bosscher <steven@gcc.gnu.org>
3050
3051 * c-decl.c: Do not include tree-mudflap.h
3052 * tree-optimize.c: Likewise.
3053 * Makefile.in: Update dependencies.
3054
aabb90e5
RG
30552012-01-13 Richard Guenther <rguenther@suse.de>
3056
3057 PR middle-end/8081
3058 * gimplify.c (gimplify_modify_expr_rhs): For calls with a
3059 variable-sized result always use RSO.
3060
639d4bb8
DD
30612012-01-12 DJ Delorie <dj@redhat.com>
3062
3063 * cfgexpand.c (convert_debug_memory_address): Allow any valid
3064 pointer type, not just the default pointer type.
3065
105b876e
RH
30662012-01-09 Richard Henderson <rth@redhat.com>
3067 Denis Chertykov <chertykov@gmail.com>
3068
3069 PR target/50925
3070 * config/avr/avr-protos.h (avr_hard_regno_nregs): Declare.
3071 * config/avr/avr.c (avr_can_eliminate): Simplify.
3072 (avr_initial_elimination_offset): Likewise.
3073 (avr_prologue_setup_frame): Use hard_frame_pointer_rtx.
3074 (expand_epilogue): Likewise.
3075 (avr_legitimize_address): Gut.
3076 (avr_legitimize_reload_address): Use hard_frame_pointer_rtx.
3077 (avr_hard_regno_nregs): New.
3078 (avr_hard_regno_ok): Allow only Pmode for arg and frame_pointers.
3079 (avr_regno_mode_code_ok_for_base_b): Handle arg and frame pointers.
3080 * config/avr/avr.h (FIXED_REGISTERS): Adjust arg pointer,
3081 add soft frame pointer.
3082 (CALL_USED_REGISTERS): Likewise.
3083 (REG_CLASS_CONTENTS): Likewise.
3084 (REGISTER_NAMES): Likewise.
3085 (HARD_REGNO_NREGS): Use avr_hard_regno_nregs.
3086 (HARD_FRAME_POINTER_REGNUM): New.
3087 (FRAME_POINTER_REGNUM): Use soft frame pointer.
3088 (ELIMINABLE_REGS): Eliminate from the soft frame pointer,
3089 remove the HARD_FRAME_POINTER self-elimination.
3090
458652d1 30912012-01-12 Georg-Johann Lay <avr@gjlay.de>
ab8c5093
GJL
3092
3093 PR target/51756
3094 * config/avr/avr.c (avr_encode_section_info): Test for absence of
3095 DECL_EXTERNAL when checking for initializers of progmem variables.
3096
82db3d43
IR
30972012-01-12 Ira Rosen <irar@il.ibm.com>
3098
3099 PR tree-optimization/51799
3100 * tree-vect-patterns.c (vect_recog_over_widening_pattern): Check
3101 that the last operation is a type demotion.
3102
64668e68
UB
31032012-01-12 Uros Bizjak <ubizjak@gmail.com>
3104
3105 * config/i386/i386.md (*zero_extendsidi2_rex64): Correct movl template.
3106 (x86_shift<mode>_adj_1): Remove operand constraint from operand 3.
3107
319638ed
JJ
31082012-01-11 Jakub Jelinek <jakub@redhat.com>
3109
3110 PR bootstrap/51796
3111 * combine.c (distribute_notes): If i3 is a noreturn call,
3112 allow old_size to be equal to args_size and make sure the
3113 noreturn call gets REG_ARGS_SIZE note.
3114 * expr.c (fixup_args_size_notes): Put REG_ARGS_SIZE notes
3115 on noreturn calls even when the delta is 0.
3116
8f961b22
NS
31172012-01-11 Nathan Sidwell <nathan@acm.org>
3118
3119 * gcov.c (STRING_SIZE): Remove.
3120 (generate_results): Erase annotations for source files with no
3121 coverage information.
3122 (read_line): New.
3123 (output_lines): Use it.
3124
3ad065ef
EB
31252012-01-11 Eric Botcazou <ebotcazou@adacore.com>
3126
3127 * gimple.h (gimplify_body): Remove first argument.
3128 * gimplify.c (copy_if_shared): Add DATA argument. Do not create the
3129 pointer set here, instead just pass DATA to walk_tree.
3130 (unshare_body): Remove BODY_P argument and adjust. Create the pointer
3131 set here and invoke copy_if_shared on the size trees of DECL_RESULT.
3132 (unvisit_body): Likewise, but with unmark_visited.
3133 (gimplify_body): Remove BODY_P argument and adjust.
3134 (gimplify_function_tree): Adjust call to gimplify_body.
3135 * omp-low.c (finalize_task_copyfn): Likewise.
3136
1a2c27e9
EB
31372012-01-11 Eric Botcazou <ebotcazou@adacore.com>
3138
3139 * tree.h (build_function_decl_skip_args): Add boolean parameter.
3140 (build_function_type_skip_args): Delete.
3141 * tree.c (build_function_type_skip_args): Make static and add
3142 SKIP_RETURN parameter. Fix thinko in the handling of variants.
3143 (build_function_decl_skip_args): Add SKIP_RETURN parameter and
3144 pass it to build_function_type_skip_args.
3145 * cgraph.h (cgraph_function_versioning): Add boolean parameter.
3146 (tree_function_versioning): Likewise.
3147 * cgraph.c (cgraph_create_virtual_clone): Adjust call to
3148 build_function_decl_skip_args.
3149 * cgraphunit.c (cgraph_function_versioning): Add SKIP_RETURN parameter
3150 and pass it to build_function_decl_skip_args/tree_function_versioning.
3151 (cgraph_materialize_clone): Adjust call to tree_function_versioning.
3152 * ipa-inline-transform.c (save_inline_function_body): Likewise.
3153 * trans-mem.c (ipa_tm_create_version): Likewise.
3154 * tree-sra.c (modify_function): Ditto for cgraph_function_versioning.
3155 * tree-inline.c (declare_return_variable): Remove always-true test.
3156 (tree_function_versioning): Add SKIP_RETURN parameter. If the function
3157 returns non-void and SKIP_RETURN, create a void-typed RESULT_DECL.
3158 * ipa-split.c (split_function): Skip the return value for the split
3159 part if it doesn't return.
3160
b2e25729
BS
31612012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3162
3163 PR tree-optimization/49642
3164 * ipa-split.c (forbidden_dominators): New variable.
3165 (check_forbidden_calls): New function.
3166 (dominated_by_forbidden): Likewise.
3167 (consider_split): Check for forbidden dominators.
3168 (execute_split_functions): Initialize and free forbidden
3169 dominators info; call check_forbidden_calls.
3170
9150e331
MGD
31712012-01-11 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3172
3173 * config/arm/arm.md (mov_notscc): Use MVN for false condition.
3174
1c97289f
NC
31752012-01-11 Nick Clifton <nickc@redhat.com>
3176
3177 * config/rx/rx.md (return): Define pattern.
3178
65d5c485
RG
31792012-01-11 Richard Guenther <rguenther@suse.de>
3180
3181 * doc/extend.texi (malloc attribute): Adjust according to
3182 implementation.
3183
594ec92f
AH
31842012-01-10 Aldy Hernandez <aldyh@redhat.com>
3185 Patrick Marlier <patrick.marlier@gmail.com>
3186
3187 PR middle-end/51516
3188 * trans-mem.c (get_cg_data): Traverse aliases if requested.
3189 (ipa_tm_scan_calls_block): Update parameters to get_cg_data.
3190 (ipa_tm_note_irrevocable): Same.
3191 (ipa_tm_scan_irr_block): Same.
3192 (ipa_tm_decrement_clone_counts): Same.
3193 (ipa_tm_scan_irr_function): Same.
3194 (ipa_tm_create_version_alias): Same.
3195 (ipa_tm_create_version): Same.
3196 (ipa_tm_transform_calls_redirect): Same.
3197 (ipa_tm_transform_calls): Same.
3198 (ipa_tm_transform_transaction): Same.
3199 (ipa_tm_execute): Same.
3200
aee15221
RG
32012012-01-10 Richard Guenther <rguenther@suse.de>
3202
3203 PR middle-end/51806
3204 * opts.c (common_handle_option): Handle -Werror.
3205
b339cf22
AS
32062012-01-10 Andreas Schwab <schwab@linux-m68k.org>
3207
3208 * config/m68k/sync.md ("atomic_compare_and_swap<mode>_1"): Fix
3209 operand number.
3210
90aa444c
JM
32112012-01-10 Jason Merrill <jason@redhat.com>
3212
3213 * doc/invoke.texi (C++ Dialect Options): Update -fabi-version=6
3214 information.
3215
0f24748c
RO
32162012-01-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3217
3218 * configure.ac (gcc_cv_as_ix86_tlsgdplt): Check if linker
3219 supports R_386_TLS_GD_PLT reloc.
3220 (gcc_cv_as_ix86_tlsldmplt): Check if linker
3221 supports R_386_TLS_LDM_PLT reloc.
3222 * configure: Regenerate.
3223 * config.in: Regenerate.
3224
cba300dd
GJL
32252012-01-10 Georg-Johann Lay <avr@gjlay.de>
3226
3227 PR target/49868
3228 Extend __pgmx semantics to linearize memory.
3229 * config/avr/avr.md (mov<mode>): Use avr_xload_libgcc_p to
3230 determine if code comes inline or from libgcc.
3231 (MOVMEM_r_d:HI): Add "w" to constraint for better preference.
3232 (movmem_qi, movmem_qi): Set constraint #2 to "n".
3233 (movmem_qi_elpm, movmem_hi_elpm): Remove insns.
3234 (movmemx_qi, movmemx_hi): New insns.
3235 (xload_<mode>_libgcc): Rewrite to new insn condition.
3236 (xload_<mode>): Remove insns.
3237 * config/avr/avr.c (avr_out_xload): Rewrite: Only need to handle
3238 cases that don't satisfy avr_xload_libgcc_p().
3239 (avr_addr_space_convert): Allow converting in any direction.
3240 (avr_addr_space_subset_p): Return always true.
3241 (avr_xload_libgcc_p): Rewrite to fit new __pgmx semantics.
3242 (avr_emit_movmemhi): Ditto.
3243 (avr_out_lpm): No need to handle ADDR_SPACE_PGMX any more.
3244 (avr_out_movmem): Ditto.
3245 (AVR_SYMBOL_FLAG_PROGMEM): New macro.
3246 (AVR_SYMBOL_SET_ADDR_SPACE): New macro.
3247 (AVR_SYMBOL_GET_ADDR_SPACE): New macro.
3248 (avr_encode_section_info): Encode 'progmem' in symbol flags.
3249 (output_reload_in_const): Don't zero-extend any 24-bit symbols.
3250
390b24dc
RG
32512012-01-10 Richard Guenther <rguenther@suse.de>
3252
3253 PR tree-optimization/50913
3254 * graphite-scop-detection.c (stmt_has_simple_data_refs_p):
3255 Require data-refs to be representable by Graphite with respect
3256 to any loop nest.
3257
f148a434
UB
32582012-01-10 Uros Bizjak <ubizjak@gmail.com>
3259
3260 * config/i386/constraints.md ("L"): Return true for 0xffffffff.
3261 * config/i386/i386.c (*anddi_1): Emit AND with 0xffffffff as MOV.
3262
5d1f1cd5
TV
32632012-01-10 Tom de Vries <tom@codesourcery.com>
3264
6fcebe79 3265 PR rtl-optimization/51271
5d1f1cd5
TV
3266 * dwarf2cfi.c (scan_trace): Save and restore cur_row->reg_save when
3267 handling annulled branch.
3268
b440f324
RH
32692012-01-10 Richard Henderson <rth@redhat.com>
3270
f148a434 3271 * config/arm/arm.c (arm_vectorize_vec_perm_const_ok,
b440f324
RH
3272 TARGET_VECTORIZE_VEC_PERM_CONST_OK, neon_split_vcombine, MAX_VECT_LEN,
3273 struct expand_vec_perm_d, arm_expand_vec_perm_1, arm_expand_vec_perm,
3274 arm_evpc_neon_vuzp, arm_evpc_neon_vzip, arm_evpc_neon_vrev,
3275 arm_evpc_neon_vtrn, arm_evpc_neon_vtbl, arm_expand_vec_perm_const_1,
3276 arm_expand_vec_perm_const): New.
3277 * config/arm/arm-protos.h: Update.
3278 * config/arm/neon.md (UNSPEC_VCONCAT): New.
3279 (*neon_vswp<VDQX>): New.
3280 (neon_vcombine<VDX>): Use neon_split_vcombine.
3281 (neon_vtbl1v16qi, neon_vtbl2v16qi, neon_vcombinev16qi): New.
3282 * config/arm/vec-common.md (vec_perm_const<VALL>): New.
3283 (vec_perm<VE>): New.
3284
18f0fe6b
RH
32852012-01-10 Richard Henderson <rth@redhat.com>
3286
3287 * config/arm/arm.c (arm_gen_compare_reg): Add scratch argument;
3288 use it if reload_completed.
3289 (arm_legitimize_sync_memory, arm_emit, arm_insn_count, arm_count,
3290 arm_output_asm_insn, arm_process_output_memory_barrier,
3291 arm_output_memory_barrier, arm_ldrex_suffix, arm_output_ldrex,
3292 arm_output_strex, arm_output_it, arm_output_op2, arm_output_op3,
3293 arm_output_sync_loop, arm_get_sync_operand, FETCH_SYNC_OPERAND,
3294 arm_process_output_sync_insn, arm_output_sync_insn,
3295 arm_sync_loop_insns, arm_call_generator, arm_expand_sync): Remove.
3296 (arm_pre_atomic_barrier, arm_post_atomic_barrier): New.
3297 (arm_emit_load_exclusive, arm_emit_store_exclusive): New.
3298 (emit_unlikely_jump): New.
3299 (arm_expand_compare_and_swap, arm_split_compare_and_swap): New.
3300 (arm_split_atomic_op): New.
3301 * config/arm/arm-protos.h: Update.
3302 * config/arm/arm.h (enum arm_sync_generator_tag): Remove.
3303 (struct arm_sync_generator): Remove.
3304 * config/arm/arm.md (VUNSPEC_SYNC_COMPARE_AND_SWAP, VUNSPEC_SYNC_LOCK,
3305 VUNSPEC_SYNC_OP, VUNSPEC_SYNC_NEW_OP, VUNSPEC_SYNC_OLD_OP): Remove.
3306 (VUNSPEC_ATOMIC_CAS, VUNSPEC_ATOMIC_XCHG, VUNSPEC_ATOMIC_OP): New.
3307 (VUNSPEC_LL, VUNSPEC_SC): New.
3308 (sync_result, sync_memory, sync_required_value, sync_new_value,
3309 sync_t1, sync_t2, sync_release_barrier, sync_op): Remove.
3310 (attr length): Don't use arm_sync_loop_insns.
3311 (cbranch_cc, cstore_cc): Update call to arm_gen_compare_reg.
3312 (movsfcc, movdfcc): Likewise.
3313 * config/arm/constraints.md (Ua): New.
3314 * config/arm/prediates.md (mem_noofs_operand): New.
3315 (sync_compare_and_swap<QHSD>, sync_lock_test_and_set<QHSD>): Remove.
3316 (sync_clobber, sync_t2_reqd): Remove.
3317 (sync_<syncop><QHSD>, sync_nand<QHSD>): Remove.
3318 (sync_new_<syncop><QHSD>, sync_new_nand<QHSD>): Remove.
3319 (sync_old_<syncop><QHSD>, sync_old_nand<QHSD>): Remove.
3320 (arm_sync_compare_and_swap<SIDI>): Remove.
3321 (arm_sync_compare_and_swap<NARROW>): Remove.
3322 (arm_sync_lock_test_and_set<SIDI>): Remove.
3323 (arm_sync_lock_test_and_set<NARROW>): Remove.
3324 (arm_sync_new_<syncop><SIDI>): Remove.
3325 (arm_sync_new_<syncop><NARROW>): Remove.
3326 (arm_sync_new_nand<SIDI>): Remove.
3327 (arm_sync_new_nand<NARROW>): Remove.
3328 (arm_sync_old_<syncop><SIDI>): Remove.
3329 (arm_sync_old_<syncop><NARROW>): Remove.
3330 (arm_sync_old_nand<SIDI>): Remove.
3331 (arm_sync_old_nand<NARROW>): Remove.
3332 (*memory_barrier): Merge arm_output_memory_barrier.
3333 (atomic_compare_and_swap<QHSD>): New.
3334 (atomic_compare_and_swap<NARROW>_1): New.
3335 (atomic_compare_and_swap<SIDI>_1): New.
3336 (atomic_exchange<QHSD>): New.
3337 (cas_cmp_operand, cas_cmp_str): New.
3338 (atomic_op_operand, atomic_op_str): New.
3339 (atomic_<syncop><QHSD>, atomic_nand<QHSD>): New.
3340 (atomic_fetch_<syncop><QHSD>, atomic_fetch_nand<QHSD>): New.
3341 (atomic_<syncop>_fetch<QHSD>, atomic_nand_fetch<QHSD>): New.
3342 (arm_load_exclusive<NARROW>): New.
3343 (arm_load_exclusivesi, arm_load_exclusivedi): New.
3344 (arm_store_exclusive<QHSD>): New.
3345
33462012-01-09 Michael Meissner <meissner@linux.vnet.ibm.com>
df5a9a7c
MM
3347
3348 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Add DF
3349 reload patterns if -mvsx-scalar-memory.
3350
3351 * config/rs6000/vsx.md (vsx_xscvspdp): Allow xscvspdp to be
3352 generated, even -mno-vsx-scalar-double was used.
3353 (vsx_xscvdpsp_scalar): Likewise.
3354 (vsx_xscvspdp_scalar2): Likewise.
3355
243b92d1
TV
33562012-01-09 Tom de Vries <tom@codesourcery.com>
3357 Andrew Pinski <apinski@cavium.com>
3358
6fcebe79 3359 PR debug/51471
f148a434
UB
3360 * reorg.c (fill_slots_from_thread): Don't speculate
3361 frame-related insns.
243b92d1 3362
ef2be249
RS
33632012-01-09 Richard Sandiford <rdsandiford@googlemail.com>
3364
3365 * sched-int.h (bb_note): Move to...
3366 * basic-block.h: ...here.
3367 * haifa-sched.c (bb_note): Move to...
3368 * cfgrtl.c: ...here.
3369 * function.c (next_block_for_reg): New function.
3370 (move_insn_for_shrink_wrap): Likewise.
3371 (prepare_shrink_wrap): Rewrite to use the above.
3372
345ae177
AH
33732012-01-09 Aldy Hernandez <aldyh@redhat.com>
3374
3375 * gimple.c (is_gimple_non_addressable): Remove.
3376 * gimple.h: Remove is_gimple_non_addressable.
3377 * gimplify.c (gimplify_modify_expr_rhs): Use is_gimple_reg instead of
3378 is_gimple_non_addressable.
3379 * trans-mem.c (expand_assign_tm): Same.
3380
06468229
RG
33812012-01-09 Richard Guenther <rguenther@suse.de>
3382
3383 PR tree-optimization/51775
3384 * tree-ssa-sccvn.c (visit_use): Value-number throwing stmts.
3385 * tree-ssa-pre.c (eliminate): Properly fixup EH info.
3386
12aa62e9
MGD
33872012-01-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3388
3389 * config/arm/arm-cores.def (cortex-a15): Use cortex_a15_tune for
3390 tuning parameters.
3391 * config/arm/arm.c (arm_cortex_a15_tune): New static variable.
3392
fdff9f3d
RB
33932012-01-09 Richard Guenther <rguenther@suse.de>
3394
3395 * tree-streamer-out.c (write_ts_optimization): Fix spelling.
3396
d028561e
JH
33972012-01-08 Jan Hubicka <jh@suse.cz>
3398
3399 PR tree-optimize/51680
fdff9f3d
RB
3400 * ipa-inline-analyss.c (evaluate_properties_for_edge): Fix condition
3401 on when known_vals needs to be computed; cleanup.
d028561e 3402
4c8836c6
JH
34032012-01-08 Jan Hubicka <jh@suse.cz>
3404
3405 PR tree-optimize/51694
3406 * ipa-cp.c (ipa_get_indirect_edge_target): Add bounds checks.
3407
e478624f
JW
34082012-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3409
3410 * doc/cpp.texi (Predefined Macros): __STRICT_ANSI__ is defined
3411 for -std=c++98 and -std=c++11 too.
3412
b78384e0
CLT
34132012-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3414
3415 * cfgloop.c (cancel_loop): Add free() of bbs array.
3416
f45b2a8a
JH
34172012-01-07 Jan Hubicka <jh@suse.cz>
3418
3419 PR tree-optimization/51600
3420 * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Disable code
3421 that benefits small functions.
3422
34232012-01-07 Jan Hubicka <jh@suse.cz>
3424
3425 * ipa-inline.c (want_inline_small_function_p): Fix formating.
3426
db22a743
JH
34272012-01-07 Jan Hubicka <jh@suse.cz>
3428
3429 PR tree-optimization/51680
3430 * ipa-inline.c (want_inline_small_function_p): Be more lax on functions
3431 whose inlining reduce unit size.
3432
faead9f7
AO
34332012-01-07 Alexandre Oliva <aoliva@redhat.com>
3434
3435 PR bootstrap/51725
3436 * cselib.c (new_elt_loc_list): Promote addr_list to canonical node.
3437 Add canonical node to containing_mem chain after the non-canonical
3438 one, even if there weren't any locs to propagate.
3439 (remove_useless_values): Keep only canonical values.
3440 (add_mem_for_addr, cselib_lookup_mem): Canonicalize addr.
3441 (cselib_invalidate_mem): Likewise. Ensure v is canonical, and
3442 canonicalize mem_chain elements that are not discarded.
3443
b71d7f85
JJ
34442012-01-06 Jakub Jelinek <jakub@redhat.com>
3445
0850f694
JJ
3446 PR target/47333
3447 * cgraphunit.c (cgraph_optimize): Call output_weakrefs
3448 before emitting functions.
3449
b71d7f85
JJ
3450 PR gcov-profile/50127
3451 * bb-reorder.c (partition_hot_cold_basic_blocks): Call
3452 clear_aux_for_blocks.
3453
7483eef8
AO
34542012-01-06 Alexandre Oliva <aoliva@redhat.com>
3455
3456 PR debug/51746
3457 * cselib.c (cselib_hash_rtx): Hash incoming VALUEs too.
3458
86d71fca
AC
34592012-01-06 Arnaud Charlet <charlet@adacore.com>
3460
3461 * c-decl.c (ext_block): Moved up.
3462 (collect_all_refs, for_each_global_decl): Take ext_block into account.
3463
17719d09
HS
34642012-01-06 Han Shen <shenhan@google.com>
3465
3466 Translate built-in include paths for sysroot.
3467 * Makefile.in (gcc_gxx_include_dir_add_sysroot): New.
3468 (PREPROCESSOR_DEFINES): Define GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT.
3469
3470 * cppdefault.c (cpp_include_defaults): Replace hard coded "0" with
3471 GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT for "add_sysroot" field.
3472
3473 * configure.ac (AC_SUBST): Add gcc_gxx_include_dir_add_sysroot to
3474 control whether sysroot should be prepended to gxx include dir.
3475
3476 * configure: Regenerate.
3477
b0c99997
TR
34782012-01-06 Torvald Riegel <triegel@redhat.com>
3479
3480 PR rtl-optimization/51771
f148a434 3481 * builtin-attrs.def (ATTR_RETURNS_TWICE, ATTR_TM_NOTHROW_RT_LIST): New.
b0c99997
TR
3482 * gtm-builtins.def (BUILT_IN_TM_START): Add returns-twice attrib.
3483
c3e686a3
EB
34842012-01-05 Eric Botcazou <ebotcazou@adacore.com>
3485
3486 PR tree-optimization/51315
3487 * tree-sra.c (tree_non_aligned_mem_for_access_p): New predicate.
3488 (build_accesses_from_assign): Use it instead of tree_non_aligned_mem_p.
3489
2d130b31
UB
34902012-01-05 Uros Bizjak <ubizjak@gmail.com>
3491
3492 PR target/51681
3493 * config/ia64/ia64.c (expand_vec_perm_shrp): Use correct operands
3494 for shrp pattern. Correctly handle and fixup shift variable.
3495 Return false when shift > nelt for BYTES_BIG_ENDIAN target.
3496
f8f75b16
JJ
34972012-01-05 Jakub Jelinek <jakub@redhat.com>
3498
3499 PR debug/51762
3500 * calls.c (emit_call_1): For noreturn calls force a REG_ARGS_SIZE
3501 note when !ACCUMULATE_OUTGOING_ARGS.
3502
629c2cca
EB
35032012-01-05 Eric Botcazou <ebotcazou@adacore.com>
3504
3505 * tree-vrp.c (extract_range_from_binary_expr_1): Remove duplicated
3506 condition.
3507 (extract_range_from_unary_expr_1): Avoid useless computations.
3508
1e69d24e
JJ
35092012-01-05 Jakub Jelinek <jakub@redhat.com>
3510
a3e6a37b
JJ
3511 PR rtl-optimization/51767
3512 * cfgrtl.c (force_nonfallthru_and_redirect): Force addition
3513 of jump_block and add an extra edge for degenerated asm gotos.
3514
36363ebb
JJ
3515 PR middle-end/51768
3516 * stmt.c (check_unique_operand_names): Don't ICE during error
3517 reporting if i is from labels chain.
3518
1e69d24e
JJ
3519 PR middle-end/44777
3520 * profile.c (branch_prob): Split bbs that have exit edge
3521 and need a fake entry edge too.
3522
56494762
JH
35232012-01-05 Jan Hubicka <jh@suse.cz>
3524
3525 PR middle-end/49710
3526 * cfgloopmanip.c (remove_path): Walk loop hiearchy upwards when
3527 unlooping loops.
3528
10d12a3e
RG
35292012-01-05 Richard Guenther <rguenther@suse.de>
3530
3531 PR lto/50490
3532 * tree-streamer-out.c (write_ts_optimization): New function.
3533 (streamer_write_tree_body): Call it.
3534 * tree-streamer-in.c (lto_input_ts_optimization): New function.
3535 (streamer_read_tree_body): Call it.
3536 * lto-streamer-out.c (lto_is_streamable): Handle OPTIMIZATION_NODE.
3537
32be32af
JJ
35382012-01-05 Jakub Jelinek <jakub@redhat.com>
3539
3540 PR middle-end/51761
2d130b31 3541 * gimple.h (struct gimplify_ctx): Add in_cleanup_point_expr field.
32be32af
JJ
3542 * gimplify.c (gimplify_cleanup_point_expr): Save and set
3543 in_cleanup_point_expr before gimplify_stmt call and restore it
3544 afterwards.
3545 (gimplify_target_expr): Don't add {CLOBBER} cleanup if
3546 in_cleanup_point_expr is false.
3547
5720c0dc
RG
35482012-01-05 Richard Guenther <rguenther@suse.de>
3549
3550 PR middle-end/51764
3551 * common.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move
3552 to c.opt.
3553 * toplev.c (process_options): Reject combining mudflap and LTO.
3554 * tree-nomudflap.c (nogo): Use sorry instead of internal_error.
3555
6ad024b4
RG
35562012-01-05 Richard Guenther <rguenther@suse.de>
3557
3558 PR tree-optimization/51760
3559 * tree-ssa-ccp.c (likely_value): Drop UNDEFINED to CONSTANT,
3560 not VARYING.
3561 (bit_value_unop): Handle UNDEFINED operands.
3562 (bit_value_binop): Likewise.
3563
543a341c
GJL
35642012-01-05 Georg-Johann Lay <avr@gjlay.de>
3565
3566 * config/avr/avr.c (avr_replace_prefix): Remove.
3567 (avr_asm_named_section): Use ACONCAT instead of avr_replace_prefix.
3568 (avr_asm_function_rodata_section): Ditto.
3569 (avr_asm_select_section): Ditto.
3570
6bfd2688
MS
35712012-01-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
3572
3573 * reload.c (find_reloads): Adjust LABEL_NUSES on REG_LABEL_OPERAND
3574 insertion.
3575
cbd65133
JJ
35762012-01-05 Jakub Jelinek <jakub@redhat.com>
3577
bfeb0869
JJ
3578 PR bootstrap/51648
3579 * tree-cfg.c (need_fake_edge_p): Return true also for noreturn
3580 calls that have any non-fake successor edges.
3581
cbd65133
JJ
3582 PR debug/51746
3583 * var-tracking.c (add_stores): For COND_EXEC allow oval to be NULL.
3584
8594273a
EB
35852012-01-04 Eric Botcazou <ebotcazou@adacore.com>
3586
3587 PR tree-optimization/51624
3588 * tree-sra.c (build_ref_for_model): When replicating a chain of
3589 COMPONENT_REFs, stop as soon as the offset would become negative.
3590
5dc28f42
JJ
35912012-01-04 Jakub Jelinek <jakub@redhat.com>
3592
3593 PR debug/51695
3594 * dwarf2out.c (output_loc_list): For now drop >= 64KB expressions
3595 in .debug_loc on the floor.
3596
03a9ba1e
AP
35972012-01-04 Andrew Pinski <apinski@cavium.com>
3598
3599 * doc/invoke.texi (-march=@var{arch}): Add octeon+ and octeon2.
3600
770da00a
AP
36012012-01-04 Andrew Pinski <apinski@cavium.com>
3602 Adam Nemet <anemet@caviumnetworks.com>
3603
3604 * config/mips/mips.md (size): Add SI and DI.
3605 (SIZE): New mode attribute.
3606 (U): New code attribute.
3607 * config/mips/mips-dsp.md (mips_lbux): Use gen_mips_lbux_extsi.
3608 (mips_lbux_<mode>): Delete.
3609 (mips_l<SHORT:size><u>x_ext<GPR:mode>_<P:mode>): New pattern.
3610 (mips_lhx): Use gen_mips_lhx_extsi.
3611 (mips_lhx_<mode>): Delete.
3612 (mips_lwx): Delete.
3613 (mips_l<size>x): New expand.
3614 (mips_lwx_<mode>): Delete.
3615 (mips_l<GPR:size>x_<P:mode>): New pattern.
3616 (*mips_lw<u>x_<P:mode>_ext): Likewise.
3617 * config/mips/mips-ftypes.def: Add DI f(POINTER, SI) function type.
3618 * config/mips/mips.c (mips_lx_address_p): New function.
3619 (mips_rtx_costs <case MEM>): Call mips_lx_address_p.
3620 (dsp64): New availability predicate.
3621 (mips_builtins): Add an entry for __builtin_mips_ldx.
3622 * config/mips/mips.h (ISA_HAS_LBX): New define.
3623 (ISA_HAS_LBUX): Likewise.
3624 (ISA_HAS_LHX): Likewise.
3625 (ISA_HAS_LHUX): Likewise.
3626 (ISA_HAS_LWX): Likewise.
3627 (ISA_HAS_LWUX): Likewise.
3628 (ISA_HAS_LDX): Likewise.
3629 * doc/extend.texi (__builtin_mips_ldx): Document.
3630
e2b30a44
TG
36312012-01-04 Tristan Gingold <gingold@adacore.com>
3632
3633 * config/vms/xm-vms.h (HOST_LONG_FORMAT, HOST_PTR_PRINTF): Define
3634 when long pointers are used.
3635 * config.build (*-*-*vms*): Handle all OpenVMS targets.
3636 (alpha64-dec-*vms*, alpha*-dec-*vms*)
3637 (ia64-hp-*vms*): Remove.
3638 * config/vms/xm-vms64.h: Delete.
3639
713b8dfb
AH
36402012-01-04 Aldy Hernandez <aldyh@redhat.com>
3641
3642 PR middle-end/51472
3643 * trans-mem.c (expand_assign_tm): Handle TM_MEMMOVE loads correctly.
3644
7ba65723
AH
36452012-01-04 Aldy Hernandez <aldyh@redhat.com>
3646
b6aa8c33 3647 * opts.c (finish_options): Remove duplicate sorry.
7ba65723 3648
3a54c456
AH
36492012-01-04 Aldy Hernandez <aldyh@redhat.com>
3650
3651 PR middle-end/51696
3652 * trans-mem.c (diagnose_tm_1): Display indirect calls with no name
3653 correctly.
3654
f5a3d840
RG
36552012-01-04 Richard Guenther <rguenther@suse.de>
3656
3657 PR middle-end/51750
3658 * tree.c (size_low_cst): New function.
3659 * tree.h (size_low_cst): Declare.
3660 * fold-const.c (fold_comparison): Use it to extract the low
3661 part of the POINTER_PLUS_EXPR offset.
3662
299c4b5f
GJL
36632012-01-04 Georg-Johann Lay <avr@gjlay.de>
3664
3665 Fix clearing ZERO_REG
3666 * config/avr/avr.md (cc): Add alternative "ldi".
3667 (movqi_insn): Use it in cc attribute.
3668 * config/avr/avr.c (notice_update_cc): Handle CC_LDI.
3669 (output_reload_in_const): Use CLR to move 0 to ZERO_REG.
3670 (output_reload_insisf): Use ZERO_REG to pre-clear register.
3671
925b0ed8
AK
36722012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3673
3674 * configure: Regenerate.
3675
b4cf8c9d
RG
36762012-01-04 Richard Guenther <rguenther@suse.de>
3677
3678 PR tree-optimization/49651
3679 * tree-ssa-structalias.c (type_can_have_subvars): New function.
3680 (var_can_have_subvars): Use it.
2d130b31 3681 (get_constraint_for_1): Only consider subfields if there can be any.
b4cf8c9d 3682
c067f6cf
JJ
36832012-01-03 Jakub Jelinek <jakub@redhat.com>
3684
e30afafb 3685 PR bootstrap/51725
2d130b31
UB
3686 * cselib.c (new_elt_loc_list): When moving locs from one cselib_val
3687 to its new canonical_cselib_val and the cselib_val was in
3688 first_containing_mem chain, but the canonical_cselib_val was not,
3689 add the latter into the chain.
e30afafb
JJ
3690 (cselib_invalidate_mem): Compare canonical_cselib_val of
3691 addr_list chain elt with v.
3692
c067f6cf
JJ
3693 PR pch/51722
3694 * dwarf2out.c (dwarf2out_start_source_file, dwarf2out_define,
3695 dwarf2out_undef): Allocate e.info using ggc_strdup instead
3696 of xstrdup.
3697 (output_macinfo_op): Don't ggc_strdup fd->filename.
3698 (optimize_macinfo_range): Allocate grp_name using XALLOCAVEC,
3699 then ggc_strdup it. Don't free inc->info or cur->info.
3700 (output_macinfo): Don't free ref->info or file->info.
3701
5d2eb24b
IR
37022012-01-03 Ira Rosen <irar@il.ibm.com>
3703
3704 PR tree-optimization/51269
3705 * tree-vect-loop-manip.c (set_prologue_iterations): Make
3706 first_niters a pointer.
3707 (slpeel_tree_peel_loop_to_edge): Likewise.
3708 (vect_do_peeling_for_loop_bound): Update call to
3709 slpeel_tree_peel_loop_to_edge.
3710 (vect_gen_niters_for_prolog_loop): Don't compute wide_prolog_niters
3711 here. Remove it from the parameters list.
3712 (vect_do_peeling_for_alignment): Update calls and compute
3713 wide_prolog_niters.
3714
c3e85659
RG
37152012-01-03 Richard Guenther <rguenther@suse.de>
3716
3717 PR tree-optimization/51070
3718 * tree-loop-distribution.c (stmt_has_scalar_dependences_outside_loop):
3719 Properly handle calls.
3720
f1749ec1
RG
37212012-01-03 Richard Guenther <rguenther@suse.de>
3722
3723 PR tree-optimization/51692
3724 * tree-ssa-dce.c (eliminate_unnecessary_stmts): Do not remove
3725 the LHS of allocation stmts.
3726
75291c57
OH
37272012-01-03 Olivier Hainque <hainque@adacore.com>
3728
3729 * system.h: Prior to #define, #undef fopen and freopen unconditionally.
3730
6588d711
OH
37312012-01-03 Olivier Hainque <hainque@adacore.com>
3732
3733 * collect2.c (main): In AIX specific computations for vector
3734 insertions, use CONST_CAST2 to cast from char ** to const char **.
3735
f3321fd7
RG
37362012-01-03 Richard Guenther <rguenther@suse.de>
3737
3738 PR debug/51650
3739 * dwarf2out.c (dwarf2out_finish): Always create a DIE for
3740 the context of a limbo DIE when it does not already exist.
3741
a9730200
JJ
37422012-01-03 Jakub Jelinek <jakub@redhat.com>
3743
3744 PR tree-optimization/51719
3745 * value-prof.c (gimple_ic): When indirect call isn't noreturn,
3746 but direct call is, clear direct call's lhs and don't add fallthrough
3747 edge from dcall_bb to join_bb and PHIs.
3748
be5de7a1
AK
37492012-01-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3750
3751 * config/s390/s390.md ("*cmp<mode>_ccs"): Fix comment mentioning
3752 the instructions emitted by the pattern.
3753 ("*TDC_insn_<mode>"): Add comment.
3754
8b3c2951
RG
37552012-01-03 Richard Guenther <rguenther@suse.de>
3756
3757 PR middle-end/51730
3758 * fold-const.c (fold_comparison): Properly canonicalize
3759 tree offset and HOST_WIDE_INT bit position.
3760
96fda42c
UB
37612012-01-02 Uros Bizjak <ubizjak@gmail.com>
3762
3763 * config/ia64/ia64.c (expand_vec_perm_broadcast): Use correct
3764 operands for extzv pattern.
3765
a4f436ff
JJ
37662012-01-02 Jakub Jelinek <jakub@redhat.com>
3767
3768 PR bootstrap/51725
3769 * cselib.c (add_mem_for_addr): Call canonical_cselib_val
3770 on mem_elt first.
3771
842322d3
SL
37722012-01-02 Sandra Loosemore <sandra@codesourcery.com>
3773
3774 * doc/invoke.texi (-flto and related options): Copy-edit.
3775
21e8e84d
RS
37762012-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3777
96fda42c 3778 * config/mips/mips.md (loadgp_newabi_<mode>): Add missing earlyclobber.
21e8e84d 3779
06046046
JJ
37802012-01-02 Jakub Jelinek <jakub@redhat.com>
3781
3782 * config/i386/sse.md (*avx2_gatherdi<mode>_3, *avx2_gatherdi<mode>_4):
3783 New patterns.
3784
0d8f5d62
RS
37852012-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3786
3787 * expr.h (move_by_pieces_ninsns): Declare.
3788 * expr.c (move_by_pieces_ninsns): Make external.
3789 * config/mips/mips-protos.h (mips_move_by_pieces_p): Declare.
3790 (mips_store_by_pieces_p): Likewise.
3791 * config/mips/mips.h (MOVE_BY_PIECES_P): Call mips_move_by_pieces_p.
3792 (STORE_BY_PIECES_P): Likewise mips_store_by_pieces_p.
3793 * config/mips/mips.c (mips_move_by_pieces_p): New function.
3794 (mips_store_by_pieces_p): Likewise.
3795
9f929ce6
JJ
37962012-01-02 Jakub Jelinek <jakub@redhat.com>
3797
3798 * passes.c (register_one_dump_file): Free full_name.
3799
96fda42c 3800 * reload1.c (reload): Don't allocate reg_max_ref_width here.
9f929ce6
JJ
3801 (calculate_elim_costs_all_insns): Free offsets_at and
3802 offsets_known_at at the end and clear the pointers.
3803
ce23293b
GJL
38042012-01-02 Georg-Johann Lay <avr@gjlay.de>
3805
3806 * config/avr/avr.opt (-mbranch-cost): Fix double definition of
3807 this option introduced in r180739.
3808
884f56d1
GJL
38092012-01-02 Georg-Johann Lay <avr@gjlay.de>
3810
3811 PR target/51345
3812 * config.gcc (tm_file target=avr]): Add avr/avr-multilib.h
3813 (tmake_file target=avr): Add avr/t-multilib.
3814
3815 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use AVR_HAVE_8BIT_SP
3816 to built-in define __AVR_HAVE_8BIT_SP__, __AVR_HAVE_16BIT_SP__.
3817 * config/avr/genmultilib.awk: New file.
3818 * config/avr/t-multilib: New auto-generated file.
3819 * config/avr/multilib.h: New auto-generated file.
3820 * config/avr/t-avr (AVR_MCUS): New variable.
3821 (genopt.sh): Use it.
3822 (s-mlib): Depend on t-multilib.
3823 (t-multilib, multilib.h): New dependencies.
3824 (s-avr-mlib): New rule to build t-multilib, multilib.h from AVR_MCUS.
3825 (MULTILIB_OPTIONS): Remove.
3826 (MULTILIB_MATCHES): Remove.
3827 (MULTILIB_DIRNAMES): Remove.
3828 (MULTILIB_EXCEPTIONS): Remove:
3829 * config/avr/genopt.sh: Don't use hard coded file name;
3830 pass AVR_MCUS from t-avr instead.
3831
9ecd3a64
GJL
38322012-01-02 Georg-Johann Lay <avr@gjlay.de>
3833
3834 * config/avr/avr.c (avr_out_ashrpsi3): Fix "case 31" to "case 23".
3835
8c57e547
GJL
38362012-01-02 Georg-Johann Lay <avr@gjlay.de>
3837
3838 Implement light-weight DImode support.
3839 * config/avr/avr-dimode.md: New file.
3840 * config/avr/avr.md: Include it.
3841 (adjust_len): Add plus64, compare64.
3842 (HIDI): Remove code iterator.
3843 (code_stdname): New code attribute.
3844 (rotx, rotsmode): Remove DI.
3845 (rotl<mode>3, *rotw<mode>, *rotb<mode>): Use HISI instead of HIDI
3846 as code iterator.
3847 * config/avr/avr-protos.h (avr_have_dimode): New.
3848 (avr_out_plus64, avr_out_compare64): New.
3849 * config/avr/avr.c (avr_out_compare): Handle DImode.
3850 (avr_have_dimode): New variable definition and initialization.
3851 (avr_out_compare64, avr_out_plus64): New functions.
3852 (avr_out_plus_1): Use simplify_unary_operation to negate xval.
3853 (adjust_insn_length): Handle ADJUST_LEN_COMPARE64, ADJUST_LEN_PLUS64.
3854 (avr_compare_pattern): Skip DImode comparisons.
3855
8b61e863
RE
38562012-01-02 Revital Eres <revital.eres@linaro.org>
3857
3858 * ddg.c (def_has_ccmode_p): New function.
3859 (add_cross_iteration_register_deps,
3860 create_ddg_dep_from_intra_loop_link): Call it.
3861
ba768e18
RG
38622012-01-02 Richard Guenther <rguenther@suse.de>
3863
3864 PR other/51679
3865 * invoke.texi (fassociative-math): Remove spurious paranthesis.
3866
66f1b195
JJ
38672012-01-01 Jakub Jelinek <jakub@redhat.com>
3868
3869 * gcc.c (process_command): Update copyright notice dates.
3870 * gcov.c (print_version): Likewise.
3871 * gcov-dump.c (print_version): Likewise.
3872 * mips-tfile.c (main): Likewise.
3873 * mips-tdump.c (main): Likewise.
3874
f2c74cc4
IR
38752012-01-01 Ira Rosen <irar@il.ibm.com>
3876
3877 PR tree-optimization/51704
3878 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Check that
96fda42c 3879 a use is inside the basic block or loop before accessing its vect info.
f2c74cc4 3880
06f1716b
JH
38812012-01-01 Jan Hubicka <jhjh@suse.cz>
3882
3883 PR rtl-optimization/51069
3884 * cfgloopmanip.c (remove_path): Removing path making irreducible
3885 region unconditional makes BB part of the region.
3886
45a5b21a
JJ
38872012-01-01 Jakub Jelinek <jakub@redhat.com>
3888
3889 PR tree-optimization/51683
3890 * tree-ssa-propagate.c (substitute_and_fold): Don't optimize away
3891 calls with side-effects.
3892 * tree-ssa-ccp.c (ccp_fold_stmt): Likewise.
ad41bd84 3893\f
a7f45047 3894Copyright (C) 2012 Free Software Foundation, Inc.
ad41bd84
JM
3895
3896Copying and distribution of this file, with or without modification,
3897are permitted in any medium without royalty provided the copyright
3898notice and this notice are preserved.