]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
darwin.h: Make pretty.
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
8efc91cd
MS
12011-02-12 Mike Stump <mikestump@comcast.net>
2
3 * config/darwin.h: Make pretty.
4 * config/t-darwin (config/darwin.h.rebuild): Add.
5 (build/slashify): Add.
6 * config/slashify.c: Add.
7
a016dc83
JM
82011-02-12 Joseph Myers <joseph@codesourcery.com>
9
10 PR driver/45731
11 * gcc.c (asm_options): Correct spec matching --target-help.
12
8957a0ec
MJ
132011-02-12 Martin Jambor <mjambor@suse.cz>
14
15 * tree-cfg.c (verify_gimple_call): Return true upon invalid argument
16 to gimple call error.
17
6ef828bc
MS
182011-02-12 Mike Stump <mikestump@comcast.net>
19
20 * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize
21 comments in backslash regions.
22
a4015be5
MS
232011-02-12 Mike Stump <mikestump@comcast.net>
24 Jakub Jelinek <jakub@redhat.com>
25 Iain Sandoe <iains@gcc.gnu.org>
26
27 PR target/47324
28 * dwarf2out.c (output_cfa_loc): When required, apply the
29 DWARF2_FRAME_REG_OUT macro to adjust register numbers.
30 (output_loc_sequence): Likewise.
31 (output_loc_operands_raw): Likewise.
32 (output_loc_sequence_raw): Likewise.
33 (output_cfa_loc): Likewise.
34 (output_loc_list): Suppress register number adjustment when
35 calling output_loc_sequence()
36 (output_die): Likewise.
37
5378dda2
AS
382011-02-12 Anatoly Sokolov <aesok@post.ru>
39
40 * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
41 Remove macros.
42 * config/xtensa/xtensa.c (xtensa_register_move_cost,
43 xtensa_memory_move_cost): New functions.
44 (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define.
45
f3d533d3
AO
462011-02-12 Alexandre Oliva <aoliva@redhat.com>
47
48 PR lto/47225
49 * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la
50 in the current directory.
51 * configure: Rebuilt.
52
9d53403c
IS
532011-02-12 Iain Sandoe <iains@gcc.gnu.org>
54
55 * config/darwin.c (darwin_override_options): Add a hunk missed
8efc91cd 56 from the commit of r168571. Trim comment line lengths and
9d53403c
IS
57 correct indents of the preceding block.
58
a350a6c8
IS
592011-02-12 Iain Sandoe <iains@gcc.gnu.org>
60
61 * gcc.c (driver_handle_option): Concatenate the argument to -F with
62 the switch.
63
bab79a40
JM
642011-02-11 Joseph Myers <joseph@codesourcery.com>
65
66 * common.opt (nostartfiles): New Driver option.
67
1bbc6693
XDL
682011-02-11 Xinliang David Li <davidxl@google.com>
69
70 PR tree-optimization/47707
71 * tree-chrec.c (convert_affine_scev): Keep type precision.
72
1da7d8c0
EB
732011-02-11 Eric Botcazou <ebotcazou@adacore.com>
74
75 PR tree-optimization/47420
76 * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX.
77
782011-02-11 Pat Haugen <pthaugen@us.ibm.com>
3f82421f
PH
79
80 PR rtl-optimization/47614
81 * rtl.h (check_for_inc_dec): Declare.
82 * dse.c (check_for_inc_dec): Externalize...
83 * postreload.c (reload_cse_simplify): ...use it before deleting stmt.
84 (reload_cse_simplify_operands): Don't simplify opnds with side effects.
85
4df47bca
JM
862011-02-11 Joseph Myers <joseph@codesourcery.com>
87
88 PR driver/47678
89 * gcc.c (main): Do not compile inputs if there were errors in
90 option handling.
91 * opts-common.c (read_cmdline_option): Check for wrong language
92 after other error checks.
93
61502ca8
NF
942011-02-11 Nathan Froyd <froydnj@codesourcery.com>
95
96 * cgraph.c: Fix comment typos.
97 * cgraph.h: Likewise.
98 * cgraphunit.c: Likewise.
99 * ipa-cp.c: Likewise.
100 * ipa-inline.c: Likewise.
101 * ipa-prop.c: Likewise.
102 * ipa-pure-const.c: Likewise.
103 * ipa-ref.c: Likewise.
104 * ipa-reference.c: Likewise.
105
b63f974e
JJ
1062011-02-11 Jakub Jelinek <jakub@redhat.com>
107
d50c5e0c
JJ
108 PR debug/47684
109 * tree-predcom.c (single_nonlooparound_use): Ignore debug uses.
b63f974e 110
6dd2a13c
RO
1112011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
112
113 PR testsuite/47400
114 * doc/sourcebuild.texi (Require Support): Document
115 dg-require-ascii-locale.
116
4a087ccf
MX
1172011-02-11 Mingjie Xing <mingjie.xing@gmail.com>
118
119 * doc/lto.texi (Write summary): Fix missing parentheses.
120
a4403164
DD
1212011-02-10 DJ Delorie <dj@redhat.com>
122
123 * config/m32c/m32c.c (m32c_option_override): Disable
124 -fcombine-stack-adjustments until flag value tracking and compare
125 optimization can be rewritten.
126
4fac45bd
PB
1272011-02-10 Peter Bergner <bergner@vnet.ibm.com>
128
129 * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to
130 PROCESSOR_POWER7.
131 (PROCESSOR_DEFAULT64): Likewise.
132
72602cd1
RH
1332011-02-10 Richard Henderson <rth@redhat.com>
134
135 * config/rx/predicates.md (rx_zs_comparison_operator): Revert
136 change from 2011-02-03.
137 * config/rx/rx.c (flags_from_code): Likewise.
138 (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag
139 is valid, n/pz otherwise.
140 (rx_select_cc_mode): Return CCmode if Y is not zero.
141
ea57f573
RG
1422011-02-10 Richard Guenther <rguenther@suse.de>
143
ea4c3e65 144 * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8.
ea57f573 145
92b1d23b
RG
1462011-02-10 Richard Guenther <rguenther@suse.de>
147
148 PR tree-optimization/47677
149 * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps.
150
525a2d06
JJ
1512011-02-10 Jakub Jelinek <jakub@redhat.com>
152
153 PR target/47665
154 * combine.c (make_compound_operation): Only change shifts into
155 multiplication for SCALAR_INT_MODE_P.
156
06c969bd
JZ
1572011-02-10 Jie Zhang <jie@codesourcery.com>
158
159 PR testsuite/47622
160 Revert
161 2011-02-05 Jie Zhang <jie@codesourcery.com>
162 PR debug/42631
163 * web.c (entry_register): Don't clobber the number of the
164 first uninitialized reference in used[].
165
282ec48e
RG
1662011-02-09 Richard Guenther <rguenther@suse.de>
167
168 PR tree-optimization/47664
169 * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit
170 all edges again.
171
df98c3e8
DE
1722011-02-09 David Edelsohn <dje.gcc@gmail.com>
173
d0f21cd6
DE
174 PR target/46481
175 PR target/47032
df98c3e8
DE
176 * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to
177 PROCESSOR_POWER7.
178 (PROCESSOR_DEFAULT64): Same.
179 (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete.
180
67b6839f
RO
1812011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
182
183 * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define.
184
4fd73214
MJ
1852011-02-09 Martin Jambor <mjambor@suse.cz>
186
187 PR middle-end/45505
188 * tree-sra.c (struct access): New flags grp_scalar_read and
189 grp_scalar_write. Changed description of assignment read and write
190 flags.
191 (dump_access): Dump new flags, reorder all of them.
192 (sort_and_splice_var_accesses): Set the new flag accordingly, use them
193 to detect multiple scalar reads.
194 (analyze_access_subtree): Use the new scalar read write flags instead
195 of the old flags. Adjusted comments.
196
91140cd3
DD
1972011-02-08 DJ Delorie <dj@redhat.com>
198
199 PR target/47548
200 * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim
201 patterns.
202
4254bbfe
JM
2032011-02-08 Joseph Myers <joseph@codesourcery.com>
204
205 * config/m68k/uclinux.opt: New.
206 * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt.
207
f1fda84e
JM
2082011-02-08 Joseph Myers <joseph@codesourcery.com>
209
210 * config/cris/elf.opt (sim): New Driver option.
211
4933ae74
JM
2122011-02-08 Joseph Myers <joseph@codesourcery.com>
213
214 * config/xtensa/elf.opt: New.
215 * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt.
216
4ad70280
JM
2172011-02-08 Joseph Myers <joseph@codesourcery.com>
218
219 * config/vax/elf.opt: New.
220 * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt.
221
20893707
JM
2222011-02-08 Joseph Myers <joseph@codesourcery.com>
223
224 * config/rs6000/aix64.opt (posix, pthread): New Driver options.
225
b8e7038e
JM
2262011-02-08 Joseph Myers <joseph@codesourcery.com>
227
228 * config/gnu-user.opt: New.
229 * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu |
230 *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu,
231 *-*-uclinux*): Use gnu-user.opt.
232
e1c5225a
TS
2332011-02-08 Thomas Schwinge <thomas@schwinge.name>
234
235 * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option.
236 * config/i386/gnu.h (CPP_SPEC): Likewise.
237
5e46b0c6
ILT
2382011-02-08 Ian Lance Taylor <iant@google.com>
239
240 * common.opt (fcx-limited-range): Add SetByCombined flag.
241 (ffinite-math-only, fmath-errno, frounding-math): Likewise.
242 (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise.
243 (fassociative-math, freciprocal-math): Likewise.
244 (funsafe-math-optimizations): Likewise.
245 * opth-gen.awk: Handle SetByCombined.
246 * optc-gen.awk: Likewise.
ea4c3e65 247 * opts.c (set_fast_math_flags): Don't override flag if set by frontend.
5e46b0c6
ILT
248 (set_unsafe_math_optimizations_flags): Likewise.
249 * doc/options.texi (Option properties): Document SetByCombined.
250
32243d46
JM
2512011-02-08 Joseph Myers <joseph@codesourcery.com>
252
253 * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*,
254 i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe,
255 m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*,
256 m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*,
257 sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete.
258
479c1fb3
SP
2592011-02-08 Sebastian Pop <sebastian.pop@amd.com>
260
261 PR tree-optimization/46834
262 PR tree-optimization/46994
263 PR tree-optimization/46995
264 * graphite-sese-to-poly.c (used_outside_reduction): New.
265 (detect_commutative_reduction): Call used_outside_reduction.
266 (rewrite_commutative_reductions_out_of_ssa_close_phi): Call
267 translate_scalar_reduction_to_array only when at least one
268 loop-phi/close-phi tuple has been detected.
269
3865a06f
RG
2702011-02-08 Richard Guenther <rguenther@suse.de>
271
272 PR middle-end/47639
273 * tree-vect-generic.c (expand_vector_operations_1): Update
274 stmts here ...
275 (expand_vector_operations): ... not here. Cleanup EH info
276 and the CFG if required.
277
62902f3f
RG
2782011-02-08 Richard Guenther <rguenther@suse.de>
279
280 PR tree-optimization/47641
281 * tree-ssa.c (execute_update_addresses_taken): For asm outputs
282 require type compatibility.
283
0efb9d64
AK
2842011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
285
286 * gimple-low.c (lower_function_body): Don't remove the location of
287 the return statement here.
288 (lower_gimple_return): Do it here instead but only if the return
289 statement is actually used twice.
290
034b8ae4
RG
2912011-02-08 Richard Guenther <rguenther@suse.de>
292
293 PR tree-optimization/47632
294 * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove
295 unused up_to_stmt parameter, return whether cfg-cleanup is
296 necessary, remove EH info properly.
297 (forward_propagate_into_gimple_cond): Adjust caller.
298 (forward_propagate_into_cond): Likewise.
299 (forward_propagate_comparison): Likewise.
300 (tree_ssa_forward_propagate_single_use_vars): Make
301 forward_propagate_comparison case similar to the two others.
302
298362c8
NC
3032011-02-08 Nick Clifton <nickc@redhat.com>
304
305 * config/mn10300/mn10300.opt (mliw): New command line option.
306 * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec.
307 (liw_bundling): New automaton.
308 (liw): New attribute.
309 (liw_op): New attribute.
310 (liw_op1, liw_op2, liw_both, liw_either): New reservations.
311 (movsi_internal): Add LIW attributes.
312 (andsi3): Likewise.
313 (iorsi3): Likewise.
314 (xorsi3): Likewise.
315 (addsi3): Separate register and immediate alternatives.
316 Add LIW attributes.
317 (subsi3): Likewise.
318 (cmpsi): Likewise.
319 (aslsi3): Likewise.
320 (lshrsi3): Likewise.
321 (ashrsi3): Likewise.
322 (liw): New pattern.
323 * config/mn10300/mn10300.c (liw_op_names): New
324 (mn10300_print_operand): Handle 'W' operand descriptor.
325 (extract_bundle): New function.
326 (check_liw_constraints): New function.
327 (liw_candidate): New function.
328 (mn10300_bundle_liw): New function.
329 (mn10300_reorg): New function.
330 (TARGET_MACHINE_DEPENDENT_REORG): Define.
331 (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW.
332 * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define
333 __LIW__ or __NO_LIW__.
334 * doc/invoke.texi: Describe the -mliw command line option.
335
90488014
JDA
3362011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
337
338 * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts.
339 * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
340 pthread_mutex_unlock): Remove.
341 * config/pa/t-pa-hpux11: Remove rules to build pthread stubs.
342 * config/pa/t-pa64: Likewise.
343 * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against
344 shared libc if not linking against libpthread.
345 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
346
689ff841
IS
3472011-02-07 Iain Sandoe <iains@gcc.gnu.org>
348
349 PR target/47558
350 * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first
351 on 10.6 and later to ensure that we always use the unwinder from
352 the system. Only add -no_compact_unwind when tarteting darwin
353 10.6 or later.
354
821014aa
SE
3552011-02-07 Steve Ellcey <sje@cup.hp.com>
356
357 PR target/46997
358 * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN.
359 (vec_interleave_lowv2sf): Ditto.
360 (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check.
361 (vec_extract_oddv2sf): Ditto.
362
41cf94fb
MS
3632011-02-07 Mike Stump <mikestump@comcast.net>
364
62dea57d 365 PR target/42333
41cf94fb
MS
366 Add __ieee_divdc3 entry point.
367 * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3
368 entry point.
369 (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins.
370 * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise.
371 * config/darwin.c (darwin_rename_builtins): Add.
372 * config/darwin-protos.h (darwin_rename_builtins): Add.
373
ee09a3dd
MM
3742011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com>
375
376 PR target/47636
377 * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro
378 for the condition.
379
83296cd0
MS
3802011-02-07 Mike Stump <mikestump@comcast.net>
381
ea4c3e65 382 * config/darwin.opt (mmacosx-version-min): Update default OS version.
83296cd0 383
0f4e946f
DC
3842011-02-07 Denis Chertykov <chertykov@gmail.com>
385
386 PR target/47534
387 * config/avr/libgcc.S (exit): Move .endfunc
388
1ec87690
RG
3892011-02-07 Richard Guenther <rguenther@suse.de>
390
391 PR tree-optimization/47615
392 * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument.
393 * tree-ssa-sccvn.c (default_vn_walk_kind): New global.
394 (run_scc_vn): Initialize it.
395 (visit_reference_op_load): Use it.
396 * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE.
397
b46ae6da
UW
3982011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
399
400 * config/spu/spu.c (spu_init_libfuncs): Install SImode and
401 DImode trapping arithmetic libfuncs.
402
c0aae19c
RG
4032011-02-07 Richard Guenther <rguenther@suse.de>
404
405 PR tree-optimization/47621
406 * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from
407 two duplicates ...
408 (execute_update_addresses_taken): ... here. Make it more
409 conservative in what we accept.
410
295d926b
JM
4112011-02-06 Joseph Myers <joseph@codesourcery.com>
412
413 * config/sparc/freebsd.h (ASM_SPEC): Define.
414 * config/sparc/vxworks.h (ASM_SPEC): Define.
415
bdeb2471
JM
4162011-02-06 Joseph Myers <joseph@codesourcery.com>
417
418 * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}.
419
d5d3781a
SB
4202011-02-06 Steven Bosscher <steven@gcc.gnu.org>
421
422 * doc/invoke.texi: Remove reference to compiler internals from
423 user documentation.
424
425 * reg-notes.def: Remove REG_VALUE_PROFILE.
426 * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE.
427
c42c09fc
JJ
4282011-02-05 Jakub Jelinek <jakub@redhat.com>
429
430 PR middle-end/47610
431 * varasm.c (default_section_type_flags): If decl is NULL,
38be4072 432 and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit.
c42c09fc 433
beea2755
JZ
4342011-02-05 Jie Zhang <jie@codesourcery.com>
435
436 PR debug/42631
437 * web.c (entry_register): Don't clobber the number of the
438 first uninitialized reference in used[].
439
a130584a
SP
4402011-02-04 Sebastian Pop <sebastian.pop@amd.com>
441
442 PR tree-optimization/46194
443 * tree-data-ref.c (analyze_miv_subscript): Remove comment.
444 (build_classic_dist_vector_1): Do not represent classic distance
445 vectors when the access functions are variating in different loops.
446
962101ac
JM
4472011-02-04 Joseph Myers <joseph@codesourcery.com>
448
449 * config/mips/iris6.opt: New.
450 * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt.
451
55eaaa5b
RH
4522011-02-04 Richard Henderson <rth@redhat.com>
453 Steve Ellcey <sje@cup.hp.com>
454
455 PR target/46997
456 * config/ia64/predicates.md (mux1_brcst_element): New.
457 * config/ia64/ia64-protos.h (ia64_unpack_assemble): New.
458 * config/ia64/ia64.c (ia64_unpack_assemble): New.
459 (ia64_unpack_sign): New.
460 (ia64_expand_unpack): Rewrite using new routines.
461 (ia64_expand_widen_sum): Ditto.
462 (ia64_expand_dot_prod_v8qi): Ditto.
463 * config/ia64/vect.md (mulv8qi3): Rewrite to use new
464 routines, add endian check.
465 (pmpy2_even): Rename from pmpy2_r, add endian check.
466 (pmpy2_odd): Rename from pmpy2_l, add endian check.
467 (vec_widen_smult_lo_v4hi): Rewrite using new routines.
468 (vec_widen_smult_hi_v4hi): Ditto.
469 (vec_widen_umult_lo_v4hi): Ditto.
470 (vec_widen_umult_hi_v4hi): Ditto.
471 (mulv2si3): Change endian checks.
472 (sdot_prodv4hi): Rewrite with new calls.
473 (udot_prodv4hi): New.
474 (vec_pack_ssat_v4hi): Add endian check.
475 (vec_pack_usat_v4hi): Ditto.
476 (vec_pack_ssat_v2si): Ditto.
477 (max1_even): Rename from max1_r, add endian check.
478 (max1_odd): Rename from max1_l, add endian check.
479 (*mux1_rev): Format change.
480 (*mux1_mix): Ditto.
481 (*mux1_shuf): Ditto.
482 (*mux1_alt): Ditto.
483 (*mux1_brcst_v8qi): Use new predicate.
484 (vec_extract_evenv8qi): Remove endian check.
485 (vec_extract_oddv8qi): Ditto.
486 (vec_interleave_lowv4hi): Format change.
487 (vec_interleave_highv4hi): Ditto.
488 (mix2_even): Rename from mix2_r, add endian check.
489 (mix2_odd): Rename from mux2_l, add endian check.
490 (*mux2): Fix mask setting for TARGET_BIG_ENDIAN.
491 (vec_extract_evenodd_helper): Format change.
492 (vec_extract_evenv4hi): Remove endian check.
493 (vec_extract_oddv4hi): Remove endian check.
494 (vec_interleave_lowv2si): Format change.
495 (vec_interleave_highv2si): Format change.
496 (vec_initv2si): Remove endian check.
497 (vecinit_v2si): Add endian check.
498 (reduc_splus_v2sf): Add endian check.
499 (reduc_smax_v2sf): Ditto.
500 (reduc_smin_v2sf): Ditto.
501 (vec_initv2sf): Remove endian check.
502 (fpack): Add endian check.
503 (fswap): Add endian check.
504 (vec_interleave_highv2sf): Add endian check.
505 (vec_interleave_lowv2sf): Add endian check.
506 (fmix_lr): Add endian check.
507 (vec_setv2sf): Format change.
508 (*vec_extractv2sf_0_be): Use shift to extract operand.
509 (*vec_extractv2sf_1_be): New.
510 (vec_pack_trunc_v4hi): Add endian check.
511 (vec_pack_trunc_v2si): Format change.
512
dcde5957
JJ
5132011-02-04 Jakub Jelinek <jakub@redhat.com>
514
515 PR inline-asm/23200
516 * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't
38be4072 517 do bb, locus and block comparison and disallow loads if it is not set.
dcde5957
JJ
518 (stmt_is_replaceable_p): New function.
519 (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p
520 callers.
521 * expr.c (expand_expr_real_1) <case SSA_NAME>: If
522 get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use
523 SSA_NAME_DEF_STMT.
524 * tree-flow.h (stmt_is_replaceable_p): New prototype.
525
a64a8e5a
JM
5262011-02-04 Joseph Myers <joseph@codesourcery.com>
527
528 * config/rs6000/xilinx.opt: New.
529 * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt.
530
4da2ed2f
JM
5312011-02-04 Joseph Myers <joseph@codesourcery.com>
532
533 * config/mips/mips.opt (EB, EL, noasmopt): New Driver options.
534
a6e508f9
AS
5352011-02-03 Anatoly Sokolov <aesok@post.ru>
536
537 * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS,
538 PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
539 * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class,
540 secondary_reload_info, xtensa_secondary_reload): Remove.
541 * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS,
542 TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define.
543 (xtensa_preferred_reload_class): Make static. Change return and
544 'rclass' argument type to reg_class_t. Remove 'isoutput' argument.
545 Use CONST_DOUBLE_P predicate.
546 (xtensa_preferred_output_reload_class): New function.
547 (xtensa_secondary_reload): Make static.
548
82dc0de3
JM
5492011-02-03 Joseph Myers <joseph@codesourcery.com>
550
551 * config/microblaze/microblaze.opt (Zxl-mode-bootstrap,
552 Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel,
553 Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options.
554
7fece979
JJ
5552011-02-03 Jakub Jelinek <jakub@redhat.com>
556
557 PR middle-end/31490
558 * output.h (SECTION_RELRO): Define.
559 (SECTION_MACH_DEP): Adjust.
560 (get_variable_section): New prototype.
561 * varpool.c (varpool_finalize_named_section_flags): New function.
562 (varpool_assemble_pending_decls): Call it.
563 * cgraph.h (varpool_finalize_named_section_flags): New prototype.
564 * cgraphunit.c (cgraph_output_in_order): Call
565 varpool_finalize_named_section_flags.
566 * varasm.c (get_section): Allow section flags conflicts between
567 relro and read-only sections if the section hasn't been declared yet.
568 Set SECTION_OVERRIDE after diagnosing section type conflict.
569 (get_variable_section): No longer static.
570 (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for
571 readonly sections that need relocations.
572 (decl_readonly_section_1): New function.
573 (decl_readonly_section): Use it.
574
575 Revert:
576 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com>
577 Steve Ellcey <sje@cup.hp.com>
578
579 PR middle-end/31490
580 * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask
581 if section attribute used.
582
d18d5478
JJ
5832011-02-03 Jakub Jelinek <jakub@redhat.com>
584
585 * config/darwin.h (SECTION_NO_ANCHOR): Remove.
586 * config/darwin.c (SECTION_NO_ANCHOR): Define.
587 (darwin_init_sections): Remove assertion.
588
6479ed4b
NC
5892011-02-03 Nick Clifton <nickc@redhat.com>
590
591 * config/rx/predicates.md (rx_zs_comparison_operator): Remove
592 lt and ge.
38be4072 593 * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode.
6479ed4b
NC
594 * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes
595 instead of "n" and "pz".
596 (flags_from_code): LT and GE tests need CC_FLAG_O as well as
597 CC_FLAG_S.
598
89843f5d
JJ
5992011-02-03 Jakub Jelinek <jakub@redhat.com>
600
65450d64
JJ
601 PR target/47312
602 * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand
603 fma, expand FMA_EXPR as fma{,f,l} call.
604
7d58701c
JJ
605 PR lto/47274
606 * lto-streamer-out.c (write_symbol): When writing kind and visibility,
607 copy them into a unsigned char variable and pass address of it to
608 lto_output_data_stream.
609
89843f5d
JJ
610 PR target/47564
611 * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx
612 around backend_init_target and lang_dependent_init_target calls.
613 * cgraphunit.c (cgraph_debug_gimple_stmt): New function.
614 (verify_cgraph_node): Don't call set_cfun here. Use
615 cgraph_debug_gimple_stmt instead of debug_gimple_stmt.
616 Set error_found for incorrectly represented calls to thunks.
617
4deef538
AO
6182011-02-03 Alexandre Oliva <aoliva@redhat.com>
619
620 PR debug/43092
621 PR rtl-optimization/43494
622 * rtl.h (for_each_inc_dec_fn): New type.
623 (for_each_inc_dec): Declare.
624 * rtlanal.c (struct for_each_inc_dec_ops): New type.
625 (for_each_inc_dec_find_inc_dec): New fn.
626 (for_each_inc_dec_find_mem): New fn.
627 (for_each_inc_dec): New fn.
628 * dse.c (struct insn_size): Remove.
629 (replace_inc_dec, replace_inc_dec_mem): Remove.
630 (emit_inc_dec_insn_before): New fn.
631 (check_for_inc_dec): Use it, along with for_each_inc_dec.
632 (canon_address): Pass mem modes to cselib_lookup.
633 * cselib.h (cselib_lookup): Add memmode argument. Adjust callers.
634 (cselib_lookup_from_insn): Likewise.
635 (cselib_subst_to_values): Likewise.
636 * cselib.c (find_slot_memmode): New var.
637 (cselib_find_slot): New fn. Use it instead of
638 htab_find_slot_with_hash everywhere.
639 (entry_and_rtx_equal_p): Use find_slot_memmode.
640 (autoinc_split): New fn.
641 (rtx_equal_for_cselib_p): Rename and implement in terms of...
642 (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on.
643 Deal with autoinc. Special-case recursion into MEMs.
644 (cselib_hash_rtx): Likewise.
645 (cselib_lookup_mem): Infer pmode from address mode. Distinguish
646 address and MEM modes.
647 (cselib_subst_to_values): Add memmode, pass it on.
648 Deal with autoinc.
649 (cselib_lookup): Add memmode argument, pass it on.
650 (cselib_lookup_from_insn): Add memmode.
651 (cselib_invalidate_rtx): Discard obsolete push_operand handling.
652 (struct cselib_record_autoinc_data): New.
653 (cselib_record_autoinc_cb): New fn.
654 (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM
655 mode to cselib_lookup. Reset autoinced REGs here instead of...
656 (cselib_process_insn): ... here.
657 * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode
658 to cselib_lookup.
659 (add_uses): Likewise, also to cselib_subst_to_values.
660 (add_stores): Likewise.
661 * sched-deps.c (add_insn_mem_dependence): Pass mode to
662 cselib_subst_to_values.
663 (sched_analyze_1, sched_analyze_2): Likewise. Adjusted.
664 * gcse.c (do_local_cprop): Adjusted.
665 * postreload.c (reload_cse_simplify_set): Adjusted.
666 (reload_cse_simplify_operands): Adjusted.
667 * sel-sched-dump (debug_mem_addr_value): Pass mode.
668
1551d44a
AO
6692011-02-03 Alexandre Oliva <aoliva@redhat.com>
670
671 PR tree-optimization/45122
672 * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make
673 unsafe assumptions when there's more than one loop exit.
674
c9485473
MM
6752011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com>
676
677 PR target/47272
678 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
679 Document using vector double with the load/store builtins, and
680 that the load/store builtins always use Altivec instructions.
681
682 * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns
683 to use altivec memory instructions, even on VSX.
684 (vector_altivec_store_<mode>): Ditto.
685
686 * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New
687 function.
688
689 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
690 V2DF, V2DI support to load/store overloaded builtins.
691
692 * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add
693 altivec load/store builtins for V2DF/V2DI types.
694
695 * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
696 set avoid indexed addresses on power6 if -maltivec.
697 (altivec_expand_ld_builtin): Add V2DF, V2DI support, use
698 vector_altivec_load/vector_altivec_store builtins.
699 (altivec_expand_st_builtin): Ditto.
700 (altivec_expand_builtin): Add VSX memory builtins.
701 (rs6000_init_builtins): Add V2DI types to internal types.
702 (altivec_init_builtins): Add support for V2DF/V2DI altivec
703 load/store builtins.
704 (rs6000_address_for_altivec): Insure memory address is appropriate
705 for Altivec.
706
707 * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for
708 vec_vsx_ld and vec_vsx_st.
709 (vsx_store_<mode>): Ditto.
710
711 * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type
712 variables to hold long long types for VSX vector memory builtins.
713 (RS6000_BTI_unsigned_long_long): Ditto.
714 (long_long_integer_type_internal_node): Ditti.
715 (long_long_unsigned_type_internal_node): Ditti.
716
717 * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC.
718 (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator.
719 (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator.
720
721 * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin
722 short cuts.
723 (vec_vsx_st): Ditto.
724
b24d1acf
JM
7252011-02-02 Joseph Myers <joseph@codesourcery.com>
726
727 * config/pa/pa-hpux10.opt: New.
728 * config/hpux11.opt (pthread): New Driver option.
729 * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options.
730 * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt.
731
aa18dd0f
JM
7322011-02-02 Joseph Myers <joseph@codesourcery.com>
733
734 * config/ia64/vms.opt: New.
735 * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt.
736
28fc3eee
MM
7372011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com>
738
739 PR target/47580
740 * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use
741 gpc_reg_operand instead of vsx_register_operand to match rs6000.md
742 generator functions.
743 (vsx_floatuns<VSi><mode>2): Ditto.
744 (vsx_fix_trunc<mode><VSi>2): Ditto.
745 (vsx_fixuns_trunc<mode><VSi>2): Ditto.
746
b5838b1f
JM
7472011-02-02 Joseph Myers <joseph@codesourcery.com>
748
749 * config/i386/djgpp.opt (posix): New Driver option.
750
0db8fa89
GP
7512011-02-02 Gerald Pfeifer <gerald@pfeifer.com>
752
753 * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*):
754 Move to the unsupported targets list.
755
9cd4f22a
PB
7562011-02-02 Peter Bergner <bergner@vnet.ibm.com>
757
758 PR rtl-optimization/47525
759 * df-scan.c: Update copyright years.
760 (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE
761 and non-clobber DF_REF_REG_DEF for calls to const and pure functions.
762
9ed8059c
RO
7632011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
764
765 * config/i386/sysv4.h (TARGET_VERSION): Remove.
766 (SUBTARGET_RETURN_IN_MEMORY): Remove.
767 (ASM_OUTPUT_ASCII): Remove.
768 * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef.
769
2a737389
JL
7702011-02-02 Jeff Law <law@redhat.com>
771
772 PR middle-end/47543
773 * reload.c (find_reloads_address): Handle reg+d address where both
774 components are invalid by reloading the entire address.
775
9dac82c4
SP
7762011-02-02 Sebastian Pop <sebastian.pop@amd.com>
777 Richard Guenther <rguenther@suse.de>
778
779 PR tree-optimization/40979
780 PR bootstrap/47044
781 * passes.c (init_optimization_passes): After LIM call copy_prop
782 and DCE to clean up.
783 * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func.
784
14dd9aab
SP
7852011-02-02 Sebastian Pop <sebastian.pop@amd.com>
786
787 PR tree-optimization/47576
788 PR tree-optimization/47555
789 * doc/invoke.texi (scev-max-expr-complexity): Documented.
790 * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
791 (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared.
792 * tree-scalar-evolution.c (follow_ssa_edge): Use
793 PARAM_SCEV_MAX_EXPR_COMPLEXITY.
794
5cbf5c20
RG
7952011-02-02 Richard Guenther <rguenther@suse.de>
796
797 PR tree-optimization/47566
798 * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs.
799
83d70792
AO
8002011-02-02 Alexandre Oliva <aoliva@redhat.com>
801
e829c321
AO
802 PR debug/47106
803 PR debug/47402
804 * tree-inline.c (declare_return_variable): Remove unused caller
805 variable.
806
83d70792
AO
807 PR debug/47106
808 PR debug/47402
809 * tree-flow-inline.h (clear_is_used, is_used_p): New.
810 * cfgexpand.c (account_used_vars_for_block): Use them.
811 * tree-nrv.c (tree_nrv): Likewise.
812 * tree-ssa-live.c (remove_unused_scope_block_p): Likewise.
813 (dump_scope_block): Likewise.
814 (remove_unused_locals): Likewise.
815
aaa2ac93
AO
816 PR debug/47106
817 PR debug/47402
818 * tree-inline.c (declare_return_variable): Add result decl to
819 local decls only once.
820 * gimple-low.c (record_vars_into): Mark newly-created variables
821 as referenced.
822
a59d15cf
AO
8232011-02-02 Alexandre Oliva <aoliva@redhat.com>
824
825 PR debug/47498
826 PR debug/47501
827 PR debug/45136
828 PR debug/45130
829 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
830 debug insns.
831 (no_real_insns_p, schedule_block, set_priorities): Drop special
832 treatment of boundary debug insns.
38be4072 833 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
a59d15cf
AO
834 * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns.
835 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
836 (BOUNDARY_DEBUG_INSN_P): Likewise.
837 (SCHEDULE_DEBUG_INSN_P): Likewise.
838 * sched-rgn.c (init_ready_list): Drop special treatment of
839 boundary debug insns.
840 * final.c (rest_of_clean_state): Clear notes' BB.
841
6fc2f091
JM
8422011-02-01 Joseph Myers <joseph@codesourcery.com>
843
844 * config/openbsd.opt (assert=): New Driver option.
845
fc523387
JM
8462011-02-01 Joseph Myers <joseph@codesourcery.com>
847
848 * config/i386/nto.opt: New.
849 * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt.
850
6d9821e5
JM
8512011-02-01 Joseph Myers <joseph@codesourcery.com>
852
853 * config/i386/netware.opt: New.
854 * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt.
855
cef932d4
JM
8562011-02-01 Joseph Myers <joseph@codesourcery.com>
857
858 * config/interix.opt (posix): New Driver option.
859
22843acd
DD
8602011-02-01 DJ Delorie <dj@redhat.com>
861
56490b74
DD
862 * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition.
863
22843acd
DD
864 * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg
865 class for A0/A1.
866
199c8f2f
SP
8672011-02-01 Sebastian Pop <sebastian.pop@amd.com>
868
869 PR tree-optimization/47561
870 * toplev.c (process_options): Print the Graphite flags. Add
871 flag_loop_flatten to the list of options requiring Graphite.
872
926bcf22
JM
8732011-02-01 Joseph Myers <joseph@codesourcery.com>
874
875 * config/i386/cygming.opt (posix): New Driver option.
876
59793c51
JM
8772011-02-01 Joseph Myers <joseph@codesourcery.com>
878
879 * config/arm/vxworks.opt: New.
880 * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt.
881
183c38a4
JM
8822011-02-01 Joseph Myers <joseph@codesourcery.com>
883
884 * config/alpha/elf.opt: New.
885 * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*,
886 alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt.
887
9939e416
RG
8882011-02-01 Richard Guenther <rguenther@suse.de>
889
890 PR tree-optimization/47559
891 * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform
892 store-motion on references that can throw.
893
4a3c9687
BS
8942011-02-01 Bernd Schmidt <bernds@codesourcery.com>
895
896 * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB.
897 * tree-pass.h (TDF_CSELIB): New macro.
898 * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1,
899 cselib_lookup): Check for it rather than for TDF_DETAILS.
900
dd3b31fb
L
9012011-02-01 H.J. Lu <hongjiu.lu@intel.com>
902
903 PR driver/47547
904 * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output
905 is HOST_BIT_BUCKET.
906
907 * opts.c (finish_options): Don't add x_aux_base_name if it is
908 HOST_BIT_BUCKET.
909
34c1de79
RG
9102011-02-01 Richard Guenther <rguenther@suse.de>
911
912 PR tree-optimization/47555
913 Revert
914 2010-07-15 Sebastian Pop <sebastian.pop@amd.com>
915
916 * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
917
dd2804d2
SB
9182011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org>
919
920 PR gcc/46692
921 * config/lm32/t-lm32: Add multilib for all CPU options.
922
3fd3b156
RG
9232011-02-01 Richard Guenther <rguenther@suse.de>
924
925 PR tree-optimization/47541
926 * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make
927 sure to have a field at offset zero.
928
f16072b6
JM
9292011-01-31 Joseph Myers <joseph@codesourcery.com>
930
931 * config/arc/arc.opt (EB, EL): New Driver options.
932
6456cf2e
JM
9332011-01-31 Joseph Myers <joseph@codesourcery.com>
934
935 * config/alpha/osf5.opt: New.
936 * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt.
937
cdde6ab4
JM
9382011-01-31 Joseph Myers <joseph@codesourcery.com>
939
940 * config/vms/vms.opt (map, mvms-return-codes): New Driver options.
941
7633415c
SP
9422011-01-31 Sebastian Pop <sebastian.pop@amd.com>
943
944 * common.opt (ftree-loop-linear): Use Alias to make it an alias of
945 -floop-interchange.
946 * invoke.texi (-ftree-loop-linear): Make it clear that this flag
947 is an alias of -floop-interchange and that it requires the
948 Graphite infrastructure.
949 * tree-ssa-loop.c (gate_graphite_transforms): Do not set
950 flag_loop_interchange based on the value of flag_tree_loop_linear.
951
0425d6f5
JJ
9522011-01-31 Jakub Jelinek <jakub@redhat.com>
953 Richard Guenther <rguenther@suse.de>
954
955 PR tree-optimization/47538
956 * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use
957 type instead of r1type, except for comparisons. For right
958 shifts and comparisons punt if there are mismatches in
959 sizetype vs. non-sizetype types.
960
500b16c3
RO
9612011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
962
963 * doc/sourcebuild.texi (Effective-Target Keywords): Document
964 avx_runtime.
965
e279edb0
RO
9662011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
967
968 * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld
969 version number.
970 * configure: Regenerate.
971
c6092243
RO
9722011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
973
974 * configure.ac (gcc_cv_ld_static_option): Define.
975 (gcc_cv_ld_dynamic_option): Define.
976 (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive
977 instead.
978 (HAVE_LD_STATIC_DYNAMIC): Update message.
979 (LD_STATIC_OPTION): Define.
980 (LD_DYNAMIC_OPTION): Define.
981 * configure: Regenerate.
982 * config.in: Regenerate.
983 * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS &&
984 HAVE_LD_STATIC_DYNAMIC]: Use them.
985
d7862be3
NC
9862011-01-31 Nick Clifton <nickc@redhat.com>
987
988 * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered
989 registers inside interrupt handlers if the handler is not a leaf
990 function.
991
ba4ec0e0
NC
9922011-01-31 Nick Clifton <nickc@redhat.com>
993
994 * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for
995 reg_renumber returning an INVALID_REGNUM.
996
29a63921
AO
9972011-01-31 Alexandre Oliva <aoliva@redhat.com>
998
999 PR libgcj/44341
1000 * doc/install.texi: Document host options discarded when cross
1001 configuring target libraries.
1002
ef591d3f
AO
10032011-01-31 Alexandre Oliva <aoliva@redhat.com>
1004
1005 Reverted:
1006 2011-01-25 Alexandre Oliva <aoliva@redhat.com>
1007 PR debug/45136
1008 PR debug/45130
1009 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
1010 debug insns.
1011 (no_real_insns_p, schedule_block, set_priorities): Drop special
1012 treatment of boundary debug insns.
38be4072 1013 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
ef591d3f
AO
1014 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
1015 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
1016 (BOUNDARY_DEBUG_INSN_P): Likewise.
1017 (SCHEDULE_DEBUG_INSN_P): Likewise.
1018 * sched-rgn.c (init_ready_list): Drop special treatment of
1019 boundary debug insns.
1020 * final.c (rest_of_clean-state): Clear notes' BB.
1021
61052244
AM
10222011-01-31 Alan Modra <amodra@gmail.com>
1023
1024 * config/rs6000/rs6000.c (print_operand): Rearrange addends in
1025 toc relative expressions as we do in print_operand_address.
1026
c4c8962b
KH
10272011-01-30 Kazu Hirata <kazu@codesourcery.com>
1028
1029 * doc/extend.texi: Follow spelling conventions.
1030 * doc/invoke.texi: Fix a typo.
1031
e543b94c
JM
10322011-01-30 Joseph Myers <joseph@codesourcery.com>
1033
1034 * config/hpux11.opt: New.
1035 * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*,
1036 ia64*-*-hpux*): Use hpux11.opt.
1037
61052244 10382011-01-30 Jonathan Yong <jon_y@users.sourceforge.net>
a70e0551
JY
1039
1040 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules
1041 to tmake_file.
1042
7be03a0e
GP
10432011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1044
1045 * doc/install.texi (hppa-hp-hpux10): Remove references to HP
1046 support sites.
1047
419d1d37
GP
10482011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1049
b596ed64
GP
1050 * doc/install.texi (Binaries): Remove outdated reference for
1051 Motorola 68HC11/68HC12 downloads.
1052
10532011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
61052244 1054
419d1d37
GP
1055 * doc/extend.texi (Thread-Local): Adjust reference to Ulrich
1056 Drepper's paper.
1057
4406d0e9
JW
10582011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
1059
1060 PR bootstrap/47147
1061 * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as
1062 used by NetBSD.
1063
38be4072 10642011-01-28 Ahmad Sharif <asharif@google.com>
e0b77418
AS
1065
1066 * value-prof.c (check_counter): Corrected error message.
1067
0cd98787
JZ
10682011-01-29 Jie Zhang <jie@codesourcery.com>
1069
1070 * config/arm/arm.c (arm_legitimize_reload_address): New.
1071 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1072 arm_legitimize_reload_address.
38be4072 1073 * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare.
0cd98787 1074
9b798ac5
ILT
10752011-01-28 Ian Lance Taylor <iant@google.com>
1076
1077 * godump.c (go_define): Ignore macros whose definitions include
1078 two adjacent operands.
1079
591e29d9
JJ
10802011-01-28 Jakub Jelinek <jakub@redhat.com>
1081
1082 PR target/42894
1083 * varasm.c (force_const_mem): Store copy of x in desc->constant
1084 instead of x itself.
1085 * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
1086 itself into REG_EQUAL note.
1087
62dcc44a
JM
10882011-01-28 Joseph Myers <joseph@codesourcery.com>
1089
1090 * config/freebsd.opt (posix, rdynamic): New Driver options.
1091
c9f58b9a
RO
10922011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1093
1094 * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports
1095 -Bstatic/-Bdynamic.
1096 * configure: Regenerate.
1097
5f02b9db
JM
10982011-01-27 Joseph Myers <joseph@codesourcery.com>
1099
1100 * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile.
1101 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile.
1102
5df97412
AS
11032011-01-27 Anatoly Sokolov <aesok@post.ru>
1104
1105 * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove.
1106 * config/s390/s390-protos.h (s390_preferred_reload_class): Remove.
1107 * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
1108 (s390_preferred_reload_class): Make static. Change return and
1109 'rclass' argument type to reg_class_t.
1110
779d4b91
JH
11112011-01-27 Jan Hubicka <jh@suse.cz>
1112
1113 PR middle-end/46949
1114 * cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
1115 (process_function_and_variable_attributes): Check defined weakrefs.
1116
e80b21ed
MJ
11172011-01-27 Martin Jambor <mjambor@suse.cz>
1118
1119 PR tree-optimization/47228
1120 * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of
1121 build_ref_for_offset.
1122
6dcc4f31
UW
11232011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1124
1125 * config/spu/spu-elf.h (ASM_SPEC): Remove.
1126
3b8ff89f
MP
11272011-01-26 Mikael Pettersson <mikpe@it.uu.se>
1128
1129 PR rtl-optimization/46856
1130 * postreload.c (reload_combine_recognize_const_pattern): Do not
1131 separate cc0 setter and user on cc0 targets.
1132
04af8788
NP
11332011-01-26 Nicola Pero <nicola.pero@meta-innovation.com>
1134
1135 PR c/43082
1136 * c-typeck.c (c_objc_common_truthvalue_conversion): If we are
1137 passed a VOID_TYPE expression, immediately emit an error and
1138 return error_mark_node.
1139
f7a60085
JL
11402011-01-26 Jeff Law <law@redhat.com>
1141
1142 PR rtl-optimization/47464
1143 * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p
1144 rather than may_trap_p as needed.
1145
5c2917ec
DD
11462011-01-26 DJ Delorie <dj@redhat.com>
1147
1148 PR rtl-optimization/46878
1149 * combine.c (insn_a_feeds_b): Check for the implicit cc0
1150 setter/user dependency as well.
1151
bef16e87
EB
11522011-01-26 Eric Botcazou <ebotcazou@adacore.com>
1153
1154 PR rtl-optimization/44469
1155 * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too
1156 after removing trivially dead basic blocks.
1157
c75d884b
JM
11582011-01-26 Joseph Myers <joseph@codesourcery.com>
1159
1160 * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}.
1161 * config/frv/frv.h (LINK_SPEC): Likewise.
1162 * config/i386/netware.h (LINK_SPEC): Likewise.
1163 * config/m68k/linux.h (ASM_SPEC): Likewise.
1164 * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise.
1165 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
1166 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
1167 * config/sparc/linux.h (ASM_SPEC): Likewise.
1168 * config/sparc/linux64.h (ASM_SPEC): Likewise.
1169 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
1170
d3153553
JM
11712011-01-26 Joseph Myers <joseph@codesourcery.com>
1172
1173 * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}.
1174 * config/frv/frv.h (ASM_SPEC): Likewise.
1175 * config/m68k/linux.h (ASM_SPEC): Likewise.
1176 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
1177 * config/rs6000/linux64.h (ASM_SPEC): Likewise.
1178 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
1179 * config/sparc/linux.h (ASM_SPEC): Likewise.
1180 * config/sparc/linux64.h (ASM_SPEC): Likewise.
1181 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
1182
b89b1e9d
JM
11832011-01-26 Joseph Myers <joseph@codesourcery.com>
1184
1185 * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}.
1186 * config/frv/frv.h (LINK_SPEC): Likewise.
1187 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
1188
12eb1a9c
JM
11892011-01-26 Joseph Myers <joseph@codesourcery.com>
1190
1191 * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}.
1192 * config/frv/frv.h (ASM_SPEC): Likewise.
1193 * config/i386/sol2-10.h (ASM_SPEC): Likewise.
1194 * config/m68k/linux.h (ASM_SPEC): Likewise.
1195 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
1196 * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
1197 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
1198 * config/sol2.h (ASM_SPEC): Remove comment about -Yd,.
1199 * config/sparc/linux.h (ASM_SPEC): Likewise.
1200 * config/sparc/linux64.h (ASM_SPEC): Likewise.
1201 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
1202 * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}.
1203
e435f098
SE
12042011-01-26 Steve Ellcey <sje@cup.hp.com>
1205
1206 PR target/46997
1207 * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN.
1208 (*mux2): Ditto.
1209 (vec_extract_evenodd_help): Ditto.
1210 (vec_extract_evenv4hi): Ditto.
1211 (vec_extract_oddv4hi): Ditto.
1212 (vec_interleave_lowv2si): Ditto.
1213 (vec_interleave_highv2si): Ditto.
1214 (vec_extract_evenv2si): Ditto.
1215 (vec_extract_oddv2si: Ditto.
1216 (vec_pack_trunc_v2si): Ditto.
1217
34f0eee0
JH
12182011-01-22 Jan Hubicka <jh@suse.cz>
1219
1220 PR target/47237
1221 * cgraph.h (cgraph_local_info): New field can_change_signature.
1222 * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
1223 signature can change.
1224 (ipcp_estimate_growth): Call sequence simplify only if calle signature
1225 can change.
1226 (ipcp_insert_stage): Only compute args_to_skip if signature can change.
1227 (cgraph_function_versioning): We can not change signature of functions
1228 that don't allow that.
1229 * lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
1230 (lto_input_node): Likewise.
38be4072
UB
1231 * ipa-inline.c (compute_inline_parameters): Compute
1232 local.can_change_signature.
34f0eee0 1233 * ipa-split.c (visit_bb): Never split away APPLY_ARGS.
38be4072
UB
1234 * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on
1235 functions that can not change signature.
34f0eee0 1236 * i386.c (ix86_function_regparm, ix86_function_sseregparm,
38be4072
UB
1237 init_cumulative_args): Do not use local calling conventions
1238 for functions that can not change signature.
34f0eee0 1239
980ca891
JH
12402011-01-22 Jan Hubicka <jh@suse.cz>
1241
1242 * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk.
1243
768e3c60
RG
12442011-01-26 Richard Guenther <rguenther@suse.de>
1245
1246 PR tree-optimization/47190
61052244
AM
1247 * cgraphunit.c (process_common_attributes): New function.
1248 (process_function_and_variable_attributes): Use it.
768e3c60 1249
21d6a1c7
RG
12502011-01-26 Richard Guenther <rguenther@suse.de>
1251
1252 PR lto/47423
1253 * cgraphbuild.c (record_eh_tables): Record reference to personality
1254 function.
1255
48bb58b1
AO
12562011-01-26 Alexandre Oliva <aoliva@redhat.com>
1257
1258 PR debug/45454
1259 * sel-sched.c (moveup_expr): Don't let debug insns prevent
1260 non-debug insns from moving up.
1261
58c741a6
DK
12622011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
1263
1264 PR target/40125
1265 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
1266 t-dlldir{,-x} fragment for build and add it to tmake_file.
1267 (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
1268 * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
1269 * config/i386/t-dlldir: New file.
1270 (SHLIB_DLLDIR): Define.
1271 * config/i386/t-dlldir-x: New file.
1272 (SHLIB_DLLDIR): Define.
1273 * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
1274 (SHLIB_INSTALL): Use it.
1275
bff99262
CLT
12762011-01-26 Chung-Lin Tang <cltang@codesourcery.com>
1277
1278 PR target/47246
1279 * config/arm/arm.c (thumb2_legitimate_index_p): Change the
1280 lower bound of the allowed Thumb-2 coprocessor load/store
1281 index range to -256. Add explaining comment.
1282
82c03907
ILT
12832011-01-25 Ian Lance Taylor <iant@google.com>
1284
1285 * godump.c (go_define): Improve lexing of macro expansion to only
1286 accept expressions which match Go spec.
1287
47ea1edf
DK
12882011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
1289
d4dba752 1290 PR c++/43601
47ea1edf
DK
1291 * tree.c (handle_dll_attribute): Handle it.
1292 * doc/extend.texi (@item dllexport): Mention it.
1293 * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it.
1294
744f0946
ILT
12952011-01-25 Ian Lance Taylor <iant@google.com>
1296
1297 PR tree-optimization/26854
1298 * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
1299 (decl_jump_unsafe): Move higher in file, with no other change.
1300 (bind): Set has_jump_unsafe_decl if appropriate.
1301 (update_label_decls): Test has_jump_unsafe_decl to avoid loop.
1302 (check_earlier_gotos): Likewise.
1303 (c_check_switch_jump_warnings): Likewise.
1304
5734f2b3
JW
13052011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com>
1306
1307 * doc/invoke.texi (Warning Options): Add missing hyphen.
1308 (-fprofile-dir): Minor grammatical fixes.
1309 (-fbranch-probabilities): Likewise.
1310
9bdbdcef
AO
13112011-01-25 Alexandre Oliva <aoliva@redhat.com>
1312
1313 PR debug/45136
1314 PR debug/45130
1315 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
1316 debug insns.
1317 (no_real_insns_p, schedule_block, set_priorities): Drop special
1318 treatment of boundary debug insns.
38be4072 1319 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
9bdbdcef
AO
1320 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
1321 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
1322 (BOUNDARY_DEBUG_INSN_P): Likewise.
1323 (SCHEDULE_DEBUG_INSN_P): Likewise.
1324 * sched-rgn.c (init_ready_list): Drop special treatment of
1325 boundary debug insns.
1326 * final.c (rest_of_clean-state): Clear notes' BB.
1327
b305e3da
SP
13282011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1329
1330 * Makefile.in (LAMBDA_H): Removed.
1331 (TREE_DATA_REF_H): Remove dependence on LAMBDA_H.
1332 (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o,
1333 lambda-trans.o, and tree-loop-linear.o.
1334 (lto-symtab.o): Remove dependence on LAMBDA_H.
1335 (tree-loop-linear.o): Remove rule.
1336 (lambda-mat.o): Same.
1337 (lambda-trans.o): Same.
1338 (lambda-code.o): Same.
1339 (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H.
1340 (tree-vect-slp.o): Same.
1341 * hwint.h (gcd): Moved here.
1342 (least_common_multiple): Same.
1343 * lambda-code.c: Removed.
1344 * lambda-mat.c: Removed.
1345 * lambda-trans.c: Removed.
1346 * lambda.h: Removed.
1347 * tree-loop-linear.c: Removed.
1348 * lto-symtab.c: Do not include lambda.h.
1349 * omega.c (gcd): Removed.
1350 * passes.c (init_optimization_passes): Remove pass_linear_transform.
1351 * tree-data-ref.c (print_lambda_vector): Moved here.
1352 (lambda_vector_copy): Same.
1353 (lambda_matrix_copy): Same.
1354 (lambda_matrix_id): Same.
1355 (lambda_vector_first_nz): Same.
1356 (lambda_matrix_row_add): Same.
1357 (lambda_matrix_row_exchange): Same.
1358 (lambda_vector_mult_const): Same.
1359 (lambda_vector_negate): Same.
1360 (lambda_matrix_row_negate): Same.
1361 (lambda_vector_equal): Same.
1362 (lambda_matrix_right_hermite): Same.
1363 * tree-data-ref.h: Do not include lambda.h.
1364 (lambda_vector): Moved here.
1365 (lambda_matrix): Same.
1366 (dependence_level): Same.
1367 (lambda_transform_legal_p): Removed declaration.
1368 (lambda_collect_parameters): Same.
1369 (lambda_compute_access_matrices): Same.
1370 (lambda_vector_gcd): Same.
1371 (lambda_vector_new): Same.
1372 (lambda_vector_clear): Same.
1373 (lambda_vector_lexico_pos): Same.
1374 (lambda_vector_zerop): Same.
1375 (lambda_matrix_new): Same.
1376 * tree-flow.h (least_common_multiple): Removed declaration.
1377 * tree-parloops.c (lambda_trans_matrix): Moved here.
1378 (LTM_MATRIX): Same.
1379 (LTM_ROWSIZE): Same.
1380 (LTM_COLSIZE): Same.
1381 (LTM_DENOMINATOR): Same.
1382 (lambda_trans_matrix_new): Same.
1383 (lambda_matrix_vector_mult): Same.
1384 (lambda_transform_legal_p): Same.
1385 * tree-pass.h (pass_linear_transform): Removed declaration.
1386 * tree-ssa-loop.c (tree_linear_transform): Removed.
1387 (gate_tree_linear_transform): Removed.
1388 (pass_linear_transform): Removed.
1389 (gate_graphite_transforms): Make flag_tree_loop_linear an alias of
1390 flag_loop_interchange.
1391
6bdfdb96
JJ
13922011-01-25 Jakub Jelinek <jakub@redhat.com>
1393
1394 PR tree-optimization/47265
1395 PR tree-optimization/47443
1396 * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
1397 if name still has some uses.
1398
e4cba915
MJ
13992011-01-25 Martin Jambor <mjambor@suse.cz>
1400
1401 PR tree-optimization/47382
1402 * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
1403 (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.
1404
f822b8ea
JS
14052011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com>
1406
1407 * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to
1408 sjlj_except_unwind_info.
1409
194313e2
RG
14102011-01-25 Richard Guenther <rguenther@suse.de>
1411
1412 PR tree-optimization/47426
1413 * tree-ssa-structalias.c (ipa_pta_execute): Make externally
1414 visible functions results escape.
1415
147a0bcf
JJ
14162011-01-25 Jakub Jelinek <jakub@redhat.com>
1417
1418 PR target/45701
1419 * config/arm/arm.c (any_sibcall_uses_r3): New function.
1420 (arm_get_frame_offsets): Use it.
1421
db963b52
SP
14222011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1423 Jakub Jelinek <jakub@redhat.com>
1424
1425 PR tree-optimization/47271
1426 * tree-if-conv.c (bb_postdominates_preds): New.
1427 (if_convertible_bb_p): Call bb_postdominates_preds.
1428 (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS.
1429 (predicate_scalar_phi): Call bb_postdominates_preds.
1430
bcddd3b9
NC
14312011-01-25 Nick Clifton <nickc@redhat.com>
1432
1433 * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types.
1434 * config/rx/rx.c (rx_function_value): Likewise.
1435 (rx_promote_function_mode): Likewise.
1436 (gen_safe_add): Place an outsized immediate value inside an UNSPEC
1437 in order to make it legitimate.
38be4072
UB
1438 * config/rx/rx.md (adddi3_internal): If the second operand is a MEM
1439 make sure that the first operand is the same as the result register.
bcddd3b9
NC
1440 (addsi3_unspec): Delete.
1441 (subdi3): Do not accept immediate operands.
1442 (subdi3_internal): Likewise.
1443
7e6cb022
JL
14442011-01-25 Jeff Law <law@redhat.com>
1445
1446 PR rtl-optimization/37273
1447 * ira-costs.c (scan_one_insn): Detect constants living in memory and
1448 handle them like argument loads from stack slots. Do not double
1449 count memory for memory constants and argument loads from stack slots.
1450
9ffa621e
JJ
14512011-01-25 Jakub Jelinek <jakub@redhat.com>
1452
1453 PR tree-optimization/47427
1454 PR tree-optimization/47428
1455 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
1456 coalesce if the new root var would be TREE_READONLY.
1457
5bd6e652
RG
14582011-01-25 Richard Guenther <rguenther@suse.de>
1459
1460 PR middle-end/47414
1461 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the
1462 correct type for TBAA.
1463
7c48ea69
SP
14642011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1465
1466 * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New.
1467 (close_phi_written_to_memory): Call for_each_index with
1468 dr_indices_valid_in_loop.
1469
38013f25
SP
14702011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1471
1472 * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN
1473 when it is initialized.
1474
5c640e29
SP
14752011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1476
1477 * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update
1478 call to graphite_find_data_references_in_stmt.
1479 * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New.
1480 (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update
1481 call to graphite_find_data_references_in_stmt.
1482 (analyze_drs_in_stmts): Same.
1483 * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop
1484 in which the scalar analysis of indices is performed.
1485 (create_data_ref): Same. Update call to dr_analyze_indices.
1486 (find_data_references_in_stmt): Update call to create_data_ref.
1487 (graphite_find_data_references_in_stmt): Same.
1488 * tree-data-ref.h (graphite_find_data_references_in_stmt): Update
1489 declaration.
1490 (create_data_ref): Same.
1491 * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update
1492 call to create_data_ref.
1493
ac53c069
SP
14942011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1495
1496 * graphite-sese-to-poly.c (build_poly_scop): Move
38be4072 1497 rewrite_commutative_reductions_out_of_ssa before find_scop_parameters.
ac53c069 1498
3d17df15
SP
14992011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1500
1501 * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow
1502 VAR_DECL, PARM_DECL, and RESULT_DECL.
1503
c513da01
SP
15042011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1505
1506 * graphite-dependences.c (reduction_dr_1): Allow several reductions
1507 in a reduction PBB.
1508 * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs
1509 that have already been marked as PBB_IS_REDUCTION.
1510
3a292d59
SP
15112011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1512
1513 * graphite-scop-detection.c (same_close_phi_node): New.
1514 (remove_duplicate_close_phi): New.
1515 (make_close_phi_nodes_unique): New.
1516 (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique.
1517
ba858447
SP
15182011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1519
1520 * graphite-dependences.c (new_poly_ddr): Call same_pdr_p.
1521 * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE
1522 of both data references to be the same.
1523
8d865c56
SP
15242011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1525
38be4072
UB
1526 * graphite-dependences.c (build_lexicographical_constraint): Remove
1527 the gdim parameter.
1528 (build_lexicographical_constraint): Adjust call to
1529 ppl_powerset_is_empty.
8d865c56
SP
1530 (dependence_polyhedron): Same.
1531 (graphite_legal_transform_dr): Same.
1532 (graphite_carried_dependence_level_k): Same.
38be4072
UB
1533 * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params
1534 parameter.
8d865c56
SP
1535 * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration.
1536
50034a36
SP
15372011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1538
1539 * graphite-sese-to-poly.c
1540 (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr.
1541 (close_phi_written_to_memory): New.
1542 (translate_scalar_reduction_to_array): Call close_phi_written_to_memory
1543 and unshare_expr.
1544
0deada9e
SP
15452011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1546
1547 * doc/install.texi: Update the expected version number of PPL to 0.11.
1548 * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under
1549 #if PPL_VERSION_MINOR < 11.
1550
d7d3d6af
SP
15512011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1552
1553 * graphite-dependences.c: Include graphite-cloog-util.h.
1554 (new_poly_ddr): Inlined into dependence_polyhedron.
1555 (free_poly_ddr): Moved close by new_poly_ddr.
1556 (dependence_polyhedron_1): Renamed dependence_polyhedron.
1557 Early return NULL when ppl_powerset_is_empty returns true.
1558 (dependence_polyhedron): Renamed new_poly_ddr. Call only once
1559 poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty.
1560 (graphite_legal_transform_dr): Call new_poly_ddr.
1561 (graphite_carried_dependence_level_k): Same.
1562 (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr.
1563 (dot_transformed_deps_stmt_1): Removed.
1564 (dot_deps_stmt_1): Call dot_deps_stmt_2.
1565 (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr.
1566 (dot_deps_1): Call dot_deps_2.
1567 * Makefile.in (graphite-dependences.o): Add missing dependence on
1568 graphite-cloog-util.h.
1569
28c5db57
SP
15702011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1571
1572 * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty.
1573 (build_lexicographical_constraint): Same.
1574 (dependence_polyhedron_1): Same.
1575 (graphite_legal_transform_dr): Same.
1576 (graphite_carried_dependence_level_k): Same.
1577 * graphite-ppl.c (ppl_powerset_is_empty): New.
1578 * graphite-ppl.h (ppl_powerset_is_empty): Declared.
1579 * tree-data-ref.c (dump_data_reference): Print the basic block index.
1580
5168d98f
SP
15812011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1582
1583 * graphite-dependences.c (build_pairwise_scheduling): Correctly compute
1584 the "a followed by b" relation and document it.
1585
4a40293a
SP
15862011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1587
1588 * graphite-dependences.c (build_lexicographical_constraint): Stop the
1589 iteration when the bag of constraints is empty.
1590
271fb6fa
SP
15912011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1592
1593 * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work.
1594
92d23680
SP
15952011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1596
1597 * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop
1598 nest and two loop depths as parameters.
1599 (lst_try_interchange_loops): Call lst_interchange_profitable_p after
1600 lst_perfect_nestify.
1601
2f51deff
SP
16022011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1603
1604 * graphite-dependences.c (print_pddr): Call
1605 ppl_io_fprint_Pointset_Powerset_C_Polyhedron.
1606
07f3593c
SP
16072011-01-25 Sebastian Pop <sebastian.pop@amd.com>
1608
1609 * graphite-ppl.c (debug_gmp_value): New.
1610 * graphite-ppl.h (debug_gmp_value): Declared.
1611
3fae6099
TG
16122011-01-25 Tobias Grosser <grosser@fim.uni-passau.de>
1613
1614 * doc/install.texi: Document availability of cloog-0.16.
1615
1c3ba85b
SP
16162011-01-25 Vladimir Kargov <kargov@gmail.com>
1617
1618 * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free
1619 invalid postdominance info.
1620
e8ba94fc
JH
16212011-01-24 Jan Hubicka <jh@suse.cz>
1622
1623 PR c/21659
1624 * doc/extend.texi (weak pragma): Drop claim that it must
1625 appear before definition.
1626 * varasm.c (merge_weak, declare_weak): Only sanity check
1627 that DECL is not output at a time it is declared weak.
1628
2b6e2d13
KZ
16292011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com>
1630
1631 * machmode.def: Fixed comments.
1c3ba85b 1632
9841210f
KT
16332011-01-24 Kai Tietz <kai.tietz@onevision.com>
1634
1635 * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
1636
16372011-01-24 Paul Koning <ni1d@arrl.net>
e046112d
PK
1638
1639 * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
1c3ba85b 1640 WORDS_BIG_ENDIAN.
e046112d 1641
a6c5070a
L
16422011-01-24 H.J. Lu <hongjiu.lu@intel.com>
1643
1644 PR target/46519
1645 * config/i386/i386.c: Include sbitmap.h and fibheap.h.
1646 (block_info): Add scanned and prev.
1647 (move_or_delete_vzeroupper_2): Return if the basic block
1648 has been scanned and the upper 128bit state is unchanged
1649 from the last scan.
1650 (move_or_delete_vzeroupper_1): Return true if the exit
1651 state is changed.
1652 (move_or_delete_vzeroupper): Visit basic blocks using the
1653 work-list based algorithm based on vt_find_locations in
1654 var-tracking.c.
1655
1656 * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H).
1657
a40d79d7
NC
16582011-01-24 Nick Clifton <nickc@redhat.com>
1659
1660 * config/v850/v850.opt (mv850es): New option - alias for -mv850e1.
1661 * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass
1662 -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified
1663 then define __v850e1__.
1664 * doc/invoke.texi: Document -mv850es.
1665
440eb8de
RH
16662011-01-24 Richard Henderson <rth@redhat.com>
1667
1668 * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept
1669 compound unordered comparisons.
1670 * config/rx/rx.c (rx_split_fp_compare): Remove.
1671 * config/rx/rx-protos.h: Update.
1672 * config/rx/rx.md (gcc_conds, rx_conds): Remove.
1673 (cbranchsf4): Don't call rx_split_fp_compare.
1674 (*cbranchsf4): Use rx_split_cbranch.
1675 (*cmpsf): Don't accept "i" constraint.
1676 (*conditional_branch): Only valid after reload.
1677 (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare.
1678
3ff79f99
MM
16792011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com>
1680
1681 PR target/47385
1682 * config/rs6000/altivec.md (vector constant splitters): Add
1683 support for creating vector single precision constants if -mvsx is
1684 used and we would create the constant using Altivec primitives.
1685
ff3d9d08
BS
16862011-01-23 Bernd Schmidt <bernds@codesourcery.com>
1687 Richard Sandiford <rdsandiford@googlemail.com>
1688
1689 PR rtl-optimization/47166
1690 * reload1.c (emit_reload_insns): Disable the spill_reg_store
1691 mechanism for PRE_MODIFY and POST_MODIFY.
1692 (inc_for_reload): For PRE_MODIFY, return the insn that sets the
1693 reloadreg.
1694
7fcaf152
AS
16952011-01-23 Andreas Schwab <schwab@linux-m68k.org>
1696
8788adb6 1697 * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.
7fcaf152 1698
d09b58c4
JH
16992011-01-22 Jan Hubicka <jh@suse.cz>
1700
1701 PR lto/47333
1702 * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
1703
e8ff8c5a
JH
17042011-01-22 Jan Hubicka <jh@suse.cz>
1705
1706 PR tree-optimization/43884
1707 PR lto/44334
8788adb6 1708 * predict.c (maybe_hot_frequency_p): Use entry block frequency as base.
e8ff8c5a
JH
1709 * doc/invoke.texi (hot-bb-frequency-fraction): Update docs.
1710
ccaed3ba
AS
17112011-01-22 Anatoly Sokolov <aesok@post.ru>
1712
1713 * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
1714 * config/s390/s390.c (s390_register_move_cost,
1715 s390_memory_move_cost): New.
1716 (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
1717
0cecee06
UW
17182011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1719
1720 PR middle-end/47401
1721 * except.c (sjlj_assign_call_site_values): Move setting the
1722 crtl->uses_eh_lsda flag to ...
1723 (sjlj_mark_call_sites): ... here.
1724 (sjlj_emit_function_enter): Support NULL dispatch label.
1725 (sjlj_build_landing_pads): In a function with no landing pads
1726 that still has must-not-throw regions, generate code to register
1727 a personality function with empty LSDA.
1728
e692f276
RH
17292011-01-21 Richard Henderson <rth@redhat.com>
1730
1b7ae0b7
RH
1731 * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
1732
3843787f
RH
1733 * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
1734
e692f276
RH
1735 * compare-elim.c: New file.
1736 * Makefile.in (OBJS-common): Add it.
1737 (compare-elim.o): New.
1738 * common.opt (fcompare-elim): New.
1739 * opts.c (default_options_table): Add OPT_fcompare_elim.
1740 * tree-pass.h (pass_compare_elim_after_reload): New.
1741 * passes.c (init_optimization_passes): Add it.
1742 * recog.h: Protect against re-inclusion.
1743 * target.def (TARGET_FLAGS_REGNUM): New POD hook.
1744 * doc/invoke.texi (-fcompare-elim): Document it.
1745 * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it.
1746 * doc/tm.texi: Rebuild.
1747
9a7c2050
NC
17482011-01-22 Nick Clifton <nickc@redhat.com>
1749
1750 * config/rx/rx.md (cstoresf4): Pass comparison operator to
1751 rx_split_fp_compare.
1752
15ba5696
NC
17532011-01-22 Nick Clifton <nickc@redhat.com>
1754
1755 * config/rx/rx.md (UNSPEC_CONST): New.
1756 (deallocate_and_return): Wrap the amount popped off the stack in
1757 an UNSPEC_CONST in order to stop it being rejected by
1758 -mmax-constant-size.
1759 (pop_and_return): Add a "(return)" rtx.
1760 (call): Drop the immediate operand.
1761 (call_internal): Likewise.
1762 (call_value): Likewise.
1763 (call_value_internal): Likewise.
1764 (sibcall_internal): Likewise.
1765 (sibcall_value_internal): Likewise.
1766 (sibcall): Likewise. Generate an explicit call using
1767 sibcall_internal.
1768 (sibcall_value): Likewise.
1769 (mov<>): FAIL if a constant operand is not legitimate.
1770 (addsi3_unpsec): New pattern.
9a7c2050 1771
38be4072 1772 * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs.
15ba5696
NC
1773 (ok_for_max_constant): New function.
1774 (gen_safe_add): New function.
1775 (rx_expand_prologue): Use gen_safe_add.
1776 (rx_expand_epilogue): Likewise.
1777 (rx_is_legitimate_constant): Use ok_for_max_constant. Handle
1778 UNSPEC CONSTs.
1779
caaf13d3
JL
17802011-01-21 Jeff Law <law@redhat.com>
1781
1782 PR tree-optimization/47053
1783 * tree-ssa-dse.c (need_eh_cleanup): New bitmap.
1784 (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when
1785 statements are deleted.
1786 (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP
1787 is nonempty, then purge dead edges and cleanup the CFG.
1788
12c30f2f
AO
17892011-01-21 Alexandre Oliva <aoliva@redhat.com>
1790
1791 PR debug/47402
1792 Temporarily revert:
1793 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
1794 PR debug/47106
1795 * tree-dfa.c (create_var_ann): Mark variable as used.
1796
7360d2ac
JJ
17972011-01-21 Jakub Jelinek <jakub@redhat.com>
1798
aaa52a96
JJ
1799 PR middle-end/45566
1800 * except.c (convert_to_eh_region_ranges): Emit queued no-region
1801 notes from other section in hot/cold partitioning even if
1802 last_action is -3. Increment call_site_base.
1803
7360d2ac
JJ
1804 PR rtl-optimization/47366
1805 * fwprop.c (forward_propagate_into): Return bool. If
1806 any changes are made, -fnon-call-exceptions is used and
1807 REG_EH_REGION note is present, call purge_dead_edges
1808 and return true if it purged anything.
1809 (fwprop_addr): Adjust callers, call cleanup_cfg (0) if
1810 any EH edges were purged.
1811
e90b336f
JL
18122011-01-21 Jeff Law <law@redhat.com>
1813
1814 PR rtl-optimization/41619
1815 * caller-save.c (setup_save_areas): Break out code to determine
1816 which hard regs are live across calls by examining the reload chains
1817 so that it is always used.
1818 Eliminate code which checked REG_N_CALLS_CROSSED.
1819
3ffe07e1
JJ
18202011-01-21 Jakub Jelinek <jakub@redhat.com>
1821
1822 PR tree-optimization/47355
1823 * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if
1824 NOP has non-debug uses beyond PHIs in new_bb.
1825
1c7d0b34
AO
18262011-01-21 Alexandre Oliva <aoliva@redhat.com>
1827
1828 PR debug/47106
1829 * cfgexpand.c (account_used_vars_for_block): Only account vars
1830 that are annotated as used.
1831 (estimated_stack_frame_size): Don't set TREE_USED.
1832 * tree-dfa.c (create_var_ann): Mark variable as used.
1833
f99cc488
RG
18342011-01-21 Richard Guenther <rguenther@suse.de>
1835
1836 PR middle-end/47395
1837 * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name.
1838
3bc27de7
RG
18392011-01-21 Richard Guenther <rguenther@suse.de>
1840
1841 PR tree-optimization/47365
1842 * tree-ssa-sccvn.h (vn_lookup_kind): Declare.
1843 (vn_reference_lookup_pieces): Adjust.
1844 (vn_reference_lookup): Likewise.
1845 * tree-ssa-sccvn.c (vn_walk_kind): New static global.
1846 (vn_reference_lookup_3): Only look through kills if in
1847 VN_WALKREWRITE mode.
1848 (vn_reference_lookup_pieces): Adjust.
1849 (vn_reference_lookup): Likewise.
1850 (visit_reference_op_load): Likewise.
1851 (visit_reference_op_store): Likewise.
1852 * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode.
1853 (compute_avail): Likewise.
1854 (eliminate): Likewise.
1855
d8debb1d
JJ
18562011-01-21 Jakub Jelinek <jakub@redhat.com>
1857
1858 * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove
1859 DECL_IGNORED_P non-reg vars if they are used.
1860
3a2df831
JJ
1861 PR tree-optimization/47391
1862 * varpool.c (const_value_known_p): Return false if
1863 decl is volatile.
1864
1dd584a2
KT
18652011-01-21 Kai Tietz <kai.tietz@onevision.com>
1866
1867 PR bootstrap/47215
1868 * config/i386/i386.c (ix86_local_alignment): Handle
1869 case for va_list_type_node is nil.
1870 (ix86_canonical_va_list_type): Likewise.
1871
7f9f095e
AM
18722011-01-21 Alan Modra <amodra@gmail.com>
1873
1874 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add
1875 builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__.
1876
837b01f6
RR
18772011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1878
1879 * config/arm/arm.md (define_attr type): Rename f_load
1880 and f_store to f_fpa_load and f_fpa_store. Update.
1881 (write_conflict): Deal with rename fallout.
1882 (*push_fp_multi): Likewise.
1883 * config/arm/fpa.md (f_load): Use f_fpa_load.
1884 (f_store): Use f_fpa_store.
1885 (*movsf_fpa): Likewise.
1886 (*movdf_fpa): Likewise.
1887 (*movxf_fpa): Likewise.
1888 (*thumb2_movsf_fpa): Likewise.
1889 (*thumb2_movdf_fpa): Likewise.
1890 (*thumb2_movxf_fpa): Likewise.
1891 * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to
1892 f_loadd and f_stored.
1893 (*thumb2_movdi_vfp): Likewise.
1894 (*thumb2_movsf_vfp): Fix attribute to f_loads.
1895 (*thumb2_movsi_vfp): Likewise.
1896 * config/arm/cortex-m4-fpu.md (cortex_m4_f_load):
1897 Use f_loads instead of f_load.
1898 * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load.
1899
a1a79768
AS
19002011-01-20 Anatoly Sokolov <aesok@post.ru>
1901
1902 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
1903 * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove.
1904 * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
1905 (xtensa_mode_dependent_address_p): New function.
1906 (constantpool_address_p): Make static. Change return type to bool.
1907 Change argument type to const_rtx. Use CONST_INT_P predicate.
1908
427f6cec
AO
19092011-01-20 Alexandre Oliva <aoliva@redhat.com>
1910
1911 PR debug/46583
1912 * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls.
1913
583ac69c
JJ
19142011-01-20 Jakub Jelinek <jakub@redhat.com>
1915
1916 PR debug/47283
1917 * cfgexpand.c (expand_debug_expr): Instead of generating
1918 (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF
1919 etc. handling.
1920
93e452ed
RG
19212011-01-20 Richard Guenther <rguenther@suse.de>
1922
1923 PR middle-end/47370
1924 * tree-inline.c (remap_gimple_op_r): Recurse manually for
1925 the pointer operand of MEM_REFs.
1926
28fc44f3
JJ
19272011-01-20 Jakub Jelinek <jakub@redhat.com>
1928
1929 PR tree-optimization/46130
1930 * ipa-split.c (consider_split): If return_bb contains non-virtual
1931 PHIs other than for retval or if split_function would not adjust it,
1932 refuse to split.
1933
ddd268f2
RG
19342011-01-20 Richard Guenther <rguenther@suse.de>
1935
1936 PR tree-optimization/47167
1937 * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
1938 Revert previous change, only avoid enumeral type changes.
1939
882020aa
MS
19402011-01-19 Mike Stump <mikestump@comcast.net>
1941
1942 * doc/tm.texi.in (BRANCH_COST): Englishify.
1943 * doc/tm.texi (BRANCH_COST): Likewise.
1944
7edb6247
DS
19452011-01-19 Dodji Seketeli <dodji@redhat.com>
1946
1947 PR c++/47291
1948 * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
61052244
AM
1949 (gen_scheduled_generic_parms_dies): New functions.
1950 (gen_struct_or_union_type_die): Schedule template parameters DIEs
1951 generation for the end of CU compilation.
1952 (dwarf2out_finish): Generate template parameters DIEs here.
7edb6247 1953
23d5ed5d
AO
19542011-01-19 Alexandre Oliva <aoliva@redhat.com>
1955
1956 PR debug/46240
1957 * tree-into-ssa.c (maybe_register_def): Do not attempt to add
1958 debug bind stmt on merge edges.
1959
37d6a488
AO
19602011-01-19 Alexandre Oliva <aoliva@redhat.com>
1961
1962 PR debug/47079
1963 PR debug/46724
1964 * function.c (instantiate_expr): Instantiate incoming rtl of
1965 implicit arguments, and recurse on VALUE_EXPRs.
1966 (instantiate_decls): Instantiate rtl and VALUE_EXPR of result.
1967 * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx.
1968
689f2c82
AO
19692011-01-19 Alexandre Oliva <aoliva@redhat.com>
1970
1971 * c-parser.c (c_parser_for_statement): Initialize
1972 collection_expression.
1973
03029de4
JM
19742011-01-19 Joseph Myers <joseph@codesourcery.com>
1975
1976 * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.
1977
3e03217e
JM
19782011-01-19 Joseph Myers <joseph@codesourcery.com>
1979
1980 * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove.
1981 (LINK_SHLIB_SPEC): Don't use %(link_path).
1982 (SUBTARGET_EXTRA_SPECS): Remove link_path.
1983
5bbe9b3f
JM
19842011-01-19 Joseph Myers <joseph@codesourcery.com>
1985
1986 * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
1987 (NO_SHARED_LIB_SUPPORT): Remove.
1988 (LINK_SHLIB_SPEC): Remove one conditional definition.
1989
368e0b39
JM
19902011-01-19 Joseph Myers <joseph@codesourcery.com>
1991
1992 * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
1993 %{call_shared}.
1994 * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
1995 * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
1996 * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
1997 %{call_shared} and conditionals on these options not being passed.
1998 * config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
1999 %{call_shared}.
2000
ed7656f6
JJ
20012011-01-19 Jakub Jelinek <jakub@redhat.com>
2002
68457901
JJ
2003 * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge,
2004 simplify.
2005
ed7656f6
JJ
2006 * ipa-split.c: Spelling fixes.
2007
e0d1958f
RH
20082011-01-19 Richard Henderson <rth@redhat.com>
2009
2010 * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand.
2011 (*mulsi3): Likewise.
2012
27098b6b
RH
2013 * longlong.h [__mn10300__] (count_leading_zeros): New.
2014 [__mn10300__] (umul_ppmm, smul_ppmm): New.
2015 [__mn10300__] (add_ssaaaa, subddmmss): New.
2016 [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New.
2017 [__mn10300__] (UMUL_TIME, UDIV_TIME): New.
2018
d6be7c36
UW
20192011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2020
2021 * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
2022
b1efde2a
RH
20232011-01-19 Richard Henderson <rth@redhat.com>
2024
44217823
RH
2025 * config/mn10300/mn10300.md (addsi3_flags): New.
2026 (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New.
2027 (subsi3_flags, subc_internal, subdi3): New.
2028 (subdi3_internal, *subdi3_degenerate): New.
2029 * config/mn10300/predicates.md (reg_or_am33_const_operand): New.
2030
37a185d7
RH
2031 * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New.
2032 (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn.
2033 (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once.
2034 * config/mn10300/mn10300-protos.h: Update.
2035 * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn.
2036 (return_ret): Likewise. Rename from return_internal_regs.
2037 (return_internal): Remove.
2038
040c5757
RH
2039 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove.
2040 (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL.
2041 (mn10300_legitimate_constant_p): Likewise.
2042 (mn10300_can_use_return_insn): Use mn10300_initial_offset.
2043 (mn10300_frame_size): New.
2044 (mn10300_expand_prologue): Use it.
2045 (mn10300_expand_epilogue): Likewise.
2046 (mn10300_initial_offset): Likewise.
2047 * config/mn10300/mn10300-protos.h: Update.
2048 * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove.
2049 * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove.
2050 (prologue, epilogue, return_internal): Tidy output code.
2051 (mn10300_store_multiple_operation, return): Likewise.
2052 (int_label, pop_pic_reg, GOTaddr2picreg): Remove.
2053 (am33_loadPC, mn10300_loadPC, call_next_insn): Remove.
2054 (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove.
2055 (load_pic, am33_load_pic): New.
2056 (mn10300_load_pic0, mn10300_load_pic1): New.
2057
bad41521
RH
2058 * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes.
2059 * config/mn10300/mn10300.c (CC_FLAG_Z): New.
2060 (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New.
2061 (cc_flags_for_mode, cc_flags_for_code): New.
2062 (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the
2063 overflow flag is not valid. Validate that the flags we need
2064 for the comparison are valid.
2065 (mn10300_output_cmp): Remove.
2066 (mn10300_output_add): New.
2067 (mn10300_select_cc_mode): Use cc_flags_for_code.
2068 (mn10300_split_cbranch): New.
2069 (mn10300_match_ccmode): New.
2070 (mn10300_split_and_operand_count): New.
2071 * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments
2072 to the function.
2073 * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge...
2074 (addsi3): ... here. Use mn10300_output_add.
2075 (*addsi3_flags): New.
2076 (*am33_subsi3, *mn10300_subsi3): Merge...
2077 (subsi3): ... here. Use attribute isa.
2078 (*subsi3_flags): New.
2079 (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC
2080 when possible.
2081 (*am33_andsi3, *mn10300_andsi3): Merge...
2082 (andsi3): ... here.
2083 (*andsi3_flags): New.
2084 (andsi3 splitters): New.
2085 (*am33_iorsi3, *mn10300_iorsi3): Merge...
2086 (iorsi3): ... here.
2087 (*iorsi3_flags): New.
2088 (*am33_xorsi3, *mn10300_xorsi3): Merge...
2089 (xorsi3): ... here.
2090 (*xorsi3_flags): New.
2091 (*am33_cmpsi2, *mn10300_cmplsi2): Merge...
2092 (one_cmplsi2): ... here.
2093 (*one_cmplsi2_flags): New.
2094 (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r"
2095 instead of "dax" in constraints. Use mn10300_split_cbranch.
2096 (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not
2097 use matching constraints to eliminate a self-comparison.
2098 (*integer_conditional_branch): Rename from integer_conditional_branch.
2099 Use int_mode_flags to match CC_REG.
2100 (*cbranchsi4_btst, *btstsi): New.
2101 (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use
2102 mn10300_split_cbranch.
2103 (*am33_cmpsf): Rename from am33_cmpsf.
2104 (*float_conditional_branch): Rename from float_conditional_branch.
2105 (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge...
2106 (zero_extendqisi2): ... here.
2107 (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge...
2108 (zero_extendhisi2): ... here.
2109 (*extendqisi2_am33, *extendqisi2_mn10300): Merge...
2110 (extendqisi2): ... here.
2111 (*extendhisi2_am33, *extendhisi2_mn10300): Merge...
2112 (extendhisi2): ... here.
2113 (*am33_ashlsi3, *mn10300_ashlsi3): Merge...
2114 (ashlsi3): ... here.
2115 (*am33_lshrsi3, *mn10300_lshrsi3): Merge...
2116 (lshrsi3): ... here.
2117 (*am33_ashrisi3, *mn10300_ashrsi3): Merge...
2118 (ashrsi3): ... here.
2119 (consecutive add peephole): Remove.
2120 * config/mn10300/predicates.md (label_ref_operand): New.
2121 (int_mode_flags): New.
2122 (CCZN_comparison_operator): New.
2123
9efb4993
RH
2124 * config/mn10300/mn10300.md (UNSPEC_EXT): New.
2125 (throughput_42_latency_43): New reservation.
2126 (mulsidi3, umulsidi3): New expanders.
2127 (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose
2128 the MDR register to allocation; separately allocate the low and
2129 high parts of the DImode result.
2130 (umulsidi3_internal): Similarly.
2131 (*am33_mulsi3, *mn10300_mulsi3): Merge into ...
2132 (*mulsi3): ... here. Clobber MDR as a scratch as necessary.
2133 (udivsi3, umodsi3): Remove.
2134 (udivmodsi4, divmodsi4): New expanders.
2135 (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly.
2136 (*divmodsi4): Simiarly.
2137 (ext_internal): New.
2138
c25a21f5
RH
2139 * config/mn10300/constraints.md ("z"): New constraint.
2140 * config/mn10300/mn10300.h (MDR_REGNUM): Remove.
2141 (FIXED_REGISTERS): Don't fix MDR.
2142 (CALL_USED_REGSITERS): Reformat nicely.
2143 (REG_ALLOC_ORDER): Add MDR.
2144 (enum regclass): Add MDR_REGS.
2145 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match.
2146 (IRA_COVER_CLASSES): Add MDR_REGS.
2147 (REGNO_REG_CLASS): Handle MDR_REG.
2148 * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS.
2149 (mn10300_register_move_cost): Likewise.
2150 * config/mn10300/mn10300.md (MDR_REG): New.
2151 (*movsi_internal): Handle moves to/from MDR_REGS.
2152
36846b26
RH
2153 * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle
2154 POST_MODIFY.
2155 (mn10300_secondary_reload): Tidy combination reload classes.
2156 (mn10300_legitimate_address_p): Allow post-modify and reg+reg
2157 addresses for AM33. Allow symbolic offsets for reg+imm.
2158 (mn10300_regno_in_class_p): New.
2159 (mn10300_legitimize_reload_address): New.
2160 * config/mn10300/mn10300.h (enum reg_class): Remove
2161 DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS,
2162 SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add
2163 SP_OR_GENERAL_REGS.
2164 (REG_CLASS_NAMES): Update to match.
2165 (REG_CLASS_CONTENTS): Likewise.
2166 (INDEX_REG_CLASS): Use GENERAL_REGS for AM33.
2167 (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33.
2168 (REGNO_IN_RANGE_P): Remove.
2169 (REGNO_DATA_P): Use mn10300_regno_in_class_p.
2170 (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise.
2171 (REGNO_STRICT_OK_FOR_BASE_P): Likewise.
2172 (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise.
2173 (REGNO_STRICT_OK_FOR_INDEX_P): Likewise.
2174 (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove.
2175 (REGNO_GENERAL_P): New.
2176 (HAVE_POST_MODIFY_DISP): New.
2177 (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New.
2178 (LEGITIMIZE_RELOAD_ADDRESS): New.
2179 * config/mn10300/mn10300-protos.h: Update.
2180
8b119bb6
RH
2181 * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow
2182 DATA_REGS for AM33 stack-pointer destination.
2183 (mn10300_preferred_output_reload_class): Likewise.
2184 (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class
2185 into a form appropriate for ...
2186 (TARGET_SECONDARY_RELOAD): New.
2187 * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove.
2188 * config/mn10300/mn10300-protos.h: Update.
2189 * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from
2190 reload_insi; use the "A" constraint for the scratch; handle AM33
2191 moves of sp to non-address registers.
2192
b1efde2a
RH
2193 * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into
2194 (*movqi_internal): ... here.
2195 (*am33_movhi, *mn10300_movhi): Merge into...
2196 (*movhi_internal): ... here.
2197 (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A"
2198 as the source/destination of moves from/to SP.
2199 (movsf): Only allow for AM33-2.
1c3ba85b 2200 (*movsf_internal): Use "r" instead of "dax"; use "F" instead of
b1efde2a
RH
2201 any integer constant constraint. Only allow for AM33-2. Tidy
2202 all of the alternative outputs.
2203 (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove.
2204 (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow
2205 for MN103.
2206 (udivsi3, umodsi3): New patterns for MN103 only.
2207
b899fd78
JR
22082011-01-19 Joern Rennecke <amylaar@spamcop.net>
2209
2210 * doc/tm.texi.in: Spell out that a lack of register class unions
2211 can lead to ICEs.
2212 * doc/tm.texi: Regenerate.
2213
afaaa67d
JJ
22142011-01-19 Jakub Jelinek <jakub@redhat.com>
2215
2e0642cd
JJ
2216 PR rtl-optimization/47337
2217 * dce.c (check_argument_store): New function.
2218 (find_call_stack_args): Ignore debug insns. Use check_argument_store.
2219
afaaa67d
JJ
2220 PR tree-optimization/47290
2221 * tree-eh.c (infinite_empty_loop_p): New function.
2222 (cleanup_empty_eh): Use it.
2223
d2cd871f
SE
22242011-01-18 Steve Ellcey <sje@cup.hp.com>
2225
2226 PR target/46997
2227 * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
2228 (a64_expand_widen_sum): Ditto.
2229 * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
2230 (vec_extract_evenodd_help): Ditto.
2231 (vec_extract_evenv4hi): Ditto.
2232 (vec_extract_oddv4hi): Ditto.
2233 (vec_extract_evenv2si): Ditto.
2234 (vec_extract_oddv2si): Ditto.
2235 (vec_extract_evenv2sf): Ditto.
2236 (vec_extract_oddv2sf): Ditto.
2237 (vec_pack_trunc_v4hi: Ditto.
2238 (vec_pack_trunc_v2si): Ditto.
2239 (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
2240 (vec_interleave_highv8qi): Ditto.
2241 (mix1_r): Ditto.
2242 (vec_extract_oddv8qi): Ditto.
2243 (vec_interleave_lowv4hi): Ditto.
2244 (vec_interleave_highv4hi): Ditto.
2245 (vec_interleave_lowv2si): Ditto.
2246 (vec_interleave_highv2si): Ditto.
2247
41a1208a
JDA
22482011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2249
2250 * doc/extend.texi: Mention __float128 support on hppa HP-UX.
2251 * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
2252 * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h".
2253 (pa_c_mode_for_suffix): New.
2254 (TARGET_EXPAND_BUILTIN): Define.
2255 (TARGET_C_MODE_FOR_SUFFIX): Define.
2256 (pa_builtins): Define.
2257 (pa_init_builtins): Register __float128 type and init new support
2258 builtins.
2259 * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
2260 * config/pa/quadlib.c (_U_Qfcopysign): New.
2261
1ecad98e
EB
22622011-01-18 Eric Botcazou <ebotcazou@adacore.com>
2263
2264 PR middle-end/46894
2265 * explow.c (allocate_dynamic_stack_space): Do not assume more than
2266 BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET
2267 are defined.
2268
d4f2460a
UW
22692011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2270
2271 PR tree-optimization/47179
2272 * config/spu/spu.c (spu_ref_may_alias_errno): New function.
2273 (TARGET_REF_MAY_ALIAS_ERRNO): Define.
2274
4994da65
RG
22752011-01-18 Richard Guenther <rguenther@suse.de>
2276
2277 PR rtl-optimization/47216
2278 * emit-rtl.c: Include tree-flow.h.
2279 (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead
2280 of replicating it with different semantics.
2281 * Makefile.in (emit-rtl.o): Adjust.
2282
1eb458d1
RR
22832011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2284
38be4072 2285 * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include.
61052244 2286 (cortex_a9_dp): Handle neon types correctly.
1eb458d1 2287
e7ef91dc
JJ
22882011-01-18 Jakub Jelinek <jakub@redhat.com>
2289
2290 PR rtl-optimization/47299
2291 * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
38be4072 2292 subtarget. Use normal multiplication if both operands are constants.
e7ef91dc
JJ
2293 * expmed.c (expand_widening_mult): Don't try to optimize constant
2294 multiplication if op0 has VOIDmode. Convert op1 constant to mode
2295 before using it.
2296
535b7874
RW
22972011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2298
2299 * doc/lto.texi (LTO): Ensure two spaces after period. Fix
2300 spacing after 'e.g.', typos, comma, hyphenation.
2301
27bf36f3
RH
23022011-01-17 Richard Henderson <rth@redhat.com>
2303
8a5b5449
RH
2304 * config/rx/predicates.md (rx_constshift_operand): Use match_test.
2305 (rx_restricted_mem_operand): New.
2306 (rx_shift_operand): Use register_operand.
2307 (rx_source_operand, rx_compare_operand): Likewise.
2308 * config/rx/rx.md (addsi3_flags): New expander.
2309 (adddi3): Rewrite as expander.
2310 (adc_internal, *adc_flags, adddi3_internal): New patterns.
2311 (subsi3_flags): New expander.
2312 (subdi3): Rewrite as expander.
2313 (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
2314
784f69be
RH
2315 * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
2316 (rx_init_builtins): Remove sat builtin.
2317 (rx_expand_builtin): Likewise.
2318 * config/rx/rx.md (ssaddsi3): New.
2319 (*sat): Rename from sat. Represent the CC_REG input.
2320
f033541c
RH
2321 * config/rx/predicates.md (rshift_operator): New.
2322 * config/rx/rx.c (rx_expand_insv): Remove.
2323 * config/rx/rx-protos.h: Update.
2324 * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift
2325 operand to the canonical position.
2326 (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
2327 (*bitclr, *bitclr_in_memory): Similarly.
2328 (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
2329 (insv): Retain the zero_extract in the expansion.
2330
34fee389
RH
2331 * config/rx/rx.md (bswapsi2): Use = not + for output reload.
2332 (bswaphi2, bitinvert, revw): Likewise.
2333
265c835f
RH
2334 * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
2335 (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
2336 * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
2337 (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
2338 (bitset, bitset_in_memory): Likewise.
2339 (bitinvert, bitinvert_in_memory): Likewise.
2340 (bitclr, bitclr_in_memory): Likewise.
2341 (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
2342 (rx_strend, rx_cmpstrn): Likewise.
2343 (rx_setmem): Likewise. Make the source BLKmode to match the dest.
2344 (bitop peep2 patterns): Remove.
2345
b4d83be3
RH
2346 * config/rx/rx.c (rx_match_ccmode): New.
2347 * config/rx/rx-protos.h: Update.
2348 * config/rx/rx.md (abssi2): Clobber, don't set flags.
2349 (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
2350 (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
2351 (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
2352 (fix_truncsfsi2, floatsisf2): Likewise.
2353 (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
2354 (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
2355 (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
2356 (*subsi3_flags, *xorsi3_flags): New.
2357
d0acb939
RH
2358 * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
2359
c06fc3d9
RH
2360 * config/rx/rx.c (rx_print_operand): Remove workaround for
2361 unsplit comparison operations.
2362
2882702b
RH
2363 * config/rx/rx.md (movsicc): Split after reload.
2364 (*movsicc): Merge *movsieq and *movsine via match_operator.
2365 (*stcc): New pattern.
2366
6f7310f2
RH
2367 * config/rx/rx.c (rx_float_compare_mode): Remove.
2368 * config/rx/rx.h (rx_float_compare_mode): Remove.
2369 * config/rx/rx.md (cstoresi4): Split after reload.
2370 (*sccc): New pattern.
2371
e963cb1a
RH
2372 * config/rx/predicates.md (label_ref_operand): New.
2373 (rx_z_comparison_operator): New.
2374 (rx_zs_comparison_operator): New.
2375 (rx_fp_comparison_operator): New.
2376 * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
2377 Validate that the flags are set properly for the comparison.
2378 (rx_gen_cond_branch_template): Remove.
2379 (rx_cc_modes_compatible): Remove.
2380 (mode_from_flags): New.
2381 (flags_from_code): Rename from flags_needed_for_conditional.
2382 (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
2383 (rx_select_cc_mode): Likewise.
2384 (rx_split_fp_compare): New.
2385 (rx_split_cbranch): New.
2386 * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
2387 (*cbranchsi4): Use match_operator and rx_split_cbranch.
2388 (*cbranchsf4): Similarly.
2389 (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use
2390 match_operator and rx_split_cbranch.
2391 (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
2392 tstbranchsi4m_ne. Use match_operator and rx_split_cbranch.
2393 (*cmpsi): Rename from cmpsi.
2394 (*tstsi): Rename from tstsi.
2395 (*cmpsf): Rename from cmpsf; use CC_Fmode.
2396 (*conditional_branch): Rename from conditional_branch.
2397 (*reveresed_conditional_branch): Remove.
2398 (b<code>): Remove expander.
2399 * config/rx/rx-protos.h: Update.
2400
af530bb4
RH
2401 * config/rx/rx.c (rx_compare_redundant): Remove.
2402 * config/rx/rx.md (cmpsi): Don't use it.
2403 * config/rx/rx-protos.h: Update.
2404
27bf36f3
RH
2405 * config/rx/rx-modes.def (CC_F): New mode.
2406 * config/rx/rx.c (rx_select_cc_mode): New.
2407 * config/rx/rx.h (SELECT_CC_MODE): Use it.
2408 * config/rx/rx-protos.h: Update.
2409
d7fde127
RH
24102011-01-17 Richard Henderson <rth@redhat.com>
2411
2412 * except.c (dump_eh_tree): Fix stray ; after for statement.
2413
6ff38230
RG
24142011-01-17 Richard Guenther <rguenther@suse.de>
2415
2416 PR tree-optimization/47313
2417 * tree-inline.c (tree_function_versioning): Move DECL_RESULT
2418 handling before copying the body. Properly deal with
2419 by-reference result in SSA form.
2420
114ce554
ILT
24212011-01-17 Ian Lance Taylor <iant@google.com>
2422
bf5cd92b 2423 PR target/47219
114ce554
ILT
2424 * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
2425 (struct_value_alias_set): Don't define.
2426 (sparc_option_override): Don't set sparc_sr_alias_set and
2427 struct_value_alias_set.
2428 (save_or_restore_regs): Use gen_frame_mem rather than calling
2429 set_mem_alias_set.
2430 (sparc_struct_value_rtx): Likewise.
2431
98c6d93c
L
24322011-01-17 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 PR target/47318
2435 * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
2436 __m128i.
2437 (_mm_maskstore_pd): Likewise.
2438 (_mm_maskload_ps): Likewise.
2439 (_mm_maskstore_ps): Likewise.
2440 (_mm256_maskload_pd): Change mask to __m256i.
2441 (_mm256_maskstore_pd): Likewise.
2442 (_mm256_maskload_ps): Likewise.
2443 (_mm256_maskstore_ps): Likewise.
2444
2445 * config/i386/i386-builtin-types.def: Updated.
2446 (ix86_expand_special_args_builtin): Likewise.
2447
2448 * config/i386/i386.c (bdesc_special_args): Update
2449 __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
2450 __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
2451 __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
2452 __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
2453
2454 * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
2455 Use <avxpermvecmode> on mask register.
2456 (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
2457
b9361af2 24582011-01-17 Olivier Hainque <hainque@adacore.com>
61052244
AM
2459 Michael Haubenwallner <michael.haubenwallner@salomon.at>
2460 Eric Botcazou <ebotcazou@adacore.com>
b9361af2
OH
2461
2462 PR target/46655
2463 * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
2464 if <= USHRT_MAX in 32-bit mode.
2465
b7ae9eb5
RW
24662011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2467
2468 * doc/install.texi (Configuration, Specific): Wrap long
2469 lines in examples. Allow line wrapping in long options
2470 and URLs where beneficial for PDF output.
2471
4377fad9
RS
24722011-01-16 Richard Sandiford <rdsandiford@googlemail.com>
2473
2474 * config/mips/mips.c (mips_classify_symbol): Don't return
2475 SYMBOL_PC_RELATIVE for nonlocal labels.
2476
55959ffa 24772011-01-15 Eric Botcazou <ebotcazou@adacore.com>
be46831f 2478
55959ffa
EB
2479 * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
2480
24812011-01-15 Jan Hubicka <jh@suse.cz>
2482
2483 PR tree-optimization/47276
be46831f
JH
2484 * ipa.c (function_and_variable_visibility): Do not try to mark alias
2485 declarations as needed.
2486
05842ff5
MJ
24872011-01-15 Martin Jambor <mjambor@suse.cz>
2488
2489 * common.opt (fdevirtualize): New flag.
2490 * doc/invoke.texi (Option Summary): Document it.
2491 * opts.c (default_options_table): Add devirtualize flag.
2492 * ipa-prop.c (detect_type_change): Return immediately if
2493 devirtualize flag is not set.
2494 (detect_type_change_ssa): Likewise.
2495 (compute_known_type_jump_func): Likewise.
2496 (ipa_analyze_virtual_call_uses): Likewise.
2497
f65cf2b7
MJ
24982011-01-14 Martin Jambor <mjambor@suse.cz>
2499
2500 PR tree-optimization/45934
2501 PR tree-optimization/46302
2502 * ipa-prop.c (type_change_info): New type.
2503 (stmt_may_be_vtbl_ptr_store): New function.
2504 (check_stmt_for_type_change): Likewise.
2505 (detect_type_change): Likewise.
2506 (detect_type_change_ssa): Likewise.
2507 (compute_complex_assign_jump_func): Check for dynamic type change.
2508 (compute_complex_ancestor_jump_func): Likewise.
2509 (compute_known_type_jump_func): Likewise.
2510 (compute_scalar_jump_functions): Likewise.
2511 (ipa_analyze_virtual_call_uses): Likewise.
2512 (ipa_analyze_node): Push and pop cfun, set current_function_decl.
2513
eb5bb0fd
JM
25142011-01-14 Joseph Myers <joseph@codesourcery.com>
2515
2516 * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
2517 * config/i386/i386.opt (msse5): New Alias.
2518
f2060fbe
JM
25192011-01-14 Joseph Myers <joseph@codesourcery.com>
2520
2521 * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
2522 * config/sparc/linux64.h (CC1_SPEC): Likewise.
2523 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
2524 * config/sparc/sparc.h (CC1_SPEC): Likewise.
2525
3a7b4385
JM
25262011-01-14 Joseph Myers <joseph@codesourcery.com>
2527
2528 * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
2529 -mcpu options.
2530 * config/sparc/linux64.h (CC1_SPEC): Likewise.
2531 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
2532 * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
2533 * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
2534 Likewise.
2535 * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
2536
a7b778f8
JM
25372011-01-14 Joseph Myers <joseph@codesourcery.com>
2538
38be4072 2539 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi.
a7b778f8 2540
a7edae0a
MS
25412011-01-14 Mike Stump <mikestump@comcast.net>
2542
2543 * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
2544 * config/fr30/fr30.md: Likweise
2545 (movsi_push): Likewise.
2546 (movsi_pop): Likewise.
2547 (enter_func): Likewise.
2548 * config/moxie/moxie.md (movsi_push): Likewise.
2549 (movsi_pop): Likewise.
2550
cbabf03f
JM
25512011-01-14 Joseph Myers <joseph@codesourcery.com>
2552
2553 * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
2554 %{no_archive} %{exact_version}.
2555 * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
2556 * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
2557 %{no_archive} %{exact_version}.
2558 * config/mips/openbsd.h (LINK_SPEC): Likewise.
2559 * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
2560 * config/mips/vxworks.h: Likewise.
2561
438da41a
JM
25622011-01-14 Joseph Myers <joseph@codesourcery.com>
2563
38be4072 2564 * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}.
438da41a 2565
da290a42
JM
25662011-01-14 Joseph Myers <joseph@codesourcery.com>
2567
2568 * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
2569 ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
2570
8989d00e
JM
25712011-01-14 Joseph Myers <joseph@codesourcery.com>
2572
2573 * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
2574 -nodefaultlib.
2575
a3010a69
JM
25762011-01-14 Joseph Myers <joseph@codesourcery.com>
2577
2578 * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
2579 for mcpu not cpu.
2580 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
2581 CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
2582 not cpu.
2583 (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
2584 Don't handle -shlib.
2585
e7f2f537
JM
25862011-01-14 Joseph Myers <joseph@codesourcery.com>
2587
2588 * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
2589 (CC1_SPEC): Don't handle -profile.
2590
34830bfd
JM
25912011-01-14 Joseph Myers <joseph@codesourcery.com>
2592
2593 * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
2594 * config/mips/mips.h (CC1_SPEC): Likewise.
2595
b2d36e74
JM
25962011-01-14 Joseph Myers <joseph@codesourcery.com>
2597
2598 * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
2599 * config/mips/mips.h (CC1_SPEC): Likewise.
2600
dabadc52
JM
26012011-01-14 Joseph Myers <joseph@codesourcery.com>
2602
2603 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
2604 * config/m32r/linux.h (LINK_SPEC): Likewise.
2605 * config/mips/linux.h (LINK_SPEC): Likewise.
2606 * config/mips/linux64.h (LINK_SPEC): Likewise.
2607 * config/sparc/linux.h (LINK_SPEC): Likewise.
2608 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
2609 LINK_SPEC): Likewise.
2610 * config/xtensa/linux.h (LINK_SPEC): Likewise.
2611
43ee6785
JM
26122011-01-14 Joseph Myers <joseph@codesourcery.com>
2613
2614 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
2615 %{version:-v}.
2616 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
2617
45e79dfd
JM
26182011-01-14 Joseph Myers <joseph@codesourcery.com>
2619
2620 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
2621 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
2622
37e9e71d
JM
26232011-01-14 Joseph Myers <joseph@codesourcery.com>
2624
2625 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
2626
bb127cd8
RO
26272011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2628
2629 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
2630 supports -Bstatic/-Bdynamic.
2631 * configure: Regenerate.
2632
89a012ea
JH
26332011-01-14 Jan Hubicka <jh@suse.cz>
2634 Jack Howarth <howarth@bromo.med.uc.edu>
2635
2636 PR target/46037
2637 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
2638 when checking debug_info_level. Test write_symbols instead of
2639 debug_hooks->var_location when setting flag_var_tracking_uninit.
2640
7352c013
RG
26412011-01-14 Richard Guenther <rguenther@suse.de>
2642
2643 PR tree-optimization/47179
2644 * target.def (ref_may_alias_errno): New target hook.
2645 * targhooks.h (default_ref_may_alias_errno): Declare.
2646 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
2647 (default_ref_may_alias_errno): New function.
2648 * target.h (struct ao_ref_s): Declare.
2649 * tree-ssa-alias.c: Include target.h.
2650 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
2651 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
2652 (targhooks.o): Likewise.
2653 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
2654 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
2655
9a6c9288
RG
26562011-01-14 Richard Guenther <rguenther@suse.de>
2657
2658 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
2659
0fdb0d27
RG
26602011-01-14 Richard Guenther <rguenther@suse.de>
2661
2662 PR tree-optimization/47280
2663 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
2664 return CFG changes.
2665 (tree_ssa_forward_propagate_single_use_vars): Deal with
2666 CFG changes from associate_plusminus.
2667
8f66db3b
RG
26682011-01-14 Richard Guenther <rguenther@suse.de>
2669
2670 PR middle-end/47281
2671 Revert
2672 2011-01-11 Richard Guenther <rguenther@suse.de>
2673
280d9630
EB
2674 PR tree-optimization/46076
2675 * tree-ssa.c (useless_type_conversion_p): Conversions from
2676 unprototyped to empty argument list function types are useless.
8f66db3b 2677
6c0c92e6
RG
26782011-01-14 Richard Guenther <rguenther@suse.de>
2679
2680 PR tree-optimization/47286
280d9630 2681 * tree-ssa-structalias.c (new_var_info): Register variables are global.
6c0c92e6 2682
db09f943
MJ
26832011-01-14 Martin Jambor <mjambor@suse.cz>
2684
2685 PR middle-end/46823
2686 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
2687
dde8a3a4
AS
26882011-01-13 Anatoly Sokolov <aesok@post.ru>
2689
2690 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
2691 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
2692 * config/xtensa/xtensa.c (xtensa_libcall_value,
2693 xtensa_function_value_regno_p): New functions.
2694 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
2695
a2b63a20
KT
26962011-01-13 Kai Tietz <kai.tietz@onevision.com>
2697
2698 PR c++/47213
2699 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
2700 PE specific hook.
2701 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
2702 New function prototype.
2703 * config/i386/winnt.c (i386_pe_assemble_visibility):
2704 Warn only if attribute was specified by user.
2705
b41f0b34
MM
27062011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2707
2708 PR target/47251
2709 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
2710 floating point.
2711 (floatunsdidf2_fcfidu): Ditto.
2712
3f3c098d
AK
27132011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2714
2715 * config/s390/s390.c (print_operand_address): Replace 'error' with
2716 'output_operand_lossage'.
2717 (print_operand): Likewise.
2718
29fa95ed
JL
27192011-01-13 Jeff Law <law@redhat.com>
2720
280d9630 2721 PR rtl-optimization/39077
29fa95ed
JL
2722 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
2723 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
2724 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
2725 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
2726 * gcse.c (prune_insertions_deletions): New function.
2727 (compute_pre_data): Use it.
2728
71d12276
DS
27292011-01-13 Dodji Seketeli <dodji@redhat.com>
2730
2731 PR debug/PR46973
2732 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
2733 static function.
61052244 2734 (prune_unused_types_mark): Use it.
71d12276 2735
9b0f04e7
AB
27362011-01-13 Andrey Belevantsev <abel@ispras.ru>
2737
2738 PR rtl-optimization/45352
1c3ba85b 2739 * sel-sched.c: Update copyright years.
9b0f04e7 2740 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
1c3ba85b 2741 in the advancing loop when we have issued issue_rate insns.
9b0f04e7 2742
d6a3e264
RH
27432011-01-12 Richard Henderson <rth@redhat.com>
2744
a49b692a
RH
2745 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
2746 (TARGET_MD_ASM_CLOBBERS): New.
2747
126b1483
RH
2748 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
2749 (TARGET_DELEGITIMIZE_ADDRESS): New.
2750
f3d9d2e0
RH
2751 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
2752 (clzsi2, *bsch): New patterns.
2753
d84760c9
RH
2754 * config/mn10300/mn10300.md (INT): New mode iterator.
2755 (*mov<INT>_clr): New pattern, and peep2 to generate it.
2756
ec815d65
RH
2757 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
2758 flag_split_wide_types.
2759
d6a3e264
RH
2760 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
2761 (mn10300_trampoline_init): Rewrite without a template, an immediate
2762 load and a direct branch.
2763 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
2764
0f8ab434
AS
27652011-01-12 Anatoly Sokolov <aesok@post.ru>
2766
2767 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
2768 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
2769 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
2770 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
2771
d8a24b65
KT
27722011-01-12 Kai Tietz <kai.tietz@onevision.com>
2773
2774 PR debug/47209
2775 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
2776 of type.
2777
56e22cab
JH
27782011-01-12 Jan Hubicka <jh@suse.cz>
2779
2780 PR driver/47244
2781 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
2782 (PLUGIN_COND_CLOSE): New macro.
2783 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
2784
4b18b3c2
RG
27852011-01-12 Richard Guenther <rguenther@suse.de>
2786
2787 PR lto/47259
2788 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
2789 register variables in a MEM_REF.
2790
8e38461c
JM
27912011-01-12 Joseph Myers <joseph@codesourcery.com>
2792
2793 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
2794 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
2795 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
2796 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
2797 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
2798 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
2799 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
2800 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
2801 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
2802 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
2803 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
2804 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
2805 * config/gnu-user.h: New. Copied from linux.h.
2806 (LINUX_TARGET_STARTFILE_SPEC): Rename to
2807 GNU_USER_TARGET_STARTFILE_SPEC.
2808 (LINUX_TARGET_ENDFILE_SPEC): Rename to
2809 GNU_USER_TARGET_ENDFILE_SPEC.
2810 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
2811 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
2812 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
2813 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
2814 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
2815 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
2816 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
2817 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
2818 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
2819 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
2820 * config/arm/linux-eabi.h (CC1_SPEC): Use
2821 GNU_USER_TARGET_CC1_SPEC.
2822 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
2823 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
2824 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
2825 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
2826 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
2827 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
2828 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
2829 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
2830
a570fc16
RG
28312011-01-12 Richard Guenther <rguenther@suse.de>
2832
2833 PR other/46946
2834 * doc/invoke.texi (ffast-math): Document it is turned on
2835 with -Ofast.
2836
b0223c3e
JH
28372011-01-12 Jan Hubicka <jh@suse.cz>
2838
2839 PR tree-optimization/47233
ca1e00b3
EB
2840 * opts.c (common_handle_option): Disable ipa-reference with profile
2841 feedback.
b0223c3e 2842
1c3ba85b 28432011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
d853ee42
NP
2844
2845 * c-parser.c (c_parser_objc_at_property_declaration): Improved
ca1e00b3
EB
2846 error message.
2847
d853ee42
NP
28482011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
2849
2850 * c-parser.c (c_lex_one_token): Updated and reindented some
2851 comments. No changes in code.
2852
4053a5a0
ILT
28532011-01-11 Ian Lance Taylor <iant@google.com>
2854
2855 * godump.c (go_output_var): Don't output the variable if there is
2856 already a type with the same name.
2857
fa3e04d2
ILT
28582011-01-11 Ian Lance Taylor <iant@google.com>
2859
2860 * godump.c (go_format_type): Don't generate float80.
2861
885fe07c
RH
28622011-01-11 Richard Henderson <rth@redhat.com>
2863
72d6e3c5
RH
2864 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
2865 declaration. Rewrite for both speed and size.
2866 (mn10300_address_cost_1): Remove.
2867 (mn10300_register_move_cost): New.
2868 (mn10300_memory_move_cost): New.
2869 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
2870 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
2871 extensions, shifts, BSWAP, CLZ.
2872 (mn10300_wide_const_load_uses_clr): Remove.
2873 (TARGET_REGISTER_MOVE_COST): New.
2874 (TARGET_MEMORY_MOVE_COST): New.
2875 * config/mn10300/mn10300-protos.h: Update.
2876 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
2877
df37c023
RH
2878 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
2879 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
2880 * config/mn10300/mn10300-protos.h: Update.
2881 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
2882 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
2883 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
2884 (*test_int_bitfield, *test_byte_bitfield): Remove.
2885 (*bit_test, *subreg_bit_test): Remove.
62d3f9b2 2886 * config/mn10300/predicates.md (const_8bit_operand): Remove.
df37c023 2887
85a337b5
RH
2888 * config/mn10300/constraints.md ("c"): Rename from "A".
2889 ("A", "D"): New constraint letters.
2890 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
2891 (fmssf4, fnmasf4, fnmssf4): Likewise.
2892
a5c727e3
RH
2893 * config/mn10300/mn10300.md (isa): New attribute.
2894 (enabled): New attribute.
2895
0d9e23f4
RH
2896 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
2897 (abssf2, negsf2): Define only for hardware fp.
2898 (sqrtsf2): Reformat.
2899 (addsf3, subsf3, mulsf3): Merge expander and insn.
2900
c157b3f0
RH
2901 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
2902 (DEBUGGER_AUTO_OFFSET): Remove.
2903 (DEBUGGER_ARG_OFFSET): Remove.
2904
cc909bba
RH
2905 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
2906 Emit register stores with the same offsets as the hardware.
2907 (mn10300_store_multiple_operation): Don't check that the register
2908 save offsets are monotonic.
2909 * config/mn10300/mn10300-protos.h: Update.
2910
e3b5c2f3
RH
2911 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
2912
885fe07c
RH
2913 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
2914 in terms of the value on the stack, not the MDR register.
2915
6e701822
JH
29162011-01-11 Jan Hubicka <jh@suse.cz>
2917
2918 PR lto/45721
2919 PR lto/45375
2920 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
2921 (symbol_alias_set_destroy, symbol_alias_set_contains,
2922 propagate_aliases_backward): Declare.
2923 * lto-streamer-out.c (struct sets): New sturcture.
2924 (trivally_defined_alias): New function.
2925 (output_alias_pair_p): Rewrite.
2926 (output_unreferenced_globals): Fix output of alias pairs.
2927 (produce_symtab): Likewise.
2928 * ipa.c (function_and_variable_visibility): Set weak alias destination
2929 as needed in lto.
2930 * varasm.c (symbol_alias_set_t): Remove.
2931 (symbol_alias_set_destroy): Export.
2932 (propagate_aliases_forward, propagate_aliases_backward): New functions
2933 based on ...
2934 (compute_visible_aliases): ... this one; remove.
2935 (trivially_visible_alias): New
2936 (trivially_defined_alias): New.
2937 (remove_unreachable_alias_pairs): Rewrite.
2938 (finish_aliases_1): Reorganize code checking if alias is defined.
2939 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
2940 in LTO mode.
2941
1b248907
RG
29422011-01-11 Richard Guenther <rguenther@suse.de>
2943
2944 PR tree-optimization/46076
2945 * tree-ssa.c (useless_type_conversion_p): Conversions from
2946 unprototyped to empty argument list function types are useless.
2947
b1923f0a
RG
29482011-01-11 Richard Guenther <rguenther@suse.de>
2949
2950 PR middle-end/45235
2951 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
2952 volatile MEMs as MEM_READONLY_P.
2953
e98965af
RG
29542011-01-11 Richard Guenther <rguenther@suse.de>
2955
2956 PR tree-optimization/47239
2957 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
2958
9f9ca914
JL
29592011-01-11 Jeff Law <law@redhat.com>
2960
1ee3ea05 2961 PR tree-optimization/47086
9f9ca914
JL
2962 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
2963 IVs from statements that might throw.
2964
345fdcb7
JH
29652011-01-10 Jan Hubicka <jh@suse.cz>
2966
2967 PR lto/45375
2968 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
2969
c459c97b
JH
29702011-01-10 Jan Hubicka <jh@suse.cz>
2971
2972 PR lto/45375
2973 * profile.c (read_profile_edge_counts): Ignore profile inconistency
2974 when correcting profile.
2975
06c9eb51
JH
29762011-01-10 Jan Hubicka <jh@suse.cz>
2977
2978 PR lto/46083
2979 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
2980 DECL_FINI_PRIORITY.
2981 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
2982 Restore DECL_FINI_PRIORITY.
2983
ae9fd815
RW
29842011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2985
2986 * doc/gimple.texi: Fix quoting of multi-word return values in
2987 @deftypefn statements. Ensure presence of return value. Wrap
2988 overlong @deftypefn lines.
2989 (is_gimple_operand, is_gimple_min_invariant_address): Remove
2990 descriptions of removed functions.
2991 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
2992 of multi-word return value in @deftypefn statement.
2993
0ecb4a7c
RW
29942011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2995
2996 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
2997 (Conditional Expressions, Logical Operators)
2998 (Statement and operand traversals): Do not indent smallexample
2999 code. Fix duplicate function argument in example.
3000
2e5e346d
JL
30012011-01-10 Jeff Law <law@redhat.com>
3002
1ee3ea05 3003 PR tree-optimization/47141
2e5e346d
JL
3004 * ipa-split.c (split_function): Handle case where we are
3005 returning a value and the return block has a virtual operand phi.
3006
cf9712cc
JH
30072011-01-10 Jan Hubicka <jh@suse.cz>
3008
1c3ba85b 3009 PR tree-optimization/47234
cf9712cc
JH
3010 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
3011 (pass_feedback_split_functions): Declare.
3012 * passes.c (init_optimization_passes): Add ipa-split as subpass of
3013 tree-profile.
3014 * ipa-split.c (gate_split_functions): Update comments; disable
3015 split-functions for profile_arc_flag and branch_probabilities.
3016 (gate_feedback_split_functions): New function.
3017 (execute_feedback_split_functions): New function.
3018 (pass_feedback_split_functions): New global var.
3019
94cd932c
L
30202011-01-10 H.J. Lu <hongjiu.lu@intel.com>
3021
3022 PR lto/46760
3023 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
3024 calling gimple_call_set_cannot_inline.
3025
fbbfcaf1
IS
30262011-01-10 Iain Sandoe <iains@gcc.gnu.org>
3027
3028 * config/darwin-sections.def: Remove unused section.
3029
d06865bf
DK
30302011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
3031
3032 PR c++/47218
3033 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
3034
96bbfbac
NP
30352011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
3036
3037 PR objc/47232
3038 * c-parser.c (c_parser_declaration_or_fndef): Improved
3039 error message.
3040
1ba6516f
KT
30412011-01-09 Kai Tietz <kai.tietz@onevision.com>
3042
3043 * config/i386/winnt.c (i386_pe_start_function): Make sure
3044 to switch back to function's section.
3045
0c5d770e
IS
30462011-01-09 Iain Sandoe <iains@gcc.gnu.org>
3047
3048 PR gcc/46902
3049 PR testsuite/46912
3050 * plugin.c: Move include of dlfcn.h from here...
3051 * system.h: ... to here.
3052
30532011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4ee1aa2a
RW
3054
3055 * doc/cpp.texi (C++ Named Operators): Fix markup for header
3056 file name.
3057 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
3058 two extra empty pages in PDF output.
3059
046608a3
NP
30602011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
3061
3062 PR objc/47078
3063 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
3064 for error recovery purposes behave as if it was not specified so
3065 that the default type is usd.
3066
8cb114b9
JH
30672011-01-07 Jan Hubicka <jh@suse.cz>
3068
3069 PR tree-optmization/46469
3070 * ipa.c (function_and_variable_visibility): Clear needed flags on
3071 nodes with external decls; handle weakrefs merging correctly.
3072
b294a75e
JM
30732011-01-07 Joseph Myers <joseph@codesourcery.com>
3074
3075 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
3076 not false.
3077
96bdf9b4
JH
30782011-01-07 Jan Hubicka <jh@suse.cz>
3079
3080 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
3081 and no longer claim that gold is required for linker plugin.
3082 * configure: Regenerate.
3083 * gcc.c (PLUGIN_COND): New macro.
3084 (LINK_COMMAND_SPEC): Use it.
3085 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
3086 * config.in (HAVE_LTO_PLUGIN): New.
3087 * configure.ac (--with-lto-plugin): New parameter; autodetect
3088 HAVE_LTO_PLUGIN.
3089
17afc0fe
JH
30902011-01-07 Jan Hubicka <jh@suse.cz>
3091
3092 PR tree-optimization/46367
3093 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
3094 when we can update original.
3095 (cgraph_mark_inline_edge): Sanity check.
3096 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
3097
d4c48c0f
UW
30982011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3099
3100 * config/spu/spu.h (ASM_COMMENT_START): Define.
3101
96f5b137
L
31022011-01-07 H.J. Lu <hongjiu.lu@intel.com>
3103
3104 PR driver/42445
3105 * gcc.c (%>S): New.
3106 (SWITCH_KEEP_FOR_GCC): Likewise.
3107 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
3108 (do_spec_1): Handle "%>".
3109
3110 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
3111
c6a8f6de
JJ
31122011-01-07 Jakub Jelinek <jakub@redhat.com>
3113
c21bbd7a
JJ
3114 PR target/47201
3115 * config/i386/i386.c (ix86_delegitimize_address): If
3116 simplify_gen_subreg fails, return orig_x.
3117
c6a8f6de
JJ
3118 PR bootstrap/47187
3119 * value-prof.c (gimple_stringop_fixed_value): Handle
3120 lhs of the call properly.
3121
fe95fbf9
JH
31222011-01-07 Jan Hubicka <jh@suse.cz>
3123
3124 PR lto/45375
3125 * lto-opt.c (lto_reissue_options): Set flag_shlib.
3126
14d11d40
IS
31272011-01-07 Iain Sandoe <iains@gcc.gnu.org>
3128
72e961c8
EB
3129 * target.def (function_switched_text_sections): New hook.
3130 * doc/tm.texi: Regenerated.
3131 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
14d11d40 3132 * final.c (default_function_switched_text_sections): New.
72e961c8
EB
3133 (final_scan_insn): Call function_switched_text_sections when a
3134 mid-function section change occurs.
14d11d40 3135 * output.h (default_function_switched_text_sections): Declare.
72e961c8
EB
3136 * config/darwin-protos.h (darwin_function_switched_text_sections):
3137 Likewise.
14d11d40 3138 * config/darwin.c (darwin_function_switched_text_sections): New.
72e961c8 3139 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
14d11d40 3140
0b764288
IS
31412011-01-07 Iain Sandoe <iains@gcc.gnu.org>
3142
3143 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
3144 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
3145 the secondary code fragment when outputting for DWARF == 2.
3146
2ac6bb04
AS
31472011-01-07 Anatoly Sokolov <aesok@post.ru>
3148
3149 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
3150 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
3151 Remove.
3152 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
3153 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
3154
9f82de11
EB
31552011-01-06 Eric Botcazou <ebotcazou@adacore.com>
3156
3157 PR debug/46704
280d9630
EB
3158 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
3159 when it is not empty.
9f82de11
EB
3160
31612011-01-06 Changpeng Fang <changpeng.fang@amd.com>
14b52538 3162
1ed72abf 3163 Bobcat Enablement
14b52538 3164 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
1ed72abf 3165 (case ${target}): Add btver1.
14b52538 3166 * config/i386/driver-i386.c (host_detect_local_cpu): Let
1ed72abf 3167 -march=native recognize btver1 processors.
14b52538 3168 * config/i386/i386-c.c (ix86_target_macros_internal): Add
1ed72abf 3169 btver1 def_and_undef
14b52538 3170 * config/i386/i386.c (struct processor_costs btver1_cost): New
1ed72abf
CF
3171 btver1 cost table.
3172 (m_BTVER1): New definition.
3173 (m_AMD_MULTIPLE): Includes m_BTVER1.
3174 (initial_ix86_tune_features): Add btver1 tune.
3175 (processor_target_table): Add btver1 entry.
3176 (static const char *const cpu_names): Add btver1 entry.
3177 (software_prefetching_beneficial_p): Add btver1.
3178 (ix86_option_override_internal): Add btver1 instruction sets.
3179 (ix86_issue_rate): Add btver1.
3180 (ix86_adjust_cost): Add btver1.
14b52538 3181 * config/i386/i386.h (TARGET_BTVER1): New definition.
1ed72abf
CF
3182 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
3183 (enum processor_type): Add PROCESSOR_BTVER1.
14b52538
CF
3184 * config/i386/i386.md (define_attr "cpu"): Add btver1.
3185
e1a973d8
RO
31862011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3187
3188 PR target/43309
3189 * config/i386/i386.c (legitimize_tls_address)
3190 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
3191 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
3192 (tls_initial_exec_64_sun): New pattern.
3193
c73f67c5
GP
31942011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
3195
3196 * doc/invoke.texi (Overall Options): Improve wording and markup
3197 of the description of -wrapper.
3198
bc4c6f9c
JM
31992011-01-06 Joseph Myers <joseph@codesourcery.com>
3200
3201 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
3202 rdynamic, threads): New Driver options.
3203
adb75db0
RO
32042011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3205
3206 PR target/38118
3207 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
3208 if coming from .tdata.
3209 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3210
402c1cb4
JH
32112011-01-06 Jan Hubicka <jh@suse.cz>
3212
3213 PR lto/47188
3214 * collect2.c (main): Do not enable LTOmode when plugin is active.
3215
a4da6485
RO
32162011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3217
3218 PR other/45915
3219 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
3220 --version output if supported.
3221 * configure: Regenerate.
3222
028dbdf4
JM
32232011-01-06 Joseph Myers <joseph@codesourcery.com>
3224
3225 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
3226 Driver options.
3227
dfe776dd
JJ
32282011-01-06 Jakub Jelinek <jakub@redhat.com>
3229
3230 PR c/47150
3231 * c-convert.c (convert): When converting a complex expression
3232 other than COMPLEX_EXPR to a different complex type, ensure
3233 c_save_expr is called instead of save_expr, unless in_late_binary_op.
3234 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
3235 when converting COMPLEX_TYPE.
3236
210dedfe
IR
32372011-01-06 Ira Rosen <irar@il.ibm.com>
3238
3239 PR tree-optimization/47139
3240 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
3241 only the last reduction value is used outside the loop. Update
3242 documentation.
3243
cd33a412
JM
32442011-01-05 Joseph Myers <joseph@codesourcery.com>
3245
3246 * config/rtems.opt: New.
3247 * config.gcc (*-*-rtems*): Use rtems.opt.
3248
819edd94
CF
32492011-01-05 Changpeng Fang <changpeng.fang@amd.com>
3250
3251 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
3252 processors do not support 3DNow instructions.
3253
dc242c4a
UW
32542011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3255
3256 * config/spu/spu.c (spu_option_override): Set parameter
3257 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
3258
be286227
JH
32592011-01-05 Jan Hubicka <jh@suse.cz>
3260
3261 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
3262 at the command line.
3263
644e637f
MJ
32642011-01-05 Martin Jambor <mjambor@suse.cz>
3265
3266 PR lto/47162
3267 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
3268 deltas on streamed outgoing edges.
3269 (output_node_opt_summary): Output info for outgoing edges only when
3270 the node is in new parameter set.
3271 (output_cgraph_opt_summary): New parameter set, passed to the two
3272 aforementioned functions. Update its forward declaration and its
3273 callee too.
3274
7bd11157
TT
32752011-01-05 Tom Tromey <tromey@redhat.com>
3276
3277 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
3278 operator to c_finish_omp_atomic.
3279 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
3280 (build_unary_op): Update.
3281 (build_modify_expr): Update.
3282 (build_asm_expr): Update.
3283
f626b979
UW
32842011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3285
3286 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
3287 newly inserted insns.
3288 (pad_bb): Likewise.
3289 (spu_emit_branch_hint): Likewise.
3290 (insert_hbrp_for_ilb_runout): Likewise.
3291 (spu_machine_dependent_reorg): Call df_finish_pass after
3292 schedule_insns returns.
3293
4c825c02
UW
32942011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3295
3296 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
3297
5e9fba51
EB
32982011-01-05 Eric Botcazou <ebotcazou@adacore.com>
3299
3300 PR tree-optimization/47005
3301 * tree-sra.c (struct access): Add 'non_addressable' bit.
3302 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
3303 (decide_one_param_reduction): Return 0 if the parameter is passed by
3304 reference and one of the accesses in the group is non_addressable.
3305
3ebb5ca6
EB
33062011-01-04 Eric Botcazou <ebotcazou@adacore.com>
3307
3308 PR tree-optimization/47056
3309 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
3310 (mark_load): Likewise. Handle FUNCTION_DECL specially.
3311 (mark_store): Likewise. Pass STMT to ipa_record_reference.
3312
d5d4d14e
EB
33132011-01-04 Eric Botcazou <ebotcazou@adacore.com>
3314
3315 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
3316 initializer. Skip view conversions from aggregate types.
3317
d996ef70
KT
33182011-01-04 Kai Tietz <kai.tietz@onevision.com>
3319
3320 PR bootstrap/47055
3321 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
3322
017096ca
PT
33232011-01-04 Philipp Thomas <pth@suse.de>
3324
3325 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
3326 obvious typo.
3327
55c623b5
UW
33282011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3329
3330 * function.c (thread_prologue_and_epilogue_insns): Do not crash
3331 on empty epilogue sequences.
3332
b98d6b35
JM
33332011-01-04 Joseph Myers <joseph@codesourcery.com>
3334
3335 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
3336 non-static): New Driver options.
3337
a0d43bac
JZ
33382011-01-04 Jie Zhang <jie@codesourcery.com>
3339
3340 PR driver/47137
3341 * gcc.c (default_compilers[]): Set combinable field to 0
3342 for all assembly languages.
3343
2b18eb32
MX
33442011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
3345
3346 * config/mips/loongson3a.md: New file.
3347 * config/mips/mips.md: Include loongson3a.md.
3348 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
3349 TUNE_LOONGSON_3A.
3350
42a48c4f
EB
33512011-01-03 Eric Botcazou <ebotcazou@adacore.com>
3352
3353 PR middle-end/47017
3354 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
3355 instead of convert_memory_address_addr_space on the base expression.
3356
9c1732c4
UW
33572011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3358
3359 * config/spu/spu.c (spu_option_override): Update error text
3360 for bad -march= / -mtune= values.
3361
aa474365
UW
33622011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3363
3364 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
3365 if branch-hint optimization will be performed.
3366
9766135b
JJ
33672011-01-03 Jakub Jelinek <jakub@redhat.com>
3368
371556ee
JJ
3369 PR tree-optimization/47148
3370 * ipa-split.c (split_function): Convert arguments to
3371 DECL_ARG_TYPE if possible.
3372
1ac12fa2
JJ
3373 PR tree-optimization/47155
3374 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
3375 when computing uns.
3376
9766135b
JJ
3377 PR rtl-optimization/47157
3378 * combine.c (try_combine): If undobuf.other_insn becomes
3379 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
3380 and set *new_direct_jump_p too.
3381
f4a2e571
SP
33822011-01-03 Sebastian Pop <sebastian.pop@amd.com>
3383
3384 PR tree-optimization/47021
3385 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
3386
9f8e43c0
JJ
33872011-01-03 Jakub Jelinek <jakub@redhat.com>
3388
3389 * gcc.c (process_command): Update copyright notice dates.
3390 * gcov.c (print_version): Likewise.
3391 * gcov-dump.c (print_version): Likewise.
3392 * mips-tfile.c (main): Likewise.
3393 * mips-tdump.c (main): Likewise.
3394
1a2e38f3
MJ
33952011-01-03 Martin Jambor <mjambor@suse.cz>
3396
3397 PR tree-optimization/46801
3398 * tree-sra.c (type_internals_preclude_sra_p): Check whether
3399 aggregate fields start at byte boundary instead of the bit-field flag.
3400
56b721c5
L
34012011-01-03 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 PR driver/47137
3404 * gcc.c (main): Revert revision 168407.
3405
839d549b
MJ
34062011-01-03 Martin Jambor <mjambor@suse.cz>
3407
3408 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
3409
4ce99a20 34102011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2fa6eeff
UW
3411
3412 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
3413 vector optab to expand vector/scalar shift, update gimple to vector.
3414
76df0ae6
MJ
34152011-01-03 Martin Jambor <mjambor@suse.cz>
3416
3417 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
3418 a thunk.
3419
ce47fda3
MJ
34202011-01-03 Martin Jambor <mjambor@suse.cz>
3421
3422 PR tree-optimization/46984
3423 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
3424 HOST_WIDE_INT.
3425 (cgraph_create_indirect_edge): Fixed line length.
3426 (cgraph_indirect_call_info): Declare.
3427 (cgraph_make_edge_direct) Update declaration.
3428 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
3429 (cgraph_create_indirect_edge): Use it.
3430 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
3431 callees.
3432 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
3433 the new thunk_delta representation.
3434 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
3435 HOST_WIDE_INT.
3436 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
3437 (ipa_read_indirect_edge_info): Likewise.
3438 * lto-cgraph.c (output_edge_opt_summary): New function.
3439 (output_node_opt_summary): Call it on all outgoing edges.
3440 (input_edge_opt_summary): New function.
3441 (input_node_opt_summary): Call it on all outgoing edges.
3442
1e67fa1f
L
34432011-01-02 H.J. Lu <hongjiu.lu@intel.com>
3444
3445 PR driver/47137
3446 * gcc.c (main): Don't check have_o when settting combine_inputs.
3447
6656b2ac
EB
34482011-01-02 Eric Botcazou <ebotcazou@adacore.com>
3449
3450 * regrename.c: Add general comment describing the pass.
3451 (struct du_head): Remove 'length' field.
3452 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
3453 (regrename_optimize): Do not sort chains. Rework comments, add others.
3454 Force renaming to the preferred class (if any) in the first pass and do
3455 not consider registers that belong to it in the second pass.
3456 (create_new_chain): Do not set 'length' field.
3457 (scan_rtx_reg): Likewise.
3458
bc470c24
JJ
34592011-01-02 Jakub Jelinek <jakub@redhat.com>
3460
4e996296
JJ
3461 PR tree-optimization/47140
3462 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
3463 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
3464 to bit_value_binop.
3465
bc470c24 3466 PR rtl-optimization/47028
6656b2ac
EB
3467 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
3468 parm_birth_insn instead of at the beginning of first bb.
bc470c24 3469
5af62fcd 34702011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
0d52f2a8
MX
3471
3472 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
3473 Remove the word "see" before "@pxref".
3474 * doc/rtl.texi: Remove the word "see" before "@pxref".
3475
0e20c89f
JH
34762011-01-01 Jan Hubicka <jh@suse.cz>
3477
6656b2ac
EB
3478 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
3479 memory.
0e20c89f 3480
220e83ca
KT
34812011-01-01 Kai Tietz <kai.tietz@onevision.com>
3482
3483 PR target/38662
6656b2ac 3484 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
220e83ca 3485
ad41bd84 3486\f
797103eb 3487Copyright (C) 2011 Free Software Foundation, Inc.
ad41bd84
JM
3488
3489Copying and distribution of this file, with or without modification,
3490are permitted in any medium without royalty provided the copyright
3491notice and this notice are preserved.