]>
Commit | Line | Data |
---|---|---|
821d4118 | 1 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
2 | ||
3 | * doc/tm.texi.in (SWITCHABLE_TARGET): Document. | |
4 | * doc/tm.texi: Regenerate. | |
5 | * Makefile.in (OBJS-common): Add target-globals.o. | |
6 | (gtype-desc.o): Depend on $(IPA_PROP_H), $(LTO_STREAMER_H) | |
7 | and target-globals.h. | |
8 | (target-globals.o): New rule. | |
9 | (GTFILES): Include $(srcdir)/target-globals.h. | |
10 | * defaults.h (SWITCHABLE_TARGET): Define. | |
11 | * gengtype.c (open_base_files): Add target-globals.h to the | |
12 | list of includes. | |
13 | * target-globals.h: New file. | |
14 | * target-globals.c: Likewise. | |
15 | ||
16 | * Makefile.in (target-globals.o): Depend on $(FLAGS_H). | |
17 | * flags.h (target_flag_state): New structure. | |
18 | (default_target_flag_state): Declare. | |
19 | (this_target_flag_state): Declare as a variable or define as a macro. | |
20 | (align_loops_log): Redefine as a macro. | |
21 | (align_loops_max_skip, align_jumps_log): Likewise. | |
22 | (align_jumps_max_skip, align_labels_log): Likewise. | |
23 | (align_labels_max_skip, align_functions_log): Likewise. | |
24 | * toplev.c (default_target_flag_state): New variable. | |
25 | (this_target_flag_state): New conditional variable. | |
26 | (align_loops_log): Delete. | |
27 | (align_loops_max_skip, align_jumps_log): Likewise. | |
28 | (align_jumps_max_skip, align_labels_log): Likewise. | |
29 | (align_labels_max_skip, align_functions_log): Likewise. | |
30 | * target-globals.h (this_target_flag_state): Declare. | |
31 | (target_globals): Add a flag_state field. | |
32 | (restore_target_globals): Copy the flag_state field to | |
33 | this_target_flag_state. | |
34 | * target-globals.c: Include flags.h. | |
35 | (default_target_globals): Initialize the flag_state field. | |
36 | (save_target_globals): Likewise. | |
37 | ||
6132c0d0 | 38 | 2010-07-12 Jie Zhang <jie@codesourcery.com> |
39 | ||
40 | * postreload.c (reg_symbol_ref[]): New. | |
41 | (move2add_use_add2_insn): New. | |
42 | (move2add_use_add3_insn): New. | |
43 | (reload_cse_move2add): Handle SYMBOL + OFFSET case. | |
44 | (move2add_note_store): Likewise. | |
45 | ||
541be8d3 | 46 | 2010-07-12 Joern Rennecke <joern.rennecke@embecosm.com> |
47 | ||
48 | PR rtl-optimization/44752 | |
49 | * genautomata.c (main): Don't emit an empty file even if there | |
50 | is no automaton. | |
51 | ||
e8bb94d4 | 52 | 2010-07-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
53 | ||
54 | * config/i386/i386.c (ix86_sol10_return_in_memory): Rename to | |
55 | ix86_solaris_return_in_memory. | |
56 | * config/i386-protos.h: Reflect this. | |
57 | * config/i386/vx-common.h (SUBTARGET_RETURN_IN_MEMORY): Likewise. | |
58 | * config/i386/sol2-10.h (SUBTARGET_RETURN_IN_MEMORY): Likewise. | |
59 | Move ... | |
60 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): ... here. | |
61 | ||
8d8c2abc | 62 | 2010-07-12 Jie Zhang <jie@codesourcery.com> |
63 | ||
64 | * config/arm/arm.c (arm_get_frame_offsets): Don't use r3 to | |
65 | align the stack when it's going to be saved. | |
66 | ||
fd1086cf | 67 | 2010-07-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
68 | ||
69 | PR pch/14940 | |
70 | * config/host-solaris.c (mmap_fixed): New function. | |
71 | (sol_gt_pch_get_address): Use it. | |
72 | (sol_gt_pch_use_address): Likewise. | |
73 | ||
949e49d0 | 74 | 2010-07-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
75 | ||
76 | * config.gcc (i[34567]86-*-solaris2*): Default with_arch_32 to | |
77 | pentiumpro on Solaris 8 and 9/x86. | |
78 | * doc/install.texi (Specific, i?86-*-solaris2.[89]): Recommend GNU as. | |
79 | Document SSE/SSE2 support. | |
80 | * doc/sourcebuild.texi (Effective-Target Keywords): Document sse. | |
81 | ||
12283fd1 | 82 | 2010-07-12 Andi Kleen <ak@linux.intel.com> |
83 | ||
84 | * lto-symtab.c (lto_symtab_merge_decls_1): Use fatal_error | |
85 | instead of gcc_assert to print better error message for multiple | |
86 | prevailing defs. | |
87 | ||
c6433337 | 88 | 2010-07-12 Uros Bizjak <ubizjak@gmail.com> |
89 | ||
90 | * config/i386/i386.c (ix86_asm_output_function_label): Change format | |
91 | string placeholder from 0x%x to %#x. | |
92 | (ix86_code_end): Use putc to output '\n'. | |
93 | (ix86_print_operand) <case ';'>: Use putc to output ';'. | |
94 | ||
a5625a09 | 95 | 2010-07-11 Kai Tietz <kai.tietz@onevision.com> |
96 | ||
97 | * config/i386/winnt.c (i386_pe_file_end): Quote symbol name | |
98 | in directive -export. | |
99 | ||
fbd79b7a | 100 | 2010-07-10 Anatoly Sokolov <aesok@post.ru> |
101 | ||
102 | * reginfo.h (reg_classes_intersect_p): Change arguments type to | |
103 | reg_class_t. | |
104 | * rtl.h (reg_classes_intersect_p): Adjust prototype. | |
105 | ||
106 | * config/rs6000/rs6000.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
107 | Remove macros. | |
108 | * config/rs6000/rs6000-protos.h (rs6000_register_move_cost, | |
109 | rs6000_memory_move_cost): Remove | |
110 | * config/rs6000/rs6000.c (TARGET_REGISTER_MOVE_COST, | |
111 | TARGET_MEMORY_MOVE_COST): Define. | |
112 | (rs6000_register_move_cost): Make static. Change arguments type from | |
113 | enum reg_class to reg_class_t. Adjust rs6000_memory_move_cost calls. | |
114 | (rs6000_memory_move_cost): Make static. Change arguments type from | |
115 | 'enum reg_class' to reg_class_t. | |
116 | ||
a6b74a67 | 117 | 2010-07-10 Sandra Loosemore <sandra@codesourcery.com> |
118 | ||
119 | PR middle-end/42505 | |
120 | * tree-inline.c (estimate_num_insns): Refactor builtin complexity | |
121 | lookup code into.... | |
122 | * builtins.c (is_simple_builtin, is_inexpensive_builtin): ...these | |
123 | new functions. | |
124 | * tree.h (is_simple_builtin, is_inexpensive_builtin): Declare. | |
125 | * cfgloopanal.c (target_clobbered_regs): Define. | |
126 | (init_set_costs): Initialize target_clobbered_regs. | |
127 | (estimate_reg_pressure_cost): Add call_p argument. When true, | |
128 | adjust the number of available registers to exclude the | |
129 | call-clobbered registers. | |
130 | * cfgloop.h (target_clobbered_regs): Declare. | |
131 | (estimate_reg_pressure_cost): Adjust declaration. | |
132 | * tree-ssa-loop-ivopts.c (struct ivopts_data): Add body_includes_call. | |
133 | (ivopts_global_cost_for_size): Pass it to estimate_reg_pressure_cost. | |
134 | (determine_set_costs): Dump target_clobbered_regs. | |
135 | (loop_body_includes_call): New function. | |
136 | (tree_ssa_iv_optimize_loop): Use it to initialize new field. | |
137 | * loop-invariant.c (gain_for_invariant): Adjust arguments to pass | |
138 | call_p flag through. | |
139 | (best_gain_for_invariant): Likewise. | |
140 | (find_invariants_to_move): Likewise. | |
141 | (move_single_loop_invariants): Likewise, using already-computed | |
142 | has_call field. | |
143 | ||
6ceec668 | 144 | 2010-07-10 Richard Guenther <rguenther@suse.de> |
145 | Joern Rennecke <joern.rennecke@embecosm.com> | |
146 | ||
147 | PR debug/44832 | |
c6433337 | 148 | * tree-ssa-live.c (mark_all_vars_used_1): Set TREE_USED for LABEL_DECL. |
6ceec668 | 149 | (remove_unused_scope_block_p): Don't drop TREE_USED LABEL_DECLs |
150 | unless they have DECL_IGNORED_P set. | |
151 | ||
816ede17 | 152 | 2010-07-10 Richard Guenther <rguenther@suse.de> |
153 | ||
154 | PR lto/44889 | |
155 | * gimple.c (gimple_fixup_complete_and_incomplete_subtype_p): New | |
156 | helper function. | |
157 | (gimple_types_compatible_p): Similar to pointed-to | |
158 | types allow and merge a mix of complete and incomplete aggregate. | |
159 | Use gimple_fixup_complete_and_incomplete_subtype_p for that. | |
160 | (iterative_hash_gimple_type): Adjust for that. | |
161 | ||
96fbe9dd | 162 | 2010-07-10 Richard Sandiford <r.sandiford@uk.ibm.com> |
163 | ||
164 | * tree.h (DECL_REPLACEABLE_P): Strengthen check for weak symbols. | |
165 | ||
c4796e8b | 166 | 2010-07-10 Iain Sandoe <iains@gcc.gnu.org> |
167 | ||
168 | PR objc/44140 | |
169 | * config/darwin.c (output_objc_section_asm_op): Save and restore | |
170 | section when outputting ObjC section list. | |
171 | ||
30b30a87 | 172 | 2010-07-09 Jan Hubicka <jh@suse.cz> |
173 | ||
c6433337 | 174 | * lto-streamer-out.c (produce_symtab): Do not write alias |
175 | cgraph/varpool nodes. | |
30b30a87 | 176 | |
883fe359 | 177 | 2010-07-09 Jan Hubicka <jh@suse.cz> |
178 | ||
179 | * tree-inline.c (declare_return_variable): Fix ICE while | |
180 | inlining DECL_BY_VALUE function not in SSA form | |
181 | ||
76595608 | 182 | 2010-07-09 Changpeng Fang <changpeng.fang@amd.com> |
183 | ||
184 | PR tree-optimization/44576 | |
185 | * tree-ssa-loop-prefetch.c (trip_count_to_ahead_ratio_too_small_p): | |
186 | New. Pull out from is_loop_prefetching_profitable to implement | |
187 | the trip count to ahead ratio heuristic. | |
188 | (mem_ref_count_reasonable_p): New. Pull out from | |
189 | is_loop_prefetching_profitable to implement the instruction to | |
190 | memory reference ratio heuristic. Also consider not reasonable if | |
191 | the memory reference count is above a threshold (to avoid | |
192 | explosive compilation time. | |
193 | (insn_to_prefetch_ratio_too_small_p): New. Pull out from | |
194 | is_loop_prefetching_profitable to implement the instruction to | |
195 | prefetch ratio heuristic. | |
196 | (is_loop_prefetching_profitable): Removed. | |
197 | (loop_prefetch_arrays): Distribute the cost analysis across the | |
198 | function to allow early exit of the prefetch analysis. | |
199 | is_loop_prefetching_profitable is splitted into three functions, | |
200 | with each one called as early as possible. | |
201 | (PREFETCH_MAX_MEM_REFS_PER_LOOP): New. Threshold above which the | |
202 | number of memory references in a loop is considered too many. | |
203 | ||
bccb5444 | 204 | 2010-07-09 Bernd Schmidt <bernds@codesourcery.com> |
205 | ||
c6433337 | 206 | * reload.c (find_reloads): Don't clear badop if we have a winreg |
207 | alternative, but not win, and the class only has fixed regs. | |
bccb5444 | 208 | * hard-reg-set.h (class_only_fixed_regs): Declare. |
209 | * reginfo.c (class_only_fixed_regs): New array. | |
210 | (init_reg_sets_1): Initialize it. | |
211 | * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn): Don't | |
212 | discourage alternatives using the stack pointer. | |
213 | ||
e54011cb | 214 | * config/arm/arm.md (addsi3_cbranch): Switch alternatives 0 and 1. |
215 | ||
8a3b73a1 | 216 | * config/arm/arm.md (Thumb-1 ldrsb peephole): New. |
217 | ||
d0f6c30d | 218 | * config/arm/arm.md (cbranchqi4): Fix array size. |
219 | (addsi3_cbranch): Also andle alternative 2 like alternative 3 when | |
220 | calculating length. | |
221 | ||
a8a0294d | 222 | 2010-07-09 Richard Guenther <rguenther@suse.de> |
223 | ||
224 | * gimple.c (struct type_fixup_s): New struct and VEC type. | |
225 | (gimple_register_type_fixups): New static global. | |
226 | (gimple_queue_type_fixup): New function. | |
227 | (gimple_types_compatible_p): Queue type fixups instead of | |
228 | applying them here. | |
229 | (gimple_register_type): Apply queued fixups for the | |
230 | canonical type. Empty the type fixup queue. | |
231 | ||
66d2fcdf | 232 | 2010-07-09 Uros Bizjak <ubizjak@gmail.com> |
233 | ||
234 | * configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Fix test. | |
235 | * configure: Regenerate. | |
a704d829 | 236 | * config.in: Ditto. |
66d2fcdf | 237 | |
522b9a02 | 238 | 2010-07-09 Jakub Jelinek <jakub@redhat.com> |
239 | Denys Vlasenko <dvlasenk@redhat.com> | |
240 | Bernhard Reutner-Fischer <aldot@gcc.gnu.org> | |
241 | ||
242 | PR tree-optimization/28632 | |
243 | * tree-vrp.c (zero_nonzero_bits_from_vr): New function. | |
244 | (extract_range_from_binary_expr): Further optimize | |
245 | BIT_AND_EXPR and BIT_IOR_EXPR. | |
246 | ||
4be7307c | 247 | 2010-07-09 Sebastian Pop <sebastian.pop@amd.com> |
248 | ||
249 | * tree-if-conv.c (fold_or_predicates): New. | |
250 | (add_to_predicate_list): Call it. | |
251 | ||
a34ee42c | 252 | 2010-07-09 Richard Guenther <rguenther@suse.de> |
253 | ||
254 | PR middle-end/44890 | |
255 | * tree-ssa-address.c (create_mem_ref_raw): Only build a MEM_REF | |
256 | if base is a pointer. | |
257 | * tree-cfg.c (verify_expr): Update MEM_REF checking. | |
258 | ||
6dbffd4b | 259 | 2010-07-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
260 | ||
261 | PR target/44877 | |
262 | * config/rs6000/rs6000.c (rs6000_expand_builtin): Use | |
263 | POINTER_TYPE_P instead of checking only for POINTER_TYPE for the | |
264 | builtin mask for load/store builtins. | |
265 | ||
44ddfc4c | 266 | 2010-07-09 Uros Bizjak <ubizjak@gmail.com> |
267 | ||
268 | * configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Also check | |
269 | for "lock addl". | |
270 | * configure: Regenerate. | |
271 | * config/i386/i386.c (ix86_print_operand) <case ';'>: | |
272 | Remove TARGET_MACHO. | |
273 | ||
587d8e9f | 274 | 2010-07-09 Peter Bergner <bergner@vnet.ibm.com> |
275 | ||
276 | * config/rs6000/rs6000.c (rs6000_override_options): Fix setting of | |
277 | default ISA flags. | |
278 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -mvsx. | |
279 | ||
45ebb60b | 280 | 2010-07-09 Tom de Vries <tjvries@xs4all.nl> |
281 | ||
282 | * tree.c (type_hash_if_marked_p): Removed non-ggc_marked_p clause. | |
283 | ||
66d2fcdf | 284 | 2010-07-09 Hariharan Sandanagobalane <hariharan@picochip.com> |
824a60c9 | 285 | |
286 | * config/picochip/picochip.md (commsTestPort): Emit more | |
287 | efficient sequence for tstport instruction. | |
288 | ||
7621beb8 | 289 | 2010-07-09 Uros Bizjak <ubizjak@gmail.com> |
290 | ||
291 | * config/i386/i386.c (ix86_veclib_handler): Make static. | |
292 | ||
7749ee1c | 293 | 2010-07-09 Richard Guenther <rguenther@suse.de> |
294 | ||
295 | PR tree-optimization/44852 | |
296 | * tree-ssa-alias.c: Include toplev.h for exact_log2. | |
297 | (indirect_ref_may_alias_decl_p): Properly handle negative offsets | |
298 | in MEM_REF. | |
299 | (indirect_refs_may_alias_p): Likewise. | |
300 | * Makefile.in (tree-ssa-alias.o): Add $(TOPLEV_H). | |
301 | ||
be452c6c | 302 | 2010-07-09 Richard Guenther <rguenther@suse.de> |
303 | ||
304 | PR tree-optimization/44882 | |
305 | * tree-vect-stmts.c (vectorizable_store): Do not assert alias | |
306 | sets do conflict. | |
307 | (vectorizable_load): Likewise. | |
308 | ||
73b667ba | 309 | 2010-07-09 Bernd Schmidt <bernds@codesourcery.com> |
310 | ||
311 | PR target/40657 | |
312 | * config/arm/arm.c (thumb1_extra_regs_pushed): New arg FOR_PROLOGUE. | |
313 | All callers changed. | |
314 | Handle the case when we're called for the epilogue. | |
315 | (thumb_unexpanded_epilogue): Use it. | |
316 | (thumb1_expand_epilogue): Likewise. | |
317 | ||
0c0b52bd | 318 | 2010-07-09 Jakub Jelinek <jakub@redhat.com> |
319 | ||
320 | * tree-vrp.c (extract_range_from_binary_expr) <BIT_AND_EXPR>: If | |
321 | both ranges are range_int_cst_p with non-negative minimum, | |
322 | try harder to derive smaller range. | |
323 | ||
c18cb818 | 324 | 2010-07-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
325 | ||
326 | * genrecog.c: Include diagnostic-core.h before toplev.h. | |
327 | * genoutput.c: Likewise. | |
328 | * genextract.c: Likewise. | |
329 | * genautomata.c: Likewise. | |
330 | * genemit.c: Likewise. | |
331 | * genpeep.c: Likewise. | |
332 | * genattrtab.c: Likewise. | |
333 | * genconditions.c: Likewise. | |
334 | * genpreds.c: Likewise. | |
335 | ||
7621beb8 | 336 | 2010-07-08 Andi Kleen <ak@linux.intel.com> |
f0064c1b | 337 | |
338 | * lto-section-in.c (lto_section_name): Add missing comma. | |
339 | ||
e81d24dd | 340 | 2010-07-08 Anatoly Sokolov <aesok@post.ru> |
341 | ||
342 | * config/ia64/ia64.h (OVERRIDE_OPTIONS): Remove macros. | |
343 | * config/ia64/ia64-protos.h (ia64_override_options): Remove. | |
344 | * config/ia64/ia64.c (TARGET_OPTION_OVERRIDE): Define. | |
345 | (ia64_override_options): Rename to... | |
346 | (ia64_option_override): ... this one. Make static. | |
347 | ||
936dedf3 | 348 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
349 | ||
350 | PR middle-end/44843 | |
351 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not rely on the | |
352 | pointed-to type of the offset in a MEM_REF to compute the alignment. | |
353 | ||
2761b7cb | 354 | 2010-07-08 Kai Tietz <kai.tietz@onevision.com> |
355 | ||
53b72e99 | 356 | * final.c (final_scan_insn): Replace |
357 | TARGET_UNWIND_INFO macro check by unwind_emit | |
358 | hook NULL check. | |
359 | * targhooks.c (default_unwind_emit): Removed. | |
360 | * targhooks.h (default_unwind_emit): Likewise. | |
361 | * target.def (unwind_emit): Set default value to NULL. | |
362 | ||
2761b7cb | 363 | * config/i386/i386-protos.h (ix86_asm_output_function_label): |
364 | New prototype. | |
365 | * config/i386/i386.c (ix86_function_ms_hook_prologue): Check | |
366 | for NULL fntype argument and allow 64-bit targets. | |
367 | (ix86_asm_output_function_label): New function. | |
368 | (ix86_expand_prologue): Handle 64-bit ms hook prologue. | |
369 | (ix86_handle_fndecl_attribute): Likewise. | |
370 | * doc/extend.texi (ms_hook_prologue): Adjust documentation. | |
371 | * doc/doc/tm.texi: Regenerated. | |
372 | * doc/doc/doc/tm.texi.in (ASM_OUTPUT_FUNCTION_LABEL): New. | |
373 | (ASM_DECLARE_FUNCTION_NAME): Adjust documentation. | |
374 | * defaults.h (ASM_OUTPUT_FUNCTION_LABEL): New macro. | |
375 | * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use | |
376 | ASM_OUTPUT_FUNCTION_LABEL instead of ASM_OUTPUT_LABEL. | |
377 | * config/elfos.h: Likewise. | |
378 | * config/i386/cygming.h: Likewise. | |
379 | * config/netbsd-aout.h: Likewise. | |
380 | * config/openbsd.h: Likewise. | |
381 | * config/i386/i386.h (ASM_OUTPUT_FUNCTION_LABEL): Override | |
382 | by ix86_asm_output_function_label function call. | |
383 | * varasm.c (assemble_start_function): Use | |
384 | ASM_OUTPUT_FUNCTION_LABEL instead of ASM_OUTPUT_LABEL. | |
385 | ||
69b18a8b | 386 | 2010-07-08 Jan Hubicka <jh@suse.cz> |
387 | ||
388 | * cgraph.c (cgraph_will_be_removed_from_program_if_no_direct_calls): | |
389 | New function. | |
390 | * cgraph.h (cgraph_will_be_removed_from_program_if_no_direct_calls): | |
391 | Declare. | |
392 | * ipa-cp.c (ipcp_estimate_growth): Use it. | |
393 | * ipa-inline.c (cgraph_estimate_growth, cgraph_decide_inlining): | |
394 | Likewise. | |
395 | ||
1aeb48b8 | 396 | 2010-07-08 Jan Hubicka <jh@suse.cz> |
397 | ||
398 | * tree-inline.c (declare_return_variable): Allocate annotation for new | |
399 | temporary. | |
400 | ||
74a43fe9 | 401 | 2010-07-08 Sebastian Pop <sebastian.pop@amd.com> |
402 | ||
403 | PR tree-optimization/44710 | |
404 | * tree-if-conv.c (parse_predicate): New. | |
405 | (add_to_predicate_list): Call it, call maybe_fold_or_comparisons. | |
406 | Make sure that the predicates are either SSA_NAMEs or gimple_condexpr. | |
407 | ||
0cb1935d | 408 | 2010-07-08 Sebastian Pop <sebastian.pop@amd.com> |
409 | ||
410 | * common.opt (ftree-loop-if-convert): New flag. | |
411 | * doc/invoke.texi (ftree-loop-if-convert): Documented. | |
412 | * tree-if-conv.c (gate_tree_if_conversion): Enable if-conversion | |
413 | when flag_tree_loop_if_convert is set. | |
414 | ||
a2db09d3 | 415 | 2010-07-08 Uros Bizjak <ubizjak@gmail.com> |
416 | ||
417 | * config/i386/i386.c: Use short syntax for function calls | |
418 | through function pointers. | |
419 | * config/i386/i386.md: Ditto. | |
420 | ||
679e0056 | 421 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
422 | ||
423 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix formatting issues. | |
424 | ||
b62e7449 | 425 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
426 | ||
427 | * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): Fix | |
428 | stmt check for POINTER_PLUS_EXPRs, fix the pointer assignment. | |
429 | ||
6f08371e | 430 | 2010-07-08 Jakub Jelinek <jakub@redhat.com> |
431 | ||
432 | * dwarf2out.c (mem_loc_descriptor): Use DW_OP_const[48]u | |
433 | instead of DW_OP_addr for DW_OP_GNU_push_tls_address operand. | |
434 | (loc_list_from_tree): Likewise. | |
435 | (output_loc_operands): Handle outputting DW_OP_const[48]u | |
436 | with loc->dtprel set. | |
437 | (resolve_addr_in_expr): Handle loc->dtprel like DW_OP_addr. | |
438 | ||
ced14259 | 439 | 2010-07-08 Jan Hubicka <jh@suse.cz> |
440 | ||
441 | * ipa.c: Include pointer-set.h | |
442 | (cgraph_externally_visible_p): New attribute ALIASED; | |
443 | when in LTO, hidden symbols are local unless they are aliased. | |
444 | (function_and_variable_visibility): Compute aliased nodes; | |
445 | handle LTO and hidden symbol on functions and vars. | |
446 | * cgraph.c (cgraph_make_decl_local): Clear NAMED_SECTION | |
447 | for COMDAT symbols; handle COMDAT_GROUPS also at vars. | |
448 | ||
7505c173 | 449 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
450 | ||
451 | * config/i386/cygming.h (STACK_CHECK_STATIC_BUILTIN): Define to 1. | |
452 | * config/i386/freebsd.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
453 | * config/i386/linux.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
454 | * config/i386/linux64.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
455 | * config/i386/sol2.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
456 | * config/i386/i386.c (ix86_gen_adjust_stack_and_probe): New variable. | |
457 | (ix86_gen_probe_stack_range): Likewise. | |
458 | (override_options): Set them. | |
459 | (ix86_target_stack_probe): New function. | |
460 | (ix86_compute_frame_layout): Force use of push instructions to | |
461 | save registers if stack checking with probes is enabled. | |
462 | (get_scratch_register_on_entry): New function. | |
463 | (release_scratch_register_on_entry): Likewise. | |
464 | (ix86_adjust_stack_and_probe): Likewise. | |
465 | (output_adjust_stack_and_probe): Likewise. | |
466 | (ix86_emit_probe_stack_range): Likewise. | |
467 | (output_probe_stack_range): Likewise. | |
468 | (ix86_expand_prologue): Emit stack checking code if static built-in | |
469 | stack checking is enabled. | |
470 | Test ix86_target_stack_probe instead of TARGET_STACK_PROBE. | |
471 | * config/i386/i386-protos.h (ix86_target_stack_probe): Declare. | |
472 | (output_adjust_stack_and_probe): Likewise. | |
473 | (output_probe_stack_range): Likewise. | |
474 | * config/i386/i386.md (UNSPECV_PROBE_STACK_RANGE): New constant. | |
475 | (allocate_stack_worker_32): Test ix86_target_stack_probe instead of | |
476 | TARGET_STACK_PROBE. | |
477 | (allocate_stack_worker_64): Likewise. | |
478 | (allocate_stack): Likewise. | |
479 | (adjust_stack_and_probe): New insn. | |
480 | (probe_stack_range): Likewise. | |
481 | ||
16952c2c | 482 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
483 | ||
484 | PR tree-optimization/44831 | |
485 | * tree-ssa-phiprop.c (phiprop_insert_phi): Properly build | |
486 | a MEM_REF preserving TBAA info of the original dereference. | |
44ddfc4c | 487 | Dereference the original pointer if the address is not invariant. |
16952c2c | 488 | (propagate_with_phi): Fixup type checks wrt MEM_REFs. Require |
489 | at least one invariant address that we are going to dereference. | |
490 | ||
2cb9ef39 | 491 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
492 | ||
493 | PR tree-optimization/44861 | |
494 | * tree-vect-stmts.c (vectorizable_store): Preserve TBAA | |
495 | information when building MEM_REFs. | |
496 | (vectorizable_load): Likewise. | |
497 | * tree-vect-data-refs.c (vect_setup_realignment): Likewise. | |
498 | ||
7f9b4a0f | 499 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
500 | ||
501 | * config/sol2-c.c: Do not include diagnostic-core.h. | |
502 | ||
73b46517 | 503 | 2010-07-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
504 | ||
f0064c1b | 505 | PR bootstrap/44768 |
73b46517 | 506 | * cfgexpand.c (estimated_stack_frame_size): Make self-contained |
507 | with respect to current_function_decl. Pass decl of the function. | |
508 | * tree-inline.h (estimated_stack_frame_size): Adjust prototype. | |
509 | * ipa-inline.c (compute_inline_parameters): Pass decl to | |
510 | estimated_stack_frame_size. | |
511 | ||
37b80bde | 512 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
513 | ||
514 | * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): | |
515 | New function. | |
516 | (valueize_refs): Call it. | |
517 | ||
b5c3c805 | 518 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
519 | ||
520 | PR rtl-optimization/44838 | |
521 | * tree-ssa-alias.c (indirect_refs_may_alias_p): When not in | |
522 | SSA form do not use pointer equivalence. | |
523 | ||
40b670ae | 524 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
525 | ||
526 | * dwarf2out.c (AT_linkage_name): Delete. | |
527 | (add_linkage_attr): New function. | |
528 | (add_linkage_name): Call it to emit the linkage attribute. | |
529 | (dwarf2out_finish): Likewise. | |
530 | (move_linkage_attr): Explicitly accept both attribute variants. | |
531 | ||
0b205f4c | 532 | 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
533 | ||
534 | * toplev.h: Do not include diagnostic-core.h. | |
535 | Include diagnostic-core.h in every file that includes toplev.h. | |
536 | * c-tree.h: Do not include toplev.h. | |
537 | * pretty-print.h: Update comment. | |
538 | * Makefile.in: Update dependencies. | |
539 | * alias.c: Include diagnostic-core.h in every file that includes | |
540 | toplev.h. | |
541 | * attribs.c: Likewise. | |
542 | * auto-inc-dec.c: Likewise. | |
543 | * bb-reorder.c: Likewise. | |
544 | * bt-load.c: Likewise. | |
545 | * caller-save.c: Likewise. | |
546 | * calls.c: Likewise. | |
547 | * cfg.c: Likewise. | |
548 | * cfganal.c: Likewise. | |
549 | * cfgbuild.c: Likewise. | |
550 | * cfgcleanup.c: Likewise. | |
551 | * cfghooks.c: Likewise. | |
552 | * cfgloop.c: Likewise. | |
553 | * combine.c: Likewise. | |
554 | * config/alpha/alpha.c: Likewise. | |
555 | * config/arc/arc.c: Likewise. | |
556 | * config/arm/arm.c: Likewise. | |
557 | * config/arm/pe.c: Likewise. | |
558 | * config/avr/avr.c: Likewise. | |
559 | * config/bfin/bfin.c: Likewise. | |
560 | * config/cris/cris.c: Likewise. | |
561 | * config/crx/crx.c: Likewise. | |
562 | * config/darwin-c.c: Likewise. | |
563 | * config/darwin.c: Likewise. | |
564 | * config/fr30/fr30.c: Likewise. | |
565 | * config/frv/frv.c: Likewise. | |
566 | * config/h8300/h8300.c: Likewise. | |
567 | * config/host-darwin.c: Likewise. | |
568 | * config/i386/i386.c: Likewise. | |
569 | * config/i386/netware.c: Likewise. | |
570 | * config/i386/nwld.c: Likewise. | |
571 | * config/i386/winnt-cxx.c: Likewise. | |
572 | * config/i386/winnt-stubs.c: Likewise. | |
573 | * config/i386/winnt.c: Likewise. | |
574 | * config/ia64/ia64-c.c: Likewise. | |
575 | * config/ia64/ia64.c: Likewise. | |
576 | * config/iq2000/iq2000.c: Likewise. | |
577 | * config/lm32/lm32.c: Likewise. | |
578 | * config/m32c/m32c-pragma.c: Likewise. | |
579 | * config/m32c/m32c.c: Likewise. | |
580 | * config/m32r/m32r.c: Likewise. | |
581 | * config/m68hc11/m68hc11.c: Likewise. | |
582 | * config/m68k/m68k.c: Likewise. | |
583 | * config/mcore/mcore.c: Likewise. | |
584 | * config/mep/mep-pragma.c: Likewise. | |
585 | * config/mep/mep.c: Likewise. | |
586 | * config/mmix/mmix.c: Likewise. | |
587 | * config/mn10300/mn10300.c: Likewise. | |
588 | * config/moxie/moxie.c: Likewise. | |
589 | * config/pa/pa.c: Likewise. | |
590 | * config/pdp11/pdp11.c: Likewise. | |
591 | * config/picochip/picochip.c: Likewise. | |
592 | * config/rs6000/rs6000-c.c: Likewise. | |
593 | * config/rs6000/rs6000.c: Likewise. | |
594 | * config/rx/rx.c: Likewise. | |
595 | * config/s390/s390.c: Likewise. | |
596 | * config/score/score.c: Likewise. | |
597 | * config/score/score3.c: Likewise. | |
598 | * config/score/score7.c: Likewise. | |
599 | * config/sh/sh.c: Likewise. | |
600 | * config/sh/symbian-base.c: Likewise. | |
601 | * config/sh/symbian-c.c: Likewise. | |
602 | * config/sh/symbian-cxx.c: Likewise. | |
603 | * config/sol2-c.c: Likewise. | |
604 | * config/sol2.c: Likewise. | |
605 | * config/sparc/sparc.c: Likewise. | |
606 | * config/spu/spu.c: Likewise. | |
607 | * config/stormy16/stormy16.c: Likewise. | |
608 | * config/v850/v850-c.c: Likewise. | |
609 | * config/v850/v850.c: Likewise. | |
610 | * config/vax/vax.c: Likewise. | |
611 | * config/vxworks.c: Likewise. | |
612 | * config/xtensa/xtensa.c: Likewise. | |
613 | * convert.c: Likewise. | |
614 | * cse.c: Likewise. | |
615 | * cselib.c: Likewise. | |
616 | * dbgcnt.c: Likewise. | |
617 | * dbxout.c: Likewise. | |
618 | * ddg.c: Likewise. | |
619 | * dominance.c: Likewise. | |
620 | * emit-rtl.c: Likewise. | |
621 | * explow.c: Likewise. | |
622 | * expmed.c: Likewise. | |
623 | * fixed-value.c: Likewise. | |
624 | * fold-const.c: Likewise. | |
625 | * fwprop.c: Likewise. | |
626 | * gcse.c: Likewise. | |
627 | * ggc-common.c: Likewise. | |
628 | * ggc-page.c: Likewise. | |
629 | * ggc-zone.c: Likewise. | |
630 | * gimple-low.c: Likewise. | |
631 | * gimplify.c: Likewise. | |
632 | * graph.c: Likewise. | |
633 | * haifa-sched.c: Likewise. | |
634 | * ifcvt.c: Likewise. | |
635 | * implicit-zee.c: Likewise. | |
636 | * integrate.c: Likewise. | |
637 | * ira-build.c: Likewise. | |
638 | * ira-color.c: Likewise. | |
639 | * ira-conflicts.c: Likewise. | |
640 | * ira-costs.c: Likewise. | |
641 | * ira-lives.c: Likewise. | |
642 | * ira.c: Likewise. | |
643 | * lists.c: Likewise. | |
644 | * loop-doloop.c: Likewise. | |
645 | * loop-iv.c: Likewise. | |
646 | * lto-opts.c: Likewise. | |
647 | * lto-symtab.c: Likewise. | |
648 | * main.c: Likewise. | |
649 | * modulo-sched.c: Likewise. | |
650 | * optabs.c: Likewise. | |
651 | * params.c: Likewise. | |
652 | * plugin.c: Likewise. | |
653 | * postreload-gcse.c: Likewise. | |
654 | * postreload.c: Likewise. | |
655 | * predict.c: Likewise. | |
656 | * profile.c: Likewise. | |
657 | * real.c: Likewise. | |
658 | * regcprop.c: Likewise. | |
659 | * reginfo.c: Likewise. | |
660 | * regmove.c: Likewise. | |
661 | * reorg.c: Likewise. | |
662 | * resource.c: Likewise. | |
663 | * rtl.c: Likewise. | |
664 | * rtlanal.c: Likewise. | |
665 | * sched-deps.c: Likewise. | |
666 | * sched-ebb.c: Likewise. | |
667 | * sched-rgn.c: Likewise. | |
668 | * sdbout.c: Likewise. | |
669 | * sel-sched-dump.c: Likewise. | |
670 | * sel-sched-ir.c: Likewise. | |
671 | * simplify-rtx.c: Likewise. | |
672 | * stmt.c: Likewise. | |
673 | * stor-layout.c: Likewise. | |
674 | * store-motion.c: Likewise. | |
675 | * targhooks.c: Likewise. | |
676 | * tree-cfg.c: Likewise. | |
677 | * tree-cfgcleanup.c: Likewise. | |
678 | * tree-dump.c: Likewise. | |
679 | * tree-eh.c: Likewise. | |
680 | * tree-inline.c: Likewise. | |
681 | * tree-nomudflap.c: Likewise. | |
682 | * tree-object-size.c: Likewise. | |
683 | * tree-optimize.c: Likewise. | |
684 | * tree-outof-ssa.c: Likewise. | |
685 | * tree-phinodes.c: Likewise. | |
686 | * tree-profile.c: Likewise. | |
687 | * tree-ssa-ccp.c: Likewise. | |
688 | * tree-ssa-coalesce.c: Likewise. | |
689 | * tree-ssa-live.c: Likewise. | |
690 | * tree-ssa-loop-niter.c: Likewise. | |
691 | * tree-ssa-loop-prefetch.c: Likewise. | |
692 | * tree-ssa-loop.c: Likewise. | |
693 | * tree-ssa-structalias.c: Likewise. | |
694 | * tree-ssa-uninit.c: Likewise. | |
695 | * tree-ssa.c: Likewise. | |
696 | * tree-vect-data-refs.c: Likewise. | |
697 | * tree-vect-loop-manip.c: Likewise. | |
698 | * tree-vect-loop.c: Likewise. | |
699 | * tree-vect-patterns.c: Likewise. | |
700 | * tree-vect-stmts.c: Likewise. | |
701 | * tree-vrp.c: Likewise. | |
702 | * varasm.c: Likewise. | |
703 | * vec.c: Likewise. | |
704 | * web.c: Likewise. | |
705 | * xcoffout.c: Likewise. | |
706 | ||
e032b646 | 707 | 2010-07-07 Richard Sandiford <rdsandiford@googlemail.com> |
708 | ||
709 | * gengtype.c (write_field_root): New function. | |
710 | (write_root): Use it. | |
711 | ||
5ff35328 | 712 | 2010-07-07 Wei Guozhi <carrot@google.com> |
713 | ||
714 | * config/arm/thumb2.md (peephole2 to convert zero_extract/compare | |
715 | of lowest bits to lshift/compare): Add a missing line. | |
716 | ||
95940f48 | 717 | 2010-07-07 Wei Guozhi <carrot@google.com> |
718 | ||
719 | * config/arm/thumb2.md (peephole2 to convert zero_extract/compare | |
720 | of lowest bits to lshift/compare): New. | |
721 | ||
1651aa77 | 722 | 2010-07-07 Tom Tromey <tromey@redhat.com> |
723 | ||
724 | * doc/tm.texi: Update. | |
725 | * doc/tm.texi.in (SDB and DWARF) <TARGET_WANT_DEBUG_PUB_SECTIONS>: | |
726 | Add @hook. | |
727 | * target.def (want_debug_pub_sections): New hook. | |
728 | * config/darwin.h (TARGET_WANT_DEBUG_PUB_SECTIONS): Define. | |
729 | * dwarf2out.c (add_pubname_string): Check | |
730 | targetm.want_debug_pub_sections. | |
731 | (add_pubname): Likewise. | |
732 | (add_pubtype): Likewise. | |
733 | ||
103aa124 | 734 | 2010-07-07 Jie Zhang <jie@codesourcery.com> |
735 | ||
736 | * genautomata.c (output_automata_list_min_issue_delay_code): | |
737 | Correctly decompress min_issue_delay. | |
738 | ||
6416852c | 739 | 2010-07-07 Bernd Schmidt <bernds@codesourcery.com> |
740 | ||
741 | PR rtl-optimization/44404 | |
742 | * auto-inc-dec.c (find_inc): Avoid calling count_occurrences if | |
743 | possible, use reg_overlap_mentioned_p instead. | |
744 | ||
27532754 | 745 | 2010-07-07 Duncan Sands <baldrick@free.fr> |
746 | ||
747 | PR middle-end/41355 | |
748 | * tree.c (build_function_type_skip_args): Copy the original type using | |
f0064c1b | 749 | build_distinct_type_copy rather than copy_node. |
27532754 | 750 | |
c06d00c8 | 751 | 2010-07-07 H.J. Lu <hongjiu.lu@intel.com> |
752 | ||
753 | PR target/44850 | |
754 | * config/i386/i386.c (ix86_function_ms_hook_prologue): Revert | |
755 | revision 161876. | |
756 | (ix86_expand_prologue): Likewise. | |
757 | (ix86_handle_fndecl_attribute): Likewise. | |
758 | (ix86_asm_declare_function_name): Likewise. | |
759 | * config/i386/i386.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
760 | * config/i386/cygming.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
761 | (SUBTARGET_ASM_DECLARE_FUNCTION_NAME): Likewise. | |
44ddfc4c | 762 | * config/i386/i386-protos.h (ix86_asm_declare_function_name): Likewise. |
c06d00c8 | 763 | * doc/extend.texi: Likewise. |
764 | ||
1d80f401 | 765 | 2010-07-07 H.J. Lu <hongjiu.lu@intel.com> |
766 | ||
767 | PR target/44844 | |
768 | * config/i386/i386.md (rdrand<mode>): Changed to expand to | |
769 | retry if the carry flag isn't valid. | |
770 | (rdrand<mode>_1): New. | |
771 | ||
6e99c565 | 772 | 2010-07-07 Richard Guenther <rguenther@suse.de> |
773 | ||
774 | PR middle-end/44790 | |
775 | * expr.c (expand_expr_real_1): Go the POINTER_PLUS_EXPR path | |
776 | for expanding the constant offset for MEM_REFs. | |
777 | ||
251e7603 | 778 | 2010-07-07 Richard Guenther <rguenther@suse.de> |
779 | ||
780 | * tree-ssa-propagate.h (valid_gimple_call_p): Remove. | |
781 | * tree-ssa-propagate.c (valid_gimple_call_p): Make static. Fix. | |
782 | * gimple.h (is_gimple_operand): Remove. | |
783 | * gimple.c (is_gimple_operand): Likewise. | |
784 | (walk_gimple_op): Fix wi->val_only setting for calls. | |
785 | * tree-cfg.c (verify_gimple_call): Fix argument validation. | |
786 | * tree-profile.c (tree_gen_ic_func_profiler): Do not create | |
787 | invalid gimple calls. | |
788 | ||
14c5d106 | 789 | 2010-07-06 Jan Hubicka <jh@suse.cz> |
790 | ||
791 | * lto-cgraph.c (output_cgraph): Add missing declaration. | |
792 | ||
2b7c48a1 | 793 | 2010-07-06 Jan Hubicka <jh@suse.cz> |
794 | ||
795 | * lto-cgraph.c (output_cgraph): Output toplevel asms only into first | |
796 | partition. | |
797 | ||
539f863b | 798 | 2010-07-06 Alexandre Oliva <aoliva@redhat.com> |
799 | ||
800 | * doc/gimple.texi (GIMPLE_DEBUG): Document. | |
801 | * doc/rtl.texi (Debug Information): New node. | |
802 | (NOTE_INSN_VAR_LOCATION): Document. | |
803 | (debug_insn): Likewise. | |
804 | * doc/generic.texi (DEBUG_EXPR_DECL): Document. | |
805 | ||
524a0531 | 806 | 2010-07-07 Jan Hubicka <jh@suse.cz> |
807 | ||
44ddfc4c | 808 | With parts by Richard Guenther. |
524a0531 | 809 | |
810 | PR middle-end/44813 | |
811 | * tree-ssa-uninit.c (ssa_undefined_value_p): Result decl is defined | |
812 | for functions passed by reference. | |
813 | * tree.c (needs_to_live_in_memory): RESULT_DECL don't need to live | |
814 | in memory when passed by reference. | |
815 | * tree-ssa-ccp.c (get_default_value): Only VAR_DECL is undefined at | |
816 | beggining. | |
817 | * ipa-split.c (split_function): Cleanup way return value is passed; | |
818 | handle SSA DECL_BY_REFERENCE retvals. | |
819 | * tree-ssa.c (verify_def): Verify that RESULT_DECL is read only when | |
820 | DECL_BY_REFERENCE is set. | |
821 | * tree-ssa-structalias.c (get_constraint_for_ssa_var, get_fi_for_callee, | |
822 | find_what_p_points_to): Handle RESULT_DECL. | |
823 | * tree-inline.c (declare_return_variable): Get new entry_block argument; | |
824 | when passing by reference ensure that RESULT_DECL is gimple_val. | |
825 | (remap_gimple_op_r): Remap RESULT_DECL ssa name. | |
826 | (remap_gimple_stmt): Handle SSA DECL_BY_REFERENCE returns. | |
827 | ||
6b163369 | 828 | 2010-07-07 Bernd Schmidt <bernds@codesourcery.com> |
829 | ||
830 | PR rtl-optimization/44787 | |
831 | * config/arm/arm.md (arith_shiftsi): Allow stack pointer in operand 2. | |
832 | * config/arm/thumb2.md (thumb2_arith_shiftsi): Likewise. | |
833 | ||
0f4e132d | 834 | 2010-07-06 Jan Hubicka <jh@suse.cz> |
835 | ||
836 | * lto-symtab.c (lto_cgraph_replace_node): Handle aliases. | |
837 | (lto_symtab_resolve_can_prevail_p): Also alias of cgraph node | |
838 | with body can prevail. | |
839 | (lto_symtab_resolve_symbols): Use cgraph_get_node_or_alias. | |
840 | (lto_symtab_merge_cgraph_nodes_1): Do not remove nodes from aliases. | |
841 | * cgraph.c (cgraph_get_node_or_alias): New function. | |
842 | * cgraph.h (cgraph_get_node_or_alias): Declare. | |
843 | ||
48f2922b | 844 | 2010-07-06 Kai Tietz <kai.tietz@onevision.com> |
845 | ||
846 | * config/i386/i386.c (ix86_function_ms_hook_prologue): Enable x64 | |
847 | support. | |
848 | (ix86_expand_prologue): Likewise. | |
849 | (ix86_handle_fndecl_attribute): Likewise. | |
850 | (ix86_asm_declare_function_name): New function for | |
851 | ASM_DECLARE_FUNCTION_NAME. | |
852 | * config/i386/i386.h (ASM_DECLARE_FUNCTION_NAME): New macro. | |
853 | * config/i386/cygming.h (ASM_DECLARE_FUNCTION_NAME): Removed. | |
854 | (SUBTARGET_ASM_DECLARE_FUNCTION_NAME): New macro. | |
855 | * config/i386/i386-protos.h (ix86_asm_declare_function_name): New. | |
856 | * doc/extend.texi: Adjust documentation about ms_hook_prologue | |
857 | attribute. | |
858 | ||
c2497623 | 859 | 2010-07-06 Uros Bizjak <ubizjak@gmail.com> |
860 | ||
861 | * config/i386/i386.md (immediate_operand): New mode attribute. | |
a2db09d3 | 862 | |
c2497623 | 863 | (pro_epilogue_adjust_stack_<mode>_1): Macroize insn from |
864 | pro_epilogue_adjust_stack and pro_epilogue_adjust_stack_rex64 | |
865 | using P mode iterator. | |
866 | (pro_epilogue_adjust_stack_di_2): Rename from | |
867 | pro_epilogue_adjust_stack_rex64_2. | |
868 | ||
869 | * config/i386/i386.c (pro_epilogue_adjust_stack): Update for rename. | |
870 | ||
871 | 2010-07-06 Uros Bizjak <ubizjak@gmail.com> | |
872 | ||
873 | * config/i386/i386.md (insv): Call gen_movdi_insv1 or gen_movsi_insv1 | |
874 | through gen_mov_insv_1 function pointer. | |
875 | (fmod<mode>3): Call gen_truncxf<mode>2_i387_noop_unspec or | |
876 | gen_truncxf<mode>2 through gen_truncxf function pointer. | |
877 | (remainder<mode>3): Ditto. | |
878 | (cmpstrnsi): Rename cmp_insn function pointer to gen_cmp. | |
879 | (allocate_stack): Call gen_allocate_stack_worker_64 or | |
880 | gen_allocate_stack_worker_32 through gen_allocate_stack_worker | |
881 | function pointer. | |
882 | (probe_stack): Call gen_iordi3 or gen_iorsi3 through gen_ior3 | |
883 | function pointer. | |
884 | ||
885 | 2010-07-06 Uros Bizjak <ubizjak@gmail.com> | |
886 | ||
887 | * config/i386/i386.md (*add<mode>3_cconly_overflow): Use <g> | |
888 | operand constraint instead of <r><i>m. | |
889 | ||
8822b885 | 890 | 2010-07-06 Richard Guenther <rguenther@suse.de> |
891 | ||
892 | PR middle-end/44828 | |
893 | * convert.c (convert_to_integer): Watch out for overflowing | |
894 | MULT_EXPR as well. | |
895 | ||
864a438f | 896 | 2010-07-05 Jan Hubicka <jh@suse.cz> |
897 | ||
898 | * lto-streamer.c (write_symbol_vec): Rename to ... | |
899 | (write_symbol) ... this one; write only symbol given and when | |
900 | present in cache. Sanity check that what is defined is present | |
901 | in cgraph/varpool with body/finalized decl. | |
902 | (write_symbols_of_kind): Remove. | |
903 | (produce_symtab): Take outputblock and sets; use cgraph/varpool/alias | |
904 | pairs to produce symtab. | |
905 | (produce_asm_for_decls): Update call of produce_symtab; don't do so | |
906 | when doing WPA streaming. | |
907 | ||
224d1be8 | 908 | 2010-07-05 Jan Hubicka <jh@suse.cz> |
909 | ||
910 | * gimple-fold.c (gimple_fold_obj_type_ref_known_binfo): Check that | |
911 | function is still available to fold into. | |
912 | ||
2ab2ce89 | 913 | 2010-07-05 Nathan Froyd <froydnj@codesourcery.com> |
914 | ||
915 | * vec.h (FOR_EACH_VEC_ELT_REVERSE): New macro. | |
916 | * function.h (struct_function): Change type of local_decls field | |
917 | to a VEC. | |
918 | (add_local_decl): New function. | |
919 | (FOR_EACH_LOCAL_DECL): New macro. | |
920 | * cfgexpand.c (init_vars_expansion): Adjust for new type of | |
921 | cfun->local_decls. | |
922 | (estimated_stack_frame_size): Likewise. | |
923 | (expand_used_vars): Likewise. | |
924 | * cgraphbuild.c (build_cgraph_edges): Likewise. | |
925 | * function.c (instantiate_decls_1): Likewise. | |
926 | * ipa-struct-reorg.c (build_data_structure): Likewise. | |
927 | * ipa-type-escape.c (analyze_function): Likewise. | |
928 | * lto-streamer-in.c (input_function): Likewise. | |
929 | * lto-streamer-out.c (output_function): Likewise. | |
930 | * tree-ssa-live.c (remove_unused_locals): Likewise. | |
931 | * tree.c (free_lang_data_in_decl): Likewise. | |
932 | (find_decls_types_in_node): Likewise. | |
933 | * omp-low.c (remove_exit_barrier): Likewise. | |
934 | (expand_omp_taskreg): Likewise. | |
935 | (list2chain): Rename to... | |
936 | (vec2chain): ...this. Adjust. | |
937 | * cgraphunit.c (assemble_thunk): Call add_local_decl. | |
938 | * tree-cfg.c (replace_by_duplicate_decl): Likewise. | |
939 | * gimple-low.c (record_vars_into): Likewise. | |
940 | * tree-inline.c (remap_decls): Likewise. | |
941 | (declare_return_variable): Likewise. | |
942 | (declare_inline_vars): Likewise. | |
943 | (copy_forbidden): Adjust for new type of cfun->local_decls. | |
944 | (add_local_variables): New function. | |
945 | (expand_call_inline): Call it. | |
946 | (tree_function_versioning): Likewise. | |
947 | ||
ec113e67 | 948 | 2010-07-05 H.J. Lu <hongjiu.lu@intel.com> |
949 | ||
950 | AVX Programming Reference (June, 2010) | |
951 | * config/i386/cpuid.h (bit_F16C): New. | |
952 | (bit_RDRND): Likewise. | |
953 | (bit_FSGSBASE): Likewise. | |
954 | ||
955 | * config/i386/i386-builtin-types.def: Add | |
956 | "DEF_FUNCTION_TYPE (UINT16)", function types for | |
957 | float16 <-> float conversions and | |
958 | "DEF_FUNCTION_TYPE (VOID, UINT64)". | |
959 | ||
960 | * config/i386/i386-c.c (ix86_target_macros_internal): Support | |
961 | OPTION_MASK_ISA_FSGSBASE, OPTION_MASK_ISA_RDRND and | |
962 | OPTION_MASK_ISA_F16C. | |
963 | ||
964 | * config/i386/i386.c (OPTION_MASK_ISA_FSGSBASE_SET): New. | |
965 | (OPTION_MASK_ISA_RDRND_SET): Likewise. | |
966 | (OPTION_MASK_ISA_F16C_SET): Likewise. | |
967 | (OPTION_MASK_ISA_FSGSBASE_UNSET): Likewise. | |
968 | (OPTION_MASK_ISA_RDRND_UNSET): Likewise. | |
969 | (OPTION_MASK_ISA_F16C_UNSET): Likewise. | |
970 | (OPTION_MASK_ISA_AVX_UNSET): Add OPTION_MASK_ISA_F16C_UNSET. | |
c2497623 | 971 | (ix86_handle_option): Handle OPT_mfsgsbase, OPT_mrdrnd and OPT_mf16c. |
ec113e67 | 972 | (ix86_target_string): Support -mfsgsbase, -mrdrnd and -mf16c. |
973 | (pta_flags): Add PTA_FSGSBASE, PTA_RDRND and PTA_F16C. | |
974 | (override_options): Handle them. | |
c2497623 | 975 | (ix86_valid_target_attribute_inner_p): Handle fsgsbase, rdrnd and f16c. |
ec113e67 | 976 | (ix86_builtins): Add IX86_BUILTIN_RDFSBASE32, |
977 | IX86_BUILTIN_RDFSBASE64, IX86_BUILTIN_RDGSBASE32, | |
978 | IX86_BUILTIN_RDGSBASE64, IX86_BUILTIN_WRFSBASE32, | |
979 | IX86_BUILTIN_WRFSBASE64, IX86_BUILTIN_WRGSBASE32, | |
980 | IX86_BUILTIN_WRGSBASE64, IX86_BUILTIN_RDRAND16, | |
981 | IX86_BUILTIN_RDRAND32, IX86_BUILTIN_RDRAND64, | |
982 | IX86_BUILTIN_CVTPH2PS, IX86_BUILTIN_CVTPH2PS256, | |
983 | IX86_BUILTIN_CVTPS2PH and IX86_BUILTIN_CVTPS2PH256. | |
984 | (bdesc_args): Likewise. | |
985 | (ix86_expand_args_builtin): Handle V8SF_FTYPE_V8HI, | |
986 | V4SF_FTYPE_V8HI, V8HI_FTYPE_V8SF_INT and V8HI_FTYPE_V4SF_INT. | |
987 | (ix86_expand_special_args_builtin): Handle VOID_FTYPE_UINT64, | |
988 | VOID_FTYPE_UNSIGNED, UNSIGNED_FTYPE_VOID and UINT16_FTYPE_VOID. | |
989 | Handle non-memory store. | |
990 | ||
991 | * config/i386/i386.h (TARGET_FSGSBASE): New. | |
992 | (TARGET_RDRND): Likewise. | |
993 | (TARGET_F12C): Likewise. | |
994 | ||
995 | * config/i386/i386.md (UNSPEC_VCVTPH2PS): New. | |
996 | (UNSPEC_VCVTPS2PH): Likewise. | |
997 | (UNSPECV_RDFSBASE): Likewise. | |
998 | (UNSPECV_RDGSBASE): Likewise. | |
999 | (UNSPECV_WRFSBASE): Likewise. | |
1000 | (UNSPECV_WRGSBASE): Likewise. | |
1001 | (UNSPECV_RDRAND): Likewise. | |
1002 | (rdfsbase<mode>): Likewise. | |
1003 | (rdgsbase<mode>): Likewise. | |
1004 | (wrfsbase<mode>): Likewise. | |
1005 | (wrgsbase<mode>): Likewise. | |
1006 | (rdrand<mode>): Likewise. | |
1007 | ||
1008 | * config/i386/i386.opt: Add -mfsgsbase, -mrdrnd and -mf16c. | |
1009 | ||
1010 | * config/i386/immintrin.h (_rdrand_u16): New. | |
1011 | (_rdrand_u32): Likewise. | |
1012 | (_readfsbase_u32): Likewise. | |
1013 | (_readfsbase_u64): Likewise. | |
1014 | (_readgsbase_u32): Likewise. | |
1015 | (_readgsbase_u64): Likewise. | |
1016 | (_writefsbase_u32): Likewise. | |
1017 | (_writefsbase_u64): Likewise. | |
1018 | (_writegsbase_u32): Likewise. | |
1019 | (_writegsbase_u64): Likewise. | |
1020 | (_rdrand_u64): Likewise. | |
1021 | (_cvtsh_ss): Likewise. | |
1022 | (_mm_cvtph_ps): Likewise. | |
1023 | (_mm256_cvtph_ps): Likewise. | |
1024 | (_cvtss_sh): Likewise. | |
1025 | (_mm_cvtps_ph): Likewise. | |
1026 | (_mm256_cvtps_ph): Likewise. | |
1027 | ||
1028 | * config/i386/sse.md (vcvtph2ps): New. | |
1029 | (*vcvtph2ps_load): Likewise. | |
1030 | (vcvtph2ps256): Likewise. | |
1031 | (vcvtps2ph): Likewise. | |
1032 | (*vcvtps2ph): Likewise. | |
1033 | (*vcvtps2ph_store): Likewise. | |
1034 | (vcvtps2ph256): Likewise. | |
1035 | ||
1036 | * doc/extend.texi: Document FSGSBASE and RDRND built-in functions. | |
1037 | ||
1038 | * doc/invoke.texi: Document -mfsgsbase, -mrdrnd and -mf16c. | |
1039 | ||
bc688942 | 1040 | 2010-07-05 Joern Rennecke <joern.rennecke@embecosm.com> |
1041 | ||
1042 | PR bootstrap/44512 | |
1043 | * genenums.c (main): Output include of insn-constants.h | |
1044 | * Makefile.in (insn-enums.o): Depend on insn-constants.h. | |
1045 | ||
56cc6258 | 1046 | 2010-07-05 Uros Bizjak <ubizjak@gmail.com> |
1047 | ||
1048 | * config/i386/i386.c (ix86_gen_allocate_stack_worker): New. | |
1049 | (override_options): Initialize it. | |
1050 | (ix86_expand_prologue): Use it. | |
1051 | ||
e641a23b | 1052 | 2010-07-05 Jakub Jelinek <jakub@redhat.com> |
1053 | ||
1054 | * tree-nrv.c (tree_nrv): Set DECL_VALUE_EXPR on found to result. | |
1055 | ||
a6caa15f | 1056 | 2010-07-05 Anatoly Sokolov <aesok@post.ru> |
1057 | ||
1058 | * double-int.h (fit_double_type): Remove declaration. | |
1059 | * double-int.c (fit_double_type): Remove function. | |
1060 | * tree.h (int_fits_type_p): Adjust prototype. | |
1061 | * tree.c (int_fits_type_p): Return bool. Use double_int_fits_to_tree_p | |
1062 | instead of fit_double_type. | |
1063 | (build_int_cst_type): Use double_int_to_tree and shwi_to_double_int | |
1064 | instead of fit_double_type and build_int_cst_wide. | |
1065 | * builtins.c (): Use double_int_fits_to_tree_p and double_int_to_tree | |
1066 | instead of fit_double_type and build_int_cst_wide. | |
1067 | (fold_builtin_object_size): Use double_int_fits_to_tree_p instead | |
1068 | of fit_double_type. | |
1069 | ||
7550e1d1 | 1070 | 2010-07-05 Jan Hubicka <jh@suse.cz> |
1071 | ||
1072 | * cgraph.h (cgraph_node, cgraph_varpool_node): Update docmentation of | |
1073 | in_other_partition. | |
1074 | * lto-cgraph.c (referenced_from_other_partition_p, | |
1075 | reachable_from_other_partition_p): Use in_other_partition flags. | |
1076 | (output_node, output_varpool_node): COMDAT nodes always have private | |
1077 | copies and thus are never used from other partition. | |
1078 | ||
f501ee23 | 1079 | 2010-07-05 Anatoly Sokolov <aesok@post.ru> |
1080 | ||
1081 | * config/ia64/ia64.h (MEMORY_MOVE_COST): Remove macro. | |
1082 | * config/ia64/t-ia64 (ia64.o): Depend on reload.h. | |
1083 | * config/ia64/ia64.c Include reload.h. | |
1084 | (ia64_memory_move_cost): New function. | |
1085 | (TARGET_MEMORY_MOVE_COST): Define. | |
1086 | (ia64_register_move_cost): Replace MEMORY_MOVE_COST with | |
1087 | memory_move_cost. | |
1088 | ||
fdd153a1 | 1089 | 2010-07-05 Sandra Loosemore <sandra@codesourcery.com> |
1090 | ||
1091 | PR middle-end/42505 | |
fdd153a1 | 1092 | * tree-ssa-loop-ivopts.c (determine_set_costs): Delete obsolete |
1093 | comments about cost model. | |
1094 | (try_add_cand_for): Add second strategy for choosing initial set | |
1095 | based on original IVs, controlled by ORIGINALP argument. | |
1096 | (get_initial_solution): Add ORIGINALP argument. | |
1097 | (find_optimal_iv_set_1): New function, split from find_optimal_iv_set. | |
1098 | (find_optimal_iv_set): Try two different strategies for choosing | |
1099 | the IV set, and return the one with lower cost. | |
1100 | ||
8eb9cb0e | 1101 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
1102 | ||
c2497623 | 1103 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Copy alias info. |
8eb9cb0e | 1104 | |
9614eeff | 1105 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
1106 | ||
1107 | * tree.c (reference_alias_ptr_type): New function. | |
1108 | * tree.h (reference_alias_ptr_type): Declare. | |
1109 | * tree-ssa-loop-ivopts.c (copy_ref_info): Restructure to | |
1110 | allow non-TARGET_MEM_REF new refs. | |
abf88779 | 1111 | (rewrite_use_address): Pass old alias pointer type to create_mem_ref. |
9614eeff | 1112 | * tree-ssa-address.c (create_mem_ref_raw): Get alias pointer type. |
1113 | Build a MEM_REF instead of a TARGET_MEM_REF if possible. | |
1114 | (create_mem_ref): Get alias pointer type. Adjust calls to | |
1115 | create_mem_ref_raw. | |
1116 | (maybe_fold_tmr): Likewise. | |
1117 | * tree-flow.h (create_mem_ref): Adjust prototype. | |
1118 | ||
9dcc4d7a | 1119 | 2010-07-05 Jakub Jelinek <jakub@redhat.com> |
1120 | ||
1121 | PR c++/44808 | |
1122 | * gimplify.c (gimplify_modify_expr): Only SET_DECL_DEBUG_EXPR if | |
1123 | *from_p is VAR_DECL. | |
1124 | ||
beec9a6a | 1125 | 2010-07-05 Nathan Froyd <froydnj@codesourcery.com> |
1126 | ||
1127 | * tree.h (build_call_list): Remove. | |
1128 | * tree.c (build_call_list): Remove. | |
1129 | ||
6a50bb58 | 1130 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
1131 | ||
1132 | * double-int.h (double_int_sub): Declare. | |
1133 | * double-int.c (double_int_sub): New function. | |
1134 | * dwarf2out.c (field_byte_offset): Use it. | |
1135 | * fixed-value.c (do_fixed_add): Likewise. | |
1136 | (do_fixed_multiply): Likewise. | |
1137 | (do_fixed_divide): Likewise. | |
1138 | * tree-predcom.c (add_ref_to_chain): Likewise. | |
1139 | (determine_roots_comp): Likewise. | |
1140 | * tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Likewise. | |
1141 | ||
008f96d8 | 1142 | 2010-07-05 Nathan Froyd <froydnj@codesourcery.com> |
1143 | ||
1144 | * vec.h (VEC_splice, VEC_safe_splice): New macros. Add function | |
1145 | implementations. | |
1146 | ||
080c0b9a | 1147 | 2010-07-05 Bernd Schmidt <bernds@codesourcery.com> |
1148 | ||
1149 | * config/arm/arm.c (get_arm_condition_code): Remove CC_NOTBmode case. | |
1150 | * arm-modes.def (CC_NOTB): Don't define. | |
1151 | * config/arm/arm.md (arm_adddi3): Generate canonical RTL. | |
1152 | (adddi_sesidi_di, adddi_zesidi_di): Likewise. | |
1153 | (LTUGEU): New code_iterator. | |
1154 | (cnb, optab): New corresponding code_attrs. | |
1155 | (addsi3_carryin_<optab>): Renamed from addsi3_carryin. Change pattern | |
1156 | to canonical form. Operands 1 and 2 are commutative. Parametrize | |
1157 | using LTUGEU. | |
1158 | (addsi3_carryin_shift_<optab>): Likewise. | |
1159 | (addsi3_carryin_alt2_<optab>): Renamed from addsi3_carryin_alt2. | |
1160 | Operands 1 and 2 are commutative. Parametrize using LTUGEU. | |
1161 | (addsi3_carryin_alt1, addsi3_carryin_alt3): Remove. | |
abf88779 | 1162 | (subsi3_compare): Renamed from subsi3_compare0_c. |
1163 | Change CC_NOTB to CC. | |
080c0b9a | 1164 | (arm_subsi3_insn): Allow constants for operand 0. |
1165 | (compare_scc peephole for eq case): New. | |
1166 | (compare_scc splitters): Change CC_NOTB to CC. | |
1167 | ||
86638c2e | 1168 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
1169 | ||
1170 | * tree-ssa-loop-im.c (for_each_index): Do not handle | |
1171 | ALIGN_INDIRECT_REF. | |
1172 | (gen_lsm_tmp_name): Likewise. | |
1173 | * tree-dump.c (dequeue_and_dump): Likewise. | |
1174 | * tree-pretty-print.c (dump_generic_node): Likewise. | |
1175 | (op_code_prio): Likewise. | |
1176 | (op_symbol_code): Likewise. | |
1177 | * tree.c (staticp): Likewise. | |
1178 | (build1_stat): Likewise. | |
1179 | * tree.h (INDIRECT_REF_P): Likewise. | |
1180 | * fold-const.c (maybe_lvalue_p): Likewise. | |
1181 | (operand_equal_p): Likewise. | |
1182 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise. | |
1183 | (ao_ref_init_from_vn_reference): Likewise. | |
1184 | * tree-ssa-loop-ivopts.c (idx_find_step): Likewise. | |
1185 | (find_interesting_uses_address): Likewise. | |
1186 | * dwarf2out.c (loc_list_from_tree): Likewise. | |
1187 | * gimplify.c (gimplify_expr): Likewise. | |
1188 | * tree-eh.c (tree_could_trap_p): Likewise. | |
1189 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. | |
1190 | * cfgexpand.c (expand_debug_expr): Likewise. | |
1191 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise. | |
1192 | * tree-ssa-loop-prefetch.c (idx_analyze_ref): Likewise. | |
1193 | * tree-cfg.c (verify_types_in_gimple_min_lval): Likewise. | |
1194 | * config/rs6000/rs6000 (rs6000_check_sdmode): Likewise. | |
1195 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
1196 | * expr.c (safe_from_p): Likewise. | |
1197 | (expand_expr_real_1): Likewise. TER BIT_AND_EXPRs into MEM_REFs. | |
1198 | * tree-vect-data-refs.c (vect_setup_realignment): Build | |
1199 | BIT_AND_EXPR and MEM_REF instead of ALIGN_INDIRECT_REF. | |
1200 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
1201 | * tree.def (ALIGN_INDIRECT_REF): Remove. | |
1202 | ||
931b9155 | 1203 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
1204 | ||
1205 | PR tree-optimization/44784 | |
1206 | * tree-ssa-pre.c (bitmap_find_leader): Fix dominance check | |
1207 | for inserted stmts. | |
1208 | (find_or_generate_expression): Fix SCCVN insertion check. | |
1209 | ||
2d1f67a7 | 1210 | 2010-07-05 Nathan Sidwell <nathan@codesourcery.com> |
1211 | ||
1212 | * config/rs6000/e500crtsavg64gprctr.asm: Correct done label name. | |
1213 | * config/rs6000/e500crtsav64gprctr.asm: Likewise. | |
1214 | * config/rs6000/e500crtres64gprctr.asm: Likewise. Add FUNC_END | |
1215 | directives. | |
1216 | ||
45f1556e | 1217 | 2010-07-05 Ira Rosen <irar@il.ibm.com> |
1218 | ||
1219 | * tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Skip | |
1220 | statements that are not vectorized. | |
1221 | * tree-vect-stmts.c (vect_get_load_cost): Update the value stored | |
abf88779 | 1222 | in INSIDE_COST. |
45f1556e | 1223 | |
0fa4bc52 | 1224 | 2010-07-05 Mikael Pettersson <mikpe@it.uu.se> |
1225 | ||
1226 | PR bootstrap/44820 | |
1227 | * config/arm/arm.c (arm_attr_length_move_neon): Delete regno. | |
1228 | ||
f5ec85fb | 1229 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
1230 | ||
1231 | * tree-cfg.c (verify_gimple_return): Handle DECL_BY_REFERENCE | |
1232 | RESULT_DECLs properly. | |
1233 | ||
c01aa55b | 1234 | 2010-07-04 H.J. Lu <hongjiu.lu@intel.com> |
1235 | ||
1236 | PR rtl-optimization/44695 | |
1237 | * config/i386/i386.md (extract_code): Removed. | |
1238 | (<u>divmodqi4): Likewise. | |
1239 | (divmodqi4): New. | |
1240 | (udivmodqi4): Likewise. | |
abf88779 | 1241 | (divmodhiqi3): Change div/mod to HImode and extend operand 2 to HImode. |
c01aa55b | 1242 | (udivmodhiqi3): Likewise. |
1243 | ||
4c9cfd77 | 1244 | 2010-07-04 Jan Hubicka <jh@suse.cz> |
1245 | ||
1246 | * lto-cgraph.c (input_edge): Do not care about resolution decisions. | |
1247 | ||
01ec0a6c | 1248 | 2010-07-04 Jan Hubicka <jh@suse.cz> |
1249 | ||
abf88779 | 1250 | * cgraphunit.c (init_cgraph): Only initialize dump file if it |
1251 | is not already initialized. | |
01ec0a6c | 1252 | |
6b531606 | 1253 | 2010-07-04 Richard Sandiford <rdsandiford@googlemail.com> |
1254 | ||
1255 | * optabs.h (reload_in_optab, reload_out_optab, code_to_optab) | |
1256 | (vcond_gen_code, vcondu_gen_code, movmem_optab, setmem_optab) | |
1257 | (cmpstr_optab, cmpstrn_optab, cmpmem_optab, sync_add_optab) | |
1258 | (sync_sub_optab, sync_ior_optab, sync_and_optab, sync_xor_optab) | |
1259 | (sync_nand_optab, sync_old_add_optab, sync_old_sub_optab) | |
1260 | (sync_old_ior_optab, sync_old_and_optab, sync_old_xor_optab) | |
1261 | (sync_old_nand_optab, sync_new_add_optab, sync_new_sub_optab) | |
1262 | (sync_new_ior_optab, sync_new_and_optab, sync_new_xor_optab) | |
1263 | (sync_new_nand_optab): Redefine as macros. | |
1264 | (sync_compare_and_swap, sync_lock_test_and_set, sync_lock_release): | |
1265 | Delete. | |
1266 | (direct_optab_index): New enum. | |
1267 | (direct_optab_d): New structure. | |
1268 | (direct_optab): New typedef. | |
1269 | (direct_optab_table): Declare. | |
1270 | (direct_optab_handler, set_direct_optab_handler): New functions. | |
1271 | (sync_compare_and_swap_optab, sync_lock_test_and_set_optab) | |
1272 | (sync_lock_release_optab): New macros. | |
1273 | * optabs.c (direct_optab_table): New variable. | |
1274 | (movcc_gen_code, vcond_gen_code, vcondu_gen_code): Delete. | |
1275 | (prepare_cmp_insn): Use direct_optab_handler for cmpmem_optab, | |
1276 | cmpstr_optab and cmpstrn_optab. | |
1277 | (emit_conditional_move): Likewise for movcc_optab. | |
1278 | (can_conditionally_move_p): Likewise for movcc_gen_code. | |
1279 | (init_insn_codes): Clear direct_optab_table. | |
1280 | (init_optabs): Don't initialize the new "direct optabs" here. | |
1281 | (get_vcond_icode): Use direct_optab_handler for vcondu_gen_code and | |
1282 | vcond_gen_code. | |
1283 | (expand_val_compare_and_swap): Likewise sync_compare_and_swap_optab. | |
1284 | (expand_bool_compare_and_swap): Likewise sync_compare_and_swap_optab. | |
1285 | (expand_compare_and_swap_loop): Likewise sync_compare_and_swap_optab. | |
1286 | (expand_sync_operation): Likewise other sync_*_optabs. | |
1287 | (expand_sync_fetch_operation): Likewise. Rename sync_compare_and_swap | |
1288 | to sync_compare_and_swap_optab. | |
1289 | (expand_sync_lock_test_and_set): Use direct_optab_handler for | |
1290 | sync_lock_test_and_set and sync_compare_and_swap, adding "_optab" | |
1291 | to the names of both. | |
1292 | * builtins.c (expand_builtin_strcmp): Use direct_optab_handler for | |
1293 | cmpstr_optab and cmpstrn_optab. | |
1294 | (expand_builtin_lock_release): Likewise sync_lock_release. | |
1295 | * expr.c (movmem_optab, setmem_optab, cmpstr_optab, cmpstrn_optab) | |
1296 | (cmpmem_optab, sync_add_optab, sync_sub_optab, sync_ior_optab) | |
1297 | (sync_and_optab, sync_xor_optab, sync_nand_optab, sync_old_add_optab) | |
1298 | (sync_old_sub_optab, sync_old_ior_optab, sync_old_and_optab) | |
1299 | (sync_old_xor_optab, sync_old_nand_optab, sync_new_add_optab) | |
1300 | (sync_new_sub_optab, sync_new_ior_optab, sync_new_and_optab) | |
1301 | (sync_new_xor_optab, sync_new_nand_optab, sync_compare_and_swap) | |
1302 | (sync_lock_test_and_set, sync_lock_release): Delete. | |
1303 | (emit_block_move_via_movmem): Use direct_optab_handler for movmem_optab. | |
1304 | (emit_block_move_via_setmem): Use direct_optab_handler for setmem_optab. | |
1305 | * genopinit.c (optabs): Use set_direct_optab_handler for the new | |
1306 | macro optabs. | |
1307 | * omp-low.c (expand_omp_atomic_fetch_op): Update the type of | |
1308 | the "optab" local variable. Use direct_optab_handler for optab and | |
1309 | sync_compare_and_swap_optab. | |
1310 | * reload1.c (reload_in_optab, reload_out_optab): Delete. | |
1311 | * targhooks.c (default_secondary_reload): Use direct_optab_handler for | |
1312 | reload_in_optab and reload_out_optab. | |
1313 | * config/alpha/alpha.c (alpha_secondary_reload): Likewise. | |
1314 | * config/frv/frv.c (frv_alloc_temp_reg): Likewise. | |
1315 | * config/pa/pa.c (pa_secondary_reload): Likewise. | |
1316 | * java/builtins.c (compareAndSwapInt_builtin): Use direct_optab_handler | |
1317 | for sync_compare_and_swap, renaming it to sync_compare_and_swap_optab. | |
1318 | (compareAndSwapLong_builtin, compareAndSwapObject_builtin): Likewise. | |
1319 | (VMSupportsCS8_builtin): Likewise. | |
1320 | ||
4fc789b6 | 1321 | 2010-07-04 Richard Sandiford <rdsandiford@googlemail.com> |
1322 | ||
1323 | * optabs.h (optab_handlers): Change type of insn_code to int. | |
1324 | (optab_handler, set_optab_handler, convert_optab_handler) | |
1325 | (set_convert_optab_handler): Treat the insn_code field as "insn_code - | |
1326 | CODE_FOR_nothing". | |
1327 | * optabs.c (optab_table, convert_optab_table): Always zero-initialize. | |
1328 | (init_insn_codes): Zero both the above arrays. | |
1329 | (init_optabs): Never call init_insn_codes first time around. | |
1330 | ||
d6bf3b14 | 1331 | 2010-07-04 Richard Sandiford <rdsandiford@googlemail.com> |
1332 | ||
1333 | * optabs.h (optab_handler, convert_optab_handler): Turn into | |
1334 | inline functions that return an insn code. | |
1335 | (set_optab_handler, set_convert_optab_handler): New functions. | |
1336 | * builtins.c: Replace optab_handler(X)->insn_code with | |
1337 | optab_handler or set_optab_handler thoughout. Likewise | |
1338 | convert_optab_handler(X)->insn_code with convert_optab_handler | |
1339 | and set_convert_optab_handler. | |
1340 | * expmed.c, expr.c, genopinit.c, ifcvt.c, optabs.c, reload.c, | |
1341 | reload1.c, stmt.c, targhooks.c, tree-ssa-loop-prefetch.c, | |
1342 | tree-ssa-math-opts.c, tree-vect-data-refs.c, tree-vect-generic.c, | |
1343 | tree-vect-loop.c, tree-vect-patterns.c, tree-vect-slp.c, | |
1344 | tree-vect-stmts.c, config/m32c/m32c.c, config/rs6000/rs6000.c, | |
1345 | config/spu/spu.c: Likewise. | |
1346 | ||
b56481ad | 1347 | 2010-07-04 Kaz Kojima <kkojima@gcc.gnu.org> |
1348 | ||
1349 | PR target/44531 | |
1350 | * config.gcc (sh*-*-*): Use regular expressions instead of | |
1351 | the 'i' modifier for sed substitutions. | |
1352 | ||
0874e443 | 1353 | 2010-07-04 Jeremie Salvucci <jeremie.salvucci@free.fr> |
1354 | ||
1355 | * gimple.c (gimple_body): Comments added. | |
1356 | ||
42e6c49c | 1357 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
1358 | ||
1359 | PR middle-end/44809 | |
1360 | * gimplify.c (gimplify_expr): Properly build a MEM_REF instead | |
1361 | of an INDIRECT_REF. | |
1362 | ||
f544b9a4 | 1363 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
1364 | ||
1365 | PR tree-optimization/44479 | |
1366 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Avoid | |
1367 | extra SSA name copy statements which preserves points-to | |
1368 | information. | |
1369 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
1370 | Copy points-to information for all pointers. Properly handle | |
1371 | MEM_REFs. | |
1372 | (vect_create_data_ref_ptr): Likewise. Avoid extra SSA name | |
1373 | copy statements. | |
1374 | * Makefile.in (tree-ssa-loop-ivopts.o): Add tree-ssa-propagate.h | |
1375 | dependency. | |
1376 | ||
bc6af3fe | 1377 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
1378 | ||
1379 | PR middle-end/44785 | |
1380 | * tree-inline.c (initialize_inlined_parameters): Do not | |
1381 | re-use pointer-map slot over remap_type call. | |
1382 | ||
2e5bda44 | 1383 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
1384 | ||
1385 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Fix last commit. | |
1386 | ||
180572f4 | 1387 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
1388 | ||
1389 | PR tree-optimization/44656 | |
1390 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Try disambiguation | |
1391 | again after value-replacing in the defintions lhs. | |
1392 | ||
0822b158 | 1393 | 2010-07-04 Ira Rosen <irar@il.ibm.com> |
1394 | Revital Eres <eres@il.ibm.com> | |
1395 | ||
abf88779 | 1396 | * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): |
0822b158 | 1397 | Document new arguments. |
1398 | * doc/tm.texi: Regenerate. | |
1399 | * targhooks.c (default_builtin_vectorization_cost): Add new arguments. | |
1400 | Handle unaligned store. | |
1401 | * targhooks.h (default_builtin_vectorization_cost): Add new arguments. | |
1402 | * target.def (builtin_vectorization_cost): Add new arguments. | |
1403 | * target.h (enum vect_cost_for_stmt): Add unaligned_store. | |
1404 | * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Take number | |
1405 | of iterations of prolog loop directly from LOOP_PEELING_FOR_ALIGNMENT. | |
1406 | (vect_vfa_segment_size): Fix indentation. | |
1407 | * tree-vectorizer.h (struct _vect_peel_info): New. | |
1408 | (struct _vect_peel_extended_info): New. | |
1409 | (struct _loop_vec_info): Add new field for peeling hash table and a | |
1410 | macro for its access. | |
1411 | (VECT_MAX_COST): Define. | |
1412 | (vect_get_load_cost): Declare. | |
abf88779 | 1413 | (vect_get_store_cost, vect_get_known_peeling_cost, |
0822b158 | 1414 | vect_get_single_scalar_iteraion_cost): Likewise. |
1415 | (vect_supportable_dr_alignment): Add new argument. | |
1416 | * tree-vect-loop.c (new_loop_vec_info): Initialize peeling hash table | |
1417 | field. | |
1418 | (destroy_loop_vec_info): Free peeling hash table. | |
1419 | (vect_analyze_loop_form): Update call to builtin_vectorization_cost. | |
1420 | (vect_analyze_loop): Move vect_enhance_data_refs_alignment before | |
1421 | vect_analyze_slp. Fix indentation. | |
1422 | (vect_get_single_scalar_iteraion_cost): New function. | |
1423 | (vect_get_known_peeling_cost): Likewise. | |
abf88779 | 1424 | (vect_estimate_min_profitable_iters): Rename byte_misalign to npeel. |
1425 | Call vect_get_single_scalar_iteraion_cost instead of cost_for_stmt per | |
0822b158 | 1426 | statement. Move outside cost calculation inside unknown peeling case. |
1427 | Call vect_get_known_peeling_cost for known amount of peeling. | |
1428 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Add data | |
1429 | reference to the print message of forced alignment. | |
abf88779 | 1430 | (vect_verify_datarefs_alignment): Update call to |
0822b158 | 1431 | vect_supportable_dr_alignment. |
1432 | (vect_get_data_access_cost): New function. | |
1433 | (vect_peeling_hash, vect_peeling_hash_eq, vect_peeling_hash_insert, | |
1434 | vect_peeling_hash_get_most_frequent, vect_peeling_hash_get_lowest_cost, | |
1435 | vect_peeling_hash_choose_best_peeling): Likewise. | |
1436 | (vect_enhance_data_refs_alignment): Fix documentation. Use hash table | |
1437 | to store all the accesses in the loop and find best possible access to | |
1438 | align using peeling for known alignment case. For unknown alignment | |
1439 | check if stores are preferred or if peeling is worthy. | |
1440 | (vect_find_same_alignment_drs): Analyze pairs of loads too. | |
1441 | (vect_supportable_dr_alignment): Add new argument and check aligned | |
abf88779 | 1442 | accesses according to it. |
0822b158 | 1443 | * tree-vect-stmts.c (vect_get_stmt_cost): New function. |
abf88779 | 1444 | (cost_for_stmt): Call vect_get_stmt_cost. |
0822b158 | 1445 | (vect_model_simple_cost): Likewise. |
abf88779 | 1446 | (vect_model_store_cost): Call vect_get_stmt_cost. Call |
0822b158 | 1447 | vect_get_store_cost to calculate the cost of the statement. |
1448 | (vect_get_store_cost): New function. | |
abf88779 | 1449 | (vect_model_load_cost): Call vect_get_stmt_cost. Call |
0822b158 | 1450 | vect_get_load_cost to calculate the cost of the statement. |
1451 | (vect_get_load_cost): New function. | |
1452 | (vectorizable_store): Update call to vect_supportable_dr_alignment. | |
1453 | (vectorizable_load): Likewise. | |
abf88779 | 1454 | * config/spu/spu.c (spu_builtin_vectorization_cost): Add new arguments. |
0822b158 | 1455 | * config/i386/i386.c (ix86_builtin_vectorization_cost): Add new |
1456 | arguments. Handle unaligned store. | |
1457 | * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): New. | |
1458 | (rs6000_builtin_support_vector_misalignment): Return true for word and | |
1459 | double word alignments for VSX. | |
abf88779 | 1460 | * tree-vect-slp.c (vect_build_slp_tree): Update calls to |
0822b158 | 1461 | vect_supportable_dr_alignment and builtin_vectorization_cost. |
1462 | ||
eeeade4b | 1463 | 2010-07-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1464 | ||
1465 | PR target/44597 | |
1466 | * config/pa/predicates.md (prefetch_cc_operand): Remove. | |
1467 | (prefetch_nocc_operand): Likewise. | |
1468 | * config/pa/pa.md (prefetch): Revise expander to use prefetch_20. | |
1469 | (prefetch_20): New insn. | |
1470 | (prefetch_cc): Remove. | |
1471 | (prefetch_nocc): Likewise. | |
1472 | ||
1c58e3f1 | 1473 | 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1474 | ||
1475 | * expr.c (vector_mode_valid_p): Move to c-common.c. | |
1476 | * expr.h (vector_mode_valid_p): Do not declare here. | |
1477 | * system.h: Poison GCC_EXPR_H in front-ends. | |
1478 | * Makefile.in: Update dependencies. | |
1479 | ||
223cd848 | 1480 | 2010-07-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1481 | ||
1482 | PR target/44705 | |
1483 | * config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF. | |
1484 | ||
e2050933 | 1485 | 2010-07-03 Jan Hubicka <jh@suse.cz> |
1486 | ||
1487 | * timevar.def (TV_OUT_OF_SSA, TV_VAR_EXPAND, TV_POST_EXPAND, | |
1488 | TV_VAR_TRACKING_DATAFLOW, TV_VAR_TRACKING_EMIT): New timevars. | |
1489 | * cfgexpand.c (gimple_expand_cfg): Use new timevars. | |
1490 | * var-tracking.c (vt_find_locations, variable_tracking_main_1): | |
1491 | Likewise. | |
1492 | ||
1493 | * lto-stramer-out.c (pass_ipa_lto_gimple_out, pass_ipa_lto_finish_out): | |
1494 | Update timevars.V | |
1495 | * timevar.def (TV_IPA_LTO_GIMPLE_IO, TV_IPA_LTO_DECL_IO): Remove. | |
1496 | (TV_IPA_LTO_GIMPLE_IN, TV_IPA_LTO_GIMPLE_OUT, TV_IPA_LTO_DECL_IN, | |
1497 | TV_IPA_LTO_DECL_OUT): New. | |
1498 | * lto.c (read_cgraph_and_symbols, materialize_cgraph): Update timevars. | |
1499 | ||
9f3c2a90 | 1500 | 2010-07-03 Jan Hubicka <jh@suse.cz> |
1501 | ||
1502 | * ipa-inline.c (update_edge_key): Break out from ... | |
1503 | update_callers_keys): ... here; | |
1504 | (update_callee_keys): Update only the edges from caller to callee. | |
1505 | (update_all_calle_keys): Do what update_calle_keys did. | |
1506 | (decide_inlining_of_small_functions): Avoid recomputing of all | |
1507 | callees when badness increase. | |
1508 | ||
ba6c018a | 1509 | 2010-07-03 Jie Zhang <jie@codesourcery.com> |
1510 | ||
1511 | * config/arm/arm.c (arm_attr_length_move_neon): New. | |
1512 | * config/arm/arm-protos.h (arm_attr_length_move_neon): Declare. | |
1513 | * config/arm/neon.md (define_mode_attr V_slen): Remove. | |
1514 | (neon_mov<mode> for VSTRUCT): Use arm_attr_length_move_neon | |
1515 | to compute length attribute. | |
1516 | ||
3cc80a30 | 1517 | 2010-07-03 Jie Zhang <jie@codesourcery.com> |
1518 | ||
1519 | * config/arm/vfp.md (*push_multi_vfp): Use vfp_register_operand | |
1520 | as predicate for operand 1 and remove its constraint. | |
1521 | * config/arm/predicates.md (vfp_register_operand): New. | |
abf88779 | 1522 | * config/arm/arm.md (*push_multi): Remove the constraint of operand 1. |
3cc80a30 | 1523 | (*push_fp_multi): Likewise. |
1524 | ||
e660f7ee | 1525 | 2010-07-03 Eric Botcazou <ebotcazou@adacore.com> |
1526 | ||
1527 | * gimplify.c (mostly_copy_tree_r): Deal with BIND_EXPR. | |
1528 | ||
1529 | 2010-07-03 Jan Hubicka <jh@suse.cz> | |
97f9e55e | 1530 | |
1531 | * config/i386/i386.c (override_options): Revert accidental commit. | |
1532 | ||
42ece02c | 1533 | 2010-07-02 Le-Chun Wu <lcwu@google.com> |
1534 | ||
76b69409 | 1535 | PR c++/44128 |
42ece02c | 1536 | * doc/invoke.texi: Update documentation of -Wshadow. |
1537 | ||
a8045a4f | 1538 | 2010-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
1539 | Julian Brown <julian@codesourcery.com> | |
1540 | Sandra Loosemore <sandra@codesourcery.com> | |
1541 | ||
1542 | * config/arm/arm.c (arm_canonicalize_comparison): Canonicalize DImode | |
1543 | comparisons. Adjust to take both operands. | |
1544 | (arm_select_cc_mode): Handle DImode comparisons. | |
1545 | (arm_gen_compare_reg): Generate a scratch register for DImode | |
1546 | comparisons which require one. Use xor for Thumb equality checks. | |
1547 | (arm_const_double_by_immediates): New. | |
1548 | (arm_print_operand): Allow 'Q' and 'R' for constants. | |
1549 | (get_arm_condition_code): Handle new CC_CZmode and CC_NCVmode. | |
1550 | * config/arm/arm.h (CANONICALIZE_COMPARISON): Always use | |
1551 | arm_canonicalize_comparison. | |
1552 | * config/arm/arm-modes.def: Add CC_CZmode and CC_NCVmode. | |
1553 | * config/arm/arm-protos.h (arm_canonicalize_comparison): Update | |
1554 | prototype. | |
1555 | (arm_const_double_by_immediates): Declare. | |
1556 | * config/arm/constraints.md (Di): New constraint. | |
1557 | * config/arm/predicates.md (arm_immediate_di_operand) | |
1558 | (arm_di_operand, cmpdi_operand): New. | |
1559 | * config/arm/arm.md (cbranchdi4): Handle non-Cirrus also. | |
1560 | (*arm_cmpdi_insn, *arm_cmpdi_unsigned) | |
1561 | (*arm_cmpdi_zero, *thumb_cmpdi_zero): New insns. | |
1562 | (cstoredi4): Handle non-Cirrus also. | |
1563 | ||
fe4048be | 1564 | 2010-07-02 Julian Brown <julian@codesourcery.com> |
1565 | Sandra Loosemore <sandra@codesourcery.com> | |
1566 | ||
1567 | PR target/43703 | |
fe4048be | 1568 | * config/arm/vec-common.md (add<mode>3, sub<mode>3, smin<mode>3) |
1569 | (smax<mode>3): Disable for NEON float modes when | |
1570 | flag_unsafe_math_optimizations is false. | |
1571 | * config/arm/neon.md (*add<mode>3_neon, *sub<mode>3_neon) | |
1572 | (*mul<mode>3_neon) | |
1573 | (mul<mode>3add<mode>_neon, mul<mode>3neg<mode>add<mode>_neon) | |
1574 | (reduc_splus_<mode>, reduc_smin_<mode>, reduc_smax_<mode>): Disable | |
1575 | for NEON float modes when flag_unsafe_math_optimizations is false. | |
abf88779 | 1576 | (quad_halves_<code>v4sf): Only enable if |
1577 | flag_unsafe_math_optimizations is true. | |
fe4048be | 1578 | * doc/invoke.texi (ARM Options): Add note about floating point |
1579 | vectorization requiring -funsafe-math-optimizations. | |
1580 | ||
94829feb | 1581 | 2010-07-02 Sandra Loosemore <sandra@codesourcery.com> |
1582 | Julian Brown <julian@codesourcery.com> | |
1583 | ||
1584 | * config/arm/neon.md (UNSPEC_VABA): Delete. | |
1585 | (UNSPEC_VABAL): Delete. | |
1586 | (UNSPEC_VABS): Delete. | |
1587 | (UNSPEC_VMUL_N): Delete. | |
1588 | (adddi3_neon): New. | |
1589 | (subdi3_neon): New. | |
1590 | (mul<mode>3add<mode>_neon): Make the pattern named. | |
1591 | (mul<mode>3neg<mode>add<mode>_neon): Likewise. | |
1592 | (neon_vadd<mode>): Replace with define_expand, and move the remaining | |
1593 | unspec parts... | |
1594 | (neon_vadd<mode>_unspec): ...to this. | |
1595 | (neon_vmla<mode>, neon_vmla<mode>_unspec): Likewise. | |
1596 | (neon_vlms<mode>, neon_vmls<mode>_unspec): Likewise. | |
1597 | (neon_vsub<mode>, neon_vsub<mode>_unspec): Likewise. | |
1598 | (neon_vaba<mode>): Rewrite in terms of vabd. | |
1599 | (neon_vabal<mode>): Rewrite in terms of vabdl. | |
1600 | (neon_vabs<mode>): Rewrite without unspec. | |
1601 | * config/arm/arm.md (*arm_adddi3): Disable for TARGET_NEON. | |
1602 | (*arm_subdi3): Likewise. | |
1603 | * config/arm/neon.ml (Vadd, Vsub): Split out 64-bit variants and add | |
1604 | No_op attribute to disable assembly output checks. | |
1605 | * config/arm/arm_neon.h: Regenerated. | |
1606 | * doc/arm-neon-intrinsics.texi: Regenerated. | |
1607 | ||
a8005893 | 1608 | 2010-07-02 Jan Hubicka <jh@suse.cz> |
1609 | ||
76b69409 | 1610 | * ipa-split.c (split_function): For aggregate values, set the return |
1611 | slot optimization bit. When passing DECL_BY_REFERENCE, produce | |
abf88779 | 1612 | *<retval> = fncall.part (). |
a8005893 | 1613 | (execute_split_functions): Do not care about DECL_BY_REFERENCE. |
1614 | ||
e2669ea7 | 1615 | 2010-07-02 Sandra Loosemore <sandra@codesourcery.com> |
1616 | ||
1617 | * config/arm/neon.md (UNSPEC_VAND): Delete. | |
1618 | (UNSPEC_VBIC): Delete. | |
1619 | (UNSPEC_VCLZ): Delete. | |
1620 | (UNSPEC_VCNT): Delete. | |
1621 | (UNSPEC_VEOR): Delete. | |
1622 | (UNSPEC_VORN): Delete. | |
1623 | (UNSPEC_VORR): Delete. | |
1624 | (iordi3_neon): Rewrite RTL without unspec. Add alternatives to handle | |
1625 | core registers too. | |
1626 | (anddi3_neon): Likewise. | |
1627 | (orndi3_neon): Likewise. | |
1628 | (bicdi3_neon): Likewise. | |
1629 | (xordi3_neon): Likewise. | |
1630 | (neon_vclz<mode>): Rewrite as define_expand and clz<mode>2 to get | |
1631 | rid of unspec and handle unused operand. | |
1632 | (neon_vcnt<mode>): Similarly, with popcount<mode>2. | |
1633 | * config/arm/predicates.md (imm_for_neon_logic_operand): | |
1634 | Require TARGET_NEON. | |
1635 | (imm_for_neon_inv_logic_operand): Likewise. | |
abf88779 | 1636 | * config/arm/arm.md (define_split for logical_binary_operator): |
e2669ea7 | 1637 | Disable for NEON registers. |
1638 | (anddi3): Add new define_expand, and rename the insn. Disable | |
1639 | this insn for NEON, where anddi3_neon now applies. | |
1640 | (*anddi_notdi_di): Disable for TARGET_NEON, where bicdi3_neon applies. | |
1641 | (iordi3): As for anddi3. | |
1642 | (xordi3): Likewise. | |
1643 | * config/arm/neon.ml (Vand): Split DImode variants and mark them | |
1644 | as No_op to disable testing for exact instruction match. | |
1645 | (Vorr): Likewise. | |
1646 | (Veor): Likewise. | |
1647 | (Vbic): Likewise. | |
1648 | (Vorn): Likewise. | |
1649 | * config/arm/arm_neon.h: Regenerated. | |
1650 | * doc/arm-neon-intrinsics.texi: Regenerated. | |
1651 | ||
f164c08a | 1652 | 2010-07-02 Eric Botcazou <ebotcazou@adacore.com> |
1653 | ||
1654 | * expr.h (emit_stack_probe): Declare. | |
1655 | * explow.c (emit_stack_probe): Make global. | |
1656 | (anti_adjust_stack_and_probe): Fix comments. | |
1657 | * config/sparc/linux.h (STACK_CHECK_STATIC_BUILTIN): Define to 1. | |
1658 | * config/sparc/linux64.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
1659 | * config/sparc/sol2.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
1660 | * config/sparc/sparc.c: Include except.h. | |
1661 | (sparc_emit_probe_stack_range): New function. | |
1662 | (output_probe_stack_range): Likewise. | |
1663 | (sparc_expand_prologue): Invoke sparc_emit_probe_stack_range if static | |
1664 | built-in stack checking is enabled. | |
1665 | * config/sparc/sparc-protos.h (output_probe_stack_range): Declare. | |
1666 | * config/sparc/sparc.md (UNSPECV_PROBE_STACK_RANGE): New constant. | |
1667 | (probe_stack_range): New insn. | |
1668 | ||
175fd0a9 | 1669 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
1670 | ||
1671 | PR target/43958 | |
1672 | * config/pa/pa.c (hppa_gimplify_va_arg_expr): Use pointer arithmetic | |
1673 | for argument alignment. | |
1674 | ||
4493dab3 | 1675 | 2010-07-02 Jan Hubicka <jh@suse.cz> |
1676 | ||
76b69409 | 1677 | * ipa-split.c (verify_non_ssa_vars): Break out from ...; perform DFS |
1678 | walk backwards from entry_bb to check only those basic block of header | |
4493dab3 | 1679 | that might lead to execution of split part. |
1680 | (consider_split) ... here. | |
1681 | (find_return_bb): Allow assignment in return BB. | |
1682 | (find_retval): New. | |
f164c08a | 1683 | (split_function): Fix name of cloned function; take care of updating |
1684 | return value in return_bb containing move. | |
4493dab3 | 1685 | |
e26cf4d4 | 1686 | 2010-07-02 Andreas Schwab <schwab@linux-m68k.org> |
1687 | ||
1688 | PR target/44771 | |
1689 | * config/m68k/m68k.c (m68k_expand_prologue): Remove set but not | |
1690 | used variable insn. | |
1691 | ||
b749ba71 | 1692 | 2010-07-02 Eric Botcazou <ebotcazou@adacore.com> |
1693 | ||
1694 | * implicit-zee.c (combine_reaching_defs): Fix long lines. | |
1695 | (is_set_with_extension_DI): Delete. | |
1696 | (struct zero_extend_info): New structure. | |
657e7797 | 1697 | (add_removable_zero_extend): New function. |
b749ba71 | 1698 | (find_removable_zero_extends): Use note_stores to find SETs. |
1699 | (find_and_remove_ze): Fix long line, remove superfluous parentheses. | |
1700 | ||
3a2f43cf | 1701 | 2010-07-02 Changpeng Fang <changpeng.fang@amd.com> |
1702 | ||
1703 | * tree-ssa-loop-prefetch.c (compute_miss_rate): Rename to | |
1704 | is_miss_rate_acceptable. Pull total_positions computation | |
1705 | out of the loops. Early return if miss_positions exceeds | |
1706 | the acceptable threshold. | |
1707 | * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Call | |
1708 | is_miss_rate_acceptable after renaming of compute_miss_rate. | |
1709 | ||
5a91155f | 1710 | 2010-07-02 Changpeng Fang <changpeng.fang@amd.com> |
1711 | ||
1712 | PR middle-end/44576 | |
1713 | * tree-ssa-loop-prefetch.c (compute_miss_rate): Return 1000 (out | |
1714 | of 1000) for miss rate if the address diference is greater than or | |
1715 | equal to the cache line size (the two reference will never hit the | |
1716 | same cache line). | |
1717 | ||
2df9477b | 1718 | 2010-07-02 Bernd Schmidt <bernds@codesourcery.com> |
1719 | ||
1720 | PR target/42835 | |
1721 | * config/arm/arm-modes.def (CC_NOTB): New mode. | |
1722 | * config/arm/arm.c (get_arm_condition_code): Handle it. | |
1723 | * config/arm/thumb2.md (thumb2_compare_scc): Delete pattern. | |
1724 | * config/arm/arm.md (subsi3_compare0_c): New pattern. | |
1725 | (compare_scc): Now a define_and_split. Add a number of extra | |
1726 | splitters before it. | |
1727 | ||
ef51b8e1 | 1728 | PR target/42172 |
1729 | * config/arm/arm.c (thumb1_rtx_costs): Improve support for SIGN_EXTEND | |
1730 | and ZERO_EXTEND. | |
1731 | (arm_rtx_costs_1): Likewise. | |
1732 | (arm_size_rtx_costs): Use arm_rtx_costs_1 for these codes. | |
1733 | * config/arm/arm.md (is_arch6): New attribute. | |
1734 | (zero_extendhisi2, zero_extendqisi2, extendhisi2, | |
1735 | extendqisi2): Tighten the code somewhat, avoiding invalid | |
1736 | RTL to occur in the expander patterns. | |
1737 | (thumb1_zero_extendhisi2): Merge with thumb1_zero_extendhisi2_v6. | |
1738 | (thumb1_zero_extendhisi2_v6): Delete. | |
1739 | (thumb1_extendhisi2): Merge with thumb1_extendhisi2_v6. | |
1740 | (thumb1_extendhisi2_v6): Delete. | |
1741 | (thumb1_extendqisi2): Merge with thumb1_extendhisi2_v6. | |
1742 | (thumb1_extendqisi2_v6): Delete. | |
1743 | (zero_extendhisi2 for register input splitter): New. | |
1744 | (zero_extendqisi2 for register input splitter): New. | |
1745 | (thumb1_extendhisi2 for register input splitter): New. | |
1746 | (extendhisi2 for register input splitter): New. | |
1747 | (extendqisi2 for register input splitter): New. | |
1748 | (TARGET_THUMB1 extendqisi2 for memory input splitter): New. | |
1749 | (arm_zero_extendhisi2): Allow nonimmediate_operand for operand 1, | |
1750 | and add support for a register alternative requiring a split. | |
1751 | (thumb1_zero_extendqisi2): Likewise. | |
1752 | (arm_zero_extendqisi2): Likewise. | |
1753 | (arm_extendhisi2): Likewise. | |
1754 | (arm_extendqisi2): Likewise. | |
1755 | ||
79a83503 | 1756 | 2010-07-02 Sandra Loosemore <sandra@codesourcery.com> |
1757 | ||
1758 | * config/arm/arm.c (neon_vdup_constant): Expand into canonical RTL | |
1759 | instead of an unspec. | |
1760 | (neon_expand_vector_init): Likewise. | |
1761 | * config/arm/neon.md (UNSPEC_VCOMBINE): Delete. | |
1762 | (UNSPEC_VDUP_LANE): Delete. | |
1763 | (UNSPEC VDUP_N): Delete. | |
1764 | (UNSPEC_VGET_HIGH): Delete. | |
1765 | (UNSPEC_VGET_LANE): Delete. | |
1766 | (UNSPEC_VGET_LOW): Delete. | |
1767 | (UNSPEC_VMVN): Delete. | |
1768 | (UNSPEC_VSET_LANE): Delete. | |
1769 | (V_double_vector_mode): New. | |
1770 | (vec_set<mode>_internal): Make code emitted match that for the | |
1771 | corresponding intrinsics. | |
1772 | (vec_setv2di_internal): Likewise. | |
1773 | (neon_vget_lanedi): Rewrite to expand into emit_move_insn. | |
1774 | (neon_vget_lanev2di): Rewrite to expand into vec_extractv2di. | |
1775 | (neon_vset_lane<mode>): Combine double and quad patterns and | |
1776 | expand into vec_set<mode>_internal instead of UNSPEC_VSET_LANE. | |
1777 | (neon_vset_lanedi): Rewrite to expand into emit_move_insn. | |
1778 | (neon_vdup_n<mode>): Rewrite RTL without unspec. | |
1779 | (neon_vdup_ndi): Rewrite as define_expand and use emit_move_insn. | |
1780 | (neon_vdup_nv2di): Rewrite RTL without unspec and merge with | |
1781 | with neon_vdup_lanev2di, adjusting the pattern from the latter | |
1782 | to be predicable for consistency. | |
1783 | (neon_vdup_lane<mode>_internal): New. | |
1784 | (neon_vdup_lane<mode>): Turn into a define_expand and rewrite | |
1785 | to avoid using an unspec. | |
1786 | (neon_vdup_lanedi): Rewrite RTL pattern to avoid unspec. | |
1787 | (neon_vdup_lanev2di): Turn into a define_expand. | |
1788 | (neon_vcombine): Rewrite pattern to eliminate UNPSEC_VCOMBINE. | |
1789 | (neon_vget_high<mode>): Replace with.... | |
1790 | (neon_vget_highv16qi): New pattern using canonical RTL. | |
1791 | (neon_vget_highv8hi): Likewise. | |
1792 | (neon_vget_highv4si): Likewise. | |
1793 | (neon_vget_highv4sf): Likewise. | |
1794 | (neon_vget_highv2di): Likewise. | |
1795 | (neon_vget_low<mode>): Replace with.... | |
1796 | (neon_vget_lowv16qi): New pattern using canonical RTL. | |
1797 | (neon_vget_lowv8hi): Likewise. | |
1798 | (neon_vget_lowv4si): Likewise. | |
1799 | (neon_vget_lowv4sf): Likewise. | |
1800 | (neon_vget_lowv2di): Likewise. | |
1801 | ||
1802 | * config/arm/neon.ml (Vget_lane): Add No_op attribute to suppress | |
1803 | test for this emitting vmov. | |
1804 | (Vset_lane): Likewise. | |
1805 | (Vdup_n): Likewise. | |
1806 | (Vmov_n): Likewise. | |
1807 | ||
1808 | * doc/arm-neon-intrinsics.texi: Regenerated. | |
1809 | ||
d0f1d3d4 | 1810 | 2010-07-02 Sandra Loosemore <sandra@codesourcery.com> |
1811 | ||
1812 | * config/arm/neon.md (vec_extractv2di): Correct error in register | |
1813 | numbering to reconcile with neon_vget_lanev2di. | |
1814 | ||
e1c894dd | 1815 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
1816 | ||
1817 | * tree-ssa-structalias.c (pt_solution_set_var): New function. | |
1818 | * tree-ssa-alias.h (pt_solution_set_var): Declare. | |
1819 | * tree-ssa-loop-ivopts.c (copy_ref_info): Also copy or create | |
1820 | points-to information. | |
1821 | ||
7b132fab | 1822 | 2010-07-02 Christian Borntraeger <borntraeger@de.ibm.com> |
1823 | ||
1824 | * config/s390/s390.c (override_options): Adopt prefetching | |
1825 | at -O3 to handle flag_prefetch_loop_arrays as a tristate. | |
1826 | ||
22b768ee | 1827 | 2010-07-02 Jan Hubicka <jh@suse.cz> |
1828 | ||
1829 | * df-problems.c (df_kill_notes): Do not collect dead notes. | |
1830 | (df_set_note): Just call add_reg_note. | |
1831 | (df_set_unused_notes_for_mw, df_set_dead_notes_for_mw, | |
1832 | df_create_unused_note): Do not deal with lists of old notes. | |
1833 | (df_note_bb_compute): Likewise. | |
1834 | ||
b03fbfbd | 1835 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
1836 | ||
1837 | * tree-ssa-structalias.c (find_func_aliases): Handle | |
1838 | pointer alignment via BIT_AND_EXPR. | |
1839 | * tree-vrp.c (extract_range_from_binary_expr): Likewise. | |
1840 | ||
fabd4538 | 1841 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
1842 | ||
1843 | * tree-data-ref.c (initialize_data_dependence_relation): Handle | |
1844 | mismatching number of dimensions properly. | |
1845 | ||
6a920938 | 1846 | 2010-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1847 | ||
1848 | PR target/44707 | |
1849 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Recognize | |
1850 | (lo_sum (high ...) ...) patterns generated by earlier passes. | |
1851 | ||
55f10c87 | 1852 | 2010-07-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1853 | ||
1854 | * doc/install.texi (Prerequisites): Document Perl requirement on | |
1855 | Solaris 2. | |
1856 | (Specific, *-*-solaris2*): Document GNU c++filt requirement. | |
1857 | ||
beb5ec58 | 1858 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
1859 | ||
1860 | PR middle-end/44777 | |
1861 | * tree-cfg.c (gimple_block_ends_with_call_p): Handle empty BBs. | |
1862 | ||
f1d5a92b | 1863 | 2010-07-02 Jan Hubicka <jh@suse.cz> |
1864 | ||
1865 | PR middle-end/44706 | |
1866 | * predict.c (predict_paths_for_bb): Handle case when control dependence | |
1867 | BB has only abnormal edges. | |
1868 | ||
dbeb5fe0 | 1869 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
1870 | ||
1871 | PR tree-optimization/44748 | |
1872 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Properly handle | |
1873 | the embedded conversion in MEM_REFs. | |
1874 | ||
66964ddd | 1875 | 2010-07-01 López-Ibáñez <manu@gcc.gnu.org> |
1876 | ||
1877 | * reload.c: Include toplev.h. | |
1878 | * recog.c: Likewise. | |
1879 | * Makefile.in: Adjust dependencies. | |
1880 | ||
9a0ee3cc | 1881 | 2010-07-01 Jakub Jelinek <jakub@redhat.com> |
1882 | ||
1883 | PR debug/44694 | |
1884 | * dwarf2out.c (reg_loc_descriptor): For eliminated arg_pointer_rtx | |
1885 | or frame_pointer_rtx use DW_OP_fbreg offset DW_OP_stack_value. | |
1886 | ||
4a4538f7 | 1887 | 2010-07-01 Richard Guenther <rguenther@suse.de> |
1888 | ||
1889 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Use unsigned | |
1890 | types for offsets. | |
1891 | ||
6127a73a | 1892 | 2010-07-01 Joern Rennecke <joern.rennecke@embecosm.com> |
1893 | ||
1894 | PR target/44732 | |
1895 | * config/ia64/ia64.c (ia64_register_move_cost): Remove stray '{'. | |
abf88779 | 1896 | Fix argument types. |
3a184ccc | 1897 | |
6af61876 | 1898 | 2010-07-01 Bernd Schmidt <bernds@codesourcery.com> |
1899 | ||
1900 | PR target/44727 | |
1901 | * config/i386/i386.md (peephole2 for arithmetic ops with memory): | |
1902 | Make sure operand 0 dies. | |
1903 | ||
182cf5a9 | 1904 | 2010-07-01 Richard Guenther <rguenther@suse.de> |
1905 | ||
1906 | PR middle-end/42834 | |
1907 | PR middle-end/44468 | |
1908 | * doc/gimple.texi (is_gimple_mem_ref_addr): Document. | |
1909 | * doc/generic.texi (References to storage): Document MEM_REF. | |
1910 | * tree-pretty-print.c (dump_generic_node): Handle MEM_REF. | |
1911 | (print_call_name): Likewise. | |
1912 | * tree.c (recompute_tree_invariant_for_addr_expr): Handle MEM_REF. | |
1913 | (build_simple_mem_ref_loc): New function. | |
1914 | (mem_ref_offset): Likewise. | |
1915 | * tree.h (build_simple_mem_ref_loc): Declare. | |
1916 | (build_simple_mem_ref): Define. | |
1917 | (mem_ref_offset): Declare. | |
1918 | * fold-const.c: Include tree-flow.h. | |
1919 | (operand_equal_p): Handle MEM_REF. | |
1920 | (build_fold_addr_expr_with_type_loc): Likewise. | |
1921 | (fold_comparison): Likewise. | |
1922 | (fold_unary_loc): Fold | |
1923 | VIEW_CONVERT_EXPR <T1, MEM_REF <T2, ...>> to MEM_REF <T1, ...>. | |
1924 | (fold_binary_loc): Fold MEM[&MEM[p, CST1], CST2] to MEM[p, CST1 + CST2], | |
1925 | fold MEM[&a.b, CST2] to MEM[&a, offsetof (a, b) + CST2]. | |
1926 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle MEM_REF. | |
1927 | (ptr_deref_may_alias_ref_p_1): Likewise. | |
1928 | (ao_ref_base_alias_set): Properly differentiate base object for | |
1929 | offset and TBAA. | |
1930 | (ao_ref_init_from_ptr_and_size): Use MEM_REF. | |
1931 | (indirect_ref_may_alias_decl_p): Handle MEM_REFs properly. | |
1932 | (indirect_refs_may_alias_p): Likewise. | |
1933 | (refs_may_alias_p_1): Likewise. Remove pointer SSA name def | |
1934 | chasing code. | |
1935 | (ref_maybe_used_by_call_p_1): Handle MEM_REF. | |
1936 | (call_may_clobber_ref_p_1): Likewise. | |
1937 | * dwarf2out.c (loc_list_from_tree): Handle MEM_REF. | |
1938 | * expr.c (expand_assignment): Handle MEM_REF. | |
1939 | (store_expr): Handle MEM_REFs from STRING_CSTs. | |
1940 | (store_field): If expanding a MEM_REF of a non-addressable | |
1941 | decl use bitfield operations. | |
1942 | (get_inner_reference): Handle MEM_REF. | |
1943 | (expand_expr_addr_expr_1): Likewise. | |
1944 | (expand_expr_real_1): Likewise. | |
1945 | * tree-eh.c (tree_could_trap_p): Handle MEM_REF. | |
1946 | * alias.c (ao_ref_from_mem): Handle MEM_REF. | |
1947 | (get_alias_set): Likewise. Properly handle VIEW_CONVERT_EXPRs. | |
1948 | * tree-data-ref.c (dr_analyze_innermost): Handle MEM_REF. | |
1949 | (dr_analyze_indices): Likewise. | |
1950 | (dr_analyze_alias): Likewise. | |
1951 | (object_address_invariant_in_loop_p): Likewise. | |
1952 | * gimplify.c (mark_addressable): Handle MEM_REF. | |
1953 | (gimplify_cond_expr): Build MEM_REFs. | |
1954 | (gimplify_modify_expr_to_memcpy): Likewise. | |
1955 | (gimplify_init_ctor_preeval_1): Handle MEM_REF. | |
1956 | (gimple_fold_indirect_ref): Adjust. | |
1957 | (gimplify_expr): Handle MEM_REF. Gimplify INDIRECT_REF to MEM_REF. | |
1958 | * tree.def (MEM_REF): New tree code. | |
1959 | * tree-dfa.c: Include toplev.h. | |
1960 | (get_ref_base_and_extent): Handle MEM_REF. | |
1961 | (get_addr_base_and_unit_offset): New function. | |
1962 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Handle MEM_REF. | |
1963 | * gimple-fold.c (may_propagate_address_into_dereference): Handle | |
1964 | MEM_REF. | |
1965 | (maybe_fold_offset_to_array_ref): Allow possibly out-of bounds | |
1966 | accesses if the array has just one dimension. Remove always true | |
1967 | parameter. Do not require type compatibility here. | |
1968 | (maybe_fold_offset_to_component_ref): Remove. | |
1969 | (maybe_fold_stmt_indirect): Remove. | |
1970 | (maybe_fold_reference): Remove INDIRECT_REF handling. | |
1971 | Fold back to non-MEM_REF. | |
1972 | (maybe_fold_offset_to_address): Simplify. Deal with type | |
1973 | mismatches here. | |
1974 | (maybe_fold_reference): Likewise. | |
1975 | (maybe_fold_stmt_addition): Likewise. Also handle | |
1976 | &ARRAY + I in addition to &ARRAY[0] + I. | |
1977 | (fold_gimple_assign): Handle ADDR_EXPR of MEM_REFs. | |
1978 | (gimple_get_relevant_ref_binfo): Handle MEM_REF. | |
1979 | * cfgexpand.c (expand_debug_expr): Handle MEM_REF. | |
1980 | * tree-ssa.c (useless_type_conversion_p): Make most pointer | |
1981 | conversions useless. | |
1982 | (warn_uninitialized_var): Handle MEM_REF. | |
1983 | (maybe_rewrite_mem_ref_base): New function. | |
1984 | (execute_update_addresses_taken): Implement re-writing of MEM_REFs | |
1985 | to SSA form. | |
1986 | * tree-inline.c (remap_gimple_op_r): Handle MEM_REF, remove | |
1987 | INDIRECT_REF handling. | |
1988 | (copy_tree_body_r): Handle MEM_REF. | |
1989 | * gimple.c (is_gimple_addressable): Adjust. | |
1990 | (is_gimple_address): Likewise. | |
1991 | (is_gimple_invariant_address): ADDR_EXPRs of MEM_REFs with | |
1992 | invariant base are invariant. | |
1993 | (is_gimple_min_lval): Adjust. | |
1994 | (is_gimple_mem_ref_addr): New function. | |
1995 | (get_base_address): Handle MEM_REF. | |
1996 | (count_ptr_derefs): Likewise. | |
1997 | (get_base_loadstore): Likewise. | |
1998 | * gimple.h (is_gimple_mem_ref_addr): Declare. | |
1999 | (gimple_call_fndecl): Handle invariant MEM_REF addresses. | |
2000 | * tree-cfg.c (verify_address): New function, split out from ... | |
2001 | (verify_expr): ... here. Use for verifying ADDR_EXPRs and | |
2002 | the address operand of MEM_REFs. Verify MEM_REFs. Reject | |
2003 | INDIRECT_REFs. | |
2004 | (verify_types_in_gimple_min_lval): Handle MEM_REF. Disallow | |
2005 | INDIRECT_REF. Allow conversions. | |
2006 | (verify_types_in_gimple_reference): Verify VIEW_CONVERT_EXPR of | |
2007 | a register does not change its size. | |
2008 | (verify_types_in_gimple_reference): Verify MEM_REF. | |
2009 | (verify_gimple_assign_single): Disallow INDIRECT_REF. | |
2010 | Handle MEM_REF. | |
2011 | * tree-ssa-operands.c (opf_non_addressable, opf_not_non_addressable): | |
2012 | New. | |
2013 | (mark_address_taken): Handle MEM_REF. | |
2014 | (get_indirect_ref_operands): Pass through opf_not_non_addressable. | |
2015 | (get_asm_expr_operands): Pass opf_not_non_addressable. | |
2016 | (get_expr_operands): Handle opf_[not_]non_addressable. | |
2017 | Handle MEM_REF. Remove INDIRECT_REF handling. | |
2018 | * tree-vrp.c: (check_array_ref): Handle MEM_REF. | |
2019 | (search_for_addr_array): Likewise. | |
2020 | (check_array_bounds): Likewise. | |
2021 | (vrp_stmt_computes_nonzero): Adjust for MEM_REF. | |
2022 | * tree-ssa-loop-im.c (for_each_index): Handle MEM_REF. | |
2023 | (ref_always_accessed_p): Likewise. | |
2024 | (gen_lsm_tmp_name): Likewise. Handle ADDR_EXPR. | |
2025 | * tree-complex.c (extract_component): Do not handle INDIRECT_REF. | |
2026 | Handle MEM_REF. | |
2027 | * cgraphbuild.c (mark_load): Properly check for NULL result | |
2028 | from get_base_address. | |
2029 | (mark_store): Likewise. | |
2030 | * tree-ssa-loop-niter.c (array_at_struct_end_p): Handle MEM_REF. | |
2031 | * tree-loop-distribution.c (generate_builtin): Exchange INDIRECT_REF | |
2032 | handling for MEM_REF. | |
2033 | * tree-scalar-evolution.c (follow_ssa_edge_expr): Handle | |
2034 | &MEM[ptr + CST] similar to POINTER_PLUS_EXPR. | |
2035 | * builtins.c (stabilize_va_list_loc): Use the function ABI | |
2036 | valist type if we couldn't canonicalize the argument type. | |
2037 | Always dereference with the canonical va-list type. | |
2038 | (maybe_emit_free_warning): Handle MEM_REF. | |
2039 | (fold_builtin_memory_op): Simplify and handle MEM_REFs in folding | |
2040 | memmove to memcpy. | |
2041 | * builtins.c (fold_builtin_memory_op): Use ref-all types | |
2042 | for all memcpy foldings. | |
2043 | * omp-low.c (build_receiver_ref): Adjust for MEM_REF. | |
2044 | (build_outer_var_ref): Likewise. | |
2045 | (scan_omp_1_op): Likewise. | |
2046 | (lower_rec_input_clauses): Likewise. | |
2047 | (lower_lastprivate_clauses): Likewise. | |
2048 | (lower_reduction_clauses): Likewise. | |
2049 | (lower_copyprivate_clauses): Likewise. | |
2050 | (expand_omp_atomic_pipeline): Likewise. | |
2051 | (expand_omp_atomic_mutex): Likewise. | |
2052 | (create_task_copyfn): Likewise. | |
2053 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle MEM_REF. | |
2054 | Remove old union trick. Initialize constant offsets. | |
2055 | (ao_ref_init_from_vn_reference): Likewise. Do not handle | |
2056 | INDIRECT_REF. Init base_alias_set properly. | |
abf88779 | 2057 | (vn_reference_lookup_3): Replace INDIRECT_REF handling with MEM_REF. |
182cf5a9 | 2058 | (vn_reference_fold_indirect): Adjust for MEM_REFs. |
2059 | (valueize_refs): Fold MEM_REFs. Re-evaluate constant offset | |
2060 | for ARRAY_REFs. | |
2061 | (may_insert): Remove. | |
2062 | (visit_reference_op_load): Do not test may_insert. | |
2063 | (run_scc_vn): Remove parameter, do not fiddle with may_insert. | |
2064 | * tree-ssa-sccvn.h (struct vn_reference_op_struct): Add | |
2065 | a field to store the constant offset this op applies. | |
2066 | (run_scc_vn): Adjust prototype. | |
2067 | * cgraphunit.c (thunk_adjust): Adjust for MEM_REF. | |
2068 | * tree-ssa-ccp.c (ccp_fold): Replace INDIRECT_REF folding with | |
2069 | MEM_REF. Propagate &foo + CST as &MEM[&foo, CST]. Do not | |
2070 | bother about volatile qualifiers on pointers. | |
2071 | (fold_const_aggregate_ref): Handle MEM_REF, do not handle INDIRECT_REF. | |
2072 | * tree-ssa-loop-ivopts.c | |
abf88779 | 2073 | * tree-ssa-loop-ivopts.c (determine_base_object): Adjust for MEM_REF. |
182cf5a9 | 2074 | (strip_offset_1): Likewise. |
2075 | (find_interesting_uses_address): Replace INDIRECT_REF handling with | |
2076 | MEM_REF handling. | |
2077 | (get_computation_cost_at): Likewise. | |
2078 | * ipa-pure-const.c (check_op): Handle MEM_REF. | |
2079 | * tree-stdarg.c (check_all_va_list_escapes): Adjust for MEM_REF. | |
2080 | * tree-ssa-sink.c (is_hidden_global_store): Handle MEM_REF | |
2081 | and constants. | |
2082 | * ipa-inline.c (likely_eliminated_by_inlining_p): Handle MEM_REF. | |
2083 | * tree-parloops.c (take_address_of): Adjust for MEM_REF. | |
2084 | (eliminate_local_variables_1): Likewise. | |
2085 | (create_call_for_reduction_1): Likewise. | |
2086 | (create_loads_for_reductions): Likewise. | |
2087 | (create_loads_and_stores_for_name): Likewise. | |
2088 | * matrix-reorg.c (may_flatten_matrices_1): Sanitize. | |
2089 | (ssa_accessed_in_tree): Handle MEM_REF. | |
2090 | (ssa_accessed_in_assign_rhs): Likewise. | |
2091 | (update_type_size): Likewise. | |
2092 | (analyze_accesses_for_call_stmt): Likewise. | |
2093 | (analyze_accesses_for_assign_stmt): Likewise. | |
2094 | (transform_access_sites): Likewise. | |
2095 | (transform_allocation_sites): Likewise. | |
2096 | * tree-affine.c (tree_to_aff_combination): Handle MEM_REF. | |
2097 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
2098 | not handle INDIRECT_REF. | |
2099 | * tree-ssa-phiopt.c (add_or_mark_expr): Handle MEM_REF. | |
2100 | (cond_store_replacement): Likewise. | |
2101 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Handle | |
2102 | MEM_REF, no not handle INDIRECT_REFs. | |
2103 | (insert_into_preds_of_block): Properly initialize avail. | |
2104 | (phi_translate_1): Fold MEM_REFs. Re-evaluate constant offset | |
2105 | for ARRAY_REFs. Properly handle reference lookups that | |
2106 | require a bit re-interpretation. | |
2107 | (can_PRE_operation): Do not handle INDIRECT_REF. Handle MEM_REF. | |
182cf5a9 | 2108 | * tree-sra.c (build_access_from_expr_1): Handle MEM_REF. |
2109 | (build_ref_for_offset_1): Remove. | |
2110 | (build_ref_for_offset): Build MEM_REFs. | |
2111 | (gate_intra_sra): Disable for now. | |
2112 | (sra_ipa_modify_expr): Handle MEM_REF. | |
2113 | (ipa_early_sra_gate): Disable for now. | |
2114 | * tree-sra.c (create_access): Swap INDIRECT_REF handling for | |
2115 | MEM_REF handling. | |
2116 | (disqualify_base_of_expr): Likewise. | |
2117 | (ptr_parm_has_direct_uses): Swap INDIRECT_REF handling for | |
2118 | MEM_REF handling. | |
2119 | (sra_ipa_modify_expr): Remove INDIRECT_REF handling. | |
2120 | Use mem_ref_offset. Remove bogus folding. | |
abf88779 | 2121 | (build_access_from_expr_1): Properly handle MEM_REF for non IPA-SRA. |
182cf5a9 | 2122 | (make_fancy_name_1): Add support for MEM_REF. |
2123 | * tree-predcom.c (ref_at_iteration): Handle MEM_REFs. | |
2124 | * tree-mudflap.c (mf_xform_derefs_1): Adjust for MEM_REF. | |
2125 | * ipa-prop.c (compute_complex_assign_jump_func): Handle MEM_REF. | |
2126 | (compute_complex_ancestor_jump_func): Likewise. | |
2127 | (ipa_analyze_virtual_call_uses): Likewise. | |
2128 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Replace | |
2129 | INDIRECT_REF folding with more generalized MEM_REF folding. | |
2130 | (tree_ssa_forward_propagate_single_use_vars): Adjust accordingly. | |
2131 | (forward_propagate_addr_into_variable_array_index): Also handle | |
2132 | &ARRAY + I in addition to &ARRAY[0] + I. | |
2133 | * tree-ssa-dce.c (ref_may_be_aliased): Handle MEM_REF. | |
2134 | * tree-ssa-ter.c (find_replaceable_in_bb): Avoid TER if that | |
2135 | creates assignments with overlap. | |
2136 | * tree-nested.c (get_static_chain): Adjust for MEM_REF. | |
2137 | (get_frame_field): Likewise. | |
2138 | (get_nonlocal_debug_decl): Likewise. | |
2139 | (convert_nonlocal_reference_op): Likewise. | |
2140 | (struct nesting_info): Add mem_refs pointer-set. | |
2141 | (create_nesting_tree): Allocate it. | |
2142 | (convert_local_reference_op): Insert to be folded mem-refs. | |
2143 | (fold_mem_refs): New function. | |
abf88779 | 2144 | (finalize_nesting_tree_1): Perform defered folding of mem-refs |
182cf5a9 | 2145 | (free_nesting_tree): Free the pointer-set. |
2146 | * tree-vect-stmts.c (vectorizable_store): Adjust for MEM_REF. | |
2147 | (vectorizable_load): Likewise. | |
2148 | * tree-ssa-phiprop.c (phiprop_insert_phi): Adjust for MEM_REF. | |
2149 | (propagate_with_phi): Likewise. | |
2150 | * tree-object-size.c (addr_object_size): Handle MEM_REFs | |
2151 | instead of INDIRECT_REFs. | |
2152 | (compute_object_offset): Handle MEM_REF. | |
2153 | (plus_stmt_object_size): Handle MEM_REF. | |
2154 | (collect_object_sizes_for): Dispatch to plus_stmt_object_size | |
2155 | for &MEM_REF. | |
2156 | * tree-flow.h (get_addr_base_and_unit_offset): Declare. | |
2157 | (symbol_marked_for_renaming): Likewise. | |
2158 | * Makefile.in (tree-dfa.o): Add $(TOPLEV_H). | |
2159 | (fold-const.o): Add $(TREE_FLOW_H). | |
2160 | * tree-ssa-structalias.c (get_constraint_for_1): Handle MEM_REF. | |
2161 | (find_func_clobbers): Likewise. | |
2162 | * ipa-struct-reorg.c (decompose_indirect_ref_acc): Handle MEM_REF. | |
2163 | (decompose_access): Likewise. | |
2164 | (replace_field_acc): Likewise. | |
2165 | (replace_field_access_stmt): Likewise. | |
2166 | (insert_new_var_in_stmt): Likewise. | |
2167 | (get_stmt_accesses): Likewise. | |
2168 | (reorg_structs_drive): Disable. | |
2169 | * config/i386/i386.c (ix86_va_start): Adjust for MEM_REF. | |
2170 | (ix86_canonical_va_list_type): Likewise. | |
2171 | ||
964229b7 | 2172 | 2010-06-30 Joern Rennecke <joern.rennecke@embecosm.com> |
2173 | ||
2174 | PR other/44566 | |
2175 | * coretypes.h [!USED_FOR_TARGET] (reg_class_t): Define. | |
2176 | * target.def (struct gcc_target): Replace enum reg_class with | |
2177 | reg_class_t in hook argument / return types. | |
2178 | * doc/tm.texi.in (TARGET_SECONDARY_RELOAD): Likewise. | |
2179 | (TARGET_IRA_COVER_CLASSES, TARGET_MEMORY_MOVE_COST): Likewise. | |
2180 | (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise. | |
2181 | * targhooks.h (default_branch_target_register_class): Likewise. | |
2182 | (default_ira_cover_classes, default_secondary_reload): Likewise. | |
2183 | (default_memory_move_cost, default_register_move_cost): Likewise. | |
2184 | * targhooks.c (default_branch_target_register_class): Likewise. | |
2185 | (default_ira_cover_classes, default_secondary_reload): Likewise. | |
2186 | (default_memory_move_cost, default_register_move_cost): Likewise. | |
2187 | * reload.c (push_secondary_reload, secondary_reload_class): Likewise. | |
2188 | * bt-load.c (branch_target_load_optimize): Likewise. | |
2189 | * ira.c (setup_cover_and_important_classes): Likewise. | |
2190 | * ira-costs.c (copy_cost): Likewise. | |
2191 | * reload1.c (emit_input_reload_insns): Likewise. | |
2192 | * config/alpha/alpha.c (alpha_secondary_reload): Likewise. | |
2193 | * config/frv/frv.c (frv_secondary_reload): Likewise. | |
2194 | * config/s390/s390.c (s390_secondary_reload): Likewise. | |
2195 | * config/i386/i386.c (i386_ira_cover_classes): Likewise. | |
2196 | (ix86_secondary_reload, ix86_memory_move_cost): Likewise. | |
2197 | (ix86_register_move_cost): Likewise. | |
2198 | * config/sh/sh-protos.h (sh_secondary_reload): Likewise. | |
2199 | * config/sh/sh.c (sh_target_reg_class, sh_secondary_reload): Likewise. | |
2200 | * config/xtensa/xtensa.c (xtensa_secondary_reload): Likewise. | |
2201 | * config/xtensa/xtensa-protos.h (xtensa_secondary_reload): Likewise. | |
2202 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Likewise. | |
2203 | (rs6000_ira_cover_classes): Likewise. | |
2204 | * config/picochip/picochip.c (picochip_secondary_reload): Likewise. | |
2205 | * config/picochip/picochip-protos.h (picochip_secondary_reload): | |
2206 | Likewise. | |
2207 | * config/pa/pa.c (pa_secondary_reload): Likewise. | |
2208 | * config/mips/mips.c (mips_ira_cover_classes): Likewise. | |
2209 | * config/bfin/bfin.c (bfin_secondary_reload): Likewise. | |
2210 | * config/ia64/ia64.c (ia64_register_move_cost): Likewise. | |
2211 | * doc/tm.texi: Regenerate. | |
2212 | ||
3ebac17a | 2213 | 2010-06-30 Sebastian Pop <sebastian.pop@amd.com> |
2214 | ||
2215 | PR bootstrrap/44726 | |
2216 | * graphite-sese-to-poly.c (build_poly_dr): Avoid uninitialized | |
2217 | use. | |
2218 | (build_alias_set_optimal_p): Likewise. | |
2219 | (build_base_obj_set_for_drs): Likewise. | |
2220 | ||
1c773655 | 2221 | 2010-06-30 Joern Rennecke <joern.rennecke@embecosm.com> |
2222 | ||
2223 | * target.def: Remove comment about licensing problems of function | |
2224 | declarations. | |
2225 | ||
8c38d114 | 2226 | * target.def (declare_constant_name): Change exp to expr. Use DEFHOOK. |
2227 | * doc/tm.texi.in (TARGET_ASM_DECLARE_CONSTANT_NAME): Use @hook. | |
2228 | * doc/tm.texi: Regenerate. | |
2229 | ||
707e3139 | 2230 | * target.def (builtin_reciprocal): Change tm_fn to md_fn. Use DEFHOOK. |
2231 | * doc/tm.texi.in (TARGET_BUILTIN_RECIPROCAL): Use @hook. | |
2232 | ||
303ece6c | 2233 | * target.def (enum_va_list_p): Use DEFHOOK. |
2234 | * doc/tm.texi.in (TARGET_ENUM_VA_LIST_P): Use @hook. | |
2235 | Rename ptype to ptree. | |
2236 | * doc/tm.texi: Regenerate. | |
2237 | ||
bf084459 | 2238 | * target.def (fold_builtin): Rename nargs to n_args. Use DEFHOOK. |
2239 | * doc/tm.texi.in (TARGET_FOLD_BUILTIN): Use @hook. | |
2240 | * doc/tm.texi: Regenerate. | |
2241 | ||
9de204fa | 2242 | * target.def (memory_move_cost): Use DEFHOOK. |
2243 | * doc/tm.texi.in (TARGET_MEMORY_MOVE_COST): Use @hook. | |
2244 | Rename regclass AKA class to rclass. | |
2245 | * doc/tm.texi: Regenerate. | |
2246 | ||
04f989af | 2247 | * target.def (pragma_parse): Use DEFHOOK. |
2248 | * doc/tm.texi.in (TARGET_OPTION_PRAGMA_PARSE): Use @hook. | |
2249 | s/TARGET_VALID_OPTION_ATTRIBUTE_P/TARGET_OPTION_VALID_ATRIBUTE_P/ . | |
2250 | * doc/tm.texi: Regenerate. | |
2251 | ||
b4c24d67 | 2252 | * target.def (pass_by_reference): Use DEFHOOK. |
2253 | * doc/tm.texi.in (TARGET_PASS_BY_REFERENCE): Use @hook. | |
2254 | * doc/tm.texi: Regenerate. | |
2255 | ||
00a1fec8 | 2256 | * target.def (resolve_overloaded_builtin): Rename params to arglist. |
2257 | Use DEFHOOK. | |
2258 | * doc/tm.texi.in (TARGET_RESOLVE_OVERLOADED_BUILTIN): Use @hook. | |
2259 | * doc/tm.texi: Regenerate. | |
2260 | ||
fe0b4016 | 2261 | * target.def (return_pops_args): Use DEFHOOK. |
2262 | * doc/tm.texi.in (TARGET_RETURN_POPS_ARGS): Use @hook. | |
2263 | Rename stack-size to size. | |
2264 | * doc/tm.texi: Regenerate. | |
2265 | ||
ec1842d2 | 2266 | * target.def (dfa_new_cycle): Use DEFHOOK. Rename dump_file to dump, |
2267 | last-sched_cycle to last_clock, cur_cycle to clock. | |
2268 | * doc/tm.texi.in: Use @hook. | |
2269 | * doc/tm.texi: Regenerate. | |
2270 | ||
21cc3986 | 2271 | * target.def (print_operand, print_operand_address): Update comment. |
2272 | (print_operand_punct_valid_p): Likewise. | |
2273 | ||
d7091a76 | 2274 | 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2275 | ||
2276 | * toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations | |
2277 | to rtl.h. | |
2278 | (error_for_asm, warning_for_asm): Move declarations to rtl-error.h. | |
abf88779 | 2279 | * rtl.h (_fatal_insn_not_found, _fatal_insn): Move declarations here. |
d7091a76 | 2280 | * rtl-error.h: New. |
2281 | * regrename.c: Do not include toplev.h. Include rtl-error.h. | |
2282 | * rtl-error.c: Likewise. | |
2283 | * reload.c: Likewise. | |
2284 | * recog.c: Likewise. | |
2285 | * sel-sched.c: Likewise. | |
2286 | * function.c: Likewise. | |
2287 | * reg-stack.c: Likewise. | |
2288 | * cfgrtl.c: Likewise. | |
2289 | * reload1.c: Likewise. | |
2290 | * final.c: Include rtl-error. | |
2291 | * Makefile.in: Adjust dependencies. | |
2292 | ||
9eb0b8ee | 2293 | 2010-06-30 Jan Hubicka <jh@suse.cz> |
2294 | ||
2295 | PR middle-end/PR44706 | |
2296 | * ipa-split (split_function): Refine conditions when to use DECL_RESULT | |
2297 | to return the value. | |
2298 | ||
78a0527a | 2299 | 2010-06-30 Michael Matz <matz@suse.de> |
2300 | ||
2301 | PR bootstrap/44699 | |
2302 | * tree-vrp.c (vrp_finalize): Deal with changing num_ssa_names. | |
2303 | * gimple-fold.c (gimplify_and_update_call_from_tree): If LHS is | |
2304 | a gimple reg, attach the original VDEF to the last store in the | |
2305 | sequence. | |
2306 | ||
2e023235 | 2307 | 2010-06-30 Iain Sandoe <iains@gcc.gnu.org> |
2308 | ||
2309 | PR other/44034 | |
2310 | * config/darwin.c (darwin_override_options): Use renamed | |
2311 | targetm.asm_out.emit_unwind_label. | |
2312 | ||
2e661451 | 2313 | 2010-06-30 Bernd Schmidt <bernds@codesourcery.com> |
2314 | ||
2315 | PR tree-optimization/39799 | |
2316 | * tree-inline.c (remap_ssa_name): Initialize variable only if | |
2317 | SSA_NAME_OCCURS_IN_ABNORMAL_PHI. | |
2318 | ||
9bc1bf88 | 2319 | 2010-06-30 Nathan Froyd <froydnj@codesourcery.com> |
2320 | ||
2321 | * c-parser.c (c_parser_omp_for_loop): Use a VEC for for_block. | |
2322 | ||
262fbb9a | 2323 | 2010-06-30 Richard Guenther <rguenther@suse.de> |
2324 | ||
2325 | PR target/44722 | |
2326 | * config/i386/i386.md (peephole2 for fix:SSEMODEI24): Guard | |
2327 | against oscillation with reverse peephole2. | |
2328 | ||
8a8595de | 2329 | 2010-06-30 H.J. Lu <hongjiu.lu@intel.com> |
2330 | ||
2331 | PR target/44721 | |
2332 | * config/i386/i386.md (peephole2 for arithmetic ops with memory): | |
2333 | Fix last commit. | |
2334 | ||
9d2f1b03 | 2335 | 2010-06-30 Nick Clifton <nickc@redhat.com> |
2336 | ||
2337 | * config/rx/rx-modes.def: New file. | |
2338 | * config/rx/rx.h (FIRST_PSEUDO_REGISTER): Increase to 17. | |
2339 | (CC_REGNUM): Define. | |
2340 | (FIXED_REGISTERS, CALL_USED_REGISTERS, REGISTER_NAMES): Add cc | |
2341 | register. | |
2342 | (CC_NO_CARRY, NOTICE_UPDATE_CC): Delete. | |
2343 | (SELECT_CC_MODE): Define. | |
2344 | * config/rx/rx.md (CC_REG): Define. Update all patterns to use | |
2345 | (reg:CC CC_REG) instead of (cc0). | |
2346 | (attr "cc"): Delete. | |
2347 | (cbranchsi4): Do not split compare and branch here. Instead move | |
2348 | it to... | |
2349 | (cbranchsi4_<code>): ... here. New patterns. | |
2350 | (cmpsi): Call rx-compare_redundant to find out if it is necessary | |
2351 | to emit the compare instruction. | |
2352 | * config/rx/rx.c (rx_gen-cond_branch_template): Remove tests of | |
2353 | cc_status flags. | |
2354 | (rx_get_stack_layout): Iterate up to before CC_REGNUM not | |
2355 | FIRST_PSEUDO_REGNUM. | |
2356 | (rx_expand_prologue, rx_expand_epilogue): Likewise. | |
2357 | (rx_notice_update_cc): Delete. | |
2358 | (rx_cc_modes_compatible): New function. | |
2359 | (flags_needed_for_conditional): New function. | |
2360 | (flags_from_mode): New function. | |
2361 | (rx_compare_redundant): New function - scans backwards through | |
abf88779 | 2362 | insn list to find out if condition flags are already set correctly. |
9d2f1b03 | 2363 | (TARGET_CC_MODES_COMPATIBLE): Define. |
2364 | * config/rx/rx-protos.h (rx_compare_redundant): Prototype. | |
2365 | ||
2366 | * config/rx/rx.h (BRANCH_COST): Define. | |
2367 | (REGISTER_MOVE_COST): Define. | |
abf88779 | 2368 | * config/rx/predicates (rx_source_operand): Allow all constant types. |
9d2f1b03 | 2369 | * config/rx/rx.md (addsi3): Add alternative for swapped operands. |
2370 | (tstsi4): New pattern. | |
2371 | * config/rx/rx.c (rx_memory_move_cost): Define. | |
2372 | (TARGET_MEMORY_MOVE_COST): Define. | |
2373 | ||
9b40bfbf | 2374 | 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2375 | ||
2376 | * tree.h (block_may_fallthru): Declare here. | |
2377 | * tree-flow.h (block_may_fallthru): Do not declare here. | |
2378 | * c-typeck.c: Do not include tree-flow.h. Include gimple.h and | |
2379 | bitmap.h | |
2380 | * Makefile.in (c-typeck.o): Update dependencies. | |
2381 | ||
4573d576 | 2382 | 2010-06-30 Jakub Jelinek <jakub@redhat.com> |
2383 | ||
2384 | PR debug/44694 | |
2385 | * cselib.h (cselib_preserve_cfa_base_value): Add regno argument. | |
2386 | * cselib.c (cfa_base_preserved_regno): New static variable. | |
2387 | (cselib_reset_table): Don't reset cfa_base_preserved_regno instead | |
2388 | of REGNO (cfa_base_preserved_val->locs->loc). | |
2389 | (cselib_preserve_cfa_base_value): Add regno argument, set | |
2390 | cfa_base_preserved_regno to it. | |
2391 | (cselib_invalidate_regno): Allow removal of registers other than | |
2392 | cfa_base_preserved_regno from cfa_base_preserved_val. | |
2393 | (cselib_finish): Set cfa_base_preserved_regno to INVALID_REGNUM. | |
2394 | * var-tracking.c (adjust_mems): Replace sp or hfp even outside | |
2395 | of MEM addresses, if not on LHS. | |
2396 | (reverse_op): Don't add reverse ops for cfa_base_rtx. | |
2397 | (vt_init_cfa_base): Adjust cselib_preserve_cfa_base_value caller. | |
2398 | ||
991512bc | 2399 | 2010-06-30 Bernd Schmidt <bernds@codesourcery.com> |
2400 | ||
2401 | * recog.c (peep2_do_rebuild_jump_labels, peep2_do_cleanup_cfg): New | |
2402 | static variables. | |
2403 | (peep2_buf_position): New static function. | |
2404 | (peep2_regno_dead_p, peep2_reg_dead_p, peep2_find_free_register, | |
2405 | peephole2_optimize): Use it. | |
2406 | (peep2_attempt, peep2_update_life): New static functions, broken out | |
2407 | of peephole2_optimize. | |
2408 | (peep2_fill_buffer): New static function. | |
2409 | (peephole2_optimize): Change the main loop to try to fill the buffer | |
2410 | with the maximum number of insns before matching them against | |
2411 | peepholes. Use a forward scan. Remove special case for targets with | |
2412 | conditional execution. | |
2413 | * genrecog.c (change_state): Delete dead code. | |
2414 | * config/i386/i386.md (peephole2 for arithmetic ops with memory): | |
2415 | Rewrite so as not to expect the second insn to have had a peephole | |
2416 | applied yet. | |
2417 | ||
c1ea0529 | 2418 | 2010-06-29 Nathan Froyd <froydnj@codesourcery.com> |
2419 | ||
2420 | * genhooks.c (emit_findices): Cast field precision to int. | |
2421 | (emit_documentation): Likewise. | |
2422 | ||
6a9f3fe9 | 2423 | 2010-06-29 Jakub Jelinek <jakub@redhat.com> |
2424 | ||
931b69dd | 2425 | PR tree-optimization/43801 |
2426 | * cgraph.c (cgraph_create_virtual_clone): Clear DECL_SECTION_NAME | |
2427 | if old_decl was DECL_ONE_ONLY. | |
2428 | ||
6a9f3fe9 | 2429 | PR debug/44668 |
2430 | * dwarf2out.c (add_accessibility_attribute): New function. | |
2431 | (gen_subprogram_die, gen_variable_die, gen_field_die): Use it | |
2432 | instead of adding DW_AT_accessibility manually. | |
2433 | (gen_enumeration_type_die, gen_struct_or_union_type_die, | |
2434 | gen_typedef_die): Use it. | |
2435 | ||
109cedc7 | 2436 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
2437 | ||
2438 | * vmsdbgout.c (full_name): Just output the file name if not native. | |
2439 | ||
ba0fc22b | 2440 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
2441 | ||
2442 | * vmsdbgout.c (func_table): Replace with VEC func{nam,num}_tables. | |
2443 | (funcnam_table): New static table. | |
2444 | (funcnum_table): New static table. | |
2445 | (write_rtnbeg): Write value saved in funcnum_table. | |
2446 | (write_rtnend): Write value saved in funcnum_table. | |
2447 | (vmsdbgout_begin_function): Save current function info in | |
2448 | (vmsdbgout_init): Initialize func{nam,num}_tables. Minor reformatting. | |
2449 | (vmsdbgout_finish): Iterate over funcnum_table. | |
2450 | ||
9c55c3d2 | 2451 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
2452 | ||
2453 | * vmsdbgout.c (vmsdbgout_begin_epilogue): Declare | |
2454 | (vmsdbgout_type_decl): Declare | |
2455 | (vmsdbg_debug_hooks): Add entry for type_decl and begin_epilogue. | |
2456 | (FUNC_EPILOGUE_LABEL): New macro | |
2457 | (vmsdbgout_begin_epilogue): New function. | |
2458 | (vmsdbgout_type_decl): New function. | |
2459 | ||
b8b86778 | 2460 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
2461 | ||
2462 | * vmsdbg.h: Update copyright. | |
2463 | ||
7244b875 | 2464 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
2465 | ||
2466 | * vmsdbg.h (DST_K_TBG): New DST constant. | |
2467 | * vmsdbgout.c (addr_const_to_string): Removed, not referenced. | |
2468 | (write_modbeg): Cast module_language to avoid warning. | |
2469 | (write_rtnbeg): Use DST_K_TBG vice magic mystery number. | |
2470 | ||
202d6e5f | 2471 | 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com> |
2472 | ||
2473 | PR other/44034 | |
2474 | * target.def, doc/tm.texi.in, genhooks.c: New files. | |
2475 | * target.h: Instead of defining individual hook members, | |
2476 | define DEFHOOKPOD / DEFHOOK / DEFHOOK_UNDOC / HOOKSTRUCT and | |
2477 | include target.def. | |
2478 | * target-def.h: Instead of defining individual hook initializers, | |
2479 | include target-hooks-def.h. | |
2480 | * df-scan.c, haifa-sched.c, sel-sched.c: Rename targetm members: | |
2481 | targetm.live_on_entry -> targetm.extra_live_on_entry | |
2482 | targetm.sched.md_finish ->targetm.sched.finish | |
2483 | targetm.sched.md_init -> targetm.sched.init | |
2484 | targetm.sched.md_init_global -> targetm.sched.init_global | |
2485 | targetm.asm_out.unwind_label -> targetm.asm_out.emit_unwind_label | |
2486 | targetm.asm_out.except_table_label -> | |
2487 | targetm.asm_out.emit_except_table_label | |
2488 | targetm.asm_out.visibility -> targetm.asm_out.assemble_visibility | |
2489 | targetm.target_help -> targetm.help | |
2490 | targetm.vectorize.builtin_support_vector_misalignment -> | |
2491 | targetm.vectorize.support_vector_misalignment | |
2492 | targetm.file_start_app_off -> targetm.asm_file_start_app_off | |
2493 | targetm.file_start_file_directive -> | |
2494 | targetm.asm_file_start_file_directive | |
2495 | * dwarf2out.c, opts.c, tree-vect-data-refs.c, except.c: Likewise. | |
2496 | * varasm.c, config/alpha/alpha.c, config/cris/cris.c: Likewise. | |
2497 | * gcc/config/spu/spu.c, config/ia64/ia64.c: Rename target macros: | |
2498 | TARGET_VECTOR_ALIGNMENT_REACHABLE -> | |
2499 | TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE | |
2500 | TARGET_SUPPORT_VECTOR_MISALIGNMENT -> | |
2501 | TARGET_VECTORIZE_SUPPORT_VECTOR_MISALIGNMENT | |
2502 | TARGET_UNWIND_EMIT -> TARGET_ASM_UNWIND_EMIT | |
2503 | * config/rs6000/rs6000.c, config/arm/arm.c: Likewise. | |
2504 | * Makefile.in (TARGET_H): Depend on target.def. | |
2505 | (TARGET_DEF_H): Depend on target-hooks-def.h. | |
2506 | (target-hooks-def.h, tm.texi, s-target-hooks-def-h): New rules. | |
2507 | (s-tm-texi, build/genhooks.o, build/genhooks): Likewise. | |
2508 | * doc/tm.texi: Regenerate. | |
2509 | ||
2de5bbf2 | 2510 | * Makefile.in (s-tm-texi): Remove stray tab / rule. |
2511 | ||
c8e5dcf5 | 2512 | * config/m68k/m68k.c (targetm.sched.init_global): Update comment. |
2513 | (targetm.sched.init): Likewise. | |
2514 | ||
bfe6ebc7 | 2515 | 2010-06-29 Nathan Froyd <froydnj@codesourcery.com> |
2516 | ||
2517 | PR bootstrap/44713 | |
2518 | * config/i386/i386.c (type_natural_mode): Const-ify CUM parameter. | |
2519 | (function_arg_advance_32): Const-ify TYPE parameter. | |
2520 | (function_arg_advance_64): Likewise. Change type of NAMED to bool. | |
2521 | (ix86_function_arg_advance): Change type of NAMED to bool. | |
2522 | (function_arg_32): Const-ify CUM and TYPE parameters. | |
2523 | (function_arg_64): Likewise. Change type of NAMED to bool. | |
2524 | (function_arg_ms_64): Const-ify CUM parameter. Change type of NAMED | |
2525 | to bool. | |
2526 | (ix86_function_arg): Change type of NAMED to bool. | |
2527 | (ix86_setup_incoming_varargs): Call ix86_function_arg_advance. Pass | |
2528 | last argument as a bool. | |
2529 | ||
cc5d3821 | 2530 | 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com> |
2531 | ||
2532 | * doc/tm.texi (TARGET_OPTION_OVERRIDE): Document. | |
2533 | (OVERRIDE_OPTIONS): Add note of obsolescence. | |
2534 | Replace references with references to TARGET_OPTION_OVERRIDE. | |
2535 | (Except for C_COMMON_OVERRIDE_OPTIONS, which remains similar to | |
2536 | the macro). | |
2537 | * targhooks.c (default_target_option_override): New function. | |
2538 | * targhooks.h (default_target_option_override): Declare. | |
2539 | * target.h (struct gcc_target): Add override member to | |
e6dada52 | 2540 | target_option member. |
cc5d3821 | 2541 | * toplev.c (process_options): Replace OVERRIDE_OPTIONS use with |
2542 | targetm.target_option.override call. | |
2543 | * target-def.h (TARGET_OPTION_OVERRIDE): Define. | |
2544 | (TARGET_OPTION_HOOKS): Add TARGET_OPTION_OVERRIDE. | |
2545 | ||
292233cd | 2546 | 2010-06-29 Jan Hubicka <jh@suse.cz> |
2547 | ||
2548 | * tree-inline.c: Replace incomming by incomin and clonning by cloning. | |
2549 | ||
555e8b05 | 2550 | 2010-06-29 Jan Hubicka <jh@suse.cz> |
2551 | ||
2552 | * predict.c (propagate_freq): Clear EXIT_BLOCK_PTR frequency if it is | |
2553 | unreachable. | |
2554 | (rebuild_frequencies): New function. | |
2555 | * predict.h (rebuild_frequencies): Declare. | |
2556 | * tree-inline.c (copy_cfg_body): Compute properly count & frequency of | |
2557 | entry block and edge reaching new_entry. | |
abf88779 | 2558 | (tree_function_versioning): When doing partial cloning, rebuild |
2559 | frequencies when done. | |
555e8b05 | 2560 | * passes.c (execute_function_todo): Use rebild_frequencies. |
2561 | ||
ec878c4f | 2562 | 2010-06-29 Richard Guenther <rguenther@suse.de> |
2563 | ||
2564 | * tree-dfa.c (dump_variable): Remove noalias_state dumping. | |
2565 | * tree-flow.h (enum noalias_state): Remove. | |
2566 | (struct var_ann_d): Remove noalias_state member. | |
2567 | ||
5cdca009 | 2568 | 2010-06-29 Bernd Schmidt <bernds@codesourcery.com> |
2569 | ||
2570 | PR target/43902 | |
2571 | * config/arm/arm.md (maddsidi4, umaddsidi4): New expanders. | |
2572 | (maddhisi4): Renamed from mulhisi3addsi. Operands renumbered. | |
2573 | (maddhidi4): Likewise. | |
2574 | ||
f46becc2 | 2575 | Revert parts of the change for PR25130. |
2576 | * cse.c (exp_equiv_p): For MEMs, if for_gcse, only compare | |
2577 | MEM_ALIAS_SET. | |
2578 | ||
f387af4f | 2579 | 2010-06-29 Nathan Froyd <froydnj@codesourcery.com> |
2580 | ||
2581 | * calls.c, dse.c, expr.c, function.c: Call targetm.calls.function_arg, | |
2582 | targetm.calls.function_incoming_arg, and | |
2583 | targetm.calls.function_arg_advance instead of FUNCTION_ARG, | |
2584 | FUNCTION_INCOMING_ARG, and FUNCTION_ARG_ADVANCE, respectively. | |
2585 | * target.h (struct gcc_target): Add function_arg_advance, | |
2586 | function_arg, and function_incoming_arg fields. | |
2587 | * target-def.h (TARGET_FUNCTION_ARG_ADVANCE, TARGET_FUNCTION_ARG): | |
2588 | (TARGET_FUNCTION_INCOMING_ARG): Define. | |
2589 | (TARGET_CALLS): Add TARGET_FUNCTION_ARG_ADVANCE, TARGET_FUNCTION_ARG, | |
2590 | and TARGET_FUNCTION_INCOMING_ARG. | |
2591 | * targhooks.h (default_function_arg_advance): Declare. | |
2592 | (default_function_arg, default_function_incoming_arg): Declare. | |
2593 | * targhooks.c (default_function_arg_advance): New function. | |
2594 | (default_function_arg, default_function_incoming_arg): New function. | |
2595 | * config/i386/i386.c (function_arg_advance): Rename to... | |
2596 | (ix86_function_arg_advance): ...this. Make static. | |
2597 | (function_arg): Rename to... | |
2598 | (ix86_function_arg): ...this. Make static. | |
2599 | (TARGET_FUNCTION_ARG_ADVANCE): Define. | |
2600 | (TARGET_FUNCTION_ARG): Define. | |
2601 | * config/i386/i386.h (FUNCTION_ARG_ADVANCE): Delete. | |
2602 | (FUNCTION_ARG): Delete. | |
2603 | * config/i386/i386-protos.h (function_arg_advance): Delete prototype. | |
2604 | (function_arg): Delete prototype. | |
2605 | ||
f5bc28da | 2606 | 2010-06-29 Nathan Froyd <froydnj@codesourcery.com> |
2607 | ||
2608 | * reginfo.c (init_reg_sets_1): Adjust comments. | |
2609 | * combine-stack-adj.c (rest_of_handle_stack_adjustments): Likewise. | |
2610 | * calls.c (prepare_call_address): Likewise. | |
2611 | (emit_call_1): Use targetm.calls.return_pops_args. | |
2612 | (expand_call): Likewise. | |
2613 | * function.c (assign_parms): Likewise. | |
2614 | * system.h (RETURN_POPS_ARGS): Add to #pragma poison list. | |
2615 | * target.h (struct gcc_target) [struct calls]: Add | |
2616 | return_pops_args field. | |
2617 | * targhooks.h (default_return_pops_args): Declare. | |
2618 | * targhooks.c (default_return_pops_args): Define. | |
2619 | * target-def.h (TARGET_RETURN_POPS_ARGS): Define. | |
2620 | (TARGET_CALLS): Add TARGET_RETURN_POPS_ARGS. | |
2621 | * doc/tm.texi (RETURN_POPS_ARGS): Rename to... | |
2622 | (TARGET_RETURN_POPS_ARGS): ...this. Use deftypefn. Adjust | |
2623 | documentation. | |
2624 | * config/alpha/alpha.h (RETURN_POPS_ARGS): Delete. | |
2625 | * config/arc/arc.h (RETURN_POPS_ARGS): Likewise. | |
2626 | * config/arm/arm.h (RETURN_POPS_ARGS): Likewise. | |
2627 | * config/avr/avr.h (RETURN_POPS_ARGS): Likewise. | |
2628 | * config/bfin/bfin.h (RETURN_POPS_ARGS): Likewise. | |
2629 | * config/cris/cris.h (RETURN_POPS_ARGS): Likewise. | |
2630 | * config/crx/crx.h (RETURN_POPS_ARGS): Likewise. | |
2631 | * config/fr30/fr30.h (RETURN_POPS_ARGS): Likewise. | |
2632 | * config/frv/frv.h (RETURN_POPS_ARGS): Likewise. | |
2633 | * config/h8300/h8300.h (RETURN_POPS_ARGS): Likewise. | |
2634 | * config/ia64/ia64.h (RETURN_POPS_ARGS): Likewise. | |
2635 | * config/iq2000/iq2000.h (RETURN_POPS_ARGS): Likewise. | |
2636 | * config/lm32/lm32.h (RETURN_POPS_ARGS): Likewise. | |
2637 | * config/m32c/m32c.h (RETURN_POPS_ARGS): Likewise. | |
2638 | * config/m32r/m32r.h (RETURN_POPS_ARGS): Likewise. | |
2639 | * config/m68hc11/m68hc11.h (RETURN_POPS_ARGS): Likewise. | |
2640 | * config/mcore/mcore.h (RETURN_POPS_ARGS): Likewise. | |
2641 | * config/mep/mep.h (RETURN_POPS_ARGS): Likewise. | |
2642 | * config/mips/mips.h (RETURN_POPS_ARGS): Likewise. | |
2643 | * config/mmix/mmix.h (RETURN_POPS_ARGS): Likewise. | |
2644 | * config/mn10300/mn10300.h (RETURN_POPS_ARGS): Likewise. | |
2645 | * config/moxie/moxie.h (RETURN_POPS_ARGS): Likewise. | |
2646 | * config/pa/pa.h (RETURN_POPS_ARGS): Likewise. | |
2647 | * config/pdp11/pdp11.h (RETURN_POPS_ARGS): Likewise. | |
2648 | * config/picochip/picochip.h (RETURN_POPS_ARGS): Likewise. | |
2649 | * config/rs6000/rs6000.h (RETURN_POPS_ARGS): Likewise. | |
2650 | * config/rx/rx.h (RETURN_POPS_ARGS): Likewise. | |
2651 | * config/s390/s390.h (RETURN_POPS_ARGS): Likewise. | |
2652 | * config/score/score.h (RETURN_POPS_ARGS): Likewise. | |
2653 | * config/sh/sh.h (RETURN_POPS_ARGS): Likewise. | |
2654 | * config/sparc/sparc.h (RETURN_POPS_ARGS): Likewise. | |
2655 | * config/spu/spu.h (RETURN_POPS_ARGS): Likewise. | |
2656 | * config/stormy16/stormy16.h (RETURN_POPS_ARGS): Likewise. | |
2657 | * config/v850/v850.h (RETURN_POPS_ARGS): Likewise. | |
2658 | * config/xtensa/xtensa.h (RETURN_POPS_ARGS): Likewise. | |
2659 | * config/i386/i386-protos.h (ix86_return_pops_args): Delete. | |
2660 | * config/i386/i386.h (RETURN_POPS_ARGS): Delete. | |
2661 | * config/i386/i386.c (ix86_return_pops_args): Make static. | |
2662 | Constify arguments. | |
2663 | (TARGET_RETURN_POPS_ARGS): Define. | |
2664 | * config/m68k/m68k.h (RETURN_POPS_ARGS): Move to... | |
2665 | * config/m68k/m68k.c (m68k_return_pops_args): ...here. New function. | |
2666 | (TARGET_RETURN_POPS_ARGS): Define. | |
2667 | * config/vax/vax.h (RETURN_POPS_ARGS): Move to... | |
2668 | * config/vax/vax.c (vax_return_pops_args): ...here. New function. | |
2669 | (TARGET_RETURN_POPS_ARGS): Define. | |
2670 | ||
2f25e4ca | 2671 | 2010-06-29 Richard Guenther <rguenther@suse.de> |
2672 | ||
2673 | PR middle-end/44667 | |
2674 | * tree-inline.c (initialize_inlined_parameters): Make sure | |
2675 | to remap the inlined parameter variable substitutions types. | |
2676 | ||
b4b21cd0 | 2677 | 2010-06-29 Eric Botcazou <ebotcazou@adacore.com> |
2678 | ||
2679 | PR rtl-optimization/44659 | |
2680 | * combine.c (make_compound_operation) <SUBREG>: Do not return the | |
2681 | result of force_to_mode if it partially re-expanded the compound. | |
2682 | ||
c12a7417 | 2683 | 2010-06-28 Jan Hubicka <jh@suse.cz> |
2684 | ||
2685 | PR middle-end/44671 | |
b4b21cd0 | 2686 | * ipa-split.c (test_nonssa_use, mark_nonssa_use): Check also uses of |
2687 | RESULT_DECL. | |
c12a7417 | 2688 | |
d3237426 | 2689 | 2010-06-28 Anatoly Sokolov <aesok@post.ru> |
2690 | ||
2691 | * double-int.h (force_fit_type_double): Remove declaration. | |
2692 | * double-int.c (force_fit_type_double): Move to tree.c. | |
2693 | * tree.h (force_fit_type_double): Declare. | |
2694 | * tree.h (force_fit_type_double): Moved from double-int.c. Use | |
2695 | double_int type for 'cst' argument. Use double_int_fits_to_tree_p and | |
2696 | double_int_to_tree instead of fit_double_type and build_int_cst_wide. | |
2697 | * convert.c (convert_to_pointer): Adjust call to | |
2698 | force_fit_type_double. | |
2699 | * tree-vrp.c (extract_range_from_assert, | |
2700 | extract_range_from_unary_expr): Adjust call to force_fit_type_double. | |
2701 | * fold-const.c: Update comment. | |
2702 | (int_const_binop, fold_convert_const_int_from_int, | |
2703 | fold_convert_const_int_from_real, fold_convert_const_int_from_fixed, | |
2704 | extract_muldiv_1, fold_div_compare, fold_sign_changed_comparison, | |
2705 | fold_unary_loc, fold_negate_const, fold_abs_const, fold_not_const, | |
2706 | round_up_loc): Adjust call to force_fit_type_double. | |
2707 | ||
b4b21cd0 | 2708 | 2010-06-28 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
f343b8e8 | 2709 | |
2710 | * config/rs6000/rs6000.h (PROCESSOR_TITAN): Declare. | |
2711 | ||
77318e00 | 2712 | 2010-06-28 Martin Jambor <mjambor@suse.cz> |
2713 | ||
2714 | * tree-sra.c (convert_callers): New parameter, change fndecls of | |
2715 | recursive calls. | |
2716 | (modify_function): Pass the old decl to convert_callers. | |
2717 | ||
16ac1565 | 2718 | 2010-06-28 Martin Jambor <mjambor@suse.cz> |
2719 | ||
2720 | * ipa-cp.c (ipcp_init_cloned_node): Replace calls to | |
2721 | ipa_check_create_node_params and ipa_initialize_node_params with | |
2722 | checking asserts they are not necessary. | |
2723 | ||
1b268210 | 2724 | 2010-06-28 Jan Hubicka <jh@suse.cz> |
2725 | ||
2726 | PR tree-optimization/44687 | |
2727 | * ipa-split.c (split_function): Use DECL_RESULT to store return value. | |
2728 | ||
04972a4e | 2729 | 2010-06-28 Martin Jambor <mjambor@suse.cz> |
2730 | ||
2731 | PR c++/44535 | |
2732 | * gimple-fold.c (get_first_base_binfo_with_virtuals): New function. | |
2733 | (gimple_get_relevant_ref_binfo): Use get_first_base_binfo_with_virtuals | |
2734 | instead of BINFO_BASE_BINFO. | |
2735 | ||
3aadae2d | 2736 | 2010-06-28 Michael Matz <matz@suse.de> |
2737 | ||
2738 | PR middle-end/44592 | |
2739 | * gimple-fold.c (gimplify_and_update_call_from_tree): Maintain | |
2740 | proper VDEF chain for intermediate stores in the sequence. | |
2741 | ||
1e93351e | 2742 | 2010-06-28 Jan Hubicka <jh@suse.cz> |
2743 | ||
2744 | PR tree-optimization/44357 | |
abf88779 | 2745 | * ipa-inline.c (add_new_edges_to_heap): Do not add edges to |
2746 | uninlinable functions. | |
1e93351e | 2747 | |
b4b21cd0 | 2748 | 2010-06-28 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
81a88188 | 2749 | |
2750 | * config.gcc (powerpc*-*-*): Handle titan. | |
2751 | * config/rs6000/rs6000.c (titan_cost): New costs. | |
2752 | (rs6000_override_options): Add "titan" to processor_target_table. | |
2753 | Add Titan to branch alignment logic. | |
2754 | Correctly set rs6000_cost for titan. | |
2755 | * config/rs6000/rs6000.md (cpu): Add titan. Include "titan.md". | |
2756 | * config/rs6000/titan.md: New file. | |
2757 | * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mcpu=titan. | |
abf88779 | 2758 | |
2d08a364 | 2759 | 2010-06-28 Nathan Froyd <froydnj@codesourcery.com> |
2760 | ||
2761 | * tree-browser.c (TB_history_stack): Convert to a VEC. | |
2762 | (TB_SET_HEAD): Adjust for new type of TB_history_stack. | |
2763 | (TB_history_prev): Likewise. | |
2764 | ||
5df674ea | 2765 | 2010-06-28 Nathan Froyd <froydnj@codesourcery.com> |
2766 | ||
2767 | * vec.h (vec_heap_free): Add parentheses around free. | |
2768 | ||
596981c8 | 2769 | 2010-06-28 Steven Bosscher <steven@gcc.gnu.org> |
2770 | ||
2771 | * system.h: Poison GCC_EXCEPT_H for front-end files. | |
2772 | ||
2773 | * langhooks.h (struct lang_hooks): Add eh_protect_cleanup_actions | |
2774 | langhook. | |
2775 | * langhooks-def.h (LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS) New. | |
2776 | Define to NULL by default. | |
2777 | * except.h: Define GCC_EXCEPT_H. | |
2778 | (doing_eh): Remove prototype. | |
2779 | (init_eh, init_eh_for_function): Move prototypes to toplev.h. | |
2780 | (lang_protect_cleanup_actions): Remove. | |
2781 | * except.c (lang_protect_cleanup_actions): Remove. | |
2782 | (doing_eh): Remove. | |
2783 | (gen_eh_region): Don't check doing_eh here. | |
2784 | * toplev.h (init_eh, init_eh_for_function_): Moved from except.h. | |
2785 | * tree-eh.c (honor_protect_cleanup_actions): Use new langhook | |
2786 | instead of lang_protect_cleanup_actions. | |
2787 | * omp-low.c (maybe_catch_exception): Likewise. | |
2788 | * Makefile.in: Update dependencies. | |
2789 | ||
b4b21cd0 | 2790 | 2010-06-28 Bingfeng Mei <bmei@broadcom.com> |
61a3c321 | 2791 | |
abf88779 | 2792 | * cgraph.h (struct varpool_node): new used_from_object_file flag. |
2793 | (struct cgraph_local_info): new used_from_object_file flag. | |
2794 | * cgraph.c (dump_cgraph_node): dump used_from_object_file flag. | |
2795 | (cgraph_clone_node): initialize used_from_object_file. | |
2796 | (cgraph_create_virtual_clone): initialize used_from_object_file. | |
2797 | * lto-symbtab.c (lto_symtab_merge_decls_1): Set | |
2798 | used_from_object_file flags for symbols of LDPR_PREVAILING_DEF | |
2799 | when compiling with -fwhole-program. | |
2800 | (lto_symtab_resolve_symbols) Use LDPR_PREVAILING_DEF_IRONLY for | |
61a3c321 | 2801 | internal resolver. |
abf88779 | 2802 | * ipa.c (function_and_variable_visibility): Set externally_visible |
2803 | flag of varpool_node if used_from_object_file flag is set. | |
2804 | (cgraph_externally_visible_p): check used_from_object_file flag. | |
2805 | * doc/invoke.texi (-fwhole-program option): Change description of | |
2806 | externally_visible attribute accordingly. | |
2807 | * doc/extend.texi (externally_visible): Ditto. | |
61a3c321 | 2808 | |
f925fe89 | 2809 | 2010-06-27 Jan Hubicka <jh@suse.cz> |
2810 | ||
2811 | * params.def (max-inline-insns-auto): Default to 40. | |
2812 | * doc/invoke.texi (max-inline-insns-auto): Document the change. | |
2813 | ||
fd8d648f | 2814 | 2010-06-27 Jan Hubicka <jh@suse.cz> |
2815 | ||
2816 | PR middle-end/44671 | |
2817 | PR middle-end/44686 | |
b4b21cd0 | 2818 | * tree.c (build_function_decl_skip_args): Clear DECL_BUILT_IN on |
2819 | signature change. | |
fd8d648f | 2820 | * ipa-split.c (split_function): Always clear DECL_BUILT_IN. |
2821 | * ipa-prop.c (ipa_modify_formal_parameters): Likewise. | |
2822 | ||
e6078fbb | 2823 | 2010-06-27 Anatoly Sokolov <aesok@post.ru> |
2824 | ||
2825 | * target.h (struct gcc_target): Add register_move_cost field. | |
2826 | * target-def.h (TARGET_REGISTER_MOVE_COST): New. | |
2827 | (TARGET_INITIALIZER): Use TARGET_REGISTER_MOVE_COST. | |
2828 | * targhooks.c (default_register_move_cost): New function. | |
2829 | * targhooks.h (default_register_move_cost): Declare function. | |
2830 | * defaults.h (REGISTER_MOVE_COST): Delete. | |
2831 | * ira-int.h (ira_register_move_cost): Update comment. | |
2832 | * ira.c: (ira_register_move_cost): Update comment. | |
2833 | * reload.h (register_move_cost): Declare. | |
2834 | * reginfo.c (register_move_cost): New function. | |
2835 | (move_cost): Update comment. | |
2836 | (init_move_cost, memory_move_secondary_cost): Replace | |
2837 | REGISTER_MOVE_COST with register_move_cost. | |
2838 | * postreload.c (reload_cse_simplify_set): (Ditto.). | |
2839 | * reload.c (find_valid_class, find_reloads): (Ditto.). | |
2840 | * reload1.c (choose_reload_regs): (Ditto.). | |
2841 | * doc/tm.texi (TARGET_REGISTER_MOVE_COST): New. | |
2842 | (REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Update documentation. | |
2843 | * doc/md.texi (can_create_pseudo_p): Update documentation. | |
2844 | ||
2845 | * config/i386/i386.h (MEMORY_MOVE_COST): Remove macro. | |
2846 | * config/i386/i386-protos.h (int ix86_memory_move_cost): Remove. | |
2847 | * config/i386/i386.h (ix86_memory_move_cost): Make static. | |
2848 | (TARGET_MEMORY_MOVE_COST): Define. | |
2849 | ||
2850 | * config/ia64/ia64.h (MEMORY_MOVE_COST): Remove macro. | |
2851 | * config/ia64/ia64-protos.h (int ia64_memory_move_cost): Remove. | |
2852 | * config/ia64/ia64.h (ia64_memory_move_cost): Make static. | |
2853 | (TARGET_MEMORY_MOVE_COST): Define. | |
2854 | ||
2253ffca | 2855 | 2010-06-27 Richard Guenther <rguenther@suse.de> |
2856 | ||
2857 | PR tree-optimization/44683 | |
2858 | * tree-ssa-dom.c (record_edge_info): Record equivalences for the | |
2859 | false edge from the inverted condition. | |
2860 | ||
8e7c2b9c | 2861 | 2010-06-27 Richard Guenther <rguenther@suse.de> |
2862 | ||
2863 | PR middle-end/44684 | |
2864 | * tree-ssa-alias.c (refs_may_alias_p_1): Allow SSA name refs. | |
2865 | (stmt_may_clobber_ref_p_1): Do not bother to call the oracle | |
2866 | for register LHS. Or non-store assignments. | |
2867 | ||
df825f8d | 2868 | 2010-06-26 Eric Botcazou <ebotcazou@adacore.com> |
2869 | ||
2870 | * config/sparc/sparc.c (sparc_emit_set_const32): Make static. | |
2871 | (sparc_emit_set_const64): Likewise. Remove disabled code. | |
2872 | * config/sparc/sparc-protos.h (sparc_emit_set_const32): Delete. | |
2873 | (sparc_emit_set_const64): Likewise. | |
2874 | ||
0c24b874 | 2875 | 2010-06-26 Catherine Moore <clm@codesourcery.com> |
2876 | ||
2877 | * config/mips/mips.md (alu_type): New attribute. | |
2878 | (type): Infer type from alu_type. | |
2879 | (*add<mode>3, *add<mode>3_mips16, *addsi3_extended, | |
2880 | *baddu_si_eb, *baddu_si_el, *baddu_di, sub<mode>3, | |
2881 | *subsi3_extended, negsi2, negdi2, *low<mode>, | |
2882 | *low<mode>_mips16, *ior<mode>3, *ior<mode>3_mips16, | |
2883 | xor<mode>3, *nor<mode>3, | |
2884 | *zero_extend<GPR:mode>_trunc<SHORT:mode>, | |
2885 | *zero_extendhi_truncqi): Set alu_type instead of type. | |
2886 | ||
3ef9f29e | 2887 | 2010-06-26 Douglas B Rupp <rupp@gnat.com> |
2888 | ||
2889 | * config/alpha/alpha.c (alpha_need_linkage): Adjust | |
989b5a72 | 2890 | splay_tree_new_ggc call. |
3ef9f29e | 2891 | (alpha_use_linkage): Likewise. |
2892 | ||
eb31cde6 | 2893 | 2010-06-26 Joseph Myers <joseph@codesourcery.com> |
2894 | ||
2895 | * collect2.c (main): Remove SWITCHES_NEED_SPACES conditional. | |
2896 | * doc/tm.texi (SWITCHES_NEED_SPACES): Don't document. | |
2897 | * gcc.c (SWITCHES_NEED_SPACES, switches_need_spaces): Remove. | |
2898 | (static_specs): Remove switches_need_spaces. | |
2899 | (process_command, do_self_spec): Hardcode handling "-o" instead of | |
2900 | checking switches_need_spaces. | |
2901 | * system.h (SWITCHES_NEED_SPACES): Poison. | |
2902 | ||
ff24e1e2 | 2903 | 2010-06-26 Richard Guenther <rguenther@suse.de> |
2904 | ||
2905 | PR tree-optimization/44393 | |
2906 | * tree-loop-distribution.c (generate_loops_for_partition): Fix | |
2907 | stmt removal and VOP renaming. | |
2908 | (generate_memset_zero): Remove redundant stmt updating. | |
2909 | * tree-flow.h (mark_virtual_ops_in_bb): Remove. | |
2910 | * tree-cfg.c (mark_virtual_ops_in_bb): Likewise. | |
2911 | ||
6a69e813 | 2912 | 2010-06-26 Jan Hubicka <jh@suse.cz> |
2913 | ||
2914 | * ipa-split.c (consider_split): PHI in entry block is OK as long as all | |
2915 | edges comming from header are equivalent. | |
2916 | (visit_bb): Handle PHIs correctly. | |
2917 | * tree-inline.c (copy_phis_for_bb): Be able to copy | |
2918 | PHI from entry edge. | |
abf88779 | 2919 | (copy_cfg_body): Produce edge from entry BB before copying PHIs. |
6a69e813 | 2920 | |
c78d5cec | 2921 | 2010-06-26 Richard Guenther <rguenther@suse.de> |
2922 | ||
2923 | PR middle-end/44674 | |
2924 | * tree-ssa-alias.c (refs_may_alias_p_1): Allow all kind of | |
2925 | decls. Handle LABEL_DECLs like FUNCTION_DECLs. | |
2926 | ||
bd338b2c | 2927 | 2010-06-26 Joseph Myers <joseph@codesourcery.com> |
2928 | ||
2929 | * gcc.c (n_switches_alloc, n_infiles_alloc, alloc_infile, | |
2930 | add_infile, alloc_switch): New. | |
2931 | (process_command): Remove variable lang_n_infiles. Process | |
2932 | options in a single pass. Use new functions for allocating | |
2933 | infiles and switches arrays. Properly skip operands of | |
2934 | -Xpreprocessor and -Xassembler. | |
2935 | ||
a93f1c3b | 2936 | 2010-06-26 Jan Hubicka <jh@suse.cz> |
2937 | ||
2938 | PR middle-end/44671 | |
c78d5cec | 2939 | * cgraphunit.c (cgraph_function_versioning): Remove wrong |
2940 | cgraph_make_decl_local call; fix typo copying RTL data. | |
a93f1c3b | 2941 | |
e3d4e41e | 2942 | 2010-06-25 DJ Delorie <dj@redhat.com> |
2943 | ||
2944 | * config/m32c/m32c-protos.h (m32c_note_pragma_address): Declare. | |
2945 | (m32c_output_aligned_common): Likewise. | |
2946 | * config/m32c/m32c.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): New. | |
2947 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New. | |
2948 | * config/m32c/m32c-pragma.c (m32c_pragma_address): New. | |
2949 | (m32c_register_pragmas): Register it. | |
2950 | * config/m32c/m32c.c (m32c_get_pragma_address): New. | |
2951 | (m32c_insert_attributes): Set #pragma address decls volatile. | |
2952 | (pragma_entry_eq): New. | |
2953 | (pragma_entry_hash): New. | |
2954 | (m32c_note_pragma_address): New. | |
2955 | (m32c_get_pragma_address): New. | |
2956 | (m32c_output_aligned_common): New. | |
2957 | * doc/extend.texi: Document the new pragma. | |
2958 | ||
2959 | * config/m32c/m32c.c (m32c_illegal_subreg_p): Reject illegal MEMs | |
2960 | also. | |
2961 | * config/m32c/predicates.md (m32c_any_operand): Check the code | |
2962 | instead of memory_operand so as to allow matching volatile MEMs. | |
2963 | (m32c_nonimmediate_operand): Likewise. | |
2964 | (mra_operand): Allow volatiles. | |
2965 | ||
8e63f6ce | 2966 | 2010-06-25 Alexandre Oliva <aoliva@redhat.com> |
2967 | ||
2968 | PR debug/44610 | |
2969 | * simplify-rtx.c (delegitimize_mem_from_attrs): Don't use a base | |
2970 | address if the offset is unknown. | |
2971 | ||
f2507985 | 2972 | 2010-06-25 Douglas B Rupp <rupp@gnat.com> |
2973 | ||
2974 | * dwarf2out.c (dwarf2out_vms_debug_main_pointer): New function. | |
2975 | * dwarf2out.h (dwarf2out_vms_debug_main_pointer): Declare new function. | |
2976 | * config/ia64/ia64-protos.h (ia64_start_function): Declare. | |
2977 | * config/ia64/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Move contents | |
2978 | to ia64_start_function. Invoke it. | |
2979 | * config/ia64/ia64.c (ia64_start_function): Call new function | |
2980 | dwarf2out_vms_debug_main_pointer. | |
2981 | ||
a560ff2b | 2982 | 2010-06-25 Sebastian Pop <sebastian.pop@amd.com> |
2983 | ||
2984 | * tree-if-conv.c (insert_gimplified_predicates): Do not insert | |
2985 | statements computing the true predicate. | |
2986 | ||
48c9b1fe | 2987 | 2010-06-25 Sebastian Pop <sebastian.pop@amd.com> |
2988 | ||
2989 | * tree-if-conv.c (init_bb_predicate): Initialize the predicate | |
2990 | to boolean_true_node. | |
2991 | (reset_bb_predicate): New. | |
2992 | (predicate_bbs): Call reset_bb_predicate. | |
2993 | ||
b519e9db | 2994 | 2010-06-25 Sebastian Pop <sebastian.pop@amd.com> |
2995 | ||
2996 | * tree-if-conv.c (combine_blocks): Remove FIXME comment. | |
2997 | (tree_if_conversion): Returns true when something has been changed. | |
2998 | (main_tree_if_conversion): Return TODO_cleanup_cfg when if-conversion | |
2999 | changed something. | |
3000 | ||
4bd0f929 | 3001 | 2010-06-25 Sebastian Pop <sebastian.pop@amd.com> |
3002 | ||
3003 | * Makefile.in (tree-if-conv.o): Depends on DBGCNT_H. | |
3004 | * dbgcnt.def (if_conversion_tree): New DEBUG_COUNTER. | |
3005 | * tree-if-conv.c: Include dbgcnt.h. | |
3006 | (tree_if_conversion): Use if_conversion_tree to count the number of | |
3007 | if-convertible loops. | |
3008 | ||
cd459e62 | 3009 | 2010-06-25 Changpeng Fang <changpeng.fang@amd.com> |
3010 | ||
3011 | * common.opt (fprefetch-loop-arrays): Re-define | |
3012 | -fprefetch-loop-arrays as a tri-state option with the initial | |
3013 | value of -1. | |
3014 | * tree-ssa-loop.c (gate_tree_ssa_loop_prefetch): Invoke prefetch | |
3015 | pass only when flag_prefetch_loop_arrays > 0. | |
3016 | * toplev.c (process_options): Note that, with tri-states, | |
3017 | flag_prefetch_loop_arrays>0 means prefetching is enabled. | |
3018 | * config/i386/i386.c (override_options): Enable prefetching at -O3 | |
3019 | for a set of CPUs that sw prefetching is helpful. | |
3020 | (software_prefetching_beneficial_p): New. Return TRUE if software | |
3021 | prefetching is beneficial for the given CPU. | |
3022 | ||
2194737c | 3023 | 2010-06-25 H.J. Lu <hongjiu.lu@intel.com> |
3024 | ||
3025 | PR rtl-optimization/44326 | |
3026 | * implicit-zee.c (find_removable_zero_extends): Replace | |
3027 | INSN_P with NONDEBUG_INSN_P. | |
3028 | ||
8b68ef1b | 3029 | 2010-06-25 Martin Jambor <mjambor@suse.cz> |
3030 | ||
3031 | * ipa-prop.h (struct ipa_param_descriptor): Removed the modified flag. | |
3032 | (struct ipa_node_params): Removed the modification_analysis_done flag. | |
3033 | (ipa_is_param_modified): Removed. | |
3034 | (ipa_analyze_node): Declare. | |
3035 | (ipa_compute_jump_functions): Remove declaration. | |
3036 | (ipa_count_arguments): Likewise. | |
3037 | (ipa_detect_param_modifications): Likewise. | |
3038 | (ipa_analyze_params_uses): Likewise. | |
3039 | * ipa-prop.c (struct param_analysis_info): New type. | |
3040 | (visit_store_addr_for_mod_analysis): Removed. | |
3041 | (visit_load_for_mod_analysis): Renamed to visit_ref_for_mod_analysis, | |
3042 | moved down in the file. | |
3043 | (ipa_detect_param_modifications): Merged into ipa_analyze_params_uses. | |
3044 | (ipa_count_arguments): Made static. | |
3045 | (mark_modified): New function. | |
3046 | (is_parm_modified_before_call): New function. | |
3047 | (compute_pass_through_member_ptrs): New parameter parms_info, call | |
3048 | is_parm_modified_before_call instead of ipa_is_param_modified. | |
3049 | (ipa_compute_jump_functions_for_edge): New parameter parms_info, pass | |
3050 | it to compute_pass_through_member_ptrs. | |
3051 | (ipa_compute_jump_functions): New parameter parms_info, pass it to | |
3052 | ipa_compute_jump_functions_for_edge. Call ipa_initialize_node_params | |
3053 | on the callee if it is analyzed. Made static. | |
3054 | (ipa_analyze_indirect_call_uses): New parameter parms_info, call | |
3055 | is_parm_modified_before_call instead of ipa_is_param_modified. | |
3056 | (ipa_analyze_call_uses): New parameter parms_info, pass it to | |
3057 | ipa_analyze_indirect_call_uses. | |
3058 | (ipa_analyze_stmt_uses): New parameter parms_info, pass it to | |
3059 | ipa_analyze_call_uses. | |
3060 | (ipa_analyze_params_uses): New parameter parms_info, pass it to | |
3061 | ipa_analyze_stmt_uses. Also perform the used analysis. Made static. | |
3062 | (ipa_analyze_node): New function. | |
3063 | (ipa_print_node_params): Do not dump the modified flag. | |
3064 | (ipa_write_node_info): Assert uses_analysis_done rather than streaming | |
3065 | it. Do not stream the modified parameter flag. | |
3066 | (ipa_read_node_info): Set uses_analysis_done to 1 instead of streaming | |
3067 | it. Do not stream the modified parameter flag. | |
3068 | * ipa-cp.c (ipcp_analyze_node): Removed. | |
3069 | (ipcp_init_stage): Iterate only once over the nodes, analyze each one | |
3070 | with only a call to ipa_analyze_node. | |
3071 | * ipa-inline.c (inline_indirect_intraprocedural_analysis): Analyze the | |
3072 | node with only a call to ipa_analyze_node. | |
4bd0f929 | 3073 | |
59dcda93 | 3074 | 2010-06-25 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3075 | ||
3076 | * doc/invoke.texi (-Wsuggest-attribute): Add item for noreturn. | |
4bd0f929 | 3077 | |
2862cf88 | 3078 | 2010-06-25 Jan Hubicka <jh@suse.cz> |
3079 | ||
3080 | * tree-pass.h (pass_split_functions): Declare. | |
3081 | * opts.c (decode_options): Enable function splitting at -O2 | |
3082 | * timevar.def (TV_IPA_FNSPLIT): New macro. | |
3083 | * ipa-split.c: New file. | |
3084 | * common.opt (-fpartial-inlining): New flag. | |
3085 | * Makefile.in (ipa-split.o): New object file. | |
3086 | * passes.c (init_optimization_passes): Add ipa-split. | |
3087 | * params.def (partial-inlining-entry-probability): New parameters. | |
3088 | * doc/invoke.texi (-fpartial-inlining): New. | |
3089 | ||
81943faa | 3090 | 2010-06-25 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3091 | ||
3092 | PR 44665 | |
3093 | * tree-inline.c (gimple_expand_calls_inline): Fix typo in comment. | |
3094 | * gimplify.c (is_gimple_reg_rhs_or_call): Likewise. | |
3095 | (gimplify_expr): Likewise. | |
4bd0f929 | 3096 | |
af3e7bf6 | 3097 | 2010-06-25 Martin Jambor <mjambor@suse.cz> |
3098 | ||
3099 | * ipa-prop.c (determine_cst_member_ptr): Ignore non-clobbering | |
3100 | statements instead of bailing out on them. | |
3101 | (ipa_analyze_indirect_call_uses): Do not require that loads from the | |
3102 | parameter are in the same BB as the condition. Update comments. | |
3103 | ||
fdde3d6c | 3104 | 2010-06-25 Jakub Jelinek <jakub@redhat.com> |
3105 | ||
293bf172 | 3106 | PR middle-end/43866 |
3107 | * tree-ssa-loop-unswitch.c (tree_may_unswitch_on): If stmt is always | |
3108 | true or always false, return NULL_TREE. | |
3109 | (tree_unswitch_single_loop): Optimize conditions even when reaching | |
3110 | max-unswitch-level parameter. If num > 0, optimize first all conditions | |
3111 | using entry checks, then do still reachable block discovery and consider | |
3112 | only conditions in still reachable basic blocks in the loop. | |
3113 | ||
fdde3d6c | 3114 | PR tree-optimization/44539 |
3115 | * tree-cfgcleanup.c (fixup_noreturn_call): Call update_stmt even when | |
3116 | the call doesn't have LHS, but has VDEF. | |
3117 | ||
cd0cf787 | 3118 | 2010-06-25 Joseph Myers <joseph@codesourcery.com> |
3119 | ||
3120 | * config/pa/pa.h (MODIFY_TARGET_NAME): Remove. | |
3121 | * doc/tm.texi (MODIFY_TARGET_NAME): Don't document. | |
abf88779 | 3122 | * gcc.c (enum add_del, struct modify_target, modify_target): Remove. |
cd0cf787 | 3123 | (process_command): Remove code conditional on MODIFY_TARGET_NAME. |
3124 | * system.h (MODIFY_TARGET_NAME): Poison. | |
3125 | ||
26efdbcb | 3126 | 2010-06-25 Alan Modra <amodra@gmail.com> |
3127 | ||
3128 | * doc/invoke.texi: Delete mcmodel=medium from powerpc options. | |
3129 | * config/rs6000/rs6000.h (enum rs6000_cmodel): Delete CMODEL_MEDIUM. | |
3130 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set | |
3131 | CMODEL_LARGE as default. | |
3132 | * config/rs6000/rs6000.c (rs6000_handle_option): Remove mcmodel=medium. | |
3133 | (offsettable_ok_by_alignment): Delete. | |
3134 | (rs6000_emit_move): Remove mcmodel=medium optimization. | |
3135 | ||
00f4f705 | 3136 | 2010-06-25 Bernd Schmidt <bernds@codesourcery.com> |
3137 | ||
3138 | With large parts from Jim Wilson: | |
3139 | PR target/43902 | |
3140 | * tree-pretty-print.c (dump_generic_node, op_code_prio): Add | |
3141 | WIDEN_MULT_PLUS_EXPR and WIDEN_MULT_MINUS_EXPR. | |
3142 | * optabs.c (optab_for_tree_code): Likewise. | |
3143 | (expand_widen_pattern_expr): Likewise. | |
3144 | * tree-ssa-math-opts.c (convert_mult_to_widen): New function, broken | |
3145 | out of execute_optimize_widening_mul. | |
3146 | (convert_plusminus_to_widen): New function. | |
3147 | (execute_optimize_widening_mul): Use the two new functions. | |
3148 | * expr.c (expand_expr_real_2): Add support for GIMPLE_TERNARY_RHS. | |
3149 | Remove code to generate widening multiply-accumulate. Add support | |
3150 | for WIDEN_MULT_PLUS_EXPR and WIDEN_MULT_MINUS_EXPR. | |
3151 | * gimple-pretty-print.c (dump_ternary_rhs): New function. | |
3152 | (dump_gimple_assign): Call it when appropriate. | |
3153 | * tree.def (WIDEN_MULT_PLUS_EXPR, WIDEN_MULT_MINUS_EXPR): New codes. | |
3154 | * cfgexpand.c (gimple_assign_rhs_to_tree): Likewise. | |
3155 | (expand_gimple_stmt_1): Likewise. | |
3156 | (expand_debug_expr): Support WIDEN_MULT_PLUS_EXPR and | |
3157 | WIDEN_MULT_MINUS_EXPR. | |
3158 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
3159 | * tree-inline.c (estimate_operator_cost): Likewise. | |
3160 | * gimple.c (extract_ops_from_tree_1): Renamed from | |
3161 | extract_ops_from_tree. Add new arg for a third operand; fill it. | |
3162 | (gimple_build_assign_stat): Support operations with three operands. | |
3163 | (gimple_build_assign_with_ops_stat): Likewise. | |
3164 | (gimple_assign_set_rhs_from_tree): Likewise. | |
3165 | (gimple_assign_set_rhs_with_ops_1): Renamed from | |
3166 | gimple_assign_set_rhs_with_ops. Add new arg for a third operand. | |
3167 | (get_gimple_rhs_num_ops): Support GIMPLE_TERNARY_RHS. | |
3168 | (get_gimple_rhs_num_ops): Handle WIDEN_MULT_PLUS_EXPR and | |
3169 | WIDEN_MULT_MINUS_EXPR. | |
3170 | * gimple.h (enum gimple_rhs_class): Add GIMPLE_TERNARY_RHS. | |
3171 | (extract_ops_from_tree_1): Adjust declaration. | |
3172 | (gimple_assign_set_rhs_with_ops_1): Likewise. | |
3173 | (gimple_build_assign_with_ops): Pass NULL for last operand. | |
3174 | (gimple_build_assign_with_ops3): New macro. | |
3175 | (gimple_assign_rhs3, gimple_assign_rhs3_ptr, gimple_assign_set_rhs3, | |
3176 | gimple_assign_set_rhs_with_ops, extract_ops_from_tree): New inline | |
3177 | functions. | |
3178 | * tree-cfg.c (verify_gimple_assign_ternary): New static function. | |
3179 | (verify_gimple_assign): Call it. | |
3180 | * doc/gimple.texi (Manipulating operands): Document GIMPLE_TERNARY_RHS. | |
3181 | (Tuple specific accessors, subsection GIMPLE_ASSIGN): Document new | |
3182 | functions for dealing with three-operand statements. | |
3183 | * tree.c (commutative_ternary_tree_code): New function. | |
3184 | * tree.h (commutative_ternary_tree_code): Declare it. | |
b4b21cd0 | 3185 | * tree-vrp.c (gimple_assign_nonnegative_warnv_p): Return false for |
3186 | ternary statements. | |
00f4f705 | 3187 | (gimple_assign_nonzero_warnv_p): Likewise. |
3188 | * tree-ssa-sccvn.c (stmt_has_constants): Handle GIMPLE_TERNARY_RHS. | |
3189 | * tree-ssa-ccp.c (get_rhs_assign_op_for_ccp): New static function. | |
3190 | (ccp_fold): Use it. Handle GIMPLE_TERNARY_RHS. | |
3191 | * tree-ssa-dom.c (enum expr_kind): Add EXPR_TERNARY. | |
3192 | (struct hashtable_expr): New member ternary in the union. | |
3193 | (initialize_hash_element): Handle GIMPLE_TERNARY_RHS. | |
3194 | (hashable_expr_equal_p): Fix indentation. Handle EXPR_TERNARY. | |
3195 | (iterative_hash_hashable_expr): Likewise. | |
3196 | (print_expr_hash_elt): Handle EXPR_TERNARY. | |
3197 | * gimple-fold.c (fold_gimple_assign): Handle GIMPLE_TERNARY_RHS. | |
3198 | * tree-ssa-threadedge.c (fold_assignment_stmt): Remove useless break | |
3199 | statements. Handle GIMPLE_TERNARY_RHS. | |
3200 | ||
44fcaf3f | 3201 | 2010-06-25 Jan Hubicka <jh@suse.cz> |
3202 | ||
3203 | * doc/invoke.texi (-Wsuggest-attribute): Add noreturn. | |
3204 | ||
0e28b26d | 3205 | 2010-06-25 Shujing Zhao <pearly.zhao@oracle.com> |
3206 | ||
3207 | PR c/44517 | |
3208 | * c-parser.c (c_parser_parms_list_declarator): Return NULL if one of | |
3209 | parameters are not good. | |
3210 | (c_parser_parameter_declaration): Error unknown type name if the type | |
3211 | name can't start declaration specifiers. | |
3212 | ||
63ca08cf | 3213 | 2010-06-25 Joseph Myers <joseph@codesourcery.com> |
3214 | ||
3215 | * gcc.c (translate_options): Don't mention +e in comment. | |
3216 | (process_command): Don't handle +e specially. | |
3217 | ||
7545a055 | 3218 | 2010-06-25 Bernd Schmidt <bernds@codesourcery.com> |
3219 | ||
3220 | * ira.c (allocno_pool, copy_pool, allocno_live_range_pool): Delete. | |
3221 | ||
b4f5e198 | 3222 | * ira-build.c (merge_hard_reg_conflicts): New function. |
3223 | (create_cap_allocno, copy_info_to_removed_store_destinations, | |
3224 | propagate_some_info_from_allocno, propagate_allocno_info): Use it. | |
3225 | (move_allocno_live_ranges, copy_allocno_live_ranges): New functions. | |
3226 | (remove_unnecessary_allocnos, remove_low_level_allocnos) | |
3227 | copy_nifo_to_removed_store_destination): Use them. | |
3228 | * ira-lives.c (make_hard_regno_born): New function, split out of | |
3229 | make_regno_born. | |
3230 | (make_allocno_born): Likewise. | |
3231 | (make_hard_regno_dead): New function, split out of make_regno_dead. | |
3232 | (make_allocno_dead): Likewise. | |
3233 | (inc_register_pressure): New function, split out of set_allocno_live. | |
3234 | (dec_register_pressure): New function, split out of clear_allocno_live. | |
3235 | (mark_pseudo_regno_live): New function, split out of mark_reg_live. | |
3236 | (mark_hard_reg_live): Likewise. Use inc_register_pressure. | |
3237 | (mark_pseudo_regno_dead): New function, split out of mark_reg_dead. | |
3238 | (mark_hard_reg_dead): Likewise. Use dec_register_pressure. | |
3239 | (make_pseudo_conflict): Use mark_pseudo_regno_dead and | |
3240 | mark_pseudo_regno_live. | |
3241 | (process_bb_node_lives): Use mark_pseudo_regno_live, | |
3242 | make_hard_regno_born and make_allocno_dead. | |
3243 | (make_regno_born, make_regno_dead, mark_reg_live, mark_reg_dead, | |
3244 | set_allocno_live, clear_allocno_live): Delete functions. | |
3245 | ||
c58db480 | 3246 | * ira-int.h (ira_parent_allocno, ira_parent_or_cap_allocno): Declare. |
3247 | * ira-build.c (ira_parent_allocno, ira_parent_or_cap_allocno): New | |
3248 | functions. | |
3249 | (ira_flattening): Use ira_parent_allocno. | |
3250 | * ira-conflicts.c (process_regs_for_copy, propagate_copies) | |
3251 | build_allocno_conflicts): Use ira_parent_or_cap_allocno. | |
3252 | ||
15b60a96 | 3253 | * ira-color.c (assign_hard_reg): Improve formatting of multi-line for |
3254 | statement. | |
3255 | ||
01eb3997 | 3256 | * ira-int.h (SET_MINMAX_SET_BIT, CLEAR_MINMAX_SET_BIT, |
3257 | TEST_MINMAX_SET_BIT, minmax_set_iterator, minmax_set_iter_init, | |
3258 | minmax_set_iter_cond, minmax_set_iter_next, | |
3259 | FOR_EACH_BIT_IN_MINMAX_SET): Renamed from SET_ALLOCNO_SET_BIT, | |
3260 | CLEAR_ALLOCNO_SET_BIT, TEST_ALLOCNO_SET_BIT, ira_allocno_set_iterator, | |
3261 | ira_allocno_set_iter_init, ira_allocno_set_iter_cond, | |
3262 | ira_allocno_set_iter_Next and FOR_EACH_ALLOCNO_IN_ALLOCNO_SET. All | |
3263 | uses changed. | |
3264 | ||
fbff82f4 | 3265 | * ira-int.h (struct live_range, live_range_t): Renamed from struct |
3266 | ira_allocno_live_range and allocno_live_range_t; all uses changed. | |
3267 | * ira-build.c (live_range_pool): Renamed from allocno_live_range_pool. | |
3268 | All uses changed. | |
3269 | ||
11228301 | 3270 | 2010-06-24 Richard Earnshaw <rearnsha@arm.com> |
3271 | ||
3272 | * thumb2.md (thumb2_tlobits_cbranch): Delete. | |
3273 | (peephole2 to convert zero_extract/compare of single bit to | |
3274 | lshift/compare): New. | |
3275 | ||
d6973489 | 3276 | 2010-06-24 Anatoly Sokolov <aesok@post.ru> |
3277 | ||
3278 | * fold-const.c (const_binop): Remove 'notrunc' argement. Adjust | |
3279 | recursive call and call to 'int_const_binop'. | |
3280 | (build_range_check, fold_cond_expr_with_comparison, unextend, | |
3281 | fold_truthop, extract_muldiv_1, fold_comparison, fold_binary_loc, | |
3282 | multiple_of_p): Adjust call to const_binop. | |
3283 | ||
55dff8c5 | 3284 | 2010-06-24 Uros Bizjak <ubizjak@gmail.com> |
3285 | ||
3286 | * config/i386/i386.md (XFmode push splitter): Use GET_MODE_SIZE to | |
3287 | determine size of XFmode operand. | |
3288 | (XFmode extended DFmode push splitter): Ditto. | |
3289 | (XFmode extended SFmode push splitter): Ditto. | |
3290 | ||
652a05a2 | 3291 | 2010-06-24 H.J. Lu <hongjiu.lu@intel.com> |
3292 | ||
3293 | PR target/44588 | |
3294 | * config/i386/i386.md (extract_code): New. | |
3295 | (<u>divmodqi4): Likewise. | |
3296 | (divmodhiqi3): Likewise. | |
3297 | (udivmodhiqi3): Likewise. | |
3298 | (<u>divqi3): Remvoved. | |
3299 | ||
4a45595d | 3300 | 2010-06-24 Jakub Jelinek <jakub@redhat.com> |
3301 | ||
3302 | PR middle-end/44492 | |
3303 | * recog.h (struct recog_data): Add is_asm field. | |
3304 | * recog.c (asm_operand_ok, constrain_operands): If neither < nor > is | |
3305 | present in constraints of inline-asm operand and memory operand | |
3306 | contains {PRE,POST}_{INC,DEC,MODIFY}, return 0. | |
3307 | (extract_insn): Initialize recog_data.is_asm. | |
3308 | * doc/md.texi (Constraints): Document operand side-effect rules. | |
3309 | ||
b9bdfa0b | 3310 | 2010-06-24 Andi Kleen <ak@linux.intel.com> |
3311 | ||
55dff8c5 | 3312 | * c-parser.c (c_parser_conditional_expression): Call |
3313 | warn_for_omitted_condop. | |
3314 | * doc/invoke.texi: Document omitted condop warning. | |
b9bdfa0b | 3315 | |
d76b3d0f | 3316 | 2010-06-24 Nick Clifton<nickc@redhat.com> |
3317 | ||
3318 | * loop-unswitch.c (compare_and_jump_seq): Assert that the last | |
3319 | insn in the sequence is a jump insn before setting its label. | |
3320 | ||
f0bf77c8 | 3321 | 2010-06-24 Alan Modra <amodra@gmail.com> |
3322 | ||
3323 | * collect2.c (main): Match exactly --version and --help. | |
3324 | ||
bde0211e | 3325 | 2010-06-24 DJ Delorie <dj@redhat.com> |
3326 | ||
3327 | * config/m32c/m32c-pragma.c: Don't include rtl.h. | |
3328 | ||
e9cfab34 | 3329 | 2010-06-23 Uros Bizjak <ubizjak@gmail.com> |
3330 | ||
55dff8c5 | 3331 | * config/i386/i386.md (mov<mode>): Macroize expander from mov{sf,df,xf} |
e9cfab34 | 3332 | using X87MODEF mode iterator. |
3333 | (pushsf splitter): Macroize splitter using P mode iterator. | |
3334 | (*swap<mode>): Macroize insn from *swap{sf,df} using MODEF | |
3335 | mode iterator. | |
3336 | ||
3337 | (*movxf_internal): Rename from *movxf_integer. | |
3338 | (*movxf_internal_nointeger): Rename from *movxf_nointeger. | |
3339 | (*movdf_internal_rex64): Rename from *movdf_integer_rex64. | |
3340 | (*movdf_internal): Rename from *movdf_integer. | |
3341 | (*movdf_internal_nointeger): Rename from *movdf_nointeger. | |
3342 | (*movsf_internal): Rename from *movdf_1. | |
3343 | ||
bdba2bf3 | 3344 | 2010-06-23 Basile Starynkevitch <basile@starynkevitch.net> |
3345 | ||
3346 | * coretypes.h: (gimple_seq_node_d, gimple_seq_node) | |
3347 | (const_gimple_seq_node): Removed typedefs. | |
3348 | ||
3349 | * gimple.h: (gimple_seq_node_d, gimple_seq_node) | |
3350 | (const_gimple_seq_node): Added typedefs moved from coretypes.h. | |
3351 | ||
3d1a0207 | 3352 | 2010-06-23 H.J. Lu <hongjiu.lu@intel.com> |
3353 | ||
3354 | * config/i386/i386.c (bdesc_args): Replace CODE_FOR_avx_si_si256, | |
3355 | CODE_FOR_avx_ps_ps256 and CODE_FOR_avx_pd_pd256 with | |
3356 | CODE_FOR_vec_extract_lo_v8si, CODE_FOR_vec_extract_lo_v8sf | |
3357 | and CODE_FOR_vec_extract_lo_v4df. | |
3358 | ||
3359 | * config/i386/sse.md (vec_extract_lo_<AVX256MODE4P:mode>): | |
3360 | Changed to define_insn_and_split. | |
3361 | (vec_extract_lo_<AVX256MODE8P:mode>): Likewise. | |
3362 | (vec_extract_lo_v16hi): Likewise. | |
3363 | (vec_extract_lo_v32qi): Likewise. | |
3364 | (avx_<avxmodesuffixp><avxmodesuffix>_<avxmodesuffixp>): Likewise. | |
3365 | (avx_<avxmodesuffixp>_<avxmodesuffixp><avxmodesuffix>): Removed. | |
3366 | ||
b62e30b8 | 3367 | 2010-06-23 Joern Rennecke <joern.rennecke@embecosm.com> |
3368 | ||
090ce0bc | 3369 | PR target/44640 |
b62e30b8 | 3370 | * config/spu/spu-protos.h (spu_expand_epilogue) Use bool. |
3371 | * config/spu/spu.c (spu_scalar_mode_supported_p): Declare with bool. | |
3372 | (spu_vector_mode_supported_p, spu_handle_fndecl_attribute): Likewise. | |
3373 | (spu_handle_vector_attribute, spu_pass_by_reference): Likewise. | |
3374 | (spu_rtx_costs, spu_function_ok_for_sibcall): Likewise. | |
3375 | ||
090ce0bc | 3376 | PR target/44640 |
02501f7f | 3377 | * config/spu/spu.c (ea_load_store_inline): Use add_reg_note. |
3378 | ||
f2956fc5 | 3379 | PR other/44644 |
3380 | * df-core.c (struct df): Rename to df_d. | |
3381 | * df.h (struct df): Likewise. | |
3382 | * dse.h (struct df): Remove forward declaration. | |
3383 | * recog.h (struct insn_data): Rename to: | |
3384 | (struct_insn_data_d). Adjusted all users. | |
3385 | ||
e23691f3 | 3386 | 2010-06-23 Arnaud Charlet <charlet@adacore.com |
3387 | ||
ab109daa | 3388 | PR ada/22220 |
e23691f3 | 3389 | * doc/install.texi: Update requirements to build GNAT. |
3390 | ||
2a9840b1 | 3391 | 2010-06-22 Andreas Schwab <schwab@linux-m68k.org> |
3392 | ||
3393 | * config/m68k/m68k.c (m68k_output_addr_const_extra): Add cast to | |
3394 | enum type. | |
3395 | (m68k_sched_attr_opx_type): Remove unreachable return. | |
3396 | (m68k_sched_attr_opy_type): Likewise. | |
3397 | (m68k_sched_attr_size): Likewise. | |
3398 | (sched_get_opxy_mem_type): Likewise. | |
3399 | (m68k_sched_attr_op_mem): Likewise. | |
3400 | ||
91aba934 | 3401 | 2010-06-22 Eric Botcazou <ebotcazou@adacore.com> |
3402 | ||
3403 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Chain the | |
3404 | new statement and adjust VDEF only if necessary. Remove superfluous | |
3405 | call to maybe_clean_or_replace_eh_stmt. | |
3406 | * gimple.c (gimple_call_copy_skip_args): Use gimple_call_copy_flags to | |
3407 | copy the flags. | |
3408 | * gimple-iterator.c (gsi_replace): Clear BB of old statement here... | |
3409 | * tree-inline.c (copy_bb): ...and not there. | |
3410 | ||
c92ccad9 | 3411 | 2010-06-22 Cary Coutant <ccoutant@google.com> |
3412 | ||
3413 | * dwarf2out.c (is_nested_in_subprogram): New function. | |
3414 | (should_move_die_to_comdat): Use it. | |
3415 | (copy_ancestor_tree): Don't mark DIEs here. | |
3416 | (copy_decls_walk): Start walk from root of newly-added tree; | |
3417 | mark DIEs here instead. | |
3418 | ||
b679825e | 3419 | 2010-06-22 H.J. Lu <hongjiu.lu@intel.com> |
3420 | ||
3421 | * config/i386/i386.md (unit): Also check sseishft1. | |
3422 | ||
ae0e70e9 | 3423 | 2010-06-22 Jan Hubicka <jh@suse.cz> |
3424 | ||
91aba934 | 3425 | * gimple.h (gimple_expr_code): Do checking on when gimple checking is |
3426 | enabled. | |
ae0e70e9 | 3427 | |
a703ca31 | 3428 | 2010-06-22 Jan Hubicka <jh@suse.cz> |
3429 | ||
91aba934 | 3430 | * df-problems.c (df_rd_confluence_n, df_lr_confluence_n, |
3431 | df_live_confluence_n, df_byte_lr_confluence_n, df_md_confluence_n): | |
3432 | Return true if something changed. | |
a703ca31 | 3433 | * df.h (df_confluence_function_n): Return bool. |
91aba934 | 3434 | * df-core.c (df_worklist_propagate_forward, |
3435 | df_worklist_propagate_backward): Track changes and ages. | |
a703ca31 | 3436 | (df_worklist_dataflow_doublequeue): Use bitmap iterator for main walk; |
3437 | track ages. | |
3438 | * dse.c (dse_confluence_n): Return always true. | |
3439 | ||
3440 | 2010-06-22 Jan Hubicka <jh@suse.cz> | |
a98d46f2 | 3441 | |
3442 | * bitmap.c (bitmap_clear_bit): Micro optimize. | |
3443 | ||
e50391c0 | 3444 | 2010-06-22 Uros Bizjak <ubizjak@gmail.com> |
3445 | ||
3446 | * config/i386/i386.md (SWI1248x): New mode iterator. | |
3447 | (SWI48x): Ditto. | |
3448 | (SWI12): Ditto. | |
3449 | (SWI24): Ditto. | |
e9cfab34 | 3450 | |
e50391c0 | 3451 | (mov<mode>): Macroize expander from mov{qi,hi,si,di} using |
3452 | SWI1248x mode iterator. | |
3453 | (*push<mode>2_rex64): Macroize insn from *push{qi,hi,si}_rex64 | |
3454 | using SWI124 mode iterator. | |
3455 | (*push<mode>2): Macroize insn from *push{qi,hi} using SWI12 | |
3456 | mode iterator. | |
3457 | (*push<mode>2_prologue): Macroize insn from *pushsi2_prologue and | |
3458 | *pushdi2_prologue_rex64 using P mode iterator. | |
3459 | (*mov<mode>_xor): Macroize insn from *movsi_xor and *movdi_xor_rex64 | |
3460 | using SWI48 mode iterator. | |
3461 | (*mov<mode>_or): Ditto from *movsi_or and *movdi_or_rex64. | |
3462 | (*movabs<mode>_1): Macroize insn from *movabs{qi,hi,si,di}_1_rex64 | |
3463 | using SWI1248x mode iterator. | |
3464 | (*movabs<mode>_2): Ditto from *movabs{qi,hi,si,di}_1_rex64. | |
3465 | (*swap<mode>): Macroize insn from *swapsi and *swapdi_rex64 using | |
3466 | SWI48 mode iterator. | |
3467 | (*swap<mode>_1): Macroize insn from *swap{qi,hi}_1 using SWI12 mode | |
3468 | iterator. | |
3469 | (*swap<mode>_2): Ditto from *swap{qi,hi}_2. | |
3470 | (movstrict<mode>): Macroize expander from movstrict{qi,hi} using | |
3471 | SWI12 mode iterator. | |
3472 | (*movstrict<mode>_1): Macroize insn from *movstrict{qi,hi}_1 using | |
3473 | SWI12 mode iterator. | |
3474 | (*movstrict<mode>_xor): Ditto from *movstrict{qi,hi}_xor. | |
3475 | (*mov<mode>_extv_1): Macroize insn from *mov{hi,si}_extv_1 using | |
3476 | SWI24 mode iterator. | |
3477 | (*mov<mode>_extzv_1): Macroize insn from *mov{si,di}_extzv_1 using | |
3478 | SWI48 mode iterator. | |
3479 | (mov<mode>_insn_1): New expander. | |
3480 | (*mov<mode>_insv_1_rex64): Macroize insn from *mov{si,di}_insv_1_rex64 | |
3481 | using SWI48x mode iterator. | |
3482 | ||
3483 | (*movoi_internal_avx): Rename from *movoi_internal. | |
3484 | (*movti_internal_rex64): Rename from *movti_rex64. | |
3485 | (*movti_internal_sse): Rename from *movti_sse. | |
3486 | (*movdi_internal_rex64): Rename from *movdi_1_rex64. | |
3487 | (*movdi_internal): Rename from *movdi_2. | |
3488 | (*movsi_internal): Rename from *movsi_1. | |
3489 | (*movhi_internal): Rename from *movhi_1. | |
3490 | (*movqi_internal): Rename from *movqi_1. | |
3491 | ||
3492 | (insv): Update the call to gen_movsi_insv_1 for rename. | |
3493 | * config/i386/i386.c (promote_duplicated_reg): Ditto. | |
3494 | ||
8e50b5dd | 3495 | 2010-06-22 Jan Hubicka <jh@suse.cz> |
3496 | ||
3497 | * passes.c (execute_function_todo): Move call of statistics_fini_pass | |
3498 | to ... | |
3499 | (execute_todo) ... this one. | |
3500 | ||
1fa19877 | 3501 | 2010-06-22 Alan Modra <amodra@gmail.com> |
3502 | ||
3503 | PR target/44364 | |
3504 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
3505 | * caller-save.c (insert_restore, insert_save): Use non-validate | |
3506 | form of adjust_address. | |
3507 | ||
1724df0b | 3508 | 2010-06-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3509 | ||
3510 | PR target/39690 | |
1cd02ab1 | 3511 | * config/pa/pa.c (override_options): Disable |
1724df0b | 3512 | -freorder-blocks-and-partition. |
3513 | ||
0408fd5b | 3514 | 2010-06-21 H.J. Lu <hongjiu.lu@intel.com> |
3515 | ||
3516 | PR target/44615 | |
3517 | * config/i386/atom.md (atom_sseishft_2): Also check sseishft1. | |
3518 | ||
3519 | * config/i386/i386.md (type): Add sseishft1 | |
3520 | ||
3521 | * config/i386/ppro_insn (ppro_insn): Also check sseishft1. | |
3522 | (ppro_insn_load): Likewise. | |
3523 | (ppro_insn_store): Likewise. | |
3524 | (ppro_insn_both): Likewise. | |
3525 | ||
3526 | * config/i386/sse.md (sse2_lshrv1ti3): Add atom_unit. | |
3527 | (*vec_extractv2di_1_rex64_avx): Replace sseishft with sseishft1 | |
3528 | for type. | |
3529 | (*vec_extractv2di_1_avx): Likewise. | |
3530 | (*vec_extractv2di_1_rex64): Replace sseishft with sseishft1 for | |
3531 | type. Remove atom_unit. | |
3532 | (*vec_extractv2di_1_sse2): Likewise. | |
3533 | ||
0955be65 | 3534 | 2010-06-21 DJ Delorie <dj@redhat.com> |
3535 | ||
3536 | * diagnostic.h (diagnostic_classification_change_t): New. | |
3537 | (diagnostic_context): Add history and push/pop list. | |
3538 | (diagnostic_push_diagnostics): Declare. | |
3539 | (diagnostic_pop_diagnostics): Declare. | |
3540 | * diagnostic.c (diagnostic_classify_diagnostic): Store changes | |
3541 | from pragmas in a history chain instead of the global table. | |
3542 | (diagnostic_push_diagnostics): New. | |
3543 | (diagnostic_pop_diagnostics): New. | |
3544 | (diagnostic_report_diagnostic): Scan history chain to find state | |
3545 | of diagnostics as of the diagnostic location. | |
3546 | * opts.c (set_option): Pass UNKNOWN_LOCATION to | |
3547 | diagnostic_classify_diagnostic. | |
3548 | (enable_warning_as_error): Likewise. | |
3549 | * diagnostic-core.h (DK_POP): Add after "real" diagnostics, for | |
3550 | use in the history chain. | |
0955be65 | 3551 | * doc/extend.texi: Document pragma GCC diagnostic changes. |
3552 | ||
ef1c7233 | 3553 | 2010-06-21 Jakub Jelinek <jakub@redhat.com> |
3554 | ||
38c3bb40 | 3555 | * dwarf2out.c (add_linkage_name): New function. Don't add |
3556 | anything to DW_TAG_member DIEs. | |
3557 | (add_name_and_src_coords_attributes): Use it. | |
3558 | (gen_variable_die): Call it for C++ static data members if | |
3559 | specification is DW_TAG_member. | |
3560 | ||
952114f8 | 3561 | * dwarf2out.c (base_type_die): Use DW_ATE_UTF for |
3562 | C++ char16_t and char32_t. | |
3563 | ||
a7534a68 | 3564 | * Makefile.in (build/genattrtab.o): Depend on vecprim.h. |
3565 | * genattrtab.c: Include vecprim.h. | |
3566 | (cached_attrs, cached_attr_count, attrs_seen_once, | |
3567 | attrs_seen_more_than_once, attrs_to_cache, attrs_cached_inside, | |
3568 | attrs_cached_after): New variables. | |
3569 | (find_attrs_to_cache): New function. | |
3570 | (FLG_BITWISE, FLG_AFTER, FLG_INSIDE, FLG_OUTSIDE_AND): Define. | |
3571 | (write_test_expr): Add attrs_cached argument, return it too, | |
3572 | attempt to cache non-const attributes used more than once in | |
3573 | a single case handling. | |
3574 | (write_attr_get): Use find_attrs_to_cache, for caching candidates | |
3575 | emit cached_* variables. Adjust write_attr_set callers. | |
3576 | (write_attr_set): Add attrs_cached attribute, use find_attrs_to_cache | |
3577 | to find attributes that should be cached in this block. Adjust | |
3578 | write_test_expr callers. | |
3579 | (write_attr_case): Clear attrs_to_cache. Adjust write_attr_set | |
3580 | callers. | |
3581 | (make_automaton_attrs): Adjust write_test_expr caller. | |
3582 | ||
fdc86f97 | 3583 | * Makefile.in (cfgexpand.o): Depend on $(INSN_ATTR_H). |
3584 | * genattrtab.c (check_tune_attr, find_tune_attr): New functions. | |
3585 | (make_automaton_attrs): If find_tune_attr returns non-NULL, | |
3586 | write separate internal_dfa_insn_code_* and insn_default_latency_* | |
3587 | functions for each attribute's value and emit init_sched_attrs | |
3588 | function and function pointers. | |
3589 | * genattr.c (const_attrs, reservations): New variables. | |
3590 | (gen_attr): Add const attributes to const_attrs vector. | |
3591 | (check_tune_attr, find_tune_attr): New functions. | |
3592 | (main): Add reservations to reservations vector. If find_tune_attr | |
3593 | returns true, add prototype for init_sched_attrs and make | |
3594 | internal_dfa_insn_code and insn_default_latency function pointers, | |
3595 | otherwise define init_sched_attrs as dummy macro. | |
3596 | * cfgexpand.c: Include insn-attr.h. | |
3597 | (gimple_expand_cfg): Call init_sched_attrs. | |
3598 | ||
c101b4d2 | 3599 | * stmt.c (resolve_asm_operand_names): Fix handling of %%. |
ef1c7233 | 3600 | |
91dbed89 | 3601 | PR target/44575 |
3602 | * config/i386/i386.c (ix86_gimplify_va_arg): When copying | |
3603 | va_arg from a set of register save slots into a temporary, | |
3604 | if the container is bigger than type size, do the copying | |
3605 | using smaller mode or using memcpy. | |
3606 | ||
840f9903 | 3607 | PR bootstrap/44426 |
3608 | * sel-sched-dump.h (sel_prepare_string_for_dot_label): Remove | |
3609 | prototype. | |
3610 | (sel_print_to_dot): Remove macro. | |
3611 | (sel_print): Likewise. New prototype. | |
3612 | * sel-sched-dump.c (sel_prepare_string_for_dot_label): Make static. | |
3613 | (sel_print): New function. | |
3614 | ||
a6905708 | 3615 | 2010-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3616 | ||
3617 | * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define | |
3618 | __STDC_VERSION__=199901L, _XOPEN_SOURCE=600 for C++. | |
3619 | ||
6bb30542 | 3620 | 2010-06-21 Nick Clifton <nickc@redhat.com> |
3621 | ||
3622 | * config/rx/rx.h (PTRDIFF_TYPE): Define. | |
3623 | (SMALL_REGISTER_CLASS): Define (to zero). | |
3624 | (PRINT_OPERAND): Delete. | |
3625 | (PRINT_OPERAND_ADDRESS): Delete. | |
3626 | * config/rx/rx-protos.h (rx_print_operand): Delete prototype. | |
3627 | (rx_print_operand_address): Delete prototype. | |
3628 | * config/rx/rx.c (rx_print_operand): Make static. | |
3629 | Allow %H and %L to handle CONST_DOUBLEs. | |
3630 | (rx_print_operand_address): Make static. | |
3631 | (rx_gen_move_template): Rename local variable 'template' to | |
3632 | out_template. | |
c101b4d2 | 3633 | (rx_function_arg): Do not pass unknown sized objects in registers. |
6bb30542 | 3634 | (TARGET_PRINT_OPERAND): Define. |
3635 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
3636 | ||
bd5ac53b | 3637 | 2010-06-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
3638 | ||
3639 | * Makefile.in (POD2MAN): Provide --date from $(DATESTAMP). | |
3640 | ||
662a9670 | 3641 | 2010-06-21 Kai Tietz <kai.tietz@onevision.com> |
3642 | ||
3643 | * config/i386/i386.c (ix86_compute_frame_layout): Avoid | |
3644 | stack-alignment for simple leaf-functions. | |
3645 | ||
f3255772 | 3646 | 2010-06-20 Alexandre Oliva <aoliva@redhat.com> |
3647 | ||
3648 | * doc/install.texi: Document bootstrap-lto. | |
3649 | ||
a33da2f4 | 3650 | 2010-06-20 Alexandre Oliva <aoliva@redhat.com> |
3651 | ||
3652 | PR debug/44248 | |
3653 | * lto-streamer-in.c (input_bb): Leave debug stmts alone. | |
3654 | (input_function): Drop them here, if VTA is disabled. | |
3655 | ||
d70f1911 | 3656 | 2010-06-20 Uros Bizjak <ubizjak@gmail.com> |
3657 | ||
3658 | PR target/44546 | |
3659 | * config/i386/predicates.md (ix86_swapped_fp_comparsion_operator): | |
3660 | New predicate. | |
c101b4d2 | 3661 | * config/i386/i386.md (*fp_jcc_8<mode>_387 and splitters): Use |
d70f1911 | 3662 | ix86_swapped_fp_comparsion_operator instead of |
3663 | ix86_fp_comparison_operator. | |
3664 | ||
3665 | (*fp_jcc_1_387): Rename from *fp_jcc_3_387. | |
3666 | (*fp_jcc_1r_387): Rename from *fp_jcc_4_387. | |
3667 | (*fp_jcc_2_387): Rename from *fp_jcc_5_387. | |
3668 | (*fp_jcc_2r_387): Rename from *fp_jcc_6_387. | |
3669 | (*fp_jcc_3_387): Rename from *fp_jcc_7_387. | |
3670 | (*fp_jcc_4_<mode>_387): Rename from *fp_jcc_8<mode>_387. | |
3671 | ||
615ef0bb | 3672 | 2010-06-20 Joseph Myers <joseph@codesourcery.com> |
3673 | ||
3674 | PR other/32998 | |
3675 | * opth-gen.awk: Generate definitions of OPT_SPECIAL_unknown, | |
3676 | OPT_SPECIAL_program_name and OPT_SPECIAL_input_file. | |
3677 | * opts-common.c (find_opt): Return OPT_SPECIAL_unknown on failure. | |
3678 | (decode_cmdline_option): Update for this return value. Set | |
3679 | orig_option_with_args_text field. Set arg field for unknown | |
3680 | options. Make static. | |
3681 | (decode_cmdline_options_to_array): New. | |
3682 | (prune_options): Update handling of find_opt return value. | |
3683 | * opts.c (read_cmdline_option): Take decoded option. Return void. | |
3684 | (read_cmdline_options): Take decoded options. | |
3685 | (decode_options): Add parameters for decoded options. Use | |
3686 | decode_cmdline_options_to_array. Use decoded options for -O | |
3687 | scan. Use integral_argument for -O parameters. Update call to | |
3688 | read_cmdline_options. | |
d70f1911 | 3689 | (enable_warning_as_error): Update handling of find_opt return value. |
615ef0bb | 3690 | * opts.h: Update comment on unknown options. |
3691 | (struct cl_decoded_option): Update comments on opt_index and arg. | |
3692 | Add orig_option_with_args_text. | |
3693 | (decode_cmdline_option): Remove. | |
3694 | (decode_cmdline_options_to_array): Declare. | |
3695 | (decode_options): Update prototype. | |
3696 | * toplev.c (save_argv): Remove. | |
3697 | (save_decoded_options, save_decoded_options_count): New. | |
3698 | (read_integral_parameter): Remove. | |
3699 | (print_switch_values): Use decoded options. | |
d70f1911 | 3700 | (toplev_main): Don't set save_argv. Update call to decode_options. |
615ef0bb | 3701 | * toplev.h (read_integral_parameter): Remove. |
d70f1911 | 3702 | * varasm.c (elf_record_gcc_switches): Don't handle holding back names. |
615ef0bb | 3703 | |
2a977b78 | 3704 | 2010-06-19 Richard Earnshaw <rearnsha@arm.com> |
3705 | ||
3706 | PR target/44072 | |
3707 | * arm.md (cmpsi2_addneg): Prefer emitting adds to subs with a negative | |
3708 | immediate. | |
3709 | * constraints.md (Pw, Px): New constraints. | |
3710 | * thumb2.md (cmpsi2_addneg peephole2): New peepholes. | |
3711 | ||
0061967e | 3712 | 2010-06-19 H.J. Lu <hongjiu.lu@intel.com> |
3713 | ||
3714 | * config/i386/sse.md (fma4modesuffixf4): Removed. | |
3715 | (ssemodesuffixf2s): Likewise. | |
3716 | (ssemodesuffixf4): Likewise. | |
3717 | (ssemodesuffixf2c): Likewise. | |
3718 | (ssescalarmodesuffix2s): Likewise. | |
3719 | (avxmodesuffixf2c): Likewise. | |
3720 | (ssemodesuffix): New. | |
3721 | (ssescalarmodesuffix): Likewise. | |
3722 | Update patterns with ssemodesuffix and ssescalarmodesuffix. | |
3723 | ||
fc6df01e | 3724 | 2010-06-19 Philip Herron <herron.philip@googlemail.com> |
3725 | ||
e50391c0 | 3726 | * c-decl.c (c_write_global_declarations): Don't check flag_syntax_only. |
fc6df01e | 3727 | |
b39b7a64 | 3728 | 2010-06-18 H.J. Lu <hongjiu.lu@intel.com> |
3729 | ||
3730 | * stor-layout.c (debug_rli): Remove unused local variables. | |
3731 | ||
ae929441 | 3732 | 2010-06-18 Eric Botcazou <ebotcazou@adacore.com> |
3733 | ||
3734 | PR rtl-optimization/40900 | |
3735 | * expr.c (expand_expr_real_1) <SSA_NAME>: Fix long line. Save the | |
3736 | original expression for later reuse. | |
3737 | <expand_decl_rtl>: Use promote_function_mode to compute the signedness | |
3738 | of the promoted RTL for a SSA_NAME on the LHS of a call statement. | |
3739 | ||
90739616 | 3740 | 2010-06-18 Anatoly Sokolov <aesok@post.ru> |
3741 | ||
3742 | * double-int.h (double_int_to_shwi, double_int_to_uhwi, | |
3743 | double_int_fits_in_uhwi_p): Implement as static inline. | |
3744 | (double_int_xor): New inline function. | |
3745 | (double_int_lrotate, double_int_rrotate, double_int_max, | |
3746 | double_int_umax, double_int_smax, double_int_min, double_int_umin, | |
3747 | double_int_smin): Declare. | |
3748 | (lrotate_double, rrotate_double): Remove declaration. | |
3749 | * double-int.c (double_int_fits_in_uhwi_p, double_int_to_shwi, | |
3750 | double_int_to_uhwi, lrotate_double, rrotate_double): Remove function. | |
3751 | (double_int_lrotate, double_int_rrotate, double_int_max, | |
3752 | double_int_umax, double_int_smax, double_int_min, double_int_umin, | |
3753 | double_int_smin): New function. | |
3754 | * fold-const.c (int_const_binop): Clean up, use double_int_* | |
3755 | functions. | |
3756 | * simplify-rtx.c (simplify_const_binary_operation): Clean up, use | |
3757 | double_int_* and immed_double_int_const functions. | |
3758 | ||
aef48c9a | 3759 | 2010-06-18 Nathan Froyd <froydnj@codesourcery.com> |
3760 | ||
3761 | * function.h (types_used_by_cur_var_decl): Change type to a VEC. | |
3762 | * function.c (types_used_by_cur_var_decl): Likewise. | |
e50391c0 | 3763 | (used_types_insert): Adjust for new type of types_used_by_cur_var_decl. |
aef48c9a | 3764 | |
364ba361 | 3765 | 2010-06-18 Nathan Froyd <froydnj@codesourcery.com> |
3766 | ||
3767 | * tree.h (record_layout_info): Change type of pending_statics field | |
3768 | to a VEC. | |
3769 | * stor-layout.c (start_record_layout): Store NULL into | |
3770 | pending_statics. | |
3771 | (debug_rli): Call debug_vec_tree instead of debug_tree. | |
3772 | (place_field): Likewise. | |
3773 | (finish_record_layout): Likewise. | |
3774 | ||
8d056442 | 3775 | 2010-06-18 Alan Modra <amodra@gmail.com> |
3776 | ||
3777 | * config/rs6000/linux64.h (SET_CMODEL): Don't expand to empty. | |
3778 | ||
89bab959 | 3779 | 2010-06-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3780 | ||
3781 | PR target/43740 | |
d70f1911 | 3782 | * config/pa/pa.c (emit_move_sequence): Don't infer REG_POINTER flag |
3783 | for SET source operand from SET destination operand. | |
89bab959 | 3784 | |
231eb56b | 3785 | 2010-06-17 Bernd Schmidt <bernds@codesourcery.com> |
3786 | ||
3787 | PR rtl-optimization/39871 | |
3788 | * reload1.c (init_eliminable_invariants): For flag_pic, disable | |
3789 | equivalences only for constants that aren't LEGITIMATE_PIC_OPERAND_P. | |
3790 | (function_invariant_p): Rule out a plus of frame or arg pointer with | |
3791 | a SYMBOL_REF. | |
3792 | * ira.c (find_reg_equiv_invariant_const): Likewise. | |
3793 | ||
bcb6bfdc | 3794 | 2010-06-17 Gunther Nikl <gnikl@users.sourceforge.net> |
3795 | ||
3796 | * config/rs6000/rs6000.c (print_operand) <'K'>: Also use | |
3797 | print_operand_address and puts to output the operand for CONST. | |
3798 | ||
13d32a10 | 3799 | 2010-06-17 Jakub Jelinek <jakub@redhat.com> |
3800 | ||
3801 | PR debug/44572 | |
3802 | * dwarf2out.c (dwarf2out_debug_hooks): Add entry for begin_epilogue | |
3803 | hook. | |
3804 | ||
73a49e11 | 3805 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
3806 | ||
3807 | * v850-protos.h (print_operand): Delete. | |
3808 | (print_operand_address): Delete. | |
3809 | * v850.h (PRINT_OPERAND): Delete. | |
3810 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
3811 | (PRINT_OPERAND_ADDRESS): Delete. | |
3812 | * v850.c (print_operand_address): Rename to... | |
3813 | (v850_print_operand_address): ...this. Make static. Call | |
3814 | v850_print_operand. | |
3815 | (print_operand): Rename to... | |
3816 | (v850_print_operand): ...this. Make static. Call | |
3817 | v850_print_operand_address. | |
3818 | (v850_print_operand_punct_valid_p): New function. | |
3819 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
3820 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
3821 | ||
e8c57574 | 3822 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
3823 | ||
3824 | * config/sh/sh-protos.h (print_operand): Delete. | |
3825 | (print_operand_address): Delete. | |
3826 | * config/sh/sh.h (PRINT_OPERAND): Delete. | |
3827 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
3828 | (PRINT_OPERAND_ADDRESS): Delete. | |
3829 | * config/sh/sh.c (sh_print_operand_address): Make static. | |
3830 | (sh_print_operand): Make static. Call sh_print_operand_address | |
3831 | and sh_print_operand. | |
3832 | (sh_print_operand_punct_valid_p): New function. | |
3833 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
3834 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
3835 | ||
932f5d0a | 3836 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
3837 | ||
3838 | * config/mcore/mcore-protos.h (mcore_print_operand): Delete. | |
3839 | (mcore_print_operand_address): Delete. | |
3840 | * config/mcore/mcore.h (PRINT_OPERAND): Delete. | |
3841 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
3842 | (PRINT_OPERAND_ADDRESS): Delete. | |
3843 | * config/mcore/mcore.c (mcore_print_operand_address): Make static. | |
3844 | (mcore_print_operand): Make static. | |
3845 | (mcore_print_operand_punct_valid_p): New function. | |
3846 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define | |
3847 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
3848 | ||
6d6df020 | 3849 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
3850 | ||
3851 | * config/m68hc11/m68hc11-protos.h (print_operand): Delete. | |
3852 | (print_operand_address): Delete. | |
3853 | * config/m68hc11/m68hc11.h (PRINT_OPERAND): Delete. | |
3854 | (PRINT_OPERAND_ADDRESS): Delete. | |
3855 | * config/m68hc11/m68hc11.c (m68hc11_print_operand_address): Make | |
3856 | static. | |
3857 | (m68hc11_print_operand): Make static. | |
3858 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
3859 | ||
8e8a63d1 | 3860 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
3861 | ||
3862 | * config/m32r/m32r-protos.h (m32r_print_operand): Delete. | |
3863 | (m32r_print_operand_address): Delete. | |
3864 | * config/m32r/m32r.h (m32r_punct_chars): Delete. | |
3865 | (PRINT_OPERAND): Delete. | |
3866 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
3867 | (PRINT_OPERAND_ADDRESS): Delete. | |
3868 | * config/m32r/m32r.c (m32r_punct_chars): Make static. | |
3869 | (m32r_print_operand_address): Make static. | |
3870 | (m32r_print_operand): Make static. | |
3871 | (m32r_print_operand_punct_valid_p): New function. | |
3872 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
3873 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
3874 | ||
615d38f5 | 3875 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
3876 | ||
3877 | * config/iq2000/iq2000-protos.h (print_operand): Delete. | |
3878 | (print_operand_address): Delete. | |
3879 | * config/iq2000/iq2000.h (PRINT_OPERAND): Delete. | |
3880 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
3881 | (PRINT_OPERAND_ADDRESS): Delete. | |
3882 | (iq2000_print_operand_punct): Delete. | |
3883 | * config/iq2000/iq2000.c (iq2000_print_operand_punct): Make static. | |
3884 | (iq2000_print_operand_address): Make static. | |
3885 | (iq2000_print_operand): Make static. | |
3886 | (iq2000_print_operand_punct_valid_p): New function. | |
3887 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
3888 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
3889 | ||
70b366a2 | 3890 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
3891 | ||
3892 | * config/frv/frv-protos.h (frv_print_operand): Delete. | |
3893 | (frv_print_operand_address): Delete. | |
3894 | * config/frv/frv.h (PRINT_OPERAND): Delete. | |
3895 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
3896 | (PRINT_OPERAND_ADDRESS): Delete. | |
3897 | * config/frv/frv.c (frv_print_operand_address): Make static. | |
3898 | (frv_print_operand): Make static. | |
3899 | (frv_print_operand_punct_valid_p): New function. | |
3900 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
3901 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
3902 | ||
1df3c246 | 3903 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
3904 | ||
3905 | * tree.h (vec_member): Declare. | |
3906 | * tree.c (vec_member): Define. | |
3907 | ||
31c22300 | 3908 | 2010-06-17 Richard Guenther <rguenther@suse.de> |
3909 | ||
3910 | * tree-flow-inline.h (array_ref_contains_indirect_ref): Remove. | |
3911 | * tree-flow.h (array_ref_contains_indirect_ref): Likewise. | |
3912 | ||
df0c9c1a | 3913 | 2010-06-17 Richard Guenther <rguenther@suse.de> |
3914 | ||
3915 | * tree-inline.c (declare_return_variable): Remove bogus code. | |
3916 | ||
6b411909 | 3917 | 2010-06-17 Richard Guenther <rguenther@suse.de> |
3918 | ||
3919 | * gimplify.c (gimplify_bind_expr): Always promote complex | |
3920 | and vector variables to registers if possible. | |
3921 | ||
07e3326b | 3922 | 2010-06-17 Richard Guenther <rguenther@suse.de> |
3923 | ||
3924 | * expr.c (get_inner_reference): Use double_int for bit_offset | |
3925 | calculation. | |
3926 | ||
a420d927 | 3927 | 2010-06-16 DJ Delorie <dj@redhat.com> |
3928 | ||
3929 | * common.opt (-fstrict-volatile-bitfields): new. | |
3930 | * doc/invoke.texi: Document it. | |
3931 | * fold-const.c (optimize_bit_field_compare): For volatile | |
3932 | bitfields, use the field's type to determine the mode, not the | |
3933 | field's size. | |
3934 | * expr.c (expand_assignment): Likewise. | |
3935 | (get_inner_reference): Likewise. | |
3936 | (expand_expr_real_1): Likewise. | |
3937 | * expmed.c (store_fixed_bit_field): Likewise. | |
3938 | (extract_bit_field_1): Likewise. | |
3939 | (extract_fixed_bit_field): Likewise. | |
3940 | ||
d603fd86 | 3941 | 2010-06-16 Richard Guenther <rguenther@suse.de> |
3942 | ||
d70f1911 | 3943 | * tree-inline.c (remap_gimple_op_r): Recurse using remap_gimple_op_r. |
d603fd86 | 3944 | |
cfe7b52e | 3945 | 2010-06-16 Douglas B Rupp <rupp@gnat.com> |
3946 | ||
3947 | * config/ia64/vms.h (ASM_OUTPUT_DWARF_DELTA_UNITS): Remove. | |
3948 | (ASM_OUTPUT_DWARF_VMS_DELTA: Define new macro. | |
3949 | * dbxout.c (gcc_debug_hooks): New entry begin_epilogue. | |
3950 | * debug.c: Likewise. | |
3951 | * sdbout.c: Likewise. | |
3952 | * vmsdbgout.c: Likewise. | |
3953 | * debug.h: Likewise. (dwarf2out_vms_{begin,end}_prologue): Declare. | |
3954 | * doc/tm.texi (ASM_OUTPUT_DWARF_VMS_DELTA): Document. | |
3955 | * dwarf2asm.c (dw2_asm_output_vms_delta): New function. | |
3956 | (ASM_OUTPUT_DWARF_VMS_DELTA): Call it. | |
3957 | * dwarf2asm.h (dw2_asm_output_vms_delta): Declare. | |
3958 | * dwarf2out.c (dw_fde_struct): New fields | |
3959 | dw_fde_vms_{end,begin}_prologue. | |
3960 | (PROLOGUE_END_LABEL, EPILOGUE_BEGIN_LABEL): New macros. | |
3961 | (dwarf2out_begin_prologue): Set dw_fde_struct defaults for above. | |
3962 | (dwarf2out_vms_end_prologue): New function. | |
3963 | (dwarf2out_vms_begin_epilogue): New function. | |
3964 | (dw_val_struct): New value dw_val_class_vms_delta. | |
3965 | (gcc_debug_hooks): New entry begin_epilogue. Set end_prologue, | |
3966 | begin_epilogue for VMS. | |
3967 | (AT_vms_delta1, AT_vms_delta2, add_AT_vms_delta): Declare | |
3968 | new static functions. | |
3969 | (dwarf_attr_name): New cases DW_AT_HP_{prologue,epilogue}. | |
d70f1911 | 3970 | (AT_vms_delta1, AT_vms_delta2, add_AT_vms_delta): New |
cfe7b52e | 3971 | static functions. |
3972 | (print_die): New case dw_val_class_vms_delta. | |
3973 | (attr_checksum): Likewise. | |
3974 | (same_dw_val_p: Likewise. | |
3975 | (size_of_die): Likewise. | |
3976 | (value_format): Likewise. | |
3977 | (output_die): Likewise. | |
3978 | (gen_subprogram_die): Call add_AT_vms_delta on VMS. | |
3979 | (dwarf2out_begin_epilogue): Rename to dwarf2out_cfi_begin_epilogue | |
3980 | * dwarf2out.h (dwarf2out_begin_epilogue): Rename to | |
3981 | dwarf2out_cfi_begin_epilogue | |
3982 | * final.c (final_scan_insn): Likewise. Call begin_epilogue. | |
3983 | ||
0c662fd1 | 3984 | 2010-06-16 Nathan Froyd <froydnj@codesourcery.com> |
3985 | ||
3986 | * config/cris/cris-protos.h (cris_print_operand): Delete. | |
3987 | (cris_print_operand_address): Delete. | |
3988 | * config/cris/cris.h (PRINT_OPERAND): Delete. | |
3989 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
3990 | (PRINT_OPERAND_ADDRESS): Delete. | |
3991 | * config/cris/cris.c (cris_print_operand_address): Make static. | |
3992 | (cris_print_operand): Make static. | |
3993 | (cris_print_operand_punct_valid_p): New function. | |
3994 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
3995 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
3996 | ||
7d277281 | 3997 | 2010-06-16 Nathan Froyd <froydnj@codesourcery.com> |
3998 | ||
3999 | * config/arm/arm-protos.h (arm_print_operand): Delete. | |
4000 | (arm_print_operand_address): Delete. | |
4001 | * config/arm/arm.h (PRINT_OPERAND): Delete. | |
4002 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
4003 | (PRINT_OPERAND_ADDRESS, ARM_PRINT_OPERAND_ADDRESS): | |
4004 | (THUMB_PRINT_OPERAND_ADDRESS): Delete and move code to... | |
e50391c0 | 4005 | * config/arm/arm.c (arm_print_operand_address): ...here. New function. |
7d277281 | 4006 | (arm_print_operand): Make static. |
4007 | (arm_print_operand_punct_valid_p): New function. | |
4008 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
4009 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
4010 | ||
39349585 | 4011 | 2010-06-16 Nick Clifton <nickc@redhat.com> |
4012 | ||
4013 | * config/rx/constraints.md (NEGint4): New constraint. | |
4014 | * config/rx/rx.md (attr cc): Add set_zsc. | |
4015 | (cbranchsf4): Only test for -fnon-call-exceptions if cfun has been | |
4016 | initialised. | |
4017 | (cmpsf): Likewise. | |
4018 | (call_internal): Clobber the cc0 register. | |
4019 | (call_value_internal): Likewise. | |
4020 | (cstoresi4): Likewise. | |
4021 | (movsieq): Likewise. | |
4022 | (movsine): Likewise. | |
4023 | (addsi3): Add alternative to handle small negative constants. | |
4024 | (sunsi3): Likewise. | |
4025 | (addsi3): Do not set the O bit in the cc0 register. | |
4026 | (adddi3): Likewise. | |
4027 | (subsi3): Likewise. | |
4028 | (subdi3): Likewise. | |
4029 | (andsi3): Reorder alternatives to prefer shorter forms. | |
4030 | (mulsi3): Likewise. | |
4031 | (iorsi3): Likewise. | |
4032 | (negsi2): Note that the cc0 flags are set. | |
4033 | (rotlsi3): Note that only the Z and S bits are set in cc0. | |
4034 | (lshrsi3): Likewise. | |
4035 | (ashlsi3): Likewise. | |
4036 | (subsf3): Use %Q for the MEM operand. | |
4037 | (fix_truncsfsi2): Likewise. | |
4038 | (floatsisf2): Likewise. | |
4039 | (bitset): Remove early clobber from destination. | |
4040 | (bitset_in_memory): Likewise. | |
4041 | (lrintsf2): Clobber the cc0 register. | |
d70f1911 | 4042 | * config/rx/rx.c (rx_notice_update_cc): Handle CC_SET_ZSC. |
39349585 | 4043 | (rx_print_operand): Handle %N. |
4044 | ||
c5fa0717 | 4045 | 2010-06-16 Jan Hubicka <jh@suse.cz> |
4046 | ||
4047 | * df-core.c (df_compact_blocks): Free problem_temps vector. | |
4048 | ||
3d38c793 | 4049 | 2010-06-16 Martin Jambor <mjambor@suse.cz> |
4050 | ||
4051 | PR tree-optimization/43905 | |
4052 | * tree-sra.c: Include tree-inline.h. | |
4053 | (create_abstract_origin): Removed. | |
4054 | (modify_function): Version the call graph node instead of creating | |
4055 | abstract origins and dealing with same_body aliases. | |
4056 | * tree-sra.c (ipa_sra_preliminary_function_checks): Check whether the | |
4057 | function is versionable. | |
4058 | * Makefile.in (tree-sra.o): Add TREE_INLINE_H to dependencies. | |
4059 | ||
932d58bc | 4060 | 2010-06-16 Maxim Kuvyrkov <maxim@codesourcery.com> |
4061 | ||
4062 | * config/mips/linux64.h (BIONIC_DYNAMIC_LINKERN32): Define. | |
4063 | (CHOOSE_DYNAMIC_LINKER): Update. | |
4064 | ||
01060df7 | 4065 | 2010-06-15 Uros Bizjak <ubizjak@gmail.com> |
4066 | ||
4067 | * config/i386/i386.c (*prefetch_sse_<mode>): Macroize insn from | |
4068 | *prefetch_sse and *prefetch_sse_rex using P mode iterator. | |
4069 | (*prefetch_3dnow_<mode>): Ditto from *prefetch_3dnow and | |
4070 | *prefetch_3dnow_rex. | |
4071 | ||
427eb138 | 4072 | 2010-06-15 Anatoly Sokolov <aesok@post.ru> |
4073 | ||
4074 | * target.h (struct asm_out):Add declare_constant_name field. | |
4075 | * target-def.h (TARGET_ASM_DECLARE_CONSTANT_NAME): Define. | |
4076 | (TARGET_INITIALIZER): Use TARGET_ASM_DECLARE_CONSTANT_NAME. | |
4077 | * output.h (default_asm_declare_constant_name): Declare. | |
4078 | (assemble_label): Update prototype. | |
4079 | * varasm.c (assemble_constant_contents): Use | |
4080 | targetm.asm_out.declare_constant_name target hook. | |
4081 | (assemble_label): Add 'file' argument. | |
4082 | (default_asm_declare_constant_name): New function. | |
4083 | * system.h (ASM_DECLARE_CONSTANT_NAME): Poison. | |
4084 | * doc/tm.texi (ASM_DECLARE_CONSTANT_NAME): Remove. | |
4085 | (TARGET_ASM_DECLARE_CONSTANT_NAME): Document it. | |
4086 | ||
4087 | * config/darwin-protos.h (darwin_asm_declare_constant_name): Declare. | |
4088 | * config/darwin.c (darwin_asm_declare_constant_name): New function. | |
4089 | (machopic_output_indirection): Update assemble_label argument list. | |
4090 | * config/darwin.h (ASM_DECLARE_CONSTANT_NAME): Remove. | |
4091 | (TARGET_ASM_DECLARE_CONSTANT_NAME): Define. | |
4092 | ||
c5c86259 | 4093 | 2010-06-15 Sebastian Pop <sebastian.pop@amd.com> |
4094 | ||
4095 | PR middle-end/44391 | |
4096 | * graphite-clast-to-gimple.c (graphite_create_new_loop_guard): Use | |
4097 | size_one_node for pointer types. Do not call gmp_cst_to_tree. | |
4098 | ||
75d8b31e | 4099 | 2010-06-15 Richard Guenther <rguenther@suse.de> |
4100 | ||
4101 | * tree-ssa-pre.c (eliminate): Handle PHI elimination to constants. | |
4102 | ||
7680d5a9 | 4103 | 2010-06-15 Paul Brook <paul@codesourcery.com> |
c5c86259 | 4104 | |
7680d5a9 | 4105 | * config/arm/arm.c (use_vfp_abi): Add sorry() for Thumb-1 |
4106 | hard-float ABI. | |
4107 | ||
ed67497f | 4108 | 2010-06-15 Alexandre Oliva <aoliva@redhat.com> |
4109 | ||
4110 | * tree-vect-patterns.c (vect_pattern_recog_1): Bail out if we | |
4111 | don't get a vector type for output. | |
4112 | ||
4ad75159 | 4113 | 2010-06-15 Jakub Jelinek <jakub@redhat.com> |
4114 | ||
4115 | PR fortran/44536 | |
4116 | * langhooks.h (struct lang_hooks_for_decls): Add omp_report_decl. | |
4117 | * langhooks-def.h (LANG_HOOKS_OMP_REPORT_DECL): Define. | |
4118 | (LANG_HOOKS_DECLS): Add it. | |
4119 | * gimplify.c (omp_notice_variable): Call | |
4120 | lang_hooks.decls.omp_report_decl. | |
4121 | ||
6fc0e9e5 | 4122 | 2010-06-15 Martin Jambor <mjambor@suse.cz> |
4123 | ||
4124 | PR lto/44464 | |
4125 | * tree-sra.c (replace_removed_params_ssa_names): Call release_ssa_name | |
4126 | on the newly dead SSA name. | |
4127 | ||
72350d7b | 4128 | 2010-06-15 Alan Modra <amodra@gmail.com> |
4129 | ||
4130 | * doc/invoke.texi: Add mcmodel to powerpc options. | |
4131 | * configure.ac: Add HAVE_LD_LARGE_TOC test. | |
4132 | * configure: Regenerate. | |
4133 | * config.in: Regenerate. | |
4134 | * config/rs6000/linux64.opt (mcmodel): New. | |
4135 | * config/rs6000/linux64.h (TARGET_USES_LINUX64_OPT): Define. | |
8d056442 | 4136 | (TARGET_CMODEL, SET_CMODEL): Define. |
72350d7b | 4137 | (SUBSUBTARGET_OVERRIDE_OPTIONS): Check user -mcmodel choice, |
4138 | select CMODEL_MEDIUM default. | |
4139 | * config/rs6000/rs6000.h (enum rs6000_cmodel): New. | |
4140 | (TARGET_CMODEL): Define default. | |
4141 | * config/rs6000/rs6000.c (cmodel): New variable. | |
4142 | (rs6000_explicit_options): Add cmodel field. | |
4143 | (rs6000_handle_option): Handle -mcmodel. | |
4144 | (create_TOC_reference): Add largetoc_reg param. Generate high, | |
4145 | lo_sum rtl for CMODEL_MEDIUM and CMODEL_LARGE. Update all callers. | |
4146 | (rs6000_delegitimize_address): Recognise new toc reference rtl | |
4147 | and minimal-toc rtl. | |
4148 | (rs6000_legitimize_reload_address): Handle new toc references. | |
4149 | (print_operand_address): Handle legitimate_constant_pool_address_p | |
4150 | match before lo_sum. | |
4151 | (rs6000_eliminate_indexed_memrefs): Tidy. | |
4152 | (rs6000_emit_move): Tweak threshold for inlining constants. | |
4153 | Keep rs6000_emit_allocate_stack large stack frame offsets | |
4154 | loaded into r0 inline. | |
4155 | (rs6000_generate_compare <cmptf_internal2>): One more clobber. | |
4156 | (tocrel_base, tocrel_offset): New variables. | |
4157 | (toc_relative_expr_p): Set them here. | |
01060df7 | 4158 | (print_operand_address): Skip over any offset on constant pool address. |
72350d7b | 4159 | (rs6000_output_addr_const_extra): Print tocrel_offset before @toc. |
4160 | (rs6000_mode_dependent_address <LO_SUM>): False for new toc refs. | |
4161 | (offsettable_ok_by_alignment): New function. | |
4162 | (rs6000_emit_move): Address suitably aligned local symbol_refs | |
4163 | relative to the toc pointer for -mcmodel=medium. | |
4164 | (legitimate_constant_pool_address_p): Make param const_rtx. Add | |
4165 | strict param. Allow lo_sum version of addressing. Verify reg | |
4166 | used for -mminimal-toc and -mcmodel != small. Update all callers. | |
4167 | * config/rs6000/constraints.md: Update for above change. | |
4168 | * config/rs6000/predicates.md: Likewise. | |
4169 | * config/rs6000/rs6000.md (tls_gd_aix): Generate -mcmodel=medium/large | |
4170 | code. | |
4171 | (tls_gd): Split for -mcmodel=medium/large. | |
4172 | (tls_gd_high, tls_gd_low): New. | |
4173 | (tls_ld_aix, tls_ld, tls_ld_high, tls_ld_low): Similarly. | |
4174 | (tls_got_dtprel, tls_got_dtprel_high, tls_got_dtprel_low): Similarly. | |
4175 | (tls_got_tprel, tls_got_tprel_high, tls_got_tprel_low): Similarly. | |
4176 | (largetoc_high, largetoc_low): New. | |
4177 | (cmptf_internal2): Add clobber. | |
4178 | * config/rs6000/rs6000-protos.h: Update. | |
4179 | ||
5da8318c | 4180 | 2010-06-14 Changpeng Fang <changpeng.fang@amd.com> |
4181 | ||
4182 | * tree-ssa-loop-prefetch.c (nothing_to_prefetch_p): New. Return | |
4183 | true if no prefetch is going to be generated for a given group. | |
4184 | (estimate_prefetch_count): Use prefetch_mod and unroll_factor to | |
4185 | estimate the prefetch_count. | |
4186 | (loop_prefetch_arrays): Call nothing_to_prefetch_p; estimate the | |
4187 | prefetch count by considering the unroll_factor and prefetch_mod | |
4188 | for is_loop_prefetching_profitable. | |
4189 | ||
d09e50a6 | 4190 | 2010-06-14 Andreas Schwab <schwab@linux-m68k.org> |
4191 | ||
4192 | * config/m68k/m68k.c (m68k_delegitimize_address): Don't do | |
4193 | anything if the argument is not a MEM. | |
4194 | ||
320e3d05 | 4195 | 2010-06-14 Alexandre Oliva <aoliva@redhat.com> |
4196 | ||
4197 | PR debug/43650 | |
4198 | PR debug/44181 | |
4199 | PR debug/44247 | |
4200 | * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Skip | |
4201 | debug stmts. | |
4202 | (canonicalize_loop_ivs): Likewise. | |
4203 | ||
10272f4e | 4204 | 2010-06-14 Alexandre Oliva <aoliva@redhat.com> |
4205 | ||
4206 | PR debug/43656 | |
4207 | * haifa-sched.c (setup_insn_reg_pressure_info, | |
4208 | update_register_pressure): Reject debug insns. | |
4209 | (ready_sort): Don't setup reg pressure for debug insns. | |
4210 | (schedule_insn): Don't update reg pressure for debug insns. | |
4211 | ||
30baba90 | 4212 | 2010-06-14 Richard Guenther <rguenther@suse.de> |
4213 | ||
4214 | * lto-streamer.c (cached_bp): Remove. | |
4215 | (bitpack_delete): Likewise. | |
4216 | (bitpack_create): Likewise. | |
4217 | (bp_get_next_word): Likewise. | |
4218 | (bp_pack_value, bp_unpack_value): Move ... | |
4219 | * lto-streamer.h (bp_pack_value, bp_unpack_value): ... here. | |
4220 | Re-implement. | |
4221 | (struct bitpack_d): Likewise. | |
4222 | (bitpack_create, lto_output_bitpack, lto_input_bitpack): | |
4223 | New inline functions. | |
4224 | * lto-streamer-out.c (lto_output_bitpack): Remove. | |
01060df7 | 4225 | (pack_ts_base_value_fields): Adjust. Avoid conditional bitpacking. |
30baba90 | 4226 | (pack_value_fields): Adjust. |
4227 | (lto_write_tree): Likewise. | |
4228 | (output_gimple_stmt): Likewise. | |
4229 | (output_function): Likewise. | |
4230 | * lto-streamer-in.c (input_gimple_stmt): Adjust. | |
4231 | (input_function): Likewise. | |
01060df7 | 4232 | (unpack_ts_base_value_fields): Adjust. Avoid conditional bitpacking. |
30baba90 | 4233 | (lto_input_bitpack): Remove. |
4234 | (lto_materialize_tree): Adjust. | |
4235 | * Makefile.in (ipa-prop.o): Add $(LTO_STREAMER_H) dependency. | |
4236 | * lto-cgraph.c (lto_output_edge): Adjust. | |
4237 | (lto_output_node): Likewise. | |
4238 | (lto_output_varpool_node): Likewise. | |
4239 | (lto_output_ref): Likewise. | |
4240 | (input_node): Likewise. | |
4241 | (input_varpool_node): Likewise. | |
4242 | (input_ref): Likewise. | |
4243 | (input_edge): Likewise. | |
4244 | (output_node_opt_summary): Likewise. | |
4245 | (input_node_opt_summary): Likewise. | |
4246 | * ipa-pure-const.c (pure_const_write_summary): Likewise. | |
4247 | (pure_const_read_summary): Likewise. | |
4248 | * ipa-prop.c (ipa_write_indirect_edge_info): Likewise. | |
4249 | (ipa_read_indirect_edge_info): Likewise. | |
4250 | (ipa_write_node_info): Likewise. | |
4251 | (ipa_read_node_info): Likewise. | |
4252 | ||
b784aaeb | 4253 | 2010-06-14 H.J. Lu <hongjiu.lu@intel.com> |
4254 | ||
4255 | PR target/44534 | |
01060df7 | 4256 | * config/i386/sse.md (vec_extract_lo_<mode>): Replace 0x1 with 0x0. |
b784aaeb | 4257 | (vec_extract_lo_v16hi): Likewise. |
4258 | (vec_extract_lo_v32qi): Likewise. | |
4259 | ||
59805910 | 4260 | 2010-06-14 Jakub Jelinek <jakub@redhat.com> |
4261 | ||
0568e9c1 | 4262 | PR bootstrap/44426 |
4263 | * tree.h (build_call_expr): Don't define as vararg macro, instead | |
4264 | add a prototype. | |
4265 | * builtins.c (build_call_nofold): Remove. | |
4266 | (expand_builtin_int_roundingfn, expand_builtin_pow, | |
4267 | expand_builtin_mempcpy_args, expand_builtin_stpcpy, | |
4268 | expand_builtin_memset_args, expand_builtin_strcmp, | |
4269 | expand_builtin_strncmp, expand_builtin_memory_chk): Use | |
4270 | build_call_nofold_loc instead of build_call_nofold. | |
4271 | (build_call_expr): New function. | |
4272 | ||
33fd90fa | 4273 | PR tree-optimization/44508 |
01060df7 | 4274 | * tree-ssa-propagate.h (substitute_and_fold): Add DO_DCE argument. |
33fd90fa | 4275 | * tree-ssa-propagate.c (substitute_and_fold): If !DO_DCE, |
4276 | don't eliminate trivially dead stmts. | |
4277 | * tree-vrp.c (vrp_finalize): Pass false as last argument | |
4278 | to substitute_and_fold. | |
4279 | * tree-ssa-copy.c (fini_copy_prop): Pass true as last argument | |
4280 | to substitute_and_fold. | |
4281 | * tree-ssa-ccp.c (ccp_finalize): Likewise. | |
4282 | ||
59805910 | 4283 | PR bootstrap/44509 |
4284 | * c-config-lang.in (gtfiles): Add c-family/c-cppbuiltin.c. | |
59805910 | 4285 | |
b036fcd8 | 4286 | 2010-06-14 Ira Rosen <irar@il.ibm.com> |
4287 | ||
c5c86259 | 4288 | PR tree-optimization/44507 |
b036fcd8 | 4289 | * tree-vect-loop.c (get_initial_def_for_reduction): Use -1 |
4290 | to build initial vector for BIT_AND_EXPR. | |
4291 | * tree-vect-slp.c (vect_get_constant_vectors): Likewise. | |
4292 | ||
a449548d | 4293 | 2010-06-14 Jakub Jelinek <jakub@redhat.com> |
4294 | ||
4295 | * config/s390/s390.md (*mov<mode>_64 DD_DF, mov<mode>): Properly | |
4296 | adjust z10prop set_attr. | |
4297 | ||
0ea2d350 | 4298 | 2010-06-13 Jan Hubicka <jh@suse.cz> |
4299 | ||
4300 | * bitmap.c (bitmap_and, bitmap_and_into, bitmap_and_compl, | |
4301 | bitmap_and_compl_into, bitmap_compl_and_into, bitmap_ior, | |
4302 | bitmap_ior_into, bitmap_xor, bitmap_xor_into, | |
ca56d6c0 | 4303 | bitmap_ior_and_compl, bitmap_ior_and_compl): Turn internal |
4304 | datastructure checks into checking asserts. | |
0ea2d350 | 4305 | * rtlanal.c (find_reg_note): Use gcc_checking_assert. |
4306 | * tree-ssa-sccvn.c (VN_INFO): Likewise. | |
4307 | * df-scan.c (df_reorganize_refs_by_reg_by_reg, df_install_ref, | |
4308 | df_ref_create_structure): Likewise. | |
4309 | * alloc-pool.c (create_alloc_pool, empty_alloc_pool, pool_alloc, | |
4310 | pool_free): Use gcc_checking_assert. | |
4311 | * alias.c (get_alias_set): Likewise. | |
4312 | * var-tracking.c (variable_htab_free, shared_hash_copy, | |
4313 | canonicalize_values_mark, variable_merge_over_cur): Likewise. | |
4314 | * lto-streamer.c (bp_unpack_value): Likewise. | |
4315 | ||
09eb10ed | 4316 | 2010-06-13 Richard Guenther <rguenther@suse.de> |
4317 | ||
4318 | * lto-streamer-in.c (lto_input_ts_type_tree_pointers): | |
4319 | Do not stream but initialize TYPE_CANONICAL to NULL. | |
4320 | (lto_output_ts_type_tree_pointers): Do not stream TYPE_CANONICAL. | |
4321 | * gimple.c (gimple_types_compatible_p): Disregard | |
4322 | TYPE_STRUCTURAL_EQUALITY_P. | |
4323 | (gimple_register_type): Use TYPE_CANONICAL as cache. | |
4324 | * lto-streamer.c (lto_record_common_node): Zero TYPE_CANONICAL | |
4325 | before registering common types. | |
4326 | * config/i386/i386.c (ix86_function_arg_boundary): Do not | |
4327 | use TYPE_CANONICAL, instead use TYPE_MAIN_VARIANT. | |
4328 | * tree.h (TYPE_CANONICAL): Clarify documentation. | |
4329 | ||
15f3e541 | 4330 | 2010-06-13 Anatoly Sokolov <aesok@post.ru> |
4331 | ||
4332 | * config/ia64/ia64.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
4333 | LIBCALL_VALUE): Remove macros. | |
4334 | * config/ia64/ia64-protos.h (ia64_function_value): Remove. | |
4335 | * config/ia64/ia64.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
4336 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
4337 | (ia64_libcall_value, ia64_function_value_regno_p): New functions. | |
4338 | (ia64_function_value): Make static. Handle receiving the function | |
4339 | type in 'fn_decl_or_type' argunent. Add 'outgoing' argument. | |
4340 | ||
396a4a1d | 4341 | 2010-06-12 Jan Hubicka <jh@suse.cz> |
4342 | ||
4343 | * cse.c (cse_extended_basic_block): Move optimize_bb_for_speed_p | |
4344 | at correct place. | |
4345 | ||
0739fc09 | 4346 | 2010-06-12 Bernd Schmidt <bernds@codesourcery.com> |
4347 | ||
4348 | * config/arm/arm.c (thumb2_reorg): Fix errors in previous change. | |
4349 | ||
369ea98d | 4350 | 2010-06-12 Jan Hubicka <jh@suse.cz> |
4351 | ||
4352 | * df-core.c (df_clear_bb_info): New function. | |
4353 | (df_set_blocks): bb_info is always allocated. | |
4354 | (df_get_bb_info): Use block_info_elt_size. | |
4355 | (df_set_bb_info): Likewise. | |
4356 | (df_compact_blocks): Update for new block_info. | |
4357 | (grow_bb_info): New function. | |
4358 | * df-problems.c (df_grow_bb_info): Move to df-core.c | |
4359 | (df_rd_set_bb_info): Remove. | |
4360 | (df_rd_free_bb_info): Do not free block pool. | |
4361 | (df_rd_alloc): Do not create pool, use check for | |
4362 | obstack presence instead of NULL pointer for new blocks. | |
4363 | (df_rd_free): DO not free alloc pool; clear block_info. | |
4364 | (problem_RD): Add size of block info structure. | |
4365 | (df_lr_set_bb_info): Remove. | |
4366 | (df_lr_free_bb_info): Do not free block pool. | |
4367 | (df_lr_alloc): Do not create pool, use check for | |
4368 | obstack presence instead of NULL pointer for new blocks. | |
4369 | (df_lr_free): DO not free alloc pool; clear block_info. | |
4370 | (problem_LR): Add size of block info structure. | |
4371 | (df_live_set_bb_info): Remove. | |
4372 | (df_live_free_bb_info): Do not free block pool. | |
4373 | (df_live_alloc): Do not create pool, use check for | |
4374 | obstack presence instead of NULL pointer for new blocks. | |
4375 | (df_live_free): DO not free alloc pool; clear block_info. | |
4376 | (problem_LIVE): Add size of block info structure. | |
4377 | (problem_CHAIN): Add size of block info structure. | |
4378 | (df_byte_lr_set_bb_info): Remove. | |
4379 | (df_byte_lr_free_bb_info): Do not free block pool. | |
4380 | (df_byte_lr_alloc): Do not create pool, use check for | |
4381 | obstack presence instead of NULL pointer for new blocks. | |
4382 | (df_byte_lr_free): DO not free alloc pool; clear block_info. | |
4383 | (problem_BYTE_LR): Add size of block info structure. | |
4384 | (problem_NOTE): Add size of block info structure. | |
4385 | (df_byte_MD_set_bb_info): Remove. | |
4386 | (df_byte_MD_free_bb_info): Do not free block pool. | |
4387 | (df_byte_MD_alloc): Do not create pool, use check for | |
4388 | obstack presence instead of NULL pointer for new blocks. | |
4389 | (df_byte_MD_free): DO not free alloc pool; clear block_info. | |
4390 | (problem_BD): Add size of block info structure. | |
4391 | * df-scan.c (df_scan_free_internal): Free block pool. | |
4392 | (df_scan_set_bb_info): Remove. | |
4393 | (df_scan_free_bb_info): Check for artificial_defs instead | |
4394 | of bb_info being non-NULL. | |
4395 | (df_scan_alloc): DO not create df_scan_block pool. | |
4396 | (problem_SCAN): Set size of block info. | |
4397 | (df_bb_refs_record): Do not allocate bb_info. | |
4398 | * df.h (df_problem): Add block_info_elt_size. | |
4399 | (struct dataflow): Change block_info to void *. | |
4400 | (df_scan_get_bb_info, df_rd_get_bb_info, df_lr_get_bb_info, | |
4401 | df_md_get_bb_info, df_live_get_bb_info, df_byte_lr_get_bb_info): Return | |
4402 | in-line structures. | |
4403 | ||
b703d146 | 4404 | 2010-06-12 Jan Hubicka <jh@suse.cz> |
4405 | ||
4406 | PR tree-optimize/44485 | |
ca56d6c0 | 4407 | * tree-cfgcleanup.c (fixup_noreturn_call): Remove basic blocks |
4408 | containing use of return value of noreturn function. | |
b703d146 | 4409 | |
b3dc5aaf | 4410 | 2010-06-12 Anatoly Sokolov <aesok@post.ru> |
4411 | ||
4412 | * targhooks.c (default_function_value): Don't use | |
4413 | FUNCTION_OUTGOING_VALUE. | |
4414 | * system.h (FUNCTION_OUTGOING_VALUE): Poison. | |
4415 | * doc/tm.texi (FUNCTION_OUTGOING_VALUE): Removed. | |
4416 | ||
283681bb | 4417 | 2010-06-12 Kazu Hirata <kazu@codesourcery.com> |
4418 | ||
01060df7 | 4419 | * config.gcc (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*): |
4420 | Add crtfastmath.o to extra_parts. | |
283681bb | 4421 | * config/mips/crtfastmath.c: New. |
4422 | * config/mips/linux.h (ENDFILE_SPEC): New. | |
4423 | ||
c83a0088 | 4424 | 2010-06-12 Sebastian Pop <sebastian.pop@amd.com> |
4425 | ||
4426 | * graphite-clast-to-gimple.c (gcc_type_for_interval): Do not pass | |
4427 | old_type in parameter. | |
4428 | (gcc_type_for_value): Update call to gcc_type_for_interval. | |
4429 | (compute_type_for_level_1): Renamed compute_type_for_level. | |
4430 | Update call to gcc_type_for_interval. | |
4431 | ||
212cc995 | 4432 | 2010-06-11 Joseph Myers <joseph@codesourcery.com> |
4433 | ||
4434 | * common.opt (Wstrict-aliasing=, Wstrict-overflow=, fabi-version=, | |
01060df7 | 4435 | flto-compression-level=, ftree-parallelize-loops=): Add RejectNegative. |
212cc995 | 4436 | |
06907f25 | 4437 | 2010-06-11 Joseph Myers <joseph@codesourcery.com> |
4438 | ||
4439 | * opts-common.c: Include options.h. | |
4440 | (integral_argument): Move from opts.c. | |
4441 | (decode_cmdline_option): New. Based on read_cmdline_option. | |
4442 | * opts.c (integral_argument): Move to opts-common.c. | |
4443 | (read_cmdline_option): Move most contents to | |
4444 | decode_cmdline_option. Use %qs in diagnostics. | |
4445 | * opts.h (CL_ERR_DISABLED, CL_ERR_MISSING_ARG, CL_ERR_WRONG_LANG, | |
4446 | CL_ERR_UINT_ARG, struct cl_decoded_option, integral_argument, | |
4447 | decode_cmdline_option): New. | |
4448 | ||
d7421064 | 4449 | 2010-06-11 Uros Bizjak <ubizjak@gmail.com> |
4450 | ||
4451 | PR target/44481 | |
4452 | * config/i386/i386.md (UNSPEC_PARITY): New unspec. | |
01060df7 | 4453 | (paritydi2_cmp): Use UNSPEC_PARITY unspec instead of parity RTX. |
d7421064 | 4454 | (partiysi2_cmp): Ditto. |
4455 | (*partiyhi2_cmp): Ditto. | |
4456 | (*parityqi2_cmp): Remove. | |
4457 | ||
bbcfb57f | 4458 | 2010-06-11 Jan Hubicka <jh@suse.cz> |
4459 | ||
d7421064 | 4460 | * bitmap.h (bmp_iter_next_bit): New. |
4461 | (bmp_iter_set, bmp_iter_and, bmp_iter_and_compl): Use it. | |
bbcfb57f | 4462 | |
abc7c8e9 | 4463 | 2010-06-11 Sandra Loosemore <sandra@codesourcery.com> |
01060df7 | 4464 | Eric Botcazou <ebotcazou@adacore.com> |
abc7c8e9 | 4465 | |
4466 | * tree-ssa-loop-ivopts.c (get_computation_cost_at): Return again the | |
4467 | computed cost. | |
4468 | ||
f9f3bf3e | 4469 | 2010-06-11 Uros Bizjak <ubizjak@gmail.com> |
4470 | ||
4471 | * config/i386/i386.md (unspec): New define_c_enum. | |
4472 | (unspecv): Ditto. | |
4473 | ||
25692381 | 4474 | 2010-06-10 Jakub Jelinek <jakub@redhat.com> |
4475 | ||
25692381 | 4476 | * Makefile.in (c-family/c-cppbuiltin.o): Depend on $(CPP_ID_DATA_H). |
4477 | ||
fa683b76 | 4478 | 2010-06-11 Sebastian Pop <sebastian.pop@amd.com> |
4479 | ||
4480 | PR middle-end/44483 | |
4481 | * tree-if-conv.c (bb_predicate_s): New struct. | |
4482 | (bb_predicate_p): New. | |
4483 | (bb_has_predicate): New. | |
4484 | (bb_predicate): New. | |
4485 | (set_bb_predicate): New. | |
4486 | (bb_predicate_gimplified_stmts): New. | |
4487 | (set_bb_predicate_gimplified_stmts): New. | |
4488 | (add_bb_predicate_gimplified_stmts): New. | |
4489 | (init_bb_predicate): New. | |
4490 | (free_bb_predicate): New. | |
4491 | (is_predicated): Use bb_predicate. | |
4492 | (add_to_predicate_list): Use bb_predicate and set_bb_predicate. | |
4493 | (predicate_bbs): Same. Gimplify the condition of the basic blocks | |
4494 | before processing their successors. | |
4495 | (clean_predicate_lists): Removed. | |
4496 | (find_phi_replacement_condition): Use bb_predicate. | |
4497 | (process_phi_nodes): Renamed ifconvert_phi_nodes. Avoid useless | |
4498 | computations. | |
4499 | (insert_gimplified_predicates): New. | |
4500 | (combine_blocks): Call insert_gimplified_predicates. | |
4501 | (tree_if_conversion): Call free_bb_predicate instead of | |
4502 | clean_predicate_lists. | |
4503 | ||
b455518b | 4504 | 2010-10-11 Paul Brook <paul@codesourcery.com> |
f9f3bf3e | 4505 | |
b455518b | 4506 | * doc/invoke.texi: Document ARM -mcpu=cortex-m4. |
4507 | * config/arm/arm.c (all_architectures): Change v7e-m default to | |
4508 | cortexm4. | |
4509 | * config/arm/arm-cores.def: Add cortex-m4. | |
4510 | * config/arm/arm-tune.md: Regenerate. | |
4511 | ||
7dd42908 | 4512 | 2010-06-11 Jan Hubicka <jh@suse.cz> |
4513 | ||
4514 | * ipa-pure-const.c (special_builtlin_state): New function. | |
4515 | (check_call): Use it instead of special casign BUILT_IN_RETURN. | |
4516 | (propagate_pure_const): Use it. | |
4517 | ||
2053c8ce | 4518 | 2010-06-11 Jan Hubicka <jh@suse.cz> |
4519 | ||
4520 | * df-problems.c (df_live_scratch): Convert to bitmap_head. | |
4521 | (df_live_alloc): Initialize df_live_scratch when initializing | |
4522 | problem_data. | |
4523 | (df_live_transfer_function): Update uses of df_live_scratch. | |
4524 | (df_live_free): Free problem_data; clear df_live_scratch before | |
4525 | releasing the obstack. | |
4526 | (df_md_free): Free problem data. | |
4527 | ||
43d60d64 | 4528 | 2010-06-11 Jan Hubicka <jh@suse.cz> |
4529 | ||
4530 | * doc/invoke.texi (Wsuggest-attribute): Document. | |
4531 | (Wmissing-noreturn): Remove. | |
4532 | * ipa-pure-const.c (warn_function_noreturn): New function. | |
4533 | * opts.c (decode_options): Set warn_suggest_attribute_noreturn on | |
4534 | warn_missing_noreturn. | |
4535 | * common.opt (Wsuggest-attribute=noreturn): New. | |
4536 | * tree-flow.h (warn_function_noreturn): Declare. | |
4537 | * tree-cfg.c (execute_warn_function_noreturn): Use | |
4538 | warn_function_noreturn. | |
4539 | (gate_warn_function_noreturn): New. | |
4540 | (pass_warn_function_noreturn): Update. | |
4541 | ||
80373d81 | 4542 | 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
4543 | ||
4544 | * c-typeck.c (handle_warn_cast_qual): Add loc | |
4545 | parameter. Improve warning message. | |
4546 | (build_c_cast): Pass location to handle_warn_cast_qual. | |
4547 | ||
7c4b97f4 | 4548 | 2010-06-11 Uros Bizjak <ubizjak@gmail.com> |
4549 | ||
4550 | * config/i386/i386.md (pro_epilogue_adjust_stack_1) <TYPE_ALU>: Assert | |
4551 | that operand 0 == operand 1. Use x86_maybe_negate_const_int to output | |
4552 | insn mnemonic. | |
4553 | (pro_epilogue_adjust_stack_rex64) <TYPE_ALU>: Ditto. | |
4554 | ||
cd335093 | 4555 | 2010-06-10 Dodji Seketeli <dodji@redhat.com> |
4556 | ||
4557 | Fix bootstap on mips | |
4558 | * dwarf2out.c (is_naming_typedef_dec): Built-in TYPE_DECLs cannot | |
4559 | be naming typedefs. | |
4560 | ||
a3290c82 | 4561 | 2010-06-11 Kai Tietz <kai.tietz@onevision.com> |
4562 | ||
4563 | * system.h (helper_const_non_const_cast): New inline for | |
4564 | gcc version <= 4.0. | |
4565 | (CONST_CAST2): For gcc version <= 4.0 use | |
4566 | new helper to do const/non-const casting. | |
4567 | ||
15f255bd | 4568 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4569 | ||
4570 | * doc/md.texi: Document the "unspec" and "unspecv" enum names. | |
4571 | * Makefile.in (OBJS-common): Include insn-enums.o. | |
4572 | (insn-enums.o): New rule. | |
4573 | (simple_generated_c): Add insn-enums.c. | |
4574 | (build/genenums.o): New rule. | |
4575 | (genprogmd): Add "enums". | |
4576 | * genconstants.c (print_enum_type): Declare a C string array | |
4577 | for each enum. | |
4578 | * genenums.c: New file. | |
4579 | * print-rtl.c (print_rtx): If defined, use the "unspecv" enum | |
4580 | for UNSPEC_VOLATILE. If defined, use the "unspec" enum for both | |
4581 | UNSPEC and (as a fallback) for UNSPEC_VOLATILE. | |
4582 | ||
d37b1ac9 | 4583 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4584 | ||
4585 | * doc/md.texi (define_enum_attr): Document. | |
4586 | * rtl.def (DEFINE_ENUM_ATTR): New rtx. | |
4587 | * read-md.h (lookup_enum_type): Declare. | |
4588 | * read-md.c (lookup_enum_type): New function. | |
4589 | * genattr.c (gen_attr, main): Handle DEFINE_ENUM_ATTR. | |
4590 | * genattrtab.c (attr_desc): Add an enum_name field. | |
4591 | (evaluate_eq_attr): Take the associated attribute as argument. | |
4592 | Get the enum prefix from the enum_name field, if defined. | |
4593 | Use ACONCAT rather than a fixed-length buffer. Update recursive calls. | |
4594 | (simplify_test_exp): Pass attr to evaluate_eq_attr. | |
4595 | (add_attr_value): New function, split out from... | |
4596 | (gen_attr): ...here. Handle DEFINE_ENUM_ATTR. | |
4597 | (write_test_expr): Pass attr to evaluate_eq_attr. | |
4598 | (write_attr_get): Use the enum_name as the enum tag, if defined. | |
4599 | (write_attr_valueq): Use the enum_name as a prefix, if defined. | |
4600 | (find_attr): Initialize enum_name. | |
4601 | (main): Handle DEFINE_ENUM_ATTR. | |
4602 | * gensupport.c (process_rtx): Likewise. | |
4603 | * config/mips/mips.h (mips_tune_attr): Delete. | |
4604 | * config/mips/mips.md (cpu): Use define_attr_enum. | |
4605 | ||
5d54fceb | 4606 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4607 | ||
4608 | * doc/md.texi (define_c_enum, define_enum): Document. | |
4609 | * read-md.h (md_constant): Add a parent_enum field. | |
4610 | (enum_value, enum_type): New structures. | |
4611 | (upcase_string, traverse_enum_types): Declare. | |
4612 | * read-md.c (enum_types): New variable. | |
4613 | (upcase_string, add_constant): New functions. | |
4614 | (handle_constants): Don't create the hash table here. | |
4615 | Use add_constant. | |
4616 | (traverse_md_constants): Don't check for a null md_constants. | |
4617 | (decimal_string, handle_enum, traverse_enum_types): New functions. | |
4618 | (read_md_files): Initialize md_constants and md_enums. | |
4619 | * genconstants.c (print_md_constant): Ignore info argument. | |
4620 | Only print constants that belong to no enum. | |
4621 | (print_enum_type): New function. | |
4622 | (main): Don't pass stdout to print_md_constant. Call print_enum_type | |
4623 | for each defined enum type. | |
4624 | * config/mips/mips.md (processor): New define_enum. | |
4625 | (unspec): New define_c_enum. | |
4626 | (UNSPEC_COMPARE_AND_SWAP, UNSPEC_COMPARE_AND_SWAP_12) | |
4627 | (UNSPEC_SYNC_OLD_OP, UNSPEC_SYNC_NEW_OP, UNSPEC_SYNC_NEW_OP_12) | |
4628 | (UNSPEC_SYNC_OLD_OP_12, UNSPEC_SYNC_EXCHANGE, UNSPEC_SYNC_EXCHANGE_12) | |
4629 | (UNSPEC_MEMORY_BARRIER): Moved to sync.md. | |
4630 | (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ, UNSPEC_SUBQ_S, UNSPEC_ADDSC) | |
4631 | (UNSPEC_ADDWC, UNSPEC_MODSUB, UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S) | |
4632 | (UNSPEC_PRECRQ_QB_PH, UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W) | |
4633 | (UNSPEC_PRECRQU_S_QB_PH, UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR) | |
4634 | (UNSPEC_PRECEQU_PH_QBL, UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA) | |
4635 | (UNSPEC_PRECEQU_PH_QBRA, UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR) | |
4636 | (UNSPEC_PRECEU_PH_QBLA, UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL) | |
4637 | (UNSPEC_SHLL_S, UNSPEC_SHRL_QB, UNSPEC_SHRA_PH, UNSPEC_SHRA_R) | |
4638 | (UNSPEC_MULEU_S_PH_QBL, UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH) | |
4639 | (UNSPEC_MULEQ_S_W_PHL, UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL) | |
4640 | (UNSPEC_DPAU_H_QBR, UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR) | |
4641 | (UNSPEC_DPAQ_S_W_PH, UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH) | |
4642 | (UNSPEC_DPAQ_SA_L_W, UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL) | |
4643 | (UNSPEC_MAQ_S_W_PHR, UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR) | |
4644 | (UNSPEC_BITREV, UNSPEC_INSV, UNSPEC_REPL_QB, UNSPEC_REPL_PH) | |
4645 | (UNSPEC_CMP_EQ, UNSPEC_CMP_LT, UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB) | |
4646 | (UNSPEC_CMPGU_LT_QB, UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH) | |
4647 | (UNSPEC_EXTR_W, UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H) | |
4648 | (UNSPEC_EXTP, UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP) | |
4649 | (UNSPEC_RDDSP): Move to mips-dsp.md. | |
4650 | (UNSPEC_ABSQ_S_QB, UNSPEC_ADDU_PH, UNSPEC_ADDU_S_PH, UNSPEC_ADDUH_QB) | |
4651 | (UNSPEC_ADDUH_R_QB, UNSPEC_APPEND, UNSPEC_BALIGN, UNSPEC_CMPGDU_EQ_QB) | |
4652 | (UNSPEC_CMPGDU_LT_QB, UNSPEC_CMPGDU_LE_QB, UNSPEC_DPA_W_PH) | |
4653 | (UNSPEC_DPS_W_PH, UNSPEC_MADD, UNSPEC_MADDU, UNSPEC_MSUB, UNSPEC_MSUBU) | |
4654 | (UNSPEC_MUL_PH, UNSPEC_MUL_S_PH, UNSPEC_MULQ_RS_W, UNSPEC_MULQ_S_PH) | |
4655 | (UNSPEC_MULQ_S_W, UNSPEC_MULSA_W_PH, UNSPEC_MULT, UNSPEC_MULTU) | |
4656 | (UNSPEC_PRECR_QB_PH, UNSPEC_PRECR_SRA_PH_W, UNSPEC_PRECR_SRA_R_PH_W) | |
4657 | (UNSPEC_PREPEND, UNSPEC_SHRA_QB, UNSPEC_SHRA_R_QB, UNSPEC_SHRL_PH) | |
4658 | (UNSPEC_SUBU_PH, UNSPEC_SUBU_S_PH, UNSPEC_SUBUH_QB, UNSPEC_SUBUH_R_QB) | |
4659 | (UNSPEC_ADDQH_PH, UNSPEC_ADDQH_R_PH, UNSPEC_ADDQH_W, UNSPEC_ADDQH_R_W) | |
4660 | (UNSPEC_SUBQH_PH, UNSPEC_SUBQH_R_PH, UNSPEC_SUBQH_W, UNSPEC_SUBQH_R_W) | |
4661 | (UNSPEC_DPAX_W_PH, UNSPEC_DPSX_W_PH, UNSPEC_DPAQX_S_W_PH) | |
4662 | (UNSPEC_DPAQX_SA_W_PH, UNSPEC_DPSQX_S_W_PH, UNSPEC_DPSQX_SA_W_PH): | |
4663 | Moved to mips-dspr2.md. | |
4664 | (UNSPEC_MOVE_TF_PS, UNSPEC_C, UNSPEC_ALNV_PS, UNSPEC_CABS) | |
4665 | (UNSPEC_ADDR_PS, UNSPEC_CVT_PW_PS, UNSPEC_CVT_PS_PW, UNSPEC_MULR_PS) | |
4666 | (UNSPEC_ABS_PS, UNSPEC_RSQRT1, UNSPEC_RSQRT2, UNSPEC_RECIP1) | |
ca56d6c0 | 4667 | (UNSPEC_RECIP2, UNSPEC_SINGLE_CC, UNSPEC_SCC): Move from mips-ps-3d.md. |
5d54fceb | 4668 | (UNSPEC_LOONGSON_PAVG, UNSPEC_LOONGSON_PCMPEQ, UNSPEC_LOONGSON_PCMPGT) |
4669 | (UNSPEC_LOONGSON_PEXTR, UNSPEC_LOONGSON_PINSR_0) | |
4670 | (UNSPEC_LOONGSON_PINSR_1, UNSPEC_LOONGSON_PINSR_2) | |
4671 | (UNSPEC_LOONGSON_PINSR_3, UNSPEC_LOONGSON_PMADD) | |
4672 | (UNSPEC_LOONGSON_PMOVMSK, UNSPEC_LOONGSON_PMULHU) | |
4673 | (UNSPEC_LOONGSON_PMULH, UNSPEC_LOONGSON_PMULL, UNSPEC_LOONGSON_PMULU) | |
ca56d6c0 | 4674 | (UNSPEC_LOONGSON_PASUBUB, UNSPEC_LOONGSON_BIADD, |
4675 | UNSPEC_LOONGSON_PSADBH) | |
5d54fceb | 4676 | (UNSPEC_LOONGSON_PSHUFH, UNSPEC_LOONGSON_PUNPCKH) |
4677 | (UNSPEC_LOONGSON_PUNPCKL, UNSPEC_LOONGSON_PADDD) | |
4678 | (UNSPEC_LOONGSON_PSUBD): Move to mips-loongson.md. | |
4679 | (UNSPEC_LOONGSON_ALU1_TURN_ENABLED_INSN) | |
4680 | (UNSPEC_LOONGSON_ALU2_TURN_ENABLED_INSN) | |
4681 | (UNSPEC_LOONGSON_FALU1_TURN_ENABLED_INSN) | |
ca56d6c0 | 4682 | (UNSPEC_LOONGSON_FALU2_TURN_ENABLED_INSN): Move to mips-loongson2ef.md. |
5d54fceb | 4683 | (cpu): Update comment. |
4684 | * config/mips/sync.md (UNSPEC_COMPARE_AND_SWAP) | |
4685 | (UNSPEC_COMPARE_AND_SWAP_12, UNSPEC_SYNC_OLD_OP, UNSPEC_SYNC_NEW_OP) | |
4686 | (UNSPEC_SYNC_NEW_OP_12, UNSPEC_SYNC_OLD_OP_12, UNSPEC_SYNC_EXCHANGE) | |
4687 | (UNSPEC_SYNC_EXCHANGE_12, UNSPEC_MEMORY_BARRIER): Moved from mips.md. | |
ca56d6c0 | 4688 | * config/mips/loongson.md (UNSPEC_LOONGSON_PAVG, |
4689 | UNSPEC_LOONGSON_PCMPEQ) | |
4690 | (UNSPEC_LOONGSON_PCMPGT, UNSPEC_LOONGSON_PEXTR, | |
4691 | UNSPEC_LOONGSON_PINSR_0) | |
5d54fceb | 4692 | (UNSPEC_LOONGSON_PINSR_1, UNSPEC_LOONGSON_PINSR_2) |
4693 | (UNSPEC_LOONGSON_PINSR_3, UNSPEC_LOONGSON_PMADD) | |
4694 | (UNSPEC_LOONGSON_PMOVMSK, UNSPEC_LOONGSON_PMULHU) | |
4695 | (UNSPEC_LOONGSON_PMULH, UNSPEC_LOONGSON_PMULL, UNSPEC_LOONGSON_PMULU) | |
ca56d6c0 | 4696 | (UNSPEC_LOONGSON_PASUBUB, UNSPEC_LOONGSON_BIADD, |
4697 | UNSPEC_LOONGSON_PSADBH) | |
5d54fceb | 4698 | (UNSPEC_LOONGSON_PSHUFH, UNSPEC_LOONGSON_PUNPCKH) |
4699 | (UNSPEC_LOONGSON_PUNPCKL, UNSPEC_LOONGSON_PADDD) | |
4700 | (UNSPEC_LOONGSON_PSUBD): Moved from mips.md | |
4701 | * config/mips/loongson2ef.md (UNSPEC_LOONGSON_ALU1_TURN_ENABLED_INSN) | |
4702 | (UNSPEC_LOONGSON_ALU2_TURN_ENABLED_INSN) | |
4703 | (UNSPEC_LOONGSON_FALU1_TURN_ENABLED_INSN) | |
4704 | (UNSPEC_LOONGSON_FALU2_TURN_ENABLED_INSN): Moved from mips.md | |
4705 | * config/mips/mips-dsp.md (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ) | |
4706 | (UNSPEC_SUBQ_S, UNSPEC_ADDSC, UNSPEC_ADDWC, UNSPEC_MODSUB) | |
4707 | (UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S, UNSPEC_PRECRQ_QB_PH) | |
4708 | (UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W, UNSPEC_PRECRQU_S_QB_PH) | |
4709 | (UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR, UNSPEC_PRECEQU_PH_QBL) | |
4710 | (UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA, UNSPEC_PRECEQU_PH_QBRA) | |
4711 | (UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR, UNSPEC_PRECEU_PH_QBLA) | |
4712 | (UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL, UNSPEC_SHLL_S, UNSPEC_SHRL_QB) | |
4713 | (UNSPEC_SHRA_PH, UNSPEC_SHRA_R, UNSPEC_MULEU_S_PH_QBL) | |
4714 | (UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH, UNSPEC_MULEQ_S_W_PHL) | |
4715 | (UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL, UNSPEC_DPAU_H_QBR) | |
4716 | (UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR, UNSPEC_DPAQ_S_W_PH) | |
4717 | (UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH, UNSPEC_DPAQ_SA_L_W) | |
4718 | (UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL, UNSPEC_MAQ_S_W_PHR) | |
4719 | (UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR, UNSPEC_BITREV, UNSPEC_INSV) | |
4720 | (UNSPEC_REPL_QB, UNSPEC_REPL_PH, UNSPEC_CMP_EQ, UNSPEC_CMP_LT) | |
4721 | (UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB, UNSPEC_CMPGU_LT_QB) | |
4722 | (UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH, UNSPEC_EXTR_W) | |
4723 | (UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H, UNSPEC_EXTP) | |
4724 | (UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP) | |
4725 | (UNSPEC_RDDSP): Moved from mips.md. | |
4726 | * config/mips/mips-dspr2.md (UNSPEC_ABSQ_S_QB, UNSPEC_ADDU_PH) | |
4727 | (UNSPEC_ADDU_S_PH, UNSPEC_ADDUH_QB, UNSPEC_ADDUH_R_QB, UNSPEC_APPEND) | |
4728 | (UNSPEC_BALIGN, UNSPEC_CMPGDU_EQ_QB, UNSPEC_CMPGDU_LT_QB) | |
4729 | (UNSPEC_CMPGDU_LE_QB, UNSPEC_DPA_W_PH, UNSPEC_DPS_W_PH, UNSPEC_MADD) | |
4730 | (UNSPEC_MADDU, UNSPEC_MSUB, UNSPEC_MSUBU, UNSPEC_MUL_PH) | |
4731 | (UNSPEC_MUL_S_PH, UNSPEC_MULQ_RS_W, UNSPEC_MULQ_S_PH, UNSPEC_MULQ_S_W) | |
4732 | (UNSPEC_MULSA_W_PH, UNSPEC_MULT, UNSPEC_MULTU, UNSPEC_PRECR_QB_PH) | |
4733 | (UNSPEC_PRECR_SRA_PH_W, UNSPEC_PRECR_SRA_R_PH_W, UNSPEC_PREPEND) | |
4734 | (UNSPEC_SHRA_QB, UNSPEC_SHRA_R_QB, UNSPEC_SHRL_PH, UNSPEC_SUBU_PH) | |
4735 | (UNSPEC_SUBU_S_PH, UNSPEC_SUBUH_QB, UNSPEC_SUBUH_R_QB, UNSPEC_ADDQH_PH) | |
4736 | (UNSPEC_ADDQH_R_PH, UNSPEC_ADDQH_W, UNSPEC_ADDQH_R_W, UNSPEC_SUBQH_PH) | |
4737 | (UNSPEC_SUBQH_R_PH, UNSPEC_SUBQH_W, UNSPEC_SUBQH_R_W, UNSPEC_DPAX_W_PH) | |
4738 | (UNSPEC_DPSX_W_PH, UNSPEC_DPAQX_S_W_PH, UNSPEC_DPAQX_SA_W_PH) | |
4739 | (UNSPEC_DPSQX_S_W_PH, UNSPEC_DPSQX_SA_W_PH): Moved from mips.md. | |
4740 | * config/mips/mips-ps-3d.md (UNSPEC_MOVE_TF_PS, UNSPEC_C) | |
4741 | (UNSPEC_ALNV_PS, UNSPEC_CABS, UNSPEC_ADDR_PS, UNSPEC_CVT_PW_PS) | |
4742 | (UNSPEC_CVT_PS_PW, UNSPEC_MULR_PS, UNSPEC_ABS_PS, UNSPEC_RSQRT1) | |
4743 | (UNSPEC_RSQRT2, UNSPEC_RECIP1, UNSPEC_RECIP2, UNSPEC_SINGLE_CC) | |
4744 | (UNSPEC_SCC): Moved from mips.md. | |
4745 | * config/mips/mips.c (mips_arch, mips_tune): Change enum from | |
4746 | "processor_type" to "processor". | |
4747 | (mips_rtx_cost_data): Replace PROCESSOR_MAX with NUM_PROCESSOR_VALUES. | |
4748 | * config/mips/mips.h (processor_type): Delete. | |
4749 | (mips_cpu_info.cpu, mips_arch, mips_tune): Change enum from | |
4750 | "processor_type" to "processor". | |
4751 | ||
c50b68d2 | 4752 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4753 | ||
4754 | * configure.ac (tm_include_list): Add insn-constants.h. | |
4755 | * configure: Regenerate. | |
4756 | * Makefile.in (GTM_H): Move insn-constants.h here from... | |
4757 | (TM_H): ...here. | |
4758 | * mkconfig.sh: Remove special handling for insn-constants.h. | |
4759 | ||
664c5888 | 4760 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4761 | ||
4762 | * Makefile.in (BUILD_RTL): Move build/read-md.o to... | |
4763 | (BUILD_MD): ...this new variable. | |
4764 | (simple_generated_rtl_h, simple_generated_rtl_c): New variables | |
4765 | that include the old contents of simple_generated_h and | |
4766 | simple_generated_c. | |
4767 | (simple_generated_h, simple_generated_c): Include them. Add | |
4768 | insn-constants.h. | |
4769 | (s-%): Make simple_generated_{h,c} stamps depend on $(MD_DEPS) | |
4770 | and simple_generated_rtl_{h,c} stamps depend on insn-conditions.md. | |
4771 | Remove these dependencies from the main rule and include | |
4772 | insn-conditions.md in the command line only if it appears | |
4773 | in the dependency list. | |
4774 | (insn-constants.h, s-constants): Delete. | |
4775 | (build/genconstants.o): Don't depend on $(RTL_BASE_H), $(GTM_H) | |
4776 | or gensupport.h. | |
4777 | (build/genmddeps.o): Likewise. | |
4778 | (genprogrtl): New variable that contains everything from genprogmd | |
4779 | except mddeps and constants. | |
4780 | (genprogmd): Redefine in terms of genprogrtl. Make these programs | |
4781 | depend on $(BUILD_MD) | |
4782 | (genprog): New variable. Make these programs depend on | |
4783 | $(BUILD_ERRORS). | |
4784 | * genmddeps.c: Don't include tm.h, rtl.h or gensupport.h. | |
4785 | (main): Use read_md_files instead of init_rtx_reader_args. | |
4786 | * genconstants.c: As for genmddeps.c. | |
4787 | * read-md.h (read_skip_construct): Declare. | |
4788 | * read-md.c (read_skip_construct): New function. | |
4789 | (handle_file): Allow a null handle_directive, skipping the | |
4790 | construct if so. | |
4791 | (parse_include): Update the comment accordingly. | |
4792 | ||
77ba95d0 | 4793 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4794 | ||
4795 | * Makefile.in (build/genmddeps.o): Depend on $(READ_MD_H). | |
4796 | * genmddeps.c: Include read-md.h. | |
4797 | (main): Call init_rtx_reader_args instead of init_md_reader_args. | |
4798 | * genattr.c (main): Likewise. | |
4799 | * genattrtab.c (main): Likewise. | |
4800 | * genautomata.c (main): Likewise. | |
4801 | * gencodes.c (main): Likewise. | |
4802 | * genconditions.c (main): Likewise. | |
4803 | * genconfig.c (main): Likewise. | |
4804 | * genconstants.c (main): Likewise. | |
4805 | * genemit.c (main): Likewise. | |
4806 | * genextract.c (main): Likewise. | |
4807 | * genflags.c (main): Likewise. | |
4808 | * genopinit.c (main): Likewise. | |
4809 | * genoutput.c (main): Likewise. | |
4810 | * genpeep.c (main): Likewise. | |
4811 | * genrecog.c (main): Likewise. | |
4812 | * genpreds.c (main): Likewise. | |
4813 | * gensupport.h (in_fname): Move to read-md.h. | |
4814 | (init_md_reader_args_cb): Rename to... | |
4815 | (init_rtx_reader_args_cb): ...this and return a bool. | |
4816 | (init_md_reader_args): Rename to... | |
4817 | (init_rtx_reader_args): ...this and return a bool. | |
4818 | (include_callback): Move to read-md.h. | |
4819 | * gensupport.c (in_fname, include_callback, base_dir, max_include_len) | |
4820 | (file_name_list, first_dir_md_include): Move to read-md.c | |
4821 | (first_bracket_include): Delete unused variable. | |
4822 | (last_dir_md_include): Move to read-md.c. | |
4823 | (process_include): Delete, moving code to read-md.c:handle_include. | |
4824 | (process_rtx): Don't handle INCLUDE. | |
4825 | (save_string): Delete. | |
4826 | (rtx_handle_directive): New function. | |
4827 | (init_md_reader_args_cb): Rename to... | |
4828 | (init_rtx_reader_args_cb): ...this and return a boolean success value. | |
4829 | Use read_md_args. | |
4830 | (init_md_reader_args): Rename to... | |
4831 | (init_rtx_reader_args): ...this and return a boolean success value. | |
4832 | * rtl.def (INCLUDE): Delete. | |
4833 | * rtl.h (read_rtx): Remove "int *" argument. Add "const char *" | |
4834 | argument. | |
4835 | * read-rtl.c (read_conditions): Don't gobble ')' here. | |
4836 | (read_mapping): Likewise. | |
4837 | (read_rtx): Remove LINENO argument. Add RTX_NAME argument. | |
4838 | Handle top-level non-rtx constructs here rather than in read_rtx_1. | |
4839 | Store the whole queue in *X. Remove call to init_md_reader. | |
4840 | (read_rtx_1): Rename to... | |
4841 | (read_rtx_code): ...this. Call read_nested_rtx to read subrtxes. | |
4842 | Don't handle top-level non-rtx constructs here. Don't handle (nil) | |
4843 | here. | |
4844 | (read_nested_rtx): New function. Handle (nil) here rather than | |
4845 | in read_rtx_code. | |
4846 | (read_rtx_variadic): Call read_nested_rtx to read subrtxes. Don't | |
4847 | gobble ')' here. | |
4848 | * read-md.h (directive_handler_t): New type. | |
4849 | (in_fname, include_callback): Moved from read-md.h. | |
4850 | (read_constants, init_md_reader): Delete. | |
4851 | (read_md_files): Declare. | |
4852 | * read-md.c (file_name_list, in_fname, base_dir, first_dir_md_include) | |
4853 | (last_dir_md_include_ptr, include_callback, max_include_len): Moved | |
4854 | from gensupport.c. | |
4855 | (read_constants): Rename to... | |
4856 | (handle_constants): ...this. Don't gobble ')' here. | |
4857 | (handle_include, handle_file, handle_toplevel_file) | |
4858 | (parse_include): New functions, mostly taken from gensupport.c. | |
4859 | (init_md_reader): Subsume into... | |
4860 | (read_md_files): ...this new function. | |
4861 | ||
606cf8b8 | 4862 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4863 | ||
4864 | * read-md.h (read_char): Increment read_md_lineno after reading '\n'. | |
4865 | (unread_char): Decrement read_md_lineno after putting back '\n'. | |
4866 | * read-md.c (fatal_with_file_and_line): Push back any characters | |
4867 | that we decide not to add to the context. | |
4868 | (read_skip_spaces): Don't increment read_md_lineno here. Avoid using | |
4869 | fatal_expected_char in cases where '/' ends a line (for example). | |
4870 | (read_name): Don't increment read_md_lineno here. | |
4871 | (read_escape): Likewise. | |
4872 | (read_quoted_string): Likewise. | |
4873 | (read_braced_string): Likewise. | |
4874 | ||
ac0640e5 | 4875 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4876 | ||
4877 | * Makefile.in (READ_MD_H): Add $(HASHTAB_H). | |
4878 | (build/genconstants.o): Depend on $(READ_MD_H) gensupport.h. | |
4879 | * genconstants.c: Include read-md.h. | |
4880 | * read-rtl.c (md_constants): Move to read-md.c. | |
4881 | (md_name): Move to read-md.h. | |
4882 | (initialize_iterators): Use leading_string_hash instead of def_hash | |
4883 | and leading_string_eq_p instead of def_name_eq_p. | |
4884 | (read_name): Move to read-md.c. | |
4885 | (def_hash, def_name_eq_p): Delete. | |
4886 | (read_constants, traverse_md_constants): Move to read-md.c. | |
4887 | * rtl.h (md_constant, traverse_md_constants): Move to read-md.h. | |
4888 | * read-md.h: Include hashtab.h. | |
4889 | (md_name): Moved from read-rtl.c. | |
4890 | (md_constant): Moved from read-md.h. | |
4891 | (leading_string_hash, leading_string_eq_p, read_name) | |
4892 | (read_constants, traverse_md_constants): Declare. | |
4893 | * read-md.c (md_constants): Moved from read-rtl.c. | |
4894 | (leading_string_hash, leading_string_eq_p): New functions. | |
4895 | (read_name, read_constants, traverse_md_constants): Moved from | |
4896 | read-rtl.c. | |
4897 | ||
220dcf2f | 4898 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4899 | ||
4900 | * read-rtl.c (md_name): New structure. | |
4901 | (read_name): Take an md_name instead of a buffer pointer. | |
4902 | Use the "string" field instead of strcpy when expanding constants. | |
4903 | (read_constants): Remove the tmp_char argument. Update the calls | |
4904 | to read_name, using two local name buffers instead of the tmp_char | |
4905 | argument. Merge the constant-creation code. | |
4906 | (read_conditions): Remove the tmp_char argument. Update the calls | |
4907 | to read_name, using a local name buffer instead of the tmp_char | |
4908 | argument. | |
4909 | (read_mapping): Replace tmp_char variable with a local name buffer. | |
4910 | Update the calls to read_name. | |
4911 | (read_rtx_1): Likewise. Update the calls to read_constants and | |
4912 | read_conditions. | |
4913 | ||
b638f5c8 | 4914 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4915 | ||
4916 | * Makefile.in (build/read-md.o): Depend on errors.h. | |
4917 | * read-md.h (error_with_line): Declare. | |
4918 | * read-md.c: Include errors.h. | |
4919 | (message_with_line_1): New function, extracted from... | |
4920 | (message_with_line): ...here. | |
4921 | (error_with_line): New function. | |
4922 | * genattrtab.c: If a call to message_with_line is followed by | |
4923 | "have_error = 1;", replace both statements with a call to | |
4924 | error_with_line. | |
4925 | * genoutput.c: Likewise. | |
4926 | * genpreds.c: Likewise. | |
4927 | * genrecog.c: If a call to message_with_line is followed by | |
4928 | "error_count++;", replace both statements with a call to | |
4929 | error_with_line. | |
4930 | (errorcount): Delete. | |
4931 | (main): Don't check it. | |
4932 | * gensupport.c: If a call to message_with_line is followed by | |
4933 | "errors = 1;", replace both statements with a call to error_with_line. | |
4934 | (errors): Delete. | |
4935 | (process_define_cond_exec): Check have_error instead of errors. | |
4936 | (init_md_reader_args_cb): Likewise. Don't set errors. | |
4937 | ||
b3453c30 | 4938 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4939 | ||
4940 | * read-md.h (read_md_file): Declare. | |
4941 | (read_char, unread_char): New functions. | |
4942 | (fatal_with_file_and_line, fatal_expected_char, read_skip_spaces) | |
4943 | (read_quoted_string, read_string): Remove FILE * argument. | |
4944 | * read-md.c (read_md_file): New variable. | |
4945 | (read_md_filename, read_md_lineno): Update comments and remove | |
4946 | unnecessary initialization. | |
4947 | (fatal_with_file_and_line, fatal_expected_char, read_skip_spaces) | |
4948 | (read_escape, read_quoted_string, read_braced_string, read_string): | |
4949 | Remove FILE * argument. Update calls accordingly, using read_char | |
4950 | and unread_char instead of getc and ungetc. | |
4951 | * rtl.h (read_rtx): Remove FILE * argument. | |
4952 | * read-rtl.c (iterator_group): Remove FILE * argument from | |
4953 | "find_builtin". | |
4954 | (iterator_traverse_data): Remove "infile" field. | |
4955 | (find_mode, find_code, apply_mode_maps, apply_iterator_to_rtx) | |
4956 | (add_mapping, read_name, read_constants, read_conditions) | |
4957 | (validate_const_int, find_iterator, read_mapping, check_code_iterator) | |
4958 | (read_rtx, read_rtx_1, read_rtx_variadic): Remove FILE * argument. | |
4959 | Remove file arguments from all calls, using read_char and unread_char | |
4960 | instead of getc and ungetc. | |
4961 | * gensupport.c (process_include): Preserve read_md_file around | |
4962 | the include. Set read_md_file to the handle of the included file. | |
4963 | Update call to read_rtx. | |
4964 | (init_md_reader_args_cb): Set read_md_file to the handle of the file | |
4965 | and remove local FILE *. Update calls to read_rtx. | |
4966 | ||
77c2564f | 4967 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4968 | ||
4969 | * read-md.h (read_rtx_lineno): Rename to... | |
4970 | (read_md_lineno): ...this. | |
4971 | (read_rtx_filename): Rename to... | |
4972 | (read_md_filename): ...this. | |
4973 | (copy_rtx_ptr_loc): Rename to... | |
4974 | (copy_md_ptr_loc): ...this. | |
4975 | (print_rtx_ptr_loc): Rename to... | |
4976 | (print_md_ptr_loc): ...this. | |
4977 | * read-md.c: Likewise. Update references after renaming. | |
4978 | (string_obstack): Replace RTL with MD in comment. | |
4979 | (set_rtx_ptr_loc): Rename to... | |
4980 | (set_md_ptr_loc): ...this. | |
4981 | (get_rtx_ptr_loc): Rename to... | |
4982 | (get_md_ptr_loc): ...this. | |
4983 | * genconditions.c: Update references after renaming. | |
4984 | * genemit.c: Likewise. | |
4985 | * genoutput.c: Likewise. | |
4986 | * genpreds.c: Likewise. | |
4987 | * gensupport.c: Likewise. | |
4988 | * read-rtl.c: Likewise. | |
4989 | ||
960ebfe7 | 4990 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
4991 | ||
4992 | * Makefile.in (READ_MD_H): New variable. | |
4993 | (BUILD_RTL): Add build/read-md.o. | |
4994 | (lto-wrapper.o): Depend on coretypes.h instead of defaults.h. | |
4995 | (build/gensupport.o, build/read-rtl.o, build/genattr.o) | |
4996 | (build/genattrtab.o, build/genconditions.o build/genemit.o) | |
4997 | (build/genextract.o, build/genflags.o, build/genoutput.o) | |
4998 | (build/genpreds.o, build/genrecog.o): Depend on $(READ_MD_H). | |
4999 | (build/read-md.o): New rule. | |
5000 | * defaults.h (obstack_chunk_alloc, obstack_chunk_free) | |
5001 | (OBSTACK_CHUNK_SIZE, gcc_obstack_init): Move to... | |
5002 | * coretypes.h: ...here. | |
5003 | * lto-wrapper.c: Include coretypes.h instead of defaults.h. | |
5004 | * pretty-print.c (obstack_chunk_alloc, obstack_chunk_free): Delete. | |
5005 | * genattr.c: Include read-md.h. | |
5006 | * genattrtab.c: Likewise. | |
5007 | * genconditions.c: Likewise. | |
5008 | * genemit.c: Likewise. | |
5009 | * genextract.c: Likewise. | |
5010 | * genflags.c: Likewise. | |
5011 | * genoutput.c: Likewise. | |
5012 | * genpreds.c: Likewise. | |
5013 | * genrecog.c: Likewise. | |
5014 | * rtl.h (read_skip_spaces, copy_rtx_ptr_loc, print_rtx_ptr_loc) | |
5015 | (join_c_conditions, print_c_condition, read_rtx_filename) | |
5016 | (read_rtx_lineno): Move to read-md.h. | |
5017 | * read-rtl.c: Include read-md.h. | |
5018 | (ptr_loc, string_obstack, ptr_locs, ptr_loc_obstack) | |
5019 | (joined_conditions, joined_conditions_obstack, read_rtx_lineno) | |
5020 | (read_rtx_filename, fatal_with_file_and_line, fatal_expected_char) | |
5021 | (leading_ptr_hash, leading_ptr_eq_p, set_rtx_ptr_loc, get_rtx_ptr_loc) | |
5022 | (copy_rtx_ptr_loc, print_rtx_ptr_loc, join_c_conditions) | |
5023 | (print_c_condition, read_skip_spaces, read_escape, read_quoted_string) | |
5024 | (read_braced_string, read_string): Move to read-md.c. | |
5025 | (read_rtx): Move some initialization to init_md_reader and call | |
5026 | init_md_reader here. | |
5027 | * gensupport.h (message_with_line, n_comma_elts, scan_comma_elt): | |
5028 | Move to read-md.h. | |
5029 | * gensupport.c: Include read-md.h. | |
7c4b97f4 | 5030 | (message_with_line, n_comma_elts, scan_comma_elt): Move to read-md.c. |
960ebfe7 | 5031 | * read-md.h, read-md.c: New files. |
5032 | ||
63bd5286 | 5033 | 2010-06-10 Anatoly Sokolov <aesok@post.ru> |
5034 | ||
5035 | * config/moxie/moxie.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, | |
5036 | LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
5037 | * config/moxie/moxie-protos.h (moxie_function_value): Remove. | |
5038 | * config/moxie/moxie.c (moxie_function_value): Make static. | |
5039 | (moxie_libcall_value, moxie_function_value_regno_p): New functions. | |
5040 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
5041 | ||
3954ae54 | 5042 | 2010-06-10 Martin Jambor <mjambor@suse.cz> |
5043 | ||
5044 | * Makefile.in (tree-sra.o): Add DBGCNT_H to dependencies. | |
5045 | * dbgcnt.def (tree_sra): New counter. | |
5046 | * tree-sra.c: Include dbgcnt.h. | |
5047 | (gate_intra_sra): Check tree_sra debug counter. | |
5048 | ||
4cf65a36 | 5049 | 2010-06-10 Martin Jambor <mjambor@suse.cz> |
5050 | ||
5051 | PR tree-optimization/44258 | |
5052 | * tree-sra.c (build_access_subtree): Return false iff there is a | |
5053 | partial overlap. | |
5054 | (build_access_trees): Likewise. | |
5055 | (analyze_all_variable_accesses): Disqualify candidates if | |
5056 | build_access_trees returns true for them. | |
5057 | ||
ec87b3ce | 5058 | 2010-06-10 Alexandre Oliva <aoliva@redhat.com> |
5059 | ||
5060 | PR debug/41371 | |
5061 | * var-tracking.c (find_loc_in_1pdv): Remove recursion, only | |
5062 | tail-recurse into canonical node. Fast-forward over | |
5063 | non-canonical VALUEs. | |
5064 | ||
7a7c0e20 | 5065 | 2010-06-10 H.J. Lu <hongjiu.lu@intel.com> |
5066 | ||
5067 | PR boostrap/44470 | |
5068 | * config/i386/i386.md (*add<mode>_1): Revert revision 160394. | |
5069 | (*addsi_1_zext) <TYPE_LEA>: Likewise. | |
5070 | (add lea splitter): Likewise. | |
5071 | (add_zext lea splitter): Likewise. | |
5072 | ||
abf6a617 | 5073 | 2010-06-10 Joseph Myers <joseph@codesourcery.com> |
5074 | ||
5075 | * common.opt (fshow-column): Don't mark as C ObjC C++ ObjC++. | |
5076 | ||
217bd223 | 5077 | 2010-06-10 Jan Hubicka <jh@suse.cz> |
5078 | ||
5079 | * df-problems.c (df_live_problem_data): Add live_bitmaps. | |
5080 | (df_live_alloc): Initialize problem data and live_osbtacks. | |
5081 | (df_live_finalize): Remove obstack, problem data; do not | |
5082 | clear all bitmaps. | |
5083 | (df_live_top_dump, df_live_bottom_dump): Do not dump old | |
5084 | data when not allocated. | |
5085 | (df_live_verify_solution_start): Do not allocate problem data. | |
5086 | (df_live_verify_solution_end): Check if out is allocated. | |
5087 | (struct df_md_problem_data): New structure. | |
5088 | (df_md_alloc): Allocate problem data. | |
5089 | (df_md_free): Free problem data; do not clear bitmaps. | |
5090 | ||
4f132c11 | 5091 | 2010-06-10 Jan Beulich <jbeulich@novell.com> |
5092 | ||
4206f34b | 5093 | PR bootstrap/37304 |
4f132c11 | 5094 | * configure.ac: Replace $() with ${} when intending to expand |
5095 | variables rather than invoking commands. | |
5096 | * configure: Re-generate. | |
5097 | ||
a62dc878 | 5098 | 2010-06-10 Jan Hubicka <jh@suse.cz> |
5099 | ||
7aff3189 | 5100 | PR rtl-optimization/44460 |
7c4b97f4 | 5101 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove |
5102 | TYPE_NEEDS_CONSTRUCTING sanity check. | |
a62dc878 | 5103 | |
2d0c81dc | 5104 | 2010-06-10 Gerald Pfeifer <gerald@pfeifer.com> |
5105 | ||
5106 | * doc/include/fdl.texi: Move to GFDL version 1.3. | |
5107 | ||
5108 | * doc/cpp.texi: Move to GFDL version 1.3. | |
5109 | * doc/gcc.texi: Move to GFDL version 1.3. Fix copyright years. | |
5110 | * doc/gccint.texi: Move to GFDL version 1.3. | |
5111 | * doc/gcov.texi: Move to GFDL version 1.3. Update copyright years. | |
5112 | * doc/install.texi: Move to GFDL version 1.3. Fix copyright years. | |
5113 | * doc/invoke.texi: Move to GFDL version 1.3. | |
5114 | ||
c0240443 | 5115 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
5116 | ||
5117 | * ipa-pure-const.c (propagate_pure_const, propagate_noreturn): | |
5118 | Break out from ... | |
5119 | (propagate) ... here; swap the order. | |
5120 | ||
d16af188 | 5121 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
5122 | ||
5123 | * bitmap.c (bitmap_elt_insert_after, bitmap_first_set_bit, | |
5124 | bitmap_first_set_bit, bitmap_last_set_bit, bitmap_last_set_bit, | |
5125 | bitmap_and_into, bitmap_and_compl_into, bitmap_set_range, | |
5126 | bitmap_compl_and_into, bitmap_elt_ior): Use checking asserts. | |
5127 | ||
94ce9ff0 | 5128 | 2010-06-09 Changpeng Fang <changpeng.fang@amd.com> |
5129 | ||
5130 | * tree-ssa-loop-prefetch.c (gather_memory_references_ref): | |
5131 | Do not the gather memory reference in the outer loop if the step | |
5132 | is not a constant. | |
5133 | ||
1aabe697 | 5134 | 2010-06-09 Changpeng Fang <changpeng.fang@amd.com> |
5135 | ||
7c4b97f4 | 5136 | * tree-ssa-loop-prefetch.c (PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO) : |
5137 | Change the PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO threshold value from | |
5138 | 8 to 4. Minor change of the related comments. | |
1aabe697 | 5139 | |
dfeb6545 | 5140 | 2010-06-09 Sebastian Pop <sebastian.pop@amd.com> |
5141 | ||
5142 | * tree-scalar-evolution.c (instantiate_scev_name): Do not fail | |
5143 | the scev analysis when the variable is not used outside the loop | |
5144 | in a close phi node: call compute_overall_effect_of_inner_loop. | |
5145 | ||
dff64cac | 5146 | 2010-06-09 Sebastian Pop <sebastian.pop@amd.com> |
5147 | ||
5148 | * graphite-sese-to-poly.c (single_pred_cond): Renamed | |
5149 | single_pred_cond_non_loop_exit. Return NULL for loop exit edges. | |
5150 | (build_sese_conditions_before): Renamed call to single_pred_cond. | |
5151 | (build_sese_conditions_after): Same. | |
5152 | ||
d3746d81 | 5153 | 2010-06-09 Sebastian Pop <sebastian.pop@amd.com> |
5154 | ||
5155 | * graphite-poly.h: Fix comments and indentation. | |
5156 | * graphite-sese-to-poly.c: Same. | |
5157 | (build_sese_conditions_before): Compute stmt and gbb only when needed. | |
5158 | * tree-chrec.c: Fix comments and indentation. | |
5159 | (tree-ssa-loop-niter.c): Same. | |
5160 | ||
827c9a9e | 5161 | 2010-06-09 Eric Botcazou <ebotcazou@adacore.com> |
5162 | ||
5163 | PR rtl-optimization/42461 | |
5164 | * dce.c (deletable_insn_p): Return true for const or pure calls again. | |
5165 | * except.c (insn_could_throw_p): Return false if !flag_exceptions. | |
5166 | ||
4399d500 | 5167 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
5168 | ||
5169 | * bitmap.c (bitmap_and): Walk array forward. | |
5170 | (bitmap_and_compl_into): Likewise. | |
5171 | (bitmap_xor): Likewise. | |
5172 | (bitmap_xor_into): Likewise. | |
5173 | (bitmap_equal_p): Likewise. | |
5174 | (bitmap_intersect_p): Likewise. | |
5175 | (bitmap_intersect_compl_p): Likewise. | |
5176 | (bitmap_ior_and_into): Likewise. | |
5177 | (bitmap_elt_copy): Likewise. | |
5178 | (bitmap_and_compl): Likewise. | |
5179 | (bitmap_elt_ior): Likewise. | |
5180 | ||
616c5314 | 5181 | 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com> |
5182 | ||
5183 | * opts-common.c (prune_options): Ensure replacement argv array | |
5184 | is correctly terminated by a NULL entry. | |
5185 | ||
e95895ef | 5186 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
5187 | ||
5188 | * cgraph.h (varpool_first_static_initializer, | |
5189 | varpool_next_static_initializer): Make checking only when | |
5190 | checking enabled. | |
5191 | * tree-vectorizer.h (vinfo_for_stmt): Remove check. | |
5192 | (set_vinfo_for_stmt, get_earlier_stmt, is_loop_header_bb_p): Change | |
5193 | gcc_assert to gcc_checking_assert. | |
7c4b97f4 | 5194 | * tree-flow-inline.h (gimple_vop, get_var_ann, relink_imm_use, |
5195 | phi_nodes, set_phi_nodes, phi_arg_index_from_use, op_iter_next_use, | |
e95895ef | 5196 | op_iter_next_def, op_iter_next_tree, op_iter_init, op_iter_init_use, |
7c4b97f4 | 5197 | op_iter_init_phiuse, op_iter_init_phidef, |
5198 | array_ref_contains_indirect_ref, ref_contains_array_ref): Use | |
5199 | gcc_checking_assert. | |
e95895ef | 5200 | * emit-rtl.h (set_first_insn, set_last_insn): Likewise. |
5201 | * tree-ssa-live.h (var_to_partition, var_to_partition_to_var, | |
5202 | partition_is_global, live_on_entry, live_on_exit, | |
5203 | live_merge_and_clear): Likewise. | |
5204 | * system.h (gcc_checking_assert): New macro. | |
5205 | * gimple.h (set_bb_seq): Use gcc_checking_assert. | |
5206 | ||
d44856e9 | 5207 | 2010-06-09 Jason Merrill <jason@redhat.com> |
5208 | ||
5209 | * Makefile.in (TAGS): Collect tags info from c-family. | |
5210 | ||
1e720c36 | 5211 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
5212 | ||
5213 | * gimple.h (gcc_gimple_checking_assert): New macro. | |
7c4b97f4 | 5214 | (gimple_set_def_ops, gimple_set_use_ops, |
5215 | gimple_set_vuse, gimple_set_vdef, | |
5216 | gimple_omp_subcode, gimple_omp_set_subcode, gimple_ops, gimple_op, | |
5217 | gimple_op_ptr, gimple_op_ptr, gimple_set_op, gimple_bind_set_block, | |
5218 | gimple_asm_input_op, gimple_asm_input_op_ptr, gimple_asm_set_input_op, | |
5219 | gimple_asm_output_op, gimple_asm_output_op_ptr, | |
5220 | gimple_asm_set_output_op, gimple_asm_clobber_op, | |
5221 | gimple_asm_set_clobber_op, gimple_asm_label_op, | |
5222 | gimple_asm_set_label_op, gimple_try_set_kind, | |
5223 | gimple_try_catch_is_cleanup, gimple_try_set_catch_is_cleanup, | |
5224 | gimple_phi_arg, gimple_switch_num_labels, gimple_switch_set_index, | |
5225 | gimple_switch_label, gimple_switch_set_label, gimple_omp_for_index, | |
5226 | gimple_omp_for_index_ptr, gimple_omp_for_set_index, | |
5227 | gimple_omp_for_initial, gimple_omp_for_initial_ptr, | |
5228 | gimple_omp_for_set_initial, gimple_omp_for_final, | |
5229 | gimple_omp_for_final_ptr, gimple_omp_for_set_final, | |
5230 | gimple_omp_for_incr, gimple_omp_for_incr_ptr, gimple_omp_for_set_incr, | |
5231 | gimple_omp_for_set_cond, gimple_omp_for_cond): Make checking | |
5232 | conditional with ENABLE_GIMPLE_CHECKING. | |
5233 | (gimple_phi_set_arg): Likewise; replace memcpy by assignment. | |
1e720c36 | 5234 | |
fe166695 | 5235 | 2010-06-09 Sandra Loosemore <sandra@codesourcery.com> |
5236 | ||
5237 | * tree-ssa-loop-ivopts.c (adjust_setup_cost): New function. | |
5238 | (get_computation_cost_at): Use it. | |
5239 | (determine_use_iv_cost_condition): Likewise. | |
5240 | (determine_iv_cost): Likewise. | |
5241 | ||
4b9edb63 | 5242 | 2010-06-09 Richard Guenther <rguenther@suse.de> |
5243 | ||
5244 | * tree-ssa-loop-niter.c (simplify_replace_tree): Do not | |
5245 | replace constants. | |
5246 | ||
686eddfc | 5247 | 2010-06-09 Kai Tietz <kai.tietz@onevision.com> |
5248 | ||
5249 | * c-objc-common.c (c_tree_printer): Pre-intialize t by NULL_TREE. | |
5250 | ||
aa0fdf43 | 5251 | 2010-06-09 Martin Jambor <mjambor@suse.cz> |
5252 | ||
5253 | PR tree-optimization/44423 | |
5254 | * tree-sra.c (dump_access): Dump also grp_assignment_read. | |
5255 | (analyze_access_subtree): Pass negative allow_replacements to children | |
5256 | if the current type is scalar. | |
5257 | ||
090ce0bc | 5258 | 2010-06-09 Joern Rennecke <joern.rennecke@embecosm.com> |
74b0726c | 5259 | |
5260 | PR testsuite/42843 | |
5261 | * gcc-plugin.h (int plugin_is_GPL_compatible): Declare as extern "C". | |
5262 | * doc/plugins.texi (Plugin license check): Update information | |
5263 | on type of plugin_is_GPL_compatible. | |
5264 | * Makefile.in (PLUGINCC): Define as $(COMPILER). | |
5265 | (PLUGINCFLAGS): Define as $(COMPILER_FLAGS). | |
5266 | ||
0361e161 | 5267 | 2010-06-09 Bernd Schmidt <bernds@codesourcery.com> |
5268 | ||
5269 | * config/arm/arm.c (thumb2_reorg): New function. | |
5270 | (arm_reorg): Call it. | |
5271 | * config/arm/thumb2.md (define_peephole2 for flag clobbering | |
5272 | arithmetic operations): Delete. | |
5273 | ||
14a955f7 | 5274 | 2010-06-09 Edmar Wienskoski <edmar@freescale.com> |
5275 | ||
5276 | PR target/44067 | |
5277 | * config/rs6000/rs6000.md (DIFD): Do not split dpfp values for | |
5278 | e500v2 target. | |
5279 | ||
2fbcc452 | 5280 | 2010-06-09 Joern Rennecke <joern.rennecke@embecosm.com> |
5281 | ||
74b0726c | 5282 | PR plugins/44459 |
2fbcc452 | 5283 | * gcc-plugin.h: Encapsulate all declarations in extern "C". |
5284 | ||
c71175b7 | 5285 | 2010-06-08 Jan Hubicka <jh@suse.cz> |
5286 | ||
5287 | * basic-block.h (single_succ_edge, single_pred_edge, ei_container, | |
5288 | ei_next, ei_prev): Do sanity checking with ENABLE_CHECKING only. | |
5289 | ||
c82d157a | 5290 | 2010-06-08 Sandra Loosemore <sandra@codesourcery.com> |
5291 | ||
5292 | PR tree-optimization/39874 | |
5293 | PR middle-end/28685 | |
5294 | * gimple.h (maybe_fold_and_comparisons, maybe_fold_or_comparisons): | |
5295 | Declare. | |
5296 | * gimple-fold.c (canonicalize_bool, same_bool_comparison_p, | |
5297 | same_bool_result_p): New. | |
5298 | (and_var_with_comparison, and_var_with_comparison_1, | |
5299 | and_comparisons_1, and_comparisons, maybe_fold_and_comparisons): New. | |
5300 | (or_var_with_comparison, or_var_with_comparison_1, | |
5301 | or_comparisons_1, or_comparisons, maybe_fold_or_comparisons): New. | |
5302 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): Use | |
5303 | maybe_fold_and_comparisons or maybe_fold_or_comparisons instead | |
5304 | of combine_comparisons. | |
5305 | * tree-ssa-ifcombine.c (ifcombine_ifandif, ifcombine_iforif): Likewise. | |
5306 | ||
eecb925d | 5307 | 2010-06-08 Anatoly Sokolov <aesok@post.ru> |
5308 | ||
5309 | * config/pdp11/pdp11.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, | |
5310 | LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
47a548ac | 5311 | * config/pdp11/pdp11.c (pdp11_function_value, pdp11_libcall_value, |
5312 | pdp11_function_value_regno_p): New functions. | |
eecb925d | 5313 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, |
5314 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
5315 | ||
316b27be | 5316 | 2010-06-08 Kazu Hirata <kazu@codesourcery.com> |
5317 | ||
5318 | * config/arm/arm.c (arm_rtx_costs_1): Don't special case for | |
5319 | Thumb-2 in the MINUS case. | |
5320 | ||
ba72912a | 5321 | 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
5322 | ||
5323 | * doc/tm.texi (Per-Function Data): Do not reference ggc_alloc. | |
5324 | ||
5325 | * doc/gty.texi (GTY Options): Document typed GC allocation and | |
5326 | variable_size GTY option. | |
5327 | ||
5328 | * ggc-internal.h: New. | |
5329 | ||
5330 | * ggc.h: Update copyright year. | |
5331 | (digit_string): Move to stringpool.c. | |
5332 | (ggc_mark_stringpool, ggc_purge_stringpool, ggc_mark_roots) | |
5333 | (gt_pch_save_stringpool, gt_pch_fixup_stringpool) | |
5334 | (gt_pach_restore_stringpool, gt_pch_p_S, gt_pch_note_object) | |
5335 | (init_ggc_pch, ggc_pch_count_object, ggc_pch_total_size) | |
5336 | (ggc_pch_this_base, ggc_pch_alloc_object, ggc_pch_prepare_write) | |
5337 | (ggc_pch_write_object, ggc_pch_finish, ggc_pch_read) | |
5338 | (ggc_force_collect, ggc_get_size, ggc_statistics) | |
5339 | (ggc_print_common_statistics): Move to ggc-internal.h. | |
5340 | (digit_vector, new_ggc_zone, destroy_ggc_zone, ggc_alloc_stat) | |
5341 | (ggc_alloc, ggc_alloc_cleared, ggc_realloc, ggc_calloc, GGC_NEW) | |
5342 | (GGC_CNEW, GGC_NEWVEC, GGC_CNEWVEC, GGC_NEWVAR, ggc_alloc_rtvec) | |
5343 | (ggc_alloc_tree, gt_pch_save, ggc_min_expand_heuristic) | |
5344 | (ggc_min_heapsize_heuristic, ggc_alloc_zone) | |
5345 | (ggc_alloc_zone_pass_stat): Remove. | |
5346 | (ggc_internal_alloc_stat, ggc_internal_alloc) | |
5347 | (ggc_internal_cleared_alloc_stat): New. | |
5348 | (GGC_RESIZEVEC, GGC_RESIZEVAR): Redefine. | |
5349 | (ggc_internal_vec_alloc_stat) | |
5350 | (ggc_internal_cleared_vec_alloc_stat) | |
5351 | (ggc_internal_vec_alloc_stat, ggc_internal_cleared_vec_alloc) | |
5352 | (ggc_alloc_atomic_stat, ggc_alloc_atomic) | |
5353 | (ggc_alloc_cleared_atomic, ggc_cleared_alloc_htab_ignore_args) | |
5354 | (ggc_cleared_alloc_ptr_array_two_args): New. | |
5355 | (htab_create_ggc, splay_tree_new_ggc): Redefine. | |
5356 | (ggc_splay_alloc): Change the type of the first argument to | |
5357 | enum gt_types_enum. | |
5358 | (ggc_alloc_string): Make macro. | |
5359 | (ggc_alloc_string_stat): New. | |
5360 | (ggc_strdup): Redefine. | |
5361 | (rtl_zone, tree_zone, tree_id_zone): Declare unconditionally. | |
5362 | (ggc_alloc_rtvec_sized): New. | |
5363 | (ggc_alloc_zone_stat): Rename to ggc_internal_alloc_zone_stat. | |
5364 | (ggc_internal_alloc_zone_pass_stat, ggc_internal_alloc_zone_stat) | |
5365 | (ggc_internal_cleared_alloc_zone_stat) | |
5366 | (ggc_internal_zone_alloc_stat) | |
5367 | (ggc_internal_zone_cleared_alloc_stat) | |
5368 | (ggc_internal_zone_vec_alloc_stat) | |
5369 | (ggc_alloc_zone_rtx_def_stat) | |
5370 | (ggc_alloc_zone_tree_node_stat) | |
5371 | (ggc_alloc_zone_cleared_tree_node_stat) | |
5372 | (ggc_alloc_cleared_gimple_statement_d_stat): New. | |
5373 | ||
5374 | * ggc-common.c: Include ggc-internal.h. | |
5375 | (ggc_internal_cleared_alloc_stat): Rename from | |
5376 | ggc_alloc_cleared_stat. | |
5377 | (ggc_realloc_stat): Use ggc_internal_alloc_stat. | |
5378 | (ggc_calloc): Remove. | |
5379 | (ggc_cleared_alloc_htab_ignore_args): New. | |
5380 | (ggc_cleared_alloc_ptr_array_two_args): New. | |
5381 | (ggc_splay_alloc): Add obj_type parameter. | |
5382 | (init_ggc_heuristics): Formatting fixes. | |
5383 | ||
5384 | * ggc-none.c: Update copyright year. | |
5385 | (ggc_alloc_stat): Rename to ggc_alloc_stat. | |
5386 | (ggc_alloc_cleared_stat): Rename to | |
5387 | ggc_internal_cleared_alloc_stat. | |
5388 | (struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New. | |
5389 | ||
5390 | * ggc-page.c: Update copyright year. Include ggc-internal.h. | |
5391 | Remove references to ggc_alloc in comments. | |
5392 | (ggc_alloc_typed_stat): Call ggc_internal_alloc_stat. | |
5393 | (ggc_alloc_stat): Rename to ggc_internal_alloc_stat. | |
5394 | (new_ggc_zone, destroy_ggc_zone): Remove. | |
5395 | (struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New. | |
5396 | ||
5397 | * ggc-zone.c: Include ggc-internal.h. Remove references to | |
5398 | ggc_alloc in comments. | |
5399 | (ggc_alloc_zone_stat): ggc_internal_alloc_zone_stat. | |
5400 | (ggc_internal_alloc_zone_pass_stat): New. | |
5401 | (ggc_internal_cleared_alloc_zone_stat): New. | |
5402 | (ggc_alloc_typed_stat): Use ggc_internal_alloc_zone_pass_stat. | |
5403 | (ggc_alloc_stat): Rename ggc_internal_alloc_stat. | |
5404 | (new_ggc_zone, destroy_ggc_zone): Remove. | |
5405 | ||
5406 | * stringpool.c: Update copyright year. Include ggc-internal.h | |
5407 | (digit_vector): Make static. | |
5408 | (digit_string): Moved from ggc.h. | |
5409 | (stringpool_ggc_alloc): Use ggc_alloc_atomic. | |
5410 | (ggc_alloc_string): Rename to ggc_alloc_string_stat. | |
5411 | ||
5412 | * Makefile.in (GGC_INTERNAL_H): New. | |
5413 | (ggc_common.o, ggc-page.o, ggc-zone.o, stringpool.o): Add | |
5414 | $(GGC_INTERNAL_H) to dependencies. | |
5415 | ||
5416 | * gentype.c: Update copyright year. | |
5417 | (walk_type): Accept variable_size GTY option. | |
5418 | (USED_BY_TYPED_GC_P): New macro. | |
5419 | (write_enum_defn): Use USED_BY_TYPED_GC_P. Do not output | |
5420 | whitespace at the end of strings. | |
5421 | (get_type_specifier, variable_size_p): New functions. | |
5422 | (alloc_quantity, alloc_zone): New enums. | |
5423 | (write_typed_alloc_def): New function. | |
5424 | (write_typed_struct_alloc_def): Likewise. | |
5425 | (write_typed_typed_typedef_alloc_def): Likewise. | |
5426 | (write_typed_alloc_defns): Likewise. | |
5427 | (output_typename, write_splay_tree_allocator_def): Likewise. | |
5428 | (write_splay_tree_allocators): Likewise. | |
5429 | (main): Call write_typed_alloc_defns and | |
5430 | write_splay_tree_allocators. | |
5431 | ||
5432 | * lto-streamer.h (lto_file_decl_data_ptr): New. | |
5433 | ||
5434 | * passes.c (order): Define using cgraph_node_ptr. | |
5435 | ||
5436 | * strinpool.c (struct string_pool_data): Declare nested_ptr using | |
5437 | ht_identifier_ptr. | |
5438 | ||
5439 | * gimple.h (union gimple_statement_d): Likewise. | |
5440 | ||
5441 | * rtl.h (struct rtx_def): Likewise. | |
5442 | (struct rtvec_def): Likewise. | |
5443 | ||
5444 | * tree.h (union tree_node): Likewise. | |
5445 | ||
5446 | * tree-ssa-operands.h (struct ssa_operand_memory_d): Likewise. | |
5447 | ||
5448 | * cfgloop.c (record_loop_exits): Use htab_create_ggc. | |
5449 | ||
5450 | * tree-scalar-evolution.c (scev_initialize): Likewise. | |
5451 | ||
5452 | * alias.c (record_alias_subset): Update splay_tree_new_ggc call. | |
5453 | ||
5454 | * dwarf2asm.c (dw2_force_const_mem): Likewise. | |
5455 | ||
5456 | * omp-low.c (lower_omp_critical): Likewise. | |
5457 | ||
5458 | * bitmap.h (struct bitmap_head_def): Update comment to not | |
5459 | reference ggc_alloc. | |
5460 | ||
5461 | * config/pa/pa.c (get_deferred_label): Use GGC_RESIZEVEC. | |
5462 | ||
5463 | * ira.c (fix_reg_equiv_init): Use GGC_RESIZEVEC. | |
5464 | ||
5465 | * ipa-prop.c (duplicate_ggc_array): Rename to | |
5466 | duplicate_ipa_jump_func_array. Use typed GC allocation. | |
5467 | (ipa_edge_duplication_hook): Call duplicate_ipa_jump_func_array. | |
5468 | ||
5469 | * gimple.c (gimple_alloc_stat): Use | |
5470 | ggc_alloc_cleared_gimple_statement_d_stat. | |
5471 | ||
5472 | * varasm.c (create_block_symbol): Use ggc_alloc_zone_rtx_def. | |
5473 | ||
5474 | * tree.c (make_node_stat): Use | |
5475 | ggc_alloc_zone_cleared_tree_node_stat. | |
5476 | (make_tree_vec_stat): Likewise. | |
5477 | (build_vl_exp_stat): Likewise. | |
5478 | (copy_node_stat): Use ggc_alloc_zone_tree_node_stat. | |
5479 | (make_tree_binfo_stat): Likewise. | |
5480 | (tree_cons_stat): Likewise. | |
5481 | ||
5482 | * rtl.c (rtx_alloc_stat): Use ggc_alloc_zone_rtx_def_stat. | |
5483 | (shallow_copy_rtx_stat): Likewise. | |
5484 | (make_node_stat): Likewise. | |
5485 | ||
5486 | * lto-symtab.c: Fix comment. | |
5487 | ||
5488 | * tree-cfg.c (create_bb): Update comment to not reference | |
5489 | ggc_alloc_cleared. | |
7c4b97f4 | 5490 | * tree-ssa-structalias.c (struct heapvar_for_stmt): Fix param_is value. |
ba72912a | 5491 | |
5492 | * varpool.c (varpool_node): Use typed GC allocation. | |
5493 | (varpool_extra_name_alias): Likewise. | |
5494 | ||
5495 | * varasm.c (emutls_decl): Likewise. | |
5496 | (get_unnamed_section): Likewise. | |
5497 | (get_noswitch_section): Likewise. | |
5498 | (get_section): Likewise. | |
5499 | (get_block_for_section): Likewise. | |
5500 | (build_constant_desc): Likewise. | |
5501 | (create_constant_pool): Likewise. | |
5502 | (force_const_mem): Likewise. | |
5503 | ||
5504 | * tree.c (build_vl_exp_stat): Likewise. | |
5505 | (build_real): Likewise. | |
5506 | (build_string): Likewise. | |
5507 | (decl_debug_expr_insert): Likewise. | |
5508 | (decl_value_expr_insert): Likewise. | |
5509 | (type_hash_add): Likewise. | |
5510 | (build_omp_clause): Likewise. | |
5511 | ||
5512 | * tree-ssanames.c (duplicate_ssa_name_ptr_info): Likewise. | |
5513 | ||
5514 | * tree-ssa.c (init_tree_ssa): Likewise. | |
5515 | ||
5516 | * tree-ssa-structalias.c (heapvar_insert): Likewise. | |
5517 | ||
5518 | * tree-ssa-operands.c (ssa_operand_alloc): Likewise. | |
5519 | ||
5520 | * tree-ssa-loop-niter.c (record_estimate): Likewise. | |
5521 | ||
5522 | * tree-ssa-alias.c (get_ptr_info): Likewise. | |
5523 | ||
5524 | * tree-scalar-evolution.c (new_scev_info_str): Likewise. | |
5525 | ||
5526 | * tree-phinodes.c (allocate_phi_node): Likewise. | |
5527 | ||
5528 | * tree-iterator.c (tsi_link_before): Likewise. | |
5529 | (tsi_link_after): Likewise. | |
5530 | ||
5531 | * tree-eh.c (add_stmt_to_eh_lp_fn): Likewise. | |
5532 | ||
5533 | * tree-dfa.c (create_var_ann): Likewise. | |
5534 | ||
5535 | * tree-cfg.c (create_bb): Likewise. | |
5536 | ||
5537 | * toplev.c (alloc_for_identifier_to_locale): Likewise. | |
5538 | (general_init): Likewise. | |
5539 | ||
5540 | * stringpool.c (stringpool_ggc_alloc): Likewise. | |
5541 | (gt_pch_save_stringpool): Likewise. | |
5542 | ||
5543 | * sese.c (if_region_set_false_region): Likewise. | |
5544 | ||
5545 | * passes.c (do_per_function_toporder): Likewise. | |
5546 | ||
5547 | * optabs.c (set_optab_libfunc): Likewise. | |
5548 | (set_conv_libfunc): Likewise. | |
5549 | ||
5550 | * lto-symtab.c (lto_symtab_register_decl): Likewise. | |
5551 | ||
5552 | * lto-streamer-in.c (lto_input_eh_catch_list): Likewise. | |
5553 | (input_eh_region): Likewise. | |
5554 | (input_eh_lp): Likewise. | |
5555 | (make_new_block): Likewise. | |
5556 | (unpack_ts_real_cst_value_fields): Likewise. | |
5557 | ||
5558 | * lto-section-in.c (lto_new_in_decl_state): Likewise. | |
5559 | ||
5560 | * lto-cgraph.c (input_node_opt_summary): Likewise. | |
5561 | ||
5562 | * loop-init.c (loop_optimizer_init): Likewise. | |
5563 | ||
5564 | * lambda.h (lambda_vector_new): Likewise. | |
5565 | ||
5566 | * lambda-code.c (replace_uses_equiv_to_x_with_y): Likewise. | |
5567 | ||
5568 | * ira.c (update_equiv_regs): Likewise. | |
5569 | ||
5570 | * ipa.c (cgraph_node_set_new): Likewise. | |
5571 | (cgraph_node_set_add): Likewise. | |
5572 | (varpool_node_set_new): Likewise. | |
5573 | (varpool_node_set_add): Likewise. | |
5574 | ||
5575 | * ipa-prop.c (ipa_compute_jump_functions_for_edge): Likewise. | |
5576 | (duplicate_ipa_jump_func_array): Likewise. | |
5577 | (ipa_read_node_info): Likewise. | |
5578 | ||
5579 | * ipa-cp.c (ipcp_create_replace_map): Likewise. | |
5580 | ||
5581 | * integrate.c (get_hard_reg_initial_val): Likewise. | |
5582 | ||
5583 | * gimple.c (gimple_alloc_stat): Likewise. | |
5584 | (gimple_build_omp_for): Likewise. | |
5585 | (gimple_seq_alloc): Likewise. | |
5586 | (gimple_copy): Likewise. | |
5587 | ||
5588 | * gimple-iterator.c (gsi_insert_before_without_update): Likewise. | |
5589 | (gsi_insert_after_without_update): Likewise. | |
5590 | ||
5591 | * function.c (add_frame_space): Likewise. | |
5592 | (insert_temp_slot_address): Likewise. | |
5593 | (assign_stack_temp_for_type): Likewise. | |
5594 | (allocate_struct_function): Likewise. | |
5595 | (types_used_by_var_decl_insert): Likewise. | |
5596 | ||
5597 | * except.c (init_eh_for_function): Likewise. | |
5598 | (gen_eh_region): Likewise. | |
5599 | (gen_eh_region_catch): Likewise. | |
5600 | (gen_eh_landing_pad): Likewise. | |
5601 | (add_call_site): Likewise. | |
5602 | ||
5603 | * emit-rtl.c (get_mem_attrs): Likewise. | |
5604 | (get_reg_attrs): Likewise. | |
5605 | (start_sequence): Likewise. | |
5606 | (init_emit): Likewise. | |
5607 | ||
5608 | * dwarf2out.c (new_cfi): Likewise. | |
5609 | (queue_reg_save): Likewise. | |
5610 | (dwarf2out_frame_init): Likewise. | |
5611 | (new_loc_descr): Likewise. | |
5612 | (find_AT_string): Likewise. | |
5613 | (new_die): Likewise. | |
5614 | (add_var_loc_to_decl): Likewise. | |
5615 | (clone_die): Likewise. | |
5616 | (clone_as_declaration): Likewise. | |
5617 | (break_out_comdat_types): Likewise. | |
5618 | (new_loc_list): Likewise. | |
5619 | (loc_descriptor): Likewise. | |
5620 | (add_loc_descr_to_each): Likewise. | |
5621 | (add_const_value_attribute): Likewise. | |
5622 | (tree_add_const_value_attribute): Likewise. | |
5623 | (add_comp_dir_attribute): Likewise. | |
5624 | (add_name_and_src_coords_attributes): Likewise. | |
5625 | (lookup_filename): Likewise. | |
5626 | (store_vcall_insn): Likewise. | |
5627 | (dwarf2out_init): Likewise. | |
5628 | ||
5629 | * dbxout.c (dbxout_init): Likewise. | |
5630 | ||
5631 | * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise. | |
5632 | ||
5633 | * config/sparc/sparc.c (sparc_init_machine_status): Likewise. | |
5634 | ||
5635 | * config/score/score7.c (score7_output_external): Likewise. | |
5636 | ||
5637 | * config/score/score3.c (score3_output_external): Likewise. | |
5638 | ||
5639 | * config/s390/s390.c (s390_init_machine_status): Likewise. | |
5640 | ||
5641 | * config/rs6000/rs6000.c (builtin_function_type): Likewise. | |
5642 | (rs6000_init_machine_status): Likewise. | |
5643 | (output_toc): Likewise. | |
5644 | ||
5645 | * config/pa/pa.c (pa_init_machine_status): Likewise. | |
5646 | (get_deferred_plabel): Likewise. | |
5647 | ||
5648 | * config/moxie/moxie.c (moxie_init_machine_status): Likewise. | |
5649 | ||
5650 | * config/mmix/mmix.c (mmix_init_machine_status): Likewise. | |
5651 | ||
5652 | * config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise. | |
5653 | ||
5654 | * config/mep/mep.c (mep_init_machine_status): Likewise. | |
5655 | (mep_note_pragma_flag): Likewise. | |
5656 | ||
5657 | * config/m32c/m32c.c (m32c_init_machine_status): Likewise. | |
5658 | ||
5659 | * config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise. | |
5660 | ||
5661 | * config/ia64/ia64.c (ia64_init_machine_status): Likewise. | |
5662 | ||
5663 | * config/i386/winnt.c (i386_pe_record_external_function): Likewise. | |
5664 | (i386_pe_maybe_record_exported_symbol): Likewise. | |
5665 | ||
5666 | * config/i386/i386.c (get_dllimport_decl): Likewise. | |
5667 | (ix86_init_machine_status): Likewise. | |
5668 | (assign_386_stack_local): Likewise. | |
5669 | ||
5670 | * config/frv/frv.c (frv_init_machine_status): Likewise. | |
5671 | ||
5672 | * config/darwin.c (machopic_indirection_name): Likewise. | |
5673 | ||
5674 | * config/cris/cris.c (cris_init_machine_status): Likewise. | |
5675 | ||
5676 | * config/bfin/bfin.c (bfin_init_machine_status): Likewise. | |
5677 | ||
5678 | * config/avr/avr.c (avr_init_machine_status): Likewise. | |
5679 | ||
5680 | * config/arm/arm.c (arm_init_machine_status): Likewise. | |
5681 | ||
5682 | * config/alpha/alpha.c (alpha_init_machine_status): Likewise. | |
5683 | (alpha_need_linkage): Likewise. | |
5684 | (alpha_use_linkage): Likewise. | |
5685 | ||
5686 | * cgraph.c (cgraph_allocate_node): Likewise. | |
5687 | (cgraph_create_edge_1): Likewise. | |
5688 | (cgraph_create_indirect_edge): Likewise. | |
5689 | (cgraph_add_asm_node): Likewise. | |
5690 | ||
5691 | * cfgrtl.c (init_rtl_bb_info): Likewise. | |
5692 | ||
5693 | * cfgloop.c (alloc_loop): Likewise. | |
5694 | (rescan_loop_exit): Likewise. | |
5695 | ||
5696 | * cfg.c (init_flow): Likewise. | |
5697 | (alloc_block): Likewise. | |
5698 | (unchecked_make_edge): Likewise. | |
5699 | ||
5700 | * c-parser.c (c_parse_init): Likewise. | |
5701 | (c_parse_file): Likewise. | |
5702 | ||
5703 | * c-decl.c (bind): Likewise. | |
5704 | (record_inline_static): Likewise. | |
5705 | (push_scope): Likewise. | |
5706 | (make_label): Likewise. | |
5707 | (lookup_label_for_goto): Likewise. | |
5708 | (finish_struct): Likewise. | |
5709 | (finish_enum): Likewise. | |
5710 | (c_push_function_context): Likewise. | |
5711 | ||
5712 | * bitmap.c (bitmap_element_allocate): Likewise. | |
5713 | (bitmap_gc_alloc_stat): Likewise. | |
5714 | ||
5715 | * alias.c (record_alias_subset): Likewise. | |
5716 | (init_alias_analysis): Likewise. | |
5717 | ||
836045d7 | 5718 | 2010-06-08 Shujing Zhao <pearly.zhao@oracle.com> |
7c4b97f4 | 5719 | |
836045d7 | 5720 | * fold-const.c (fold_comparison): Remove redundant parenthesis. |
5721 | * tree-inline.c (expand_call_inline): Pass translated return value of | |
5722 | cgraph_inline_failed_string to diagnostic function. | |
5723 | ||
b4b21cd0 | 5724 | 2010-06-08 Andrew Pinski <pinskia@gmail.com> |
1183a806 | 5725 | Shujing Zhao <pearly.zhao@oracle.com> |
5726 | ||
5727 | PR c/37724 | |
5728 | * c-typeck.c (convert_for_assignment): Call pedwarn_init if the | |
5729 | implicit bad conversions is initialization. | |
5730 | (error_init): Use gmsgid instead of msgid for argument name and change | |
5731 | the call for error. | |
5732 | (pedwarn_init): Use gmsgid instead of msgid for argument name and | |
5733 | change the call for pedwarn. | |
5734 | (warning_init): Use gmsgid instead of msgid for argument name and | |
5735 | change the call for warning. | |
5736 | ||
b34eecde | 5737 | 2010-06-07 Nathan Froyd <froydnj@codesourcery.com> |
5738 | ||
1183a806 | 5739 | * config/mips/mips-protos.h (mips_print_operand): Delete. |
b34eecde | 5740 | (mips_print_operand_address): Delete. |
5741 | * config/mips/mips.h (mips_print_operand_punct): Delete. | |
5742 | (PRINT_OPERAND): Delete. | |
5743 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
5744 | (PRINT_OPERAND_ADDRESS): Delete. | |
5745 | * config/mips/mips.c (mips_print_operand_punct): Make static. | |
5746 | (mips_print_operand_address): Make static. | |
5747 | (mips_print_operand): Make static. Call | |
5748 | mips_print_operand_punct_valid_p. | |
5749 | (mips_print_operand_punct_valid_p): New function. | |
5750 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5751 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
5752 | ||
131d1d83 | 5753 | 2010-06-07 Jan Hubicka <jh@suse.cz> |
5754 | ||
5755 | PR middle-end/44454 | |
5756 | (df_lr_top_dump, df_lr_bottom_dump): Check that in/out bitmaps | |
5757 | are allocated. | |
5758 | ||
cbae1407 | 5759 | 2010-06-07 Kaz Kojima <kkojima@gcc.gnu.org> |
5760 | ||
5761 | * config/sh/sh.c (sh_build_builtin_va_list): Set tree type | |
5762 | name of RECORD. | |
5763 | ||
68732127 | 5764 | 2010-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5765 | ||
5766 | * doc/sourcebuild.texi (Effective-Target Keywords, Other | |
5767 | attributes): Document gas. | |
5768 | ||
eacc5e18 | 5769 | 2010-06-07 Uros Bizjak <ubizjak@gmail.com> |
5770 | ||
5771 | * config/i386/i386.md (*add<mode>_1): Remove alternative 2. | |
5772 | <TYPE_LEA>: Split instruction. | |
5773 | <default>: Remove alternative 2 handling. | |
5774 | (*addsi_1_zext) <TYPE_LEA>: Split instruction. | |
5775 | (add lea splitter): Generate SImode lea for mode sizes <= SImode. | |
5776 | (add_zext lea splitter): Use ix86_lea_for_add_ok in insn predicate. | |
5777 | ||
5778 | (*movsi_1) <TYPE_LEA>: Use %a modifier to output operand 1. | |
5779 | (ashift_zext lea splitter): Use DImode for multiplication. | |
5780 | ||
5781 | * config/i386/i386.c (ix86_expand_epilogue): Do not use ix86_gen_add | |
5782 | to generate addition. | |
5783 | ||
4aafe913 | 5784 | 2010-06-07 Joseph Myers <joseph@codesourcery.com> |
5785 | ||
5786 | * common.opt (fira-verbose): Use Var. | |
5787 | (fpcc-struct-return): Use Init instead of VarExists. | |
5788 | * defaults.h (DEFAULT_PCC_STRUCT_RETURN): Move definition from | |
5789 | toplev.c. | |
5790 | * flags.h (flag_signed_char, flag_short_enums, | |
5791 | flag_pcc_struct_return, flag_ira_verbose, | |
7c4b97f4 | 5792 | flag_detailed_statistics, flag_remove_unreachable_functions): Remove. |
4aafe913 | 5793 | * toplev.c (flag_detailed_statistics, flag_signed_char, |
eacc5e18 | 5794 | flag_short_enums, flag_pcc_struct_return, flag_ira_verbose): Remove. |
4aafe913 | 5795 | (DEFAULT_PCC_STRUCT_RETURN): Move definition to defaults.h. |
5796 | * toplev.h (flag_crossjumping, flag_if_conversion, | |
5797 | flag_if_conversion2, flag_keep_static_consts, flag_peel_loops, | |
5798 | flag_rerun_cse_after_loop, flag_thread_jumps, flag_tracer, | |
5799 | flag_unroll_loops, flag_unroll_all_loops, flag_unswitch_loops, | |
5800 | flag_cprop_registers, time_report, flag_ira_loop_pressure, | |
5801 | flag_ira_coalesce, flag_ira_move_spills, | |
5802 | flag_ira_share_save_slots, flag_ira_share_spill_slots): Remove. | |
5803 | ||
253d7fd0 | 5804 | 2010-06-07 Jan Hubicka <jh@suse.cz> |
5805 | ||
59394619 | 5806 | * df-core.c (df_analyze_problem): Do verification after allocation. |
5807 | ||
253d7fd0 | 5808 | * df-problems.c (df_lr_problem_data): Add lr_bitmaps. |
5809 | (df_lr_alloc): Initialize problem data; move bitmaps to | |
5810 | lr_bitmaps obstack. | |
5811 | (df_lr_finalize): Free problem data; do not bother to free bitmaps. | |
5812 | (df_lr_verify_solution_start): Do not initialize problem data; | |
5813 | allocate bitmaps in lr_bitmaps. | |
5814 | (df_lr_verify_solution_end): Do not free problem data. | |
5815 | ||
023a28e1 | 5816 | 2010-06-07 Jan Hubicka <jh@suse.cz> |
5817 | ||
5818 | * cgraph.c (cgraph_edge_cannot_lead_to_return): Also check | |
5819 | if caller is noreturn. | |
5820 | * ipa-reference.c (analyze_function): Use ipa_ref_cannot_lead_to_return | |
5821 | * ipa-ref.h (ipa_ref_cannot_lead_to_return): New function. | |
5822 | * ipa-ref.c (ipa_ref_cannot_lead_to_return): New function. | |
5823 | * ipa-pure-const.c (check_decl): Add IPA parameter. | |
5824 | (state_from_flags): New function. | |
5825 | (better_state, worse_state): New functions. | |
5826 | (check_call): When in IPA mode, do not care about callees. | |
5827 | (check_load, check_store): Update. | |
5828 | (check_ipa_load, check_ipa_store): New. | |
5829 | (check_stmt): When in IPA mode, use IPA checkers. | |
5830 | (analyze_function): Use state_from_flags. | |
5831 | (propagate): Check indirect edges and references. | |
5832 | ||
6a9a9da8 | 5833 | 2010-06-07 Kazu Hirata <kazu@codesourcery.com> |
5834 | ||
5835 | PR rtl-optimization/44404 | |
5836 | * auto-inc-dec.c (find_inc): Use reg_overlap_mentioned_p instead | |
7c4b97f4 | 5837 | of count_occurrences to see if it's safe to modify mem_insn. |
6a9a9da8 | 5838 | |
eb1b7c50 | 5839 | 2010-06-07 Richard Guenther <rguenther@suse.de> |
5840 | ||
5841 | * gimplify.c (gimplify_cleanup_point_expr): For empty body | |
5842 | and EH-only cleanup drop the cleanup instead of inserting it | |
5843 | unconditionally. | |
5844 | ||
559093aa | 5845 | 2010-06-07 Ira Rosen <irar@il.ibm.com> |
5846 | ||
5847 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Update | |
5848 | documentation. | |
5849 | * targhooks.c (default_builtin_vectorization_cost): New function. | |
5850 | * targhooks.h (default_builtin_vectorization_cost): Declare. | |
5851 | * target.h (enum vect_cost_for_stmt): Define. | |
5852 | (builtin_vectorization_cost): Change argument and comment. | |
5853 | * tree-vectorizer.h: Remove cost model macros. | |
5854 | * tree-vect-loop.c: Include target.h. | |
5855 | (vect_get_cost): New function. | |
5856 | (vect_estimate_min_profitable_iters): Replace cost model macros with | |
5857 | calls to vect_get_cost. | |
5858 | (vect_model_reduction_cost, vect_model_induction_cost): Likewise. | |
5859 | * target-def.h (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Add | |
5860 | default implementation. | |
5861 | * tree-vect-stmts.c (cost_for_stmt): Replace cost model macros with | |
5862 | calls to target hook builtin_vectorization_cost. | |
5863 | (vect_model_simple_cost, vect_model_store_cost, vect_model_load_cost): | |
5864 | Likewise. | |
5865 | * Makefile.in (tree-vect-loop.o): Add dependency on TARGET_H. | |
5866 | * config/spu/spu.c (spu_builtin_vectorization_cost): Replace with new | |
5867 | implementation to return costs. | |
5868 | * config/i386/i386.c (ix86_builtin_vectorization_cost): Likewise. | |
5869 | * config/spu/spu.h: Remove vectorizer cost model macros. | |
5870 | * config/i386/i386.h: Likewise. | |
5871 | * tree-vect-slp.c (vect_build_slp_tree): Replace cost model macro with | |
5872 | a call to target hook builtin_vectorization_cost. | |
5873 | ||
7c64ac08 | 5874 | 2010-06-06 Sriraman Tallam <tmsriram@google.com> |
5875 | ||
5876 | PR target/44319 | |
5877 | * config/i386/i386.c (override_options): Turn zee pass on for level 2 | |
5878 | and above and defer till target is known. | |
5879 | (optimization_options): Turn on zee pass if TARGET_64BIT is set and | |
5880 | turn off otherwise. | |
eacc5e18 | 5881 | |
4b5a4301 | 5882 | 2010-05-25 Jan Hubicka <jh@suse.cz> |
5883 | ||
5884 | * df-core.c (df_set_blocks): Use bitmap_head instead of bitmap. | |
5885 | (df_compact_blocks): Likewise. | |
5886 | * df.h (struct df): Turn hardware_regs_used, | |
5887 | regular_block_artificial_uses, eh_block_artificial_uses, | |
5888 | insns_to_delete, insns_to_rescan, insns_to_notes_rescan into | |
5889 | bitmap_head. | |
5890 | * df-problems.c (df_lr_local_compute, df_lr_confluence_0, | |
5891 | df_byte_lr_alloc, df_simulate_fixup_sets): Update. | |
5892 | * df-scan.c (df_scan_free_internal, df_scan_alloc, df_scan_start_dump, | |
5893 | df_scan_blocks, df_insn_delete, df_insn_rescan, | |
5894 | df_insn_rescan_debug_internal, df_insn_rescan_all, | |
5895 | df_process_deferred_rescans, df_process_deferred_rescans, | |
5896 | df_notes_rescan, df_get_call_refs, df_get_call_refs, | |
5897 | regs_invalidated_by_call_regset, df_get_call_refs, df_bb_refs_collect, | |
5898 | df_record_entry_block_defs, df_record_exit_block_uses, | |
5899 | df_update_exit_block_uses, df_bb_verify, df_entry_block_bitmap_verify, | |
5900 | df_scan_verify): Update. | |
5901 | ||
a8891ab1 | 5902 | 2010-05-25 Dodji Seketeli <dodji@redhat.com> |
5903 | ||
5904 | PR c++/44188 | |
5905 | * c-common.c (is_typedef_decl): Move this definition ... | |
5906 | * tree.c (is_typedef_decl): ... here. | |
5907 | (typdef_variant_p): Move definition here from gcc/cp/tree.c. | |
5908 | * c-common.h (is_typedef_decl): Move this declaration ... | |
5909 | * tree.h (is_typedef_decl): ... here. | |
5910 | (typedef_variant_p): Move declaration here from gcc/cp/cp-tree.h | |
5911 | * dwarf2out.c (is_naming_typedef_decl): New function. | |
5912 | (gen_tagged_type_die): Split out of ... | |
5913 | (gen_type_die_with_usage): ... this function. When an anonymous | |
5914 | tagged type is named by a typedef, make sure a DW_TAG_typedef DIE | |
5915 | is emitted for the typedef. | |
5916 | (gen_typedef_die): Emit DW_TAG_typedef also for typedefs naming | |
5917 | anonymous tagged types. | |
5918 | ||
c0c1d342 | 5919 | 2010-06-06 Manuel López-Ibáñez <manu@gcc.gnu.org> |
5920 | ||
5921 | PR c/20000 | |
eacc5e18 | 5922 | * c-decl.c (grokdeclarator): Delete warning. |
c0c1d342 | 5923 | |
fdc47e9a | 5924 | 2010-06-06 Eric Botcazou <ebotcazou@adacore.com> |
5925 | ||
5926 | * stor-layout.c (self_referential_size): Set UNKNOWN_LOCATION on the | |
5927 | newly built CALL_EXPR. | |
11a54b70 | 5928 | * tree-profile.c (tree_profiling): Don't profile functions produced |
5929 | for built-in stuff. | |
fdc47e9a | 5930 | |
0fd21c35 | 5931 | 2010-06-06 Segher Boessenkool <segher@kernel.crashing.org> |
5932 | ||
5933 | PR bootstrap/44427 | |
5934 | PR bootstrap/44428 | |
6e02e920 | 5935 | * genautomata.c (SET_BIT, CLEAR_BIT, TEST_BIT): Make these macros |
0fd21c35 | 5936 | endianness-independent. |
5937 | ||
7bedc3a0 | 5938 | 2010-06-05 Steven Bosscher <steven@gcc.gnu.org> |
5939 | ||
5940 | * c-common.c: Move to c-family/. | |
5941 | * c-common.def: Likewise. | |
5942 | * c-common.h: Likewise. | |
5943 | * c-cppbuiltin.c: Likewise. | |
5944 | * c-dump.c: Likewise. | |
5945 | * c-format.c: Likewise. | |
5946 | * c-format.h : Likewise. | |
5947 | * c-gimplify.c: Likewise. | |
5948 | * c-lex.c: Likewise. | |
5949 | * c-omp.c: Likewise. | |
5950 | * c.opt: Likewise. | |
5951 | * c-opts.c: Likewise. | |
5952 | * c-pch.c: Likewise. | |
5953 | * c-ppoutput.c: Likewise. | |
5954 | * c-pragma.c: Likewise. | |
5955 | * c-pragma.h: Likewise. | |
5956 | * c-pretty-print.c: Likewise. | |
5957 | * c-pretty-print.h: Likewise. | |
5958 | * c-semantics.c: Likewise. | |
5959 | * stub-objc.c: Likewise. | |
5960 | ||
5961 | * gengtype.c (get_file_langdir): Special-case files in c-family/. | |
5962 | (get_output_file_with_visibility): Fix name for c-common.h. | |
5963 | * c-config-lang.in: Update paths in gtfiles for files in c-family/. | |
5964 | ||
5965 | * c-tree.h: Update include path for moved files. | |
5966 | * c-lang.c: Likewise. | |
5967 | * c-lang.h: Likewise. | |
5968 | * c-parser.c: Likewise. | |
5969 | * c-convert.c: Likewise. | |
5970 | * c-decl.c: Likewise. | |
5971 | * c-objc-common.c: Likewise. | |
5972 | * configure.ac: Make sure c-family/ exists in the build directory. | |
5973 | * configure: Regenerate. | |
5974 | * Makefile.in: Update paths for moved files. Regroup files per | |
5975 | location and update dependencies. Move generated_files down after | |
5976 | ALL_GTFILES_H. | |
5977 | ||
5978 | * config/spu/spu-c.c: Update paths for moved files. | |
5979 | * config/mep/mep-pragma.c: Likewise. | |
5980 | * config/darwin-c.c: Likewise. | |
5981 | * config/i386/msformat-c.c: Likewise. | |
5982 | * config/i386/i386-c.c: Likewise. | |
5983 | * config/avr/avr-c.c: Likewise. | |
5984 | * config/sol2-c.c: Likewise. | |
5985 | * config/ia64/ia64-c.c: Likewise. | |
5986 | * config/rs6000/rs6000-c.c: Likewise. | |
5987 | * config/arm/arm.c: Likewise. | |
5988 | * config/arm/arm-c.c: Likewise. | |
5989 | * config/h8300/h8300.c: Likewise. | |
5990 | * config/v850/v850-c.c: Likewise. | |
5991 | ||
5992 | * config/t-darwin: Fix dependencies for moved files. | |
5993 | * config/t-sol2: Fix dependencies for moved files. | |
5994 | * config/mep/t-mep: Fix dependencies for moved files. | |
5995 | * config/ia64/t-ia64: Fix dependencies for moved files. | |
5996 | * config/rs6000/t-rs6000: Fix dependencies for moved files. | |
5997 | * config/v850/t-v850: Fix dependencies for moved files. | |
5998 | * config/v850/t-v850e: Fix dependencies for moved files. | |
5999 | ||
6000 | * config/m32c/m32c-pragma.c | |
6001 | ||
6002 | * po/exgettext: Look in c-family/ also. | |
6003 | ||
fce11f6d | 6004 | 2010-06-05 Eric Botcazou <ebotcazou@adacore.com> |
6005 | ||
6006 | * tree-ssa-dce.c (mark_last_stmt_necessary): New function. | |
6007 | (mark_control_dependent_edges_necessary): Call it instead of marking | |
6008 | the last statement manually. | |
6009 | (propagate_necessity): Likewise. | |
6010 | ||
8a2980be | 6011 | 2010-06-05 Jan Hubicka <jh@suse.cz> |
6012 | ||
8410d719 | 6013 | * basic-block.h (compute_dominance_frontiers): Updated. |
6014 | (compute_idf): Likewise. | |
6015 | ||
8a2980be | 6016 | * tree-into-ssa.c (insert_phi_nodes): Use bitmap heads |
6017 | for dominance frontiers. | |
7c4b97f4 | 6018 | (rewrite_into_ssa): Update for bitmap heads in dominance frontiers. |
8a2980be | 6019 | (insert_updated_phi_nodes_for): Likewise. |
6020 | (update_ssa): Likewise. | |
6021 | * cfganal.c (compute_dominance_frontiers_1): Likewise. | |
6022 | (compute_dominance_frontiers): Likewise. | |
6023 | (compute_idf): Likewise. | |
6024 | * df-problems.c (df_md_local_compute): Likewise. | |
6025 | ||
251a613e | 6026 | 2010-06-05 Anatoly Sokolov <aesok@post.ru> |
6027 | ||
6028 | * target.h (struct gcc_target): Add memory_move_cost field. | |
6029 | * target-def.h (TARGET_MEMORY_MOVE_COST): New. | |
6030 | (TARGET_INITIALIZER): Use TARGET_MEMORY_MOVE_COST. | |
6031 | * targhooks.c (default_memory_move_cost): New function. | |
6032 | * targhooks.h (default_memory_move_cost): Declare function. | |
6033 | * reload.h (memory_move_cost): Declare. | |
6034 | (memory_move_secondary_cost): Change type of 'in' argument to bool. | |
6035 | * reginfo.c (memory_move_cost): New function. | |
6036 | (memory_move_secondary_cost): Change type of 'in' argument to bool. | |
6037 | * ira.h (ira_memory_move_cost): Update comment. | |
6038 | * ira.c: (ira_memory_move_cost): Update comment. | |
6039 | (setup_class_subset_and_memory_move_costs): Replace MEMORY_MOVE_COST | |
6040 | with memory_move_cost. | |
6041 | * postreload.c (reload_cse_simplify_set): (Ditto.). | |
6042 | * reload1.c (choose_reload_regs): (Ditto.). | |
6043 | * doc/tm.texi (TARGET_MEMORY_MOVE_COST): New. | |
6044 | (MEMORY_MOVE_COST): Revise documentation. | |
6045 | ||
6046 | * config/i386/i386.h (MEMORY_MOVE_COST): Remove macro. | |
6047 | * config/i386/i386-protos.h (int ix86_memory_move_cost): Remove. | |
6048 | * config/i386/i386.h (ix86_memory_move_cost): Make static. Change | |
6049 | type of 'in' argument to bool. | |
6050 | (TARGET_MEMORY_MOVE_COST): Define. | |
6051 | ||
4c170941 | 6052 | 2010-06-05 Jan Hubicka <jh@suse.cz> |
6053 | ||
fce11f6d | 6054 | * ipa-pure-const.c (propagate): Fix typo in handling of functions |
6055 | that cannot return. Be more careful when merging the results with | |
6056 | previously known ones. | |
4c170941 | 6057 | |
d6bff3e6 | 6058 | 2010-06-05 Matthias Klose <doko@ubuntu.com> |
6059 | ||
6060 | * gcc.c (cc1_options, cpp_unique_options): Use find-plugindir spec | |
6061 | function to add the -iplugindir option. | |
6062 | (find_plugindir_spec_function): Add new declaration and function. | |
6063 | (static_spec_func): Use it for "find-plugindir". | |
6064 | ||
062966c1 | 6065 | 2010-06-05 Jakub Jelinek <jakub@redhat.com> |
6066 | ||
6067 | PR c++/44361 | |
6068 | * c-typeck.c (mark_exp_read): Handle C_MAYBE_CONST_EXPR. | |
6069 | * c-parser.c (c_parser_postfix_expression): Call mark_exp_read on | |
6070 | statement expression. | |
6071 | ||
b45fbda0 | 6072 | 2010-06-05 Jan Hubicka <jh@suse.cz> |
6073 | ||
6074 | * df-problems.c (seen_in_block, seen_in_insn): Convert to bitmap_head. | |
6075 | (df_rd_problem_data): Convert sparse_invalidated_by_call, | |
6076 | dense_invalidated_by_call to bitmap head. | |
6077 | (df_rd_alloc, df_rd_bb_local_compute_process_def, | |
6078 | df_rd_bb_local_compute, df_rd_confluence_n, df_rd_transfer_function, | |
6079 | df_rd_start_dump, df_lr_verify_transfer_functions, | |
6080 | df_live_verify_transfer_functions, df_chain_create_bb, | |
6081 | df_chain_add_problem, df_byte_lr_check_regs, df_byte_lr_alloc, | |
6082 | df_byte_lr_confluence_0, df_byte_lr_confluence_n, df_note_compute, | |
15eaffb0 | 6083 | df_simulate_one_insn_forwards, df_md_alloc, |
6084 | df_md_bb_local_compute_process_def, | |
6085 | df_md_bb_local_compute_process_def, df_md_local_compute, | |
6086 | df_md_transfer_function df_md_free): Update. | |
b45fbda0 | 6087 | |
51e25433 | 6088 | 2010-06-05 Joseph Myers <joseph@codesourcery.com> |
6089 | ||
6090 | PR c/44322 | |
6091 | * c-typeck.c (build_unary_op): Merge qualifiers into pointer | |
6092 | target type for ADDR_EXPR; require no changes to qualifiers except | |
6093 | for function types. | |
6094 | * c-tree.h (c_build_type_variant): Remove. | |
6095 | ||
79be33d4 | 6096 | 2010-06-05 Segher Boessenkool <segher@kernel.crashing.org> |
6097 | ||
15eaffb0 | 6098 | * genautomata.c (get_excl_set): Do work per element, not per char. |
79be33d4 | 6099 | (check_presence_pattern_sets): Similar. |
6100 | (check_absence_pattern_sets): Similar. | |
6101 | ||
4618c188 | 6102 | 2010-06-05 Segher Boessenkool <segher@kernel.crashing.org> |
6103 | ||
6104 | * genautomata.c (curr_state_pass_num): Delete. | |
6105 | (min_issue_delay_pass_states): Delete. | |
6106 | (min_issue_delay): Delete. | |
6107 | (initiate_min_issue_delay_pass_states): Delete. | |
6108 | (output_min_issue_delay_table): Compute min_issue_delay_vect | |
6109 | using a breadth-first search variant. | |
6110 | (output_tables): Don't call initiate_min_issue_delay_pass_states. | |
6111 | ||
ebf6596d | 6112 | 2010-06-04 H.J. Lu <hongjiu.lu@intel.com> |
6113 | ||
6114 | PR boostrap/44421 | |
eacc5e18 | 6115 | * df-problems.c (df_lr_bb_local_compute): Updated for embedded bitmaps. |
ebf6596d | 6116 | (df_byte_lr_bb_local_compute): Likewise. |
6117 | ||
98fe9664 | 6118 | 2010-06-03 Jason Merrill <jason@redhat.com> |
6119 | ||
6120 | Implement noexcept operator (5.3.7) | |
6121 | * c-common.c (c_common_reswords): Add noexcept. | |
6122 | * c-common.h (enum rid): Add RID_NOEXCEPT. | |
6123 | ||
a8c464ac | 6124 | 2010-06-04 Joseph Myers <joseph@codesourcery.com> |
6125 | ||
6126 | * config/darwin-driver.c (darwin_default_min_version): Use | |
3c932db8 | 6127 | GCC-specific formats in diagnostics. |
a8c464ac | 6128 | * cppspec.c (lang_specific_driver): Use GCC-specific formats in |
6129 | diagnostics. | |
6130 | * gcc.c (translate_options, read_specs, add_sysrooted_prefix, | |
6131 | execute, process_command, end_going_arg, do_self_spec, do_spec_1, | |
6132 | eval_spec_function, handle_braces, process_brace_body, main, | |
6133 | perror_with_name, used_arg, set_multilib_dir, print_multilib_info, | |
6134 | getenv_spec_function, compare_version_strings, | |
6135 | version_compare_spec_function): Use GCC-specific formats in | |
6136 | diagnostics. | |
6137 | ||
347edd95 | 6138 | 2010-06-04 Uros Bizjak <ubizjak@gmail.com> |
6139 | ||
6140 | * config/i386/i386.md (*addhi_1_lea) <TYPE_INCDEC, default>: Assert | |
6141 | that operand 0 and operand 1 are equal. | |
6142 | (*addqi_1_lea) <TYPE_INCDEC, default>: Ditto. | |
6143 | (*add<mode>_2) <TYPE_INCDEC>: Remove assert that operand 0 | |
6144 | and operand 1 are equal. | |
eacc5e18 | 6145 | <default>: Ditto. Remove ??? comment. |
347edd95 | 6146 | (*add<mode>_3) <TYPE_INCDEC>: Remove assert that operand 0 |
6147 | and operand 1 are equal. | |
eacc5e18 | 6148 | <default>: Ditto. Remove ??? comment. |
6149 | (*adddi_4) <default>: Remove assert that operand 0 and operand 1 | |
347edd95 | 6150 | are equal. |
6151 | (*add<mode>_4) <default>: Ditto. | |
6152 | (*add<mode>_5) <TYPE_INCDEC, default>: Ditto. | |
6153 | ||
99b6f860 | 6154 | 2010-06-04 Nathan Froyd <froydnj@codesourcery.com> |
6155 | ||
6156 | * config/i386/i386-protos.h (ix86_print_operand): Declare. | |
6157 | * config/i386/i386.c (ix86_print_operand): Make non-static. | |
6158 | * config/i386/sol2.h (ASM_OUTPUT_CALL): Call ix86_print_operand. | |
6159 | * output.h (output_operand): Declare. | |
6160 | * final.c (output_operand): Make non-static. | |
6161 | ||
685ead0b | 6162 | 2010-06-04 Alexandre Oliva <aoliva@redhat.com> |
6163 | ||
3e0431fe | 6164 | PR rtl-optimization/44013 |
6165 | * sched-deps.c (add_dependence_list_and_free): Don't free lists | |
6166 | when processing debug insns. | |
6167 | ||
685ead0b | 6168 | PR debug/41371 |
6169 | * var-tracking.c (find_loc_in_1pdv): Mark initial value before | |
6170 | recursing. Check that recursion is bounded. Rename inner var | |
6171 | to avoid hiding incoming argument. | |
6172 | ||
6f8be845 | 6173 | 2010-06-04 Uros Bizjak <ubizjak@gmail.com> |
6174 | ||
347edd95 | 6175 | * config/i386/i386.md (*addqi_2) <TYPE_INCDEC>: Do not assert that |
6176 | operands[2] == 255. | |
6f8be845 | 6177 | (*addqi_3): Ditto. |
6178 | (*addqi_4): Ditto. | |
6179 | (*addqi_5): Ditto. | |
6180 | (*addqi_ext_1_rex64): Ditto. | |
6181 | (*addqi_ext_1): Ditto. | |
6182 | ||
6183 | (*addqi_4): Check for incdec_operand in QImode. | |
6184 | ||
6185 | (*add<mode>_2): Macroize insn from *add<mode>_2 and *add{qi,hi}_2 | |
6186 | using SWI mode iterator. | |
6187 | (*add<mode>_3): Ditto from *add<mode>_3 and *add{qi,hi}_3. | |
6188 | (*add<mode>_4): Macroize insn from *add{qi,hi,si}_4 using SWI124 | |
6189 | mode iterator. | |
6190 | (*add<mode>_5): Macroize insn from *add<mode>_5 and *add{qi,hi}_5 | |
6191 | using SWI mode iterator. | |
6192 | ||
754eb2f5 | 6193 | 2010-06-04 Manuel López-Ibáñez <manu@gcc.gnu.org> |
6194 | ||
6195 | PR c/25880 | |
6196 | * c-objc-common.c (c_tree_printer): Handle %V, %v and %#v. | |
6197 | * c-format.c (gcc_diag_flag_specs): Add hash. | |
6198 | (gcc_cxxdiag_flag_specs): Use gcc_diag_flag_specs directly. | |
6199 | (gcc_tdiag_char_table,gcc_cdiag_char_table): Handle %V and %v. | |
6200 | * c-pretty-print.c (pp_c_cv_qualifier): Rename as | |
6201 | pp_c_cv_qualifiers. Handle qualifiers spelling here. | |
6202 | (pp_c_type_qualifier_list): Call the function above. | |
6203 | * c-pretty-print.h (pp_c_cv_qualifiers): Declare. | |
6204 | * c-typeck.c (handle_warn_cast_qual): Print qualifiers. | |
6205 | (WARN_FOR_QUALIFIERS): New macro. | |
6206 | (convert_for_assignment): Use it. | |
6207 | ||
f7656ceb | 6208 | 2010-06-04 Kai Tietz <kai.tietz@onevision.com> |
6209 | ||
6f8be845 | 6210 | * config/i386/cygming.h (ASM_GENERATE_INTERNAL_LABEL): Prefix by '*'. |
f7656ceb | 6211 | |
f53d14b1 | 6212 | 2010-06-04 Jan Hubicka <jh@suse.cz> |
6213 | ||
6214 | * df.h (df_rd_bb_info, df_md_bb_info, df_lr_bb_info, df_live_bb_info, | |
6215 | df_byte_lr_bb_info): Embedd bitmap_head into the structure. | |
6216 | (DF_LIVE_IN, DF_LIVE_OUT, DF_LR_IN, DF_LR_OUT, DF_BYTE_LR_IN, | |
6217 | DF_BYTE_LR_OUT): Update for embedded bitmaps. | |
6218 | * fwprop.c (single_def_use_enter_block): Likewise. | |
6219 | * ddg.c (create_ddg_dep_from_intra_loop_link, | |
6220 | add_cross_iteration_register_deps, build_inter_loop_deps): Likewise. | |
6221 | * loop-iv.c (latch_dominating_def): Likewise. | |
6222 | * df-problems.c (df_rd_free_bb_info, df_rd_alloc, | |
6223 | df_rd_bb_local_compute_process_def, df_rd_bb_local_compute_process_def, | |
6224 | df_rd_init_solution, df_rd_init_solution, df_rd_transfer_function, | |
6225 | df_rd_transfer_function, df_rd_top_dump, | |
6226 | df_rd_bottom_dump): Update. | |
6227 | (df_lr_free_bb_info, df_lr_alloc, df_lr_reset, df_lr_bb_local_compute, | |
6228 | df_lr_bb_local_compute, df_lr_bb_local_compute, df_lr_bb_local_compute, | |
6229 | df_lr_bb_local_compute, df_lr_local_compute, df_lr_init, df_lr_init, | |
6230 | df_lr_confluence_0, df_lr_free, df_lr_top_dump, df_lr_bottom_dump, | |
6231 | df_lr_verify_solution_start, df_lr_verify_solution_end, | |
6232 | df_lr_verify_transfer_functions, df_lr_verify_transfer_functions, | |
6233 | df_live_free_bb_info, df_live_alloc, df_live_reset, | |
6234 | df_live_bb_local_compute, df_live_init, df_live_transfer_function, | |
6235 | df_live_finalize, df_live_free, df_live_top_dump, df_live_bottom_dump, | |
6236 | df_live_verify_solution_start, df_live_verify_solution_end, | |
6237 | df_live_verify_transfer_functions, df_chain_create_bb, | |
6238 | df_byte_lr_free_bb_info, df_byte_lr_alloc, df_byte_lr_reset, | |
6239 | df_byte_lr_bb_local_compute, df_byte_lr_bb_local_compute, | |
6240 | df_byte_lr_bb_local_compute, df_byte_lr_bb_local_compute, | |
6241 | df_byte_lr_bb_local_compute, df_byte_lr_local_compute, df_byte_lr_init, | |
6242 | df_byte_lr_confluence_0, df_byte_lr_confluence_n, | |
6243 | df_byte_lr_transfer_function, df_byte_lr_top_dump, | |
6244 | df_byte_lr_bottom_dump, df_create_unused_note, | |
6245 | df_note_bb_compute, df_md_free_bb_info, df_md_alloc, | |
6246 | df_md_bb_local_compute_process_def, df_md_local_compute, df_md_reset, | |
6247 | df_md_transfer_function, df_md_init, df_md_confluence_0, | |
6248 | df_md_confluence_n, | |
6f8be845 | 6249 | df_md_top_dump, df_md_bottom_dump): Update. |
6250 | (struct df_lr_problem_data): Embedd bitmap headers. | |
f53d14b1 | 6251 | |
cbc39d5b | 6252 | 2010-06-04 Jan Hubicka <jh@suse.cz> |
6253 | ||
6f8be845 | 6254 | * dce.c (dce_process_block): Do not re-scan already marked |
6255 | instructions. | |
cbc39d5b | 6256 | |
4164ad58 | 6257 | 2010-06-04 Bernd Schmidt <bernds@codesourcery.com> |
6258 | ||
6259 | PR rtl-optimization/39871 | |
6260 | PR rtl-optimization/40615 | |
6261 | PR rtl-optimization/42500 | |
6262 | PR rtl-optimization/42502 | |
6263 | * ira.c (init_reg_equiv_memory_loc: New function. | |
6264 | (ira): Call it twice. | |
6265 | * reload.h (calculate_elim_costs_all_insns): Declare. | |
6266 | * ira-costs.c: Include "reload.h". | |
6267 | (regno_equiv_gains): New static variable. | |
6268 | (init_costs): Allocate it. | |
6269 | (finish_costs): Free it. | |
6270 | (ira_costs): Call calculate_elim_costs_all_insns. | |
6271 | (find_costs_and_classes): Take estimated elimination costs | |
6272 | into account. | |
6273 | (ira_adjust_equiv_reg_cost): New function. | |
6274 | * ira.h (ira_adjust_equiv_reg_cost): Declare it. | |
6275 | * reload1.c (init_eliminable_invariants, free_reg_equiv, | |
6f8be845 | 6276 | elimination_costs_in_insn, note_reg_elim_costly): New static functions. |
4164ad58 | 6277 | (elim_bb): New static variable. |
6278 | (reload): Move code out of here into init_eliminable_invariants and | |
6279 | free_reg_equiv. Call them. | |
6280 | (calculate_elim_costs_all_insns): New function. | |
6281 | (eliminate_regs_1): Declare. Add extra arg FOR_COSTS; | |
6282 | all callers changed. If FOR_COSTS is true, don't call alter_reg, | |
6283 | but call note_reg_elim_costly if we turned a valid memory address | |
6284 | into an invalid one. | |
6285 | * Makefile.in (ira-costs.o): Depend on reload.h. | |
6286 | ||
54007dc2 | 6287 | 2010-06-04 Julian Brown <julian@codesourcery.com> |
6288 | ||
6289 | * config/arm/thumb2.md (*thumb2_movdf_soft_insn): Fix alternatives | |
6290 | for pool ranges. | |
6291 | ||
fab8a209 | 6292 | 2010-06-04 Richard Guenther <rguenther@suse.de> |
6293 | ||
6294 | PR lto/41584 | |
6295 | * cgraph.h (struct varpool_node): Add lto_file_data field. | |
6296 | * lto-cgraph.c (input_varpool_node): Initialize it. | |
6297 | ||
eeaec729 | 6298 | 2010-06-04 Uros Bizjak <ubizjak@gmail.com> |
6299 | ||
6300 | * config/i386/predicates.md (pic_symbolic_operand): Remove predicate. | |
6301 | * config/i386/i386.md (*add<mode>_1): Do not use pic_symbolic_operand | |
6302 | predicate in "type" attribute calculation. | |
6303 | (*addsi_1_zext): Ditto. | |
6304 | (*add<mode>_2): Do not use pic_symbolic_operand in insn predicate. | |
6305 | (*addsi_2_zext): Ditto. | |
6306 | (*add<mode>_3): Ditto. | |
6307 | (*addsi_3_zext): Ditto. | |
6308 | (*add<mode>_5): Ditto. | |
6309 | ||
39192870 | 6310 | 2010-06-03 Jan Hubicka <jh@suse.cz> |
6311 | ||
6312 | * tree-into-ssa.c (mark_block_for_update): Avoid redundant call | |
6313 | of bitmap_bit_p. | |
6314 | * cfganal.c (compute_dominance_frontiers_1): Likewise. | |
6315 | ||
7c4bf3c5 | 6316 | 2010-06-03 Jan Hubicka <jh@suse.cz> |
6317 | ||
6318 | * df-problems.c (df_create_unused_note, df_note_bb_compute): | |
6319 | micro-optimize the checks when to add new note. | |
6320 | ||
182e98f4 | 6321 | 2010-06-03 Nathan Froyd <froydnj@codesourcery.com> |
6322 | ||
6323 | * final.c (output_asm_insn): Call | |
6324 | targetm.asm_out.print_operand_punct_valid_p. Update comments. | |
6325 | (output_operand): Call targetm.asm_out.print_operand. Update comments. | |
6326 | (output_address): Call targetm.asm_out.print_operand_address. | |
6327 | Update comments. | |
6328 | * target.h (struct gcc_target): Add print_operand, | |
6329 | print_operand_address, and print_operand_punct_valid_p fields. | |
6330 | * targhooks.h (default_print_operand): Declare. | |
6331 | (default_print_operand_address): Declare. | |
6332 | (default_print_operand_punct_valid_p): Declare. | |
6333 | * targhooks.c (default_print_operand): Define. | |
6334 | (default_print_operand_address): Define. | |
6335 | (default_print_operand_punct_valid_p): Define. | |
6336 | * target-def.h (TARGET_PRINT_OPERAND): Define if not defined. | |
6337 | (TARGET_PRINT_OPERAND_ADDRESS): Likewise. | |
6338 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Likewise. | |
6339 | (TARGET_ASM_OUT): Add TARGET_PRINT_OPERAND, | |
6340 | TARGET_PRINT_OPERAND_ADDRESS, and TARGET_PRINT_OPERAND_PUNCT_VALID_P. | |
6341 | * vmsdbgout.c (addr_const_to_string): Update comment. | |
6342 | * config/i386/i386.c (print_operand): Rename to... | |
6343 | (ix86_print_operand): ...this. Make static. | |
6344 | (print_operand_address): Rename to... | |
6345 | (ix86_print_operand_address): ...this. Make static. Call | |
6346 | ix86_print_operand instead of PRINT_OPERAND. | |
6347 | (ix86_print_operand_punct_valid_p): New function. | |
6348 | (TARGET_PRINT_OPERAND): Define. | |
6349 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
6350 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
6351 | * config/i386/i386.h (HI_REGISTER_NAMES): Update comment. | |
6352 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
6353 | (PRINT_OPERAND): Delete. | |
6354 | (PRINT_OPERAND_ADDRESS): Delete. | |
6355 | * config/i386/i386-protos.h (print_operand): Delete prototype. | |
6356 | (print_operand_address): Delete prototype. | |
6357 | ||
41a92f78 | 6358 | 2010-06-03 Richard Guenther <rguenther@suse.de> |
6359 | ||
6360 | PR tree-optimization/44403 | |
6361 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
6362 | Preserve pointer qualifiers. | |
6363 | (vect_create_data_ref_ptr): Likewise. | |
6364 | ||
b2e48750 | 6365 | 2010-06-03 H.J. Lu <hongjiu.lu@intel.com> |
6366 | ||
6367 | PR c++/44294 | |
6368 | * defaults.h (MAX_FIXED_MODE_SIZE): New. | |
6369 | ||
6370 | * stor-layout.c (MAX_FIXED_MODE_SIZE): Removed. | |
6371 | ||
56a6836f | 6372 | 2010-06-03 Jakub Jelinek <jakub@redhat.com> |
6373 | ||
6374 | PR debug/44375 | |
6375 | * tree-cfg.c (gimple_can_merge_blocks_p): For -O0 | |
6376 | return false if merging the bbs would lead to goto_locus | |
6377 | location being lost from the IL. | |
6378 | ||
beca87f7 | 6379 | 2010-06-03 Jan Hubicka <jh@suse.cz> |
6380 | Jakub Jelinek <jakub@redhat.com> | |
6381 | ||
eeaec729 | 6382 | * var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if |
beca87f7 | 6383 | set->regs[i] is NULL or has just one entry. |
6384 | ||
8ade54d2 | 6385 | 2010-06-03 Jan Hubicka <jh@suse.cz> |
6386 | ||
6387 | * lto-cgraph.c (lto_varpool_encoder_size): Remove. | |
6388 | * lto-streamer.h (lto_varpool_encoder_size): New inline function. | |
6389 | ||
84dad1d2 | 6390 | 2010-06-03 Paul Brook <paul@codesourcery.com> |
6391 | ||
6392 | * config/arm/arm.c (FL_TUNE): Define. | |
6393 | (arm_default_cpu, arm_cpu_select): Remove. | |
6394 | (all_cores): Populate core field. | |
6395 | (arm_selected_arch, arm_selected_cpu, arm_selected_tune): New. | |
6396 | (arm_find_cpu): New function. | |
6397 | (arm_handle_option): Lookup cpu/architecture names. | |
6398 | (arm_override_options): Cleanup mcpu/march/mtune handling. | |
6399 | (arm_file_start): Ditto. | |
6400 | ||
d581bce3 | 6401 | 2010-06-03 Alan Modra <amodra@gmail.com> |
6402 | ||
6403 | PR target/44169 | |
6404 | * config/rs6000/rs6000.md (load_toc_v4_PIC_1b): Add label operand. | |
6405 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Pass label | |
6406 | rtx to gen_load_toc_v4_PIC_1b. Tidy. | |
6407 | (rs6000_emit_load_toc_table): Likewise. | |
6408 | ||
a5231069 | 6409 | 2010-06-02 Jan Hubicka <jh@suse.cz> |
6410 | ||
6411 | * passes.c (init_optimization_passes): Put ipa reference | |
6412 | after ipa pure-const. | |
6413 | ||
d2d73492 | 6414 | 2010-06-02 Jan Hubicka <jh@suse.cz> |
6415 | ||
6416 | * ipa-reference.c (ipa_reference_local_vars_info_d): Remove | |
6417 | calls_read_all and calls_write_all. | |
6418 | (get_reference_optimization_summary): Fix formatting. | |
6419 | (is_proper_for_analysis): Check that decl is not readonly. | |
6420 | (propagate_bits): Check CONST/PURE/noreturn flags. | |
6421 | (ipa_init): Move all_module_statics to optimization_summary_obstack. | |
6422 | (analyze_function): Ignore indirect edges. | |
6423 | (copy_global_bitmap): For all module statics, do nothing. | |
6424 | (generate_summary): Do not print calls_read_all/calls_write_all. | |
6425 | (read_write_all_from_decl): Take node as argument; check | |
6426 | cgraph_node_cannot_return. | |
6427 | (propagate): Reorganize read_all/write_all computation; | |
6428 | check indirect edges; check ecf flags; use all_module_statics | |
6429 | in the results; do not free all_module_statics. | |
6430 | (stream_out_bitmap): Handle all_module_statics. | |
6431 | (ipa_reference_write_optimization_summary): Likewise; use | |
6432 | varpool/cgraph encoders to get boundaries. | |
6433 | (ipa_reference_read_optimization_summary): Read in all_module_statics; | |
6434 | use it when possible. | |
6435 | ||
0eac26de | 6436 | 2010-06-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
6437 | ||
6438 | PR target/44218 | |
6439 | * doc/invoke.texi (RS/6000 and PowerPC Options): Delete obsolete | |
eeaec729 | 6440 | -mswdiv option. Add -mrecip, -mrecip=<xxx>, -mrecip-precision options. |
0eac26de | 6441 | |
6442 | * doc/extend.texi (powerpc builtins): Document vec_recip, | |
6443 | vec_rsqrt, vec_rsqrte altivec/vsx builtins. | |
6444 | ||
eeaec729 | 6445 | * config/rs6000/rs60000-protos.h (rs6000_emit_swdiv): New function. |
0eac26de | 6446 | (rs6000_emit_swrsqrt): Ditto. |
6447 | (rs6000_emit_swdivsf): Delete. | |
6448 | (rs6000_emit_swdivdf): Ditto. | |
6449 | (rs6000_emit_swrsqrtsf): Ditto. | |
6450 | ||
6451 | * config/rs6000/rs6000.c (rs6000_recip_bits): New global to | |
6452 | describe the reciprocal estimate support for each type. | |
6453 | (recip_options): Map -mrecip=<opt> into option bits. | |
6454 | (gen_2arg_fn_t): New typedef for binary rtx gen function. | |
6455 | (rs6000_debug_reg_global): If -mdebug=reg, print the state of the | |
6456 | reciprocal estimate instructions. | |
6457 | (rs6000_init_hard_regno_mode_ok): Key ws constraint off of the | |
6458 | debug -mvsx-scalar-memory switch instead of -mvsx-scalar-double. | |
6459 | Set up rs6000_recip_bits based on the -mrecip* options. Print the | |
6460 | cost information if -mdebug=cost or -mdebug=reg. | |
6461 | (rs6000_override_options): Set -mrecip-precision for power6, and | |
6462 | power7 machines. If -mvsx or -mdfp, enable various options that | |
6463 | came in previous instruction set ISAs, unless the option was | |
6464 | explicitly disabled by the command line option. Parse | |
6465 | -mrecip=<opt> options. | |
6466 | (rs6000_builtin_vectorized_function): Add support for vectorizing | |
6467 | the reciprocal estimate builtins and expansions. | |
6468 | (rs6000_handle_option): Add -mrecip, -mrecip=<opt> support. | |
6469 | (bdesc_2arg): Add reciprocal estimate builtins. | |
6470 | (bdesc_1arg): Add reciprocal square root estimate builtins. | |
6471 | (rs6000_expand_builtin): Rewrite to use a switch statement, | |
eeaec729 | 6472 | instead of multiple if/then/elses. Add reciprocal estimate builtins. |
0eac26de | 6473 | (rs6000_init_builtins): Create declarations for reciprocal |
6474 | estimate builtins. | |
6475 | (rs6000_preferred_reload_class): Simplify VSX preferences, if scalar | |
6476 | sized, prefer traditional floating point registers, if integer | |
6477 | vector types, prefer altivec registers. Don't actually look at | |
6478 | the memory address any more. | |
6479 | (rs6000_builtin_reciprocal): Add new builtin reciprocal estimate | |
6480 | builtins. | |
6481 | (rs6000_load_constant_and_splat): New helper function to load up | |
6482 | the constant for reciprocal estimate instructions. | |
6483 | (rs6000_emit_madd): New helper function for generating | |
6484 | multiply/add type instructions, based on the current switches. | |
6485 | (rs6000_emit_msub): Ditto. | |
6486 | (rs6000_emit_mnsub): Ditto. | |
6487 | (rs6000_emit_swdiv_high_precision): Replace rs6000_emit_swdivsf to | |
6488 | replace a divide with a reciprocal estimate and fixup, adding | |
6489 | support for machines with high precision and vectors. | |
6490 | (rs6000_emit_swdiv_low_precision): Rewrite rs6000_emit_swdivdf for | |
6491 | low precision machines. | |
6492 | (rs6000_emit_swdiv): New common function to be called to replace a | |
6493 | division with reciprocal estimate and fixup. | |
6494 | (rs6000_emit_swrsqrt): Replace rs6000_emit_swrsqrtsf. Add support | |
eeaec729 | 6495 | for double and vector types. Add support for high precision machines. |
0eac26de | 6496 | |
6497 | * config/rs6000/rs6000.h (TARGET_FRES): New macro to say whether | |
6498 | the reciprocal estimate instructions can be generated. | |
6499 | (TARGET_FRE): Ditto. | |
6500 | (TARGET_FRSQRTES): Ditto. | |
6501 | (TARGET_FRSQRTE): Ditto. | |
6502 | (RS6000_RECIP_*): New macros for reciprocal estimate support. | |
6503 | ||
6504 | * config/rs6000/vector.md (rsqrte<mode>2): New insn for reciprocal | |
6505 | square root estimate on vectors. | |
6506 | (re<mode>2): New insn for reciprocal division estimate on vectors. | |
6507 | ||
6508 | * config/rs6000/rs6000-buitlins.def (ALTIVEC_BUILTIN_VRSQRTFP): | |
6509 | New builtin. | |
6510 | (ALTIVEC_BUILTIN_VRECIPFP): Ditto. | |
6511 | (ALTIVEC_BUITLIN_VEC_RE): Ditto. | |
6512 | (ALTIVEC_BUILTIN_VEC_RSQRT): Ditto. | |
6513 | (VSX_BUILTIN_RSQRT_V4SF): Ditto. | |
6514 | (VSX_BUITLIN_RSQRT_V2DF): Ditto. | |
6515 | (RS6000_BUILTIN_RSQRT): Ditto. | |
6516 | (ALTIVEC_BUILTIN_VEC_RSQRTE): Denote that the builtin is a | |
6517 | floating point builtin. | |
6518 | ||
6519 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
6520 | macros __RECIP__, __RECIPF__, __RSQRTE__, __RSQRTEF__, | |
6521 | __RECIP_PRECISION__ based on the command line switches. | |
6522 | (altivec_overloaded_builtins): Add reciprocal estimate builtins. | |
6523 | ||
6524 | * config/rs6000/rs6000.opt (-mrecip): Document add support for | |
eeaec729 | 6525 | replacing division instructions with reciprocal estimate and fixup. |
0eac26de | 6526 | (-mrecip=<opt>): New option. |
6527 | (-mrecip-precision): Ditto. | |
6528 | ||
6529 | * config/rs6000/vsx.md (UNSPEC_VSX_RSQRTE): Delete. | |
6530 | (vsx_rsqrte<mode>2): Use UNSPEC_RSQRT not UNSPEC_VSX_RSQRTE. | |
6531 | (vsx_copysignsf3): If -mvsx, use double precision cpsign on single | |
6532 | precision scalar. | |
6533 | ||
6534 | * config/rs6000/altivec.md (UNSPEC_RSQRTEFP): Delete. | |
6535 | (UNSPEC_VREFP): Ditto. | |
6536 | (altivec_vnmsubfp*): Make altivec nmsub mirror the scalar and VSX | |
eeaec729 | 6537 | conterparts with regard to support of -mno-fused-madd and -ffast-math. |
0eac26de | 6538 | (altivec_vrsqrtefp): Use common UNSPEC to allow scalar/vector |
6539 | reciprocal estimate instructions to be generated. | |
6540 | (altivec_vrefp): Ditto. | |
6541 | ||
6542 | * config/rs6000/rs6000.md (RECIPF): New iterator for reciprocal | |
6543 | estimate support. | |
6544 | (rreg): New mode attribute for reciprocal estimate support. | |
6545 | (recip<mode>3): New insn for division using reciprocal estimate | |
6546 | and fixup builtins. | |
6547 | (divide define_split): New define_split to convert floating point | |
6548 | division to use reciprocal estimate if the user used the | |
6549 | appropriate options and the split is run when we can add new | |
6550 | pseudo registers for the fixup. | |
6551 | (rsqrt<mode>2): New insn for reciprocal square root support. | |
6552 | (recipsf3): Move into recip<mode>3. | |
6553 | (recipdf3): Ditto. | |
6554 | (fres): Use TARGET_FRES. | |
6555 | (rsqrtsf2): Move into rsqrt<mode>2. | |
6556 | (rsqrtsf_internal1): Use TARGET_FRSQRTSES. | |
6557 | (copysignsf3): Add support for VSX. | |
6558 | (fred): Use TARGET_FRE. | |
6559 | (fred_fpr): Ditto. | |
6560 | (rsqrtdf_internal1): New function for frsqrte instruciton. | |
6561 | ||
eeaec729 | 6562 | * config/rs6000/altivec.h (vec_recipdiv): Define new vector builtin. |
0eac26de | 6563 | (vec_rsqrt): Ditto. |
6564 | ||
806238fc | 6565 | 2010-06-03 Richard Guenther <rguenther@suse.de> |
6566 | ||
6567 | PR middle-end/44291 | |
6568 | * optabs.c (init_one_libfunc): Use IDENTIFIER_HASH_VALUE. | |
6569 | (set_user_assembler_libfunc): Likewise. | |
6570 | ||
e754ed1d | 6571 | 2010-06-02 Steven Bosscher <steven@gcc.gnu.org> |
6572 | ||
6573 | * mkconfig.sh: Include insn-flags.h and insn-constants.h before | |
6574 | defaults.h. | |
6575 | * except.h: Move MUST_USE_SJLJ_EXCEPTIONS and USING_SJLJ_EXCEPTIONS | |
6576 | to defaults.h | |
6577 | * expr.h (BRANCH_COST, MOVE_RATIO, CLEAR_RATIO, SET_RATIO, | |
6578 | DEFAULT_FUNCTION_ARG_PADDING, FUNCTION_ARG_PADDING, | |
6579 | FUNCTION_ARG_BOUNDARY, STACK_SAVEAREA_MODE, STACK_SIZE_MODE, | |
6580 | STACK_CHECK_BUILTIN, STACK_CHECK_STATIC_BUILTIN, | |
6581 | STACK_CHECK_PROBE_INTERVAL_EXP, STACK_CHECK_MOVING_SP, | |
6582 | STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT, | |
6583 | STACK_CHECK_MAX_FRAME_SIZE, STACK_CHECK_FIXED_FRAME_SIZE, | |
6584 | STACK_CHECK_MAX_VAR_SIZE): Move target macro defaults to defaults.h. | |
6585 | * defaults.h: Updated for above mentioned changes. | |
6586 | ||
6314948b | 6587 | 2010-06-02 Kai Tietz <kai.tietz@onevision.com> |
6588 | ||
6589 | * c-common.c: Remove header include of tm_p.h. | |
6590 | * Makefile.in (c-common.o): Remove TM_P_H dependency. | |
6591 | ||
cc194b6e | 6592 | 2010-06-02 Jakub Jelinek <jakub@redhat.com> |
6593 | ||
6594 | * tree.h (struct tree_decl_map): New type. | |
6595 | (tree_decl_map_eq, tree_decl_map_marked_p): Define. | |
6596 | (tree_decl_map_hash): New prototype. | |
6597 | (debug_expr_for_decl, value_expr_for_decl): Change into | |
6598 | tree_decl_map hashtab from tree_map. | |
6599 | (init_ttree): Adjust initialization. | |
6600 | (tree_decl_map_hash): New function. | |
6601 | (decl_debug_expr_lookup, decl_debug_expr_insert, | |
6602 | decl_value_expr_lookup, decl_value_expr_insert): Adjust. | |
6603 | ||
477b521a | 6604 | 2010-06-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6605 | ||
6606 | * configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2 | |
6607 | linker emulations. | |
6608 | * configure: Regenerate. | |
6609 | * config.in: Regenerate. | |
6610 | ||
6611 | * config/i386/sol2-10.h [TARGET_GNU_LD] (I386_EMULATION): Define. | |
6612 | (X86_64_EMULATION): Define. | |
6613 | (TARGET_LD_EMULATION): Use them. | |
6614 | ||
6615 | * config/sparc/sol2-gld-bi.h (SPARC32_EMULATION): Define. | |
6616 | (SPARC64_EMULATION): Define. | |
6617 | (LINK_ARCH_SPEC): Use them. | |
6618 | ||
d23456ee | 6619 | 2010-06-02 Sebastian Pop <sebastian.pop@amd.com> |
6620 | ||
6621 | * graphite-clast-to-gimple.c (gcc_type_for_interval): Use | |
6622 | smallest_mode_for_size for computing the precision types of new | |
6623 | graphite IVs. Do not call lang_hooks.types.type_for_size. | |
6624 | ||
08129148 | 6625 | 2010-06-02 Sebastian Pop <sebastian.pop@amd.com> |
6626 | ||
6627 | * tree-if-conv.c (predicate_bbs): Do not reset the GIMPLE_DEBUG | |
6628 | information. | |
6629 | (remove_conditions_and_labels): Reset the GIMPLE_DEBUG information. | |
6630 | ||
5f7a9884 | 6631 | 2010-06-02 Sebastian Pop <sebastian.pop@amd.com> |
6632 | ||
6633 | PR middle-end/44363 | |
6634 | * tree-if-conv.c (predicate_bbs): Do not call gcc_unreachable, | |
6635 | return false instead. | |
6636 | ||
1f449108 | 6637 | 2010-06-02 Jan Hubicka <jh@suse.cz> |
6638 | ||
6639 | PR middle-end/44295 | |
6640 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Do not | |
6641 | create new cgraph node to check callee. | |
6642 | ||
1bceedba | 6643 | 2010-06-02 Richard Guenther <rguenther@suse.de> |
6644 | ||
6645 | * lto-streamer-in.c (input_gimple_stmt): Fix typo. | |
6646 | ||
c04a3a63 | 6647 | 2010-06-02 Richard Guenther <rguenther@suse.de> |
6648 | ||
6649 | * lto-wrapper.c (lto_wrapper_exit): Rename to ... | |
6650 | (lto_wrapper_cleanup): ... this. Do not exit. | |
6651 | (fatal): Adjust. Exit here. | |
6652 | (fatal_perror): Likewise. | |
6653 | (fatal_signal): New function. | |
6654 | (main): Set up signal handlers to cleanup temporary files. | |
6655 | * Makefile.in (lto-wrapper.o): Adjust dependencies. | |
6656 | ||
4db0db4b | 6657 | 2010-06-02 Richard Guenther <rguenther@suse.de> |
6658 | ||
6659 | PR tree-optimization/44377 | |
6660 | * tree-ssa-structalias.c (find_func_aliases): Fix typo. | |
6661 | ||
ff3da13e | 6662 | 2010-06-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6663 | ||
6664 | * config/s390/2097.md (z10_fhex): Remove insn reservation. | |
6665 | * config/s390/s390.md (UNSPEC_COPYSIGN): Remove unused constant. | |
6666 | (*mov<mode>_64 TD_TF, *mov<mode>_31 TD_TF, *mov<mode>_64dfp DD_DF, | |
6667 | *mov<mode>_64 DD_DF, *mov<mode>_31, mov<mode>): Remove load zero | |
6668 | instruction. | |
eeaec729 | 6669 | * config/s390/s390.c: Don't accept fp zeros as valid constants anymore. |
ff3da13e | 6670 | |
83539c44 | 6671 | 2010-06-02 Jan Hubicka <jh@suse.cz> |
6672 | ||
6673 | * bitmap.c (bitmap_descriptor): Add search_iter. | |
6674 | (bitmap_find_bit): Increment it. | |
6675 | (print_statistics): Print it. | |
6676 | ||
b6740527 | 6677 | 2010-06-02 Nathan Froyd <froydnj@codesourcery.com> |
6678 | ||
6679 | * tree-vect-slp.c (vect_create_mask_and_perm): Use gimple_build_call | |
6680 | instead of gimple_build_call_vec. Delete unnecessary local variable. | |
6681 | ||
c6871992 | 6682 | 2010-06-02 Steven Bosscher <steven@gcc.gnu.org> |
6683 | ||
6684 | * gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling" | |
6685 | change from yesterday. | |
6686 | ||
54af5c5c | 6687 | 2010-06-02 Steven Bosscher <steven@gcc.gnu.org> |
6688 | ||
6689 | * c-ada-spec.c: Clean up redundant includes. | |
6690 | ||
8e3cb73b | 6691 | 2010-06-01 Steven Bosscher <steven@gcc.gnu.org> |
6692 | ||
6693 | * gimplify.c: Do not include except.h and optabs.h. | |
6694 | (gimplify_body): Do not initialize RTL profiling. | |
6695 | * gimple-low.c: Do not include rtl.h, diagnostic.h, langhooks.h, | |
6696 | langhooks-def.h, timevar.h, except.h, hashtab.h, and expr.h. | |
6697 | * gimple-fold.c: Do not include rtl.h, tm_p.h, ggc.h, basic-block.h, | |
6698 | output.h, expr.h, diagnostic.h, timevar.h, value-prof.h, and | |
6699 | langhooks.h. | |
6700 | ||
6701 | * tree-pretty-print.h: Include pretty-print.h. | |
6702 | * gimple-pretty-print.h: Include pretty-print.h. | |
6703 | ||
6704 | * tree-pretty-print.c: Do not include diagnostic.h. | |
6705 | * tree-vrp.c: Likewise. | |
6706 | * tree-tailcall.c: Likewise | |
6707 | * tree-scalar-evolution.c: Likewise | |
6708 | * tree-ssa-dse.c: Likewise | |
6709 | * tree-chrec.c: Likewise | |
6710 | * tree-ssa-sccvn.c: Likewise | |
6711 | * tree-ssa-copyrename.c: Likewise | |
6712 | * tree-nomudflap.c: Likewise | |
6713 | * tree-call-cdce.c: Likewise | |
6714 | * tree-stdarg.c: Likewise | |
6715 | * tree-ssa-math-opts.c: Likewise | |
6716 | * tree-nrv.c: Likewise | |
6717 | * tree-ssa-sink.c: Likewise | |
6718 | * tree-browser.c: Likewise | |
6719 | * tree-ssa-loop-ivcanon.c: Likewise | |
6720 | * tree-ssa-loop.c: Likewise | |
6721 | * tree-parloops.c: Likewise | |
6722 | * tree-ssa-address.c: Likewise | |
6723 | * tree-ssa-ifcombine.c: Likewise | |
6724 | * tree-if-conv.c: Likewise | |
6725 | * tree-data-ref.c: Likewise | |
6726 | * tree-affine.c: Likewise | |
6727 | * tree-ssa-phiopt.c: Likewise | |
6728 | * tree-ssa-coalesce.c: Likewise | |
6729 | * tree-ssa-pre.c: Likewise | |
6730 | * tree-ssa-live.c: Likewise | |
6731 | * tree-predcom.c: Likewise | |
6732 | * tree-ssa-forwprop.c: Likewise | |
6733 | * tree-ssa-dce.c: Likewise | |
6734 | * tree-ssa-ter.c: Likewise | |
6735 | * tree-ssa-loop-prefetch.c: Likewise | |
6736 | * tree-optimize.c: Likewise | |
6737 | * tree-ssa-phiprop.c: Likewise | |
6738 | * tree-object-size.c: Likewise | |
6739 | * tree-outof-ssa.c: Likewise | |
6740 | * tree-ssa-structalias.c: Likewise | |
6741 | * tree-switch-conversion.c: Likewise | |
6742 | * tree-ssa-reassoc.c: Likewise | |
6743 | * tree-ssa-operands.c: Likewise | |
6744 | * tree-vectorizer.c: Likewise | |
6745 | * tree-vect-data-refs.c: Likewise | |
6746 | * tree-vect-generic.c: Likewise | |
6747 | * tree-vect-stmts.c: Likewise | |
6748 | * tree-vect-patterns.c: Likewise | |
6749 | * tree-vect-slp.c: Likewise | |
6750 | * tree-vect-loop.c: Likewise | |
6751 | * tree-ssa-loop-ivopts.c: Likewise | |
6752 | * tree-ssa-loop-im.c: Likewise | |
6753 | * tree-ssa-loop-niter.c: Likewise | |
6754 | * tree-ssa-loop-unswitch.c: Likewise | |
6755 | * tree-ssa-loop-manip.c: Likewise | |
6756 | * tree-ssa-loop-ch.c: Likewise | |
6757 | * tree-dump.c: Likewise | |
6758 | * tree-complex.c: Likewise | |
6759 | ||
6760 | * tree-into-ssa.c: Do not include diagnostic.h and expr.h. | |
6761 | * tree-ssa-uninit.c: Likewise | |
6762 | * tree-ssa-threadupdate.c: Likewise | |
6763 | * tree-ssa-uncprop.c: Likewise | |
6764 | * tree-ssa-ccp.c: Likewise | |
6765 | * tree-ssa-dom.c: Likewise | |
6766 | * tree-ssa-propagate.c: Likewise | |
6767 | * tree-ssa-alias.c: Likewise | |
6768 | * tree-dfa.c: Likewise | |
6769 | * tree-cfgcleanup.c: Likewise | |
6770 | * tree-sra.c: Likewise | |
6771 | * tree-ssa-copy.c: Likewise | |
6772 | * tree-ssa.c: Likewise | |
6773 | * tree-profile.c: Likewise | |
6774 | * tree-cfg.c: Likewise | |
6775 | * tree-ssa-threadedge.c: Likewise | |
6776 | * tree-vect-loop-manip.c: Likewise | |
6777 | ||
6778 | * tree-inline.c: Do not include diagnostic.h and expr.h. | |
6779 | Include rtl.h. | |
6780 | (copy_decl_for_dup_finish): Do not use NULL_RTX. | |
6781 | ||
eeaec729 | 6782 | * tree-loop-linear.c: Do not include diagnostic.h, expr.h and optabs.h. |
8e3cb73b | 6783 | * tree-loop-distribution.c: Likewise. |
6784 | ||
e0933141 | 6785 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
6786 | ||
6787 | * ipa-pure-const.c (local_pure_const): Do NORETURN discovery. | |
6788 | ||
3b4fe440 | 6789 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
6790 | ||
6791 | * tree-cfgcleanup.c (fixup_noreturn_call): Break out from ...; | |
6792 | remove return value. | |
6793 | (split_bbs_on_noreturn_calls) .... here. | |
6794 | * tree-optimize.c (execute_fixup_cfg): Fixup noreturn calls too. | |
6795 | * tree-flow.h (fixup_noreturn_call): New. | |
6796 | ||
c8f0c143 | 6797 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
6798 | ||
6799 | * emit-rtl.c (remove_insn): Fix thinko in prevoius patch. | |
6800 | ||
5d8c393e | 6801 | 2010-06-01 Nathan Froyd <froydnj@codesourcery.com> |
6802 | ||
6803 | * tree.h (build_nt_call_list): Delete. | |
6804 | * tree.c (build_nt_call_list): Delete. | |
6805 | ||
06f9d6ef | 6806 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
6807 | ||
6808 | * fwprop.c: Make emit-rtl.h include last. | |
6809 | * rtlanal.c: Include emit-rtl.h. | |
6810 | * genautomata.c: Output emit-rtl include into insn-automata.c | |
6811 | * df-scan.c: Include emit-rtl.h. | |
6812 | * haifa-sched.c: Indlude emit-rtl.h. | |
6813 | * mode-switching.c: Indlude emit-rtl.h. | |
6814 | * graph.c: Indlude emit-rtl.h. | |
6815 | * sel-sched.c: Include emit-rtl.h. | |
6816 | * sel-sched-ir.c: Include emit-rtl.h. | |
6817 | * ira-build.c: Include emit-rtl.h. | |
6818 | * emit-rtl.c: (first_insn, last_insn): Remove defines. | |
6819 | (get_insns, set_first_insn, get_last_insn, set_last_insn, get_max_uid): | |
6820 | Move to emit-rtl.h. | |
eeaec729 | 6821 | (set_new_first_and_last_insn, get_last_insn_anywhere, |
6822 | get_first_nonnote_insn, get_last_nonnote_insn, try_split, | |
6823 | make_call_insn_raw, add_insn_after, add_insn_before, remove_insn, | |
6824 | delete_insns_since, reorder_insns_nobb, emit_insn_after_1, | |
6825 | emit_debug_insn_before, emit_insn, start_sequence, push_to_sequence, | |
6826 | push_to_sequence2, push_topmost_sequence, end_sequence, copy_insn): | |
6827 | Use accessor functions. | |
06f9d6ef | 6828 | * emit-rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn, |
6829 | gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value, | |
6830 | set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode, | |
eeaec729 | 6831 | mem_expr_equal_p): Move here from rtl.h. |
06f9d6ef | 6832 | (get_insns, set_first-insn, get_last_insn, set_last_insn, get_max_uid): |
6833 | Move here from emit-rtl.c; make inline. | |
eeaec729 | 6834 | * cfglayout.h: Include emit-rtl.h. |
06f9d6ef | 6835 | * rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn, |
6836 | gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value, | |
6837 | set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode, | |
eeaec729 | 6838 | mem_expr_equal_p, get_insns, set_first-insn, |
6839 | get_last_insn, set_last_insn, get_max_uid): Move to emit-rtl.h. | |
6840 | * reg-stack.c: Include emit-rtl.h. | |
06f9d6ef | 6841 | * dce.c: Likewise. |
6842 | ||
b06ab5fa | 6843 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
6844 | ||
6845 | * cgraph.h (tree_function_versioning): Update prototype. | |
6846 | (cgraph_function_versioning): Update prototype. | |
6847 | * cgraphunit.c (cgraph_copy_node_for_versioning): Accept bbs_to_copy | |
6848 | bitmap. | |
eeaec729 | 6849 | (cgraph_function_versioning): Accept new_entry_block and bbs_to_copy. |
b06ab5fa | 6850 | (cgraph_materialize_clone, save_inline_function_body): Update use of |
6851 | tree_function_versioning. | |
eeaec729 | 6852 | * tree-inline.c (copy_bb): Look for previous copied block to link |
6853 | after; fix debug output. | |
b06ab5fa | 6854 | (copy_cfg_body): Accept new_entry_block and bbs_to_copy. |
6855 | (copy_body): Likewise. | |
6856 | (expand_call_inline): Update use of copy_body. | |
6857 | (tree_function_versioning): Update use of copy body; accept | |
6858 | blocks_to_copy and new_entry. | |
6859 | ||
b6762859 | 6860 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
6861 | ||
6862 | * gegenrtl.c: Remove unnecesary prototypes. | |
6863 | (gendecl): Remove. | |
6864 | (gendef): Produce static inline. | |
6865 | (gencode): Remove. | |
6866 | (main): Do not decode parameters; generate header only. | |
6867 | * Makefile.in (genrtl.c): Remove. | |
6868 | ||
e7baf91d | 6869 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
6870 | ||
6871 | * tree-switch-conversion.c (build_one_array): Make it readonly. | |
6872 | ||
3a283672 | 6873 | 2010-06-01 Richard Guenther <rguenther@suse.de> |
6874 | ||
6875 | * optabs.c (init_optabs): Guard all accesses to reinit. | |
6876 | * ipa-pure-const.c (propagate): Fix another typo. | |
6877 | * opts.c (common_handle_option): Split assignment to bool. | |
6878 | * c-opts.c (c_common_handle_option): Likewise. | |
6879 | ||
f608fcb7 | 6880 | 2010-06-01 Arnaud Charlet <charlet@adacore.com> |
eeaec729 | 6881 | Matthew Gingell <gingell@adacore.com> |
f608fcb7 | 6882 | |
6883 | * doc/invoke.texi: Mention -fdump-ada-spec. | |
6884 | * tree-dump.c (dump_files): Add ada-spec. | |
6885 | (FIRST_AUTO_NUMBERED_DUMP): Bump to 8. | |
6886 | * tree-pass.h (tree_dump_index): Add TDI_ada. | |
6887 | * gcc.c: Add support for -C without -E and for -fdump-ada-spec. | |
6888 | (cpp_unique_options): Do not reject -C or -CC when -E isn't present. | |
6889 | (default_compilers) <@c-header>: Allow -fdump-ada-spec on header files. | |
6890 | * c-decl.c: Include c-ada-spec.h. | |
6891 | (collect_source_ref_cb, collect_all_refs, for_each_global_decl): New | |
6892 | functions. | |
6893 | (c_write_global_declarations): Add handling of -fdump-ada-spec. | |
6894 | * c-lex.c (c_lex_with_flags): Add handling of CPP_COMMENT. | |
6895 | * Makefile.in (C_AND_OBJC_OBJS): Add c-ada-spec.o. | |
6896 | * c-ada-spec.h, c-ada-spec.c: New files. | |
6897 | ||
1ee39ad1 | 6898 | 2010-06-01 Richard Guenther <rguenther@suse.de> |
6899 | ||
6900 | PR lto/43853 | |
6901 | * ipa-pure-const.c (get_function_state): Hand back varying state | |
6902 | if we do not have one. | |
6903 | (has_function_state): New function. | |
6904 | (duplicate_node_data): Adjust. | |
6905 | (remove_node_data): Likewise. | |
6906 | (pure_const_write_summary): Likewise. | |
6907 | (propagate): Likewise. Fix typo. | |
6908 | ||
90b41bfa | 6909 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
6910 | ||
6911 | * tree-cfg.c (verify_stmt): Do not skip could_throw test. | |
6912 | * passes.c (execute_function_todo): Do not make implicit verify_ssa. | |
6913 | (execute_all_ipa_transforms): Do not play with the states. | |
6914 | ||
4e38d150 | 6915 | 2010-06-01 Maxim Kuvyrkov <maxim@codesourcery.com> |
6916 | ||
6917 | * config/arm/t-linux-androideabi: New. | |
15eaffb0 | 6918 | * config.gcc (arm*-*-linux-androideabi): Include multilib config. |
4e38d150 | 6919 | |
69862f31 | 6920 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
6921 | ||
6922 | * tree-inline.c (estimate_num_insns): For stdarg functions look | |
6923 | into call statement to count cost of argument passing. | |
6924 | ||
beca87f7 | 6925 | 2010-06-01 Kai Tietz <kai.tietz@onevision.com> |
b02fdd3b | 6926 | |
eeaec729 | 6927 | * config/i386.c (ix86_output_addr_vec_elt): Make LPREFIX |
6928 | argument for fprintf. | |
6929 | (ix86_output_addr_diff_elt): Likewise. | |
6930 | (x86_function_profiler): Likewise. | |
6931 | * config/cygming.h (LOCAL_LABEL_PREFIX): Fix for x64 no-underscore. | |
6932 | (LPREFIX): Likewise. | |
6933 | (ASM_GENERATE_INTERNAL_LABEL): Likewise. | |
b02fdd3b | 6934 | |
aaf9db06 | 6935 | 2010-05-31 Jakub Jelinek <jakub@redhat.com> |
6936 | ||
6937 | PR target/44338 | |
6938 | * config/i386/sse.md (fma4i_fmadd<mode>4256, fma4i_fmsub<mode>4256, | |
6939 | fma4i_fnmadd<mode>4256, fma4i_fnmsub<mode>4256, fma4i_fmadd<mode>4, | |
6940 | fma4i_fmsub<mode>4, fma4i_fnmadd<mode>4, fma4i_fnmsub<mode>4, | |
6941 | fma4i_vmfmadd<mode>4, fma4i_vmfmsub<mode>4, fma4i_vmfnmadd<mode>4, | |
6942 | fma4i_vmfnmsub<mode>4, fma4i_fmaddsubv8sf4, fma4i_fmaddsubv4df4, | |
6943 | fma4i_fmaddsubv4sf4, fma4i_fmaddsubv2df4, fma4i_fmsubaddv8sf4, | |
6944 | fma4i_fmsubaddv4df4, fma4i_fmsubaddv4sf4, fma4i_fmsubaddv2df4): | |
6945 | Guard only with TARGET_FMA4 instead of TARGET_FMA4 && | |
6946 | TARGET_FUSED_MADD. | |
6947 | ||
cded957c | 6948 | 2010-05-31 Jan Hubicka <jh@suse.cz> |
6949 | ||
6950 | * tree.h (tree_range_check_failed): Declare noreturn. | |
6951 | ||
34a510a1 | 6952 | 2010-05-31 Jan Hubicka <jh@suse.cz> |
6953 | ||
6954 | * gimple.c (gimple_call_builtin_p): New function. | |
6955 | * gimple.h (gimple_call_builtin_p): Declare. | |
6956 | * tree-cfg.c (make_edges): Produce edge from BUILT_IN_RETURN | |
6957 | to exit. | |
6958 | (execute_warn_function_return): BUILT_IN_RETURN is return. | |
6959 | (split_critical_edges): Return edges are not critical. | |
6960 | (is_ctrl_altering_stmt): Builtin_in_return is altering. | |
6961 | (gimple_verify_flow_info): Handle built_in_return. | |
6962 | (execute_warn_function_return): Handle built_in_return. | |
6963 | * ipa-pure-const.c (check_call): Ignore builtin_return. | |
6964 | ||
39a98435 | 6965 | 2010-05-31 Jakub Jelinek <jakub@redhat.com> |
6966 | ||
d8d9af50 | 6967 | PR middle-end/44337 |
6968 | * expr.c (expand_assignment): Don't store anything for out-of-bounds | |
6969 | array accesses with non-MEM. | |
6970 | ||
39a98435 | 6971 | PR tree-optimization/44182 |
6972 | * tree-inline.c (copy_edges_for_bb): Don't split bb if a stmt that | |
6973 | newly needs to end a bb is followed by debug stmts, instead return | |
6974 | true from the function at the end. | |
6975 | (maybe_move_debug_stmts_to_successors): New function. | |
6976 | (copy_cfg_body): Call it if copy_edges_for_bb returned true. | |
6977 | ||
82fb736a | 6978 | 2010-05-31 Kai Tietz <kai.tietz@onevision.com> |
6979 | ||
6980 | PR target/44161 | |
eeaec729 | 6981 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Handle flag_pic. |
82fb736a | 6982 | |
0f9238c0 | 6983 | 2010-05-31 Eric Botcazou <ebotcazou@adacore.com> |
6984 | ||
6985 | * cgraphunit.c (cgraph_decide_is_function_needed): Really return false | |
6986 | for nested functions in non-optimized compilation. | |
6987 | ||
9a7b938d | 6988 | 2010-05-31 Richard Guenther <rguenther@suse.de> |
6989 | ||
eeaec729 | 6990 | * tree-ssa-structalias.c (find_func_aliases): Handle BUILT_IN_RETURN. |
9a7b938d | 6991 | |
7a936ef2 | 6992 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
6993 | ||
6994 | * predict.c (maybe_hot_edge_p): Calls to functions called once is cold. | |
6995 | ||
15100018 | 6996 | 2010-05-30 Richard Guenther <rguenther@suse.de> |
6997 | ||
6998 | PR lto/42975 | |
6999 | * tree-eh.c (execute_cleanup_eh_1): Copy from execute_cleanup_eh. | |
7000 | (execute_cleanup_eh): Clear DECL_FUNCTION_PERSONALITY if it is | |
7001 | no longer needed. | |
7002 | ||
163c9fff | 7003 | 2010-05-30 Iain Sandoe <iains@gcc.gnu.org> |
7004 | ||
7005 | * config/darwin.c (output_objc_section_asm_op): Add comment. | |
7006 | (name_needs_quotes): Add '_' to list of valid comment chars. | |
7007 | (machopic_output_function_base_name): Remove unneeded quotes. | |
7008 | (darwin_encode_section_info): Adjust asm whitespace. | |
7009 | * config/i386/darwin.h (ASM_OUTPUT_COMMON): Adjust asm tabs. | |
7010 | (ASM_OUTPUT_LOCAL): Ditto. | |
7011 | * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Ditto. | |
7012 | * config/darwin.h (GLOBAL_ASM_OP): Ditto. | |
7013 | * config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Ditto. | |
eeaec729 | 7014 | |
420252ac | 7015 | 2010-05-30 Eric Botcazou <ebotcazou@adacore.com> |
7016 | ||
7017 | * config/rs6000/rs6000.c (rs6000_output_function_entry): Use | |
7018 | RS6000_OUTPUT_BASENAME unconditionally. | |
7019 | (rs6000_output_function_epilogue): Likewise. | |
7020 | ||
c087e689 | 7021 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
7022 | ||
7023 | * toplev.c (wrapup_global_declaration_2): Avoid creation of new varpool | |
0f9238c0 | 7024 | nodes. |
c087e689 | 7025 | |
22ada416 | 7026 | 2010-05-30 Richard Guenther <rguenther@suse.de> |
7027 | ||
7028 | * tree-cfg.c (verify_gimple_assign_single): Implement | |
7029 | verification for COND_EXPR rhs. | |
7030 | ||
ecb08119 | 7031 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
7032 | ||
7033 | * cgraph.h (cgraph_dump_file): Declare. | |
7034 | * cgraphunit.c (cgraph_dump_file): Export. | |
eeaec729 | 7035 | * ipa.c (dump_cgraph_node_set, dump_varpool_node_set): Be less verbose. |
ecb08119 | 7036 | |
6ade5ad2 | 7037 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
7038 | ||
7039 | * dwarf2out.c (reference_to_unused, | |
420252ac | 7040 | premark_types_used_by_global_vars_helper): Avoid creation of new |
7041 | varpool nodes. | |
6ade5ad2 | 7042 | |
fc94a528 | 7043 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
7044 | ||
7045 | * cgraph.h (cgraph_node_cannot_return, | |
7046 | cgraph_edge_cannot_lead_to_return): New functions. | |
7047 | * cgraph.c (cgraph_node_cannot_return, | |
7048 | cgraph_edge_cannot_lead_to_return): Use them. | |
7049 | * ipa-pure-const.c (pure_const_names): New static var. | |
7050 | (check_call): Handle calls not leading to return. | |
7051 | (pure_const_read_summary): Dump info read. | |
eeaec729 | 7052 | (propagate): Dump info about propagation process; ignore side effects |
7053 | of functions not leading to exit; fix handling of pure functions. | |
fc94a528 | 7054 | |
64a6fb27 | 7055 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
7056 | ||
7057 | * config/i386/i386.c (pro_epilogue_adjust_stack): Use EBP | |
7058 | for tail call epilogues. | |
7059 | ||
2da8af1f | 7060 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
7061 | ||
7062 | * passes.c (ipa_write_optimization_summaries_1, ipa_write_summaries_2, | |
420252ac | 7063 | ipa_read_summaries_1, ipa_read_optimization_summaries_1): Initialize |
7064 | dump files. | |
2da8af1f | 7065 | |
e12f85b7 | 7066 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
7067 | ||
420252ac | 7068 | * ipa.c (cgraph_remove_unreachable_node): Walk references of correct |
7069 | node; remove references in node we no longer keep in cgrpah but need | |
7070 | body of. | |
e12f85b7 | 7071 | |
f941b9b3 | 7072 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
7073 | ||
7074 | * cgraph.c (cgraph_mark_reachable): Relax check for analyzed nodes. | |
7075 | ||
700ae97c | 7076 | 2010-05-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7077 | ||
7078 | PR target/44165 | |
7079 | * config/pa/pa32-linux.h (CTOR_LIST_BEGIN): Mark __CTOR_LIST__ as used. | |
7080 | ||
4b987fac | 7081 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
7082 | ||
7083 | * tree-vrp.c (debug_value_range, debug_all_value_ranges, | |
7084 | debug_asserts_for, debug_all_asserts): Annotate with DEBUG_FUNCTION. | |
7085 | * tree-into-ssa.c (debug_decl_set, debug_defs_stack, debug_currdefs, | |
7086 | debug_tree_ssa, debug_tree_ssa_stats, debug_def_blocks, | |
eeaec729 | 7087 | debug_names_replaced_by, debug_update_ssa): Likewise. |
4b987fac | 7088 | * sbitmap.c (debug_sbitmap): Likewise. |
7089 | * genrecog.c (debug_decision, debug_decision_list): Likewise. | |
7090 | * tree-pretty-print.c (debug_generic_expr, debug_generic_stmt, | |
7091 | debug_tree_chain): Likewise. | |
7092 | * tree-loop-distribution.c (debug_rdg_partitions): Likewise. | |
7093 | * cgraph.c (debug_cgraph_node, debug_cgraph): Likewise. | |
7094 | * optabs.c (debug_optab_libfuncs): Likewise. | |
7095 | (verify_loop_closed_ssa): Likewise. | |
7096 | * value-prof.c (verify_histograms): Likewise. | |
7097 | * reload.c (debug_reload_to_stream, debug_reload): Likewise. | |
7098 | * bitmap.c (debug_bitmap_file, debug_bitmap, bitmap_print): Likewise. | |
7099 | * cfghooks.c (verify_flow_info): Likewise. | |
7100 | * fold-const.c (debug_fold_checksum): Likewise. | |
7101 | * omp-low.c (debug_omp_region, debug_all_omp_regions): Likewise. | |
7102 | * cfg.c (debug_regset, debug_flow_info, debug_bb, debug_bb_n): | |
7103 | Likewise. | |
7104 | * omega.c (debug_omega_problem): Likewise. | |
7105 | * cgraphunit.c (verify_cgraph_node, verify_cgraph): Likewise. | |
7106 | * tree-ssa-ccp.c (debug_lattice_value): Likewise. | |
7107 | * dominance.c (verify_dominators, debug_dominance_info, | |
7108 | debug_dominance_tree): Likewise. | |
7109 | * df-core.c (df_insn_uid_debug, df_insn_debug, df_insn_debug_regno, | |
7110 | * df_regno_debug, df_ref_debug, | |
7111 | debug_df_insn, debug_df_reg, debug_df_regno, debug_df_ref, | |
7112 | debug_df_defno, debug_df_useno, debug_df_chain): Likewise. | |
7113 | * tree-ssa-dom.c (debug_dominator_optimization_stats): Likewise. | |
7114 | * sel-sched.c (debug_state): Likewise. | |
420252ac | 7115 | * tree-ssa-alias.c (debug_alias_info, debug_points_to_info_for): |
7116 | Likewise. | |
4b987fac | 7117 | * cfganal.c (print_edge_list, verify_edge_list): Likewise. |
7118 | * dwarf2out.c (debug_dwarf_die, debug_dwarf): Likewise. | |
7119 | * tree-eh.c (verify_eh_edges, verify_eh_dispatch_edge): Likewise. | |
420252ac | 7120 | * gimple-pretty-print.c (debug_gimple_stmt, debug_gimple_seq): |
7121 | Likewise. | |
4b987fac | 7122 | * c-pretty-print.c (debug_c_tree): Likewise. |
7123 | * sel-sched-dump.c (debug_insn_rtx, debug_vinsn, debug_expr, debug_insn | |
420252ac | 7124 | debug_av_set, debug_lv_set, debug_ilist, debug_blist, |
7125 | debug_insn_vector, debug_hard_reg_set, debug_mem_addr_value): Likewise. | |
4b987fac | 7126 | * ebitmap.c (debug_ebitmap): Likewise. |
7127 | * function.c (debug_find_var_in_block_tree): Likewise. | |
7128 | * print-rtl.c (debug_rtx): Likewise. | |
7129 | (debug_rtx_count): Likewise. | |
7130 | (debug_rtx_list, debug_rtx_range, debug_rtx_find): Likewise. | |
7131 | * stor-layout.c (debug_rli): Likewise. | |
7132 | * ipa.c (debug_cgraph_node_set, debug_varpool_node_set): Likewise. | |
420252ac | 7133 | * tree-data-ref.c (debug_data_references, |
7134 | debug_data_dependence_relations, debug_data_reference, | |
7135 | debug_data_dependence_relation, debug_rdg_vertex, | |
4b987fac | 7136 | debug_rdg_component, debug_rdg): Likewise. |
7137 | * tree-affine.c (debug_aff): Likewise. | |
420252ac | 7138 | * tree-dfa.c (debug_referenced_vars, debug_variable, debug_dfa_stats): |
7139 | Likewise. | |
4b987fac | 7140 | * except.c (debug_eh_tree, verify_eh_tree): Likewise. |
7141 | * emit-rtl.c (verify_rtl_sharing): Likewise. | |
7142 | * tree-ssa-pre.c (debug_pre_expr, debug_bitmap_set, | |
7143 | debug_value_expressions): Likewise. | |
7144 | * tree-ssa-live.c (debug_scope_block, debug_scope_blocks): Likewise. | |
7145 | * sese.c (debug_rename_map, debug_ivtype_map): Likewise. | |
7146 | * print-tree.c (debug_tree, debug_vec_tree): Likewise. | |
7147 | * cfglayout.c (verify_insn_chain): Likewise. | |
7148 | * graphite-clast-to-gimple.c (debug_clast_name_indexes, | |
7149 | debug_clast_stmt, debug_generated_program): Likewise. | |
7150 | * ggc-page.c (debug_print_page_list): Likewise. | |
7151 | * tree-ssa-ter.c (debug_ter): Likewise. | |
7152 | * graphite-dependences.c (debug_pddr): Likewise. | |
7153 | * sched-deps.c (debug_ds): Likewise. | |
7154 | * tree-ssa.c (verify_ssa): Likewise. | |
7155 | * graphite-poly.c (debug_scattering_function, debug_iteration_domain, | |
7156 | debug_scattering_functions, debug_iteration_domains, debug_pdr, | |
420252ac | 7157 | debug_pdrs, debug_pbb_domain, debug_pbb, debug_scop_context, |
7158 | debug_scop, debug_cloog, debug_scop_params, debug_lst): Likewise. | |
4b987fac | 7159 | * tree-inline.c (debug_find_tree): Likewise. |
7160 | * graphite-ppl.c (debug_ppl_linear_expr, debug_ppl_polyhedron_matrix, | |
7161 | debug_ppl_powerset_matrix): Likewise. | |
7162 | * var-tracking.c (debug_dv): Likewise. | |
7163 | * system.h (DEBUG_FUNCTION, DEBUG_VARIABLE): Define. | |
7164 | * cfgloop.c (verify_loop_structure): Likewise. | |
7165 | * plugin.c (dump_active_plugins, debug_active_plugins): Likewise. | |
7166 | * c-common.c (verify_sequence_points): Likewise. | |
7167 | * sched-rgn.c (debug_regions, debug_region, debug_candidate, | |
7168 | debug_candidates, debug_rgn_dependencies): Likewise. | |
7169 | * tree-ssa-structalias.c (debug_constraint, debug_constraints, | |
7170 | * debug_constraint_graph, debug_solution_for_var, | |
7171 | debug_sa_points_to_info): Likewise. | |
7172 | * sched-vis.c (debug_insn_slim, debug_bb_slim, debug_bb_n_slim): | |
7173 | Likewie. | |
7174 | * tree-cfg.c (debug_cfg_stats, verify_stmts, debug_function, | |
7175 | debug_loops, debug_loop, debug_loop_num): Likewise. | |
7176 | * passes.c (debug_pass): Likewise. | |
7177 | (dump_properties): Likewise; add cfglayout property. | |
7178 | (debug_properties): Likewise. | |
7179 | * tree-ssa-reassoc.c (debug_ops_vector): Likewise. | |
7180 | * varpool.c (debug_varpool): Likewise. | |
7181 | * regcprop.c (debug_value_data): Likewise. | |
7182 | * tree-ssa-operands.c (verify_imm_links, debug_immediate_uses, | |
7183 | debug_immediate_uses_for): Likewise. | |
7184 | ||
387a6c35 | 7185 | 2010-05-29 H.J. Lu <hongjiu.lu@intel.com> |
7186 | ||
7187 | PR bootstrap/44315 | |
7188 | * Makefile.in (build/gencondmd.o): Remove TM_H := $(GTM_H). | |
7189 | Filter out insn-flags.h. | |
7190 | ||
68b8d829 | 7191 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
7192 | ||
7193 | * cgraph.h (struct varpool_node_set_def, | |
7194 | struct cgraph_node_set_def): Remove unused AUX pointer. | |
7195 | (cgraph_node_set_nonempty_p, varpool_node_set_nonempty_p): Use | |
7196 | VEC_empty macro. | |
7197 | ||
4374b84b | 7198 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
7199 | ||
7200 | PR middle-end/44324 | |
7201 | * ipa-cp.c (ipcp_insert_stage): Replace "clone" by "constprop". | |
7202 | ||
2cc621c5 | 7203 | 2010-05-29 Richard Guenther <rguenther@suse.de> |
7204 | ||
7205 | * lto-streamer.c (cached_bp): New global variable. | |
7206 | (bitpack_create): Return the cached bitpack, if available. | |
7207 | (bitpack_delete): Clear and cache the bitpack, if appropriate. | |
7208 | (bp_pack_value): Remove redundant asserts. | |
7209 | ||
16d6ea49 | 7210 | 2010-05-29 Sebastian Pop <sebastian.pop@amd.com> |
7211 | ||
7212 | PR middle-end/44306 | |
7213 | * tree-if-conv.c (is_true_predicate): New. | |
7214 | (is_predicated): Use is_true_predicate. | |
7215 | (add_to_predicate_list): Same. Do not use unshare_expr. | |
7216 | (add_to_dst_predicate_list): Same. | |
7217 | ||
c814c39c | 7218 | 2010-05-29 Sebastian Pop <sebastian.pop@amd.com> |
7219 | ||
7220 | * tree-if-conv.c (add_to_dst_predicate_list): Do not use the ->aux | |
7221 | field on edges. | |
7222 | (predicate_bbs): Same. | |
7223 | (clean_predicate_lists): Same. | |
7224 | (find_phi_replacement_condition): Do not AND the predicate from | |
7225 | edge->aux. | |
7226 | ||
157d6abe | 7227 | 2010-05-29 H.J. Lu <hongjiu.lu@intel.com> |
7228 | ||
7229 | PR bootstrap/44315 | |
7230 | * Makefile.in (build/gencondmd.o): Add a missing `\'. | |
7231 | ||
d77fa6a2 | 7232 | 2010-05-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7233 | ||
7234 | PR target/44261 | |
7235 | config/pa/pa.md (negdf2_slow, negsf2_slow): New patterns. | |
7236 | (negdf2): Adjust expander pattern and use negdf2_slow. | |
7237 | (negsf2): Likewise. | |
7238 | ||
b7834994 | 7239 | 2010-05-29 Nathan Froyd <froydnj@codesourcery.com> |
7240 | ||
420252ac | 7241 | * basic-block.h (struct control_flow_graph): Move last_label_uid field |
7242 | up. | |
b7834994 | 7243 | * df.h (struct df_base_ref): Move regno field up. |
7244 | * dwarf2out.c (struct dw_fde_struct): Move funcdef_number field down. | |
7245 | * expr.h (struct separate_ops): Move location field up. | |
7246 | * optabs.h (struct optab_d): Move libcall_basename field down. | |
7247 | * config/i386/i386.c (struct ix86_frame): Move red_zone_size up. | |
7248 | * config/i386/i386.h (struct machine_function): Convert call_abi field | |
7249 | into a bitfield. Move cfa field to the end of the structure. | |
7250 | ||
f541dff2 | 7251 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
7252 | ||
7253 | * varpool.c (varpool_get_node): Fix lookup. | |
7254 | ||
017e2744 | 7255 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
7256 | ||
7257 | * config/spu/spu-protos.h: Do not include rtl.h. Protect | |
7258 | RTL specific prototypes with #ifdef RTX_CODE. | |
7259 | * config/spu/spu-c.c: Include c-common.h instead of c-tree.h. | |
7260 | * config/spu/t-spu-elf: Fix dependencies. | |
7261 | ||
cf724783 | 7262 | * config/t-darwin (darwin-c.o): Remove C_TREE_H dependency. |
7263 | ||
c36a77e3 | 7264 | 2010-05-29 Mike Stump <mikestump@comcast.net> |
7265 | ||
157d6abe | 7266 | PR bootstrap/44315 |
c36a77e3 | 7267 | * Makefile.in (build/gencondmd.o): Be sure to use GTM_H instead of |
7268 | TM_H when building to avoid dependency loops. | |
7269 | ||
7d6a1ec8 | 7270 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
7271 | ||
21ca6911 | 7272 | * cgraphunit.c (cgraph_materialize_clone): Only remove calles, |
d70f1911 | 7273 | refs and body; not the whole node for masters of materialized clones. |
7d6a1ec8 | 7274 | |
380e9fc3 | 7275 | 2010-05-29 Mike Stump <mikestump@comcast.net> |
7276 | ||
7277 | * config/rs6000/rs6000-c.c: Remove c-tree.h include. | |
7278 | ||
a70a5e2c | 7279 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
7280 | ||
7281 | * cgraph.c (clone_function_name): Take SUFFIX argument; export. | |
7282 | (cgraph_create_virtual_clone): Take SUFFIX argument; udpate | |
7283 | use of clone_function_name. | |
eeaec729 | 7284 | * cgraph.h (cgraph_create_virtual_clone, |
a70a5e2c | 7285 | cgraph_function_versioning): update prototypes. |
7286 | (clone_function_name): Declare. | |
7287 | * ipa-cp.c (ipcp_insert_stage): Update call of | |
7288 | cgraph_create_virtual_clone. | |
7289 | * omp-low.c (create_omp_child_function_name): Use | |
7290 | cgraph_create_virtual_clone. | |
7291 | * cgraphunit.c (cgraph_copy_node_for_versioning): Fix edges updating. | |
7292 | (cgraph_function_versioning): Take SUFFIX argument; produce new name | |
7293 | and make decl local. | |
7294 | ||
ea269688 | 7295 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
7296 | ||
7297 | * vec.h: Include statistics.h | |
7298 | * Makefile.in: Introduce VEC_H. Replace all vec.h dependencies | |
7299 | with VEC_H. | |
7300 | ||
2187c7ad | 7301 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
7302 | ||
7c4b97f4 | 7303 | * c-lex.c: Do not include c-tree.h. |
7304 | * c-pretty-print.c: Likewise. | |
7305 | * c-opts.c: Likewise. | |
7306 | * c-gimplify.c: Likewise. | |
2187c7ad | 7307 | * c-common.c: Likewise. |
7308 | * c-dump.c: Likewise. Include c-common.h. | |
7309 | ||
9f19e0f9 | 7310 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
7311 | ||
7312 | * c-common.h (GCC_DIAG_STYLE): Define earlier in the file, | |
7313 | before including diagnostic-core.h. | |
7314 | (c_cpp_error): New prototype moved from c-tree.h. | |
7315 | Use ATTRIBUTE_GCC_DIAG instead of ATTRIBUTE_GCC_CDIAG. | |
7316 | * c-tree.h (ATTRIBUTE_GCC_CDIAG): Remove define. | |
7317 | (pedwarn_c90, perwarn_c99): Use ATTRIBUTE_GCC_DIAG instead. | |
7318 | (c_cpp_error): Prototype moved to c-common.h. | |
7319 | * Makefile.in: Update dependency for C_COMMON_H. | |
7320 | ||
6ad8abad | 7321 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
7322 | ||
7323 | * c-common.h: Add FIXME for awkward split of c_register_addr_space. | |
7324 | * c-common.c (c_register_addr_space): Remove here. | |
7325 | * c-decl.c (c_register_addr_space): Re-add here. | |
7326 | ||
8d46e4d2 | 7327 | 2010-05-28 Mike Stump <mikestump@comcast.net> |
7328 | ||
7329 | * config/darwin-c.c: Remove c-tree.h include. | |
7330 | ||
460b8bb3 | 7331 | 2010-05-28 Joseph Myers <joseph@codesourcery.com> |
7332 | ||
7333 | * gcc.c: Include diagnostic.h. | |
7334 | (error_count): Remove. All users changed to use errorcount. | |
7335 | (programname): Remove. All users changed to use progname. | |
7336 | (fancy_abort, internal_error, fatal_error, error, warning, inform, | |
7337 | fnotice): Remove. | |
7338 | (execute): Don't include "Internal error" and bug reporting | |
7339 | information in argument of internal_error call. | |
7340 | (process_command): Don't increment error_count after calling | |
7341 | perror_with_name. | |
7342 | (input_filename): Rename to gcc_input_filename. All users | |
7343 | changed. | |
7344 | (main): Call diagnostic_initialize. Register delete_temp_files | |
7345 | with atexit. Use seen_error to test for errors. | |
7346 | * gcc.h: Include diagnostic-core.h. | |
7347 | (fatal_error, error, warning): Remove. | |
7348 | * Makefile.in (GCC_H): Add $(DIAGNOSTIC_CORE_H). | |
7349 | (GCC_OBJS): Add diagnostic.o, pretty-print.o and input.o. | |
7350 | (gcc.o): Update dependencies. | |
7351 | ||
0570b029 | 7352 | 2010-05-28 Jeff Law <law@redhat.com> |
7353 | ||
732f3fd8 | 7354 | * ira.c (ira_bad_reload_regno, ira_build_reload_regno_1): New |
7355 | functions. | |
7356 | * ira.h (ira_bad_reload_regno): Declare | |
7357 | * reload1.c (allocate_reload_reg): Use ira_bad_reload_regno. | |
7358 | ||
0570b029 | 7359 | * ira-color.c (update_curr_costs): Free updated hard reg costs. |
7360 | (ira_reassign_conflict_allocnos): Remove bogus asserts. | |
7361 | (allocno_reload_assign): Likewise. | |
7362 | ||
3ae54e9b | 7363 | 2010-05-28 Nathan Froyd <froydnj@codesourcery.com> |
7364 | ||
7365 | * tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of | |
7366 | build1_stat. | |
7367 | ||
e968c41c | 7368 | 2010-05-28 Richard Guenther <rguenther@suse.de> |
7369 | ||
7370 | PR lto/44312 | |
7371 | * lto-streamer-in.c (unpack_ts_fixed_cst_value_fields): | |
7372 | Stream fixed-point constants mode. | |
7373 | (unpack_ts_type_value_fields): Fix width of TYPE_MODE | |
7374 | and TYPE_PRECISION. | |
7375 | * lto-streamer-out.c (pack_ts_fixed_cst_value_fields): | |
7376 | Stream fixed-point constants mode. | |
7377 | (pack_ts_function_decl_value_fields): Fix width of TYPE_MODE | |
7378 | and TYPE_PRECISION. | |
7379 | ||
134c053e | 7380 | 2010-05-28 Sebastian Pop <sebastian.pop@amd.com> |
7381 | ||
7382 | * tree-scalar-evolution.c (set_nb_iterations_in_loop): Inlined in the | |
7383 | only place it was called from. | |
7384 | (number_of_latch_executions): Do not return chrec_dont_know when the | |
7385 | may_be_zero is a runtime condition: instead, return a COND_EXPR | |
7386 | including the may_be_zero condition. | |
7387 | * cfgloop.h (struct loop): Add a note on COND_EXPRs to the comment | |
7388 | of nb_iterations. | |
7389 | * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Handle | |
7390 | COND_EXPRs. | |
7391 | ||
9fc1b637 | 7392 | 2010-05-28 Sebastian Pop <sebastian.pop@amd.com> |
7393 | ||
7394 | * tree-if-conv.c (replace_phi_with_cond_gimple_assign_stmt): Don't | |
7395 | generate COND_EXPRs for degenerate_phi_result. | |
7396 | ||
7f6dfba2 | 7397 | 2010-05-28 Sebastian Pop <sebastian.pop@amd.com> |
7398 | ||
7399 | PR middle-end/44293 | |
7400 | * tree-if-conv.c (if_convertible_loop_p): Check the | |
7401 | if-convertibility of phi nodes in non predicated BBs. | |
7402 | ||
9de1a4d7 | 7403 | 2010-05-28 Joseph Myers <joseph@codesourcery.com> |
7404 | ||
7405 | * gcc.c (error, warning, inform): Remove duplicate ": " in output. | |
7406 | ||
a922df2e | 7407 | 2010-05-28 Joseph Myers <joseph@codesourcery.com> |
7408 | ||
7409 | PR driver/15303 | |
7410 | * gcc.c (inform, warning, inform): New functions. | |
7411 | (fatal_ice): Rename to internal_error; change cmsgid parameter to | |
7412 | gmsgid. All callers changed. | |
d70f1911 | 7413 | (notice): Rename to fnotice; add parameter fp. All callers changed. |
a922df2e | 7414 | (fatal_error): Rename to fatal_signal. All users changed. |
7415 | (fatal): Rename to fatal_error; change cmsgid parameter to | |
7416 | gmsgid. All callers changed. | |
7417 | (process_command): Use warning instead of error for warnings. | |
7418 | (end_going_arg): Don't use _() around argument of error. | |
7419 | (do_spec_1): Use inform for message from %n specs. Use warning | |
7420 | instead of error for warnings. | |
7421 | (main): Use inform for comparison messages. Use warning for | |
7422 | message about unused linker input. | |
7423 | (error): Increment error_count. Print "error: ". | |
7424 | * gcc.h (fatal): Change to fatal_error. | |
7425 | (warning): Declare. | |
7426 | * config/darwin-driver.c (darwin_default_min_version): Use warning | |
7427 | instead of fprintf for warnings. | |
d70f1911 | 7428 | * cppspec.c (lang_specific_driver): Use fatal_error instead of fatal. |
a922df2e | 7429 | |
ec792a7b | 7430 | 2010-05-28 Julian Brown <julian@codesourcery.com> |
7431 | ||
7432 | * config/arm/thumb2.md (*thumb2_addsi3_compare0): New. | |
7433 | (*thumb2_addsi3_compare0_scratch): New. | |
7434 | * config/arm/constraints.md (Pv): New. | |
7435 | * config/arm/arm.md (*addsi3_compare0): Remove FIXME comment. Use | |
7436 | for ARM mode only. | |
7437 | (*addsi3_compare0_scratch): Likewise. | |
7438 | ||
346beec7 | 7439 | 2010-05-28 Jan Hubicka <jh@suse.cz> |
7440 | ||
4966cbe2 | 7441 | * ipa-reference.c (add_static_var): Remove redundant all_module_statics |
7442 | check. | |
7443 | (ipa_reference_write_optimization_summary): Call is_proper_for_analysis | |
7444 | only on local statics. | |
346beec7 | 7445 | |
e2e89254 | 7446 | 2010-05-28 Iain Sandoe <iains@gcc.gnu.org> |
7447 | ||
eeaec729 | 7448 | * config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin. |
e2e89254 | 7449 | |
c923aba8 | 7450 | 2010-05-28 Maxim Kuvyrkov <maxim@codesourcery.com> |
7451 | ||
7452 | PR bootstrap/44314 | |
7453 | * config/alpha/linux.h, config/rs6000/linux.h, config/rs6000/linux64.h | |
7454 | (OPTION_GLIBC): Define. | |
7455 | ||
93f85900 | 7456 | 2010-05-28 Jakub Jelinek <jakub@redhat.com> |
7457 | ||
824fb3cf | 7458 | PR debug/41048 |
7459 | * dwarf2out.c (double_int_type_size_in_bits): New function. | |
7460 | (round_up_to_align): Change first argument and return value to | |
7461 | double_int. | |
7462 | (field_byte_offset): Work internally on double_ints. | |
7463 | ||
93f85900 | 7464 | PR target/43636 |
7465 | * builtins.c (expand_movstr): Use a temporary pseudo instead | |
7466 | of target even when target is not NULL and not const0_rtx, but | |
7467 | fails movstr predicate. | |
7468 | * config/m32c/blkmov.md (movstr): Add predicate to first operand. | |
7469 | ||
8fb69344 | 7470 | 2010-05-28 Joseph Myers <joseph@codesourcery.com> |
7471 | ||
7472 | * final.c (rest_of_clean_state): Use %m in errors instead of | |
7473 | strerror (errno). | |
7474 | * gengtype.c (read_input_list, close_output_files): Use xstrerror | |
7475 | instead of strerror. | |
7476 | * toplev.c (process_options): Use %m in errors instead of strerror | |
7477 | (errno). | |
7478 | * tree-dump.c (dump_begin): Use %m in errors instead of strerror | |
7479 | (errno). | |
7480 | ||
122d873e | 7481 | 2010-05-28 Uros Bizjak <ubizjak@gmail.com> |
7482 | ||
7483 | * config/i386/i386.c (ix86_fn_abi_va_list): Make static. | |
7484 | (ix86_canonical_va_list_type): Make static. Add declaration. | |
7485 | (ix86_enum_va_list): Make static. Reindent. | |
7486 | * config/i386/i386-protos.h (ix86_fn_abi_va_list): Remove declaration. | |
7487 | (ix86_canonical_va_list_type): Ditto. | |
7488 | (ix86_enum_va_list): Ditto. | |
7489 | ||
2024fa7d | 7490 | 2010-05-28 Richard Guenther <rguenther@suse.de> |
7491 | ||
7492 | * lto-wrapper.c (run_gcc): With -save-temps generate a | |
7493 | user-visible ltrans filename. Fixup ltrans unit numbering. | |
7494 | ||
2a323463 | 7495 | 2010-05-28 Kai Tietz <kai.tietz@onevision.com> |
7496 | ||
acd6f472 | 7497 | * c-common.c (c_common_nodes_and_builtins): Replace use |
7498 | of TARGET_ENUM_VA_LIST by target hook enum_va_list. | |
7499 | * config/i386/i386.c (TARGET_ENUM_VA_LIST_P): Hook | |
7500 | to ix86_enum_va_list. | |
7501 | * config/i386/i386.h (TARGET_ENUM_VA_LIST): Removed. | |
7502 | * doc/tm.texi (TARGET_ENUM_VA_LIST): Removed. | |
7503 | (TARGET_ENUM_VA_LIST_P): Add hook description. | |
7504 | * target-def.h (TARGET_ENUM_VA_LIST_P): Added. | |
7505 | * target.h (gcc_target): Add enum_va_list hook. | |
7506 | ||
2a323463 | 7507 | PR bootstrap/44299 |
7508 | * config/i386/t-cygming: Adjust header dependencies for winnt-cxx.c. | |
7509 | * config/i386/winnt-cxx.c (IN_GCC_FRONTEND): Remove undefine. | |
7510 | * config/i386/winnt.c (IN_GCC_FRONTEND): Likewise. | |
7511 | ||
9787030a | 7512 | 2010-05-28 Alan Modra <amodra@gmail.com> |
7513 | ||
7514 | PR target/44266 | |
7515 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use | |
7516 | emit_library_call machinery to set up __tls_get_addr calls. | |
7517 | ||
223f4804 | 7518 | 2010-05-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7519 | ||
7520 | * config/s390/s390.md (movqi): Fix typo ('*' -> '#'). | |
7521 | ||
bcf72c8b | 7522 | 2010-05-28 Dodji Seketeli <dodji@redhat.com> |
7523 | ||
4966cbe2 | 7524 | Revert fix for PR c++/44188 |
bcf72c8b | 7525 | * c-common.c (is_typedef_decl): Revert the moving of this |
7526 | definition ... | |
7527 | * tree.c (is_typedef_decl): ... here. | |
7528 | (typdef_variant_p): Revert the moving of this definition | |
7529 | here from gcc/cp/tree.c. | |
7530 | * c-common.h (is_typedef_decl): Revert the moving of this | |
7531 | declaration ... | |
7532 | * tree.h (is_typedef_decl): ... here. | |
7533 | (typedef_variant_p): Revert the moving of this declaration here | |
7534 | from gcc/cp/cp-tree.h | |
7535 | * dwarf2out.c (is_naming_typedef_decl): Revert this new function. | |
7536 | (gen_tagged_type_die): Revert the splitting out of ... | |
7537 | (gen_type_die_with_usage): ... this function. Revert the anonymous | |
7538 | tagged type handling. | |
7539 | (gen_typedef_die): Revert emitting DW_TAG_typedef for | |
7540 | typedefs naming anonymous tagged types. | |
7541 | ||
602aa8a5 | 7542 | 2010-05-28 Segher Boessenkool <segher@kernel.crashing.org> |
7543 | ||
7544 | * config/rs6000/rs6000-modes.def (PSImode): Delete. | |
7545 | ||
ce81d1c2 | 7546 | 2010-05-28 Segher Boessenkool <segher@kernel.crashing.org> |
7547 | ||
7548 | * config/rs6000/constraints.md ("z" constraint): Change to CA_REGS. | |
7549 | * config/rs6000/predicates.md: Change XER_REGNO_P to CA_REGNO_P | |
7550 | throughout. | |
7551 | * config/rs6000/rs6000.c (rs6000_reg_names, alt_reg_names): Change | |
7552 | "xer" to "ca". | |
7553 | Change XER_REGNO_P to CA_REGNO_P, XER_REGNO to CA_REGNO, and | |
7554 | XER_REGS to CA_REGS throughout. | |
7555 | * config/rs6000/rs6000.h: Same. | |
7556 | (ADDITIONAL_REGISTER_NAMES): Add "xer". | |
7557 | * config/rs6000/rs6000.md: Change XER_REGNO to CA_REGNO. Document | |
7558 | that mode_iterator "P" is the size for arithmetic carries as well. | |
7559 | * doc/md.texi (rs6000 section, "z" constraint): Fix documentation. | |
7560 | ||
547a09b3 | 7561 | 2010-05-28 Jakub Jelinek <jakub@redhat.com> |
7562 | ||
7563 | PR bootstrap/44255 | |
7564 | * combine.c (struct rtx_subst_pair): Define unconditionally. | |
7565 | (propagate_for_debug_subst): Likewise. If not AUTO_INC_DEC, | |
7566 | copy_rtx pair->to instead of cleanup_auto_inc_dec it. | |
7567 | Call make_compound_operation on pair->to. | |
7568 | (propagate_for_debug): Don't call make_compound_operation here. | |
7569 | Always use simplify_replace_fn_rtx. | |
7570 | ||
7571 | 2010-05-27 Sterling Augustine <sterling@tensilica.com> | |
0cd4f29f | 7572 | |
7573 | * doc/invoke.texi (xtensa options): Add -mforce-no-pic. | |
7574 | * config/xtensa/xtensa.c (override_options): Check | |
7575 | TARGET_FORCE_NO_PIC and set flag_pic. | |
7576 | * config/xtensa/xtensa.opt: Document -mforce-no-pic | |
7577 | ||
7578 | 2010-05-27 Kai Tietz <kai.tietz@onevision.com> | |
7579 | ||
d0149355 | 7580 | PR bootstrap/44299 |
7581 | * config/i386/winnt.c (IN_GCC_FRONTEND): Undefine. | |
7582 | * config/i386/winnt-cxx.c (IN_GCC_FRONTEND): Likewise. | |
7583 | ||
852f689e | 7584 | 2010-05-27 Joseph Myers <joseph@codesourcery.com> |
7585 | ||
7586 | * diagnostic-core.h: New. Contents moved from diagnostic.h and | |
7587 | toplev.h. | |
7588 | * diagnostic.c: Don't include toplev.h. | |
7589 | (progname): Define. Moved from toplev.c. | |
7590 | (seen_error): New function. | |
7591 | * diagnostic.h: Include diagnostic-core.h. | |
7592 | (diagnostic_t, emit_diagnostic): Don't declare here. | |
7593 | * toplev.c (progname): Move to toplev.c. | |
7594 | (emit_debug_global_declarations, compile_file, finalize, | |
7595 | do_compile, toplev_main): Use seen_error. | |
7596 | * toplev.h: Include diagnostic-core.h. | |
7597 | (trim_filename, GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG, | |
7598 | internal_error, warning, warning_at, error, error_n, error_at, | |
7599 | fatal_error, pedwarn, permerror, sorry, inform, inform_n, | |
7600 | verbatim, fnotice, progname): Move to diagnostic-core.h. | |
7601 | * builtins.c: Include diagnostic-core.h instead of diagnostic.h. | |
7602 | (expand_builtin_expect): Use seen_error. | |
7603 | * c-decl.c: Include diagnostic-core.h instead of diagnostic.h. | |
7604 | (c_make_fname_decl, c_write_global_declarations): Use seen_error. | |
7605 | * c-format.c: Include diagnostic-core.h instead of diagnostic.h. | |
7606 | * c-gimplify.c: Include diagnostic-core.h instead of diagnostic.h. | |
7607 | * c-lang.c: Include diagnostic-core.h instead of diagnostic.h. | |
7608 | * c-lex.c (c_lex_with_flags, interpret_float): Don't increment | |
7609 | errorcount for errors. | |
7610 | * c-opts.c (c_common_finish): Use seen_error. | |
7611 | * cgraph.c: Include diagnostic-core.h instead of diagnostic.h. | |
7612 | * cgraphunit.c (verify_cgraph_node, verify_cgraph, | |
7613 | cgraph_output_pending_asms, cgraph_optimize): Use seen_error. | |
7614 | * coverage.c: Include diagnostic-core.h instead of diagnostic.h. | |
7615 | (get_coverage_counts): Use seen_error. | |
7616 | * dwarf2out.c (dwarf2out_finish): Use seen_error. | |
7617 | * gimplify.c (gimplify_var_or_parm_decl, gimple_push_cleanup, | |
7618 | gimplify_body): Use seen_error. | |
7619 | * ipa-inline.c (cgraph_early_inlining): Use seen_error. | |
7620 | * ipa-pure-const.c (gate_pure_const): Use seen_error. | |
7621 | * ipa-reference.c (gate_reference): Use seen_error. | |
7622 | * jump.c: Include diagnostic-core.h instead of diagnostic.h. | |
7623 | * lambda-code.c: Include diagnostic-core.h instead of | |
7624 | diagnostic.h. | |
7625 | * lto-cgraph.c: Include diagnostic-core.h instead of diagnostic.h. | |
7626 | * lto-compress.c: Include diagnostic-core.h instead of | |
7627 | diagnostic.h. | |
7628 | * lto-section-in.c: Include diagnostic-core.h instead of | |
7629 | diagnostic.h. | |
7630 | * lto-streamer-out.c: Include diagnostic-core.h instead of | |
7631 | diagnostic.h. | |
7632 | * lto-streamer.c: Include diagnostic-core.h instead of | |
7633 | diagnostic.h. | |
7634 | (gate_lto_out): Use seen_error. | |
7635 | * matrix-reorg.c: Include diagnostic-core.h instead of | |
7636 | diagnostic.h. | |
7637 | * omega.c: Include diagnostic-core.h instead of diagnostic.h. | |
7638 | * omp-low.c: Include diagnostic-core.h instead of diagnostic.h. | |
7639 | (gate_expand_omp, lower_omp_1): Use seen_error. | |
7640 | * passes.c: Include diagnostic-core.h instead of diagnostic.h. | |
7641 | (rest_of_decl_compilation, rest_of_type_compilation, | |
7642 | gate_rest_of_compilation, ipa_write_summaries): Use seen_error. | |
7643 | * tree-cfg.c (label_to_block_fn): Use seen_error. | |
7644 | * tree-inline.c (optimize_inline_calls): Use seen_error. | |
7645 | * tree-mudflap.c (mudflap_finish_file): Use | |
7646 | seen_error. | |
7647 | * tree-optimize.c (gate_all_optimizations, | |
7648 | gate_all_early_local_passes, gate_all_early_optimizations): Use | |
7649 | seen_error. | |
7650 | * tree-ssa-structalias.c (gate_ipa_pta): Use seen_error. | |
7651 | * varpool.c: Include diagnostic-core.h instead of diagnostic.h. | |
7652 | (varpool_remove_unreferenced_decls, | |
7653 | varpool_assemble_pending_decls): Use seen_error. | |
7654 | * Makefile.in (DIAGNOSTIC_CORE_H): Define. | |
7655 | (TOPLEV_H, DIAGNOSTIC_H): Update. | |
7656 | (c-decl.o, c-lang.o, c-format.o, lto-compress.o, lto-cgraph.o, | |
7657 | lto-streamer-out.o, lto-section-in.o, lto-streamer.o, | |
7658 | c-gimplify.o, omp-low.o, omega.o, diagnostic.o, passes.o, | |
7659 | builtins.o, jump.o, cgraph.o, varpool.o, matrix-reorg.o, | |
7660 | coverage.o, lambda-code.o): Update dependencies. | |
7661 | ||
15a007df | 7662 | 2010-05-25 Dodji Seketeli <dodji@redhat.com> |
7663 | ||
7664 | PR c++/44188 | |
7665 | * c-common.c (is_typedef_decl): Move this definition ... | |
7666 | * tree.c (is_typedef_decl): ... here. | |
7667 | (typdef_variant_p): Move definition here from gcc/cp/tree.c. | |
7668 | * c-common.h (is_typedef_decl): Move this declaration ... | |
7669 | * tree.h (is_typedef_decl): ... here. | |
7670 | (typedef_variant_p): Move declaration here from gcc/cp/cp-tree.h | |
7671 | * dwarf2out.c (is_naming_typedef_decl): New function. | |
7672 | (gen_tagged_type_die): Split out of ... | |
7673 | (gen_type_die_with_usage): ... this function. When an anonymous | |
7674 | tagged type is named by a typedef, make sure a DW_TAG_typedef DIE | |
7675 | is emitted for the typedef. | |
7676 | (gen_typedef_die): Emit DW_TAG_typedef also for typedefs naming | |
7677 | anonymous tagged types. | |
7678 | ||
8ee76a8d | 7679 | 2010-05-27 Jason Merrill <jason@redhat.com> |
7680 | ||
7681 | * print-tree.c (debug_vec_tree): New fn. | |
7682 | (print_vec_tree): New fn. | |
7683 | * tree.h: Declare them. | |
7684 | * gdbinit.in (pvt): New command. | |
7685 | ||
7686 | * print-tree.c (print_node) [TREE_VEC]: Print elements normally. | |
7687 | ||
7688 | * gdbinit.in (pdd): New command. | |
7689 | ||
854efde4 | 7690 | 2010-05-27 Jan Hubicka <jh@suse.cz> |
7691 | ||
7692 | * ipa-inline.c (cgraph_estimate_size_after_inlining): Make inline. | |
7693 | (update_caller_keys): Return early if there are no callers; | |
7694 | only update fibheap when decresing the key. | |
7695 | (update_callee_keys): Avoid recursion. | |
7696 | (decide_inlining_of_small_functions): When badness does not match; | |
7697 | re-insert into fibheap. | |
7698 | ||
141acd01 | 7699 | 2010-05-27 Steven Bosscher <steven@gcc.gnu.org> |
7700 | ||
7701 | * Makefile.in (ALL_CFLAGS): Add file-specific CFLAGS. | |
7702 | (ALL_HOST_FRONTEND_OBJS): New, for all front-end specific objects. | |
7703 | (ALL_HOST_BACKEND_OBJS): New, for all backend and target objects. | |
7704 | (ALL_HOST_OBJS): Now a union of the above two. | |
7705 | <section "Language makefile fragments">: Add -DIN_GCC_FRONTEND for | |
7706 | all files in ALL_HOST_FRONTEND_OBJS. | |
7707 | * system.h: Poison GCC_RTL_H if IN_GCC_FRONTEND is defined. | |
7708 | ||
7709 | * c-common.c: Pretend to be a backend file by undefining | |
7710 | IN_GCC_FRONTEND (still need rtl.h here). | |
7711 | ||
f2d608d8 | 7712 | 2010-05-27 Jan Hubicka <jh@suse.cz> |
7713 | ||
7714 | * cgraph.h (struct cgraph_node): Mark former_clone_of by GTY ((skip)). | |
7715 | * cgraphunit.c (clone_of_p): Compile only when checking is enabled. | |
7716 | ||
68e419a1 | 7717 | 2010-05-27 Jan Hubicka <jh@suse.cz> |
7718 | ||
7719 | * sched-ebb.c: Rename struct deps to struct deps_desc. | |
7720 | * ddg.c: Likewise. | |
7721 | * sel-sched-ir.c: Likewise. | |
7722 | * sched-deps.c: Likewise. | |
7723 | * sched-int.h: Likewise. | |
7724 | * sched-rgn.c: Likewise. | |
7725 | ||
657e7797 | 7726 | 2010-05-27 Jon Beniston <jon@beniston.com> |
0f9d9d89 | 7727 | |
7728 | PR 43726 | |
eeaec729 | 7729 | * config/lm32/lm32.h: Remove definition of |
0f9d9d89 | 7730 | GO_IF_MODE_DEPENDENT_ADDRESS. Update copyright year. |
7731 | ||
3c9e9cba | 7732 | 2010-05-27 Eric Botcazou <ebotcazou@adacore.com> |
7733 | ||
7734 | PR lto/44230 | |
7735 | * dwarf2out.c (dwarf2out_begin_prologue): Fix nits in sorry message. | |
7736 | ||
99f61dd0 | 7737 | 2010-05-27 Richard Guenther <rguenther@suse.de> |
7738 | ||
7739 | PR tree-optimization/44284 | |
7740 | * tree-vect-stmts.c (vectorizable_assignment): Handle | |
7741 | sign-changing conversions as simple copy. | |
7742 | ||
6c1af759 | 7743 | 2010-05-27 Maxim Kuvyrkov <maxim@codesourcery.com> |
7744 | ||
7745 | * gthr-posix.h (pthread_cancel): Don't declare if compiling against | |
7746 | Bionic C library. | |
7747 | (__gthread_active_p): Check for pthread_create if compiling against | |
7748 | Bionic C library. | |
7749 | ||
f1b7ead9 | 7750 | 2010-05-27 Maxim Kuvyrkov <maxim@codesourcery.com> |
7751 | ||
7752 | Support compilation for Android platform. Reimplement -mandroid. | |
7753 | ||
7754 | * config.gcc (*linux*): Include linux-android.h and linux-android.opt. | |
7755 | (*android*): Set ANDROID_DEFAULT. | |
7756 | (arm*-*-linux*): Include linux-android.h. | |
7757 | (arm*-*-eabi*): Don't include previous -mandroid implementation. | |
7758 | * config/arm/eabi.h: Remove, move Android-specific parts ... | |
7759 | * config/linux-android.h: ... here. New file. | |
7760 | * config/arm/eabi.opt: Rename to ... | |
7761 | * config/linux-android.opt: ... this. | |
7762 | (mandroid): Allow -mno-android option. Initialize based on | |
7763 | ANDROID_DEFAULT. | |
7764 | * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, CC1_SPEC, LIB_SPEC): | |
7765 | Move logic to corresponding LINUX_TARGET_* macros. | |
7766 | (TARGET_OS_CPP_BUILTINS): Define __ANDROID__, when appropriate. | |
7767 | * config/linux-eabi.h (LINK_SPEC, CC1_SPEC, CC1PLUS_SPEC, LIB_SPEC,) | |
7768 | (STARTFILE_SPEC, ENDFILE_SPEC): Define to choose between Linux and | |
7769 | Android definitions. | |
7770 | (LINUX_TARGET_OS_CPP_BUILTINS): Define __ANDROID__ if TARGET_ANDROID. | |
7771 | * doc/invoke.texi (-mandroid, -tno-android-cc, -tno-android-ld): | |
7772 | Document. | |
7773 | ||
66fd9df9 | 7774 | 2010-05-27 Maxim Kuvyrkov <maxim@codesourcery.com> |
7775 | ||
7776 | Add support for Bionic C library | |
7777 | ||
7778 | * config.gcc (LIBC_GLIBC, LIBC_BIONIC, LIBC_UCLIBC): New tm_define | |
7779 | macro. | |
7780 | (DEFAULT_LIBC): New tm_define macro set to one of LIBC_*. | |
7781 | (bfin*-uclinux, moxie-*-uclinux*, m68k-*-uclinux*): Update. | |
7782 | ||
7783 | * config/linux.h (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC): Define. | |
7784 | (LINUX_TARGET_OS_CPP_BUILTINS): Define __gnu_linux__ only for GLIBC. | |
7785 | (CHOOSE_DYNAMIC_LINKER1, CHOOSE_DYNAMIC_LINKER): Make it easier | |
7786 | to support multiple C libraries. Handle Bionic. | |
7787 | (BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,) | |
7788 | (BIONIC_DYNAMIC_LINKER64): Define. | |
7789 | (LINUX_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64): | |
7790 | Update. | |
7791 | (TARGET_HAS_SINCOS): Enable for Bionic. | |
7792 | ||
7793 | * config/linux.opt: Rewrite to handle more than 2 C libraries. Make | |
7794 | the last option specified on command line take effect. | |
7795 | (linux_uclibc): Rename to linux_libc, initialize using DEFAULT_LIBC. | |
7796 | (mbionic): New. | |
7797 | (mglibc, muclibc): Update. | |
7798 | ||
7799 | * config/alpha/linux-elf.h, config/rs6000/linux64.h, | |
7800 | * config/rs6000/sysv4.h (CHOOSE_DYNAMIC_LINKER): Update to use | |
7801 | DEFAULT_LIBC. | |
7802 | ||
7803 | * doc/invoke.texi (-mglibc, -muclibc): Update. | |
7804 | (-mbionic): Document. | |
7805 | ||
34208e18 | 7806 | 2010-05-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7807 | ||
7808 | * c-common.h (c_register_addr_space): Add prototype. | |
7809 | (ADDR_SPACE_KEYWORD): Remove. | |
7810 | * c-common.c (c_register_addr_space): New function. | |
7811 | (c_addr_space_name): Reimplement. | |
7812 | (c_common_reswords): Do not include TARGET_ADDR_SPACE_KEYWORDS. | |
7813 | ||
7814 | * config/spu/spu.h (TARGET_ADDR_SPACE_KEYWORDS): Remove. | |
7815 | (REGISTER_TARGET_PRAGMAS): Call c_register_addr_space. | |
7816 | ||
7817 | * doc/tm.texi (Named Address Spaces): Mention c_register_addr_space. | |
7818 | Remove TARGET_ADDR_SPACE_KEYWORDS. | |
7819 | ||
37ba4887 | 7820 | 2010-05-27 Joseph Myers <joseph@codesourcery.com> |
7821 | ||
7822 | * input.c: New file. | |
7823 | * input.h (main_input_filename): Move declaration to toplev.h. | |
7824 | * toplev.c (input_location, line_table): Move to input.c | |
7825 | * toplev.h (main_input_filename): Move declaration from input.h. | |
7826 | * tree.c (expand_location): Move to input.c. | |
7827 | * Makefile.in (OBJS-common): Add input.o. | |
7828 | (input.o): Add dependencies. | |
7829 | ||
411503bd | 7830 | 2010-05-27 Richard Guenther <rguenther@suse.de> |
7831 | ||
7832 | * lto-wrapper.c (maybe_unlink_file): Ignore unlink failure | |
7833 | for non-existant files. | |
7834 | (fork_execute): Mark args_name file as deleted. | |
7835 | ||
890d0caa | 7836 | 2010-05-27 Kai Tietz <kai.tietz@onevision.com> |
7837 | ||
7838 | PR bootstrp/44287 | |
7839 | * c-lex.c (narrowest_unsigned_type): Check for NULL_TREE. | |
7840 | (narrow_signed_type): Likewise. | |
7841 | ||
e748b31d | 7842 | 2010-05-26 Jan Hubicka <jh@suse.cz> |
7843 | ||
7844 | * cgraphunit.c (verify_cgraph_node): Do checking that DECL match | |
7845 | edge only when checking is enabled; check using former_clone_of; | |
7846 | check inline clones too. | |
7847 | (cgraph_materialize_clone): Record former_clone_of pointer. | |
7848 | (cgraph_redirect_edge_call_stmt_to_callee): Assert that we are not | |
7849 | combining redirections; dump args_to_skip bitmap | |
7850 | (cgraph_materialize_all_clones): Do no redirection here. | |
7851 | * ipa-inline.c (inline_transform): Do redirection here. | |
7852 | * cgraph.h (struct cgraph_node): Add former_clone_of filed (enabled | |
7853 | cheking only). | |
7854 | ||
0a6bc858 | 7855 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
7856 | ||
7857 | * config/avr/avr-c.c: Do not include regs.h. | |
7858 | Include cpplib.h for cpp_define and tree.h for c-common.h. | |
7859 | * config/avr/avr-devices.c (avr_mcu_types): Fix initializer. | |
7860 | * config/avr/t-avr: Fix dependencies for avr-c.o. | |
7861 | ||
e3805e9e | 7862 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
7863 | ||
7864 | * explow.c (set_stack_check_libfunc): Adjust to accept name as a | |
7865 | string instead of SYMBOL_REF rtx. | |
7866 | * rtl.h (set_stack_check_libfunc): Move prototype from here... | |
7867 | * libfuncs.h: ...to here. Adjust for explow.c change. | |
7868 | ||
ddcdd2ab | 7869 | 2010-05-26 Joseph Myers <joseph@codesourcery.com> |
7870 | ||
7871 | * pretty-print.c: Don't include ggc.h. | |
7872 | (identifier_to_locale_alloc, identifier_to_locale_free): Define. | |
7873 | (identifier_to_locale): Use them for allocation. | |
7874 | * pretty-print.h (identifier_to_locale_alloc, | |
7875 | identifier_to_locale_free): Declare. | |
7876 | * toplev.c (alloc_for_identifier_to_locale): New. | |
7877 | (general_init): Set identifier_to_locale_alloc and | |
7878 | identifier_to_locale_free. | |
7879 | * Makefile.in (pretty-print.o): Update dependencies. | |
7880 | ||
895241b4 | 7881 | 2010-05-26 Eric Botcazou <ebotcazou@adacore.com> |
7882 | ||
7883 | * gimple.c (gimple_types_compatible_p): Return 0 for aggregate and | |
7884 | pointer types if they have different alignment or mode. | |
7885 | ||
46d8a442 | 7886 | 2010-05-26 Anatoly Sokolov <aesok@post.ru> |
7887 | ||
7888 | * config/sparc/sparc.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, | |
7889 | LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
7890 | * config/sparc/sparc-protos.h (function_value): Remove declaration. | |
7891 | * config/sparc/sparc.c (sparc_function_value, sparc_libcall_value, | |
7892 | sparc_function_value_regno_p): New functions. | |
7893 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
7894 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
7895 | (function_value): Rename to... | |
7896 | (sparc_function_value_1): ... this. Make static. Change 'incoming_p' | |
7897 | argument to 'outgoing'. | |
7898 | (function_arg_record_value, function_arg_union_value, | |
7899 | function_arg_vector_value): Update comment. | |
7900 | ||
34bf8b00 | 7901 | 2010-05-26 Eric Botcazou <ebotcazou@adacore.com> |
7902 | ||
7903 | * dwarf2out.c (struct dw_fde_struct): Reorder flags. | |
7904 | (fde_needed_for_eh_p): New predicate. | |
7905 | (output_call_frame_info): Use it throughout to decide whether FDEs | |
7906 | are needed for EH purpose. | |
7907 | (dwarf2out_begin_prologue): Reorder assignments. | |
7908 | ||
12ec13df | 7909 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
7910 | ||
7911 | * tree-if-conv.c (if_convertible_gimple_assign_stmt_p): Do not | |
7912 | special case loop->header. | |
7913 | (is_predicated): New. | |
7914 | (if_convertible_loop_p): Call it. | |
7915 | ||
60e0f7c4 | 7916 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
7917 | ||
7918 | * tree-if-conv.c (add_to_dst_predicate_list): Do not pass a statemet | |
7919 | iterator in parameter. Do not generate code during the analysis. | |
7920 | (tree_if_convert_cond_stmt): Removed. | |
7921 | (tree_if_convert_stmt): Removed. | |
7922 | (predicate_bbs): New. | |
7923 | (if_convertible_loop_p): Call predicate_bbs. | |
7924 | (tree_if_conversion): Simplify the top-level logic as predicate_bbs | |
7925 | now contains all the analysis part. | |
7926 | ||
01c40c0b | 7927 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
7928 | ||
7929 | * tree-if-conv.c (tree_if_convert_cond_stmt): Do not remove | |
7930 | statements in the analysis part. | |
7931 | (tree_if_convert_stmt): Update comment. | |
7932 | (remove_conditions_and_labels): New. | |
7933 | (combine_blocks): Call remove_conditions_and_labels. | |
7934 | (tree_if_conversion): Update comment. | |
7935 | ||
cedd9a27 | 7936 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
7937 | ||
7938 | * tree-if-conv.c (if_convertible_bb_p): Don't handle BBs with more | |
7939 | than 2 predecessors or more than 2 successors. | |
7940 | ||
fa6e55f9 | 7941 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
7942 | ||
7943 | * tree-if-conv.c (if_convertible_loop_p): Avoid if-conversion | |
7944 | of loops in which the data dependence analysis fails. | |
7945 | ||
cd40b2d3 | 7946 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
7947 | ||
7948 | * tree-if-conv.c (if_convertible_loop_p): Do not compute/free | |
7949 | CDI_POST_DOMINATORS. | |
7950 | (tree_if_conversion): Same. | |
7951 | ||
dd3354aa | 7952 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
7953 | ||
7954 | * tree-if-conv.c (tree_if_conversion): Do not return a bool. | |
7955 | ||
d11c70fa | 7956 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
7957 | ||
7958 | * tree-if-conv.c: Update copyright years. Fix comments. | |
7959 | Fix indentation. | |
7960 | ||
6388cfe2 | 7961 | 2010-05-26 Kai Tietz <kai.tietz@onevision.com> |
7962 | ||
7963 | * builtin-types.def (BT_INT128): New primitive type. | |
7964 | (BT_UINT128): Likewise. | |
7965 | * c-common.c (c_common_r): Add __int128 keyword. | |
7966 | (c_common_type_for_size): Handle __int128. | |
7967 | (c_common_type_for_mode): Likewise. | |
7968 | (c_common_signed_or_unsigned_type): Likewise. | |
7969 | (c_common_nodes_and_builtins): Add builtin type | |
7970 | if target supports 128-bit integer scalar. | |
7971 | * c-common.h (enum rid): Add RID_INT128. | |
7972 | * c-cppbuiltin.c (c_cpp_builtins): Define __SIZEOF_INT128__ | |
7973 | if target supports 128-bit integer scalar. | |
43638d1c | 7974 | * c-decl.c (declspecs_add_type): Handle new keyword __int128. |
6388cfe2 | 7975 | (finish_declspecs): Likewise. |
7976 | * c-parser.c (c_token_starts_typename): Handle RID_INT128. | |
7977 | (c_token_starts_declspecs): Likewise. | |
7978 | (c_parser_declspecs): Likewise. | |
7979 | (c_parser_attributes): Likewise. | |
7980 | (c_parser_objc_selector): Likewise. | |
7981 | * c-pretty-print.c (pp_c_integer_constant): Handle __int128. | |
7982 | * c-tree.h (enum c_typespec_keyword): Add cts_int128. | |
7983 | * gimple.c (gimple_signed_or_unsigned_type): Handle int128 types. | |
7984 | * tree.c (make_or_reuse_type): Likewise. | |
7985 | (make_unsigned_type): Likewise. | |
7986 | (build_common_tree_nodes_2): Likewise. | |
7987 | * tree.h (enum integer_type_kind): Add itk_int128 and | |
7988 | itk_unsigned_int128. | |
43638d1c | 7989 | (int128_integer_type_node): New define. |
6388cfe2 | 7990 | (int128_unsigned_type_node): New define. |
6388cfe2 | 7991 | * doc/extend.texi: Add documentation about __int128 type. |
7992 | ||
3df47675 | 7993 | 2010-05-26 Richard Guenther <rguenther@suse.de> |
7994 | ||
7995 | * tree-ssa-sccvn.c (copy_nary): Adjust. | |
7996 | (copy_phis): Rename to ... | |
7997 | (copy_phi): ... this. Adjust. | |
7998 | (copy_references): Rename to ... | |
7999 | (copy_reference): ... this. Adjust. | |
8000 | (process_scc): Use HTAB_FOR_EACH_ELEMENT to insert the | |
8001 | result into the valid table. | |
8002 | ||
a3fe427a | 8003 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
8004 | ||
8005 | * config/spu/spu-c.c: Do not include function.h, rtl.h, expr.h, | |
8006 | insn-config.h, insn-codes.h, recog.h, and optabs.h. | |
8007 | ||
5cac8529 | 8008 | 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
8009 | ||
43638d1c | 8010 | * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Remove. |
5cac8529 | 8011 | |
e00798c7 | 8012 | 2010-05-26 Richard Guenther <rguenther@suse.de> |
8013 | ||
8014 | * opts.c (common_handle_option): Handle OPT_Ofast. | |
8015 | ||
3c6a9715 | 8016 | 2010-05-26 Joseph Myers <joseph@codesourcery.com> |
8017 | ||
8018 | * diagnostic.c: Don't include opts.h. | |
8019 | (permissive_error_option): Define. | |
8020 | (diagnostic_initialize): Take n_opts parameter. Allocate memory | |
8021 | for classify_diagnostic. Don't use memset for | |
8022 | classify_diagnostic. Initialize new and recently added fields. | |
8023 | (diagnostic_classify_diagnostic): Use context->n_opts instead of | |
8024 | N_OPTS. | |
8025 | (diagnostic_report_diagnostic): Pass context parameter to | |
8026 | diagnostic_report_warnings_p. Use option_enabled and option_name | |
8027 | hooks from context. | |
8028 | (emit_diagnostic): Use permissive_error_option. | |
8029 | (permerror): Likewise. | |
8030 | * diagnostic.h: Don't include options.h. | |
8031 | (struct diagnostic_context): Add n_opts, opt_permissive, | |
8032 | inhibit_warnings, warn_system_headers, option_enabled and | |
8033 | option_name fields. Change classify_diagnostic to a pointer. | |
8034 | * opts-diagnostic.h: New file. | |
8035 | * opts.c: Include opts-diagnostic.h. | |
8036 | (common_handle_option): Set global_dc fields for -Wfatal-errors, | |
8037 | -Wsystem-headers, -fshow-column, -pedantic-errors and -w. | |
8038 | (option_name): New function. | |
8039 | * c-opts.c (c_common_init_options): Set global_dc->opt_permissive. | |
8040 | (c_common_handle_option): Set global_dc->permissive for | |
8041 | -fpermissive. | |
8042 | * c-common.c (c_cpp_error): Save and restore | |
8043 | global_dc->warn_system_headers, not variable warn_system_headers. | |
8044 | * toplev.c: Include opts-diagnostic.h. | |
8045 | (general_init): Update call to diagnostic_initialize. Set | |
8046 | global_dc->show_column, global_dc->option_enabled and | |
8047 | global_dc->option_name. | |
8048 | (process_options): Don't set global_dc fields here. | |
8049 | * Makefile.in (DIAGNOSTIC_H): Remove options.h. | |
8050 | (diagnostic.o, opts.o, toplev.o): Update dependencies. | |
8051 | ||
abdd77b8 | 8052 | 2010-04-30 Hariharan Sandanagobalane <hariharan@picochip.com> |
8053 | ||
8054 | * config/picochip/picochip.md (movsi): Split a movsi from a | |
8055 | const after reload. | |
8056 | ||
9ca7413c | 8057 | 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
8058 | ||
8059 | * ggc-zone.c: Update copyright year. | |
8060 | (poison_region): Mark memory for Valgrind as undefined before | |
8061 | memset () call and inaccessible afterwards. | |
8062 | (ggc_pch_total_size): Change type of i to int. | |
8063 | ||
8064 | 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> | |
8065 | ||
8066 | * ggc-common.c (ggc_free_overhead): Allow empty slot. | |
8067 | ||
8068 | 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> | |
8069 | ||
8070 | * ggc-common.c: Update copyright year. | |
8071 | (ggc_rlimit_bound): Remove prototype. Compile only if | |
8072 | !ENABLE_GC_CHECKING && !ENABLE_GC_ALWAYS_COLLECT. | |
8073 | (ggc_min_heapsize_heuristic): Compile only if !ENABLE_GC_CHECKING | |
8074 | && !ENABLE_GC_ALWAYS_COLLECT. Make static. | |
8075 | (ggc_min_heapsize_heuristic): Likewise. | |
8076 | ||
ac30e3b2 | 8077 | 2010-05-26 Richard Guenther <rguenther@suse.de> |
8078 | ||
8079 | PR rtl-optimization/44164 | |
8080 | * tree-ssa-alias.c (aliasing_component_refs_p): Fix the | |
8081 | no-common access-path disambiguation. | |
8082 | (indirect_ref_may_alias_decl_p): Adjust. | |
8083 | (indirect_refs_may_alias_p): Likewise. | |
8084 | (refs_may_alias_p_1): Likewise. | |
8085 | ||
e262034d | 8086 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
8087 | ||
8088 | * c-typeck.c: Do not include expr.h. | |
8089 | ||
cb4070e0 | 8090 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
8091 | ||
8092 | * rtl.h (decl_default_tls_model): Move prototype from here... | |
8093 | * output.h: ...to here. | |
8094 | * c-decl.c: Do not include rtl.h. | |
8095 | * c-pragma.c: Likewise. | |
8096 | * c-parser.c: Likewise. | |
8097 | * c-gimplify.c: Likewise. And also not hard-reg-set. | |
8098 | * c-common.c: Do not include rtl.h. Include tm_p.h and add a | |
8099 | FIXME note for it. Add a FIXME note for expr.h. | |
8100 | * config/i386/i386-protos.h (ix86_enum_va_list, ix86_fn_abi_va_list, | |
8101 | ix86_canonical_va_list_type): Make visible even if RTX_CODE is not | |
8102 | defined. | |
8103 | ||
0e9ae12f | 8104 | 2010-05-26 Jakub Jelinek <jakub@redhat.com> |
8105 | ||
8106 | PR target/44199 | |
8107 | * config/rs6000/rs6000.c (rs6000_emit_epilogue): If cfun->calls_alloca | |
8108 | or total_size is larger than red zone size for non-V4 ABI, emit a | |
8109 | stack_tie resp. frame_tie insn before stack pointer restore. | |
8110 | * config/rs6000/rs6000.md (frame_tie): New insn. | |
8111 | ||
cbeb677e | 8112 | 2010-05-25 Eric Botcazou <ebotcazou@adacore.com> |
8113 | ||
8114 | * function.h (struct function): Add can_throw_non_call_exceptions bit. | |
8115 | * lto-streamer-in.c (input_function): Stream it in. | |
8116 | * lto-streamer-out.c (output_function): Stream it out. | |
8117 | * function.c (allocate_struct_function): Set it. | |
8118 | (expand_function_end): Substitute cfun->can_throw_non_call_exceptions | |
8119 | for flag_non_call_exceptions. | |
8120 | * cfgbuild.c (control_flow_insn_p): Likewise. | |
8121 | (make_edges): Likewise. | |
8122 | * cfgexpand.c (expand_stack_alignment): Likewise. | |
8123 | * combine.c (distribute_notes): Likewise. | |
8124 | * cse.c (cse_extended_basic_block): Likewise. | |
8125 | * except.c (insn_could_throw_p): Likewise. | |
8126 | * gcse.c (simple_mem): Likewise. | |
8127 | * ipa-pure-const.c (check_call): Likewise. | |
8128 | (check_stmt ): Likewise. | |
8129 | * lower-subreg.c (lower-subreg.c): Likewise. | |
8130 | * optabs.c (emit_libcall_block): Likewise. | |
8131 | (prepare_cmp_insn): Likewise. | |
8132 | * postreload-gcse.c (eliminate_partially_redundant_loads): Likewise. | |
8133 | * postreload.c (rest_of_handle_postreload): Likewise. | |
8134 | * reload1.c (reload_as_needed): Likewise. | |
8135 | (emit_input_reload_insns): Likewise. | |
8136 | (emit_output_reload_insns): Likewise. | |
8137 | (fixup_abnormal_edges): Likewise. | |
8138 | * sel-sched-ir.c (init_global_and_expr_for_insn): Likewise. | |
8139 | * store-motion.c (find_moveable_store): Likewise. | |
8140 | * tree-eh.c (stmt_could_throw_p): Likewise. | |
8141 | (tree_could_throw_p): Likewise. | |
8142 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. | |
8143 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
8144 | (thumb1_expand_prologue): Likewise. | |
8145 | * config/rx/rx.md (cbranchsf4): Likewise. | |
8146 | (cmpsf): Likewise. | |
8147 | * config/s390/s390.c (s390_emit_prologue): Likewise. | |
8148 | * tree-inline.c (initialize_cfun): Copy can_throw_non_call_exceptions. | |
8149 | (inline_forbidden_into_p): New predicate. | |
8150 | (expand_call_inline): Use it to forbid inlining. | |
8151 | (tree_can_inline_p): Likewise. | |
8152 | ||
28ca4cf5 | 8153 | 2010-05-25 Steven Bosscher <steven@gcc.gnu.org> |
8154 | ||
8155 | * config/i386/i386-c.c: Do not include rtl.h. | |
8156 | * config/i386/t-i386: Update dependencies. | |
8157 | ||
3ed880f8 | 8158 | 2010-05-25 Steven Bosscher <steven@gcc.gnu.org> |
8159 | ||
8160 | * attribs.c: Do not include rtl.h. | |
8161 | * Makefile.in: Update dependencies. | |
8162 | ||
d817d01d | 8163 | 2010-05-25 Anatoly Sokolov <aesok@post.ru> |
8164 | ||
8165 | * double-int.h (double_int_and): New. | |
8166 | * combine.c (try_combine): Clean up, use double_int_* and | |
8167 | immed_double_int_const functions. | |
8168 | ||
b1383b01 | 8169 | 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8170 | ||
8171 | * configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout, | |
8172 | stderr to /dev/null instead of grep -q. | |
8173 | * configure: Regenerate. | |
8174 | ||
c4b9c21a | 8175 | 2010-05-25 Steven Bosscher <steven@gcc.gnu.org> |
8176 | ||
8177 | * Makefile.in (EXCEPT_H): Fix typo. | |
8178 | ||
657e7797 | 8179 | 2010-05-25 Vladimir Makarov <vmakarov@redhat.com> |
1180227d | 8180 | |
8181 | * ira-build.c (update_conflict_hard_reg_costs): New. | |
8182 | (ira_build): Call update_conflict_hard_reg_costs. | |
8183 | ||
cd3ece53 | 8184 | 2010-05-25 Jakub Jelinek <jakub@redhat.com> |
8185 | ||
a8c57873 | 8186 | PR debug/41371 |
8187 | * var-tracking.c (find_loc_in_1pdv): Guard asserts with | |
8188 | ENABLE_CHECKING. | |
8189 | (intersect_loc_chains): Walk the s2var's loc_chain together | |
8190 | with s1node chain as long as the locations are equal, don't | |
8191 | call find_loc_in_1pdv in that case. | |
8192 | ||
cd3ece53 | 8193 | PR debug/42801 |
8194 | * tree-inline.c (remap_decls): Remap DECL_VALUE_EXPR here... | |
8195 | (copy_bind_expr): ... instead of here. | |
8196 | (copy_tree_body_r): If id->remapping_type_depth clear TREE_BLOCK | |
8197 | if the block hasn't been remapped. | |
8198 | * dwarf2out.c (gen_formal_parameter_die, gen_variable_die): When | |
8199 | emitting concrete instance of abstract VLA, add DW_AT_type attribute. | |
8200 | ||
78af26dc | 8201 | 2010-05-25 Richard Guenther <rguenther@suse.de> |
8202 | ||
8203 | PR middle-end/44069 | |
8204 | * gimple-fold.c (maybe_fold_stmt_addition): Avoid generating | |
8205 | out-of-bounds array accesses. | |
8206 | ||
4062f557 | 8207 | 2010-05-25 Richard Guenther <rguenther@suse.de> |
8208 | ||
8209 | * lto-wrapper.c (nr, input_names, output_names, makefile): Globalize. | |
8210 | (lto_wrapper_exit): Unlink all LTRANS temporary files on error. | |
8211 | (run_gcc): Re-organize to make cleanup easier. | |
8212 | ||
f0b78aef | 8213 | 2010-05-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8214 | ||
8215 | * config/s390/s390.c (optimization_options): Fix and move the | |
8216 | flag_prefetch_loop_arrays override ... | |
8217 | (override_options): ... here. | |
8218 | ||
1f63d337 | 8219 | 2010-05-25 Joseph Myers <joseph@codesourcery.com> |
8220 | ||
8221 | * diagnostic.c: Don't include plugin.h. | |
8222 | (diagnostic_report_diagnostic): Don't handle plugins specially | |
8223 | here. Pass context to internal_error callback. | |
8224 | * diagnostic.h (struct diagnostic_context): Add context parameter | |
8225 | to internal_error callback. | |
43638d1c | 8226 | * plugin.c (warn_if_plugins, plugins_internal_error_function): New. |
1f63d337 | 8227 | * plugin.h (struct diagnostic_context): Declare. |
8228 | (warn_if_plugins, plugins_internal_error_function): Declare. | |
8229 | * toplev.c (general_init): Set global_dc->internal_error. | |
8230 | * Makefile.in (diagnostic.o): Update dependencies. | |
8231 | ||
191bb103 | 8232 | 2010-05-25 Iain Sandoe <iains@gcc.gnu.org> |
8233 | ||
8234 | * config/rs6000/darwin64.h: Update DARWIN_ARCH_SPEC. | |
8235 | * config/rs6000/t-darwin64: New. | |
8236 | * config.gcc (powerpc64-*-darwin*): Use darwin.opts, t-darwin64, | |
8237 | build crt2. | |
8238 | ||
f547ca12 | 8239 | 2010-05-25 Christian Borntraeger <borntraeger@de.ibm.com> |
8240 | ||
8241 | PR 44203 | |
8242 | * tree-ssa-loop-prefetch.c: Fix logic for step calculation to | |
8243 | match the original (and intended) behaviour before r159557. This | |
8244 | changeset changed a=a+b*c to a=(a+b)*b which was obviously wrong | |
8245 | in two ways. | |
8246 | ||
1ebc0b9f | 8247 | 2010-05-25 Richard Guenther <rguenther@suse.de> |
8248 | ||
8249 | * doc/invoke.texi: Document -Ofast. | |
8250 | * target.h (struct gcc_target): Add handle_ofast. | |
8251 | * target-def.h (TARGET_HANDLE_OFAST): Add. | |
8252 | (TARGET_INITIALIZER): Adjust. | |
43638d1c | 8253 | * opts.c (decode_options): Handle -Ofast. Enable -ffast-math with it. |
1ebc0b9f | 8254 | * common.opt (Ofast): Add. |
8255 | ||
56bf9283 | 8256 | 2010-05-25 Paolo Bonzini <bonzini@gnu.org> |
8257 | ||
8258 | * doc/tm.texi (STORE_FLAG_VALUE): Do not refer to sCC patterns. | |
8259 | * doc/md.texi (cstoreXX4): Update for cond-optab changes. | |
8260 | ||
8261 | 2010-05-25 Paolo Bonzini <bonzini@gnu.org> | |
11e6818b | 8262 | |
8263 | PR target/43610 | |
8264 | * optabs.c (prepare_float_lib_cmp): Allow reversing the comparison | |
8265 | even if !FLOAT_LIB_COMPARE_RETURNS_BOOL. Always compute true_rtx and | |
8266 | false_rtx. Use false_rtx to compute the correct *ptest for reversed | |
8267 | comparisons for which !FLOAT_LIB_COMPARE_RETURNS_BOOL. | |
8268 | ||
1b2c4a5b | 8269 | 2010-05-25 Jakub Jelinek <jakub@redhat.com> |
8270 | ||
8271 | * dwarf2out.c (loc_descr_plus_const): When offset is negative, use | |
8272 | DW_OP_minus with negated offset instead of DW_OP_plus. | |
43638d1c | 8273 | (loc_list_from_tree): Don't test whether second operand is INTEGER_CST. |
1b2c4a5b | 8274 | |
34f82fe1 | 8275 | 2010-05-25 Wei Guozhi <carrot@google.com> |
8276 | ||
8277 | * config/arm/thumb2.md (thumb2_tlobits_cbranch): Add constraint to | |
8278 | tst instruction and a new alternative. | |
8279 | * config/arm/constraints.md (Pu): New constraint. | |
8280 | ||
286887d9 | 8281 | 2010-05-24 Sebastian Pop <sebastian.pop@amd.com> |
8282 | ||
8283 | * function.c (assign_stack_local_1): Initialize variable | |
8284 | to avoid warning when bootstrapping at -O3. | |
8285 | ||
75f488d0 | 8286 | 2010-05-24 Steven Bosscher <steven@gcc.gnu.org> |
8287 | ||
8288 | * configure.ac (all_lang_makefiles): Remove everything related to it. | |
8289 | * configure: Regenerate. | |
8290 | * Makefile.in: Fix reference to ada Make-lang.in. | |
8291 | Remove support for LANG_MAKEFILES. | |
8292 | ||
e3cce89a | 8293 | 2010-05-24 Daniel Jacobowitz <dan@codesourcery.com> |
8294 | Sandra Loosemore <sandra@codesourcery.com> | |
8295 | ||
8296 | * config/arm/neon-testgen.ml: Use dg-add-options arm_neon. | |
8297 | * doc/sourcebuild.texi (Effective-Target Keywords): Update arm_neon_ok | |
8298 | description. Add arm_neon_fp16_ok. | |
8299 | (Add Options): Add arm_neon and arm_neon_fp16. | |
8300 | ||
2c2efebb | 8301 | 2010-05-24 Joseph Myers <joseph@codesourcery.com> |
8302 | ||
8303 | * diagnostic.c: Don't include flags.h. | |
8304 | (pedantic_warning_kind, permissive_error_kind): Take diagnostic | |
43638d1c | 8305 | context parameters. Check flags in the context passed as a parameter. |
2c2efebb | 8306 | (diagnostic_build_prefix): Add context parameter. Check |
8307 | show_column flag in context. | |
43638d1c | 8308 | (diagnostic_action_after_output): Check fatal_errors flag in context. |
8309 | (diagnostic_report_current_module): Check show_column flag in context. | |
2c2efebb | 8310 | (default_diagnostic_starter): Update call to |
8311 | diagnostic_build_prefix. | |
43638d1c | 8312 | (diagnostic_report_diagnostic): Pass context to pedantic_warning_kind. |
2c2efebb | 8313 | (emit_diagnostic): Pass context to permissive_error_kind. |
8314 | (permerror): Pass context to permissive_error_kind. | |
8315 | * diagnostic.h (struct diagnostic_context): Add show_column, | |
8316 | pedantic_errors, permissive and fatal_errors fields. | |
8317 | (diagnostic_build_prefix): Update prototype. | |
8318 | * langhooks.c | |
8319 | * toplev.c (process_options): Set flags in global_dc from | |
8320 | flag_show_column, flag_pedantic_errors, flag_permissive, | |
8321 | flag_fatal_errors. | |
8322 | * tree-diagnostic.c (default_tree_diagnostic_starter): Update call | |
8323 | to diagnostic_build_prefix. | |
8324 | * Makefile.in (diagnostic.o): Update dependencies. | |
8325 | ||
cbac4842 | 8326 | 2010-05-24 H.J. Lu <hongjiu.lu@intel.com> |
8327 | ||
8328 | * config/i386/ia32intrin.h (__crc32q): Define only if | |
8329 | __SSE4_2__ is defined. | |
8330 | ||
01a5cbdf | 8331 | 2010-05-24 Iain Sandoe <iains@gcc.gnu.org> |
8332 | ||
8333 | PR target/44132 | |
8334 | PR middle-end/43602 | |
8335 | * varasm.c (get_emutls_init_templ_addr): Copy DECL_PRESERVE_P, | |
8336 | DECL_VISIBILITY_SPECIFIED. | |
8337 | (emutls_decl): Set DECL_PRESERVE_P and copy | |
8338 | DECL_VISIBILITY_SPECIFIED, DECL_RESTRICTED_P. | |
8339 | (emutls_finalize_control_var): New callback. | |
8340 | (emutls_finish): Finalize emutls control variables. | |
43638d1c | 8341 | * toplev.c (compile_file): Move the call to emutls_finish () |
01a5cbdf | 8342 | before varpool_assemble_pending_decls (). |
8343 | ||
0d2f7070 | 8344 | 2010-05-24 Daniel Gutson <dgutson@codesourcery.com> |
8345 | ||
8346 | * config/arm/lib1funcs.asm (__ARM_ARCH__): __ARM_ARCH_7EM__ | |
8347 | added to the preprocessor condition. | |
8348 | ||
47a55be7 | 8349 | 2010-05-24 Paul Brook <paul@codesourcery.com> |
8350 | ||
8351 | * gengtype-lex.l: Add HARD_REG_SET. | |
8352 | * expr.c (expand_expr_real_1): Record writes to hard registers. | |
8353 | * function.c (rtl_data): Add asm_clobbers. | |
8354 | * ira.c (compute_regs_asm_clobbered): Use crtl->asm_clobbers. | |
8355 | (ira_setup_eliminable_regset): Remove regs_asm_clobbered. | |
8356 | Use crtl->asm_clobbers. | |
8357 | ||
4da34bd9 | 8358 | 2010-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
8359 | ||
8360 | * doc/makefile.texi (Makefile): Mention stages 'profile' | |
8361 | and 'feedback' for profiledbootstrap. | |
8362 | ||
b32fbb9d | 8363 | 2010-05-23 H.J. Lu <hongjiu.lu@intel.com> |
8364 | ||
8365 | PR target/44245 | |
8366 | * config/i386/i386.c (def_builtin): Properly check | |
8367 | OPTION_MASK_ISA_64BIT. | |
8368 | ||
ce3765bf | 8369 | 2010-05-23 Joseph Myers <joseph@codesourcery.com> |
8370 | ||
8371 | * c-decl.c (diagnose_mismatched_decls): Give error for duplicate | |
8372 | typedefs with different but compatible types. Allow duplicate | |
8373 | typedefs with the same type except for pedantic non-C1X, but give | |
8374 | warning for variably modified types. | |
8375 | * c-typeck.c (tagged_types_tu_compatible_p, | |
8376 | function_types_compatible_p, type_lists_compatible_p, | |
8377 | comptypes_internal): Add parameter different_types_p; set | |
8378 | *different_types_p for different but compatible types. All | |
8379 | callers changed. | |
8380 | (comptypes_check_different_types): New. | |
8381 | * c-tree.h (comptypes_check_different_types): Declare. | |
8382 | ||
a79e7523 | 8383 | 2010-05-23 Steven Bosscher <steven@gcc.gnu.org> |
8384 | ||
43638d1c | 8385 | * regs.h: Do not include obstack.h, basic-block.h. Include machmode.h. |
a79e7523 | 8386 | * jump.c: Include basic-block.h. |
8387 | * profile.c: Likewise. | |
8388 | * tree-profile.c: Likewise. | |
8389 | * coverage.c: Likewise. | |
8390 | * basic-block.h (optimize_function_for_size_p): Move to function.h. | |
8391 | (optimize_function_for_speed_p): Likewise. | |
8392 | * function.h (optimize_function_for_size_p, | |
8393 | optimize_function_for_speed_p): Moved here from basic-block.h. | |
c6e9953d | 8394 | * Makefile.in: Update dependencies. |
a79e7523 | 8395 | |
c335b5fe | 8396 | 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
8397 | ||
8398 | * lto-wrapper.c (run_gcc): Unset MAKEFLAGS and MFLAGS | |
8399 | before calling make; allow override through $MAKE. | |
8400 | * doc/invoke.texi (Optimize Options): Document override. | |
8401 | ||
c7000751 | 8402 | 2010-05-23 Anatoly Sokolov <aesok@post.ru> |
8403 | ||
8404 | * config/rs6000/rs6000.c (rs6000_mode_dependent_address_p): New. | |
8405 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
8406 | (rs6000_mode_dependent_address_ptr): Make static. | |
8407 | * config/rs6000/rs6000.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
8408 | * config/rs6000/rs6000-protos.h (rs6000_mode_dependent_address_ptr): | |
8409 | Remove. | |
8410 | ||
db94badd | 8411 | 2010-05-23 Maarten Lankhorst <mlankhorst@codeweavers.com> |
5aa30755 | 8412 | |
8413 | PR target/43869 | |
8414 | * config/i386/i386.c: Make sure that the correct regparm is passed. | |
8415 | ||
7ffb8e03 | 8416 | 2010-05-23 Steven Bosscher <steven@gcc.gnu.org> |
8417 | ||
8418 | * sbitmap.h (sbitmap_ptr, const_sbitmap_ptr): Move from here... | |
8419 | * sbitmap.c: ...to here to internalize sbitmap element access. | |
8420 | Do not include tm.h, rtl.h, flags.h, hard-reg-set.h, and obstack.h. | |
8421 | Explain why basic-block.h is included. | |
8422 | * function.h: Include tm.h for CUMULATIVE_ARGS. | |
8423 | * Makefile.in: Update dependencies. | |
8424 | ||
0f71a633 | 8425 | 2010-05-22 Steven Bosscher <steven@gcc.gnu.org> |
8426 | ||
8427 | * coretypes.h (struct simple_bitmap_def, sbitmap, const_sbitmap): | |
8428 | New core types. | |
8429 | * sbitmap.h (struct sbitmap_def): Do not typedef here. | |
8430 | * sbitmap.c: Include sbitmap.h. | |
8431 | * basic-block.h: Do not include bitmap.h, sbitmap.h, partition.h, | |
8432 | hard-reg-set.h. Split everything related to regsets out from here... | |
8433 | * regset.h: ...to here. New file. | |
8434 | * df.h: Include regset.h and sbitmap.h. | |
8435 | * tree-flow.h: Likewise. | |
8436 | * cfgloop.h: Likewise. | |
8437 | * except.h: Do not include sbitmap.h. Include hashtab.h. | |
8438 | * cgraph.h: Include vec.h and function.h. | |
8439 | * reload.h (struct insn_chain): Change types of live_throughout | |
8440 | and dead_or_set from regset_head to bitmap_head. | |
8441 | (compute_use_by_pseudos): Be defined also if regset.h is not included. | |
8442 | * ira-int.h (struct ira_spilled_reg_stack_slot): Change type of | |
8443 | spilled_regs from regset_head to bitmap_head to avoid dependency | |
8444 | in regset.h. | |
8445 | * sel-sched-ir.h: Include regset.h. | |
8446 | * reload.c: Include df.h before reload.h. | |
8447 | * caller-save.c: Likewise. | |
8448 | * reload1.c: Likewise. | |
8449 | * ira.c: Likewise. | |
8450 | (mark_elimination): Update type of r to bitmap, consistent with | |
8451 | DF_LR_IN. | |
8452 | * dominance.c: Include bitmap.h. | |
8453 | * modulo-sched.c: Include df.h. | |
8454 | * cfganal.c: Include bitmap.h and sbitmap.h. | |
8455 | * cfgbuild.c: Include sbitmap.h. | |
8456 | * lcm.c: Include sbitmap.h. | |
8457 | * gcse.c (alloc_gcse_mem): Allocate regset with ALLOC_REG_SET. | |
8458 | * domwalk.c: Include sbitmap.h, exclude ggc.h. | |
8459 | * cfgexpand.c: Inlcude bitmap.h and sbitmap.h. | |
8460 | * cselib.c: Include bitmap.h. | |
8461 | * tree-optimize.c: Include regset.h. | |
8462 | * stmt.c: Include bitmap.h. | |
8463 | * Makefile.in: Update dependencies. | |
8464 | ||
933b10c6 | 8465 | 2010-05-22 Jan Hubicka <jh@suse.cz> |
8466 | ||
8467 | * cgraph.h (struct varpool_node): Add same_comdat_group. | |
8468 | * lto-cgrpah.c (lto_output_varpool_node): Output same_comdat_group | |
8469 | pointer. | |
8470 | (output_varpool): Update call of lto_output_varpool_node. | |
8471 | (input_varpool): Read same_comdat_group pointer. | |
8472 | (input_varpool_1): Fixup same_comdat_group pointer. | |
8473 | * ipa.c (cgraph_remove_unreachable_nodes): WHen one of same comdat | |
8474 | group is needed, all are. | |
8475 | * varpool.c (varpool_remove_node): Remove node from same comdat group | |
8476 | linklist too. | |
8477 | (varpool_analyze_pending_decls): Walk same comdat groups. | |
8478 | ||
240a4681 | 8479 | 2010-05-22 Steven Bosscher <steven@gcc.gnu.org> |
8480 | ||
8481 | * rtl.h (union rtunion_def): Remove rt_bit member. | |
8482 | (XBITMAP, X0BITMAP, XCBITMAP): Remove. | |
8483 | * print-rtl (print_rtx): Do not print the member. | |
8484 | * gengtype.c (adjust_field_rtx_def): Do not handle it. | |
8485 | * gengenrtl.c (type_from_format): Likewise. | |
8486 | (accessor_from_format): Likewise. | |
8487 | ||
34408c5c | 8488 | 2010-05-22 Joseph Myers <joseph@codesourcery.com> |
8489 | ||
8490 | * dbgcnt.c: Include toplev.h instead of errors.h. | |
8491 | * ira-emit.c: Don't include errors.h. | |
8492 | * ira.c: Include toplev.h instead of errors.h. | |
8493 | * lto-compress.c: Include toplev.h instead of errors.h. | |
8494 | * Makefile.in (lto-compress.o, lto-streamer-out.o, ira-emit.o, | |
8495 | ira.o, dbgcnt.o): Update dependencies. | |
8496 | ||
ca3e35a1 | 8497 | 2010-05-22 Richard Guenther <rguenther@suse.de> |
8498 | ||
8499 | * gimple.c (gimple_types_compatible_p): Check type qualifications | |
8500 | before merging pointer to complete and pointer to incomplete type. | |
8501 | * lto-symtab.c (lto_symtab_resolve_symbols): For commons make sure | |
8502 | we use our own resolution algorithm. The gold linker plugin | |
8503 | doesn't do the job we want it to do here. | |
8504 | ||
e1ff7315 | 8505 | 2010-05-22 Anatoly Sokolov <aesok@post.ru> |
8506 | ||
8507 | * config/sparc/sparc.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
8508 | * config/sparc/sparc.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
8509 | (sparc_mode_dependent_address_p): New function. | |
8510 | ||
1da86322 | 8511 | 2010-05-21 Steven Bosscher <steven@gcc.gnu.org> |
8512 | ||
8513 | * Makefile.in: Fix c-pch.o and ggc-common.o dependencies on timevars. | |
8514 | ||
8515 | * timevar.c: Do not include any core headers. | |
8516 | (timevar_print): De-i18n-ize. | |
8517 | (print_time): Likewise. | |
8518 | * timevar.h (timevar_push, timevar_pop): Make inline functions. | |
8519 | ||
ce084dfc | 8520 | 2010-05-21 Joseph Myers <joseph@codesourcery.com> |
8521 | ||
8522 | * diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or | |
8523 | langhooks-def.h. | |
8524 | (diagnostic_initialize): Initialize x_data not last_function. | |
8525 | (diagnostic_report_current_function): Move to tree-diagnostic.c. | |
8526 | (default_diagnostic_starter): Call | |
8527 | diagnostic_report_current_module not | |
8528 | diagnostic_report_current_function. | |
8529 | (diagnostic_report_diagnostic): Initialize x_data not | |
8530 | abstract_origin. | |
8531 | (verbatim): Likewise. | |
8532 | * diagnostic.h (struct diagnostic_info): Change abstract_origin to | |
8533 | x_data. | |
8534 | (struct diagnostic_context): Change last_function to x_data. | |
8535 | (diagnostic_auxiliary_data): Replace with | |
8536 | diagnostic_context_auxiliary_data and | |
8537 | diagnostic_info_auxiliary_data. | |
8538 | (diagnostic_last_function_changed, diagnostic_set_last_function, | |
8539 | diagnostic_report_current_function): Move to tree-diagnostic.h. | |
8540 | (print_declaration, dump_generic_node, print_generic_stmt, | |
8541 | print_generic_stmt_indented, print_generic_expr, | |
8542 | print_generic_decl, debug_c_tree, dump_omp_clauses, | |
8543 | print_call_name, debug_generic_expr, debug_generic_stmt, | |
8544 | debug_tree_chain, default_tree_printer): Move to | |
8545 | tree-pretty-print.h. | |
8546 | (debug_gimple_stmt, debug_gimple_seq, print_gimple_seq, | |
8547 | print_gimple_stmt, print_gimple_expr, dump_gimple_stmt): Move to | |
8548 | gimple-pretty-print.h. | |
8549 | * pretty-print.c: Don't include tree.h | |
8550 | (pp_base_format): Don't handle %K here. | |
8551 | (pp_base_tree_identifier): Move to tree-pretty-print.c. | |
8552 | * pretty-print.h (text_info): Change abstract_origin to x_data. | |
8553 | (pp_tree_identifier, pp_unsupported_tree, | |
8554 | pp_base_tree_identifier): Move to tree-pretty-print.h. | |
8555 | * gimple-pretty-print.h, tree-diagnostic.c, tree-diagnostic.h, | |
8556 | tree-pretty-print.h: New files. | |
8557 | * tree-pretty-print.c: Include tree-pretty-print.h. | |
8558 | (percent_K_format): New. Moved from pretty-print.c. | |
8559 | (pp_base_tree_identifier): Move from pretty-print.c. | |
8560 | * c-objc-common.c: Include tree-pretty-print.h. | |
8561 | (c_tree_printer): Handle %K here. | |
8562 | * langhooks.c: Include tree-diagnostic.h. | |
8563 | (lhd_print_error_function): Use diagnostic_abstract_origin macro. | |
8564 | * toplev.c: Include tree-diagnostic.h and tree-pretty-print.h. | |
8565 | (default_tree_printer): Handle %K using percent_K_format. | |
8566 | (general_init): Use default_tree_diagnostic_starter. | |
8567 | * tree.c: Include tree-diagnostic.h and tree-pretty-print.h. | |
8568 | (free_lang_data): Use default_tree_diagnostic_starter. | |
8569 | * c-pretty-print.c: Include tree-pretty-print.h. | |
43638d1c | 8570 | * cfgexpand.c: Include tree-pretty-print.h and gimple-pretty-print.h. |
8571 | * cgraphunit.c: Include tree-pretty-print.h and gimple-pretty-print.h. | |
ce084dfc | 8572 | * dwarf2out.c: Include tree-pretty-print.h. |
8573 | * except.c: Include tree-pretty-print.h. | |
8574 | * gimple-pretty-print.c: Include tree-pretty-print.h and | |
8575 | gimple-pretty-print.h. | |
8576 | * gimplify.c: Include tree-pretty-print.h. | |
8577 | * graphite-poly.c: Include tree-pretty-print.h and | |
8578 | gimple-pretty-print.h. | |
8579 | * ipa-cp.c: Include tree-pretty-print.h. | |
8580 | * ipa-inline.c: Include gimple-pretty-print.h. | |
43638d1c | 8581 | * ipa-prop.c: Include tree-pretty-print.h and gimple-pretty-print.h. |
ce084dfc | 8582 | * ipa-pure-const.c: Include gimple-pretty-print.h. |
8583 | * ipa-struct-reorg.c: Include tree-pretty-print.h and | |
8584 | gimple-pretty-print.h. | |
8585 | * ipa-type-escape.c: Include tree-pretty-print.h. | |
8586 | * print-rtl.c: Include tree-pretty-print.h. | |
8587 | * print-tree.c: Include gimple-pretty-print.h. | |
8588 | * sese.c: Include tree-pretty-print.h. | |
8589 | * tree-affine.c: Include tree-pretty-print.h. | |
8590 | * tree-browser.c: Include tree-pretty-print.h. | |
8591 | * tree-call-cdce.c: Include gimple-pretty-print.h. | |
43638d1c | 8592 | * tree-cfg.c: Include tree-pretty-print.h and gimple-pretty-print.h. |
ce084dfc | 8593 | * tree-chrec.c: Include tree-pretty-print.h. |
8594 | * tree-data-ref.c: Include tree-pretty-print.h and | |
8595 | gimple-pretty-print.h. | |
8596 | * tree-dfa.c: Include tree-pretty-print.h. | |
8597 | * tree-if-conv.c: Include tree-pretty-print.h and | |
8598 | gimple-pretty-print.h. | |
8599 | * tree-inline.c: Include tree-pretty-print.h. | |
8600 | * tree-into-ssa.c: Include tree-pretty-print.h and | |
8601 | gimple-pretty-print.h. | |
8602 | * tree-nrv.c: Include tree-pretty-print.h. | |
8603 | * tree-object-size.c: Include tree-pretty-print.h and | |
8604 | gimple-pretty-print.h. | |
8605 | * tree-outof-ssa.c: Include tree-pretty-print.h and | |
8606 | gimple-pretty-print.h. | |
8607 | * tree-parloops.c: Include tree-pretty-print.h and | |
8608 | gimple-pretty-print.h. | |
8609 | * tree-predcom.c: Include tree-pretty-print.h and | |
8610 | gimple-pretty-print.h. | |
8611 | * tree-scalar-evolution.c: Include tree-pretty-print.h and | |
8612 | gimple-pretty-print.h. | |
8613 | * tree-sra.c: Include tree-pretty-print.h. | |
8614 | * tree-ssa-address.c: Include tree-pretty-print.h. | |
8615 | * tree-ssa-alias.c: Include tree-pretty-print.h. | |
8616 | * tree-ssa-ccp.c: Include tree-pretty-print.h and | |
8617 | gimple-pretty-print.h. | |
8618 | * tree-ssa-coalesce.c: Include tree-pretty-print.h. | |
8619 | * tree-ssa-copy.c: Include tree-pretty-print.h and | |
8620 | gimple-pretty-print.h. | |
8621 | * tree-ssa-copyrename.c: Include tree-pretty-print.h. | |
8622 | * tree-ssa-dce.c: Include tree-pretty-print.h and | |
8623 | gimple-pretty-print.h. | |
8624 | * tree-ssa-dom.c: Include tree-pretty-print.h and | |
8625 | gimple-pretty-print.h. | |
8626 | * tree-ssa-dse.c: Include gimple-pretty-print.h. | |
8627 | * tree-ssa-forwprop.c: Include tree-pretty-print.h. | |
8628 | * tree-ssa-ifcombine.c: Include tree-pretty-print.h. | |
8629 | * tree-ssa-live.c: Include tree-pretty-print.h and | |
8630 | gimple-pretty-print.h. | |
8631 | * tree-ssa-loop-im.c: Include tree-pretty-print.h and | |
8632 | gimple-pretty-print.h. | |
8633 | * tree-ssa-loop-ivcanon.c: Include tree-pretty-print.h and | |
8634 | gimple-pretty-print.h. | |
8635 | * tree-ssa-loop-ivopts.c: Include tree-pretty-print.h and | |
8636 | gimple-pretty-print.h. | |
8637 | * tree-ssa-loop-niter.c: Include tree-pretty-print.h and | |
8638 | gimple-pretty-print.h. | |
8639 | * tree-ssa-loop-prefetch.c: Include tree-pretty-print.h. | |
8640 | * tree-ssa-math-opts.c: Include gimple-pretty-print.h. | |
8641 | * tree-ssa-operands.c: Include tree-pretty-print.h and | |
8642 | gimple-pretty-print.h. | |
8643 | * tree-ssa-phiprop.c: Include tree-pretty-print.h and | |
8644 | gimple-pretty-print.h. | |
8645 | * tree-ssa-pre.c: Include tree-pretty-print.h and | |
8646 | gimple-pretty-print.h. | |
8647 | * tree-ssa-propagate.c: Include gimple-pretty-print.h. | |
8648 | * tree-ssa-reassoc.c: Include tree-pretty-print.h and | |
8649 | gimple-pretty-print.h. | |
8650 | * tree-ssa-sccvn.c: Include tree-pretty-print.h and | |
8651 | gimple-pretty-print.h. | |
8652 | * tree-ssa-sink.c: Include gimple-pretty-print.h. | |
8653 | * tree-ssa-ter.c: Include tree-pretty-print.h and | |
8654 | gimple-pretty-print.h. | |
8655 | * tree-ssa-uninit.c: Include gimple-pretty-print.h. | |
8656 | * tree-ssa.c: Include tree-pretty-print.h and | |
8657 | gimple-pretty-print.h. | |
8658 | * tree-stdarg.c: Include gimple-pretty-print.h. | |
8659 | * tree-switch-conversion.c: Include gimple-pretty-print.h. | |
8660 | * tree-tailcall.c: Include tree-pretty-print.h and | |
8661 | gimple-pretty-print.h. | |
8662 | * tree-vect-data-refs.c: Include tree-pretty-print.h and | |
8663 | gimple-pretty-print.h. | |
8664 | * tree-vect-loop-manip.c: Include tree-pretty-print.h and | |
8665 | gimple-pretty-print.h. | |
8666 | * tree-vect-loop.c: Include tree-pretty-print.h and | |
8667 | gimple-pretty-print.h. | |
8668 | * tree-vect-patterns.c: Include gimple-pretty-print.h. | |
8669 | * tree-vect-slp.c: Include tree-pretty-print.h and | |
8670 | gimple-pretty-print.h. | |
8671 | * tree-vect-stmts.c: Include tree-pretty-print.h and | |
8672 | gimple-pretty-print.h. | |
8673 | * tree-vectorizer.c: Include tree-pretty-print.h. | |
8674 | * tree-vrp.c: Include tree-pretty-print.h and | |
8675 | gimple-pretty-print.h. | |
8676 | * value-prof.c: Include tree-pretty-print.h and | |
8677 | gimple-pretty-print.h. | |
8678 | * var-tracking.c: Include tree-pretty-print.h. | |
8679 | * Makefile.in (OBJS-common): Add tree-diagnostic.o. | |
8680 | (tree-diagnostic.o): New dependencies. | |
8681 | (c-objc-common.o, c-pretty-print.o, langhooks.o, tree.o, | |
8682 | tree-inline.o, print-tree.o, stor-layout.o, tree-ssa-uninit.o, | |
8683 | tree-ssa.o, tree-into-ssa.o, tree-ssa-ter.o, tree-ssa-coalesce.o, | |
8684 | tree-outof-ssa.o, tree-ssa-forwprop.o, tree-ssa-phiprop.o, | |
8685 | tree-ssa-ifcombine.o, tree-nrv.o, tree-ssa-copy.o, | |
8686 | tree-ssa-propagate.o, tree-ssa-dom.o, tree-ssa-uncprop.o, | |
8687 | tree-ssa-live.o, tree-ssa-copyrename.o, tree-ssa-pre.o, | |
8688 | tree-ssa-sccvn.o, tree-vrp.o, tree-cfg.o, tree-tailcall.o, | |
8689 | tree-ssa-sink.o, tree-if-conv.o, tree-dfa.o, tree-ssa-operands.o, | |
8690 | tree-ssa-address.o, tree-ssa-loop-niter.o, | |
8691 | tree-ssa-loop-ivcanon.o, tree-ssa-loop-prefetch.o, tree-predcom.o, | |
8692 | tree-ssa-loop-ivopts.o, tree-affine.o, tree-ssa-loop-im.o, | |
8693 | tree-ssa-math-opts.o, tree-ssa-alias.o, tree-ssa-reassoc.o, | |
8694 | gimplify.o, tree-browser.o, tree-chrec.o, tree-scalar-evolution.o, | |
8695 | tree-data-ref.o, sese.o, graphite-poly.o, tree-vect-loop.o, | |
8696 | tree-vect-loop-manip.o, tree-vect-patterns.o, tree-vect-slp.o, | |
8697 | tree-vect-stmts.o, tree-vect-data-refs.o, tree-vectorizer.o, | |
8698 | tree-parloops.o, tree-stdarg.o, tree-object-size.o, | |
8699 | gimple-pretty-print.o, tree-pretty-print.o, diagnostic.o, | |
8700 | toplev.o, print-rtl.o, except.o, dwarf2out.o, cgraphunit.o, | |
8701 | ipa-prop.o, ipa-cp.o, ipa-inline.o, ipa-pure-const.o, | |
8702 | ipa-type-escape.o, ipa-struct-reorg.o, tree-ssa-dce.o, | |
8703 | tree-call-cdce.o, tree-ssa-ccp.o, tree-sra.o, | |
8704 | tree-switch-conversion.o, var-tracking.o, value-prof.o, | |
8705 | cfgexpand.o, pretty-print.o): Update dependencies. | |
8706 | ||
42877745 | 8707 | 2010-05-22 Andreas Tobler <andreast@fgznet.ch> |
8708 | ||
8709 | * tree-ssa-structalias.c: Remove tm_p.h from include. | |
8710 | ||
1feb164a | 8711 | 2010-05-21 Jeff Law <law@redhat.com> |
8712 | ||
8713 | * ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Fix typo. | |
8714 | ||
f340b9ff | 8715 | 2010-05-21 Jason Merrill <jason@redhat.com> |
8716 | ||
8717 | * tree-eh.c (cleanup_is_dead_in): New. | |
8718 | (lower_try_finally): Don't generate a dead cleanup region. | |
8719 | (lower_cleanup): Likewise. | |
8720 | ||
47086a61 | 8721 | 2010-05-21 Jakub Jelinek <jakub@redhat.com> |
8722 | ||
8723 | PR debug/44223 | |
8724 | * haifa-sched.c (schedule_insn): When freeing INSN_REG_USE_LIST, | |
8725 | unchain each use from the cyclic next_regno_use chain first. | |
8726 | ||
dae0b5cb | 8727 | 2010-05-21 Steven Bosscher <steven@gcc.gnu.org> |
8728 | ||
8729 | * real: Do not include gmp.h, mpfr.h, and mpc.h. | |
8730 | (REAL_VALUE_NEGATE, REAL_VALUE_ABS, real_arithmetic2): Remove. | |
8731 | (real_value_negate, real_value_abs): New prototypes. | |
8732 | (do_mpc_arg2, real_from_mpfr, mpfr_from_real): Move from here... | |
8733 | * realmpfr.h (do_mpc_arg2, real_from_mpfr, mpfr_from_real): ...to here, | |
8734 | new include file for interface between MPFR and REAL_VALUE_TYPE. | |
8735 | * real.c: Include realmpfr.h. | |
8736 | (real_arithmetic2): Remove legacy function. | |
8737 | (real_value_negate): New. | |
8738 | (real_value_abs): New. | |
8739 | (mfpr_from_real, real_from_mpfr): Move from here... | |
8740 | * realmpfr.c (mpfr_from_real, real_from_mpfr): ...to here, new file. | |
8741 | * builtins.c: Include realmpfr.h. | |
8742 | * fold-const.c: Include realmpfr.h. | |
8743 | (fold_comparison): Use real_value_negate instead of REAL_VALUE_NEGATE. | |
8744 | (fold_negate_const): Likewise. | |
8745 | (fold_abs_const): Use real_value_abs instead of REAL_VALUE_ABS. | |
8746 | * toplev.c: Include realmpfr.h. | |
8747 | * simplify-rtx.c (simplify_const_unary_operation): Use real_value_abs | |
8748 | and real_value_negate. | |
8749 | * fixed-value.c (check_real_for_fixed_mode): Likewise. | |
8750 | * config/arm/arm.c (neg_const_double_rtx_ok_for_fpa): Likewise. | |
8751 | (vfp3_const_double_index): Likewise. | |
8752 | (arm_print_operand): Likewise. | |
8753 | * Makefile.in: Update dependencies. | |
8754 | ||
76dccead | 8755 | 2010-05-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8756 | ||
8757 | * config/s390/s390.c (override_options): Increase the default | |
8758 | of max-completely-peel-times. | |
8759 | ||
d68c2c10 | 8760 | 2010-05-21 Julian Brown <julian@codesourcery.com> |
8761 | Mark Mitchell <mark@codesourcery.com> | |
8762 | ||
8763 | * config/arm/arm.c (arm_function_ok_for_sibcall): Only forbid | |
8764 | sibling calls for Thumb-1. | |
8765 | * config/arm/arm.h (USE_RETURN_INSN): Enable for Thumb-2. | |
8766 | * config/arm/arm.md (*call_symbol, *call_value_symbol): Use for | |
8767 | Thumb-2. | |
8768 | (*call_insn, *call_value_insn): Don't use for Thumb-2. | |
8769 | (sibcall, sibcall_value, *sibcall_insn, *sibcall_value_insn): Use | |
8770 | for Thumb-2. | |
8771 | (return): New expander. | |
8772 | (*arm_return): New name for ARM return insn. | |
8773 | * config/arm/thumb2.md (*thumb2_return): New insn pattern. | |
8774 | ||
657e7797 | 8775 | 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com> |
9afa4711 | 8776 | |
8777 | * config.gcc (sparc64-*-rtems*): New target. | |
8778 | ||
30b22e1c | 8779 | 2010-05-21 Nathan Froyd <froydnj@codesourcery.com> |
8780 | ||
8781 | * tree.c (build_function_decl_skip_args): Fix grammar. | |
8782 | (build_function_type_list_1): Fix typos, adjust formatting. | |
8783 | ||
a7a46268 | 8784 | 2010-05-21 Steven Bosscher <steven@gcc.gnu.org> |
8785 | ||
8786 | * tree.h: Include real.h and fixed-value.h as basic datatypes. | |
8787 | * dfp.c, convert.c, reload1.c, reginfo.c, tree-flow.h, | |
8788 | tree-ssa-threadedge.c, tree-ssanames.c, tree-loop-linear.c, | |
8789 | tree-into-ssa.c, tree-vect-generic.c, tree-ssa-structalias.c, | |
8790 | tree-ssa-loop-im.c, tree-dump.c, tree-complex.c, tree-ssa-uninit.c, | |
8791 | genrecog.c, tree-ssa-threadupdate.c, tree-ssa-loop-niter.c, | |
8792 | tree-pretty-print.c, tree-loop-distribution.c, | |
8793 | tree-ssa-loop-unswitch.c, c-lex.c, optabs.c, postreload-gcse.c, | |
8794 | tree-ssa-loop-manip.c, postreload.c, tree-ssa-loop-ch.c, | |
8795 | tree-tailcall.c, tree.c, reload.c, tree-scalar-evolution.c, rtlanal.c, | |
8796 | tree-phinodes.c, builtins.c, final.c, genoutput.c, fold-const.c, | |
8797 | tree-ssa-dse.c, genautomata.c, tree-ssa-uncprop.c, toplev.c, | |
8798 | tree-chrec.c, genemit.c, c-cppbuiltin.c, tree-ssa-sccvn.c, | |
8799 | tree-ssa-ccp.c, tree-ssa-loop-ivopts.c, mode-switching.c, | |
8800 | tree-call-cdce.c, cse.c, genpeep.c, tree-ssa-math-opts.c, | |
8801 | tree-ssa-dom.c, tree-nrv.c, tree-ssa-propagate.c, tree-ssa-alias.c, | |
8802 | tree-ssa-sink.c, jump.c, ifcvt.c, dwarf2out.c, expr.c, genattrtab.c, | |
8803 | genconditions.c, tree-ssa-loop-ivcanon.c, tree-ssa-loop.c, | |
8804 | tree-parloops.c, recog.c, tree-ssa-address.c, lcm.c, tree-eh.c, | |
8805 | gimple-pretty-print.c, c-pretty-print.c, print-rtl.c, gcse.c, | |
8806 | tree-if-conv.c, tree-data-ref.c, tree-affine.c, gimplify.c, | |
8807 | tree-ssa-phiopt.c, implicit-zee.c, expmed.c, tree-dfa.c, emit-rtl.c, | |
8808 | store-motion.c, cselib.c, tree-cfgcleanup.c, simplify-rtx.c, | |
8809 | tree-ssa-pre.c, genpreds.c, tree-mudflap.c, print-tree.c, | |
8810 | tree-ssa-copy.c, tree-ssa-forwprop.c, tree-ssa-dce.c, varasm.c, | |
8811 | tree-nested.c, tree-ssa.c, tree-ssa-loop-prefetch.c, rtl.c, | |
8812 | tree-inline.c, integrate.c, tree-optimize.c, tree-ssa-phiprop.c, | |
8813 | fixed-value.c, combine.c, tree-profile.c, c-common.c, sched-vis.c, | |
8814 | tree-cfg.c, passes.c, tree-ssa-reassoc.c, config/alpha/alpha.c, | |
8815 | config/frv/frv.c, config/s390/s390.c, config/m32c/m32c.c, | |
8816 | config/spu/spu.c, config/sparc/sparc.c, config/mep/mep.c, | |
8817 | config/m32r/m32r.c, config/rx/rx.c, config/i386/i386.c, | |
8818 | config/sh/sh.c, config/pdp11/pdp11.c, config/avr/avr.c, | |
8819 | config/crx/crx.c, config/xtensa/xtensa.c, config/stormy16/stormy16.c, | |
8820 | config/fr30/fr30.c, config/lm32/lm32.c, config/moxie/moxie.c, | |
8821 | config/m68hc11/m68hc11.c, config/cris/cris.c, config/iq2000/iq2000.c, | |
8822 | config/mn10300/mn10300.c, config/ia64/ia64.c, config/m68k/m68k.c, | |
8823 | config/rs6000/rs6000.c, config/picochip/picochip.c, config/darwin.c, | |
8824 | config/arc/arc.c, config/mcore/mcore.c, config/score/score3.c, | |
8825 | config/score/score7.c, config/score/score.c, config/arm/arm.c, | |
8826 | config/pa/pa.c, config/mips/mips.c, config/vax/vax.c, | |
8827 | config/h8300/h8300.c, config/v850/v850.c, config/mmix/mmix.c, | |
43638d1c | 8828 | config/bfin/bfin.c: Clean up redundant includes. |
a7a46268 | 8829 | * Makefile.in: Update accordingly. |
8830 | ||
b67573db | 8831 | 2010-05-21 Nathan Froyd <froydnj@codesourcery.com> |
8832 | ||
8833 | PR middle-end/44204 | |
8834 | * builtins.c (fold_call_stmt): Pass &error_mark_node if the call | |
8835 | statement has no arguments. | |
8836 | ||
83e170df | 8837 | 2010-05-21 Kai Tietz <kai.tietz@onevision.com> |
8838 | ||
8839 | PR/44139 | |
8840 | * varasm.c (emutls_decl): Merge attributes to new decl. | |
8841 | ||
126740ee | 8842 | 2010-05-21 Eric Botcazou <ebotcazou@adacore.com> |
8843 | ||
8844 | PR middle-end/44101 | |
8845 | * gimplify.c (gimplify_init_constructor): Build a VIEW_CONVERT_EXPR | |
8846 | around the uniquized constructor if its type requires a conversion. | |
8847 | ||
65138c0f | 8848 | 2010-05-21 Jakub Jelinek <jakub@redhat.com> |
8849 | ||
8850 | PR debug/44205 | |
8851 | * tree-cfgcleanup.c (tree_forwarder_block_p): Return false if | |
8852 | at -O0 goto_locus of any of the incoming edges differs from | |
8853 | goto_locus of outgoing edge, or gimple_location of any of the | |
8854 | labels differs. | |
8855 | ||
657e7797 | 8856 | 2009-09-14 Vladimir Makarov <vmakarov@redhat.com> |
f7ace4bc | 8857 | |
8858 | * ira.c (ira_non_ordered_class_hard_regs): Define. | |
43638d1c | 8859 | (setup_class_hard_regs): Initialize ira_non_ordered_class_hard_regs. |
f7ace4bc | 8860 | * ira-int.h (ira_non_ordered_class_hard_regs): Declare. |
8861 | * ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Increase | |
8862 | cost of unaligned hard regs when allocating multi-reg pseudos. | |
8863 | ||
27a909cf | 8864 | 2010-05-20 Richard Sandiford <rdsandiford@googlemail.com> |
8865 | ||
8866 | * config.gcc (mips*-sde-elf*): Don't use sdemtk.opt. | |
8867 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_no_float | |
8868 | for TARGET_NO_FLOAT. | |
8869 | * config/mips/mips.c (mips_file_start): Expand conditional expression | |
8870 | into "if" statements. Use .gnu_attribute 4,0 for TARGET_NO_FLOAT. | |
8871 | (mips_override_options): Move -mno-float override -msoft-float and | |
8872 | -mhard-float. | |
8873 | * config/mips/mips.opt (mno-float): Move from sdemtk.opt, but add | |
8874 | Condition(TARGET_SUPPORTS_NO_FLOAT). | |
8875 | * config/mips/sdemtk.h (TARGET_OS_CPP_BUILTINS): Don't set | |
8876 | __mips_no_float here. | |
8877 | (SUBTARGET_OVERRIDE_OPTIONS): Delete. | |
8878 | (TARGET_SUPPORTS_NO_FLOAT): Define. | |
8879 | * config/mips/sdemtk.opt: Delete. | |
8880 | ||
3d9dc642 | 8881 | 2010-05-20 Segher Boessenkool <segher@kernel.crashing.org> |
8882 | ||
43638d1c | 8883 | * ipa-prop.c (compute_complex_ancestor_jump_func): Bail out if !cond. |
3d9dc642 | 8884 | |
5a079549 | 8885 | 2010-05-20 Uros Bizjak <ubizjak@gmail.com> |
8886 | ||
8887 | PR target/43733 | |
8888 | * configure.ac (gcc_cv_as_ix86_sahf): Switch to 64bit mode. | |
8889 | * configure: Regenerate. | |
8890 | * config.in: Regenerate. | |
8891 | * config/i386/i386.md (x86_sahf_1): Conditionally output 0x9e | |
8892 | instead of sahf only for 64bit targets. | |
8893 | ||
20f8d64b | 8894 | 2010-05-20 Jakub Jelinek <jakub@redhat.com> |
8895 | ||
8896 | PR debug/44178 | |
8897 | * haifa-sched.c (initiate_bb_reg_pressure_info): Do not call | |
8898 | setup_ref_regs for DEBUG_INSNs. | |
8899 | ||
d3577e1b | 8900 | 2010-05-20 Jan Hubicka <jh@suse.cz> |
8901 | ||
8902 | PR middle-end/44197 | |
8903 | * varpool.c (varpool_remove_node): Handle in-varpool aliases. | |
8904 | ||
7496f4ad | 8905 | 2010-05-20 Kenneth Zadeck <zadeck@naturalbridge.com> |
8906 | ||
8907 | PR bootstrap/43870 | |
8908 | * df-scan.c (df_ref_compare): Stabilize sort. | |
8909 | ||
cc5f5b98 | 8910 | 2010-05-20 Jakub Jelinek <jakub@redhat.com> |
8911 | ||
8912 | * dwarf2out.c (new_loc_descr_op_bit_piece): Add offset | |
8913 | argument. Don't use DW_OP_piece if offset is non-zero, | |
8914 | put offset into second DW_OP_bit_piece argument. | |
8915 | (dw_sra_loc_expr): Adjust callers. For memory expressions | |
8916 | compute offset. | |
8917 | ||
ff970143 | 8918 | 2010-05-20 Hans-Peter Nilsson <hp@axis.com> |
8919 | ||
8920 | PR target/44202 | |
8921 | * config/cris/cris.md ("*addsi3_v32"): Correct "cc" | |
8922 | settings for 16-bit-constant "addo" alternative. | |
8923 | ||
626ab854 | 8924 | 2010-05-19 James E. Wilson <wilson@codesourcery.com> |
8925 | ||
ffbf763f | 8926 | * config/mips/mips-dsp.md (add<DSPV:mode>3, |
8927 | mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>): Add ISA_HAS_DSP condition. | |
8928 | ||
626ab854 | 8929 | PR target/43764 |
8930 | * mips.c (mips_call_expr_from_insn): New arg second_call. Set it. | |
8931 | (mips_annotate_pic_calls): Pass new arg to mips_call_expr_from_insn. | |
8932 | Use it. | |
8933 | ||
0eaaa1b0 | 8934 | 2010-05-19 Joseph Myers <joseph@codesourcery.com> |
8935 | ||
8936 | * diagnostic.c (FLOAT, FFS): Don't undefine. | |
8937 | * passes.c, pretty-print.c, rtl-error.c, toplev.c: Likewise. | |
8938 | * cse.c, regmove.c: Remove comments about stdio.h and rtl.h | |
8939 | include ordering. | |
8940 | ||
42a4b11f | 8941 | 2010-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
8942 | ||
8943 | * combine.c (propagate_for_debug): Call make_compound_operation | |
8944 | on the source value. | |
8945 | (try_combine): When implementing a split chosen by find_split_point, | |
8946 | either copy i2src or set it to null. Assert that i2src is not null | |
8947 | before substituting into CALL_INSN_FUNCTION_USAGE. | |
8948 | ||
c5083e8b | 8949 | 2010-05-19 Anatoly Sokolov <aesok@post.ru> |
8950 | ||
8951 | * double-int.h (double_int_ior): New function. | |
8952 | * tree.h (build_int_cst_wide_type): Remove. | |
8953 | * tree.c (build_int_cst_wide_type): Remove. | |
8954 | * fold-const.c (native_interpret_int): Use double_int_to_tree instead | |
8955 | of build_int_cst_wide_type. | |
8956 | * stor-layout.c (set_sizetype): (Ditto.). | |
8957 | * dojump.c (do_jump): Use build_int_cstu instead of | |
8958 | build_int_cst_wide_type. | |
8959 | ||
f96dd706 | 8960 | 2010-05-19 Eric Botcazou <ebotcazou@adacore.com> |
8961 | ||
8962 | * langhooks.h (struct lang_hooks): Add new field deep_unsharing. | |
8963 | * langhooks-def.h (LANG_HOOKS_DEEP_UNSHARING): New macro. | |
8964 | (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_DEEP_UNSHARING. | |
43638d1c | 8965 | * gimplify.c (mostly_copy_tree_r): Copy trees under SAVE_EXPR and |
f96dd706 | 8966 | TARGET_EXPR nodes, but only once, if instructed to do so. Do not |
8967 | propagate the 'data' argument to copy_tree_r. | |
8968 | (copy_if_shared_r): Remove bogus ATTRIBUTE_UNUSED marker. | |
8969 | Propagate 'data' argument to walk_tree. | |
8970 | (copy_if_shared): New function. | |
8971 | (unmark_visited_r): Remove bogus ATTRIBUTE_UNUSED marker. | |
8972 | (unmark_visited): New function. | |
8973 | (unshare_body): Call copy_if_shared instead of doing it manually. | |
8974 | (unvisit_body): Call unmark_visited instead of doing it manually. | |
8975 | ||
97d67146 | 8976 | 2010-05-19 Nathan Froyd <froydnj@codesourcery.com> |
8977 | ||
8978 | * hooks.h (hook_tree_tree_tree_bool_null): Rename to... | |
8979 | (hook_tree_tree_int_treep_bool_null): ...this. Update signature. | |
8980 | * hooks.c: Likewise. | |
8981 | * target-def.h (TARGET_FOLD_BUILTIN): Define to | |
8982 | hook_tree_tree_int_treep_bool_null. | |
43638d1c | 8983 | * target.h (struct gcc_target): Update signature of fold_builtin |
97d67146 | 8984 | field. |
8985 | * doc/tm.texi (TARGET_FOLD_BUILTIN): Update description and signature. | |
8986 | * builtins.c (fold_call_expr): Pass call_expr_nargs and CALL_EXPR_ARGP | |
8987 | instead of the call expression. | |
8988 | (fold_builtin_call_array): Pass n and argarray directly. | |
8989 | (fold_call_stmt): Pass nargs and gimple_call_arg_ptr instead of | |
8990 | consing a list. | |
8991 | * config/alpha/alpha.c (alpha_fold_builtin): Update signature. Lift | |
8992 | MAX_ARGS check out of the loop. Delete declaration of `arity', declare | |
8993 | `i' and use it in place of `arity'. | |
8994 | * config/sparc/sparc.c (sparc_fold_builtin): Update signature. | |
8995 | Dereference `args' directly. | |
8996 | * config/xtensa/xtensa (xtensa_fold_builtin): Likewise. | |
8997 | ||
4e7c6e48 | 8998 | 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8999 | ||
9000 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
9001 | 3dnow, sse3, sse2. | |
9002 | (Directives): Document optional dg-require-effective-target | |
9003 | selector. | |
9004 | ||
e35f74d5 | 9005 | 2010-05-19 Richard Guenther <rguenther@suse.de> |
9006 | ||
9007 | PR lto/44196 | |
9008 | * tree.c (find_decls_types_r): Walk BLOCKs and its vars. | |
9009 | ||
cba6710d | 9010 | 2010-05-19 Richard Guenther <rguenther@suse.de> |
9011 | ||
9012 | * doc/invoke.texi (-fwhopr): Document new optional jobs argument. | |
9013 | * common.opt (fwhopr=): New. | |
9014 | * opts.c (common_handle_option): Handle OPT_fwhopr. | |
9015 | * gcc.c (LINK_COMMAND_SPEC): Pass fwhopr*. | |
9016 | * collect2.c (main): Match -fwhopr*. | |
9017 | * lto-wrapper.c (run_gcc): Handle jobs argument of -fwhopr. | |
9018 | Execute ltrans stage in parallel when jobs is bigger than 1. | |
9019 | ||
05157f42 | 9020 | 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9021 | ||
9022 | * config.gcc (i[34567]86-*-solaris2*): Default with_arch_32 to | |
9023 | pentiumpro on Solaris 8/x86 with Sun as. | |
9024 | * configure.ac (gcc_cv_as_hidden): Check for Solaris 9/x86 as | |
9025 | hidden alias bug. | |
9026 | (gcc_cv_as_ix86_quad): Check for .quad directive. | |
9027 | * configure: Regenerate. | |
9028 | * config.in: Regenerate. | |
9029 | * config/i386/sol2.h (ASM_QUAD): Change guard to !HAVE_AS_IX86_QUAD. | |
9030 | ||
7115ea05 | 9031 | 2010-05-19 Martin Jambor <mjambor@suse.cz> |
9032 | ||
9033 | * ipa-prop.c (ipa_print_node_jump_functions): Print jump functions | |
9034 | also for indirect edges. Actual printing moved... | |
9035 | (ipa_print_node_jump_functions_for_edge): ...here. | |
9036 | (ipa_compute_jump_functions): Renamed to | |
9037 | ipa_compute_jump_functions_for_edge and made static. | |
9038 | (ipa_compute_jump_functions): New function. | |
9039 | (make_edge_direct_to_target): Check if the number of arguments on | |
9040 | the newly direct edge is the same as the number of parametrs of | |
9041 | the callee. | |
9042 | * ipa-cp.c (ipcp_init_stage): Most functionality moved to new | |
9043 | ipa_compute_jump_functions. Call ipa_analyze_params_uses. | |
9044 | * ipa-inline.c (inline_indirect_intraprocedural_analysis): Call | |
9045 | analysis functions unconditionally, call the new | |
9046 | ipa_analyze_params_uses on the node instead of every edge. | |
9047 | ||
81d2a38f | 9048 | 2010-05-19 Christian Borntraeger <borntraeger@de.ibm.com> |
9049 | ||
908a94fd | 9050 | * tree-ssa-loop-prefetch.c (mem_ref_group, ar_data): Change step |
81d2a38f | 9051 | to tree. |
908a94fd | 9052 | (dump_mem_ref): Adopt debug code to handle a tree as step. This |
81d2a38f | 9053 | also checks for a constant int vs. non-constant but |
9054 | loop-invariant steps. | |
908a94fd | 9055 | (find_or_create_group): Change the sort algorithm to only consider |
81d2a38f | 9056 | steps that are constant ints. |
908a94fd | 9057 | (idx_analyze_ref): Adopt code to handle a tree instead of a |
81d2a38f | 9058 | HOST_WIDE_INT for step. |
908a94fd | 9059 | (gather_memory_references_ref): Handle tree instead of int and be |
81d2a38f | 9060 | prepared to see a NULL_TREE. |
908a94fd | 9061 | (prune_ref_by_self_reuse, prune_ref_by_group_reuse): Do not prune |
81d2a38f | 9062 | prefetches if the step cannot be calculated at compile time. |
908a94fd | 9063 | (issue_prefetch_ref): Issue prefetches for non-constant but |
81d2a38f | 9064 | loop-invariant steps. |
9065 | ||
578fcce9 | 9066 | 2010-05-18 Nathan Froyd <froydnj@codesourcery.com> |
9067 | ||
9068 | Revert: | |
9069 | 2010-05-18 Nathan Froyd <froydnj@codesourcery.com> | |
9070 | ||
9071 | * tree.h (build_call_list): Remove. | |
9072 | * tree.c (build_call_list): Remove. | |
9073 | ||
8ce39042 | 9074 | 2010-05-18 Nathan Froyd <froydnj@codesourcery.com> |
9075 | ||
9076 | * tree.h (build_call_list): Remove. | |
9077 | * tree.c (build_call_list): Remove. | |
9078 | ||
2ebf562c | 9079 | 2010-05-18 Jan Hubicka <jh@suse.cz> |
9080 | ||
9081 | * ipa-reference.c (propagate): Walk all nodes in the cleanup stage. | |
9082 | ||
3a16ebc2 | 9083 | 2010-05-18 Vladimir Makarov <vmakarov@redhat.com> |
9084 | ||
9085 | PR rtl-optimization/43332 | |
9086 | * haifa-sched.c (setup_insn_max_reg_pressure): Check barrier. | |
9087 | ||
d3bd87c3 | 9088 | 2010-05-18 Anatoly Sokolov <aesok@post.ru> |
9089 | ||
9090 | * tree.h (build_int_cstu): Implement as static inline. | |
9091 | * tree.c (build_int_cstu): Remove function. | |
9092 | (double_int_to_tree, double_int_fits_to_tree_p): Handle size types as | |
9093 | sign extended. | |
9094 | ||
c8c65e07 | 9095 | 2010-05-18 Richard Guenther <rguenther@suse.de> |
9096 | ||
9097 | PR lto/44143 | |
9098 | * lto-wrapper.c (verbose): New variable. Initialize from -v. | |
9099 | (debug): Initialize from -save-temps. | |
9100 | (collect_execute): Print command-line when verbose. | |
9101 | (run_gcc): Always use COLLECT_GCC_OPTIONS. Use fork_execute | |
9102 | for ltrans invocation. Produce -dumpbase flag again. | |
9103 | (process_args): Remove. | |
9104 | (main): Simplify. | |
9105 | * collect2.c (maybe_run_lto_and_relink): Only pass object | |
9106 | files to lto-wrapper. | |
9107 | * gcc.c (LINK_COMMAND_SPEC): Likewise. | |
9108 | ||
28918f8e | 9109 | 2010-05-18 Jan Hubicka <jh@suse.cz> |
9110 | ||
9111 | * opts.c (decode_options): Do not disable whopr at ipa_cp. | |
9112 | * ipa-prop.c (ipa_detect_param_modifications): Walk PHI nodes too. | |
9113 | ||
897f9d25 | 9114 | 2010-05-18 Steven Bosscher <steven@gcc.gnu.org> |
9115 | ||
9116 | PR lto/44184 | |
9117 | * lto-streamer-out.c (output_gimple_stmt): Output number of labels | |
9118 | in a GIMPLE_ASM. | |
9119 | * lto-streamer-in.c (input_gimple_stmt): Read number of labels | |
9120 | in a GIMPLE_ASM. | |
9121 | ||
4b32df91 | 9122 | 2010-05-18 Jakub Jelinek <jakub@redhat.com> |
9123 | ||
9124 | PR debug/41371 | |
9125 | * var-tracking.c (find_loc_in_1pdv): Add a few checks from | |
9126 | rtx_equal_p inline. | |
9127 | ||
f64b48e2 | 9128 | 2010-05-18 Steven Bosscher <steven@gcc.gnu.org> |
9129 | ||
9130 | * config.gcc (powerpc-*-darwin*, powerpc64-*-darwin*): Add | |
9131 | lto-macho as lto_binary_reader. | |
9132 | ||
9133 | * darwin.c (darwin_asm_named_section): Do not add assembler comment | |
9134 | after .section directive; just print it before the directive instead. | |
9135 | ||
a510bd8d | 9136 | 2010-05-17 Jan Hubicka <jh@suse.cz> |
9137 | ||
9138 | * cgraph.c (cgraph_create_virtual_clone): Only check | |
9139 | versionable_function_p when not in wpa and checking is enabled. | |
9140 | * cgraphunit.c (cgraph_materialize_all_clones): Stabilize after | |
9141 | there are no more functions to materialize. | |
9142 | ||
1bf41320 | 9143 | 2010-05-17 Jan Hubicka <jh@suse.cz> |
9144 | ||
9145 | * cgraph.h (struct ipa_replace_map): Add parm_num parameter. | |
9146 | * lto-cgraph.c (output_cgraph_opt_summary, input_cgraph_opt_summary): | |
9147 | New functions. | |
9148 | (output_cgraph): Call output_cgraph_opt_summary. | |
9149 | (input_cgrpah): Call input_cgraph_opt_summary. | |
9150 | (output_cgraph_opt_summary_p, output_node_opt_summary, | |
9151 | input_node_opt_summary, input_cgraph_opt_section): New functions. | |
9152 | * lto-section-in.c (lto_section_name): Add cgraphopt. | |
9153 | * tree-inline.c (tree_function_versioning): Handle parm_num. | |
9154 | * lto-streamer.c (lto_get_section_name): Handle cgraphopt. | |
9155 | * lto-streamer.h (lto_section_type): Add LTO_section_cgraph_opt_sum. | |
9156 | ||
016efb93 | 9157 | 2010-05-17 Changpeng Fang <changpeng.fang@amd.com> |
9158 | ||
9159 | * doc/invoke.texi: Update documentation for min-insn-to-prefetch-ratio. | |
9160 | * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): Also apply | |
9161 | the insn to prefetch ratio heuristic to loops with known trip count. | |
9162 | ||
c0a0de5e | 9163 | 2010-05-17 Changpeng Fang <changpeng.fang@amd.com> |
9164 | ||
9165 | * tree-ssa-loop-prefetch.c (PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO): New. | |
9166 | (schedule_prefetches): Do not generate a prefetch if the unroll factor | |
9167 | is far from what is required by the prefetch. | |
9168 | ||
bc1b408a | 9169 | 2010-05-17 Jan Hubicka <jh@suse.cz> |
9170 | ||
9171 | * ipa-cp.c (ipcp_update_callgraph): Use ipa_is_param_used. | |
9172 | (ipcp_estimate_growth): Likewise. | |
9173 | (ipcp_const_param_count): Likewise. | |
9174 | (ipcp_insert_stage): Likewise. | |
9175 | * ipa-prop.c (visit_load_for_mod_analysis): New function. | |
9176 | (visit_store_addr_for_mod_analysis): Set used flag. | |
9177 | (ipa_detect_param_modifications): Set used flag for SSE params; | |
9178 | update use of walk_stmt_load_store_addr_ops. | |
9179 | (ipa_print_node_params): Print used flag. | |
9180 | (ipa_write_node_info): Stream used flag. | |
9181 | (ipa_read_node_info): Likewise. | |
9182 | * ipa-prop.h (struct ipa_param_descriptor): Add used field. | |
9183 | (ipa_is_param_used): New function. | |
9184 | (lto_ipa_fixup_call_notes): Remove unused declaration. | |
9185 | ||
fa1a7502 | 9186 | 2010-05-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9187 | ||
9188 | PR target/44074 | |
9189 | * configure.ac (HAVE_AS_IX86_REP_LOCK_PREFIX): New test. | |
9190 | * configure: Regenerate. | |
9191 | * config.in: Regenerate. | |
908a94fd | 9192 | * config/i386/i386.c (print_operand) <case ;>: Also print ";" if |
fa1a7502 | 9193 | !HAVE_AS_IX86_REP_LOCK_PREFIX. |
9194 | Don't emit whitespace. | |
9195 | * config/i386/i386.md (*rep_movdi_rex64): Use {%;} after rep. | |
9196 | (*rep_movsi): Likewise. | |
9197 | (*rep_movsi_rex64): Likewise. | |
9198 | (*rep_movqi): Likewise. | |
9199 | (*rep_movqi_rex64): Likewise. | |
9200 | (*rep_stosdi_rex64): Likewise. | |
9201 | (*rep_stossi): Likewise. | |
9202 | (*rep_stossi_rex64): Likewise. | |
9203 | (*rep_stosqi): Likewise. | |
9204 | (*rep_stosqi_rex64): Likewise. | |
9205 | (*cmpstrnqi_nz_1): Use {%;} after repz. | |
9206 | (*cmpstrnqi_nz_rex_1): Likewise. | |
9207 | (*cmpstrnqi_1): Likewise. | |
9208 | (*cmpstrnqi_rex_1): Likewise. | |
9209 | (*strlenqi_1): Use {%;} after repnz. | |
9210 | (*strlenqi_rex_1): Likewise. | |
9211 | * config/i386/sync.md (memory_barrier_nosse): Replace {%;| } by {%;} . | |
9212 | (*sync_compare_and_swap<mode>): Likewise. | |
9213 | (sync_double_compare_and_swap<mode>): Likewise. | |
9214 | (*sync_double_compare_and_swapdi_pic): Likewise. | |
9215 | (sync_old_add<mode>): Likewise. | |
9216 | (sync_add<mode>): Likewise. | |
9217 | (sync_sub<mode>): Likewise. | |
9218 | (sync_<code><mode>): Likewise. | |
9219 | ||
6378ffb3 | 9220 | 2010-05-17 Martin Jambor <mjambor@suse.cz> |
9221 | ||
9222 | * cgraph.h (cgraph_indirect_call_info): New fields anc_offset, | |
9223 | otr_token and polymorphic. | |
9224 | * cgraph.c (cgraph_create_indirect_edge): Inilialize the above fields. | |
9225 | (cgraph_clone_edge): Copy the above fields. | |
9226 | * tree.c (get_binfo_at_offset): New function. | |
9227 | * tree.h (get_binfo_at_offset): Declare. | |
9228 | * ipa-prop.h (enum jump_func_type): Added known_type jump function | |
9229 | type, reordered items, updated comments. | |
9230 | (union jump_func_value): Added base_type field, reordered fields. | |
9231 | (enum ipa_lattice_type): Moved down in the file. | |
9232 | (struct ipa_param_descriptor): New field polymorphic. | |
9233 | (ipa_is_param_polymorphic): New function. | |
9234 | * ipa-prop.c: Include gimple.h and gimple-fold.h. | |
9235 | (ipa_print_node_jump_functions): Print known type jump functions. | |
9236 | (compute_complex_pass_through): Renamed to... | |
9237 | (compute_complex_assign_jump_func): this. | |
9238 | (compute_complex_ancestor_jump_func): New function. | |
9239 | (compute_known_type_jump_func): Likewise. | |
9240 | (compute_scalar_jump_functions): Create known type and complex ancestor | |
9241 | jump functions. | |
9242 | (ipa_note_param_call): New parameter polymorphic, set the corresponding | |
9243 | flag in the call note accordingly. | |
9244 | (ipa_analyze_call_uses): Renamed to... | |
9245 | (ipa_analyze_indirect_call_uses): this. New parameter target, define | |
9246 | variable var only in the block where it is used. | |
9247 | (ipa_analyze_virtual_call_uses): New function. | |
9248 | (ipa_analyze_call_uses): Likewise. | |
9249 | (combine_known_type_and_ancestor_jfs): Likewise. | |
9250 | (update_jump_functions_after_inlining): Implemented handling of a | |
9251 | number of new jump function types combination. | |
9252 | (print_edge_addition_message): Removed. | |
9253 | (make_edge_direct_to_target): New function. | |
9254 | (try_make_edge_direct_simple_call): Likewise. | |
9255 | (try_make_edge_direct_virtual_call): Likewise. | |
9256 | (update_call_notes_after_inlining): Renamed to... | |
9257 | (update_indirect_edges_after_inlining): this. Moved edge creation for | |
9258 | indirect calls to try_make_edge_direct_simple_call, also calls | |
9259 | try_make_edge_direct_virtual_call for virtual calls. | |
9260 | (ipa_print_node_params): Changed the header message. | |
9261 | (ipa_write_jump_function): Stream also known type jump functions. | |
9262 | (ipa_read_jump_function): Likewise. | |
9263 | (ipa_write_indirect_edge_info): Stream new fields in | |
9264 | cgraph_indirect_call_info. | |
9265 | (ipa_read_indirect_edge_info): Likewise. | |
9266 | * Makefile.in (ipa-prop.o): Add dependency to GIMPLE_H and | |
9267 | GIMPLE_FOLD_H. | |
9268 | ||
f2310de3 | 9269 | 2010-05-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9270 | ||
9271 | * config/i386/sol2.h (TARGET_SUN_TLS): Remove duplicate definition. | |
9272 | ||
432093e5 | 9273 | 2010-05-17 Nathan Froyd <froydnj@codesourcery.com> |
9274 | ||
9275 | * tree.h (CALL_EXPR_ARGS): Delete. | |
9276 | (call_expr_arglist): Delete. | |
9277 | * tree.c (call_expr_arglist): Delete. | |
9278 | * builtins.c (fold_call_expr): Pass the whole CALL_EXPR to | |
9279 | targetm.fold_builtin. | |
9280 | * config/alpha/alpha.c (alpha_fold_builtin): Rename arglist parameter. | |
9281 | Rewrite iteration to work on call_expr_nargs rather than TREE_CHAIN. | |
9282 | * config/picochip/picochip.c (picochip_expand_builtin_2op): Rename | |
9283 | arglist parameter. Use CALL_EXPR_ARG. | |
9284 | (picochip_expand_builtin_3op): Likewise. | |
9285 | (picochip_expand_builtin_2opvoid): Likewise. | |
9286 | (picochip_expand_array_get): Likewise. | |
9287 | (picochip_expand_array_put): Likewise. | |
9288 | (picochip_expand_array_testport): Likewise. | |
9289 | (picochip_expand_builtin): Don't call CALL_EXPR_ARGS. Pass exp | |
9290 | rather than arglist. | |
9291 | * config/rx/rx.c (rx_expand_builtin): Call call_expr_nargs instead of | |
9292 | CALL_EXPR_ARGS. | |
9293 | * config/sparc/sparc.c (sparc_fold_builtin): Use CALL_EXPR_ARG rather | |
9294 | than TREE_VALUE and TREE_CHAIN. | |
9295 | * config/xtensa/xtensa.c (xtensa_fold_builtin): Likewise. | |
9296 | * doc/tm.texi (TARGET_FOLD_BUILTIN): Pass CALL_EXPR tree instead of | |
9297 | the arglist. | |
9298 | ||
625a1adc | 9299 | 2010-05-17 Jakub Jelinek <jakub@redhat.com> |
9300 | ||
febcf1b8 | 9301 | PR bootstrap/42347 |
9302 | * cfglayout.c (fixup_reorder_chain): Allow returnjump_p | |
9303 | to have no fallthru edge. | |
9304 | ||
625a1adc | 9305 | PR middle-end/44102 |
9306 | * cfgcleanup.c (try_optimize_cfg): When removing trivially empty | |
9307 | bb with no successors, move footer whenever in IR_RTL_CFGLAYOUT | |
9308 | mode, not just when CLEANUP_CFGLAYOUT, and when in IR_RTL_CFGRTL | |
9309 | add BARRIER after previous bb if needed. | |
9310 | ||
e1036019 | 9311 | 2010-05-17 Nathan Froyd <froydnj@codesourcery.com> |
908a94fd | 9312 | |
e1036019 | 9313 | * tree.c (build_function_type_list_1): Remove bogus assert condition. |
908a94fd | 9314 | |
d33dc3b0 | 9315 | 2010-05-17 Alan Modra <amodra@gmail.com> |
9316 | ||
9317 | * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Delete | |
9318 | unnecessary prototype. Replace copy_r12 and copy_r11 flag params | |
9319 | with copy_reg rtx param. | |
9320 | (rs6000_emit_prologue): Update rs6000_emit_allocate_stack calls. | |
9321 | Correct cases where code for ABI_V4 did not initialise the reg | |
9322 | used to access frame. Also leave frame_reg_rtx as sp for large | |
9323 | frames that save no regs. | |
9324 | ||
c29a2c24 | 9325 | 2010-05-17 Martin Jambor <mjambor@suse.cz> |
9326 | ||
9327 | PR middle-end/44133 | |
9328 | * tree-sra.c (create_access_replacement): New parameter rename, mark | |
9329 | the replaement for renaming only when it is true. | |
9330 | (get_access_replacement): Pass true in the rename parameter of | |
9331 | create_access_replacement. | |
9332 | (get_unrenamed_access_replacement): New function. | |
9333 | (replace_uses_with_default_def_ssa_name): New parameter racc, get the | |
9334 | replacement declaration from it. | |
9335 | ||
43165fe4 | 9336 | 2010-05-17 Bernd Schmidt <bernds@codesourcery.com> |
9337 | ||
9338 | * function.c (try_fit_stack_local, add_frame_space): New static | |
9339 | functions. | |
9340 | (assign_stack_local_1): Use them. Look for opportunities to use | |
9341 | space previously wasted on alignment. | |
9342 | * function.h (struct frame_space): New. | |
9343 | (struct rtl_data): Add FRAME_SPACE_LIST member. | |
9344 | * reload1.c (something_was_spilled): New static variable. | |
9345 | (alter_reg): Set it. | |
9346 | (reload): Test it in addition to testing if the frame size changed. | |
9347 | ||
d80deb0a | 9348 | 2010-05-17 Christian Borntraeger <borntraeger@de.ibm.com> |
9349 | ||
908a94fd | 9350 | * config/s390/s390.c: Define sane prefetch settings and activate |
9351 | flag_prefetch_loop_arrays on -O3. | |
9352 | * config/s390/s390.h: Declare that read can use write prefetch. | |
d80deb0a | 9353 | |
d4ebb40e | 9354 | 2010-05-17 Jakub Jelinek <jakub@redhat.com> |
9355 | ||
9356 | * lto-streamer-out.c (lto_output): Fix --enable-checking=release | |
9357 | build. | |
9358 | ||
70a8f5ac | 9359 | 2010-05-16 Jan Hubicka <jh@suse.cz> |
9360 | ||
9361 | * ipa-cp.c (ipcp_versionable_function_p): Walk cgraph edges instead of | |
9362 | function body; do not check stdarg field of struct function. | |
9363 | ||
c8ae5ac2 | 9364 | 2010-05-16 Jan Hubicka <jh@suse.cz> |
9365 | ||
9366 | * cgraph.c (dump_cgraph_node): Dump versionable flag. | |
9367 | * cgraph.h (cgraph_local_info): Add versionable flag. | |
9368 | * ipa-cp.c (ipcp_analyze_node): Set versionable flag. | |
9369 | (ipcp_versionable_function_p): Use it. | |
9370 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Stream | |
9371 | versionable flag. | |
9372 | ||
02b2818c | 9373 | 2010-05-16 Jan Hubicka <jh@suse.cz> |
9374 | ||
9375 | * cgraph.c (cgraph_clone_node): Take decl argument and insert | |
9376 | clone into hash when it is different from orig. | |
9377 | (cgraph_create_virtual_clone): Update use of cgraph_clone_node. | |
9378 | * cgraph.h (cgraph_clone_node): Update prototype. | |
9379 | * lto-cgrpah.c (lto_cgraph_encoder_new): Create body map. | |
9380 | (lto_cgraph_encoder_delete): Delete body map. | |
9381 | (lto_cgraph_encoder_size): Move to header. | |
c8ae5ac2 | 9382 | (lto_cgraph_encoder_encode_body_p, |
9383 | lto_set_cgraph_encoder_encode_body): New. | |
02b2818c | 9384 | (lto_output_node): Do not take written_decls argument; output clone_of |
9385 | pointer. | |
9386 | (add_node_to): Add include_body_argument; call | |
9387 | lto_set_cgraph_encoder_encode_body on master of the clone. | |
9388 | (add_references): Update use of add_node_to. | |
9389 | (compute_ltrans_boundary): Likewise. | |
9390 | (output_cgraph): Do not create written_decls bitmap. | |
9391 | (input_node): Take nodes argument; stream in clone_of correctly. | |
9392 | (input_cgraph_1): Update use of input_node. | |
9393 | * lto-streamer-out.c (lto_output): Use encoder info to decide | |
9394 | what bodies to output. | |
9395 | * ipa-inline.c (cgraph_clone_inlined_nodes, | |
9396 | cgraph_decide_recursive_inlining): Update call of cgraph_clone_node. | |
9397 | * lto-streamer.h (lto_cgraph_encoder_d): Add body. | |
9398 | (lto_cgraph_encoder_size): Define here. | |
9399 | (lto_cgraph_encoder_encode_body_p, lto_varpool_encoder_encode_body_p): | |
9400 | Declare. | |
9401 | ||
d67e4f04 | 9402 | 2010-05-16 Richard Guenther <rguenther@suse.de> |
9403 | ||
9404 | * doc/invoke.texi (-fipa-struct-reorg): Do not mention | |
9405 | -fipa-type-escape. | |
9406 | * ipa-type-escape.c (gate_type_escape_vars): Run when | |
9407 | -fipa-struct-reorg runs. | |
9408 | * opts.c (decode_options): Do not unset flag_ipa_type_escape. | |
9409 | * common.opt (fipa-type-escape): Remove. | |
9410 | ||
30a50b60 | 9411 | 2010-05-16 Eric Botcazou <ebotcazou@adacore.com> |
9412 | ||
9413 | * opts.c (handle_option): Call into LTO streamer only if ENABLE_LTO. | |
9414 | (decode_options): Likewise. | |
9415 | * Makefile.in (opts.o): Add dependency on LTO_STREAMER_H. | |
9416 | ||
3e7743d4 | 9417 | 2010-05-16 Jan Hubicka <jh@suse.cz> |
9418 | ||
9419 | * ipa.c (function_and_variable_visibility): Also bring local all | |
9420 | aliases. | |
9421 | ||
b50c6e49 | 9422 | 2010-05-16 Richard Guenther <rguenther@suse.de> |
9423 | ||
9424 | * alias.c (nonoverlapping_memrefs_p): Remove use of | |
9425 | IPA type-escape information. | |
9426 | ||
f80e7755 | 9427 | 2010-05-16 Joseph Myers <joseph@codesourcery.com> |
9428 | ||
9429 | * c-common.c (c_common_reswords): Add _Static_assert for C. | |
9430 | * c-parser.c (c_token_starts_declaration, | |
9431 | c_parser_next_token_starts_declaration, | |
9432 | c_parser_static_assert_declaration_no_semi, | |
9433 | c_parser_static_assert_declaration): New. | |
9434 | (c_parser_declaration_or_fndef): Add parameter static_assert_ok. | |
9435 | Handle static assertions if static_assert_ok. | |
9436 | (c_parser_external_declaration, c_parser_declaration_or_fndef, | |
9437 | c_parser_compound_statement_nostart, c_parser_label, | |
9438 | c_parser_for_statement, c_parser_objc_methodprotolist, | |
9439 | c_parser_omp_for_loop): All callers of | |
9440 | c_parser_declaration_or_fndef changed. | |
9441 | (c_parser_struct_declaration): Handle static assertions. | |
9442 | (c_parser_compound_statement_nostart): Use | |
9443 | c_parser_next_token_starts_declaration and | |
9444 | c_token_starts_declaration to detect start of declarations. | |
9445 | (c_parser_label, c_parser_for_statement, c_parser_omp_for_loop): | |
9446 | Likewise. | |
9447 | ||
b600778c | 9448 | 2010-05-16 Anatoly Sokolov <aesok@post.ru> |
9449 | ||
9450 | * config/mmix/mmix.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, | |
9451 | LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
9452 | * config/mmix/mmix.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
9453 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
9454 | (mmix_function_outgoing_value): Rename to... | |
9455 | (mmix_function_value): ...this. Make static. Add 'outgoing' argument. | |
9456 | (mmix_function_value_regno_p): Make static. | |
9457 | (mmix_libcall_value): New function. | |
9458 | * config/mmix/mmix-protos.h (mmix_function_outgoing_value, | |
9459 | mmix_function_value_regno_p): Remove declaration. | |
9460 | ||
06a0401b | 9461 | 2010-05-16 Eric Botcazou <ebotcazou@adacore.com> |
9462 | ||
9463 | * tree.c (build_common_builtin_nodes): Always clear TREE_NOTHROW on | |
9464 | BUILT_IN_ALLOCA if stack checking is enabled. | |
9465 | ||
a868678a | 9466 | 2010-05-16 Richard Guenther <rguenther@suse.de> |
9467 | ||
9468 | * var-tracking.c (vars_copy_1): Inline ... | |
9469 | (vars_copy): ... here. Use FOR_EACH_HTAB_ELEMENT. | |
9470 | (variable_union): Use FOR_EACH_HTAB_ELEMENT. Merge asserts. | |
9471 | (variable_merge_over_cur): Adjust. Merge asserts. | |
9472 | (variable_merge_over_src): Likewise. | |
9473 | (dataflow_set_merge): Use FOR_EACH_HTAB_ELEMENT. | |
9474 | (variable_post_merge_new_vals): Merge asserts. | |
9475 | (variable_post_merge_perm_vals): Likewise. | |
9476 | (find_mem_expr_in_1pdv): Likewise. | |
9477 | (dataflow_set_different_value): Remove. | |
9478 | (onepart_variable_different_p): Merge asserts. | |
9479 | (variable_different_p): Likewise. | |
9480 | (dataflow_set_different_1): Inline ... | |
9481 | (dataflow_set_different): ... here. Use FOR_EACH_HTAB_ELEMENT. | |
9482 | (emit_notes_for_differences_1): Merge asserts. | |
9483 | ||
4bdd2942 | 9484 | 2010-05-16 Richard Guenther <rguenther@suse.de> |
9485 | ||
9486 | * lto-symtab.c (lto_symtab_entry_hash): Use IDENTIFIER_HASH_VALUE. | |
9487 | * optabs.c (libfunc_decl_hash): Likewise. | |
9488 | * varasm.c (emutls_decl): Likewise. | |
9489 | ||
49c7f2ee | 9490 | 2010-05-16 Steven Bosscher <steven@gcc.gnu.org> |
9491 | ||
9492 | * c-decl.c: Don't include gimple.h. | |
9493 | (merge_decls): Do not copy gimple_body. | |
9494 | ||
54f6ea65 | 9495 | 2010-05-15 Jason Merrill <jason@redhat.com> |
9496 | ||
9497 | * c.opt: Add -fnothrow-opt. | |
9498 | ||
7c1a227e | 9499 | 2010-05-15 Jan Hubicka <jh@suse.cz> |
9500 | ||
06a0401b | 9501 | * ipa-prop.c (ipa_prop_read_section): Add sanity check that node is |
9502 | analyzed. | |
7c1a227e | 9503 | * passes.c (ipa_write_summaries): Write all analyzed nodes. |
9504 | ||
115133dd | 9505 | 2010-05-15 Steven Bosscher <steven@gcc.gnu.org> |
9506 | ||
9507 | * vecir.h: New file with VEC primitives for tree, gimple, and rtl. | |
9508 | * Makefile.in: Add it. | |
9509 | Fix all other Makefile dependencies for changes below. | |
9510 | * tree.h: Include it instead of defining VEC primitives here. | |
9511 | * gimple.h: Likewise. | |
9512 | * rtl.h: Likewise. | |
9513 | * tree-inline.h: Inlclude vecir.h instead of gimple.h. | |
9514 | * except.h: Include vecir.h, break dependence on tree.h. | |
9515 | ||
9516 | * gimplify.c (append_to_statement_list_1, append_to_statement_list): | |
9517 | Move from here... | |
9518 | * tree-iterator.c: ...to here. | |
9519 | * tree-iterator.h: Fix file introduction comment. Add extern markers. | |
9520 | ||
9521 | * c-lex.c: Include fixed-value.h instead of rtl.h. Do not include | |
9522 | tm_p.h. | |
9523 | * c-cppbuiltin.c: Explain why debug.h and tm_p.h are included. | |
9524 | * c-objc-common.h: Do not include tm.h, rtl.h, insn-config.h, | |
9525 | integrate.h, function.h, toplev.h, tree-inline.h, ggc.h, | |
9526 | tree-mudflap.h, and target.h. | |
9527 | * c-semantics.c: Do not include except.h, ggc.h, rtl.h, timevar.h, | |
9528 | predict.h, tree-inline.h, gimple.h, and langhooks.h. | |
9529 | * c-decl.c: Do not include expr.h, ggc.h, libfuncs.h, except.h. | |
9530 | Add FIXME for why gimple.h is still included (should be unnecessary | |
9531 | since GCC 4.5 gimplification unit-at-a-time). | |
9532 | * c-typeck.c: Do not include rtl.h, tm_p.h, ggc.h, and gimple.h. | |
9533 | * c-pragma.c: Add FIXME for why function.h needs to be included just | |
9534 | for cfun, at front-end level. | |
9535 | Add note that REGISTER_TARGET_PRAGMAS should probably be a target hook. | |
9536 | Do not include ggc.h, but include vecprim.h for VEC(char). | |
9537 | * c-opts.c: Do not include tm.h, tree-inline.h, and tm_p.h. | |
9538 | Explain why target.h is included. | |
9539 | * c-omp.h: Do not include tm.h, function.h, and bitmap.h. | |
9540 | Explain why gimple.h is included. | |
9541 | * c-ppoutput.c: Do not include tm.h. | |
9542 | * c-common.c: Do not include gimple.h. Explain why expr.h is included. | |
9543 | * c-parses.c: Explain why rtl.h is included, and that this (and only | |
9544 | this) is also why tm.h must be included. | |
9545 | Do not include except.h. | |
9546 | * c-lang.c: Do not include ggc.h. | |
9547 | ||
a3fd2b64 | 9548 | 2010-05-15 Uros Bizjak <ubizjak@gmail.com> |
9549 | ||
9550 | * targhooks.c (GO_IF_MODE_DEPENDENT_ADDRESS): Use CONST_CAST_RTX. | |
9551 | ||
afb3d3c4 | 9552 | 2010-05-15 Joseph Myers <joseph@codesourcery.com> |
9553 | ||
9554 | * c-decl.c (grokfield): Allow typedefs for anonymous structs and | |
9555 | unions by default if those structs and unions have no tags. Do | |
9556 | not condition anonymous struct and unions handling on flag_iso. | |
9557 | Allow anonymous structs and unions for C1X. | |
9558 | (finish_struct): Do not diagnose lack of named fields when | |
9559 | anonymous structs and unions present for C1X. Accept flexible | |
9560 | array members in structure with anonymous structs or unions but no | |
9561 | directly named fields. | |
9562 | * doc/extend.texi (Unnamed Fields): Update. | |
9563 | ||
a1072234 | 9564 | 2010-05-15 Eric Botcazou <ebotcazou@adacore.com> |
9565 | ||
9566 | * gimple.h (compare_field_offset): Rename into... | |
9567 | (gimple_compare_field_offset): ...this. | |
9568 | * gimple.c (compare_field_offset): Rename into... | |
9569 | (gimple_compare_field_offset): ...this. Compare the full access if | |
9570 | the offset is self-referential. | |
9571 | (gimple_types_compatible_p): Adjust for above renaming. | |
9572 | * lto-streamer-in.c (input_gimple_stmt): Likewise. Also compare the | |
9573 | DECL_NONADDRESSABLE_P flag of fields before merging them. | |
9574 | ||
7858b562 | 9575 | 2010-05-15 Nathan Froyd <froydnj@codesourcery.com> |
9576 | ||
9577 | * tree.h (ctor_to_list): Delete. | |
9578 | * tree.c (ctor_to_list): Delete. | |
9579 | ||
d97be713 | 9580 | 2010-05-15 Jan Hubicka <jh@suse.cz> |
9581 | ||
9582 | * ipa-reference.c: Include toplev.h | |
9583 | (is_proper_for_analysis): Only add to all_module_statics | |
9584 | if it is allocated. | |
9585 | (write_node_summary_p, stream_out_bitmap, | |
9586 | ipa_reference_write_optimization_summary, | |
9587 | ipa_reference_read_optimization_summary): New. | |
9588 | (struct ipa_opt_pass_d pass_ipa_reference): Add | |
9589 | optimization summary streaming. | |
a3fd2b64 | 9590 | * lto-cgraph.c (referenced_from_this_partition_p, |
d97be713 | 9591 | reachable_from_this_partition_p): New functions. |
9592 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1, | |
9593 | call_may_clobber_ref_p_1): Ask ipa-reference even for public vars. | |
9594 | * opts.c (decode_options): Enable ipa_reference. | |
9595 | * Makefile.in (ipa-reference.o): Add toplev.h dependency. | |
9596 | * lto-streamer.h (referenced_from_this_partition_p, | |
9597 | reachable_from_this_partition_p): Declare. | |
9598 | ||
8f71200d | 9599 | 2010-05-15 Richard Guenther <rguenther@suse.de> |
9600 | ||
9601 | PR tree-optimization/44038 | |
9602 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Avoid | |
9603 | taking the address of a V_C_E of a constant. | |
9604 | ||
db5a3693 | 9605 | 2010-05-14 Jan Hubicka <jh@suse.cz> |
9606 | ||
9607 | * tree.h (memory_identifier_string): Remove. | |
9608 | * ipa-reference.c: Update comment; do not include gt-ipa-reference.h | |
9609 | (ipa_reference_global_vars_info_d): Remove statics_not_read and | |
9610 | statics_not_written. | |
9611 | (ipa_reference_optimization_summary_d): New structure. | |
9612 | (ipa_reference_optimization_summary_t): New type and vector. | |
9613 | (ipa_reference_vars_info_d): Embedd structures instead of using | |
9614 | pointers. | |
9615 | (reference_vars_to_consider): Remove out of GGC space. | |
9616 | (module_statics_escape): Remove. | |
9617 | (global_info_obstack): Rename to ... | |
9618 | (optimization_summary_obstack): ... this one. | |
9619 | (initialization_status_t): Remove. | |
9620 | (memory_identifier_string): Remove. | |
9621 | (get_reference_vars_info): Fix indenting. | |
9622 | (set_reference_vars_info): Likewise. | |
9623 | (get_reference_optimization_summary): New. | |
9624 | (set_reference_optimization_summary): New. | |
9625 | (get_global_reference_vars_info): Remove. | |
9626 | (ipa_reference_get_read_global): Remove. | |
9627 | (ipa_reference_get_written_global): Remove. | |
9628 | (ipa_reference_get_not_read_global): Update. | |
9629 | (ipa_reference_get_not_written_global): Update. | |
9630 | (is_proper_for_analysis): Outlaw addressable. | |
9631 | (propagate_bits): Update for new datastructures. | |
9632 | (analyze_variable): Remove. | |
9633 | (init_function_info): Update for new datastructures. | |
9634 | (clean_function_local_data): Remove. | |
9635 | (clean_function): Remove. | |
9636 | (copy_global_bitmap): Use optimizations_summary_obstack. | |
9637 | (duplicate_node_data): Duplicate optimization summary only. | |
9638 | (remove_node_data): Remove optimization summary only. | |
9639 | (generate_summary): Do not analyze variables; do not compute | |
9640 | module_statics_escape; do not prune solutions by it. | |
9641 | (read_write_all_from_decl): Fix typos in comments. | |
9642 | (propagate): Doscover readonly and nonaddressable first; | |
9643 | update for new datastructures; share global bitmaps. | |
9644 | * ipa-reference.h (ipa_reference_get_read_global, | |
9645 | ipa_reference_get_written_global): Remove. | |
9646 | * ipa-pure-const.c (check_stmt): Do not use memory_identifier_string. | |
9647 | * Makefile.in: Remove ipa-refereference from GT files. | |
9648 | ||
f00c0191 | 9649 | 2010-05-14 Jakub Jelinek <jakub@redhat.com> |
9650 | ||
9651 | PR debug/44112 | |
9652 | * dwarf2out.c (resolve_one_addr): Check TREE_ASM_WRITTEN | |
9653 | for all SYMBOL_REF_DECLs. | |
9654 | ||
8dfbf71d | 9655 | 2010-05-14 Jan Hubicka <jh@suse.cz> |
9656 | ||
9657 | * cgraph.h (ipa_discover_readonly_nonaddressable_vars): Declare. | |
9658 | (varpool_all_refs_explicit_p): New inline function. | |
9659 | * ipa-reference.c: Update comment. | |
9660 | (module_statics_written): Remove. | |
9661 | (get_static_decl): Remove. | |
9662 | (ipa_init): Do not initialize module_statics_written. | |
9663 | (analyze_function): Likewise. | |
9664 | (generate_summary): Likewise; do not compute module_statics_readonly | |
9665 | and do not update variable flags. | |
9666 | (propagate): Call ipa_discover_readonly_nonaddressable_vars. | |
9667 | * ipa.c: Inlucde flags.h | |
9668 | (cgraph_local_node_p): New. | |
9669 | (cgraph_remove_unreachable_nodes): Return early when not optimizing; | |
9670 | promote functions to local. | |
9671 | (ipa_discover_readonly_nonaddressable_vars): New function. | |
9672 | (function_and_variable_visibility): Use cgraph_local_node_p. | |
9673 | * varpool.c (varpool_finalize_decl): Set force_output for | |
9674 | DECL_PRESERVE_P vars. | |
9675 | ||
97274085 | 9676 | 2010-05-14 Jan Hubicka <jh@suse.cz> |
9677 | ||
9678 | * ipa.c (cgraph_remove_unreachable_nodes): Revert accidental commit. | |
9679 | ||
b0834cc0 | 9680 | 2010-05-14 Richard Guenther <rguenther@suse.de> |
9681 | ||
9682 | PR tree-optimization/44119 | |
9683 | * tree-ssa-pre.c (eliminate): Properly mark replacement of | |
9684 | a PHI node necessary. | |
9685 | ||
f8b3db21 | 9686 | 2010-05-14 Eric Botcazou <ebotcazou@adacore.com> |
9687 | ||
9688 | * tree.h (TREE_ADDRESSABLE): Remove bogus usage for FIELD_DECL. | |
9689 | ||
73bb17ce | 9690 | 2010-05-14 Jason Merrill <jason@redhat.com> |
9691 | ||
1d3f675f | 9692 | PR c++/44127 |
9693 | * gimple.h (enum gf_mask): Add GF_CALL_NOTHROW. | |
9694 | (gimple_call_set_nothrow): New. | |
9695 | * gimple.c (gimple_build_call_from_tree): Call it. | |
9696 | (gimple_call_flags): Set ECF_NOTHROW from GF_CALL_NOTHROW. | |
9697 | ||
73bb17ce | 9698 | PR c++/44127 |
9699 | * gimplify.c (gimplify_seq_add_stmt): No longer static. | |
9700 | * gimple.h: Declare it. | |
9701 | * gimple.c (gimple_build_eh_filter): No ops. | |
9702 | ||
9da87cb8 | 9703 | 2010-05-14 Jan Hubicka <jh@suse.cz> |
9704 | ||
9705 | * ipa.c (enqueue_cgraph_node): Update comment; do not re-enqueue | |
9706 | nodes already in queue. | |
f8b3db21 | 9707 | (cgraph_remove_unreachable_nodes): Cleanup; fix problem with |
9708 | re-enqueueing node. | |
9da87cb8 | 9709 | |
37cd7b09 | 9710 | 2010-05-14 Jakub Jelinek <jakub@redhat.com> |
9711 | ||
9712 | PR debug/44136 | |
9713 | * cfgexpand.c (expand_debug_expr): If non-memory op0 | |
9714 | has BLKmode, return NULL. | |
9715 | ||
6fc76bb0 | 9716 | 2010-05-14 Harsha Jagasia <harsha.jagasia@amd.com> |
9717 | ||
9718 | * config.gcc: Add support for --with-cpu option for bdver1. | |
9719 | * config/i386/i386.h (TARGET_BDVER1): New macro. | |
9720 | (ix86_tune_indices): Change SSE_UNALIGNED_MOVE_OPTIMAL | |
9721 | to SSE_UNALIGNED_LOAD_OPTIMAL. Add SSE_UNALIGNED_STORE_OPTIMAL. | |
9722 | (ix86_tune_features) :Change SSE_UNALIGNED_MOVE_OPTIMAL | |
9723 | to SSE_UNALIGNED_LOAD_OPTIMAL. Add SSE_UNALIGNED_STORE_OPTIMAL. | |
9724 | Add SSE_PACKED_SINGLE_INSN_OPTIMAL. | |
9725 | (TARGET_CPU_DEFAULT_NAMES): Add bdver1. | |
9726 | (processor_type): Add PROCESSOR_BDVER1. | |
9727 | * config/i386/i386.md: Add bdver1 as a new cpu attribute to match | |
9728 | processor_type in config/i386/i386.h. | |
9729 | Add check for TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit | |
9730 | movaps <reg, reg> instead of movapd <reg, reg> when replacing | |
9731 | movsd <reg, reg> or movss <reg, reg> for SSE and AVX. | |
9732 | Add check for TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL | |
9733 | to emit packed xor instead of packed double/packed integer | |
9734 | xor for SSE and AVX when moving a zero value. | |
f8b3db21 | 9735 | * config/i386/sse.md: Add check for |
9736 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit movaps instead of | |
9737 | movapd/movdqa for SSE and AVX. | |
9738 | Add check for TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit packed | |
9739 | single logical operations i.e and, or and xor instead of packed double | |
9740 | logical operations for SSE and AVX. | |
a3fd2b64 | 9741 | * config/i386/i386-c.c (ix86_target_macros_internal): |
9742 | Add PROCESSOR_BDVER1. | |
6fc76bb0 | 9743 | * config/i386/driver-i386.c: Turn on -mtune=native for BDVER1. |
9744 | (has_fma4, has_xop): New. | |
9745 | * config/i386/i386.c (bdver1_cost): New variable. | |
9746 | (m_BDVER1): New macro. | |
9747 | (m_AMD_MULTIPLE): Add m_BDVER1. | |
9748 | (x86_tune_use_leave, x86_tune_push_memory, x86_tune_unroll_strlen, | |
f8b3db21 | 9749 | x86_tune_deep_branch_prediction, x86_tune_use_sahf, x86_tune_movx, |
9750 | x86_tune_use_simode_fiop, x86_tune_promote_qimode, | |
9751 | x86_tune_add_esp_8, x86_tune_tune_sub_esp_4, x86_tune_sub_esp_8, | |
9752 | x86_tune_integer_dfmode_moves, x86_tune_partial_reg_dependency, | |
9753 | x86_tune_sse_partial_reg_dependency, | |
9754 | x86_tune_sse_unaligned_load_optimal, | |
9755 | x86_tune_sse_unaligned_store_optimal, x86_tune_sse_typeless_stores, | |
9756 | x86_tune_memory_mismatch_stall, x86_tune_use_ffreep, | |
9757 | x86_tune_inter_unit_moves, x86_tune_inter_unit_conversions, | |
9758 | x86_tune_use_bt, x86_tune_pad_returns, x86_tune_slow_imul_imm32_mem, | |
9759 | x86_tune_slow_imul_imm8, x86_tune_fuse_cmp_and_branch): | |
6fc76bb0 | 9760 | Enable/disable for bdver1. |
9761 | (processor_target_table): Add bdver1_cost. | |
9762 | (cpu_names): Add bdver1. | |
9763 | (override_options): Set up PROCESSOR_BDVER1 for bdver1 entry in | |
9764 | processor_alias_table. | |
f8b3db21 | 9765 | (ix86_expand_vector_move_misalign): Change. |
9766 | TARGET_SSE_UNALIGNED_MOVE_OPTIMAL to TARGET_SSE_UNALIGNED_LOAD_OPTIMAL. | |
9767 | Check for TARGET_SSE_UNALIGNED_STORE_OPTIMAL. | |
9768 | Check for TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit movups instead | |
9769 | of movupd/movdqu for SSE and AVX. | |
6fc76bb0 | 9770 | (ix86_tune_issue_rate): Add PROCESSOR_BDVER1. |
9771 | (ix86_tune_adjust_cost): Add code for bdver1. | |
9772 | (standard_sse_constant_opcode): Add check for | |
9773 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit packed single xor instead | |
9774 | of packed double xor for SSE and AVX. | |
9775 | ||
3a413729 | 9776 | 2010-05-14 Pat Haugen <pthaugen@us.ibm.com> |
9777 | ||
9778 | * tree-ssa-loop.prefetch.c (prune_ref_by_group_reuse): Cast abs() | |
9779 | result to unsigned. | |
9780 | ||
2a95155a | 9781 | 2010-05-14 Tristan Gingold <gingold@adacore.com> |
9782 | ||
9783 | * toplev.c (default_debug_hooks): Remove this variable. | |
9784 | (process_options): Remove assignments to default_debug_hooks. | |
9785 | ||
2b5b3ca3 | 9786 | 2010-05-14 Martin Jambor <mjambor@suse.cz> |
9787 | ||
9788 | * langhooks-def.h (LANG_HOOKS_FOLD_OBJ_TYPE_REF): Remove. | |
9789 | (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_FOLD_OBJ_TYPE_REF. | |
9790 | * langhooks.h (struct lang_hooks_for_decls): Removed field | |
9791 | fold_obj_type_ref. | |
9792 | * tree.c (free_lang_data): Remove assignment to | |
9793 | lang_hooks.fold_obj_type_ref. | |
9794 | * tree.def (OBJ_TYPE_REF): Update comment. | |
9795 | ||
888b74b6 | 9796 | 2010-05-14 Richard Guenther <rguenther@suse.de> |
9797 | ||
9798 | PR tree-optimization/44124 | |
9799 | * tree-ssa-sccvn.c (vn_nary_may_trap): Fix invalid memory access. | |
9800 | ||
cdabd5b2 | 9801 | 2010-05-14 Alan Modra <amodra@gmail.com> |
9802 | ||
9803 | PR target/44075 | |
9804 | * config/rs6000/rs6000.c (struct machine_function): Reorder | |
9805 | fields for better packing. Add lr_save_state. | |
9806 | (rs6000_ra_ever_killed): Return lr_save_state if set. | |
9807 | (rs6000_emit_eh_reg_restore): Set lr_save_state. | |
9808 | ||
97db846f | 9809 | 2010-05-13 Jan Hubicka <jh@suse.cz> |
9810 | ||
9811 | * varpool.c (decide_is_variable_needed): Drop code checking | |
9812 | TREE_SYMBOL_REFERENCED. | |
9813 | ||
0b49f8f8 | 9814 | 2010-05-13 Jan Hubicka <jh@suse.cz> |
9815 | ||
9816 | * final.c (output_addr_const): Do not call mark_decl_referenced. | |
9817 | * cgraphunit.c (process_function_and_variable_attributes): Use | |
9818 | mark_needed_node dirrectly. | |
9819 | (assemble_thunk): Do not call mark_decl_referenced. | |
9820 | ||
a396c341 | 9821 | 2010-05-13 Anatoly Sokolov <aesok@post.ru> |
9822 | ||
9823 | * targhooks.c (default_mode_dependent_address_p): Cast 'addr' to rtx. | |
9824 | ||
c32f7a5a | 9825 | 2010-05-13 Jeff Law <law@redhat.com> |
9826 | ||
9827 | * ira-conflicts.c (print_allocno_conflicts): New function broken out | |
9828 | from... | |
9829 | (print_conflicts): Call print_allocno_conflicts. | |
9830 | ||
a101a346 | 9831 | 2010-05-13 Jakub Jelinek <jakub@redhat.com> |
9832 | ||
9833 | PR debug/44104 | |
9834 | * dwarf2out.c (modified_type_die): Don't dereference mod_type_die | |
9835 | if it is NULL. | |
9836 | ||
aca9e986 | 9837 | 2010-05-13 Kai Tietz <kai.tietz@onevision.com> |
9838 | ||
9839 | * config.gcc (i[34567]86-*-mingw* | x86_64-*-mingw*): Choose | |
9840 | t-mingw-w64 or t-mingw-w32 for multilib configuration. | |
9841 | * config/i386/t-mingw-w32: New. | |
9842 | * config/i386/t-mingw-w64 (MULTILIB_OSDIRNAMES): Change lib64 to lib. | |
a3fd2b64 | 9843 | |
e4227d04 | 9844 | 2010-05-13 Martin Jambor <mjambor@suse.cz> |
9845 | ||
9846 | * gimple.c (gimple_fold_obj_type_ref): Removed (a replacement moved to | |
9847 | gimple-fold.c). | |
9848 | * gimple-fold.c (get_base_binfo_for_type): New function. | |
9849 | (gimple_get_relevant_ref_binfo): Likewise. | |
9850 | (gimple_fold_obj_type_ref_known_binfo): Likewise. | |
9851 | (gimple_fold_obj_type_ref): Likewise. | |
9852 | (fold_gimple_call): Simplify condition for folding virtual calls | |
9853 | and call gimple_fold_obj_type_ref. | |
9854 | * gimple.h (gimple_get_relevant_ref_binfo): Declare. | |
9855 | (gimple_fold_obj_type_ref_known_binfo): Likewise. | |
9856 | ||
b52dd48b | 9857 | 2010-05-13 Andreas Schwab <schwab@linux-m68k.org> |
9858 | ||
9859 | * config/rs6000/rs6000-protos.h | |
9860 | (rs6000_mode_dependent_address_ptr): Change argument to const_rtx. | |
9861 | * config/rs6000/rs6000.c (rs6000_mode_dependent_address) | |
9862 | (rs6000_debug_mode_dependent_address) | |
9863 | (rs6000_mode_dependent_address_ptr): Likewise. | |
9864 | ||
5dee2817 | 9865 | 2010-05-13 Jakub Jelinek <jakub@redhat.com> |
9866 | ||
9867 | PR debug/43983 | |
9868 | * var-tracking.c (track_expr_p): Allow tracking of variables optimized | |
9869 | by SRA. | |
9870 | * Makefile.in (dwarf2out.o): Depend on $(TREE_FLOW_H). | |
9871 | * tree-sra.c (create_access_replacement): Call unshare_expr before | |
a3fd2b64 | 9872 | passing expr to SET_DECL_DEBUG_EXPR, and remove any SSA_NAMEs from it. |
5dee2817 | 9873 | * dwarf2out.c: Include tree-flow.h. |
9874 | (struct var_loc_node): Rename var_loc_note field to loc, add comment. | |
9875 | (size_of_loc_descr, output_loc_operands, output_loc_operands_raw): | |
9876 | Handle DW_OP_bit_piece. | |
9877 | (decl_piece_bitsize, decl_piece_varloc_ptr, decl_piece_node, | |
9878 | construct_piece_list, adjust_piece_list): New functions. | |
9879 | (add_var_loc_to_decl): Handle SRA optimized variables. | |
9880 | Adjust for var_loc_note to loc field renaming. | |
9881 | (dw_loc_list_1): For WANT_ADDRESS == 2 prefer DECL_MODE of decl | |
9882 | in VAR_LOCATION note. | |
9883 | (new_loc_descr_op_bit_piece): New function. | |
9884 | (dw_sra_loc_expr): New function. | |
9885 | (dw_loc_list): Use it. Don't handle the last range after the | |
9886 | loop, handle it inside of the loop. Adjust for var_loc_note | |
9887 | to loc field renaming. | |
9888 | (add_location_or_const_value_attribute): Only special case | |
9889 | single entry loc lists if loc is NOTE_P. Adjust for | |
9890 | var_loc_note to loc field renaming. | |
9891 | (dwarf2out_var_location): Don't set newloc->var_loc_note | |
9892 | and newloc->next here. | |
9893 | ||
cdedc740 | 9894 | 2010-05-12 Jan Hubicka <jh@suse.cz> |
9895 | ||
cd2aaa6c | 9896 | * cgraph.c (cgraph_mark_address_taken_node): No longer imply needed |
9897 | flag. | |
cdedc740 | 9898 | * cgraph.h (cgraph_only_called_directly_p, |
9899 | cgraph_can_remove_if_no_direct_calls_p): test address_taken flag. | |
9900 | (cgraph_can_remove_if_no_direct_calls_and_refs_p): New function. | |
9901 | * cgraphunit.c (cgraph_mark_functions_to_output): Test address_taken. | |
9902 | (assemble | |
9903 | * ipa.c (cgraph_remove_unreachable_nodes): Use | |
cd2aaa6c | 9904 | cgraph_can_remove_if_no_direct_calls_and_refs_p; clear address_taken |
9905 | flags. | |
cdedc740 | 9906 | * tree-inline.c (copy_bb): Check address_taken flag. |
9907 | * tree-profile.c (tree_gen_ic_func_profiler): Check address_taken and | |
9908 | externally_visible flag. | |
9909 | ||
c7ca48ea | 9910 | 2010-05-12 Jason Merrill <jason@redhat.com> |
9911 | ||
9912 | PR bootstrap/44048 | |
9913 | PR target/44099 | |
9914 | * dbxout.c (dbxout_type): Remove NULLPTR_TYPE handling. | |
9915 | * sdbout.c (plain_type_1): Likewise. | |
9916 | * dwarf2out.c (is_base_type): Likewise. | |
9917 | (gen_type_die_with_usage): Likewise. Generate | |
9918 | DW_TAG_unspecified_type for any LANG_TYPE. | |
9919 | ||
f8b7e3ec | 9920 | 2010-05-12 Jan Hubicka <jh@suse.cz> |
9921 | ||
9922 | * cgraphbuild.c (build_cgraph_edges, rebuild_cgraph_edges): Build | |
9923 | indrect edges too. | |
9924 | * cgraph.c (cgraph_create_indirect_edge): Take ecf_flags argument. | |
9925 | (cgraph_clone_edge): Update. | |
9926 | (cgraph_node_remove_callees): Remove indirect calls too. | |
9927 | * cgraph.h (cgraph_indirect_call_info): Add ecf_flags. | |
9928 | (cgraph_create_indirect_edge): Update prototype. | |
9929 | * ipa-reference.c (has_proper_scope_for_analysis): Rename to | |
9930 | is_proper_for_analysis. | |
9931 | (add_new_function, visited_nodes, function_insertion_hook_holder, | |
9932 | get_local_reference_vars_info, mark_address_taken, mark_address, | |
9933 | mark_load, mark_store, check_asm_memory_clobber, check_call, | |
9934 | scan_stmt_for_static_refs, scan_initializer_for_static_refs): Remove. | |
9935 | (ipa_init): Do not initialize visited_nodes; | |
9936 | function_insertion_hook_holder. | |
9937 | (analyze_variable): Rewrite. | |
9938 | (analyze_function): Rewrite. | |
9939 | (copy_local_bitmap): Remove. | |
9940 | (duplicate_node_dat): Do not duplicate local info. | |
9941 | (generate_summary): Simplify to only walk cgraph. | |
9942 | (write_node_summary_p, ipa_reference_write_summary, | |
9943 | ipa_reference_read_summary): Remove. | |
9944 | (propagate): Do not remove function insertion; | |
9945 | generate summary. | |
9946 | (pass_ipa_reference): NULLify summary handling fields. | |
9947 | * lto-cgraph.c (lto_output_edge): Output ecf_flags. | |
9948 | (input_edge): Input ecf_flags. | |
9949 | * ipa-prop.c (ipa_note_parm_call): Expect edge to be around. | |
9950 | (update_indirect_edges_after_inlining): Ignore edges with unknown | |
9951 | param. | |
9952 | ||
a5b022e7 | 9953 | 2010-05-12 Sriraman Tallam <tmsriram@google.com> |
9954 | ||
9955 | * implicit-zee.c: New file. | |
9956 | * tree-pass.h (pass_implicit_zee): Declare. | |
9957 | * passes.c (init_optimization_passes): Add zee pass. | |
9958 | * common.opt (fzee): New flag. | |
9959 | * timevar.def (TV_ZEE): Define. | |
9960 | * config/i386/i386.c (optimization_options): Turn on ZEE for level 2 | |
9961 | and beyond. | |
9962 | * Makefile.in (implicit-zee.o): Add new build file. | |
9963 | ||
09cf91da | 9964 | 2010-05-12 Kazu Hirata <kazu@codesourcery.com> |
9965 | Nathan Froyd <froydnj@codesourcery.com> | |
9966 | ||
9967 | * c-common.c (sync_resolve_params): Remove write-only variable. | |
9968 | ||
98e22cb6 | 9969 | 2010-05-12 Anatoly Sokolov <aesok@post.ru> |
9970 | ||
9971 | * target.h (struct gcc_target): Add mode_dependent_address_p field. | |
9972 | * target-def.h (TARGET_MODE_DEPENDENT_ADDRESS_P): New. | |
9973 | (TARGET_INITIALIZER): Use TARGET_MODE_DEPENDENT_ADDRESS_P. | |
9974 | * targhooks.c (default_mode_dependent_address_p): New function. | |
9975 | * targhooks.h (default_mode_dependent_address_p): Declare function. | |
9976 | * doc/tm.texi (TARGET_MODE_DEPENDENT_ADDRESS_P): New. | |
9977 | (GO_IF_MODE_DEPENDENT_ADDRESS): Update. | |
43638d1c | 9978 | * recog.c (mode_dependent_address_p): Call mode_dependent_address_p |
98e22cb6 | 9979 | target hook. Change return type to bool. |
43638d1c | 9980 | * recog.h (mode_dependent_address_p): Change return type to bool. |
98e22cb6 | 9981 | |
c6732547 | 9982 | 2010-05-12 Kazu Hirata <kazu@codesourcery.com> |
9983 | Nathan Froyd <froydnj@codesourcery.com> | |
9984 | ||
9985 | * tree-mudflap.c (build_function_type_0, build_function_type_1, | |
9986 | build_function_type_2, build_function_type_3): Remove. | |
9987 | (mudflap_init): Use build_function_type_list. | |
9988 | ||
2100aa42 | 9989 | 2010-05-12 Kazu Hirata <kazu@codesourcery.com> |
9990 | Nathan Froyd <froydnj@codesourcery.com> | |
9991 | ||
9992 | * coverage.c (build_fn_info_value): Call build_constructor instead of | |
9993 | build_constructor_from_list. | |
9994 | (build_ctr_info_value): Likewise. | |
9995 | (build_gcov_info): Likewise. | |
9996 | ||
8ce9d9df | 9997 | 2010-05-12 Nathan Froyd <froydnj@codesourcery.com> |
9998 | ||
9999 | * tree.c (build_constructor): Compute TREE_CONSTANT for the | |
10000 | resultant constructor. | |
10001 | (build_constructor_single): Don't set TREE_CONSTANT. | |
10002 | (build_constructor_from_list): Don't compute TREE_CONSTANT. | |
10003 | ||
6f932b06 | 10004 | 2010-05-12 Jan Hubicka <jh@suse.cz> |
10005 | ||
10006 | * cgraph.h (struct varpool_node): Add aux. | |
10007 | * varasm.c (find_decl_and_mark_needed): Force output of varpool nodes. | |
10008 | * varpool.c (varpool_remove_node): Do not remove initializer. | |
10009 | (varpool_reset_queue): Export. | |
10010 | (varpool_finalize_decl): Volatile vars are forced to be output. | |
10011 | * lto-symtab.c (lto_varpool_replace_node): Clear out initializer of | |
10012 | replaced decl. | |
10013 | * ipa.c (enqueue_cgraph_node, enqueue_varpool_node, | |
10014 | process_references, varpool_can_remove_if_no_refs): New functions. | |
10015 | (cgraph_remove_unreachable_nodes): Handle variables too. | |
10016 | ||
3b349354 | 10017 | 2010-05-12 H.J. Lu <hongjiu.lu@intel.com> |
10018 | ||
10019 | PR target/44088 | |
10020 | * config/i386/sse.md (*avx_vmmaskcmp<mode>3): New. | |
10021 | ||
d51857bd | 10022 | 2010-05-12 Jakub Jelinek <jakub@redhat.com> |
10023 | ||
b0b48c1d | 10024 | PR middle-end/44085 |
10025 | * gimplify.c (enum omp_region_type): Add ORT_UNTIED_TASK, | |
10026 | change value of ORT_TASK. | |
10027 | (new_omp_context): Handle ORT_UNTIED_TASK like ORT_TASK. | |
10028 | (omp_notice_threadprivate_variable): New function. | |
10029 | (omp_notice_variable): Call it for threadprivate variables. | |
10030 | If enclosing ctx is a task, print enclosing task rather than | |
10031 | enclosing parallel. Handle ORT_UNTIED_TASK like ORT_TASK. | |
10032 | (gimplify_omp_task): Pass ORT_UNTIED_TASK instead of ORT_TASK | |
10033 | if task has untied clause. | |
10034 | ||
d51857bd | 10035 | PR debug/42278 |
10036 | * dwarf2out.c (base_type_die): Don't add name attribute here. | |
10037 | (modified_type_die): Instead of sizetype use | |
10038 | its underlying original type. If a DW_TAG_base_type doesn't | |
10039 | have name added, add __unknown__. | |
10040 | (dwarf2out_imported_module_or_decl_1): Don't call base_type_die, | |
10041 | always call force_type_die instead. | |
10042 | ||
b5d5f0d6 | 10043 | 2010-05-12 Maxim Kuvyrkov <maxim@codesourcery.com> |
10044 | ||
10045 | * targhooks.c (default_stack_protect_guard): Avoid sharing RTL | |
10046 | for __stack_chk_guard. | |
10047 | ||
b2af2a93 | 10048 | 2010-05-11 Jakub Jelinek <jakub@redhat.com> |
10049 | ||
dd690367 | 10050 | * c-opts.c (c_common_parse_file): If start_end_main_source_file, |
10051 | don't call start_source_file debug hook here... | |
10052 | (finish_options): ... but here, after outputting predefined and | |
10053 | command line defines and undefs. | |
10054 | ||
dcb172b4 | 10055 | PR middle-end/44071 |
10056 | * cfglayout.c (fixup_reorder_chain): Allow asm goto to have | |
10057 | no fallthru edge. | |
10058 | * cfgcleanup.c (try_optimize_cfg): When in cfglayout mode | |
10059 | optimizing away empty bb with no successors, move over its | |
10060 | footer chain to fallthru predecessor. | |
10061 | * cfgrtl.c (patch_jump_insn): Update also REG_LABEL_OPERAND. | |
10062 | (rtl_split_edge): For asm goto call patch_jump_insn even if | |
10063 | splitting fallthru edge. | |
10064 | ||
6834c43a | 10065 | PR c++/44059 |
10066 | * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use qnu_unique_object | |
10067 | even for DECL_ONE_ONLY DECL_ARTIFICIAL !TREE_READONLY decls. | |
10068 | * config/alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Likewise. | |
10069 | * dwarf2asm.c (dw2_output_indirect_constant_1): Set TREE_READONLY | |
10070 | on DW.ref.* decls. | |
10071 | ||
b2af2a93 | 10072 | PR c++/44062 |
10073 | * c-parser.c (c_parser_expression): Mark LHS of a comma | |
10074 | expression as read if it is a decl, handled component or | |
10075 | COMPOUND_EXPR with that on the RHS. | |
10076 | * c-typeck.c (c_process_expr_stmt): Mark RHS of COMPOUND_EXPR | |
10077 | if it is a decl or handled component. | |
10078 | ||
25429dc2 | 10079 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
10080 | ||
10081 | * lto-symtab.c (lto_symtab_free): New function. | |
10082 | * lto-streamer.h (lto_symtab_free): Declare. | |
10083 | ||
10084 | 2010-05-11 Jan Hubicka <jh@suse.cz> | |
10085 | ||
10086 | * lto-cgraph.c (reachable_from_other_partition_p): Export; do not assume | |
10087 | that if function is needed it is reachable. | |
10088 | (lto_output_node): See if it the function is reachable or referenced. | |
10089 | (output_cgraph): Update call of lto_output_node. | |
10090 | * lto-streamer.h (reachable_from_other_partition_p): Declare. | |
10091 | ||
bc200246 | 10092 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
10093 | ||
10094 | * crtstuff.c (__JCR_LIST__, __DTOR_END__, __JCR_END__, __FRAME_END__): | |
10095 | Mark as used. | |
10096 | ||
960dff4c | 10097 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
10098 | ||
10099 | PR tree-optimize/44063 | |
cd2aaa6c | 10100 | * ipa-inline.c (cgraph_edge_badness): Move always inlines to top of |
10101 | queue. | |
960dff4c | 10102 | (cgraph_decide_inlining_of_small_function): Skip check when disrgarding |
10103 | limits. | |
10104 | (estimate_function_body_sizes): Compute sizes even when disregarding. | |
10105 | ||
85880558 | 10106 | 2010-05-11 Kai Tietz <kai.tietz@onevision.com> |
10107 | ||
10108 | * collect2.c (maybe_lto_object_file): Add x64-coff magic and check. | |
10109 | ||
bac48e43 | 10110 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
10111 | ||
10112 | * lto-cgraph.c (output_cgraph): Remove loop adding all varpool nodes | |
10113 | into every boundary. | |
10114 | ||
67362b23 | 10115 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
10116 | ||
10117 | * matrix-reorg.c (matrix_reorg): Rebuild edges. | |
10118 | ||
a6b606a8 | 10119 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
10120 | ||
10121 | * lto-streamer.c (lto_streamer_cache_add_to_node_array, | |
10122 | lto_streamer_cache_delete): Put nodes into heap. | |
a0000c1f | 10123 | * lto-streamer.h (struct lto_streamer_cache_d): Nodes vector is in |
10124 | heap. | |
a6b606a8 | 10125 | |
ea7e866e | 10126 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
10127 | ||
10128 | * cgraphbuild.c (cgraph_rebuild_references): New. | |
44a38e0c | 10129 | * cgraph.c (cgraph_mark_reachable_node): Accept references to optimized |
10130 | out extern inlines. | |
ea7e866e | 10131 | * cgraph.h (cgraph_rebuild_references): Declare. |
10132 | * tree-inline.c (tree_function_versioning): Use it. | |
10133 | * ipa-struct-reorg.c (do_reorg_for_func): Likewise. | |
10134 | ||
2b2fe710 | 10135 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
10136 | ||
10137 | * cgraph.c: Include ipa-utils.h | |
10138 | (cgraph_create_virtual_clone): Update references. | |
10139 | * Makefile.in (cgraph.o): Add dependency at ipa-utils.h | |
10140 | ||
8234f090 | 10141 | 2010-05-11 Christian Borntraeger <borntraeger@de.ibm.com> |
10142 | ||
b52dd48b | 10143 | * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Reset |
8234f090 | 10144 | prefetch_before to PREFETCH_ALL if to accesses "meet" beyond |
10145 | cache size. | |
10146 | ||
5d68c00f | 10147 | 2010-05-11 Christian Borntraeger <borntraeger@de.ibm.com> |
10148 | ||
b52dd48b | 10149 | * tree-ssa-loop-prefetch.c: Add debug for dropped prefetches. |
5d68c00f | 10150 | |
3b020075 | 10151 | 2010-05-11 Jakub Jelinek <jakub@redhat.com> |
10152 | ||
663e8646 | 10153 | * gcc.c (execute): For -### don't quote arguments that |
10154 | contain just alphanumerics and _/-. characters. | |
10155 | * doc/invoke.texi: Document that change for -###. | |
10156 | ||
3b020075 | 10157 | PR debug/44023 |
10158 | * df-problems.c (struct dead_debug): Add to_rescan field. | |
10159 | (dead_debug_init): Clear to_rescan field. | |
10160 | (dead_debug_finish): Rescan all debug insns in to_rescan | |
10161 | bitmap and free the bitmap. | |
10162 | (dead_debug_insert_before): Instead of rescanning debug insns | |
10163 | immediately queue their rescanning until dead_debug_finish. | |
10164 | (df_note_bb_compute): After dead_debug_add do continue instead | |
10165 | of break. | |
10166 | ||
f145fac4 | 10167 | 2010-05-10 Jakub Jelinek <jakub@redhat.com> |
10168 | ||
10169 | PR debug/44028 | |
10170 | * haifa-sched.c (schedule_insn): When clearing INSN_VAR_LOCATION_LOC, | |
10171 | clear also INSN_REG_USE_LIST. | |
10172 | ||
2ad972c5 | 10173 | 2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10174 | ||
10175 | * config/mips/mips.c (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): Undef. | |
10176 | ||
dcbc7a08 | 10177 | 2010-05-10 Jan Hubicka <jh@suse.cz> |
10178 | ||
cd2aaa6c | 10179 | * lto-stramer-out.c (produce_asm_for_decls): Correct accidentally |
10180 | commited change. | |
dcbc7a08 | 10181 | |
a33890d0 | 10182 | 2010-05-10 Jan Hubicka <jh@suse.cz> |
10183 | ||
cd2aaa6c | 10184 | * passes.c (ipa_write_summaries_1, ipa_write_optimization_summaries): |
10185 | Allocate encoders. | |
a33890d0 | 10186 | * lto-section-out.c (lto_new_out_decl_state): Do not allocate it here. |
10187 | * lto-streamer.c (lto_streamer_cache_insert_1): Use alloc pool. | |
10188 | (lto_streamer_cache_create): Init alloc pool. | |
10189 | (lto_streamer_cache_delete): Free alloc pool. | |
10190 | * lto-streamer.h: Include alloc pool. | |
10191 | (lto_streamer_cache_d): Use alloc pool. | |
10192 | * lto-stramer-out.c (produce_asm_for_decls): Delete fn_out_states. | |
10193 | ||
12221745 | 10194 | 2010-05-10 Jan Hubicka <jh@suse.cz> |
10195 | ||
10196 | * Makefile.in (cgraphbuild.o): Add dependency on except.h. | |
10197 | * cgraphbuild.c: Include except.h | |
10198 | (record_type_list, record_eh_tables): New function. | |
10199 | (build_cgraph_edges, rebuild_cgraph_edges): Use it. | |
10200 | ||
796535a3 | 10201 | 2010-05-10 Jan Hubicka <jh@suse.cz> |
10202 | ||
10203 | * crtstuff.c (force_to_data, __do_global_dtors_aux_fini_array_entry, | |
10204 | __frame_dummy_init_array_entry, force_to_data): Attribute as used | |
10205 | rather than unused. | |
10206 | ||
f4a50267 | 10207 | 2010-05-10 Michael Matz <matz@suse.de> |
10208 | ||
10209 | * tree-ssa-reassoc.c (undistribute_ops_list): Use create_tmp_reg. | |
10210 | (can_reassociate_p): Use FLOAT_TYPE_P. | |
10211 | * tree-vectorizer.h (vect_is_simple_reduction): Rename to ... | |
10212 | (vect_force_simple_reduction): ... this. | |
9a23df5d | 10213 | * tree-parloops.c (gather_scalar_reductions): Use |
f4a50267 | 10214 | vect_force_simple_reduction. |
10215 | * tree-vect-loop.c (vect_is_simple_reduction_1): Rename from | |
10216 | vect_is_simple_reduction, add modify argument, if true rewrite | |
10217 | "a-b" into "a+(-b)". | |
10218 | (vect_is_simple_reduction, vect_force_simple_reduction): New | |
10219 | functions. | |
10220 | (vect_analyze_scalar_cycles_1): Use vect_force_simple_reduction. | |
10221 | ||
10222 | 2010-05-10 H.J. Lu <hongjiu.lu@intel.com> | |
10223 | Vladimir Makarov <vmakarov@redhat.com> | |
7ec7a88e | 10224 | |
10225 | PR rtl-optimization/44012 | |
10226 | * ira-build.c (remove_unnecessary_allocnos): Nullify | |
10227 | regno_allocno_map of the removed allocno. | |
10228 | ||
a6898883 | 10229 | 2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10230 | ||
10231 | * configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors | |
10232 | to /dev/null. | |
10233 | * configure: Regenerate. | |
10234 | ||
cbbd336d | 10235 | 2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10236 | ||
10237 | * config/sol2.c (solaris_assemble_visibility): Declare decl, vis | |
10238 | unused. | |
10239 | Define visibility_types, name, type inside HAVE_GAS_HIDDEN. | |
10240 | * configure.ac (gcc_cv_ld_hidden): Explain stages of visibility | |
10241 | support in Sun ld. | |
10242 | * configure: Regenerate. | |
10243 | ||
0fa4671b | 10244 | 2010-05-10 Richard Guenther <rguenther@suse.de> |
10245 | ||
10246 | * lto-symtab.c (lto_symtab_entry_marked_p): Make entry | |
10247 | marked if the entry identifier is marked. | |
10248 | ||
8ce86007 | 10249 | 2010-05-10 Richard Guenther <rguenther@suse.de> |
10250 | ||
10251 | * c-common.c (struct c_common_attributes): Add fnspec attribute. | |
10252 | (handle_fnspec_attribute): New function. | |
10253 | * gimple.h (gimple_call_return_flags): Declare. | |
10254 | (gimple_call_arg_flags): Likewise. | |
10255 | * gimple.c (gimple_call_arg_flags): New function. | |
10256 | (gimple_call_return_flags): Likewise. | |
10257 | * tree.h (EAF_DIRECT, EAF_NOCLOBBER, EAF_NOESCAPE, EAF_UNUSED): | |
10258 | New argument flags. | |
10259 | (ERF_RETURN_ARG_MASK, ERF_RETURNS_ARG, ERF_NOALIAS): New function | |
10260 | return value flags. | |
10261 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Skip unused args. | |
10262 | * tree-ssa-structalias.c (make_constraint_from_heapvar): Split | |
10263 | main work to ... | |
10264 | (make_heapvar_for): ... this new function. | |
10265 | (handle_rhs_call): Handle fnspec attribute argument specifiers. | |
10266 | (handle_lhs_call): Likewise. | |
10267 | (find_func_aliases): Adjust. | |
10268 | ||
3912327b | 10269 | 2010-05-10 Richard Guenther <rguenther@suse.de> |
10270 | ||
10271 | PR tree-optimization/44050 | |
9a23df5d | 10272 | * tree-inline.c (tree_function_versioning): Clone the ipa-pta flag. |
3912327b | 10273 | |
37d9c84e | 10274 | 2010-05-10 Wei Guozhi <carrot@google.com> |
10275 | ||
10276 | PR target/42879 | |
10277 | * config/arm/thumb2.md (thumb2_tlobits_cbranch): New insn pattern. | |
10278 | ||
10064fb9 | 10279 | 2010-05-09 Joseph Myers <joseph@codesourcery.com> |
10280 | ||
10281 | PR c/10676 | |
10282 | * c-typeck.c (lookup_field): Take a type directly. Update | |
10283 | recursive calls. | |
10284 | (build_component_ref): Update call to lookup_field. | |
10285 | (set_init_label): Use lookup_field to find initialized field. | |
10286 | Handle returned list of fields like a sequence of designators. | |
10287 | ||
3760428f | 10288 | 2010-05-09 Richard Guenther <rguenther@suse.de> |
10289 | ||
10290 | PR middle-end/44024 | |
10291 | * fold-const.c (tree_single_nonzero_warnv_p): Properly | |
10292 | handle &FUNCTION_DECL. | |
10293 | ||
8af5341f | 10294 | 2010-05-09 Joseph Myers <joseph@codesourcery.com> |
10295 | ||
10296 | PR c/4784 | |
10297 | * c-decl.c (detect_field_duplicates_hash): New. Handle anonymous | |
10298 | structures and unions recursively. | |
10299 | (detect_field_duplicates): Move duplicate detection with a hash to | |
10300 | detect_field_duplicates_hash. Always use a hash if anonymous | |
10301 | structures or unions are present. | |
10302 | * doc/extend.texi (Unnamed Fields): Document that duplicate fields | |
10303 | give errors. | |
10304 | ||
bfb81bed | 10305 | 2010-05-09 H.J. Lu <hongjiu.lu@intel.com> |
10306 | ||
10307 | PR target/44046 | |
10308 | * config/i386/driver-i386.c (host_detect_local_cpu): Properly | |
10309 | detect Atom, Core 2 and Core i7. | |
10310 | ||
d9f0ee99 | 10311 | 2010-05-09 Richard Guenther <rguenther@suse.de> |
10312 | ||
10313 | * gcc.c (store_arg): Handle temporary file deletion for | |
10314 | joined arguments. | |
10315 | ||
868357d3 | 10316 | 2010-05-09 Richard Guenther <rguenther@suse.de> |
10317 | ||
10318 | PR middle-end/44043 | |
10319 | * ipa-inline.c (estimate_function_body_sizes): Return after | |
10320 | disregarding inline limits. | |
10321 | ||
774abee6 | 10322 | 2010-05-09 Richard Guenther <rguenther@suse.de> |
10323 | ||
10324 | * gcc.c (store_arg): Revert last change. | |
10325 | ||
5d6da7da | 10326 | 2010-05-08 Sandra Loosemore <sandra@codesourcery.com> |
10327 | ||
10328 | PR middle-end/28685 | |
10329 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): New function. | |
10330 | (optimize_ops_list): Call it. | |
10331 | ||
ca100953 | 10332 | 2010-05-08 Richard Guenther <rguenther@suse.de> |
10333 | ||
10334 | PR tree-optimization/44030 | |
10335 | * tree-ssa-pre.c (eliminate): Copy NECESSARY flag. Set | |
10336 | NECESSARY flag if we propagate from a inserted expression. | |
10337 | ||
c9d19f43 | 10338 | 2010-05-08 Eric Botcazou <ebotcazou@adacore.com> |
10339 | ||
10340 | * gimple.c (gimple_types_compatible_p) <ARRAY_TYPE>: Treat bounds of | |
10341 | domain types as equal if they are both PLACEHOLDER_EXPRs. | |
10342 | ||
c0150c04 | 10343 | 2010-05-08 Richard Guenther <rguenther@suse.de> |
10344 | ||
10345 | * lto-wrapper.c (run_gcc): Remove linker output from | |
10346 | command line for LTRANS invocation. | |
10347 | ||
23433d72 | 10348 | 2010-05-07 Steven Bosscher <steven@gcc.gnu.org> |
10349 | ||
10350 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add | |
10351 | lto-macho as lto_binary_reader. | |
10352 | * target.h (struct gcc_target): New hooks lto_start and lto_end. | |
10353 | * target-def.h (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Define. | |
10354 | * cgraphunit.c (ipa_passes): Wrap LTO assembler output generation | |
10355 | in lto_start and lto_end calls. | |
10356 | (is_elf_or_coff): Rename to maybe_lto_object_file. Add Mach-O | |
10357 | magic numbers. | |
10358 | (scan_prog_file): Update is_elf_or_coff call. | |
10359 | * doc/tm.text (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Document. | |
10360 | ||
10361 | * collect2.c (main): Fix enum comparison. | |
10362 | ||
10363 | * config/darwin-protos.h (darwin_asm_lto_start, darwin_asm_lto_end): | |
10364 | Add prototypes. | |
10365 | * darwin9.h (LINK_COMMAND_SPEC): Pass -flto and -fwhopr to the linker. | |
10366 | * darwin.h (LINK_COMMAND_SPEC): Likewise. Define TARGET_ASM_LTO_START | |
10367 | and TARGET_ASM_LTO_END. | |
10368 | * darwin.c: Include obstack.h and lto-streamer.h. | |
10369 | (lto_section_names_offset, lto_section_names_obstack, | |
10370 | lto_asm_out_file, lto_asm_out_name, saved_asm_out_file): New static | |
10371 | global variables. | |
10372 | (LTO_SEGMENT_NAME, LTO_NAMES_SECTION): New defines. | |
10373 | (darwin_asm_lto_start): New function. Redirect output to asm_out_file | |
10374 | to a temporary file. | |
10375 | (darwin_asm_lto_end): New function. Restore asm_out_file. | |
10376 | (darwin_asm_named_section): For LTO sections, replace the name with | |
10377 | the offset of the section name in a string table, and build this | |
10378 | table. | |
10379 | (darwin_file_start): Initialize global vars for LTO support. | |
10380 | (darwin_file_end): If output to asm_out_file was redirected, append it | |
10381 | to the proper asm_out_file here. Add the section names section. | |
10382 | ||
dd821e08 | 10383 | 2010-05-07 Steven Bosscher <steven@gcc.gnu.org> |
10384 | ||
10385 | * c-pragma.c (pending_weak_d, pending_weak): New. | |
10386 | (pending_weaks): Change the type to VEC((pending_weak,gc) *. | |
10387 | (maybe_apply_pragma_weak, maybe_apply_pending_pragma_weaks, | |
10388 | handle_pragma_weak): Update the uses of pending_weaks. | |
10389 | ||
ece262d5 | 10390 | 2010-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
10391 | ||
10392 | PR documentation/44016 | |
10393 | * doc/standards.texi (Standards): Link to unversioned | |
10394 | cxx0x_status.html page. | |
10395 | ||
657e7797 | 10396 | 2010-05-07 Iain Sandoe <iains@gcc.gnu.org> |
3fdda2e9 | 10397 | |
10398 | PR target/43708 | |
10399 | * config/darwin-c.c (darwin_pragma_unused): Set DECL_READ_P | |
10400 | in addition to TREE_USED, to avoid "set but unused" warnings. | |
10401 | ||
e20bb126 | 10402 | 2010-05-07 Changpeng Fang <changpeng.fang@amd.com> |
10403 | ||
10404 | * tree-ssa-loop-prefetch.c (TRIP_COUNT_TO_AHEAD_RATIO): New. | |
10405 | (is_loop_prefetching_profitable): Do not insert prefetches | |
10406 | when the trip count is not at least TRIP_COUNT_TO_AHEAD_RATIO | |
10407 | times the prefetch ahead distance. | |
10408 | ||
3fa57e84 | 10409 | 2010-05-07 Changpeng Fang <changpeng.fang@amd.com> |
10410 | ||
10411 | * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): | |
10412 | Account for loop unrolling in the insn-to-prefetch ratio heuristic. | |
10413 | (loop_prefetch_arrays): Pass to is_loop_prefetching_profitable | |
10414 | the unroll_factor. | |
10415 | ||
3665c1ba | 10416 | 2010-05-07 Changpeng Fang <changpeng.fang@amd.com> |
10417 | ||
10418 | * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): Dump | |
10419 | a diagnostic info when the insn-to-mem ratio is too small. | |
10420 | ||
657e7797 | 10421 | 2010-05-07 Richard Guenther <rguenther@suse.de> |
eb4ef3d1 | 10422 | |
10423 | * gcc.c (LINK_COMMAND_SPEC): Provide a resolution file to | |
10424 | the linker plugin. | |
10425 | (store_arg): Queue temp_filename for deletion instead of | |
10426 | the whole argument. | |
10427 | ||
264cbb51 | 10428 | 2010-05-07 Richard Guenther <rguenther@suse.de> |
10429 | ||
10430 | * lto-wrapper.c (DUMPBASE_SUFFIX): Define. | |
10431 | (run_gcc): Handle LTRANS phase invocation. | |
9a23df5d | 10432 | * collect2.c (maybe_run_lto_and_relink): Do not set WPA_SAVE_LTRANS. |
264cbb51 | 10433 | |
a353dfef | 10434 | 2010-05-07 Jakub Jelinek <jakub@redhat.com> |
10435 | ||
10436 | * tree.h (TREE_ADDRESSABLE): Adjust comment to say that | |
10437 | this is also meaningful on PARM_DECLs and RESULT_DECLs. | |
10438 | ||
c72033f8 | 10439 | 2010-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10440 | ||
10441 | * config/mips/iris6.h (LINK_SPEC): Don't pass -init, -fini with -r. | |
10442 | ||
e6366f1e | 10443 | 2010-05-07 Richard Guenther <rguenther@suse.de> |
10444 | ||
10445 | PR tree-optimization/44020 | |
10446 | * tree-ssa-pre.c (execute_pre): Do not remove dead inserted | |
10447 | code when PRE is not yet initialized. | |
10448 | ||
0bf68cc9 | 10449 | 2010-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10450 | ||
10451 | * config/mips/dbxmdebug.h: Remove. | |
10452 | * config.gcc (mips-sgi-irix6.5*): Remove mips/dbxmdebug.h. | |
10453 | ||
cdd6b2f1 | 10454 | 2010-05-07 Shujing Zhao <pearly.zhao@oracle.com> |
10455 | ||
10456 | * c-typeck.c (build_binary_op): Warn ordered comparison of pointer | |
10457 | with null pointer and also warn about ordered comparison of zero with | |
10458 | pointer if -Wextra. | |
10459 | ||
4e25478e | 10460 | 2010-05-05 Andreas Simbuerger <simbuerg@fim.uni-passau.de> |
10461 | ||
10462 | * graphite-blocking.c | |
10463 | (pbb_strip_mine_profitable_p): Replace Value with mpz_t. | |
10464 | * graphite-clast-to-gimple.c | |
10465 | (clast_to_gcc_expression): Same. | |
10466 | (precision_for_value): Same. | |
10467 | (precision_for_interval): Same. | |
10468 | (gcc_type_for_interval): Same. | |
10469 | (graphite_create_new_guard): Same. | |
10470 | (compute_bounds_for_level): Same. | |
10471 | (graphite_create_new_loop_guard): Same. | |
10472 | * graphite-interchange.c | |
10473 | (build_linearized_memory_access): Same. | |
10474 | (pdr_stride_in_loop): Same. | |
10475 | (memory_strides_in_loop_1): Same. | |
10476 | (memory_strides_in_loop): Same. | |
10477 | (extend_scattering): Same. | |
10478 | (psct_scattering_dim_for_loop_depth): Same. | |
10479 | (pbb_number_of_iterations): Same. | |
10480 | * graphite-poly.h | |
10481 | (debug_iteration_domains): Same. | |
10482 | * graphite-ppl.c | |
10483 | (new_Cloog_Domain_from_ppl_Pointset_Powerset): Same. | |
10484 | (ppl_set_inhomogeneous_gmp): Same. | |
10485 | (ppl_strip_loop): Same. | |
10486 | (ppl_lexico_compare_linear_expressions): Same. | |
10487 | (ppl_read_polyhedron_matrix): Same. | |
10488 | (ppl_max_for_le_pointset): Same. | |
10489 | * graphite-ppl.h | |
10490 | (ppl_read_polyhedron_matrix): Same. | |
10491 | (tree_int_to_gmp): Same. | |
10492 | (gmp_cst_to_tree): Same. | |
10493 | (ppl_set_inhomogeneous): Same. | |
10494 | (ppl_set_inhomogeneous_tree): Same. | |
10495 | (ppl_set_coef): Same. | |
10496 | (ppl_set_coef_tree): Same. | |
10497 | * graphite-sese-to-poly.c | |
10498 | (build_pbb_scattering_polyhedrons): Same. | |
10499 | (build_scop_scattering): Same. | |
10500 | (scan_tree_for_params_right_scev): Same. | |
10501 | (scan_tree_for_params): Same. | |
10502 | (find_params_in_bb): Same. | |
10503 | (find_scop_parameters): Same. | |
10504 | (add_upper_bounds_from_estimated_nit): Same. | |
10505 | (build_loop_iteration_domains): Same. | |
10506 | (add_condition_to_domain): Same. | |
10507 | (pdr_add_memory_accesses): Same. | |
10508 | ||
10509 | 2010-05-05 Andreas Simbuerger <simbuerg@fim.uni-passau.de> | |
10510 | ||
10511 | * graphite-blocking.c (pbb_strip_mine_profitable_p): Resolve | |
10512 | CLooG's value_* macros to their respective mpz_* counterparts. | |
10513 | * graphite-clast-to-gimple.c (clast_to_gcc_expression): Same. | |
10514 | (graphite_create_new_loop_guard): Same. | |
10515 | * graphite-interchange.c (build_linearized_memory_access): Same. | |
10516 | (pdr_stride_in_loop): Same. | |
10517 | (memory_strides_in_loop_1): Same. | |
10518 | (1st_interchange_profitable_p): Same. | |
10519 | * graphite-poly.c (extend_scattering): Same. | |
10520 | (psct_scattering_dim_for_loop_depth): Same. | |
10521 | (pbb_number_of_iterations): Same. | |
10522 | (pbb_number_of_iterations_at_time): Same. | |
10523 | * graphite-poly.h (new_1st_loop): Same. | |
10524 | * graphite-ppl.c (cloog_matrix_to_ppl_constraint): Same. | |
10525 | (oppose_constraint): Same. | |
10526 | (insert_constraint_into_matrix): Same. | |
10527 | (ppl_set_inhomogeneous_gmp): Same. | |
10528 | (ppl_set_coef_gmp): Same. | |
10529 | (ppl_strip_loop): Same. | |
10530 | (ppl_lexico_compare_linear_expressions): Same. | |
10531 | (ppl_max_for_le_pointset): Same. | |
10532 | (ppl_min_for_le_pointset): Same. | |
10533 | (ppl_build_realtion): Same. | |
10534 | * graphite-ppl.h (gmp_cst_to_tree): Same. | |
10535 | (ppl_set_inhomogeneous): Same. | |
10536 | (ppl_set_inhomogeneous_tree): Same. | |
10537 | (ppl_set_coef): Same. | |
10538 | (ppl_set_coef_tree): Same. | |
10539 | * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same. | |
10540 | (build_scop_scattering): Same. | |
10541 | (add_value_to_dim): Same. | |
10542 | (scan_tree_for_params_right_scev): Same. | |
10543 | (scan_tree_for_params_int): Same. | |
10544 | (scan_tree_for_params): Same. | |
10545 | (find_params_in_bb): Same. | |
10546 | (find_scop_parameters): Same. | |
10547 | (add_upper_bounds_from_estimated_nit): Same. | |
10548 | (build_loop_iteration_domains): Same. | |
10549 | (create_linear_expr_from_tree): Same. | |
10550 | (add_condition_to_domain): Same. | |
10551 | (pdr_add_memory_accesses): Same. | |
10552 | ||
6fe11077 | 10553 | 2010-05-06 Magnus Fromreide <magfr@lysator.liu.se> |
10554 | Jason Merrill <jason@redhat.com> | |
10555 | ||
10556 | * c-common.c (c_common_reswords): Add nullptr. | |
10557 | * c-common.h: Add RID_NULLPTR. Reorganize C++0x rids. | |
10558 | * dwarf2out.c (is_base_type): Handle NULLPTR_TYPE. | |
10559 | (gen_type_die_with_usage): Likewise. | |
10560 | * dbxout.c (dbxout_type): Likewise. | |
10561 | * sdbout.c (plain_type_1): Likewise. | |
10562 | ||
e8f78e99 | 10563 | 2010-05-06 Jason Merrill <jason@redhat.com> |
10564 | ||
5f52d2e2 | 10565 | * gimplify.c (gimplify_expr): Set GS_ALL_DONE when appropriate. |
10566 | Don't change GS_OK to GS_ALL_DONE. Make sure that all cases set | |
10567 | ret appropriately. | |
10568 | (gimplify_compound_lval): Return GS_ALL_DONE as appropriate. | |
10569 | ||
e8f78e99 | 10570 | * gimplify.c (gimplify_modify_expr_rhs): Don't return GS_OK for |
10571 | stripping WITH_SIZE_EXPR. | |
10572 | (gimplify_expr) [MODIFY_EXPR]: Trust GS_OK even if the rhs didn't | |
10573 | change. | |
10574 | ||
be52f086 | 10575 | 2010-05-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10576 | ||
10577 | * config.gcc: Removed mips-sgi-irix5*, mips-sgi-irix6.[0-4]* from | |
10578 | list of obsolete configurations. | |
10579 | Disabled check for obsolete configurations. | |
10580 | (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*. | |
10581 | Removed support for previous versions. | |
10582 | * config/mips/iris.h: Removed. | |
10583 | * config/mips/iris5.h: Removed. | |
10584 | * config/mips/iris6.h: Merged old iris.h contents. | |
10585 | (TARGET_IRIX): Removed. | |
10586 | (DRIVER_SELF_SPECS): Removed mabi=32. | |
10587 | (IDENT_ASM_OP): Removed undef. | |
10588 | (STARTFILE_SPEC): Removed mabi=32. | |
10589 | (ENDFILE_SPEC): Likewise. | |
10590 | (IRIX_SUBTARGET_LINK_SPEC): Likewise. | |
10591 | (MACHINE_TYPE): Update for IRIX 6.5. | |
10592 | * config/mips/mips.c (mips_build_builtin_va_list): Replaced | |
10593 | TARGET_IRIX by TARGET_IRIX6. | |
10594 | (mips_file_start): Likewise. | |
10595 | (mips_output_external): Remove IRIX 5/6 O32 support. | |
10596 | (mips_output_function_prologue): Likewise. | |
10597 | * config/mips/mips.h (TARGET_GPWORD): Replaced TARGET_IRIX by | |
10598 | TARGET_IRIX6. | |
10599 | (TARGET_CPU_CPP_BUILTINS): Likewise. | |
10600 | (TARGET_IRIX): Removed. | |
10601 | * config/mips/t-iris6 (MULTILIB_OPTIONS): Removed mabi=32. | |
10602 | (MULTILIB_DIRNAMES): Removed 32. | |
10603 | (MULTILIB_OSDIRNAMES): Removed ../lib. | |
9a23df5d | 10604 | * doc/install.texi (Prerequisites): Don't reference IRIX before 6.5. |
be52f086 | 10605 | (Specific, mips-sgi-irix5): Document removal. |
9a23df5d | 10606 | (Specific, mips-sgi-irix6): Document IRIX 6.[0-4] and O32 ABI removal. |
be52f086 | 10607 | Remove references to older IRIX 6 releases and the O32 ABI. |
10608 | ||
eceee1ca | 10609 | 2010-05-06 Jakub Jelinek <jakub@redhat.com> |
10610 | ||
10611 | PR bootstrap/43994 | |
10612 | * df-problems.c (dead_debug_insert_before): Use *DF_REF_REAL_LOC | |
10613 | instead of DF_REF_REAL_REG. | |
10614 | ||
889e1397 | 10615 | 2010-05-06 Dave Korn <dave.korn.cygwin@gmail.com> |
10616 | ||
10617 | PR target/43888 | |
10618 | * config/i386/winnt.c (i386_pe_binds_local_p): Tweak weak symbol | |
10619 | handling to still return true for x64 targets. | |
10620 | ||
5de089bf | 10621 | 2010-05-06 Maxim Kuvyrkov <maxim@codesourcery.com> |
10622 | ||
10623 | * config/m68k/uclinux.h (LIB_SPEC): Bring in sync with config/linux.h. | |
10624 | ||
42edf1a3 | 10625 | 2010-05-06 Jan Hubicka <jh@suse.cz> |
10626 | ||
10627 | PR tree-optimization/43791 | |
10628 | * ipa-inline.c (update_caller_keys): Remove bogus | |
10629 | disregard_inline_limits check. | |
10630 | ||
348bc2f1 | 10631 | 2010-05-06 Michael Matz <matz@suse.de> |
10632 | ||
10633 | PR tree-optimization/43984 | |
10634 | * tree-ssa-pre.c (inserted_phi_names): Remove. | |
10635 | (inserted_exprs): Change to bitmap. | |
10636 | (create_expression_by_pieces): Set bits, don't append to vector. | |
10637 | (insert_into_preds_of_block): Don't handle inserted_phi_names. | |
10638 | (eliminate): Don't look at inserted_phi_names, remove deleted | |
10639 | insns from inserted_exprs. | |
9a23df5d | 10640 | (remove_dead_inserted_code): Adjust to use bitmaps instead of vectors. |
348bc2f1 | 10641 | (init_pre, fini_pre): Allocate and free bitmaps. |
10642 | (execute_pre): Insert insns on edges before elimination. | |
10643 | ||
ea181df0 | 10644 | 2010-05-06 Maxim Kuvyrkov <maxim@codesourcery.com> |
10645 | ||
10646 | * tree.c (initializer_zerop): Handle STRING_CST. | |
10647 | ||
1f3db819 | 10648 | 2010-05-06 Manuel López-Ibáñez <manu@gcc.gnu.org> |
10649 | ||
10650 | PR 40989 | |
10651 | * doc/invoke.texi (Wimplicit): Document as C only. | |
10652 | * opts.c (common_handle_option): Add argument kind. | |
10653 | (handle_option): Rename as read_cmdline_option. Factor out code to... | |
10654 | (handle_option): ... here. New. | |
10655 | (handle_options): Rename as read_cmdline_options. | |
10656 | (decode_options): Update call. | |
10657 | (set_option): Use option index instead of option pointer. Classify | |
10658 | diagnostics correctly. | |
10659 | (enable_warning_as_error): Call handle_option. | |
10660 | * opts.h (set_option): Update declaration. | |
10661 | (handle_option): Declare. | |
9a23df5d | 10662 | * langhooks.h (struct lang_hooks): Add argument kind to handle_option. |
1f3db819 | 10663 | * c.opt (Wimplicit,Wimplicit-int): Initialize to -1. |
10664 | * c-opts.c (set_Wimplicit): Delete. | |
10665 | (c_family_lang_mask): New static constant. | |
10666 | (c_common_handle_option): Add argument kind. Use handle_option | |
10667 | instead of set_Wimplicit. | |
10668 | (c_common_post_options): warn_implicit and warn_implicit_int | |
10669 | are disabled by default. | |
10670 | * c-common.c (warn_implicit): Do not define here. | |
10671 | * c-common.h (warn_implicit): Do not declare here. | |
10672 | (c_common_handle_option): Update declaration. | |
10673 | * lto-opts.c (lto_reissue_options): Update call to set_option. | |
10674 | ||
4bb63bc8 | 10675 | 2010-05-06 Richard Guenther <rguenther@suse.de> |
10676 | ||
10677 | PR tree-optimization/43571 | |
10678 | * domwalk.c (walk_dominator_tree): Walk the dominator | |
10679 | sons in more optimal order. | |
10680 | ||
9bf0a3f9 | 10681 | 2010-05-06 Richard Guenther <rguenther@suse.de> |
10682 | ||
10683 | PR tree-optimization/43934 | |
10684 | * tree-ssa-loop-im.c (movement_possibility): Handle PHI nodes. | |
10685 | (stmt_cost): Likewise. | |
10686 | (extract_true_false_args_from_phi): New helper. | |
10687 | (determine_max_movement): For PHI nodes verify we can hoist them | |
10688 | and compute their cost. | |
10689 | (determine_invariantness_stmt): Handle PHI nodes. | |
10690 | (move_computations_stmt): Likewise. Hoist PHI nodes in | |
10691 | if-converted form using COND_EXPRs. | |
9a23df5d | 10692 | (move_computations): Return TODO_cleanup_cfg if we hoisted PHI nodes. |
9bf0a3f9 | 10693 | (tree_ssa_lim): Likewise. |
10694 | * tree-flow.h (tree_ssa_lim): Adjust prototype. | |
10695 | * tree-ssa-loop.c (tree_ssa_loop_im): Return todo. | |
10696 | ||
7a3ffe99 | 10697 | 2010-05-06 Richard Guenther <rguenther@suse.de> |
10698 | ||
10699 | PR tree-optimization/43987 | |
10700 | * tree-ssa-structalias.c (could_have_pointers): For possibly | |
10701 | address-taken variables force pointers to be recorded. | |
10702 | (create_variable_info_for_1): Likewise. | |
10703 | (push_fields_onto_fieldstack): Pass in wheter all fields | |
10704 | must have pointers. | |
10705 | (find_func_aliases): Query types instead of vars whether | |
10706 | they contain pointers where appropriate. | |
10707 | ||
8d810329 | 10708 | 2010-05-06 Jan Hubicka <jh@suse.cz> |
10709 | ||
10710 | * cgraphbuild.c (record_reference_ctx): Add varpool_node. | |
10711 | (record_reference, mark_address, mark_load, mark_store): Record | |
10712 | references. | |
10713 | (record_references_in_initializer): Update call of record_references. | |
10714 | (rebuild_cgraph_edges): Remove all references before rebuiding. | |
10715 | * cgraph.c (cgraph_create_node): Clear ref list. | |
10716 | (cgraph_remove_node): Remove references. | |
10717 | (dump_cgraph_node): Dump references. | |
10718 | (cgraph_clone_node): Clone references. | |
10719 | * cgraph.h: Include ipa-ref.h and ipa-ref-inline.h | |
10720 | (struct cgraph_node, varpool_node): Add ref_lst. | |
10721 | * ipa-ref.c: New file. | |
10722 | * ipa-ref.h: New file. | |
10723 | * ipa-ref-inline.h: New file. | |
10724 | * lto-cgraph.c (output_varpool): Take cgrag node set argument. | |
10725 | (referenced_from_other_partition_p): New function. | |
10726 | (lto_output_varpool_node): Take set arugment; call | |
10727 | referenced_from_other_partition. | |
10728 | (lto_output_ref): New. | |
10729 | (add_references): New. | |
10730 | (output_refs): New. | |
9a23df5d | 10731 | (output_cgraph): Compute boundary based on references; output refs. |
8d810329 | 10732 | (output_varpool): Accept cgraph_node_set argument. |
10733 | (input_ref): New. | |
10734 | (input_refs): New. | |
10735 | (input_cgraph): Call input_refs. | |
10736 | * lto-section-in.c (lto_section_name): Add refs. | |
43638d1c | 10737 | * Makefile.in (cgraph.h): Include ipa-ref.h and ipa-ref-inline.h |
8d810329 | 10738 | (ipa-ref.o): New file. |
10739 | * varpool.c (varpool_node): Clear ipa ref list. | |
10740 | (varpool_remove_node): Remove references. | |
10741 | (dump_varpool_node): Dump references. | |
10742 | (varpool_assemble_decl): Only compile finalized ones. | |
10743 | (varpool_extra_name_alias): Initialize ref list. | |
10744 | * lto-streamer.c (lto-get_section_name): Add .refs section. | |
10745 | * lto-streamer.h (lto_section_type): Add LTO_section_refs. | |
10746 | (referenced_from_other_partition_p): Declared. | |
10747 | ||
29b41aee | 10748 | 2010-05-06 Ira Rosen <irar@il.ibm.com> |
10749 | ||
10750 | PR tree-optimization/43901 | |
10751 | * tree-vect-stmts.c (vectorizable_call): Assert that vector | |
10752 | type is not NULL if it's transformation phase, and return | |
10753 | FALSE if it's analysis. | |
9a23df5d | 10754 | (vectorizable_conversion, vectorizable_operation, |
10755 | vectorizable_type_demotion, vectorizable_type_promotion): Likewise. | |
29b41aee | 10756 | |
60995f0b | 10757 | 2010-05-05 Andrew Pinski <andrew.pinski@caviumnetworks.com> |
10758 | ||
10759 | * config/mips/mips.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): | |
10760 | Delete. | |
10761 | * config/mips/mips.c (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): | |
10762 | New define. | |
10763 | * config/mips/mips-protos.h | |
10764 | (mips_small_register_classes_for_mode_p): Delete prototype. | |
10765 | ||
74f1fddf | 10766 | 2010-05-06 Bernd Schmidt <bernds@codesourcery.com> |
10767 | ||
10768 | * config/arm/arm.h (MAX_LDM_STM_OPS): New macro. | |
10769 | * config/arm/arm.c (multiple_operation_profitable_p, | |
10770 | compute_offset_order): New static functions. | |
10771 | (load_multiple_sequence, store_multiple_sequence): Use them. | |
10772 | Replace constant 4 with MAX_LDM_STM_OPS. Compute order[0] from | |
10773 | memory offsets, not register numbers. | |
10774 | (emit_ldm_seq, emit_stm_seq): Replace constant 4 with MAX_LDM_STM_OPS. | |
10775 | ||
dcff3217 | 10776 | 2010-05-05 Steven Bosscher <steven@gcc.gnu.org> |
10777 | ||
9a23df5d | 10778 | * stor-layout.c (pending_sizes): Change the type to VEC(tree,gc) *. |
dcff3217 | 10779 | (get_pending_sizes, put_pending_size, put_pending_sizes): |
10780 | Update the uses of pending_sizes. | |
10781 | * c-decl.c (store_parm_decls): Likewise. | |
10782 | * c-tree.h (struct c_arg_info): Likewise. | |
10783 | * tree.h: Update the prototype for get_pending_sizes and | |
10784 | put_pending_sizes. | |
10785 | ||
47b19b94 | 10786 | 2010-05-05 Jason Merrill <jason@redhat.com> |
10787 | ||
2ec3af9c | 10788 | PR debug/43370 |
10789 | * c-common.c (handle_aligned_attribute): Respect | |
10790 | ATTR_FLAG_TYPE_IN_PLACE. | |
10791 | ||
47b19b94 | 10792 | PR testsuite/43758 |
10793 | * target.h (struct gcc_target): Add attribute_takes_identifier_p. | |
10794 | * target_def.h (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Define. | |
10795 | (TARGET_INITIALIZER): Use it. | |
10796 | * c-common.c (attribute_takes_identifier_p): Call it. | |
10797 | * c-common.h: Update prototype. | |
10798 | * config/rs6000/rs6000.c (rs6000_attribute_takes_identifier_p): New. | |
10799 | (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Define. | |
10800 | ||
0217ac3c | 10801 | 2010-05-05 Jakub Jelinek <jakub@redhat.com> |
10802 | ||
10803 | PR debug/43950 | |
10804 | * dwarf2out.c (gen_compile_unit_die): Add DW_AT_identifier_case | |
10805 | DW_ID_down_case for Fortran compilation units. | |
10806 | ||
8a123d26 | 10807 | 2010-05-05 Jan Hubicka <jh@suse.cz> |
10808 | ||
10809 | * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Correctly | |
10810 | handle aliases. | |
10811 | ||
646150d6 | 10812 | 2010-05-05 Eric Botcazou <ebotcazou@adacore.com> |
10813 | ||
10814 | * gimplify.c (gimplify_return_expr): Gimplify the size expressions of | |
10815 | a variable-sized RESULT_DECL. | |
10816 | ||
39bd86a4 | 10817 | 2010-05-05 Maxim Kuvyrkov <maxim@codesourcery.com> |
10818 | ||
10819 | * doc/invoke.texi (-mfix-cortex-m3-ldrd): Move from ARC section to ARM. | |
10820 | ||
eda37335 | 10821 | 2010-05-05 Jason Merrill <jason@redhat.com> |
10822 | ||
10823 | PR c++/43787 | |
10824 | * gimplify.c (gimplify_expr): Keep working if gimplify_modify_expr | |
10825 | returns GS_OK. | |
10826 | (gimplify_modify_expr_rhs): Return GS_OK if anything changed. | |
10827 | ||
a2f58a79 | 10828 | 2010-05-05 Alexandre Oliva <aoliva@redhat.com> |
10829 | Jakub Jelinek <jakub@redhat.com> | |
10830 | ||
10831 | PR debug/43478 | |
10832 | * df-problems.c (struct dead_debug_use, struct dead_debug): New. | |
10833 | (dead_debug_init, dead_debug_finish): New functions. | |
10834 | (dead_debug_add, dead_debug_insert_before): Likewise. | |
10835 | (df_note_bb_compute): Initialize a dead_debug object, add dead | |
10836 | debug uses to it, insert debug bind insns before death insns, | |
10837 | reset debug insns that refer to pending uses at the end. | |
10838 | * rtl.h (make_debug_expr_from_rtl): New prototype. | |
10839 | * varasm.c (make_debug_expr_from_rtl): New function. | |
10840 | ||
a238367f | 10841 | 2010-05-05 Jan Hubicka <jh@suse.cz> |
10842 | ||
10843 | * lto-cgraph.c (output_varpool): Forward declare; work on encoder. | |
9a23df5d | 10844 | (lto_varpool_encoder_new, lto_varpool_encoder_delete, |
10845 | lto_varpool_encoder_encode, lto_varpool_encoder_lookup, | |
10846 | lto_varpool_encoder_deref, lto_varpool_encoder_size, | |
a238367f | 10847 | lto_varpool_encoder_encode_initializer_p, |
10848 | lto_set_varpool_encoder_encode_initializer): New functions. | |
10849 | (lto_output_cgraph): Take vset parameter too; compute varpool encoder; | |
10850 | call output_varpool. | |
10851 | (input_varpool_node): Do not always set analyzed. | |
10852 | (input_cgraph_1): Return vector of cgraph nodes. | |
10853 | (input_varpool_1): Return vector of varpools. | |
10854 | (input_cgraph): Free the vectors. | |
10855 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
10856 | output only initializers needed. | |
10857 | (lto_output): Only call output_cgraph. | |
10858 | (produce_asm_for_decls): Call lto_varpool_encoder_delete. | |
10859 | * lto-section-out.c (lto_new_out_decl_state): Initialize | |
10860 | state->varpool_node_encoder. | |
10861 | * lto-streamer.h (lto_varpool_encoder_d): New. | |
9a23df5d | 10862 | (lto_out_decl_state, lto_file_decl_data): Add varpool_node_encoder. |
a238367f | 10863 | (lto_cgraph_encoder_delete, output_cgraph): Update prototype. |
10864 | (lto_varpool_encoder_deref, lto_varpool_encoder_lookup, | |
10865 | lto_varpool_encoder_encode, lto_varpool_encoder_delete, | |
10866 | lto_varpool_encoder_encode_initializer_p, lto_varpool_encoder_new): | |
10867 | Declare. | |
10868 | (output_varpool, input_varpool): Remove declarations. | |
10869 | ||
9269f553 | 10870 | 2010-05-05 Jan Hubicka <jh@suse.cz> |
10871 | ||
10872 | * lto-symtab.c (lto_symtab_resolve_can_prevail_p): Alias of variable | |
10873 | with body can prevail. | |
10874 | ||
10875 | 2010-05-05 Jan Hubicka <jh@suse.cz> | |
10876 | ||
10877 | * lto-symtab.c (lto_symtab_merge_decls_1): Prefer declarations with | |
10878 | size. | |
10879 | ||
e3b362c8 | 10880 | 2010-05-05 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
10881 | ||
9a23df5d | 10882 | * Makefile.in (build/gengtype.o): Add $(HASHTAB_H) to dependencies. |
e3b362c8 | 10883 | |
10884 | * gengtype.h (erro_at_line): Constify pos argument. | |
10885 | ||
10886 | * gengtype.c: Include hashtab.h. | |
10887 | (enum gc_used): Document GC_MAYBE_POINTED_TO. | |
10888 | (error_at_line): Constify pos argument. | |
10889 | (do_typedef): Initialize p->opt field. | |
10890 | (get_file_gtfilename): Fix comment typo. | |
10891 | (struct walk_type_data): Constify line field. | |
10892 | (get_output_file_for_structure): New function. | |
10893 | (write_local_func_for_structure): Constify orig_s argument. | |
10894 | Use get_output_file_for_structure. | |
10895 | (write_func_for_structure): Use get_output_file_for_structure. | |
10896 | (INDENT): New define. | |
10897 | (dump_pair, dump_type, dump_type_list, dump_typekind) | |
10898 | (dump_gc_used, dump_options, dump_fileloc, dump_type_u_s) | |
10899 | (dump_type_u_a, dump_type_u_param_struct, dump_everything): New | |
10900 | functions. | |
10901 | (seen_types): New variable. | |
10902 | (main): New variable do_dump. Process "-d" command line option. | |
10903 | Call dump_everything if dump requested. | |
10904 | ||
4e9d80c4 | 10905 | 2010-05-05 Jakub Jelinek <jakub@redhat.com> |
10906 | ||
10907 | * var-tracking.c (var_debug_decl): Save DECL_DEBUG_EXPR value | |
10908 | in a temporary instead of invoking the macro multiple times. | |
10909 | (track_expr_p): Likewise. | |
10910 | ||
657e7797 | 10911 | 2010-05-04 Neil Vachharajani <nvachhar@google.com> |
21cd990d | 10912 | |
10913 | * doc/invoke.texi (-Wcoverage-mismatch): Updated documentation as | |
10914 | per new semantics. | |
10915 | * opts.c (decode_options): Enable -Werror=coverage-mismatch. | |
10916 | * coverage.c (get_coverage_counts): Always emit a warning. Adjust | |
10917 | conditions for printing notes. | |
10918 | * common.opt (-Wcoverage-mismatch): Allow negative, default to | |
10919 | true, update documentation. | |
10920 | * Makefile.in (coverage.o): Add dependence on DIAGNOSTIC_H and intl.h. | |
21cd990d | 10921 | |
4516a56b | 10922 | 2010-05-04 Jakub Jelinek <jakub@redhat.com> |
10923 | ||
10924 | PR c/43981 | |
10925 | * c-parser.c (c_parser_direct_declarator_inner): Call mark_exp_read | |
10926 | on dimen. | |
10927 | ||
c502d441 | 10928 | 2010-05-04 H.J. Lu <hongjiu.lu@intel.com> |
10929 | ||
10930 | PR target/43799 | |
9a23df5d | 10931 | * config/i386/i386.md (sse_prologue_save): Clobber CC register. |
c502d441 | 10932 | (*sse_prologue_save_insn1): Likewise. |
10933 | (SSE prologue save splitter): Likewise. | |
10934 | ||
621b002b | 10935 | 2010-05-04 Eric Botcazou <ebotcazou@adacore.com> |
10936 | ||
10937 | * tree.c (free_lang_data_in_one_sizepos): New inline function. | |
10938 | (free_lang_data_in_type): Call it on TYPE_{MIN|MAX}_VALUE of numerical | |
10939 | types. Call it on TYPE_SIZE and TYPE_SIZE_UNIT of all types. | |
10940 | (free_lang_data_in_decl): Call it on DECL_SIZE and DECL_SIZE_UNIT of | |
10941 | all decls. Call it on DECL_FIELD_OFFSET of fields. | |
10942 | (find_decls_types_r): Follow DECL_VALUE_EXPR. | |
10943 | (iterative_hash_expr) <PLACEHOLDER_EXPR>: New case. | |
10944 | ||
32efc363 | 10945 | 2010-05-04 Martin Jambor <mjambor@suse.cz> |
10946 | ||
10947 | * tree-sra.c (build_access_from_expr_1): The first parameter type | |
10948 | changed to simple tree. | |
10949 | (build_access_from_expr): Likewise, gsi parameter was eliminated. | |
10950 | (scan_assign_result): Renamed to assignment_mod_result, enum elements | |
10951 | renamed as well. | |
10952 | (build_accesses_from_assign): Removed all parameters except for a | |
10953 | simple gimple statement. Now returns a simple bool. | |
10954 | (scan_function): All non-analysis parts moved to separate functions | |
10955 | sra_modify_function_body and ipa_sra_modify_function_body. Removed all | |
10956 | parameters and updated both callers. | |
10957 | (sra_modify_expr): Removed parameter data. | |
10958 | (sra_modify_function_body): New function. | |
10959 | (perform_intra_sra): Call sra_modify_function_body to modify the | |
10960 | function body. | |
10961 | (replace_removed_params_ssa_names): Parameter data changed into | |
10962 | adjustments vector. | |
10963 | (sra_ipa_modify_expr): Likewise. Also removed unused parameter gsi and | |
10964 | changed the parameter dont_convert to convert with the opposite | |
10965 | meaning. | |
10966 | (sra_ipa_modify_assign): Parameter data changed into adjustments | |
10967 | vector, return value changed to bool. | |
10968 | (ipa_sra_modify_function_body): New function. | |
10969 | (sra_ipa_reset_debug_stmts): Updated a comment. | |
10970 | (modify_function): Use ipa_sra_modify_function_body to modify function | |
10971 | body. | |
10972 | ||
288debed | 10973 | 2010-05-04 H.J. Lu <hongjiu.lu@intel.com> |
10974 | ||
10975 | PR middle-end/43671 | |
10976 | * alias.c (true_dependence): Handle the same VALUE in x and mem. | |
10977 | (canon_true_dependence): Likewise. | |
10978 | (write_dependence_p): Likewise. | |
10979 | ||
63b0bea7 | 10980 | 2010-05-04 Jan Hubicka <jh@suse.cz> |
10981 | ||
10982 | * Makefile.in (cgraphbuild.o): Add dependency on ipa-utils.h | |
10983 | * cgraphbuild.c: Include ipa-utils.h | |
10984 | (record_reference_ctx): New struct. | |
10985 | (record_reference): Simplify to work on initializers; not statements. | |
10986 | (mark_address, mark_load, mark_store): New. | |
10987 | (build_cgraph_edges): Simplify using walk_stmt_load_store_addr_ops; | |
10988 | walk PHI nodes too. | |
10989 | (record_references_in_initializer): Update use of record_reference. | |
10990 | (rebuild_cgraph_edges): Simplify using walk_stmt_load_store_addr_ops; | |
10991 | walk PHI nodes too. | |
10992 | ||
b55bfc2f | 10993 | 2010-05-04 Jan Hubicka <jh@suse.cz> |
10994 | ||
10995 | * lto-symtab.c (lto_cgraph_replace_node): Do not remove edges; | |
10996 | node will be removed anyway. | |
10997 | (lto_varpool_replace_node): Allow also unanalyzed nodes; | |
10998 | relink aliases of node into prevailing node. | |
10999 | * varpool.c (varpool_remove_node): Remove aliases properly; | |
11000 | when removing node, remove all its aliases too; remove DECL_INITIAL | |
11001 | of removed node; ggc_free the varpool node. | |
11002 | ||
7981828b | 11003 | 2010-05-04 Richard Guenther <rguenther@suse.de> |
11004 | ||
11005 | PR tree-optimization/43879 | |
11006 | * tree-ssa-structalias.c (alias_get_name): Use | |
11007 | DECL_ASSEMBLER_NAME if available. | |
11008 | (create_function_info_for): Return the varinfo node. | |
11009 | (ipa_pta_execute): Associate same-body aliases and extra names | |
11010 | with their origin nodes varinfo. Dump DECL_ASSEMBLER_NAME. | |
11011 | ||
1d45023e | 11012 | 2010-05-04 Kaz Kojima <kkojima@gcc.gnu.org> |
11013 | ||
9a23df5d | 11014 | * config/sh/sh.c (sh_small_register_classes_for_mode_p): Remove static. |
1d45023e | 11015 | |
815333e5 | 11016 | 2010-05-04 Mikael Pettersson <mikpe@it.uu.se> |
11017 | ||
11018 | PR bootstrap/43964 | |
11019 | * ira-color.c (assign_hard_reg): Declare rclass and add_cost | |
11020 | only if HONOR_REG_ALLOC_ORDER is not defined. | |
11021 | ||
ebc6c513 | 11022 | 2010-05-04 Richard Guenther <rguenther@suse.de> |
11023 | ||
11024 | PR tree-optimization/43949 | |
11025 | * tree-vrp.c (extract_range_from_binary_expr): Only handle | |
11026 | TRUNC_MOD_EXPR. | |
11027 | ||
bb9c1a09 | 11028 | 2010-04-26 Jason Merrill <jason@redhat.com> |
11029 | ||
11030 | * c.opt (-fstrict-enums): New. | |
11031 | * doc/invoke.texi (C++ Dialect Options): Document -fstrict-enums. | |
11032 | ||
657e7797 | 11033 | 2010-05-03 David Ung <davidu@mips.com> |
056a4e5a | 11034 | James E. Wilson <wilson@codesourcery.com> |
11035 | ||
3440fb35 | 11036 | * config/mips/mips.c (mips_output_division): If GENERATE_DIVIDE_TRAPS, |
056a4e5a | 11037 | emit the trap instruction before the divide for TUNE_74K. |
11038 | ||
ed5527ca | 11039 | 2010-05-03 Steven Bosscher <steven@gcc.gnu.org> |
11040 | ||
11041 | * doc/tm.texi (defmac SMALL_REGISTER_CLASSES): Remove. | |
11042 | (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): Add documentation, | |
11043 | based on the above, for new target hook. | |
11044 | ||
11045 | * hooks.c (hook_bool_mode_true): New generic hook. | |
11046 | * hooks.h (hook_bool_mode_true): Add prototype. | |
11047 | ||
11048 | * target.h (struct gcc_target): Add small_register_classes_for_mode_p | |
11049 | target hook. | |
11050 | * target-def.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): New default | |
11051 | target hook, set to hook_bool_mode_false. | |
11052 | * regs.h: Remove default definition of SMALL_REGISTER_CLASSES. | |
11053 | * reload.c (push_secondary_reload): Replace SMALL_REGISTER_CLASSES | |
11054 | with targetm.small_register_classes_for_mode_p. | |
11055 | (find_reusable_reload): Likewise. | |
11056 | (combine_reloads): Likewise. | |
11057 | * reload1.c (reload_as_needed): Likewise. | |
11058 | * cse.c (approx_reg_cost_1, hash_rtx_cb): Likewise. | |
11059 | * ifcvt.c (noce_process_if_block, check_cond_move_block, | |
11060 | dead_or_predicable): Likewise. | |
11061 | * regmove.c (optimize_reg_copy_1): Likewise. | |
11062 | * calls.c (prepare_call_address): Likewise. | |
11063 | (precompute_register_parameters): Likewise. | |
11064 | ||
11065 | * config/sh/sh.h: Replace SMALL_REGISTER_CLASSES with new target | |
11066 | hook definition. | |
11067 | * config/sh/sh.c (sh_small_register_classes_for_mode_p): Add | |
11068 | implementation of the hook that considers all register classes | |
11069 | small except for SH64. | |
11070 | (sh_override_options): Use the new hook. | |
11071 | * config/sh/sh-protos.h (sh_small_register_classes_for_mode_p): | |
11072 | Add prototype. | |
11073 | ||
11074 | * config/arm/arm.h: Replace SMALL_REGISTER_CLASSES with new target | |
11075 | hook definition. | |
11076 | * config/arm/arm.c (arm_small_register_classes_for_mode_p): Add | |
11077 | implementation of the hook that considers all register classes | |
11078 | small for THUMB1. | |
11079 | * config/arm/arm-protos.h (arm_small_register_classes_for_mode_p): | |
11080 | Add prototype. | |
11081 | ||
11082 | * config/mips/mips.h: Replace SMALL_REGISTER_CLASSES with new target | |
11083 | hook definition. | |
11084 | * config/mips/mips.c (mips_small_register_classes_for_mode_p): Add | |
11085 | implementation of the hook that considers all register classes | |
11086 | small for MIPS16. | |
11087 | * config/mips/mips-protos.h (mips_small_register_classes_for_mode_p): | |
11088 | Add prototype. | |
11089 | ||
11090 | * config/i386/i386.h: Replace SMALL_REGISTER_CLASSES with new target | |
11091 | hook definition. | |
11092 | * config/m32c/m32c.h: Likewise. | |
11093 | * config/pdp11/pdp11.h: Likewise. | |
11094 | * config/avr/avr.h: Likewise. | |
11095 | * config/xtensa/xtensa.h: Likewise. | |
11096 | * config/m68hc11/m68hc11.h: Likewise. | |
11097 | * config/mn10300/mn10300.h: Likewise. | |
11098 | * config/mcore/mcore.h: Likewise. | |
11099 | * config/h8300/h8300.h: Likewise. | |
11100 | * config/bfin/bfin.h: Likewise. | |
11101 | ||
11102 | * config/iq2000/iq2000.h: Remove SMALL_REGISTER_CLASSES definition. | |
11103 | * config/rx/rx.h: Remove SMALL_REGISTER_CLASSES definition. | |
11104 | ||
b79dc18a | 11105 | 2010-05-03 Anatoly Sokolov <aesok@post.ru> |
11106 | ||
11107 | * double-int.h (tree_to_double_int): Remove macro. | |
11108 | (double_int_to_tree, double_int_fits_to_tree_p): Move prototypes ... | |
11109 | * tree.h (double_int_to_tree, double_int_fits_to_tree_p): ... here. | |
11110 | (tree_to_double_int): New function. | |
11111 | * double-int.c (double_int_to_tree, double_int_fits_to_tree_p): | |
11112 | Move ... | |
11113 | * tree.c (double_int_to_tree, double_int_fits_to_tree_p): ... here. | |
11114 | ||
650b60e8 | 11115 | 2010-05-03 Richard Guenther <rguenther@suse.de> |
11116 | ||
11117 | PR tree-optimization/43971 | |
11118 | * tree-ssa-structalias.c (get_constraint_for_1): Fix | |
11119 | constraints in the !flag_delete_null_pointer_checks case. | |
11120 | ||
ea81e5c7 | 11121 | 2010-05-03 Jakub Jelinek <jakub@redhat.com> |
11122 | ||
11123 | PR debug/43972 | |
11124 | * config/i386/i386.c (ix86_delegitimize_address): Make sure the | |
11125 | result mode matches original rtl mode. | |
11126 | ||
e17f954a | 11127 | 2010-05-03 Dave Korn <dave.korn.cygwin@gmail.com> |
11128 | ||
0aa157d6 | 11129 | PR target/43888 |
e17f954a | 11130 | * config/i386/winnt.c (i386_pe_binds_local_p): Handle weak decls. |
11131 | ||
88cbb881 | 11132 | 2010-05-02 Uros Bizjak <ubizjak@gmail.com> |
11133 | ||
11134 | * config/i386/i386.c (ix86_target_string): Output 'flags', not 'isa', | |
11135 | when processing flag options. | |
11136 | ||
b8a67225 | 11137 | 2010-05-02 Uros Bizjak <ubizjak@gmail.com> |
11138 | ||
11139 | * gcov-iov.c (main): Change format string placeholder | |
11140 | from %#08x to 0x%08x. | |
11141 | * genchecksum.c (dosum): Change format string placeholder | |
11142 | from %#02x to 0x%02x. | |
11143 | ||
40a61243 | 11144 | 2010-05-02 Richard Guenther <rguenther@suse.de> |
11145 | ||
11146 | PR tree-optimization/43879 | |
b8a67225 | 11147 | * tree-tailcall.c (find_tail_calls): Clobbers also prevent tail calls. |
40a61243 | 11148 | |
bc2e3b16 | 11149 | 2010-05-02 Bruno Haible <bruno@clisp.org> |
11150 | ||
11151 | * doc/extend.texi (Function Attributes): Fix a typo. | |
11152 | ||
9c5b6e15 | 11153 | 2010-05-02 Uros Bizjak <ubizjak@gmail.com> |
11154 | ||
11155 | Revert: | |
11156 | * hwint.h (HOST_WIDE_INT_PRINT_DOUBLE_HEX): Change format string | |
11157 | placeholder from 0x%x to %#x. | |
11158 | (HOST_WIDEST_INT_PRINT_DOUBLE_HEX): Ditto. | |
b8a67225 | 11159 | * config/i386/i386elf.h (ASM_OUTPUT_ASCII): Ditto. |
11160 | * config/i386/i386-interix.h (ASM_OUTPUT_ASCII): Ditto. | |
11161 | * config/i386/att.h (ASM_OUTPUT_ASCII): Ditto. | |
11162 | * config/i386/sysv4.h (ASM_OUTPUT_ASCII): Ditto. | |
11163 | * config/i386/i386.c (ix86_target_string): Ditto. | |
9c5b6e15 | 11164 | * config/i386/i386.c (output_pic_addr_const): Ditto. |
b8a67225 | 11165 | (print_operand): Ditto. |
9c5b6e15 | 11166 | |
95dcf70a | 11167 | 2010-05-02 Uros Bizjak <ubizjak@gmail.com> |
11168 | ||
11169 | * vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string | |
11170 | placeholder from 0x%x to %#x. | |
11171 | (ASM_OUTPUT_DEBUG_DATA1): Ditto. | |
11172 | (ASM_OUTPUT_DEBUG_DATA4): Ditto. | |
11173 | (ASM_OUTPUT_DEBUG_DATA): Ditto. | |
11174 | (ASM_OUTPUT_DEBUG_ADDR_DATA): Ditto. | |
11175 | (ASM_OUTPUT_DEBUG_DATA8): Ditto. | |
11176 | * optc-gen.awk: Ditto. | |
11177 | * hwint.h (HOST_WIDE_INT_PRINT_DOUBLE_HEX): Ditto. | |
11178 | (HOST_WIDE_INT_PRINT_HEX): Ditto. | |
11179 | (HOST_WIDEST_INT_PRINT_HEX): Ditto. | |
11180 | (HOST_WIDEST_INT_PRINT_DOUBLE_HEX): Ditto. | |
95dcf70a | 11181 | |
e1ce1485 | 11182 | 2010-05-01 Anatoly Sokolov <aesok@post.ru> |
11183 | ||
11184 | * target.h (struct calls): Add function_value_regno_p field. | |
11185 | * target-def.h (TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
11186 | (TARGET_INITIALIZER): Use TARGET_FUNCTION_VALUE_REGNO_P. | |
11187 | * targhooks.c (default_function_value_regno_p): New function. | |
11188 | * targhooks.h (default_function_value_regno_p): Declare function. | |
11189 | * rtlanal.c (keep_with_call_p): Use function_value_regno_p hook. | |
11190 | * builtins.c. (apply_result_size): (Ditto.). | |
11191 | * combine.c. (likely_spilled_retval_p): (Ditto.). | |
11192 | * mode-switching.c. Include 'target.h'. | |
11193 | (create_pre_exit): Use function_value_regno_p hook. | |
11194 | * Makefile.in (mode-switching.o): Add dependency on TARGET_H. | |
11195 | * doc/tm.texi (FUNCTION_VALUE_REGNO_P, | |
11196 | TARGET_FUNCTION_VALUE_REGNO_P): Revise documentation. | |
11197 | ||
11198 | * config/i386/i386.h (TARGET_FUNCTION_VALUE_REGNO_P): Remove macro. | |
11199 | * config/i386/i386.c (TARGET_FUNCTION_VALUE_REGNO_P): Define macro. | |
11200 | (ix86_function_value_regno_p): Declare as static, change argument | |
11201 | type to const unsigned int. | |
11202 | * config/i386/i386-protos.h (ix86_function_value_regno_p): Remove. | |
11203 | ||
ccab2921 | 11204 | 2010-05-01 Richard Guenther <rguenther@suse.de> |
11205 | ||
11206 | PR tree-optimization/43949 | |
11207 | * tree-vrp.c (ssa_name_nonnegative_p): Return true for unsigned | |
11208 | types. | |
11209 | (extract_range_from_binary_expr): Handle *_MOD_EXPR. | |
11210 | ||
33274180 | 11211 | 2010-05-01 Anatoly Sokolov <aesok@post.ru> |
11212 | ||
11213 | * rtl.h (CONST_DOUBLE_P): Define. | |
11214 | (rtx_to_double_int): Declare. | |
11215 | * emit-rtl.c (rtx_to_double_int): New function. | |
11216 | * dwarf2out.c (insert_double): New function. | |
11217 | (loc_descriptor, add_const_value_attribute): Clean up, use | |
11218 | rtx_to_double_int and insert_double functions. | |
11219 | ||
bfe513a4 | 11220 | 2010-05-01 Jonathan Wakely <jwakely.gcc@gmail.com> |
11221 | ||
11222 | * doc/extend.texi (Inline): Add missing return keyword to examples. | |
11223 | (Function Attributes, Variable Attributes, Pragmas): Hyphenate | |
11224 | "command-line". | |
11225 | ||
9f5d6ac9 | 11226 | 2010-04-30 Eric Botcazou <ebotcazou@adacore.com> |
11227 | ||
11228 | * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check the alignment of | |
11229 | the variable part of the offset as well. Use highest_pow2_factor for | |
11230 | all alignment checks. | |
11231 | ||
b306798a | 11232 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
11233 | ||
11234 | PR tree-optimization/43879 | |
11235 | * tree-ssa-structalias.c (type_could_have_pointers): Functions | |
11236 | can have pointers. | |
11237 | ||
db8fd1ef | 11238 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
11239 | ||
b306798a | 11240 | * lto-symtab.c (lto_symtab_resolve_can_prevail_p): Chose var with |
11241 | varpool. | |
db8fd1ef | 11242 | (lto_symtab_merge_decls_1): Remove logic looking for an initializer. |
11243 | ||
bf7d782b | 11244 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
11245 | ||
b306798a | 11246 | * cgraph.h (cgraph_node_set_nonempty_p, varpool_node_set_nonempty_p): |
11247 | New. | |
bf7d782b | 11248 | * lto-cgraph.c (input_cgraph): Remove call to lto_mark_file_for_ltrans. |
11249 | * lto-streamer.h (lto_file_decl_data): Remove needs_ltrans_p. | |
11250 | (lto_file_needs_ltrans_p, lto_mark_file_for_ltrans, | |
11251 | cgraph_node_set_needs_ltrans_p): Remove. | |
11252 | ||
67076d6d | 11253 | 2010-04-30 Steven Bosscher <steven@gcc.gnu.org> |
11254 | ||
11255 | * sdbout.c: Include vec.h, do not include varray.h. | |
11256 | (deferred_global_decls, sdbout_global_decl, | |
11257 | sdbout_finish, sdbout_init): Use VEC instead of VARRAY. | |
11258 | * toplev.c: Do not include varray.h. | |
11259 | (dump_memory_report): Do not dump VARRAY statistics. | |
11260 | * gengtype.c (open_base_file): Ignore varray.h. | |
11261 | * Makefile.in: Update for abovementioned changes. | |
11262 | Remove all traces of varray.c and varray.h. | |
11263 | * varray.c: Remove file. | |
11264 | * varray.h: Remove file. | |
11265 | ||
da67d826 | 11266 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
11267 | ||
11268 | * lto-cgraph.c (lto_output_varpool_node): Always output constant pool | |
11269 | references. | |
11270 | ||
e55e3a4a | 11271 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
11272 | ||
11273 | * tree-profile.c (tree_init_ic_make_global_vars): Mark new decls as | |
11274 | needed. | |
11275 | ||
61cf0658 | 11276 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
11277 | ||
11278 | * tree-ssa-structalias.c (get_constraint_for_1): Generate | |
11279 | constraints for CONSTRUCTOR. | |
11280 | ||
4d07b54f | 11281 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
11282 | ||
11283 | PR lto/43946 | |
11284 | * passes.c (init_optimization_passes): Move pass_ipa_free_lang_data | |
11285 | first after all lowering passes. | |
11286 | ||
3f9da559 | 11287 | 2010-04-30 Steven Bosscher <steven@gcc.gnu.org> |
11288 | ||
11289 | * toplev.c: Include varray.h for statistics dumping. | |
11290 | * tree.h: Do not declare varray_head_tag. | |
11291 | * tree-into-ssa.c, tree-ssa-uninit.c, tree-phinodes.c, omega.c, | |
11292 | regs.h, lto-cgraph.c, tree-ssa-loop-ivopts.c, tree-nomudflap.c, | |
11293 | c-objc-common.c, lto-streamer-out.c, tree-ssa-propagate.c, | |
11294 | gimple-low.c, c-semantics.c, dwarf2out.c, lto-streamer-in.c, | |
11295 | lto-section-in.c, alias.c, tree-if-conv.c, gimplify.c, ggc-zone.c, | |
11296 | tree-ssa.c, tree-ssa-loop-prefetch.c, integrate.h, c-gimplify.c, | |
11297 | c-common.c, c-common.h, reg-stack.c, basic-block.h, | |
11298 | tree-ssa-structalias.c, lto-section-out.c, tree-ssanames.c: Do not | |
11299 | include varray.h. | |
11300 | * Makefile.in: Update for abovementioned changes. | |
11301 | ||
877fe380 | 11302 | 2010-04-30 Jakub Jelinek <jakub@redhat.com> |
11303 | ||
11304 | PR debug/43942 | |
11305 | * tree.c (auto_var_in_fn_p): Return false for DECL_EXTERNAL vars. | |
11306 | ||
1b7aefdb | 11307 | 2010-04-30 Hariharan Sandanagobalane <hariharan@picochip.com> |
11308 | ||
11309 | * config/picochip/picochip.c (picochip_legitimize_address): Define. | |
11310 | Use this function to do machine-specific conversion. | |
11311 | (picochip_legitimize_reload_address): Likewise. | |
11312 | (picochip_legitimate_address_p): Check valid base register only if | |
11313 | strict. | |
11314 | (picochip_check_conditional_copy): Check for modw only if opnd is | |
11315 | register. | |
11316 | * config/picochip/picochip.h (LEGITIMIZE_RELOAD_ADDRESS): Use this | |
11317 | to call the function in c. | |
11318 | * config/picochip/picochip-protos.h | |
11319 | (picochip_legitimize_reload_address): Define. | |
11320 | * config/picochip/picochip.md (supported_compare1): Define. | |
11321 | ||
b7e3aeb1 | 11322 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
11323 | ||
11324 | * cgraph.h (cgraph_local_info): Remove for_functions_valid. | |
11325 | (cgraph_global_info): Remove inlined. | |
11326 | (LTO_cgraph_tag_names): Remove. | |
11327 | (LTO_cgraph_tags, LCC_NOT_FOUND): Move to ... | |
11328 | * lto-cgraph.c (LTO_cgraph_tags, LCC_NOT_FOUND): ... here; | |
11329 | simplify cgraph tags and document. | |
11330 | (lto_output_node): Use only LTO_cgraph_unavail_node and | |
11331 | LTO_cgraph_analyzed_node; Do not save analzed, reachable, | |
95dcf70a | 11332 | for_functions_valid, global info, process and output flags. |
b7e3aeb1 | 11333 | (input_overwrite_node): Initialize estimated stack size and |
95dcf70a | 11334 | estimated growth. Do not read flags we no longer store. |
b7e3aeb1 | 11335 | (input_node): Likewise do not read info no longer stored. |
11336 | * ipa-inline.c (cgraph_mark_inline_edge): Do not set global.inlined | |
11337 | flag. | |
11338 | ||
4d6c561b | 11339 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
11340 | ||
11341 | PR tree-optimization/43879 | |
11342 | * tree-ssa-structalias.c (get_constraint_for_1): Properly | |
11343 | handle non-zero initializers. | |
11344 | ||
663870fc | 11345 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
11346 | ||
11347 | * builtins.c (fold_builtin_1): Delete free (0). | |
11348 | ||
b7e3aeb1 | 11349 | 2010-04-29 Jan Hubicka <jh@suse.cz> |
57305941 | 11350 | |
11351 | * gengtype.c (open_base_files): Add lto-streamer.h | |
11352 | * cgraph.h (cgraph_local_info): lto_file_data is now in GGC. | |
11353 | (pass_ipa_cp): GGC collect. | |
11354 | * toplev. (compile_file): Do not output symbols. | |
11355 | * ipa-inline.c (pass_ipa_inline): Add ggc collect. | |
11356 | * timevar.def (TV_VARPOOL, TV_IPA_LTO_DECL_INIT_IO, | |
11357 | TV_IPA_LTO_DECL_MERGE, TV_IPA_LTO_CGRAPH_MERGE, TV_VAROUT): New. | |
11358 | * lto-section-in.c: Include ggc.h | |
11359 | (lto_new_in_decl_state): Alloc in GGC. | |
11360 | (lto_delete_in_decl_state): Likewise. | |
95dcf70a | 11361 | * ipa.c (pass_ipa_function_visibility, pass_ipa_whole_program): |
11362 | Collect. | |
57305941 | 11363 | |
dedfd669 | 11364 | 2010-04-29 Bernd Schmidt <bernds@codesourcery.com> |
11365 | ||
11366 | PR target/42895 | |
11367 | * doc/tm.texi (ADJUST_REG_ALLOC_ORDER): Renamed from | |
11368 | ORDER_REGS_FOR_LOCAL_ALLOC. All instances of this macro changed. | |
11369 | (HONOR_REG_ALLOC_ORDER): Describe new macro. | |
11370 | * ira.c (setup_alloc_regs): Use ADJUST_REG_ALLOC_ORDER if defined. | |
11371 | * ira-color.c (assign_hard_reg): Take prologue/epilogue costs into | |
11372 | account only if HONOR_REG_ALLOC_ORDER is not defined. | |
11373 | * config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Define. | |
11374 | * system.h (ORDER_REGS_FOR_LOCAL_ALLOC): Poison. | |
95dcf70a | 11375 | |
11376 | 2010-04-29 Jon Grant <04@jguk.org> | |
11377 | ||
2bd5037b | 11378 | * collect2.c (vflag): Change type from int to bool. |
11379 | (debug): Likewise. | |
11380 | (helpflag): New global bool. | |
95dcf70a | 11381 | (main): Set vflag and debug with boolean, not integer truth values. |
11382 | Accept new "--help" option and output usage text if found. | |
2bd5037b | 11383 | * collect2.h (vflag): Update prototype. |
11384 | (debug): Likewise. | |
95dcf70a | 11385 | |
ccb7e201 | 11386 | 2010-04-29 H.J. Lu <hongjiu.lu@intel.com> |
11387 | ||
a7274b28 | 11388 | PR bootstrap/43936 |
95dcf70a | 11389 | * plugin.h (flag_plugin_added): Moved out of invoke_plugin_callbacks. |
ccb7e201 | 11390 | |
08cfd855 | 11391 | 2010-04-29 Richard Guenther <rguenther@suse.de> |
11392 | ||
11393 | PR bootstrap/43935 | |
11394 | * plugin.h (invoke_plugin_callbacks): Annotate arguments | |
11395 | with ATTRIBUTE_UNUSED. | |
11396 | ||
b61508f5 | 11397 | 2010-04-29 H.J. Lu <hongjiu.lu@intel.com> |
11398 | ||
11399 | PR target/43921 | |
11400 | * config/i386/i386.c (get_some_local_dynamic_name): Replace | |
11401 | INSN_P with NONDEBUG_INSN_P. | |
11402 | (distance_non_agu_define): Likewise. | |
11403 | (distance_agu_use): Likewise. | |
11404 | ||
10760fe9 | 11405 | 2010-04-29 Bernd Schmidt <bernds@codesourcery.com> |
11406 | ||
657e7797 | 11407 | From Dominique d'Humieres <dominiq@lps.ens.fr> |
10760fe9 | 11408 | PR bootstrap/43858 |
11409 | * ifcvt.c (dead_or_predicable): Use df_simulate_find_defs to compute | |
11410 | test_set. | |
11411 | ||
95dcf70a | 11412 | 2010-04-29 Brian Hackett <bhackett1024@gmail.com> |
a3f551d2 | 11413 | |
11414 | * plugin.h (invoke_plugin_callbacks): New inline function. | |
11415 | * plugin.c (flag_plugin_added): New global flag. | |
11416 | (add_new_plugin): Initialize above flag. | |
11417 | (invoke_plugin_callbacks): Rename to ... | |
11418 | (invoke_plugin_callbacks_full): ... this. | |
11419 | ||
0cddb138 | 11420 | 2010-04-28 Jan Hubicka <jh@suse.cz> |
11421 | ||
11422 | * lto-symtab.c (lto_symtab_entry_def) Add vnode. | |
11423 | (lto_varpool_replace_node): New. | |
11424 | (lto_symtab_resolve_symbols): Resolve varpool nodes. | |
11425 | (lto_symtab_merge_decls_1): Prefer decls with varpool node. | |
11426 | (lto_symtab_merge_cgraph_nodes_1): Merge varpools. | |
11427 | * cgraph.h (varpool_node_ptr): New type. | |
11428 | (varpool_node_ptr): New vector. | |
11429 | (varpool_node_set_def): New structure. | |
11430 | (varpool_node_set): New type. | |
11431 | (varpool_node_set): New vector. | |
11432 | (varpool_node_set_element_def): New structure. | |
11433 | (varpool_node_set_element, const_varpool_node_set_element): New types. | |
11434 | (varpool_node_set_iterator): New type. | |
11435 | (varpool_node): Add prev pointers, add used_from_other_partition, | |
11436 | in_other_partition. | |
11437 | (varpool_node_set_new, varpool_node_set_find, varpool_node_set_add, | |
11438 | varpool_node_set_remove, dump_varpool_node_set, debug_varpool_node_set, | |
11439 | varpool_get_node, varpool_remove_node): Declare. | |
11440 | (vsi_end_p, vsi_next, vsi_node, vsi_start, varpool_node_in_set_p, | |
11441 | varpool_node_set_size): New inlines. | |
11442 | * cgraph.c (dump_cgraph_node): Dump asm names of aliases. | |
11443 | * tree-pass.h (varpool_node_set_def): Forward declare. | |
11444 | (ipa_opt_pass_d): Summary writting takes vnode sets too. | |
11445 | (ipa_write_optimization_summaries): Update prototype. | |
11446 | * ipa-cp.c (ipcp_write_summary): Update. | |
11447 | * ipa-reference.c (ipa_reference_write_summary): Update. | |
11448 | * lto-cgraph.c (lto_output_varpool_node): New static function. | |
11449 | (output_varpool): New function. | |
11450 | (input_varpool_node): New static function. | |
11451 | (input_varpool_1): New function. | |
11452 | (input_cgraph): Input varpool. | |
11453 | * ipa-pure-const.c (pure_const_write_summary): Update. | |
11454 | * lto-streamer-out.c (lto_output): Update, output varpool too. | |
11455 | (write_global_stream): Kill WPA hack. | |
11456 | (produce_asm_for_decls): Update. | |
11457 | (output_alias_pair_p): Handle variables. | |
11458 | (output_unreferenced_globals): Output only needed partition of varpool. | |
11459 | * ipa-inline.c (inline_write_summary): Update. | |
95dcf70a | 11460 | * lto-streamer-in.c (lto_input_tree_ref, lto_input_tree): Do not build |
11461 | cgraph. | |
0cddb138 | 11462 | * lto-section-in.c (lto_section_name): Add varpool and jump funcs. |
11463 | * ipa.c (hash_varpool_node_set_element, eq_varpool_node_set_element, | |
11464 | varpool_node_set_new, varpool_node_set_add, | |
11465 | varpool_node_set_remove, varpool_node_set_find, dump_varpool_node_set, | |
11466 | debug_varpool_node_set): New functions. | |
11467 | * passes.c (rest_of_decl_compilation): when in LTO do not finalize. | |
11468 | (execute_one_pass): Process new decls too. | |
11469 | (ipa_write_summaries_2): Pass around vsets. | |
11470 | (ipa_write_summaries_1): Likewise. | |
11471 | (ipa_write_summaries): Build vset; be more selective about cgraph nodes | |
11472 | to add. | |
11473 | (ipa_write_optimization_summaries_1): Pass around vsets. | |
11474 | (ipa_write_optimization_summaries): Likewise. | |
11475 | * varpool.c (varpool_get_node): New. | |
11476 | (varpool_node): Update doubly linked lists. | |
11477 | (varpool_remove_node): New. | |
11478 | (dump_varpool_node): More dumping. | |
11479 | (varpool_enqueue_needed_node): Update doubly linked lists. | |
11480 | (decide_is_variable_needed): Kill ltrans hack. | |
11481 | (varpool_finalize_decl): Kill lto hack. | |
11482 | (varpool_assemble_decl): Skip decls in other partitions. | |
11483 | (varpool_assemble_pending_decls): Update doubly linkes lists. | |
11484 | (varpool_empty_needed_queue): Likewise. | |
11485 | (varpool_extra_name_alias): Likewise. | |
11486 | * lto-streamer.c (lto_get_section_name): Add vars section. | |
11487 | * lto-streamer.h (lto_section_type): Update. | |
11488 | (output_varpool, input_varpool): Declare. | |
11489 | ||
a5fc34f1 | 11490 | 2010-04-28 Mike Stump <mikestump@comcast.net> |
11491 | ||
77204665 | 11492 | * config/i386/darwin.h (CC1_SPEC): Ignore -mdynamic-no-pic for now. |
a5fc34f1 | 11493 | |
1334250c | 11494 | 2010-04-28 Eric Botcazou <ebotcazou@adacore.com> |
11495 | ||
11496 | * lto-streamer-in.c (unpack_ts_type_value_fields): Replace test for | |
11497 | record or union type with RECORD_OR_UNION_TYPE_P predicate. | |
11498 | (lto_input_ts_type_tree_pointers): Likewise. | |
11499 | * lto-streamer-out.c (pack_ts_type_value_fields): Likewise. | |
11500 | (lto_output_ts_type_tree_pointers): Likewise. | |
11501 | ||
ecba073f | 11502 | 2010-04-28 Eric Botcazou <ebotcazou@adacore.com> |
11503 | ||
11504 | Uniquization of constants at the Tree level | |
792e829a | 11505 | * tree.h (DECL_IN_CONSTANT_POOL): New macro. |
ecba073f | 11506 | (tree_decl_with_vis): Add in_constant_pool bit, move shadowed_for_var_p |
11507 | bit to the end. | |
11508 | (tree_output_constant_def): Declare. | |
792e829a | 11509 | * gimplify.c (gimplify_init_constructor): When using block copy, first |
ecba073f | 11510 | uniquize the constant constructor on the RHS. |
792e829a | 11511 | * lto-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Deal with |
11512 | DECL_IN_CONSTANT_POOL flag. | |
ecba073f | 11513 | * lto-streamer-out.c (pack_ts_decl_with_vis_value_fields): Likewise. |
792e829a | 11514 | * varasm.c (make_decl_rtl): Deal with variables belonging to the global |
11515 | constant pool. | |
ecba073f | 11516 | (assemble_variable): Deal with symbols belonging to the tree constant |
11517 | pool. | |
11518 | (get_constant_section): Add ALIGN parameter and simplify. | |
11519 | (build_constant_desc): Build a VAR_DECL and attach it to the symbol. | |
11520 | (assemble_constant_contents): Use the expression of the VAR_DECL. | |
11521 | (output_constant_def_contents): Use the alignment of the VAR_DECL. | |
11522 | (tree_output_constant_def): New global function. | |
11523 | (mark_constant): Use the expression of the VAR_DECL. | |
792e829a | 11524 | (place_block_symbol): Use the alignment of the VAR_DECL and the size of |
11525 | its expression. | |
ecba073f | 11526 | (output_object_block): Likewise and assemble the expression. |
11527 | ||
29737a6d | 11528 | 2010-04-28 Eric Botcazou <ebotcazou@adacore.com> |
11529 | ||
11530 | * lto-streamer.c [LTO_STREAMER_DEBUG] (tree_htab, tree_hash_entry, | |
11531 | hash_tree, eq_tree): New tree hash table. | |
11532 | (lto_streamer_init) [LTO_STREAMER_DEBUG]: Initialize it. | |
11533 | [LTO_STREAMER_DEBUG] (lto_orig_address_map, lto_orig_address_get, | |
11534 | lto_orig_address_remove): Reimplement. | |
11535 | ||
a7d4604b | 11536 | 2010-04-28 Xinliang David Li <davidxl@google.com> |
11537 | ||
11538 | PR c/42643 | |
11539 | * tree-ssa-uninit.c (can_skip_redundant_opnd): New function. | |
11540 | (compute_uninit_opnds_pos): New function. | |
11541 | (is_non_loop_exit_postdominating): New function. | |
11542 | (compute_control_dep_chain): New function. | |
11543 | (find_pdom): New function. | |
11544 | (convert_control_dep_chain_into_preds): New function. | |
11545 | (find_predicates): New function. | |
11546 | (find_control_equiv_block): New function. | |
11547 | (collect_phi_def_edges): New function. | |
11548 | (find_def_preds): New function. | |
11549 | (find_dom): New function. | |
11550 | (dump_predicates): New function. | |
11551 | (get_cmp_code): New function. | |
11552 | (is_value_included_in): New function. | |
11553 | (find_matching_predicate_in_rest_chains): New function. | |
11554 | (use_pred_not_overlap_with_undef_path_pred): New function. | |
11555 | (is_use_properly_guarded): New function. | |
11556 | (normalize_cond_1): New function. | |
11557 | (is_and_or_or): New function. | |
11558 | (normalize_cond): New function. | |
11559 | (is_gcond_subset_of): New function. | |
11560 | (is_subset_of_any): New function. | |
11561 | (is_or_set_subset_of): New function. | |
11562 | (is_and_set_subset_of): New function. | |
11563 | (is_norm_cond_subset_of): New function. | |
11564 | (is_pred_expr_subset_of): New function. | |
11565 | (is_pred_chain_subset_of): New function. | |
11566 | (is_included_in): New function. | |
11567 | (is_superset_of): New function. | |
11568 | (find_uninit_use): New function. | |
11569 | (warn_uninitialized_phi): New function. | |
11570 | (compute_possibly_undefined_names): New function. | |
11571 | (ssa_undefined_value_p): New function. | |
11572 | (execute_late_warn_uninitialized): New function. | |
11573 | * tree-ssa.c (ssa_undefined_value_p): Removed. | |
11574 | (warn_uninit): Changed to extern. | |
11575 | (warn_uninitialized_phi): Removed. | |
11576 | (warn_uninitialized_vars): Changed to extern. | |
11577 | (execute_late_warn_uninitialized): Removed | |
11578 | * tree-flow.h: Add new prototypes. | |
11579 | * timevar.def: Add new time variable. | |
11580 | * Makefile.in: Add new build file. | |
11581 | ||
913fc649 | 11582 | 2010-04-28 Uros Bizjak <ubizjak@gmail.com> |
11583 | ||
11584 | * config/alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use gnu_unique_object | |
11585 | type if available. | |
11586 | ||
80962ae7 | 11587 | 2010-04-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11588 | ||
11589 | PR target/22224 | |
11590 | * config/alpha/osf5.h (ASM_OUTPUT_LOCAL): Redefine. | |
11591 | ||
799c8711 | 11592 | 2010-04-28 Martin Jambor <mjambor@suse.cz> |
11593 | ||
11594 | * cgraph.h (struct cgraph_node): New field indirect_calls. | |
11595 | (struct cgraph_indirect_call_info): New type. | |
11596 | (struct cgraph_edge): Removed field indirect_call. New fields | |
11597 | indirect_info, indirect_inlining_edge and indirect_unknown_callee. | |
11598 | (cgraph_create_indirect_edge): Declare. | |
11599 | (cgraph_make_edge_direct): Likewise. | |
11600 | (enum LTO_cgraph_tags): New item LTO_cgraph_indirect_edge. | |
11601 | * ipa-prop.h (struct ipa_param_call_note): Removed. | |
11602 | (struct ipa_node_params): Removed field param_calls. | |
11603 | (ipa_create_all_structures_for_iinln): Declare. | |
11604 | * cgraph.c: Described indirect edges and uids in initial comment. | |
11605 | (cgraph_add_edge_to_call_site_hash): New function. | |
11606 | (cgraph_edge): Search also among the indirect edges, use | |
11607 | cgraph_add_edge_to_call_site_hash to add edges to the call site hash. | |
11608 | (cgraph_set_call_stmt): Possibly turn an indirect edge into a direct | |
11609 | one, use cgraph_add_edge_to_call_site_hash to add edges to the call | |
11610 | site hash. | |
11611 | (initialize_inline_failed): Assign a reason to indirect edges. | |
11612 | (cgraph_create_edge_1): New function. | |
11613 | (cgraph_create_edge): Moved some functionality to | |
11614 | cgraph_create_edge_1. | |
11615 | (cgraph_create_indirect_edge): New function. | |
11616 | (cgraph_edge_remove_callee): Add an assert checking for | |
11617 | non-indirectness. | |
11618 | (cgraph_edge_remove_caller): Special-case indirect edges. | |
11619 | (cgraph_remove_edge): Likewise. | |
11620 | (cgraph_set_edge_callee): New function. | |
11621 | (cgraph_redirect_edge_callee): Use cgraph_set_edge_callee. | |
11622 | (cgraph_make_edge_direct): New function. | |
11623 | (cgraph_update_edges_for_call_stmt_node): Do nothing only when also | |
11624 | the declaration of the call statement matches. | |
11625 | (cgraph_node_remove_callees): Special-case indirect edges. | |
11626 | (cgraph_clone_edge): Likewise. | |
11627 | (cgraph_clone_node): Clone also the indirect edges. | |
11628 | (dump_cgraph_node): Dump indirect_inlining_edge flag instead of | |
11629 | indirect_call, dump count of indirect_calls edges. | |
11630 | * ipa-prop.c (iinlining_processed_edges): New variable. | |
11631 | (ipa_note_param_call): Create indirect edges instead of | |
11632 | creating notes. New parameter node. | |
11633 | (ipa_analyze_call_uses): New parameter node, pass it on to | |
11634 | ipa_note_param_call. | |
11635 | (ipa_analyze_stmt_uses): Likewise. | |
11636 | (ipa_analyze_params_uses): Pass node to ipa_analyze_stmt_uses. | |
11637 | (print_edge_addition_message): Work on edges rather than on notes. | |
11638 | (update_call_notes_after_inlining): Likewise, renamed to | |
11639 | update_indirect_edges_after_inlining. | |
11640 | (ipa_create_all_structures_for_iinln): New function. | |
11641 | (ipa_free_node_params_substructures): Do not free notes. | |
11642 | (ipa_edge_duplication_hook): Propagate bits within | |
11643 | iinlining_processed_edges bitmap. | |
11644 | (ipa_node_duplication_hook): Do not duplicate notes. | |
11645 | (free_all_ipa_structures_after_ipa_cp): Renamed to | |
11646 | ipa_free_all_structures_after_ipa_cp. | |
11647 | (free_all_ipa_structures_after_iinln): Renamed to | |
9a23df5d | 11648 | ipa_free_all_structures_after_iinln. |
799c8711 | 11649 | (ipa_write_param_call_note): Removed. |
11650 | (ipa_read_param_call_note): Removed. | |
11651 | (ipa_write_indirect_edge_info): New function. | |
11652 | (ipa_read_indirect_edge_info): Likewise. | |
11653 | (ipa_write_node_info): Do not stream notes, do stream information | |
11654 | in indirect edges. | |
11655 | (ipa_read_node_info): Likewise. | |
11656 | (lto_ipa_fixup_call_notes): Removed. | |
11657 | * ipa-cp.c (pass_ipa_cp): Set stmt_fixup to NULL. | |
11658 | * ipa-inline.c (pass_ipa_inline): Likewise. | |
11659 | * cgraphunit.c (verify_cgraph_node): Check also indirect edges. | |
11660 | * cif-code.def (INDIRECT_UNKNOWN_CALL): New reason. | |
11661 | * tree-inline.c (copy_bb): Removed an unnecessary double check for | |
11662 | is_gimple_call. | |
11663 | * tree-inline.c (get_indirect_callee_fndecl): Do not consider indirect | |
11664 | edges. | |
11665 | * lto-cgraph.c (output_outgoing_cgraph_edges): New function. | |
11666 | (output_cgraph): Stream also indirect edges. | |
11667 | (lto_output_edge): Added capability to stream indirect edges. | |
11668 | (input_edge): Likewise. | |
11669 | (input_cgraph_1): Likewise. | |
1263c11c | 11670 | * lto-streamer-in.c (fixup_call_stmt_edges_1): Fixup also statements |
11671 | of indirect edges. | |
799c8711 | 11672 | |
d812977b | 11673 | 2010-04-28 Richard Guenther <rguenther@suse.de> |
11674 | ||
11675 | PR tree-optimization/43879 | |
11676 | PR tree-optimization/43909 | |
11677 | * tree-ssa-structalias.c (struct variable_info): Add | |
11678 | only_restrict_pointers flag. | |
11679 | (new_var_info): Initialize it. Increment stats.total_vars here. | |
9a23df5d | 11680 | (create_function_info_for): Do not increment stats.total_vars here. |
d812977b | 11681 | (get_function_part_constraint): Fix build with C++. |
11682 | (insert_into_field_list): Remove. | |
11683 | (push_fields_onto_fieldstack): Properly merge fields. | |
11684 | (create_variable_info_for): Split and simplify. | |
11685 | (create_variable_info_for_1): New piece. | |
11686 | (intra_create_variable_infos): Properly make restrict constraints | |
11687 | from parameters. | |
11688 | ||
d87cde43 | 11689 | 2010-04-28 Richard Guenther <rguenther@suse.de> |
11690 | ||
11691 | PR c++/43880 | |
95dcf70a | 11692 | * tree-inline.c (copy_bind_expr): Also copy bind expr vars value-exprs. |
d87cde43 | 11693 | |
2c06958d | 11694 | 2010-04-27 Manuel López-Ibáñez <manu@gcc.gnu.org> |
657e7797 | 11695 | Jan Hubicka <hubicka@ucw.cz> |
2c06958d | 11696 | |
11697 | * doc/invoke.texi (-Wsuggest-attribute=const, | |
11698 | -Wsuggest-attribute=pure): Document. | |
11699 | * ipa-pure-const.c: Include toplev.h, intl.h and opts.h. | |
11700 | (function_always_visible_to_compiler_p, | |
11701 | suggest_attribute, warn_function_pure, warn_function_const): | |
11702 | New functions. | |
11703 | (check_call): Improve debug info. | |
11704 | (analyze_function): Do not check availability. | |
11705 | (add_new_function): Check availability. | |
11706 | (propagate): Output warnings. | |
11707 | (skip_function_for_local_pure_const): New function. | |
11708 | (local_pure_const): Use it; output warnings. | |
11709 | * common.opt (Wsuggest-attribute=const, | |
11710 | Wsuggest-attribute=pure): New. | |
11711 | ||
0b577e62 | 11712 | 2010-04-27 Jakub Jelinek <jakub@redhat.com> |
11713 | ||
11714 | * dwarf2out.c (def_cfa_1): After DW_CFA_def_cfa_expression | |
11715 | force using DW_CFA_def_cfa instead of DW_CFA_def_cfa_register | |
11716 | or DW_CFA_def_cfa_offset{,_sf}. | |
11717 | ||
eb65426a | 11718 | 2010-04-27 Eric Botcazou <ebotcazou@adacore.com> |
11719 | ||
11720 | * tree.h: Fix truncated long macros. | |
11721 | ||
a2beb429 | 11722 | 2010-04-27 Kai Tietz <kai.tietz@onevision.com> |
11723 | ||
11724 | * collect2.c (TARGET_64BIT): Redefine to target's default. | |
11725 | * tlink.c: Likewise. | |
11726 | * config/i386/cygming.h (USER_LABEL_PREFIX): Define | |
11727 | dependent to TARGET_64BIT and USE_MINGW64_LEADING_UNDERSCORES. | |
11728 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): Use | |
11729 | for underscoring __USER_LABEL_PREFIX__. | |
11730 | * config/i386/mingw-w64.h (SUB_LINK_ENTRY): New macro. | |
11731 | (SUB_LINK_ENTRY32): New. | |
11732 | (SUB_LINK_ENTRY64): New. | |
913fc649 | 11733 | (LINK_SPEC): Replace entry point spec by SUB_LINK_ENTRY. |
a2beb429 | 11734 | * config/i386/mingw32 (SUB_LINK_ENTRY32): New. |
11735 | (SUB_LINK_ENTRY64): New. | |
11736 | (SUB_LINK_ENTRY): New. | |
11737 | (LINK_SPEC): Use SUB_LINK_ENTRY instead of hard-coded entry-point. | |
11738 | (DWARF2_UNWIND_INFO): Error out for use of dw2 unwind when | |
11739 | x64 target is choosen. | |
11740 | * config.in (USE_MINGW64_LEADING_UNDERSCORES): New. | |
11741 | * configure: Regenerated. | |
11742 | * configure.ac (leading-mingw64-underscores): Option added. | |
11743 | ||
4e2db0ad | 11744 | 2010-04-27 Jan Hubicka <jh@suse.cz> |
11745 | ||
11746 | * doc/invoke.texi (-fipa-profile): Document. | |
11747 | * opts.c (decode_options): Enable ipa-profile at -O1. | |
11748 | * timevar.def (TV_IPA_PROFILE): Define. | |
11749 | * common.opt (fipa-profile): Add. | |
eb65426a | 11750 | * cgraph.c (cgraph_clone_node): Set local flag and clear vtable method |
11751 | flag for clones. | |
4e2db0ad | 11752 | (cgraph_propagate_frequency): Handle only local ones. |
11753 | * tree-pass.h (pass_ipa_profile): Declare. | |
11754 | * ipa-profile.c (gate_profile): Use flag_ipa_profile. | |
11755 | (pass_ipa_profile): Use TV_IPA_PROFILE. | |
11756 | * ipa.c (ipa_profile): New function. | |
11757 | (gate_ipa_profile): Likewise. | |
11758 | (pass_ipa_profile): New global variable. | |
11759 | * passes.c (pass_ipa_profile): New. | |
11760 | ||
d0ac9107 | 11761 | 2010-04-27 Nathan Froyd <froydnj@codesourcery.com> |
11762 | ||
11763 | * config/arm/arm.c (arm_expand_builtin): Remove redundant declaration. | |
11764 | ||
c524ac5d | 11765 | 2010-04-27 Martin Jambor <mjambor@suse.cz> |
11766 | ||
11767 | PR middle-end/43812 | |
11768 | * ipa.c (dissolve_same_comdat_group_list): New function. | |
11769 | (function_and_variable_visibility): Call | |
11770 | dissolve_same_comdat_group_list when comdat group contains external or | |
11771 | newly local nodes. | |
11772 | * cgraphunit.c (verify_cgraph_node): Verify that same_comdat_group | |
11773 | lists are circular and that they contain only DECL_ONE_ONLY nodes. | |
11774 | ||
7cbee418 | 11775 | 2010-04-27 Eric Botcazou <ebotcazou@adacore.com> |
11776 | ||
11777 | * varasm.c (decode_addr_const): Handle special case of INDIRECT_REF. | |
11778 | (const_hash_1) <VECTOR_CST>: New case. | |
11779 | (compare_constant) <VECTOR_CST>: Likewise. | |
11780 | <ADDR_EXPR>: Deal with LABEL_REFs. | |
11781 | (copy_constant) <VECTOR_CST>: New case. | |
11782 | ||
5ea60108 | 11783 | 2010-04-27 Jan Hubicka <jh@suse.cz> |
11784 | ||
11785 | * cgraph.c (cgraph_propagate_frequency): New function. | |
11786 | * cgraph.h (cgraph_propagate_frequency): Declare. | |
11787 | * ipa-inline.c (cgraph_clone_inlined_nodes): Call | |
11788 | cgraph_propagate_frequency. | |
11789 | ||
a43d1001 | 11790 | 2010-04-27 Jakub Jelinek <jakub@redhat.com> |
11791 | ||
11792 | * unwind-dw2.c (_Unwind_DebugHook): Add used and noclone attributes. | |
11793 | ||
f2df6027 | 11794 | 2010-04-27 Bernd Schmidt <bernds@codesourcery.com> |
11795 | ||
11796 | PR target/40657 | |
11797 | * config/arm/arm.c (thumb1_extra_regs_pushed): New function. | |
11798 | (thumb1_expand_prologue, thumb1_output_function_prologue): Call it | |
11799 | here to determine which regs to push and how much stack to reserve. | |
11800 | ||
86689d78 | 11801 | 2010-04-27 Jie Zhang <jie@codesourcery.com> |
11802 | ||
11803 | * doc/gimple.texi (gimple_statement_with_ops): Remove | |
11804 | addresses_taken field. | |
11805 | (gimple_statement_with_memory_ops): Likewise. | |
11806 | ||
4ad4123f | 11807 | 2010-04-27 Jan Hubicka <jh@suse.cz> |
11808 | ||
11809 | * tree-inline.c (eni_inlining_weights): Remove. | |
11810 | (estimate_num_insns): Special case more builtins. | |
11811 | ||
bf8949d1 | 11812 | 2010-04-27 Shujing Zhao <pearly.zhao@oracle.com> |
913fc649 | 11813 | |
bf8949d1 | 11814 | PR c/32207 |
11815 | * c-typeck.c (build_binary_op): Move forward check for comparison | |
11816 | pointer with null pointer constant and adjust the diagnostic message. | |
11817 | ||
e6d35c71 | 11818 | 2010-04-27 Dave Korn <dave.korn.cygwin@gmail.com> |
11819 | ||
11820 | PR lto/42776 | |
11821 | * configure.ac (gcc_cv_as_section_has_align): Set if installed | |
11822 | binutils supports extended .section directive needed by LTO, or | |
11823 | warn if older binutils found. | |
11824 | (LTO_BINARY_READER): New AC_SUBST'd variable. | |
11825 | (LTO_USE_LIBELF): Likewise. | |
11826 | * gcc/config.gcc (lto_binary_reader): New target-specific configure | |
11827 | variable. | |
11828 | * gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var. | |
11829 | (LTO_USE_LIBELF): Likewise. | |
11830 | * configure: Regenerate. | |
11831 | ||
11832 | * collect2.c (is_elf): Rename from this ... | |
11833 | (is_elf_or_coff): ... to this, and recognize and allow i386 COFF | |
11834 | object files in addition to ELF-formatted ones. | |
11835 | (scan_prog_file): Caller updated. Also allow for LTO info marker | |
11836 | symbol to be prefixed or not by an extra underscore. | |
11837 | ||
11838 | * config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H. | |
11839 | * config/i386/winnt.c: Also #include lto-streamer.h | |
11840 | (i386_pe_asm_named_section): Specify 1-byte section alignment for | |
11841 | LTO named sections. | |
11842 | (i386_pe_asm_output_aligned_decl_common): Add comment. | |
11843 | (i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL. | |
11844 | ||
e94ec4b2 | 11845 | 2010-04-27 Hans-Peter Nilsson <hp@bitrange.com> |
11846 | ||
ebd9ec20 | 11847 | PR target/43889 |
e94ec4b2 | 11848 | * config/mmix/mmix.md ("*divdi3_nonknuth", "*moddi3_nonknuth"): |
11849 | Add missing earlyclobber for second alternative. | |
11850 | ||
330ce56e | 11851 | 2010-04-26 Bernd Schmidt <bernds@codesourcery.com> |
11852 | ||
11853 | * df-problems.c (df_simulate_initialize_forwards): Set, don't clear, | |
11854 | bits for artificial defs at the top of the block. | |
11855 | * fwprop.c (single_def_use_enter_block): Don't call it. | |
11856 | ||
657e7797 | 11857 | 2010-04-26 Jack Howarth <howarth@bromo.med.uc.edu> |
d87f538b | 11858 | |
11859 | PR 43715 | |
11860 | * gcc/configure.ac: Use "$gcc_cv_nm -g" on darwin | |
11861 | instead of "$gcc_cv_objdump -T". | |
11862 | Use "-undefined dynamic_lookup" on darwin. | |
11863 | * gcc/configure: Regenerate. | |
11864 | ||
abc3b078 | 11865 | 2010-04-26 Jakub Jelinek <jakub@redhat.com> |
11866 | ||
11867 | PR c/43893 | |
11868 | * c-omp.c (c_finish_omp_for): Handle also EQ_EXPR. | |
11869 | ||
561ba0aa | 11870 | 2010-04-26 Nathan Froyd <froydnj@codesourcery.com> |
11871 | ||
11872 | * c-parser.c (struct c_token): Move location field up. | |
11873 | * c-tree.h (struct c_typespec): Move expr_const_operands field up. | |
11874 | (struct c_declspecs): Convert typespec_word, storage_class, and | |
11875 | default_int_p into bitfields. | |
11876 | (struct c_declarator): Move loc field up. | |
11877 | ||
609c710b | 11878 | 2010-04-26 Nathan Froyd <froydnj@codesourcery.com> |
11879 | ||
11880 | * cfgloop.h (struct loop): Move can_be_parallel field up. | |
11881 | * ipa-prop.h (struct ip_node_params): Move bitfields up. | |
11882 | * tree-ssa-loop-ivopts.c (struct version_info): Move inv_id field | |
11883 | down. | |
11884 | (struct iv_cand): Convert pos field into a bitfield. | |
11885 | * tree-vectorizer.h (struct _loop_vec_info): Move loop_line_number | |
11886 | field up. | |
11887 | (struct _stmt_vec_info): Shuffle fields for better packing. | |
11888 | ||
b145ba32 | 11889 | 2010-04-26 Eric Botcazou <ebotcazou@adacore.com> |
11890 | ||
11891 | * varasm.c (IN_NAMED_SECTION): Remove guard. | |
11892 | * config/arm/unknown-elf.h (IN_NAMED_SECTION): Rename to... | |
11893 | (IN_NAMED_SECTION_P): ...this. | |
11894 | (ASM_OUTPUT_ALIGNED_BSS): Adjust for above renaming. | |
11895 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise. | |
11896 | ||
71302876 | 11897 | 2010-04-26 Eric Botcazou <ebotcazou@adacore.com> |
11898 | ||
11899 | * gimplify.c (gimplify_cond_expr): Use THEN_ and ELSE_ local variables. | |
11900 | Use VOID_TYPE_P for all void type tests. Adjust TYPE variable instead | |
11901 | of shadowing it. Fix comments. | |
11902 | ||
125b6d78 | 11903 | 2010-04-26 Jan Hubicka <jh@suse.cz> |
11904 | ||
11905 | * cgraph.c (cgraph_create_node): Set node frequency to normal. | |
11906 | (cgraph_clone_node): Copy function frequency. | |
11907 | * cgraph.h (node_frequency): New enum | |
11908 | (struct cgraph_node): Add. | |
11909 | * final.c (rest_of_clean_state): Update. | |
11910 | * lto-cgraph.c (lto_output_node): Output node frequency. | |
11911 | (input_overwrite_node): Input node frequency. | |
11912 | * tre-ssa-loop-ivopts (computation_cost): Update. | |
71302876 | 11913 | * lto-streamer-out.c (output_function): Do not output function |
11914 | frequency. | |
11915 | * predict.c (maybe_hot_frequency_p): Update and handle functions | |
11916 | executed once. | |
125b6d78 | 11917 | (cgraph_maybe_hot_edge_p): Likewise; use cgraph frequency instead of |
11918 | attribute lookup. | |
11919 | (probably_never_executed_bb_p, optimize_function_for_size_p): Update. | |
71302876 | 11920 | (compute_function_frequency): Set noreturn functions to be executed |
11921 | once. | |
125b6d78 | 11922 | (choose_function_section): Update. |
11923 | * lto-streamer-in.c (input_function): Do not input function frequency. | |
71302876 | 11924 | * function.c (allocate_struct_function): Do not initialize function |
11925 | frequency. | |
125b6d78 | 11926 | * function.h (function_frequency): Remove. |
11927 | (struct function): Remove function frequency. | |
11928 | * ipa-profile.c (CGRAPH_NODE_FREQUENCY): Remove. | |
11929 | (try_update): Update. | |
11930 | * tree-inline.c (initialize_cfun): Do not update function frequency. | |
11931 | * passes.c (pass_init_dump_file): Update. | |
11932 | * i386.c (ix86_compute_frame_layout): Update. | |
11933 | (ix86_pad_returns): Update. | |
11934 | ||
bca0860e | 11935 | 2010-04-26 Jie Zhang <jie@codesourcery.com> |
11936 | ||
11937 | PR tree-optimization/43833 | |
11938 | * tree-vrp.c (range_int_cst_p): New. | |
11939 | (range_int_cst_singleton_p): New. | |
11940 | (extract_range_from_binary_expr): Optimize BIT_AND_EXPR case | |
11941 | when both operands are constants. Use range_int_cst_p in | |
11942 | BIT_IOR_EXPR case. | |
11943 | ||
32936803 | 11944 | 2010-04-26 Jan Hubicka <jh@suse.cz> |
11945 | ||
11946 | * cgraphunit.c (cgraph_copy_node_for_versioning): Fix profile updating. | |
11947 | ||
60d62ca4 | 11948 | 2010-04-26 Richard Guenther <rguenther@suse.de> |
11949 | ||
11950 | PR lto/43080 | |
11951 | * gimple.c (gimple_decl_printable_name): Deal gracefully | |
11952 | with a NULL DECL_NAME. | |
11953 | ||
be9d48ea | 11954 | 2010-04-26 Richard Guenther <rguenther@suse.de> |
11955 | ||
11956 | PR lto/42425 | |
11957 | * tree.c (free_lang_data_in_type): Do not free TYPE_CONTEXT | |
11958 | if emitting debug information and it is either a function | |
11959 | or a namespace decl. | |
11960 | ||
6ea6a380 | 11961 | 2010-04-26 Ira Rosen <irar@il.ibm.com> |
11962 | ||
913fc649 | 11963 | * tree-vectorizer.h (struct _stmt_vec_info): Add new field to |
11964 | determine if the statement is vectorizable, and a macro to access it. | |
11965 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
11966 | Skip statements that can't be vectorized. If the analysis fails, | |
11967 | mark the statement as unvectorizable if vectorizing basic block. | |
6ea6a380 | 11968 | (vect_compute_data_refs_alignment): Likewise. |
913fc649 | 11969 | (vect_verify_datarefs_alignment): Skip statements marked as |
6ea6a380 | 11970 | unvectorizable. Add print. |
913fc649 | 11971 | (vect_analyze_group_access): Skip statements that can't be |
11972 | vectorized. If the analysis fails, mark the statement as | |
6ea6a380 | 11973 | unvectorizable if vectorizing basic block. |
913fc649 | 11974 | (vect_analyze_data_ref_accesses, vect_analyze_data_refs): Likewise. |
11975 | * tree-vect-stmts.c (vectorizable_store): Fix the number of | |
6ea6a380 | 11976 | generated stmts for SLP. |
11977 | (new_stmt_vec_info): Initialize the new field. | |
913fc649 | 11978 | * tree-vect-slp.c (vect_build_slp_tree): Fail to vectorize |
6ea6a380 | 11979 | statements marked as unvectorizable. |
11980 | ||
39012afb | 11981 | 2010-04-25 Joseph Myers <joseph@codesourcery.com> |
11982 | ||
11983 | * c-common.c (flag_isoc1x): New. | |
11984 | (flag_isoc99): Update comment. | |
11985 | * c-common.h (flag_isoc1x): New. | |
11986 | (flag_isoc99): Update comment. | |
11987 | * c-cppbuiltin.c (builtin_define_float_constants): Also define | |
11988 | __<type>_DECIMAL_DIG__. | |
11989 | * c-opts.c (set_std_c1x): New. | |
11990 | (c_common_handle_option): Handle -std=c1x and -std=gnu1x. | |
11991 | (set_std_c89, set_std_c99): Also set flag_isoc1x to 0. | |
11992 | * c.opt (-std=c1x, -std=gnu1x): New options. | |
11993 | * doc/cpp.texi: Mention -std=c1x. | |
11994 | * doc/cppopts.texi (-std=c1x, -std=gnu1x): Document. | |
11995 | * doc/extend.texi: Mention -std=c1x and -std=gnu1x. | |
11996 | * doc/invoke.texi (-std=c1x, -std=gnu1x): Document. | |
11997 | * doc/standards.texi: Mention C1X. | |
11998 | * ginclude/float.h (FLT_DECIMAL_DIG, DBL_DECIMAL_DIG, | |
11999 | LDBL_DECIMAL_DIG, FLT_HAS_SUBNORM, DBL_HAS_SUBNORM, | |
12000 | LDBL_HAS_SUBNORM, FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN): | |
12001 | Define for C1X. | |
12002 | ||
ba75bdd5 | 12003 | 2010-04-25 Uros Bizjak <ubizjak@gmail.com> |
12004 | ||
12005 | * config/i386/gmon-sol2.c (_mcleanup): Change format string | |
12006 | placeholder from 0x%x to %#x. | |
12007 | * config/i386/i386elf.h (ASM_OUTPUT_ASCII): Ditto. | |
12008 | * config/i386/i386-interix.h (ASM_OUTPUT_ASCII): Ditto. | |
12009 | * config/i386/att.h (ASM_OUTPUT_ASCII): Ditto. | |
12010 | * config/i386/sysv4.h (ASM_OUTPUT_ASCII): Ditto. | |
12011 | * config/i386/i386.c (ix86_target_string): Ditto. | |
12012 | (output_pic_addr_const): Ditto. | |
12013 | (print_operand): Ditto. | |
12014 | ||
b420d71b | 12015 | 2010-04-25 Paolo Bonzini <bonzini@gnu.org> |
12016 | ||
12017 | * combine.c (find_split_point): Add third argument. Use it | |
12018 | to find nested multiply-accumulate instructions. Adjust calls. | |
12019 | (try_combine): Adjust call to find_split_point. | |
12020 | ||
6488fcc5 | 12021 | 2010-04-24 Gerald Pfeifer <gerald@pfeifer.com> |
12022 | ||
12023 | * doc/contrib.texi (Contributors): Add Dodji Seketeli. | |
12024 | ||
e230978b | 12025 | 2010-04-24 Bernd Schmidt <bernds@codesourcery.com> |
12026 | ||
12027 | PR tree-optimization/41442 | |
12028 | * fold-const.c (merge_truthop_with_opposite_arm): New function. | |
12029 | (fold_binary_loc): Call it. | |
12030 | ||
3fee9a69 | 12031 | 2010-04-23 Manuel López-Ibáñez <manu@gcc.gnu.org> |
12032 | ||
ba75bdd5 | 12033 | * toplev.c (general_init): Set default for fdiagnostics-show-option. |
3fee9a69 | 12034 | * opts.c (common_handle_option): Allow disabling it. |
ba75bdd5 | 12035 | * common.opt (fdiagnostics-show-option): Add Var. Enabled by default. |
12036 | ||
f235634e | 12037 | 2010-04-23 Eric Botcazou <ebotcazou@adacore.com> |
12038 | ||
12039 | * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Only use conversion | |
12040 | between modes if both types are integral. | |
12041 | ||
8081b5e7 | 12042 | 2010-04-23 Richard Guenther <rguenther@suse.de> |
12043 | ||
12044 | PR tree-optimization/43572 | |
12045 | * tree-tailcall.c (find_tail_calls): Allow PARM_DECL uses. | |
12046 | ||
33d8f019 | 12047 | 2010-04-23 Richard Guenther <rguenther@suse.de> |
12048 | ||
12049 | PR lto/43455 | |
12050 | * tree-inline.c (tree_can_inline_p): Also check compatibility | |
12051 | of return types. | |
12052 | ||
7038698b | 12053 | 2010-04-23 Martin Jambor <mjambor@suse.cz> |
12054 | ||
12055 | PR tree-optimization/43846 | |
12056 | * tree-sra.c (struct access): New flag grp_assignment_read. | |
12057 | (build_accesses_from_assign): Set grp_assignment_read. | |
12058 | (sort_and_splice_var_accesses): Propagate grp_assignment_read. | |
12059 | (enum mark_read_status): New type. | |
12060 | (analyze_access_subtree): Propagate grp_assignment_read, create | |
12061 | accesses also if both direct_read and root->grp_assignment_read. | |
12062 | ||
8cef76a0 | 12063 | 2010-04-23 Martin Jambor <mjambor@suse.cz> |
12064 | ||
12065 | PR middle-end/43835 | |
12066 | * tree-sra.c (ipa_sra_preliminary_function_checks): Check that the | |
12067 | function does not have type attributes. | |
12068 | ||
712afa45 | 12069 | 2010-04-23 Richard Guenther <rguenther@suse.de> |
12070 | ||
12071 | PR lto/42653 | |
12072 | * tree.c (free_lang_data_in_decl): Do not reset DECL_CONTEXT | |
12073 | of FUNCTION_DECLs. | |
12074 | ||
2bf96dd7 | 12075 | 2010-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
12076 | ||
12077 | * sese.h (create_if_region_on_edge): Remove. | |
12078 | ||
12079 | * sese.c (create_if_region_on_edge): Make static. | |
12080 | ||
12081 | * tree-inline.c: Do not include ggc.h. | |
12082 | ||
12083 | * expr.c: Do not include ggc.h. | |
12084 | ||
12085 | * Makefile.in (tree-inline.o, expr.o): Remove $(GGC_H) from | |
12086 | dependencies. | |
12087 | ||
0152fbc1 | 12088 | 2010-04-22 Kaz Kojima <kkojima@gcc.gnu.org> |
12089 | ||
12090 | PR target/43744 | |
12091 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
12092 | in the middle of insns for casesi_worker_2. | |
12093 | ||
3c31be88 | 12094 | 2010-04-22 David Edelsohn <edelsohn@gnu.org> |
12095 | ||
12096 | * config/rs6000/x-aix: Override LDFLAGS for all COMPILERS. | |
12097 | ||
12098 | 2010-04-22 Ira Rosen <irar@il.ibm.com> | |
47deb25f | 12099 | |
c10b9de6 | 12100 | PR tree-optimization/43842 |
82f5958d | 12101 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Handle |
47deb25f | 12102 | loop unrolling in update of exit phis. Fix comment. |
12103 | * tree-vect-slp.c (vect_analyze_slp): Check that there are at | |
82f5958d | 12104 | least two reduction statements in the loop before starting SLP |
47deb25f | 12105 | analysis. |
12106 | ||
7454e6c5 | 12107 | 2010-04-22 Nick Clifton <nickc@redhat.com> |
12108 | ||
12109 | * config/stormy16/stormy16-lib2.c (__ucmpsi2): Fix thinko. | |
12110 | ||
50fa62c6 | 12111 | 2010-04-22 Alexander Monakov <amonakov@ispras.ru> |
12112 | ||
12113 | * tree-ssa-reassoc.c (eliminate_plus_minus_pair): Handle BIT_NOT_EXPR | |
12114 | to simplify a + ~a. | |
12115 | ||
1e33ad50 | 12116 | 2010-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
12117 | ||
12118 | * tree-parloops.c (loop_parallel_p): New argument | |
12119 | parloop_obstack. Pass it down. | |
12120 | (parallelize_loops): New variable parloop_obstack. Initialize it, | |
12121 | pass it down, free it. | |
12122 | ||
12123 | * tree-loop-linear.c (linear_transform_loops): Pass down | |
12124 | lambda_obstack. | |
12125 | ||
12126 | * tree-data-ref.h (lambda_compute_access_matrices): New argument | |
12127 | of type struct obstack *. | |
12128 | ||
12129 | * tree-data-ref.c (analyze_subscript_affine_affine): New variable | |
12130 | scratch_obstack. Initialize it, pass down, free it. | |
12131 | ||
12132 | * lambda.h (lambda_loop_new): Remove. | |
12133 | (lambda_matrix_new, lambda_matrix_inverse) | |
12134 | (lambda_trans_matrix_new, lambda_trans_matrix_inverse): New | |
12135 | argument of type struct obstack *. | |
12136 | ||
12137 | * lambda-trans.c (lambda_trans_matrix_new): New argument | |
12138 | lambda_obstack. Pass it down, use obstack allocation for ret. | |
12139 | (lambda_trans_matrix_inverse): New argument lambda_obstack. Pass | |
12140 | it down. | |
12141 | ||
12142 | * lambda-mat.c (lambda_matrix_get_column) | |
12143 | (lambda_matrix_project_to_null): Remove. | |
12144 | (lambda_matrix_new): New argument lambda_obstack. Use obstack | |
12145 | allocation for mat. | |
12146 | (lambda_matrix_inverse_hard, lambda_matrix_inverse): New argument | |
12147 | lambda_obstack. | |
12148 | ||
12149 | * lambda-code.c (lambda_loop_new): New function. | |
12150 | (lambda_lattice_new, compute_nest_using_fourier_motzkin) | |
12151 | (lambda_compute_auxillary_space, lambda_compute_target_space) | |
12152 | (lambda_loopnest_transform, gcc_loop_to_lambda_loop) | |
12153 | (lambda_loopnest_to_gcc_loopnest): Pass down lambda_obstack. | |
12154 | (build_access_matrix): New argument lambda_obstack. Use obstack | |
12155 | allocation for am. | |
12156 | (lambda_compute_step_signs, lambda_compute_access_matrices): New | |
12157 | argument lambda_obstack. Pass it down. | |
12158 | ||
0ca212b8 | 12159 | 2010-04-22 Bernd Schmidt <bernds@codesourcery.com> |
12160 | ||
12161 | * optabs.h (expand_widening_mult): Declare. | |
12162 | ||
80ebf6ea | 12163 | 2010-04-22 Richard Guenther <rguenther@suse.de> |
12164 | ||
12165 | PR tree-optimization/43845 | |
12166 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Properly | |
12167 | lookup the CALL_EXPR function and arguments. | |
12168 | ||
579a6158 | 12169 | 2010-04-22 Nick Clifton <nickc@redhat.com> |
12170 | ||
12171 | * config/stormy16/stormy16.c | |
82f5958d | 12172 | (xstormy16_asm_output_aligned_common): Handle a NULL decl parameter. |
579a6158 | 12173 | * config/stormy16/stormy16.h: Tidy up formatting. |
12174 | (DONT_USE_BUILTIN_SETJMP): Remove definition. | |
12175 | * config/stormy16/stormy16.c (cbranchsi4): Delete pattern. | |
12176 | (ineqbranchsi): Delete pattern. | |
12177 | * config/stormy16/stormy16-lib2-ucmpsi2.c: New file. | |
12178 | * config/stormy16/stormy16-lib2.c (__ucmpsi2): New function. | |
12179 | * config/stormy16/t-stormy16 (LIB2FUNCS_EXTRA): Add | |
12180 | stormy16-lib2-ucmpsi2.c. | |
12181 | ||
f1565c91 | 12182 | 2010-04-22 Bernd Schmidt <bernds@codesourcery.com> |
12183 | ||
12184 | * ifcvt.c (dead_or_predicable): Use df_simulate_find_defs and | |
12185 | df_simulate_find_noclobber_defs as appropriate. Keep track of an | |
12186 | extra set merge_set_noclobber, and use it to relax the final test | |
12187 | slightly. | |
12188 | * df.h (df_simulate_find_noclobber_defs): Declare. | |
12189 | * df-problems.c (df_simulate_find_defs): Don't ignore partial or | |
12190 | conditional defs. | |
12191 | (df_simulate_find_noclobber_defs): New function. | |
12192 | ||
24bd4421 | 12193 | 2010-04-22 Uros Bizjak <ubizjak@gmail.com> |
12194 | ||
12195 | * config/i386/i386.md: Use {} around multi-line preparation statements. | |
12196 | ||
759791ee | 12197 | 2010-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
12198 | ||
12199 | * c-tree.h (push_init_level, pop_init_level, set_init_index) | |
12200 | (process_init_element): New argument of type struct obstack *. | |
12201 | ||
12202 | * c-typeck.c (push_init_level, pop_init_level, set_designator) | |
12203 | (set_init_index, set_init_label, set_nonincremental_init) | |
12204 | (set_nonincremental_init_from_string, find_init_member) | |
12205 | (output_init_element, output_pending_init_elements) | |
12206 | (process_init_element): New argument braced_init_obstack. Pass it | |
12207 | down. | |
12208 | (push_range_stack, add_pending_init): New argument | |
12209 | braced_init_obstack. Use obstack allocation. | |
12210 | ||
12211 | * c-parser.c (c_parser_initelt, c_parser_initval): New argument | |
12212 | braced_init_obstack. Pass it down. | |
12213 | (c_parser_braced_init): New variables ret, braced_init_obstack. | |
12214 | Initialize obstack, pass it down and finally free it. | |
12215 | ||
62be004c | 12216 | 2010-04-22 Bernd Schmidt <bernds@codesourcery.com> |
12217 | ||
12218 | PR middle-end/29274 | |
62be004c | 12219 | * tree-pass.h (pass_optimize_widening_mul): Declare. |
12220 | * tree-ssa-math-opts.c (execute_optimize_widening_mul, | |
12221 | gate_optimize_widening_mul): New static functions. | |
12222 | (pass_optimize_widening_mul): New. | |
ba75bdd5 | 12223 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: New case. |
62be004c | 12224 | <case MULT_EXPR>: Remove support for widening multiplies. |
12225 | * tree.def (WIDEN_MULT_EXPR): Tweak comment. | |
12226 | * cfgexpand.c (expand_debug_expr) <case WIDEN_MULT_EXPR>: Use | |
12227 | simplify_gen_unary rather than directly building extensions. | |
12228 | * tree-cfg.c (verify_gimple_assign_binary): Add tests for | |
12229 | WIDEN_MULT_EXPR. | |
12230 | * expmed.c (expand_widening_mult): New function. | |
12231 | * passes.c (init_optimization_passes): Add pass_optimize_widening_mul. | |
12232 | ||
5a2aecd6 | 12233 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
12234 | ||
12235 | * timevar.def (TV_WHOPR_WPA_FIXUP): Remove. | |
12236 | * lto-section-in.c (lto_section_name): Remove wpa_fixup. | |
12237 | * lto-wpa-fixup.c: Remove. | |
12238 | * Makefile.in (lto-wpa-fixup.o): Remove. | |
12239 | * passes.c (init_optimization_passes): Remove pass_ipa_lto_wpa_fixup. | |
12240 | (execute_all_ipa_transforms): Set cgraph_state to CGRAPH_STATE_IPA_SSA. | |
12241 | * lto-streamer.c (lto_get_section_name): Remove wpa_fixup section. | |
12242 | ||
ddc90d88 | 12243 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
12244 | ||
12245 | * tree-pass.h (ipa_opt_pass_d): Rename function_read_summary; | |
12246 | add write_optimization_summary, read_optimization_summary. | |
12247 | (ipa_write_summaries_of_cgraph_node_set): Remove. | |
12248 | (ipa_write_optimization_summaries): Declare. | |
12249 | (ipa_read_optimization_summaries): Declare. | |
12250 | * ipa-cp.c (pass_ipa_cp): Update. | |
12251 | * ipa-reference.c (pass_ipa_reference): Update. | |
12252 | * ipa-pure-const.c (pass_ipa_pure_const): Update. | |
12253 | * lto-streamer-out.c (pass_ipa_lto_gimple, pass_ipa_lto_finish): | |
12254 | Update. | |
12255 | * ipa-inline.c (pass_ipa_inline): Update. | |
12256 | * ipa.c (pass_ipa_whole_program): Update. | |
12257 | * lto-wpa-fixup.c (pass_ipa_lto_wpa_fixup): Update. | |
12258 | * passes.c (ipa_write_summaries_1): Do not test wpa. | |
12259 | (ipa_write_optimization_summaries_1): New. | |
12260 | (ipa_write_optimization_summaries): New. | |
12261 | (ipa_read_summaries): Do not test ltrans. | |
12262 | (ipa_read_optimization_summaries_1): New. | |
12263 | (ipa_read_optimization_summaries): New. | |
12264 | ||
4fedf884 | 12265 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
12266 | ||
12267 | * lto-cgraph.c (lto_output_node): Do not output comdat groups | |
12268 | for boundary nodes. | |
12269 | (output_cgraph): Do not arrange comdat groups for boundary nodes. | |
12270 | ||
f9e293e5 | 12271 | 2010-04-21 Jakub Jelinek <jakub@redhat.com> |
12272 | ||
12273 | PR debug/40040 | |
12274 | * dwarf2out.c (add_name_and_src_coords_attributes): Add | |
12275 | DW_AT_{,MIPS_}linkage_name even for Fortran decls. | |
12276 | ||
509414a5 | 12277 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
12278 | ||
12279 | * ipa-prop.c (ipa_edge_removal_hook): Check for bounds. | |
12280 | ||
e288c7a9 | 12281 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
12282 | ||
12283 | * varpool.c (decide_is_variable_needed): Variable is always needed | |
12284 | during ltrans. | |
12285 | ||
f855a9b7 | 12286 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
12287 | ||
12288 | * opts.c (decode_options): Enable pure-const pass for whopr. | |
12289 | ||
6d61f3f9 | 12290 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
12291 | ||
12292 | * cgraph.c (dump_cgraph_node): Dump also assembler name. | |
12293 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Do not ice | |
12294 | at WPA dumping. | |
12295 | (cgraph_decide_inlining): Do not expect callee to be removed in all | |
12296 | cases. | |
12297 | ||
f247be10 | 12298 | 2010-04-21 Eric B. Weddington <eric.weddington@atmel.com> |
12299 | ||
12300 | * config/avr/avr-devices.c (avr_mcu_types): Add missing comma. | |
12301 | ||
2cd7ed52 | 12302 | 2010-04-21 Uros Bizjak <ubizjak@gmail.com> |
12303 | ||
12304 | * config/i386/i386.md (x86_shrd): Add athlon_decode and | |
12305 | amdfam10_decode attributes. | |
12306 | ||
cb561506 | 12307 | 2010-04-21 Jakub Jelinek <jakub@redhat.com> |
12308 | ||
12309 | PR middle-end/43570 | |
12310 | * omp-low.c (scan_sharing_clauses): Don't scan_omp_op | |
12311 | OMP_CLAUSE_DECL for OMP_CLAUSE_COPYPRIVATE. | |
12312 | (lower_copyprivate_clauses): Use private var in outer | |
12313 | context instead of original var. Make sure the types | |
12314 | are correct for VLAs. | |
12315 | ||
b2c2343f | 12316 | 2010-04-21 Richard Guenther <rguenther@suse.de> |
12317 | ||
12318 | * tree-ssa-structalias.c (do_ds_constraint): Avoid escaping | |
12319 | to non-pointer objects. | |
12320 | ||
76a1250d | 12321 | 2010-04-21 Jakub Jelinek <jakub@redhat.com> |
12322 | ||
8c7e2a7b | 12323 | * dwarf2out.c (add_var_loc_to_decl): Add LABEL argument. Drop |
12324 | last chain entry if it starts with the still current label. | |
12325 | (add_location_or_const_value_attribute): Check that | |
24bd4421 | 12326 | loc_list->first->next is NULL instead of comparing ->first with ->last. |
8c7e2a7b | 12327 | (dwarf2out_var_location): Pass last_label resp. last_postcall_label |
12328 | to add_var_loc_to_decl. | |
12329 | ||
76a1250d | 12330 | * dwarf2out.c (output_call_frame_info): For dw_cie_version |
24bd4421 | 12331 | >= 4 add also address size and segment size fields into CIE header. |
76a1250d | 12332 | |
12333 | * unwind-dw2.c (extract_cie_info): Handle CIE version 4, as | |
12334 | long as address size is the same as sizeof (void *) and | |
12335 | segment size is 0. | |
12336 | * unwind-dw2-fde.c (get_cie_encoding): Likewise. If | |
12337 | address size or segment size is unexpected, return DW_EH_PE_omit. | |
12338 | (classify_object_over_fdes): If get_cie_encoding returned | |
12339 | DW_EH_PE_omit, return -1. | |
12340 | (init_object): If classify_object_over_fdes returned -1, | |
12341 | pretend there were no FDEs at all. | |
12342 | ||
41edf0a1 | 12343 | 2010-04-21 Uros Bizjak <ubizjak@gmail.com> |
12344 | ||
12345 | * config/i386/i386.md (bswap<mode>2): Macroize expander from | |
12346 | bswap{si,di}2 using SWI48 mode iterator. | |
12347 | (*bswap<mode>2_movbe): Macroize insn from *bswap{si,di}_movbe using | |
12348 | SWI48 mode iterator. Set type attribute of bswap insn to bitmanip, | |
12349 | set modrm attribute of bswap insn to 0 and remove length attribute. | |
12350 | (*bswap<mode>2_1): Macroize insn from *bswap{si,di}_1 using SWI48 mode | |
12351 | iterator. Set type attribute to bitmanip, set modrm attribute to 0, | |
12352 | set mode attribute to <MODE> and remove length attribute. | |
12353 | ||
0cc9609c | 12354 | 2010-04-20 James E. Wilson <wilson@codesourcery.com> |
12355 | ||
12356 | PR rtl-optimization/43520 | |
12357 | * ira-lives.c (ira_implicitly_set_insn_hard_regs): Exclude classes with | |
12358 | zero available registers. | |
12359 | ||
b4c7e601 | 12360 | 2010-04-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12361 | ||
12362 | * builtins.c (fold_builtin_cproj): Fold more cases. | |
12363 | ||
c2373fdb | 12364 | 2010-04-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12365 | ||
12366 | * builtins.c (build_complex_cproj, fold_builtin_cproj): New. | |
12367 | (fold_builtin_1): Fold builtin cproj. | |
12368 | * builtins.def (BUILT_IN_CPROJ, BUILT_IN_CPROJF, BUILT_IN_CPROJL): | |
12369 | Use ATTR_CONST_NOTHROW_LIST. | |
12370 | ||
b5a754c1 | 12371 | 2010-04-20 Uros Bizjak <ubizjak@gmail.com> |
12372 | ||
12373 | * config/i386/i386.md (ffs<mode>2): Macroize expander from ffs_cmove | |
12374 | and ffsdi2 using SWI48 mode iterator. Expand SImode insn through | |
12375 | ffsi2_no_cmove for !TARGET_CMOVE. | |
12376 | (ffssi2_no_cmove): Rename from *ffs_no_cmove. Make public. | |
12377 | (ffssi2): Remove expander. | |
12378 | (*ffs<mode>_1): Macroize insn from *ffs{si,di} using SWI48 | |
12379 | mode iterator. | |
12380 | (ctz<mode>2): Ditto from ctz{si,di}2. | |
12381 | (clz<mode>2): Macroize expander from ctz{hi,si,di}2 using SWI248 | |
12382 | mode iterator. | |
12383 | (clz<mode>2_abm): Macroize insn from clz{hi,si,di}2_abm using SWI248 | |
12384 | mode iterator. | |
12385 | ||
a6d38f07 | 12386 | 2010-04-20 Jakub Jelinek <jakub@redhat.com> |
12387 | ||
12388 | * dwarf2out.c (AT_linkage_name): Define. | |
12389 | (clone_as_declaration): Handle DW_AT_linkage_name. | |
12390 | (add_name_and_src_coords_attributes): Use AT_linkage_name instead | |
12391 | of DW_AT_MIPS_linkage_name. | |
12392 | (move_linkage_attr): Likewise. | |
12393 | (dwarf2out_finish): Likewise. | |
12394 | ||
2b6cd5e4 | 12395 | 2010-04-20 Xinliang David Li <davidxl@gcc.gnu.org> |
12396 | ||
12397 | PR middle-end/41952 | |
b5a754c1 | 12398 | * fold-const.c (fold_comparison): New folding rule. |
2b6cd5e4 | 12399 | |
a6d38f07 | 12400 | 2010-04-20 Anatoly Sokolov <aesok@post.ru> |
3e052aec | 12401 | |
12402 | * double-int.h (double_int_setbit): Declare. | |
12403 | * double-int.c (double_int_setbit): New function. | |
12404 | * rtl.h (immed_double_int_const): Declare. | |
12405 | * emit-rtl.c (immed_double_int_const): New function. | |
12406 | * builtins.c (expand_builtin_signbit): Clean up, use double_int_* | |
12407 | and immed_double_int_const functions. | |
12408 | * optabs.c (expand_absneg_bit, expand_copysign_absneg, | |
12409 | expand_copysign_bit): (Ditto.). | |
12410 | * simplify-rtx.c (simplify_binary_operation_1): (Ditto.). | |
12411 | * tree-ssa-address.c (addr_for_mem_ref): (Ditto.). | |
12412 | * dojump.c (prefer_and_bit_test): (Ditto.). | |
12413 | * expr.c (convert_modes, reduce_to_bit_field_precision, | |
12414 | const_vector_from_tree): (Ditto.). | |
12415 | * expmed.c (mask_rtx, lshift_value): (Ditto.). | |
12416 | ||
08843223 | 12417 | 2010-04-20 Jan Hubicka <jh@suse.cz> |
12418 | ||
12419 | * cgraph.c (cgraph_remove_node): Kill bodies in other partitoin. | |
12420 | (dump_cgraph_node): Dump new flags. | |
b5a754c1 | 12421 | * cgraph.h (struct cgraph_node): Add flags |
12422 | reachable_from_other_partition and in_other_partition. | |
12423 | (cgraph_can_remove_if_no_direct_calls_p): Functions used by | |
12424 | other partition can not be removed. | |
12425 | * cgraphunit.c (cgraph_mark_functions_to_output): Functions used by | |
12426 | the other partition must be output; silence sanity checking on | |
12427 | leaking functions bodies from other paritition. | |
08843223 | 12428 | * lto-cgraph.c (reachable_from_other_partition_p): New function. |
12429 | (lto_output_node): Output new flags; do not sanity check that inline | |
12430 | clones are output; drop lto_forced_extern_inline_p code; do not mock | |
12431 | visibility flags at partition boundaries. | |
12432 | (add_node_to): New function. | |
12433 | (output_cgraph): Use it to sort functions so masters appear before | |
12434 | clones. | |
12435 | (input_overwrite_node): Input new flags. | |
12436 | * passes.c (ipa_write_summaries): Do not call | |
12437 | lto_new_extern_inline_states. | |
77204665 | 12438 | * lto-section-out.c (forced_extern_inline, |
12439 | lto_new_extern_inline_states lto_delete_extern_inline_states, | |
12440 | lto_force_functions_extern_inline, lto_forced_extern_inline_p): Kill. | |
08843223 | 12441 | * lto-streamer.h (lto_new_extern_inline_states, |
12442 | * lto_delete_extern_inline_states, lto_force_functions_extern_inline, | |
12443 | lto_forced_extern_inline_p): Kill. | |
12444 | ||
e1148535 | 12445 | 2010-04-20 Richard Guenther <rguenther@suse.de> |
12446 | ||
12447 | * tree-ssa-structalias.c (do_sd_constraint): Add edges only | |
12448 | from vars that can have pointers. | |
12449 | (process_constraint): Dump useless constraints. | |
12450 | ||
3eaadea6 | 12451 | 2010-04-20 Richard Guenther <rguenther@suse.de> |
12452 | ||
b5a754c1 | 12453 | * tree-ssa-structalias.c (do_structure_copy): Properly handle DEREF. |
3eaadea6 | 12454 | (dump_sa_points_to_info): Remove asserts. |
12455 | (init_base_vars): nothing_id isn't an escape point nor does it | |
12456 | have pointers. | |
12457 | ||
678b5e9b | 12458 | 2010-04-20 Jakub Jelinek <jakub@redhat.com> |
12459 | ||
12460 | * tree.h (TYPE_REF_IS_RVALUE): Define. | |
12461 | * dwarf2out.c (attr_checksum_ordered, is_type_die, is_comdat_die, | |
12462 | should_move_die_to_comdat, prune_unused_types_walk): Handle | |
12463 | DW_TAG_rvalue_reference_type like DW_TAG_reference_type. | |
12464 | (modified_type_die, gen_reference_type_die): Emit | |
12465 | DW_TAG_rvalue_reference_type instead of DW_TAG_reference_type | |
12466 | if TYPE_REF_IS_RVALUE and -gdwarf-4. | |
12467 | ||
9c7185f7 | 12468 | 2010-04-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12469 | ||
12470 | PR target/43635 | |
12471 | * config/s390/s390.c (s390_emit_call): Turn direct into indirect | |
12472 | calls for -fpic -m31 if they have been sibcall optimized. | |
12473 | ||
1dd98d5a | 12474 | 2010-04-19 James E. Wilson <wilson@codesourcery.com> |
12475 | ||
1e6fdd40 | 12476 | * config/ia64/ia64.h (FIXED_REGISTERS, CALL_USED_REGISTERS): Make |
12477 | ar.lc fixed and call-used. | |
12478 | ||
1dd98d5a | 12479 | * config/ia64/ia64.c (TARGET_INVALID_WITHIN_DOLOOP): Define. |
12480 | ||
e7eaba7b | 12481 | 2010-04-19 Jan Hubicka <jh@suse.cz> |
12482 | ||
12483 | * opts.c (decode_options): Disable whpr incompatible passes. | |
12484 | * lto/lto.c (lto_1_to_1_map): Skip clones. | |
12485 | (read_cgraph_and_symbols): Do not mark everything as needed. | |
12486 | (do_whole_program_analysis): Do map only after optimizing; | |
12487 | set proper cgraph_state; use passmanager. | |
12488 | ||
af3d13d6 | 12489 | 2010-04-19 DJ Delorie <dj@redhat.com> |
12490 | ||
12491 | * cfgexpand.c (expand_debug_expr): Check for mismatched modes in | |
12492 | POINTER_PLUS_EXPR and fix them. | |
12493 | ||
ee5aed24 | 12494 | 2010-04-19 Eric B. Weddington <eric.weddington@atmel.com> |
12495 | ||
12496 | * config/avr/avr-devices.c (avr_mcu_types): Add support for new | |
12497 | devices atmega644pa, attiny2313a, attiny24a, attiny261a, attiny4313, | |
12498 | attiny44a, attiny861a, atmega16a, atmega168a, atmega164a, atmega165a, | |
12499 | atmega169a, atmega169pa, atmega16hva2, atmega324a, atmega324pa, | |
12500 | atmega325a, atmega3250a, atmega328, atmega329a, atmega329pa, | |
12501 | atmega3290a, atmega48a, atmega644a, atmega645a, atmega645p, | |
12502 | atmega6450a, atmega6450p, atmega649a, atmega649p, atmega6490a, | |
12503 | atmega6490p, atmega64hve, atmega88a, atmega88pa, attiny461a, attiny84a, | |
12504 | m3000. Remove support for devices atmega8m1, atmega8c1, atmega16c1, | |
12505 | atmega4hvd, atmega8hvd, attiny327, m3000f, m3000s, m3001b. | |
12506 | * config/avr/t-avr.c (MULTILIB_MATCHES): Same. | |
12507 | ||
76b61550 | 12508 | 2010-04-19 Eric Botcazou <ebotcazou@adacore.com> |
12509 | ||
12510 | * ifcvt.c (noce_try_cmove_arith): Fix long lines. | |
12511 | (check_cond_move_block): Likewise. | |
12512 | (cond_move_process_if_block): Likewise. | |
12513 | (noce_find_if_block): Improve formatting. | |
12514 | (find_if_header): Pass 0 to memset and tweak conditions. | |
12515 | (cond_exec_find_if_block): Fix long lines and tweak conditions. | |
12516 | ||
ce2646e8 | 12517 | 2010-04-19 Jakub Jelinek <jakub@redhat.com> |
12518 | ||
b5a754c1 | 12519 | * dwarf2out.c (lower_bound_default): For DW_LANG_Python return 0 |
12520 | for -gdwarf-4. | |
ce2646e8 | 12521 | |
c46df3b1 | 12522 | PR middle-end/43337 |
12523 | * tree-nested.c (convert_nonlocal_omp_clauses): OMP_CLAUSE_PRIVATE | |
12524 | with non-local decl doesn't need chain. | |
12525 | ||
fe15436a | 12526 | 2010-04-19 Vladimir Makarov <vmakarov@redhat.com> |
12527 | ||
12528 | * ira-color.c (allocno_reload_assign): Avoid accumulating | |
12529 | reload registers in ALLOCNO_TOTAL_CONFLICT_HARD_REGS. | |
12530 | ||
2ac51e48 | 12531 | 2010-04-19 Martin Jambor <mjambor@suse.cz> |
12532 | ||
12533 | * gimple.h (create_tmp_reg): Declare. | |
12534 | * gimplify.c (create_tmp_reg): New function. | |
12535 | (gimplify_return_expr): Use create_tmp_reg. | |
12536 | (gimplify_omp_atomic): Likewise. | |
12537 | (gimple_regimplify_operands): Likewise. | |
12538 | * tree-dfa.c (make_rename_temp): Likewise. | |
12539 | * tree-predcom.c (predcom_tmp_var): Likewise. | |
12540 | (reassociate_to_the_same_stmt): Likewise. | |
12541 | * tree-sra.c (replace_uses_with_default_def_ssa_name): Likewise. | |
12542 | (get_replaced_param_substitute): Likewise. | |
12543 | * tree-ssa-phiprop.c (phiprop_insert_phi): Likewise. | |
12544 | * tree-ssa-phiopt.c (cond_store_replacement): Likewise. | |
12545 | * tree-ssa-pre.c (get_representative_for): Likewise. | |
12546 | (create_expression_by_pieces): Likewise. | |
12547 | * tree-tailcall.c (adjust_return_value_with_ops): Likewise. | |
12548 | (create_tailcall_accumulator): Likewise. | |
12549 | ||
e32916b6 | 12550 | 2010-04-19 Martin Jambor <mjambor@suse.cz> |
12551 | ||
12552 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update | |
12553 | new_stmt. | |
12554 | (cgraph_materialize_all_clones): Assert !need_ssa_update_p. | |
12555 | ||
9300c776 | 12556 | 2010-04-19 Richard Guenther <rguenther@suse.de> |
12557 | ||
12558 | PR tree-optimization/43796 | |
12559 | * tree-vrp.c (adjust_range_with_scev): Lookup init and step | |
12560 | from SCEV in the lattice. | |
12561 | (vrp_visit_phi_node): Dump change. | |
12562 | ||
993c1715 | 12563 | 2010-04-19 Richard Guenther <rguenther@suse.de> |
12564 | ||
12565 | * configure.ac: Fix quoting around elf_getshstrndx ABI check. | |
12566 | * configure: Re-generated. | |
12567 | ||
d6b951b8 | 12568 | 2010-04-19 Richard Guenther <rguenther@suse.de> |
12569 | ||
12570 | PR tree-optimization/43783 | |
12571 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Drop | |
12572 | constant ARRAY_REF operands two and three if possible. | |
12573 | ||
1870b3a0 | 12574 | 2010-04-19 Uros Bizjak <ubizjak@gmail.com> |
12575 | ||
12576 | PR target/43766 | |
12577 | * config/i386/i386.c (ix86_decompose_address): Handle ASHIFT addends. | |
12578 | ||
ea687d00 | 12579 | 2010-04-19 Jie Zhang <jie@codesourcery.com> |
12580 | ||
12581 | PR target/43662 | |
1870b3a0 | 12582 | * reginfo.c (reinit_regs): Set caller_save_initialized_p to false. |
ea687d00 | 12583 | |
82f5958d | 12584 | 2010-04-19 Ira Rosen <irar@il.ibm.com> |
eefa05c8 | 12585 | |
12586 | PR tree-optimization/37027 | |
b5a754c1 | 12587 | * tree-vectorizer.h (struct _loop_vec_info): Add new field reductions |
eefa05c8 | 12588 | and macro to access it. |
12589 | (vectorizable_reduction): Add argument. | |
12590 | (vect_get_slp_defs): Likewise. | |
12591 | * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Collect reduction | |
12592 | statements for possible use in SLP. | |
12593 | (new_loop_vec_info): Initialize LOOP_VINFO_REDUCTIONS. | |
12594 | (destroy_loop_vec_info): Free LOOP_VINFO_REDUCTIONS. | |
12595 | (vect_create_epilog_for_reduction): Handle SLP. Modify documentation, | |
12596 | add new argument. | |
12597 | (vectorizable_reduction): Likewise. | |
b5a754c1 | 12598 | * tree-vect-stmts.c (vect_get_vec_defs): Update call to |
eefa05c8 | 12599 | vect_get_slp_defs. |
12600 | (vectorizable_type_demotion, vectorizable_type_promotion, | |
12601 | vectorizable_store): Likewise. | |
12602 | (vect_analyze_stmt): Update call to vectorizable_reduction. | |
12603 | (vect_transform_stmt): Likewise. | |
12604 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Handle reduction. | |
12605 | (vect_build_slp_tree): Fix indentation. Check that there are no loads | |
12606 | from different interleaving chains in same node. | |
12607 | (vect_slp_rearrange_stmts): New function. | |
b5a754c1 | 12608 | (vect_supported_load_permutation_p): Allow load permutations for |
eefa05c8 | 12609 | reductions. Call vect_slp_rearrange_stmts() to rearrange statements |
12610 | inside SLP nodes if necessary. | |
12611 | (vect_analyze_slp_instance): Handle reductions. | |
12612 | (vect_analyze_slp): Try to build SLP instances originating from groups | |
12613 | of reductions. | |
12614 | (vect_detect_hybrid_slp_stmts): Skip reduction statements. | |
12615 | (vect_get_constant_vectors): Create initial vectors for reductions | |
12616 | according to reduction code. Add new argument. | |
b5a754c1 | 12617 | (vect_get_slp_defs): Add new argument, pass it to |
eefa05c8 | 12618 | vect_get_constant_vectors. |
12619 | (vect_schedule_slp_instance): Remove SLP tree root statements. | |
12620 | ||
7765d0db | 12621 | 2010-04-19 Jakub Jelinek <jakub@redhat.com> |
12622 | ||
12623 | * tree.h (ENUM_IS_SCOPED): Define. | |
12624 | * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_enum_class | |
12625 | for ENUM_IS_SCOPED enums. | |
12626 | ||
ad086ed4 | 12627 | 2010-04-18 Eric Botcazou <ebotcazou@adacore.com> |
12628 | ||
12629 | * fold-const.c (fold_comparison): Use ssizetype. | |
12630 | * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise. | |
12631 | * ipa-prop.c (ipa_modify_call_arguments): Use sizetype. | |
12632 | * tree-loop-distribution.c (build_size_arg_loc): Likewise. | |
12633 | * tree-object-size.c (compute_object_sizes): Use size_type_node. | |
12634 | ||
12635 | * tree.h (initialize_sizetypes): Remove parameter. | |
12636 | (build_common_tree_nodes): Remove second parameter. | |
12637 | * stor-layout.c (initialize_sizetypes): Remove parameter. | |
12638 | Always create an unsigned type. | |
12639 | (set_sizetype): Assert that the passed type is unsigned and simplify. | |
12640 | * tree.c (build_common_tree_nodes): Remove second parameter. | |
12641 | Adjust call to initialize_sizetypes. | |
12642 | * c-decl.c (c_init_decl_processing): Remove second argument in call to | |
12643 | build_common_tree_nodes. | |
12644 | ||
f9f6abc1 | 12645 | 2010-04-18 Matthias Klose <doko@ubuntu.com> |
12646 | ||
12647 | * gcc.c (main): Search for liblto_plugin.so with mode R_OK. | |
12648 | ||
82f5958d | 12649 | 2010-04-18 Ira Rosen <irar@il.ibm.com> |
4cfb69c8 | 12650 | |
12651 | PR tree-optimization/43771 | |
12652 | * tree-vect-slp.c (vect_supported_load_permutation_p): Check that | |
12653 | load permutation doesn't have gaps. | |
12654 | ||
7203f8f0 | 12655 | 2010-04-18 Jan Hubicka <jh@suse.cz> |
12656 | ||
12657 | * i386.md (UNSPEC_SSE_PROLOGUE_SAVE_LOW): New. | |
12658 | (sse_prologue_save_insn expander): Use new pattern. | |
12659 | (sse_prologue_save_insn1): New pattern and splitter. | |
12660 | (sse_prologue_save_insn): Update to deal also with 64bit aligned | |
12661 | blocks. | |
1870b3a0 | 12662 | * i386.c (setup_incoming_varargs_64): Do not compute jump |
12663 | destination here. | |
7203f8f0 | 12664 | (ix86_gimplify_va_arg): Update alignment needed. |
1870b3a0 | 12665 | (ix86_local_alignment): Do not align all local arrays to 128bit. |
7203f8f0 | 12666 | |
36595f64 | 12667 | 2010-04-17 Jan Hubicka <jh@suse.cz> |
12668 | ||
12669 | * ipa-inline.c (cgraph_early_inlining): Handle flattening too. | |
12670 | ||
8135a42b | 12671 | 2010-04-17 Richard Earnshaw <rearnsha@arm.com> |
12672 | ||
12673 | * arm.md (negdi2): Remove redundant code to force values into a | |
12674 | register. | |
12675 | ||
b61d50b6 | 12676 | 2010-04-17 Richard Earnshaw <rearnsha@arm.com> |
12677 | ||
12678 | * arm/bpabi.S: Add EABI alignment attributes to objects. | |
12679 | * arm/bpabi-v6m.S: Likewise. | |
12680 | * arm/crti.asm: Likewise. | |
12681 | * arm/crtn.asm: Likewise. | |
12682 | * arm/lib1funcs.asm: Likewise. | |
12683 | * arm/libunwind.S: Likewise. | |
12684 | ||
647e1499 | 12685 | 2010-04-17 Richard Earnshaw <rearnsha@arm.com> |
12686 | ||
12687 | * arm-protos.h (tune_params): New structure. | |
12688 | * arm.c (current_tune): New variable. | |
12689 | (arm_constant_limit): Delete. | |
12690 | (struct processors): Add pointer to the tune parameters. | |
12691 | (arm_slowmul_tune): New tuning option. | |
12692 | (arm_fastmul_tune, arm_xscale_tune, arm_9e_tune): Likewise. | |
12693 | (all_cores): Adjust to pick up the tuning model. | |
12694 | (arm_constant_limit): New function. | |
12695 | (arm_override_options): Select the appropriate tuning model. Delete | |
12696 | initialization of arm_const_limit. | |
12697 | (arm_split_constant): Use the new constant-limit model. | |
12698 | (arm_rtx_costs): Pick up the current tuning model. | |
12699 | * arm.md (is_strongarm, is_xscale): Delete. | |
12700 | * arm-generic.md (load_ldsched_x, load_ldsched): Test explicitly | |
12701 | for Xscale variant architectures. | |
12702 | (mult_ldsched_strongarm, mult_ldsched): Similarly for StrongARM. | |
12703 | ||
fc0bf4cf | 12704 | 2010-04-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
12705 | ||
647e1499 | 12706 | * config/arm/arm.c (arm_gen_constant): Remove unused variable |
12707 | can_shift. | |
fc0bf4cf | 12708 | (arm_rtx_costs_1): Remove unused variable extra_cost. |
12709 | (arm_unwind_emit_set): Use variable offset. | |
12710 | (thumb1_output_casesi): Remove unused variable flags. | |
12711 | ||
e8db6cc1 | 12712 | 2010-04-16 Jeff Law <law@redhat.com> |
12713 | ||
12714 | * ira-color.c (ira_reassign_pseudos): Collect and sort all the pseudos | |
e4c2a550 | 12715 | needing assignment rather than doing a two-phase assignment. Remove |
12716 | unused variable 'm'. | |
e8db6cc1 | 12717 | |
4e15f806 | 12718 | 2010-04-16 Jakub Jelinek <jakub@redhat.com> |
12719 | ||
12720 | PR bootstrap/43767 | |
12721 | * alias.c (memrefs_conflict_p): Don't crash if CSELIB_VAL_PTR is NULL. | |
12722 | ||
17b5ea6f | 12723 | 2010-04-16 Doug Kwan <dougkwan@google.com> |
12724 | ||
12725 | * tree-ssa-reassoc.c (struct operand_entry): Add new field ID. | |
12726 | (next_operand_entry_id): New static variable. | |
12727 | (sort_by_operand_rank): Stabilize qsort comparator by using unique IDs. | |
12728 | (add_to_ops_vec): Assigned unique ID to operand entry. | |
7c4b97f4 | 12729 | (struct oecount_s): New field ID. |
17b5ea6f | 12730 | (oecount_cmp): Stabilize qsort comparotor by using unique IDs. |
12731 | (undistribute_ops_list): Assign unique IDs to oecounts. | |
12732 | (init_reassoc): reset next_operand_entry_id. | |
12733 | ||
2ca8548b | 12734 | 2010-04-16 Doug Kwan <dougkwan@google.com> |
12735 | ||
12736 | * config/i386/i386.md (*jcc_bt<mode>): Fix build breakage by adding | |
12737 | missing left parenthesis. | |
b5a754c1 | 12738 | |
bf42c086 | 12739 | 2010-04-16 Uros Bizjak <ubizjak@gmail.com> |
12740 | ||
12741 | * config/i386/i386.md (*bt<mode>): Macroize insn from *btsi and | |
12742 | *btdi_rex64 using SWI48 mode iterator. | |
12743 | (*jcc_bt<mode>): Ditto from *jcc_btsi and *jcc_btdi_rex64. | |
12744 | (*jcc_bt<mode>_mask): Ditto from *jcc_btsi_mask and | |
12745 | *jcc_btdi_mask_rex64. | |
12746 | ||
54539f04 | 12747 | 2010-04-16 Anatoly Sokolov <aesok@post.ru> |
12748 | ||
12749 | * double-int.h (tree_to_double_int): Convert to macro. | |
12750 | * double-int.c (tree_to_double_int): Remove. | |
12751 | ||
63924764 | 12752 | 2010-04-16 Jakub Jelinek <jakub@redhat.com> |
12753 | ||
12754 | PR debug/43762 | |
12755 | * dwarf2out.c (add_bound_info): Always call loc_list_from_tree | |
12756 | with want_address 2 and in case a single element list might be | |
12757 | possible, call it again with want_address 0. | |
12758 | ||
12759 | 2010-04-12 Kaushik Phatak <kaushik.phatak@kpitcummins.com> | |
ec766bd7 | 12760 | |
cfdcbbf4 | 12761 | * config/h8300/h8300.c (print_operand) : Modify case 'V' and |
12762 | case 'W' print operands for HI mode. | |
12763 | * config/h8300/h8300.h (Y0, Y2) : New constraints. | |
12764 | * config/h8300/h8300.md (bclrqi_msx, bclrhi_msx): New patterns | |
12765 | (bsetqi_msx, bsethi_msx, bnotqi_msx, bnothi_msx): Likewise. | |
12766 | * config/h8300/predicate.md (bit_register_indirect_operand): New. | |
12767 | ||
e1ae8bc6 | 12768 | * config/h8300/h8300.h (OK_FOR_U): Support 'U' constraint for H8300SX. |
12769 | ||
b5a754c1 | 12770 | * config/h8300/h8300.md (movqi_h8sx, movhi_h8sx, movsi_h8sx, |
a7e6b353 | 12771 | cmphi_h8300hs_znvc, cmpsi, addhi3_h8sx) : Emit instructions in |
12772 | #xx:3 and #xx:4 mode. | |
12773 | ||
51720411 | 12774 | * config/h8300/h8300.md (inverted load with HImode dest): Add |
12775 | support for H8300SX. | |
12776 | ||
ec766bd7 | 12777 | * config/h8300/predicate.md (bit_operand): Allow immediate values that |
12778 | satisfy 'U' constraint. | |
12779 | ||
d6845139 | 12780 | 2010-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12781 | ||
b5a754c1 | 12782 | * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx flavor. |
d6845139 | 12783 | * configure: Regenerate. |
12784 | * config.in: Regenerate. | |
12785 | * doc/install.texi (Prerequisites): Document that Solaris 2 libelf | |
12786 | works. | |
12787 | ||
a44dc115 | 12788 | 2010-04-16 Richard Guenther <rguenther@suse.de> |
12789 | ||
12790 | * tree.h (struct tree_decl_minimal): Move pt_uid ... | |
12791 | (struct tree_decl_common): ... here. | |
12792 | (DECL_PT_UID): Adjust. | |
12793 | (SET_DECL_PT_UID): Likewise. | |
12794 | (DECL_PT_UID_SET_P): Likewise. | |
12795 | ||
4debfcfc | 12796 | 2010-04-16 Richard Guenther <rguenther@suse.de> |
12797 | ||
12798 | PR tree-optimization/43572 | |
12799 | * tree-ssa-alias.h (call_may_clobber_ref_p): Declare. | |
12800 | * tree-ssa-alias.c (call_may_clobber_ref_p): Export. | |
12801 | * tree-flow.h (is_call_clobbered): Remove. | |
12802 | * tree-flow-inline.h (is_call_clobbered): Likewise. | |
12803 | * tree-dfa.c (dump_variable): Do not dump call clobber state. | |
12804 | * tree-nrv.c (dest_safe_for_nrv_p): Use the alias oracle. | |
12805 | (execute_return_slot_opt): Adjust. | |
12806 | * tree-tailcall.c (suitable_for_tail_opt_p): Remove | |
12807 | check for call clobbered vars here. | |
12808 | (find_tail_calls): Move tailcall verification to the | |
12809 | proper place. | |
12810 | ||
a66fa75e | 12811 | 2010-04-16 Diego Novillo <dnovillo@google.com> |
12812 | ||
b5a754c1 | 12813 | * doc/invoke.texi: Explain how are unrecognized -Wno- warnings handled. |
a66fa75e | 12814 | |
a8e6c15d | 12815 | 2010-04-16 Bernd Schmidt <bernds@codesourcery.com> |
12816 | ||
12817 | PR target/40603 | |
12818 | * config/arm/arm.md (cbranchqi4): New pattern. | |
12819 | * config/arm/predicates.md (const0_operand, | |
12820 | cbranchqi4_comparison_operator): New predicates. | |
12821 | ||
71e11843 | 12822 | 2010-04-16 Richard Guenther <rguenther@suse.de> |
12823 | ||
12824 | * gimple-pretty-print.c (dump_gimple_phi): Dump alias info. | |
12825 | (dump_gimple_stmt): Likewise. | |
12826 | ||
a8e6c15d | 12827 | 2010-04-16 Bernd Schmidt <bernds@codesourcery.com> |
a67a82ef | 12828 | |
12829 | * recog.h (struct recog_data): New field is_operator. | |
12830 | (struct insn_operand_data): New field is_operator. | |
12831 | * recog.c (extract_insn): Set recog_data.is_operator. | |
12832 | * genoutput.c (output_operand_data): Emit code to set the | |
12833 | is_operator field. | |
12834 | * reload.c (find_reloads): Use it rather than testing for an | |
12835 | empty constraint string. | |
12836 | ||
d60047aa | 12837 | PR target/41514 |
12838 | * config/arm/arm.md (cbranchsi4_insn): Renamed from "*cbranchsi4_insn". | |
12839 | If the previous insn is a cbranchsi4_insn with the same arguments, | |
12840 | omit the compare instruction. | |
12841 | ||
956a6170 | 12842 | * config/arm/arm.md (addsi3_cbranch): If destination is a high |
12843 | register, inputs must be low registers and we need a low register | |
12844 | scratch. Handle alternative 2 like alternative 3. | |
12845 | ||
6f9688ce | 12846 | 2010-04-16 Jakub Jelinek <jakub@redhat.com> |
12847 | ||
12848 | * alias.c (memrefs_conflict_p): If x and y are the same VALUE, | |
12849 | don't call get_addr on both. If one expression is a VALUE and | |
12850 | the other a REG, check VALUE's locs if the REG isn't among them. | |
12851 | ||
992d172c | 12852 | 2010-04-16 Christian Bruel <christian.bruel@st.com> |
12853 | ||
12854 | * config/sh/sh.h (sh_frame_pointer_required): New function. | |
12855 | * config/sh/sh.h (TARGET_FRAME_POINTER_REQUIRED): New macro. | |
12856 | (flag_omit_frame_pointer) Set. | |
12857 | (MASK_ACCUMULATE_OUTGOING_ARGS) Define and Set. | |
12858 | (rounded_frame_size): Adjust size with outgoing_args_size. | |
12859 | (sh_set_return_address): Must return from stack pointer. | |
12860 | * gcc/config/sh/sh.h (CAN_DEBUG_WITHOUT_FP): Define. | |
12861 | (SUBTARGET_FRAME_POINTER_REQUIRED): Define. | |
12862 | (ACCUMULATE_OUTGOING_ARGS): Define. | |
12863 | * doc/invoke.texi (maccumulate-outgoing-args): Document for SH. | |
43638d1c | 12864 | * gcc/config/sh/sh.opt (maccumulate-outgoing-args): New option. |
992d172c | 12865 | |
c011be89 | 12866 | 2010-04-15 Kaz Kojima <kkojima@gcc.gnu.org> |
12867 | ||
12868 | PR target/43471 | |
12869 | * config/sh/sh.c (sh_legitimize_reload_address): Use | |
12870 | MAYBE_BASE_REGISTER_RTX_P instead of BASE_REGISTER_RTX_P. | |
12871 | Remove a unneeded check for offset_base. | |
12872 | ||
14a40050 | 12873 | 2010-04-15 H.J. Lu <hongjiu.lu@intel.com> |
12874 | ||
12875 | * configure: Regenerated. | |
12876 | ||
cc6a115b | 12877 | 2010-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12878 | ||
12879 | * config/s390/s390.c (s390_call_save_register_used): Switch back | |
12880 | to HARD_REGNO_NREGS. | |
12881 | ||
a5b373b8 | 12882 | 2010-04-15 Richard Guenther <rguenther@suse.de> |
12883 | ||
12884 | * alias.c (alias_set_subset_of): Handle alias-set zero | |
12885 | child properly. | |
12886 | ||
93bda833 | 12887 | 2010-04-15 Mark Shinwell <shinwell@codesourcery.com> |
12888 | Julian Brown <julian@codesourcery.com> | |
12889 | ||
12890 | * config/arm/thumb2.md (thumb2_movsi_insn): Split ldr and str | |
12891 | alternatives according to use of high and low regs. | |
12892 | * config/arm/vfp.md (thumb2_movsi_vfp): Likewise. | |
12893 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Use high regs when | |
12894 | optimizing for size on Thumb-2. | |
12895 | ||
8a84c748 | 12896 | 2010-04-15 Thomas Schwinge <tschwinge@gnu.org> |
12897 | ||
12898 | * config.gcc <i[34567]86-*-gnu*>: Handle softfp as for Linux. | |
12899 | ||
1a981e1a | 12900 | 2010-04-15 Richard Guenther <rguenther@suse.de> |
12901 | ||
12902 | * tree-ssa-structalias.c (struct variable_info): Add | |
12903 | is_fn_info flag. | |
12904 | (new_var_info): Initialize it. | |
12905 | (dump_constraints): Support printing last added constraints. | |
12906 | (debug_constraints): Adjust. | |
12907 | (dump_constraint_graph): Likewise. | |
12908 | (make_heapvar_for): Check for NULL cfun. | |
12909 | (get_function_part_constraint): New function. | |
12910 | (get_fi_for_callee): Likewise. | |
12911 | (find_func_aliases): Properly implement IPA PTA constraints. | |
12912 | (process_ipa_clobber): New function. | |
12913 | (find_func_clobbers): Likewise. | |
12914 | (insert_into_field_list_sorted): Remove. | |
12915 | (create_function_info_for): Properly allocate vars for IPA mode. | |
12916 | Do not use insert_into_field_list_sorted. | |
12917 | (create_variable_info_for): Properly generate constraints for | |
12918 | global vars in IPA mode. | |
12919 | (dump_solution_for_var): Always dump the solution. | |
12920 | (set_uids_in_ptset): Initialize DECL_PT_UID if in ipa-mode. | |
12921 | (find_what_var_points_to): Adjust. | |
12922 | (pt_solution_set): Change. | |
12923 | (pt_solution_ior_into): New function. | |
12924 | (pt_solution_empty_p): Export. | |
12925 | (pt_solution_includes_global): Adjust. | |
12926 | (pt_solution_includes_1): Likewise. | |
12927 | (pt_solutions_intersect_1): Likewise. | |
12928 | (dump_sa_points_to_info): Check some invariants. | |
12929 | (solve_constraints): Move constraint dumping ... | |
12930 | (compute_points_to_sets): ... here. | |
12931 | (ipa_pta_execute): ... and here. | |
12932 | (compute_may_aliases): Do not re-compute points-to info | |
12933 | locally if IPA info is available. | |
12934 | (ipa_escaped_pt): New global var. | |
12935 | (ipa_pta_execute): Properly implement IPA PTA. | |
12936 | * tree-into-ssa.c (dump_decl_set): Support dumping | |
12937 | decls not in referenced-vars. | |
12938 | * tree-flow.h (struct gimple_df): Add ipa_pta flag. | |
12939 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Adjust. | |
12940 | (dump_points_to_solution): Likewise. | |
12941 | * tree-dfa.c (dump_variable): Also dump DECL_PT_UID. | |
12942 | * tree-inline.c (remap_ssa_name): Copy IPA points-to solution. | |
b5a754c1 | 12943 | (remap_gimple_stmt): Reset call clobber/use information if necessary. |
1a981e1a | 12944 | (copy_decl_to_var): Copy DECL_PT_UID. |
12945 | (copy_result_decl_to_var): Likewise. | |
12946 | * tree.c (make_node_stat): Initialize DECL_PT_UID. | |
12947 | (copy_node_stat): Copy it. | |
12948 | * tree.h (DECL_PT_UID): New macro. | |
12949 | (SET_DECL_PT_UID): Likewise. | |
12950 | (DECL_PT_UID_SET_P): Likewise. | |
12951 | (struct tree_decl_minimal): Add pt_uid member. | |
12952 | * tree-ssa-alias.h (struct pt_solution): Add ipa_escaped flag. | |
12953 | (pt_solution_empty_p): Declare. | |
12954 | (pt_solution_set): Adjust. | |
12955 | (ipa_escaped_pt): Declare. | |
12956 | * cfgexpand.c (update_alias_info_with_stack_vars): Adjust. | |
12957 | * gimple-pretty-print.c (pp_points_to_solution): New function. | |
12958 | (dump_gimple_call): Dump call clobber/use information. | |
12959 | * tree-dump.c (dump_option_value_in): Add TDF_ALIAS entry. | |
12960 | * tree-pass.h (TDF_ALIAS): New dump option. | |
12961 | * tree-pretty-print.c (dump_decl_name): Dump DECL_PT_UID if asked to. | |
12962 | * doc/invoke.texi (-fipa-pta): Update documentation. | |
12963 | ||
2d18b16d | 12964 | 2010-04-15 Richard Guenther <rguenther@suse.de> |
12965 | ||
12966 | * Makefile.in (OBJS-common): Add gimple-fold.o. | |
12967 | (gimple-fold.o): New rule. | |
12968 | * tree.h (maybe_fold_offset_to_reference, | |
12969 | maybe_fold_offset_to_address, maybe_fold_stmt_addition): Move | |
12970 | prototypes ... | |
12971 | * gimple.h: ... here. | |
12972 | * tree-flow.h (fold_stmt, fold_stmt_inplace, get_symbol_constant_value, | |
12973 | may_propagate_address_into_dereference): Move prototypes ... | |
12974 | * gimple.h: ... here. | |
12975 | * tree-ssa-ccp.c (get_symbol_constant_value, | |
12976 | may_propagate_address_into_dereference, maybe_fold_offset_to_array_ref, | |
12977 | maybe_fold_offset_to_component_ref, maybe_fold_offset_to_reference, | |
12978 | maybe_fold_offset_to_address, maybe_fold_stmt_indirect, | |
12979 | maybe_fold_stmt_addition, maybe_fold_reference, get_maxval_strlen, | |
12980 | ccp_fold_builtin, fold_gimple_assign, fold_gimple_cond, | |
12981 | fold_gimple_call, fold_stmt_1, fold_stmt, fold_stmt_inplace, | |
12982 | gimplify_and_update_call_from_tree): Move ... | |
12983 | * gimple-fold.c: ... here. New file. | |
12984 | (ccp_fold_builtin): Rename to ... | |
12985 | (gimple_fold_builtin): ... this. | |
12986 | * tree-ssa-ccp.c (execute_fold_all_builtins): Adjust. | |
12987 | ||
b2afff2d | 12988 | 2010-04-15 Richard Guenther <rguenther@suse.de> |
12989 | ||
12990 | * fold-const.c (LOWPART, HIGHPART, BASE, encode, decode, | |
12991 | fit_double_type, force_fit_type_double, add_double_with_sign, | |
12992 | neg_double, mul_double_with_sign, lshift_double, rshift_double, | |
12993 | lrotate_double, rrotate_double, div_and_round_double): Move ... | |
12994 | * double-int.c: ... here. | |
12995 | * tree.h (force_fit_type_double, fit_double_type, add_double_with_sign, | |
12996 | add_double, neg_double, mul_double_with_sign, mul_double, | |
12997 | lshift_double, rshift_double, lrotate_double, rrotate_double, | |
12998 | div_and_round_double): Move prototypes ... | |
12999 | * double-int.h: ... here. | |
13000 | ||
a8e6c15d | 13001 | 2010-04-15 Bernd Schmidt <bernds@codesourcery.com> |
db60a8f8 | 13002 | |
13003 | PR target/43742 | |
13004 | * config/sh/sh.md (doloop_end_split, dect): Undo previous patch. Use | |
13005 | matching constraints to ensure inputs match the output. | |
13006 | ||
45197664 | 13007 | 2010-04-15 Kaz Kojima <kkojima@gcc.gnu.org> |
13008 | ||
13009 | PR target/43742 | |
13010 | * config/sh/sh.md (doloop_end_split): Remove "+r" constraint | |
b5a754c1 | 13011 | in an input-only operand. |
45197664 | 13012 | |
41283922 | 13013 | 2010-04-15 Anatoly Sokolov <aesok@post.ru> |
13014 | ||
13015 | * double-int.h (HOST_BITS_PER_DOUBLE_INT): Define. | |
13016 | (double_int_not, double_int_lshift, double_int_rshift): Declare. | |
13017 | (double_int_negative_p): Convert to static inline function. | |
77204665 | 13018 | * double-int.c (double_int_lshift, double_int_lshift): New functions. |
41283922 | 13019 | (double_int_negative_p): Remove. |
b5a754c1 | 13020 | * tree.h (lshift_double, rshift_double): |
41283922 | 13021 | * tree.c (build_low_bits_mask): Clean up, use double_int_* functions. |
13022 | * fold-const.c (fold_convert_const_int_from_real, | |
13023 | fold_convert_const_int_from_fixed, div_if_zero_remainder): (Ditto.). | |
13024 | (lshift_double): Change type of arith argument to bool. | |
13025 | (rshift_double): Change type of arith argument to bool. Correct | |
13026 | comment. | |
13027 | * expmed.c (mask_rtx, lshift_value): (Ditto.). | |
13028 | ||
a8e6c15d | 13029 | 2010-04-14 Bernd Schmidt <bernds@codesourcery.com> |
b5a754c1 | 13030 | |
84c471f5 | 13031 | PR target/21803 |
13032 | * ifcvt.c (cond_exec_process_if_block): Look for identical sequences | |
13033 | at the start and end of the then/else blocks, and omit them from the | |
13034 | conversion. | |
13035 | * cfgcleanup.c (flow_find_cross_jump): No longer static. Remove MODE | |
13036 | argument; all callers changed. Pass zero to old_insns_match_p instead. | |
13037 | (flow_find_head_matching_sequence): New function. | |
13038 | (old_insns_match_p): Check REG_EH_REGION notes for calls. | |
13039 | * basic-block.h (flow_find_cross_jump, | |
13040 | flow_find_head_matching_sequence): Declare functions. | |
13041 | ||
33199a81 | 13042 | 2010-04-14 Jason Merrill <jason@redhat.com> |
13043 | ||
13044 | PR c++/36625 | |
13045 | * c-common.c (attribute_takes_identifier_p): New fn. | |
13046 | * c-common.h: Declare it. | |
13047 | ||
57b0c232 | 13048 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
13049 | ||
13050 | * config/i386/i386.md (*divmod<mode>4): Remove stray "&&" from | |
13051 | splitter condition. | |
13052 | (*udivmod<mode>4): Ditto. | |
13053 | ||
1c6bad28 | 13054 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
13055 | ||
13056 | * config/i386/i386.md (maxmin_int): Rename code attribute from | |
13057 | maxminiprefix and update all users. | |
13058 | (maxmin_float): Ditto from maxminfprefix. | |
13059 | (logic): Ditto from logicprefix. | |
13060 | (absneg_mnemonic): Ditto from absnegprefix. | |
13061 | * config/i386/mmx.md: Update all users of maxminiprefix, | |
bf42c086 | 13062 | maxminfprefix and logicprefix for rename. |
1c6bad28 | 13063 | * config/i386/sse.md: Ditto. |
13064 | * config/i386/sync.md (sync_<code><mode>): Update for | |
13065 | logicprefix rename. | |
13066 | ||
61c21070 | 13067 | 2010-04-14 Manuel López-Ibáñez <manu@gcc.gnu.org> |
13068 | ||
13069 | PR 42966 | |
13070 | * diagnostics.c (diagnostic_report_diagnostic): Mark specially | |
13071 | warnings converted to errors. | |
13072 | ||
f5e8a4bc | 13073 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
13074 | ||
13075 | * config/alpha/alpha.c (alpha_adjust_cost): Remove set but not | |
13076 | used insn_type variable. | |
13077 | (function_value): Add ATTRIBUTE_UNUSED to dummy variable declaration | |
13078 | to avoid set-but-not-used warning. | |
13079 | ||
3eb9ad16 | 13080 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
13081 | ||
13082 | * df-core.c (df_ref_debug): Change format string placeholder | |
13083 | from 0x%x to %#x. | |
13084 | * dwarf2asm.c (dw2_asm_output_data_raw, | |
13085 | dw2_asm_output_data_uleb128_raw, dw2_asm_output_data_uleb128, | |
13086 | dw2_asm_output_data_sleb128_raw, dw2_asm_output_data_sleb128): Ditto. | |
13087 | * dwarf2out.c (output_cfi, output_cfi_directive, | |
13088 | dwarf2out_do_cfi_startproc, output_loc_sequence_raw, | |
13089 | output_cfa_loc_raw, output_die, output_ranges, output_file_names): | |
13090 | Ditto. | |
13091 | * genattrtab.c (write_test_expr, write_attr_valueq): Ditto. | |
13092 | * print-rtl.c (print_rtx): Ditto. | |
13093 | ||
a02df28b | 13094 | 2010-04-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
13095 | ||
13096 | PR middle-end/42694 | |
13097 | * builtins.c (expand_builtin_pow_root): New function to expand pow | |
13098 | calls with exponents 0.25, 0.50, 0.75, 1./3., and 1./6. into a | |
13099 | series of sqrt and cbrt calls under -ffast-math. | |
13100 | (expand_builtin_pow): Call it. | |
13101 | ||
836a3d81 | 13102 | 2010-04-14 Michael Matz <matz@suse.de> |
13103 | ||
13104 | PR tree-optimization/42963 | |
13105 | * tree-cfg.c (touched_switch_bbs): New static variable. | |
13106 | (group_case_labels_stmt): New function broken out from ... | |
13107 | (group_case_labels): ... here, use the above. | |
13108 | (start_recording_case_labels): Allocate touched_switch_bbs. | |
13109 | (end_recording_case_labels): Deallocate it, call | |
13110 | group_case_labels_stmt. | |
13111 | (gimple_redirect_edge_and_branch): Remember index of affected BB. | |
13112 | ||
023285da | 13113 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
13114 | ||
13115 | * config/i386/i386.md (*popcountsi2_cmp_zext): Remove mode attribute | |
13116 | from insn template. | |
13117 | ||
5d0d0688 | 13118 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
13119 | ||
13120 | * config/i386/i386.md (*ashlqi3_1_slp): New insn pattern. | |
13121 | ||
022b3380 | 13122 | 2010-04-13 Jan Hubicka <jh@suse.cz> |
13123 | ||
13124 | * ipa-inline.c (cgraph_mark_inline_edge): Avoid double accounting | |
13125 | of optimized out static functions. | |
13126 | (cgraph_edge_badness): Add DUMP parameter and dump reasons for the | |
13127 | cost computation. Also sanity check for overflows. | |
13128 | (update_caller_keys): Update cgraph_edge_badness call; properly | |
13129 | update fibheap and sanity check that it is up to date. | |
13130 | (add_new_edges_to_heap): Update cgraph_edge_badness. | |
13131 | (cgraph_decide_inlining_of_small_function): Likewise; | |
13132 | add sanity checking that badness in heap is up to date; | |
13133 | improve dumping of reason; Update badness of calls to the | |
13134 | offline copy of function currently inlined; dump badness | |
13135 | of functions not inlined because of unit growth limits. | |
13136 | ||
c6feb9f1 | 13137 | 2010-04-13 Eric Botcazou <ebotcazou@adacore.com> |
13138 | ||
13139 | PR middle-end/32628 | |
13140 | * c-common.c (pointer_int_sum): Disregard overflow that occured only | |
13141 | because of sign-extension change when converting to sizetype here... | |
13142 | * fold-const.c (fold_convert_const_int_from_int): ...and not here. | |
13143 | ||
13144 | * fold-const.c (fold_binary_op_with_conditional_arg): Do not restrict | |
13145 | the folding to constants. Remove redundant final conversion. | |
13146 | (fold_binary) <associate>: Do not associate if the re-association of | |
13147 | constants alone overflows. | |
13148 | (fold_binary) <FLOOR_MOD_EXPR>: Move transformation into BIT_AND_EXPR | |
13149 | to the end of the list. | |
13150 | (multiple_of_p) <COND_EXPR>: New case. | |
13151 | ||
d4c7816a | 13152 | 2010-04-13 Manuel López-Ibáñez <manu@gcc.gnu.org> |
13153 | ||
13154 | * opt-functions.awk (opt_sanitized_name): New. | |
13155 | (opt_enum): New. | |
13156 | * optc-gen.awk: Use it | |
13157 | * opth-gen.awk: Use it. | |
13158 | ||
38525cf2 | 13159 | 2010-04-13 Martin Jambor <mjambor@suse.cz> |
13160 | ||
13161 | * tree-sra.c (replace_uses_with_default_def_ssa_name): New function. | |
13162 | (sra_modify_assign): Delete stmts loading dead data even if racc has no | |
13163 | children. Call replace_uses_with_default_def_ssa_name to handle | |
13164 | SSA_NAES on lhs. | |
13165 | ||
774bc210 | 13166 | 2010-04-13 Michael Matz <matz@suse.de> |
13167 | ||
13168 | PR middle-end/43730 | |
13169 | * builtins.c (expand_builtin_interclass_mathfn): Also create | |
13170 | a register if the predicate doesn't match. | |
13171 | ||
7dafeb82 | 13172 | 2010-04-13 Diego Novillo <dnovillo@google.com> |
13173 | ||
13174 | * Makefile.in (c-pch.o, ggc-common.o): Depend on timevar.h. | |
13175 | * c-pch.c: Include timevar.h. | |
13176 | (c_common_write_pch): Use TV_PCH_SAVE and TV_PCH_CPP_SAVE timers. | |
5d0d0688 | 13177 | (c_common_read_pch): Use TV_PCH_RESTORE and TV_PCH_CPP_RESTORE timers. |
7dafeb82 | 13178 | * ggc-common.c: Include timevar.h. |
5d0d0688 | 13179 | (gt_pch_save): Use TV_PCH_PTR_REALLOC and TV_PCH_PTR_SORT timers. |
7dafeb82 | 13180 | * timevar.def (TV_PCH_SAVE): Define. |
13181 | (TV_PCH_CPP_SAVE): Define. | |
13182 | (TV_PCH_PTR_REALLOC): Define. | |
13183 | (TV_PCH_PTR_SORT): Define. | |
13184 | (TV_PCH_RESTORE): Define. | |
13185 | (TV_PCH_CPP_RESTORE): Define. | |
13186 | ||
c07e5b8b | 13187 | 2010-04-13 Michael Matz <matz@suse.de> |
13188 | ||
13189 | * tree-ssa-reassoc.c (repropagate_negates): Merge negates also | |
13190 | into MINUS_EXPRs. | |
13191 | (can_reassociate_p): New function. | |
13192 | (break_up_subtract_bb, reassociate_bb): Use it. | |
13193 | ||
e212f99a | 13194 | 2010-04-13 Richard Guenther <rguenther@suse.de> |
13195 | ||
13196 | PR bootstrap/43737 | |
13197 | * builtins.c (c_readstr): Fix assert. | |
13198 | ||
e4905a25 | 13199 | 2010-04-13 Uros Bizjak <ubizjak@gmail.com> |
13200 | ||
13201 | * config/i386/i386.md (extendsidi2 splitter): Also check for DX_REG | |
13202 | when generating cltd insn. | |
13203 | ||
13204 | (*ashl<mode>3_1): Remove special handling for register operand 2. | |
13205 | (*ashlsi3_1_zext): Ditto. | |
13206 | (*ashlhi3_1): Ditto. | |
13207 | (*ashlhi3_1_lea): Ditto. | |
13208 | (*ashlqi3_1): Ditto. | |
13209 | (*ashlqi3_1_lea): Ditto. | |
13210 | (*<shiftrt_insn><mode>3_1): Ditto. | |
13211 | (*<shiftrt_insn>si3_1_zext): Ditto. | |
13212 | (*<shiftrt_insn>qi3_1_slp): Ditto. | |
13213 | (*<rotate_insn><mode>3_1): Ditto. | |
13214 | (*<rotate_insn>si3_1_zext): Ditto. | |
13215 | (*<rotate_insn>qi3_1_slp): Ditto. | |
13216 | ||
c4ec6aca | 13217 | 2010-04-13 Richard Guenther <rguenther@suse.de> |
13218 | ||
13219 | * tree-ssa-structalias.c (callused_id): Remove. | |
13220 | (call_stmt_vars): New. | |
13221 | (get_call_vi): Likewise. | |
13222 | (lookup_call_use_vi): Likewise. | |
13223 | (lookup_call_clobber_vi): Likewise. | |
13224 | (get_call_use_vi): Likewise. | |
13225 | (get_call_clobber_vi): Likewise. | |
13226 | (make_transitive_closure_constraints): Likewise. | |
13227 | (handle_const_call): Adjust to do per-call call-used handling. | |
13228 | (handle_pure_call): Likewise. | |
13229 | (find_what_var_points_to): Remove general callused handling. | |
13230 | (init_base_vars): Likewise. | |
13231 | (init_alias_vars): Initialize call_stmt_vars. | |
13232 | (compute_points_to_sets): Process call-used and call-clobbered | |
13233 | vars for call statements. | |
13234 | (delete_points_to_sets): Free call_stmt_vars. | |
13235 | ||
91a74fc6 | 13236 | 2010-04-13 Richard Guenther <rguenther@suse.de> |
13237 | ||
13238 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
13239 | Only add RW dependence for dependence distance zero. | |
13240 | Adjust maximal vectorization factor according to dependences. | |
13241 | Move alignment handling ... | |
13242 | (vect_find_same_alignment_drs): ... here. New function. | |
13243 | (vect_analyze_data_ref_dependences): Adjust. | |
13244 | (vect_analyze_data_refs_alignment): Call vect_find_same_alignment_drs. | |
13245 | (vect_analyze_data_refs): Adjust minimal vectorization factor | |
13246 | according to data references. | |
13247 | * tree-vect-loop.c (vect_analyze_loop): Analyze data-ref | |
13248 | dependences before determining the vectorization factor. | |
13249 | Analyze alignment after determining the vectorization factor. | |
13250 | * tree-vect-slp.c ((vect_slp_analyze_bb): Analyze data-ref | |
13251 | dependences before alignment. | |
13252 | * tree-vectorizer.h (vect_analyze_data_ref_dependences): | |
13253 | Adjust prototype. | |
13254 | (vect_analyze_data_refs): Likewise. | |
13255 | (MAX_VECTORIZATION_FACTOR): New define. | |
13256 | ||
493106f6 | 13257 | 2010-04-13 Duncan Sands <baldrick@free.fr> |
13258 | ||
13259 | * except.h (lang_eh_type_covers): Remove. | |
13260 | * except.c (lang_eh_type_covers): Likewise. | |
13261 | ||
b5fdc416 | 13262 | 2010-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5d0d0688 | 13263 | Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
13264 | ||
b5fdc416 | 13265 | * gcc/config/s390/s390.md: Replace TARGET_64BIT with TARGET_ZARCH. |
13266 | * gcc/config/s390/s390.c: Replace UNTIS_PER_WORD with | |
5d0d0688 | 13267 | UNITS_PER_LONG where it is ABI relevant. |
b5fdc416 | 13268 | (s390_return_addr_rtx): Likewise. |
13269 | (s390_back_chain_rtx): Likewise. | |
13270 | (s390_frame_area): Likewise. | |
13271 | (s390_frame_info): Likewise. | |
13272 | (s390_initial_elimination_offset): Likewise. | |
13273 | (save_gprs): Likewise. | |
13274 | (s390_emit_prologue): Likewise. | |
13275 | (s390_emit_epilogue): Likewise. | |
13276 | (s390_function_arg_advance): Likewise. | |
13277 | (s390_function_arg): Likewise. | |
13278 | (s390_va_start): Likewise. | |
13279 | (s390_gimplify_va_arg): Likewise. | |
13280 | (s390_function_profiler): Likewise. | |
13281 | (s390_optimize_prologue): Likewise. | |
13282 | (s390_rtx_costs): Likewise. | |
13283 | (s390_secondary_reload): Likewise. | |
13284 | (s390_promote_function_mode): Likewise. | |
13285 | (s390_hard_regno_mode_ok): Replace TARGET_64BIT with TARGET_ZARCH. | |
13286 | (s390_scalar_mode_supported_p): Disallow TImode if no 64 bit | |
13287 | registers available. | |
13288 | (s390_unwind_word_mode): New function. | |
13289 | (s390_function_value): Split 64 bit values into register pair if | |
13290 | used as return value. | |
13291 | (s390_call_saved_register_used): Don't use HARD_REGNO_NREGS for | |
13292 | function call parameters. Handle parallels. | |
13293 | (TARGET_SCALAR_MODE_SUPPORTED_P): New macro. | |
13294 | (HARD_REGNO_CALL_PART_CLOBBERED): New macro. | |
13295 | (DWARF_CIE_DATA_ALIGNMENT): New macro. | |
13296 | (s390_expand_setmem): Remove unused variable src_addr. | |
13297 | * gcc/longlong.h: Make smul_ppmm and sdiv_qrnnd inline asms to | |
5d0d0688 | 13298 | deal with 64 bit registers. |
b5fdc416 | 13299 | * gcc/config/s390/s390.h: Define __zarch__ predefined macro. |
13300 | Replace UNITS_PER_WORD with UNITS_PER_LONG where it is ABI relevant. | |
13301 | (UNITS_PER_LONG): New macro. | |
13302 | * libjava/include/s390-signal.h: Define extended ucontext | |
13303 | structure containing the upper halfs of the 64 bit registers. | |
13304 | ||
b15b8239 | 13305 | 2010-04-13 Simon Baldwin <simonb@google.com> |
13306 | ||
13307 | * cfgexpand.c (gimple_expand_cfg): Clarify warning message text. | |
13308 | ||
e568189f | 13309 | 2010-04-13 Eric Botcazou <ebotcazou@adacore.com> |
13310 | ||
13311 | * gimple.c (walk_gimple_op) <GIMPLE_ASSIGN>: Do not request a pure | |
13312 | rvalue on the RHS if the LHS is of a non-renamable type. | |
13313 | * tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Fold result. | |
13314 | ||
19bc000d | 13315 | 2010-04-13 Matthias Klose <doko@ubuntu.com> |
13316 | ||
13317 | * gcc.c (cc1_options): Handle -iplugindir before processing | |
13318 | the cc1 spec. Only add -iplugindir once. | |
13319 | (cpp_unique_options): Add -iplugindir option if -fplugin* options | |
13320 | found. | |
13321 | * common.opt (iplugindir): Remove `Separate' property, initialize. | |
13322 | * plugin.c (default_plugin_dir_name): Error with missing -iplugindir | |
13323 | option. | |
13324 | * Makefile.in (check-%, check-parallel-%): Create plugin dir. | |
13325 | (distclean): Remove plugin dir. | |
13326 | * doc/invoke.texi: Document -iplugindir. | |
13327 | ||
13328 | 2010-04-13 Basile Starynkevitch <basile@starynkevitch.net> | |
13329 | ||
13330 | * doc/plugins.texi (Loading Plugins): Document short | |
13331 | -fplugin=foo option. | |
13332 | (Plugin API): Mention default_plugin_dir_name function. | |
13333 | ||
13334 | * gcc.c (find_file_spec_function): Add new declaration. | |
13335 | (static_spec_func): Use it for "find-file". | |
13336 | (find_file_spec_function): Add new function. | |
13337 | (cc1_options): Add -iplugindir option if -fplugin* options found. | |
13338 | ||
13339 | * gcc-plugin.h (default_plugin_dir_name): Added new declaration. | |
13340 | ||
13341 | * plugin.c (add_new_plugin): Updated comment, and handle short | |
13342 | plugin name. | |
13343 | (default_plugin_dir_name): Added new function. | |
13344 | ||
e4905a25 | 13345 | * common.opt (iplugindir): New option to set the plugin directory. |
19bc000d | 13346 | |
5bc45119 | 13347 | 2010-04-12 Uros Bizjak <ubizjak@gmail.com> |
13348 | ||
13349 | * config/i386/i386.md (any_rotate): New code iterator. | |
13350 | (rotate_insn): New code attribute. | |
13351 | (rotate): Ditto. | |
13352 | (SWIM124): New mode iterator. | |
13353 | (<rotate_insn>ti3): New expander. | |
13354 | (<rotate_insn>di3): Macroize expander from {rotl,rotr}di3 using | |
13355 | any_rotate code iterator. | |
13356 | (<rotate_insn><mode>3) Macroize expander from {rotl,rotr}{qi,hi,si}3 | |
13357 | using any_rotate code iterator and SWIM124 mode iterator. | |
13358 | (ix86_rotlti3): New insn_and_split pattern. | |
13359 | (ix86_rotrti3): Ditto. | |
13360 | (ix86_rotl<dwi>3_doubleword): Macroize insn_and_split pattern from | |
13361 | ix86_rotl{di,ti}3 patterns. | |
13362 | (ix86_rotr<dwi>3_doubleword): Ditto from ix86_rotr{di,ti}3 patterns. | |
13363 | (*<rotate_insn><mode>3_1): Merge with *{rotl,rotr}{qi,hi,si}3_1_one_bit | |
13364 | and *{rotl,rotr}di3_1_one_bit_rex64. Macroize insn from | |
13365 | *{rotl,rotr}{qi,hi,si}3_1 and *{rotl,rotr}di3_1_rex64 using any_rotate | |
13366 | code iterator and SWI mode iterator. | |
13367 | (*<rotate_insn>si3_1_zext): Merge with *{rotl,rotr}si3_1_one_bit_zext. | |
13368 | Macroize insn from {rotl,rotr}si3_1_zext using any_rotate | |
13369 | code iterator. | |
13370 | (*<rotate_insn>qi3_1_slp): Merge with *{rotl,rotr}qi3_1_one_bit_slp. | |
13371 | Macroize insn from {rotl,rotr}qi3_1_slp using any_rotate code iterator. | |
13372 | (bswap rotatert splitter): Add splitter. | |
13373 | (bswap splitter): Macroize splitter using any_rotate code iterator. | |
13374 | Add insn predicate to split only for TARGET_USE_XCHGB or when | |
13375 | optimizing function for size. | |
13376 | ||
4d41e927 | 13377 | 2010-04-12 Steve Ellcey <sje@cup.hp.com> |
13378 | ||
13379 | * config/pa/pa.c (emit_move_sequence): Remove use of | |
13380 | deleted variable flag_argument_noalias. | |
13381 | ||
efad0fb7 | 13382 | 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13383 | ||
13384 | * config.gcc: Removed *-*-solaris2.7* from list of obsolete | |
13385 | configurations. | |
13386 | Add to unsupported targets list. | |
13387 | * configure.ac (gcc_cv_as_tls): Removed i[34567]86-*-solaris2.[567]*, | |
13388 | sparc*-sun-solaris2.[567]* from target lists. | |
13389 | * configure: Regenerate. | |
13390 | * doc/install.texi (Specific, *-*-solaris2*): Document Solaris 7 | |
13391 | removal. | |
13392 | Remove Solaris 7 patch references. | |
13393 | (Specific, sparc-sun-solaris2.7): Removed. | |
13394 | (sparc-sun-solaris2*): Update Solaris 7 example. | |
13395 | (sparc64-*-solaris2*): Likewise. | |
13396 | ||
ed3e1bbc | 13397 | 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13398 | ||
13399 | * config.build (alpha*-dec-osf4*): Remove. | |
13400 | * config.gcc: Remove alpha*-dec-osf4*, alpha-dec-osf5.0* from list | |
13401 | of obsolete configurations. | |
13402 | (alpha*-dec-osf[45]*): Remove alpha*-dec-osf4*, alpha-dec-osf5.0* | |
13403 | support. | |
13404 | * config/alpha/t-osf4: Renamed to ... | |
13405 | * config/alpha/t-osf5: ... this. | |
13406 | * config/alpha/osf.h: Renamed to ... | |
13407 | * config/alpha/osf5.h: ... this. | |
13408 | Merged old osf5.h contents. | |
13409 | Update comments. | |
13410 | (ASM_SPEC): Use ASM_OLDAS_SPEC directly. | |
13411 | (EXTRA_SPECS): Removed. | |
13412 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Renamed to | |
13413 | reflect removal of Tru64 UNIX V4.0/V5.0 support. | |
13414 | Document that. | |
13415 | ||
edacfc78 | 13416 | 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13417 | ||
13418 | * doc/contrib.texi (Contributors, Rainer Orth): Update. | |
13419 | ||
335c25a2 | 13420 | 2010-04-12 Kai Tietz <kai.tietz@onevision.com> |
13421 | ||
13422 | PR/43702 | |
13423 | * config/i386/i386.c (x86_this_parameter): Handle aggregate for | |
13424 | __thiscall convention. | |
13425 | ||
1ce99229 | 13426 | 2010-04-12 Steve Ellcey <sje@cup.hp.com> |
13427 | ||
13428 | * config/pa/pa.c (hppa_legitimize_address): Remove unused variable | |
13429 | orig_base. | |
13430 | * config/pa/pa.md (call, call_value): Remove unused variable call_insn. | |
13431 | ||
132d5071 | 13432 | 2010-04-12 Steve Ellcey <sje@cup.hp.com> |
13433 | ||
13434 | * function.c (assign_parms_initialize_all): Add unused attribute | |
13435 | to fntype. | |
13436 | ||
cb245216 | 13437 | 2010-04-12 Richard Guenther <rguenther@suse.de> |
13438 | ||
13439 | * gsstruct.def (GSS_CALL): New. | |
13440 | * gimple.def (GIMPLE_CALL): Change to GSS_CALL. | |
13441 | * gimple.h: Include tree-ssa-alias.h. | |
13442 | (struct gimple_statement_call): New. | |
13443 | (union gimple_statement_struct_d): Add gimple_call member. | |
13444 | (gimple_call_reset_alias_info): Declare. | |
13445 | (gimple_call_use_set): New function. | |
13446 | (gimple_call_clobber_set): Likewise. | |
13447 | * Makefile.in (GIMPLE_H): Add tree-ssa-alias.h. | |
13448 | * gimple.c (gimple_call_reset_alias_info): New function. | |
13449 | (gimple_build_call_1): Call it. | |
13450 | * lto-streamer-in.c (input_gimple_stmt): Likewise. | |
13451 | * tree-inline.c (remap_gimple_stmt): Likewise. | |
13452 | (expand_call_inline): Remove callused handling. | |
13453 | * cfgexpand.c (update_alias_info_with_stack_vars): Likewise. | |
13454 | * tree-dfa.c (dump_variable): Likewise. | |
13455 | * tree-parloops.c (parallelize_loops): Likewise. | |
13456 | * tree-ssa.c (init_tree_ssa): Likewise. | |
13457 | (delete_tree_ssa): Likewise. | |
13458 | * tree-flow-inline.h (is_call_used): Remove. | |
13459 | * tree-flow.h (struct gimple_df): Remove callused member. | |
13460 | * tree-nrv.c (dest_safe_for_nrv_p): Adjust predicate. | |
13461 | * tree-ssa-alias.c (dump_alias_info): Remove callused handling. | |
13462 | (ref_maybe_used_by_call_p_1): Simplify. | |
13463 | (call_may_clobber_ref_p_1): Likewise. | |
13464 | * tree-ssa-structalias.c (compute_points_to_sets): Set | |
13465 | the call stmt used and clobbered sets. | |
13466 | * tree-tailcall.c (suitable_for_tail_opt_p): Adjust predicate. | |
13467 | (find_tail_calls): Verify the tail call. | |
13468 | ||
d160af41 | 13469 | 2010-04-12 Richard Guenther <rguenther@suse.de> |
13470 | ||
13471 | * ipa.c (cgraph_postorder): Adjust postorder to guarantee | |
13472 | single-iteration always-inline inlining. | |
13473 | * ipa-inline.c (cgraph_mark_inline): Do not return anything. | |
5bc45119 | 13474 | (cgraph_decide_inlining): Do not handle always-inline specially. |
d160af41 | 13475 | (try_inline): Remove always-inline cycle detection special case. |
13476 | Do not recurse on always-inlines. | |
13477 | (cgraph_early_inlining): Do not iterate if not optimizing. | |
13478 | (cgraph_gate_early_inlining): remove. | |
13479 | (pass_early_inline): Run unconditionally. | |
13480 | (gate_cgraph_decide_inlining): New function. | |
13481 | (pass_ipa_inline): Use it. Do not run the IPA inliner if | |
13482 | not inlining or optimizing. | |
13483 | (cgraph_decide_inlining_of_small_functions): Also consider | |
13484 | always-inline functions. | |
13485 | (cgraph_default_inline_p): Return true for nodes which should | |
13486 | disregard inline limits. | |
13487 | (estimate_function_body_sizes): Assume zero size and time for | |
13488 | nodes which are marked as disregarding inline limits. | |
13489 | (cgraph_decide_recursive_inlining): Do not perform recursive | |
13490 | inlining on always-inline nodes. | |
13491 | ||
7cb9c999 | 13492 | 2010-04-12 Jakub Jelinek <jakub@redhat.com> |
13493 | ||
13494 | PR bootstrap/43699 | |
13495 | * c-typeck.c (c_process_expr_stmt): Call mark_exp_read even | |
13496 | for exprs satisfying handled_component_p. | |
13497 | ||
30d12889 | 13498 | 2010-04-12 Eric Botcazou <ebotcazou@adacore.com> |
13499 | ||
13500 | * expr.c (categorize_ctor_elements_1): Properly count sub-elements of | |
13501 | non-constant aggregate elements. | |
13502 | ||
13503 | * gimplify.c (gimplify_init_constructor): Do not pre-evaluate if this | |
13504 | is a real initialization. | |
13505 | ||
15f85477 | 13506 | 2010-04-12 Shujing Zhao <pearly.zhao@oracle.com> |
13507 | ||
13508 | PR c/36774 | |
13509 | * c-decl.c (start_function): Move forward check for nested function. | |
13510 | ||
299fa1f5 | 13511 | 2010-04-11 Kaz Kojima <kkojima@gcc.gnu.org> |
13512 | ||
13513 | * config/sh/sh-protos.h (sh_legitimize_reload_address): Declare. | |
13514 | * config/sh/sh.c: Include reload.h. | |
13515 | (sh_legitimize_reload_address): New. | |
13516 | * config/sh/sh.h (LEGITIMIZE_RELOAD_ADDRESS): Use | |
13517 | sh_legitimize_reload_address. | |
13518 | ||
973cd123 | 13519 | 2010-04-11 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
13520 | ||
13521 | * config/sh/sh.md (*movqi_pop): New insn pattern. | |
13522 | * config/sh/predicates.md (sh_no_delay_pop_operand): New predicate. | |
13523 | ||
c4c75aaf | 13524 | 2010-04-11 Uros Bizjak <ubizjak@gmail.com> |
13525 | ||
13526 | * config/i386/i386.md (any_shiftrt): New code iterator. | |
13527 | (shiftrt_insn): New code attribute. | |
13528 | (shiftrt): Ditto. | |
5bc45119 | 13529 | (<shiftrt_insn><mode>3): Macroize expander from {ashr,lshr}<mode>3 |
13530 | using any_shiftrt code iterator. | |
c4c75aaf | 13531 | (*<shiftrt_insn><mode>3_doubleword): Macroize insn_and_split from |
5bc45119 | 13532 | *{ashr,lshr}<mode>3_doubleword using any_shiftrt code iterator. |
c4c75aaf | 13533 | (*<shiftrt_insn><mode>3_doubleword peephole2): Macroize peephole2 |
13534 | pattern from corresponding peephole2 patterns. | |
5bc45119 | 13535 | (*<shiftrt_insn><mode>3_1): Macroize insn from *{ashr,lshr}<mode>3_1 |
13536 | using any_shiftrt code iterator. | |
13537 | (*<shiftrt_insn>si3_1_zext): Ditto from *{ashr,lshr}si3_1_zext. | |
13538 | (*<shiftrt_insn>qi3_1_slp): Ditto from *{ashr,lshr}qi3_1_slp. | |
13539 | (*<shiftrt_insn><mode>3_cmp): Ditto from *{ashr,lshr}<mode>3_cmp. | |
13540 | (*<shiftrt_insn><mode>3_cmp_zext): Ditto from | |
13541 | *{ashr,lshr}<mode>3_cmp_zext. | |
13542 | (*<shiftrt_insn><mode>3_cconly): Ditto from *{ashr,lshr}<mode>3_cconly. | |
c4c75aaf | 13543 | |
191a9198 | 13544 | 2010-04-11 Uros Bizjak <ubizjak@gmail.com> |
13545 | ||
13546 | * config/i386/i386.md (*ashr<mode>3_cconly): Fix wrong mode of | |
13547 | scratch register. | |
13548 | (*lshr<mode>3_cconly): Ditto. | |
13549 | ||
edd3a37b | 13550 | 2010-04-11 Uros Bizjak <ubizjak@gmail.com> |
13551 | ||
13552 | * config/i386/i386.md (lshr<mode>3): Macroize expander from | |
13553 | lshr{qi,hi,si,di,ti}3_1 using SDWIM mode iterator. | |
13554 | (*lshr<mode>3_doubleword): New insn_and_split_pattern. Macroize | |
13555 | pattern from *lshr{di,ti}3_1 and corresponding splitters using | |
13556 | DWI mode iterator. | |
13557 | (*lshr<mode>3_doubleword peephole2): Macroize peephole2 pattern | |
13558 | from corresponding peephole2 patterns. | |
13559 | (*lshr<mode>3_1): Merge with *lshr{qi,hi,si}3_1_one_bit and | |
5bc45119 | 13560 | *lshrdi3_1_one_bit_rex64. Macroize insn from *lshr{qi,hi,si}3_1 |
13561 | and *lshrdi3_1_rex64 using SWI mode iterator. | |
c4c75aaf | 13562 | (*lshrsi3_1_zext): Merge with *lshrsi3_1_one_bit_zext. |
edd3a37b | 13563 | (*lshrqi3_1_slp): Merge with *lshrqi3_1_one_bit_slp. |
13564 | (*lshr<mode>3_cmp): Merge with *lshr{qi,hi,si}3_one_bit_cmp and | |
13565 | *lshrdi3_one_bit_cmp_rex64. Macroize insn from *lshr{qi,hi,si}3_cmp | |
13566 | and *lshrdi3_cmp_rex64 using SWI mode iterator. | |
13567 | (*lshrsi3_cmp_zext): Merge with *lshrsi3_cmp_one_bit_zext. | |
13568 | (*lshr<mode>3_cconly): Merge with *lshr{qi,hi,si}3_one_bit_cconly and | |
13569 | *lshrdi3_one_bit_cconly_rex64. Macroize insn from | |
13570 | *lshr{qi,hi,si}3_cconly and *lshrdi3_cconly_rex64 using | |
13571 | SWI mode iterator. | |
13572 | ||
01a8a19f | 13573 | 2010-04-10 Uros Bizjak <ubizjak@gmail.com> |
13574 | ||
13575 | * config/i386/i386.md (ashr<mode>3): Macroize expander from | |
13576 | ashr{qi,hi,si,di,ti}3_1 using SDWIM mode iterator. | |
13577 | (*ashr<mode>3_doubleword): New insn_and_split_pattern. Macroize | |
13578 | pattern from *ashr{di,ti}3_1 and corresponding splitters using | |
13579 | DWI mode iterator. | |
13580 | (*ashr<mode>3_doubleword peephole2): Macroize peephole2 pattern | |
13581 | from corresponding peephole2 patterns. | |
13582 | (ashrdi3_cvt): Rename from ashrdi3_63_rex64. | |
13583 | (ashrsi3_cvt): Rename from ashrsi3_31. | |
13584 | (*ashrsi3_cvt_zext): Rename from *ashrsi3_31_zext. | |
13585 | (x86_shift<mode>_adj_3): Macroize expander from x86_shift_adj_3 | |
13586 | and x86_64_shift_adj_3 using SWI48 mode iterator. | |
13587 | (*ashr<mode>3_1): Merge with *ashr{qi,hi,si}3_1_one_bit and | |
5bc45119 | 13588 | *ashrdi3_1_one_bit_rex64. Macroize insn from *ashr{qi,hi,si}3_1 |
13589 | and *ashrdi3_1_rex64 using SWI mode iterator. | |
c4c75aaf | 13590 | (*ashrsi3_1_zext): Merge with *ashrsi3_1_one_bit_zext. |
01a8a19f | 13591 | (*ashrqi3_1_slp): Merge with *ashrqi3_1_one_bit_slp. |
13592 | (*ashr<mode>3_cmp): Merge with *ashr{qi,hi,si}3_one_bit_cmp and | |
13593 | *ashrdi3_one_bit_cmp_rex64. Macroize insn from *ashr{qi,hi,si}3_cmp | |
13594 | and *ashrdi3_cmp_rex64 using SWI mode iterator. | |
13595 | (*ashrsi3_cmp_zext): Merge with *ashrsi3_cmp_one_bit_zext. | |
13596 | (*ashr<mode>3_cconly): Merge with *ashr{qi,hi,si}3_one_bit_cconly and | |
13597 | *ashrdi3_one_bit_cconly_rex64. Macroize insn from | |
13598 | *ashr{qi,hi,si}3_cconly and *ashrdi3_cconly_rex64 using | |
13599 | SWI mode iterator. | |
191a9198 | 13600 | (sign_extend splitters): Update for renamed ashr{di,si}3_cvt patterns. |
01a8a19f | 13601 | * config/i386/i386.c (ix86_split_ashr): Update for renamed |
edd3a37b | 13602 | x86_shift<mode>_adj_3 expanders. |
01a8a19f | 13603 | |
825ae2ed | 13604 | 2010-04-10 Wei Guozhi <carrot@google.com> |
13605 | ||
13606 | PR target/42601 | |
13607 | * config/arm/arm.c (arm_pic_static_addr): New function. | |
13608 | (legitimize_pic_address): Call arm_pic_static_addr when it detects | |
13609 | a static symbol. | |
13610 | (arm_output_addr_const_extra): Output expression for new pattern. | |
13611 | * config/arm/arm.md (UNSPEC_SYMBOL_OFFSET): New unspec symbol. | |
13612 | ||
a8e6c15d | 13613 | 2010-04-10 Bernd Schmidt <bernds@codesourcery.com> |
26f5b5dd | 13614 | |
13615 | * ira-costs.c (record_reg_classes): Ignore alternatives that are | |
13616 | not enabled. | |
9a3f5556 | 13617 | |
13618 | * Makefile.in (web.o): Depend on insn-config.h and $(RECOG_H). | |
13619 | * web.c: Include "insn-config.h" and "recog.h". | |
13620 | (union_match_dups): New function. | |
13621 | (web_main): Call it. | |
13622 | (union_defs): Don't try to recognize match_dups. | |
13623 | ||
6b4b0ebb | 13624 | * reload1.c (eliminate_regs_in_insn): Don't restore an operand |
13625 | if doing so would replace the entire pattern. | |
13626 | ||
5f880006 | 13627 | 2010-04-09 Uros Bizjak <ubizjak@gmail.com> |
13628 | ||
13629 | PR target/43707 | |
13630 | PR target/43709 | |
13631 | * config/i386/i386.md (*ashl<mode>3_doubleword): Split to insn | |
13632 | and splitter pattern. Change splitter operand 1 predicate to | |
13633 | nonmemory_operand. | |
13634 | ||
cb344b0b | 13635 | 2010-04-09 Martin Jambor <mjambor@suse.cz> |
13636 | ||
13637 | * ipa-cp.c (ipcp_lats_are_equal): Return true also if the two | |
13638 | lattices are addresses of CONST_DECLs with the same initial value. | |
13639 | (ipcp_print_all_lattices): Print values of CONST_DECLs. | |
13640 | * ipa-prop.c (ipa_print_node_jump_functions): Likewise. | |
13641 | ||
cc6541e2 | 13642 | 2010-04-09 Eric Botcazou <ebotcazou@adacore.com> |
a8e6c15d | 13643 | Bernd Schmidt <bernds@codesourcery.com> |
cc6541e2 | 13644 | |
13645 | * loop-invariant.c (replace_uses): New static function. | |
13646 | (move_invariant_reg): Use it to ensure we can replace the uses. | |
13647 | ||
13648 | 2010-04-09 Hariharan Sandanagobalane <hariharan@picochip.com> | |
b6dd0a0d | 13649 | |
01a8a19f | 13650 | * config/picochip/picochip.c (picochip_rtx_costs): Use correct |
13651 | function template. | |
cc6541e2 | 13652 | (picochip_override_options): Enable section anchors only above -O1. |
b6dd0a0d | 13653 | (picochip_reorg): Fixed a couple of build warnings. |
13654 | ||
57587f17 | 13655 | 2010-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13656 | ||
13657 | * configure.ac (plugin -rdynamic test): Log result. | |
13658 | * configure: Regenerate. | |
13659 | * config/sol2.h (LINK_SPEC): Handle -rdynamic. | |
13660 | (RDYNAMIC_SPEC): Define. | |
13661 | * config/sol2-gld.h (RDYNAMIC_SPEC): Redefine. | |
13662 | ||
dfbfdd90 | 13663 | 2010-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13664 | ||
13665 | * configure.ac: Determine Sun ld version numbers. | |
13666 | (comdat_group): Restrict GNU ld version checks to gld. | |
13667 | (comdat_group, *-*-solaris2.1[1-9]*): Enable for Sun ld > 1.1688. | |
13668 | (enable_comdat): Support --enable-comdat. | |
13669 | * configure: Regenerate. | |
13670 | * doc/install.texi (Configuration): Document --enable-comdat. | |
13671 | ||
9232c3b6 | 13672 | 2010-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13673 | ||
5f880006 | 13674 | * config/sparc/sol2-gld.h: Remove SPARC reference. Rename ... |
9232c3b6 | 13675 | * config/sol2-gld.h: ... here. |
13676 | * config.gcc (sparc*-*-solaris2*): Reflect this. | |
13677 | (i[34567]86-*-solaris2*): Use it. | |
13678 | ||
fdf7fc97 | 13679 | 2010-04-09 Steve Ellcey <sje@cup.hp.com> |
13680 | ||
13681 | * config/ia64/ia64.c (ia64_dfa_new_cycle): Remove unused variable | |
13682 | setup_clocks_p. | |
13683 | (final_emit_insn_group_barriers): Remove unused variable prev_insn. | |
13684 | ||
543725f3 | 13685 | 2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
13686 | ||
13687 | PR 42965 | |
13688 | * diagnostic.c (diagnostic_initialize): Initialize | |
13689 | some_warnings_are_errors. | |
13690 | (diagnostic_finish): New. | |
13691 | (diagnostic_action_after_output): Call it before exiting. | |
13692 | (diagnostic_report_diagnostic): Do not print message here. Set | |
13693 | some_warnings_are_errors. | |
13694 | * diagnostic.h (diagnostic_context): Delete | |
13695 | issue_warnings_are_errors_message. Add some_warnings_are_errors. | |
13696 | (diagnostic_finish): Declare. | |
13697 | * toplev.c (toplev_main): Call it before exit. | |
13698 | ||
625541cb | 13699 | 2010-04-09 Jason Merrill <jason@redhat.com> |
13700 | ||
9c719c74 | 13701 | PR c++/42623 |
13702 | * c-common.c (c_sizeof_or_alignof_type): Return error_mark_node | |
13703 | for incomplete type. | |
13704 | ||
625541cb | 13705 | PR c++/41788 |
13706 | * stor-layout.c (finalize_record_size): Don't change TYPE_PACKED | |
13707 | based on a warning flag. | |
13708 | ||
d2d3b1ae | 13709 | 2010-04-09 Richard Guenther <rguenther@suse.de> |
13710 | ||
cc6541e2 | 13711 | * tree-pretty-print.c (dump_generic_node): Dump TYPE_VECTOR_SUBPARTS. |
d2d3b1ae | 13712 | |
5fe33912 | 13713 | 2010-04-09 Iain Sandoe <iains@gcc.gnu.org> |
13714 | ||
13715 | PR bootstrap/43684 | |
5f880006 | 13716 | * varasm.c (default_assemble_visibility): Wrap vars that are |
5fe33912 | 13717 | set, but unused, by targets without GAS. |
43638d1c | 13718 | * config/rs6000/rs6000.c (paired_emit_vector_compare): |
5fe33912 | 13719 | Remove set, but unused, vars. |
13720 | (rs6000_legitimize_tls_address): Likewise. | |
13721 | (altivec_expand_dst_builtin): Likewise. | |
13722 | * config/darwin.c (machopic_classify_symbol): Likewise. | |
13723 | (machopic_indirection_name): Likewise. | |
5f880006 | 13724 | |
f94eb6db | 13725 | 2010-04-09 Uros Bizjak <ubizjak@gmail.com> |
13726 | ||
13727 | * config/i386/i386.md (DWI): New mode iterator. | |
13728 | (S): New mode attribute. | |
13729 | (shift_operand): Ditto. | |
13730 | (shift_immediate_operand): Ditto. | |
13731 | (ashl_input_operand): Ditto. | |
13732 | (ashl<mode>3): Macroize expander from ashl{qi,hi,si,di,ti}3_1 | |
13733 | using SDWIM mode iterator. | |
13734 | (*ashl<mode>3_doubleword): New insn_and_split_pattern. Macroize | |
13735 | pattern from *ashl{di,ti}3_1 and corresponding splitters using | |
13736 | DWI mode iterator. | |
13737 | (*ashl<mode>3_doubleword peephole2): Macroize peephole2 pattern | |
13738 | from corresponding peephole2 patterns. | |
13739 | (x86_shift<mode>_adj_1): Macroize expander from x86_shift_adj_1 | |
13740 | and x86_64_shift_adj_1 using SWI48 mode iterator. | |
13741 | (x86_shift<mode>_adj_2): Ditto. | |
13742 | (*ashldi3_1_rex64): Split TYPE_LEA pattern. | |
13743 | (*ashl<mode>3_1): Macroize insn from *ashlsi3_1 and *ashldi3_1_rex64 | |
13744 | using SWI48 mode iterator. | |
13745 | (*ashl<mode>3_cmp): Macroize insn from *ashl{qi,hi,si}3_cmp and | |
13746 | *ashldi3_cmp_rex64 using SWI mode iterator. | |
13747 | (*ashl<mode>3_cconly): Macroize insn from *ashl{qi,hi,si}3_cconly and | |
13748 | *ashldi3_cconly_rex64 using SWI mode iterator. | |
13749 | * config/i386/i386.c (ix86_split_ashl): Update for renamed | |
13750 | x86_shift<mode>_adj_{1,2}. | |
13751 | (ix86_split_ashr): Ditto. | |
13752 | (ix86_split_lshr): Ditto. | |
13753 | ||
011d9d16 | 13754 | 2010-04-09 Richard Guenther <rguenther@suse.de> |
13755 | ||
13756 | * target.h (builtin_conversion): Pass in input and output types. | |
13757 | * targhooks.c (default_builtin_vectorized_conversion): Adjust. | |
13758 | * targhooks.h (default_builtin_vectorized_conversion): Likewise. | |
13759 | * tree-vect-stmts.c (vectorizable_conversion): Adjust. | |
13760 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Adjust. | |
13761 | ||
13762 | * config/i386/i386.c (ix86_vectorize_builtin_conversion): Adjust. | |
13763 | Handle AVX modes. | |
13764 | * config/rs6000/rs6000.c (rs6000_builtin_conversion): Adjust. | |
13765 | ||
da5bfa9f | 13766 | 2010-04-09 Richard Guenther <rguenther@suse.de> |
13767 | ||
13768 | PR target/43152 | |
13769 | * config/i386/sse.md (vcond<mode>): Handle AVX modes as well. | |
13770 | ||
b334cbba | 13771 | 2010-04-09 Richard Guenther <rguenther@suse.de> |
13772 | ||
13773 | * tree-vectorizer.h (struct _stmt_vec_info): Document | |
13774 | that vectype is the type of the LHS. | |
191a9198 | 13775 | (supportable_widening_operation, supportable_narrowing_operation): |
b334cbba | 13776 | Get both input and output vector types as arguments. |
13777 | (vect_is_simple_use_1): Declare. | |
13778 | (get_same_sized_vectype): Likewise. | |
13779 | * tree-vect-loop.c (vect_determine_vectorization_factor): | |
13780 | Set STMT_VINFO_VECTYPE to the vector type of the def. | |
13781 | (vectorizable_reduction): Adjust. | |
13782 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): | |
13783 | Adjust. Specify the output vector type. | |
13784 | (vect_pattern_recog_1): Adjust. | |
13785 | * tree-vect-stmts.c (get_same_sized_vectype): New function. | |
13786 | (vectorizable_call): Adjust. | |
13787 | (vectorizable_conversion): Likewise. | |
13788 | (vectorizable_operation): Likewise. | |
13789 | (vectorizable_type_demotion): Likewise. | |
13790 | (vectorizable_type_promotion): Likewise. | |
13791 | (vect_analyze_stmt): Set STMT_VINFO_VECTYPE to the vector type of | |
13792 | the def. | |
13793 | (vect_is_simple_use_1): New function. | |
13794 | (supportable_widening_operation): Get both input and output | |
13795 | vector types. | |
13796 | (supportable_narrowing_operation): Likewise. | |
13797 | * tree-vect-slp.c (vect_schedule_slp_instance): Adjust. | |
13798 | ||
538adab1 | 13799 | 2010-04-09 Kai Tietz <kai.tietz@onevision.com> |
13800 | ||
13801 | * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Add | |
13802 | __thiscall and _thiscall as predefined macros. | |
13803 | * config/i386/i386.c (ix86_handle_cconv_attribute): Add | |
13804 | thiscall attribute handling. | |
13805 | (ix86_comp_type_attributes): Likewise. | |
13806 | (ix86_function_regparm): Likewise. | |
13807 | (ix86_return_pops_args): Likewise. | |
13808 | (init_cumulative_args): Likewise. | |
13809 | (find_drap_reg): Likewise. | |
13810 | (ix86_static_chain): Likewise. | |
13811 | (x86_this_parameter): Likewise. | |
13812 | (x86_output_mi_thunk): Likewise. | |
13813 | (ix86_attribute_table): Add description for thiscall attribute. | |
f94eb6db | 13814 | * config/i386/i386.h (ix86_args): Adjust comment for member fastcall. |
538adab1 | 13815 | * doc/extend.texi: Add documentation for thiscall. |
01a8a19f | 13816 | |
bbecaa22 | 13817 | 2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
13818 | ||
13819 | PR c++/28584 | |
13820 | * c.opt (Wint-to-pointer-cast): Available in C++. | |
13821 | * doc/invoke.texi (Wint-to-pointer-cast): Available in C++. | |
13822 | ||
4cd5bb61 | 13823 | 2010-04-08 Eric Botcazou <ebotcazou@adacore.com> |
13824 | ||
13825 | * tree.h (TREE_ADDRESSABLE): Document its effect for function types. | |
13826 | * calls.c (expand_call): Pass the function type to aggregate_value_p. | |
13827 | * function.c (aggregate_value_p): Do not honor DECL_BY_REFERENCE on | |
13828 | the target function of a CALL_EXPR. Honor TREE_ADDRESSABLE on the | |
13829 | function type instead. Reorder and simplify checks. | |
13830 | ||
13831 | * gimplify.c (gimplify_modify_expr_rhs) <WITH_SIZE_EXPR>: New case. | |
13832 | ||
fd731bfb | 13833 | 2010-04-08 Jing Yu <jingyu@google.com> |
13834 | Zdenek Dvorak <ook@ucw.cz> | |
13835 | ||
13836 | PR tree-optimization/42720 | |
13837 | * tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Move one-time | |
f94eb6db | 13838 | loop unswitch conditions here from ... |
13839 | (tree_unswitch_single_loop): ... here. | |
fd731bfb | 13840 | |
b01e3c9b | 13841 | 2010-04-08 Sebastian Pop <sebastian.pop@amd.com> |
13842 | ||
13843 | * tree-if-conv.c: Fix comments and simplify logic. | |
13844 | ||
5ead86d3 | 13845 | 2010-04-08 Sebastian Pop <sebastian.pop@amd.com> |
13846 | ||
13847 | * tree-if-conv.c (if_convertible_loop_p): Remove unused parameter. | |
13848 | (tree_if_conversion): Same. Update call to if_convertible_loop_p. | |
13849 | (main_tree_if_conversion): Update call to tree_if_conversion. | |
13850 | ||
cf93b7e8 | 13851 | 2010-04-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
13852 | ||
13853 | PR 42485 | |
13854 | * doc/invoke.texi (-b,-V): Delete. | |
13855 | * doc/tm.texi: Do not mention -b. | |
13856 | * gcc.c (display_help): Delete -b and -V. | |
13857 | (process_command): Delete -b and -V. | |
13858 | * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Delete -b and -V. | |
5ead86d3 | 13859 | |
9ccaa774 | 13860 | 2010-04-08 Christian Borntraeger <borntraeger@de.ibm.com> |
01a8a19f | 13861 | Wolfgang Gellerich <gellerich@de.ibm.com> |
9ccaa774 | 13862 | |
f94eb6db | 13863 | Implement target hook for loop unrolling |
13864 | * target.h (loop_unroll_adjust): Add a new target hook function. | |
13865 | * target-def.h (TARGET_LOOP_UNROLL_ADJUST): Likewise. | |
13866 | * doc/tm.texi (TARGET_LOOP_UNROLL_ADJUST): Document it. | |
13867 | * config/s390/s390.c (TARGET_LOOP_UNROLL_ADJUST): Define it. | |
13868 | (s390_loop_unroll_adjust): Implement the new target hook for s390. | |
13869 | * loop-unroll.c (decide_unroll_runtime_iterations): Call loop unroll | |
13870 | target hook. | |
13871 | (decide_unroll_stupid): Likewise. | |
9ccaa774 | 13872 | |
328a9424 | 13873 | 2010-04-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13874 | ||
13875 | PR target/43643 | |
13876 | * config/i386/gmon-sol2.c [__x86_64__]: Properly restore %rcx. | |
13877 | ||
ad72c684 | 13878 | 2010-04-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13879 | ||
13880 | * doc/install.texi (Specific, i?86-*-solaris2.10): Fix grammar. | |
13881 | (Specific, *-*-solaris2*): Likewise. | |
13882 | Don't prefer Sun as over GNU as. | |
13883 | ||
a52ee362 | 13884 | 2010-04-08 Wolfgang Gellerich <gellerich@de.ibm.com> |
13885 | ||
cd2aaa6c | 13886 | * config/s390/s390.c (override_options): Adjust the z10 defaults |
13887 | for max-unroll-times, max-completely-peeled-insns | |
13888 | and max-completely-peel-times. | |
a52ee362 | 13889 | |
d5de7805 | 13890 | 2010-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
13891 | ||
13892 | * config/s390/s390.c (s390_expand_movmem): Issue prefetch | |
13893 | instructions for z10. | |
13894 | (s390_expand_setmem): Likewise. | |
13895 | (s390_expand_cmpmem): Likewise. | |
13896 | ||
945cbfc1 | 13897 | 2010-04-08 Richard Guenther <rguenther@suse.de> |
13898 | ||
13899 | PR tree-optimization/43679 | |
13900 | * tree-ssa-pre.c (eliminate): Only propagate copies. | |
13901 | ||
ac2fdd89 | 13902 | 2010-04-08 Jakub Jelinek <jakub@redhat.com> |
13903 | ||
13904 | PR bootstrap/43681 | |
13905 | * expr.c (block_move_libcall_safe_for_call_parm): Avoid | |
13906 | set but not used variable warning. | |
13907 | ||
be8d2599 | 13908 | 2010-04-08 Wei Guozhi <carrot@google.com> |
13909 | ||
13910 | PR target/41653 | |
13911 | * config/arm/arm.c (thumb1_size_rtx_costs): New function. | |
13912 | (arm_size_rtx_costs): Call the new function when optimized for size. | |
13913 | ||
f4b490ea | 13914 | 2010-04-08 Jakub Jelinek <jakub@redhat.com> |
13915 | ||
13916 | PR debug/43670 | |
13917 | * cfgexpand.c (expand_debug_expr): If for non-NULL offset | |
13918 | op0 is not a MEM, just return NULL instead of assertion | |
13919 | failure. | |
13920 | (discover_nonconstant_array_refs): Don't walk debug stmts. | |
13921 | ||
c2ce8e07 | 13922 | 2010-04-08 Doug Kwan <dougkwan@google.com> |
13923 | ||
13924 | * configure.ac: Recognize gold and do not use its version number | |
13925 | to test ld features. | |
13926 | * configure: Regenerate. | |
13927 | ||
c2f29260 | 13928 | 2010-04-08 Maxim Kuvyrkov <maxim@codesourcery.com> |
13929 | ||
13930 | PR middle-end/40815 | |
13931 | * tree-ssa-reassoc.c (broken_up_substracts): Rename to plus_negates. | |
13932 | (negate_value): Move code to push elements to broken_up_substracts ... | |
13933 | (eliminate_plus_minus_pair): ... here. Push operands that have no | |
13934 | negative pair to plus_negates. | |
13935 | (repropagate_negates, init_reassoc, fini_reassoc): Update. | |
13936 | ||
24217fad | 13937 | 2010-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
13938 | ||
6f654217 | 13939 | * doc/install.texi (Configuration): Move description of |
13940 | --enable-lto, --with-libelf*, --enable-gold from Java section to | |
13941 | general section. | |
13942 | ||
24217fad | 13943 | * doc/generic.texi (Working with declarations) |
13944 | (Function Properties, C and C++ Trees): Fix typos. | |
13945 | * doc/sourcebuild.texi (Top Level): Likewise. | |
13946 | ||
4081d362 | 13947 | 2010-04-07 Jakub Jelinek <jakub@redhat.com> |
13948 | ||
abc6c64f | 13949 | PR c/18624 |
13950 | * tree.h (DECL_READ_P): Define. | |
13951 | (struct tree_decl_common): Add decl_read_flag. | |
13952 | * c-decl.c (pop_scope): If TREE_USED but !DECL_READ_P, issue | |
13953 | a set but not used warning. | |
13954 | (merge_decls): Merge DECL_READ_P flag. | |
13955 | (finish_decl, build_compound_literal): Set DECL_READ_P flag. | |
13956 | (finish_function): Issue -Wunused-but-set-parameter diagnostics. | |
13957 | * c-common.c (handle_used_attribute, handle_unused_attribute): | |
13958 | Likewise. | |
13959 | * c-tree.h (default_function_array_read_conversion, mark_exp_read): | |
13960 | New prototypes. | |
13961 | * c-typeck.c (default_function_array_read_conversion, mark_exp_read): | |
13962 | New functions. | |
13963 | (default_conversion, c_process_expr_stmt): Call mark_exp_read. | |
13964 | * c-parser.c (c_parser_initializer, c_parser_expr_no_commas, | |
13965 | c_parser_binary_expression, c_parser_cast_expression, | |
13966 | c_parser_expr_list, c_parser_omp_atomic, c_parser_omp_for_loop): | |
13967 | Call default_function_array_read_conversion instead of | |
13968 | default_function_array_conversion where needed. | |
13969 | (c_parser_unary_expression, c_parser_conditional_expression, | |
13970 | c_parser_postfix_expression_after_primary, c_parser_initelt): | |
13971 | Likewise. Call mark_exp_read where needed. | |
13972 | (c_parser_statement_after_labels, c_parser_asm_operands, | |
13973 | c_parser_typeof_specifier, c_parser_sizeof_expression, | |
13974 | c_parser_alignof_expression, c_parser_initval): Call mark_exp_read | |
13975 | where needed. | |
13976 | * common.opt (Wunused-but-set-variable, Wunused-but-set-parameter): | |
13977 | New. | |
13978 | * toplev.c (warn_unused_but_set_variable): Default to warn_unused. | |
13979 | (warn_unused_but_set_parameter): Default to warn_unused | |
13980 | && extra_warnings. | |
13981 | * doc/invoke.texi: Document -Wunused-but-set-variable and | |
13982 | -Wunused-but-set-parameter. | |
13983 | ||
4081d362 | 13984 | * tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not |
13985 | used count variable. | |
13986 | * genemit.c (gen_expand, gen_split): Avoid set but not used warnings | |
13987 | when operandN variables aren't used in the body of the expander | |
13988 | or splitter. | |
13989 | * tree-outof-ssa.c (FOR_EACH_ELIM_GRAPH_SUCC, | |
13990 | FOR_EACH_ELIM_GRAPH_PRED): Avoid set but not used warnings. | |
13991 | * tree-ssa-operands.h (FOR_EACH_SSA_TREE_OPERAND): Likewise. | |
13992 | * tree-flow.h (FOR_EACH_IMM_USE_FAST, FOR_EACH_IMM_USE_STMT, | |
13993 | FOR_EACH_IMM_USE_ON_STMT): Likewise. | |
13994 | * tree.h (FOR_EACH_CONSTRUCTOR_ELT): Likewise. | |
13995 | * tree.c (PROCESS_ARG): Likewise. | |
13996 | ||
3a79f5da | 13997 | 2010-04-07 Simon Baldwin <simonb@google.com> |
13998 | ||
13999 | * diagnostic.h (diagnostic_override_option_index): New macro to | |
14000 | set a diagnostic's option_index. | |
14001 | * c-tree.h (c_cpp_error): Add warning reason argument. | |
14002 | * opts.c (_warning_as_error_callback): New. | |
14003 | (register_warning_as_error_callback): Store callback for | |
14004 | warnings enabled via enable_warning_as_error. | |
14005 | (enable_warning_as_error): Call callback, minor code tidy. | |
14006 | * opts.h (register_warning_as_error_callback): Declare. | |
14007 | * c-opts.c (warning_as_error_callback): New, set cpp_opts flag in | |
14008 | response to -Werror=. | |
14009 | (c_common_init_options): Register warning_as_error_callback in opts.c. | |
14010 | * common.opt: Add -Wno-cpp option. | |
14011 | * c-common.c (struct reason_option_codes_t): Map cpp warning | |
14012 | reason codes to gcc option indexes. | |
14013 | * (c_option_controlling_cpp_error): New function, lookup the gcc | |
14014 | option index for a cpp warning reason code. | |
14015 | * (c_cpp_error): Add warning reason argument, call | |
14016 | c_option_controlling_cpp_error for diagnostic_override_option_index. | |
14017 | * doc/invoke.texi: Document -Wno-cpp. | |
14018 | ||
7f2d9047 | 14019 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
14020 | ||
14021 | * ipa-reference.c (mark_load): Use get_base_address. | |
14022 | (mark_store): Likewise. | |
14023 | ||
14024 | * tree-ssa-ccp.c (gimplify_and_update_call_from_tree): Avoid | |
14025 | inserting GIMPLE_NOPs into the IL. | |
14026 | * tree-ssa-structalias.c (get_constraint_for_component_ref): | |
14027 | Explicitly strip handled components and indirect references. | |
191a9198 | 14028 | |
7f2d9047 | 14029 | * fold-const.c (fold_unary_loc): Do not strip qualifiers when |
14030 | folding address expressions. | |
14031 | * gimple.c (gimple_ior_addresses_taken_1): Use get_base_address. | |
14032 | * tree-ssa-alias.c (decl_refs_may_alias_p): Do not use | |
14033 | operand_equal_p to compare decls. | |
14034 | (ptr_deref_may_alias_decl_p): Likewise. | |
14035 | * tree-ssa-operands.c (get_asm_expr_operands): Simplify | |
14036 | * tree-ssa-forwprop.c (forward_propagate_into_gimple_cond): | |
14037 | Handle reversed comparison ops. | |
14038 | * tree-sra.c (asm_visit_addr): Use get_base_address. | |
f94eb6db | 14039 | * ipa-prop.c (visit_store_addr_for_mod_analysis): Use get_base_address. |
7f2d9047 | 14040 | * ipa-reference.c (mark_address): Use get_base_address. |
14041 | ||
ed40c3d0 | 14042 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
14043 | ||
14044 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): | |
14045 | Propagate constants everywhere. | |
14046 | ||
27a1da0a | 14047 | 2010-04-07 Jakub Jelinek <jakub@redhat.com> |
14048 | ||
14049 | PR debug/43516 | |
14050 | * tree.c (MAX_INT_CACHED_PREC): Define. | |
14051 | (nonstandard_integer_type_cache): New array. | |
14052 | (build_nonstandard_integer_type): Cache results for precision | |
14053 | <= MAX_INT_CACHED_PREC. | |
14054 | ||
e190b18a | 14055 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
14056 | ||
14057 | * doc/invoke.texi (-fargument-alias, -fargument-noalias, | |
14058 | -fargument-noalias-global, -fargument-noalias-anything): Remove. | |
14059 | * common.opt: Likewise. | |
f94eb6db | 14060 | * tree-ssa-structalias.c (intra_create_variable_infos): Adjust comment. |
14061 | * alias.c (base_alias_check): Remove flag_argument_noalias handling. | |
e190b18a | 14062 | (nonoverlapping_memrefs_p): Likewise. |
14063 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. | |
14064 | * opts.c (common_handle_option): Handle OPT_fargument_alias, | |
14065 | OPT_fargument_noalias, OPT_fargument_noalias_anything and | |
14066 | OPT_fargument_noalias_global for backward compatibility. | |
14067 | ||
c26ce8a9 | 14068 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
14069 | ||
14070 | PR tree-optimization/43270 | |
f94eb6db | 14071 | * tree-vrp.c (check_array_ref): Fix flexible array member detection. |
c26ce8a9 | 14072 | * tree-ssa-sccvn.h (fully_constant_vn_reference_p): Declare. |
14073 | * tree-ssa-pre.c (phi_translate_1): Adjust. | |
14074 | (fully_constant_expression): Split out vn_reference handling to ... | |
14075 | * tree-ssa-sccvn.c (fully_constant_vn_reference_p): ... here. | |
14076 | Fold reads from constant strings. | |
14077 | (vn_reference_lookup): Handle fully constant references. | |
14078 | (vn_reference_lookup_pieces): Likewise. | |
14079 | * Makefile.in (expmed.o-warn): Add -Wno-error. | |
14080 | ||
f086d5d6 | 14081 | 2010-04-07 Martin Jambor <mjambor@suse.cz> |
14082 | ||
14083 | * tree-sra.c (find_param_candidates): Allow scalar va_list types. | |
14084 | ||
72b890e7 | 14085 | 2010-04-07 Iain Sandoe <iains@gcc.gnu.org> |
14086 | ||
14087 | PR driver/41594 | |
14088 | * gcc.c: Add -static-libstdc++ to list of recognized options. | |
14089 | ||
be67f556 | 14090 | 2010-04-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14091 | ||
f94eb6db | 14092 | * config.gcc (i[34567]86-*-solaris2*): Default with_tune_32 to generic. |
be67f556 | 14093 | |
84626878 | 14094 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
14095 | ||
14096 | PR middle-end/42617 | |
f94eb6db | 14097 | * expr.c (expand_expr_real_1): For TARGET_MEM_REFs with pointer |
14098 | bases build simple mem attributes to retain points-to information. | |
84626878 | 14099 | |
1f1e1860 | 14100 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
14101 | ||
14102 | PR middle-end/42617 | |
14103 | * alias.c (ao_ref_from_mem): Without MEM_OFFSET or MEM_SIZE | |
14104 | preserve points-to related information. | |
14105 | ||
6d72287b | 14106 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
14107 | ||
14108 | PR middle-end/42617 | |
14109 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not | |
14110 | discard plain indirect references. | |
f94eb6db | 14111 | * fold-const.c (operand_equal_p): Guard against NULL_TREE type. |
6d72287b | 14112 | * tree.c (tree_nop_conversion): Likewise. |
14113 | ||
b2e3737c | 14114 | 2010-04-07 Dodji Seketeli <dodji@redhat.com> |
14115 | ||
14116 | PR debug/43628 | |
14117 | * dwarf2out.c (modified_type_die): Ignore artificial typedefs. | |
14118 | ||
9a3865f9 | 14119 | 2010-04-06 Kai Tietz <kai.tietz@onevision.com> |
14120 | ||
14121 | * config/i386/i386.c (ix86_handle_cconv_attribute): Ignore | |
14122 | calling convention attributes on METHOD_TYPEs for w64 ABI, too. | |
14123 | ||
9cfdcdb1 | 14124 | 2010-04-07 Sebastian Pop <sebastian.pop@amd.com> |
14125 | ||
14126 | * tree-if-conv.c: Fix indentation and comments. | |
14127 | ||
1055d96a | 14128 | 2010-04-07 Sebastian Pop <sebastian.pop@amd.com> |
14129 | ||
14130 | * tree-if-conv.c: Sort static functions in topological order. | |
14131 | ||
a1660ced | 14132 | 2010-04-07 Sebastian Pop <sebastian.pop@amd.com> |
14133 | ||
14134 | * tree-if-conv.c: Fix indentation and comments. | |
14135 | ||
1fc000b2 | 14136 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> |
14137 | ||
14138 | PR middle-end/43519 | |
14139 | * graphite-clast-to-gimple.c (max_signed_precision_type): Use | |
f94eb6db | 14140 | lang_hooks.types.type_for_size instead of |
14141 | build_nonstandard_integer_type. | |
1fc000b2 | 14142 | When converting an unsigned type to signed, double its precision. |
14143 | (gcc_type_for_interval): Use lang_hooks.types.type_for_size. | |
14144 | (gcc_type_for_iv_of_clast_loop): Call max_signed_precision_type. | |
f94eb6db | 14145 | (graphite_create_new_loop_guard): When ub + 1 wraps around, |
14146 | use lb <= ub. | |
1fc000b2 | 14147 | |
14148 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> | |
14149 | ||
14150 | PR middle-end/43519 | |
14151 | * graphite-clast-to-gimple.c (graphite_create_new_loop_guard): Use | |
14152 | POINTER_PLUS_EXPR for pointer types. | |
14153 | ||
14154 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> | |
14155 | ||
14156 | PR middle-end/43519 | |
14157 | * Makefile.in (graphite-clast-to-gimple.o): Depends on langhooks.h. | |
14158 | * graphite-clast-to-gimple.c: Include langhooks.h. | |
14159 | (max_signed_precision_type): New. | |
14160 | (max_precision_type): Takes two types as arguments. | |
14161 | (precision_for_value): New. | |
14162 | (precision_for_interval): New. | |
14163 | (gcc_type_for_interval): New. | |
14164 | (gcc_type_for_value): New. | |
14165 | (gcc_type_for_clast_term): New. | |
14166 | (gcc_type_for_clast_red): New. | |
14167 | (gcc_type_for_clast_bin): New. | |
14168 | (gcc_type_for_clast_expr): Split up into several functions. | |
14169 | (gcc_type_for_clast_eq): Rewritten. | |
14170 | (compute_bounds_for_level): New. | |
14171 | (compute_type_for_level_1): New. | |
14172 | (compute_type_for_level): New. | |
14173 | (gcc_type_for_cloog_iv): Removed. | |
14174 | (gcc_type_for_iv_of_clast_loop): Rewritten. | |
14175 | (graphite_create_new_loop): Compute the lower and upper bound types | |
14176 | with gcc_type_for_clast_expr. | |
14177 | (graphite_create_new_loop_guard): Same. | |
14178 | (find_cloog_iv_in_expr): Removed. | |
14179 | (compute_cloog_iv_types_1): Removed. | |
14180 | (compute_cloog_iv_types): Removed. | |
14181 | (gloog): Do not call compute_cloog_iv_types. | |
14182 | * graphite-sese-to-poly.c (new_gimple_bb): Do not initialize | |
14183 | GBB_CLOOG_IV_TYPES. | |
14184 | (free_data_refs_aux): Do not free GBB_CLOOG_IV_TYPES. | |
14185 | * sese.h (struct gimple_bb): Removed field cloog_iv_types. | |
14186 | (GBB_CLOOG_IV_TYPES): Removed. | |
14187 | ||
14188 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> | |
14189 | ||
14190 | * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Assert that | |
14191 | gimple_phi_num_args of the loop close SSA phi node is equal to 1. | |
14192 | (detect_commutative_reduction): Same. | |
14193 | ||
ca77c6ec | 14194 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> |
14195 | ||
14196 | * graphite-clast-to-gimple.c (graphite_verify): Remove redundant | |
14197 | call to verify_ssa. Invoke verify_loop_closed_ssa with an extra | |
14198 | argument. | |
14199 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa_form): Same. | |
14200 | * graphite-sese-to-poly.c (rewrite_reductions_out_of_ssa): Same. | |
14201 | (rewrite_commutative_reductions_out_of_ssa): Same. | |
14202 | * passes.c (execute_function_todo): Call verify_ssa for every pass | |
14203 | in the LNO. Invoke verify_loop_closed_ssa with an extra argument. | |
14204 | * tree-flow.h (verify_loop_closed_ssa): Update declaration. | |
14205 | * tree-parloops.c (parallelize_loops): Invoke verify_loop_closed_ssa | |
14206 | with an extra argument. | |
14207 | * tree-ssa-loop-manip.c (check_loop_closed_ssa_stmt): Same. Call | |
14208 | verify_ssa only when the extra argument is true. | |
14209 | (gimple_duplicate_loop_to_header_edge): Invoke verify_loop_closed_ssa | |
14210 | with an extra argument. | |
14211 | (tree_transform_and_unroll_loop): Same. | |
14212 | ||
a29ec3eb | 14213 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> |
14214 | ||
14215 | * passes.c (execute_function_todo): Call verify_loop_closed_ssa | |
14216 | for all the passes of the LNO having LOOP_CLOSED_SSA. | |
14217 | * tree-if-conv.c (pass_if_conversion): Remove TODO_verify_loops. | |
14218 | * tree-loop-distribution.c (pass_loop_distribution): Same. | |
14219 | * tree-pass.h (TODO_verify_loops): Removed. | |
14220 | * tree-ssa-loop.c (pass_tree_loop_init): Same. | |
14221 | (pass_lim): Same. | |
14222 | (pass_tree_unswitch): Same. | |
14223 | (pass_predcom): Same. | |
14224 | (pass_vectorize): Same. | |
14225 | (pass_linear_transform): Same. | |
14226 | (pass_graphite_transforms): Same. | |
14227 | (pass_iv_canon): Same. | |
14228 | (pass_complete_unroll): Same. | |
14229 | (pass_complete_unrolli): Same. | |
14230 | (pass_parallelize_loops): Same. | |
14231 | (pass_loop_prefetch): Same. | |
14232 | (pass_iv_optimize): Same. | |
14233 | ||
69f0b410 | 14234 | 2010-04-06 Changpeng Fang <changpeng.fang@amd.com> |
14235 | ||
14236 | PR middle-end/32824 | |
14237 | * passes.c (init_optimization_passes): Move pass_lim before | |
14238 | pass_copy_prop and pass_dce_loop. | |
14239 | ||
56bbb355 | 14240 | 2010-04-06 Jakub Jelinek <jakub@redhat.com> |
14241 | ||
14242 | PR target/43667 | |
14243 | * config/i386/i386.c (bdesc_multi_arg): Use OPTION_MASK_ISA_XOP | |
14244 | instead of OPTION_MASK_ISA_AVX for __builtin_ia32_vpermil2p*. | |
14245 | (ix86_expand_args_builtin): Use V*_FTYPE_* enum codes instead of | |
14246 | MULTI_* defines for 4 argument vpermil2p* builtins. | |
14247 | ||
c356ea4c | 14248 | 2010-04-06 Uros Bizjak <ubizjak@gmail.com> |
14249 | ||
14250 | * config/i386/i386-protos.h (x86_maybe_negate_const_int): Declare. | |
14251 | * config/i386/i386.c (x86_maybe_negate_const_int): New. | |
14252 | (x86_output_mi_thunk): Use x86_maybe_negate_const_int. | |
14253 | * config/i386/i386.md (*add<mode>_1, *addsi_1_zext, *addhi_1, | |
14254 | *addhi_1_lea, *addqi_1, *addqi_1_lea, *addqi_1_slp, *add<mode>_2, | |
14255 | *addsi_2_zext, *addhi_2, *addqi_2, *add<mode>_3, *addsi_3_zext, | |
14256 | *addhi_3, *addqi_3,*add<mode>_5, *addhi_5, *addqi_5): | |
14257 | Use x86_maybe_negate_const_int to output insn mnemonic. | |
14258 | (*adddi_4, *addsi_4, *addhi_4, *addqi_4): Ditto. Remove overflow | |
14259 | check from instruction predicate. Update comments. | |
14260 | * config/i386/sync.md (sync_add<mode>): Use | |
14261 | x86_maybe_negate_const_int to output insn mnemonic. | |
9adc5680 | 14262 | |
c356ea4c | 14263 | 2010-04-06 Jan Hubicka <jh@suse.cz> |
14264 | ||
14265 | PR tree-optimization/42906 | |
14266 | * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Add | |
14267 | IGNORE_SELF argument. Set visited_control_parents for fully | |
14268 | processed BBs. | |
9adc5680 | 14269 | (find_obviously_necessary_stmts): Update call of |
14270 | mark_control_dependent_edges_necessary. | |
c356ea4c | 14271 | (propagate_necessity): Likewise. Handle PHI edges more curefully. |
9adc5680 | 14272 | |
32293f26 | 14273 | 2010-04-06 Uros Bizjak <ubizjak@gmail.com> |
14274 | ||
14275 | * config/i386/i386.md: Remove comment about 'e' and 'E' | |
14276 | operand modifier. | |
14277 | ||
33731620 | 14278 | 2010-04-06 Richard Guenther <rguenther@suse.de> |
14279 | ||
14280 | PR tree-optimization/43627 | |
14281 | * tree-vrp.c (extract_range_from_unary_expr): Widenings | |
14282 | of [1, +INF(OVF)] go to [1, +INF(OVF)] of the wider type, | |
14283 | not varying. | |
14284 | ||
2fdc28c4 | 14285 | 2010-04-06 Jakub Jelinek <jakub@redhat.com> |
14286 | ||
2fb69c7a | 14287 | * BASE-VER: Change to 4.6.0. |
14288 | ||
2fdc28c4 | 14289 | PR target/43638 |
14290 | * config/i386/i386.c (print_operand): Remove 'e' and 'E' code | |
14291 | handling. | |
14292 | ||
30806cf1 | 14293 | 2010-04-06 Richard Guenther <rguenther@suse.de> |
14294 | ||
14295 | PR middle-end/43661 | |
14296 | * fold-const.c (fold_comparison): Handle X * 0 CMP 0. | |
14297 | ||
a0440ffb | 14298 | 2010-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
14299 | ||
14300 | * doc/invoke.texi (Optimize Options): Document that LTO | |
14301 | won't remove object access purely due to incompatible | |
14302 | declarations. | |
14303 | ||
8e19aa33 | 14304 | 2010-04-04 Matthias Klose <doko@ubuntu.com> |
14305 | ||
14306 | * graphite-sese-to-poly.c (translate_scalar_reduction_to_array): | |
14307 | Initialize variable. | |
14308 | ||
c6b80e5d | 14309 | 2010-04-03 Richard Guenther <rguenther@suse.de> |
14310 | ||
14311 | PR middle-end/42509 | |
14312 | * alias.c (nonoverlapping_memrefs_p): For spill-slot accesses | |
14313 | require a non-NULL MEM_OFFSET. | |
14314 | ||
7cf0dbf3 | 14315 | 2010-04-02 Steven Bosscher <steven@gcc.gnu.org> |
14316 | ||
c356ea4c | 14317 | * ada/gcc-interface/Make-lang.in, alias.c, attribs.c, auto-inc-dec.c, |
7cf0dbf3 | 14318 | basic-block.h, bb-reorder.c, calls.c, c-common.c, cgraph.h, |
14319 | collect2.h, config/alpha/alpha.c, config/alpha/alpha.md, | |
14320 | config/alpha/predicates.md, config/arm/arm.md, | |
14321 | config/arm/lib1funcs.asm, config/arm/neon-schedgen.ml, | |
14322 | config/avr/avr.c, config/avr/avr.md, config/bfin/bfin.c, | |
14323 | config/darwin9.h, config/darwin.c, config/darwin.h, | |
14324 | config/h8300/h8300.c, config/i386/cpuid.h, config/i386/cygming.h, | |
14325 | config/i386/cygwin.h, config/i386/mingw32.h, config/i386/msformat-c.c, | |
14326 | config/i386/sol2-10.h, config/i386/xopintrin.h, config/ia64/ia64.c, | |
14327 | config/ia64/ia64.md, config/ia64/sync.md, config/mep/mep.c, | |
14328 | config/mips/mips.md, config/mn10300/mn10300.c, | |
14329 | config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.md, | |
14330 | config/rs6000/aix.h, config/rs6000/dfp.md, | |
14331 | config/rs6000/rs6000-builtin.def, config/rs6000/rs6000-c.c, | |
14332 | config/rs6000/vector.md, config/rtems.h, config/rx/rx.md, | |
14333 | config/s390/s390.md, config/sol2-c.c, config/sparc/sol2-bi.h, | |
14334 | config/sparc/sol2-gas.h, config/sparc/sparc.h, config/sparc/sparc.md, | |
14335 | config/sparc/sparc-protos.h, config/spu/spu.c, config/spu/spu-c.c, | |
14336 | config/t-darwin, convert.c, c.opt, c-opts.c, cp/Make-lang.in, | |
14337 | c-pretty-print.c, c-typeck.c, df-core.c, df-scan.c, diagnostic.c, | |
14338 | diagnostic.h, doc/cppopts.texi, doc/cpp.texi, doc/extend.texi, | |
14339 | doc/gimple.texi, doc/languages.texi, doc/plugins.texi, doc/rtl.texi, | |
14340 | doc/standards.texi, doc/tree-ssa.texi, doc/trouble.texi, dominance.c, | |
14341 | fold-const.c, fortran/Make-lang.in, fwprop.c, gcc-plugin.h, | |
14342 | gensupport.c, gimple.h, gimple-iterator.c, graphite.c, | |
14343 | graphite-clast-to-gimple.c, graphite-clast-to-gimple.h, | |
14344 | graphite-dependences.c, graphite-poly.c, graphite-poly.h, | |
14345 | graphite-ppl.c, graphite-ppl.h, graphite-scop-detection.c, | |
14346 | graphite-sese-to-poly.c, graphite-sese-to-poly.h, ifcvt.c, intl.c, | |
14347 | intl.h, ipa.c, ipa-cp.c, ipa-inline.c, ipa-prop.c, ipa-prop.h, | |
14348 | ipa-pure-const.c, ipa-reference.c, ipa-type-escape.c, ira-color.c, | |
14349 | ira-conflicts.c, ira-lives.c, java/Make-lang.in, lambda-code.c, | |
14350 | loop-invariant.c, lto/Make-lang.in, lto-streamer.h, lto-streamer-in.c, | |
14351 | objc/Make-lang.in, objcp/Make-lang.in, omp-low.c, optc-gen.awk, | |
14352 | opt-functions.awk, opth-gen.awk, params.def, passes.c, | |
14353 | postreload-gcse.c, print-tree.c, recog.c, regrename.c, reload.h, | |
14354 | rtl.def, sched-int.h, sched-rgn.c, sel-sched-dump.c, sese.c, sese.h, | |
14355 | store-motion.c, stor-layout.c, tree-cfgcleanup.c, tree-chrec.c, | |
14356 | tree-complex.c, tree-data-ref.c, tree.def, tree-eh.c, tree-flow.h, | |
14357 | tree-flow-inline.h, tree.h, tree-loop-distribution.c, tree-outof-ssa.c, | |
14358 | tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c, | |
14359 | tree-scalar-evolution.c, tree-ssa-address.c, tree-ssa-alias.c, | |
14360 | tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c, | |
14361 | tree-ssa-dse.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c, | |
14362 | tree-ssa-loop-manip.c, tree-ssa-math-opts.c, tree-ssa-operands.c, | |
14363 | tree-ssa-pre.c, tree-ssa-sccvn.c, tree-ssa-structalias.c, | |
14364 | tree-ssa-uncprop.c, tree-tailcall.c, tree-vect-data-refs.c, | |
14365 | tree-vect-loop.c, tree-vectorizer.h, tree-vect-slp.c, tree-vrp.c, | |
14366 | unwind-dw2-fde-darwin.c, varpool.c: Update copyright years. | |
14367 | ||
e0934084 | 14368 | 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
14369 | ||
14370 | PR other/43620 | |
14371 | * doc/install.texi (Prerequisites): Bump Automake version to 1.11.1. | |
14372 | * aclocal.m4: Regenerate. | |
14373 | ||
87c0a9fc | 14374 | 2010-04-02 Richard Guenther <rguenther@suse.de> |
14375 | ||
14376 | PR tree-optimization/43629 | |
14377 | * tree-ssa-ccp.c (likely_value): Reset all_undefined_operands | |
14378 | if we have seen a constant value. | |
14379 | ||
ed99630c | 14380 | 2010-04-02 Joseph Myers <joseph@codesourcery.com> |
14381 | ||
f94eb6db | 14382 | * read-rtl.c (read_rtx_1): Give an error for EOF while looking for ']'. |
ed99630c | 14383 | |
ae6c5ae5 | 14384 | 2010-04-02 Richard Earnshaw <rearnsha@arm.com> |
14385 | ||
14386 | PR target/43469 | |
c356ea4c | 14387 | * arm.c (legitimize_tls_address): Adjust call to |
ae6c5ae5 | 14388 | gen_tls_load_dot_plus_four. |
14389 | (arm_note_pic_base): New function. | |
14390 | (arm_cannot_copy_insn_p): Use it. | |
14391 | * thumb2.md (tls_load_dot_plus_four): Rework to avoid use of '+' in | |
14392 | constraint. | |
14393 | ||
fbd8fb2d | 14394 | 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
14395 | ||
14396 | PR bootstrap/43531 | |
14397 | ||
14398 | Revert: | |
14399 | 2009-09-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
14400 | ||
14401 | * Makefile.in ($(out_object_file)): Depend on | |
14402 | gt-$(basename $(notdir $(out_file))).h. | |
14403 | ||
657e7797 | 14404 | 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org> |
4345bfd0 | 14405 | |
f94eb6db | 14406 | * config.gcc (lm32-*-rtems*): Add t-lm32. |
4345bfd0 | 14407 | |
657e7797 | 14408 | 2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com> |
4345bfd0 | 14409 | |
f94eb6db | 14410 | * config.gcc: Add lm32-*-rtems*. |
14411 | * config/lm32/rtems.h: New file. | |
4345bfd0 | 14412 | |
19cd9266 | 14413 | 2010-04-01 Dave Korn <dave.korn.cygwin@gmail.com> |
14414 | ||
14415 | PR target/42609 | |
14416 | * config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin. | |
14417 | ||
938dd628 | 14418 | 2010-04-01 Jakub Jelinek <jakub@redhat.com> |
14419 | ||
14420 | * dwarf2out.c (output_compilation_unit_header): For | |
14421 | -gdwarf-4 use version 4 instead of version 3. | |
14422 | (output_line_info): For version 4 and above emit additional | |
14423 | maximum ops per insn header field. | |
14424 | (DWARF_LINE_DEFAULT_MAX_OPS_PER_INSN): Define. | |
14425 | ||
14426 | * dwarf2out.c (is_c_family, is_java): Remove. | |
14427 | (lower_bound_default): New function. | |
14428 | (add_bound_info, gen_descr_array_type_die): Use it. | |
14429 | ||
9be13539 | 14430 | 2010-04-01 Dodji Seketeli <dodji@redhat.com> |
14431 | ||
14432 | PR debug/43325 | |
14433 | * dwarf2out.c (gen_variable_die): Allow debug info for variable | |
14434 | re-declaration when it happens in a function. | |
14435 | ||
1359ee7a | 14436 | 2010-04-01 Aldy Hernandez <aldyh@redhat.com> |
14437 | ||
14438 | * cgraph.c (cgraph_add_function_insertion_hook): Update comment. | |
14439 | (cgraph_remove_function_insertion_hook): Same. | |
14440 | (cgraph_call_function_insertion_hooks): Same. | |
14441 | ||
9c44b395 | 14442 | 2010-04-01 Richard Guenther <rguenther@suse.de> |
14443 | ||
14444 | PR middle-end/43614 | |
14445 | * tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS | |
14446 | and TREE_THIS_VOLATILE. | |
14447 | (copy_ref_info): Likewise. | |
14448 | * tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE. | |
14449 | * tree.c (build6_stat): Ignore side-effects of all but arg5 | |
14450 | for TARGET_MEM_REF. Set TREE_THIS_VOLATILE from arg5 of | |
14451 | TARGET_MEM_REF. | |
14452 | ||
0369b84f | 14453 | 2010-04-01 Richard Guenther <rguenther@suse.de> |
14454 | ||
14455 | PR tree-optimization/43607 | |
14456 | * ipa-type-escape.c (check_call): Do not access non-existing | |
14457 | arguments. | |
14458 | ||
6831e9b9 | 14459 | 2010-04-01 Richard Guenther <rguenther@suse.de> |
14460 | ||
14461 | PR middle-end/43602 | |
14462 | Revert | |
657e7797 | 14463 | 2010-03-30 Seongbae Park <seongbae.park@gmail.com> |
14464 | Jack Howarth <howarth@bromo.med.uc.edu> | |
6831e9b9 | 14465 | |
14466 | * tree-profile.c (tree_init_ic_make_global_vars): Make static | |
14467 | variables TLS. | |
14468 | ||
3882b9ba | 14469 | 2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14470 | ||
14471 | * doc/install.texi (Prerequisites): Document libelf usability on | |
14472 | IRIX 5/6 and Solaris 2. | |
14473 | (Specific, i?86-*-solaris2.10): No 64-bit default configuration. | |
14474 | Update GNU as, GNU ld requirements. | |
14475 | (Specific, *-*-solaris2*): Document Solaris 7 obsoletion, removal. | |
14476 | Document Sun Studio compiler download. | |
14477 | Update and simplify as, ld recommendations. | |
14478 | (Specific, *-*-solaris2.7): Note obsoletion, removal. | |
14479 | ||
2c22525d | 14480 | 2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14481 | ||
be67f556 | 14482 | * config.gcc (i[34567]86-*-solaris2*): Default with_arch_32, |
2c22525d | 14483 | with_tune_32 to pentium4. |
14484 | ||
684548b1 | 14485 | 2010-04-01 Uros Bizjak <ubizjak@gmail.com> |
14486 | ||
14487 | * config/i386/cpuid.h (__get_cpuid_max): Move misplaced comment. | |
14488 | ||
20d2f530 | 14489 | 2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14490 | ||
14491 | * doc/install.texi (Specific, mips-sgi-irix5): Document IRIX 5 | |
14492 | obsoletion, removal. | |
14493 | Update IDO URL. | |
14494 | Document GNU as requirement. | |
14495 | Update configure requirements. | |
f94eb6db | 14496 | (Specific, mips-sgi-irix6): Document IRIX 6 < 6.5 obsoletion, removal. |
20d2f530 | 14497 | Recomment IRIX 6.5.18+. |
14498 | Document IDF/IDL requirement. | |
14499 | Document GNU as requirement. | |
14500 | Document GNU ld bootstrap failure. | |
14501 | Remove freeware.sgi.com reference. | |
14502 | ||
ac8c2728 | 14503 | 2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14504 | ||
14505 | * doc/install.texi (Specific, alpha*-dec-osf*): Document Tru64 | |
14506 | UNIX V4.0, V5.0 obsoletion, removal. | |
14507 | Remove --with-gc=simple reference. | |
14508 | Update VM requirements during bootstrap. | |
14509 | Remove -oldas bootstrap description. | |
14510 | Update binutils reference. | |
14511 | Remove comparison failure note. | |
14512 | ||
ed2517f6 | 14513 | 2010-03-31 Richard Guenther <rguenther@suse.de> |
14514 | Zdenek Dvorak <ook@ucw.cz> | |
14515 | Sebastian Pop <sebastian.pop@amd.com> | |
14516 | ||
14517 | PR middle-end/43464 | |
14518 | * tree-ssa-copy.c (init_copy_prop): Handle loop close phi nodes | |
14519 | with multiple arguments. | |
14520 | (execute_copy_prop): Remove call to rewrite_into_loop_closed_ssa. | |
14521 | ||
14522 | 2010-03-31 Sebastian Pop <sebastian.pop@amd.com> | |
14523 | ||
14524 | * graphite-dependences.c (print_pddr): Call print_pdr with an | |
14525 | extra argument. | |
14526 | * graphite-poly.c (debug_pdr): Add an extra argument for the | |
14527 | verbosity level. | |
14528 | (print_pdr): Same. | |
14529 | (print_pbb_domain): Same. | |
14530 | (print_pbb): Same. | |
14531 | (print_scop_context): Same. | |
14532 | (print_scop): Same. | |
14533 | (print_cloog): Same. | |
14534 | (debug_pbb_domain): Same. | |
14535 | (debug_pbb): Same. | |
14536 | (print_pdrs): Same. | |
14537 | (debug_pdrs): Same. | |
14538 | (debug_scop_context): Same. | |
14539 | (debug_scop): Same. | |
14540 | (debug_cloog): Same. | |
14541 | (print_scop_params): Same. | |
14542 | (debug_scop_params): Same. | |
14543 | (print_iteration_domain): Same. | |
14544 | (print_iteration_domains): Same. | |
14545 | (debug_iteration_domain): Same. | |
14546 | (debug_iteration_domains): Same. | |
14547 | (print_scattering_function): Same. | |
14548 | (print_scattering_functions): Same. | |
14549 | (debug_scattering_function): Same. | |
14550 | (debug_scattering_functions): Same. | |
14551 | * graphite-poly.h (debug_pdr): Update declaration. | |
14552 | (print_pdr): Same. | |
14553 | (print_pbb_domain): Same. | |
14554 | (print_pbb): Same. | |
14555 | (print_scop_context): Same. | |
14556 | (print_scop): Same. | |
14557 | (print_cloog): Same. | |
14558 | (debug_pbb_domain): Same. | |
14559 | (debug_pbb): Same. | |
14560 | (print_pdrs): Same. | |
14561 | (debug_pdrs): Same. | |
14562 | (debug_scop_context): Same. | |
14563 | (debug_scop): Same. | |
14564 | (debug_cloog): Same. | |
14565 | (print_scop_params): Same. | |
14566 | (debug_scop_params): Same. | |
14567 | (print_iteration_domain): Same. | |
14568 | (print_iteration_domains): Same. | |
14569 | (debug_iteration_domain): Same. | |
14570 | (debug_iteration_domains): Same. | |
14571 | (print_scattering_function): Same. | |
14572 | (print_scattering_functions): Same. | |
14573 | (debug_scattering_function): Same. | |
14574 | (debug_scattering_functions): Same. | |
14575 | ||
14576 | 2010-03-31 Sebastian Pop <sebastian.pop@amd.com> | |
14577 | ||
14578 | * graphite-poly.c (print_scattering_function_1): New. | |
14579 | (print_scattering_function): Call it. | |
14580 | (print_scop_params): Remove spaces at the end of lines. | |
14581 | (print_cloog): New. | |
14582 | (debug_cloog): New. | |
14583 | * graphite-poly.h (print_cloog): Declared. | |
14584 | (debug_cloog): Declared. | |
14585 | ||
14586 | 2010-03-31 Sebastian Pop <sebastian.pop@amd.com> | |
14587 | ||
14588 | * graphite-sese-to-poly.c (graphite_loop_normal_form): Add the IV bump | |
14589 | in loop->header. | |
14590 | * tree-flow.h (canonicalize_loop_ivs): Updated declaration. | |
14591 | * tree-parloops.c (gen_parallel_loop): Add the IV bump in loop->latch. | |
14592 | * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Add a new parameter | |
14593 | to switch between adding the IV bump in loop->latch or in loop->header. | |
14594 | ||
14595 | 2010-03-31 Sebastian Pop <sebastian.pop@amd.com> | |
14596 | ||
14597 | * graphite-poly.c (print_scattering_function): Pretty print following | |
14598 | the scoplib format. | |
14599 | (print_pdr): Same. | |
14600 | (print_pbb_domain): Same. | |
14601 | (dump_gbb_cases): Same. | |
14602 | (dump_gbb_conditions): Same. | |
14603 | (print_pdrs): Same. | |
14604 | (print_pbb): Same. | |
14605 | (print_scop_params): Same. | |
14606 | (print_scop_context): Same. | |
14607 | (print_scop): Same. | |
14608 | (print_pbb_body): New. | |
14609 | (lst_indent_to): New. | |
14610 | (print_lst): Start new lines with a #. | |
14611 | * graphite-poly.h (pbb_bb): New. | |
14612 | (pbb_index): Use pbb_bb. | |
14613 | * graphite-ppl.c (ppl_print_powerset_matrix): Print the number of | |
14614 | disjuncts. | |
14615 | * tree-data-ref.c (dump_data_reference): Start new lines with a #. | |
14616 | ||
833de58a | 14617 | 2010-03-31 Jakub Jelinek <jakub@redhat.com> |
14618 | ||
2769d34f | 14619 | * dwarf2out.c (size_of_die): For -gdwarf-4 use |
14620 | uleb128 size instead of fixed 1 or 2 for dw_val_class_loc | |
14621 | and 0 instead of 1 for dw_val_class_flag. | |
14622 | (value_format): For -gdwarf-4 use DW_FORM_sec_offset for | |
14623 | dw_val_class_range_list, dw_val_class_loc_list, | |
14624 | dw_val_class_lineptr and dw_val_class_macptr, use | |
14625 | DW_FORM_flag_present for dw_val_class_flag and | |
14626 | DW_FORM_exprloc for dw_val_class_loc. | |
14627 | (output_die): For -gdwarf-4 print dw_val_class_loc | |
14628 | size as uleb128 instead of 1 or 2 bytes and don't print | |
14629 | anything for dw_val_class_flag. | |
14630 | ||
c2becbaf | 14631 | * var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn |
14632 | instead of cselib_lookup following by tweaking locs->setting_insn. | |
14633 | ||
833de58a | 14634 | PR bootstrap/43596 |
14635 | * cselib.c (cselib_process_insn): Clear cselib_current_insn | |
14636 | even before returning from label, setjmp call or volatile asm | |
14637 | handling. | |
14638 | ||
3e1cde87 | 14639 | 2010-03-31 Richard Guenther <rguenther@suse.de> |
14640 | ||
14641 | PR middle-end/43600 | |
14642 | * cgraphunit.c (cgraph_output_in_order): Do not allocate | |
14643 | temporary data on stack. | |
14644 | ||
64920f70 | 14645 | 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14646 | ||
14647 | * config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef. | |
14648 | (PUSHSECTION_ASM_OP): Remove. | |
14649 | (POPSECTION_ASM_OP): Remove. | |
14650 | (PUSHSECTION_FORMAT): Remove. | |
14651 | * config/sol2.h (PUSHSECTION_FORMAT): Define. | |
14652 | * config/sparc/sol2.h [!USE_GAS] (PUSHSECTION_FORMAT): Redefine. | |
14653 | * config/sol2.c (solaris_output_init_fini): Use it. | |
14654 | ||
9d2a6747 | 14655 | 2010-03-31 Jie Zhang <jie@codesourcery.com> |
14656 | ||
14657 | PR 43574 | |
14658 | * opt-functions.awk (var_type_struct): Use signed char type | |
14659 | for simple variables. | |
14660 | ||
dc2059b5 | 14661 | 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14662 | ||
14663 | * config/sol2.c: Include output.h. | |
14664 | (solaris_assemble_visibility): New function. | |
14665 | * config/t-sol2 (sol2.o): Add output.h dependency. | |
14666 | * config/sol2-protos.h (solaris_assemble_visibility): Declare. | |
14667 | * config/sol2.h [!USE_GAS] (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
14668 | Redefine. | |
14669 | ||
0f18e023 | 14670 | 2010-03-31 Jakub Jelinek <jakub@redhat.com> |
14671 | ||
3fdcdf72 | 14672 | PR target/43580 |
14673 | * config/arm/arm.c (arm_save_coproc_regs): Use Pmode instead of | |
14674 | V2SImode or XFmode on PRE_DEC. | |
14675 | ||
0f18e023 | 14676 | PR debug/43557 |
14677 | * cfgexpand.c (expand_debug_expr): Handle VOIDmode mode like | |
14678 | BLKmode. | |
14679 | ||
4e4c89ec | 14680 | 2010-03-31 Jie Zhang <jie@codesourcery.com> |
14681 | ||
14682 | PR 43562 | |
14683 | * reload.h (caller_save_initialized_p): Declare. | |
14684 | * toplev.c (backend_init_target): Don't call | |
684548b1 | 14685 | init_caller_save but set caller_save_initialized_p to false. |
4e4c89ec | 14686 | * caller-save.c (caller_save_initialized_p): Define. |
14687 | (init_caller_save): Check caller_save_initialized_p. | |
14688 | * ira.c (ira): Call init_caller_save if flag_caller_saves. | |
14689 | ||
55738a74 | 14690 | 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14691 | ||
14692 | PR target/39048 | |
14693 | * config.gcc (i[34567]86-*-solaris2*): Add i386/t-fprules-softfp | |
14694 | and soft-fp/t-softfp to tmake_file. | |
14695 | * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Redefine. | |
14696 | (LIBGCC2_TF_CEXT): Define. | |
14697 | (TF_SIZE): Define. | |
14698 | ||
ba981716 | 14699 | 2010-03-30 Alexandre Oliva <aoliva@redhat.com> |
14700 | ||
14701 | PR debug/42977 | |
14702 | * cselib.c (n_useless_values): Document handling of debug locs. | |
14703 | (n_useless_debug_values, n_debug_values): New variables. | |
14704 | (new_elt_loc_list): Don't add to debug values, keep count. | |
14705 | (promote_debug_loc): New. | |
14706 | (cselib_reset_table): Zero new variables. | |
14707 | (entry_and_rtx_equal_p): Promote debug locs. | |
14708 | (discard_useless_locs): Increment n_useless_debug_values for | |
14709 | debug values. | |
14710 | (remove_useless_values): Adjust n_useless_values and n_debug_values | |
14711 | with n_useless_debug_values. | |
14712 | (add_mem_for_addr): Promote debug locs. | |
14713 | (cselib_lookup_mem): Likewise. | |
14714 | (cselib_lookup_addr): Renamed to... | |
684548b1 | 14715 | (cselib_lookup_addr_1): ... this. Promote debug locs. Don't call... |
ba981716 | 14716 | (cselib_log_lookup): ... this. Turn into... |
14717 | (cselib_lookup_addr): ... new wrapper. | |
14718 | (cselib_lookup_from_insn): New. | |
14719 | (cselib_invalidate_regno): Increment n_useless_debug_values for | |
14720 | debug values. | |
14721 | (cselib_invalidate_mem): Likewise. | |
14722 | (cselib_process_insn): Take n_deleted and n_debug_values into | |
14723 | account to guard remove_useless_value call. | |
14724 | (cselib_finish): Zero n_useless_debug_values. | |
14725 | * cselib.h (cselib_lookup_from_insn): Declare. | |
14726 | * sched-deps.c (sched_analyze_1): Use cselib_lookup_from_insn. | |
14727 | (sched_analyze_2): Likewise. | |
14728 | ||
54f4c5d9 | 14729 | 2010-03-30 Jakub Jelinek <jakub@redhat.com> |
14730 | ||
910193a5 | 14731 | * var-tracking.c (use_narrower_mode_test, use_narrower_mode): New |
14732 | functions. | |
14733 | (adjust_mems): Replace narrowing SUBREG of expression containing | |
14734 | just PLUS, MINUS, MULT and ASHIFT of registers and constants | |
14735 | with operations in the narrower mode. | |
14736 | ||
54f4c5d9 | 14737 | PR debug/43593 |
684548b1 | 14738 | * var-tracking.c (dataflow_set_clear_at_call): Invalidate just |
14739 | regs_invalidated_by_call instead all call_used_reg_set registers. | |
54f4c5d9 | 14740 | |
8d5cb2fa | 14741 | 2010-03-30 Sebastian Pop <sebastian.pop@amd.com> |
14742 | ||
14743 | PR middle-end/43430 | |
14744 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Replace type | |
14745 | pointer comparisons with types_compatible_p. | |
14746 | * tree-vect-stmts.c (vectorizable_call): Same. | |
14747 | (vectorizable_condition): Same. | |
14748 | ||
b437383e | 14749 | 2010-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14750 | ||
14751 | * config/s390/s390.c (s390_emit_prologue): Omit issuing a dynamic | |
14752 | stack check if the mask would be zero. | |
14753 | ||
657e7797 | 14754 | 2010-03-30 Seongbae Park <seongbae.park@gmail.com> |
14755 | Jack Howarth <howarth@bromo.med.uc.edu> | |
72aa8cd5 | 14756 | |
14757 | * tree-profile.c (tree_init_ic_make_global_vars): Make static | |
14758 | variables TLS. | |
14759 | ||
b6d771b1 | 14760 | 2010-03-30 Joseph Myers <joseph@codesourcery.com> |
14761 | ||
14762 | PR other/25232 | |
14763 | * libgcc-std.ver (GCC_4.5.0): Define version. Include __unordxf2 | |
14764 | and __unordtf2. | |
14765 | * config/bfin/libgcc-bfin.ver (GCC_4.5.0): Define version. | |
14766 | Include ___unordxf2 and ___unordtf2. | |
14767 | * config/i386/libgcc-glibc.ver: Do not define inheritance from | |
14768 | GCC_4.4.0 here. | |
14769 | ||
cf842d6a | 14770 | 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr> |
14771 | ||
14772 | * config/lm32/t-lm32: New file. | |
14773 | * config.gcc: Use the above file when targetting lm32. | |
14774 | ||
7893460c | 14775 | 2010-03-28 Duncan Sands <baldrick@free.fr> |
14776 | ||
684548b1 | 14777 | * Makefile.in (PLUGIN_HEADERS): Add except.h. |
7893460c | 14778 | |
ff0bcc09 | 14779 | 2010-03-29 Sebastian Pop <sebastian.pop@amd.com> |
14780 | ||
14781 | PR middle-end/43431 | |
14782 | * tree-vect-loop.c (vect_estimate_min_profitable_iters): | |
14783 | Improve vectorization cost model diagnostic. | |
14784 | ||
590a32b6 | 14785 | 2010-03-29 Sebastian Pop <sebastian.pop@amd.com> |
14786 | ||
14787 | PR middle-end/43436 | |
14788 | * tree-vect-data-refs.c (vect_analyze_data_refs): When | |
14789 | compute_data_dependences_for_loop returns false, early exit | |
14790 | and output an extra diagnostic for the failed data reference | |
14791 | analysis. | |
14792 | ||
307f7fda | 14793 | 2010-03-29 Richard Guenther <rguenther@suse.de> |
14794 | ||
14795 | PR tree-optimization/43560 | |
684548b1 | 14796 | * tree-ssa-loop-im.c (ref_always_accessed_p): Add store_p parameter. |
14797 | (can_sm_ref_p): Treat stores to readonly locations as trapping. | |
307f7fda | 14798 | |
1da23459 | 14799 | 2010-03-29 Jie Zhang <jie@codesourcery.com> |
14800 | ||
14801 | PR 43564 | |
14802 | * toplev.c (process_options): Set optimization_default_node | |
14803 | and optimization_current_node. | |
14804 | * opts.c (decode_options): Don't set optimization_default_node | |
14805 | and optimization_current_node. | |
14806 | ||
76ba288e | 14807 | 2010-03-29 Ralf Corsépius <ralf.corsepius@rtems.org> |
14808 | ||
14809 | * config/rtems.h: Abandon -qrtems_debug. | |
14810 | ||
0ab636bf | 14811 | 2010-03-28 Jan Hubicka <jh@suse.cz> |
14812 | ||
14813 | PR tree-optimization/43505 | |
14814 | * cgraph.c (cgraph_clone_node): When clonning a clone, replacement | |
14815 | map should not be copied. | |
14816 | ||
b1be8e04 | 14817 | 2010-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14818 | ||
14819 | PR middle-end/41674 | |
14820 | * cgraphunit.c (cgraph_build_static_cdtor): If target doesn't have | |
14821 | cdtors, set DECL_PRESERVE_P. | |
14822 | * ipa.c (cgraph_externally_visible_p): Return true if declaration | |
14823 | should be preseved. | |
14824 | ||
c7e8d0da | 14825 | 2010-03-27 Uros Bizjak <ubizjak@gmail.com> |
14826 | ||
14827 | PR tree-optimization/43528 | |
14828 | * stor-layout.c (place_field): Check that constant fits into | |
14829 | unsigned HWI when skipping calculation of MS bitfield layout. | |
14830 | ||
29755059 | 14831 | 2010-03-27 Jan Hubicka <jh@suse.cz> |
14832 | ||
14833 | PR middle-end/43391 | |
14834 | * varasm.c (make_decl_rtl): Deal with COMMON flag to make | |
14835 | notice_global_symbol work. | |
14836 | ||
9a21467c | 14837 | 2010-03-27 Jakub Jelinek <jakub@redhat.com> |
14838 | ||
14839 | * dwarf2out.c (dwarf2_debug_hooks): Use dwarf2out_function_decl | |
14840 | instead of dwarf2out_decl. | |
14841 | (struct var_loc_node): Remove section_label field. | |
14842 | (dwarf2out_function_decl): New function. | |
14843 | (dwarf2out_var_location): Don't set section_label field. | |
14844 | (dwarf2out_begin_function): Don't empty decl_loc_table here. | |
14845 | ||
31ac7341 | 14846 | 2010-03-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
14847 | ||
14848 | PR tree-optimization/43544 | |
14849 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): | |
14850 | First argument for builtin vectorized function hook is now a | |
14851 | tree to be able to distinguish between machine specific and | |
14852 | standard builtins. | |
14853 | * targhooks.c (default_builtin_vectorized_function): Ditto. | |
14854 | * targhooks.h (default_builtin_vectorized_function): Ditto. | |
14855 | * target.h (struct gcc_target): Ditto. | |
14856 | * tree-vect-stmts.c (vectorizable_function): Ditto. | |
14857 | * config/i386/i386.c (ix86_builtin_vectorized_function): Ditto. | |
14858 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_function): | |
14859 | Ditto. | |
14860 | ||
1799fbab | 14861 | 2010-03-26 Joseph Myers <joseph@codesourcery.com> |
14862 | ||
14863 | PR c/43381 | |
14864 | * c-decl.c (get_parm_info): Assert that decl going in OTHERS has a | |
14865 | nested binding iff it is a FUNCTION_DECL. | |
14866 | (store_parm_decls_newstyle): Pass nested=true to bind for | |
14867 | FUNCTION_DECLs amongst parameters. | |
14868 | ||
f6c38a60 | 14869 | 2010-03-26 Jakub Jelinek <jakub@redhat.com> |
14870 | ||
ee8f7e14 | 14871 | * var-tracking.c (vt_expand_loc_callback): Don't run |
14872 | cselib_expand_value_rtx_cb in dummy mode if | |
14873 | cselib_dummy_expand_value_rtx_cb returned false. | |
14874 | ||
de4798ba | 14875 | * var-tracking.c (emit_note_insn_var_location): For one part |
14876 | notes with offset 0, don't add EXPR_LIST around the location. | |
14877 | * dwarf2out.c (loc_descriptor, dw_loc_list_1, | |
14878 | add_location_or_const_value_attribute): Adjust for that change. | |
14879 | ||
f6c38a60 | 14880 | PR debug/43540 |
14881 | * dwarf2out.c (reg_save): For DW_CFA_expression put regnum | |
14882 | into first operand and location into second. | |
14883 | (dw_cfi_oprnd1_desc): Return dw_cfi_oprnd_reg_num instead of | |
14884 | dw_cfi_oprnd_loc for DW_CFA_expression. | |
14885 | (dw_cfi_oprnd2_desc): Return dw_cfi_oprnd_loc for DW_CFA_expression. | |
14886 | (output_cfa_loc, output_cfa_loc_raw): For DW_CFA_expression | |
14887 | assume first argument is regnum and second argument is location. | |
14888 | ||
6f666469 | 14889 | 2010-03-26 Uros Bizjak <ubizjak@gmail.com> |
14890 | ||
14891 | PR target/42113 | |
14892 | * config/alpha/alpha.md (*cmp_sadd_si): Change mode | |
14893 | of scratch register to DImode. Split to DImode comparison operator. | |
14894 | Use SImode subreg of scratch register in the multiplication. | |
14895 | (*cmp_sadd_sidi): Ditto. | |
14896 | (*cmp_ssub_si): Ditto. | |
14897 | (*cmp_ssub_sidi): Ditto. | |
14898 | ||
b3a206ed | 14899 | 2010-03-26 Uros Bizjak <ubizjak@gmail.com> |
14900 | ||
14901 | PR target/43524 | |
14902 | * config/i386/i386.c (ix86_expand_prologue) [TARGET_STACK_PROBE]: | |
14903 | Remove invalid assert and wrong comment. | |
14904 | ||
090bd40b | 14905 | 2010-03-26 Jakub Jelinek <jakub@redhat.com> |
14906 | ||
14907 | PR debug/43516 | |
14908 | * flags.h (final_insns_dump_p): New extern. | |
14909 | * final.c (final_insns_dump_p): New variable. | |
14910 | (rest_of_clean_state): Set it before -fdump-final-insns= | |
14911 | dumping, clear afterwards. | |
14912 | * print-rtl.c (print_rtx): If final_insns_dump_p don't dump | |
14913 | MEM_ALIAS_SET on MEMs. | |
14914 | ||
dd84455f | 14915 | 2010-03-26 David S. Miller <davem@davemloft.net> |
14916 | ||
14917 | * configure.ac: Fix sparc GOTDATA_OP bug check. | |
14918 | * configure: Rebuild. | |
14919 | ||
5b5886ef | 14920 | 2010-03-26 Alan Modra <amodra@gmail.com> |
14921 | ||
14922 | * config/rs6000/rs6000.md (cmptf_internal2): Correct comparison. | |
14923 | ||
7d167d36 | 14924 | 2010-03-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14925 | ||
14926 | * doc/tm.texi (Sections): Document TLS_COMMON_ASM_OP, | |
14927 | TLS_SECTION_ASM_FLAG. | |
14928 | ||
26043330 | 14929 | 2010-03-25 Jakub Jelinek <jakub@redhat.com> |
14930 | ||
daacc721 | 14931 | PR bootstrap/43511 |
14932 | * config/i386/i386.c (ix86_code_end): Set DECL_WEAK if TARGET_MACHO. | |
14933 | Clear first_function_block_is_cold. | |
14934 | ||
26043330 | 14935 | PR c/43385 |
14936 | * gimplify.c (gimple_boolify): Only recurse on __builtin_expect | |
14937 | argument if the argument is truth_value_p. | |
14938 | ||
6e4da586 | 14939 | 2010-03-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
14940 | ||
b3a206ed | 14941 | * config/rs6000/constraints.md: Update copyright year for my changes. |
dd75063e | 14942 | |
6e4da586 | 14943 | PR target/43484 |
14944 | * config/rs6000/rs6000.c (rs6000_split_multireg_move): If r0 is | |
14945 | used in reg+reg addressing, swap registers. | |
14946 | ||
21a38800 | 14947 | 2010-03-24 Jakub Jelinek <jakub@redhat.com> |
14948 | ||
5cbd74a3 | 14949 | PR debug/43293 |
14950 | * target.h (struct gcc_target): Add code_end hook. | |
14951 | * target-def.h (TARGET_ASM_CODE_END): Define to hook_void_void | |
14952 | if not yet defined. | |
14953 | (TARGET_ASM_OUT): Add TARGET_ASM_CODE_END. | |
14954 | * toplev.c (compile_file): Call targetm.asm_out.code_end | |
14955 | hook before unwind info/debug info output. | |
14956 | * config/i386/winnt.c (i386_pe_file_end): Don't call ix86_file_end. | |
14957 | * config/i386/linux.h (NEED_INDICATE_EXEC_STACK): Don't define. | |
14958 | (TARGET_ASM_FILE_END): Define to file_end_indicate_exec_stack. | |
14959 | * config/i386/linux64.h (NEED_INDICATE_EXEC_STACK): Don't define. | |
14960 | (TARGET_ASM_FILE_END): Define to file_end_indicate_exec_stack. | |
14961 | * config/i386/i386.c (ix86_file_end): Renamed to... | |
14962 | (ix86_code_end): ... this. Make static. Don't call | |
14963 | file_end_indicate_exec_stack. Emit unwind info using | |
14964 | final_start_function/final_end_function. | |
14965 | (darwin_x86_file_end): Remove. | |
14966 | (TARGET_ASM_CODE_END): Define. | |
14967 | * config/i386/i386.h (TARGET_ASM_FILE_END, | |
14968 | NEED_INDICATE_EXEC_STACK): Don't define. | |
14969 | * config/i386/darwin.h (darwin_x86_file_end): Remove prototype. | |
14970 | (TARGET_ASM_FILE_END): Define to darwin_file_end. | |
14971 | * config/i386/i386-protos.h (ix86_file_end): Remove prototype. | |
14972 | * doc/tm.texi (TARGET_ASM_CODE_END): Document. | |
14973 | ||
21a38800 | 14974 | PR target/43498 |
14975 | * config/i386/i386.c (x86_output_mi_thunk): Call final_start_function | |
14976 | at the beginning and final_end_function at the end. | |
14977 | * config/s390/s390.c (s390_output_mi_thunk): Likewise. | |
14978 | ||
7d070520 | 14979 | 2010-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14980 | ||
14981 | * configure.ac (i[34567]86-*-*): Handle Solaris 2/x86 TLS support | |
14982 | and Sun as TLS syntax. | |
14983 | (TLS_SECTION_ASM_FLAG) [on_solaris && !gas_flag]: Define. | |
14984 | * configure: Regenerate. | |
14985 | * config.in: Regenerate. | |
14986 | * varasm.c (TLS_SECTION_ASM_FLAG): Define default. | |
14987 | (default_elf_asm_named_section): Use it. | |
14988 | * config/i386/i386.c (output_pic_addr_const): Lowercase @DTPOFF. | |
14989 | (i386_output_dwarf_dtprel): Likewise. | |
14990 | (output_addr_const_extra): Likewise. | |
14991 | (output_pic_addr_const): Lowercase @GOTTPOFF. | |
14992 | (output_addr_const_extra): Likewise. | |
14993 | (output_pic_addr_const): Lowercase @GOTNTPOFF. | |
14994 | (output_addr_const_extra): Likewise. | |
14995 | (output_pic_addr_const): Lowercase @INDNTPOFF. | |
14996 | (output_addr_const_extra): Likewise. | |
14997 | (output_pic_addr_const): Lowercase @NTPOFF. | |
14998 | (output_addr_const_extra): Likewise. | |
14999 | (output_pic_addr_const): Lowercase @TPOFF. | |
15000 | (output_addr_const_extra): Likewise. | |
b3a206ed | 15001 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): Lowercase @TLSGD. |
7d070520 | 15002 | (*tls_global_dynamic_64): Likewise. |
15003 | (*tls_local_dynamic_base_32_gnu): Lowercase @TLSLDM. | |
15004 | (*tls_local_dynamic_base_64): Lowercase @TLSLD. | |
15005 | ||
15006 | * defaults.h (TLS_COMMON_ASM_OP): Provide default. | |
15007 | (ASM_OUTPUT_TLS_COMMON): Use it. | |
15008 | * config/i386/sol2-gas.h (TLS_COMMON_ASM_OP): Undef. | |
15009 | ||
15010 | PR target/38118 | |
b3a206ed | 15011 | * config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to tm_file. |
7d070520 | 15012 | * config/sparc/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Move ... |
15013 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): ... here. | |
15014 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Redefine. | |
15015 | * config/i386/sol2.h (TARGET_SUN_TLS): Redefine. | |
15016 | (ASM_DECLARE_OBJECT_NAME) [!USE_GAS]: Redefine. | |
15017 | ||
cf4f27b5 | 15018 | 2010-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15019 | ||
15020 | * config/i386/i386.c (override_options): Don't accept | |
15021 | -mtls-dialect=sun any longer. | |
15022 | * config/i386/i386.h (TARGET_SUN_TLS): Define as 0. | |
15023 | * config/i386/i386.md (*tls_global_dynamic_32_sun): Remove. | |
15024 | (*tls_local_dynamic_base_32_sun): Likewise. | |
15025 | * config/i386/sol2.h (TARGET_SUN_TLS): Redefine. | |
15026 | ||
dfecf957 | 15027 | 2010-03-24 Jakub Jelinek <jakub@redhat.com> |
15028 | ||
3a8605c1 | 15029 | PR debug/43508 |
15030 | * dwarf2out.c (mem_loc_descriptor): Don't ICE on | |
15031 | VEC_{MERGE,SELECT,CONCAT,DUPLICATE}. | |
15032 | ||
586b67ff | 15033 | PR debug/43479 |
15034 | * ira.c (adjust_cleared_regs): New function. | |
15035 | (update_equiv_regs): Adjust cleared_regs in DEBUG_INSNs. | |
15036 | ||
dfecf957 | 15037 | PR debug/19192 |
15038 | PR debug/43479 | |
15039 | * cfgexpand.c (gimple_assign_rhs_to_tree): Also set TREE_BLOCK | |
15040 | from gimple_block. | |
15041 | * expr.c (expand_expr_real): Restore previous | |
15042 | curr_insn_source_location and curr_insn_block after | |
15043 | expand_expr_real_1 call. | |
15044 | (expand_expr_real_1) <case SSA_NAME>: Call expand_expr_real | |
15045 | instead of expand_expr_real_1. | |
15046 | ||
e3c4abfb | 15047 | 2010-03-23 Vladimir Makarov <vmakarov@redhat.com> |
15048 | ||
15049 | PR rtl-optimization/43413 | |
15050 | * ira-color.c (setup_allocno_available_regs_num): Count prohibited | |
15051 | hard regs too. | |
15052 | ||
e4f53c6a | 15053 | 2010-03-22 James E. Wilson <wilson@codesourcery.com> |
15054 | ||
15055 | PR target/43348 | |
15056 | * ia64.md (call_nogp, call_value_nogp, sibcall_nogp, call_gp, | |
b3a206ed | 15057 | call_value_gp, sibcall_gp): Use 's' constraint not 'i'. |
e4f53c6a | 15058 | |
7765fb05 | 15059 | 2010-03-22 H.J. Lu <hongjiu.lu@intel.com> |
15060 | ||
b3a206ed | 15061 | * config/i386/i386.c (ix86_target_string): Add -mfma. |
15062 | Fix a typo in comment. | |
7765fb05 | 15063 | |
b9b018b5 | 15064 | 2010-03-22 Mike Stump <mikestump@comcast.net> |
15065 | ||
15066 | PR target/23071 | |
15067 | * config/rs6000/rs6000.c (darwin_rs6000_special_round_type_align): | |
15068 | Don't overly align based upon packed packed fields. | |
15069 | ||
2c69eb5f | 15070 | 2010-03-22 Jason Merrill <jason@redhat.com> |
15071 | ||
15072 | * c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]: | |
15073 | Use () rather than [], and move before the element type. | |
15074 | ||
f48f25b9 | 15075 | 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15076 | ||
15077 | * doc/configfiles.texi (Configuration Files): Removed | |
15078 | fixinc/Makefile*, intl/Makefile.*. | |
b3a206ed | 15079 | * doc/makefile.texi: Fixed markup. Abstract from version |
15080 | control system used. | |
f48f25b9 | 15081 | (Makefile): Removed obsolete gcc/java/parse.y example. |
15082 | * doc/sourcebuild.texi: Likewise. | |
15083 | (Top Level): Added config, gnattools, libdecnumber, libgcc, | |
b3a206ed | 15084 | libgomp, libssp. Removed fastjar. |
f48f25b9 | 15085 | (Miscellaneous Docs): Clarify location. |
15086 | Added COPYING3, COPYING3.LIB. | |
b3a206ed | 15087 | (Front End Directory): Moved Make-lang.in entry to new subsubsection. |
f48f25b9 | 15088 | |
4dcd7ab3 | 15089 | 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15090 | ||
15091 | PR target/38085 | |
15092 | * config/i386/i386.c (x86_function_profiler) | |
15093 | [!NO_PROFILE_COUNTERS]: Fix typo. | |
15094 | * config/i386/gmon-sol2.c (_mcleanup) [__x86_64__]: Use call | |
15095 | instead of callq. | |
15096 | ||
b51dea67 | 15097 | 2010-03-22 Janis Johnson <janis187@us.ibm.com> |
657e7797 | 15098 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
b51dea67 | 15099 | |
15100 | * doc/sourcebuild.texi (Test Directives): Split into six | |
15101 | subsections, with most of the current text in new subsections | |
15102 | Directives, Selectors, and Final Actions. | |
15103 | (Directives): Split list of test directives into multiple | |
15104 | subsubsections. | |
15105 | (Selectors): Describe use and syntax of selectors. | |
15106 | (Effective-Target Keywords): Describe all existing keywords. | |
15107 | (Add Options): Describe features for dg-add-options. | |
15108 | (Require Support): Describe variants of dg-require-support. | |
15109 | (Final Actions): Describe commands to use in dg-final. | |
15110 | ||
70bb3c91 | 15111 | 2010-03-22 Michael Matz <matz@suse.de> |
15112 | ||
15113 | PR middle-end/43475 | |
15114 | * recog.c (validate_replace_rtx_group): Replace also in | |
15115 | REG_EQUAL and REG_EQUIV notes. | |
15116 | ||
1538bf19 | 15117 | 2010-03-22 Richard Guenther <rguenther@suse.de> |
15118 | ||
15119 | PR tree-optimization/43390 | |
15120 | * tree-vect-stmts.c (get_vectype_for_scalar_type): Make | |
15121 | sure vector extracts are type correct. | |
15122 | ||
ae8b73b1 | 15123 | 2010-03-22 Richard Guenther <rguenther@suse.de> |
15124 | ||
15125 | PR middle-end/40106 | |
15126 | * builtins.c (expand_builtin_pow): Expand pow (x, 1.5) as | |
15127 | x * sqrt (x) even when optimizing for size if the target | |
15128 | has native support for sqrt. | |
15129 | ||
787928ac | 15130 | 2010-03-22 Jakub Jelinek <jakub@redhat.com> |
15131 | ||
103d49ba | 15132 | * varasm.c (make_decl_rtl_for_debug): Also clear |
15133 | flag_mudflap for the duration of make_decl_rtl call. | |
15134 | ||
787928ac | 15135 | PR debug/43443 |
15136 | * var-tracking.c (add_cselib_value_chains): Remove ASM_OPERANDS | |
15137 | locs from preserved VALUEs. | |
15138 | ||
0453d31f | 15139 | 2010-03-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15140 | ||
15141 | PR middle-end/42718 | |
15142 | * pa.md (movmemsi): Set align to one if zero. | |
15143 | (movmemdi): Likewise. | |
15144 | ||
721da1d4 | 15145 | 2010-03-21 Richard Earnshaw <rearnsha@arm.com> |
15146 | ||
15147 | PR target/42321 | |
15148 | * arm.c (arm_output_epilogue): Correctly match VFP pop instructions | |
15149 | with their corresponding prologue pushes. | |
15150 | ||
dcb2e3d9 | 15151 | 2010-03-20 Andrew Pinski <pinskia@gmail.com> |
15152 | ||
15153 | PR target/43156 | |
15154 | * config/spu/spu.c (spu_expand_prologue): Don't emit NOTE_INSN_DELETED | |
15155 | at the begining or end. | |
15156 | (spu_expand_epilogue): Likewise. | |
15157 | ||
0895c53c | 15158 | 2010-03-20 Richard Guenther <rguenther@suse.de> |
15159 | ||
15160 | PR rtl-optimization/43438 | |
15161 | * combine.c (make_extraction): Properly zero-/sign-extend an | |
15162 | extraction of the low part of a CONST_INT. Also handle | |
15163 | CONST_DOUBLE. | |
15164 | ||
9d33046c | 15165 | 2010-03-19 Mike Stump <mikestump@comcast.net> |
15166 | ||
15167 | * config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add. | |
15168 | * config/i386/i386.c (SUBTARGET32_DEFAULT_CPU): Add. | |
15169 | (override_options): Use SUBTARGET32_DEFAULT_CPU. | |
15170 | ||
25910510 | 15171 | 2010-03-19 Andrew Pinski <andrew_pinski@caviumnetworks.com> |
15172 | ||
c82cccda | 15173 | PR c/43211 |
b3a206ed | 15174 | * c-decl.c (grokparms): Set arg_types to NULL_TREE if there was |
15175 | an error. | |
25910510 | 15176 | |
a8e6c15d | 15177 | 2010-03-19 Bernd Schmidt <bernds@codesourcery.com> |
d09294c0 | 15178 | |
15179 | PR rtl-optimization/42258 | |
15180 | * ira-lives.c (check_and_make_def_conflict): Ignore conflict for a | |
15181 | use that may match DEF. | |
15182 | ||
076b670d | 15183 | PR target/40697 |
15184 | * optabs.c (avoid_expensive_constant): Use rtx_cost to find out | |
15185 | the cost of loading the constant rather than assuming | |
15186 | COSTS_N_INSNS (1). | |
15187 | * config/arm/arm.c (thumb1_rtx_costs) <case CONST_INT>: If the | |
15188 | outer code is AND, do the same tests as the andsi3 expander and | |
15189 | return COSTS_N_INSNS (1) if and is cheap. | |
898ff9cb | 15190 | |
15191 | * optabs.c (avoid_expensive_constant): Fix formatting. | |
15192 | ||
ce6dcb60 | 15193 | 2010-03-19 Michael Matz <matz@suse.de> |
15194 | ||
15195 | PR c++/43116 | |
15196 | * attribs.c (decl_attributes): When rebuilding a function pointer | |
15197 | type use the same qualifiers as the original pointer type. | |
15198 | ||
f2fd3837 | 15199 | 2010-03-19 Martin Jambor <mjambor@suse.cz> |
15200 | ||
15201 | * doc/gimple.texi (Logical Operators): Describe is_gimple_ip_invariant | |
15202 | and is_gimple_ip_invariant_address. | |
15203 | ||
9c21bf9c | 15204 | 2010-03-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
15205 | ||
15206 | Revert | |
15207 | 2009-10-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
15208 | ||
15209 | * config/arm/arm.c (arm_override_options): Turn off | |
15210 | flag_dwarf2_cfi_asm for AAPCS variants. | |
15211 | ||
c3ae3152 | 15212 | 2010-03-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
15213 | ||
15214 | PR target/43399 | |
15215 | * config/arm/arm.c (emit_multi_reg_push): Update comments. | |
15216 | Use PRE_MODIFY instead of PRE_DEC. | |
15217 | (emit_sfm): Use PRE_MODIFY instead of PRE_DEC. | |
15218 | (vfp_emit_fstmd): Likewise. | |
15219 | ||
4e2a2fb4 | 15220 | 2010-03-19 Michael Matz <matz@suse.de> |
15221 | ||
15222 | PR target/43305 | |
15223 | * builtins.c (expand_builtin_interclass_mathfn, | |
15224 | expand_builtin_signbit): Use maybe_emit_unop_insn, emit libcalls | |
15225 | if that fails. | |
15226 | ||
2ef0cded | 15227 | 2010-03-19 Richard Guenther <rguenther@suse.de> |
15228 | ||
15229 | PR tree-optimization/43415 | |
15230 | * tree-ssa-pre.c (phi_translate): Split out worker to ... | |
15231 | (phi_translate_1): ... this. | |
15232 | (phi_translate): Move all caching here. Cache all NARY | |
15233 | and REFERENCE translations. | |
15234 | ||
22d1ff91 | 15235 | 2010-03-19 David S. Miller <davem@davemloft.net> |
15236 | ||
15237 | With help from Eric Botcazou. | |
15238 | * config/sparc/sparc.c: Include dwarf2out.h. | |
15239 | (emit_pic_helper): Delete. | |
15240 | (pic_helper_symbol_name): Delete. | |
15241 | (pic_helper_emitted_p): Delete. | |
15242 | (pic_helper_needed): New. | |
15243 | (USE_HIDDEN_LINKONCE): Define to '1' if HAVE_GAS_HIDDEN else '0'. | |
15244 | (get_pc_thunk_name): New. | |
15245 | (load_pic_register): Remove 'delay_pic_helper' arg. Use | |
15246 | get_thunk_pc_name and ggc_strdup to generate PIC thunk symbol. | |
15247 | Set pic_helper_needed to true. Don't call emit_pic_helper. | |
15248 | (sparc_expand_prologue): Update load_pic_register call. | |
15249 | (sparc_output_mi_thunk): Likewise. | |
15250 | (sparc_file_end): Emit a hidden comdat symbol for the PIC | |
15251 | thunk if possible. Output CFI information as needed. | |
15252 | ||
657e7797 | 15253 | 2010-03-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
15254 | Jack Howarth <howarth@bromo.med.uc.edu> | |
16f043b0 | 15255 | |
15256 | PR target/36399 | |
7fc237ba | 15257 | * config/i386/i386.h: Fix ABI on darwin x86-32. |
16f043b0 | 15258 | |
e6db644e | 15259 | 2010-03-18 Aldy Hernandez <aldyh@redhat.com> |
15260 | ||
15261 | * tree.h: Declare make_decl_rtl_for_debug. | |
15262 | * varasm.c (make_decl_rtl_for_debug): New. | |
15263 | * dwarf2out.c (rtl_for_decl_location): Call it. | |
15264 | * cfgexpand.c (expand_debug_expr): Call it. | |
15265 | ||
dc9d10b1 | 15266 | 2010-03-18 Jakub Jelinek <jakub@redhat.com> |
15267 | ||
967370ed | 15268 | PR bootstrap/43399 |
15269 | * var-tracking.c (adjust_mems) <case POST_MODIFY>: Allow BLKmode | |
15270 | mem_mode. | |
15271 | ||
dc9d10b1 | 15272 | PR bootstrap/43403 |
15273 | * var-tracking.c (vt_init_cfa_base): Do nothing if | |
b3a206ed | 15274 | cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed register. |
dc9d10b1 | 15275 | |
ed5ab8eb | 15276 | 2010-03-18 Alexandre Oliva <aoliva@redhat.com> |
15277 | ||
15278 | PR debug/42873 | |
15279 | * var-tracking.c (canonicalize_vars_star): New. | |
15280 | (dataflow_post_merge_adjust): Use it. | |
15281 | ||
1197d3d7 | 15282 | 2010-03-18 Jakub Jelinek <jakub@redhat.com> |
15283 | ||
15284 | PR debug/43058 | |
15285 | * var-tracking.c (non_suitable_const): New function. | |
15286 | (add_uses): For DEBUG_INSNs with constants, don't record any | |
15287 | value, instead just the constant value itself. | |
15288 | (compute_bb_dataflow) <case MO_VAL_LOC>: If PAT_VAR_LOCATION_LOC | |
15289 | is not VAR_LOC_UNKNOWN_P, set var to the constant. | |
15290 | (emit_notes_in_bb): Likewise. | |
15291 | (emit_note_insn_var_location): For onepart variables if | |
15292 | cur_loc is a VOIDmode constant, use DECL_MODE. | |
15293 | ||
c596d830 | 15294 | 2010-03-18 Martin Jambor <mjambor@suse.cz> |
15295 | ||
15296 | PR middle-end/42450 | |
15297 | * cgraph.h (cgraph_redirect_edge_call_stmt_to_callee): Declare. | |
15298 | * cgraphunit.c (cgraph_materialize_all_clones): Update calls in | |
15299 | all non-clones. Moved call redirection... | |
b3a206ed | 15300 | (cgraph_redirect_edge_call_stmt_to_callee): ...to this new function. |
c596d830 | 15301 | (cgraph_materialize_all_clones): Dispose of all |
15302 | combined_args_to_skip bitmaps. | |
15303 | (verify_cgraph_node): Do not check for edges pointing to wrong | |
15304 | nodes in inline clones. | |
15305 | * tree-inline.c (copy_bb): Call | |
15306 | cgraph_redirect_edge_call_stmt_to_callee. | |
15307 | * ipa.c (cgraph_remove_unreachable_nodes): Call | |
15308 | cgraph_node_remove_callees even when there are used clones. | |
15309 | ||
dd5c72c2 | 15310 | 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> |
15311 | ||
15312 | * config/i386/libgcc-glibc.ver: Make GCC_4.5.0 inherit GCC_4.4.0. | |
15313 | ||
784bd4a8 | 15314 | 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> |
15315 | ||
15316 | PR target/43383 | |
15317 | * config/i386/libgcc-glibc.ver: Add __extendxftf2 to GCC_4.5.0 | |
15318 | for 32bit. | |
15319 | ||
c8a73456 | 15320 | 2010-03-18 Michael Matz <matz@suse.de> |
15321 | ||
15322 | PR middle-end/43419 | |
15323 | * builtins.c (expand_builtin_pow): Don't transform pow(x, 0.5) | |
15324 | into sqrt(x) if we need to preserve signed zeros. | |
15325 | ||
2521c084 | 15326 | 2010-03-18 Steven Bosscher <steven@gcc.gnu.org> |
15327 | Eric Botcazou <ebotcazou@adacore.com> | |
15328 | ||
15329 | PR rtl-optimization/43360 | |
15330 | * loop-invariant.c (move_invariant_reg): Remove the REG_EQUAL | |
15331 | note if we don't know its invariant status. | |
15332 | ||
5d8d76f6 | 15333 | 2010-03-18 Michael Matz <matz@suse.de> |
15334 | ||
15335 | PR tree-optimization/43402 | |
15336 | * tree-cfgcleanup.c (cleanup_control_expr_graph): Don't follow | |
15337 | PHI chains of ssa names registered for update. | |
15338 | ||
300cc04f | 15339 | 2010-03-17 Peter Bergner <bergner@vnet.ibm.com> |
15340 | ||
15341 | PR target/42427 | |
15342 | * config/rs6000/rs6000.c (rs6000_split_multireg_move): Add support for | |
15343 | non-offsettable and pre_modify update addressing. | |
15344 | * config/rs6000/dfp.md (*movdd_hardfloat32): Make the "0", "1" | |
15345 | and "2" alternatives "#". | |
15346 | (*movdd_softfloat32): Make all alternatives "#"; | |
15347 | * config/rs6000/rs6000.md (DIFD): New define_mode_iterator. | |
15348 | (*movdf_hardfloat32): Make the "0", "1" and "2" alternatives "#". | |
15349 | (*movdf_softfloat32): Make all alternatives "#"; | |
15350 | (movdi): Use the new DIFD mode iterator to create a common splitter | |
15351 | for movdi, movdf and movdd patterns. | |
15352 | ||
eb21bbd2 | 15353 | 2010-03-18 Shujing Zhao <pearly.zhao@oracle.com> |
15354 | ||
15355 | * common.opt (dumpdir): Remove redundant tab. | |
15356 | ||
0410d4cf | 15357 | 2010-03-17 Martin Jambor <mjambor@suse.cz> |
15358 | ||
15359 | PR tree-optimization/43347 | |
15360 | * tree-sra.c (create_access_replacement): Set TREE_NO_WARNING when the | |
15361 | original base is DECL_ARTIFICIAL or DECL_IGNORED_P. | |
15362 | ||
17db414f | 15363 | 2010-03-17 Bernd Schmidt <bernd.schmidt@analog.com> |
15364 | ||
15365 | PR rtl-optimization/42216 | |
15366 | * regrename.c (create_new_chain): New function, broken out from... | |
15367 | (scan_rtx_reg): ... here. Call it. Handle the case where we are | |
15368 | appending a use to an empty chain. | |
15369 | (build_def_use): Remove previous changes that convert OP_INOUT to | |
15370 | OP_OUT operands; instead detect the case where an OP_INOUT operand | |
b3a206ed | 15371 | uses a previously untracked register and create an empty chain for it. |
17db414f | 15372 | |
71e7d894 | 15373 | 2010-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
15374 | ||
15375 | * doc/extend.texi (Function Attributes): Rewrite unfinished | |
15376 | sentence in ms_abi documentation. | |
15377 | ||
2fe6297a | 15378 | 2010-03-17 Alan Modra <amodra@gmail.com> |
15379 | ||
15380 | * config/rs6000/linux64.opt (mprofile-kernel): Use profile_kernel var. | |
15381 | * config/rs6000/linux64.h (TARGET_PROFILE_KERNEL): Define. | |
15382 | (SUBSUBTARGET_OVERRIDE_OPTIONS): Don't use SET_PROFILE_KERNEL. | |
15383 | * config/rs6000/rs6000.c (SET_PROFILE_KERNEL): Don't define. | |
15384 | ||
fa5d8988 | 15385 | 2010-03-16 Richard Henderson <rth@redhat.com> |
15386 | ||
15387 | PR middle-end/43365 | |
15388 | * tree-eh.c (replace_goto_queue): Also replace in the eh_seq. | |
15389 | (lower_try_finally): Save and restore eh_seq around the expansion | |
15390 | of the try-finally. | |
15391 | ||
fce0a911 | 15392 | 2010-03-16 Aldy Hernandez <aldyh@redhat.com> |
15393 | ||
15394 | * graphite-sese-to-poly.c (split_reduction_stmt): Skip debug | |
15395 | statements before splitting block. | |
15396 | ||
657e7797 | 15397 | 2010-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
afaba4e9 | 15398 | |
15399 | * doc/sourcebuild.texi (Testsuites): Fix markup. | |
15400 | Use pathnames relative to gcc/testsuite. | |
15401 | (Test Directives): Move description of how timeout is determined. | |
15402 | (Ada Tests): Favor gnat.exp over ada/acats/tests/gcc. | |
15403 | (C Tests): Correct gcc.misc-tests directory. | |
15404 | Framework tests now live in gcc.test-framework. | |
15405 | ||
ef6748ff | 15406 | 2010-03-16 Richard Guenther <rguenther@suse.de> |
15407 | ||
15408 | PR middle-end/43379 | |
b3a206ed | 15409 | * tree-cfg.c (gimple_merge_blocks): When propagating virtual PHI |
15410 | operands make sure to merge SSA_NAME_OCCURS_IN_ABNORMAL_PHI properly. | |
ef6748ff | 15411 | |
9ec77f4d | 15412 | 2010-03-16 Aldy Hernandez <aldyh@redhat.com> |
15413 | Alexandre Oliva <aoliva@redhat.com> | |
15414 | ||
15415 | PR tree-optimization/42917 | |
15416 | * lambda-code.c (remove_iv): Skip debug statements. | |
15417 | (lambda_loopnest_to_gcc_loopnest): Likewise. | |
15418 | (not_interesting_stmt): Debug statements are not interesting. | |
15419 | ||
35af0188 | 15420 | 2010-03-16 Jakub Jelinek <jakub@redhat.com> |
15421 | ||
15422 | PR debug/43051 | |
15423 | PR debug/43092 | |
15424 | * cselib.c (cselib_preserve_constants, | |
15425 | cfa_base_preserved_val): New static variables. | |
15426 | (preserve_only_constants): New function. | |
15427 | (cselib_reset_table): If cfa_base_preserved_val is non-NULL, don't | |
b3a206ed | 15428 | clear its REG_VALUES. If cselib_preserve_constants, don't |
35af0188 | 15429 | empty the whole hash table, but preserve there VALUEs with constants, |
15430 | cfa_base_preserved_val and cfa_base_preserved_val plus constant. | |
15431 | (cselib_preserve_cfa_base_value): New function. | |
15432 | (cselib_invalidate_regno): Don't invalidate cfa_base_preserved_val. | |
15433 | (cselib_init): Change argument to int bitfield. Set | |
15434 | cselib_preserve_constants to whether CSELIB_PRESERVE_CONSTANTS | |
15435 | is in it. | |
15436 | (cselib_finish): Clear cselib_preserve_constants and | |
15437 | cfa_base_preserved_val. | |
15438 | * cselib.h (enum cselib_record_what): New enum. | |
15439 | (cselib_init): Change argument to int. | |
15440 | (cselib_preserve_cfa_base_value): New prototype. | |
15441 | * postreload.c (reload_cse_regs_1): Adjust cselib_init caller. | |
15442 | * dse.c (dse_step1): Likewise. | |
15443 | * cfgcleanup.c (thread_jump): Likewise. | |
15444 | * sched-deps.c (sched_analyze): Likewise. | |
15445 | * gcse.c (local_cprop_pass): Likewise. | |
15446 | * simplify-rtx.c (simplify_replace_fn_rtx): Add argument to callback. | |
15447 | If FN is non-NULL, call the callback always and whenever it returns | |
15448 | non-NULL just return that. Only do rtx_equal_p if FN is NULL. | |
15449 | * rtl.h (simplify_replace_fn_rtx): Add argument to callback. | |
15450 | * combine.c (propagate_for_debug_subst): Add old_rtx argument, | |
15451 | compare from with old_rtx and if it isn't rtx_equal_p, return NULL. | |
15452 | * Makefile.in (var-tracking.o): Depend on $(RECOG_H). | |
15453 | * var-tracking.c: Include recog.h. | |
15454 | (bb_stack_adjust_offset): Remove. | |
15455 | (vt_stack_adjustments): Don't call it, instead just gather the | |
15456 | adjustments using insn_stack_adjust_offset_pre_post on each bb insn. | |
15457 | (adjust_stack_reference): Remove. | |
15458 | (compute_cfa_pointer): New function. | |
15459 | (hard_frame_pointer_adjustment, cfa_base_rtx): New static variables. | |
15460 | (struct adjust_mem_data): New type. | |
15461 | (adjust_mems, adjust_mem_uses, adjust_mem_stores, adjust_insn): New | |
15462 | functions. | |
15463 | (get_address_mode): New function. | |
15464 | (replace_expr_with_values): Use it. | |
15465 | (use_type): Don't do cselib_lookup for VAR_LOC_UNKNOWN_P. | |
15466 | Use get_address_mode. For cfa_base_rtx return MO_CLOBBER. | |
15467 | (adjust_sets): Remove. | |
15468 | (add_uses): Don't add extra MO_VAL_USE for cfa_base_rtx plus constant. | |
15469 | Use get_address_mode. | |
15470 | (get_adjusted_src): Remove. | |
15471 | (add_stores): Don't call it. Never reuse expr SET. Don't add extra | |
15472 | MO_VAL_USE for cfa_base_rtx plus constant. Use get_address_mode. | |
15473 | (add_with_sets): Don't call adjust_sets. | |
15474 | (fp_setter, vt_init_cfa_base): New functions. | |
15475 | (vt_initialize): Change return type to bool. Move most of pool etc. | |
15476 | initialization to the beginning of the function from end. Pass | |
15477 | CSELIB_RECORD_MEMORY | CSELIB_PRESERVE_CONSTANTS to cselib_init. | |
15478 | If !frame_pointer_needed, call vt_stack_adjustment before mos | |
15479 | vector is filled, call vt_init_cfa_base if argp/framep has been | |
15480 | eliminated to sp. If frame_pointer_needed and argp/framep has | |
15481 | been eliminated to hard frame pointer, set | |
15482 | hard_frame_pointer_adjustment and call vt_init_cfa_base after | |
15483 | encountering fp setter in the prologue. For MO_ADJUST, call | |
15484 | log_op_type before pusing the op into mos vector, not afterwards. | |
15485 | Call adjust_insn before cselib_process_insn/add_with_sets, | |
15486 | call cancel_changes (0) afterwards. | |
15487 | (variable_tracking_main_1): Adjust for vt_initialize calling | |
15488 | vt_stack_adjustments and returning whether it succeeded or not. | |
15489 | ||
c29d64f7 | 15490 | 2010-03-15 Aldy Hernandez <aldyh@redhat.com> |
15491 | ||
15492 | * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip | |
15493 | debug statements. | |
15494 | ||
95a52374 | 15495 | 2010-03-15 Jakub Jelinek <jakub@redhat.com> |
15496 | ||
15497 | * dwarf2out.c (dwarf2out_frame_debug): Don't assert drap_reg | |
15498 | has been set. | |
15499 | (based_loc_descr): Use DW_OP_fbreg for vdrap_reg even when | |
15500 | drap_reg has not been set. | |
15501 | ||
5b6554fe | 15502 | 2010-03-15 Michael Matz <matz@suse.de> |
15503 | ||
15504 | PR middle-end/43300 | |
15505 | * tree-outof-ssa.c (emit_partition_copy): New argument sizeexp, | |
15506 | use it to expand block copies. | |
15507 | (insert_partition_copy_on_edge, insert_rtx_to_part_on_edge, | |
15508 | insert_part_to_rtx_on_edge): Adjust callers of emit_partition_copy. | |
15509 | (insert_value_copy_on_edge): Use store_expr for BLKmode values. | |
15510 | ||
b0903654 | 15511 | 2010-03-15 Richard Guenther <rguenther@suse.de> |
15512 | ||
15513 | PR tree-optimization/43367 | |
15514 | * tree-cfg.c (gimple_can_merge_blocks_p): Simplify PHI | |
15515 | elimination check. | |
15516 | ||
c7a8b92f | 15517 | 2010-03-15 Richard Guenther <rguenther@suse.de> |
15518 | ||
15519 | PR tree-optimization/43317 | |
15520 | * ipa-struct-reorg.c (create_new_general_access): Update stmt. | |
15521 | ||
f8cf2235 | 15522 | 2010-03-15 Martin Jambor <mjambor@suse.cz> |
15523 | ||
c7a8b92f | 15524 | PR tree-optimization/43141 |
f8cf2235 | 15525 | * tree-sra.c (create_abstract_origin): New function. |
15526 | (modify_function): Call create_abstract_origin. | |
15527 | ||
3564f003 | 15528 | 2010-03-15 Chris Demetriou <cgd@google.com> |
15529 | ||
15530 | * Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it | |
15531 | wasn't copied. | |
15532 | ||
6c814203 | 15533 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> |
15534 | ||
15535 | PR middle-end/43354 | |
15536 | * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Do not | |
15537 | call insert_out_of_ssa_copy for default definitions. | |
15538 | ||
15539 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
15540 | ||
15541 | * graphite-clast-to-gimple.c (my_long_long): Defined. | |
15542 | (gcc_type_for_cloog_iv): Use it instead of long_long_integer_type_node. | |
15543 | * graphite-sese-to-poly.c (my_long_long): Defined. | |
15544 | (scop_ivs_can_be_represented): Use it. | |
15545 | ||
15546 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
15547 | ||
15548 | * doc/invoke.texi: Fix documentation of graphite-max-nb-scop-params, | |
15549 | graphite-max-bbs-per-function, and loop-block-tile-size. | |
15550 | * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Replace "maximal" | |
15551 | with "maximum". | |
15552 | (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Same. | |
15553 | ||
15554 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
15555 | ||
15556 | * graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Remove | |
15557 | forward declaration. | |
15558 | * graphite-sese-to-poly.c (reduction_phi_p): Remove FIXME comment. | |
15559 | (add_upper_bounds_from_estimated_nit): New. | |
15560 | (build_loop_iteration_domains): Use it. | |
15561 | ||
15562 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
15563 | ||
15564 | * doc/invoke.texi (PARAM_LOOP_BLOCK_TILE_SIZE): Document. | |
15565 | ||
15566 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
15567 | ||
15568 | PR middle-end/43306 | |
15569 | * tree-chrec.c (evolution_function_right_is_integer_cst): CHREC_RIGHT | |
15570 | should be an INTEGER_CST. Also handle CASE_CONVERT. | |
15571 | ||
15572 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
15573 | ||
15574 | * graphite.c (graphite_initialize): To bound the number of bbs per | |
15575 | function, use PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION. | |
15576 | * params.def (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Declared. | |
15577 | * doc/invoke.texi: Document it. | |
15578 | ||
15579 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
15580 | ||
15581 | * graphite-sese-to-poly.c (build_poly_scop): Do not return bool. | |
15582 | * graphite-sese-to-poly.h (build_poly_scop): Same. | |
15583 | ||
15584 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
15585 | ||
15586 | * graphite-sese-to-poly.c (build_poly_scop): Limit scops following | |
15587 | the number of parameters in the scop. Use as an upper bound | |
15588 | PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS. | |
15589 | * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Declared. | |
15590 | * doc/invoke.texi: Document it. | |
15591 | ||
84ccaae3 | 15592 | 2010-03-13 Jerry Quinn <jlquinn@optonline.net> |
15593 | ||
15594 | * Makefile.in (TEXI_GCCINT_FILES): Remove c-tree.texi. | |
15595 | * doc/c-tree.texi: Remove. | |
15596 | * doc/generic.texi: Merge c-tree.texi here. | |
15597 | * doc/gccint.texi (Trees): Remove menu entry. | |
15598 | (c-tree.texi): Remove @include. | |
15599 | * doc/rtl.texi (Reading RTL): Update pxref from Trees to GENERIC. | |
15600 | * doc/languages.texi (Reading RTL): Ditto. | |
15601 | ||
54468f76 | 15602 | 2010-03-12 Steve Ellcey <sje@cup.hp.com> |
15603 | ||
15604 | PR target/42869 | |
15605 | * config/ia64/sync.md (sync_compare_and_swap): Move memory fence. | |
15606 | ||
0d155c07 | 15607 | 2010-03-12 Michael Meissner <meissner@linux.vnet.ibm.com> |
15608 | ||
15609 | PR middle-end/42431 | |
15610 | * gcc/config/rs6000/rs6000.c (rs6000_emit_move): Delete band-aid | |
15611 | code added to work around reload clobbering CONST insns. | |
15612 | ||
f24c0e3a | 15613 | 2010-03-12 Jakub Jelinek <jakub@redhat.com> |
15614 | ||
c77c64d8 | 15615 | * cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove. |
15616 | (cselib_preserve_definitely, cselib_clear_preserve): Remove. | |
15617 | (cselib_preserve_only_values): Remove retain argument, don't | |
15618 | traverse hash table with cselib_{preserve_definitely,clear_preserve}. | |
15619 | * cselib.h (cselib_preserve_only_values): Remove retain argument. | |
15620 | * var-tracking.c (micro_operation): Move insn field before union. | |
15621 | Add DEF_VEC_O and DEF_VEC_ALLOC_O for this type. | |
15622 | (struct variable_tracking_info_def): Remove n_mos field, change | |
15623 | mos into a vector of micro_operations. | |
15624 | (count_uses, count_uses_1, count_stores, count_with_sets): Remove. | |
15625 | (bb_stack_adjust_offset, log_op_type, add_uses, add_stores, | |
15626 | compute_bb_dataflow, emit_notes_in_bb): Adjust for VTI (bb)->mos | |
15627 | changing into a vector. | |
15628 | (add_with_sets): Likewise. Ensure MO_VAL_USE uops from add_stores | |
15629 | come before all other uops generated by add_stores. | |
15630 | (vt_add_function_parameters): Adjust for cselib_preserve_only_values | |
15631 | argument removal. | |
15632 | (vt_initialize): Likewise. Adjust for VTI (bb)->mos changing into | |
15633 | a vector. Run just one pass over the bbs instead of separate counting | |
15634 | and computation phase. | |
15635 | (vt_finalize): Free VTI (bb)->mos vector instead of array. | |
15636 | ||
f24c0e3a | 15637 | PR debug/43329 |
15638 | * tree-inline.c (remap_decls): Put old_var rather than origin_var | |
15639 | into *nonlocalized_list vector. | |
15640 | * dwarf2out.c (gen_formal_parameter_die): Call decl_ultimate_origin | |
15641 | even if origin is non-NULL. | |
15642 | (gen_variable_die): Likewise. | |
15643 | (process_scope_var): Don't change origin. | |
15644 | (gen_decl_die): Likewise. | |
15645 | * tree-cfgcleanup.c (remove_forwarder_block): Check single_pred_p | |
15646 | before adding new edges instead of after it, fix moving over | |
15647 | debug stmts. | |
15648 | ||
1bf24b5f | 15649 | 2010-03-11 David S. Miller <davem@davemloft.net> |
15650 | ||
3a1b51b8 | 15651 | * configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple |
15652 | of four. | |
1bf24b5f | 15653 | * configure: Rebuild. |
15654 | ||
6816d0c4 | 15655 | 2010-03-11 Martin Jambor <mjambor@suse.cz> |
15656 | ||
15657 | PR tree-optimization/43257 | |
15658 | * tree.c (assign_assembler_name_if_neeeded): New function. | |
15659 | (free_lang_data_in_cgraph): Assembler name assignment moved to the | |
15660 | above new function. | |
15661 | * tree.h (assign_assembler_name_if_neeeded): Declare. | |
15662 | * cgraphunit.c (cgraph_analyze_function): Create an assembler name for | |
15663 | the function if needed. | |
15664 | ||
ca4b7618 | 15665 | 2010-03-11 Chris Demetriou <cgd@google.com> |
15666 | ||
15667 | * Makefile.in (stmp-int-hdrs): Make include/unwind.h, | |
15668 | include/stdint-gcc.h, and include/stdint.h world-readable. | |
15669 | ||
4fac6da9 | 15670 | 2010-03-11 Richard Guenther <rguenther@suse.de> |
15671 | ||
15672 | PR tree-optimization/43255 | |
15673 | * tree-vrp.c (process_assert_insertions_for): Do not insert | |
15674 | asserts for trivial conditions. | |
15675 | ||
f9a210c9 | 15676 | 2010-03-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15677 | ||
15678 | PR tree-optimization/43280 | |
3a1b51b8 | 15679 | * tree-ssa-math-opts.c (find_bswap_1): Modify symbolic number |
15680 | generation. Move calculation of size out of the if branch. | |
f9a210c9 | 15681 | (find_bswap): Modify compare number generation. |
15682 | ||
794d250a | 15683 | 2010-03-11 Richard Guenther <rguenther@suse.de> |
15684 | ||
15685 | PR lto/43200 | |
15686 | * lto-streamer-in.c (maybe_fixup_decls): Simplify. | |
15687 | (input_gimple_stmt): Fixup handled component types during | |
15688 | operand read. Also fix up decls in ADDR_EXPRs. | |
15689 | ||
794a8888 | 15690 | 2010-03-10 Eric Botcazou <ebotcazou@adacore.com> |
15691 | ||
15692 | * config/sparc/sol2-bi.h (CC1_SPEC): Default to -mcpu=v9 for -m32. | |
15693 | * config/sparc/t-sol2-64 (MULTILIB_DIRNAMES): Use sparcv8plus. | |
15694 | ||
930cff67 | 15695 | 2010-03-10 Jan Hubicka <jh@suse.cz> |
15696 | ||
15697 | PR c/43288 | |
15698 | * ipa.c (function_and_variable_visibility) Normalize COMMON bits. | |
15699 | * varasm.c (get_variable_section): Don't do that here... | |
15700 | (make_decl_rtl): ... and here. | |
15701 | (do_assemble_alias): Produce decl RTL. | |
15702 | (assemble_alias): Likewise. | |
15703 | ||
22dd154b | 15704 | 2010-03-10 Jakub Jelinek <jakub@redhat.com> |
15705 | ||
15706 | PR debug/43290 | |
15707 | * reg-notes.def (REG_CFA_SET_VDRAP): New note. | |
15708 | * dwarf2out.c (dwarf2out_frame_debug_expr): Remove rule 20 - setting | |
15709 | of fde->vdrap_reg. | |
15710 | (dwarf2out_frame_debug): Handle REG_CFA_SET_VDRAP note. | |
15711 | (based_loc_descr): Only express drap or vdrap regno based expressions | |
15712 | using DW_OP_fbreg when not optimizing. | |
15713 | * config/i386/i386.c (ix86_get_drap_rtx): When not optimizing, | |
15714 | make the vDRAP = DRAP assignment RTX_FRAME_RELATED_P and add | |
15715 | REG_CFA_SET_VDRAP note. | |
15716 | ||
bfa5edba | 15717 | 2010-03-10 Alexander Monakov <amonakov@ispras.ru> |
15718 | ||
15719 | PR tree-optimization/43236 | |
15720 | * tree-loop-distribution.c (generate_memset_zero): Fix off-by-one | |
15721 | error in calculation of base address in reverse iteration case. | |
15722 | (generate_builtin): Take number of latch executions if the statement | |
15723 | is in the latch. | |
15724 | ||
778f5bdd | 15725 | 2010-03-10 Andrey Belevantsev <abel@ispras.ru> |
15726 | ||
15727 | PR middle-end/42859 | |
15728 | * tree-eh.c: Include pointer-set.h. | |
15729 | (lower_eh_dispatch): Filter out duplicate case labels and | |
15730 | remove the unneeded edge when the label is unused. Return | |
15731 | true when some edges are removed. | |
15732 | (execute_lower_eh_dispatch): When any lowering resulted in | |
15733 | removing an edge, also delete unreachable blocks. | |
15734 | ||
53d33717 | 15735 | 2010-03-10 Jakub Jelinek <jakub@redhat.com> |
15736 | ||
15737 | PR bootstrap/43287 | |
15738 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
15739 | UNSPEC_MACHOPIC_OFFSET. | |
15740 | ||
1a1a6f69 | 15741 | 2010-03-09 Andreas Schwab <schwab@linux-m68k.org> |
15742 | ||
15743 | PR target/43294 | |
15744 | * config/m68k/m68k.c (TARGET_DELEGITIMIZE_ADDRESS): Define. | |
15745 | (m68k_delegitimize_address): New function. | |
15746 | ||
aaca5048 | 15747 | 2010-03-09 Jakub Jelinek <jakub@redhat.com> |
15748 | ||
2c28e71b | 15749 | PR debug/43299 |
15750 | * dwarf2out.c (const_ok_for_output_1): Return 1 for UNSPECs. | |
15751 | ||
a5ce8dff | 15752 | PR debug/43299 |
15753 | * var-tracking.c (adjust_sets): New function. | |
15754 | (count_with_sets, add_with_sets): Use it. | |
15755 | (get_adjusted_src): New inline function. | |
15756 | (add_stores): Use it. | |
15757 | ||
aaca5048 | 15758 | PR debug/43304 |
15759 | * var-tracking.c (vt_expand_loc_callback) <case SUBREG>: If dummy, | |
15760 | call cselib_dummy_expand_value_rtx_cb instead of | |
15761 | cselib_expand_value_rtx_cb. | |
a1787782 | 15762 | |
15763 | PR debug/43293 | |
15764 | * config/i386/t-i386 (i386.o): Depend on debug.h and dwarf2out.h. | |
15765 | * config/i386/i386.c: Include debug.h and dwarf2out.h. | |
15766 | (ix86_file_end): If dwarf2out_do_cfi_asm (), emit .cfi_startproc | |
15767 | and .cfi_endproc around the pic thunks. | |
15768 | (output_set_got): For TARGET_DEEP_BRANCH_PREDICTION pic, ensure | |
15769 | all queued unwind info register saves are saved before the call. | |
15770 | For !TARGET_DEEP_BRANCH_PREDICTION pic, ensure the call is | |
15771 | considered as sp-=4 for unwind info and the pop as sp+=4 which | |
15772 | also clobbers dest, but doesn't actually restore it. | |
3e53b90e | 15773 | |
15774 | PR debug/43290 | |
15775 | * config/i386/i386.c (ix86_get_drap_rtx): Don't set | |
15776 | RTX_FRAME_RELATED_P. | |
15777 | ||
1490694c | 15778 | 2010-03-09 Jie Zhang <jie@codesourcery.com> |
15779 | ||
15780 | * config/arm/arm.md (thumb_mulsi3_v6): Remove trailing | |
15781 | whitespaces in output template. | |
15782 | ||
e91a9c3f | 15783 | 2010-03-09 Jie Zhang <jie@codesourcery.com> |
15784 | ||
15785 | * ira-lives.c (check_and_make_def_use_conflict): Don't fall | |
15786 | out array boundary. | |
15787 | ||
fbd13ddb | 15788 | 2010-03-08 Jakub Jelinek <jakub@redhat.com> |
15789 | ||
15790 | * Makefile.in (check_gcc_parallelize): Run dg-torture.exp and | |
15791 | builtins.exp in a separate job. | |
15792 | ||
4a6097ab | 15793 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> |
15794 | ||
15795 | * graphite-sese-to-poly.c (add_param_constraints): Use | |
15796 | lower_bound_in_type and upper_bound_in_type. | |
15797 | ||
15798 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
15799 | ||
15800 | * graphite-sese-to-poly.c (add_param_constraints): Use sizetype | |
15801 | instead of unsigned_type_node. | |
15802 | ||
15803 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
15804 | Reza Yazdani <reza.yazdani@amd.com> | |
15805 | ||
15806 | PR middle-end/43065 | |
15807 | * graphite-sese-to-poly.c (add_param_constraints): Insert bounds | |
15808 | on pointer type parameters. | |
15809 | ||
15810 | 2010-03-08 Tobias Grosser <grosser@fim.uni-passau.de> | |
15811 | ||
15812 | PR middle-end/42644 | |
15813 | PR middle-end/42130 | |
15814 | * graphite-clast-to-gimple.c (clast_to_gcc_expression): Also | |
15815 | handle conversions from pointer to integers. | |
15816 | (gcc_type_for_cloog_iv): Choose the smalles signed integer as an | |
3a1b51b8 | 15817 | induction variable, to be able to work with code generated by CLooG. |
4a6097ab | 15818 | * graphite-sese-to-poly.c (scop_ivs_can_be_represented): New. |
15819 | (build_poly_scop): Bail out if we cannot codegen a loop. | |
15820 | ||
15821 | 2010-03-08 Tobias Grosser <grosser@fim.uni-passau.de> | |
15822 | ||
15823 | * graphite-clast-to-gimple.c (translate_clast): Do not short-cut | |
15824 | code generation with gloog_error. | |
15825 | ||
15826 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
15827 | ||
15828 | * sese.c (expand_scalar_variables_ssa_name): Add new argument for type. | |
15829 | Call fold_convert on all the returned values. | |
3a1b51b8 | 15830 | (expand_scalar_variables_expr): Pass to |
15831 | expand_scalar_variables_ssa_name the type of the resulting expression. | |
4a6097ab | 15832 | |
15833 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
15834 | ||
15835 | * graphite-ppl.c (ppl_min_for_le_polyhedron): Renamed | |
3a1b51b8 | 15836 | ppl_min_for_le_pointset. |
15837 | Use ppl_Pointset_Powerset_C_Polyhedron_minimize. | |
4a6097ab | 15838 | * graphite-ppl.h (ppl_min_for_le_polyhedron): Update declaration. |
15839 | ||
15840 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
15841 | ||
15842 | * graphite-dependences.c (map_into_dep_poly): Removed. | |
15843 | (dependence_polyhedron_1): Use combine_context_id_scat. | |
15844 | ||
15845 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
15846 | ||
15847 | * graphite-poly.h (struct poly_scattering): Add layout documentation. | |
15848 | (struct poly_bb): Same. | |
15849 | (combine_context_id_scat): New. | |
15850 | ||
15851 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
15852 | ||
15853 | PR middle-end/42326 | |
15854 | * sese.c (name_defined_in_loop_p): Return false for default | |
15855 | definitions. | |
15856 | ||
15857 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
15858 | ||
15859 | * graphite-clast-to-gimple.c (find_cloog_iv_in_expr): Simplify | |
15860 | and clean up the logic. | |
15861 | ||
15862 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
15863 | ||
15864 | * graphite-sese-to-poly.c (add_param_constraints): Enabled: remove | |
15865 | early return. | |
15866 | ||
ace62c8c | 15867 | 2010-03-08 Jakub Jelinek <jakub@redhat.com> |
15868 | ||
15869 | * var-tracking.c (remove_cselib_value_chains): Define only for | |
15870 | ENABLE_CHECKING. | |
15871 | (dataflow_set_preserve_mem_locs, dataflow_set_remove_mem_locs, | |
15872 | delete_slot_part, emit_notes_for_differences_1): Don't call | |
15873 | remove_cselib_value_chains here. | |
15874 | (set_slot_part, emit_notes_for_differences_2): Don't call | |
15875 | add_cselib_value_chains here. | |
15876 | (preserved_values): New vector. | |
15877 | (preserve_value): New function. | |
15878 | (add_uses, add_stores, vt_add_function_parameters): Use it | |
15879 | instead of cselib_preserve_value. | |
15880 | (changed_values_stack): New vector. | |
15881 | (check_changed_vars_0): New function. | |
15882 | (check_changed_vars_1, check_changed_vars_2): Use it. | |
15883 | (emit_notes_for_changes): Call set_dv_changed (*, false) on all | |
15884 | changed_values_stack VALUEs. | |
15885 | (vt_emit_notes): For all preserved_values call | |
15886 | add_cselib_value_chains. If ENABLE_CHECKING call | |
15887 | remove_cselib_value_chains before verifying value_chains is empty. | |
15888 | Initialize and free changed_values_stack. | |
15889 | (vt_initialize): Initialize preserved_values. | |
15890 | (vt_finalize): Free preserved_values. | |
15891 | ||
43e2b34d | 15892 | 2010-03-08 Richard Guenther <rguenther@suse.de> |
15893 | ||
15894 | PR tree-optimization/43269 | |
15895 | * tree-ssa-dse.c (dse_possible_dead_store_p): Fix post-dom | |
15896 | region detection. | |
15897 | ||
ab576610 | 15898 | 2010-03-08 Martin Jambor <mjambor@suse.cz> |
15899 | ||
15900 | * ipa-prop.h (struct ipa_param_descriptor): Removed the called field. | |
15901 | (ipa_is_param_called): Removed. | |
15902 | * ipa-prop.c (ipa_note_param_call): Do not set the called flag. | |
15903 | (ipa_print_node_params): Do not print the called flag. | |
15904 | (ipa_write_node_info): Do not stream the called flag. | |
15905 | (ipa_read_node_info): Likewise. | |
15906 | ||
bc95df68 | 15907 | 2010-03-07 Jakub Jelinek <jakub@redhat.com> |
15908 | ||
15909 | PR debug/43176 | |
15910 | * Makefile.in (var-tracking.o): Depend on pointer-set.h. | |
15911 | * cselib.c (struct expand_value_data): Add dummy field. | |
15912 | (cselib_expand_value_rtx, cselib_expand_value_rtx_cb): Initialize | |
15913 | dummy to false. | |
15914 | (cselib_dummy_expand_value_rtx_cb): New function. | |
15915 | (cselib_expand_value_rtx_1): If evd->dummy is true, don't allocate | |
15916 | any rtl. | |
15917 | * cselib.h (cselib_dummy_expand_value_rtx_cb): New prototype. | |
15918 | * var-tracking.c: Include pointer-set.h. | |
15919 | (variable): Change n_var_parts to char from int. Add | |
15920 | cur_loc_changed and in_changed_variables fields. | |
15921 | (variable_canonicalize): Remove. | |
15922 | (shared_var_p): New inline function. | |
15923 | (unshare_variable): Maintain cur_loc_changed and | |
15924 | in_changed_variables fields. If var was in changed_variables, | |
15925 | replace it there with new_var. Just copy cur_loc instead of | |
15926 | resetting it to something else. | |
15927 | (variable_union): Don't recompute cur_loc. Use shared_var_p. | |
15928 | (dataflow_set_union): Don't call variable_canonicalize. | |
15929 | (loc_cmp): If both x and y are DEBUG_EXPRs, compare uids | |
15930 | of their DEBUG_EXPR_TREE_DECLs. | |
15931 | (canonicalize_loc_order_check): Verify that cur_loc is NULL | |
15932 | and in_changed_variables and cur_loc_changed is false. | |
15933 | (variable_merge_over_cur): Clear cur_loc, in_changed_variables | |
15934 | and cur_loc_changed. Don't update cur_loc here. | |
15935 | (variable_merge_over_src): Don't call variable_canonicalize. | |
15936 | (dataflow_set_preserve_mem_locs): Use shared_var_p. When | |
15937 | removing loc that is equal to cur_loc, clear cur_loc, | |
15938 | set cur_loc_changed and ensure variable_was_changed is called. | |
15939 | (dataflow_set_remove_mem_locs): Use shared_var_p. Only | |
15940 | compare pointers in cur_loc check, if it is equal to loc, | |
15941 | clear cur_loc and set cur_loc_changed. Don't recompute cur_loc here. | |
15942 | (variable_different_p): Remove compare_current_location argument, | |
15943 | don't compare cur_loc. | |
15944 | (dataflow_set_different_1): Adjust variable_different_p caller. | |
15945 | (variable_was_changed): If dv had some var in changed_variables | |
15946 | already, reset in_changed_variables flag for it and propagate | |
15947 | cur_loc_changed over to the new variable. On empty var | |
15948 | always set cur_loc_changed. Set in_changed_variables on whatever | |
15949 | var is added to changed_variables. | |
15950 | (set_slot_part): Clear cur_loc_changed and in_changed_variables. | |
15951 | Use shared_var_p. When removing loc that is equal to cur_loc, | |
15952 | clear cur_loc and set cur_loc_changed. If cur_loc is NULL at the | |
15953 | end, don't set it to something else, just call variable_was_changed. | |
15954 | (delete_slot_part): Use shared_var_p. When cur_loc equals to | |
15955 | loc being removed, clear cur_loc and set cur_loc_changed. | |
15956 | Set cur_loc_changed if all locations have been removed. | |
15957 | (struct expand_loc_callback_data): New type. | |
15958 | (vt_expand_loc_callback): Add dummy mode in which no rtxes are | |
15959 | allocated. Always create SUBREGs if simplify_subreg failed. | |
15960 | Prefer to use cur_loc, when that fails and still in | |
15961 | changed_variables (and seen first time) recompute it. Set | |
15962 | cur_loc_changed of variables which had to change cur_loc and | |
15963 | compute elcd->cur_loc_changed if any of the subexpressions used | |
15964 | had to change cur_loc. | |
15965 | (vt_expand_loc): Adjust to pass arguments in | |
15966 | expand_loc_callback_data structure. | |
15967 | (vt_expand_loc_dummy): New function. | |
15968 | (emitted_notes): New variable. | |
15969 | (emit_note_insn_var_location): For VALUEs and DEBUG_EXPR_DECLs | |
15970 | that weren't used for any other decl in current | |
15971 | emit_notes_for_changes call call vt_expand_loc_dummy to update | |
15972 | cur_loc. For -fno-var-tracking-assignments, set cur_loc to | |
15973 | first loc_chain location if NULL before. Always use just | |
15974 | cur_loc instead of first loc_chain location. When cur_loc_changed | |
15975 | is false, when not --enable-checking=rtl just don't emit any note. | |
15976 | When rtl checking, compute the note and assert it is the same | |
15977 | as previous note. Clear cur_loc_changed and in_changed_variables | |
15978 | at the end before removing from changed_variables. | |
15979 | (check_changed_vars_3): New function. | |
15980 | (emit_notes_for_changes): Traverse changed_vars to call | |
15981 | check_changed_vars_3 on each changed var. | |
15982 | (emit_notes_for_differences_1): Clear cur_loc_changed and | |
15983 | in_changed_variables. Recompute cur_loc of new_var. | |
3a1b51b8 | 15984 | (emit_notes_for_differences_2): Clear cur_loc if new variable appears. |
bc95df68 | 15985 | (vt_emit_notes): Initialize and destroy emitted_notes. |
15986 | ||
6581d87d | 15987 | 2010-03-07 Bernd Schmidt <bernd.schmidt@analog.com> |
15988 | ||
15989 | PR rtl-optimization/42220 | |
15990 | * regrename.c (scan_rtx) <case STRICT_LOW_PART, ZERO_EXTRACT>: | |
15991 | Use verify_reg_tracked to determine if we should use OP_OUT rather | |
15992 | than OP_INOUT. | |
15993 | (build_def_use): If we see an in-out operand for a register that we | |
15994 | know nothing about, treat is an output if possible, fail the block if | |
15995 | not. | |
15996 | ||
41ad616d | 15997 | 2010-03-06 Alexandre Oliva <aoliva@redhat.com> |
15998 | ||
15999 | PR debug/42897 | |
16000 | * gimple-iterator.c (gsi_remove): Propagate only PHI DEFs removed | |
16001 | permanently. | |
16002 | ||
12e7ff4f | 16003 | 2010-03-06 Alexandre Oliva <aoliva@redhat.com> |
16004 | ||
16005 | PR debug/42897 | |
16006 | * tree-vect-loop.c (vect_transform_loop): Kill out-of-loop debug | |
16007 | uses of relevant DEFs that are dead outside the loop too. | |
16008 | ||
657e7797 | 16009 | 2010-03-06 Alexandre Oliva <aoliva@redhat.com> |
493a60c8 | 16010 | |
16011 | * var-tracking.c (dataflow_set_merge): Swap src and src2. | |
16012 | Reverted: | |
16013 | 2010-01-13 Jakub Jelinek <jakub@redhat.com> | |
16014 | PR debug/41371 | |
16015 | * var-tracking.c (values_to_unmark): New variable. | |
16016 | (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in | |
16017 | values_to_unmark vector. Moved body to... | |
16018 | (find_loc_in_1pdv_1): ... this. Don't clear VALUE_RECURSED_INTO, | |
16019 | instead queue it into values_to_unmark vector. | |
16020 | (vt_find_locations): Free values_to_unmark vector. | |
16021 | ||
9d58ff65 | 16022 | 2010-03-05 Eric Botcazou <ebotcazou@adacore.com> |
16023 | ||
16024 | * Makefile.in (PLUGINCC, PLUGINCFLAGS): New variables. | |
16025 | (site.exp): Export them when plugins are enabled. | |
16026 | ||
f2a8ffd0 | 16027 | 2010-03-05 Sebastian Pop <sebastian.pop@amd.com> |
16028 | ||
16029 | PR middle-end/42326 | |
16030 | * tree-chrec.c (chrec_fold_plus_1): Do not handle convert expressions | |
16031 | that contain scevs. | |
16032 | (chrec_fold_multiply): Same. | |
16033 | ||
47321b26 | 16034 | 2010-03-04 Andrew Pinski <andrew_pinski@caviumnetworks.com> |
16035 | ||
16036 | PR c/43248 | |
16037 | * c-decl.c (build_compound_literal): Return early if init is | |
16038 | an error_mark_node. | |
16039 | ||
c335007a | 16040 | 2010-03-04 Martin Jambor <mjambor@suse.cz> |
16041 | ||
16042 | PR tree-optimization/43164 | |
16043 | PR tree-optimization/43191 | |
16044 | * tree-sra.c (type_consists_of_records_p): Reject records with | |
16045 | zero-size bit-fields at the end. | |
16046 | ||
6e941747 | 16047 | 2010-03-04 Mike Stump <mikestump@comcast.net> |
16048 | ||
16049 | * Makefile.in (TAGS): Remove *.y. | |
16050 | ||
9d2a7d3a | 16051 | 2010-03-04 Richard Guenther <rguenther@suse.de> |
16052 | ||
16053 | PR tree-optimization/40761 | |
16054 | * tree-ssa-pre.c (compute_antic): Walk reverse postorder | |
16055 | in reverse order. | |
16056 | (my_rev_post_order_compute): New function. | |
16057 | (init_pre): Call it. | |
16058 | ||
0a5fa2b7 | 16059 | 2010-03-04 Changpeng Fang <changpeng.fang@amd.com> |
16060 | ||
e63747a3 | 16061 | PR middle-end/43209 |
9d2a7d3a | 16062 | * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Do not |
16063 | decrease the cost of an IV candidate when the cost is infinite. | |
0a5fa2b7 | 16064 | |
4f0fcaad | 16065 | 2010-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
16066 | ||
16067 | * doc/extend.texi (Vector Extensions, X86 Built-in Functions): | |
16068 | Use '3DNow!' for the extension of that name, ensure normal space | |
16069 | after the string. | |
16070 | * doc/invoke.texi (i386 and x86-64 Options): Likewise. | |
16071 | ||
42b8780a | 16072 | 2010-03-03 Jeff Law <law@redhat.com> |
16073 | ||
16074 | * PR middle-end/32693 | |
16075 | * expmed.c (store_bit_field_1): Use gen_lowpart_SUBREG rather | |
16076 | than gen_rtx_SUBREG. | |
16077 | (extract_bit_field_1): Likewise. | |
16078 | ||
6f49fb50 | 16079 | 2010-03-03 Janis Johnson <janis187@us.ibm.com> |
16080 | ||
16081 | * doc/sourcebuild.texi (Test directives): Document that arguments | |
16082 | include-opts and exclude-opts are now optional for dg-skip-if, | |
16083 | dg-xfail-if, dg-xfail-run-if, and dg-shouldfail. | |
16084 | ||
f7496db6 | 16085 | 2010-03-03 Jason Merrill <jason@redhat.com> |
16086 | ||
16087 | PR c++/12909 | |
16088 | * cgraph.h (varpool_node): Add extra_name field. | |
16089 | * varpool.c (varpool_extra_name_alias): New. | |
16090 | (varpool_assemble_decl): Emit extra name aliases. | |
16091 | (varpool_mark_needed_node): Look past an extra name alias. | |
dfe4eda7 | 16092 | * lto-streamer.h (LTO_tags): Add LTO_var_decl_alias. |
16093 | * lto-streamer-in.c (lto_input_tree): Read it. | |
16094 | * lto-streamer-out.c (output_unreferenced_globals): Write it. | |
f7496db6 | 16095 | |
8acfe9c6 | 16096 | 2010-03-03 Eric Botcazou <ebotcazou@adacore.com> |
16097 | ||
16098 | * config.gcc (sparc64-*-solaris2*, sparc-*-solaris2*): Merge into... | |
16099 | (sparc*-*-solaris2*): ...this. | |
16100 | ||
77df5c7b | 16101 | 2010-03-03 Jakub Jelinek <jakub@redhat.com> |
16102 | ||
b54ee9da | 16103 | PR debug/43229 |
16104 | * cfgexpand.c (expand_debug_expr): Handle DOT_PROD_EXPR, | |
16105 | WIDEN_MULT_EXPR and WIDEN_SUM_EXPR. Return NULL without | |
16106 | ICE for vector expressions, ADDR_SPACE_CONVERT_EXPR, | |
16107 | FIXED_CONVERT_EXPR, OBJ_TYPE_REF and WITH_SIZE_EXPR. | |
16108 | ||
73b2bc9e | 16109 | PR debug/43237 |
16110 | * dwarf2out.c (add_bound_info): If a decl bound doesn't have decl_die, | |
16111 | fallthrough to default handling, just with want_address 0 instead of 2. | |
16112 | For single element lists, add_AT_loc directly, otherwise create an | |
16113 | artificial variable DIE and stick location list to it. | |
16114 | ||
77df5c7b | 16115 | PR debug/43177 |
16116 | * var-tracking.c (loc_cmp): Don't assert VALUEs have the same mode. | |
16117 | (VAL_EXPR_HAS_REVERSE): Define. | |
16118 | (reverse_op): New function. | |
16119 | (add_stores): For reversible operations add an extra MO_VAL_USE. | |
16120 | ||
a5be0e14 | 16121 | 2010-03-02 Jason Merrill <jason@redhat.com> |
16122 | ||
16123 | * c-pretty-print.c (pp_c_specifier_qualifier_list): Print vector size. | |
16124 | ||
16528046 | 16125 | 2010-03-02 Eric Botcazou <ebotcazou@adacore.com> |
16126 | ||
16127 | * config.gcc (sparc-*-linux*): Do not include sparc/gas.h. | |
16128 | (sparc64-*-linux*): Likewise. | |
16129 | (sparc64-*-solaris2*): Include assembler files before linker ones. | |
16130 | (sparc-*-solaris2*): Simplify and reorder to match previous case. | |
16131 | * config/sparc/gas.h: Delete. | |
16132 | * config/sparc/sol2-64.h: Add copyright notice. | |
16133 | * config/sparc/sol2-gas-bi.h: Likewise. | |
16134 | * config/sparc/sol2-gld.h: Likewise. | |
16135 | * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Delete. | |
16136 | * config/sparc/sol2.h (TARGET_ASM_NAMED_SECTION): Redefine. | |
16137 | * config/sparc/sol2-gas.h (TARGET_ASM_NAMED_SECTION): Likewise. | |
16138 | * config/sparc/sparc.c (TARGET_ASM_ALIGNED_SI_OP): Never redefine. | |
16139 | (sparc_elf_asm_named_section): Rename into... | |
16140 | (sparc_solaris_elf_asm_named_section): ...this. Always define. | |
16141 | ||
89b3c92a | 16142 | 2010-03-02 Uros Bizjak <ubizjak@gmail.com> |
16143 | ||
16144 | * config/alpha/alpha.c (override_options): Fix -mtune error message. | |
16145 | ||
3bacfdb6 | 16146 | 2010-03-02 Jeff Law <law@redhat.com> |
16147 | ||
05404283 | 16148 | PR middle-end/42431 |
3bacfdb6 | 16149 | * reload1.c (rtx_p, substitute_stack): Declare. |
16150 | (substitute): Record addresses of changed rtxs. | |
16151 | (gen_reload_chain_without_interm_reg_p): Don't use copy_rtx anymore. | |
16152 | Restore the original rtx when complete. | |
16153 | (reload): Free subsitute_stack when complete. | |
16154 | ||
caa81816 | 16155 | 2010-03-02 Janis Johnson <janis187@us.ibm.com> |
16156 | ||
16157 | * doc/gccint.texi (menu): Add Testsuites as a chapter. | |
16158 | * doc/sourcebuild.texi (Testsuites): Move up a level to be a | |
16159 | new chapter. | |
16160 | (Test Idioms, Test Directives, Ada Tests, C Tests, libgcj Tests, | |
16161 | LTO Testing, gcov Testing, profopt Testing, compat Testing, | |
16162 | Torture Tests): Change from subsection to section. | |
16163 | ||
348893f5 | 16164 | 2010-03-02 Jakub Jelinek <jakub@redhat.com> |
16165 | Steven Bosscher <steven@gcc.gnu.org> | |
16166 | ||
89b3c92a | 16167 | * var-tracking.c (vt_initialize): Scan insns in ebb chunks |
16168 | instead of bb. | |
348893f5 | 16169 | |
44f1d7db | 16170 | 2010-03-02 Reza Yazdani <reza.yazdani@amd.com> |
16171 | ||
16172 | PR middle-end/42640 | |
16173 | * tree-loop-distribution.c (update_phis_for_loop_copy): Replaced | |
16174 | the assignment from the new induction variable to the assignment | |
16175 | of the value from the original loop PHI function. | |
16176 | ||
32bef869 | 16177 | 2010-03-01 Janis Johnson <janis187@us.ibm.com> |
16178 | Daniel Jacobowitz <dan@codesourcery.com> | |
16179 | ||
16180 | * doc/sourcebuild.texi (Test directives): Clarify options to | |
16181 | dg-skip-if. | |
16182 | ||
ce72f712 | 16183 | 2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16184 | ||
16185 | * configure.ac (gcc_cv_as_cfi_directive) [i?86-*-solaris*]: | |
16186 | Disable cfi directives unless GCC and gas agree on using read-only | |
16187 | .eh_frame sections for 64-bit. | |
16188 | * configure: Regenerate. | |
16189 | ||
c40a6f90 | 16190 | 2010-03-01 Richard Guenther <rguenther@suse.de> |
16191 | ||
16192 | PR tree-optimization/43220 | |
16193 | * tree-ssa-ccp.c (optimize_stack_restore): Do not optimize | |
16194 | BUILT_IN_STACK_{SAVE,RESTORE} around alloca. | |
16195 | ||
4847708a | 16196 | 2010-03-01 Richard Guenther <rguenther@suse.de> |
89b3c92a | 16197 | Martin Jambor <mjambor@suse.cz> |
4847708a | 16198 | |
16199 | PR middle-end/41250 | |
16200 | * gimplify.c (gimplify_body): Unset DECL_HAS_VALUE_EXPR_P on | |
16201 | gimplified parameters. | |
16202 | ||
c242f3f7 | 16203 | 2010-03-01 Christian Bruel <christian.bruel@st.com> |
16204 | ||
16205 | * except.c (dw2_build_landing_pads): set LABEL_PRESERVE_P. | |
44f1d7db | 16206 | |
941a7344 | 16207 | 2010-03-01 H.J. Lu <hongjiu.lu@intel.com> |
16208 | ||
16209 | * config/i386/linux64.h (ASM_SPEC): Use SPEC_32 and SPEC_64. | |
16210 | ||
865c8a7e | 16211 | 2010-03-01 Richard Guenther <rguenther@suse.de> |
16212 | ||
16213 | PR middle-end/43213 | |
16214 | * expr.c (expand_assignment): Use the alias-oracle to tell | |
16215 | if the rhs aliases the result decl. | |
16216 | ||
edee5220 | 16217 | 2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16218 | ||
16219 | PR pch/14940 | |
16220 | * config/host-solaris.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Redefine | |
16221 | to sol_gt_pch_get_address. | |
16222 | (TRY_EMPTY_VM_SPACE): Define for all combinations of 32 and | |
16223 | 64-bit, SPARC and x86. | |
16224 | (sol_gt_pch_get_address): New function. | |
16225 | ||
44f1d7db | 16226 | 2010-03-01 Marco Poletti <poletti.marco@gmail.com> |
c0ddc4f8 | 16227 | |
16228 | * toplev.h (inform_n, error_n): Declare. | |
16229 | * diagnostic.c (inform_n, error_n): New function. | |
16230 | ||
257b4da1 | 16231 | 2010-03-01 Jakub Jelinek <jakub@redhat.com> |
16232 | ||
16233 | * cfgexpand.c (expand_used_vars): If an artificial non-ignored var | |
16234 | has no rtl yet when processing local_decls, queue it and recheck | |
16235 | if deferred stack allocation hasn't assigned it rtl. | |
16236 | ||
4c4854c8 | 16237 | 2010-02-28 Kaz Kojima <kkojima@gcc.gnu.org> |
16238 | ||
16239 | * config/sh/sh.c (unspec_bbr_uid): New. | |
16240 | (gen_block_redirect): Use it instead of INSN_UID. | |
16241 | (gen_far_branch): Likewise. | |
16242 | ||
f23eeaa8 | 16243 | 2010-02-28 H.J. Lu <hongjiu.lu@intel.com> |
16244 | ||
16245 | * config/i386/darwin.h (TARGET_SUBTARGET32_ISA_DEFAULT): Make | |
16246 | it the same as TARGET_SUBTARGET64_ISA_DEFAULT. | |
16247 | ||
882f66bc | 16248 | 2010-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
16249 | ||
16250 | * doc/invoke.texi (Warning Options, RX Options): Fix typos. | |
16251 | (Warning Options): -Wno-conversion-null is valid for | |
16252 | Objective-C++ as well. | |
16253 | * doc/tm.texi (Named Address Spaces): Likewise. | |
16254 | * doc/plugins.texi (Plugins): Replace TABs with spaces. | |
16255 | * doc/tree-ssa.texi (Tree SSA): Likewise. | |
16256 | ||
ffcf29bf | 16257 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
16258 | ||
16259 | PR bootstrap/43202 | |
16260 | * config.gcc: Don't enable SSE math for i[34567]86-*-darwin* | |
16261 | by default. Don't set the default arch for | |
16262 | i[34567]86-*-darwin*|x86_64-*-darwin*. | |
16263 | ||
525b174b | 16264 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
16265 | ||
16266 | PR bootstrap/43202 | |
16267 | * config.gcc: Enable SSE math for i[34567]86-*-darwin* by | |
16268 | default. Set the default 32bit/64bit archs with $with_arch | |
16269 | instead of $arch for i[34567]86-*-*|x86_64-*-* targets. | |
16270 | ||
793a0ab5 | 16271 | 2010-02-27 Richard Guenther <rguenther@suse.de> |
16272 | ||
16273 | PR tree-optimization/43186 | |
16274 | * params.def (PARAM_MAX_UNROLL_ITERATIONS): New param. | |
16275 | * doc/invoke.texi (max-completely-peel-loop-nest-depth): Document. | |
16276 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): Limit | |
16277 | unroller iterations. | |
16278 | ||
ed2b8f56 | 16279 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
16280 | ||
16281 | * config.gcc: Set the default 32bit/64bit archs if 64bit ISA is | |
16282 | required and i[34567]86-*-* targets don't support 64bit ISA. | |
16283 | ||
102bfc9c | 16284 | 2010-02-26 Eric Botcazou <ebotcazou@adacore.com> |
16285 | ||
16286 | PR ada/43096 | |
16287 | * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have | |
16288 | the same alias set. | |
16289 | ||
05b38372 | 16290 | 2010-02-26 H.J. Lu <hongjiu.lu@intel.com> |
16291 | ||
16292 | * config.gcc: Set the default arch at least to Prescott for | |
16293 | i[34567]86-*-darwin* and Pentium 4 for i[34567]86-*-* targets | |
16294 | if SSE math is enabled. | |
16295 | ||
16b4d5bb | 16296 | 2010-02-26 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16297 | ||
16298 | * diagnostic.c (diagnostic_initialize): Update. | |
16299 | (diagnostic_report_diagnostic): Test inhibit_notes_p for | |
16300 | informative notes. | |
16301 | * diagnostic.h (diagnostic_context): New bool inhibit_notes_p. | |
16302 | (diagnostic_inhibit_notes): New. | |
16303 | * toplev.c (process_options): inhibit notes with -fcompare-debug. | |
16304 | ||
32f1f35b | 16305 | 2010-02-26 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16306 | ||
16307 | PR c/20631 | |
16308 | * doc/cpp.texi: Use c90 instead of c89 and gnu90 instead of gnu89. | |
16309 | * doc/standards.texi: Likewise. | |
16310 | * doc/extend.texi: Likewise. | |
16311 | * doc/trouble.texi: Likewise. | |
44f1d7db | 16312 | * doc/cppopts.texi: Likewise. |
32f1f35b | 16313 | * doc/install.texi: Likewise. |
16314 | * c.opt (std=c90,std=gnu90): New options. | |
16315 | * c-opts.c (c_common_handle_option): Handle them. | |
16316 | ||
83d93c3b | 16317 | 2010-02-26 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16318 | ||
16319 | PR c/24577 | |
16320 | * c-decl.c (undeclared_variable): Use an informative note. | |
16321 | ||
db2cc26b | 16322 | 2010-02-26 Richard Guenther <rguenther@suse.de> |
16323 | ||
16324 | PR tree-optimization/43186 | |
16325 | * gimple.h (gimple_fold): Remove. | |
16326 | * gimple.c (gimple_fold): Remove. Inline into single user ... | |
16327 | * tree-cfgcleanup.c (cleanup_control_expr_graph): ... here. | |
16328 | Try harder for conditions. | |
16329 | ||
bd564c29 | 16330 | 2010-02-26 Jakub Jelinek <jakub@redhat.com> |
16331 | ||
16332 | PR debug/43190 | |
16333 | * function.c (used_types_insert): Don't skip through named pointer | |
16334 | types. Don't use TYPE_MAIN_VARIANT if the original type has a name | |
16335 | and it is different from the main variant's type. | |
16336 | ||
1ebdc03a | 16337 | 2010-02-26 Nick Clifton <nickc@redhat.com> |
16338 | ||
16339 | * config/rx/rx.md (sminsi3): Remove bogus alternative. | |
16340 | ||
2d2e1f85 | 16341 | 2010-02-26 H.J. Lu <hongjiu.lu@intel.com> |
16342 | ||
16343 | * config.gcc: Support --with-fpmath=sse for x86. | |
16344 | ||
16345 | * config/i386/ssemath.h: New. | |
16346 | ||
16347 | * doc/install.texi (--with-fpmath=sse): Documented. | |
16348 | ||
d3791b80 | 16349 | 2010-02-26 Richard Guenther <rguenther@suse.de> |
16350 | ||
16351 | PR tree-optimization/43188 | |
16352 | * tree-vect-stmts.c (get_vectype_for_scalar_type): Do not build | |
16353 | vector types of over-aligned element type. | |
16354 | ||
4066b651 | 16355 | 2010-02-26 Uros Bizjak <ubizjak@gmail.com> |
16356 | ||
16357 | PR target/43175 | |
16358 | * config/i386/i386.c (expand_vec_perm_blend): Use correct | |
89b3c92a | 16359 | operands in V8HImode subregs. Fix operand order in VEC_MERGE rtx. |
4066b651 | 16360 | |
a77fcbe0 | 16361 | 2010-02-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
16362 | ||
16363 | * doc/invoke.texi (-fvar-tracking-assignments): Fix typo. | |
16364 | ||
2058ec71 | 16365 | 2010-02-26 Jakub Jelinek <jakub@redhat.com> |
16366 | ||
b4d01854 | 16367 | * Makefile.in (var-tracking.o): Depend on $(DIAGNOSTIC_H). |
16368 | * var-tracking.c: Include diagnostic.h. | |
16369 | (debug_dv): New function. | |
16370 | (dump_var): Print DEBUG_EXPR_DECLs as D#N instead of D.-N. | |
16371 | ||
e55f862a | 16372 | PR debug/43160 |
16373 | * var-tracking.c (dv_onepart_p): Return true for DEBUG_EXPR_DECLs. | |
16374 | (add_value_chain, add_value_chains, remove_value_chain, | |
16375 | remove_value_chains): Handle DEBUG_EXPRs. | |
16376 | (check_changed_vars_1, check_changed_vars_2): Handle DEBUG_EXPR_DECLs. | |
16377 | ||
2058ec71 | 16378 | PR debug/43161 |
16379 | * regcprop.c (struct queued_debug_insn_change): New type. | |
16380 | (struct value_data_entry): Add debug_insn_changes field. | |
16381 | (struct value_data): Add n_debug_insn_changes field. | |
16382 | (debug_insn_changes_pool): New variable. | |
16383 | (free_debug_insn_changes, apply_debug_insn_changes, | |
16384 | cprop_find_used_regs_1, cprop_find_used_regs): New functions. | |
16385 | (kill_value_one_regno): Call free_debug_insn_changes if needed. | |
16386 | (init_value_data): Clear debug_insn_changes and n_debug_insn_changes | |
16387 | fields. | |
16388 | (replace_oldest_value_reg): Don't change DEBUG_INSNs, instead queue | |
16389 | changes for them. | |
16390 | (copyprop_hardreg_forward_1): Don't call apply_change_group for | |
16391 | DEBUG_INSNs. For a real insn, if there are queued DEBUG_INSN | |
16392 | changes, call cprop_find_used_regs via note_stores. | |
16393 | (copyprop_hardreg_forward): When copying vd from predecessor | |
16394 | which has any queued DEBUG_INSN changes, make sure the pointers are | |
16395 | cleared. At the end call df_analyze and then if there are any | |
16396 | DEBUG_INSN changes queued at the end of some basic block for still | |
16397 | live registers, apply them. | |
16398 | (pass_cprop_hardreg): Set TODO_df_finish in todo_flags_finish. | |
16399 | ||
414f0dcb | 16400 | 2010-02-25 Uros Bizjak <ubizjak@gmail.com> |
16401 | ||
16402 | * config.gcc (i[34567]86-*-* | x86_64-*-*): Split long line. | |
16403 | (arm*-*-*): Ditto. | |
16404 | ||
1f64ad21 | 16405 | 2010-02-25 H.J. Lu <hongjiu.lu@intel.com> |
16406 | ||
16407 | * config.gcc: Set arch/cpu for i[34567]86-*-*|x86_64-*-* | |
16408 | targets. Set the default with_cpu/with_arch from arch/cpu. | |
16409 | Allow x86-64 and native for with_cpu/with_arch. | |
16410 | ||
e3e1f14f | 16411 | 2010-02-25 Nicolas Benoit <nbenoit@tuxfamily.org> |
16412 | ||
16413 | * ebitmap.c: Change calls to verify_popcount with calls to | |
16414 | sbitmap_verify_popcount. | |
16415 | (ebitmap_clear_bit): Fixed map->cacheindex test and | |
16416 | map>cache update when bit clearing results in an empty | |
16417 | element. | |
16418 | ||
e3e1b729 | 16419 | 2010-02-25 Michael Meissner <meissner@linux.vnet.ibm.com> |
16420 | ||
16421 | PR target/43154 | |
16422 | * config/rs6000/vector.md (VEC_64): New iterator for V2DF, V2DI. | |
16423 | (vec_interleave_high<mode>): Rename from vec_interleave_highv2df | |
16424 | and support both V2DF and V2DI modes. | |
16425 | (vec_interleave_low<mode>): Rename from vec_interleave_lowv2df and | |
16426 | support both V2DF and V2DI modes. | |
16427 | (general): Delete trailing whitespace from a few patterns. | |
16428 | ||
16429 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
16430 | V2DF/V2DI interleave high/low builtins. | |
16431 | ||
16432 | * config/rs6000/rs6000-builtin.def (VSX_BUILTIN_VEC_MERGE*): Add | |
16433 | new VSX builtins. | |
16434 | ||
16435 | * config/rs6000/rs6000.c (bdesc_2arg): Add support for V2DF/V2DI | |
16436 | interleave high/low functions. | |
16437 | ||
a2d7f267 | 16438 | 2010-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
16439 | ||
16440 | * doc/extend.texi (Symbol-Renaming Pragmas): Fix spelling of | |
16441 | #pragma extern_prefix. | |
16442 | ||
406aed5d | 16443 | 2010-02-25 Jakub Jelinek <jakub@redhat.com> |
16444 | ||
5d713e67 | 16445 | PR debug/43166 |
16446 | * cfgexpand.c (expand_debug_expr) <case VAR_DECL>: If mode is | |
16447 | BLKmode, assert op0 is a MEM and just adjust its mode. | |
16448 | ||
406aed5d | 16449 | PR debug/43165 |
16450 | * cfgexpand.c (expand_debug_expr): Don't call simplify_gen_subreg | |
16451 | if bitpos isn't multiple of mode's bitsize. | |
16452 | ||
5084b26f | 16453 | 2010-02-24 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16454 | ||
16455 | * c.opt (-ftemplate-depth=): New. | |
16456 | (-ftemplate-depth-): Deprecate. | |
16457 | * optc-gen.awk: Handle -ftemplate-depth=. | |
16458 | * opth-gen.awk: Likewise. | |
16459 | * c-opts.c (c_common_handle_option): Likewise. | |
89b3c92a | 16460 | * doc/invoke.texi (-ftemplate-depth-): Replace with -ftemplate-depth=. |
5084b26f | 16461 | |
f08153ef | 16462 | 2010-02-24 Jason Merrill <jason@redhat.com> |
16463 | ||
16464 | * doc/invoke.texi: Improve -Wabi and -fabi-version docs. | |
16465 | ||
0c9b3045 | 16466 | 2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16467 | ||
16468 | * cfg.c (alloc_aux_for_block): Remove inline. | |
16469 | (alloc_aux_for_edge): Likewise. | |
16470 | ||
89afcdc0 | 16471 | 2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16472 | ||
16473 | * config.gcc: Fix typo in mips-sgi-irix6.[0-4]* obsoletion. | |
16474 | ||
0adf6b09 | 16475 | 2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16476 | ||
16477 | * config/i386/sol2.h (NO_DBX_BNSYM_ENSYM): Define. | |
16478 | * config/i386/sol2-gas.h: New file. | |
16479 | * config.gcc (i[34567]86-*-solaris2*): Use it. | |
16480 | ||
8f45ab4d | 16481 | 2010-02-24 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16482 | ||
16483 | PR c/43128 | |
16484 | * c-typeck.c (ep_convert_and_check): New. | |
16485 | (build_conditional_expr): Use it. | |
16486 | (build_binary_op): Likewise. | |
16487 | ||
60d11eb6 | 16488 | 2010-02-24 Jakub Jelinek <jakub@redhat.com> |
16489 | ||
02bbc669 | 16490 | * regcprop.c (copyprop_hardreg_forward_1): Don't call df_insn_rescan. |
16491 | ||
60d11eb6 | 16492 | PR debug/43150 |
16493 | * gimplify.c (gimplify_type_sizes): Clear DECL_IGNORED_P for VLA | |
16494 | bounds even for -O+. | |
16495 | * var-tracking.c (track_expr_p): If !need_rtl, don't mandate | |
16496 | expr needs to have DECL_NAME set. | |
16497 | ||
260f365f | 16498 | 2010-02-24 Nick Clifton <nickc@redhat.com> |
16499 | ||
16500 | * config/mep/mep.c: Include gimple.h. | |
16501 | (mep_function_uses_sp): Delete unused function. | |
16502 | (mep_gimplify_va_arg_expr): Change types of pre_p and post_p | |
16503 | parameters. Use unsigned integers to count args. Return a | |
16504 | NULL_RTX instead of an error_mark_node. Toidy up formatting. | |
16505 | ||
bd5ea428 | 16506 | 2010-02-23 Jakub Jelinek <jakub@redhat.com> |
16507 | ||
16508 | PR target/43107 | |
16509 | * config/i386/i386.c (avx_vpermilp_parallel): Reject indexes | |
16510 | greater or equal to nelt instead of 2 * nelt. | |
16511 | (expand_vec_perm_1): When op0 and op1 are equal, mask indexes | |
16512 | with nelt - 1. | |
16513 | ||
acca8c42 | 16514 | 2010-02-23 Jason Merrill <jason@redhat.com> |
16515 | ||
a45d3ce3 | 16516 | PR debug/42800 |
16517 | * cfgexpand.c (expand_used_vars): Keep artificial non-ignored vars | |
16518 | in cfun->local_decls even if they have register types. | |
16519 | ||
acca8c42 | 16520 | PR c++/42837 |
16521 | * stor-layout.c (place_field): Don't warn about unnecessary | |
16522 | DECL_PACKED if the type is packed. | |
16523 | ||
a17fc359 | 16524 | 2010-02-23 Jakub Jelinek <jakub@redhat.com> |
16525 | ||
16526 | PR target/43139 | |
16527 | * config/i386/i386.c (ix86_delegitimize_address): Delegitimize all | |
16528 | GOTOFF relocs, even when the base reg isn't pic pointer. | |
16529 | ||
3c800ea7 | 16530 | 2010-02-23 Michael Matz <matz@suse.de> |
16531 | ||
16532 | PR debug/43077 | |
16533 | * cfgexpand (expand_debug_expr): Expand TERed ssa names in place. | |
16534 | (expand_gimple_basic_block): Generate and use debug temps if there | |
16535 | are debug uses left after the last real use of TERed ssa names. | |
16536 | Unlink debug immediate uses when they are expanded. | |
16537 | ||
f6865cc1 | 16538 | 2010-02-23 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16539 | ||
16540 | PR 43123 | |
16541 | * config/i386/i386.c (override_options): Reorganise to provide | |
16542 | better error messages. | |
16543 | ||
d96f9313 | 16544 | 2010-02-22 Sebastian Pop <sebastian.pop@amd.com> |
16545 | ||
16546 | PR middle-end/43083 | |
16547 | * graphite-scop-detection.c (create_single_exit_edge): Move | |
16548 | the call to find_single_exit_edge to.... | |
16549 | (create_sese_edges): ...here. Don't handle multiple edges | |
16550 | exiting the function. | |
16551 | (build_graphite_scops): Don't handle multiple edges | |
16552 | exiting the function. | |
16553 | ||
16554 | 2010-02-22 Sebastian Pop <sebastian.pop@amd.com> | |
16555 | ||
16556 | PR middle-end/43097 | |
16557 | * sese.c (get_rename): Assert that old_name is an SSA_NAME. | |
16558 | (rename_variables_in_stmt): Continue when the use is not an SSA_NAME. | |
16559 | ||
16560 | 2010-02-22 Sebastian Pop <sebastian.pop@amd.com> | |
16561 | ||
16562 | PR middle-end/43026 | |
16563 | * sese.c (expand_scalar_variables_expr): Handle COMPONENT_REF. | |
16564 | ||
60cce472 | 16565 | 2010-02-22 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16566 | ||
16567 | PR c++/43126 | |
16568 | * c-typeck.c (convert_arguments): Print declaration location. | |
16569 | * c-common.c (validate_nargs): Rename as | |
16570 | builtin_function_validate_nargs. | |
16571 | (check_builtin_function_arguments): Update. | |
16572 | ||
c21cf15c | 16573 | 2010-02-22 Richard Guenther <rguenther@suse.de> |
16574 | ||
16575 | PR lto/43045 | |
16576 | * tree-inline.c (declare_return_variable): Use the type of | |
16577 | the call stmt lhs if available. | |
16578 | ||
c21d7f23 | 16579 | 2010-02-22 Duncan Sands <baldrick@free.fr> |
16580 | ||
16581 | * passes.c (register_pass): Always consider all pass lists when | |
16582 | ref_pass_instance_number is zero. | |
16583 | ||
bc56c183 | 16584 | 2010-02-22 Richard Guenther <rguenther@suse.de> |
16585 | ||
16586 | PR tree-optimization/42749 | |
16587 | * tree-tailcall.c (adjust_return_value_with_ops): Drop update | |
16588 | parameter. Do arithmetic in the original type. | |
16589 | (update_accumulator_with_ops): Likewise. | |
16590 | (adjust_accumulator_values): Adjust. | |
16591 | ||
baa9ba0c | 16592 | 2010-02-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16593 | ||
16594 | * config/s390/s390.md ("movqi"): Re-add the mem->mem alternative. | |
16595 | (QI to BLKmode splitter): New splitter. | |
16596 | ||
84de5c11 | 16597 | 2010-02-22 H.J. Lu <hongjiu.lu@intel.com> |
16598 | ||
16599 | * config/i386/i386.c (initial_ix86_tune_features): Turn on | |
16600 | X86_TUNE_INTER_UNIT_MOVES for m_ATOM. | |
16601 | ||
47a26dc5 | 16602 | 2010-02-22 Richard Guenther <rguenther@suse.de> |
16603 | ||
16604 | * tree-vect-slp.c (vect_slp_analyze_bb): Fix typo. | |
84de5c11 | 16605 | |
7f0ef684 | 16606 | 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com> |
16607 | ||
16608 | Migrate crti, crtn, crtbegin, crtend build rules to libgcc. | |
16609 | * config/mmix/t-mmix (EXTRA_MULTILIB_PARTS): Don't set. | |
16610 | ($(T)crti.o, $(T)crtn.o): Remove rules. | |
16611 | ||
54564d01 | 16612 | 2010-02-21 Tobias Burnus <burnus@net-b.de> |
16613 | ||
16614 | PR fortran/35259 | |
16615 | * doc/invoke.texi (-fassociative-math): Document that this | |
16616 | option is automatically enabled for Fortran. | |
16617 | ||
2f1e7d0b | 16618 | 2010-02-20 David S. Miller <davem@davemloft.net> |
16619 | ||
16620 | * configure.ac: Test if linker and assembler properly support | |
16621 | GOTDATA_OP relocations. | |
16622 | * configure: Rebuild. | |
16623 | * config.in: Likewise. | |
16624 | * config/sparc/sparc.md (UNSPEC_MOVE_GOTDATA): New. | |
16625 | (movsi_lo_sum_pic): Use %gdop_*() relocs if available. | |
16626 | (movsi_high_pic): Likewise. | |
16627 | (movdi_lo_sum_pic): Likewise. | |
16628 | (movdi_high_pic): Likewise. | |
16629 | (movsi_pic_gotdata_op): New pattern. | |
16630 | (movdi_pic_gotdata_op): Likewise. | |
16631 | * config/sparc/sparc.c (legitimize_pic_address): If flag_pic is 2, | |
16632 | emit gen_mov{si,di}_pic_gotdata_op for the GOT slot load. | |
89b3c92a | 16633 | |
bcb496f4 | 16634 | 2010-02-20 Uros Bizjak <ubizjak@gmail.com> |
16635 | ||
16636 | PR target/43067 | |
16637 | * config/i386/sse.md (xop_mulv2div2di3_low): Change type | |
16638 | attribute to ssemul. | |
16639 | (xop_mulv2div2di3_high): Ditto. | |
16640 | ||
8296fdaa | 16641 | 2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16642 | ||
16643 | PR c++/35669 | |
16644 | * c.opt (Wconversion-null): New option. | |
16645 | * doc/invoke.texi (Wconversion-null): Document. | |
16646 | ||
f00fc6e6 | 16647 | 2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16648 | ||
16649 | * common.opt (Wlarger-than-): Add Undocumented. | |
bcb496f4 | 16650 | |
2448493c | 16651 | 2010-02-19 Mike Stump <mikestump@comcast.net> |
16652 | ||
16653 | * config/t-darwin (gt-darwin.h): Remove as Makefile now handles it. | |
16654 | ||
1cdcaa36 | 16655 | 2010-02-19 Jason Merrill <jason@redhat.com> |
16656 | ||
16657 | PR target/40332 | |
16658 | * configure.ac (gcc_cv_as_cfi_advance_working): Check 32-bit advance. | |
16659 | * configure: Likewise. | |
16660 | ||
6137cc9f | 16661 | 2010-02-20 Alan Modra <amodra@gmail.com> |
16662 | ||
16663 | PR middle-end/42344 | |
16664 | * cgraph.h (cgraph_make_decl_local): Declare. | |
16665 | * cgraph.c (cgraph_make_decl_local): New function. | |
16666 | (cgraph_make_node_local): Use it. | |
16667 | * cgraphunit.c (cgraph_function_versioning): Likewise. | |
16668 | * ipa.c (function_and_variable_visibility): Likewise. | |
16669 | ||
d78f9811 | 16670 | 2010-02-19 Jakub Jelinek <jakub@redhat.com> |
16671 | ||
16672 | PR bootstrap/43121 | |
16673 | * except.c (sjlj_emit_function_enter): Don't call | |
16674 | add_reg_br_prob_note, instead add REG_BR_PROB note to the last insn | |
16675 | directly. | |
16676 | * rtl.h (add_reg_br_prob_note): Remove prototype. | |
16677 | ||
4c2cfa81 | 16678 | 2010-02-19 Manuel López-Ibáñez <manu@gcc.gnu.org> |
16679 | ||
16680 | PR 41779 | |
16681 | * c-common.c (conversion_warning): Remove widening conversions | |
16682 | before checking the conversion of integers to reals. | |
16683 | ||
83a23b05 | 16684 | 2010-02-19 Mike Stump <mikestump@comcast.net> |
16685 | ||
5b5632f7 | 16686 | PR middle-end/43125 |
16687 | * c-decl.c (merge_decls): Merge DECL_PRESERVE_P. | |
16688 | ||
83a23b05 | 16689 | PR objc/43061 |
16690 | * cgraphunit.c (process_function_and_variable_attributes): Check | |
16691 | DECL_PRESERVE_P instead of looking up attribute "used". | |
16692 | * ipa-pure-const.c (check_decl): Likewise. | |
16693 | * ipa-reference.c (has_proper_scope_for_analysis): Likewise. | |
16694 | * ipa-type-escape.c (has_proper_scope_for_analysis): Likewise. | |
16695 | * config/sol2.c (solaris_insert_attributes): Set DECL_PRESERVE_P | |
16696 | instead of attribute "used". | |
16697 | * config/sol2-c.c (solaris_pragma_init): Likewise. | |
16698 | (solaris_pragma_fini): Likewise. | |
16699 | ||
efa5aca5 | 16700 | 2010-02-19 Jakub Jelinek <jakub@redhat.com> |
16701 | ||
ec214612 | 16702 | * ipa-struct-reorg.c (make_field_acc_node, gen_cluster, peel_field): |
16703 | Use XCNEW instead of xcalloc. | |
16704 | (add_access_to_acc_sites, create_new_var_node, add_alloc_site): Use | |
16705 | XNEW instead of xmalloc. | |
16706 | (get_fields): Use XNEWVEC instead of xmalloc. | |
16707 | ||
ceae0726 | 16708 | PR debug/43084 |
16709 | * ipa-struct-reorg.c (add_access_to_acc_sites): For debug stmts don't | |
16710 | populate vars array. | |
16711 | (create_new_general_access): For debug stmts just reset value. | |
16712 | (get_stmt_accesses): For accesses within debug stmts just record them | |
16713 | using add_access_to_acc_sites instead of preventing the peeling or | |
16714 | counting them as accesses. | |
16715 | ||
efa5aca5 | 16716 | PR middle-end/42233 |
16717 | * dojump.c (do_jump) <case TRUTH_NOT_EXPR>: Invert priority. | |
16718 | ||
dd693891 | 16719 | 2010-02-19 Richard Guenther <rguenther@suse.de> |
16720 | ||
16721 | PR tree-optimization/42916 | |
16722 | * tree-vect-slp.c (vect_slp_analyze_bb): Count only real | |
16723 | instructions. | |
16724 | ||
a6b57da2 | 16725 | 2010-02-19 Andreas Schwab <schwab@linux-m68k.org> |
16726 | ||
16727 | * configure.ac: Replace all uses of changequote in macro arguments | |
16728 | with proper quoting. | |
16729 | ||
c368b03d | 16730 | 2010-02-19 Jakub Jelinek <jakub@redhat.com> |
16731 | ||
16732 | PR middle-end/42233 | |
16733 | * loop-doloop.c (add_test): Adjust do_compare_rtx_and_jump caller. | |
16734 | ||
a29c5f9c | 16735 | 2010-02-19 Richard Guenther <rguenther@suse.de> |
16736 | ||
16737 | PR tree-optimization/42944 | |
16738 | * tree-ssa-alias.c (call_may_clobber_ref_p_1): Massage | |
16739 | test for aliasing with errno. | |
16740 | ||
2527d57b | 16741 | 2010-02-19 Jakub Jelinek <jakub@redhat.com> |
16742 | ||
79ab74cc | 16743 | PR middle-end/42233 |
16744 | * expr.h (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump, | |
16745 | do_jump_1, do_compare_rtx_and_jump): Add PROB argument. | |
16746 | * dojump.c: Include output.h. | |
16747 | (inv): New inline function. | |
16748 | (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump_1, do_jump, | |
16749 | do_jump_by_parts_greater_rtx, do_jump_by_parts_greater, | |
16750 | do_jump_by_parts_zero_rtx, do_jump_by_parts_equality_rtx, | |
16751 | do_jump_by_parts_equality, do_compare_and_jump): Add PROB | |
16752 | argument, pass it down to other calls. | |
16753 | (do_compare_rtx_and_jump): Likewise. If PROB is not -1, | |
16754 | add REG_BR_PROB note to the conditional jump. | |
16755 | * cfgexpand.c (add_reg_br_prob_note): Removed. | |
16756 | (expand_gimple_cond): Don't call it, add the probability | |
16757 | as last argument to jumpif_1/jumpifnot_1. | |
16758 | * Makefile.in (dojump.o): Depend on output.h. | |
16759 | * builtins.c (expand_errno_check): Adjust do_compare_rtx_and_jump | |
16760 | callers. | |
16761 | * expmed.c (emit_store_flag_force, do_cmp_and_jump): Likewise. | |
16762 | * stmt.c (do_jump_if_equal): Likewise. | |
16763 | * cfgrtl.c (rtl_lv_add_condition_to_bb): Likewise. | |
16764 | * loop-unswitch.c (compare_and_jump_seq): Likewise. | |
16765 | * config/rs6000/rs6000.c (rs6000_aix_emit_builtin_unwind_init): | |
16766 | Likewise. | |
16767 | * optabs.c (expand_doubleword_shift, expand_abs): Likewise. | |
16768 | * expr.c (expand_expr_real_1): Adjust do_jump, jumpifnot and | |
16769 | jumpifnot_1 callers. | |
16770 | (expand_expr_real_2): Adjust jumpifnot_1 and do_compare_rtx_and_jump | |
16771 | callers. | |
16772 | (store_expr): Adjust jumpifnot caller. | |
16773 | (store_constructor): Adjust jumpif caller. | |
16774 | ||
2527d57b | 16775 | PR middle-end/42233 |
16776 | * gimplify.c (gimple_boolify): For __builtin_expect call | |
16777 | gimple_boolify also on its first argument. | |
16778 | ||
47cbc7da | 16779 | 2010-02-18 Uros Bizjak <ubizjak@gmail.com> |
16780 | ||
16781 | * configure.ac (gnu-unique-object): Wrap regexps using [] in | |
16782 | changequote block. | |
16783 | (__stack_chk_fail): Ditto. Remove quadrigraphs. | |
16784 | * configure: Regenerated. | |
16785 | ||
e8a6252b | 16786 | 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16787 | ||
16788 | * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call | |
16789 | lang_hooks.types_compatible_p instead of comptypes. | |
16790 | ||
657e7797 | 16791 | 2010-02-18 Sebastian Huber <sebastian.huber@embedded-brains.de> |
8e247962 | 16792 | |
16793 | * config/arm/lib1funcs.asm (__prefer_thumb__): New define. | |
16794 | (udivsi3, aeabi_uidivmod, divsi3, aeabi_idivmod): Use Thumb-1 variant | |
16795 | if __prefer_thumb__ is defined. | |
16796 | ||
f847b4c8 | 16797 | 2010-02-18 Martin Jambor <mjambor@suse.cz> |
16798 | ||
16799 | PR tree-optimization/43066 | |
16800 | * tree-sra.c (build_ref_for_offset_1): Return false on encountering an | |
16801 | array with zero-sized element type. | |
16802 | ||
1ea90fbb | 16803 | 2010-02-18 Jakub Jelinek <jakub@redhat.com> |
16804 | ||
16805 | * dwarf2out.c (add_var_loc_to_decl): Change last argument to | |
16806 | rtx, allocate struct var_loc_node here and return it to the | |
16807 | caller, and only if it is actually needed. | |
16808 | (dwarf2out_var_location): Adjust add_var_loc_to_decl caller, | |
16809 | move it earlier and return immediately if it returns NULL. | |
16810 | ||
7f9966d5 | 16811 | 2010-02-17 Mikael Pettersson <mikpe@it.uu.se> |
16812 | ||
16813 | * config/sparc/gas.h: New file. Restore | |
16814 | TARGET_ASM_NAMED_SECTION to its ELF default. | |
16815 | * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Do not | |
16816 | check !HAVE_GNU_AS. | |
16817 | * config/sparc/sparc.c (sparc_elf_asm_named_section): | |
16818 | Likewise. Add ATTRIBUTE_UNUSED to prototype. | |
16819 | * config.gcc (sparc*-*-linux*): Include sparc/gas.h | |
16820 | after sparc/sysv4.h. | |
16821 | ||
97ec048d | 16822 | 2010-02-17 Dave Korn <dave.korn.cygwin@gmail.com> |
16823 | ||
16824 | * config/i386/mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name. | |
16825 | ||
5bc0532c | 16826 | 2010-02-17 Steven Bosscher <steven@gcc.gnu.org> |
16827 | ||
16828 | * gensupport.c (process_one_cond_exec): Derive name for COND_EXEC | |
16829 | patterns from predicated pattern. | |
16830 | ||
8072d92a | 16831 | 2010-02-17 Uros Bizjak <ubizjak@gmail.com> |
16832 | ||
16833 | PR target/43103 | |
16834 | * config/i386/sse.md (xop_vpermil2<mode>3): Use avxmodesuffixf2c | |
16835 | for insn mnemonic suffix. | |
16836 | ||
484ae26c | 16837 | 2010-02-17 Richard Guenther <rguenther@suse.de> |
16838 | ||
16839 | * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis | |
16840 | to loop PHI nodes. | |
16841 | ||
4812f6d0 | 16842 | 2010-02-17 Jakub Jelinek <jakub@redhat.com> |
16843 | ||
16844 | PR debug/42918 | |
16845 | * caller-save.c (save_call_clobbered_regs): If BB ends with | |
16846 | a DEBUG_INSN, move any notes in between last real insn and the last | |
16847 | DEBUG_INSN after the last DEBUG_INSN. | |
16848 | ||
c010e011 | 16849 | 2010-02-16 Joern Rennecke <joern.rennecke@embecosm.com> |
16850 | ||
16851 | * tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): | |
16852 | Fix return type. Fix argument type. Explain meaning of return value. | |
16853 | ||
ff486875 | 16854 | 2010-02-16 Richard Guenther <rguenther@suse.de> |
16855 | ||
16856 | PR tree-optimization/41043 | |
8072d92a | 16857 | * tree-vrp.c (vrp_var_may_overflow): Only ask SCEV for real loops. |
ff486875 | 16858 | (vrp_visit_assignment_or_call): Do not ask SCEV for regular |
16859 | statements ... | |
16860 | (vrp_visit_phi_node): ... but only for loop PHI nodes. | |
16861 | ||
82f5958d | 16862 | 2010-02-16 Ira Rosen <irar@il.ibm.com> |
07be02da | 16863 | |
16864 | PR tree-optimization/43074 | |
16865 | * tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New. | |
16866 | * tree-vect-loop.c (vect_analyze_loop_operations): Add | |
16867 | vectorizable cycles in hybrid SLP check. | |
16868 | * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise. | |
16869 | ||
40f9e245 | 16870 | 2010-02-16 Richard Guenther <rguenther@suse.de> |
16871 | ||
8072d92a | 16872 | * alias.c (memrefs_conflict_p): Distinguish must-alias from don't know. |
40f9e245 | 16873 | (true_dependence): If memrefs_conflict_p computes must-alias |
16874 | trust it. Move TBAA check after offset-based disambiguation. | |
16875 | (canon_true_dependence): Likewise. | |
16876 | ||
76f4ab1c | 16877 | 2010-02-16 Alexandre Oliva <aoliva@redhat.com> |
16878 | ||
16879 | * params.def (PARAM_MAX_VARTRACK_SIZE): New. | |
16880 | * doc/invoke.texi: Document it. | |
16881 | * var-tracking.c: Include toplev.h and params.h. | |
16882 | (vt_find_locations): Return bool indicating success. Compute | |
16883 | hash sizes unconditionally. Check new parameter, report. | |
16884 | (variable_tracking_main_1): Check vt_find_locations results and | |
16885 | retry. Renamed from... | |
16886 | (variable_tracking_main): ... this. New wrapper to preserve | |
16887 | flag_var_tracking_assignments. | |
16888 | * Makefile.in (var-tracking.o): Adjust dependencies. | |
16889 | ||
657e7797 | 16890 | 2010-02-16 Jack Howarth <howarth@bromo.med.uc.edu> |
16891 | Jakub Jelinek <jakub@redhat.com> | |
df2068ee | 16892 | |
16893 | PR target/42854 | |
16894 | * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute | |
16895 | if weak_import attribute is present. | |
16896 | * config/darwin.c (machopic_select_section): Likewise. | |
16897 | ||
7c5f74ee | 16898 | 2010-02-15 Joern Rennecke <joern.rennecke@embecosm.com> |
16899 | ||
16900 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Document. | |
16901 | (TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE): Likewise. | |
16902 | (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Likewise. | |
16903 | (TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK): Likewise. | |
16904 | ||
77204665 | 16905 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Fix argument |
16906 | types. | |
7c5f74ee | 16907 | |
16908 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): | |
16909 | Fix argument types. | |
16910 | ||
16911 | * doc/tm.texi (TARGET_SCHED_DFA_NEW_CYCLE): Add argument names. | |
16912 | Rewrite text to refer to the names. | |
16913 | ||
46fd9685 | 16914 | 2010-02-15 Sebastian Pop <sebastian.pop@amd.com> |
16915 | ||
16916 | * config/i386/i386-builtin-types.def | |
16917 | (V2DF_FTYPE_V2DF_V2DF_V2DI_INT): Declared. | |
16918 | (V4DF_FTYPE_V4DF_V4DF_V4DI_INT): Declared. | |
16919 | (V4SF_FTYPE_V4SF_V4SF_V4SI_INT): Declared. | |
16920 | (V8SF_FTYPE_V8SF_V8SF_V8SI_INT): Declared. | |
16921 | * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_VPERMIL2PD, | |
16922 | IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256, and | |
16923 | IX86_BUILTIN_VPERMIL2PS256. | |
16924 | (MULTI_ARG_4_DF2_DI_I): Defined. | |
16925 | (MULTI_ARG_4_DF2_DI_I1): Defined. | |
16926 | (MULTI_ARG_4_SF2_SI_I): Defined. | |
16927 | (MULTI_ARG_4_SF2_SI_I1): Defined. | |
16928 | (bdesc_multi_arg): Add __builtin_ia32_vpermil2pd, | |
16929 | __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256, and | |
16930 | __builtin_ia32_vpermil2ps256. | |
16931 | (ix86_expand_multi_arg_builtin): Handle MULTI_ARG_4_DF2_DI_I, | |
16932 | MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and | |
16933 | MULTI_ARG_4_SF2_SI_I1. Handle builtins with 4 arguments. | |
16934 | (ix86_expand_args_builtin): Handle MULTI_ARG_4_DF2_DI_I, | |
16935 | MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and | |
16936 | MULTI_ARG_4_SF2_SI_I1. Handle CODE_FOR_xop_vpermil2v2df3, | |
16937 | CODE_FOR_xop_vpermil2v4sf3, CODE_FOR_xop_vpermil2v4df3, and | |
16938 | CODE_FOR_xop_vpermil2v8sf3. | |
16939 | * config/i386/i386.md (UNSPEC_VPERMIL2): Declared. | |
16940 | * config/i386/sse.md (xop_vpermil2<mode>3): New insn pattern. | |
16941 | * config/i386/xopintrin.h (_mm_permute2_pd): New. | |
16942 | (_mm256_permute2_pd): New. | |
16943 | (_mm_permute2_ps): New. | |
16944 | (_mm256_permute2_ps): New. | |
16945 | ||
5a23ee68 | 16946 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
16947 | ||
c356ea4c | 16948 | * config/h8300/h8300.c (h8300_push_pop): Use bool type for |
5a23ee68 | 16949 | boolean parameters. Use emit_jump_insn when emitting a pop |
16950 | instruction containing a return insn. | |
8072d92a | 16951 | (push): Use 'true' rather than '1' as second parameter to F. |
16952 | (h8300_expand_prologue): Likewise. | |
16953 | Use 'true' and 'false' for boolean parameters to h8300_push_pop. | |
16954 | (h8300_expand_epilogue): Likewise. | |
5a23ee68 | 16955 | |
55d6cb23 | 16956 | 2010-02-15 Richard Guenther <rguenther@suse.de> |
16957 | ||
16958 | PR middle-end/43068 | |
16959 | * cgraphunit.c (thunk_adjust): Skip adjusting by fixed_offset | |
16960 | if that is zero. | |
16961 | ||
90eb0bdc | 16962 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
16963 | ||
16964 | * config/mn10300/mn10300.h (FUNCTION_ARG_REGNO_P): Revert previous | |
16965 | delta. | |
16966 | ||
70da6ffe | 16967 | 2010-02-14 Marco Poletti <poletti.marco@gmail.com> |
16968 | ||
16969 | * intl.c (fake_ngettext): New function. | |
16970 | * intl.h (fake_ngettext): Declare. | |
16971 | (ngettext): Define macro. | |
16972 | * collect2.c (notice_translated): New function. | |
16973 | (main): Use notice_translated and ngettext. | |
16974 | * collect2.h (notice_translated): Declare. | |
16975 | ||
72c0c58f | 16976 | 2010-02-14 Steven Bosscher <steven@gcc.gnu.org> |
16977 | ||
16978 | * reorg.c (delete_computation): Comment fixes. | |
16979 | * caller-save.c (setup_save_areas): Idem. | |
16980 | * sel-sched-dump.c (dump_lv_set): Idem. | |
16981 | * rtl.def: Idem. | |
16982 | ||
494d0169 | 16983 | 2010-02-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16984 | ||
16985 | * config/s390/s390.c (s390_sched_init): New function. | |
16986 | (TARGET_SCHED_INIT): Target hook defined. | |
16987 | ||
93230de2 | 16988 | 2010-02-12 Dave Korn <dave.korn.cygwin@gmail.com> |
16989 | Jack Howarth <howarth@bromo.med.uc.edu> | |
657e7797 | 16990 | Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
93230de2 | 16991 | |
16992 | PR target/42982 | |
16993 | Partial revert of unintended change in fix for PR41605. | |
16994 | * config/darwin.h: Fix typo. | |
16995 | * config/darwin9.h: Same. | |
16996 | ||
b2c1582f | 16997 | 2010-02-11 Jakub Jelinek <jakub@redhat.com> |
16998 | ||
16999 | * c-pch.c (pch_init): Clear v. | |
17000 | ||
e93793b1 | 17001 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> |
17002 | ||
17003 | PR middle-end/42930 | |
17004 | * graphite-scop-detection.c (graphite_can_represent_scev): Call | |
17005 | graphite_can_represent_init for MULT_EXPR. | |
17006 | ||
17007 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> | |
17008 | ||
17009 | PR middle-end/42914 | |
17010 | PR middle-end/42530 | |
17011 | * graphite-sese-to-poly.c (remove_phi): New. | |
17012 | (translate_scalar_reduction_to_array): Call remove_phi. | |
17013 | ||
17014 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> | |
17015 | ||
17016 | PR middle-end/42771 | |
17017 | * graphite-clast-to-gimple.c (gloog): Call rename_sese_parameters. | |
17018 | * graphite-clast-to-gimple.h (gloog): Update declaration. | |
17019 | * graphite-poly.c (new_scop): Clear POLY_SCOP_P. | |
17020 | * graphite-poly.h (struct poly_bb): Add missing comments. | |
17021 | (struct scop): Add poly_scop_p field. | |
17022 | (POLY_SCOP_P): New. | |
17023 | * graphite-sese-to-poly.c (build_poly_scop): Set POLY_SCOP_P. | |
17024 | * graphite.c (graphite_transform_loops): Build the polyhedral | |
17025 | representation for each scop before code generation. | |
17026 | * sese.c (rename_variables_in_operand): Removed. | |
17027 | (rename_variables_in_expr): Return the renamed expression. | |
17028 | (rename_sese_parameters): New. | |
17029 | * sese.h (rename_sese_parameters): Declared. | |
17030 | ||
50b9db1a | 17031 | 2010-02-11 Richard Guenther <rguenther@suse.de> |
17032 | ||
17033 | PR tree-optimization/42998 | |
17034 | * tree-ssa-pre.c (create_expression_by_pieces): Treat | |
17035 | POINTER_PLUS_EXPR properly. | |
17036 | ||
168561ef | 17037 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> |
17038 | Changpeng Fang <changpeng.fang@amd.com> | |
17039 | ||
17040 | PR middle-end/40886 | |
17041 | * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Decrement | |
17042 | the cost of an IV candidate when the IV is used in a test against zero. | |
17043 | ||
17044 | * gcc.dg/tree-ssa/ivopts-3.c: New. | |
17045 | ||
67817f0f | 17046 | 2010-02-11 Richard Guenther <rguenther@suse.de> |
17047 | ||
17048 | PR lto/41664 | |
17049 | * tree-ssa-alias.c (refs_may_alias_p_1): Canonicalize | |
17050 | pointer-vs-decl case by swapping refs. Handle some cases | |
17051 | of pointer-vs-decl disambiguations more conservatively. | |
17052 | * cfgexpand.c (gimple_expand_cfg): Set gimple_df->in_ssa_p | |
17053 | to false after expanding. | |
17054 | ||
2bd888dc | 17055 | 2010-02-11 Richard Guenther <rguenther@suse.de> |
17056 | ||
17057 | PR driver/43021 | |
17058 | * gcc.c (process_command): Handle LTO file@offset case more | |
17059 | appropriately. | |
17060 | ||
80d92ba3 | 17061 | 2010-02-11 Jakub Jelinek <jakub@redhat.com> |
17062 | ||
39e30dc7 | 17063 | * reload1.c (eliminate_regs_1): If insn is DEBUG_INSN, avoid any |
17064 | modifications outside of the DEBUG_INSN. Accept CLOBBERs inside | |
17065 | of DEBUG_INSNs. | |
17066 | (eliminate_regs_in_insn): Eliminate regs even in DEBUG_INSNs. | |
17067 | ||
80d92ba3 | 17068 | * dwarf2out.c (mem_loc_descriptor) <case MEM>: Use DW_OP_deref_size |
17069 | if MEM's mode size isn't DWARF2_ADDR_SIZE. | |
17070 | (mem_loc_descriptor) <do_scompare>: Allow also VOIDmode arguments. | |
17071 | Optimize eq/ne comparisons when both arguments are known to be | |
17072 | zero-extended. | |
17073 | (mem_loc_descriptor) <do_ucompare>: Allow also VOIDmode arguments. | |
17074 | Don't mask operands unnecessarily if they are known to be already | |
17075 | zero-extended. | |
17076 | ||
4e51a669 | 17077 | 2010-02-10 Vladimir Makarov <vmakarov@redhat.com> |
17078 | ||
17079 | * ira-conflicts.c (add_insn_allocno_copies): Use find_reg_note | |
17080 | instead of loop. | |
17081 | ||
e1b11b05 | 17082 | 2010-02-10 Richard Guenther <rguenther@suse.de> |
17083 | ||
17084 | PR tree-optimization/43017 | |
17085 | * tree-vrp.c (vrp_int_const_binop): Trust int_const_binop | |
17086 | for wrapping signed arithmetic. | |
17087 | ||
8a78840b | 17088 | 2010-02-10 Jakub Jelinek <jakub@redhat.com> |
17089 | ||
17090 | PR debug/43010 | |
17091 | * dwarf2out.c (retry_incomplete_types): Don't call gen_type_die | |
17092 | if no debug info should be emitted for it. | |
17093 | ||
c299b39c | 17094 | 2010-02-10 Kaz Kojima <kkojima@gcc.gnu.org> |
17095 | ||
17096 | * config/sh/sh.c (find_barrier): Skip call insn with a REG_EH_REGION | |
17097 | note when flag_exceptions is set. | |
17098 | ||
8e923666 | 17099 | 2010-02-10 Duncan Sands <baldrick@free.fr> |
17100 | ||
17101 | * Makefile.in (PLUGIN_HEADERS): Add debug.h. | |
17102 | ||
4d307e1f | 17103 | 2010-02-10 Richard Guenther <rguenther@suse.de> |
17104 | ||
17105 | PR c/43007 | |
17106 | * tree.c (get_unwidened): Handle constants. | |
17107 | * convert.c (convert_to_integer): Handle TRUNC_DIV_EXPR. | |
17108 | ||
ccca436c | 17109 | 2010-02-10 Martin Jambor <mjambor@suse.cz> |
17110 | ||
17111 | PR lto/42985 | |
17112 | * ipa-prop.c (ipa_update_after_lto_read): Count parameters and | |
17113 | check for variable argument counts independently. | |
17114 | ||
160c147c | 17115 | 2010-02-10 Christian Bruel <christian.bruel@st.com> |
17116 | ||
17117 | PR target/42841 | |
17118 | * config/sh/sh.c (find_barrier): Increase length for non delayed | |
17119 | conditional branches. | |
080ee75e | 17120 | |
0bbf4d59 | 17121 | 2010-02-10 Christian Bruel <christian.bruel@st.com> |
17122 | ||
17123 | * config/sh/sh.c (find_barrier): Don't emit a CP inside the GP setting. | |
080ee75e | 17124 | |
5a80a58b | 17125 | 2010-02-10 Jakub Jelinek <jakub@redhat.com> |
17126 | ||
17127 | * builtins.c (set_builtin_user_assembler_name): Also handle | |
17128 | ffs if int is smaller than word. | |
17129 | ||
106453cc | 17130 | 2010-02-09 Vladimir Makarov <vmakarov@redhat.com> |
17131 | ||
17132 | PR middle-end/42973 | |
17133 | * ira-conflicts.c (get_dup): Remove. | |
17134 | (process_reg_shuffles): Add new parameter. Use it as an | |
17135 | additional guard for copy generation. | |
17136 | (add_insn_allocno_copies): Rewrite. | |
17137 | ||
fda153ea | 17138 | 2010-02-09 Alexander Monakov <amonakov@ispras.ru> |
17139 | ||
17140 | * common.opt (fsched2-use-traces): Preserved for backward | |
17141 | compatibility. | |
17142 | * doc/invoke.texi: Remove the documentation about option | |
17143 | -fsched2-use-traces. | |
17144 | * sched-rgn.c (rest_of_handle_sched2): Remove usage of | |
17145 | flag_sched2_use_traces. | |
17146 | * opts.c (common_handle_option): Add OPT_fsched2_use_traces to | |
17147 | the backward compatibility flag section. | |
17148 | ||
a4d2f616 | 17149 | 2010-02-09 Richard Guenther <rguenther@suse.de> |
17150 | ||
17151 | PR tree-optimization/43008 | |
17152 | * tree-ssa-structalias.c (handle_lhs_call): Pass in the fndecl, | |
17153 | make HEAP variables initialized from global memory if they | |
17154 | are not known builtin functions. | |
17155 | (find_func_aliases): Adjust. | |
17156 | ||
0da2010b | 17157 | 2010-02-09 Richard Guenther <rguenther@suse.de> |
17158 | ||
17159 | PR tree-optimization/43000 | |
17160 | * tree-vrp.c (vrp_int_const_binop): Only handle unsigned | |
17161 | arithmetic manually. | |
17162 | ||
2b63cc36 | 17163 | 2010-02-08 Jakub Jelinek <jakub@redhat.com> |
17164 | ||
17165 | PR tree-optimization/42931 | |
17166 | * tree-loop-linear.c (try_interchange_loops): Don't call | |
17167 | double_int_mul if estimated_loop_iterations failed. | |
17168 | ||
20dbc0a7 | 17169 | 2010-02-08 Martin Jambor <mjambor@suse.cz> |
17170 | ||
17171 | PR middle-end/42898 | |
17172 | * tree-sra.c (build_accesses_from_assign): Do not mark in | |
17173 | should_scalarize_away_bitmap if stmt has volatile ops. | |
17174 | (sra_modify_assign): Do not process assigns piecemeal if if stmt | |
17175 | has volatile ops. | |
17176 | ||
141a2500 | 17177 | 2010-02-08 Joern Rennecke <joern.rennecke@embecosm.com> |
17178 | ||
17179 | * doc/tm.texi (TARGET_UNWIND_WORD_MODE): Document. | |
17180 | ||
c3556ed8 | 17181 | 2010-02-07 Adam Nemet <adambnmet@gmail.com> |
17182 | ||
17183 | * config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment | |
17184 | before the pattern. | |
17185 | ||
744b32fe | 17186 | 2010-02-07 Andrew Pinski <pinskia@gmail.com> |
17187 | ||
17188 | PR middle-end/42946 | |
17189 | * df-core.c (df_finish_pass): Change type of saved_flags to int. | |
17190 | ||
09637510 | 17191 | 2010-02-07 Sebastian Pop <sebastian.pop@amd.com> |
17192 | ||
17193 | PR middle-end/42988 | |
17194 | * graphite-dependences.c (dependence_polyhedron): Set PDDR_KIND | |
17195 | to unknown_dependence. | |
17196 | (graphite_legal_transform_dr): Handle the unknown_dependence. | |
17197 | (graphite_carried_dependence_level_k): Same. | |
17198 | ||
17199 | 2010-02-07 Sebastian Pop <sebastian.pop@amd.com> | |
17200 | ||
17201 | * ChangeLog.graphite: Remove testsuite/ or gcc/testsuite/. | |
17202 | ||
b21392bb | 17203 | 2010-02-07 Richard Guenther <rguenther@suse.de> |
17204 | ||
17205 | PR middle-end/42991 | |
17206 | * expr.c (get_inner_reference): Always initialize *pbitsize. | |
17207 | ||
0d9f1189 | 17208 | 2010-02-07 Richard Guenther <rguenther@suse.de> |
17209 | ||
17210 | PR middle-end/42956 | |
17211 | * gimplify.c (gimple_fold_indirect_ref): Avoid generating | |
17212 | new ARRAY_REFs on variable size element or minimal index arrays. | |
17213 | Complete. | |
17214 | * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use | |
17215 | gimple_fold_indirect_ref. | |
17216 | ||
b649e510 | 17217 | 2010-02-06 Richard Earnshaw <rearnsha@arm.com> |
17218 | ||
17219 | PR target/42957 | |
17220 | * arm.c (arm_override_options): Just return if the user has specified | |
17221 | an invalid fpu name. | |
17222 | ||
9c7fad6d | 17223 | 2010-02-03 Jason Merrill <jason@redhat.com> |
17224 | ||
17225 | PR c++/42870 | |
17226 | * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call | |
17227 | i386_pe_maybe_record_exported_symbol. | |
17228 | ||
c731c4f5 | 17229 | 2010-02-05 Steve Ellcey <sje@cup.hp.com> |
17230 | ||
17231 | PR target/42924 | |
17232 | * config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine. | |
17233 | (pa_delegitimize_address): New function. | |
17234 | ||
69f4897c | 17235 | 2010-02-05 Ozkan Sezer <sezeroz@gmail.com> |
17236 | ||
17237 | * config/i386/msformat-c.c (ms_printf_length_specs): Set the | |
17238 | scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs. | |
17239 | ||
7c974441 | 17240 | 2010-02-05 Richard Guenther <rguenther@suse.de> |
17241 | ||
17242 | PR lto/42762 | |
17243 | * lto-streamer-in.c (get_resolution): Deal with references | |
17244 | to undefined functions. | |
17245 | ||
6872bf3c | 17246 | 2010-02-05 Richard Guenther <rguenther@suse.de> |
17247 | ||
8072d92a | 17248 | * tree-ssa-ccp.c (get_symbol_constant_value): Strip all conversions. |
6872bf3c | 17249 | (fold_const_aggregate_ref): Likewise. |
17250 | (ccp_fold_stmt): Substitute loads. | |
17251 | (maybe_fold_reference): Verify types before substituting. | |
17252 | Unshare properly. | |
17253 | (fold_gimple_assign): Unshare properly. | |
8072d92a | 17254 | (fold_stmt_1): Insert conversion if necessary before replacing the RHS. |
6872bf3c | 17255 | |
1697bcd2 | 17256 | 2010-02-05 Nathan Froyd <froydnj@codesourcery.com> |
17257 | ||
17258 | * config/rs6000/rs6000.c (rs6000_override_options): Invert check | |
17259 | for rs6000_gen_cell_microcode. | |
17260 | ||
76e2bdc6 | 17261 | 2010-02-04 Richard Guenther <rguenther@suse.de> |
17262 | ||
17263 | PR rtl-optimization/42952 | |
17264 | * dse.c (const_or_frame_p): Remove MEM handling. | |
17265 | ||
e5924da4 | 17266 | 2010-02-04 Nick Clifton <nickc@redhat.com> |
17267 | ||
17268 | * config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. | |
17269 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define. | |
17270 | (function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM. | |
17271 | (mn10300_asm_output_mi_thunk): New function. | |
17272 | (mn10300_can_output_mu_thunk): New function. | |
17273 | * config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define. | |
17274 | (FUNCTION_ARG_REGNO_P): Fix comment. Accept d0 and d1. | |
17275 | (FUNCTION_ARG): Delete incorrect comment. | |
17276 | ||
767a8a1c | 17277 | 2010-02-03 Jason Merrill <jason@redhat.com> |
17278 | ||
17279 | PR c++/40138 | |
17280 | * fold-const.c (operand_equal_p): Handle erroneous types. | |
17281 | ||
dfa584f5 | 17282 | 2010-02-03 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
1b4b4eee | 17283 | |
17284 | * config/h8300/h8300.md (can_delay): Fix attibute condition. | |
17285 | ||
1e622bfc | 17286 | 2010-02-03 Vladimir Makarov <vmakarov@redhat.com> |
17287 | ||
dfa584f5 | 17288 | PR rtl-optimization/42941 |
1e622bfc | 17289 | * sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead |
17290 | of xmalloc. | |
17291 | ||
da136652 | 17292 | 2010-02-03 Jason Merrill <jason@redhat.com> |
17293 | ||
17294 | PR c++/35652 | |
17295 | * builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics. | |
17296 | ||
01df1184 | 17297 | 2010-02-03 Alexandre Oliva <aoliva@redhat.com> |
17298 | ||
17299 | PR debug/42896 | |
89b3c92a | 17300 | * cselib.h (struct cselib_val_struct): Add uid. Rename value to hash. |
01df1184 | 17301 | (cselib_reset_table): Renamed from... |
17302 | (cselib_reset_table_with_next_value): ... this. | |
17303 | (cselib_get_next_uid): Renamed from... | |
17304 | (cselib_get_next_unknown_value): ... this. | |
17305 | * cselib.c (next_uid): Renamed from... | |
17306 | (next_unknown_value): ... this. | |
17307 | (cselib_clear_table): Adjust. | |
17308 | (cselib_reset_table): Adjust. Renamed from... | |
17309 | (cselib_reset_table_with_next_value): ... this. | |
17310 | (cselib_get_next_uid): Adjust. Renamed from... | |
17311 | (cselib_get_next_unknown_value): ... this. | |
17312 | (get_value_hash): Use hash. | |
17313 | (cselib_hash_rtx): Likewise. | |
17314 | (new_cselib_val): Adjust. Set and dump uid. | |
17315 | (cselib_lookup_mem): Pass next_uid as hash. | |
17316 | (cselib_subst_to_values): Likewise. | |
17317 | (cselib_log_lookup): Dump uid. | |
17318 | (cselib_lookup): Pass next_uid as hash. Adjust. | |
17319 | (cselib_process_insn): Adjust. | |
17320 | (cselib_init): Initialize next_uid. | |
17321 | (cselib_finish): Adjust. | |
17322 | (dump_cselib_table): Likewise. | |
17323 | * dse.c (canon_address): Dump value uid. | |
17324 | * print-rtl.c (print_rtx): Print value uid. | |
17325 | * var-tracking.c (VARIABLE_HASH_VAL): Dropped. | |
17326 | (dvuid): New type. | |
17327 | (dv_uid): New function, sort of renamed from... | |
17328 | (dv_htab_hash): ... this, reimplemented in terms of it and... | |
17329 | (dv_uid2hash): ... this. New. | |
17330 | (variable_htab_eq): Drop excess assertions. | |
17331 | (tie_break_pointers): Removed. | |
17332 | (canon_value_cmp): Compare uids. | |
17333 | (variable_post_merge_New_vals): Print uids. | |
17334 | (vt_add_function_parameters): Adjust. | |
17335 | (vt_initialize): Reset table. Adjust. | |
17336 | ||
4ef43bbd | 17337 | 2010-02-03 Richard Guenther <rguenther@suse.de> |
17338 | ||
17339 | PR tree-optimization/42944 | |
8072d92a | 17340 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle calloc. |
4ef43bbd | 17341 | (call_may_clobber_ref_p_1): Likewise. Properly handle |
17342 | malloc and calloc clobbering errno. | |
17343 | ||
05476866 | 17344 | 2010-02-03 Steven Bosscher <steven@gcc.gnu.org> |
17345 | ||
17346 | * doc/invoke.texi: Fix name of sched1 dump. | |
17347 | ||
17348 | * opts.c (decode_options): Set flag_tree_switch_conversion | |
17349 | only conditionally on optimize >= 2. | |
17350 | ||
17351 | * gcse.c: Assorted comment fixes in pass description. | |
17352 | ||
5cf6bd40 | 17353 | 2010-02-03 Anthony Green <green@moxielogic.com> |
17354 | ||
17355 | * config/moxie/moxie.c (moxie_asm_trampoline_template): Introduce | |
17356 | nop padding in order to maintain alignment of storage location of | |
17357 | target function address. | |
17358 | (moxie_trampoline_init): Store target function address at newly | |
17359 | aligned location. | |
17360 | * config/moxie/moxie.h (TRAMPOLINE_ALIGNMENT): Increase alignment | |
17361 | to 32. | |
17362 | (TRAMPOLINE_SIZE): Increase size by 2 bytes for alignment padding. | |
17363 | ||
9e1eb6c1 | 17364 | 2010-02-03 Richard Guenther <rguenther@suse.de> |
17365 | ||
17366 | PR middle-end/42927 | |
17367 | * tree-cfg.c (verify_gimple_assign_binary): Fix shift verification. | |
17368 | ||
b138ccdd | 17369 | 2010-02-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17370 | ||
17371 | * config.gcc: Reenable check for obsolete targets. | |
17372 | Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*, | |
17373 | mips-sgi-irix6.[0-4]*. | |
17374 | ||
09bb92cc | 17375 | 2010-02-02 Nick Clifton <nickc@redhat.com> |
17376 | ||
17377 | * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum | |
17378 | constant size of 4 as being the same as 0. | |
17379 | * doc/invoke.texi (RX Options): Document that -mmax-constant-size | |
17380 | can take values in the range 0..4. | |
17381 | ||
d00113a8 | 17382 | 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu> |
17383 | ||
17384 | PR java/41991 | |
17385 | * unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction() | |
17386 | as _darwin10_Unwind_FindEnclosingFunction(). | |
17387 | * libgcc-libsystem.ver: New. | |
17388 | ||
9dab02d9 | 17389 | 2010-02-01 Vladimir Makarov <vmakarov@redhat.com> |
17390 | ||
17391 | PR target/41399 | |
17392 | * sched-deps.c (sched_analyze_insn): Ignore fixed registers for | |
17393 | implicitly set registers. | |
17394 | ||
b3cd5f55 | 17395 | 2010-02-01 Richard Earnshaw <rearnsha@arm.com> |
17396 | ||
17397 | * arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K. | |
17398 | (arm_override_options): Allow automatic selection of the thread | |
17399 | pointer register if thumb2. | |
17400 | (legitimize_pic_address): Improve code sequences for Thumb2. | |
17401 | (arm_call_tls_get_addr): Likewise. | |
17402 | (legitimize_tls_address): Likewise. | |
17403 | * arm.md (pic_load_addr_arm): Delete. Replace with ... | |
17404 | (pic_load_addr_32bit): ... this. New named pattern. | |
17405 | * thumb2.md (pic_load_addr_thumb2): Delete. | |
17406 | (pic_load_dot_plus_four): Delete. | |
17407 | (tls_load_dot_plus_four): New named pattern. | |
17408 | ||
e707a9ba | 17409 | 2010-02-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17410 | ||
17411 | PR libgomp/29986 | |
17412 | * doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry. | |
17413 | Document fix for TLS bug. | |
17414 | ||
b744201e | 17415 | 2010-01-31 Richard Guenther <rguenther@suse.de> |
17416 | ||
17417 | * tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be | |
17418 | conservatively correct. | |
17419 | ||
a24fb5c4 | 17420 | 2010-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17421 | ||
17422 | PR target/42850 | |
17423 | Revert: | |
17424 | 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
17425 | ||
17426 | * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two. | |
17427 | ||
17b6993a | 17428 | 2010-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
17429 | ||
17430 | * doc/install.texi: Update recommended GMP/MPFR/MPC versions. | |
17431 | ||
0767c2a8 | 17432 | 2010-01-31 Kai Tietz <kai.tietz@onevision.com> |
17433 | ||
17434 | * config.gcc: Adjust order of makefile fragments for mingw targets. | |
17435 | ||
ff5d4405 | 17436 | 2010-01-31 Richard Guenther <rguenther@suse.de> |
17437 | ||
17438 | PR middle-end/42898 | |
17439 | * gimplify.c (gimplify_init_constructor): For volatile LHS | |
17440 | initialize a temporary. | |
17441 | ||
8b94bf70 | 17442 | 2010-01-31 Matthias Klose <doko@ubuntu.com> |
17443 | ||
17444 | * configure.ac: Fix __stack_chk_fail check for cross builds configured | |
17445 | --with-headers | |
17446 | * configure: Regenerate. | |
17447 | ||
4b4d1513 | 17448 | 2010-01-29 Eric Botcazou <ebotcazou@adacore.com> |
17449 | ||
17450 | * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have | |
17451 | the same alias set and their sizes different constantness. | |
17452 | (aliasing_component_refs_p): Revert 2009-10-24 change. | |
17453 | ||
e882a286 | 17454 | 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17455 | ||
17456 | * config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl | |
17457 | unused. | |
17458 | ||
338cce8f | 17459 | 2010-01-29 Richard Guenther <rguenther@suse.de> |
17460 | ||
17461 | * tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute. | |
17462 | Assert we successfully updated the call. | |
17463 | ||
86fc6921 | 17464 | 2010-01-29 Jakub Jelinek <jakub@redhat.com> |
17465 | ||
17466 | PR rtl-optimization/42889 | |
17467 | * df.h (df_set_bb_dirty_nonlr): New prototype. | |
17468 | * df-core.c (df_set_bb_dirty_nonlr): New function. | |
17469 | * df-scan.c (df_insn_rescan): Call it instead of | |
17470 | df_set_bb_dirty for DEBUG_INSNs. | |
17471 | ||
00efe249 | 17472 | 2010-01-29 Richard Guenther <rguenther@suse.de> |
17473 | ||
17474 | PR middle-end/37448 | |
17475 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Avoid | |
17476 | quadratic behavior in most cases. | |
17477 | ||
f9319fa7 | 17478 | 2010-01-28 Uros Bizjak <ubizjak@gmail.com> |
17479 | ||
17480 | PR target/42891 | |
17481 | * config/i386/i386.c (ix86_expand_int_movcc): Convert tmp to SImode | |
17482 | in the call to gen_x86_movsicc_0_m1. | |
17483 | ||
8341e6d9 | 17484 | 2010-01-28 Richard Guenther <rguenther@suse.de> |
17485 | ||
17486 | PR tree-optimization/42871 | |
080ee75e | 17487 | * tree-ssa-pre.c (phi_translate_set): Make sure to retain leaders. |
8341e6d9 | 17488 | |
94144e68 | 17489 | 2010-01-28 Richard Guenther <rguenther@suse.de> |
17490 | ||
17491 | * tree-ssa-ccp.c (ccp_fold_stmt): Fold calls and propagate | |
17492 | into call arguments. | |
17493 | ||
11d28f28 | 17494 | 2010-01-28 Richard Guenther <rguenther@suse.de> |
17495 | ||
17496 | PR middle-end/42883 | |
17497 | * tree-cfgcleanup.c (remove_forwarder_block): Do not remove | |
17498 | the forwarder if the destination is an EH landing pad. | |
17499 | ||
17500 | 2010-01-28 Razya Ladelsky <razya@il.ibm.com> | |
fbbe5b51 | 17501 | |
f9319fa7 | 17502 | * tree-parloops.c (transform_to_exit_first_loop): Update the basic |
fbbe5b51 | 17503 | block list passed to gimple_duplicate_sese_tail. |
17504 | (parallelize_loops): Avoid parallelization when the function | |
17505 | has_nonlocal_label. | |
17506 | Avoid parallelization when the preheader is IRREDUCIBLE. | |
17507 | Try to optimize when estimated_loop_iterations_int is unresolved. | |
17508 | Add the loop's location to the dump file. | |
11d28f28 | 17509 | * tree-cfg.c (add_phi_args_after_redirect): Remove. |
fbbe5b51 | 17510 | (gimple_duplicate_sese_tail): Remove the check for the latch. |
17511 | Redirect nexits to the exit block. | |
17512 | Remove handling of the incoming edges to the latch. | |
17513 | Redirect the backedge from the copied latch to the exit bb. | |
17514 | ||
080980d0 | 17515 | 2010-01-28 Michael Matz <matz@suse.de> |
17516 | ||
17517 | PR target/42881 | |
17518 | * config/i386/i386.c (ix86_expand_vector_init_duplicate): | |
17519 | Wrap force_reg into a sequence, emit it before user. | |
17520 | ||
ff82f757 | 17521 | 2010-01-28 Stephen Thomas <stephen.thomas@arm.com> |
17522 | ||
17523 | * config/arm/arm.md (bswapsi2): Add support for bswapsi2. | |
17524 | (arm_rev): New. | |
17525 | (arm_legacy_rev): Likewise. | |
17526 | (thumb_legacy_rev): Likewise. | |
17527 | ||
8331aacd | 17528 | 2010-01-27 Jakub Jelinek <jakub@redhat.com> |
17529 | ||
17530 | * dwarf2out.c (mem_loc_descriptor): Remove special casing of | |
17531 | CONSTANT_POOL_ADDRESS_P SYMBOL_REFs. If for MEM recursive call | |
17532 | on MEM's address failed, try avoid_constant_pool_reference and | |
17533 | recurse if it returned something different. | |
17534 | (loc_descriptor): If for MEM mem_loc_descriptor failed on the | |
17535 | address, try avoid_constant_pool_reference and recurse if it | |
17536 | returned something different. | |
17537 | (dw_loc_list_1): If for MEM mem_loc_descriptor failed on the | |
17538 | address and avoid_constant_pool_reference returned something | |
17539 | different, don't set have_address. | |
17540 | ||
bf262632 | 17541 | 2010-01-27 Alexandre Oliva <aoliva@redhat.com> |
17542 | ||
17543 | PR debug/42861 | |
17544 | * var-tracking.c (val_store): Add modified argument, obey it. | |
17545 | Adjust callers. | |
17546 | (count_uses): Move down logging of main. | |
17547 | (compute_bb_dataflow): Use val_store for MO_VAL_USEs that | |
17548 | don't need resolution. | |
17549 | (emit_notes_in_bb): Likewise. | |
17550 | ||
7547883d | 17551 | 2010-01-27 Richard Guenther <rguenther@suse.de> |
17552 | ||
17553 | PR middle-end/42878 | |
17554 | * tree-inline.c (remap_decl): Delay remapping of SSA name | |
17555 | default definitions until we need them. | |
17556 | ||
efcca74a | 17557 | 2010-01-27 Jakub Jelinek <jakub@redhat.com> |
17558 | ||
5711f254 | 17559 | * config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine. |
17560 | (rs6000_delegitimize_address): New function. | |
17561 | ||
3b6b647c | 17562 | * config/s390/s390.c (s390_delegitimize_address): Call |
17563 | delegitimize_mem_from_attrs. | |
17564 | ||
efcca74a | 17565 | PR middle-end/42874 |
17566 | * tree-inline.c (cannot_copy_type_1): Removed. | |
17567 | (copy_forbidden): Don't forbid copying of functions containing | |
17568 | records/unions with variable length fields. | |
17569 | ||
8b8c291d | 17570 | 2010-01-27 Christian Bruel <christian.bruel@st.com> |
17571 | ||
17572 | Revert: | |
17573 | PR target/42841 | |
17574 | * config/sh/sh.c (find_barrier): Increase length for non delayed | |
17575 | conditional branches. | |
f9319fa7 | 17576 | |
14940535 | 17577 | 2010-01-27 Matthias Klose <doko@ubuntu.com> |
17578 | ||
17579 | * configure.ac (gnu-unique-object): Fix ldd version check. | |
17580 | * configure: Regenerate. | |
17581 | ||
b17559bc | 17582 | 2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17583 | ||
17584 | * config/sparc/sparc.c (sparc_elf_asm_named_section): Test for | |
17585 | HAVE_GNU_AS value. | |
17586 | * config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION): | |
17587 | Test for HAVE_GNU_AS value. | |
17588 | ||
e2fb821c | 17589 | 2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17590 | ||
17591 | * config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. | |
17592 | * config/mips/iris.h (INT8_TYPE, INT16_TYPE, INT32_TYPE, | |
17593 | INT64_TYPE): Define. | |
17594 | (UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE): Define. | |
17595 | (INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE, | |
17596 | INT_LEAST64_TYPE): Define. | |
17597 | (UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, UINT_LEAST32_TYPE, | |
17598 | UINT_LEAST64_TYPE): Define. | |
17599 | (INT_FAST8_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE) | |
17600 | INT_FAST64_TYPE): Define. | |
17601 | (UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE, | |
17602 | UINT_FAST64_TYPE): Define. | |
17603 | (INTMAX_TYPE, UINTMAX_TYPE): Define. | |
17604 | (INTPTR_TYPE, UINTPTR_TYPE): Define. | |
17605 | (SIG_ATOMIC_TYPE): Define. | |
17606 | ||
76d2e170 | 17607 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
17608 | ||
17609 | * df-scan.c (df_scan_set_bb_info): Remove assert. | |
17610 | (df_insn_rescan_debug_internal): Merge asserts. | |
17611 | (df_install_ref): Likewise. | |
17612 | (df_mark_reg): Use bitmap_set_range. | |
17613 | (df_hard_reg_used_p): Remove assert. | |
17614 | (df_hard_reg_used_count): Likewise. | |
17615 | ||
41ceca3d | 17616 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
17617 | ||
17618 | PR rtl-optimization/42685 | |
17619 | * web.c (web_main): Ignore DEBUG_INSNs. | |
17620 | ||
78d39c62 | 17621 | 2010-01-26 Joern Rennecke <amylaar@spamcop.net> |
17622 | ||
17623 | * doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments. | |
17624 | ||
17625 | (TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter. | |
17626 | Fix types of fndecl and arglist parameters. | |
17627 | ||
0b76e49c | 17628 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
17629 | ||
17630 | PR middle-end/42806 | |
17631 | * tree-eh.c (unsplit_eh): Skip debug insns. | |
17632 | ||
997f78fd | 17633 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
17634 | ||
17635 | PR tree-optimization/42250 | |
17636 | * ipa-type-escape.c (type_escape_execute): Do not analyze clones. | |
17637 | ||
295e9e85 | 17638 | 2010-01-26 Jakub Jelinek <jakub@redhat.com> |
17639 | ||
17640 | PR fortran/42866 | |
17641 | * omp-low.c (expand_omp_sections): Only use single_pred if | |
17642 | l2_bb is single_pred_p. | |
17643 | ||
db46fcd4 | 17644 | 2010-01-25 Christian Bruel <christian.bruel@st.com> |
17645 | ||
17646 | PR target/42841 | |
17647 | * config/sh/sh.c (find_barrier): Increase length for non delayed | |
17648 | conditional branches. | |
17649 | (sh_insn_length_adjustment): Use JUMP_TABLE_DATA_P. | |
17650 | ||
fcc74387 | 17651 | 2010-01-24 David S. Miller <davem@davemloft.net> |
17652 | ||
b17559bc | 17653 | * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only |
fcc74387 | 17654 | define if not using GAS. |
b17559bc | 17655 | * config/sparc/sparc.c (sparc_elf_asm_named_section): |
fcc74387 | 17656 | Likewise. Delete SECTION_MERGE code, which is only applicable |
17657 | when using GAS. | |
17658 | ||
70caa883 | 17659 | 2010-01-24 Mark Mitchell <mark@codesourcery.com> |
17660 | ||
17661 | PR c++/42748 | |
17662 | * config/arm/arm.c (arm_mangle_type): Do not warn about changes to | |
17663 | mangling of va_list in system headers. | |
17664 | ||
c84b1d32 | 17665 | 2010-01-23 Toon Moene <toon@moene.org> |
17666 | ||
17667 | * tree-predcom.c (combine_chains): Return NULL, not false. | |
17668 | ||
eeb74f9f | 17669 | 2010-01-23 Joern Rennecke <amylaar@spamcop.net> |
17670 | ||
17671 | * tree-loop-distribution.c (distribute_loop): Fix declaration and | |
17672 | initialization of variable res to agree with return type. | |
17673 | ||
ab5fa7d3 | 17674 | 2010-01-22 Steve Ellcey <sje@cup.hp.com> |
17675 | ||
17676 | * Makefile.in (tree-sra.o): Add $(EXPR_H) dependency. | |
17677 | * tree-sra.c: Add include of expr.h. | |
17678 | ||
8d7f27c3 | 17679 | 2010-01-22 Jakub Jelinek <jakub@redhat.com> |
17680 | ||
17681 | * tree-into-ssa.c (maybe_register_def): If stmt ends the bb, | |
17682 | insert the debug stmt on the single non-EH edge from the stmt. | |
17683 | ||
fd9864aa | 17684 | 2010-01-22 Richard Henderson <rth@redhat.com> |
17685 | ||
17686 | PR tree-opt/42833 | |
17687 | * tree-sra.c (sra_modify_assign): Delay re-gimplification of | |
17688 | the RHS until after generate_subtree_copies has insertted its | |
17689 | code before the current statement. | |
17690 | ||
2171e626 | 17691 | 2010-01-22 Joern Rennecke <amylaar@spamcop.net> |
17692 | ||
17693 | * doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type. | |
17694 | ||
c77752e7 | 17695 | * gcc-plugin.h (plugin_init): Use "C" likage for c++. |
17696 | ||
27490d00 | 17697 | 2010-01-21 Martin Jambor <mjambor@suse.cz> |
17698 | ||
17699 | PR tree-optimization/42585 | |
17700 | * tree-sra.c (struct access): New field grp_total_scalarization. | |
17701 | (dump_access): Dump the new field. | |
17702 | (should_scalarize_away_bitmap): New variable. | |
17703 | (cannot_scalarize_away_bitmap): Likewise. | |
17704 | (sra_initialize): Allocate new bitmaps. | |
17705 | (sra_deinitialize): Free new bitmaps. | |
17706 | (create_access_1): New function. | |
17707 | (create_access): Parts moved to create_access_1. | |
17708 | (type_consists_of_records_p): New function. | |
17709 | (completely_scalarize_record): Likewise. | |
17710 | (build_access_from_expr): Set bit in cannot_scalarize_away_bitmap. | |
17711 | (build_accesses_from_assign): Set bits in should_scalarize_away_bitmap. | |
17712 | (sort_and_splice_var_accesses): Hint groups with a total_scalarization | |
17713 | access. | |
17714 | (analyze_all_variable_accesses): Completely scalarize small eligible | |
17715 | records. | |
17716 | ||
00bba8d6 | 17717 | 2010-01-21 Martin Jambor <mjambor@suse.cz> |
17718 | ||
17719 | * tree-sra.c (build_ref_for_offset_1): Allow for zero size fields. | |
17720 | ||
15b28e16 | 17721 | 2010-01-21 Andrew Haley <aph@redhat.com> |
17722 | ||
f9319fa7 | 17723 | * gcc.c (process_command): Move lang_specific_driver before |
17724 | setting cc_libexec_prefix. | |
15b28e16 | 17725 | |
53293165 | 17726 | 2010-01-21 Richard Guenther <rguenther@suse.de> |
17727 | ||
17728 | PR middle-end/19988 | |
17729 | * fold-const.c (negate_expr_p): Pretend only negative | |
17730 | real constants are easily negatable. | |
17731 | ||
8df5a43d | 17732 | 2010-01-20 Janis Johnson <janis187@us.ibm.com> |
17733 | Jason Merrill <jason@redhat.com> | |
17734 | ||
17735 | * tree.h (TYPE_TRANSPARENT_UNION): Replace with ... | |
17736 | (TYPE_TRANSPARENT_AGGR): this, for union and record. | |
17737 | * calls.c (initialize argument_information): Handle it. | |
17738 | * c-common.c (handle_transparent_union_attribute): Use new name. | |
17739 | * c-decl.c (finish_struct): Ditto. | |
17740 | * c-typeck.c (type_lists_compatible_p): Ditto. | |
17741 | (convert_for_assignment): Use new name and also handle record. | |
17742 | * function.c (aggregate_value_p): Handle it. | |
17743 | (pass_by_reference): Ditto. | |
17744 | (assign_parm_data_types): Ditto. | |
17745 | * print-tree.c (print_node): Ditto. | |
17746 | * lto-streamer-in.c (unpack_ts_type_value_fields): Ditto. | |
17747 | * lto-streamer-out.c (pack_ts_type_value_fields): Ditto. | |
17748 | * tree.c (first_field): New fn. | |
17749 | ||
7b2c73ad | 17750 | 2010-01-21 Dave Korn <dave.korn.cygwin@gmail.com> |
17751 | ||
17752 | PR target/42818 | |
17753 | * config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers, | |
17754 | even when linking statically, for now. | |
17755 | ||
3af97df7 | 17756 | 2010-01-20 Alexandre Oliva <aoliva@redhat.com> |
17757 | ||
17758 | PR debug/42715 | |
17759 | * var-tracking.c (use_type): Choose MO_VAL_SET for REGs set | |
17760 | without a cselib val. | |
17761 | (count_uses): Accept MO_VAL_SET with no val on stores. | |
17762 | (add_stores): Likewise. | |
17763 | ||
65683f79 | 17764 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
17765 | ||
17766 | * var-tracking.c (check_value_val): Add a compile time assertion. | |
17767 | (dv_is_decl_p): Simplify. | |
17768 | (dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use | |
17769 | gcc_assert if ENABLE_CHECKING. | |
17770 | ||
0358713f | 17771 | 2010-01-20 Alexandre Oliva <aoliva@redhat.com> |
17772 | ||
17773 | PR debug/42782 | |
17774 | * var-tracking.c: Include tree-flow.h. | |
17775 | (mem_dies_at_call): New. | |
17776 | (dataflow_set_preserve_mem_locs): Use it. | |
17777 | (dataflow_set_remove_mem_locs): Likewise. | |
17778 | (dump_var): Renamed from dump_variable. Adjust all callers. | |
17779 | (dump_var_slot): Renamed from dump_variable_slot. Likewise. | |
17780 | * Makefile.in (var-tracking.o): Adjust deps. | |
17781 | ||
20beac72 | 17782 | 2010-01-20 Joern Rennecke <amylaar@spamcop.net> |
17783 | ||
17784 | * doc/tm.texi (TARGET_SCHED_SET_SCHED_FLAGS): Fix argument list. | |
17785 | ||
0672b268 | 17786 | 2010-01-20 Richard Guenther <rguenther@suse.de> |
17787 | ||
17788 | PR tree-optimization/42717 | |
17789 | * tree-ssa-dce.c (get_live_post_dom): Remove. | |
17790 | (forward_edge_to_pdom): Take an arbitrary edge to copy | |
17791 | degenerate PHI args from. | |
17792 | (remove_dead_stmt): Use the first post-dominator even if it | |
17793 | does not contain live statements as redirection destination. | |
17794 | ||
e6a18807 | 17795 | 2010-01-20 Richard Guenther <rguenther@suse.de> |
17796 | ||
17797 | * tree-inline.c (estimate_num_insns): Handle EH builtins. | |
17798 | ||
57ab8ec3 | 17799 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
17800 | ||
17801 | * sel-sched.c (create_speculation_check): Remove set but not used | |
17802 | variable twin. | |
17803 | (try_transformation_cache): Remove set but not used variable ds. | |
17804 | (calculate_privileged_insns): Remove set but not used variables | |
17805 | cur_insn and min_spec_insn. | |
17806 | (find_best_expr): Remove set but not used variable avail_n. | |
17807 | * tree-predcom.c (base_names_in_chain_on): Remove set but not used | |
17808 | variable e. | |
17809 | * cgraphunit.c (assemble_thunk): Remove set but not used variable | |
17810 | false_label. | |
17811 | * haifa-sched.c (remove_notes): Remove set but not used variable prev. | |
17812 | * graphite-clast-to-gimple.c (gloog): Remove set but not used variable | |
17813 | new_scop_exit_edge. | |
17814 | ||
2144cc85 | 17815 | 2010-01-20 Felyza Wishbringer <fwishbringer@gmail.com> |
17816 | ||
17817 | PR bootstrap/42786 | |
17818 | * config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx | |
17819 | cpu types. Add support for *-sse3 cpu types. | |
17820 | (x86_64-*-*): Ditto. | |
17821 | ||
13ceb2c0 | 17822 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
17823 | ||
17824 | PR middle-end/42803 | |
17825 | * varasm.c (narrowing_initializer_constant_valid_p): Add CACHE | |
17826 | argument, call initializer_constant_valid_p_1 instead of | |
17827 | initializer_constant_valid_p, pass CACHE to it, return NULL | |
17828 | immediately if first call returns NULL. | |
17829 | (initializer_constant_valid_p_1): New function. | |
17830 | (initializer_constant_valid_p): Use it. | |
17831 | ||
7f634222 | 17832 | 2010-01-20 Thomas Quinot <quinot@adacore.com> |
17833 | ||
17834 | * tree.def (PLACEHOLDER_EXPR): Fix comment. | |
17835 | ||
ab84c349 | 17836 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
17837 | ||
17838 | * dwarf2out.c (mem_loc_descriptor): Use DW_OP_mod for UMOD instead | |
17839 | of MOD, handle MOD using DW_OP_{over,over,div,mul,minus}. | |
17840 | (loc_list_from_tree): Don't handle unsigned division. Handle | |
17841 | signed modulo using DW_OP_{over,over,div,mul,minus}. | |
17842 | * unwind-dw2.c (execute_stack_op): Handle DW_OP_mod using unsigned | |
17843 | modulo instead of signed. | |
17844 | ||
5da0dad2 | 17845 | 2010-01-20 DJ Delorie <dj@redhat.com> |
17846 | ||
17847 | * config/h8300/h8300.c (F): Add "in_epilogue" flag. | |
17848 | (Fpa): Pass it | |
17849 | (h8300_emit_stack_adjustment): Propogate it. | |
17850 | (push): Pass it. | |
17851 | (h8300_expand_prologue): Likewise. | |
17852 | (h8300_expand_epilogue): Likewise. | |
17853 | ||
be2e5c02 | 17854 | 2010-01-19 Michael Matz <matz@suse.de> |
17855 | ||
17856 | PR tree-optimization/41783 | |
17857 | * tree-data-ref.c (toplevel): Include flags.h. | |
17858 | (dump_data_dependence_relation): Also dump the inputs if the | |
17859 | result will be unknown. | |
17860 | (split_constant_offset_1): Look through some conversions. | |
17861 | * tree-predcom.c (determine_roots_comp): Restart a new chain if | |
17862 | the offset from last element is too large. | |
17863 | (ref_at_iteration): Deal also with MISALIGNED_INDIRECT_REF. | |
17864 | (reassociate_to_the_same_stmt): Handle vector registers. | |
17865 | * tree-vect-data-refs.c (vect_equal_offsets): Handle unary operations | |
17866 | (e.g. conversions). | |
b17559bc | 17867 | * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add |
be2e5c02 | 17868 | wide_prolog_niters argument, emit widening instructions. |
17869 | (vect_do_peeling_for_alignment): Adjust caller, use widened | |
17870 | variant of the iteration cound. | |
17871 | * Makefile.in (tree-data-ref.o): Add $(FLAGS_H). | |
17872 | ||
a7d2b4f1 | 17873 | 2010-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
17874 | ||
be2e5c02 | 17875 | PR target/38697 |
17876 | * config/arm/neon-testgen.m (emit_automatics): New parameter | |
a7d2b4f1 | 17877 | features. Adjust for Fixed_return_reg feature. |
17878 | (test_intrinsic): Call emit_automatics with new feature. | |
be2e5c02 | 17879 | * config/arm/neon.ml: Update copyright years. |
a7d2b4f1 | 17880 | (features): New Fixed_return_reg feature. |
17881 | (ops): Update feature for Vget_low. | |
17882 | ||
c4b594c1 | 17883 | 2010-01-19 Jakub Jelinek <jakub@redhat.com> |
17884 | ||
270a54d2 | 17885 | PR tree-optimization/42719 |
17886 | * tree-outof-ssa.c (trivially_conflicts_p): Don't consider debug | |
17887 | stmt uses. | |
17888 | ||
c4b594c1 | 17889 | PR debug/42728 |
17890 | * fwprop.c (all_uses_available_at): Return false if def_set dest | |
17891 | is a REG that is used in def_insn. | |
17892 | ||
35c16056 | 17893 | 2010-01-19 Joern Rennecke <amylaar@spamcop.net> |
17894 | ||
17895 | * doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names. | |
17896 | ||
17897 | (TARGET_CC_MODES_COMPATIBLE): Put return value in braces. | |
17898 | Add argument names. | |
17899 | ||
17900 | (TARGET_SCHED_INIT_SCHED_CONTEXT): Clarify language. | |
17901 | ||
657ad95d | 17902 | * target.h (struct gcc_target) <secondary_reload>: Change type |
17903 | of last argument to secondary_reload_info *. | |
17904 | ||
05191abd | 17905 | 2010-01-18 Uros Bizjak <ubizjak@gmail.com> |
17906 | ||
17907 | PR target/42774 | |
17908 | * config/alpha/predicates.md (aligned_memory_operand): Return 0 for | |
17909 | memory references with unaligned offsets. Remove CQImode handling. | |
17910 | (unaligned_memory_operand): Return 1 for memory references with | |
17911 | unaligned offsets. Remove CQImode handling. | |
17912 | ||
facbb5c4 | 17913 | 2010-01-18 Richard Guenther <rguenther@suse.de> |
17914 | ||
17915 | PR middle-end/39954 | |
17916 | * cfgexpand.c (expand_call_stmt): TER pointer arguments in | |
17917 | builtin calls. | |
17918 | ||
048f1033 | 17919 | 2010-01-18 Richard Guenther <rguenther@suse.de> |
17920 | ||
17921 | PR tree-optimization/42781 | |
17922 | * tree-ssa-structalias.c (find_what_var_points_to): Skip | |
8072d92a | 17923 | restrict processing only if the original variable was artificial. |
048f1033 | 17924 | |
f2779bd1 | 17925 | 2010-01-18 Joern Rennecke <amylaar@spamcop.net> |
17926 | ||
17927 | * doc/tm.texi (TARGET_ASM_FUNCTION_EPILOGUE): Update text on where to | |
17928 | find number of popped argument bytes. | |
17929 | ||
17930 | (TARGET_INVALID_WITHIN_DOLOOP): Put return value in braces. | |
17931 | Fix the text that describes the return value for invalid insns. | |
17932 | ||
17933 | (TARGET_SCHED_NEEDS_BLOCK_P): Fix return type. Fix argument list. | |
17934 | ||
17935 | (TARGET_SCHED_IS_COSTLY_DEPENDENCE): Fix argument types. | |
17936 | Clarify what 'cost of the -dependence' is. Fix quoting. | |
17937 | ||
836c5cf2 | 17938 | * toplev.c (default_get_pch_validity): Rename argument to "sz". |
17939 | * doc/tm.texi (TARGET_GET_PCH_VALIDITY): Likewise. | |
17940 | ||
bf8d938e | 17941 | 2010-01-17 Jakub Jelinek <jakub@redhat.com> |
17942 | ||
17943 | * dwarf2out.c (mem_loc_descriptor): Don't ICE on | |
17944 | {S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}. | |
17945 | ||
3e992c41 | 17946 | 2010-01-17 Richard Guenther <rguenther@suse.de> |
17947 | ||
17948 | PR middle-end/42248 | |
17949 | * function.c (split_complex_args): Take a VEC to modify. | |
17950 | (assign_parms_augmented_arg_list): Build a VEC instead of | |
17951 | a chain of PARM_DECLs. | |
17952 | (assign_parms_unsplit_complex): Take a VEC of arguments. | |
17953 | Do not fixup unmodified parms. | |
17954 | (assign_parms): Deal with the VEC. | |
17955 | (gimplify_parameters): Likewise. | |
17956 | ||
be2517f5 | 17957 | 2010-01-17 Richard Guenther <rguenther@suse.de> |
17958 | ||
17959 | * tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI | |
17960 | node existence check. | |
17961 | * tree-vect-loop.c (vect_analyze_loop_form): Likewise. | |
17962 | * tree-cfgcleanup.c (merge_phi_nodes): Likewise. | |
17963 | * tree-ssa-dce.c (forward_edge_to_pdom): Likewise. | |
17964 | * tree-cfg.c (gimple_execute_on_growing_pred): Likewise. | |
17965 | (gimple_execute_on_growing_pred): Likewise. | |
17966 | ||
40d1d8b9 | 17967 | 2010-01-17 Richard Guenther <rguenther@suse.de> |
17968 | ||
17969 | PR tree-optimization/42773 | |
17970 | * tree-ssa-pre.c (phi_translate_set): Fix check for PHI node existence. | |
17971 | (compute_antic_aux): Likewise. | |
17972 | (compute_partial_antic_aux): Likewise. | |
17973 | ||
40dbcb16 | 17974 | 2010-01-17 Jie Zhang <jie.zhang@analog.com> |
17975 | ||
17976 | PR debug/42767 | |
17977 | * dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE | |
17978 | and US_TRUNCATE. | |
17979 | ||
5f77f12a | 17980 | 2010-01-17 Joern Rennecke <amylaar@spamcop.net> |
17981 | ||
17982 | * doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of | |
17983 | appearance. | |
17984 | ||
17985 | (TARGET_LEGITIMATE_ADDRESS_P): Add return type. | |
17986 | Fix markup for strict argument. | |
17987 | ||
17988 | (TARGET_SCHED_REORDER2): Fix argument types. | |
17989 | ||
17990 | (TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type. | |
17991 | (TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise. | |
17992 | ||
17993 | (TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name. | |
17994 | (TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise. | |
17995 | ||
17996 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): | |
17997 | Add argument name. | |
17998 | ||
17999 | (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation. | |
18000 | (TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise. | |
18001 | (TARGET_SCHED_SET_SCHED_CONTEXT): Likewise. | |
18002 | (TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise. | |
18003 | (TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise. | |
18004 | ||
18005 | (TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo. | |
18006 | ||
18007 | (TARGET_SCHED_GEN_SPEC_CHECK): Fix name. | |
18008 | ||
18009 | (TARGET_ASM_RELOC_RW_MASK): Add return type. | |
18010 | (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type. | |
18011 | ||
18012 | (TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter. | |
18013 | ||
18014 | (TARGET_ASM_FILE_START): Put @findex before paragraph start. | |
18015 | Use prototype. | |
18016 | ||
18017 | (TARGET_ASM_NAMED_SECTION): Fix argument list. | |
18018 | ||
18019 | (TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr. | |
18020 | (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise. | |
18021 | ||
18022 | (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr. | |
18023 | ||
18024 | (TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types. | |
18025 | ||
18026 | (TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup | |
18027 | referring to it. Fix language. | |
18028 | ||
18029 | (TARGET_HAVE_CTORS_DTORS): Use @deftypevr. | |
18030 | ||
18031 | (TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument. | |
18032 | ||
18033 | (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types. | |
18034 | ||
18035 | (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument. | |
18036 | ||
18037 | (TARGET_UNWIND_EMIT): Remove space between 'FILE *' and | |
18038 | '@var{stream}. Remove stray 'and'. | |
18039 | ||
18040 | (TARGET_ARM_EABI_UNWINDER): Use @deftypevr. | |
18041 | ||
18042 | (TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument. | |
18043 | ||
18044 | (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article. | |
18045 | ||
b17559bc | 18046 | (TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was |
5f77f12a | 18047 | misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P. |
18048 | ||
18049 | (TARGET_GET_PCH_VALIDITY): Put 'void *' in braces. | |
18050 | Fix description of return value. | |
18051 | Rename argument "sz" to "len." | |
18052 | ||
18053 | (TARGET_CXX_GUARD_MASK_BIT): Add missing article. | |
18054 | Clarify meaning of 'true' return value. | |
18055 | ||
18056 | (TARGET_SHIFT_TRUNCATION_MASK): Fix return type. | |
18057 | ||
18058 | (TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of | |
18059 | rep_mode versus mode_rep. | |
18060 | ||
18061 | (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document. | |
18062 | ||
18063 | (TARGET_BUILTIN_DECL): Fix name. | |
18064 | ||
18065 | (TARGET_COMMUTATIVE_P): Fix type of first argument. | |
18066 | ||
18067 | (TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL. | |
18068 | ||
18069 | (TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type. | |
18070 | ||
18071 | (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook. | |
18072 | ||
18073 | (TARGET_RELAXED_ORDERING): Use @deftypevr. | |
18074 | ||
18075 | (TARGET_GET_DRAP_RTX): Note that this is a hook. | |
18076 | Clarify language. | |
18077 | ||
c3d15dba | 18078 | (TARGET_BUILTIN_RECIPROCAL): Fix argument types. |
18079 | Rename argument tm_fn to md_fn. | |
18080 | ||
294f8d57 | 18081 | (TARGET_OPTION_PRINT): Fix argument list. |
18082 | ||
a72f3239 | 18083 | 2010-01-16 Harsha Jagasia <harsha.jagasia@amd.com> |
18084 | ||
18085 | PR target/42664 | |
18086 | * config/i386/i386.c (ix86_fixup_binary_operands): | |
18087 | Revert FMA4 fixup of operands. | |
18088 | ||
f5763863 | 18089 | 2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18090 | ||
18091 | PR gcc/42525 | |
18092 | * Makefile.in (write_entries_to_file, install-plugin): | |
18093 | Use \012 instead of \n with tr. | |
18094 | ||
1a9c54a3 | 18095 | 2010-01-16 Richard Sandiford <r.sandiford@uk.ibm.com> |
18096 | ||
18097 | * configure.ac (HAVE_AS_REF): New C macro. | |
18098 | * configure: Regenerate. | |
18099 | * config.in: Likewise. | |
18100 | * collect2.c (main): Only postpone SCAN_DWEH to the second pass | |
18101 | if HAVE_AS_REF. | |
18102 | * config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define | |
18103 | if HAVE_AS_REF. | |
18104 | ||
ddc6a57f | 18105 | 2010-01-16 Joern Rennecke <amylaar@spamcop.net> |
18106 | ||
18107 | * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types. | |
18108 | ||
18109 | (TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types. | |
18110 | ||
18111 | (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types. | |
18112 | ||
18113 | (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces. | |
18114 | ||
18115 | (TARGET_IN_SMALL_DATA_P): Fix argument type. | |
18116 | ||
18117 | (TARGET_BINDS_LOCAL_P): Fix argument type. | |
18118 | ||
18119 | (TARGET_ASM_FILE_END): Use prototype. | |
18120 | ||
18121 | (TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces. | |
18122 | ||
18123 | (TARGET_DWARF_CALLING_CONVENTION): Fix argument type. | |
18124 | ||
18125 | (TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types. | |
18126 | ||
18127 | (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type. | |
18128 | ||
18129 | (TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces. | |
18130 | (TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise. | |
18131 | ||
18132 | (TARGET_PCH_VALID_P): Put 'const char *' in braces. | |
18133 | (TARGET_CHECK_PCH_TARGET_FLAGS): Likewise. | |
18134 | ||
18135 | (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces. | |
18136 | (TARGET_ADDR_SPACE_SUBSET_P): Likewise. | |
18137 | (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces. | |
18138 | (TARGET_ADDR_SPACE_CONVERT): Likewise. | |
18139 | ||
18140 | (TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces. | |
18141 | ||
18142 | (TARGET_MACHINE_DEPENDENT_REORG: Use prototype. | |
18143 | ||
18144 | (TARGET_INIT_BUILTINS): Use prototype. | |
18145 | ||
18146 | (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN): | |
18147 | Put 'const char *' in braces. Fix parameter types. | |
18148 | (TARGET_INVALID_CONVERSION): Fix parameter types. | |
18149 | (TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise. | |
18150 | (TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise. | |
18151 | ||
18152 | (TARGET_PROMOTED_TYPE): Remove braces around 'tree'. | |
18153 | Fix argument type. | |
18154 | ||
18155 | (TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'. | |
18156 | ||
18157 | (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'. | |
18158 | ||
53edaaf2 | 18159 | 2010-01-15 Joern Rennecke <amylaar@spamcop.net> |
18160 | ||
18161 | * doc/tm.texi (TARGET_HELP): Fix return type. | |
18162 | ||
18163 | (TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode' | |
18164 | in braces. Fix argument types. | |
18165 | ||
18166 | (TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype. | |
18167 | ||
18168 | (TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype. | |
18169 | ||
18170 | (TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type. | |
18171 | ||
18172 | (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces. | |
18173 | (TARGET_FIXED_POINT_SUPPORTED_P): Likewise. | |
18174 | ||
18175 | (TARGET_MANGLE_TYPE): Fix argument types. | |
18176 | ||
18177 | (TARGET_IRA_COVER_CLASSES): Use prototype. | |
18178 | ||
18179 | (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type. Use prototype. | |
18180 | ||
18181 | (TARGET_CAN_ELIMINATE): Use identifiers for argument names. | |
18182 | ||
18183 | (TARGET_PROMOTE_PROTOTYPES): Fix argument type. | |
18184 | ||
18185 | (TARGET_MUST_PASS_IN_STACK): Fix argument type. | |
18186 | ||
18187 | (TARGET_CALLEE_COPIES): Fix argument types. | |
18188 | ||
18189 | (TARGET_SPLIT_COMPLEX_ARG): Fix argument type. | |
18190 | ||
18191 | (TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types. | |
18192 | ||
18193 | (TARGET_FUNCTION_VALUE): Fix argument types. | |
18194 | ||
18195 | (TARGET_RETURN_IN_MSB): Fix argument type. | |
18196 | ||
18197 | (TARGET_RETURN_IN_MEMORY): Fix argument types. | |
18198 | ||
18199 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types. | |
18200 | ||
18201 | (TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type. | |
18202 | ||
18203 | (TARGET_STRICT_ARGUMENT_NAMING): Make literal in text | |
18204 | agree with return type. | |
18205 | ||
18206 | (TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype. | |
18207 | ||
92c624a3 | 18208 | 2010-01-15 Jing Yu <jingyu@google.com> |
18209 | ||
18210 | PR rtl-optimization/42691 | |
18211 | * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set | |
18212 | a pseudo to a constant and are merged, and adjust comments. | |
18213 | ||
172d9cbe | 18214 | 2010-01-15 Eric Botcazou <ebotcazou@adacore.com> |
18215 | ||
18216 | * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo. | |
18217 | ||
7b960d37 | 18218 | 2010-01-15 Richard Guenther <rguenther@suse.de> |
18219 | ||
18220 | PR middle-end/42739 | |
18221 | * tree-cfgcleanup.c (remove_forwarder_block): Move destination | |
18222 | labels of computed or non-local gotos to the destination. | |
18223 | * tree-cfg.c (gimple_verify_flow_info): Verify that a EH | |
18224 | landing pad label is the first label. | |
18225 | ||
70d42340 | 18226 | 2010-01-15 Richard Guenther <rguenther@suse.de> |
18227 | ||
18228 | * tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru. | |
18229 | ||
79cd32e0 | 18230 | 2010-01-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
18231 | ||
18232 | PR target/42747 | |
18233 | * config/rs6000/rs6000.md (sqrtdf2): Split into expander and insn | |
18234 | to allow generation of the xssqrtdp instruction on power7. | |
18235 | (sqrtdf2_fpr): Ditto. | |
18236 | ||
56b91f02 | 18237 | 2010-01-14 Jakub Jelinek <jakub@redhat.com> |
18238 | ||
578d2695 | 18239 | PR middle-end/42674 |
18240 | * c-decl.c (finish_function): Don't emit -Wreturn-type warnings in | |
18241 | functions with noreturn attribute. | |
18242 | ||
56b91f02 | 18243 | PR c++/42608 |
18244 | * varasm.c (declare_weak): Add weak attribute to decl if it | |
18245 | doesn't have one already. | |
18246 | (assemble_external): Only add decls to weak_decls if they also | |
18247 | have weak attribute. | |
18248 | ||
e25fd798 | 18249 | 2010-01-14 Alexandre Oliva <aoliva@redhat.com> |
18250 | ||
18251 | * var-tracking.c (var_reg_delete): Don't delete the association | |
18252 | between REGs and values or one-part variables if the register | |
18253 | isn't clobbered. | |
18254 | ||
e0667160 | 18255 | 2010-01-14 Jakub Jelinek <jakub@redhat.com> |
18256 | ||
18257 | PR debug/42657 | |
18258 | * tree-inline.c (copy_debug_stmt): Don't reset debug stmt just | |
18259 | because its first operand is a non-localized variable. | |
18260 | ||
f097734a | 18261 | 2010-01-14 Martin Jambor <mjambor@suse.cz> |
18262 | ||
18263 | PR tree-optimization/42706 | |
18264 | * tree-sra.c (encountered_recursive_call): New variable. | |
18265 | (encountered_unchangable_recursive_call): Likewise. | |
18266 | (sra_initialize): Initialize both new variables. | |
18267 | (callsite_has_enough_arguments_p): New function. | |
18268 | (scan_function): Call decl and flags check only for IPA-SRA, check | |
18269 | whether there is a recursive call and whether it has enough arguments. | |
18270 | (all_callers_have_enough_arguments_p): New function. | |
18271 | (convert_callers): Look for recursive calls only when | |
18272 | encountered_recursive_call is set. | |
18273 | (ipa_early_sra): Bail out either if | |
18274 | !all_callers_have_enough_arguments_p or | |
18275 | encountered_unchangable_recursive_call. | |
18276 | ||
ce9c1a64 | 18277 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
18278 | ||
18279 | * sel-sched.c: Add 2010 to copyright years. | |
18280 | * sel-sched-ir.c: Likewise. | |
18281 | * sel-sched-ir.h: Likewise. | |
18282 | ||
d23efcf8 | 18283 | 2010-01-14 Martin Jambor <mjambor@suse.cz> |
18284 | ||
18285 | PR tree-optimization/42714 | |
18286 | * tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type | |
18287 | constructors specially. | |
18288 | ||
3ba7ca5c | 18289 | 2010-01-14 Andi Kleen <ak@linux.intel.com> |
18290 | ||
18291 | * config/i386/drivers-i386.c (detect_caches_intel): | |
18292 | Add l2sizekb parameter and fill in. | |
18293 | (host_detect_local_cpu): Add l2sizekb, fill in. | |
18294 | Add Atom small cache heuristic. | |
18295 | ||
18296 | 2010-01-14 Andi Kleen <ak@linux.intel.com> | |
18297 | ||
18298 | * config/i386/drivers-i386.c (detect_caches_cpuid4): | |
18299 | Add level3 parameter and fill in. | |
18300 | (detect_caches_intel): Handle level3 cache. | |
18301 | ||
18302 | 2010-01-14 Andi Kleen <ak@linux.intel.com> | |
18303 | ||
18304 | * config/i386/drivers-i386.c (host_detect_local_cpu): | |
18305 | Fix core duo detection. | |
18306 | ||
18307 | 2010-01-14 Andi Kleen <ak@linux.intel.com> | |
18308 | ||
18309 | * config/i386/drivers-i386.c (host_detect_local_cpu): | |
18310 | Fix Atom detection. | |
18311 | ||
3e0a0b33 | 18312 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
18313 | ||
18314 | * config/rs6000/rs6000.c (rs6000_variable_issue): Rename to... | |
18315 | (rs6000_variable_issue_1): this. Use... | |
18316 | (rs6000_variable_issue): here. Reimplement. Print debug info. | |
18317 | ||
3baa98a0 | 18318 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
18319 | ||
3ba7ca5c | 18320 | * sel-sched-ir.c (sel_restore_other_notes): Rename to |
18321 | sel_restore_notes. Update all callers. Call reemit_notes | |
18322 | for all insns. | |
3baa98a0 | 18323 | |
6a6a03b4 | 18324 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
18325 | ||
18326 | PR rtl-optimization/42246 | |
18327 | * sel-sched-ir.h (get_all_loop_exits): Include exits from inner | |
18328 | loops. | |
18329 | ||
fd23e508 | 18330 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
18331 | ||
18332 | * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of | |
18333 | all successors is the same as number of successors in current region. | |
18334 | ||
f7d03b30 | 18335 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
18336 | ||
18337 | * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression | |
18338 | to rename is not separable. Otherwise check that its LHS is not NULL. | |
18339 | ||
936f065e | 18340 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
18341 | ||
18342 | * sel-sched.c (choose_best_reg_1): Loop over all regs for mode. | |
18343 | ||
ba1fc759 | 18344 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
18345 | ||
18346 | * sel-sched.c (mark_unavailable_hard_regs): Do not try to search | |
18347 | available registers when failed to discover LHS register class. | |
18348 | Fix indentation. Update comment. | |
18349 | ||
abb9c563 | 18350 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
18351 | Alexander Monakov <amonakov@ispras.ru> | |
18352 | ||
18353 | PR rtl-optimization/42389 | |
18354 | * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE | |
18355 | to can_issue_more. | |
18356 | (advance_state_on_fence): Likewise. | |
18357 | (sel_target_adjust_priority): Print debug output only when | |
18358 | sched_verbose >= 4, not 2. | |
18359 | (get_expr_cost): Do not issue all unique insns on the next cycle. | |
18360 | (fill_insns): Initialize can_issue_more from the value saved | |
18361 | with the fence. | |
18362 | * sel-sched-ir.c (flist_add): New parameter issue_more. | |
18363 | Init FENCE_ISSUE_MORE with it. | |
18364 | (merge_fences): Likewise. | |
18365 | (init_fences): Update call to flist_add. | |
18366 | (add_to_fences, add_clean_fence_to_fences) | |
18367 | (add_dirty_fence_to_fences): Likewise. | |
18368 | (move_fence_to_fences): Update call to merge_fences. | |
18369 | (invoke_reorder_hooks): Do not reset can_issue_more on insns from | |
18370 | sched groups. | |
18371 | * sel-sched-ir.h (struct _fence): New field issue_more. | |
18372 | (FENCE_ISSUE_MORE): New accessor macro. | |
18373 | ||
61e213e2 | 18374 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
18375 | ||
18376 | PR rtl-optimization/42388 | |
18377 | * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks | |
18378 | that have no predecessors nor successors. Do not call move_bb_info | |
18379 | for empty blocks outside of current region. | |
18380 | ||
dca13bd7 | 18381 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
18382 | ||
18383 | PR rtl-optimization/42294 | |
18384 | * sel-sched-ir.h (struct _sel_insn_data): Update comment. | |
18385 | * sel-sched.c (move_exprs_to_boundary): Transitively add all | |
18386 | originators' originators. | |
18387 | ||
a2d56a0e | 18388 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
18389 | ||
18390 | PR rtl-optimization/39453 | |
18391 | PR rtl-optimization/42246 | |
18392 | * sel-sched-ir.c (considered_for_pipelining_p): Do not test | |
18393 | for pipelining_p. | |
18394 | (sel_add_loop_preheaders): Add preheader to last_added_blocks. | |
18395 | ||
93919afc | 18396 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
18397 | Alexander Monakov <amonakov@ispras.ru> | |
18398 | ||
18399 | PR middle-end/42245 | |
18400 | * sel-sched-ir.c (sel_recompute_toporder): New. Use it... | |
18401 | (maybe_tidy_empty_bb): ... here. Make static. Add new | |
18402 | argument. Update all callers. | |
18403 | (tidy_control_flow): ... and here. Recompute topological order | |
18404 | of basic blocks in region if necessary. | |
18405 | (sel_redirect_edge_and_branch): Change return type. Return true | |
18406 | if topological order might have been invalidated. | |
18407 | (purge_empty_blocks): Export and move from... | |
18408 | * sel-sched.c (purge_empty_blocks): ... here. | |
18409 | * sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype. | |
ce9c1a64 | 18410 | (maybe_tidy_empty_bb): Delete prototype. |
93919afc | 18411 | (purge_empty_blocks): Declare. |
18412 | ||
657e7797 | 18413 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
28abb7ee | 18414 | |
93919afc | 18415 | PR rtl-optimization/42249 |
28abb7ee | 18416 | * sel-sched.c (try_replace_dest_reg): When chosen register |
18417 | and original register is the same, do not bail out early, but | |
18418 | still check all original insns for validity of replacing destination | |
18419 | register. Set EXPR_TARGET_AVAILABLE to 1 before leaving function | |
18420 | in this case. | |
18421 | ||
7fa61d41 | 18422 | 2010-01-14 Jakub Jelinek <jakub@redhat.com> |
18423 | ||
18424 | PR c/42721 | |
3ba7ca5c | 18425 | Port from no-undefined-overflow branch: |
7fa61d41 | 18426 | 2009-03-09 Richard Guenther <rguenther@suse.de> |
18427 | ||
3ba7ca5c | 18428 | * fold-const.c (add_double_with_sign): Fix unsigned overflow detection. |
7fa61d41 | 18429 | |
20b3ad9e | 18430 | 2010-01-14 Richard Guenther <rguenther@suse.de> |
18431 | ||
18432 | PR lto/42665 | |
8072d92a | 18433 | * gimple.c (iterative_hash_gimple_type): Avoid hashing error_mark_node. |
20b3ad9e | 18434 | |
ece0be9d | 18435 | 2010-01-14 Ira Rosen <irar@il.ibm.com> |
18436 | ||
18437 | PR tree-optimization/42709 | |
18438 | * tree-vect-slp.c (vect_get_constant_vectors): Use constant's type | |
18439 | as scalar type in creation of constant vector operand. | |
18440 | ||
1b374b02 | 18441 | 2010-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18442 | ||
18443 | PR testsuite/42414 | |
18444 | * Makefile.in ($(TESTSUITEDIR)/site.exp, check-%) | |
18445 | (check-parallel-%): Match `testsuite' directory component only | |
18446 | at the end. | |
18447 | ||
5a3530cb | 18448 | 2010-01-14 Shujing Zhao <pearly.zhao@oracle.com> |
18449 | ||
18450 | PR translation/39521 | |
18451 | * gcc.c (do_spec_1): Wrapped the error and notice messages of specs | |
18452 | strings with _(). | |
18453 | ||
d8fd6ef9 | 18454 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
18455 | ||
18456 | PR tree-optimization/42730 | |
18457 | * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for | |
18458 | offset zero. | |
18459 | ||
549f381b | 18460 | 2010-01-13 Steve Ellcey <sje@cup.hp.com> |
18461 | ||
18462 | PR target/pr42542 | |
18463 | * config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT | |
18464 | for V2SI by subtracting (-(INT MAX) - 1) from both operands to make | |
18465 | them signed. | |
18466 | ||
5e6b7db7 | 18467 | 2010-01-13 Bernd Schmidt <bernd.schmidt@analog.com> |
18468 | ||
18469 | * config/bfin/libgcc-bfin.ver: Regenerate based on current | |
18470 | libgcc-std.ver. Add entries for ___smulsi3_highpart and | |
18471 | ___umulsi3_highpart. | |
18472 | ||
f5a15437 | 18473 | * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling |
18474 | rather than schedule_insns if the pass is enabled. | |
18475 | ||
a3c82987 | 18476 | 2010-01-13 Martin Jambor <mjambor@suse.cz> |
18477 | ||
18478 | PR tree-optimization/42704 | |
18479 | * tree-sra.c (sra_modify_assign): Do not delete assignments to | |
18480 | SSA_NAMEs. | |
18481 | ||
471403d4 | 18482 | 2010-01-13 Martin Jambor <mjambor@suse.cz> |
18483 | ||
18484 | PR tree-optimization/42703 | |
18485 | * tree-sra.c (analyze_access_subtree): Check that we can build a | |
18486 | reference to the original data within the aggregate. | |
18487 | ||
eb4bdd4d | 18488 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
18489 | ||
18490 | PR tree-optimization/42705 | |
8072d92a | 18491 | * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after labels. |
eb4bdd4d | 18492 | |
a9b39de8 | 18493 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
18494 | ||
18495 | PR middle-end/42716 | |
18496 | * fold-const.c (fold_unary_loc): Fold INDIRECT_REFs. | |
18497 | ||
c63fbb8a | 18498 | 2010-01-13 Jakub Jelinek <jakub@redhat.com> |
18499 | ||
18500 | PR debug/41371 | |
18501 | * var-tracking.c (values_to_unmark): New variable. | |
18502 | (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in | |
18503 | values_to_unmark vector. Moved body to... | |
18504 | (find_loc_in_1pdv_1): ... this. Don't clear VALUE_RECURSED_INTO, | |
18505 | instead queue it into values_to_unmark vector. | |
18506 | (vt_find_locations): Free values_to_unmark vector. | |
18507 | ||
8aca5068 | 18508 | 2010-01-13 Wolfgang Gellerich <gellerich@de.ibm.com> |
18509 | ||
18510 | * config/s390/s390.c (override_options): Set | |
18511 | default of max-pending-list-length to 256 | |
18512 | ||
7b76dcb9 | 18513 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
18514 | ||
18515 | PR lto/42678 | |
18516 | * tree-pass.h (PROP_gimple_lcx): New. | |
18517 | * cfgexpand.c (pass_expand): Require PROP_gimple_lcx. | |
18518 | * passes.c (init_optimization_passes): Move pass_lower_complex_O0 | |
18519 | before the final cleanup_eh. | |
18520 | (dump_properties): Dump PROP_gimple_lcx. | |
18521 | * tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx. | |
18522 | (tree_lower_complex_O0): Remove. | |
18523 | (gate_no_optimization): Run if PROP_gimple_lcx is not set. | |
18524 | (pass_lower_complex_O0): Provide PROP_gimple_lcx. Run | |
18525 | tree_lower_complex, schedule TODO_update_ssa. | |
18526 | * lto-streamer-out.c (output_function): Stream the functions | |
18527 | properties. | |
18528 | * lto-streamer-in.c (input_function): Likewise. | |
18529 | (lto_read_body): Do not override them here. | |
18530 | ||
8c212779 | 18531 | 2010-01-12 Joseph Myers <joseph@codesourcery.com> |
18532 | ||
18533 | PR c/42708 | |
18534 | * c-typeck.c (build_c_cast): Fold value cast to union type before | |
18535 | wrapping it in a CONSTRUCTOR. | |
18536 | ||
a49d9163 | 18537 | 2010-01-12 Jakub Jelinek <jakub@redhat.com> |
18538 | ||
18539 | PR rtl-optimization/42699 | |
18540 | * cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are | |
18541 | involved. | |
18542 | ||
5c33bb7e | 18543 | 2010-01-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18544 | ||
18545 | * config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC, | |
18546 | SUBTARGET_WARN_UNUSED_SPEC): Move ... | |
18547 | config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC, | |
18548 | SUBTARGET_WARN_UNUSED_SPEC): ... here | |
18549 | * config/mips/iris5.h (LIBGCC_SPEC): Define. | |
18550 | ||
09532613 | 18551 | 2010-01-12 Julian Brown <julian@codesourcery.com> |
18552 | ||
3ba7ca5c | 18553 | * config/arm/neon-schedgen.ml (Utils): Don't try to |
09532613 | 18554 | open missing module. |
3ba7ca5c | 18555 | (find_with_result): New. |
09532613 | 18556 | |
9f28a7ee | 18557 | 2010-01-12 Jakub Jelinek <jakub@redhat.com> |
18558 | ||
fe8274f8 | 18559 | PR debug/42662 |
18560 | * simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx | |
18561 | sharing when canonicalizing ({lt,ge}u (plus a b) b). | |
18562 | ||
9f28a7ee | 18563 | PR tree-optimization/42645 |
18564 | * tree-inline.c (processing_debug_stmt): Move earlier. Make static. | |
18565 | (remap_ssa_name): If processing_debug_stmt and name wasn't found in | |
18566 | decl_map, set processing_debug_stmt to -1 and return name without | |
18567 | any remapping. | |
18568 | ||
bd01eeb1 | 18569 | 2010-01-11 Dave Korn <dave.korn.cygwin@gmail.com> |
18570 | ||
18571 | * doc/install.texi (Specific#x-x-cygwin): Document minimum required | |
18572 | binutils version, and reword target configuration description. | |
18573 | ||
bfbd30e1 | 18574 | 2010-01-11 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> |
18575 | ||
3ba7ca5c | 18576 | * config/avr/avr.h (LINKER_NAME): Remove. |
bfbd30e1 | 18577 | |
359b445a | 18578 | 2010-01-11 Janis Johnson <janis187@us.ibm.com> |
18579 | ||
18580 | PR target/42416 | |
18581 | * config/rs6000/rs6000.c (rs6000_override_options): On targets | |
18582 | that support VSX, warn for -mno-altivec if vsx is not disabled, | |
18583 | and disable vsx. | |
18584 | ||
cf210371 | 18585 | 2010-01-11 Joseph Myers <joseph@codesourcery.com> |
18586 | Shujing Zhao <pearly.zhao@oracle.com> | |
3ba7ca5c | 18587 | |
cf210371 | 18588 | PR translation/42469 |
18589 | * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=, | |
18590 | fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab | |
18591 | character between option name and help text. | |
18592 | * c.opt (imultilib): Likewise. | |
18593 | ||
1d4cb226 | 18594 | 2010-01-10 Rafael Avila de Espindola <espindola@google.com> |
18595 | ||
18596 | * lto-streamer-out.c (output_unreferenced_globals): Output static | |
18597 | variables. | |
18598 | ||
065ffc72 | 18599 | 2010-01-10 Steven Bosscher <steven@gcc.gnu.org> |
18600 | ||
18601 | PR rtl-optimization/42621 | |
18602 | * bb-reorder.c (gate_duplicated_computed_gotos): Only run if not | |
18603 | optimizing for size. | |
18604 | (duplicate_computed_gotos): Remove now-redundant check. | |
18605 | ||
3ba1a8b2 | 18606 | 2010-01-10 Steve Ellcey <sje@cup.hp.com> |
18607 | ||
18608 | PR target/37454 | |
18609 | * configure.ac: Save and restore LDFLAGS and LIBS | |
18610 | * configure: Regenerate. | |
18611 | ||
c7cbde74 | 18612 | 2010-01-10 Richard Guenther <rguenther@suse.de> |
18613 | ||
18614 | PR middle-end/42667 | |
18615 | * builtins.c (fold_builtin_strlen): Add type argument and | |
18616 | convert the resulting length to it. | |
18617 | (fold_builtin_1): Adjust. | |
18618 | ||
d3e6bf4e | 18619 | 2010-01-09 Jakub Jelinek <jakub@redhat.com> |
18620 | ||
18621 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten | |
18622 | sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by | |
18623 | 1 insn. | |
18624 | (num_insns_constant_wide): Adjust for that change. | |
18625 | ||
388bf4a2 | 18626 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
18627 | ||
18628 | PR debug/42631 | |
18629 | * web.c (union_defs): Add used argument, to combine uses of | |
18630 | uninitialized regs. | |
18631 | (entry_register): Adjust type and tests of used argument. | |
18632 | (web_main): Widen used for new use. Pass it to union_defs. | |
18633 | * df.h (union_defs): Adjust prototype. | |
18634 | ||
3b3940d7 | 18635 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
18636 | ||
18637 | PR debug/42630 | |
18638 | * loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug | |
18639 | uses in new incoming argument. Free body. | |
18640 | (reset_debug_uses_in_loop): New. | |
18641 | (analyze_insn_to_expand_var): Call the latter if the former found | |
18642 | anything. Fix whitespace. Reject invalid dest overlaps before | |
18643 | going through all insns in the loop. | |
18644 | ||
08f2a34b | 18645 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
18646 | ||
18647 | PR debug/42629 | |
18648 | * haifa-sched.c (dying_use_p): Debug insns don't count. | |
18649 | ||
4569d18c | 18650 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
18651 | ||
18652 | PR middle-end/42363 | |
18653 | * gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls. | |
18654 | * tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice. | |
18655 | (verify_gimple_call): Reject LHS in noreturn calls. | |
18656 | ||
b123eaab | 18657 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
18658 | ||
18659 | PR debug/42604 | |
18660 | PR debug/42395 | |
18661 | * tree-vect-loop-manip.c (adjust_info): New type. | |
18662 | (adjust_vec): New pointer to vector. | |
18663 | (adjust_debug_stmts_now, adjust_vec_debug_stmts): New. | |
18664 | (adjust_debug_stmts, adjust_phi_and_debug_stmts): New. | |
18665 | (slpeel_update_phis_for_duplicate_loop): Use them. | |
18666 | (slpeel_update_phi_nodes_for_guard1): Likewise. | |
18667 | (slpeel_update_phi_nodes_for_guard2): Likewise. | |
18668 | (slpeel_tree_peel_loop_to_edge): Likewise. | |
18669 | (vect_update_ivs_after_vectorizer): Likewise. | |
18670 | ||
d3ab9b67 | 18671 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
18672 | ||
18673 | * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren. | |
18674 | (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise. | |
18675 | ||
753631e2 | 18676 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
18677 | ||
18678 | * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence | |
18679 | bogus uninitialized warning. | |
18680 | ||
ce00c150 | 18681 | 2010-01-09 Richard Guenther <rguenther@suse.de> |
18682 | ||
18683 | PR middle-end/42512 | |
18684 | * tree-scalar-evolution.c (interpret_loop_phi): Make sure | |
18685 | the evolution is compatible with the initial condition. | |
18686 | ||
60d645bb | 18687 | 2010-01-09 Jakub Jelinek <jakub@redhat.com> |
18688 | ||
18689 | * gcc.c (process_command): Update copyright notice dates. | |
18690 | * gcov.c (print_version): Likewise. | |
18691 | * gcov-dump.c (print_version): Likewise. | |
18692 | * mips-tfile.c (main): Likewise. | |
18693 | * mips-tdump.c (main): Likewise. | |
18694 | ||
9643da7d | 18695 | 2010-01-08 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> |
18696 | ||
18697 | PR target/41885 | |
bfbd30e1 | 18698 | * config/avr/avr.md (rotlqi3): Add CONST_INT_P check. |
9643da7d | 18699 | (rotlhi3): Delete. |
18700 | (rotlhi3_8): Delete. | |
18701 | (rotlsi3): Delete. | |
18702 | (rotlsi3_8): Delete. | |
18703 | (rotlsi3_16): Delete. | |
18704 | (rotlsi3_24): Delete. | |
18705 | (rotl<mode>3): New. | |
18706 | (*rotw<mode>3): New. | |
18707 | (*rotb<mode>3): New. | |
bfbd30e1 | 18708 | * config/avr/avr.c (avr_rotate_bytes): New function. |
3ba7ca5c | 18709 | * config/avr/avr-proto.h (avr_rotate_bytes): New function. |
9643da7d | 18710 | |
2a156579 | 18711 | 2010-01-08 Steve Ellcey <sje@cup.hp.com> |
18712 | ||
18713 | PR target/37454 | |
18714 | * configure.ac: Modify -rdynamic check. | |
18715 | * configure: Regenerate. | |
18716 | ||
c90c8b4e | 18717 | 2010-01-08 DJ Delorie <dj@redhat.com> |
18718 | ||
18719 | * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler | |
18720 | register popping order. | |
18721 | ||
3bfd70ae | 18722 | 2010-01-08 Richard Guenther <rguenther@suse.de> |
18723 | ||
18724 | PR lto/42528 | |
18725 | * c.opt (fsigned-char): Also let LTO handle this option. | |
18726 | (funsigned-char): Likewise. | |
18727 | ||
2727c872 | 18728 | 2010-01-07 Richard Guenther <rguenther@suse.de> |
18729 | ||
18730 | * gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING. | |
18731 | (gimple_op): Likewise. | |
18732 | (gimple_op_ptr): Likewise. | |
18733 | (gimple_assign_set_lhs): Remove gcc_assert. | |
18734 | (gimple_assign_set_rhs1): Likewise. | |
18735 | (gimple_assign_set_rhs2): Likewise. | |
18736 | (gimple_call_set_lhs): Likewise. | |
18737 | (gimple_call_set_fn): Likewise. | |
18738 | (gimple_call_set_fndecl): Likewise. | |
18739 | (gimple_call_fndecl): Likewise. | |
18740 | (gimple_call_return_type): Likewise. | |
18741 | (gimple_call_set_chain): Likewise. | |
18742 | (gimple_call_num_args): Likewise. | |
18743 | (gimple_call_set_arg): Likewise. | |
18744 | (gimple_cond_set_code): Likewise. | |
18745 | (gimple_cond_set_lhs): Likewise. | |
18746 | (gimple_cond_set_rhs): Likewise. | |
18747 | (gimple_cond_set_true_label): Likewise. | |
18748 | (gimple_cond_set_false_label): Likewise. | |
18749 | (gimple_label_set_label): Likewise. | |
18750 | (gimple_goto_set_dest): Likewise. | |
18751 | (gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING. | |
18752 | (gimple_debug_bind_get_value): Likewise. | |
18753 | (gimple_debug_bind_get_value_ptr): Likewise. | |
18754 | (gimple_debug_bind_set_var): Likewise. | |
18755 | (gimple_debug_bind_set_value): Likewise. | |
18756 | (gimple_debug_bind_reset_value): Likewise. | |
18757 | (gimple_debug_bind_has_value_p): Likewise. | |
18758 | (gimple_return_retval_ptr): Remove gcc_assert. | |
18759 | (gimple_return_retval): Likewise. | |
18760 | (gimple_return_set_retval): Likewise. | |
18761 | * tree-flow.h (struct gimple_df): Remove nonlocal_all member. | |
18762 | (safe_referenced_var_iterator): Remove. | |
18763 | (FOR_EACH_REFERENCED_VAR_SAFE): Likewise. | |
18764 | * tree-flow-inline.h (gimple_nonlocal_all): Remove. | |
18765 | (fill_referenced_var_vec): Remove. | |
18766 | (first_readonly_imm_use): Remove redundant gcc_assert. | |
18767 | (phi_arg_index_from_use): Combine gcc_asserts. | |
18768 | (move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING. | |
18769 | (first_imm_use_stmt): Remove redundant gcc_assert. | |
18770 | * tree-cfg.c (verify_gimple_call): Verify function and chain | |
18771 | operands. Verify arguments. | |
18772 | (verify_types_in_gimple_stmt): Verify condition code and labels. | |
18773 | ||
35cc69f6 | 18774 | 2010-01-07 Richard Guenther <rguenther@suse.de> |
18775 | ||
18776 | PR tree-optimization/42641 | |
18777 | * sese.c (rename_map_elt_info): Use the SSA name version, do | |
18778 | not hash pointers. | |
18779 | ||
93fbbbcc | 18780 | 2010-01-07 Jakub Jelinek <jakub@redhat.com> |
18781 | ||
18782 | PR tree-optimization/42625 | |
18783 | * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*, | |
8072d92a | 18784 | TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body aliases. |
93fbbbcc | 18785 | |
c48c273e | 18786 | 2010-01-07 Duncan Sands <baldrick@free.fr> |
18787 | ||
18788 | * Makefile.in (PLUGIN_HEADERS): Add version.h. | |
18789 | ||
eaf4321b | 18790 | 2010-01-07 Uros Bizjak <ubizjak@gmail.com> |
18791 | ||
18792 | PR target/42511 | |
18793 | * ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when | |
18794 | note itself is not function_invariant_p. | |
18795 | ||
3a89e5aa | 18796 | 2009-01-07 Steven Bosscher <steven@gcc.gnu.org> |
18797 | ||
18798 | * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist): | |
18799 | Do not add the DF_NOTE problem. | |
18800 | * store-motion.c (execute_rtl_store_motion): Likewise. | |
18801 | ||
54c0af3a | 18802 | 2010-01-07 Martin Jambor <mjambor@suse.cz> |
18803 | ||
18804 | PR tree-optimization/42157 | |
18805 | * tree-sra.c (compare_access_positions): Stabilize sort if both | |
18806 | accesses have integer types, return zero immediately if they are the | |
18807 | same. | |
18808 | ||
15a03e56 | 18809 | 2010-01-06 Richard Henderson <rth@redhat.com> |
18810 | ||
18811 | PR middle-end/41883 | |
18812 | * haifa-sched.c (add_to_note_list): Merge into ... | |
18813 | (concat_note_lists): ... here, and ... | |
18814 | (unlink_other_notes, rm_other_notes): Merge into... | |
18815 | (remove_notes): ... here. Create REG_SAVE_NOTEs for | |
3ba7ca5c | 18816 | NOTE_INSN_EPILOGUE_BEG. |
15a03e56 | 18817 | |
9bc627ae | 18818 | 2010-01-06 Richard Guenther <rguenther@suse.de> |
18819 | ||
18820 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Do | |
18821 | not inline regular functions into always-inline functions. | |
18822 | ||
98cb9b5b | 18823 | 2010-01-06 Nick Clifton <nickc@redhat.com> |
18824 | ||
18825 | * config/rx/rx.h (enum rx_cpu_type): Add RX200. | |
18826 | (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are | |
18827 | used together. | |
18828 | (OVERRIDE_OPTIONS): Delete. | |
18829 | (OPTIMIZATION_OPTIONS): Define. | |
18830 | (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option. | |
18831 | * config/rx/rx.c (rx_handle_option): Issue an error message if | |
18832 | -mcpu=rx200 and -fpu are used together. | |
18833 | (rx_set_optimization_options): New function. Issue an error | |
18834 | message if an optimization attribute attempts to reset the FPU/ | |
18835 | math optimization pairing. | |
18836 | * config/rx/rx-protos.h (rx_set_optimization_options): Prototype. | |
18837 | * config/rx/rx.opt: Set the default to 32-bit doubles. | |
18838 | * config/rx/t-rx: Add multilibs for -nofpu option. | |
18839 | * doc/invoke.texi: Update documentation of RX options. | |
18840 | ||
562ae2d5 | 18841 | 2010-01-06 Richard Guenther <rguenther@suse.de> |
18842 | ||
18843 | * tree-ssa-pre.c (name_to_id): New global. | |
18844 | (alloc_expression_id): Simplify SSA name handling. | |
18845 | (lookup_expression_id): Likewise. | |
18846 | (init_pre): Zero name_to_id. | |
18847 | (fini_pre): Free it. | |
18848 | ||
523ab962 | 18849 | 2010-01-06 Uros Bizjak <ubizjak@gmail.com> |
18850 | ||
18851 | * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM. | |
18852 | ||
ea386dba | 18853 | 2010-01-05 H.J. Lu <hongjiu.lu@intel.com> |
18854 | ||
18855 | PR target/42542 | |
18856 | * config/i386/sse.md (smaxv2di3): New. | |
18857 | (umaxv2di3): Likewise. | |
18858 | (sminv2di3): Likewise. | |
18859 | (uminv2di3): Likewise. | |
18860 | ||
c310dc53 | 18861 | 2010-01-05 Eric Botcazou <ebotcazou@adacore.com> |
18862 | ||
18863 | PR target/42564 | |
18864 | * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete. | |
18865 | * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise. | |
18866 | (legitimize_tls_address): Likewise. | |
18867 | (sparc_tls_referenced_p): Likewise. | |
18868 | * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address | |
18869 | and adjust calls to legitimize_pic_address. | |
18870 | (legitimate_constant_p) Use sparc_tls_referenced_p. | |
18871 | (legitimate_pic_operand_p): Likewise. | |
18872 | (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P. | |
18873 | (sparc_tls_symbol_ref_1): Delete. | |
18874 | (sparc_tls_referenced_p): Make static, recognize specific patterns. | |
18875 | (legitimize_tls_address): Make static, handle CONST patterns. | |
18876 | (legitimize_pic_address): Make static, remove unused parameter and | |
18877 | adjust recursive calls. | |
18878 | (sparc_legitimize_address): Make static, use sparc_tls_referenced_p | |
18879 | and adjust call to legitimize_pic_address. | |
18880 | (sparc_output_mi_thunk): Likewise. | |
18881 | ||
eaf4321b | 18882 | 2010-01-05 Paolo Bonzini <bonzini@gnu.rg> |
41188d4b | 18883 | H.J. Lu <hongjiu.lu@intel.com> |
18884 | ||
18885 | PR target/42542 | |
18886 | * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT | |
18887 | for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both | |
18888 | operands to make them signed. | |
18889 | ||
ef130dc6 | 18890 | Revert: |
18891 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> | |
18892 | ||
18893 | PR target/42542 | |
18894 | * config/i386/i386.c (ix86_expand_int_vcond): Don't convert | |
18895 | GTU to GT for V4SI and V2DI. | |
18896 | ||
18897 | * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP. | |
18898 | (umin<mode>3): Removed. | |
18899 | (uminv8hi3): New. | |
41188d4b | 18900 | (uminv4si3): Likewise. |
18901 | ||
526a5cd9 | 18902 | 2010-01-05 Martin Jambor <mjambor@suse.cz> |
18903 | ||
18904 | PR tree-optimization/42462 | |
18905 | * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of | |
18906 | current_function_decl to helper functions and macros. | |
18907 | ||
1eb1b33f | 18908 | 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18909 | ||
18910 | PR bootstrap/41771 | |
18911 | * flags.h: Don't include real.h. | |
18912 | (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS, | |
18913 | HONOR_SIGN_DEPENDENT_ROUNDING): Move ... | |
18914 | * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, | |
18915 | HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here. | |
18916 | * dominance.c: Update copyright. | |
18917 | * gimple.c (walk_gimple_op): Remove inline. | |
18918 | * tree-ssa-reassoc.c: Include real.h. | |
18919 | * Makefile.in (FLAGS_H): Remove $(REAL_H). | |
18920 | (tree-ssa-reassoc.o): Depend on $(REAL_H). | |
18921 | ||
bc9bb967 | 18922 | 2010-01-05 Nick Clifton <nickc@redhat.com> |
18923 | ||
18924 | * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second | |
18925 | register to push into the stack frame when the accumulator has to | |
18926 | be saved during interrupts. | |
18927 | ||
cc029bec | 18928 | 2010-01-05 Eric Fisher <joefoxreal@gmail.com> |
18929 | ||
18930 | * doc/invoke.texi: Remove the documentation about option | |
18931 | -Wunreachable-code. | |
18932 | * common.opt (Wunreachable-code): Preserved for backward | |
18933 | compatibility. | |
18934 | * tree-cfg.c: Remove the implementation of -Wunreachable-code. | |
18935 | * opts.c (common_handle_option): Add OPT_Wunreachable_code to | |
18936 | the backward compatibility flag section. | |
18937 | ||
b3e973fc | 18938 | 2010-01-05 Richard Guenther <rguenther@suse.de> |
18939 | ||
18940 | * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize. | |
18941 | ||
028a99ef | 18942 | 2010-01-05 Jakub Jelinek <jakub@redhat.com> |
18943 | ||
ce0afe34 | 18944 | PR other/42611 |
18945 | * cfgexpand.c (expand_one_var): Diagnose too large variables. | |
18946 | ||
028a99ef | 18947 | PR tree-optimization/42508 |
18948 | * tree-sra.c (convert_callers): Check for recursive call | |
18949 | by comparing cgraph nodes instead of decls. | |
18950 | (modify_function): Call ipa_modify_formal_parameters also | |
18951 | on all same_body aliases. | |
18952 | ||
18953 | * cgraphunit.c (cgraph_materialize_all_clones): Compare | |
18954 | cgraph nodes when checking for same_body aliases. | |
18955 | ||
59de85de | 18956 | 2010-01-05 Richard Guenther <rguenther@suse.de> |
18957 | ||
18958 | * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant | |
18959 | allocation and lookup. | |
18960 | (get_or_alloc_expr_for_constant): Likewise. | |
18961 | (phi_translate): Sink allocation. | |
18962 | ||
88006128 | 18963 | 2010-01-04 Richard Guenther <rguenther@suse.de> |
18964 | ||
18965 | * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate | |
18966 | a new entry only if needed. | |
18967 | * tree-ssa-dom.c (lookup_avail_expr): Likewise. | |
18968 | * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one | |
18969 | hashtable lookup. | |
18970 | * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate | |
18971 | the result array. | |
18972 | (phi_translate): Handle CONSTANTs early. | |
18973 | ||
95feb4d6 | 18974 | 2010-01-04 Martin Jambor <mjambor@suse.cz> |
18975 | ||
18976 | PR tree-optimization/42398 | |
18977 | * tree-sra.c (struct access): Removed flag grp_different_types. | |
18978 | (dump_access): Do not dump the removed flag. | |
18979 | (sort_and_splice_var_accesses): Do not set the removed flag. | |
18980 | (sra_modify_expr): Check for type compatibility directly. | |
18981 | ||
7103fda3 | 18982 | 2010-01-04 Martin Jambor <mjambor@suse.cz> |
18983 | ||
18984 | PR tree-optimization/42366 | |
18985 | * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on | |
18986 | edges with variable number of parameters. | |
18987 | * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done | |
18988 | flag instead of asserting it. | |
18989 | (ipa_read_node_info): Read uses_analysis_done flag. | |
18990 | ||
84cd88b5 | 18991 | 2010-01-04 Richard Guenther <rguenther@suse.de> |
18992 | ||
18993 | * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use | |
18994 | iterative_hash_* as intended. | |
18995 | (vn_reference_compute_hash): Likewise. Simplify hashing | |
18996 | SSA names. | |
18997 | (vn_reference_lookup_2): Likewise. | |
18998 | (vn_nary_op_compute_hash): Likewise. | |
18999 | (vn_phi_compute_hash): Likewise. | |
19000 | (expressions_equal_p): Remove strange code. | |
19001 | * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable (). | |
19002 | (pre_expr_hash): Likewise. Simplify hashing SSA names. | |
19003 | (bitmap_insert_into_set_1): Take value-id as parameter. | |
19004 | (add_to_value): Pass it. | |
19005 | (bitmap_insert_into_set): Likewise. | |
19006 | (bitmap_value_insert_into_set): Likewise. Remove redundant check. | |
19007 | ||
87a6a1b5 | 19008 | 2010-01-04 Jakub Jelinek <jakub@redhat.com> |
19009 | ||
19010 | PR driver/42442 | |
19011 | * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define. | |
19012 | (do_self_spec): For switches with SWITCH_IGNORE set set also | |
19013 | SWITCH_IGNORE_PERMANENTLY. | |
19014 | (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead | |
19015 | of SWITCH_IGNORE. | |
19016 | ||
27ec1c76 | 19017 | 2010-01-04 Rafael Avila de Espindola <espindola@google.com> |
19018 | ||
19019 | * lto-streamer-out.c (output_unreferenced_globals): Output the full | |
19020 | tree of an unreferenced global var. | |
19021 | ||
ca7ed81e | 19022 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> |
19023 | ||
19024 | PR target/42542 | |
19025 | * config/i386/i386.c (ix86_expand_int_vcond): Don't convert | |
19026 | GTU to GT for V4SI and V2DI. | |
19027 | ||
19028 | * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP. | |
19029 | (umin<mode>3): Removed. | |
19030 | (uminv8hi3): New. | |
19031 | (uminv4si3): Likewise. | |
19032 | ||
c575c7e4 | 19033 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> |
19034 | ||
19035 | PR lto/42581 | |
19036 | * collect2.c (main): Turn on trace in collect2 if -v is passed | |
19037 | to gcc with LTO. | |
19038 | ||
7c772cea | 19039 | 2010-01-03 Jerry Quinn <jlquinn@optonline.net> |
19040 | ||
19041 | * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR. Update | |
19042 | description of expression operand. | |
19043 | ||
fb433b0b | 19044 | 2010-01-03 Andrew Jenner <andrew@codesourcery.com> |
19045 | ||
19046 | * configure.ac: Add install-html to target_list for Make-hooks. | |
19047 | * configure: Regenerate. | |
19048 | * fortran/Make-lang.in (F95_HTMLFILES): New. | |
19049 | (fortran.html): Use it. | |
19050 | (fortran.install-html): New. | |
19051 | * Makefile.in (install-html): Add lang.install-html. | |
19052 | * java/Make-lang.in (JAVA_HTMLFILES): New. | |
19053 | (java.html): Use it. | |
19054 | (java.install-html): New. | |
19055 | * objc/Make-lang.in (objc.install-html): New. | |
19056 | * objcp/Make-lang.in (obj-c++.install-html): New. | |
19057 | * cp/Make-lang.in (c++.install-html): New. | |
19058 | * ada/gcc-interface/Make-lang.in (ada.install-html): New. | |
19059 | * lto/Make-lang.in (lto.install-html): New. | |
19060 | ||
971080f2 | 19061 | 2010-01-03 H.J. Lu <hongjiu.lu@intel.com> |
19062 | ||
19063 | PR lto/42520 | |
19064 | * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt. | |
19065 | ||
9a5bb191 | 19066 | 2009-01-03 Steven Bosscher <steven@gcc.gnu.org> |
19067 | ||
19068 | PR rtl-optimization/41862 | |
19069 | * store-motion.c (store_killed_in_insn, compute_store_table, | |
19070 | remove_reachable_equiv_notes, replace_store_insn, | |
19071 | build_store_vectors): Ignore all DEBUG_INSNs. | |
19072 | ||
50ca7c37 | 19073 | 2010-01-03 H.J. Lu <hongjiu.lu@intel.com> |
19074 | ||
19075 | PR lto/41564 | |
19076 | * common.opt: Add dumpdir. | |
19077 | ||
19078 | * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase | |
19079 | isn't specified. | |
19080 | (option_map): Add --dumpdir. | |
19081 | ||
19082 | * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir. | |
19083 | ||
19084 | * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o. | |
19085 | ||
19086 | * opts.c (decode_options): Try dump_dir_name first if | |
19087 | dump_base_name isn't an absolute path. | |
19088 | (common_handle_option): Handle OPT_dumpdir. | |
19089 | ||
19090 | * toplev.c (dump_dir_name): New. | |
19091 | (print_switch_values): Also ignore -dumpdir. | |
19092 | ||
19093 | * toplev.h (dump_dir_name): New. | |
19094 | ||
3328b1fb | 19095 | 2010-01-03 Richard Guenther <rguenther@suse.de> |
19096 | ||
19097 | PR tree-optimization/42589 | |
19098 | * tree-ssa-math-opts.c (execute_optimize_bswap): Allow | |
19099 | double-word expansion of bswap32. | |
19100 | ||
90bd219d | 19101 | 2010-01-03 Steven Bosscher <steven@gcc.gnu.org> |
19102 | ||
19103 | * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM | |
19104 | with BLOCK_FOR_INSN. | |
19105 | * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise. | |
19106 | * ifcvt.c (noce_get_alt_condition, noce_try_abs, | |
19107 | noce_process_if_block): Likewise. | |
19108 | * gcse.c (compute_local_properties, insert_expr_in_table, | |
19109 | insert_set_in_table, canon_list_insert, find_avail_set, | |
19110 | pre_insert_copy_insn): Likewise. | |
19111 | ||
19112 | * basic-block.h (BLOCK_NUM): Move from here... | |
19113 | * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler. | |
19114 | ||
0460ab00 | 19115 | 2010-01-03 Richard Guenther <rguenther@suse.de> |
19116 | ||
19117 | PR tree-optimization/42438 | |
19118 | * tree-ssa-pre.c (struct bb_bitmap_sets): Add | |
19119 | contains_may_not_return_call flag. | |
19120 | (BB_MAY_NOTRETURN): New. | |
19121 | (valid_in_sets): Trapping nary operations are not valid | |
19122 | in blocks that may not return. | |
8072d92a | 19123 | (insert_into_preds_of_block): Remove check for trapping expressions. |
0460ab00 | 19124 | (compute_avail): Compute also BB_MAY_NOTRETURN. |
19125 | ||
bc815360 | 19126 | 2010-01-03 Gerald Pfeifer <gerald@pfeifer.com> |
19127 | ||
19128 | * doc/invoke.texi: Add 2010 to copyright years. | |
19129 | ||
6cd8247b | 19130 | 2010-01-03 Eric Botcazou <ebotcazou@adacore.com> |
19131 | ||
19132 | * config/sparc/sparc.c: Fix formatting nits. | |
19133 | ||
21113174 | 19134 | 2010-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
854e880b | 19135 | Alexander Monakov <amonakov@ispras.ru> |
21113174 | 19136 | |
19137 | * doc/invoke.texi (Optimize Options): Reword introduction a bit. | |
19138 | ||
8b938617 | 19139 | 2010-01-02 Richard Guenther <rguenther@suse.de> |
19140 | ||
19141 | PR middle-end/42577 | |
19142 | * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks. | |
19143 | (simplify_switch_using_ranges): Mark to be removed edges | |
19144 | as non-executable. | |
19145 | ||
18d8a00d | 19146 | 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
19147 | ||
64ad90ab | 19148 | * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two. |
19149 | ||
18d8a00d | 19150 | * collect2.c (scan_libraries): Add missing argument in call to |
19151 | scan_prog_file. | |
19152 | ||
19153 | 2010-01-02 Uros Bizjak <ubizjak@gmail.com> | |
19154 | ||
19155 | PR target/42448 | |
19156 | * config/alpha/predicates.md (aligned_memory_operand): Return false | |
19157 | for CQImode. | |
19158 | (unaligned_memory_operand): Return true for CQImode. | |
19159 | * config/alpha/alpha.c (get_aligned_mem): Assert that location | |
19160 | doesn not cross aligned SImode word boundary. | |
19161 | ||
19162 | 2010-01-02 Anatoly Sokolov <aesok@post.ru> | |
19163 | ||
19164 | * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_): | |
19165 | Remove. | |
19166 | * config/avr/avr-protos.h (avr_init_once, avr_optimization_options, | |
19167 | avr_change_section, avr_reg_class_from_letter) : Remove declaration. | |
19168 | ||
19169 | 2010-01-02 Richard Guenther <rguenther@suse.de> | |
19170 | ||
19171 | PR lto/41597 | |
19172 | * toplev.c (compile_file): Emit LTO marker properly. Change | |
19173 | it to __gnu_lto_v1. | |
19174 | * collect2.c (scan_prog_file): Adjust for changed LTO marker. | |
51eafa60 | 19175 | |
6b25c196 | 19176 | 2010-01-01 Richard Guenther <rguenther@suse.de> |
19177 | ||
19178 | PR debug/42455 | |
5e46378b | 19179 | * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order. |
6b25c196 | 19180 | |
f54ef8b6 | 19181 | 2010-01-01 Richard Guenther <rguenther@suse.de> |
19182 | ||
19183 | PR c/42570 | |
19184 | * c-decl.c (grokdeclarator): For zero-size arrays force | |
19185 | structural equality checks as layout_type does. | |
19186 | ||
50d268b3 | 19187 | 2010-01-01 H.J. Lu <hongjiu.lu@intel.com> |
19188 | ||
19189 | * builtins.c: Update copyright to 2010. | |
19190 | ||
151a56e7 | 19191 | 2010-01-01 H.J. Lu <hongjiu.lu@intel.com> |
b21341a3 | 19192 | |
19193 | PR lto/42531 | |
151a56e7 | 19194 | * lto-streamer-out.c (produce_asm): Revert the last change. |
b21341a3 | 19195 | (copy_function): Likewise. |
19196 | ||
151a56e7 | 19197 | * lto-streamer.c (lto_get_section_name): Skip any leading |
19198 | asterisk in name. | |
16fcf0f4 | 19199 | |
151a56e7 | 19200 | 2010-01-01 Richard Guenther <rguenther@suse.de> |
4ff97393 | 19201 | |
151a56e7 | 19202 | PR middle-end/42559 |
19203 | * builtins.c (get_object_alignment): Do not use DECL_ALIGN | |
19204 | for LABEL_DECLs. | |
7dfbd804 | 19205 | |
19206 | \f | |
151a56e7 | 19207 | Copyright (C) 2010 Free Software Foundation, Inc. |
7dfbd804 | 19208 | |
19209 | Copying and distribution of this file, with or without modification, | |
19210 | are permitted in any medium without royalty provided the copyright | |
19211 | notice and this notice are preserved. |