]>
Commit | Line | Data |
---|---|---|
a30f3def DK |
1 | 2010-02-17 Dave Korn <dave.korn.cygwin@gmail.com> |
2 | ||
3 | * config/i386/mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name. | |
4 | ||
2f6c5b27 SB |
5 | 2010-02-17 Steven Bosscher <steven@gcc.gnu.org> |
6 | ||
7 | * gensupport.c (process_one_cond_exec): Derive name for COND_EXEC | |
8 | patterns from predicated pattern. | |
9 | ||
b5e33e04 UB |
10 | 2010-02-17 Uros Bizjak <ubizjak@gmail.com> |
11 | ||
12 | PR target/43103 | |
13 | * config/i386/sse.md (xop_vpermil2<mode>3): Use avxmodesuffixf2c | |
14 | for insn mnemonic suffix. | |
15 | ||
a95740b3 RG |
16 | 2010-02-17 Richard Guenther <rguenther@suse.de> |
17 | ||
18 | * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis | |
19 | to loop PHI nodes. | |
20 | ||
169e464e JJ |
21 | 2010-02-17 Jakub Jelinek <jakub@redhat.com> |
22 | ||
23 | PR debug/42918 | |
24 | * caller-save.c (save_call_clobbered_regs): If BB ends with | |
25 | a DEBUG_INSN, move any notes in between last real insn and the last | |
26 | DEBUG_INSN after the last DEBUG_INSN. | |
27 | ||
5498b6d2 JR |
28 | 2010-02-16 Joern Rennecke <joern.rennecke@embecosm.com> |
29 | ||
30 | * tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): | |
31 | Fix return type. Fix argument type. Explain meaning of return value. | |
32 | ||
b09bae68 RG |
33 | 2010-02-16 Richard Guenther <rguenther@suse.de> |
34 | ||
35 | PR tree-optimization/41043 | |
b5e33e04 | 36 | * tree-vrp.c (vrp_var_may_overflow): Only ask SCEV for real loops. |
b09bae68 RG |
37 | (vrp_visit_assignment_or_call): Do not ask SCEV for regular |
38 | statements ... | |
39 | (vrp_visit_phi_node): ... but only for loop PHI nodes. | |
40 | ||
99f51320 IR |
41 | 2010-02-16 Ira Rosen <irar@il.ibm.com> |
42 | ||
43 | PR tree-optimization/43074 | |
44 | * tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New. | |
45 | * tree-vect-loop.c (vect_analyze_loop_operations): Add | |
46 | vectorizable cycles in hybrid SLP check. | |
47 | * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise. | |
48 | ||
f47e08d9 RG |
49 | 2010-02-16 Richard Guenther <rguenther@suse.de> |
50 | ||
b5e33e04 | 51 | * alias.c (memrefs_conflict_p): Distinguish must-alias from don't know. |
f47e08d9 RG |
52 | (true_dependence): If memrefs_conflict_p computes must-alias |
53 | trust it. Move TBAA check after offset-based disambiguation. | |
54 | (canon_true_dependence): Likewise. | |
55 | ||
ec8c3978 JJ |
56 | 2010-02-16 Alexandre Oliva <aoliva@redhat.com> |
57 | ||
58 | * params.def (PARAM_MAX_VARTRACK_SIZE): New. | |
59 | * doc/invoke.texi: Document it. | |
60 | * var-tracking.c: Include toplev.h and params.h. | |
61 | (vt_find_locations): Return bool indicating success. Compute | |
62 | hash sizes unconditionally. Check new parameter, report. | |
63 | (variable_tracking_main_1): Check vt_find_locations results and | |
64 | retry. Renamed from... | |
65 | (variable_tracking_main): ... this. New wrapper to preserve | |
66 | flag_var_tracking_assignments. | |
67 | * Makefile.in (var-tracking.o): Adjust dependencies. | |
68 | ||
3bf6b403 | 69 | 2010-02-16 Jack Howarth <howarth@bromo.med.uc.edu> |
b5e33e04 | 70 | Jakub Jelinek <jakub@redhat.com> |
3bf6b403 JH |
71 | |
72 | PR target/42854 | |
73 | * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute | |
74 | if weak_import attribute is present. | |
75 | * config/darwin.c (machopic_select_section): Likewise. | |
76 | ||
a934eb2d JR |
77 | 2010-02-15 Joern Rennecke <joern.rennecke@embecosm.com> |
78 | ||
79 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Document. | |
80 | (TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE): Likewise. | |
81 | (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Likewise. | |
82 | (TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK): Likewise. | |
83 | ||
84 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Fix argument types. | |
85 | ||
86 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): | |
87 | Fix argument types. | |
88 | ||
89 | * doc/tm.texi (TARGET_SCHED_DFA_NEW_CYCLE): Add argument names. | |
90 | Rewrite text to refer to the names. | |
91 | ||
02edd2f6 SP |
92 | 2010-02-15 Sebastian Pop <sebastian.pop@amd.com> |
93 | ||
94 | * config/i386/i386-builtin-types.def | |
95 | (V2DF_FTYPE_V2DF_V2DF_V2DI_INT): Declared. | |
96 | (V4DF_FTYPE_V4DF_V4DF_V4DI_INT): Declared. | |
97 | (V4SF_FTYPE_V4SF_V4SF_V4SI_INT): Declared. | |
98 | (V8SF_FTYPE_V8SF_V8SF_V8SI_INT): Declared. | |
99 | * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_VPERMIL2PD, | |
100 | IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256, and | |
101 | IX86_BUILTIN_VPERMIL2PS256. | |
102 | (MULTI_ARG_4_DF2_DI_I): Defined. | |
103 | (MULTI_ARG_4_DF2_DI_I1): Defined. | |
104 | (MULTI_ARG_4_SF2_SI_I): Defined. | |
105 | (MULTI_ARG_4_SF2_SI_I1): Defined. | |
106 | (bdesc_multi_arg): Add __builtin_ia32_vpermil2pd, | |
107 | __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256, and | |
108 | __builtin_ia32_vpermil2ps256. | |
109 | (ix86_expand_multi_arg_builtin): Handle MULTI_ARG_4_DF2_DI_I, | |
110 | MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and | |
111 | MULTI_ARG_4_SF2_SI_I1. Handle builtins with 4 arguments. | |
112 | (ix86_expand_args_builtin): Handle MULTI_ARG_4_DF2_DI_I, | |
113 | MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and | |
114 | MULTI_ARG_4_SF2_SI_I1. Handle CODE_FOR_xop_vpermil2v2df3, | |
115 | CODE_FOR_xop_vpermil2v4sf3, CODE_FOR_xop_vpermil2v4df3, and | |
116 | CODE_FOR_xop_vpermil2v8sf3. | |
117 | * config/i386/i386.md (UNSPEC_VPERMIL2): Declared. | |
118 | * config/i386/sse.md (xop_vpermil2<mode>3): New insn pattern. | |
119 | * config/i386/xopintrin.h (_mm_permute2_pd): New. | |
120 | (_mm256_permute2_pd): New. | |
121 | (_mm_permute2_ps): New. | |
122 | (_mm256_permute2_ps): New. | |
123 | ||
ac447f25 NC |
124 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
125 | ||
126 | * config/h8300/h8300.c: (h8300_push_pop): Use bool type for | |
127 | boolean parameters. Use emit_jump_insn when emitting a pop | |
128 | instruction containing a return insn. | |
b5e33e04 UB |
129 | (push): Use 'true' rather than '1' as second parameter to F. |
130 | (h8300_expand_prologue): Likewise. | |
131 | Use 'true' and 'false' for boolean parameters to h8300_push_pop. | |
132 | (h8300_expand_epilogue): Likewise. | |
ac447f25 | 133 | |
313333a6 RG |
134 | 2010-02-15 Richard Guenther <rguenther@suse.de> |
135 | ||
136 | PR middle-end/43068 | |
137 | * cgraphunit.c (thunk_adjust): Skip adjusting by fixed_offset | |
138 | if that is zero. | |
139 | ||
653958e8 NC |
140 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
141 | ||
142 | * config/mn10300/mn10300.h (FUNCTION_ARG_REGNO_P): Revert previous | |
143 | delta. | |
144 | ||
0f667308 MP |
145 | 2010-02-14 Marco Poletti <poletti.marco@gmail.com> |
146 | ||
147 | * intl.c (fake_ngettext): New function. | |
148 | * intl.h (fake_ngettext): Declare. | |
149 | (ngettext): Define macro. | |
150 | * collect2.c (notice_translated): New function. | |
151 | (main): Use notice_translated and ngettext. | |
152 | * collect2.h (notice_translated): Declare. | |
153 | ||
912eb5a4 SB |
154 | 2010-02-14 Steven Bosscher <steven@gcc.gnu.org> |
155 | ||
156 | * reorg.c (delete_computation): Comment fixes. | |
157 | * caller-save.c (setup_save_areas): Idem. | |
158 | * sel-sched-dump.c (dump_lv_set): Idem. | |
159 | * rtl.def: Idem. | |
160 | ||
244e6c5c AK |
161 | 2010-02-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
162 | ||
163 | * config/s390/s390.c (s390_sched_init): New function. | |
164 | (TARGET_SCHED_INIT): Target hook defined. | |
165 | ||
9ab99933 DK |
166 | 2010-02-12 Dave Korn <dave.korn.cygwin@gmail.com> |
167 | Jack Howarth <howarth@bromo.med.uc.edu> | |
168 | Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> | |
169 | ||
170 | PR target/42982 | |
171 | Partial revert of unintended change in fix for PR41605. | |
172 | * config/darwin.h: Fix typo. | |
173 | * config/darwin9.h: Same. | |
174 | ||
ed5bdeb6 JJ |
175 | 2010-02-11 Jakub Jelinek <jakub@redhat.com> |
176 | ||
177 | * c-pch.c (pch_init): Clear v. | |
178 | ||
f432760f SP |
179 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> |
180 | ||
181 | PR middle-end/42930 | |
182 | * graphite-scop-detection.c (graphite_can_represent_scev): Call | |
183 | graphite_can_represent_init for MULT_EXPR. | |
184 | ||
185 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> | |
186 | ||
187 | PR middle-end/42914 | |
188 | PR middle-end/42530 | |
189 | * graphite-sese-to-poly.c (remove_phi): New. | |
190 | (translate_scalar_reduction_to_array): Call remove_phi. | |
191 | ||
192 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> | |
193 | ||
194 | PR middle-end/42771 | |
195 | * graphite-clast-to-gimple.c (gloog): Call rename_sese_parameters. | |
196 | * graphite-clast-to-gimple.h (gloog): Update declaration. | |
197 | * graphite-poly.c (new_scop): Clear POLY_SCOP_P. | |
198 | * graphite-poly.h (struct poly_bb): Add missing comments. | |
199 | (struct scop): Add poly_scop_p field. | |
200 | (POLY_SCOP_P): New. | |
201 | * graphite-sese-to-poly.c (build_poly_scop): Set POLY_SCOP_P. | |
202 | * graphite.c (graphite_transform_loops): Build the polyhedral | |
203 | representation for each scop before code generation. | |
204 | * sese.c (rename_variables_in_operand): Removed. | |
205 | (rename_variables_in_expr): Return the renamed expression. | |
206 | (rename_sese_parameters): New. | |
207 | * sese.h (rename_sese_parameters): Declared. | |
208 | ||
6d892147 RG |
209 | 2010-02-11 Richard Guenther <rguenther@suse.de> |
210 | ||
211 | PR tree-optimization/42998 | |
212 | * tree-ssa-pre.c (create_expression_by_pieces): Treat | |
213 | POINTER_PLUS_EXPR properly. | |
214 | ||
04eadb13 SP |
215 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> |
216 | Changpeng Fang <changpeng.fang@amd.com> | |
217 | ||
218 | PR middle-end/40886 | |
219 | * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Decrement | |
220 | the cost of an IV candidate when the IV is used in a test against zero. | |
221 | ||
222 | * gcc.dg/tree-ssa/ivopts-3.c: New. | |
223 | ||
91753e21 RG |
224 | 2010-02-11 Richard Guenther <rguenther@suse.de> |
225 | ||
226 | PR lto/41664 | |
227 | * tree-ssa-alias.c (refs_may_alias_p_1): Canonicalize | |
228 | pointer-vs-decl case by swapping refs. Handle some cases | |
229 | of pointer-vs-decl disambiguations more conservatively. | |
230 | * cfgexpand.c (gimple_expand_cfg): Set gimple_df->in_ssa_p | |
231 | to false after expanding. | |
232 | ||
f68df07c RG |
233 | 2010-02-11 Richard Guenther <rguenther@suse.de> |
234 | ||
235 | PR driver/43021 | |
236 | * gcc.c (process_command): Handle LTO file@offset case more | |
237 | appropriately. | |
238 | ||
d2d36740 JJ |
239 | 2010-02-11 Jakub Jelinek <jakub@redhat.com> |
240 | ||
8f6aedba JJ |
241 | * reload1.c (eliminate_regs_1): If insn is DEBUG_INSN, avoid any |
242 | modifications outside of the DEBUG_INSN. Accept CLOBBERs inside | |
243 | of DEBUG_INSNs. | |
244 | (eliminate_regs_in_insn): Eliminate regs even in DEBUG_INSNs. | |
245 | ||
d2d36740 JJ |
246 | * dwarf2out.c (mem_loc_descriptor) <case MEM>: Use DW_OP_deref_size |
247 | if MEM's mode size isn't DWARF2_ADDR_SIZE. | |
248 | (mem_loc_descriptor) <do_scompare>: Allow also VOIDmode arguments. | |
249 | Optimize eq/ne comparisons when both arguments are known to be | |
250 | zero-extended. | |
251 | (mem_loc_descriptor) <do_ucompare>: Allow also VOIDmode arguments. | |
252 | Don't mask operands unnecessarily if they are known to be already | |
253 | zero-extended. | |
254 | ||
56592e03 VM |
255 | 2010-02-10 Vladimir Makarov <vmakarov@redhat.com> |
256 | ||
257 | * ira-conflicts.c (add_insn_allocno_copies): Use find_reg_note | |
258 | instead of loop. | |
259 | ||
5418fe84 RG |
260 | 2010-02-10 Richard Guenther <rguenther@suse.de> |
261 | ||
262 | PR tree-optimization/43017 | |
263 | * tree-vrp.c (vrp_int_const_binop): Trust int_const_binop | |
264 | for wrapping signed arithmetic. | |
265 | ||
92e8e53a JJ |
266 | 2010-02-10 Jakub Jelinek <jakub@redhat.com> |
267 | ||
268 | PR debug/43010 | |
269 | * dwarf2out.c (retry_incomplete_types): Don't call gen_type_die | |
270 | if no debug info should be emitted for it. | |
271 | ||
bd55b817 KK |
272 | 2010-02-10 Kaz Kojima <kkojima@gcc.gnu.org> |
273 | ||
274 | * config/sh/sh.c (find_barrier): Skip call insn with a REG_EH_REGION | |
275 | note when flag_exceptions is set. | |
276 | ||
2ab43a52 DS |
277 | 2010-02-10 Duncan Sands <baldrick@free.fr> |
278 | ||
279 | * Makefile.in (PLUGIN_HEADERS): Add debug.h. | |
280 | ||
d977cb9c RG |
281 | 2010-02-10 Richard Guenther <rguenther@suse.de> |
282 | ||
283 | PR c/43007 | |
284 | * tree.c (get_unwidened): Handle constants. | |
285 | * convert.c (convert_to_integer): Handle TRUNC_DIV_EXPR. | |
286 | ||
563cb662 MJ |
287 | 2010-02-10 Martin Jambor <mjambor@suse.cz> |
288 | ||
289 | PR lto/42985 | |
290 | * ipa-prop.c (ipa_update_after_lto_read): Count parameters and | |
291 | check for variable argument counts independently. | |
292 | ||
9e3c399e CB |
293 | 2010-02-10 Christian Bruel <christian.bruel@st.com> |
294 | ||
295 | PR target/42841 | |
296 | * config/sh/sh.c (find_barrier): Increase length for non delayed | |
297 | conditional branches. | |
298 | ||
e938feb4 CB |
299 | 2010-02-10 Christian Bruel <christian.bruel@st.com> |
300 | ||
301 | * config/sh/sh.c (find_barrier): Don't emit a CP inside the GP setting. | |
302 | ||
cbb1ab10 JJ |
303 | 2010-02-10 Jakub Jelinek <jakub@redhat.com> |
304 | ||
305 | * builtins.c (set_builtin_user_assembler_name): Also handle | |
306 | ffs if int is smaller than word. | |
307 | ||
b09495c1 VM |
308 | 2010-02-09 Vladimir Makarov <vmakarov@redhat.com> |
309 | ||
310 | PR middle-end/42973 | |
311 | * ira-conflicts.c (get_dup): Remove. | |
312 | (process_reg_shuffles): Add new parameter. Use it as an | |
313 | additional guard for copy generation. | |
314 | (add_insn_allocno_copies): Rewrite. | |
315 | ||
57257f0d AM |
316 | 2010-02-09 Alexander Monakov <amonakov@ispras.ru> |
317 | ||
318 | * common.opt (fsched2-use-traces): Preserved for backward | |
319 | compatibility. | |
320 | * doc/invoke.texi: Remove the documentation about option | |
321 | -fsched2-use-traces. | |
322 | * sched-rgn.c (rest_of_handle_sched2): Remove usage of | |
323 | flag_sched2_use_traces. | |
324 | * opts.c (common_handle_option): Add OPT_fsched2_use_traces to | |
325 | the backward compatibility flag section. | |
326 | ||
72d182d3 RG |
327 | 2010-02-09 Richard Guenther <rguenther@suse.de> |
328 | ||
329 | PR tree-optimization/43008 | |
330 | * tree-ssa-structalias.c (handle_lhs_call): Pass in the fndecl, | |
331 | make HEAP variables initialized from global memory if they | |
332 | are not known builtin functions. | |
333 | (find_func_aliases): Adjust. | |
334 | ||
9605a606 RG |
335 | 2010-02-09 Richard Guenther <rguenther@suse.de> |
336 | ||
337 | PR tree-optimization/43000 | |
338 | * tree-vrp.c (vrp_int_const_binop): Only handle unsigned | |
339 | arithmetic manually. | |
340 | ||
8d9eca14 JJ |
341 | 2010-02-08 Jakub Jelinek <jakub@redhat.com> |
342 | ||
343 | PR tree-optimization/42931 | |
344 | * tree-loop-linear.c (try_interchange_loops): Don't call | |
345 | double_int_mul if estimated_loop_iterations failed. | |
346 | ||
d3545524 MJ |
347 | 2010-02-08 Martin Jambor <mjambor@suse.cz> |
348 | ||
349 | PR middle-end/42898 | |
350 | * tree-sra.c (build_accesses_from_assign): Do not mark in | |
351 | should_scalarize_away_bitmap if stmt has volatile ops. | |
352 | (sra_modify_assign): Do not process assigns piecemeal if if stmt | |
353 | has volatile ops. | |
354 | ||
8a9a2486 JR |
355 | 2010-02-08 Joern Rennecke <joern.rennecke@embecosm.com> |
356 | ||
357 | * doc/tm.texi (TARGET_UNWIND_WORD_MODE): Document. | |
358 | ||
7bf25dd6 AN |
359 | 2010-02-07 Adam Nemet <adambnmet@gmail.com> |
360 | ||
361 | * config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment | |
362 | before the pattern. | |
363 | ||
a46edbff AP |
364 | 2010-02-07 Andrew Pinski <pinskia@gmail.com> |
365 | ||
366 | PR middle-end/42946 | |
367 | * df-core.c (df_finish_pass): Change type of saved_flags to int. | |
368 | ||
86da963e SP |
369 | 2010-02-07 Sebastian Pop <sebastian.pop@amd.com> |
370 | ||
371 | PR middle-end/42988 | |
372 | * graphite-dependences.c (dependence_polyhedron): Set PDDR_KIND | |
373 | to unknown_dependence. | |
374 | (graphite_legal_transform_dr): Handle the unknown_dependence. | |
375 | (graphite_carried_dependence_level_k): Same. | |
376 | ||
377 | 2010-02-07 Sebastian Pop <sebastian.pop@amd.com> | |
378 | ||
379 | * ChangeLog.graphite: Remove testsuite/ or gcc/testsuite/. | |
380 | ||
997ac87b RG |
381 | 2010-02-07 Richard Guenther <rguenther@suse.de> |
382 | ||
383 | PR middle-end/42991 | |
384 | * expr.c (get_inner_reference): Always initialize *pbitsize. | |
385 | ||
cb6b911a RG |
386 | 2010-02-07 Richard Guenther <rguenther@suse.de> |
387 | ||
388 | PR middle-end/42956 | |
389 | * gimplify.c (gimple_fold_indirect_ref): Avoid generating | |
390 | new ARRAY_REFs on variable size element or minimal index arrays. | |
391 | Complete. | |
392 | * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use | |
393 | gimple_fold_indirect_ref. | |
394 | ||
b761dbe6 RE |
395 | 2010-02-06 Richard Earnshaw <rearnsha@arm.com> |
396 | ||
397 | PR target/42957 | |
398 | * arm.c (arm_override_options): Just return if the user has specified | |
399 | an invalid fpu name. | |
400 | ||
b2469a9b JM |
401 | 2010-02-03 Jason Merrill <jason@redhat.com> |
402 | ||
403 | PR c++/42870 | |
404 | * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call | |
405 | i386_pe_maybe_record_exported_symbol. | |
406 | ||
1f65437d SE |
407 | 2010-02-05 Steve Ellcey <sje@cup.hp.com> |
408 | ||
409 | PR target/42924 | |
410 | * config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine. | |
411 | (pa_delegitimize_address): New function. | |
412 | ||
126edba2 OS |
413 | 2010-02-05 Ozkan Sezer <sezeroz@gmail.com> |
414 | ||
415 | * config/i386/msformat-c.c (ms_printf_length_specs): Set the | |
416 | scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs. | |
417 | ||
532df904 RG |
418 | 2010-02-05 Richard Guenther <rguenther@suse.de> |
419 | ||
420 | PR lto/42762 | |
421 | * lto-streamer-in.c (get_resolution): Deal with references | |
422 | to undefined functions. | |
423 | ||
5c95f07b RG |
424 | 2010-02-05 Richard Guenther <rguenther@suse.de> |
425 | ||
b5e33e04 | 426 | * tree-ssa-ccp.c (get_symbol_constant_value): Strip all conversions. |
5c95f07b RG |
427 | (fold_const_aggregate_ref): Likewise. |
428 | (ccp_fold_stmt): Substitute loads. | |
429 | (maybe_fold_reference): Verify types before substituting. | |
430 | Unshare properly. | |
431 | (fold_gimple_assign): Unshare properly. | |
b5e33e04 | 432 | (fold_stmt_1): Insert conversion if necessary before replacing the RHS. |
5c95f07b | 433 | |
64aa00b1 NF |
434 | 2010-02-05 Nathan Froyd <froydnj@codesourcery.com> |
435 | ||
436 | * config/rs6000/rs6000.c (rs6000_override_options): Invert check | |
437 | for rs6000_gen_cell_microcode. | |
438 | ||
b0f19292 RG |
439 | 2010-02-04 Richard Guenther <rguenther@suse.de> |
440 | ||
441 | PR rtl-optimization/42952 | |
442 | * dse.c (const_or_frame_p): Remove MEM handling. | |
443 | ||
f7eb48b5 NC |
444 | 2010-02-04 Nick Clifton <nickc@redhat.com> |
445 | ||
446 | * config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. | |
447 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define. | |
448 | (function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM. | |
449 | (mn10300_asm_output_mi_thunk): New function. | |
450 | (mn10300_can_output_mu_thunk): New function. | |
451 | * config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define. | |
452 | (FUNCTION_ARG_REGNO_P): Fix comment. Accept d0 and d1. | |
453 | (FUNCTION_ARG): Delete incorrect comment. | |
454 | ||
2aac1924 JM |
455 | 2010-02-03 Jason Merrill <jason@redhat.com> |
456 | ||
457 | PR c++/40138 | |
458 | * fold-const.c (operand_equal_p): Handle erroneous types. | |
459 | ||
3e5f930f | 460 | 2010-02-03 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
07738b87 KP |
461 | |
462 | * config/h8300/h8300.md (can_delay): Fix attibute condition. | |
463 | ||
a7f3e500 VM |
464 | 2010-02-03 Vladimir Makarov <vmakarov@redhat.com> |
465 | ||
3e5f930f | 466 | PR rtl-optimization/42941 |
a7f3e500 VM |
467 | * sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead |
468 | of xmalloc. | |
469 | ||
59d49708 JM |
470 | 2010-02-03 Jason Merrill <jason@redhat.com> |
471 | ||
472 | PR c++/35652 | |
473 | * builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics. | |
474 | ||
5440c0e7 AO |
475 | 2010-02-03 Alexandre Oliva <aoliva@redhat.com> |
476 | ||
477 | PR debug/42896 | |
478 | * cselib.h (struct cselib_val_struct): Add uid. Rename value to | |
479 | hash. | |
480 | (cselib_reset_table): Renamed from... | |
481 | (cselib_reset_table_with_next_value): ... this. | |
482 | (cselib_get_next_uid): Renamed from... | |
483 | (cselib_get_next_unknown_value): ... this. | |
484 | * cselib.c (next_uid): Renamed from... | |
485 | (next_unknown_value): ... this. | |
486 | (cselib_clear_table): Adjust. | |
487 | (cselib_reset_table): Adjust. Renamed from... | |
488 | (cselib_reset_table_with_next_value): ... this. | |
489 | (cselib_get_next_uid): Adjust. Renamed from... | |
490 | (cselib_get_next_unknown_value): ... this. | |
491 | (get_value_hash): Use hash. | |
492 | (cselib_hash_rtx): Likewise. | |
493 | (new_cselib_val): Adjust. Set and dump uid. | |
494 | (cselib_lookup_mem): Pass next_uid as hash. | |
495 | (cselib_subst_to_values): Likewise. | |
496 | (cselib_log_lookup): Dump uid. | |
497 | (cselib_lookup): Pass next_uid as hash. Adjust. | |
498 | (cselib_process_insn): Adjust. | |
499 | (cselib_init): Initialize next_uid. | |
500 | (cselib_finish): Adjust. | |
501 | (dump_cselib_table): Likewise. | |
502 | * dse.c (canon_address): Dump value uid. | |
503 | * print-rtl.c (print_rtx): Print value uid. | |
504 | * var-tracking.c (VARIABLE_HASH_VAL): Dropped. | |
505 | (dvuid): New type. | |
506 | (dv_uid): New function, sort of renamed from... | |
507 | (dv_htab_hash): ... this, reimplemented in terms of it and... | |
508 | (dv_uid2hash): ... this. New. | |
509 | (variable_htab_eq): Drop excess assertions. | |
510 | (tie_break_pointers): Removed. | |
511 | (canon_value_cmp): Compare uids. | |
512 | (variable_post_merge_New_vals): Print uids. | |
513 | (vt_add_function_parameters): Adjust. | |
514 | (vt_initialize): Reset table. Adjust. | |
515 | ||
e3c70387 RG |
516 | 2010-02-03 Richard Guenther <rguenther@suse.de> |
517 | ||
518 | PR tree-optimization/42944 | |
b5e33e04 | 519 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle calloc. |
e3c70387 RG |
520 | (call_may_clobber_ref_p_1): Likewise. Properly handle |
521 | malloc and calloc clobbering errno. | |
522 | ||
4cad6dba SB |
523 | 2010-02-03 Steven Bosscher <steven@gcc.gnu.org> |
524 | ||
525 | * doc/invoke.texi: Fix name of sched1 dump. | |
526 | ||
527 | * opts.c (decode_options): Set flag_tree_switch_conversion | |
528 | only conditionally on optimize >= 2. | |
529 | ||
530 | * gcse.c: Assorted comment fixes in pass description. | |
531 | ||
693ee8cf AG |
532 | 2010-02-03 Anthony Green <green@moxielogic.com> |
533 | ||
534 | * config/moxie/moxie.c (moxie_asm_trampoline_template): Introduce | |
535 | nop padding in order to maintain alignment of storage location of | |
536 | target function address. | |
537 | (moxie_trampoline_init): Store target function address at newly | |
538 | aligned location. | |
539 | * config/moxie/moxie.h (TRAMPOLINE_ALIGNMENT): Increase alignment | |
540 | to 32. | |
541 | (TRAMPOLINE_SIZE): Increase size by 2 bytes for alignment padding. | |
542 | ||
bf8e3b77 RG |
543 | 2010-02-03 Richard Guenther <rguenther@suse.de> |
544 | ||
545 | PR middle-end/42927 | |
546 | * tree-cfg.c (verify_gimple_assign_binary): Fix shift verification. | |
547 | ||
bde17fdc RO |
548 | 2010-02-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
549 | ||
550 | * config.gcc: Reenable check for obsolete targets. | |
551 | Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*, | |
552 | mips-sgi-irix6.[0-4]*. | |
553 | ||
c9c27b72 NC |
554 | 2010-02-02 Nick Clifton <nickc@redhat.com> |
555 | ||
556 | * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum | |
557 | constant size of 4 as being the same as 0. | |
558 | * doc/invoke.texi (RX Options): Document that -mmax-constant-size | |
559 | can take values in the range 0..4. | |
560 | ||
fc15bd03 JH |
561 | 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu> |
562 | ||
563 | PR java/41991 | |
564 | * unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction() | |
565 | as _darwin10_Unwind_FindEnclosingFunction(). | |
566 | * libgcc-libsystem.ver: New. | |
567 | ||
6eeea7a7 VM |
568 | 2010-02-01 Vladimir Makarov <vmakarov@redhat.com> |
569 | ||
570 | PR target/41399 | |
571 | * sched-deps.c (sched_analyze_insn): Ignore fixed registers for | |
572 | implicitly set registers. | |
573 | ||
87d05b44 RE |
574 | 2010-02-01 Richard Earnshaw <rearnsha@arm.com> |
575 | ||
576 | * arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K. | |
577 | (arm_override_options): Allow automatic selection of the thread | |
578 | pointer register if thumb2. | |
579 | (legitimize_pic_address): Improve code sequences for Thumb2. | |
580 | (arm_call_tls_get_addr): Likewise. | |
581 | (legitimize_tls_address): Likewise. | |
582 | * arm.md (pic_load_addr_arm): Delete. Replace with ... | |
583 | (pic_load_addr_32bit): ... this. New named pattern. | |
584 | * thumb2.md (pic_load_addr_thumb2): Delete. | |
585 | (pic_load_dot_plus_four): Delete. | |
586 | (tls_load_dot_plus_four): New named pattern. | |
587 | ||
cb717ac4 RO |
588 | 2010-02-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
589 | ||
590 | PR libgomp/29986 | |
591 | * doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry. | |
592 | Document fix for TLS bug. | |
593 | ||
44f89620 RG |
594 | 2010-01-31 Richard Guenther <rguenther@suse.de> |
595 | ||
596 | * tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be | |
597 | conservatively correct. | |
598 | ||
747b0aed JDA |
599 | 2010-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
600 | ||
601 | PR target/42850 | |
602 | Revert: | |
603 | 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
604 | ||
605 | * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two. | |
606 | ||
362c6d2f KG |
607 | 2010-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
608 | ||
609 | * doc/install.texi: Update recommended GMP/MPFR/MPC versions. | |
610 | ||
8370a62a KT |
611 | 2010-01-31 Kai Tietz <kai.tietz@onevision.com> |
612 | ||
613 | * config.gcc: Adjust order of makefile fragments for mingw targets. | |
614 | ||
61c7cbf8 RG |
615 | 2010-01-31 Richard Guenther <rguenther@suse.de> |
616 | ||
617 | PR middle-end/42898 | |
618 | * gimplify.c (gimplify_init_constructor): For volatile LHS | |
619 | initialize a temporary. | |
620 | ||
b0a69d20 MK |
621 | 2010-01-31 Matthias Klose <doko@ubuntu.com> |
622 | ||
623 | * configure.ac: Fix __stack_chk_fail check for cross builds configured | |
624 | --with-headers | |
625 | * configure: Regenerate. | |
626 | ||
55eb4dab EB |
627 | 2010-01-29 Eric Botcazou <ebotcazou@adacore.com> |
628 | ||
629 | * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have | |
630 | the same alias set and their sizes different constantness. | |
631 | (aliasing_component_refs_p): Revert 2009-10-24 change. | |
632 | ||
f9e06dbc RO |
633 | 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
634 | ||
635 | * config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl | |
636 | unused. | |
637 | ||
eb6b98c7 RG |
638 | 2010-01-29 Richard Guenther <rguenther@suse.de> |
639 | ||
640 | * tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute. | |
641 | Assert we successfully updated the call. | |
642 | ||
c23cd1d6 JJ |
643 | 2010-01-29 Jakub Jelinek <jakub@redhat.com> |
644 | ||
645 | PR rtl-optimization/42889 | |
646 | * df.h (df_set_bb_dirty_nonlr): New prototype. | |
647 | * df-core.c (df_set_bb_dirty_nonlr): New function. | |
648 | * df-scan.c (df_insn_rescan): Call it instead of | |
649 | df_set_bb_dirty for DEBUG_INSNs. | |
650 | ||
38bc76da RG |
651 | 2010-01-29 Richard Guenther <rguenther@suse.de> |
652 | ||
653 | PR middle-end/37448 | |
654 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Avoid | |
655 | quadratic behavior in most cases. | |
656 | ||
d819472d UB |
657 | 2010-01-28 Uros Bizjak <ubizjak@gmail.com> |
658 | ||
659 | PR target/42891 | |
660 | * config/i386/i386.c (ix86_expand_int_movcc): Convert tmp to SImode | |
661 | in the call to gen_x86_movsicc_0_m1. | |
662 | ||
3ed7d068 RG |
663 | 2010-01-28 Richard Guenther <rguenther@suse.de> |
664 | ||
665 | PR tree-optimization/42871 | |
666 | * tree-ssa-pre.c (phi_translate_set): Make sure to retain | |
667 | leaders. | |
668 | ||
830bc550 RG |
669 | 2010-01-28 Richard Guenther <rguenther@suse.de> |
670 | ||
671 | * tree-ssa-ccp.c (ccp_fold_stmt): Fold calls and propagate | |
672 | into call arguments. | |
673 | ||
28e5ca15 RB |
674 | 2010-01-28 Richard Guenther <rguenther@suse.de> |
675 | ||
676 | PR middle-end/42883 | |
677 | * tree-cfgcleanup.c (remove_forwarder_block): Do not remove | |
678 | the forwarder if the destination is an EH landing pad. | |
679 | ||
680 | 2010-01-28 Razya Ladelsky <razya@il.ibm.com> | |
8adfe01d | 681 | |
d819472d | 682 | * tree-parloops.c (transform_to_exit_first_loop): Update the basic |
8adfe01d RL |
683 | block list passed to gimple_duplicate_sese_tail. |
684 | (parallelize_loops): Avoid parallelization when the function | |
685 | has_nonlocal_label. | |
686 | Avoid parallelization when the preheader is IRREDUCIBLE. | |
687 | Try to optimize when estimated_loop_iterations_int is unresolved. | |
688 | Add the loop's location to the dump file. | |
28e5ca15 | 689 | * tree-cfg.c (add_phi_args_after_redirect): Remove. |
8adfe01d RL |
690 | (gimple_duplicate_sese_tail): Remove the check for the latch. |
691 | Redirect nexits to the exit block. | |
692 | Remove handling of the incoming edges to the latch. | |
693 | Redirect the backedge from the copied latch to the exit bb. | |
694 | ||
3d952fb7 MM |
695 | 2010-01-28 Michael Matz <matz@suse.de> |
696 | ||
697 | PR target/42881 | |
698 | * config/i386/i386.c (ix86_expand_vector_init_duplicate): | |
699 | Wrap force_reg into a sequence, emit it before user. | |
700 | ||
4fc2b1aa ST |
701 | 2010-01-28 Stephen Thomas <stephen.thomas@arm.com> |
702 | ||
703 | * config/arm/arm.md (bswapsi2): Add support for bswapsi2. | |
704 | (arm_rev): New. | |
705 | (arm_legacy_rev): Likewise. | |
706 | (thumb_legacy_rev): Likewise. | |
707 | ||
0f277ad4 JJ |
708 | 2010-01-27 Jakub Jelinek <jakub@redhat.com> |
709 | ||
710 | * dwarf2out.c (mem_loc_descriptor): Remove special casing of | |
711 | CONSTANT_POOL_ADDRESS_P SYMBOL_REFs. If for MEM recursive call | |
712 | on MEM's address failed, try avoid_constant_pool_reference and | |
713 | recurse if it returned something different. | |
714 | (loc_descriptor): If for MEM mem_loc_descriptor failed on the | |
715 | address, try avoid_constant_pool_reference and recurse if it | |
716 | returned something different. | |
717 | (dw_loc_list_1): If for MEM mem_loc_descriptor failed on the | |
718 | address and avoid_constant_pool_reference returned something | |
719 | different, don't set have_address. | |
720 | ||
fb4cbb9f AO |
721 | 2010-01-27 Alexandre Oliva <aoliva@redhat.com> |
722 | ||
723 | PR debug/42861 | |
724 | * var-tracking.c (val_store): Add modified argument, obey it. | |
725 | Adjust callers. | |
726 | (count_uses): Move down logging of main. | |
727 | (compute_bb_dataflow): Use val_store for MO_VAL_USEs that | |
728 | don't need resolution. | |
729 | (emit_notes_in_bb): Likewise. | |
730 | ||
e87da263 RG |
731 | 2010-01-27 Richard Guenther <rguenther@suse.de> |
732 | ||
733 | PR middle-end/42878 | |
734 | * tree-inline.c (remap_decl): Delay remapping of SSA name | |
735 | default definitions until we need them. | |
736 | ||
c6d99cad JJ |
737 | 2010-01-27 Jakub Jelinek <jakub@redhat.com> |
738 | ||
9a78eb71 JJ |
739 | * config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine. |
740 | (rs6000_delegitimize_address): New function. | |
741 | ||
e8d8f497 JJ |
742 | * config/s390/s390.c (s390_delegitimize_address): Call |
743 | delegitimize_mem_from_attrs. | |
744 | ||
c6d99cad JJ |
745 | PR middle-end/42874 |
746 | * tree-inline.c (cannot_copy_type_1): Removed. | |
747 | (copy_forbidden): Don't forbid copying of functions containing | |
748 | records/unions with variable length fields. | |
749 | ||
4f6fee0f CB |
750 | 2010-01-27 Christian Bruel <christian.bruel@st.com> |
751 | ||
752 | Revert: | |
753 | PR target/42841 | |
754 | * config/sh/sh.c (find_barrier): Increase length for non delayed | |
755 | conditional branches. | |
d819472d | 756 | |
cdf6bfb7 MK |
757 | 2010-01-27 Matthias Klose <doko@ubuntu.com> |
758 | ||
759 | * configure.ac (gnu-unique-object): Fix ldd version check. | |
760 | * configure: Regenerate. | |
761 | ||
31b21739 RO |
762 | 2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
763 | ||
764 | * config/sparc/sparc.c (sparc_elf_asm_named_section): Test for | |
765 | HAVE_GNU_AS value. | |
766 | * config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION): | |
767 | Test for HAVE_GNU_AS value. | |
768 | ||
dc4f0670 RO |
769 | 2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
770 | ||
771 | * config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. | |
772 | * config/mips/iris.h (INT8_TYPE, INT16_TYPE, INT32_TYPE, | |
773 | INT64_TYPE): Define. | |
774 | (UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE): Define. | |
775 | (INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE, | |
776 | INT_LEAST64_TYPE): Define. | |
777 | (UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, UINT_LEAST32_TYPE, | |
778 | UINT_LEAST64_TYPE): Define. | |
779 | (INT_FAST8_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE) | |
780 | INT_FAST64_TYPE): Define. | |
781 | (UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE, | |
782 | UINT_FAST64_TYPE): Define. | |
783 | (INTMAX_TYPE, UINTMAX_TYPE): Define. | |
784 | (INTPTR_TYPE, UINTPTR_TYPE): Define. | |
785 | (SIG_ATOMIC_TYPE): Define. | |
786 | ||
a099f7d4 RG |
787 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
788 | ||
789 | * df-scan.c (df_scan_set_bb_info): Remove assert. | |
790 | (df_insn_rescan_debug_internal): Merge asserts. | |
791 | (df_install_ref): Likewise. | |
792 | (df_mark_reg): Use bitmap_set_range. | |
793 | (df_hard_reg_used_p): Remove assert. | |
794 | (df_hard_reg_used_count): Likewise. | |
795 | ||
0d9b0371 RG |
796 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
797 | ||
798 | PR rtl-optimization/42685 | |
799 | * web.c (web_main): Ignore DEBUG_INSNs. | |
800 | ||
7a241624 JR |
801 | 2010-01-26 Joern Rennecke <amylaar@spamcop.net> |
802 | ||
803 | * doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments. | |
804 | ||
805 | (TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter. | |
806 | Fix types of fndecl and arglist parameters. | |
807 | ||
3333cd50 RG |
808 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
809 | ||
810 | PR middle-end/42806 | |
811 | * tree-eh.c (unsplit_eh): Skip debug insns. | |
812 | ||
7f657dde RG |
813 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
814 | ||
815 | PR tree-optimization/42250 | |
816 | * ipa-type-escape.c (type_escape_execute): Do not analyze clones. | |
817 | ||
057dd91d JJ |
818 | 2010-01-26 Jakub Jelinek <jakub@redhat.com> |
819 | ||
820 | PR fortran/42866 | |
821 | * omp-low.c (expand_omp_sections): Only use single_pred if | |
822 | l2_bb is single_pred_p. | |
823 | ||
69b18163 CB |
824 | 2010-01-25 Christian Bruel <christian.bruel@st.com> |
825 | ||
826 | PR target/42841 | |
827 | * config/sh/sh.c (find_barrier): Increase length for non delayed | |
828 | conditional branches. | |
829 | (sh_insn_length_adjustment): Use JUMP_TABLE_DATA_P. | |
830 | ||
00f88f07 DM |
831 | 2010-01-24 David S. Miller <davem@davemloft.net> |
832 | ||
31b21739 | 833 | * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only |
00f88f07 | 834 | define if not using GAS. |
31b21739 | 835 | * config/sparc/sparc.c (sparc_elf_asm_named_section): |
00f88f07 DM |
836 | Likewise. Delete SECTION_MERGE code, which is only applicable |
837 | when using GAS. | |
838 | ||
d147cbd9 MM |
839 | 2010-01-24 Mark Mitchell <mark@codesourcery.com> |
840 | ||
841 | PR c++/42748 | |
842 | * config/arm/arm.c (arm_mangle_type): Do not warn about changes to | |
843 | mangling of va_list in system headers. | |
844 | ||
a90352a0 TM |
845 | 2010-01-23 Toon Moene <toon@moene.org> |
846 | ||
847 | * tree-predcom.c (combine_chains): Return NULL, not false. | |
848 | ||
e96d7dd7 JR |
849 | 2010-01-23 Joern Rennecke <amylaar@spamcop.net> |
850 | ||
851 | * tree-loop-distribution.c (distribute_loop): Fix declaration and | |
852 | initialization of variable res to agree with return type. | |
853 | ||
65c0a517 SE |
854 | 2010-01-22 Steve Ellcey <sje@cup.hp.com> |
855 | ||
856 | * Makefile.in (tree-sra.o): Add $(EXPR_H) dependency. | |
857 | * tree-sra.c: Add include of expr.h. | |
858 | ||
c47987fa JJ |
859 | 2010-01-22 Jakub Jelinek <jakub@redhat.com> |
860 | ||
861 | * tree-into-ssa.c (maybe_register_def): If stmt ends the bb, | |
862 | insert the debug stmt on the single non-EH edge from the stmt. | |
863 | ||
002cda0a RH |
864 | 2010-01-22 Richard Henderson <rth@redhat.com> |
865 | ||
866 | PR tree-opt/42833 | |
867 | * tree-sra.c (sra_modify_assign): Delay re-gimplification of | |
868 | the RHS until after generate_subtree_copies has insertted its | |
869 | code before the current statement. | |
870 | ||
728d406c JR |
871 | 2010-01-22 Joern Rennecke <amylaar@spamcop.net> |
872 | ||
873 | * doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type. | |
874 | ||
45bbb86d JR |
875 | * gcc-plugin.h (plugin_init): Use "C" likage for c++. |
876 | ||
7744b697 MJ |
877 | 2010-01-21 Martin Jambor <mjambor@suse.cz> |
878 | ||
879 | PR tree-optimization/42585 | |
880 | * tree-sra.c (struct access): New field grp_total_scalarization. | |
881 | (dump_access): Dump the new field. | |
882 | (should_scalarize_away_bitmap): New variable. | |
883 | (cannot_scalarize_away_bitmap): Likewise. | |
884 | (sra_initialize): Allocate new bitmaps. | |
885 | (sra_deinitialize): Free new bitmaps. | |
886 | (create_access_1): New function. | |
887 | (create_access): Parts moved to create_access_1. | |
888 | (type_consists_of_records_p): New function. | |
889 | (completely_scalarize_record): Likewise. | |
890 | (build_access_from_expr): Set bit in cannot_scalarize_away_bitmap. | |
891 | (build_accesses_from_assign): Set bits in should_scalarize_away_bitmap. | |
892 | (sort_and_splice_var_accesses): Hint groups with a total_scalarization | |
893 | access. | |
894 | (analyze_all_variable_accesses): Completely scalarize small eligible | |
895 | records. | |
896 | ||
fff08961 MJ |
897 | 2010-01-21 Martin Jambor <mjambor@suse.cz> |
898 | ||
899 | * tree-sra.c (build_ref_for_offset_1): Allow for zero size fields. | |
900 | ||
a288b143 AH |
901 | 2010-01-21 Andrew Haley <aph@redhat.com> |
902 | ||
d819472d UB |
903 | * gcc.c (process_command): Move lang_specific_driver before |
904 | setting cc_libexec_prefix. | |
a288b143 | 905 | |
4e62a017 RG |
906 | 2010-01-21 Richard Guenther <rguenther@suse.de> |
907 | ||
908 | PR middle-end/19988 | |
909 | * fold-const.c (negate_expr_p): Pretend only negative | |
910 | real constants are easily negatable. | |
911 | ||
ebf0bf7f JJ |
912 | 2010-01-20 Janis Johnson <janis187@us.ibm.com> |
913 | Jason Merrill <jason@redhat.com> | |
914 | ||
915 | * tree.h (TYPE_TRANSPARENT_UNION): Replace with ... | |
916 | (TYPE_TRANSPARENT_AGGR): this, for union and record. | |
917 | * calls.c (initialize argument_information): Handle it. | |
918 | * c-common.c (handle_transparent_union_attribute): Use new name. | |
919 | * c-decl.c (finish_struct): Ditto. | |
920 | * c-typeck.c (type_lists_compatible_p): Ditto. | |
921 | (convert_for_assignment): Use new name and also handle record. | |
922 | * function.c (aggregate_value_p): Handle it. | |
923 | (pass_by_reference): Ditto. | |
924 | (assign_parm_data_types): Ditto. | |
925 | * print-tree.c (print_node): Ditto. | |
926 | * lto-streamer-in.c (unpack_ts_type_value_fields): Ditto. | |
927 | * lto-streamer-out.c (pack_ts_type_value_fields): Ditto. | |
928 | * tree.c (first_field): New fn. | |
929 | ||
907c6efd DK |
930 | 2010-01-21 Dave Korn <dave.korn.cygwin@gmail.com> |
931 | ||
932 | PR target/42818 | |
933 | * config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers, | |
934 | even when linking statically, for now. | |
935 | ||
f827f659 AO |
936 | 2010-01-20 Alexandre Oliva <aoliva@redhat.com> |
937 | ||
938 | PR debug/42715 | |
939 | * var-tracking.c (use_type): Choose MO_VAL_SET for REGs set | |
940 | without a cselib val. | |
941 | (count_uses): Accept MO_VAL_SET with no val on stores. | |
942 | (add_stores): Likewise. | |
943 | ||
a85caf9e JJ |
944 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
945 | ||
946 | * var-tracking.c (check_value_val): Add a compile time assertion. | |
947 | (dv_is_decl_p): Simplify. | |
948 | (dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use | |
949 | gcc_assert if ENABLE_CHECKING. | |
950 | ||
4a4d4c08 AO |
951 | 2010-01-20 Alexandre Oliva <aoliva@redhat.com> |
952 | ||
953 | PR debug/42782 | |
954 | * var-tracking.c: Include tree-flow.h. | |
955 | (mem_dies_at_call): New. | |
956 | (dataflow_set_preserve_mem_locs): Use it. | |
957 | (dataflow_set_remove_mem_locs): Likewise. | |
958 | (dump_var): Renamed from dump_variable. Adjust all callers. | |
959 | (dump_var_slot): Renamed from dump_variable_slot. Likewise. | |
960 | * Makefile.in (var-tracking.o): Adjust deps. | |
961 | ||
50e87e30 JR |
962 | 2010-01-20 Joern Rennecke <amylaar@spamcop.net> |
963 | ||
964 | * doc/tm.texi (TARGET_SCHED_SET_SCHED_FLAGS): Fix argument list. | |
965 | ||
e9a8afaa RG |
966 | 2010-01-20 Richard Guenther <rguenther@suse.de> |
967 | ||
968 | PR tree-optimization/42717 | |
969 | * tree-ssa-dce.c (get_live_post_dom): Remove. | |
970 | (forward_edge_to_pdom): Take an arbitrary edge to copy | |
971 | degenerate PHI args from. | |
972 | (remove_dead_stmt): Use the first post-dominator even if it | |
973 | does not contain live statements as redirection destination. | |
974 | ||
be2fd187 RG |
975 | 2010-01-20 Richard Guenther <rguenther@suse.de> |
976 | ||
977 | * tree-inline.c (estimate_num_insns): Handle EH builtins. | |
978 | ||
1124098b JJ |
979 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
980 | ||
981 | * sel-sched.c (create_speculation_check): Remove set but not used | |
982 | variable twin. | |
983 | (try_transformation_cache): Remove set but not used variable ds. | |
984 | (calculate_privileged_insns): Remove set but not used variables | |
985 | cur_insn and min_spec_insn. | |
986 | (find_best_expr): Remove set but not used variable avail_n. | |
987 | * tree-predcom.c (base_names_in_chain_on): Remove set but not used | |
988 | variable e. | |
989 | * cgraphunit.c (assemble_thunk): Remove set but not used variable | |
990 | false_label. | |
991 | * haifa-sched.c (remove_notes): Remove set but not used variable prev. | |
992 | * graphite-clast-to-gimple.c (gloog): Remove set but not used variable | |
993 | new_scop_exit_edge. | |
994 | ||
83a5ef25 FW |
995 | 2010-01-20 Felyza Wishbringer <fwishbringer@gmail.com> |
996 | ||
997 | PR bootstrap/42786 | |
998 | * config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx | |
999 | cpu types. Add support for *-sse3 cpu types. | |
1000 | (x86_64-*-*): Ditto. | |
1001 | ||
b5c0899b JJ |
1002 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
1003 | ||
1004 | PR middle-end/42803 | |
1005 | * varasm.c (narrowing_initializer_constant_valid_p): Add CACHE | |
1006 | argument, call initializer_constant_valid_p_1 instead of | |
1007 | initializer_constant_valid_p, pass CACHE to it, return NULL | |
1008 | immediately if first call returns NULL. | |
1009 | (initializer_constant_valid_p_1): New function. | |
1010 | (initializer_constant_valid_p): Use it. | |
1011 | ||
5f8f3f94 TQ |
1012 | 2010-01-20 Thomas Quinot <quinot@adacore.com> |
1013 | ||
1014 | * tree.def (PLACEHOLDER_EXPR): Fix comment. | |
1015 | ||
80c35b40 JJ |
1016 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
1017 | ||
1018 | * dwarf2out.c (mem_loc_descriptor): Use DW_OP_mod for UMOD instead | |
1019 | of MOD, handle MOD using DW_OP_{over,over,div,mul,minus}. | |
1020 | (loc_list_from_tree): Don't handle unsigned division. Handle | |
1021 | signed modulo using DW_OP_{over,over,div,mul,minus}. | |
1022 | * unwind-dw2.c (execute_stack_op): Handle DW_OP_mod using unsigned | |
1023 | modulo instead of signed. | |
1024 | ||
c72ea086 DD |
1025 | 2010-01-20 DJ Delorie <dj@redhat.com> |
1026 | ||
1027 | * config/h8300/h8300.c (F): Add "in_epilogue" flag. | |
1028 | (Fpa): Pass it | |
1029 | (h8300_emit_stack_adjustment): Propogate it. | |
1030 | (push): Pass it. | |
1031 | (h8300_expand_prologue): Likewise. | |
1032 | (h8300_expand_epilogue): Likewise. | |
1033 | ||
b61b1f17 MM |
1034 | 2010-01-19 Michael Matz <matz@suse.de> |
1035 | ||
1036 | PR tree-optimization/41783 | |
1037 | * tree-data-ref.c (toplevel): Include flags.h. | |
1038 | (dump_data_dependence_relation): Also dump the inputs if the | |
1039 | result will be unknown. | |
1040 | (split_constant_offset_1): Look through some conversions. | |
1041 | * tree-predcom.c (determine_roots_comp): Restart a new chain if | |
1042 | the offset from last element is too large. | |
1043 | (ref_at_iteration): Deal also with MISALIGNED_INDIRECT_REF. | |
1044 | (reassociate_to_the_same_stmt): Handle vector registers. | |
1045 | * tree-vect-data-refs.c (vect_equal_offsets): Handle unary operations | |
1046 | (e.g. conversions). | |
31b21739 | 1047 | * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add |
b61b1f17 MM |
1048 | wide_prolog_niters argument, emit widening instructions. |
1049 | (vect_do_peeling_for_alignment): Adjust caller, use widened | |
1050 | variant of the iteration cound. | |
1051 | * Makefile.in (tree-data-ref.o): Add $(FLAGS_H). | |
1052 | ||
b3d7e191 RR |
1053 | 2010-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
1054 | ||
b61b1f17 MM |
1055 | PR target/38697 |
1056 | * config/arm/neon-testgen.m (emit_automatics): New parameter | |
b3d7e191 RR |
1057 | features. Adjust for Fixed_return_reg feature. |
1058 | (test_intrinsic): Call emit_automatics with new feature. | |
b61b1f17 | 1059 | * config/arm/neon.ml: Update copyright years. |
b3d7e191 RR |
1060 | (features): New Fixed_return_reg feature. |
1061 | (ops): Update feature for Vget_low. | |
1062 | ||
2178b0f9 JJ |
1063 | 2010-01-19 Jakub Jelinek <jakub@redhat.com> |
1064 | ||
d6600130 JJ |
1065 | PR tree-optimization/42719 |
1066 | * tree-outof-ssa.c (trivially_conflicts_p): Don't consider debug | |
1067 | stmt uses. | |
1068 | ||
2178b0f9 JJ |
1069 | PR debug/42728 |
1070 | * fwprop.c (all_uses_available_at): Return false if def_set dest | |
1071 | is a REG that is used in def_insn. | |
1072 | ||
ab7e224a JR |
1073 | 2010-01-19 Joern Rennecke <amylaar@spamcop.net> |
1074 | ||
1075 | * doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names. | |
1076 | ||
1077 | (TARGET_CC_MODES_COMPATIBLE): Put return value in braces. | |
1078 | Add argument names. | |
1079 | ||
1080 | (TARGET_SCHED_INIT_SCHED_CONTEXT): Clarify language. | |
1081 | ||
f7154d49 JR |
1082 | * target.h (struct gcc_target) <secondary_reload>: Change type |
1083 | of last argument to secondary_reload_info *. | |
1084 | ||
f249b405 UB |
1085 | 2010-01-18 Uros Bizjak <ubizjak@gmail.com> |
1086 | ||
1087 | PR target/42774 | |
1088 | * config/alpha/predicates.md (aligned_memory_operand): Return 0 for | |
1089 | memory references with unaligned offsets. Remove CQImode handling. | |
1090 | (unaligned_memory_operand): Return 1 for memory references with | |
1091 | unaligned offsets. Remove CQImode handling. | |
1092 | ||
e23817b3 RG |
1093 | 2010-01-18 Richard Guenther <rguenther@suse.de> |
1094 | ||
1095 | PR middle-end/39954 | |
1096 | * cfgexpand.c (expand_call_stmt): TER pointer arguments in | |
1097 | builtin calls. | |
1098 | ||
1cfd38be RG |
1099 | 2010-01-18 Richard Guenther <rguenther@suse.de> |
1100 | ||
1101 | PR tree-optimization/42781 | |
1102 | * tree-ssa-structalias.c (find_what_var_points_to): Skip | |
b5e33e04 | 1103 | restrict processing only if the original variable was artificial. |
1cfd38be | 1104 | |
72392b81 JR |
1105 | 2010-01-18 Joern Rennecke <amylaar@spamcop.net> |
1106 | ||
1107 | * doc/tm.texi (TARGET_ASM_FUNCTION_EPILOGUE): Update text on where to | |
1108 | find number of popped argument bytes. | |
1109 | ||
1110 | (TARGET_INVALID_WITHIN_DOLOOP): Put return value in braces. | |
1111 | Fix the text that describes the return value for invalid insns. | |
1112 | ||
1113 | (TARGET_SCHED_NEEDS_BLOCK_P): Fix return type. Fix argument list. | |
1114 | ||
1115 | (TARGET_SCHED_IS_COSTLY_DEPENDENCE): Fix argument types. | |
1116 | Clarify what 'cost of the -dependence' is. Fix quoting. | |
1117 | ||
0678ade0 JR |
1118 | * toplev.c (default_get_pch_validity): Rename argument to "sz". |
1119 | * doc/tm.texi (TARGET_GET_PCH_VALIDITY): Likewise. | |
1120 | ||
e5165811 JJ |
1121 | 2010-01-17 Jakub Jelinek <jakub@redhat.com> |
1122 | ||
1123 | * dwarf2out.c (mem_loc_descriptor): Don't ICE on | |
1124 | {S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}. | |
1125 | ||
3b3f318a RG |
1126 | 2010-01-17 Richard Guenther <rguenther@suse.de> |
1127 | ||
1128 | PR middle-end/42248 | |
1129 | * function.c (split_complex_args): Take a VEC to modify. | |
1130 | (assign_parms_augmented_arg_list): Build a VEC instead of | |
1131 | a chain of PARM_DECLs. | |
1132 | (assign_parms_unsplit_complex): Take a VEC of arguments. | |
1133 | Do not fixup unmodified parms. | |
1134 | (assign_parms): Deal with the VEC. | |
1135 | (gimplify_parameters): Likewise. | |
1136 | ||
8eacd016 RG |
1137 | 2010-01-17 Richard Guenther <rguenther@suse.de> |
1138 | ||
1139 | * tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI | |
1140 | node existence check. | |
1141 | * tree-vect-loop.c (vect_analyze_loop_form): Likewise. | |
1142 | * tree-cfgcleanup.c (merge_phi_nodes): Likewise. | |
1143 | * tree-ssa-dce.c (forward_edge_to_pdom): Likewise. | |
1144 | * tree-cfg.c (gimple_execute_on_growing_pred): Likewise. | |
1145 | (gimple_execute_on_growing_pred): Likewise. | |
1146 | ||
9adf0570 RG |
1147 | 2010-01-17 Richard Guenther <rguenther@suse.de> |
1148 | ||
1149 | PR tree-optimization/42773 | |
1150 | * tree-ssa-pre.c (phi_translate_set): Fix check for PHI node existence. | |
1151 | (compute_antic_aux): Likewise. | |
1152 | (compute_partial_antic_aux): Likewise. | |
1153 | ||
a90110c3 JZ |
1154 | 2010-01-17 Jie Zhang <jie.zhang@analog.com> |
1155 | ||
1156 | PR debug/42767 | |
1157 | * dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE | |
1158 | and US_TRUNCATE. | |
1159 | ||
914d25dc JR |
1160 | 2010-01-17 Joern Rennecke <amylaar@spamcop.net> |
1161 | ||
1162 | * doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of | |
1163 | appearance. | |
1164 | ||
1165 | (TARGET_LEGITIMATE_ADDRESS_P): Add return type. | |
1166 | Fix markup for strict argument. | |
1167 | ||
1168 | (TARGET_SCHED_REORDER2): Fix argument types. | |
1169 | ||
1170 | (TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type. | |
1171 | (TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise. | |
1172 | ||
1173 | (TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name. | |
1174 | (TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise. | |
1175 | ||
1176 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): | |
1177 | Add argument name. | |
1178 | ||
1179 | (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation. | |
1180 | (TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise. | |
1181 | (TARGET_SCHED_SET_SCHED_CONTEXT): Likewise. | |
1182 | (TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise. | |
1183 | (TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise. | |
1184 | ||
1185 | (TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo. | |
1186 | ||
1187 | (TARGET_SCHED_GEN_SPEC_CHECK): Fix name. | |
1188 | ||
1189 | (TARGET_ASM_RELOC_RW_MASK): Add return type. | |
1190 | (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type. | |
1191 | ||
1192 | (TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter. | |
1193 | ||
1194 | (TARGET_ASM_FILE_START): Put @findex before paragraph start. | |
1195 | Use prototype. | |
1196 | ||
1197 | (TARGET_ASM_NAMED_SECTION): Fix argument list. | |
1198 | ||
1199 | (TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr. | |
1200 | (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise. | |
1201 | ||
1202 | (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr. | |
1203 | ||
1204 | (TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types. | |
1205 | ||
1206 | (TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup | |
1207 | referring to it. Fix language. | |
1208 | ||
1209 | (TARGET_HAVE_CTORS_DTORS): Use @deftypevr. | |
1210 | ||
1211 | (TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument. | |
1212 | ||
1213 | (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types. | |
1214 | ||
1215 | (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument. | |
1216 | ||
1217 | (TARGET_UNWIND_EMIT): Remove space between 'FILE *' and | |
1218 | '@var{stream}. Remove stray 'and'. | |
1219 | ||
1220 | (TARGET_ARM_EABI_UNWINDER): Use @deftypevr. | |
1221 | ||
1222 | (TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument. | |
1223 | ||
1224 | (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article. | |
1225 | ||
31b21739 | 1226 | (TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was |
914d25dc JR |
1227 | misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P. |
1228 | ||
1229 | (TARGET_GET_PCH_VALIDITY): Put 'void *' in braces. | |
1230 | Fix description of return value. | |
1231 | Rename argument "sz" to "len." | |
1232 | ||
1233 | (TARGET_CXX_GUARD_MASK_BIT): Add missing article. | |
1234 | Clarify meaning of 'true' return value. | |
1235 | ||
1236 | (TARGET_SHIFT_TRUNCATION_MASK): Fix return type. | |
1237 | ||
1238 | (TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of | |
1239 | rep_mode versus mode_rep. | |
1240 | ||
1241 | (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document. | |
1242 | ||
1243 | (TARGET_BUILTIN_DECL): Fix name. | |
1244 | ||
1245 | (TARGET_COMMUTATIVE_P): Fix type of first argument. | |
1246 | ||
1247 | (TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL. | |
1248 | ||
1249 | (TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type. | |
1250 | ||
1251 | (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook. | |
1252 | ||
1253 | (TARGET_RELAXED_ORDERING): Use @deftypevr. | |
1254 | ||
1255 | (TARGET_GET_DRAP_RTX): Note that this is a hook. | |
1256 | Clarify language. | |
1257 | ||
5eb7ce91 JR |
1258 | (TARGET_BUILTIN_RECIPROCAL): Fix argument types. |
1259 | Rename argument tm_fn to md_fn. | |
1260 | ||
d2143a2f JR |
1261 | (TARGET_OPTION_PRINT): Fix argument list. |
1262 | ||
8f7fd2da HJ |
1263 | 2010-01-16 Harsha Jagasia <harsha.jagasia@amd.com> |
1264 | ||
1265 | PR target/42664 | |
1266 | * config/i386/i386.c (ix86_fixup_binary_operands): | |
1267 | Revert FMA4 fixup of operands. | |
1268 | ||
2fdb618d RW |
1269 | 2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1270 | ||
1271 | PR gcc/42525 | |
1272 | * Makefile.in (write_entries_to_file, install-plugin): | |
1273 | Use \012 instead of \n with tr. | |
1274 | ||
636cf8b1 RS |
1275 | 2010-01-16 Richard Sandiford <r.sandiford@uk.ibm.com> |
1276 | ||
1277 | * configure.ac (HAVE_AS_REF): New C macro. | |
1278 | * configure: Regenerate. | |
1279 | * config.in: Likewise. | |
1280 | * collect2.c (main): Only postpone SCAN_DWEH to the second pass | |
1281 | if HAVE_AS_REF. | |
1282 | * config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define | |
1283 | if HAVE_AS_REF. | |
1284 | ||
b6fd8800 JR |
1285 | 2010-01-16 Joern Rennecke <amylaar@spamcop.net> |
1286 | ||
1287 | * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types. | |
1288 | ||
1289 | (TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types. | |
1290 | ||
1291 | (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types. | |
1292 | ||
1293 | (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces. | |
1294 | ||
1295 | (TARGET_IN_SMALL_DATA_P): Fix argument type. | |
1296 | ||
1297 | (TARGET_BINDS_LOCAL_P): Fix argument type. | |
1298 | ||
1299 | (TARGET_ASM_FILE_END): Use prototype. | |
1300 | ||
1301 | (TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces. | |
1302 | ||
1303 | (TARGET_DWARF_CALLING_CONVENTION): Fix argument type. | |
1304 | ||
1305 | (TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types. | |
1306 | ||
1307 | (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type. | |
1308 | ||
1309 | (TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces. | |
1310 | (TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise. | |
1311 | ||
1312 | (TARGET_PCH_VALID_P): Put 'const char *' in braces. | |
1313 | (TARGET_CHECK_PCH_TARGET_FLAGS): Likewise. | |
1314 | ||
1315 | (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces. | |
1316 | (TARGET_ADDR_SPACE_SUBSET_P): Likewise. | |
1317 | (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces. | |
1318 | (TARGET_ADDR_SPACE_CONVERT): Likewise. | |
1319 | ||
1320 | (TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces. | |
1321 | ||
1322 | (TARGET_MACHINE_DEPENDENT_REORG: Use prototype. | |
1323 | ||
1324 | (TARGET_INIT_BUILTINS): Use prototype. | |
1325 | ||
1326 | (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN): | |
1327 | Put 'const char *' in braces. Fix parameter types. | |
1328 | (TARGET_INVALID_CONVERSION): Fix parameter types. | |
1329 | (TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise. | |
1330 | (TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise. | |
1331 | ||
1332 | (TARGET_PROMOTED_TYPE): Remove braces around 'tree'. | |
1333 | Fix argument type. | |
1334 | ||
1335 | (TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'. | |
1336 | ||
1337 | (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'. | |
1338 | ||
9ddb66ef JR |
1339 | 2010-01-15 Joern Rennecke <amylaar@spamcop.net> |
1340 | ||
1341 | * doc/tm.texi (TARGET_HELP): Fix return type. | |
1342 | ||
1343 | (TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode' | |
1344 | in braces. Fix argument types. | |
1345 | ||
1346 | (TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype. | |
1347 | ||
1348 | (TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype. | |
1349 | ||
1350 | (TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type. | |
1351 | ||
1352 | (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces. | |
1353 | (TARGET_FIXED_POINT_SUPPORTED_P): Likewise. | |
1354 | ||
1355 | (TARGET_MANGLE_TYPE): Fix argument types. | |
1356 | ||
1357 | (TARGET_IRA_COVER_CLASSES): Use prototype. | |
1358 | ||
1359 | (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type. Use prototype. | |
1360 | ||
1361 | (TARGET_CAN_ELIMINATE): Use identifiers for argument names. | |
1362 | ||
1363 | (TARGET_PROMOTE_PROTOTYPES): Fix argument type. | |
1364 | ||
1365 | (TARGET_MUST_PASS_IN_STACK): Fix argument type. | |
1366 | ||
1367 | (TARGET_CALLEE_COPIES): Fix argument types. | |
1368 | ||
1369 | (TARGET_SPLIT_COMPLEX_ARG): Fix argument type. | |
1370 | ||
1371 | (TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types. | |
1372 | ||
1373 | (TARGET_FUNCTION_VALUE): Fix argument types. | |
1374 | ||
1375 | (TARGET_RETURN_IN_MSB): Fix argument type. | |
1376 | ||
1377 | (TARGET_RETURN_IN_MEMORY): Fix argument types. | |
1378 | ||
1379 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types. | |
1380 | ||
1381 | (TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type. | |
1382 | ||
1383 | (TARGET_STRICT_ARGUMENT_NAMING): Make literal in text | |
1384 | agree with return type. | |
1385 | ||
1386 | (TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype. | |
1387 | ||
4a62494d JY |
1388 | 2010-01-15 Jing Yu <jingyu@google.com> |
1389 | ||
1390 | PR rtl-optimization/42691 | |
1391 | * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set | |
1392 | a pseudo to a constant and are merged, and adjust comments. | |
1393 | ||
a1b5171b EB |
1394 | 2010-01-15 Eric Botcazou <ebotcazou@adacore.com> |
1395 | ||
1396 | * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo. | |
1397 | ||
1197e789 RG |
1398 | 2010-01-15 Richard Guenther <rguenther@suse.de> |
1399 | ||
1400 | PR middle-end/42739 | |
1401 | * tree-cfgcleanup.c (remove_forwarder_block): Move destination | |
1402 | labels of computed or non-local gotos to the destination. | |
1403 | * tree-cfg.c (gimple_verify_flow_info): Verify that a EH | |
1404 | landing pad label is the first label. | |
1405 | ||
cbe80ff8 RG |
1406 | 2010-01-15 Richard Guenther <rguenther@suse.de> |
1407 | ||
1408 | * tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru. | |
1409 | ||
c919858d MM |
1410 | 2010-01-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
1411 | ||
1412 | PR target/42747 | |
1413 | * config/rs6000/rs6000.md (sqrtdf2): Split into expander and insn | |
1414 | to allow generation of the xssqrtdp instruction on power7. | |
1415 | (sqrtdf2_fpr): Ditto. | |
1416 | ||
5b1cbe14 JJ |
1417 | 2010-01-14 Jakub Jelinek <jakub@redhat.com> |
1418 | ||
ef5d1181 JJ |
1419 | PR middle-end/42674 |
1420 | * c-decl.c (finish_function): Don't emit -Wreturn-type warnings in | |
1421 | functions with noreturn attribute. | |
1422 | ||
5b1cbe14 JJ |
1423 | PR c++/42608 |
1424 | * varasm.c (declare_weak): Add weak attribute to decl if it | |
1425 | doesn't have one already. | |
1426 | (assemble_external): Only add decls to weak_decls if they also | |
1427 | have weak attribute. | |
1428 | ||
7d2a8452 AO |
1429 | 2010-01-14 Alexandre Oliva <aoliva@redhat.com> |
1430 | ||
1431 | * var-tracking.c (var_reg_delete): Don't delete the association | |
1432 | between REGs and values or one-part variables if the register | |
1433 | isn't clobbered. | |
1434 | ||
d17af147 JJ |
1435 | 2010-01-14 Jakub Jelinek <jakub@redhat.com> |
1436 | ||
1437 | PR debug/42657 | |
1438 | * tree-inline.c (copy_debug_stmt): Don't reset debug stmt just | |
1439 | because its first operand is a non-localized variable. | |
1440 | ||
2f3cdcf5 MJ |
1441 | 2010-01-14 Martin Jambor <mjambor@suse.cz> |
1442 | ||
1443 | PR tree-optimization/42706 | |
1444 | * tree-sra.c (encountered_recursive_call): New variable. | |
1445 | (encountered_unchangable_recursive_call): Likewise. | |
1446 | (sra_initialize): Initialize both new variables. | |
1447 | (callsite_has_enough_arguments_p): New function. | |
1448 | (scan_function): Call decl and flags check only for IPA-SRA, check | |
1449 | whether there is a recursive call and whether it has enough arguments. | |
1450 | (all_callers_have_enough_arguments_p): New function. | |
1451 | (convert_callers): Look for recursive calls only when | |
1452 | encountered_recursive_call is set. | |
1453 | (ipa_early_sra): Bail out either if | |
1454 | !all_callers_have_enough_arguments_p or | |
1455 | encountered_unchangable_recursive_call. | |
1456 | ||
c02e2d5c AM |
1457 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
1458 | ||
1459 | * sel-sched.c: Add 2010 to copyright years. | |
1460 | * sel-sched-ir.c: Likewise. | |
1461 | * sel-sched-ir.h: Likewise. | |
1462 | ||
92e97cdd MJ |
1463 | 2010-01-14 Martin Jambor <mjambor@suse.cz> |
1464 | ||
1465 | PR tree-optimization/42714 | |
1466 | * tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type | |
1467 | constructors specially. | |
1468 | ||
a0463099 AK |
1469 | 2010-01-14 Andi Kleen <ak@linux.intel.com> |
1470 | ||
1471 | * config/i386/drivers-i386.c (detect_caches_intel): | |
1472 | Add l2sizekb parameter and fill in. | |
1473 | (host_detect_local_cpu): Add l2sizekb, fill in. | |
1474 | Add Atom small cache heuristic. | |
1475 | ||
1476 | 2010-01-14 Andi Kleen <ak@linux.intel.com> | |
1477 | ||
1478 | * config/i386/drivers-i386.c (detect_caches_cpuid4): | |
1479 | Add level3 parameter and fill in. | |
1480 | (detect_caches_intel): Handle level3 cache. | |
1481 | ||
1482 | 2010-01-14 Andi Kleen <ak@linux.intel.com> | |
1483 | ||
1484 | * config/i386/drivers-i386.c (host_detect_local_cpu): | |
1485 | Fix core duo detection. | |
1486 | ||
1487 | 2010-01-14 Andi Kleen <ak@linux.intel.com> | |
1488 | ||
1489 | * config/i386/drivers-i386.c (host_detect_local_cpu): | |
1490 | Fix Atom detection. | |
1491 | ||
dd6739e3 AM |
1492 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
1493 | ||
1494 | * config/rs6000/rs6000.c (rs6000_variable_issue): Rename to... | |
1495 | (rs6000_variable_issue_1): this. Use... | |
1496 | (rs6000_variable_issue): here. Reimplement. Print debug info. | |
1497 | ||
7898b93b AM |
1498 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
1499 | ||
a0463099 AK |
1500 | * sel-sched-ir.c (sel_restore_other_notes): Rename to |
1501 | sel_restore_notes. Update all callers. Call reemit_notes | |
1502 | for all insns. | |
7898b93b | 1503 | |
65b659ff AB |
1504 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
1505 | ||
1506 | PR rtl-optimization/42246 | |
1507 | * sel-sched-ir.h (get_all_loop_exits): Include exits from inner | |
1508 | loops. | |
1509 | ||
c6486552 AB |
1510 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
1511 | ||
1512 | * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of | |
1513 | all successors is the same as number of successors in current region. | |
1514 | ||
f07013eb AM |
1515 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
1516 | ||
1517 | * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression | |
1518 | to rename is not separable. Otherwise check that its LHS is not NULL. | |
1519 | ||
a9ced68b AM |
1520 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
1521 | ||
1522 | * sel-sched.c (choose_best_reg_1): Loop over all regs for mode. | |
1523 | ||
0c94f956 AM |
1524 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
1525 | ||
1526 | * sel-sched.c (mark_unavailable_hard_regs): Do not try to search | |
1527 | available registers when failed to discover LHS register class. | |
1528 | Fix indentation. Update comment. | |
1529 | ||
136e01a3 AB |
1530 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
1531 | Alexander Monakov <amonakov@ispras.ru> | |
1532 | ||
1533 | PR rtl-optimization/42389 | |
1534 | * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE | |
1535 | to can_issue_more. | |
1536 | (advance_state_on_fence): Likewise. | |
1537 | (sel_target_adjust_priority): Print debug output only when | |
1538 | sched_verbose >= 4, not 2. | |
1539 | (get_expr_cost): Do not issue all unique insns on the next cycle. | |
1540 | (fill_insns): Initialize can_issue_more from the value saved | |
1541 | with the fence. | |
1542 | * sel-sched-ir.c (flist_add): New parameter issue_more. | |
1543 | Init FENCE_ISSUE_MORE with it. | |
1544 | (merge_fences): Likewise. | |
1545 | (init_fences): Update call to flist_add. | |
1546 | (add_to_fences, add_clean_fence_to_fences) | |
1547 | (add_dirty_fence_to_fences): Likewise. | |
1548 | (move_fence_to_fences): Update call to merge_fences. | |
1549 | (invoke_reorder_hooks): Do not reset can_issue_more on insns from | |
1550 | sched groups. | |
1551 | * sel-sched-ir.h (struct _fence): New field issue_more. | |
1552 | (FENCE_ISSUE_MORE): New accessor macro. | |
1553 | ||
762bffba AB |
1554 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
1555 | ||
1556 | PR rtl-optimization/42388 | |
1557 | * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks | |
1558 | that have no predecessors nor successors. Do not call move_bb_info | |
1559 | for empty blocks outside of current region. | |
1560 | ||
14f30b87 AM |
1561 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
1562 | ||
1563 | PR rtl-optimization/42294 | |
1564 | * sel-sched-ir.h (struct _sel_insn_data): Update comment. | |
1565 | * sel-sched.c (move_exprs_to_boundary): Transitively add all | |
1566 | originators' originators. | |
1567 | ||
8ec4d0ad AM |
1568 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
1569 | ||
1570 | PR rtl-optimization/39453 | |
1571 | PR rtl-optimization/42246 | |
1572 | * sel-sched-ir.c (considered_for_pipelining_p): Do not test | |
1573 | for pipelining_p. | |
1574 | (sel_add_loop_preheaders): Add preheader to last_added_blocks. | |
1575 | ||
b59ab570 AM |
1576 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
1577 | Alexander Monakov <amonakov@ispras.ru> | |
1578 | ||
1579 | PR middle-end/42245 | |
1580 | * sel-sched-ir.c (sel_recompute_toporder): New. Use it... | |
1581 | (maybe_tidy_empty_bb): ... here. Make static. Add new | |
1582 | argument. Update all callers. | |
1583 | (tidy_control_flow): ... and here. Recompute topological order | |
1584 | of basic blocks in region if necessary. | |
1585 | (sel_redirect_edge_and_branch): Change return type. Return true | |
1586 | if topological order might have been invalidated. | |
1587 | (purge_empty_blocks): Export and move from... | |
1588 | * sel-sched.c (purge_empty_blocks): ... here. | |
1589 | * sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype. | |
c02e2d5c | 1590 | (maybe_tidy_empty_bb): Delete prototype. |
b59ab570 AM |
1591 | (purge_empty_blocks): Declare. |
1592 | ||
0666ff4e AB |
1593 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
1594 | ||
b59ab570 | 1595 | PR rtl-optimization/42249 |
0666ff4e AB |
1596 | * sel-sched.c (try_replace_dest_reg): When chosen register |
1597 | and original register is the same, do not bail out early, but | |
1598 | still check all original insns for validity of replacing destination | |
1599 | register. Set EXPR_TARGET_AVAILABLE to 1 before leaving function | |
1600 | in this case. | |
1601 | ||
5f8d5023 JJ |
1602 | 2010-01-14 Jakub Jelinek <jakub@redhat.com> |
1603 | ||
1604 | PR c/42721 | |
a0463099 | 1605 | Port from no-undefined-overflow branch: |
5f8d5023 JJ |
1606 | 2009-03-09 Richard Guenther <rguenther@suse.de> |
1607 | ||
a0463099 | 1608 | * fold-const.c (add_double_with_sign): Fix unsigned overflow detection. |
5f8d5023 | 1609 | |
429c98c9 RG |
1610 | 2010-01-14 Richard Guenther <rguenther@suse.de> |
1611 | ||
1612 | PR lto/42665 | |
b5e33e04 | 1613 | * gimple.c (iterative_hash_gimple_type): Avoid hashing error_mark_node. |
429c98c9 | 1614 | |
cd481d83 IR |
1615 | 2010-01-14 Ira Rosen <irar@il.ibm.com> |
1616 | ||
1617 | PR tree-optimization/42709 | |
1618 | * tree-vect-slp.c (vect_get_constant_vectors): Use constant's type | |
1619 | as scalar type in creation of constant vector operand. | |
1620 | ||
453897b4 RW |
1621 | 2010-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1622 | ||
1623 | PR testsuite/42414 | |
1624 | * Makefile.in ($(TESTSUITEDIR)/site.exp, check-%) | |
1625 | (check-parallel-%): Match `testsuite' directory component only | |
1626 | at the end. | |
1627 | ||
5bc69b92 SZ |
1628 | 2010-01-14 Shujing Zhao <pearly.zhao@oracle.com> |
1629 | ||
1630 | PR translation/39521 | |
1631 | * gcc.c (do_spec_1): Wrapped the error and notice messages of specs | |
1632 | strings with _(). | |
1633 | ||
5db959b6 RG |
1634 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
1635 | ||
1636 | PR tree-optimization/42730 | |
1637 | * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for | |
1638 | offset zero. | |
1639 | ||
9540f5ef SE |
1640 | 2010-01-13 Steve Ellcey <sje@cup.hp.com> |
1641 | ||
1642 | PR target/pr42542 | |
1643 | * config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT | |
1644 | for V2SI by subtracting (-(INT MAX) - 1) from both operands to make | |
1645 | them signed. | |
1646 | ||
84fb8ff5 BS |
1647 | 2010-01-13 Bernd Schmidt <bernd.schmidt@analog.com> |
1648 | ||
1649 | * config/bfin/libgcc-bfin.ver: Regenerate based on current | |
1650 | libgcc-std.ver. Add entries for ___smulsi3_highpart and | |
1651 | ___umulsi3_highpart. | |
1652 | ||
6cca15ea BS |
1653 | * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling |
1654 | rather than schedule_insns if the pass is enabled. | |
1655 | ||
19656178 MJ |
1656 | 2010-01-13 Martin Jambor <mjambor@suse.cz> |
1657 | ||
1658 | PR tree-optimization/42704 | |
1659 | * tree-sra.c (sra_modify_assign): Do not delete assignments to | |
1660 | SSA_NAMEs. | |
1661 | ||
6dc93b16 MJ |
1662 | 2010-01-13 Martin Jambor <mjambor@suse.cz> |
1663 | ||
1664 | PR tree-optimization/42703 | |
1665 | * tree-sra.c (analyze_access_subtree): Check that we can build a | |
1666 | reference to the original data within the aggregate. | |
1667 | ||
1d21a8e5 RG |
1668 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
1669 | ||
1670 | PR tree-optimization/42705 | |
b5e33e04 | 1671 | * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after labels. |
1d21a8e5 | 1672 | |
48f30f62 RG |
1673 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
1674 | ||
1675 | PR middle-end/42716 | |
1676 | * fold-const.c (fold_unary_loc): Fold INDIRECT_REFs. | |
1677 | ||
9e73c690 JJ |
1678 | 2010-01-13 Jakub Jelinek <jakub@redhat.com> |
1679 | ||
1680 | PR debug/41371 | |
1681 | * var-tracking.c (values_to_unmark): New variable. | |
1682 | (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in | |
1683 | values_to_unmark vector. Moved body to... | |
1684 | (find_loc_in_1pdv_1): ... this. Don't clear VALUE_RECURSED_INTO, | |
1685 | instead queue it into values_to_unmark vector. | |
1686 | (vt_find_locations): Free values_to_unmark vector. | |
1687 | ||
dc2f28c5 WG |
1688 | 2010-01-13 Wolfgang Gellerich <gellerich@de.ibm.com> |
1689 | ||
1690 | * config/s390/s390.c (override_options): Set | |
1691 | default of max-pending-list-length to 256 | |
1692 | ||
688a482d RG |
1693 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
1694 | ||
1695 | PR lto/42678 | |
1696 | * tree-pass.h (PROP_gimple_lcx): New. | |
1697 | * cfgexpand.c (pass_expand): Require PROP_gimple_lcx. | |
1698 | * passes.c (init_optimization_passes): Move pass_lower_complex_O0 | |
1699 | before the final cleanup_eh. | |
1700 | (dump_properties): Dump PROP_gimple_lcx. | |
1701 | * tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx. | |
1702 | (tree_lower_complex_O0): Remove. | |
1703 | (gate_no_optimization): Run if PROP_gimple_lcx is not set. | |
1704 | (pass_lower_complex_O0): Provide PROP_gimple_lcx. Run | |
1705 | tree_lower_complex, schedule TODO_update_ssa. | |
1706 | * lto-streamer-out.c (output_function): Stream the functions | |
1707 | properties. | |
1708 | * lto-streamer-in.c (input_function): Likewise. | |
1709 | (lto_read_body): Do not override them here. | |
1710 | ||
e616f54d JM |
1711 | 2010-01-12 Joseph Myers <joseph@codesourcery.com> |
1712 | ||
1713 | PR c/42708 | |
1714 | * c-typeck.c (build_c_cast): Fold value cast to union type before | |
1715 | wrapping it in a CONSTRUCTOR. | |
1716 | ||
b4ab701f JJ |
1717 | 2010-01-12 Jakub Jelinek <jakub@redhat.com> |
1718 | ||
1719 | PR rtl-optimization/42699 | |
1720 | * cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are | |
1721 | involved. | |
1722 | ||
4dde664f RO |
1723 | 2010-01-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1724 | ||
1725 | * config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC, | |
1726 | SUBTARGET_WARN_UNUSED_SPEC): Move ... | |
1727 | config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC, | |
1728 | SUBTARGET_WARN_UNUSED_SPEC): ... here | |
1729 | * config/mips/iris5.h (LIBGCC_SPEC): Define. | |
1730 | ||
24fe19c3 JB |
1731 | 2010-01-12 Julian Brown <julian@codesourcery.com> |
1732 | ||
a0463099 | 1733 | * config/arm/neon-schedgen.ml (Utils): Don't try to |
24fe19c3 | 1734 | open missing module. |
a0463099 | 1735 | (find_with_result): New. |
24fe19c3 | 1736 | |
082ab5ff JJ |
1737 | 2010-01-12 Jakub Jelinek <jakub@redhat.com> |
1738 | ||
4942b76b JJ |
1739 | PR debug/42662 |
1740 | * simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx | |
1741 | sharing when canonicalizing ({lt,ge}u (plus a b) b). | |
1742 | ||
082ab5ff JJ |
1743 | PR tree-optimization/42645 |
1744 | * tree-inline.c (processing_debug_stmt): Move earlier. Make static. | |
1745 | (remap_ssa_name): If processing_debug_stmt and name wasn't found in | |
1746 | decl_map, set processing_debug_stmt to -1 and return name without | |
1747 | any remapping. | |
1748 | ||
977f7997 DK |
1749 | 2010-01-11 Dave Korn <dave.korn.cygwin@gmail.com> |
1750 | ||
1751 | * doc/install.texi (Specific#x-x-cygwin): Document minimum required | |
1752 | binutils version, and reword target configuration description. | |
1753 | ||
2685baa1 AH |
1754 | 2010-01-11 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> |
1755 | ||
a0463099 | 1756 | * config/avr/avr.h (LINKER_NAME): Remove. |
2685baa1 | 1757 | |
3767f512 JJ |
1758 | 2010-01-11 Janis Johnson <janis187@us.ibm.com> |
1759 | ||
1760 | PR target/42416 | |
1761 | * config/rs6000/rs6000.c (rs6000_override_options): On targets | |
1762 | that support VSX, warn for -mno-altivec if vsx is not disabled, | |
1763 | and disable vsx. | |
1764 | ||
f94e1d66 JM |
1765 | 2010-01-11 Joseph Myers <joseph@codesourcery.com> |
1766 | Shujing Zhao <pearly.zhao@oracle.com> | |
a0463099 | 1767 | |
f94e1d66 JM |
1768 | PR translation/42469 |
1769 | * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=, | |
1770 | fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab | |
1771 | character between option name and help text. | |
1772 | * c.opt (imultilib): Likewise. | |
1773 | ||
06bfe1d0 RAE |
1774 | 2010-01-10 Rafael Avila de Espindola <espindola@google.com> |
1775 | ||
1776 | * lto-streamer-out.c (output_unreferenced_globals): Output static | |
1777 | variables. | |
1778 | ||
c21f33b6 SB |
1779 | 2010-01-10 Steven Bosscher <steven@gcc.gnu.org> |
1780 | ||
1781 | PR rtl-optimization/42621 | |
1782 | * bb-reorder.c (gate_duplicated_computed_gotos): Only run if not | |
1783 | optimizing for size. | |
1784 | (duplicate_computed_gotos): Remove now-redundant check. | |
1785 | ||
30ce157e SE |
1786 | 2010-01-10 Steve Ellcey <sje@cup.hp.com> |
1787 | ||
1788 | PR target/37454 | |
1789 | * configure.ac: Save and restore LDFLAGS and LIBS | |
1790 | * configure: Regenerate. | |
1791 | ||
ab996409 RG |
1792 | 2010-01-10 Richard Guenther <rguenther@suse.de> |
1793 | ||
1794 | PR middle-end/42667 | |
1795 | * builtins.c (fold_builtin_strlen): Add type argument and | |
1796 | convert the resulting length to it. | |
1797 | (fold_builtin_1): Adjust. | |
1798 | ||
7234a615 JJ |
1799 | 2010-01-09 Jakub Jelinek <jakub@redhat.com> |
1800 | ||
1801 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten | |
1802 | sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by | |
1803 | 1 insn. | |
1804 | (num_insns_constant_wide): Adjust for that change. | |
1805 | ||
994ae26c AO |
1806 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
1807 | ||
1808 | PR debug/42631 | |
1809 | * web.c (union_defs): Add used argument, to combine uses of | |
1810 | uninitialized regs. | |
1811 | (entry_register): Adjust type and tests of used argument. | |
1812 | (web_main): Widen used for new use. Pass it to union_defs. | |
1813 | * df.h (union_defs): Adjust prototype. | |
1814 | ||
60c48e4c AO |
1815 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
1816 | ||
1817 | PR debug/42630 | |
1818 | * loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug | |
1819 | uses in new incoming argument. Free body. | |
1820 | (reset_debug_uses_in_loop): New. | |
1821 | (analyze_insn_to_expand_var): Call the latter if the former found | |
1822 | anything. Fix whitespace. Reject invalid dest overlaps before | |
1823 | going through all insns in the loop. | |
1824 | ||
bb956f3e AO |
1825 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
1826 | ||
1827 | PR debug/42629 | |
1828 | * haifa-sched.c (dying_use_p): Debug insns don't count. | |
1829 | ||
5de8da9b AO |
1830 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
1831 | ||
1832 | PR middle-end/42363 | |
1833 | * gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls. | |
1834 | * tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice. | |
1835 | (verify_gimple_call): Reject LHS in noreturn calls. | |
1836 | ||
684f25f4 AO |
1837 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
1838 | ||
1839 | PR debug/42604 | |
1840 | PR debug/42395 | |
1841 | * tree-vect-loop-manip.c (adjust_info): New type. | |
1842 | (adjust_vec): New pointer to vector. | |
1843 | (adjust_debug_stmts_now, adjust_vec_debug_stmts): New. | |
1844 | (adjust_debug_stmts, adjust_phi_and_debug_stmts): New. | |
1845 | (slpeel_update_phis_for_duplicate_loop): Use them. | |
1846 | (slpeel_update_phi_nodes_for_guard1): Likewise. | |
1847 | (slpeel_update_phi_nodes_for_guard2): Likewise. | |
1848 | (slpeel_tree_peel_loop_to_edge): Likewise. | |
1849 | (vect_update_ivs_after_vectorizer): Likewise. | |
1850 | ||
0e00563c AO |
1851 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
1852 | ||
1853 | * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren. | |
1854 | (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise. | |
1855 | ||
0ce659eb AO |
1856 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
1857 | ||
1858 | * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence | |
1859 | bogus uninitialized warning. | |
1860 | ||
73c865fa RG |
1861 | 2010-01-09 Richard Guenther <rguenther@suse.de> |
1862 | ||
1863 | PR middle-end/42512 | |
1864 | * tree-scalar-evolution.c (interpret_loop_phi): Make sure | |
1865 | the evolution is compatible with the initial condition. | |
1866 | ||
bd5c3aa5 JJ |
1867 | 2010-01-09 Jakub Jelinek <jakub@redhat.com> |
1868 | ||
1869 | * gcc.c (process_command): Update copyright notice dates. | |
1870 | * gcov.c (print_version): Likewise. | |
1871 | * gcov-dump.c (print_version): Likewise. | |
1872 | * mips-tfile.c (main): Likewise. | |
1873 | * mips-tdump.c (main): Likewise. | |
1874 | ||
58f0ea2f AH |
1875 | 2010-01-08 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> |
1876 | ||
1877 | PR target/41885 | |
2685baa1 | 1878 | * config/avr/avr.md (rotlqi3): Add CONST_INT_P check. |
58f0ea2f AH |
1879 | (rotlhi3): Delete. |
1880 | (rotlhi3_8): Delete. | |
1881 | (rotlsi3): Delete. | |
1882 | (rotlsi3_8): Delete. | |
1883 | (rotlsi3_16): Delete. | |
1884 | (rotlsi3_24): Delete. | |
1885 | (rotl<mode>3): New. | |
1886 | (*rotw<mode>3): New. | |
1887 | (*rotb<mode>3): New. | |
2685baa1 | 1888 | * config/avr/avr.c (avr_rotate_bytes): New function. |
a0463099 | 1889 | * config/avr/avr-proto.h (avr_rotate_bytes): New function. |
58f0ea2f | 1890 | |
601fc26e SE |
1891 | 2010-01-08 Steve Ellcey <sje@cup.hp.com> |
1892 | ||
1893 | PR target/37454 | |
1894 | * configure.ac: Modify -rdynamic check. | |
1895 | * configure: Regenerate. | |
1896 | ||
6a62ca52 DD |
1897 | 2010-01-08 DJ Delorie <dj@redhat.com> |
1898 | ||
1899 | * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler | |
1900 | register popping order. | |
1901 | ||
c59449fa RG |
1902 | 2010-01-08 Richard Guenther <rguenther@suse.de> |
1903 | ||
1904 | PR lto/42528 | |
1905 | * c.opt (fsigned-char): Also let LTO handle this option. | |
1906 | (funsigned-char): Likewise. | |
1907 | ||
f68a75df RG |
1908 | 2010-01-07 Richard Guenther <rguenther@suse.de> |
1909 | ||
1910 | * gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING. | |
1911 | (gimple_op): Likewise. | |
1912 | (gimple_op_ptr): Likewise. | |
1913 | (gimple_assign_set_lhs): Remove gcc_assert. | |
1914 | (gimple_assign_set_rhs1): Likewise. | |
1915 | (gimple_assign_set_rhs2): Likewise. | |
1916 | (gimple_call_set_lhs): Likewise. | |
1917 | (gimple_call_set_fn): Likewise. | |
1918 | (gimple_call_set_fndecl): Likewise. | |
1919 | (gimple_call_fndecl): Likewise. | |
1920 | (gimple_call_return_type): Likewise. | |
1921 | (gimple_call_set_chain): Likewise. | |
1922 | (gimple_call_num_args): Likewise. | |
1923 | (gimple_call_set_arg): Likewise. | |
1924 | (gimple_cond_set_code): Likewise. | |
1925 | (gimple_cond_set_lhs): Likewise. | |
1926 | (gimple_cond_set_rhs): Likewise. | |
1927 | (gimple_cond_set_true_label): Likewise. | |
1928 | (gimple_cond_set_false_label): Likewise. | |
1929 | (gimple_label_set_label): Likewise. | |
1930 | (gimple_goto_set_dest): Likewise. | |
1931 | (gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING. | |
1932 | (gimple_debug_bind_get_value): Likewise. | |
1933 | (gimple_debug_bind_get_value_ptr): Likewise. | |
1934 | (gimple_debug_bind_set_var): Likewise. | |
1935 | (gimple_debug_bind_set_value): Likewise. | |
1936 | (gimple_debug_bind_reset_value): Likewise. | |
1937 | (gimple_debug_bind_has_value_p): Likewise. | |
1938 | (gimple_return_retval_ptr): Remove gcc_assert. | |
1939 | (gimple_return_retval): Likewise. | |
1940 | (gimple_return_set_retval): Likewise. | |
1941 | * tree-flow.h (struct gimple_df): Remove nonlocal_all member. | |
1942 | (safe_referenced_var_iterator): Remove. | |
1943 | (FOR_EACH_REFERENCED_VAR_SAFE): Likewise. | |
1944 | * tree-flow-inline.h (gimple_nonlocal_all): Remove. | |
1945 | (fill_referenced_var_vec): Remove. | |
1946 | (first_readonly_imm_use): Remove redundant gcc_assert. | |
1947 | (phi_arg_index_from_use): Combine gcc_asserts. | |
1948 | (move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING. | |
1949 | (first_imm_use_stmt): Remove redundant gcc_assert. | |
1950 | * tree-cfg.c (verify_gimple_call): Verify function and chain | |
1951 | operands. Verify arguments. | |
1952 | (verify_types_in_gimple_stmt): Verify condition code and labels. | |
1953 | ||
617531d9 RG |
1954 | 2010-01-07 Richard Guenther <rguenther@suse.de> |
1955 | ||
1956 | PR tree-optimization/42641 | |
1957 | * sese.c (rename_map_elt_info): Use the SSA name version, do | |
1958 | not hash pointers. | |
1959 | ||
4139c7ef JJ |
1960 | 2010-01-07 Jakub Jelinek <jakub@redhat.com> |
1961 | ||
1962 | PR tree-optimization/42625 | |
1963 | * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*, | |
b5e33e04 | 1964 | TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body aliases. |
4139c7ef | 1965 | |
01094033 DS |
1966 | 2010-01-07 Duncan Sands <baldrick@free.fr> |
1967 | ||
1968 | * Makefile.in (PLUGIN_HEADERS): Add version.h. | |
1969 | ||
4b9ed9aa UB |
1970 | 2010-01-07 Uros Bizjak <ubizjak@gmail.com> |
1971 | ||
1972 | PR target/42511 | |
1973 | * ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when | |
1974 | note itself is not function_invariant_p. | |
1975 | ||
f50f5566 SB |
1976 | 2009-01-07 Steven Bosscher <steven@gcc.gnu.org> |
1977 | ||
1978 | * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist): | |
1979 | Do not add the DF_NOTE problem. | |
1980 | * store-motion.c (execute_rtl_store_motion): Likewise. | |
1981 | ||
d05fe940 MJ |
1982 | 2010-01-07 Martin Jambor <mjambor@suse.cz> |
1983 | ||
1984 | PR tree-optimization/42157 | |
1985 | * tree-sra.c (compare_access_positions): Stabilize sort if both | |
1986 | accesses have integer types, return zero immediately if they are the | |
1987 | same. | |
1988 | ||
e67271bd RH |
1989 | 2010-01-06 Richard Henderson <rth@redhat.com> |
1990 | ||
1991 | PR middle-end/41883 | |
1992 | * haifa-sched.c (add_to_note_list): Merge into ... | |
1993 | (concat_note_lists): ... here, and ... | |
1994 | (unlink_other_notes, rm_other_notes): Merge into... | |
1995 | (remove_notes): ... here. Create REG_SAVE_NOTEs for | |
a0463099 | 1996 | NOTE_INSN_EPILOGUE_BEG. |
e67271bd | 1997 | |
6209a13e RG |
1998 | 2010-01-06 Richard Guenther <rguenther@suse.de> |
1999 | ||
2000 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Do | |
2001 | not inline regular functions into always-inline functions. | |
2002 | ||
5f75e477 NC |
2003 | 2010-01-06 Nick Clifton <nickc@redhat.com> |
2004 | ||
2005 | * config/rx/rx.h (enum rx_cpu_type): Add RX200. | |
2006 | (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are | |
2007 | used together. | |
2008 | (OVERRIDE_OPTIONS): Delete. | |
2009 | (OPTIMIZATION_OPTIONS): Define. | |
2010 | (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option. | |
2011 | * config/rx/rx.c (rx_handle_option): Issue an error message if | |
2012 | -mcpu=rx200 and -fpu are used together. | |
2013 | (rx_set_optimization_options): New function. Issue an error | |
2014 | message if an optimization attribute attempts to reset the FPU/ | |
2015 | math optimization pairing. | |
2016 | * config/rx/rx-protos.h (rx_set_optimization_options): Prototype. | |
2017 | * config/rx/rx.opt: Set the default to 32-bit doubles. | |
2018 | * config/rx/t-rx: Add multilibs for -nofpu option. | |
2019 | * doc/invoke.texi: Update documentation of RX options. | |
2020 | ||
13de9095 RG |
2021 | 2010-01-06 Richard Guenther <rguenther@suse.de> |
2022 | ||
2023 | * tree-ssa-pre.c (name_to_id): New global. | |
2024 | (alloc_expression_id): Simplify SSA name handling. | |
2025 | (lookup_expression_id): Likewise. | |
2026 | (init_pre): Zero name_to_id. | |
2027 | (fini_pre): Free it. | |
2028 | ||
786c3fbc UB |
2029 | 2010-01-06 Uros Bizjak <ubizjak@gmail.com> |
2030 | ||
2031 | * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM. | |
2032 | ||
fa1a4144 L |
2033 | 2010-01-05 H.J. Lu <hongjiu.lu@intel.com> |
2034 | ||
2035 | PR target/42542 | |
2036 | * config/i386/sse.md (smaxv2di3): New. | |
2037 | (umaxv2di3): Likewise. | |
2038 | (sminv2di3): Likewise. | |
2039 | (uminv2di3): Likewise. | |
2040 | ||
208384fd EB |
2041 | 2010-01-05 Eric Botcazou <ebotcazou@adacore.com> |
2042 | ||
2043 | PR target/42564 | |
2044 | * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete. | |
2045 | * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise. | |
2046 | (legitimize_tls_address): Likewise. | |
2047 | (sparc_tls_referenced_p): Likewise. | |
2048 | * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address | |
2049 | and adjust calls to legitimize_pic_address. | |
2050 | (legitimate_constant_p) Use sparc_tls_referenced_p. | |
2051 | (legitimate_pic_operand_p): Likewise. | |
2052 | (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P. | |
2053 | (sparc_tls_symbol_ref_1): Delete. | |
2054 | (sparc_tls_referenced_p): Make static, recognize specific patterns. | |
2055 | (legitimize_tls_address): Make static, handle CONST patterns. | |
2056 | (legitimize_pic_address): Make static, remove unused parameter and | |
2057 | adjust recursive calls. | |
2058 | (sparc_legitimize_address): Make static, use sparc_tls_referenced_p | |
2059 | and adjust call to legitimize_pic_address. | |
2060 | (sparc_output_mi_thunk): Likewise. | |
2061 | ||
4b9ed9aa | 2062 | 2010-01-05 Paolo Bonzini <bonzini@gnu.rg> |
43d4b97d L |
2063 | H.J. Lu <hongjiu.lu@intel.com> |
2064 | ||
2065 | PR target/42542 | |
2066 | * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT | |
2067 | for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both | |
2068 | operands to make them signed. | |
2069 | ||
931c6b3e UB |
2070 | Revert: |
2071 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> | |
2072 | ||
2073 | PR target/42542 | |
2074 | * config/i386/i386.c (ix86_expand_int_vcond): Don't convert | |
2075 | GTU to GT for V4SI and V2DI. | |
2076 | ||
2077 | * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP. | |
2078 | (umin<mode>3): Removed. | |
2079 | (uminv8hi3): New. | |
43d4b97d L |
2080 | (uminv4si3): Likewise. |
2081 | ||
9bf4cdf5 MJ |
2082 | 2010-01-05 Martin Jambor <mjambor@suse.cz> |
2083 | ||
2084 | PR tree-optimization/42462 | |
2085 | * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of | |
2086 | current_function_decl to helper functions and macros. | |
2087 | ||
6a4d4e8a RO |
2088 | 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2089 | ||
2090 | PR bootstrap/41771 | |
2091 | * flags.h: Don't include real.h. | |
2092 | (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS, | |
2093 | HONOR_SIGN_DEPENDENT_ROUNDING): Move ... | |
2094 | * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, | |
2095 | HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here. | |
2096 | * dominance.c: Update copyright. | |
2097 | * gimple.c (walk_gimple_op): Remove inline. | |
2098 | * tree-ssa-reassoc.c: Include real.h. | |
2099 | * Makefile.in (FLAGS_H): Remove $(REAL_H). | |
2100 | (tree-ssa-reassoc.o): Depend on $(REAL_H). | |
2101 | ||
105249d1 NC |
2102 | 2010-01-05 Nick Clifton <nickc@redhat.com> |
2103 | ||
2104 | * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second | |
2105 | register to push into the stack frame when the accumulator has to | |
2106 | be saved during interrupts. | |
2107 | ||
bc3c12a2 EF |
2108 | 2010-01-05 Eric Fisher <joefoxreal@gmail.com> |
2109 | ||
2110 | * doc/invoke.texi: Remove the documentation about option | |
2111 | -Wunreachable-code. | |
2112 | * common.opt (Wunreachable-code): Preserved for backward | |
2113 | compatibility. | |
2114 | * tree-cfg.c: Remove the implementation of -Wunreachable-code. | |
2115 | * opts.c (common_handle_option): Add OPT_Wunreachable_code to | |
2116 | the backward compatibility flag section. | |
2117 | ||
1befacc8 RG |
2118 | 2010-01-05 Richard Guenther <rguenther@suse.de> |
2119 | ||
2120 | * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize. | |
2121 | ||
566f27e4 JJ |
2122 | 2010-01-05 Jakub Jelinek <jakub@redhat.com> |
2123 | ||
7604eb4e JJ |
2124 | PR other/42611 |
2125 | * cfgexpand.c (expand_one_var): Diagnose too large variables. | |
2126 | ||
566f27e4 JJ |
2127 | PR tree-optimization/42508 |
2128 | * tree-sra.c (convert_callers): Check for recursive call | |
2129 | by comparing cgraph nodes instead of decls. | |
2130 | (modify_function): Call ipa_modify_formal_parameters also | |
2131 | on all same_body aliases. | |
2132 | ||
2133 | * cgraphunit.c (cgraph_materialize_all_clones): Compare | |
2134 | cgraph nodes when checking for same_body aliases. | |
2135 | ||
5f5126d6 RG |
2136 | 2010-01-05 Richard Guenther <rguenther@suse.de> |
2137 | ||
2138 | * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant | |
2139 | allocation and lookup. | |
2140 | (get_or_alloc_expr_for_constant): Likewise. | |
2141 | (phi_translate): Sink allocation. | |
2142 | ||
a7d04a53 RG |
2143 | 2010-01-04 Richard Guenther <rguenther@suse.de> |
2144 | ||
2145 | * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate | |
2146 | a new entry only if needed. | |
2147 | * tree-ssa-dom.c (lookup_avail_expr): Likewise. | |
2148 | * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one | |
2149 | hashtable lookup. | |
2150 | * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate | |
2151 | the result array. | |
2152 | (phi_translate): Handle CONSTANTs early. | |
2153 | ||
caee6ca1 MJ |
2154 | 2010-01-04 Martin Jambor <mjambor@suse.cz> |
2155 | ||
2156 | PR tree-optimization/42398 | |
2157 | * tree-sra.c (struct access): Removed flag grp_different_types. | |
2158 | (dump_access): Do not dump the removed flag. | |
2159 | (sort_and_splice_var_accesses): Do not set the removed flag. | |
2160 | (sra_modify_expr): Check for type compatibility directly. | |
2161 | ||
438789ff MJ |
2162 | 2010-01-04 Martin Jambor <mjambor@suse.cz> |
2163 | ||
2164 | PR tree-optimization/42366 | |
2165 | * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on | |
2166 | edges with variable number of parameters. | |
2167 | * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done | |
2168 | flag instead of asserting it. | |
2169 | (ipa_read_node_info): Read uses_analysis_done flag. | |
2170 | ||
9708c51d RG |
2171 | 2010-01-04 Richard Guenther <rguenther@suse.de> |
2172 | ||
2173 | * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use | |
2174 | iterative_hash_* as intended. | |
2175 | (vn_reference_compute_hash): Likewise. Simplify hashing | |
2176 | SSA names. | |
2177 | (vn_reference_lookup_2): Likewise. | |
2178 | (vn_nary_op_compute_hash): Likewise. | |
2179 | (vn_phi_compute_hash): Likewise. | |
2180 | (expressions_equal_p): Remove strange code. | |
2181 | * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable (). | |
2182 | (pre_expr_hash): Likewise. Simplify hashing SSA names. | |
2183 | (bitmap_insert_into_set_1): Take value-id as parameter. | |
2184 | (add_to_value): Pass it. | |
2185 | (bitmap_insert_into_set): Likewise. | |
2186 | (bitmap_value_insert_into_set): Likewise. Remove redundant check. | |
2187 | ||
94b90527 JJ |
2188 | 2010-01-04 Jakub Jelinek <jakub@redhat.com> |
2189 | ||
2190 | PR driver/42442 | |
2191 | * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define. | |
2192 | (do_self_spec): For switches with SWITCH_IGNORE set set also | |
2193 | SWITCH_IGNORE_PERMANENTLY. | |
2194 | (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead | |
2195 | of SWITCH_IGNORE. | |
2196 | ||
785ca514 RAE |
2197 | 2010-01-04 Rafael Avila de Espindola <espindola@google.com> |
2198 | ||
2199 | * lto-streamer-out.c (output_unreferenced_globals): Output the full | |
2200 | tree of an unreferenced global var. | |
2201 | ||
22554cf9 L |
2202 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> |
2203 | ||
2204 | PR target/42542 | |
2205 | * config/i386/i386.c (ix86_expand_int_vcond): Don't convert | |
2206 | GTU to GT for V4SI and V2DI. | |
2207 | ||
2208 | * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP. | |
2209 | (umin<mode>3): Removed. | |
2210 | (uminv8hi3): New. | |
2211 | (uminv4si3): Likewise. | |
2212 | ||
7152f51e L |
2213 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> |
2214 | ||
2215 | PR lto/42581 | |
2216 | * collect2.c (main): Turn on trace in collect2 if -v is passed | |
2217 | to gcc with LTO. | |
2218 | ||
f4262155 JQ |
2219 | 2010-01-03 Jerry Quinn <jlquinn@optonline.net> |
2220 | ||
2221 | * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR. Update | |
2222 | description of expression operand. | |
2223 | ||
55bcd32b AJ |
2224 | 2010-01-03 Andrew Jenner <andrew@codesourcery.com> |
2225 | ||
2226 | * configure.ac: Add install-html to target_list for Make-hooks. | |
2227 | * configure: Regenerate. | |
2228 | * fortran/Make-lang.in (F95_HTMLFILES): New. | |
2229 | (fortran.html): Use it. | |
2230 | (fortran.install-html): New. | |
2231 | * Makefile.in (install-html): Add lang.install-html. | |
2232 | * java/Make-lang.in (JAVA_HTMLFILES): New. | |
2233 | (java.html): Use it. | |
2234 | (java.install-html): New. | |
2235 | * objc/Make-lang.in (objc.install-html): New. | |
2236 | * objcp/Make-lang.in (obj-c++.install-html): New. | |
2237 | * cp/Make-lang.in (c++.install-html): New. | |
2238 | * ada/gcc-interface/Make-lang.in (ada.install-html): New. | |
2239 | * lto/Make-lang.in (lto.install-html): New. | |
2240 | ||
f0d61983 L |
2241 | 2010-01-03 H.J. Lu <hongjiu.lu@intel.com> |
2242 | ||
2243 | PR lto/42520 | |
2244 | * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt. | |
2245 | ||
2ad1dda0 SB |
2246 | 2009-01-03 Steven Bosscher <steven@gcc.gnu.org> |
2247 | ||
2248 | PR rtl-optimization/41862 | |
2249 | * store-motion.c (store_killed_in_insn, compute_store_table, | |
2250 | remove_reachable_equiv_notes, replace_store_insn, | |
2251 | build_store_vectors): Ignore all DEBUG_INSNs. | |
2252 | ||
d7fb0a6d L |
2253 | 2010-01-03 H.J. Lu <hongjiu.lu@intel.com> |
2254 | ||
2255 | PR lto/41564 | |
2256 | * common.opt: Add dumpdir. | |
2257 | ||
2258 | * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase | |
2259 | isn't specified. | |
2260 | (option_map): Add --dumpdir. | |
2261 | ||
2262 | * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir. | |
2263 | ||
2264 | * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o. | |
2265 | ||
2266 | * opts.c (decode_options): Try dump_dir_name first if | |
2267 | dump_base_name isn't an absolute path. | |
2268 | (common_handle_option): Handle OPT_dumpdir. | |
2269 | ||
2270 | * toplev.c (dump_dir_name): New. | |
2271 | (print_switch_values): Also ignore -dumpdir. | |
2272 | ||
2273 | * toplev.h (dump_dir_name): New. | |
2274 | ||
ba1ee228 RG |
2275 | 2010-01-03 Richard Guenther <rguenther@suse.de> |
2276 | ||
2277 | PR tree-optimization/42589 | |
2278 | * tree-ssa-math-opts.c (execute_optimize_bswap): Allow | |
2279 | double-word expansion of bswap32. | |
2280 | ||
b0de17ef SB |
2281 | 2010-01-03 Steven Bosscher <steven@gcc.gnu.org> |
2282 | ||
2283 | * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM | |
2284 | with BLOCK_FOR_INSN. | |
2285 | * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise. | |
2286 | * ifcvt.c (noce_get_alt_condition, noce_try_abs, | |
2287 | noce_process_if_block): Likewise. | |
2288 | * gcse.c (compute_local_properties, insert_expr_in_table, | |
2289 | insert_set_in_table, canon_list_insert, find_avail_set, | |
2290 | pre_insert_copy_insn): Likewise. | |
2291 | ||
2292 | * basic-block.h (BLOCK_NUM): Move from here... | |
2293 | * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler. | |
2294 | ||
a19eb9d2 RG |
2295 | 2010-01-03 Richard Guenther <rguenther@suse.de> |
2296 | ||
2297 | PR tree-optimization/42438 | |
2298 | * tree-ssa-pre.c (struct bb_bitmap_sets): Add | |
2299 | contains_may_not_return_call flag. | |
2300 | (BB_MAY_NOTRETURN): New. | |
2301 | (valid_in_sets): Trapping nary operations are not valid | |
2302 | in blocks that may not return. | |
b5e33e04 | 2303 | (insert_into_preds_of_block): Remove check for trapping expressions. |
a19eb9d2 RG |
2304 | (compute_avail): Compute also BB_MAY_NOTRETURN. |
2305 | ||
c41b7b13 GP |
2306 | 2010-01-03 Gerald Pfeifer <gerald@pfeifer.com> |
2307 | ||
2308 | * doc/invoke.texi: Add 2010 to copyright years. | |
2309 | ||
4900aa61 EB |
2310 | 2010-01-03 Eric Botcazou <ebotcazou@adacore.com> |
2311 | ||
2312 | * config/sparc/sparc.c: Fix formatting nits. | |
2313 | ||
711a778c | 2314 | 2010-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
77102854 | 2315 | Alexander Monakov <amonakov@ispras.ru> |
711a778c GP |
2316 | |
2317 | * doc/invoke.texi (Optimize Options): Reword introduction a bit. | |
2318 | ||
1d86f5e9 RG |
2319 | 2010-01-02 Richard Guenther <rguenther@suse.de> |
2320 | ||
2321 | PR middle-end/42577 | |
2322 | * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks. | |
2323 | (simplify_switch_using_ranges): Mark to be removed edges | |
2324 | as non-executable. | |
2325 | ||
91e1a80a JDA |
2326 | 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2327 | ||
b86799ba JDA |
2328 | * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two. |
2329 | ||
91e1a80a JDA |
2330 | * collect2.c (scan_libraries): Add missing argument in call to |
2331 | scan_prog_file. | |
2332 | ||
2333 | 2010-01-02 Uros Bizjak <ubizjak@gmail.com> | |
2334 | ||
2335 | PR target/42448 | |
2336 | * config/alpha/predicates.md (aligned_memory_operand): Return false | |
2337 | for CQImode. | |
2338 | (unaligned_memory_operand): Return true for CQImode. | |
2339 | * config/alpha/alpha.c (get_aligned_mem): Assert that location | |
2340 | doesn not cross aligned SImode word boundary. | |
2341 | ||
2342 | 2010-01-02 Anatoly Sokolov <aesok@post.ru> | |
2343 | ||
2344 | * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_): | |
2345 | Remove. | |
2346 | * config/avr/avr-protos.h (avr_init_once, avr_optimization_options, | |
2347 | avr_change_section, avr_reg_class_from_letter) : Remove declaration. | |
2348 | ||
2349 | 2010-01-02 Richard Guenther <rguenther@suse.de> | |
2350 | ||
2351 | PR lto/41597 | |
2352 | * toplev.c (compile_file): Emit LTO marker properly. Change | |
2353 | it to __gnu_lto_v1. | |
2354 | * collect2.c (scan_prog_file): Adjust for changed LTO marker. | |
5a013dc4 | 2355 | |
aecd4d81 RG |
2356 | 2010-01-01 Richard Guenther <rguenther@suse.de> |
2357 | ||
2358 | PR debug/42455 | |
02143d0b | 2359 | * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order. |
aecd4d81 | 2360 | |
e4a95933 RG |
2361 | 2010-01-01 Richard Guenther <rguenther@suse.de> |
2362 | ||
2363 | PR c/42570 | |
2364 | * c-decl.c (grokdeclarator): For zero-size arrays force | |
2365 | structural equality checks as layout_type does. | |
2366 | ||
0bdf1263 L |
2367 | 2010-01-01 H.J. Lu <hongjiu.lu@intel.com> |
2368 | ||
2369 | * builtins.c: Update copyright to 2010. | |
2370 | ||
91539475 | 2371 | 2010-01-01 H.J. Lu <hongjiu.lu@intel.com> |
8589115b DK |
2372 | |
2373 | PR lto/42531 | |
91539475 | 2374 | * lto-streamer-out.c (produce_asm): Revert the last change. |
8589115b DK |
2375 | (copy_function): Likewise. |
2376 | ||
91539475 L |
2377 | * lto-streamer.c (lto_get_section_name): Skip any leading |
2378 | asterisk in name. | |
20cdc2be | 2379 | |
91539475 | 2380 | 2010-01-01 Richard Guenther <rguenther@suse.de> |
cf9eb565 | 2381 | |
91539475 L |
2382 | PR middle-end/42559 |
2383 | * builtins.c (get_object_alignment): Do not use DECL_ALIGN | |
2384 | for LABEL_DECLs. | |
ad41bd84 JM |
2385 | |
2386 | \f | |
91539475 | 2387 | Copyright (C) 2010 Free Software Foundation, Inc. |
ad41bd84 JM |
2388 | |
2389 | Copying and distribution of this file, with or without modification, | |
2390 | are permitted in any medium without royalty provided the copyright | |
2391 | notice and this notice are preserved. |