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